:root{--nav-height:76px;--store-top-width:min(calc(100% - 28px),clamp(43rem,84vw,75rem))}
/* A permanently compact glass header; reserve space for the sticky navigation below. */
.header{
  --nav-compact:56px;--nav-inset:8px;
  height:var(--nav-height);background:transparent;border:0;pointer-events:none;backdrop-filter:none;-webkit-backdrop-filter:none
}
.header .header-inner{
  box-sizing:border-box;margin:0 auto;pointer-events:auto;color:#171717;
  width:var(--store-top-width);
  height:var(--nav-compact);min-height:0;transform:translateY(var(--nav-inset));
  padding-inline:clamp(14px,2.1vw,31px)
}
:is(.header .header-inner,.mobile-facet-bar){
  border:1px solid #ffffffe0;border-radius:999px;background:#f4f4f4;
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #3d3d3d2a,0 7px 24px #0002;
}
.header .brand img{width:120px}
.header .desktop-nav{gap:clamp(17px,2.15vw,34px)}
.header .desktop-nav a:after{bottom:9px}
.header .icon{width:44px;height:44px;border-radius:50%}
.header .icon:hover{background:#1515150a;color:#171717}
.header #bag-count{right:2px;top:3px}
.header :focus-visible{outline-color:#2b2b2b;outline-offset:1px}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  :is(.header .header-inner,.mobile-facet-bar){
    background:linear-gradient(165deg,#ffffffe8 0%,#f8f8f8bd 53%,#e6e6e6c7 100%);
    backdrop-filter:blur(27px) saturate(112%);-webkit-backdrop-filter:blur(27px) saturate(112%)
  }
}
@media(max-width:720px){
  .header{--nav-compact:53px;--nav-inset:5px}
  :root{--nav-height:62px;--store-top-width:calc(100% - 18px)}
  .header .header-inner{padding-inline:6px}
  .header .brand img{width:101px}
}
@media(prefers-reduced-transparency:reduce){
  :is(.header .header-inner,.mobile-facet-bar){background:#fafafa;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(forced-colors:active){
  :is(.header .header-inner,.mobile-facet-bar){background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* Let immersive photography continue behind the capsule on the landing pages. */
body:has(main > :is(.real-hero,.atelier-index):first-child) .header{margin-bottom:calc(-1 * var(--nav-height))}
body:has(main > :is(.real-hero,.atelier-index):first-child) .header .header-inner{box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #3d3d3d2a,0 5px 20px #0003}

/* A disclosure for direct category navigation, aligned to the sticky storefront frame. */
.header .header-inner{position:relative}
.category-mega-trigger{
  height:100%;min-height:44px;padding:0;display:inline-flex;align-items:center;gap:4px;
  font:inherit;font-size:13px;position:relative;white-space:nowrap;cursor:pointer;
}
.category-mega-trigger svg{transition:transform .18s ease}
.category-mega-trigger[aria-expanded=true] svg{transform:rotate(180deg)}
.category-mega-trigger::after{
  content:"";position:absolute;inset:auto 0 9px;height:1px;background:currentColor;
  transform:scaleX(0);transition:transform .18s ease;
}
.category-mega-trigger:is(:hover,[aria-expanded=true],[data-category-active])::after{transform:scaleX(1)}
.category-mega{
  position:absolute;inset:calc(100% + 8px) -1px auto;z-index:1;overflow:auto;
  max-height:calc(100dvh - var(--nav-height) - 12px);overscroll-behavior:contain;
  padding:14px clamp(14px,2vw,26px) 16px;background:#fff;color:#191919;
  border:1px solid #e3e3e3;border-radius:7px;box-shadow:0 10px 25px #00000012;
}
.category-mega[hidden]{display:none}
.category-mega-label{margin:0 0 9px;color:#555;font-size:12px;font-weight:650}
.category-menu-list{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0}
.category-menu-list li{min-width:0}
.header .category-mega a,.menu-list .mobile-categories li a{
  display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;
  min-height:54px;height:100%;padding:4px 7px;background:#fafafa;
  border:1px solid #ebebeb;border-radius:5px;color:#252525;font-size:13px;font-weight:560;
  line-height:1.25;overflow-wrap:anywhere;
}
.category-menu-list img{width:44px;height:44px;object-fit:contain;background:#f1f1f1;border-radius:4px}
.category-mega a::after{content:none}
.category-menu-list a svg{color:#606060}
.header .category-mega a:is(:hover,[aria-current]),.menu-list .mobile-categories li a:is(:hover,[aria-current]){
  background:#f1f1f1;border-color:#c3c3c3;
}
.mobile-categories{margin:0;border-bottom:1px solid var(--line)}
.mobile-categories summary{display:flex;align-items:center;min-height:46px;padding:0 1px;cursor:pointer}
.mobile-categories .category-menu-list{grid-template-columns:minmax(0,1fr);margin-bottom:8px}
@media(prefers-reduced-motion:reduce){.category-mega-trigger::after,.category-mega-trigger svg{transition:none}}
