/* Shared store-style site chrome */
.site-header{position:sticky;top:0;z-index:40;background:var(--bg);border-bottom:1px solid var(--border)}
.header-inner{width:80%;max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:32px;min-height:78px}
.brand{display:flex;align-items:center;flex:none;padding:6px 0;text-decoration:none}
.brand img{height:36px;width:auto}
.logo-w{display:none}
html[data-theme="dark"] .logo-c{display:none}
html[data-theme="dark"] .logo-w{display:block}
.site-nav{display:flex;gap:26px;margin-left:auto;flex-wrap:wrap}
.site-nav a{font-family:var(--display);font-weight:600;font-size:.9375rem;color:var(--fg);text-decoration:none;padding:10px 0;border-bottom:2px solid transparent;white-space:nowrap}
.site-nav a:hover{border-bottom-color:var(--fg)}
.site-nav a[aria-current="page"],.site-nav a[aria-current="true"]{border-bottom-color:var(--accent)}
.header-shop{display:inline-flex;align-items:center;min-height:44px;padding:10px 0;font-family:var(--display);font-weight:600;font-size:.9375rem;color:var(--fg);text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}
.header-shop:hover{border-bottom-color:var(--accent)}
.cart-btn{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;border:3px solid var(--fg);border-radius:999px;background:transparent;color:var(--fg);font-family:var(--display);font-weight:600;font-size:.9375rem;text-decoration:none;white-space:nowrap;cursor:pointer}
.cart-btn:hover{background:var(--fg);color:var(--bg)}
.cart-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--fg);color:var(--bg);font-family:var(--body);font-size:.75rem;font-weight:600;line-height:1}
.cart-btn:hover .cart-count{background:var(--bg);color:var(--fg)}
.site-header [hidden]{display:none!important}

.menu-toggle{display:none;position:relative;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;border:3px solid var(--fg);border-radius:999px;background:transparent;color:var(--fg);cursor:pointer;margin-left:auto}
.menu-toggle:hover{background:var(--fg);color:var(--bg)}
.menu-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.menu-toggle-lines{position:relative;display:block;width:18px;height:12px}
.menu-toggle-lines span{position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:currentColor;transition:top .18s,transform .18s,opacity .18s}
.menu-toggle-lines span:nth-child(1){top:0}
.menu-toggle-lines span:nth-child(2){top:5px}
.menu-toggle-lines span:nth-child(3){top:10px}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(1){top:5px;transform:rotate(45deg)}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(2){opacity:0}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(3){top:5px;transform:rotate(-45deg)}
.menu-toggle:hover .menu-toggle-count{background:var(--bg);color:var(--fg)}
.menu-toggle-count{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--fg);color:var(--bg);font-family:var(--body);font-size:.6875rem;font-weight:600;line-height:1}
.mobile-menu{position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--border);box-shadow:0 18px 40px rgba(76,35,4,.16);z-index:45;max-height:calc(100vh - 78px);max-height:calc(100dvh - 78px);overflow:auto;overscroll-behavior:contain;animation:menuIn .18s ease-out}
.mobile-menu-inner{width:80%;max-width:1200px;margin:0 auto;padding:2px 0 18px}
.mobile-menu-list{list-style:none;margin:0;padding:0;display:grid}
.mobile-menu-link{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 2px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--fg);font-family:var(--display);font-weight:600;font-size:1rem;line-height:1.2;text-align:left;text-decoration:none;cursor:pointer}
.mobile-menu-list li:first-child .mobile-menu-link{border-top:0}
.mobile-menu-link:hover{background:var(--surface);color:var(--fg)}
.mobile-menu-link:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.mobile-menu-link[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:5px}
.menu-cart-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--fg);color:var(--bg);font-family:var(--body);font-size:.75rem;font-weight:600;line-height:1}
@keyframes menuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.menu-toggle-lines span{transition:none}.mobile-menu{animation:none}}

.site-footer{background:var(--surface);border-top:1px solid var(--border);padding:48px 0 36px}
.footer-grid{display:grid;grid-template-columns:1.3fr .8fr .9fr 1fr;gap:32px}
.footer-brand-col{min-width:0}
.footer-brand{display:inline-flex;align-items:center;text-decoration:none}
.footer-brand img{height:32px;width:auto}
.footer-note{max-width:42ch;margin-top:12px;font-size:.875rem;line-height:1.6;color:var(--muted)}
.footer-contact{margin-top:16px;display:grid;gap:2px}
.footer-contact a{display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem;color:var(--fg);text-decoration:none;width:fit-content}
.footer-contact a:hover{text-decoration:underline}
.footer-links h2{font-family:var(--display);font-size:1rem;font-weight:600;line-height:1.3;margin-bottom:10px}
.footer-links ul{list-style:none;margin:0;padding:0}
.footer-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--fg);font-size:.875rem;text-decoration:none}
.footer-links a:hover{text-decoration:underline}
.footer-links a[aria-current="page"]{text-decoration:underline;text-underline-offset:3px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--border);margin-top:32px;padding-top:20px;font-size:.8125rem;color:var(--muted)}
.footer-bottom p{margin:0}
.footer-links a:focus-visible,.footer-contact a:focus-visible,.site-nav a:focus-visible,.header-shop:focus-visible,.cart-btn:focus-visible,.brand:focus-visible,.footer-brand:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

@media (max-width:1000px){.footer-grid{grid-template-columns:1fr 1fr}.footer-brand-col{grid-column:1/-1}}
@media (max-width:1100px){
  body.menu-ready .header-inner{flex-wrap:nowrap;gap:16px;min-height:78px;padding:0}
  body.menu-ready .brand img{height:clamp(28px,8vw,32px)}
  body.menu-ready .site-nav,
  body.menu-ready .header-shop,
  body.menu-ready .cart-btn{display:none}
  body.menu-ready .menu-toggle{display:inline-flex}
}
@media (max-width:1100px){
  body:not(.menu-ready) .header-inner{flex-wrap:wrap;gap:0;padding:12px 0;min-height:0}
  body:not(.menu-ready) .brand img{height:32px}
  body:not(.menu-ready) .site-nav{order:3;width:100%;margin:4px 0 0;gap:22px}
  body:not(.menu-ready) .cart-btn,body:not(.menu-ready) .header-shop{margin-left:auto}
}
@media (max-width:720px){
  .header-inner{width:90%}
  .mobile-menu-inner{width:90%}
  .footer-grid{grid-template-columns:1fr}
  .footer-brand-col{grid-column:auto}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media (max-width:360px){body.menu-ready .header-inner{gap:12px}}
