.storefront .header {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 68px;
  height: auto;
  grid-template-columns: minmax(172px, 1fr) minmax(0, auto) minmax(172px, 1fr);
  gap: clamp(10px, 2vw, 32px);
  margin: 0;
  padding: 0 clamp(20px, 2vw, 40px);
  border: 0;
  border-bottom: 1px solid #efeeec;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  z-index: 30;
}
.storefront .header .header-start { display: none; }
.storefront .header > .logo { grid-area: 1 / 1; justify-self: start; padding: 0; }
.storefront .header .logo .brand-logo { width: 128px; height: auto; display: block; }
.storefront .header .main-nav {
  display: block;
  grid-area: 1 / 2;
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  backdrop-filter: none;
}
.storefront .header .nav-inner {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(12px, 1.55vw, 32px);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.storefront .header .nav-link {
  min-height: 48px;
  padding: 10px 0;
  color: #26221f;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}
.storefront .header .nav-link:hover, .storefront .header .nav-link.active { color: #92532e; }
.storefront .header .nav-link.active::after { display: none; }
.storefront .header .managed-dropdown-panel { background: #fff; max-height: 65dvh; overflow-y: auto; }
.storefront .header .actions {
  grid-area: 1 / 3;
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-end;
}
.storefront .header .actions > button,
.storefront .header .header-start .menu-toggle {
  display: grid !important;
  place-items: center;
  position: relative;
  width: 42px;
  min-width: 42px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #222 !important;
}
.storefront .header .actions > button[hidden], .storefront .mobile-nav > button[hidden] { display: none !important; }
.storefront .header .actions button > span { display: none; }
.storefront .header .actions button .icon, .storefront .header .menu-toggle .icon,
.storefront .mobile-nav button .icon {
  display: block;
  width: 20px;
  height: 20px;
  color: inherit;
  stroke-width: 1.25;
}
.storefront .header .actions .badge { left: auto; right: 1px; top: 1px; border-color: #fff; }

@media (min-width: 821px) and (max-width: 960px) {
  .storefront .header { grid-template-columns: minmax(168px, 1fr) minmax(0, auto) minmax(168px, 1fr); gap: 8px; padding-inline: 12px; }
  .storefront .header .nav-inner { column-gap: 10px; }
  .storefront .header .nav-link { font-size: 10px; letter-spacing: .06em; }
}

@media (max-width: 820px) {
  .storefront .header {
    grid-template-columns: minmax(84px, 1fr) auto minmax(84px, 1fr);
    min-height: 58px;
    gap: 0;
    padding: 0 max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
    border-bottom-color: #e6e2df;
  }
  .storefront .header .header-start { display: flex; }
  .storefront .header > .logo { grid-area: 1 / 2; justify-self: center; }
  .storefront .header .logo .brand-logo { width: clamp(106px, 29vw, 132px); }
  .storefront .header .main-nav,
  .storefront .header .actions > .header-favorites,
  .storefront .header .actions > .header-account { display: none !important; }
  .storefront .header .actions > button, .storefront .header .header-start .menu-toggle { width: 44px; min-width: 44px; }
  .storefront .header .actions button .icon, .storefront .header .menu-toggle .icon,
  .storefront .mobile-nav button .icon { width: 22px; height: 22px; }
  .storefront .mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    justify-content: stretch;
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    border: 0;
    border-top: 1px solid #e6e2df;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .storefront .mobile-nav > button {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 56px;
    gap: 6px;
    padding: 5px 2px;
    color: #686663;
    font-size: clamp(8px, 2.35vw, 10px);
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .storefront .mobile-nav button.active { color: #1e1b19; font-weight: 600; }
  .storefront .mobile-nav button.active .icon { stroke-width: 1.75; }
  .storefront .mobile-nav .badge { top: 2px; right: auto; left: calc(50% + 5px); border-color: #fff; }
  .storefront .footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .storefront .activity-preferences { bottom: calc(68px + env(safe-area-inset-bottom)); }
}

body:has(.mobile-drawer[open]) { overflow: hidden; }

.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(360px, 88vw);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: #242321;
  font-family: "DM Sans", sans-serif;
  overscroll-behavior: contain;
}
.mobile-drawer[open] { animation: mobile-drawer-enter .22s ease-out; }
.mobile-drawer::backdrop { background: #15131366; }
.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: env(safe-area-inset-top) 20px max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  border-bottom: 1px solid #e8e5e1;
}
.mobile-drawer-top h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mobile-drawer-close { display: grid; place-items: center; width: 44px; height: 44px; }
.mobile-drawer-close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.mobile-drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 8px 0;
  text-align: left;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
}
.mobile-drawer-categories > * { border-bottom: 1px solid #efeeec; }
.mobile-drawer summary { cursor: pointer; list-style: none; }
.mobile-drawer summary::-webkit-details-marker { display: none; }
.mobile-drawer summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.mobile-drawer details[open] summary::after { transform: rotate(225deg); }
.mobile-drawer-subcategories { padding: 0 0 8px 13px; }
.mobile-drawer-subcategories button, .mobile-drawer-links > * {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 0;
  text-align: left;
  color: #615c57;
  font-size: 11px;
  font-weight: 400;
}
.mobile-drawer-links { margin-top: auto; padding-top: 24px; }
@keyframes mobile-drawer-enter { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .mobile-drawer[open] { animation: none; } }
