/*
 * Anahata v2 — footer reskin (subtle / on-brand).
 * Masks Dawn's email field and country selector into a solid tan surface with
 * dark text. The green-gradient "Follow Us" button is our own component.
 */

/* ---- email newsletter field ---- */
.footer .footer__newsletter .field {
  border: 0;
  border-radius: var(--a-radius);
  background: var(--a-tan);
  box-shadow: none;
  overflow: hidden;
}

/* Dawn draws the input border as a ::after box-shadow — remove it */
.footer .footer__newsletter .field::after,
.footer .footer__newsletter .field::before {
  display: none;
}

/* plain placeholder behaviour: show "Email" only while empty, gone on input */
.footer .footer__newsletter .field__label {
  display: none;
}

.footer .footer__newsletter .field__input,
.footer .footer__newsletter .field__input:focus,
.footer .footer__newsletter .field__input:not(:placeholder-shown) {
  border: 0;
  /* reserve room on the right so long input never runs under the arrow button */
  padding: 1.5rem 5.2rem 1.5rem 1.5rem;
  background: transparent;
  color: var(--a-ink);
  font-family: var(--a-font-body);
  font-weight: 600;
  font-size: var(--a-fs-subheading);
  line-height: var(--a-lh-subheading);
  box-shadow: none;
}

.footer .footer__newsletter .field__input::placeholder {
  opacity: 1;
  color: var(--a-ink-55);
}

.footer .footer__newsletter .newsletter-form__button {
  background: transparent;
  color: var(--a-ink);
}

.footer .footer__newsletter .newsletter-form__button .svg-wrapper svg,
.footer .footer__newsletter .newsletter-form__button svg {
  color: var(--a-ink);
}

/* ---- country / region selector ---- */
.footer .footer__localization .disclosure__button.localization-selector {
  display: inline-flex;
  align-items: center;
  gap: var(--a-space-2);
  border: 0;
  border-radius: var(--a-radius);
  padding: 8px 34px 8px 14px;

  /* Matches snippets/ui-button `variant: 'brand'` (.a-btn--brand). This element
     is Dawn's disclosure trigger, not our button — localization-form.js binds
     .disclosure__button / .localization-selector — so it borrows the same two
     tokens rather than being swapped for the component. */
  background: var(--a-gradient-brand);
  color: var(--a-on-dark);
  font-family: var(--a-font-body);
  font-weight: 600;
  font-size: var(--a-fs-body-s);
  line-height: var(--a-lh-body-s);
}

.footer .footer__localization .disclosure__button.localization-selector .icon-caret,
.footer .footer__localization .disclosure__button.localization-selector svg {
  right: 12px;
  color: var(--a-on-dark);
}

/* ---- Follow Us button (our component — just the type) ---- */
.footer .footer__follow-us .a-btn__label {
  font-weight: 600;
  font-size: var(--a-fs-subheading);
}
