/* =========================================================
   MERA'S 2.0 · "CARTA" (proposta B)
   Menu stampato fatto bene: carta crema, inchiostro, rosso pomodoro nei dettagli,
   titoli DM Serif Display, testi Inter, linee sottili, puntini tra nome e prezzo, scontrino.
   Telefono: schermate con barra in basso.  Computer (da 900 px): barra in alto e pagine larghe.
   ========================================================= */
:root {
  --paper: #f3ece1;
  --card: #fbf7f0;
  --ink: #1d1a17;
  --mu: #6b625a;
  --line: #ddd2c2;
  --dash: #b9ad9c;
  --red: #a8352a;
  --green: #1f7a46;
  --head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font: 15px/1.45 var(--body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
.serif { font-family: var(--head); font-weight: 400; }
/* DM Serif Display ha un solo spessore: mai grassetto finto */
.item__name, .cat__t, .tile b, .contacts b, .sent b, .box b, .rtot, .title, h1, h2 { font-weight: 400; }
.center { text-align: center; }

/* ---------- guscio ---------- */
#app { position: relative; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.view { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding-top: env(safe-area-inset-top); outline: none; }
.page { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 24px 36px; }
body.has-cartbar .page { padding-bottom: 100px; }
.in-fwd { animation: inFwd .34s cubic-bezier(.2, .8, .2, 1); }
.in-back { animation: inBack .34s cubic-bezier(.2, .8, .2, 1); }
.in-fade { animation: inFade .26s ease; }
@keyframes inFwd { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes inBack { from { transform: translateX(-28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes inFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .in-fwd, .in-back, .in-fade { animation: none; } }

/* ---------- testi ricorrenti ---------- */
.kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mu); }
.kicker--ink { color: var(--ink); }
.note { font-size: 12.5px; color: var(--mu); margin: 16px 0 0; }
.rule { border: 0; height: 1px; background: var(--ink); margin: 14px 0 0; }
.rule--2 { height: 2px; }

/* intestazione di schermata: "MENU ........ CERCA" + titolo grande + riga */
.bar { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; min-height: 40px; }
.bar a, .bar button { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mu); }
.bar a:hover { color: var(--ink); }
.title { margin: 8px 0 0; font-family: var(--head); font-weight: 400; font-size: 40px; line-height: 1.02; letter-spacing: -.005em; }

/* ---------- barra in basso (telefono) ---------- */
.tabbar { flex: none; display: flex; justify-content: space-around; padding: 14px 4px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--ink); z-index: 20; }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 64px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mu); }
.tabbar a::after { content: ""; width: 20px; height: 2px; background: transparent; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"]::after { background: var(--red); }
.tabbar em { position: absolute; top: -12px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font: 700 9.5px/16px var(--body); letter-spacing: 0; font-style: normal; text-align: center; }
.cartbar { position: absolute; left: 16px; right: 16px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 15; display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px; background: var(--ink); color: var(--card); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 24px rgba(29, 26, 23, .22); }
.cartbar b { font-weight: 600; letter-spacing: .04em; font-size: 15px; }

/* barra in alto (computer) */
.topnav { display: none; }

/* ---------- HOME ---------- */
.home { text-align: center; }
.home__logo { width: 142px; margin: 26px auto 0; }
.home__meta { margin-top: 14px; }
.home__big { margin: 22px 0 0; font-family: var(--head); font-weight: 400; font-size: 40px; line-height: 1.06; }
.home__big em { color: var(--red); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; text-align: left; }
.tile { min-height: 118px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--ink); background: var(--card); transition: background .2s; }
.tile b { font-family: var(--head); font-weight: 400; font-size: 30px; line-height: 1; }
.tile span { font-size: 13px; color: var(--mu); }
.tile--ink { background: var(--ink); color: var(--paper); }
.tile--ink span { color: #cfc6ba; }
.tile:not(.tile--ink):hover { background: #fff; }
.home__sect { margin-top: 34px; text-align: left; }
.home__sect .kicker { padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.home__foot { margin: 28px 0 0; font-size: 12px; color: var(--mu); line-height: 1.7; }

/* ---------- MENU ---------- */
.cats { margin-top: 2px; }
.cat { display: flex; align-items: baseline; gap: 14px; padding: 22px 0 20px; border-bottom: 1px solid var(--line); }
.cat__n { font-family: var(--head); font-size: 17px; color: var(--red); min-width: 22px; }
.cat__t { flex: 1; font-family: var(--head); font-size: 30px; line-height: 1; }
.cat__c { font-size: 14px; color: var(--mu); }
.cat[aria-current="true"] .cat__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.items { margin-top: 6px; }
.item { display: block; width: 100%; text-align: left; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.item__l1 { display: flex; align-items: baseline; gap: 10px; }
.item__name { font-family: var(--head); font-size: 23px; line-height: 1.1; }
.item__dots { flex: 1; min-width: 16px; border-bottom: 1.5px dotted var(--dash); transform: translateY(-6px); }
.item__price { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.item__desc { display: block; margin-top: 4px; font-size: 14px; color: var(--mu); }
.item:hover .item__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.menu-side { display: block; }
.menu-main { display: none; }
.menu--cat .menu-side { display: none; }
.menu--cat .menu-main { display: block; }
.box { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--red); color: var(--red); font-size: 13.5px; }
.box b { display: block; font-family: var(--head); font-weight: 400; font-size: 20px; color: var(--ink); }

/* cerca */
.search { display: flex; align-items: center; gap: 10px; margin-top: 16px; height: 50px; padding: 0 16px; border: 1px solid var(--ink); background: var(--card); }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: 16px; }

/* ---------- SCHEDA PIZZA ---------- */
.sheet-wrap { position: absolute; inset: 0; z-index: 40; }
.sheet-dim { position: absolute; inset: 0; background: rgba(29, 26, 23, .48); opacity: 0; transition: opacity .25s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90%; display: flex; flex-direction: column; background: var(--card); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.sheet-wrap.is-open .sheet-dim { opacity: 1; }
.sheet-wrap.is-open .sheet { transform: none; }
.sheet__grab { flex: none; width: 46px; height: 5px; border-radius: 3px; background: var(--line); margin: 12px auto 0; }
.sheet__scroll { overflow-y: auto; padding: 8px 24px 22px; }
.sheet__card { position: relative; height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; background: var(--paper); text-align: center; padding: 0 20px; }
.sheet__card img { width: 120px; opacity: .9; }
.sheet__card .kicker { font-size: 10px; }
.sheet__x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; font-size: 20px; line-height: 1; color: var(--mu); }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 22px; }
.sheet__head h2 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 34px; line-height: 1.02; }
.sheet__price { font-size: 17px; font-weight: 600; white-space: nowrap; }
.sheet__desc { margin: 8px 0 0; color: var(--mu); font-size: 14px; }
.sheet .kicker.lbl { margin: 22px 0 10px; }
.sheet__grp { margin: 12px 0 6px; font-size: 11.5px; color: var(--mu); }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { padding: 11px 16px; border: 1px solid var(--line); background: transparent; font-size: 15px; transition: background .15s; }
.opt small { color: var(--mu); font-size: 13px; }
.opt.is-on { background: var(--ink); border-color: var(--ink); color: var(--card); }
.opt.is-on small { color: #cfc6ba; }
.opt.is-off { text-decoration: line-through; color: var(--mu); }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--ink); width: max-content; }
.qty button { width: 46px; height: 44px; font-size: 20px; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.remove { display: block; margin: 18px 0 0; font-size: 13px; color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.sheet__foot { flex: none; padding: 0 24px calc(18px + env(safe-area-inset-bottom)); background: var(--card); }
.addbtn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 62px; padding: 0 26px; background: var(--ink); color: var(--card); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.addbtn b { font-weight: 600; letter-spacing: .02em; font-size: 17px; }

/* ---------- ORDINE ---------- */
.seg { display: flex; border: 1px solid var(--ink); margin-top: 16px; }
.seg button { flex: 1; padding: 15px 6px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.receipt { position: relative; margin-top: 14px; padding: 4px 26px 26px; background: var(--card); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px; background: radial-gradient(circle at 7px 0, transparent 7px, var(--card) 7.5px) 0 0 / 14px 9px repeat-x; }
.receipt__head { margin: 26px 0 0; padding-bottom: 18px; border-bottom: 1px dashed var(--dash); text-align: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--mu); }
.rline { display: flex; justify-content: space-between; gap: 14px; width: 100%; padding: 14px 0 0; text-align: left; font-size: 16px; }
.rline:hover .rline__name { text-decoration: underline; text-underline-offset: 3px; }
.rline small { display: block; margin-top: 2px; font-size: 14px; color: var(--mu); }
.rline__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rsep { border-top: 1px dashed var(--dash); margin: 20px 0 0; }
.rsum { display: flex; justify-content: space-between; padding-top: 10px; font-size: 14px; color: var(--mu); }
.rtot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; font-family: var(--head); font-size: 34px; line-height: 1; }
.rhint { margin: 14px 0 0; font-size: 12px; color: var(--mu); text-align: center; }
.gift { margin-top: 30px; }
.gift .opts { margin-top: 10px; }
.gift .opt { border-color: var(--ink); }
.form { margin-top: 30px; }
.form .kicker { padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; flex: 1; min-width: 0; }
.field span { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mu); }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #c8bba7; border-radius: 0; background: var(--card); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.row2 { display: flex; gap: 12px; }
.error { margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--red); color: var(--red); font-size: 13.5px; }
.send { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 62px; margin-top: 22px; padding: 0 26px; background: var(--green); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.send span:last-child { font-size: 20px; }
.empty { text-align: center; padding-top: 40px; }
.empty p { font-family: var(--head); font-size: 26px; margin: 0 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; background: var(--ink); color: var(--card); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--green { background: var(--green); color: #fff; }
.sent { margin: 0 0 30px; padding: 22px; border: 1px solid var(--ink); background: var(--card); }
.sent b { display: block; font-family: var(--head); font-weight: 400; font-size: 26px; }
.sent p { color: var(--mu); font-size: 14px; margin: 6px 0 16px; }
.link { color: var(--mu); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- PROMO ---------- */
.promo-card { margin-top: 18px; padding: 28px 24px; background: var(--card); border: 1px solid var(--ink); text-align: center; }
.promo-card .kicker { color: var(--red); }
.promo-card h2 { margin: 12px 0 0; font-family: var(--head); font-weight: 400; font-size: 36px; line-height: 1.04; }
.promo-card p { color: var(--mu); margin: 12px 0 0; }
.promo-steps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: s; }
.promo-steps li { counter-increment: s; display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.promo-steps li::before { content: "0" counter(s); font-family: var(--head); color: var(--red); font-size: 17px; }

/* ---------- INFO ---------- */
.info-grid { display: grid; gap: 22px; margin-top: 18px; }
.panel { background: var(--card); padding: 18px 20px; }
.panel .kicker { padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours th { text-align: left; font-weight: 500; color: var(--mu); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 700; }
.contacts a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.contacts a:last-child { border-bottom: 0; }
.contacts b { font-family: var(--head); font-weight: 400; font-size: 20px; }
.contacts span { font-size: 13.5px; color: var(--mu); text-align: right; }
.install p { color: var(--mu); font-size: 14px; margin: 12px 0 14px; }
.install ol { margin: 10px 0 0; padding-left: 20px; color: var(--mu); font-size: 14px; }
.install li { padding: 4px 0; }
.legal { margin: 26px 0 0; font-size: 12px; color: var(--mu); text-align: center; line-height: 1.8; }
.legal a { text-decoration: underline; }

/* ---------- avviso ---------- */
.toast { position: absolute; left: 50%; bottom: calc(140px + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 14px); opacity: 0; pointer-events: none; padding: 12px 20px; background: var(--ink); color: var(--card); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { margin-left: 10px; color: #f3d9a4; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- v2.0 · ordine più semplice ---------- */
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; }
.dot.is-open { background: var(--green); }
.home__lead { margin: 14px auto 0; max-width: 30em; color: var(--mu); font-size: 15px; }
.home__card { margin-top: 30px; padding: 22px 22px 18px; background: var(--card); border: 1px solid var(--ink); text-align: left; }
.home__card > .kicker { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.home__all { display: block; margin-top: 14px; text-align: right; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.facts { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid var(--ink); text-align: left; }
.facts div { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.facts b { flex: none; min-width: 92px; font-family: var(--head); font-weight: 400; font-size: 30px; line-height: 1; color: var(--red); }
.facts span { font-size: 14px; color: var(--mu); }
.home__info { display: grid; grid-template-columns: 1fr; margin-top: 22px; text-align: left; }
.home__info a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.home__info b { font-family: var(--head); font-weight: 400; font-size: 19px; }

/* voci del menu: "+" a destra e "2 nell'ordine" */
.item { position: relative; padding-right: 44px; }
.item__add { position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 18px; line-height: 1; }
.item.is-in .item__add { background: var(--ink); color: var(--card); }
.item__q { display: inline-block; margin-top: 7px; padding: 3px 8px; background: var(--ink); color: var(--card); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* righe dell'ordine con comandi sempre visibili */
.oline { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.oline__top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.oline__name { font-family: var(--head); font-size: 21px; line-height: 1.1; }
.oline__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oline__det { margin: 4px 0 0; font-size: 13.5px; color: var(--mu); }
.oline__ctl { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.stepper button { width: 40px; height: 38px; font-size: 19px; line-height: 1; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper span { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.oline__link { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.oline__link--red { color: var(--red); }
.clear { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.clear.is-armed { background: var(--red); color: #fff; padding: 6px 10px; letter-spacing: .08em; }
.addmore { display: block; margin-top: 22px; padding: 15px; border: 1px dashed var(--ink); text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.receipt .oline:last-of-type { border-bottom: 0; }

/* scheda: testata senza immagine */
.sheet__top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px 0 12px; border-bottom: 1px solid var(--ink); }
.sheet__top .sheet__x { position: static; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); }

/* carrello laterale (solo computer) */
.cartpanel { display: none; }

/* =========================================================
   COMPUTER (da 900 px): un vero sito
   ========================================================= */
@media (min-width: 900px) {
  .tabbar, .cartbar { display: none !important; }
  body.has-cartbar .page { padding-bottom: 60px; }
  .topnav { flex: none; display: flex; align-items: center; gap: 44px; padding: 12px max(40px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--ink); background: var(--paper); z-index: 20; }
  .topnav__logo img { width: 70px; }
  .topnav__links { display: flex; gap: 36px; margin-right: auto; }
  .topnav a[data-tab] { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mu); padding: 8px 0; }
  .topnav a[data-tab]:hover, .topnav a[aria-current="page"] { color: var(--ink); }
  .topnav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 20px; height: 2px; margin-left: -10px; background: var(--red); }
  .topnav__order { padding: 14px 24px !important; background: var(--ink); color: var(--card) !important; }
  .page { max-width: 1240px; padding: 0 40px 70px; }
  .title { font-size: 52px; }
  .bar { padding-top: 34px; }
  .item:hover { background: rgba(255, 255, 255, .45); }
  .item:hover .item__add { background: var(--ink); color: var(--card); }

  /* HOME: a sinistra il titolo, a destra la "carta" con le più amate */
  .home { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0 72px; text-align: left; padding-top: 40px; }
  .home__intro { grid-column: 1; }
  .home__logo { display: none; }
  .home__big { font-size: 66px; line-height: 1.02; margin-top: 18px; }
  .home__lead { margin: 18px 0 0; font-size: 17px; }
  .tiles { grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
  .tile { min-height: 124px; padding: 16px; }
  .tile b { font-size: 25px; }
  .home__card { grid-column: 2; grid-row: 1 / span 2; margin-top: 10px; padding: 26px 30px 22px; align-self: start; box-shadow: 10px 10px 0 var(--ink); }
  .home__card .item__name { font-size: 21px; }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .facts div { flex-direction: column; gap: 8px; padding: 26px 30px 24px 0; border-bottom: 0; }
  .facts div + div { border-left: 1px solid var(--line); padding-left: 30px; }
  .facts b { font-size: 46px; }
  .home__info { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 10px; }
  .home__info a { flex-direction: column; gap: 6px; border-bottom: 0; }
  .home__info b { font-size: 24px; }
  .home__foot { grid-column: 1 / -1; text-align: left; }

  /* MENU: categorie · pizze · carrello sempre visibile */
  .menu { display: grid; grid-template-columns: 250px minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .menu-side, .menu--cat .menu-side { display: block; position: sticky; top: 0; }
  .menu-main, .menu--cat .menu-main { display: block; }
  .menu-side .title { font-size: 30px; }
  .menu-main .back-m { display: none; }
  .menu-main .bar { justify-content: flex-start; }
  .cat { padding: 13px 0 12px; }
  .cat__t { font-size: 21px; }
  .cat__n { font-size: 14px; }
  .cartpanel { display: block; position: sticky; top: 34px; margin-top: 34px; padding: 22px 22px 24px; background: var(--card); border: 1px solid var(--ink); max-height: calc(100vh - 160px); overflow-y: auto; }
  .cartpanel__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
  .cartpanel > .kicker { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
  .cartpanel__empty { margin: 18px 0 4px; font-family: var(--head); font-size: 22px; line-height: 1.2; color: var(--mu); }
  .cartpanel .oline__name { font-size: 18px; }
  .cartpanel .oline__ctl { gap: 14px; margin-top: 8px; }
  .cartpanel .stepper button { width: 32px; height: 30px; font-size: 16px; }
  .cartpanel .gift { margin-top: 16px; }
  .cartpanel .opt { padding: 8px 10px; font-size: 13px; }
  .cartpanel__tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--dash); font-family: var(--head); font-size: 28px; }
  .cartpanel .send { margin-top: 16px; min-height: 54px; font-size: 13px; padding: 0 20px; }

  /* scheda: finestra al centro */
  .sheet { left: 50%; right: auto; bottom: 50%; width: 580px; max-height: 86vh; border-radius: 4px; transform: translate(-50%, 54%) scale(.98); opacity: 0; transition: transform .28s, opacity .2s; }
  .sheet-wrap.is-open .sheet { transform: translate(-50%, 50%); opacity: 1; }
  .sheet__grab { display: none; }
  .sheet__scroll { padding-top: 18px; }

  /* ORDINE: scontrino a sinistra, dati a destra */
  .order { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; align-items: start; }
  .order__left { position: sticky; top: 0; }
  .order__right > :first-child { margin-top: 16px; }

  .info-grid { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
  .promo-wrap { max-width: 720px; }
}
