:root{
  /* Maestro — black & gold. Fixed brand chrome (independent of the snapshot's
     light POS palette); only text/logo/photos come from the snapshot. */
  --bg:#0C0C0C; --bg2:#080808; --card:#141414; --card2:#101010;
  --line:rgba(214,168,79,.18); --line-soft:rgba(214,168,79,.10);
  --ink:#F7E8C8; --cream:#FFF4DA; --muted:#B9A98D; --muted2:#9F8D73;
  --gold:#D6A84F; --gold2:#F0D48A; --gold-deep:#BC8D39;
  --shadow:0 24px 70px rgba(0,0,0,.45);
  --radius:24px; --radius-sm:18px;
  --display:"Cormorant Garamond",Georgia,serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:clip}
body{
  overflow-x:clip;
  /* NB: no background-attachment:fixed — it triggers full-page repaint smears
     on old Android WebView (the "blank/striped block" artifact on scroll). */
  background:linear-gradient(180deg,#080808 0%,#0D0D0D 45%,#0A0A0A 100%);
  color:var(--ink);font-family:var(--body);line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}

.shell{max-width:520px;margin:0 auto;padding:2.7rem 18px 56px}

/* Boot / error */
.boot{min-height:100dvh;display:grid;place-content:center;text-align:center;gap:.55rem}
.boot-mark{font-family:var(--display);font-size:3.2rem;font-weight:700;color:var(--gold2);
  letter-spacing:.04em}
.boot-sub{color:var(--muted);font-size:.95rem;font-weight:600;letter-spacing:.02em}
.boot.error .boot-mark{color:var(--gold)}
.boot.error .boot-sub{color:#E7B86A}

/* ---------- Hero ---------- */
.hero{text-align:center;padding:.7rem 0 1.4rem}
.hero-eyebrow{font-size:.82rem;font-weight:800;letter-spacing:.42em;text-transform:uppercase;
  color:var(--gold);margin-left:.42em}
.hero-logo{position:relative;width:212px;height:212px;margin:1.3rem auto .9rem;
  display:grid;place-items:center}
.hero-logo::before{content:"";position:absolute;inset:-6%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(214,168,79,.22),rgba(214,168,79,.05) 62%,transparent 72%)}
.hero-logo img{position:relative;width:100%;height:100%;object-fit:contain;
  filter:drop-shadow(0 14px 34px rgba(0,0,0,.55))}
.hero-tagline{font-size:.78rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold);margin-top:.2rem;padding:0 .5rem}
.divider{display:flex;align-items:center;justify-content:center;gap:.9rem;margin:1.25rem auto;
  max-width:230px;color:var(--gold)}
.divider::before,.divider::after{content:"";height:1px;flex:1;
  background:linear-gradient(90deg,transparent,rgba(214,168,79,.5),transparent)}
.divider span{font-size:.7rem;opacity:.9}
.hero-motto{font-family:var(--display);font-style:italic;font-weight:500;
  font-size:clamp(1.5rem,6vw,1.95rem);line-height:1.18;color:var(--cream);
  white-space:pre-line;letter-spacing:.01em}

/* ---------- Cards ---------- */
.card{background:linear-gradient(180deg,rgba(22,22,22,.96),rgba(14,14,14,.98));
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:1.4rem 1.3rem;margin-top:1.1rem}

/* Contact chips */
.contact{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;text-align:center}
.contact a{display:grid;justify-items:center;gap:.55rem;text-decoration:none;color:var(--muted)}
.ico{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  border:1px solid var(--line);background:#0E0E0E;color:var(--gold);transition:.16s}
.contact a:active .ico,.contact a:hover .ico{border-color:var(--gold);background:#141008}
.ico svg{width:21px;height:21px;display:block}
.c-label{font-size:.78rem;font-weight:700;color:var(--ink);line-height:1.3;
  max-width:13ch;word-break:break-word}

/* Orari */
.orari-head{display:flex;align-items:center;gap:.7rem;margin-bottom:.4rem}
.orari-head .ico{width:38px;height:38px}
.orari-head .ico svg{width:18px;height:18px}
.orari-head h2{font-family:var(--display);font-weight:700;font-size:1.85rem;color:var(--gold2)}
.orari .row{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  padding:.62rem 0;border-bottom:1px solid var(--line-soft)}
.orari .row:last-child{border-bottom:none}
.orari .day{font-weight:700;color:var(--ink);font-size:.95rem}
.orari .time{font-weight:600;color:var(--gold);font-size:.92rem;text-align:right;
  font-variant-numeric:tabular-nums}
.orari .time.closed{color:var(--muted2);font-weight:600;letter-spacing:.04em}

/* ---------- Menu ---------- */
.menu-head{text-align:center;margin-top:2.6rem}
.menu-head .eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.4em;text-transform:uppercase;
  color:var(--gold);margin-left:.4em}
.menu-head h2{font-family:var(--display);font-weight:700;font-size:clamp(2.6rem,11vw,3.4rem);
  color:var(--cream);line-height:1;margin-top:.2rem}

/* Allergen filter */
.allerg{margin-top:1.7rem}
.allerg-top{display:flex;align-items:center;gap:.8rem;width:100%;
  background:none;border:0;padding:.4rem 0;cursor:pointer;text-align:left;color:inherit}
.allerg-top h3{font-family:var(--display);font-weight:600;font-size:1.45rem;color:var(--ink)}
.allerg-hint{font-size:.64rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted2);white-space:nowrap;margin-left:auto}
.allerg-caret{display:inline-flex;align-items:center;color:var(--gold);transition:transform .2s}
.allerg-caret svg{width:18px;height:18px}
.allerg.collapsed .allerg-caret{transform:rotate(-90deg)}
.allerg.collapsed .allerg-hint{display:none}
.allerg.collapsed .chips{display:none}
.chips{display:flex;gap:.55rem;overflow-x:auto;padding:.85rem 0 .4rem;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;
  border:1px solid var(--line);background:#111;color:var(--ink);
  border-radius:999px;padding:.55rem .95rem;font-size:.88rem;font-weight:600;
  white-space:nowrap;transition:.16s;user-select:none}
.chip svg{width:17px;height:17px;color:var(--gold);flex:0 0 auto}
.chip:hover{border-color:rgba(214,168,79,.4)}
.chip.off{opacity:.4;text-decoration:line-through;border-style:dashed;color:var(--muted)}
.chip.off svg{color:var(--muted2)}

/* Category tabs */
.tabs{display:flex;gap:1.4rem;overflow-x:auto;margin-top:1.5rem;padding-bottom:.2rem;
  border-bottom:1px solid var(--line-soft);scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;position:relative;cursor:pointer;background:none;border:none;
  font-family:var(--display);font-weight:700;font-size:1.55rem;line-height:1;
  color:var(--muted2);padding:.2rem 0 .85rem;transition:.16s;white-space:nowrap}
.tab.active{color:var(--cream)}
.tab.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;
  border-radius:2px;background:linear-gradient(90deg,var(--gold),var(--gold2))}

/* Items */
.items{margin-top:.4rem}
.empty{color:var(--muted);font-size:.9rem;padding:2rem 0;text-align:center}
.item{display:flex;gap:1rem;padding:1.15rem 0;border-bottom:1px solid var(--line-soft)}
.item:last-child{border-bottom:none}
.item-thumb{flex:0 0 auto;width:74px;height:74px;border-radius:16px;object-fit:cover;
  background:#1A1A1A;border:1px solid var(--line-soft)}
.item-body{flex:1;min-width:0}
.item-top{display:flex;justify-content:space-between;align-items:baseline;gap:.8rem}
.item-name{font-family:var(--display);font-weight:700;font-size:1.32rem;color:var(--cream);
  line-height:1.12}
.item-price{font-family:var(--display);font-weight:700;font-size:1.32rem;color:var(--gold2);
  white-space:nowrap}
.item-desc{color:var(--muted);font-size:.9rem;margin-top:.25rem;line-height:1.45}
.item-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem}
.tag{display:inline-flex;align-items:center;gap:.3rem;font-size:.66rem;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;color:var(--muted);
  background:#161208;border:1px solid var(--line-soft);border-radius:999px;padding:.18rem .55rem}
.tag svg{width:12px;height:12px;color:var(--gold)}

.addons{margin-top:.6rem}
.addons summary{cursor:pointer;color:var(--gold);font-size:.82rem;font-weight:700;list-style:none;
  display:inline-flex;align-items:center;gap:.35rem}
.addons summary::-webkit-details-marker{display:none}
.addons summary::before{content:"+";font-weight:800;font-size:.95em}
.addons[open] summary::before{content:"–"}
.addon-grid{margin-top:.55rem;display:grid;grid-template-columns:1fr;gap:.1rem .9rem}
@media(min-width:440px){.addon-grid{grid-template-columns:1fr 1fr}}
.addon-group{grid-column:1/-1;font-size:.66rem;text-transform:uppercase;letter-spacing:.12em;
  color:var(--gold);font-weight:800;margin-top:.45rem}
.addon{display:flex;justify-content:space-between;gap:.6rem;font-size:.85rem;color:var(--ink);
  border-bottom:1px dotted var(--line-soft);padding:.28rem 0}
.addon .a-price{color:var(--muted);white-space:nowrap}

/* ---------- Footer ---------- */
.foot{margin-top:2.8rem;text-align:center;display:grid;gap:1.1rem}
.foot .social{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem}
.foot .social a{display:inline-flex;align-items:center;gap:.45rem;text-decoration:none;
  color:var(--gold2);font-size:.84rem;font-weight:700;
  border:1px solid var(--line);border-radius:999px;padding:.5rem 1rem;background:#111}
.foot .social a svg{width:15px;height:15px}
.foot .fineprint{font-size:.74rem;color:var(--muted2);line-height:1.6;max-width:40ch;margin:0 auto}

/* ---------- Language switcher ---------- */
.langbar{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;justify-content:center;
  gap:.1rem;background:#0a0a0a;
  border-bottom:1px solid var(--line-soft);padding:.38rem}
.lang{border:none;background:none;cursor:pointer;color:var(--muted);
  font:800 .66rem var(--body);letter-spacing:.04em;padding:.28rem .4rem;border-radius:999px;transition:.15s}
.lang:hover{color:var(--gold2)}
.lang.active{background:linear-gradient(180deg,#E5C070,#BC8D39);color:#16110A}

/* ---------- Order CTA ---------- */
.cta-bar{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin-top:1.3rem}
.cta{flex:1 1 auto;min-width:46%;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  text-decoration:none;border-radius:999px;padding:.92rem 1.2rem;font:800 .95rem var(--body)}
.cta svg{width:18px;height:18px}
.cta-call{background:linear-gradient(180deg,#E5C070,#BC8D39);color:#16110A;box-shadow:0 12px 28px rgba(0,0,0,.3)}
.cta-wa{background:#0E0E0E;color:var(--gold2);border:1px solid var(--line)}
.cta-wa svg{color:#3ad07a}

/* ---------- Bulletproof item images ---------- */
/* Fixed box + cover so a slow/odd image can't collapse or blow up into a void.
   JS also sets width/height attributes + an onerror fallback (→ text-only). */
.item-thumb{max-width:74px;max-height:74px;overflow:hidden}
.item.noimg .item-thumb{display:none}

/* ---------- Low-end / old-Android safe mode ---------- */
/* Old Android WebView mis-composites backdrop-filter, GPU filters, fixed
   backgrounds, transforms and animations → smeared/blank repaint artifacts on
   scroll. app.js adds .lowend on low-memory/old devices (or via ?lowend=1) to
   strip every GPU-accelerated effect. Costs almost nothing visually here. */
html.lowend, html.lowend body{background:#0b0b0b !important}
.lowend *{
  backdrop-filter:none !important;-webkit-backdrop-filter:none !important;
  filter:none !important;transition:none !important;animation:none !important;
  transform:none !important;will-change:auto !important;
}
.lowend{scroll-behavior:auto}
.lowend .hero-logo::before{display:none}
.lowend .langbar{background:#0b0b0b}
.lowend .card,.lowend .cta-call{box-shadow:none}
.lowend .item-thumb{display:none}        /* text-only menu on old GPUs */
.lowend .hero-logo img{filter:none}

/* ---------- On-screen diagnostics (?debug=1) ---------- */
#diag{position:fixed;left:0;right:0;bottom:0;z-index:9999;max-height:46vh;overflow:auto;
  background:rgba(0,0,0,.93);color:#9effa0;font:600 11px/1.45 ui-monospace,Menlo,Consolas,monospace;
  padding:8px 10px;border-top:1px solid #3a6a3a}
#diag div{margin:2px 0;word-break:break-word}
#diag .bad{color:#ff8a8a}
