/* Detailed corporate mobile header, inspired by Apple's restrained interface language. */
.mobile-brand-tag { display: none; }

@media (max-width: 768px) {
  :root { --header-h: 84px; }

  body.has-sticky-header { padding-top: 84px; }

  .site-header,
  .site-header.is-sticky {
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(60, 60, 67, .1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 8px 30px rgba(0, 0, 0, .035);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
  }

  .site-header .main-header {
    width: 100%;
    height: 84px;
    padding: 0 20px 0 20px;
    gap: 12px;
    background: transparent;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  .site-header .header-conversion,
  .site-header .primary-nav {
    display: none !important;
  }

  .site-header .wordmark,
  .mobile-nav-header .wordmark {
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .site-header .wordmark span,
  .mobile-nav-header .wordmark span {
    color: #111114;
    font-size: 34px;
    line-height: .9;
    letter-spacing: .06em;
    font-weight: 700;
    -webkit-text-stroke: .45px currentColor;
    paint-order: stroke fill;
  }

  .site-header .wordmark .mobile-brand-tag,
  .mobile-nav-header .wordmark .mobile-brand-tag {
    display: none;
  }

  .mobile-open,
  .mobile-close {
    width: 96px;
    height: 48px;
    margin-left: auto;
    padding: 0 40px 0 14px;
    border: 2px solid var(--navy, #071a36);
    border-radius: 999px;
    background: var(--navy, #071a36);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 6px 18px rgba(7, 26, 54, .22);
    transition: background .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  }

  .mobile-open:hover,
  .mobile-close:hover {
    background: #0d2748;
    border-color: #0d2748;
    box-shadow: 0 8px 22px rgba(7, 26, 54, .28);
  }
  .mobile-open:active,
  .mobile-close:active { transform: scale(.96); }

  .mobile-open b,
  .mobile-close b {
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
  }

  .mobile-open span,
  .mobile-close span {
    left: auto;
    right: 14px;
    width: 18px;
    height: 2.5px;
    border-radius: 999px;
    background: #fff;
    transition: transform .2s ease, top .2s ease;
  }

  .mobile-open span:first-of-type { top: 18px; }
  .mobile-open span:last-of-type { top: 26px; }
  .mobile-open[aria-expanded="true"] span:first-of-type { top: 22px; transform: rotate(45deg); }
  .mobile-open[aria-expanded="true"] span:last-of-type { top: 22px; transform: rotate(-45deg); }

  .mobile-nav {
    background: #fff;
    transform: translateY(14px) scale(.985);
    transform-origin: center top;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, visibility .24s ease;
  }

  .mobile-nav.open { transform: none; }

  .mobile-nav-header {
    position: relative;
    z-index: 10;
    height: 88px;
    flex: 0 0 88px;
    padding: 0 20px 0 20px;
    border-bottom: 1px solid rgba(60, 60, 67, .1);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .025);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
  }

  .mobile-nav-header::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -1px;
    width: 46px;
    height: 2px;
    border-radius: 999px;
    background: #1d1d1f;
  }

  .mobile-close {
    position: relative;
    width: 98px;
    padding-right: 38px;
  }

  .mobile-close span { top: 22px; }
  .mobile-close span:first-of-type { transform: rotate(45deg); }
  .mobile-close span:last-of-type { transform: rotate(-45deg); }

  .mobile-view-track { background: #fff; }

  .mobile-category-view,
  .mobile-product-view {
    scrollbar-width: thin;
    scrollbar-color: #d2d2d7 transparent;
  }

  .mobile-category-view::-webkit-scrollbar,
  .mobile-product-view::-webkit-scrollbar { width: 4px; }
  .mobile-category-view::-webkit-scrollbar-thumb,
  .mobile-product-view::-webkit-scrollbar-thumb { background: #d2d2d7; border-radius: 999px; }

  .mobile-secondary {
    border-color: #e5e5ea;
    background: #f7f7f9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95);
  }

  .mobile-secondary a {
    position: relative;
    transition: background .16s ease, color .16s ease;
  }

  .mobile-secondary a:hover { background: rgba(255, 255, 255, .82); }

  .mobile-corporate-info {
    border-color: #e5e5ea;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .05);
  }

  .mobile-sticky-actions {
    border-top-color: rgba(60, 60, 67, .11);
    box-shadow: 0 -14px 34px rgba(0, 0, 0, .05);
  }

  .mobile-sticky-actions > div a,
  .mobile-primary-cta {
    border: 0;
    font: inherit;
    cursor: pointer;
    width: 100%;
  }
  .mobile-sticky-actions > div a:active,
  .mobile-primary-cta:active { transform: scale(.965); }
}

@media (max-width: 360px) {
  .site-header .main-header,
  .mobile-nav-header { padding-inline: 20px; }
  .site-header .wordmark span,
  .mobile-nav-header .wordmark span { font-size: 30px; }
  .mobile-open,
  .mobile-close { width: 88px; height: 46px; padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-open,
  .mobile-close,
  .mobile-sticky-actions > div a,
  .mobile-primary-cta {
    transition: none;
  }
}
