/* ============================================================
   Štoka Pica — 2026 redesign
   ============================================================ */

:root {
  --ink: #0C0907;
  --ink-2: #100C0A;
  --surface: #16110E;
  --surface-2: #1F1814;
  --surface-3: #2A211B;
  --line: rgba(247, 240, 230, .10);
  --line-strong: rgba(247, 240, 230, .18);
  --cream: #F7F0E6;
  --muted: #A79A8C;
  --muted-2: #786C60;
  --ember: #FF6B1A;
  --flame: #E5341A;
  --gold: #F5B93B;
  --mint: #57D6A4;
  --btc: #F7931A;
  --danger: #FF6B6B;

  --grad-ember: linear-gradient(135deg, #FF8A2B 0%, #FF6B1A 45%, #E5341A 100%);
  --grad-warm: linear-gradient(180deg, rgba(255,107,26,.14), rgba(255,107,26,0));

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 14px 40px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 90px rgba(0,0,0,.6);
  --glow: 0 0 60px rgba(255,107,26,.35);

  --ff-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --ff: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1220px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 76px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* film grain over everything */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
p { margin: 0; }

.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ember);
}
.lead { color: var(--muted); font-size: 1.02rem; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-ember); color: #fff; box-shadow: 0 10px 30px rgba(229,52,26,.35); }
.btn--primary:hover { box-shadow: 0 16px 44px rgba(229,52,26,.5); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--cream); background: rgba(247,240,230,.03); }
.btn--ghost:hover { border-color: var(--ember); background: rgba(255,107,26,.08); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- demo banner ---------- */
.demobar {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, rgba(245,185,59,.16), rgba(255,107,26,.14));
  border-bottom: 1px solid rgba(245,185,59,.22);
  font-size: .82rem; color: #F3DFB8;
}
.demobar__in { display: flex; align-items: center; gap: .8rem; padding: .5rem 0; }
.demobar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 10px var(--gold); }
.demobar__x { margin-left: auto; color: #F3DFB8; opacity: .7; font-size: 1.15rem; line-height: 1; padding: .2rem .4rem; }
.demobar__x:hover { opacity: 1; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 9, 7, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 1.4rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: .95; }
.brand__name { font-family: var(--ff-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.04em; }
.brand__sub { font-size: .58rem; letter-spacing: .28em; color: var(--muted-2); text-transform: uppercase; }

.nav { display: flex; gap: .3rem; margin-left: .6rem; }
.nav a {
  padding: .45rem .8rem; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500;
  color: var(--muted); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--cream); background: rgba(247,240,230,.06); }

.header__right { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

.status {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .75rem; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600;
  border: 1px solid var(--line-strong); background: rgba(247,240,230,.03);
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status.is-open .status__dot { background: var(--mint); box-shadow: 0 0 0 3px rgba(87,214,164,.18); animation: pulse 2.4s infinite; }
.status.is-open { color: var(--mint); border-color: rgba(87,214,164,.3); }
.status.is-soon .status__dot { background: var(--gold); }
.status.is-soon { color: var(--gold); border-color: rgba(245,185,59,.3); }
.status.is-closed { color: var(--muted); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(87,214,164,.18); } 50% { box-shadow: 0 0 0 6px rgba(87,214,164,0); } }

.lang { display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-pill); overflow: hidden; }
.lang button { padding: .3rem .6rem; font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }

.phone-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--muted); }
.phone-link:hover { color: var(--ember); }

.cartbtn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .7rem .55rem .85rem; border-radius: var(--r-pill);
  background: var(--grad-ember); color: #fff; font-weight: 700; font-size: .88rem;
  box-shadow: 0 8px 24px rgba(229,52,26,.34);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cartbtn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(229,52,26,.46); }
.cartbtn.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.12); } }
.cartbtn__count {
  min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: var(--r-pill);
  background: rgba(0,0,0,.28); display: grid; place-items: center; font-size: .76rem;
}

.menu-toggle { display: none; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); }
.menu-toggle span { display: block; width: 16px; height: 2px; background: var(--cream); margin: 3px auto; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(255,107,26,.22), rgba(255,107,26,0) 62%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 3rem; align-items: center; position: relative; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); margin: .8rem 0 1rem; }
.hero h1 em {
  font-style: normal;
  background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.16rem); color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.hero__trust span {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: var(--muted); padding: .4rem .75rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(247,240,230,.02);
}

.hero__visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero__disc {
  position: absolute; width: min(105%, 480px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,107,26,.30), rgba(255,107,26,.05) 55%, transparent 70%);
  filter: blur(6px);
}
.hero__pizza {
  position: relative; width: min(100%, 430px); filter: drop-shadow(0 40px 60px rgba(0,0,0,.6));
  animation: spin 70s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pricecard {
  position: absolute; right: -6px; bottom: 4px; width: min(280px, 78%);
  background: rgba(31,24,20,.86); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  padding: 1rem 1.15rem; box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pricecard__label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.pricecard__item { font-weight: 700; margin: .3rem 0 .7rem; font-size: .95rem; }
.pricecard__row { display: flex; justify-content: space-between; align-items: baseline; font-size: .86rem; padding: .18rem 0; }
.pricecard__row span:first-child { color: var(--muted); }
.pricecard__old { text-decoration: line-through; color: var(--muted-2); }
.pricecard__new { font-weight: 800; font-size: 1.05rem; }
.pricecard__save {
  margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line-strong);
  display: flex; justify-content: space-between; color: var(--mint); font-weight: 700; font-size: .88rem;
}

/* ---------- value strip ---------- */
.values { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.value {
  padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  transition: border-color .3s, transform .3s var(--ease);
}
.value:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.value__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,107,26,.12); margin-bottom: .9rem; }
.value h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.value p { font-size: .87rem; color: var(--muted); }

/* ---------- section head ---------- */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; position: relative; }
.section__head { margin-bottom: 2rem; }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .5rem 0 .7rem; }

/* ---------- catalogue controls ---------- */
.controls {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(12,9,7,.9); backdrop-filter: blur(16px);
  border-block: 1px solid var(--line);
  padding: .8rem 0; margin-bottom: 2rem;
}
.controls__row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  padding: .48rem .9rem; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600;
  border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap;
  transition: all .2s;
}
.chip:hover { color: var(--cream); border-color: var(--muted-2); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.search { position: relative; flex: 1 1 220px; min-width: 180px; }
.search input {
  width: 100%; padding: .6rem 1rem .6rem 2.4rem; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--cream);
  font-size: .9rem;
}
.search input::placeholder { color: var(--muted-2); }
.search svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); }

.sizeswitch { display: flex; align-items: center; gap: .5rem; }
.sizeswitch__label { font-size: .78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; }
.segmented { display: flex; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 3px; }
.segmented button {
  padding: .38rem .8rem; border-radius: var(--r-pill); font-size: .84rem; font-weight: 700; color: var(--muted);
  transition: all .2s;
}
.segmented button[aria-pressed="true"] { background: var(--grad-ember); color: #fff; }

select.sel {
  padding: .58rem 2rem .58rem .9rem; border-radius: var(--r-pill);
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A79A8C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .8rem center;
  border: 1px solid var(--line-strong); color: var(--cream); font-size: .86rem;
  appearance: none; -webkit-appearance: none;
}
.count { font-size: .82rem; color: var(--muted-2); margin-left: auto; }

/* ---------- pizza grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1.1rem; }

.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  overflow: hidden; text-align: left;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 190px;
  background: radial-gradient(ellipse at 50% 35%, rgba(255,107,26,.16), transparent 68%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card__media { position: relative; padding: 1.2rem 1.2rem 0; }
.card__img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.55));
  transition: transform .5s var(--ease);
}
.card:hover .card__img { transform: scale(1.07) rotate(4deg); }
.card__badges { position: absolute; top: 1rem; left: 1rem; display: flex; flex-direction: column; gap: .3rem; z-index: 2; }
.badge {
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; padding: .25rem .5rem;
  border-radius: var(--r-sm); text-transform: uppercase;
}
.badge--top { background: var(--gold); color: #2A1A00; }
.badge--new { background: var(--grad-ember); color: #fff; }
.badge--veg { background: rgba(87,214,164,.16); color: var(--mint); border: 1px solid rgba(87,214,164,.3); }
.badge--hot { background: rgba(229,52,26,.18); color: #FF8B6B; border: 1px solid rgba(229,52,26,.35); }

.card__body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card__name { font-family: var(--ff-display); font-size: 1.18rem; font-weight: 800; letter-spacing: -.03em; }
.card__desc {
  font-size: .82rem; color: var(--muted); margin-top: .3rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; overflow: hidden;
  min-height: 2.4em;
}
.card__foot { display: flex; align-items: flex-end; gap: .7rem; margin-top: 1rem; }
.card__prices { flex: 1; min-width: 0; }
.card__price { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.card__compare { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; font-size: .74rem; }
.card__was { color: var(--muted-2); text-decoration: line-through; }
.card__off {
  color: var(--mint); font-weight: 700; background: rgba(87,214,164,.1);
  border: 1px solid rgba(87,214,164,.22); padding: .05rem .35rem; border-radius: 6px; font-size: .7rem;
}
.card__add {
  position: relative; z-index: 2;
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--grad-ember); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(229,52,26,.35);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.card__add:hover { transform: scale(1.1) rotate(90deg); }
.card__open { position: absolute; inset: 0; z-index: 1; }

.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty h3 { font-size: 1.4rem; margin-bottom: .5rem; color: var(--cream); }

/* ---------- drinks ---------- */
.drinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.drink {
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: 1.2rem;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  display: flex; flex-direction: column; gap: .2rem;
  transition: border-color .3s, transform .3s var(--ease);
}
.drink:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.drink__vol {
  font-family: var(--ff-display); font-size: 2rem; font-weight: 800; letter-spacing: -.05em;
  background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.drink__name { font-weight: 600; font-size: .95rem; }
.drink__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; }
.drink__price { font-weight: 800; font-size: 1.1rem; }
.drink__add { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,107,26,.14); color: var(--ember); display: grid; place-items: center; transition: background .2s; }
.drink__add:hover { background: var(--ember); color: #fff; }

/* ---------- delivery ---------- */
.deliv { display: grid; grid-template-columns: 1.35fr .8fr; gap: 2rem; align-items: start; }
.zonetable { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.zonetable table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.zonetable th {
  text-align: left; padding: .8rem 1.1rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); background: var(--surface-2); font-weight: 700; border-bottom: 1px solid var(--line);
}
.zonetable th:not(:first-child), .zonetable td:not(:first-child) { text-align: right; }
.zonetable td { padding: .7rem 1.1rem; border-bottom: 1px solid var(--line); }
.zonetable tr:last-child td { border-bottom: 0; }
.zonetable tbody tr { cursor: pointer; transition: background .2s; }
.zonetable tbody tr:hover { background: rgba(255,107,26,.06); }
.zonetable tbody tr.is-active { background: rgba(255,107,26,.12); box-shadow: inset 3px 0 0 var(--ember); }
.zonetable tbody tr.is-active td:first-child { font-weight: 700; color: var(--ember); }
.zonetable .free { color: var(--mint); font-weight: 700; font-size: .78rem; }

.infocard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; background: var(--surface); }
.infocard + .infocard { margin-top: 1rem; }
.infocard h3 { font-size: 1.1rem; margin-bottom: .9rem; }
.hoursrow { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .9rem; border-bottom: 1px dashed var(--line); }
.hoursrow:last-of-type { border-bottom: 0; }
.hoursrow span:first-child { color: var(--muted); }
.hoursrow b { font-variant-numeric: tabular-nums; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.rules li { display: flex; gap: .6rem; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.rules li::before { content: '→'; color: var(--ember); flex: none; font-weight: 700; }

/* ---------- bitcoin ---------- */
.btcpanel {
  border-radius: var(--r-xl); border: 1px solid rgba(247,147,26,.25);
  background:
    radial-gradient(circle at 88% 12%, rgba(247,147,26,.18), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--ink-2));
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: center;
}
.btcpanel h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.btcpanel .lead { color: #D9CDBE; }
.btcnote { font-size: .78rem; color: var(--muted-2); margin-top: 1.2rem; line-height: 1.6; max-width: 58ch; }
.btcrate {
  border: 1px solid rgba(247,147,26,.28); border-radius: var(--r-lg); padding: 1.4rem;
  background: rgba(12,9,7,.5); text-align: center;
}
.btcrate__label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.btcrate__val { font-family: var(--ff-display); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--btc); margin: .4rem 0 .1rem; letter-spacing: -.03em; }
.btcrate__live { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--mint); }
.btcrate__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 2s infinite; }
.btcrate__off { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; font-size: .8rem; color: var(--muted); }

/* ---------- lunch strip ---------- */
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.strip__card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
}
.strip__card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.strip__card p { color: var(--muted); font-size: .9rem; }
.platforms { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.platform {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: .84rem; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.platform:hover { border-color: var(--ember); background: rgba(255,107,26,.08); }
.platform i { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .9rem; font-family: var(--ff); font-weight: 700; }
.footer a, .footer p { font-size: .89rem; color: var(--muted); display: block; margin-bottom: .45rem; }
.footer a:hover { color: var(--ember); }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted-2); line-height: 1.7; }

/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(6,4,3,.72); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 90;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--ink-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .42s var(--ease);
  z-index: 95; display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.3rem; }
.iconbtn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--muted); transition: all .2s; flex: none;
}
.iconbtn:hover { color: var(--cream); border-color: var(--muted-2); background: rgba(247,240,230,.05); }
.drawer__head .iconbtn { margin-left: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem 1.4rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.2rem 1.4rem; background: var(--surface); }

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; background: var(--surface-2); padding: 4px; border-radius: var(--r-pill); margin-bottom: 1.1rem; }
.modes button { padding: .55rem; border-radius: var(--r-pill); font-size: .84rem; font-weight: 700; color: var(--muted); transition: all .2s; }
.modes button[aria-pressed="true"] { background: var(--grad-ember); color: #fff; }

.line { display: flex; gap: .85rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { width: 58px; height: 58px; flex: none; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.line__main { flex: 1; min-width: 0; }
.line__name { font-weight: 700; font-size: .93rem; }
.line__meta { font-size: .76rem; color: var(--muted); margin-top: .15rem; }
.line__notes { font-size: .74rem; color: var(--muted-2); font-style: italic; margin-top: .15rem; }
.line__foot { display: flex; align-items: center; gap: .7rem; margin-top: .5rem; }
.stepper { display: flex; align-items: center; gap: .1rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); }
.stepper button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.stepper button:hover { color: var(--ember); }
.stepper span { min-width: 22px; text-align: center; font-size: .84rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.line__price { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.line__rm { font-size: .74rem; color: var(--muted-2); }
.line__rm:hover { color: var(--danger); }

.totals { display: grid; gap: .4rem; margin-bottom: 1rem; }
.totals__row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.totals__row b { color: var(--cream); font-variant-numeric: tabular-nums; }
.totals__row.is-discount { color: var(--mint); }
.totals__row.is-discount b { color: var(--mint); }
.totals__row.is-total { font-size: 1.15rem; color: var(--cream); font-weight: 800; padding-top: .6rem; border-top: 1px solid var(--line); margin-top: .3rem; }
.totals__row.is-total b { font-family: var(--ff-display); font-size: 1.5rem; letter-spacing: -.03em; }
.savedpill {
  display: flex; align-items: center; gap: .45rem; justify-content: center;
  background: rgba(87,214,164,.1); border: 1px solid rgba(87,214,164,.24);
  color: var(--mint); border-radius: var(--r-sm); padding: .5rem; font-size: .82rem; font-weight: 600;
  margin-bottom: .9rem;
}
.hint { font-size: .78rem; color: var(--gold); text-align: center; margin-top: .6rem; }
.notice {
  font-size: .8rem; padding: .7rem .9rem; border-radius: var(--r-sm); line-height: 1.5;
  background: rgba(245,185,59,.1); border: 1px solid rgba(245,185,59,.24); color: #F0DCAE;
  margin-bottom: .9rem;
}
.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: .35rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: .72rem .9rem; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--cream); font-size: .92rem;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ember); outline: none; }
.field textarea { resize: vertical; min-height: 62px; }
.field.is-error input, .field.is-error select { border-color: var(--danger); }
.field__err { font-size: .74rem; color: var(--danger); margin-top: .3rem; display: none; }
.field.is-error .field__err { display: block; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box {
  position: relative; width: min(760px, 100%); max-height: min(88vh, 900px); overflow-y: auto;
  background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); transform: translateY(18px) scale(.98); transition: transform .35s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__x { position: absolute; top: 1rem; right: 1rem; z-index: 3; background: rgba(12,9,7,.6); }

.detail { display: grid; grid-template-columns: .85fr 1.15fr; }
.detail__media {
  position: relative; padding: 2rem; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255,107,26,.16), transparent 70%);
}
.detail__media img { width: 100%; filter: drop-shadow(0 24px 34px rgba(0,0,0,.6)); }
.detail__body { padding: 2rem 2rem 1.5rem; }
.detail__body h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.detail__desc { color: var(--muted); font-size: .92rem; margin: .6rem 0 1.4rem; }
.optgroup { margin-bottom: 1.3rem; }
.optgroup__head { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .6rem; }
.optgroup__head h4 { font-family: var(--ff); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.optgroup__hint { font-size: .74rem; color: var(--muted-2); }
.opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt {
  padding: .55rem .85rem; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  font-size: .84rem; color: var(--muted); text-align: left; transition: all .2s;
}
.opt:hover { border-color: var(--muted-2); color: var(--cream); }
.opt[aria-pressed="true"] { border-color: var(--ember); background: rgba(255,107,26,.1); color: var(--cream); }
.opt small { display: block; font-size: .72rem; color: var(--muted-2); }
.opt[aria-pressed="true"] small { color: var(--ember); }
.opt--size { min-width: 96px; }
.opt--size b { font-size: 1.05rem; display: block; font-family: var(--ff-display); letter-spacing: -.02em; }
.detail__foot { display: flex; align-items: center; gap: .8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.detail__foot .stepper { padding: .2rem; }
.detail__foot .stepper button { width: 32px; height: 32px; }

/* ---------- checkout ---------- */
.steps { display: flex; align-items: center; gap: .5rem; padding: 1.4rem 2rem .2rem; }
.step { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted-2); font-weight: 600; }
.step i {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-size: .72rem; font-style: normal;
}
.step.is-active { color: var(--cream); }
.step.is-active i { background: var(--grad-ember); border-color: transparent; color: #fff; }
.step.is-done i { background: rgba(87,214,164,.16); border-color: rgba(87,214,164,.35); color: var(--mint); }
.step__bar { flex: 1; height: 1px; background: var(--line); }
.checkout__body { padding: 1.4rem 2rem 2rem; }
.checkout__title { font-size: 1.5rem; margin-bottom: 1.2rem; }

.paylist { display: grid; gap: .6rem; margin-bottom: 1.3rem; }
.pay {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); text-align: left; transition: all .2s;
}
.pay:hover { border-color: var(--muted-2); }
.pay[aria-pressed="true"] { border-color: var(--ember); background: rgba(255,107,26,.07); }
.pay__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.pay__name { font-weight: 700; font-size: .94rem; }
.pay__desc { font-size: .78rem; color: var(--muted); }
.pay__tag { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--mint); background: rgba(87,214,164,.1); padding: .2rem .5rem; border-radius: 6px; }
.pay__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; margin-left: auto; position: relative; }
.pay[aria-pressed="true"] .pay__radio { border-color: var(--ember); }
.pay[aria-pressed="true"] .pay__radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ember); }

.cardform { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem; background: var(--surface); margin-bottom: 1.2rem; }
.cardbrand { position: absolute; right: .8rem; top: 2.1rem; font-size: .72rem; font-weight: 800; letter-spacing: .05em; color: var(--muted-2); }
.field--card { position: relative; }

.lnbox { border: 1px solid rgba(247,147,26,.3); border-radius: var(--r-md); padding: 1.2rem; background: rgba(247,147,26,.05); margin-bottom: 1.2rem; text-align: center; }
.lnbox__qr { width: 168px; margin: 0 auto .9rem; border-radius: 10px; overflow: hidden; background: var(--cream); padding: 8px; }
.lnbox__amt { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 800; color: var(--btc); letter-spacing: -.03em; }
.lnbox__eur { font-size: .84rem; color: var(--muted); margin-bottom: .8rem; }
.lnbox__inv {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .68rem; color: var(--muted-2);
  word-break: break-all; background: rgba(0,0,0,.3); padding: .6rem; border-radius: 8px; margin: .8rem 0 .7rem;
  max-height: 62px; overflow: hidden;
}
.lnbox__status { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--gold); font-weight: 600; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(245,185,59,.3); border-top-color: var(--gold); border-radius: 50%; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.summary { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; background: var(--surface); margin-bottom: 1.2rem; }
.summary__row { display: flex; justify-content: space-between; font-size: .86rem; padding: .22rem 0; color: var(--muted); }
.summary__row b { color: var(--cream); font-variant-numeric: tabular-nums; }
.summary__row.is-total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .6rem; font-size: 1.05rem; color: var(--cream); font-weight: 700; }

.done { text-align: center; padding: 2.5rem 2rem 3rem; }
.done__check {
  width: 76px; height: 76px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: rgba(87,214,164,.12); border: 1px solid rgba(87,214,164,.3);
  display: grid; place-items: center; animation: pop .5s var(--ease);
}
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.done h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .5rem; }
.done__no {
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 800; letter-spacing: .02em;
  color: var(--ember); margin: 1.2rem 0 .2rem;
}
.done__eta { color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i {
  position: absolute; width: 8px; height: 14px; top: -20px; opacity: .9;
  animation: fall linear forwards;
}
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: 0; } }

/* fly-to-cart dot */
.flydot {
  position: fixed; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-ember);
  z-index: 300; pointer-events: none; box-shadow: 0 0 14px rgba(255,107,26,.8);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* failsafe — see dropReveal() in app.js */
.no-reveal .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 300px; }
  .hero__pizza { width: min(76%, 340px); }
  .pricecard { right: 0; bottom: -10px; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .deliv { grid-template-columns: 1fr; }
  .btcpanel { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .detail__media { padding: 1.5rem 3rem .5rem; }
  .detail__media img { max-width: 240px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .phone-link span { display: none; }
  .header__in { gap: .8rem; }
  .strip { grid-template-columns: 1fr; }
  .steps { padding: 1.2rem 1.2rem .2rem; }
  .checkout__body, .detail__body { padding: 1.2rem 1.2rem 1.6rem; }
  .step span { display: none; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 28px); }
  /* the header has to survive 360px: compact the brand, reduce the status pill to
     its dot, drop the phone link (it is in the hero, delivery card and footer) */
  .header__in { gap: .5rem; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { display: none; }
  .phone-link { display: none; }
  .status { padding: .35rem; }
  .status #statusText { display: none; }
  .header__right { gap: .45rem; }
  .lang button { padding: .3rem .48rem; }
  /* keep the control bar from eating the viewport */
  .sizeswitch__label { display: none; }
  .search { flex: 1 1 100%; }
  .sizeswitch { flex: 1 1 auto; }
  .segmented { width: 100%; justify-content: space-between; }
  .sel { flex: 0 0 auto; }
  .values__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
  .card { border-radius: var(--r-lg); }
  .card__media { padding: .7rem .7rem 0; }
  .card__body { padding: .7rem .8rem 1rem; }
  .card__name { font-size: .98rem; }
  .card__desc { font-size: .74rem; -webkit-line-clamp: 2; }
  .card__price { font-size: 1.22rem; }
  .card__add { width: 36px; height: 36px; }
  .drawer { width: 100%; }
  .modal { padding: 0; align-items: end; }
  .modal__box { max-height: 94vh; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .controls__row { gap: .55rem; }
  .count { display: none; }
  .field--row { grid-template-columns: 1fr; }
  .zonetable table { font-size: .84rem; }
  .zonetable th, .zonetable td { padding: .6rem .7rem; }
}

@media (max-width: 430px) {
  .cartbtn #cartTotal { display: none; }
  .cartbtn { padding: .55rem .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
