.section-header {
  position: relative;
  z-index: 200;
}

.header-wrapper {
  position: relative;
  z-index: 110;
  background: rgba(var(--color-background), 0.96);
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.1);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

/* Language / currency disclosure must paint above the mega menu bar.
   The disclosure is positioned absolute inside the header-wrapper
   (top: 100%), so it pokes down into the mega-menu region. Raising
   the wrapper's z-index ensures the popup escapes the mega-menu's
   stacking context. */
.header .disclosure__list-wrapper,
.header-wrapper .disclosure__list-wrapper,
.header-localization .disclosure__list-wrapper,
.desktop-localization-wrapper .disclosure__list-wrapper {
  z-index: 220 !important;
}

/* Allow the disclosure to overflow visually below the header */
.header__icons,
.header-localization,
.desktop-localization-wrapper {
  overflow: visible !important;
}

.header {
  max-width: 150rem;
  min-height: 6.8rem;
}

.header__heading-link {
  padding: 0.35rem 0.75rem;
}

.header__heading-logo-wrapper {
  max-width: min(22rem, 38vw);
}

.header__icons {
  align-items: center;
  gap: 0.25rem;
  padding-right: 0;
}

.header__icon,
.header__icon--cart .icon,
.na-theme-toggle {
  height: 4rem;
  width: 4rem;
}

.header__icon .svg-wrapper {
  height: 4rem;
  width: 4rem;
}

.header__icon:hover .icon,
.header__icon:hover svg,
.na-theme-toggle:hover svg {
  transform: none;
}

.na-theme-toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgb(var(--color-foreground));
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: background 160ms ease, color 160ms ease;
}

.na-theme-toggle:hover {
  background: rgba(var(--color-foreground), 0.06);
}

.na-theme-toggle:focus-visible {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5);
  outline-offset: 0.2rem;
}

.na-theme-toggle svg {
  display: block;
  height: 1.8rem;
  width: 1.8rem;
}

.desktop-localization-wrapper {
  align-items: center;
  border: 0.1rem solid rgba(var(--color-foreground), 0.12);
  border-radius: 999px;
  display: inline-flex;
  gap: 0;
  margin-right: 0.4rem;
  padding: 0.2rem;
}

.desktop-localization-wrapper localization-form + localization-form {
  border-left: 0.1rem solid rgba(var(--color-foreground), 0.12);
}

.header-localization:not(.menu-drawer__localization) .language-localization__compact-button,
.header-localization:not(.menu-drawer__localization) .country-localization__compact-button {
  border-radius: 999px;
  height: 3.4rem;
  min-height: 3.4rem;
  min-width: 0;
  padding: 0 1rem;
}

.header-localization:not(.menu-drawer__localization) .country-localization__compact-button {
  gap: 0.45rem;
}

.country-localization__compact-text {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.country-localization__caret {
  display: inline-flex;
  height: 0.8rem;
  width: 0.8rem;
}

.country-localization__caret .icon-caret {
  height: 0.8rem;
  position: static;
  right: auto;
  top: auto;
  width: 0.8rem;
}

.country-localization__compact-button[aria-expanded='true'] .icon-caret {
  transform: rotate(180deg);
}

.mega-menu-wrapper {
  --mm-bg: rgb(var(--color-background));
  --mm-surface: rgba(var(--color-foreground), 0.035);
  --mm-border: rgba(var(--color-foreground), 0.11);
  --mm-text: rgb(var(--color-foreground));
  --mm-muted: rgba(var(--color-foreground), 0.62);
  position: relative;
  z-index: 80;
  background: var(--mm-bg);
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
  border-bottom: 0.1rem solid var(--mm-border);
}

.mega-menu-container {
  max-width: 150rem;
  padding-inline: clamp(2rem, 4vw, 5.6rem);
}

.mega-menu-main {
  align-items: center;
  display: flex;
  gap: clamp(1.6rem, 3vw, 4rem);
  justify-content: center;
  min-height: 4.6rem;
}

.mega-menu-link {
  color: var(--mm-text);
  font-family: var(--font-body-family);
  font-size: 1.2rem;
  font-weight: 500;
  gap: 0.55rem;
  letter-spacing: 0.04em;
  padding: 1.5rem 0;
  text-transform: uppercase;
}

.mega-menu-link--with-toggle {
  padding: 0;
}

.mega-menu-link--with-toggle::after {
  display: none;
}

.mega-menu-link__text,
.mega-menu-link__toggle {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font: inherit;
  letter-spacing: inherit;
  min-height: 4.6rem;
  padding: 1.5rem 0;
  text-decoration: none;
  text-transform: inherit;
}

.mega-menu-link__text {
  position: relative;
}

.mega-menu-link__text::after {
  background: currentColor;
  bottom: 1rem;
  content: '';
  height: 0.1rem;
  left: 0;
  position: absolute;
  transition: width 180ms ease;
  width: 0;
}

.mega-menu-link__toggle {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  justify-content: center;
  margin: 0;
  padding-left: 0.55rem;
}

.mega-menu-link::after {
  bottom: 1rem;
  height: 0.1rem;
}

.mega-menu-link:hover,
.mega-menu-item.active .mega-menu-link,
.mega-menu-item:focus-within .mega-menu-link {
  color: var(--mm-text);
}

.mega-menu-link__text:hover,
.mega-menu-link__toggle:hover,
.mega-menu-link__text:focus-visible,
.mega-menu-link__toggle:focus-visible,
.mega-menu-heading--link:focus-visible,
.mega-menu-shop-all:focus-visible {
  color: var(--mm-text);
  outline: 0.1rem solid currentColor;
  outline-offset: 0.3rem;
}

.mega-menu-link__text:hover::after,
.mega-menu-link__text:focus-visible::after,
.mega-menu-item.active .mega-menu-link__text::after,
.mega-menu-item:focus-within .mega-menu-link__text::after {
  width: 100%;
}

.mega-menu-dropdown {
  left: 0;
  max-width: none;
  right: 0;
  top: 100%;
  transform: translateY(-0.8rem);
  width: 100%;
  border-top: 0.1rem solid var(--mm-border);
  border-bottom: 0.1rem solid var(--mm-border);
  background: rgb(var(--color-background));
  box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms ease, visibility 180ms ease;
}

.mega-menu-dropdown.active {
  animation: none;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mega-menu-content {
  display: grid;
  gap: clamp(3rem, 5vw, 6rem);
  grid-template-columns: minmax(18rem, 26rem) minmax(0, 1fr);
  max-width: 150rem;
  padding: clamp(3.2rem, 5vw, 5.6rem) clamp(2rem, 4vw, 5.6rem);
}

.mega-menu-intro {
  align-self: start;
}

.mega-menu-kicker {
  color: var(--mm-muted);
  font-size: 1.1rem;
  letter-spacing: 0.11em;
  line-height: 1.4;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.mega-menu-title {
  color: var(--mm-text);
  font-family: var(--font-heading-family);
  font-size: clamp(2.6rem, 3vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.mega-menu-columns {
  display: grid;
  gap: clamp(2.4rem, 4vw, 5rem);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 0;
}

.mega-menu-column {
  border-left: 0.1rem solid var(--mm-border);
  min-width: 0;
  padding-left: 1.8rem;
}

.mega-menu-heading {
  color: var(--mm-muted);
  font-family: var(--font-body-family);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.4;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.mega-menu-heading--link {
  display: inline-flex;
  text-decoration: none;
}

.mega-menu-heading--link:hover {
  color: var(--mm-text);
}

.mega-menu-list li {
  margin: 0;
}

.mega-menu-list a {
  color: var(--mm-text);
  font-family: var(--font-body-family);
  font-size: clamp(1.45rem, 1.2vw, 1.7rem);
  line-height: 1.55;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.mega-menu-list a:hover,
.mega-menu-list a:focus-visible {
  opacity: 0.62;
  text-decoration: none;
  transform: translateX(0.25rem);
}

.mega-menu-footer {
  align-self: end;
  border-top: 0;
  margin: 0;
  padding-top: 2rem;
}

.mega-menu-shop-all {
  color: var(--mm-text);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.menu-drawer {
  background: rgb(var(--color-background));
}

.menu-drawer__menu-item,
.menu-drawer__close-button {
  font-size: 1.6rem;
  letter-spacing: 0;
  transition: background 160ms ease, color 160ms ease;
}

.menu-drawer__utility-links {
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.11);
}

.menu-drawer__theme-toggle {
  display: inline-flex;
  gap: 0.8rem;
  height: auto;
  margin: 1rem 0 0;
  min-height: 4.4rem;
  padding: 0 1.2rem;
  width: auto;
}

@media screen and (min-width: 990px) {
  .header {
    grid-template-columns: 1fr auto 1fr;
    padding-left: clamp(2rem, 4vw, 5.6rem);
    padding-right: clamp(2rem, 4vw, 5.6rem);
  }

  .header__search {
    opacity: 0.88;
  }
}

@media screen and (max-width: 989px) {
  .mega-menu-wrapper {
    display: none;
  }

  .header {
    min-height: 6.2rem;
  }

  .desktop-localization-wrapper {
    display: none;
  }

  .header__icon--account {
    display: none;
  }
}

@media screen and (max-width: 749px) {
  .header {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .header__heading-logo-wrapper {
    max-width: min(18rem, 42vw);
  }

  .na-theme-toggle {
    height: 3.8rem;
    width: 3.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-wrapper,
  .mega-menu-dropdown,
  .mega-menu-link,
  .mega-menu-list a,
  .na-theme-toggle {
    transition: none;
  }
}

/* ==========================================================================
   Search modal — Aesop-style restraint (added 2026-05-04)
   The default Dawn search overlays the header awkwardly. We turn it into a
   full-width drawer that slides down beneath the header with generous
   whitespace, calm typography, and an off-white panel that feels built-in.
   ========================================================================== */

.header__search details[open] > .search-modal,
.header__search .search-modal {
  /* Force-override Dawn's base.css which sets height:100% / min-height + animation */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 90vh;
  background: rgb(var(--color-background)) !important;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.08);
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.18);
  animation: none !important;
  z-index: 1000;
}

/* Closed state */
.header__search .search-modal {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0s linear 0.32s;
}

/* Open state */
.header__search details[open] > .search-modal {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0s linear 0s;
}

.search-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 56px) clamp(40px, 6vw, 72px);
  position: relative;
  bottom: auto;
  top: auto;
  line-height: 1.5;
}

.search-modal__form {
  width: 100%;
  max-width: 100%;
}

.search-modal__form .field {
  position: relative;
  border: 0;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.18);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transition: border-color 0.25s ease;
}

.search-modal__form .field:focus-within {
  border-bottom-color: rgb(var(--color-foreground));
}

.search-modal__form .search__input.field__input {
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 300;
  letter-spacing: -0.01em;
  padding: 18px 96px 18px 8px;
  width: 100%;
  box-shadow: none;
  color: rgb(var(--color-foreground));
}

.search-modal__form .search__input.field__input::placeholder {
  color: rgba(var(--color-foreground), 0.35);
  font-weight: 300;
}

.search-modal__form .field__label {
  display: none; /* placeholder is enough — keep the field clean */
}

.search-modal__form .search__button,
.search-modal__form .reset__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: rgb(var(--color-foreground));
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.search-modal__form .search__button:hover,
.search-modal__form .reset__button:hover {
  opacity: 1;
}

.search-modal__form .search__button {
  right: 0;
}

.search-modal__form .reset__button {
  right: 44px;
}

.search-modal__form .search__button .svg-wrapper,
.search-modal__form .reset__button .svg-wrapper {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.search-modal__close-button {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 0;
  padding: 12px;
  cursor: pointer;
  color: rgb(var(--color-foreground));
  opacity: 0.6;
  transition: opacity 0.2s ease;
  margin: 0;
}

.search-modal__close-button:hover {
  opacity: 1;
}

@media screen and (min-width: 750px) {
  .search-modal__close-button {
    top: 24px;
    right: 24px;
    position: absolute;
    margin: 0;
  }

  .search-modal__content {
    padding: clamp(64px, 8vw, 120px) clamp(40px, 6vw, 96px) clamp(56px, 7vw, 96px);
  }
}

/* Predictive-search results panel: align with the input field width */
.search-modal predictive-search .predictive-search {
  border: 1px solid rgba(var(--color-foreground), 0.08);
  border-radius: 0;
  margin-top: 16px;
  padding: 24px;
  background: rgb(var(--color-background));
  max-height: 60vh;
  overflow-y: auto;
}

/* Modal overlay: subtle dim so user knows the rest of the page is paused */
.header__search details[open] ~ * .modal-overlay,
.header__search details[open] .modal-overlay::after {
  background-color: rgba(var(--color-foreground), 0.32);
  backdrop-filter: blur(2px);
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
  .search-modal,
  .header__search details[open] > .search-modal {
    transition: opacity 0.2s linear;
    transform: none;
  }
}
