/* Impeccable round 2: the store header (public/store/style.css .top / .top-in / .brand / .icon-btn / .count) for the
   pages rendered outside the store. Same geometry: 64px bar, logo centred at 27px (32px on a desktop), menu + passport
   left on a phone, the four main links left on a desktop, language + saved + bag right. Sticky, not fixed, so the pages
   keep their own spacing. Scoped to .hh so it never touches the page below it. */
.hh{--hh-ink:#2E2119;--hh-bg:rgba(251,247,240,.94);--hh-line:rgba(46,33,25,.08);--hh-gold:#9A7432;
  position:sticky;top:0;z-index:60;background:var(--hh-bg);-webkit-backdrop-filter:saturate(1.2) blur(12px);backdrop-filter:saturate(1.2) blur(12px);
  box-shadow:0 1px 0 var(--hh-line);color:var(--hh-ink);font-family:"Manrope","Jost","Helvetica Neue",Arial,sans-serif;font-size:15px;font-weight:500;line-height:1.2}
.hh-dark{--hh-ink:#F3EADC;--hh-bg:rgba(30,22,17,.86);--hh-line:rgba(217,182,110,.16);--hh-gold:#D4A62A}
.hh :lang(th),.hh [lang=th]{font-family:"Anuphan","Noto Sans Thai",sans-serif;letter-spacing:0}
.hh a{color:inherit;text-decoration:none}
.hh-in{position:relative;display:flex;align-items:center;gap:10px;max-width:1440px;margin:0 auto;padding:6px clamp(18px,5vw,72px);min-height:64px;box-sizing:border-box}
.hh-ic{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer}
.hh-ic:hover{background:rgba(127,100,60,.08)}
.hh a:focus-visible,.hh button:focus-visible{outline:2px solid var(--hh-gold);outline-offset:2px}
.hh-menu{margin-left:-10px}
.hh-pass{flex-direction:column;gap:1px;border-radius:12px}
.hh-pass span{font-size:9.5px;line-height:1;letter-spacing:.02em}
.hh-links{display:none}
.hh-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:0}
.hh-brand svg{display:block;height:27px;width:81.2px;color:var(--hh-ink)}
.hh-dark .hh-brand .lc-g,.hh-dark .lc-g{fill:#D4A62A}
.hh-end{display:flex;align-items:center;gap:clamp(2px,1.6vw,22px);margin-left:auto}
.hh-end>.hh-ic:last-child{margin-right:-10px}
.hh-lang{display:inline-flex;align-items:center;font-size:13px;letter-spacing:.06em}
.hh-lang a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:30px;padding:0 3px;opacity:.55}
.hh-lang a[lang=th]{font-size:14px}
.hh-lang a[aria-current]{opacity:1;font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.hh-lang i{font-style:normal;opacity:.4;padding:0 1px}
/* phone: only the other language is shown (as in the store) */
@media (max-width:899px){.hh-lang i,.hh-lang a[aria-current]{display:none}.hh-lang a{opacity:.85;min-width:30px}}
@media (max-width:380px){.hh-end{gap:0}}
.hh-count{position:absolute;top:5px;right:3px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#2E2119;color:#fff;font:600 10.5px/18px "Manrope",sans-serif;font-style:normal;text-align:center;transform:scale(0);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.hh-count.on{transform:scale(1)}
@media (min-width:900px){
  .hh-menu{display:none}
  .hh-pass span{font-size:12px;letter-spacing:.06em;margin-left:5px}
  .hh-pass{order:5;flex-direction:row;border-radius:999px;padding:0 10px 0 8px;margin-left:auto}
  .hh-end{order:6;margin-left:0}
  .hh-links{display:flex;align-items:center;gap:clamp(2px,1.6vw,22px);margin-left:-6px}
  .hh-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:6px 72%;transition:background-size .35s cubic-bezier(.2,.7,.2,1)}
  .hh-links a:hover,.hh-links a:focus-visible{background-size:calc(100% - 12px) 1px}
  .hh-brand svg{height:32px;width:96.3px}
}
/* the menu sheet */
.hh-drawer{font-family:"Manrope","Jost",sans-serif;line-height:1.2;position:fixed;inset:0;z-index:90;background:rgba(30,22,17,.42);opacity:0;transition:opacity .25s}
.hh-drawer.on{opacity:1}
.hh-sheet{position:absolute;left:0;top:0;bottom:0;width:min(360px,86vw);background:#FBF7F0;color:#2E2119;padding:64px 28px 40px;box-sizing:border-box;overflow-y:auto;transform:translateX(-100%);transition:transform .3s cubic-bezier(.2,.7,.2,1);outline:0}
.hh-drawer.on .hh-sheet{transform:none}
.hh-close{position:absolute;top:10px;right:10px}
.hh-sheet nav{display:grid}
.hh-sheet a{color:#2E2119;text-decoration:none}
.hh-sheet .hh-ic{position:absolute;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:none;border:0;border-radius:50%;color:#2E2119;cursor:pointer}
.hh-sheet a:focus-visible,.hh-sheet button:focus-visible{outline:2px solid #9A7432;outline-offset:2px}
.hh-sheet nav a{display:flex;align-items:center;min-height:52px;border-bottom:1px solid rgba(46,33,25,.08);font-family:"Instrument Serif","Bodoni Moda","Times New Roman",serif;font-size:24px;font-weight:400}
.hh-sheet:lang(th) nav a{font-family:"Anuphan",sans-serif;font-size:19px}
.hh-sheet .hh-bag-row{margin-top:18px;border:1px solid #2E2119;border-radius:999px;justify-content:center;min-height:48px;font-family:"Manrope",sans-serif;font-size:15px;font-weight:600}
html.hh-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.hh-drawer,.hh-sheet,.hh-count,.hh-links a{transition:none}}
@media print{.hh{display:none}}
