/* Native scrolling with a stable sticky header and anchor offset. */
:root{--store-header-offset:80px}
html{scroll-padding-top:var(--store-header-offset);scroll-behavior:auto!important}
@supports(overflow:clip){html,body{overflow-x:clip}}

/* Full-width white at the top; a tinted floating glass surface on scroll. */
body :is(.site-header,.site-header:not(.is-scrolled),.site-header.is-hidden){
  position:sticky;top:0;z-index:60;transform:none;
  width:100%;max-width:100%;margin:0 auto;
  background:#fff;color:#173249;
  border:1px solid transparent;border-bottom-color:#e5edf1;border-radius:0;
  backdrop-filter:blur(0) saturate(100%);
  -webkit-backdrop-filter:blur(0) saturate(100%);
  box-shadow:none;
  transition:transform .32s cubic-bezier(.22,.8,.25,1),width .38s cubic-bezier(.22,.8,.25,1),top .38s cubic-bezier(.22,.8,.25,1),border-radius .38s ease,background .38s ease,border-color .38s ease,box-shadow .38s ease,color .25s ease;
}
body .site-header.is-scrolled{
  top:10px;width:var(--store-content-width,min(1600px,calc(100% - 72px)));
  background:rgba(255,255,255,.60);color:#173249;
  border-color:rgba(133,156,166,.3);border-radius:16px;
  backdrop-filter:blur(12px) saturate(125%);
  -webkit-backdrop-filter:blur(12px) saturate(125%);
  box-shadow:0 4px 18px rgba(8,23,33,.08),inset 0 1px 0 rgba(255,255,255,.38);
}
body .site-header .header-inner{height:68px;width:100%;max-width:none;padding:0 24px}
body .site-header .brand-logo{height:45px;max-height:45px;width:auto;max-width:none;object-fit:contain}
body .site-header .desktop-nav{gap:26px}
body .site-header .brand,body .site-header .header-icon,body .site-header .hm-trigger{color:inherit}
body .site-header.is-scrolled .hm-trigger button{color:inherit}
body .site-header.is-scrolled .desktop-nav>.hm-category>.hm-trigger>a,body .site-header.is-scrolled .desktop-nav>a{color:inherit}
body .site-header.is-scrolled .desktop-nav>a:after,body .site-header.is-scrolled .hm-trigger>a:after{background:#173249}
body .site-header.is-scrolled .brand-logo{filter:none}
body .site-header .hm-panel{margin-top:8px;border:1px solid #dce7ed;border-radius:12px;overflow:hidden;color:#173249}
body .site-header .header-icon:hover{background:rgba(226,239,239,.7)}
body .site-header.is-scrolled .header-icon:hover{background:rgba(255,255,255,.35);color:#173249}
body .site-header.is-scrolled .cart-trigger span{background:#e6f5f2;color:#173249}
@media(max-width:980px){
  body .site-header.is-scrolled{top:6px;width:var(--store-content-width,calc(100% - 24px));border-radius:12px}
  body .site-header .header-inner{height:60px;padding:0 10px}
  body .site-header .header-icon{min-width:40px;min-height:44px;padding:8px}
  body .site-header .header-actions{gap:0}
}
@media(max-width:380px){body .site-header .brand span{font-size:13px;letter-spacing:.045em}body .site-header .header-inner{padding:0 6px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body .site-header.is-scrolled{background:rgba(255,255,255,.60)}}
@media(prefers-reduced-motion:reduce){body .site-header{transition:none}}

body .site-header.is-hidden{transform:none;pointer-events:auto}

/* Mobile header scrolls with the page; bottom navigation stays available. */
@media(max-width:767px){
  body .site-header,body .site-header:not(.is-scrolled),body .site-header.is-scrolled,body .site-header.is-hidden{position:relative;top:auto;width:100%;max-width:100%;border-radius:0;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;transform:none;transition:none}
}

/* Keep header actions clear and easy to recognize on every screen. */
body .site-header .header-icon,
body .site-header .header-icon:hover,
body .site-header.is-scrolled .header-icon:hover{color:#18394d}
body .site-header .header-icon{width:44px;min-width:44px;height:44px;padding:10px;flex-shrink:0}
body .site-header .header-icon svg{width:20px;height:20px;stroke:#18394d;stroke-width:2.4;flex-shrink:0}
