/* Adyen v6+ theme overrides to match Merdith's Burgers branding */
:root {
  --adyen-sdk-color-label-primary: #231f20; /* Deep charcoal/black, close to site headings */
  --adyen-sdk-color-background-primary: #faf6f2; /* Slightly off-white background (site-like) */
  --adyen-sdk-color-outline-primary: #ad8258; /* Warm tan/brown for accent (matches menu and buttons) */
  --adyen-sdk-color-background-secondary: #fffaf6; /* Cream background for secondary input fields */
}

/* Force DM Sans throughout the widget */
.adyen-checkout,
.adyen-checkout * {
  font-family: "DM Sans", "Inter", Arial, sans-serif !important;
}

/* Direct class overrides */
.adyen-checkout__button {
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: #f2a116 !important; /* match site primary */
  color: #231f20;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(185, 132, 94, 0.12);
  padding: 0.8em 1.6em;
  transition:
    background 0.15s,
    transform 0.08s,
    box-shadow 0.08s;
}
.adyen-checkout__button:hover,
.adyen-checkout__button:focus {
  background: #d98e0e; /* match primary hover */
  color: #231f20;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px 0 rgba(185, 132, 94, 0.2);
}
.adyen-checkout__button--secondary {
  border-radius: 999px;
  background: transparent;
  color: #231f20;
  border: 1px solid #ad8258;
}

.adyen-checkout__dropin {
  max-width: 480px;
  border-radius: 18px;
  border: 1px solid #ecdcc2;
  box-shadow: 0 2px 30px 0 rgba(185, 132, 94, 0.07);
  background: #faf6f2;
}

.adyen-checkout__input {
  border-radius: 7px;
  border: 1.5px solid #ecdcc2;
  font-size: 0.95rem;
  background: #fffaf6;
  color: #231f20;
}

.adyen-checkout__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #635c57;
}

.adyen-checkout__field--error .adyen-checkout__label {
  color: #b91c1c;
}
