:root {
  /* Taken from Darche's printed menu: black ink on paper, thin rules, a heavy headline. The accent (--brand)
     is the pizzeria's own colour and is kept for the main action and for status. */
  --brand: #d62828;
  --brand-dark: #a71f1f;
  --brand-soft: #d6282814;
  --brand-soft2: #d6282826;
  --ink: #1a1614;
  --ink2: #453c36;
  --muted: #675f59;
  --line: rgba(26, 22, 20, .12);
  --rule: rgba(26, 22, 20, .4);
  --fill: rgba(26, 22, 20, .06);
  --bg: #f0eeeb;
  --card: #ffffff;
  --plate: #e8e6e2;
  /* The oven stone: the dark surface food rests on. */
  --stone: #1e1714;
  --stone-ink: #f4ede6;
  --stone-muted: #bfb2a6;
  --ok: #1a7a49;
  --ok-soft: #1a7a4916;
  --warn: #b06a00;
  --warn-soft: #e8890c18;
  --danger: #b3261e;
  --danger-soft: #fbeceb;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(26, 22, 20, .05);
  --shadow-up: 0 -6px 26px rgba(26, 22, 20, .10);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --text: -apple-system, BlinkMacSystemFont, 'SF Hebrew', 'Segoe UI', Roboto, 'Noto Sans Hebrew', 'Heebo', system-ui, sans-serif;
  --display: 'Suez One', var(--text);
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
  overscroll-behavior-y: none;
}
body.sheet-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-family: var(--display); font-size: 28px; font-weight: 400; }
h2 { font-family: var(--display); font-size: 22px; font-weight: 400; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.tiny { font-size: 13px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 12px; }
.stack { display: grid; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.strike { text-decoration: line-through; color: var(--muted); }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }

.wrap { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: calc(170px + var(--safe-b)); }
.pad { padding: 0 16px; }
.section { margin: 30px 16px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 7px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
.section-head a, .link { color: var(--brand-dark); font-weight: 600; font-size: 15px; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 20px; border-radius: 14px; border: 0;
  background: var(--fill); font-weight: 600; font-size: 17px; cursor: pointer;
  transition: transform .12s ease, background .15s ease, opacity .15s;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn.block { width: 100%; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:active { background: var(--brand-dark); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink2); }
.btn.soft { background: var(--brand-soft); color: var(--brand-dark); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.ok { background: var(--ok); color: #fff; }
.btn.sm { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: 15px; }
.btn.lg { min-height: 56px; font-size: 17px; border-radius: 16px; }
.btn.icon { width: 50px; padding: 0; }
.btn .spacer { flex: 1; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); box-shadow: var(--shadow); display: inline-grid; place-items: center; cursor: pointer; }
.chip-x { border: 0; background: none; padding: 4px; cursor: pointer; color: var(--muted); }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card + .card { margin-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--fill); color: var(--ink2); white-space: nowrap; }
.pill.open { background: var(--ok-soft); color: var(--ok); }
.pill.open::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px #1a7a4922; }
.pill.closed { background: var(--danger-soft); color: var(--danger); }
.pill.brand { background: var(--brand); color: #fff; }
.pill.soft { background: var(--brand-soft); color: var(--brand-dark); }
.pill.warn { background: var(--warn-soft); color: #7a4a00; }
.badge { position: absolute; top: 10px; right: 10px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; z-index: 1; }

/* ---------- header / hero ---------- */
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.logo { width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; overflow: hidden; flex: none; box-shadow: var(--shadow); }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.topbar .name { font-weight: 800; font-size: 19px; line-height: 1.15; }

.hero {
  position: relative; margin: 10px 16px 0; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, #ffffff22 0, transparent 50%), linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 22px 20px 20px; min-height: 230px;
  box-shadow: 0 14px 34px var(--brand-soft2);
}
.hero.has-cover { background-size: cover; background-position: center; }
.hero.has-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.15)); }
.hero > * { position: relative; }
.hero h1 { font-size: 30px; max-width: 62%; }
.hero p { opacity: .92; margin-top: 6px; max-width: 60%; font-size: 15px; }
.hero .hero-pizza { position: absolute; left: -54px; top: -22px; width: 196px; height: 196px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.28)); animation: spin 60s linear infinite; }
.hero.has-cover .hero-pizza { display: none; }
.hero.has-cover h1, .hero.has-cover p { max-width: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .modes { margin-top: 20px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--fill); border-radius: 13px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; border-radius: 10px; min-height: 42px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink2); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(26,22,20,.16); }
.hero .seg { background: rgba(0,0,0,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .seg button { color: #fff; }
.hero .seg button.on { color: var(--brand); }
.hero .btn { margin-top: 12px; background: #fff; color: var(--brand); border-color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); }

.closed-banner { margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: #fbf1e2; color: #7a4a00; font-size: 15px; display: flex; gap: 10px; align-items: center; }

/* ---------- active order ---------- */
.live-order { display: flex; align-items: center; gap: 14px; margin: 14px 16px 0; padding: 14px 16px; border-radius: 18px; background: var(--stone); color: var(--stone-ink); cursor: pointer; box-shadow: var(--shadow); }
.live-order .dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 #3ddc84aa; animation: ping 1.6s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 #3ddc8499; } 70% { box-shadow: 0 0 0 10px #3ddc8400; } 100% { box-shadow: 0 0 0 0 #3ddc8400; } }
.live-order .bar { height: 5px; background: rgba(255,255,255,.18); border-radius: 9px; margin-top: 8px; overflow: hidden; }
.live-order .bar i { display: block; height: 100%; background: #3ddc84; border-radius: 9px; transition: width .6s; }

/* ---------- carousels ---------- */
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }

.deal-card { position: relative; width: 270px; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; }
.deal-card .top { position: relative; height: 128px; background: var(--stone); overflow: hidden; }
.deal-card .top .pz { position: absolute; width: 150px; height: 150px; top: 6px; }
.deal-card .top .pz:nth-of-type(1) { left: -18px; }
.deal-card .top .pz:nth-of-type(2) { left: 70px; top: 30px; width: 130px; height: 130px; }
.deal-card .top .pz:nth-of-type(3) { left: 150px; top: 8px; width: 110px; height: 110px; }
.deal-card .top .price-tag { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 22px; padding: 4px 12px; border-radius: 12px; }
.deal-card .body { padding: 12px 14px 14px; }
.deal-card .body p { font-size: 15px; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-card.off { opacity: .55; }
.deal-card.wide { width: 100%; }
.deal-card.wide .top { height: 150px; }

.pizza-card { position: relative; width: 168px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 12px; cursor: pointer; }
.pizza-card .pic { display: grid; place-items: center; height: 132px; }
.pizza-card .pic img { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; }
.pizza-card h3 { font-size: 16px; margin-top: 8px; }
.pizza-card .between { margin-top: 6px; }
.add-dot { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fill); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.add-dot::after { content: ''; position: absolute; inset: -4px; }

.build-cta { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); cursor: pointer; overflow: hidden; position: relative; }
.build-cta .pz { width: 92px; height: 92px; flex: none; margin: -8px -4px -8px 0; }

.reorder { display: flex; gap: 12px; align-items: center; }
.reorder .thumbs { display: flex; flex: none; }
.reorder .thumbs > * { width: 54px; height: 54px; margin-inline-start: -18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.reorder .thumbs svg, .reorder .thumbs img { width: 54px; height: 54px; object-fit: cover; }
.reorder .thumbs > *:first-child { margin-inline-start: 0; }

/* ---------- loyalty ---------- */
.loyal { background: var(--stone); color: var(--stone-ink); border-radius: 22px; padding: 18px; position: relative; overflow: hidden; }
.loyal .stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 8px; margin-top: 14px; }
.loyal .stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.28); display: grid; place-items: center; }
.loyal .stamp.on { border: 0; background: var(--brand); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.loyal .stamp.on svg { color: #fff; }
.loyal .stamp.goal { border-color: #ffd34d; color: #ffd34d; }
.loyal .muted { color: rgba(255,255,255,.7); }

/* ---------- menu ---------- */
.cat-bar { position: sticky; top: var(--top, 0px); z-index: 20; background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); padding: 10px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar button { flex: none; border: 0; background: var(--fill); padding: 0 16px; min-height: 40px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; }
.cat-bar button.on { background: var(--ink); color: #fff; }
.menu-cat { scroll-margin-top: calc(70px + var(--top, 0px)); }
.menu-item { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer; position: relative; }
.menu-item + .menu-item { margin-top: 8px; }
.menu-item .pic { width: 96px; height: 96px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--bg); overflow: hidden; }
.menu-item .pic .pz { width: 104px; height: 104px; }
.menu-item .pic .art { width: 86px; height: 86px; }
.menu-item .pic img { width: 100%; height: 100%; object-fit: cover; }
/* A photo pizza is shown whole, its round edge on a light grey plate. */
.menu-item .pic:has(.pz.photo), .line .pic:has(.pz.photo) { background: var(--plate); }
.menu-item .pic .pz.photo { width: 86px; height: 86px; }
.menu-item h3 { font-size: 17px; }
.menu-item p { font-size: 15px; line-height: 1.3; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-item .between { margin-top: 8px; }
.menu-item .badge { position: static; display: inline-block; margin-bottom: 4px; }
.menu-item.off { opacity: .5; pointer-events: none; }

/* ---------- builder ---------- */
.sheet.full { max-height: 96vh; height: 96vh; padding: 0; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
.sheet.full .grip { position: absolute; top: 8px; left: 50%; margin: 0; transform: translateX(-50%); z-index: 6; background: rgba(255,255,255,.32); }
.builder-scroll { overflow-y: auto; flex: 1; padding: 0 16px 20px; -webkit-overflow-scrolling: touch; }
.builder-head { position: sticky; top: 0; z-index: 4; display: grid; place-items: center; margin: 0 -16px 16px; padding: 24px 0 14px; background: radial-gradient(90% 110% at 50% 45%, #3a2b23 0%, var(--stone) 70%); border-radius: 0 0 24px 24px; }
.builder-head .pz { width: 196px; height: 196px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.55)); transition: transform .3s; }
.builder-head .pz.pop { animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.04) rotate(4deg); } }
.builder-head .close, .builder-head .fav { position: absolute; top: 14px; background: rgba(255,255,255,.14); color: var(--stone-ink); box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.builder-head .close { inset-inline-start: 14px; }
.builder-head .fav { inset-inline-end: 14px; }
.builder-head .halves { position: absolute; top: 54%; inset-inline: 12px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--stone-muted); pointer-events: none; }
.builder-title { text-align: center; margin-bottom: 4px; }
.builder-title p { color: var(--muted); font-size: 15px; line-height: 1.3; margin-top: 4px; }
.group { margin-top: 24px; }
.group > h3 { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.group > h3 small { font-weight: 400; color: var(--muted); font-size: 13px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.opt { border: 0; background: var(--card); box-shadow: var(--shadow); border-radius: 14px; padding: 12px 8px; min-height: 50px; text-align: center; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.25; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }
.opt.on { color: var(--ink); box-shadow: inset 0 0 0 2px var(--brand); }
.opt.on small { color: var(--ink2); }
.size-opt { display: grid; justify-items: center; gap: 4px; }
.size-opt .ring { border-radius: 50%; border: 2px solid currentColor; opacity: .5; }
.opt.on .ring { opacity: 1; background: var(--brand-soft2); }

.toppings { display: grid; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.top-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; }
.top-row + .top-row { box-shadow: inset 0 1px 0 var(--line); }
.top-row.on { background: var(--brand-soft); }
.top-row .t-pic { width: 38px; height: 38px; border-radius: 10px; background: #f7e3b5; display: grid; place-items: center; flex: none; }
/* With photos the topping lies on a dark round plate, as in the big pizza chains' apps. */
.top-row .t-pic:has(.t-photo) { width: 50px; height: 50px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a2b23 0%, var(--stone) 72%); }
.t-photo { display: block; object-fit: contain; }
.top-row .t-pic .t-photo { width: 42px; height: 42px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.top-row .t-name { flex: 1; min-width: 0; background: none; border: 0; text-align: start; padding: 4px 0; cursor: pointer; font-weight: 600; font-size: 16px; line-height: 1.25; }
.top-row .t-name small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 1px; }
.top-row .sides { display: flex; background: var(--fill); border-radius: 12px; padding: 2px; }
.top-row .sides button { width: 37px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: #857c75; display: grid; place-items: center; cursor: pointer; padding: 0; }
.top-row .sides button.on { color: var(--brand); background: #fff; box-shadow: 0 1px 3px rgba(26,22,20,.2); }
.included-tag { font-size: 13px; font-weight: 600; color: var(--ok); }

.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--fill); border-radius: 13px; padding: 3px; }
.qty button { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--card); display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 2px rgba(26,22,20,.12); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.qty.sm button { width: 32px; height: 32px; border-radius: 9px; }

.sheet-foot { padding: 12px 18px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--card); display: flex; gap: 10px; align-items: center; }
.sheet-foot .btn.primary { flex: 1; }
.steps-dots { display: flex; gap: 6px; justify-content: center; margin: 4px 0 2px; }
.steps-dots i { width: 22px; height: 5px; border-radius: 9px; background: var(--line); }
.steps-dots i.on { background: var(--brand); }

.radio-list { display: grid; gap: 8px; }
.radio { display: flex; align-items: center; gap: 12px; padding: 13px 14px; min-height: 50px; border-radius: 14px; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.radio input { accent-color: var(--brand); width: 20px; height: 20px; margin: 0; }
.radio.on { box-shadow: inset 0 0 0 2px var(--brand); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink2); }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(26, 22, 20, .18);
  background: rgba(26, 22, 20, .025); font-size: 17px; outline: none; transition: border-color .15s, background .15s;
}
textarea.input { min-height: 84px; resize: vertical; }
.input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { text-transform: uppercase; letter-spacing: .06em; }

/* ---------- cart / checkout ---------- */
.screen-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; position: sticky; top: var(--top, 0px); z-index: 20; background: var(--bg); }
.screen-head h1 { font-size: 26px; flex: 1; }
.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .pic { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--bg); overflow: hidden; }
.line .pic .pz { width: 72px; height: 72px; }
.line .pic .art { width: 58px; height: 58px; }
.line .pic img { width: 100%; height: 100%; object-fit: cover; }
.line .pic .pz.photo { width: 56px; height: 56px; }
.line .desc { font-size: 14px; color: var(--muted); margin-top: 2px; }
.line .acts { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.sum-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.sum-row.total { font-size: 19px; font-weight: 700; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--rule); }
.sum-row.disc { color: var(--ok); }
.upsell { display: flex; gap: 10px; }
.upsell .u { width: 128px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; text-align: center; cursor: pointer; position: relative; }
.upsell .u .art, .upsell .u img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; }
.upsell .u .add-dot { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; }
.upsell .u b { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; line-height: 1.25; }
.warn-box { padding: 11px 14px; border-radius: 13px; background: #fbf1e2; color: #7a4a00; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.ok-box { padding: 11px 14px; border-radius: 13px; background: var(--ok-soft); color: var(--ok); font-size: 15px; display: flex; gap: 8px; align-items: center; }

/* ---------- floating cart bar / tab bar ---------- */
.cartbar { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(82px + var(--safe-b)); width: min(528px, calc(100% - 24px)); }
.cartbar .btn { width: 100%; justify-content: space-between; min-height: 54px; border-radius: 27px; font-size: 17px; box-shadow: 0 8px 24px rgba(26,22,20,.22); }
.cartbar .count { background: rgba(255,255,255,.22); border-radius: 50%; min-width: 30px; height: 30px; display: grid; place-items: center; font-weight: 600; }
.cartbar .btn:disabled { opacity: 1; background: #dcd9d5; color: #5c544e; box-shadow: none; }
.cartbar.bump .btn { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.04); } }
.tabbar { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(8px + var(--safe-b)); width: min(528px, calc(100% - 24px)); border-radius: 30px; background: rgba(255,255,255,.74); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 8px 30px rgba(26,22,20,.16), inset 0 0 0 1px rgba(255,255,255,.55); }
.tabbar .in { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabbar button { border: 0; background: none; display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font-size: 12px; font-weight: 500; color: var(--ink2); cursor: pointer; position: relative; }
.tabbar button.on { color: var(--brand-dark); font-weight: 600; }
.tabbar button.on .ic { fill: currentColor; fill-opacity: .18; }
.tabbar .n { position: absolute; top: 4px; left: calc(50% - 22px); background: var(--brand); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* ---------- tracker ---------- */
.track-hero { margin: 0 16px; border-radius: 26px; background: var(--stone); color: var(--stone-ink); padding: 22px 20px; position: relative; overflow: hidden; }
.track-hero .stage-art { display: grid; place-items: center; height: 150px; }
.track-hero h1 { text-align: center; margin-top: 8px; }
.track-hero .eta { text-align: center; margin-top: 6px; color: rgba(255,255,255,.75); }
.track-hero .eta b { color: #fff; font-size: 34px; display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
.tracker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 18px; }
.tracker .st { text-align: center; font-size: 12px; color: rgba(255,255,255,.62); font-weight: 500; }
.tracker .st i { display: block; height: 6px; border-radius: 9px; background: rgba(255,255,255,.16); margin-bottom: 7px; overflow: hidden; position: relative; }
.tracker .st.done i { background: var(--brand); }
.tracker .st.done { color: rgba(255,255,255,.85); }
.tracker .st.now i { background: rgba(255,255,255,.16); }
.tracker .st.now i::after { content: ''; position: absolute; inset: 0; width: 45%; background: var(--brand); border-radius: 9px; animation: load 1.4s ease-in-out infinite; }
.tracker .st.now { color: #fff; }
@keyframes load { 0% { transform: translateX(120%); } 100% { transform: translateX(-230%); } }
.stage-art .pz { width: 140px; height: 140px; animation: spin 14s linear infinite; }
.oven-art { position: relative; width: 170px; height: 130px; }
.oven-art .mouth { position: absolute; inset: 22px 18px 0; background: #2a1a12; border-radius: 80px 80px 10px 10px; overflow: hidden; border: 6px solid #6b4b3a; }
.oven-art .fire { position: absolute; bottom: 10px; left: 50%; width: 112px; height: 50px; transform: translateX(-50%); }
.oven-art .fire span { position: absolute; bottom: 0; width: 30px; height: 44px; border-radius: 50% 50% 40% 40%; background: radial-gradient(circle at 50% 80%, #ffd34d, #ff7a1a 60%, transparent 70%); animation: flick .5s infinite alternate; }
.oven-art .fire span:nth-child(1) { left: 0; animation-delay: .1s; }
.oven-art .fire span:nth-child(2) { left: 41px; height: 34px; opacity: .7; }
.oven-art .fire span:nth-child(3) { left: 82px; animation-delay: .25s; }
@keyframes flick { to { transform: scaleY(.8) translateY(2px); opacity: .85; } }
.oven-art .pz { position: absolute; width: 58px; height: 58px; bottom: 4px; left: 50%; margin-left: -29px; animation: none; }
.ride { position: relative; width: 220px; height: 120px; overflow: hidden; }
.ride .road { position: absolute; bottom: 16px; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 16px, transparent 16px 30px); animation: road .6s linear infinite; }
@keyframes road { to { background-position: 30px 0; } }
.ride svg { position: absolute; bottom: 14px; left: 50%; margin-left: -46px; animation: bounce .5s ease-in-out infinite alternate; }
@keyframes bounce { to { transform: translateY(-2px); } }
.steam { position: absolute; top: -6px; left: 50%; display: flex; gap: 12px; transform: translateX(-50%); }
.steam i { width: 6px; height: 26px; border-radius: 9px; background: rgba(255,255,255,.35); animation: steam 1.8s ease-in-out infinite; }
.steam i:nth-child(2) { animation-delay: .4s; }
.steam i:nth-child(3) { animation-delay: .8s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px) scaleY(.6); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px) scaleY(1.1); } }
.doughball { width: 110px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff6df, #f1d9a4); box-shadow: 0 10px 18px rgba(0,0,0,.25); animation: knead 1.2s ease-in-out infinite; }
@keyframes knead { 50% { transform: scaleX(1.12) scaleY(.88); } }
.order-meta { display: grid; gap: 10px; }
.order-meta .row { font-size: 15px; }
.order-meta .row .ic { color: var(--muted); }

.status-tag { font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 8px; background: var(--fill); color: var(--ink2); white-space: nowrap; }
.status-tag.live { background: var(--brand-soft); color: var(--brand-dark); }
.status-tag.done { background: var(--ok-soft); color: var(--ok); }
.status-tag.canceled { background: var(--danger-soft); color: var(--danger); }

/* ---------- sheets ---------- */
.sheet-root { position: fixed; inset: 0; z-index: 100; }
.sheet-shade { position: absolute; inset: 0; background: rgba(20, 15, 12, .5); opacity: 0; transition: opacity .22s; }
.sheet { position: absolute; bottom: 0; left: 50%; width: 100%; max-width: 560px; transform: translate(-50%, 100%); background: var(--card); border-radius: 28px 28px 0 0; padding: 8px 18px calc(20px + var(--safe-b)); max-height: 92vh; overflow-y: auto; transition: transform .26s cubic-bezier(.2, .9, .3, 1); }
.sheet-root.in .sheet-shade { opacity: 1; }
.sheet-root.in .sheet { transform: translate(-50%, 0); }
.sheet-root.out .sheet-shade { opacity: 0; }
.sheet-root.out .sheet { transform: translate(-50%, 100%); }
.grip { width: 38px; height: 5px; border-radius: 9px; background: rgba(26,22,20,.2); margin: 2px auto 12px; }
.sheet h2 { margin-bottom: 6px; }
.item-hero { display: grid; place-items: center; height: 200px; background: var(--bg); border-radius: 20px; margin-bottom: 14px; overflow: hidden; }
.item-hero img { width: 100%; height: 100%; object-fit: cover; }
.item-hero .art { width: 170px; height: 170px; }

.gstep { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.gnum { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.gicon { color: var(--brand); }
.garrow { text-align: center; color: var(--brand); margin-top: 10px; animation: bounce .7s ease-in-out infinite alternate; }

.toast { position: fixed; z-index: 200; top: calc(16px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 500; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.25); max-width: calc(100% - 32px); text-align: center; }
.toast.error { background: var(--danger); }

.splash { min-height: 70vh; display: grid; place-items: center; }
.splash i { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .pz, .empty .art { opacity: .9; margin-bottom: 10px; }
.info-list .row { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list .row:last-child { border-bottom: 0; }
.info-list .row .ic { color: var(--muted); }
.hours-table { width: 100%; font-size: 14.5px; border-collapse: collapse; }
.hours-table td { padding: 5px 0; }
.hours-table tr.today td { font-weight: 600; color: var(--ink); }
.foot-note { text-align: center; color: var(--muted); font-size: 13px; margin: 30px 16px 0; }

@media (min-width: 600px) {
  .hero h1 { font-size: 34px; }
}

/* ---------- home stage: video or the live kitchen ---------- */
.stage { position: relative; height: min(82vh, 700px); min-height: 560px; overflow: hidden; color: #fff; background: #120a06; border-radius: 0 0 30px 30px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 42%, rgba(10,4,2,.78) 70%, rgba(10,4,2,.94) 100%); }
.stage-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); z-index: 2; }
.stage-top .name { font-weight: 800; font-size: 19px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.glass { background: rgba(255,255,255,.16) !important; color: #fff !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: none !important; }
.stage .pill.open { background: rgba(26,122,73,.95); color: #fff; }
.stage .pill.open::before { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.stage .pill.closed { background: rgba(179,38,30,.95); color: #fff; }
.live-badge { position: absolute; z-index: 2; top: calc(76px + env(safe-area-inset-top, 0px)); right: 16px; display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; }
.live-badge b { font-weight: 600; letter-spacing: 0; opacity: .9; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 #ff3b30aa; animation: live 1.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 #ff3b3099; } 70% { box-shadow: 0 0 0 8px #ff3b3000; } 100% { box-shadow: 0 0 0 0 #ff3b3000; } }
.stage-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 18px 20px; }
.stage-text h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.02em; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.stage-text p { margin-top: 8px; opacity: .85; font-size: 15.5px; }
.stage-text .modes { margin-top: 16px; }
.glass-seg { background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.glass-seg button { color: #fff; }
.glass-seg button.on { color: var(--ink); }
.stage-cta { margin-top: 10px; background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.stage + .live-order { margin-top: -26px; position: relative; z-index: 3; }

.kitchen { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 70% at 50% 100%, #3a1606 0%, #170904 55%, #0b0503 100%); }
.kitchen .glow { position: absolute; left: 50%; top: 34%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,40,.55) 0%, rgba(255,90,20,.25) 35%, rgba(255,60,0,0) 68%); animation: flicker 2.6s ease-in-out infinite alternate, ovenheat 12s ease-in-out infinite; }
@keyframes flicker { 0% { opacity: .8; transform: scale(1); } 40% { opacity: 1; transform: scale(1.04); } 70% { opacity: .85; transform: scale(.98); } 100% { opacity: 1; transform: scale(1.02); } }
@keyframes ovenheat { 0%, 45% { filter: brightness(.8); } 60%, 88% { filter: brightness(1.35); } 100% { filter: brightness(.8); } }
.embers i { position: absolute; bottom: -10px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #ffb347; box-shadow: 0 0 8px 2px #ff7a1a; opacity: 0; animation: ember var(--t) linear var(--d) infinite; }
@keyframes ember { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(-30px, -560px); opacity: 0; } }
.live-pizza { position: absolute; left: 50%; top: 36%; width: 270px; height: 270px; margin: -135px 0 0 -135px; }
.live-pizza > svg { width: 100%; height: 100%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); animation: turn 48s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.live-pizza .l-sauce, .live-pizza .l-cheese, .live-pizza .tp { transform-box: fill-box; transform-origin: center; }
.live-pizza .l-sauce { animation: lsauce 12s ease-out infinite both; }
.live-pizza .l-cheese { animation: lcheese 12s ease-out infinite both; }
.live-pizza .l-brown { animation: lbrown 12s ease-in-out infinite both; }
.live-pizza .l-sheen { animation: lsheen 12s ease-in-out infinite both; }
.live-pizza .tp { animation: ltop 12s cubic-bezier(.2, .9, .3, 1.2) infinite both; animation-delay: calc(var(--i) * .045s); }
@keyframes lsauce { 0%, 8% { transform: scale(.12) rotate(-40deg); opacity: 0; } 20%, 93% { transform: scale(1) rotate(0); opacity: 1; } 100% { opacity: 0; } }
@keyframes lcheese { 0%, 21% { transform: scale(.82); opacity: 0; } 31%, 93% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }
@keyframes lbrown { 0%, 56% { opacity: 0; } 72%, 93% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lsheen { 0%, 62% { opacity: 0; } 76%, 93% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ltop { 0%, 33% { transform: translateY(-18px) scale(1.7); opacity: 0; } 40%, 93% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.live-pizza .steam.big { top: -18px; gap: 26px; opacity: 0; animation: steamshow 12s linear infinite; }
.live-pizza .steam.big i { width: 10px; height: 46px; background: rgba(255,255,255,.28); filter: blur(3px); }
@keyframes steamshow { 0%, 62% { opacity: 0; } 70%, 92% { opacity: 1; } 100% { opacity: 0; } }
.captions { position: absolute; left: 0; right: 0; top: calc(36% + 148px); text-align: center; height: 24px; }
.cap { position: absolute; left: 0; right: 0; font-weight: 700; font-size: 15px; letter-spacing: .02em; color: #ffd9a8; opacity: 0; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.cap0 { animation: cap0 12s infinite; } .cap1 { animation: cap1 12s infinite; } .cap2 { animation: cap2 12s infinite; } .cap3 { animation: cap3 12s infinite; } .cap4 { animation: cap4 12s infinite; }
@keyframes cap0 { 0% { opacity: 0; transform: translateY(6px); } 2%, 12% { opacity: 1; transform: none; } 15%, 100% { opacity: 0; } }
@keyframes cap1 { 0%, 14% { opacity: 0; transform: translateY(6px); } 17%, 24% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; } }
@keyframes cap2 { 0%, 26% { opacity: 0; transform: translateY(6px); } 29%, 35% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; } }
@keyframes cap3 { 0%, 37% { opacity: 0; transform: translateY(6px); } 40%, 53% { opacity: 1; transform: none; } 56%, 100% { opacity: 0; } }
@keyframes cap4 { 0%, 55% { opacity: 0; transform: translateY(6px); } 58%, 91% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@media (max-height: 700px) { .live-pizza { transform: scale(.85); } .captions { top: calc(36% + 128px); } }
@media (prefers-reduced-motion: reduce) {
  .kitchen *, .live-pizza * { animation: none !important; opacity: 1; }
  .cap { display: none; }
}

/* ---------- search ---------- */
.search { display: flex; align-items: center; gap: 10px; background: var(--fill); border-radius: 12px; padding: 0 14px; min-height: 44px; color: var(--muted); }
.search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--brand); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--ink); min-width: 0; }
.search input::-webkit-search-cancel-button { display: none; }

/* ---------- rating ---------- */
.stars { display: flex; justify-content: center; gap: 6px; margin: 10px 0 12px; }
.stars button { border: 0; background: none; font-size: 40px; line-height: 1; color: #d9d9de; cursor: pointer; padding: 2px; transition: transform .15s, color .15s; }
.stars button.on { color: #ffb400; }
.stars button:active { transform: scale(1.25); }
.stars-show { font-size: 28px; color: #ffb400; letter-spacing: 4px; }

/* ---------- order sent ---------- */
.success { position: fixed; inset: 0; z-index: 300; background: var(--brand); color: #fff; display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; animation: sIn .3s ease; overflow: hidden; }
.success.out { opacity: 0; transition: opacity .35s; }
.success h1 { font-size: 32px; margin-top: 14px; }
.success p { opacity: .85; font-size: 17px; }
.success .check svg { width: 110px; height: 110px; }
.success .check circle { stroke: #fff; stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s ease forwards; }
.success .check path { stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s .5s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sIn { from { opacity: 0; transform: scale(1.04); } }
.confetti i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 14px; border-radius: 2px; background: var(--c); transform: rotate(var(--r)); animation: fall 1.8s var(--d) ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(calc(var(--r) + 540deg)); } }

/* ---------- labels, tips, consent ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag { font-size: 13px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--fill); color: var(--ink2); white-space: nowrap; }
.tag-chips { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; scrollbar-width: none; }
.tag-chips::-webkit-scrollbar { display: none; }
.tag-chips button, .tip-chips button { flex: none; border: 0; background: var(--fill); border-radius: 999px; padding: 0 14px; min-height: 40px; font-weight: 600; font-size: 15px; cursor: pointer; }
.tag-chips button.on, .tip-chips button.on { background: var(--ink); color: #fff; }
.tip-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tip-chips button { border-radius: 12px; padding: 11px 0; font-size: 15.5px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink2); cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.toggle { width: 46px; height: 28px; border-radius: 20px; background: #d6d6db; position: relative; border: 0; cursor: pointer; flex: none; transition: background .2s; }
.toggle::after { content: ''; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.toggle.on { background: var(--ok); }
.toggle.on::after { transform: translateX(-18px); }

/* ---------- accessibility ---------- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; top: -60px; right: 12px; z-index: 500; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
html.a11y-big body { zoom: 1.18; }
html.a11y-contrast { --muted: #3d3d45; --ink2: #111; --line: #9a9aa3; --rule: #1a1614; --fill: rgba(26,22,20,.12); --bg: #ffffff; }
html.a11y-contrast .stage-shade { background: rgba(0,0,0,.65); }
html.a11y-contrast .card, html.a11y-contrast .menu-item, html.a11y-contrast .opt, html.a11y-contrast .top-row { border: 1.5px solid #555; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html.a11y-still .cap { display: none; }
html.a11y-links a, html.a11y-links button.link { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links .btn, html.a11y-links .iconbtn { outline: 2px solid var(--ink); outline-offset: 1px; }
.a11y-glyph { width: 28px; text-align: center; font-weight: 800; }
.legal h2 { margin-bottom: 8px; }
.legal h3 { margin: 16px 0 6px; font-size: 16px; }
.legal p, .legal li { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.legal ul { padding-inline-start: 20px; margin: 6px 0; }
.foot-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 10px 16px 0; }
.foot-links button { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 4px; }
.allergens { font-size: 13px; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: flex-start; }
.allergens b { color: var(--ink2); font-weight: 600; }
.pizza-card .fav-x { position: absolute; top: 6px; left: 6px; z-index: 1; background: var(--bg); border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; }
.stage-top .row { flex-wrap: wrap; }

/* ---------- brand wordmark and cover photo ---------- */
.wordmark { display: block; height: 34px; width: auto; max-width: 220px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.wordmark.dark { height: 40px; filter: none; }
.foot-mark { margin: 34px auto 0; height: 46px; opacity: .85; }
.success .wordmark { height: 42px; filter: none; }
/* With a photo: the photo is shown whole (its own logo stays visible), with a brand band under it. */
.stage.has-cover { height: auto; min-height: 0; background: var(--stone); }
.stage-photo { position: relative; overflow: hidden; }
.stage-photo img { display: block; width: 100%; height: auto; animation: breathe 20s ease-in-out infinite alternate; transform-origin: 50% 45%; }
@keyframes breathe { to { transform: scale(1.05); } }
.stage.has-cover .stage-shade { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%); height: 40%; }
.stage.has-cover .stage-text { position: relative; padding: 20px 18px 24px; }
.stage.has-cover .stage-text h1 { font-size: 30px; color: var(--stone-ink); }
.stage.has-cover .stage-text p { color: var(--stone-muted); }
html.a11y-still .stage-photo img { animation: none; }
.sheet-foot .btn span { white-space: nowrap; }
.insta-foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px auto 0; color: var(--brand); font-weight: 600; font-size: 15px; }
.demo-bar { position: relative; z-index: 60; background: #ffb74d; color: #3a2200; font-size: 12.5px; font-weight: 700; text-align: center; padding: 6px 12px; padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
.demo-bar + .stage .stage-top { padding-top: 14px; }
.powered-wrap { display: grid; justify-items: center; gap: 2px; margin-top: 18px; }
.promo { font-size: 13px; color: var(--muted); text-decoration: none; padding: 4px 10px; border-radius: 999px; transition: color .15s, background .15s; }
.promo span { display: inline-block; transition: transform .2s; }
.promo:hover, .promo:focus-visible { color: var(--brand-dark); background: var(--brand-soft); }
.promo:hover span { transform: translateX(-3px); }
.powered { display: block; width: fit-content; margin: 0 auto; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: .02em; transition: color .15s, background .15s; }
.powered b { font-weight: 800; color: var(--ink2); }
.powered b span { color: var(--brand); }
.powered:hover, .powered:focus-visible { color: var(--ink); background: var(--brand-soft); }

/* iPhone: the sheet is measured against the visible screen, so Safari's bottom bar never hides its end. */
.sheet { max-height: min(92vh, 86dvh); padding-bottom: calc(28px + var(--safe-b)); }
.sheet.full { height: min(96vh, 92dvh); max-height: min(96vh, 92dvh); padding-bottom: 0; }
.gstep .grow { line-height: 1.35; }
.updates-btn { min-height: 60px; justify-content: center; text-align: start; }
.updates-btn span { display: grid; line-height: 1.25; }
.updates-btn small { font-weight: 500; font-size: 13px; opacity: .85; }
.updates-card .bell { width: 42px; height: 42px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.welcome { display: grid; gap: 12px; text-align: center; justify-items: center; padding-top: 6px; }
.welcome .wordmark { height: 44px; margin-bottom: 4px; }
.welcome p { max-width: 34ch; margin: 0 auto 6px; }

/* ---------- the logo bar at the top of every screen ---------- */
.logobar { position: sticky; top: 0; z-index: 25; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.logobar .demo-bar { padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
.logobar-row { height: 48px; display: grid; place-items: center; }
.logobar:not(:has(.demo-bar)) .logobar-row { height: calc(48px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.logobar-logo { background: none; border: 0; padding: 4px 14px; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.logobar-logo img { display: block; height: 30px; width: auto; max-width: 190px; }
.logobar-logo span { font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.logobar.over { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; transition: background .25s, border-color .25s; }
.logobar.over .logobar-logo { opacity: 0; transition: opacity .25s; }
.logobar.over.solid { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-color: var(--line); pointer-events: auto; }
.logobar.over.solid .logobar-logo { opacity: 1; }

/* ---------- what the phone's own settings ask for ---------- */
@media (prefers-reduced-transparency: reduce) {
  .tabbar, .logobar, .logobar.over.solid, .builder-head .close, .builder-head .fav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .builder-head .close, .builder-head .fav { color: var(--ink); }
  .cat-bar { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3d3530; --ink2: #1a1614; --line: rgba(26,22,20,.5); --rule: #1a1614; --fill: rgba(26,22,20,.12); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Short screens: the pizza stays in sight but leaves room for the list. */
@media (max-height: 720px) {
  .builder-head { padding: 22px 0 10px; }
  .builder-head .pz { width: 150px; height: 150px; }
}
