/* =============================================================================
   prodotti.css — pagine di prodotto di www.menudigitali.cloud
   =============================================================================

   PERCHE' NON E' TAILWIND
   La home passa da src/input.css e da `npm run build`. Queste pagine no: sono
   scritte a mano, come scopri.menudigitali.cloud, e per la stessa ragione. Una
   pagina che dipende da un passo di build e' una pagina che il giorno in cui
   nessuno lancia il build esce senza stile — e nessuno se ne accorge finche' un
   cliente non la apre. Qui il CSS e' il file che viene servito: se si vede nel
   repo, si vede anche online.

   Le variabili e i nomi delle classi sono gli stessi di scopri, cosi' le due
   proprieta' restano riconoscibili come la stessa cosa.
   ========================================================================== */

:root {
  --blu: #1F4E79;
  --blu2: #2E7BC4;
  --scuro: #0d2138;
  --scuro2: #132f4c;
  --oro: #F59E0B;
  --oro2: #D98806;
  --testo: #334155;
  --tenue: #64748b;
  --bordo: #e2e8f0;
  --sfondo: #f8fafc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--testo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

h1, h2, h3 { font-family: Poppins, Inter, sans-serif; line-height: 1.15; margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--blu2); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* Salto al contenuto: invisibile finche' non lo si raggiunge da tastiera. */
.salta {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: var(--blu); padding: 12px 18px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.salta:focus { left: 0; }

/* ================= TESTATA =================
   A differenza di scopri qui il menu di navigazione c'e': chi legge una scheda
   di prodotto sta confrontando, e deve poter passare all'altra senza tornare
   indietro col tasto del browser. */
.top { background: var(--scuro); padding: 14px 0; position: sticky; top: 0; z-index: 100; }
.top .wrap { display: flex; align-items: center; gap: 18px; }
.top a.marchio { display: inline-flex; flex-shrink: 0; }
.top img { height: 32px; filter: brightness(0) invert(1); display: block; }

.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.top nav a {
  color: #b6c6d8; text-decoration: none; font-size: .87rem; font-weight: 600;
  padding: 8px 12px; border-radius: 9px; transition: color .15s, background .15s;
  white-space: nowrap;
}
.top nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.top nav a.attivo { color: #fff; background: rgba(255, 255, 255, .12); }
.top nav a.chiedi {
  background: var(--oro); color: #fff; font-weight: 800;
  box-shadow: 0 6px 16px rgba(245, 158, 11, .28);
}
.top nav a.chiedi:hover { background: var(--oro2); color: #fff; }

@media (max-width: 900px) {
  .top .wrap { flex-wrap: wrap; }
  .top nav { margin-left: 0; width: 100%; overflow-x: auto; padding-bottom: 2px; }
}

/* ================= APERTURA ================= */
.hero {
  position: relative; background: var(--scuro); color: #e8eef5;
  padding: 54px 0 62px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -180px; right: -140px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(46, 123, 196, .36) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -220px; left: -160px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(245, 158, 11, .17) 0%, transparent 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.briciole { font-size: .82rem; color: #8fa5bd; margin: 0 0 18px; }
.briciole a { color: #8fa5bd; text-decoration: none; }
.briciole a:hover { color: #cddced; text-decoration: underline; }

.occhiello {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 158, 11, .15); color: #fbc25c;
  font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px; margin-bottom: 18px;
  border: 1px solid rgba(245, 158, 11, .3);
}
.occhiello::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; }

.hero h1 {
  font-size: clamp(1.95rem, 5.4vw, 3rem); font-weight: 800; color: #fff;
  margin-bottom: 16px; letter-spacing: -.02em; overflow-wrap: break-word; max-width: 15ch;
}
.hero p.sub { font-size: clamp(1rem, 2.3vw, 1.14rem); color: #a8bccf; max-width: 620px; margin: 0; }

/* Chi usa lo strumento, detto subito: e' la prima domanda di un ristoratore. */
.per-chi {
  display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 26px 0 0; padding: 0;
}
.per-chi li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px; padding: 9px 14px; font-size: .86rem; color: #cddced; font-weight: 600;
}
.per-chi i { color: #fbc25c; font-size: .82rem; }

/* ================= COSA FA ================= */
.cosa-fa { padding: 58px 0; background: var(--sfondo); }
.titolo-sez {
  text-align: center; font-size: clamp(1.4rem, 3.6vw, 2rem);
  color: var(--scuro2); margin-bottom: 10px;
}
.intro-sez {
  text-align: center; color: var(--tenue); max-width: 620px; margin: 0 auto 36px;
}

.griglia-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.griglia-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 880px) {
  .griglia-3, .griglia-2 { grid-template-columns: 1fr; gap: 16px; }
}

.scheda {
  background: #fff; border: 1px solid var(--bordo); border-radius: 18px; padding: 26px 24px;
  transition: transform .18s, box-shadow .18s;
}
.scheda:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(19, 47, 76, .09); }
.scheda .cerchio {
  width: 46px; height: 46px; border-radius: 13px; background: rgba(245, 158, 11, .13);
  display: grid; place-items: center; margin-bottom: 15px;
}
.scheda .cerchio i { font-size: 1.2rem; color: var(--oro2); }
.scheda h3 { font-size: 1.07rem; color: var(--scuro2); margin-bottom: 8px; }
.scheda p { font-size: .93rem; color: #5b6675; margin: 0; }

/* ================= COME SI INCASTRA =================
   La sezione che giustifica il prezzo: non si compra uno strumento, si compra
   il fatto che i sei parlino fra loro. Detta a parole, non a icone. */
.incastro { background: var(--scuro2); color: #e2e8f0; padding: 54px 0; }
.incastro h2 { color: #fff; text-align: center; font-size: clamp(1.35rem, 3.6vw, 1.9rem); margin-bottom: 10px; }
.incastro > .wrap > p.intro { color: #b6c6d8; text-align: center; max-width: 560px; margin: 0 auto 32px; }

.catena { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.catena li {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 16px 18px;
}
.catena .passo {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(245, 158, 11, .18); color: #fbc25c;
  display: grid; place-items: center; font-weight: 800; font-size: .82rem;
}
.catena b { color: #fff; display: block; font-size: .95rem; margin-bottom: 2px; }
.catena span { font-size: .89rem; color: #b6c6d8; }

/* ================= DETTAGLIO ================= */
.dettaglio { padding: 58px 0; }
.elenco-lungo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.elenco-lungo li {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--bordo); border-radius: 13px; padding: 14px 16px; background: #fff;
}
.elenco-lungo i { color: #34d399; margin-top: 4px; flex-shrink: 0; }
.elenco-lungo b { color: var(--scuro2); }
.elenco-lungo span { display: block; font-size: .9rem; color: #5b6675; }

/* Riquadro di onesta': cosa NON fa, o cosa serve perche' funzioni. Un sito che
   dice solo di si' non lo crede nessuno, e le sorprese si pagano in assistenza. */
.nota-onesta {
  margin-top: 28px; background: #fffbeb; border: 1px solid #fde68a;
  border-left: 4px solid var(--oro); border-radius: 12px; padding: 18px 20px;
}
.nota-onesta b { color: #92400e; display: block; margin-bottom: 4px; }
.nota-onesta p { margin: 0; font-size: .92rem; color: #78350f; }

/* ================= ALTRI STRUMENTI ================= */
.altri { background: var(--sfondo); padding: 54px 0; }
.griglia-altri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .griglia-altri { grid-template-columns: 1fr; } }
.altro {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1px solid var(--bordo); border-radius: 15px; padding: 18px;
  text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.altro:hover { border-color: #bcd6ef; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(19, 47, 76, .08); }
.altro .cerchio {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(46, 123, 196, .1);
  display: grid; place-items: center; flex-shrink: 0;
}
.altro .cerchio i { color: var(--blu2); font-size: 1rem; }
.altro b { display: block; color: var(--scuro2); font-size: .97rem; }
.altro span { font-size: .85rem; color: var(--tenue); }

/* ================= CHIUSURA ================= */
.chiusura { background: var(--scuro); color: #e8eef5; padding: 58px 0; text-align: center; position: relative; overflow: hidden; }
.chiusura::before {
  content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 420px;
  background: radial-gradient(circle, rgba(46, 123, 196, .28) 0%, transparent 70%);
  pointer-events: none;
}
.chiusura .wrap { position: relative; }
.chiusura h2 { color: #fff; font-size: clamp(1.4rem, 3.6vw, 2rem); margin-bottom: 12px; }
.chiusura p { color: #b6c6d8; max-width: 540px; margin: 0 auto 26px; }
.bottone-oro {
  display: inline-flex; align-items: center; gap: 10px; background: var(--oro); color: #fff;
  padding: 16px 32px; border-radius: 13px; font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 26px rgba(245, 158, 11, .3); transition: background .15s, transform .08s;
}
.bottone-oro:hover { background: var(--oro2); color: #fff; }
.bottone-oro:active { transform: scale(.99); }
.chiusura small { display: block; margin-top: 14px; color: #8fa5bd; font-size: .82rem; }

/* ================= PIEDE ================= */
.piede { background: #0B1220; color: #94a3b8; padding: 40px 0 28px; font-size: .86rem; }
.piede .wrap { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: flex-start; }
.piede img { height: 30px; filter: brightness(0) invert(1); opacity: .8; margin-bottom: 10px; }
.piede a { color: #94a3b8; text-decoration: none; }
.piede a:hover { color: #fff; }
.piede .colonna b { color: #e2e8f0; display: block; margin-bottom: 9px; font-size: .84rem; }
.piede .colonna ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.piede .fondo {
  border-top: 1px solid #1e293b; margin-top: 26px; padding-top: 18px;
  font-size: .78rem; color: #64748b; text-align: center; width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .scheda, .altro, .bottone-oro { transition: none; }
}

/* =============================================================================
   DIMOSTRAZIONI GIOCABILI
   ============================================================================= */

.demo-viva { background: var(--scuro2); color: #e2e8f0; padding: 56px 0; position: relative; overflow: hidden; }
.demo-viva::before {
  content: ""; position: absolute; top: -200px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(46,123,196,.30) 0%, transparent 68%); pointer-events: none;
}
.demo-viva .wrap { position: relative; }
.demo-viva h2 { color: #fff; text-align: center; font-size: clamp(1.35rem,3.6vw,1.95rem); margin-bottom: 8px; }
.demo-viva .intro { color: #b6c6d8; text-align: center; max-width: 560px; margin: 0 auto 30px; }
.demo-viva .finta { text-align: center; color: #7f95ab; font-size: .78rem; margin: 18px 0 0; }

.scena { display: grid; gap: 22px; align-items: start; max-width: 900px; margin: 0 auto; }
.scena-2 { grid-template-columns: 1fr 1fr; }
.scena-1 { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 820px) { .scena-2 { grid-template-columns: 1fr; } }

.sotto-scena { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

.azzera {
  display: block; margin: 16px auto 0; background: none; border: 1px solid #2c4a68;
  color: #9fb6cd; border-radius: 10px; padding: 9px 18px; font-size: .82rem;
  font-family: inherit; cursor: pointer; transition: color .15s, border-color .15s;
}
.azzera:hover { color: #fff; border-color: #4a6d90; }
.sotto-scena .azzera { margin: 0; }

/* ---- Telefono ---- */
.telefono { background: #fff; border-radius: 26px; padding: 14px; box-shadow: 0 18px 46px rgba(0,0,0,.34); }
.telefono .barra { display: flex; align-items: center; gap: 6px; padding: 0 4px 10px; }
.telefono .barra span { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.telefono .barra b { margin-left: auto; font-size: .66rem; color: #94a3b8; font-weight: 600; }

.lingue { display: flex; gap: 6px; padding: 0 2px 10px; }
.lingua {
  flex: 1; border: 1px solid #e6edf5; background: #f8fbff; color: #56708c; border-radius: 9px;
  padding: 7px 4px; font-size: .74rem; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.lingua:hover { border-color: #bcd6ef; }
.lingua.is-on { background: var(--blu); border-color: var(--blu); color: #fff; }

.piatto {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  border: 1px solid #eef2f7; background: #fff; border-radius: 14px; padding: 11px 12px;
  margin-bottom: 8px; cursor: pointer; font-family: inherit;
  transition: border-color .15s, background .15s, transform .08s;
}
.piatto:hover { border-color: #bcd6ef; background: #f8fbff; }
.piatto:active { transform: scale(.985); }
.piatto .testo { display: flex; flex-direction: column; min-width: 0; }
.piatto .nome { font-weight: 700; color: #132f4c; font-size: .92rem; }
.piatto .desc { font-size: .74rem; color: #94a3b8; margin-top: 2px; }
.piatto .prezzo { margin-left: auto; font-weight: 800; color: var(--blu); font-size: .9rem; white-space: nowrap; }
.piatto .piu {
  width: 26px; height: 26px; border-radius: 50%; background: var(--oro); color: #fff;
  font-weight: 800; display: grid; place-items: center; flex-shrink: 0; font-size: .95rem;
}
.totale {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 6px 2px; border-top: 1px solid #eef2f7; margin-top: 4px;
  font-weight: 800; color: #132f4c;
}
.totale small { font-weight: 600; color: #94a3b8; font-size: .72rem; }

/* ---- Pannello di destra (cucina, conto, registratore, consegne) ---- */
.pannello-lato { background: #0d2238; border: 1px solid #1e3a56; border-radius: 20px; padding: 20px; min-height: 240px; }
.pannello-lato .testa {
  display: flex; align-items: center; gap: 9px; color: #9fb6cd; font-size: .74rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px;
}
.pannello-lato .spia { width: 8px; height: 8px; border-radius: 50%; background: #475d75; transition: background .2s, box-shadow .2s; }
.pannello-lato.accesa .spia { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.vuoto { color: #7f95ab; font-size: .86rem; line-height: 1.5; margin: 0; }
.avviso { color: #fbbf24; font-size: .86rem; line-height: 1.5; margin: 0; }

.scontrino {
  background: #fffdf7; color: #1e293b; border-radius: 8px; padding: 14px 15px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .78rem; line-height: 1.5;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.scontrino .cap { text-align: center; font-weight: 700; border-bottom: 1px dashed #cbd5e1; padding-bottom: 7px; margin-bottom: 8px; }
.scontrino .voce { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.scontrino .tot { display: flex; justify-content: space-between; border-top: 1px dashed #cbd5e1; margin-top: 8px; padding-top: 7px; font-weight: 700; }
.scontrino .resto { color: #047857; font-weight: 700; }
.riga-nuova { animation: esce .32s ease-out; }
@keyframes esce { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }

/* ---- Cruscotto ---- */
.cruscotto { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 18px 46px rgba(0,0,0,.28); }
.cruscotto-testa { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.periodi { display: inline-flex; gap: 4px; background: #f1f5f9; padding: 4px; border-radius: 11px; }
.periodo {
  border: 0; background: none; color: #64748b; border-radius: 8px; padding: 7px 14px;
  font-size: .8rem; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .15s, color .15s;
}
.periodo.is-on { background: #fff; color: var(--blu); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

.kpi-riga { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
@media (max-width: 620px) { .kpi-riga { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #f8fafc; border: 1px solid var(--bordo); border-radius: 13px; padding: 12px 13px; }
.kpi-eti { display: block; font-size: .68rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.kpi-num { display: block; font-size: 1.35rem; font-weight: 900; color: #132f4c; margin-top: 3px; font-family: Poppins, Inter, sans-serif; }
.kpi-delta { font-size: .72rem; color: #059669; font-weight: 700; }

.grafico { display: flex; align-items: flex-end; gap: 6px; height: 130px; padding: 0 2px; }
.grafico span { flex: 1; background: #dbeafe; border-radius: 6px 6px 0 0; min-height: 4px; }
.grafico span.is-max { background: var(--blu); }
.grafico-ore { display: flex; gap: 6px; padding: 6px 2px 0; }
.grafico-ore span { flex: 1; text-align: center; font-size: .64rem; color: #94a3b8; font-weight: 600; }

.top-piatti { margin-top: 18px; border-top: 1px solid var(--bordo); padding-top: 14px; }
.top-piatti b { font-size: .74rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.top-piatti ol { margin: 8px 0 0; padding-left: 18px; color: #334155; font-size: .88rem; }
.top-piatti li { padding: 2px 0; }

/* ---- Bacheca cucina ---- */
.kds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .kds { grid-template-columns: 1fr; } }
.kds-col { background: #0d2238; border: 1px solid #1e3a56; border-radius: 16px; padding: 14px; min-height: 210px; }
.kds-tit { display: flex; align-items: center; gap: 7px; color: #9fb6cd; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.kds-tit b { background: rgba(255,255,255,.1); border-radius: 20px; padding: 1px 8px; font-size: .7rem; }
.kds-tit.is-caldo { color: #fbbf24; }
.kds-tit.is-ok { color: #34d399; }
.kds-tic {
  display: block; width: 100%; text-align: left; background: #12304e; border: 1px solid #244868;
  border-left: 3px solid #4a6d90; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
  cursor: pointer; font-family: inherit; color: #e2e8f0; transition: transform .1s, border-color .15s, background .15s;
}
.kds-tic:hover { background: #17395c; }
.kds-tic:active { transform: scale(.98); }
.kds-tic b { display: block; font-size: .84rem; font-weight: 800; }
.kds-tic i { display: block; font-style: normal; font-size: .76rem; color: #9fb6cd; }
.kds-tic .tempo { display: block; margin-top: 5px; font-size: .68rem; color: #6f88a3; font-variant-numeric: tabular-nums; }
.kds-tic.is-caldo { border-left-color: var(--oro); }
.kds-tic.is-ok { border-left-color: #34d399; }

/* ---- Sala ---- */
.sala { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 18px 46px rgba(0,0,0,.28); }
.sala-tit { display: block; font-size: .72rem; color: #94a3b8; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.tavoli { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tavolo {
  border: 1.5px solid #e6edf5; background: #f8fbff; border-radius: 12px; padding: 12px 4px;
  font-family: inherit; font-weight: 800; color: #132f4c; cursor: pointer; font-size: .95rem;
  transition: border-color .15s, background .15s;
}
.tavolo small { display: block; font-weight: 600; font-size: .62rem; color: #94a3b8; margin-top: 2px; }
.tavolo:hover { border-color: #bcd6ef; }
.tavolo.is-on { background: var(--blu); border-color: var(--blu); color: #fff; }
.tavolo.is-on small { color: rgba(255,255,255,.75); }
.tavolo.occupato { opacity: .5; }
.listino { margin-top: 16px; border-top: 1px solid var(--bordo); padding-top: 14px; }
.voce {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  border: 1px solid #eef2f7; background: #fff; border-radius: 11px; padding: 10px 12px;
  margin-bottom: 7px; cursor: pointer; font-family: inherit; font-size: .88rem; color: #334155;
  transition: border-color .15s, background .15s;
}
.voce:hover { border-color: #bcd6ef; background: #f8fbff; }
.voce b { color: var(--blu); }
.divisione { margin-top: 14px; }
.dividi {
  width: 100%; border: 1px solid #2c4a68; background: rgba(255,255,255,.05); color: #cddced;
  border-radius: 10px; padding: 10px; font-family: inherit; font-weight: 700; font-size: .84rem; cursor: pointer;
}
.dividi:hover { background: rgba(255,255,255,.12); color: #fff; }
.quota { color: #fbc25c; font-size: .82rem; margin: 10px 0 0; }

/* ---- Cassa ---- */
.cassa { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 18px 46px rgba(0,0,0,.28); }
.cassa-tot, .cassa-versato { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: 12px; margin-bottom: 8px; }
.cassa-tot { background: var(--blu); color: #fff; }
.cassa-versato { background: #f1f5f9; color: #132f4c; }
.cassa-tot small, .cassa-versato small { font-size: .72rem; opacity: .8; font-weight: 600; }
.cassa-tot b, .cassa-versato b { font-size: 1.3rem; font-weight: 900; font-family: Poppins, Inter, sans-serif; }
.tastiera { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 14px 0; }
.tasto {
  border: 1px solid #e6edf5; background: #f8fbff; border-radius: 11px; padding: 13px 0;
  font-family: inherit; font-size: 1.05rem; font-weight: 800; color: #132f4c; cursor: pointer;
  transition: background .12s, transform .08s;
}
.tasto:hover { background: #eaf3fd; }
.tasto:active { transform: scale(.96); }
.metodi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.metodo {
  border: 0; border-radius: 12px; padding: 13px 8px; font-family: inherit; font-weight: 800;
  font-size: .9rem; cursor: pointer; color: #fff; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: filter .15s, transform .08s;
}
.metodo[data-metodo="contanti"] { background: #16a34a; }
.metodo[data-metodo="carta"] { background: var(--blu); }
.metodo:hover { filter: brightness(1.08); }
.metodo:active { transform: scale(.98); }

/* ---- Consegne ---- */
.ordini { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 18px 46px rgba(0,0,0,.28); }
.ordine {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: 1px solid #eef2f7; background: #fff; border-radius: 12px; padding: 10px 12px;
  margin-bottom: 7px; cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s, opacity .2s;
}
.ordine:hover { border-color: #bcd6ef; background: #f8fbff; }
.ordine.is-on { border-color: var(--blu); background: #eaf3fd; }
.ordine.assegnato { opacity: .4; cursor: default; }
.canale { font-size: .64rem; font-weight: 800; padding: 3px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: .03em; flex-shrink: 0; }
.canale.je { background: #fff1e6; color: #c2410c; }
.canale.gl { background: #fef9e7; color: #a16207; }
.canale.mio { background: #e8f1fb; color: var(--blu); }
.ordine .dove { font-size: .84rem; color: #475569; font-weight: 600; }
.riders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.rider {
  border: 1.5px solid #e6edf5; background: #f8fbff; border-radius: 11px; padding: 11px 4px;
  font-family: inherit; font-weight: 800; font-size: .88rem; color: #132f4c; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.rider:hover { border-color: var(--blu); background: #eaf3fd; }
.consegna { background: #12304e; border: 1px solid #244868; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.consegna-testa { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.consegna-testa b { color: #fff; font-size: .86rem; }
.consegna .fase { font-size: .68rem; color: #fbc25c; font-weight: 700; }
.consegna .dove { display: block; font-size: .76rem; color: #9fb6cd; margin: 3px 0 8px; }
.barra-avanz { height: 5px; background: rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; }
.barra-avanz span { display: block; height: 100%; background: linear-gradient(90deg, var(--oro), #34d399); border-radius: 20px; transition: width .5s cubic-bezier(.2,.8,.2,1); }

/* =============================================================================
   COMPARSA ALLO SCORRIMENTO
   ============================================================================= */
.rivela { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.rivela.visibile { opacity: 1; transform: none; }
.rivela[data-ritardo="1"] { transition-delay: .07s; }
.rivela[data-ritardo="2"] { transition-delay: .14s; }
.rivela[data-ritardo="3"] { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  .rivela { opacity: 1; transform: none; transition: none; }
  .riga-nuova { animation: none; }
  .piatto, .kds-tic, .tasto, .metodo, .barra-avanz span { transition: none; }
}
