/* ===== production overrides: full-viewport centered app + in-site theme switcher ===== */
html{height:100%}
body{min-height:100%}
#root{min-height:100dvh}

/* the mockup's phone becomes a centered mobile-width column on desktop, full-bleed on phones */
.app{max-width:540px;margin:0 auto;height:100svh;box-shadow:0 0 90px rgba(0,0,0,.5)}
@media (max-width:540px){.app{box-shadow:none}}

.stack{display:flex;flex-direction:column;min-height:100%}
.stack>.foot{order:100;margin-top:auto}
.island__row{display:flex;gap:12px;overflow:auto;min-height:48px;align-items:center}
.island--sm{min-height:48px}.island--md{min-height:76px}.island--lg{min-height:120px}
.footsheet{display:flex;flex-direction:column;gap:10px;padding:12px 0}
.footsheet a,.footsheet button{min-height:44px;font-size:1rem}
.eventform{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.eventform input{min-height:44px;font-size:16px;padding:8px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--fg)}
.foot__social .iconbtn,.foot__social a.iconbtn{min-width:44px;min-height:44px}
/* real header — drop the iOS status-bar offset */
.appbar{padding-top:max(14px, env(safe-area-inset-top))}
.hero--bold .hero__kick{display:inline-block;padding:5px 10px;border-radius:999px;background:color-mix(in srgb, var(--bg) 78%, transparent)}
.iconbtn{width:44px;height:44px}
.langbtn{min-width:44px;height:44px;padding:0 12px;border-radius:11px;background:var(--surface);border:1px solid var(--border);font-weight:800;font-size:13px;letter-spacing:.06em}
.langbtn:hover{border-color:var(--accent)}
.hero--bold{min-height:100svh}
.searchbox input{font-size:16px}
.chip{min-height:44px}
.nav{overflow-y:auto;padding-top:18px}
.nav__link{font-size:clamp(28px, 9vw, 40px)}
.nav__order{text-decoration:none}
.foot__links a{font-size:13px;color:var(--sub);font-weight:600;text-decoration:none}
.foot__links a:hover{color:var(--accent)}

/* content top offsets reduced now that there's no phone status bar */
.menubar{padding-top:66px}
.abouthero{padding-top:max(62px, calc(48px + env(safe-area-inset-top)));padding-bottom:22px}
.abouthero__h{line-height:1.08}
a.btn,.nav__order,.foot__links a{text-decoration:none}
.hero--deco{padding-top:68px}

/* persistent order CTA + clearance so content isn't hidden behind it */
.scroll{padding-bottom:28px}
.langpop{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.langpop button{min-height:44px;text-align:left;font-weight:700}
.langpop--bar{position:absolute;top:calc(100% + 6px);right:12px;z-index:8;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:8px;min-width:140px}
.appbar{position:absolute}
.basket{bottom:18px}
.basket--cta{cursor:pointer}
.basket--cta .basket__total{display:flex;align-items:center}
.basket--cta .basket__total svg{width:18px;height:18px}

/* theme switcher (inside the nav overlay) — 3 directions × dark/light = 6 themes */
.themesw{margin-top:18px}
.themesw__lbl{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:10px}
.themesw__opts{display:flex;gap:8px}
.themebtn{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 8px;border-radius:13px;
  background:var(--surface);border:1px solid var(--border);color:var(--ink);transition:.15s}
.themebtn:hover{border-color:var(--accent)}
.themebtn.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset}
.themebtn__dot{width:30px;height:30px;border-radius:9px}
.themebtn__txt{font-size:12px;font-weight:700}
.themebtn__dot[data-dir="noir"]{background:linear-gradient(135deg,#0d0d0d 40%,#c9a84c)}
.themebtn__dot[data-dir="panda"]{background:linear-gradient(135deg,#15c2cc 0%,#c026d3 60%,#ff3b30)}
.themebtn__dot[data-dir="deco"]{background:linear-gradient(135deg,#efe9dd 45%,#6e1f3a 46%,#1b2238)}
/* hero blocks reorderable by staff (page.hero_order); kicker sits under the app bar by default */
.hero--bold{align-items:stretch}
.hero--bold .hero__inner.hero--flow{display:flex;flex-direction:column;padding-top:76px;padding-bottom:46px}
.hero--flow .hero__spacer{flex:1 1 auto;min-height:0}
.hero--bold .hero__inner .wordmark{line-height:.86;margin:0}
.hero--bold .hero__inner .hero__tag{margin-top:2px}
/* default: buttons start where the tagline used to end */
.hero--bold .hero__tag + .hero__cta{margin-top:88px}
.hero--deco.hero--flow{display:flex;flex-direction:column;align-items:center}
.hero--deco .hero__wm{display:flex;flex-direction:column;align-items:center}
.hero--deco .hero__wm .wordmark{margin-bottom:0}
