:root {
  --bg: #fff7ec; --bg-2: #fbeddb; --card: #fff; --field: #fffaf3; --ink: #2b1710; --muted: #6f5344;
  --line: #ecdccb; --line-strong: #d9c2a9; --accent: #d9304c; --accent-bright: #ffd28f; --accent-text: #c2263f; --accent-ink: #fff;
  --accent-soft: #fde4e0; --glow: rgba(217,48,76,.28); --star: #e8a33d;
  --head-bg: rgba(255,247,236,.94); --head-solid: #fff; --radius: 22px;
  --head-font: 'Fraunces', Georgia, serif; --body-font: 'Inter Tight', system-ui, sans-serif;
  --story-height: 500svh;
}
@supports not (height: 1svh) { :root { --story-height: 500vh; } }
.section h2 { font-weight: 900; }
.stage { background: #2b1710; }
.shade { background: linear-gradient(180deg, rgba(24,12,6,.78), rgba(24,12,6,.42) 34%, transparent 56%); }
.line { left: 20px; right: 20px; text-align: center; font-size: clamp(50px, 10.5vw, 100px); }
.line small { margin-inline: auto; }
.spat { position: absolute; left: 0; top: 0; overflow: visible; filter: drop-shadow(0 10px 10px rgba(0,0,0,.45)); }
.meter { position: absolute; left: 50%; bottom: 150px; display: flex; gap: 10px; padding: 9px 18px; border-radius: 999px; background: rgba(32,16,9,.88); border: 1.5px solid var(--accent-bright); font-weight: 800; white-space: nowrap; opacity: 0; transform: translateX(-50%); }
.meter span { color: var(--accent-bright); }
.strip { background: #2b1710; color: #ffe9cf; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button { min-height: 44px; padding: 9px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--card); font-weight: 800; cursor: pointer; }
.tabs button[aria-pressed=true] { background: #2b1710; border-color: #2b1710; color: #fff; }
.menu { display: grid; gap: 14px; }
@media (min-width: 760px) { .menu { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .menu { grid-template-columns: repeat(3, 1fr); } }
.item { display: grid; grid-template-rows: 190px 1fr; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: 0 8px 24px rgba(90,50,20,.1); }
.item img { width: 100%; height: 100%; object-fit: cover; }
.item > div { display: flex; flex-direction: column; padding: 16px 18px 18px; }
.item h3 { font-size: 24px; font-weight: 800; }
.item .ing { margin-top: 8px; font-size: 15px; color: var(--muted); }
.item .ing b { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.buy { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.buy strong { font-size: 22px; font-weight: 800; }
.buy .btn { min-height: 44px; padding: 9px 20px; font-size: 15.5px; }
.buy .qty { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.buy .qty button { width: 40px; height: 40px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--card); font-size: 20px; font-weight: 800; cursor: pointer; }
.cart { position: fixed; z-index: 46; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 58px; padding: 8px 8px 8px 20px; border-radius: 999px; background: #2b1710; color: #fff; font-weight: 800; box-shadow: 0 14px 36px rgba(0,0,0,.35); transform: translateY(170%); transition: transform .25s; }
.cart:not(.on) { visibility: hidden; }
.cart.on { transform: none; }
.cart .btn { min-height: 44px; padding: 9px 20px; font-size: 15px; }
@media (min-width: 760px) { .cart { left: auto; width: 380px; right: 20px; } }
.order-lines { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); font-weight: 700; font-size: 15px; }
.order-lines div { display: flex; justify-content: space-between; gap: 10px; }
.order-lines .tot { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(0,0,0,.14); font-weight: 800; }
.skim { position: relative; aspect-ratio: 828 / 520; overflow: hidden; border-radius: var(--radius); background: #000; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; box-shadow: 0 24px 60px rgba(70,40,20,.2); }
.skim img, .skim canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.skim canvas { transition: opacity .5s; }
.skim .ring { position: absolute; left: 0; top: 0; width: 90px; height: 34px; margin: -17px 0 0 -45px; border-radius: 50% 12px 12px 50%; background: linear-gradient(#f4f6f8, #b6bec6); box-shadow: 0 8px 16px rgba(0,0,0,.4); pointer-events: none; opacity: 0; transition: opacity .2s; }
.skim .ring.on { opacity: 1; }
.skim-tip { position: absolute; left: 50%; top: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(32,16,9,.86); color: #fff; font-weight: 800; font-size: 15px; white-space: nowrap; transform: translateX(-50%); pointer-events: none; transition: opacity .25s; }
.skim-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #fff; text-align: center; background: rgba(30,14,7,.26); text-shadow: 0 3px 16px rgba(0,0,0,.5); }
.skim-done p { font-family: var(--head-font); font-weight: 900; font-size: clamp(36px, 7vw, 60px); }
.skim-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #262c33; }
.stats div { padding: 15px 18px; border-right: 1px solid #1d2329; }
.stats b { display: block; font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.stats small { color: #93a0ad; font-size: 13px; }
.bake { padding: 14px 20px; border-bottom: 1px solid #262c33; }
.bake h4 { margin-bottom: 8px; color: #93a0ad; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.bake p { display: flex; justify-content: space-between; padding: 4px 0; font-weight: 700; font-size: 15px; }
