/* Menu per telefono, tablet e PC: stile app, chiaro e caldo come il sito */
body { background: var(--bg); color: var(--ink); font-size: 16px; }
.disp { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; }

/* Barra in alto: il logo sta direttamente sul fondo */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: max(8px, env(safe-area-inset-top)) 16px 8px; background: rgba(244, 235, 223, .97); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.top-logo { display: block; height: 52px; }
.top-logo img { height: 100%; width: auto; }
.top-r { display: flex; gap: 8px; }
.ico { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); display: grid; place-items: center; color: var(--ink); }
.ico svg { width: 20px; height: 20px; }
.ico-n { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: var(--bg-2); font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.notice { background: var(--ink); color: var(--bg-2); font-weight: 600; padding: 11px 18px; text-align: center; }

/* Apertura */
.intro { max-width: 860px; margin: 0 auto; padding: 18px 18px 4px; }
.intro-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; }
.intro-k { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.intro-k.is-open::before, .intro-k.is-closed::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c8493d; box-shadow: 0 0 0 4px rgba(200, 73, 61, .14); }
.intro-k.is-open::before { background: #3f9a52; box-shadow: 0 0 0 4px rgba(63, 154, 82, .16); }
.intro-t { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; font-size: 2.4rem; line-height: 1; margin: 0; }
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; transition: border-color .2s, box-shadow .2s; }
.searchbar:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(26, 20, 16, .08); }
.searchbar svg { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.searchbar input { border: 0; outline: 0; background: transparent; width: 100%; padding: 12px 0; font-size: 1rem; }
.searchbar input::placeholder { color: #9a8b7e; }

/* Inserzioni: righe sottili, non schede grandi */
.promos { max-width: 860px; margin: 0 auto; padding: 12px 18px 0; display: grid; gap: 6px; }
.promo { display: flex; align-items: center; gap: 12px; padding: 7px 14px 7px 7px; border-radius: 14px; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); min-height: 50px; text-decoration: none; }
.promo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
.promo > div { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; }
.promo-k { grid-column: 1; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.promo-t { grid-column: 1; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; font-size: 1.02rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-x { display: none; }
.promo-p { grid-column: 2; grid-row: 1 / span 2; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.promo:not(:has(img)) { padding-left: 16px; }

/* Prima volta: come si sceglie */
.guide { max-width: 860px; margin: 0 auto; padding: 16px 18px 0; }
.guide-in { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 16px; }
.guide-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide-h h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; font-size: 1.35rem; }
.guide-x { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 7px 13px; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.guide ol { list-style: none; counter-reset: g; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.guide li { counter-increment: g; }
.guide li a { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 10px 0; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.guide li a::before { content: counter(g); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg-2); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.guide li b { font-weight: 600; }
.guide li span { color: var(--ink-2); font-size: .92rem; line-height: 1.4; }
.guide-f { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.guide-f button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .guide ol { grid-template-columns: repeat(3, 1fr); gap: 16px; } .guide li a { border-top: 0; } }

/* Riquadri categorie */

/* Navigazione categorie */
.gnav { position: sticky; top: 69px; z-index: 20; background: rgba(244, 235, 223, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); margin-top: 14px; }
.gnav-in { max-width: 896px; margin: 0 auto; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 14px; }
.gnav-in::-webkit-scrollbar { display: none; }
.gnav a { flex: none; text-decoration: none; padding: 8px 14px; border-radius: 99px; font-weight: 500; font-size: .9rem; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.gnav a[aria-current="true"] { background: var(--ink); color: var(--bg-2); }
/* Filtro attivo: si vede subito e si toglie con un tocco */
.active-filters { max-width: 824px; margin: 18px auto 0; background: var(--ink); color: var(--bg-2); border-radius: 20px; padding: 16px 16px 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
@media (max-width: 860px) { .active-filters { margin: 18px 18px 0; } }
.af-t { flex: 1 1 300px; min-width: 0; }
.af-t b { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; font-size: 1.3rem; line-height: 1.15; }
.af-t span { display: block; margin-top: 4px; font-size: .92rem; line-height: 1.45; color: rgba(255, 250, 243, .78); }
.af-x { flex: none; border: 0; background: var(--bg-2); color: var(--ink); border-radius: 99px; padding: 11px 18px; font-weight: 600; font-size: .95rem; }
.af-x:hover { background: #fff; }
@media (max-width: 520px) { .af-x { width: 100%; } }
.gnav.has-f { display: flex; align-items: center; }
.gnav-fw { flex: none; padding: 10px 2px 10px 14px; }
.gnav.has-f .gnav-in { flex: 1 1 auto; min-width: 0; padding-left: 10px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px); mask-image: linear-gradient(90deg, transparent 0, #000 30px); }
.gnav-f { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); background: var(--bg-2); color: var(--ink); border-radius: 99px; padding: 6px 10px 6px 14px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.gnav-f i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }
.gnav-f i::before, .gnav-f i::after { content: ""; position: absolute; left: 4px; top: 8.25px; width: 10px; height: 1.5px; background: var(--bg-2); border-radius: 1px; transform: rotate(45deg); }
.gnav-f i::after { transform: rotate(-45deg); }

/* Corpo */
.menu { max-width: 860px; margin: 0 auto; padding: 4px 18px 40px; }
.loading, .empty { padding: 48px 0; text-align: center; color: var(--ink-2); }
.grp { padding-top: 36px; scroll-margin-top: 130px; }
.grp-t { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: .92; }
.sec { margin-top: 22px; scroll-margin-top: 130px; }
.sec-t { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; font-size: 1.4rem; line-height: 1.1; }
.sec-sub { color: var(--ink-2); margin-top: 2px; font-size: .95rem; }
.sec-note { margin-top: 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); border-radius: 14px; padding: 10px 14px; font-size: .9rem; }
.suppl { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; }
.suppl li { border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 4px 11px; color: var(--ink-2); }
.suppl b { color: var(--ink); font-weight: 600; }

/* Schede piatto */
.items { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.item { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.item.in { opacity: 1; transform: none; }
.item-btn { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 14px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; }
.item-btn:active { transform: scale(.985); }
.item-btn:hover { border-color: #cdbba6; box-shadow: 0 14px 30px -22px rgba(60, 40, 25, .45); }
.item-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.item-main { display: flex; flex-direction: column; min-width: 0; }
.item-name { font-weight: 600; font-size: 1.04rem; line-height: 1.25; letter-spacing: -.01em; }
.frz { color: var(--accent); font-weight: 700; margin-left: 2px; }
.item-desc { color: var(--ink-2); font-size: .92rem; margin-top: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-note { font-size: .84rem; color: var(--accent); font-weight: 600; margin-top: 4px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 8px; }
.item-price { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-top: auto; padding-top: 8px; }
.item-price .prices { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 1rem; }
.item-price .pf-l { font-family: var(--font-text); font-weight: 500; color: var(--ink-2); font-size: .82rem; }
.item-price .tbc { font-family: var(--font-text); font-size: .8rem; color: #9a8b7e; font-weight: 500; }
.item-ph { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; background: var(--line); align-self: start; }
.tag { font-size: .82rem; font-weight: 600; border-radius: 6px; padding: 2px 7px; background: #efe5d8; color: var(--ink-2); }
.tag-vegana, .tag-vegetariana { background: #e3eedb; color: #2e6b3a; }
.tag-piccante { background: #f6e0d6; color: #a8431b; }
.tag-novita, .tag-della-casa, .tag-pref { background: var(--ink); color: var(--bg-2); }
.algs { display: inline-flex; gap: 3px; align-items: center; }
.alg { min-width: 1.5em; height: 1.5em; border-radius: 50%; border: 1px solid var(--line); display: inline-grid; place-items: center; font-weight: 600; font-size: .8rem; color: var(--ink-2); background: #fff; }

/* Impasti */
.cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px; margin: 14px -18px 0; padding: 0 18px 10px; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.card { all: unset; box-sizing: border-box; flex: 0 0 170px; scroll-snap-align: start; cursor: pointer; text-align: center; padding: 16px 10px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.card-ph { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto; background: var(--line); box-shadow: 0 16px 30px -16px rgba(60, 40, 25, .55); }
.card-ph.ph-empty { display: grid; place-items: center; color: rgba(110, 84, 68, .35); }
.card-ph.ph-empty svg { width: 50%; }
.card-name { font-weight: 600; margin-top: 14px; line-height: 1.2; font-size: .95rem; }
.card-price { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-top: 6px; }

/* Aggiunte */
.chipgrp { margin-top: 14px; }
.chipgrp h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.15rem; margin: 0 0 8px; }
.chipgrp ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chipgrp li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
.chipgrp sup { color: var(--ink-2); font-size: .78em; margin-left: 2px; }

/* Piè di pagina */
.mf { padding: 30px 18px max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.mf-in { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.mf-card { background: var(--bg-2); border-radius: 20px; padding: 18px; border: 1px solid var(--line); }
.mf h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; font-size: 1.4rem; margin-bottom: 10px; }
.mf p, .mf li { font-size: .93rem; color: var(--ink-2); }
.mf a { color: var(--ink); font-weight: 600; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mf-kv b { display: block; color: var(--ink); font-weight: 600; font-size: .85rem; }
.mf details { border-top: 1px solid var(--line); padding: 12px 0 2px; }
.mf summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.mf details p { margin-top: 6px; }
.alg-legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.alg-legend .alg { margin-right: 6px; }

/* Schede */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(26, 20, 16, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s ease; }
.sheet-card { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--bg-2); border-radius: 28px 28px 0 0; padding-bottom: max(24px, env(safe-area-inset-bottom)); animation: rise .38s var(--ease-out); outline: none; }
.sheet-card.pad { padding: 24px 20px max(24px, env(safe-area-inset-bottom)); }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(251, 247, 241, .9); backdrop-filter: blur(8px); color: var(--ink); display: grid; place-items: center; z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.sheet-x svg { width: 20px; height: 20px; }
.sheet-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; font-size: 1.8rem; padding-right: 44px; }
.d-ph { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; display: block; }
.d-ph.lowres { width: 200px; height: 200px; aspect-ratio: 1; border-radius: 50%; margin: 28px auto 0; box-shadow: 0 20px 40px -18px rgba(60, 40, 25, .55); }
.d-body { padding: 20px; }
.d-sec { color: var(--ink-2); font-size: .85rem; font-weight: 500; }
.d-name { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; font-size: 2.3rem; line-height: .98; margin-top: 4px; padding-right: 40px; }
.d-price { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--ink); margin-top: 10px; }
.d-price .prices { display: grid; gap: 4px; font-size: 1.15rem; max-width: 300px; }
.d-price .pf { display: flex; justify-content: space-between; gap: 20px; }
.d-price .pf-l { font-family: var(--font-text); font-weight: 500; color: var(--ink-2); font-size: 1rem; }
.d-tbc { font-family: var(--font-text); font-size: 1rem; color: var(--ink-2); font-weight: 500; }
.d-desc { margin-top: 12px; font-size: 1.02rem; color: var(--ink); }
.d-h { font-weight: 600; margin: 20px 0 8px; font-size: .9rem; color: var(--ink-2); }
.d-algs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.d-algs li { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px 4px 4px; font-size: .88rem; }
.d-note { margin-top: 14px; font-size: .85rem; color: #8d7e71; }
.f-h { font-weight: 600; font-size: .95rem; margin: 20px 0 8px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 14px; font-weight: 500; font-size: .92rem; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg-2); }
.f-warn { margin-top: 16px; font-size: .85rem; color: var(--ink-2); background: var(--bg); padding: 10px 12px; border-radius: 12px; }
.f-actions { display: flex; gap: 10px; margin-top: 18px; position: sticky; bottom: 0; background: var(--bg-2); padding-top: 8px; }
.b-ghost, .b-fire { flex: 1; border-radius: 16px; padding: 15px; font-weight: 600; border: 1px solid var(--ink); }
.b-ghost { background: transparent; color: var(--ink); }
.b-fire { background: var(--ink); color: var(--bg-2); }

@keyframes rise { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
mark { background: #f1d9b5; color: inherit; border-radius: 3px; padding: 0 1px; }

@media (min-width: 760px) {
  .items { grid-template-columns: 1fr 1fr; }
  .sheet { align-items: center; }
  .sheet-card { border-radius: 28px; max-height: 88vh; }
}

/* ---------- Crea la tua pizza ---------- */
.bcta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; width: 100%; text-align: left; margin-top: 18px; padding: 18px 18px 18px 20px; border-radius: 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg-2); }
.bcta-t { font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; font-size: 1.35rem; }
.bcta-s { grid-column: 1; color: #cdbfb1; font-size: .9rem; line-height: 1.35; }
.bcta-i { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); color: var(--ink); display: grid; place-items: center; font-size: 1.6rem; font-weight: 500; line-height: 1; }
.d-custom { display: block; width: 100%; margin-top: 16px; }
.sheet-card.bld { max-width: 640px; padding-bottom: 0; display: flex; flex-direction: column; }
#bBody { padding: 22px 20px 10px; }
.b-k { color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.b-t { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; font-size: 2rem; line-height: 1; margin-top: 6px; padding-right: 44px; text-wrap: balance; }
.b-s { color: var(--ink-2); margin-top: 8px; font-size: .95rem; }
.b-step { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.b-step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; }
.b-step h3 b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg-2); font-size: .8rem; display: grid; place-items: center; flex: none; }
.b-desc { color: var(--ink-2); font-size: .88rem; margin-top: 8px; }
.b-sub { margin: 14px 0 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.bchips { display: flex; flex-wrap: wrap; gap: 7px; }
.bchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 14px; font-size: .92rem; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.bchip em { font-style: normal; font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.bchip.small { padding: 7px 12px; font-size: .88rem; }
.bchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg-2); }
.bchip[aria-pressed="true"] em { color: #cdbfb1; }
.bchip[aria-pressed="true"]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bg-2); }
.bidea { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 1px dashed rgba(26, 20, 16, .3); background: transparent; border-radius: 16px; padding: 9px 13px; max-width: 100%; }
.bidea span { font-weight: 600; font-size: .92rem; }
.bidea small { color: var(--ink-2); font-size: .84rem; line-height: 1.3; }
.bidea:active { background: #fff; }
.b-search input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 1rem; outline: 0; }
.b-search input:focus { border-color: var(--ink); }
.b-grp { margin-top: 12px; }
.b-grp h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin: 0 0 6px; color: var(--ink-2); }
#bBody .d-note { margin: 18px 0 6px; }
.b-foot { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: rgba(251, 247, 241, .97); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(26, 20, 16, .35); }
.bf-k { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.bf-p { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; letter-spacing: -.03em; line-height: 1; }
.bf-s { font-size: .84rem; color: var(--ink-2); margin-top: 2px; max-width: 16ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-r { display: flex; gap: 8px; }
.bf-r .b-ghost, .bf-r .b-fire { flex: none; padding: 12px 14px; border-radius: 14px; font-size: .9rem; }
.b-foot.bump .bf-p { animation: bump .35s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.08); } }
.waiter { position: fixed; inset: 0; z-index: 80; background: var(--bg-2); overflow-y: auto; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade .2s ease; }
.w-in { width: 100%; max-width: 520px; }
.w-k { color: var(--ink-2); font-weight: 600; }
.w-t { font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em; font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: .95; margin-top: 6px; }
.w-l { margin: 22px 0 0; }
.w-l div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.w-l dt { color: var(--ink-2); }
.w-l dd { margin: 0; font-weight: 600; }
.w-p { font-family: var(--font-display); font-weight: 600; font-size: 3rem; letter-spacing: -.03em; margin-top: 20px; display: flex; align-items: baseline; gap: 12px; }
.w-p small { font-family: var(--font-text); font-size: .9rem; letter-spacing: 0; color: var(--ink-2); font-weight: 500; }
.w-a { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--ink-2); }
.w-in .b-fire { width: 100%; margin-top: 24px; }
.b-reset { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.bf-p small { font-size: .5em; color: var(--ink-2); }
.bf-s { max-width: 22ch; }

/* ---------- Sottocategorie da aprire ---------- */
.acc { margin-top: 12px; scroll-margin-top: 130px; }
.grp-t + .acc, .bcta + .acc { margin-top: 18px; }
.acc-h { width: 100%; display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 14px; text-align: left; padding: 10px 14px 10px 10px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: background .25s, border-color .25s, box-shadow .35s, transform .2s; }
.acc-h:hover { border-color: rgba(26, 20, 16, .28); }
.acc-h:active { transform: scale(.99); }
.acc-ph { width: 68px; height: 68px; border-radius: 18px; overflow: hidden; background: var(--line); display: grid; place-items: center; color: rgba(110, 84, 68, .35); }
.acc-ph svg { width: 50%; }
.acc-ph img { width: 100%; height: 100%; object-fit: cover; }
.acc-ph.cut { background: transparent; border-radius: 50%; overflow: visible; }
.acc-ph.cut img { object-fit: contain; transform: scale(1.12); filter: drop-shadow(0 8px 10px rgba(60, 40, 25, .3)); animation: accSpin 30s linear infinite; animation-play-state: paused; }
.acc.open .acc-ph.cut img, .acc-h:hover .acc-ph.cut img { animation-play-state: running; }
@keyframes accSpin { to { transform: scale(1.12) rotate(360deg); } }
.acc-tx { min-width: 0; }
.acc-tx b { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; font-size: 1.3rem; line-height: 1.1; }
.acc-tx small { display: block; color: var(--ink-2); font-size: .86rem; font-weight: 500; margin-top: 3px; }
.acc-tx i { display: block; font-style: normal; color: var(--ink-2); font-size: .86rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-ch { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease-out), background .25s, color .25s, border-color .25s; }
.acc-ch svg { width: 18px; height: 18px; }
.acc.open .acc-ch { transform: rotate(180deg); background: var(--ink); color: var(--bg-2); border-color: var(--ink); }
.acc.open .acc-h { background: var(--bg-2); box-shadow: 0 18px 34px -26px rgba(60, 40, 25, .55); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc.open .acc-b { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; min-height: 0; }
.acc.open .acc-in { padding: 6px 0 8px; }
.acc-in > .sec-note:first-child, .acc-in > .suppl:first-child { margin-top: 10px; }

/* PC: tutte le categorie in vista, senza tagli */
@media (min-width: 1100px) {
  .gnav-in { max-width: 1240px; justify-content: center; flex-wrap: wrap; }
  .gnav.has-f { justify-content: center; }
  .gnav.has-f .gnav-in { flex: 0 1 auto; margin: 0; padding-left: 4px; -webkit-mask-image: none; mask-image: none; }
  .gnav-fw { padding-left: 14px; }
}

/* Crea la tua pizza: togli, aggiungi, parti da qualunque pizza */
.b-other { border-style: dashed; background: transparent; }
.b-other[aria-expanded="true"] { border-style: solid; border-color: var(--ink); }
.b-pick { margin-top: 10px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.b-pick .b-search { margin: 0 0 8px; }
.b-pks { display: grid; gap: 2px; max-height: 320px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.b-pk { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; border: 0; background: transparent; padding: 10px 8px; border-radius: 12px; font: inherit; color: var(--ink); cursor: pointer; }
.b-pk:hover, .b-pk:focus-visible { background: var(--bg); }
.b-pk b { font-weight: 600; }
.b-pk span { grid-column: 1; color: var(--ink-2); font-size: .86rem; line-height: 1.35; }
.b-pk em { grid-column: 2; grid-row: 1; font-style: normal; font-weight: 600; font-size: .9rem; }
.b-none { color: var(--ink-2); padding: 8px; }
.bchip.b-rec { background: #fff; color: var(--ink); border-color: #cdbba6; }
.bchip.b-rec::before { display: none; }
.bchip i { width: 14px; height: 14px; flex: none; position: relative; opacity: .55; }
.bchip i::before, .bchip i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.bchip i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.bchip.b-rec.off { background: transparent; border-style: dashed; color: var(--ink-2); }
.bchip.b-rec.off span { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.bchip.b-rec.off i { opacity: .8; border: 1.6px solid currentColor; border-radius: 50%; border-right-color: transparent; width: 12px; height: 12px; }
.bchip.b-rec.off i::before, .bchip.b-rec.off i::after { display: none; }
.bchip.b-mine i { opacity: .8; }
.b-hint { margin-top: 8px; font-size: .84rem; color: var(--ink-2); }
#bMine:empty { display: none; }
#bMine .b-sub { margin-top: 0; }
#bMine .bchips { margin-bottom: 6px; }
.w-l .w-no dd { font-weight: 700; }
.b-search { display: block; }
.bchip.b-mine::before { display: none; }

/* ---------- Allergeni: la prima voce del menu ---------- */
.grp-alg { padding-top: 26px; }
.alg-box { margin-top: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.alg-lead { line-height: 1.5; }
.alg-lead { font-size: 1.02rem; }
.alg-lead b { font-weight: 600; }
.alg-how { margin: 14px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }
.alg-top { gap: 8px 14px; font-size: .95rem; }
.alg-top li { display: flex; align-items: center; }
.alg-f { display: block; width: 100%; margin-top: 16px; padding: 13px; }
@media (min-width: 760px) { .alg-top { grid-template-columns: repeat(3, 1fr); } .alg-f { width: auto; padding: 12px 22px; } }
.mf-frz { margin-top: 12px; font-size: .9rem; color: var(--ink-2); }

/* ---------- Totem touch in sala (menu/?totem) ---------- */
html.kiosk, html.kiosk body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
html.kiosk input { -webkit-user-select: text; user-select: text; }
html.kiosk .mf-in > p:last-child { display: none; }
html.kiosk .mf a[href^="tel:"] { text-decoration: none; color: inherit; pointer-events: none; }
.k-qr { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.k-qr-code { width: 74px; height: 74px; flex: none; background: #fff; border-radius: 10px; padding: 4px; }
.k-qr-code svg { width: 100%; height: 100%; display: block; }
.k-qr p { font-size: .88rem; color: var(--ink-2); line-height: 1.35; }
.k-qr b { display: block; color: var(--ink); font-size: 1rem; }
.k-home { position: fixed; z-index: 40; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; padding: 12px 18px 12px 14px; background: var(--ink); color: var(--bg-2); font: inherit; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(26, 20, 16, .6); }
.k-home svg { width: 20px; height: 20px; }


/* =====================================================================
   Menu ridisegnato
   ===================================================================== */

/* Testata: solo logo e filtri; la ricerca è il campo sotto */
.intro { padding-top: 14px; }
.intro-row { margin-bottom: 10px; }
.intro-t { font-size: 2rem; }

/* Barra: categorie + seconda fila con le sottocategorie del gruppo che stai guardando */
.gnav.has-f { display: block; }
.gnav-row { display: block; }
.gnav.has-f .gnav-row { display: flex; align-items: center; }
.gnav-in { padding-bottom: 6px; }
.gnav-sub { max-width: 896px; margin: 0 auto; display: flex; align-items: center; gap: 18px; height: 38px; padding: 0 18px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; border-top: 1px solid rgba(110, 84, 68, .1); }
.gnav-sub::-webkit-scrollbar { display: none; }
.gnav-sub a { flex: none; position: relative; text-decoration: none; font-size: .86rem; font-weight: 500; color: var(--ink-2); padding: 9px 0; transition: color .2s; }
.gnav-sub a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.gnav-sub a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.gnav-sub a[aria-current="true"]::after { transform: none; }
.gs-line { font-size: .86rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.grp, .sec { scroll-margin-top: 170px; }

/* Gerarchia: gruppo, sottocategoria, piatto */
.grp { padding-top: 40px; }
.grp-t { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1; letter-spacing: -.04em; }
.sec { margin-top: 30px; }
.grp-t + .sec { margin-top: 18px; }
.sec-h { padding-bottom: 6px; }
.sec-t { font-size: 1.18rem; letter-spacing: -.02em; }
.sec-sub { font-size: .9rem; }

/* Piatti: righe con un filo sottile, non scatole */
.items { gap: 0; margin-top: 6px; border-top: 1px solid var(--line); }
.item { border-bottom: 1px solid var(--line); }
.item-btn { background: none; border: 0; border-radius: 0; box-shadow: none !important; padding: 15px 0; gap: 16px; grid-template-columns: 1fr auto; transition: background .2s; }
.item-btn:hover { border: 0; background: rgba(255, 252, 246, .55); }
.item-btn:active { transform: none; background: rgba(255, 252, 246, .8); }
.item-name { font-size: 1.02rem; }
.item-desc { font-size: .9rem; margin-top: 3px; }
.item-meta { margin-top: 7px; gap: 4px; }
.item-meta:empty { display: none; }
.item-foot { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.item-price { font-size: 1.05rem; margin: 0; padding: 0; }
.algs { display: inline; font-size: .76rem; color: #9a8b7e; font-weight: 500; letter-spacing: .01em; }
.item-ph { width: 76px; height: 76px; border-radius: 12px; }
.tag { font-size: .74rem; padding: 2px 7px; border-radius: 5px; }

/* Varianti dette una volta */
.gsupp { margin-top: 12px; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.gsupp b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.suppl { margin-top: 8px; }

/* Impasti dentro le pizze */
.dstrip { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s; }
.dstrip:hover { border-color: #cdbba6; }
.dstrip:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.dstrip-phs { display: flex; flex: none; }
.dstrip-phs i, .dl-ph { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #e6d9c7; border: 2px solid var(--bg-2); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--ink-2); }
.dstrip-phs i + i { margin-left: -10px; }
.dstrip-phs img, .dl-ph img { width: 100%; height: 100%; object-fit: cover; }
.dstrip-tx { flex: 1; min-width: 0; }
.dstrip-tx b { display: block; font-weight: 600; font-size: .98rem; }
.dstrip-tx small { display: block; color: var(--ink-2); font-size: .84rem; margin-top: 1px; }
.dstrip > svg { width: 20px; height: 20px; flex: none; color: var(--ink-2); transform: rotate(-90deg); }
.dl { padding-top: 26px; }
.dlist { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.dlist li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dl-ph { width: 52px; height: 52px; border: 0; font-size: 1.1rem; }
.dlist b { display: block; font-weight: 600; }
.dlist span { display: block; font-size: .86rem; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.dlist em { font-style: normal; font-family: var(--font-display); font-weight: 600; white-space: nowrap; padding-top: 1px; }

/* Crea la tua pizza: resta in fondo alle pizze */
.bcta { margin-top: 26px; }

/* Da sapere: le voci a scomparsa disegnate come il resto */
.mf details { padding: 0; }
.mf summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 13px 0; }
.mf summary::-webkit-details-marker { display: none; }
.mf summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease-out); flex: none; margin-left: 12px; }
.mf details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.mf details p { margin: 0 0 14px; line-height: 1.5; }
.mf-links { text-align: center; padding: 8px 0; }

/* Totem: niente ricerca da tastiera, caratteri un po' più grandi */
html.kiosk .searchbar { display: none; }
html.kiosk .k-qr { margin-top: 0; }
html.kiosk .item-name { font-size: 1.1rem; }
html.kiosk .item-desc { font-size: .97rem; }
html.kiosk .algs { font-size: .82rem; }
.k-up { position: fixed; z-index: 40; right: 132px; bottom: max(16px, env(safe-area-inset-bottom)); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); display: grid; place-items: center; box-shadow: 0 12px 30px -14px rgba(26, 20, 16, .5); }
.k-up svg { width: 20px; height: 20px; }

@media (min-width: 760px) {
  .items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 0; }
  .item { border-bottom: 1px solid var(--line); }
  .items .item:nth-child(-n+2) { border-top: 1px solid var(--line); }
}
/* seconda fila: testo con sottolineatura, non pillola */
.gnav .gnav-sub a { padding: 9px 0; border-radius: 0; background: none; }
.gnav .gnav-sub a[aria-current="true"] { background: none; color: var(--ink); }
.algs { white-space: nowrap; }
.dl-ph.dl-none, .dstrip-phs i.dl-none { color: rgba(110, 84, 68, .45); }
.dl-ph.dl-none svg { width: 55%; }
.dstrip-phs i.dl-none svg { width: 60%; }
.dlist span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Versione con comparti ---------- */
.gnav-sub { display: none !important; }
.grp, .sec { scroll-margin-top: 140px; }
.gnav-in { padding-bottom: 10px; }
.grp-t + .acc, .gsupp + .acc, .dstrip + .acc { margin-top: 16px; }
.acc .items { border-top: 0; margin-top: 2px; }
.acc .acc-in > .items .item:last-child { border-bottom: 0; }
.sec.acc { margin-top: 12px; }
.acc-in { padding: 0 4px; }
.d-custom-s { margin-top: 8px; font-size: .84rem; color: var(--ink-2); text-align: center; line-height: 1.4; }
/* Personalizza: l'elenco completo degli ingredienti in un comparto */
.b-search-all { display: block; margin-top: 16px; }
.b-allt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; color: var(--ink); }
.b-allt svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.b-allt[aria-expanded="true"] svg { transform: rotate(180deg); }
.b-allt:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Pulizia testi (audit): note di sezione come riga piccola, Personalizza più asciutto */
.sec-note, .acc-in > .sec-note:first-child { margin: 8px 0 0; background: none; border: 0; border-radius: 0; padding: 0; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.b-k { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-right: 60px; }
.b-k .b-reset { font-size: .84rem; font-weight: 500; color: var(--ink-2); margin: 0; }
.b-change { border: 0; background: none; padding: 6px 4px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; align-self: center; }
.b-change[aria-expanded="true"] { text-decoration: none; color: var(--ink-2); }
.w-a { display: block; font-size: .95rem; }
.mf-kv small { display: block; font-size: .8rem; color: var(--ink-2); margin-top: 2px; }
