header.site-header-autohide {
  position: fixed !important;
  inset: 0 0 auto 0;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
  will-change: transform;
  backface-visibility: hidden;
}

.mobile-menu-dialog { position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw); height: 100dvh; max-width: none; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: #fff; color: #111827; box-shadow: -12px 0 40px #0003; overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu-dialog::backdrop { background: #0008; }
.mobile-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 20px 20px; background: #111; color: #fff; position: sticky; top: 0; z-index: 1; }
.mobile-menu-eyebrow { font-size: 10px; letter-spacing: 1.5px; font-weight: 800; color: #f4a300; }
.mobile-menu-heading h2 { font-size: 22px; font-weight: 800; margin-top: 4px; }
.mobile-menu-heading button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #ffffff15; cursor: pointer; }
.mobile-menu-content { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.mobile-menu-content h3 { color: #6b7280; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin: 24px 0 12px; }
.mobile-menu-all { display: block; background: #f4a300; border-radius: 12px; padding: 16px; font-weight: 800; font-size: 14px; }
.mobile-menu-pages { display: grid; }
.mobile-menu-pages a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 4px; border-bottom: 1px solid #f1f2f4; font-size: 14px; font-weight: 650; }
.mobile-menu-pages a > span:last-child { color: #9ca3af; font-size: 22px; }
.mobile-menu-brands, .mobile-menu-support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mobile-menu-brands a, .mobile-menu-support a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 13px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.mobile-menu-dialog a:hover { background: #fff4dd; }
.mobile-menu-dialog :focus-visible { outline: 2px solid #d18b00; outline-offset: 3px; }
header.site-header-autohide[data-mobile-menu-open="true"] {
  z-index: 120 !important;
  transform: translate3d(0, 0, 0);
}

.store-bottom-navigation { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: white; border-top: 1px solid #e5e7eb; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.store-bottom-navigation > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px; color: #6b7280; font-size: 11px; cursor: pointer; }
.store-bottom-navigation [aria-current="page"] { color: #b77900; }
.store-bottom-navigation svg { width: 24px; height: 24px; }
@media (min-width: 768px) { .store-bottom-navigation { display: none; } }
@media (max-width: 767px) {
  header .store-header-utility { display: none; }
  header .store-header-main { padding: 8px 16px 10px; }
  header .store-header-logo { height: 32px; }
  header .store-mobile-search { margin-top: 6px; }
  header .store-mobile-search > input { height: 40px; min-width: 0; padding: 8px 12px; font-size: 16px; }
  header .store-mobile-search > button { padding-left: 14px; padding-right: 14px; }
  .store-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 32px; }
  .store-footer-brand { grid-column: 1 / -1; }
  .store-footer-shop { display: none; }
  .store-footer-service, .store-footer-company { min-width: 0; overflow-wrap: anywhere; }
  .store-footer-service h4, .store-footer-company h4 { font-size: 13px; margin-bottom: 16px; }
  .store-footer-service ul, .store-footer-company ul { font-size: 12px; line-height: 1.6; }
  .store-footer-company > div { flex-wrap: wrap; gap: 8px; }
  .store-footer-company > div > a { margin: 0; }
}

header.site-header-autohide > div:first-child,
header.site-header-autohide > div:last-child {
  overflow: hidden;
  opacity: 1;
  max-height: 64px;
  transition: max-height 220ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 150ms ease,
              padding 220ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 150ms ease;
}

header.site-header-autohide.header-hidden-on-scroll {
  transform: translate3d(0, -100%, 0);
  box-shadow: none;
}

/* Let the desktop dropdown extend beyond the navigation row. */
header.site-header-autohide > div.store-category-navigation:last-child {
  overflow: visible;
}

header.site-header-autohide.header-scrolling-up > div.store-category-navigation:last-child {
  overflow: hidden;
}

header.site-header-autohide.header-scrolling-up {
  transform: translate3d(0, 0, 0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

header.site-header-autohide.header-scrolling-up > div:first-child,
header.site-header-autohide.header-scrolling-up > div:last-child {
  max-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-color: transparent !important;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  header.site-header-autohide,
  header.site-header-autohide > div:first-child,
  header.site-header-autohide > div:last-child {
    transition: none;
  }
}
