.ap-header { background: var(--ap-header-background); color: var(--ap-header-text); position: relative; z-index: 40; }
.ap-header--sticky { position: sticky; top: 0; }
.ap-header--divider { border-bottom: 1px solid var(--ap-header-border); }
.ap-header__inner { align-items: center; display: grid; gap: 22px; grid-template-columns: auto minmax(0, 1fr) minmax(230px, 340px) auto; min-height: 76px; position: relative; }
.ap-header__brand { align-items: center; color: inherit; display: inline-flex; min-width: 0; text-decoration: none; }
.ap-header__brand img { display: block; height: auto; max-width: 100%; width: var(--ap-header-logo-desktop); }
.ap-header__fallback-logo { width: var(--ap-header-logo-desktop); }
.ap-header__navigation { min-width: 0; }
.ap-header__menu-toggle { display: none; }
.ap-header__nav { align-items: center; display: flex; gap: clamp(12px, 1.35vw, 24px); justify-content: center; min-width: 0; }
.ap-header__nav-link { color: var(--ap-header-text); font-size: 14px; font-weight: 650; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.ap-header__nav-link:hover, .ap-header__nav-link--accent { color: var(--ap-header-accent); }
.ap-header__search { align-items: center; background: var(--ap-header-input-background); border: 1px solid var(--ap-header-input-border); border-radius: 999px; display: flex; min-width: 0; overflow: hidden; }
.ap-header__search input { background: transparent; border: 0; color: var(--ap-header-text); font: inherit; height: 42px; min-width: 0; outline: 0; padding: 0 8px 0 16px; width: 100%; }
.ap-header__search input::placeholder { color: var(--ap-header-muted); opacity: 1; }
.ap-header__search button { align-items: center; background: transparent; border: 0; color: var(--ap-header-text); cursor: pointer; display: inline-flex; height: 42px; justify-content: center; padding: 0 14px; }
.ap-header__search svg, .ap-header__action svg { fill: none; height: 21px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 21px; }
.ap-header__actions, .ap-header__action, .ap-header__cart { align-items: center; display: flex; }
.ap-header__actions { gap: 14px; justify-content: flex-end; }
.ap-header__action { color: inherit; gap: 6px; text-decoration: none; white-space: nowrap; }
.ap-header__action-label { font-size: 13px; font-weight: 650; }
.ap-header__cart { gap: 5px; white-space: nowrap; }
.ap-header__cta { align-items: center; background: var(--ap-header-button-background); border: 1px solid var(--ap-header-button-background); border-radius: 999px; color: var(--ap-header-button-text); display: inline-flex; font-size: 13px; font-weight: 750; justify-content: center; min-height: 42px; padding: 8px 17px; text-decoration: none; white-space: nowrap; }
.ap-header a:focus-visible, .ap-header button:focus-visible, .ap-header input:focus-visible, .ap-header summary:focus-visible { outline: 2px solid var(--ap-header-accent); outline-offset: 3px; }

@media (max-width: 1199px) {
  .ap-header__inner { gap: 16px; grid-template-columns: auto minmax(0, 1fr) minmax(210px, 280px) auto; }
  .ap-header__action-label { display: none; }
}

@media (min-width: 990px) {
  .ap-header__navigation:not([open]) > .ap-header__nav { display: flex; }
}

@media (max-width: 989px) {
  .ap-header__inner { display: grid; gap: 10px 12px; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 68px; padding-block: 10px; }
  .ap-header__brand { grid-column: 2; grid-row: 1; justify-self: center; max-width: 100%; }
  .ap-header__brand img { width: var(--ap-header-logo-mobile); }
  .ap-header__fallback-logo { width: var(--ap-header-logo-mobile); }
  .ap-header__navigation { grid-column: 1; grid-row: 1; position: static; }
  .ap-header__menu-toggle { align-items: center; color: var(--ap-header-text); cursor: pointer; display: inline-flex; gap: 7px; list-style: none; min-height: 42px; }
  .ap-header__menu-toggle::-webkit-details-marker { display: none; }
  .ap-header__menu-icon { display: grid; gap: 4px; width: 20px; }
  .ap-header__menu-icon span { background: currentColor; display: block; height: 1.5px; width: 100%; }
  .ap-header__menu-label { font-size: 12px; font-weight: 700; }
  .ap-header__navigation:not([open]) > .ap-header__nav { display: none; }
  .ap-header__nav { align-items: stretch; background: var(--ap-header-background); border: 1px solid var(--ap-header-border); box-shadow: 0 16px 30px rgba(17, 44, 53, .12); flex-direction: column; gap: 0; left: 0; padding: 8px 16px; position: absolute; right: 0; top: 100%; }
  .ap-header__nav-link { border-bottom: 1px solid var(--ap-header-border); padding: 13px 2px; }
  .ap-header__nav-link:last-child { border-bottom: 0; }
  .ap-header__search { grid-column: 1 / -1; grid-row: 2; }
  .ap-header__actions { gap: 10px; grid-column: 3; grid-row: 1; }
  .ap-header__account .ap-header__action-label, .ap-header__cart-label { display: none; }
  .ap-header--hide-mobile-cta .ap-header__cta { display: none; }
}

@media (max-width: 749px) {
  body[data-page-type="index"] .ap-header__search { display: none; }
}

@media (max-width: 479px) {
  .ap-header__menu-label { display: none; }
  .ap-header__inner { gap: 9px; }
}
