/* ============================================
   TOTEM SELF-ORDER — Tablet 13-14" verticale
   v29: nuova grafica dal mockup approvato (docs/mockup-totem-v28)
   ============================================ */

.totem-page {
    --tt-scuro: #28211c;          /* testate (come lo splash) */
    --tt-sfondo: #faf8f5;         /* crema chiaro */
    --tt-bordo: #e4e0da;
    --tt-testo: #292420;
    --tt-testo-2: #6b645b;
    --tt-testo-3: #8a8378;
    --tt-rosso: var(--totem-rosso, #e0552e);
    --tt-rosso-scuro: var(--totem-rosso-hover, #c2441f);
    --tt-verde: var(--totem-verde, #42332a);
    background: var(--tt-sfondo);
    color: var(--tt-testo);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

.totem-page button {
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.totem-screen {
    display: none;
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.totem-screen.active {
    display: flex;
    flex-direction: column;
}

/* ============================================
   SPLASH (invariato)
   ============================================ */

.totem-splash {
    background: linear-gradient(160deg, #28211c 0%, #231c17 50%, #42332a 100%);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.splash-content {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.splash-logo img {
    width: 380px;
    max-width: 80vw;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(224, 85, 46, 0.35));
}

.splash-title {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.splash-cta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 32px;
    padding: 20px 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    animation: splashPulse 2s ease-in-out infinite;
}

@keyframes splashPulse {
    0%, 100% { border-color: rgba(255, 255, 255, 0.2); transform: scale(1); }
    50% { border-color: rgba(255, 255, 255, 0.5); transform: scale(1.03); }
}

/* ============================================
   PEZZI COMUNI: testata, barra in basso, pulsanti
   ============================================ */

.tt-testata {
    height: 88px;
    flex-shrink: 0;
    background: var(--tt-scuro);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
}

.tt-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
}

.tt-marchio {
    flex: 1;
    font-size: 26px;
    font-weight: 800;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-btn-testata {
    min-height: 56px;
    padding: 0 22px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.tt-btn-testata:active { background: rgba(255, 255, 255, 0.12); }

.tt-barra {
    height: 124px;
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid var(--tt-bordo);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
}

.tt-barra-info { min-width: 0; }
.tt-barra-etichetta { font-size: 18px; color: var(--tt-testo-2); }
.tt-barra-totale { font-size: 34px; font-weight: 900; }

.tt-barra.tt-barra-flash { animation: ttBarraFlash 0.5s ease; }
@keyframes ttBarraFlash {
    0% { background: #fff; }
    35% { background: #f6e3e3; }
    100% { background: #fff; }
}

.tt-cta {
    margin-left: auto;
    min-height: 80px;
    padding: 0 36px;
    border: none;
    border-radius: 18px;
    background: var(--tt-rosso);
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.1s, background 0.1s;
}

.tt-cta:active:not(:disabled) { background: var(--tt-rosso-scuro); transform: scale(0.97); }

.tt-cta:disabled {
    background: #d9d3cb;
    color: #fff;
    cursor: default;
}

.tt-cta-conta {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--tt-rosso);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.tt-cta:disabled .tt-cta-conta { color: #b5ada3; }

.tt-btn-secondario {
    min-height: 80px;
    padding: 0 28px;
    border-radius: 18px;
    border: 2px solid #d6d0c7;
    background: #fff;
    color: var(--tt-testo);
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
}

.tt-btn-secondario:active { background: #f3efe9; }

/* ============================================
   1 · MENU
   ============================================ */

.tt-menu-corpo {
    flex: 1;
    min-height: 0;
    display: flex;
    position: relative;
}

.tt-categorie {
    width: 210px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid var(--tt-bordo);
    padding: 12px 10px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tt-categorie::-webkit-scrollbar { display: none; }

.tt-cat {
    flex-shrink: 0;
    width: 100%;
    min-height: 72px;
    padding: 12px 16px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #4a443c;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.tt-cat + .tt-cat { box-shadow: 0 -1px 0 #f0ece6; }
.tt-cat.active,
.tt-cat.active + .tt-cat { box-shadow: none; }

.tt-cat.active {
    background: var(--tt-rosso);
    color: #fff;
}

.tt-cat:active:not(.active) { background: #f3efe9; }

/* Freccia "c'è altro sotto" in fondo alle categorie */
.tt-cat-hint {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 210px;
    height: 64px;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 75%);
    color: var(--tt-rosso);
    font-size: 18px;
    z-index: 5;
}

.tt-cat-hint span { animation: ttHint 1.6s ease-in-out infinite; }
@keyframes ttHint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.tt-prodotti {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 24px 28px;
}

.tt-cat-titolo {
    font-size: 38px;
    font-weight: 900;
    margin: 0 0 20px;
    line-height: 1.1;
}

.tt-griglia {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tt-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.1s;
}

.tt-card:active { transform: scale(0.97); }

.tt-card-foto {
    height: 210px;
    background-size: cover;
    background-position: center;
    background-color: #ece6dc;
}

.tt-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--tt-verde);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tt-card-info {
    flex: 1;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tt-card-senza-foto .tt-card-info { padding-top: 20px; }
.tt-card-senza-foto .tt-card-nome { padding-right: 110px; }

.tt-card-nome {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
}

.tt-card-desc {
    font-size: 16px;
    color: var(--tt-testo-2);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-card-riga {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tt-card-prezzo {
    font-size: 25px;
    font-weight: 900;
    color: var(--tt-rosso);
}

.tt-card-piu {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--tt-rosso);
    color: #fff;
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.tt-card-piu.tt-card-piu-ok {
    background: var(--tt-verde);
    font-size: 30px;
}

/* ============================================
   2 · PRODOTTO A TUTTO SCHERMO
   ============================================ */

.tt-prodotto { background: var(--tt-sfondo); }

.tt-prod-foto {
    flex-shrink: 0;
    position: relative;
    height: 108px;
    background: repeating-linear-gradient(45deg, #efe9df 0 14px, #e9e2d7 14px 28px);
    background-size: cover;
    background-position: center;
}

.tt-prod-foto.tt-prod-foto-piena { height: 250px; }

.tt-btn-menu {
    position: absolute;
    top: 22px;
    left: 22px;
    min-height: 64px;
    padding: 0 24px;
    border: none;
    border-radius: 32px;
    background: #fff;
    color: var(--tt-testo);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.tt-prod-info { flex-shrink: 0; padding: 20px 32px 0; }

.tt-prod-riga {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.tt-prod-nome {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
}

.tt-prod-prezzo {
    font-size: 36px;
    font-weight: 900;
    color: var(--tt-rosso);
    white-space: nowrap;
}

.tt-prod-desc {
    margin-top: 6px;
    font-size: 19px;
    color: var(--tt-testo-2);
    line-height: 1.35;
}

.tt-passi {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    padding: 18px 32px 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tt-passi::-webkit-scrollbar { display: none; }

.tt-passo {
    flex: 1 1 0;
    min-width: 120px;
    min-height: 60px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 2px solid var(--tt-bordo);
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.tt-passo b {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--tt-testo-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-passo span {
    display: block;
    margin-top: 2px;
    font-size: 16px;
    font-weight: 700;
    color: var(--tt-testo);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-passo.tt-passo-ok { border-color: #d6c8bf; }
.tt-passo.tt-passo-ok b { color: #5a4639; }
.tt-passo.tt-passo-on { background: var(--tt-rosso); border-color: var(--tt-rosso); }
.tt-passo.tt-passo-on b,
.tt-passo.tt-passo-on span { color: #fff; }

.tt-domanda {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 32px 14px;
}

.tt-domanda h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
}

.tt-contatore {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 999px;
    background: #f3e7d3;
    color: #7a4a00;
    font-weight: 800;
    font-size: 19px;
}

.tt-contatore.tt-contatore-ok { background: #f0e8e3; color: #42332a; }
.tt-contatore.tt-contatore-neutro { background: #eee9e2; color: var(--tt-testo-2); }

.tt-riquadri-area {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 32px 24px;
}

.tt-riquadri {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tt-riq {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    color: var(--tt-testo);
    transition: transform 0.1s, border-color 0.1s;
}

.tt-riq:active:not(:disabled) { transform: scale(0.97); }

.tt-riq-foto {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: #ece6dc;
}

.tt-riq-nome {
    display: block;
    padding: 14px 16px 6px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.tt-riq-senza-foto { min-height: 110px; justify-content: center; }
.tt-riq-senza-foto .tt-riq-nome { padding: 18px 56px 18px 18px; }

.tt-riq-extra {
    display: block;
    padding: 0 16px 14px;
    margin-top: -2px;
    font-size: 17px;
    font-weight: 800;
    color: var(--tt-rosso);
}

.tt-riq-senza-foto .tt-riq-extra { padding: 0 18px 16px; margin-top: -10px; }

.tt-riq.tt-riq-sel { border-color: var(--tt-rosso); }

.tt-riq-spunta {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tt-rosso);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 900;
    z-index: 1;
}

.tt-riq:disabled { opacity: 0.4; cursor: default; }

.tt-piede {
    flex-shrink: 0;
    height: 124px;
    background: #fff;
    border-top: 1px solid var(--tt-bordo);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 24px;
}

.tt-piede .tt-cta { max-width: 70%; }

/* ============================================
   3 · IL TUO ORDINE
   ============================================ */

.tt-righe {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tt-riga {
    flex-shrink: 0;
    display: flex;
    gap: 18px;
    padding: 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tt-riga-foto {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-color: #ece6dc;
}

.tt-riga-corpo { flex: 1; min-width: 0; }

.tt-riga-testa {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}

.tt-riga-nome { font-size: 25px; font-weight: 800; line-height: 1.2; }

.tt-riga-prezzo {
    font-size: 24px;
    font-weight: 900;
    color: var(--tt-rosso);
    white-space: nowrap;
}

.tt-riga-scelte {
    margin-top: 6px;
    font-size: 17px;
    color: #4a443c;
    line-height: 1.5;
}

.tt-riga-scelte-tab > div { display: flex; gap: 12px; }

.tt-riga-scelte-tab em {
    font-style: normal;
    font-weight: 700;
    color: var(--tt-testo-3);
    flex: 0 0 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-riga-azioni {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.tt-qta {
    display: flex;
    align-items: center;
    border: 2px solid var(--tt-bordo);
    border-radius: 14px;
    overflow: hidden;
}

.tt-qta-btn {
    width: 58px;
    height: 56px;
    border: none;
    background: #fff;
    color: var(--tt-testo);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.tt-qta-btn:active { background: #f3efe9; }

.tt-qta b {
    min-width: 40px;
    text-align: center;
    font-size: 22px;
}

.tt-btn-cambia {
    min-height: 56px;
    padding: 0 20px;
    border-radius: 12px;
    border: 2px solid var(--tt-bordo);
    background: #fff;
    color: var(--tt-testo);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.tt-btn-cambia:active { background: #f3efe9; }

.tt-ordine-fondo { flex-shrink: 0; padding: 0 32px 18px; }

.tt-avviso {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 4px 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--totem-crema, #ffe8dc);
    color: var(--tt-verde);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.tt-avviso svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.tt-dove-titolo { font-size: 22px; font-weight: 800; margin-bottom: 10px; }

.tt-dove-scelte { display: flex; gap: 16px; }

.tt-modo {
    flex: 1;
    min-height: 92px;
    border-radius: 18px;
    border: 3px solid var(--tt-bordo);
    background: #fff;
    color: var(--tt-testo);
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
}

.tt-modo svg { width: 28px; height: 28px; flex-shrink: 0; }

.tt-modo.tt-modo-on {
    border-color: var(--tt-verde);
    background: #f6f1ee;
    color: var(--tt-verde);
}

.tt-dove.tt-dove-manca .tt-modo { border-color: var(--tt-rosso); }
.tt-dove.tt-dove-manca { animation: ttScuoti 0.4s ease; }
@keyframes ttScuoti {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

/* ============================================
   FINESTRA "ANNULLARE L'ORDINE?"
   ============================================ */

.tt-dialogo {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.tt-dialogo-box {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.tt-dialogo-box h2 { margin: 0 0 8px; font-size: 30px; font-weight: 900; }
.tt-dialogo-box p { margin: 0 0 26px; font-size: 19px; color: var(--tt-testo-2); }
.tt-dialogo-azioni { display: flex; gap: 14px; }
.tt-dialogo-azioni > button { flex: 1; margin: 0; padding: 0 16px; font-size: 21px; }

/* ============================================
   CONFERMA (invariata)
   ============================================ */

.totem-conferma {
    background: linear-gradient(160deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
    align-items: center;
    justify-content: center;
}

.conferma-content {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.conferma-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: #fff;
    margin-bottom: 8px;
}

.conferma-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.conferma-numero {
    color: #fff;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 4px;
    margin: 16px 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.conferma-msg {
    color: rgba(255, 255, 255, 0.95);
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.conferma-msg-secondary {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 8px 0 0;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.conferma-timer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 24px;
}

.conferma-btn-nuovo {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
}

.conferma-btn-nuovo:active { background: rgba(255, 255, 255, 0.3); }

/* ============================================
   AVVISI (toast) e stati vuoti
   ============================================ */

.totem-toast {
    position: fixed;
    top: 104px;
    left: 50%;
    transform: translate(-50%, -20px);
    opacity: 0;
    pointer-events: none;
    max-width: 90vw;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 19px;
    font-weight: 700;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.totem-toast-show { opacity: 1; transform: translate(-50%, 0); }
.totem-toast-error { background: #dc2626; color: #fff; }
.totem-toast-success { background: #16a34a; color: #fff; }
.totem-toast-info { background: var(--tt-verde); color: #fff; }

.totem-loading,
.totem-empty,
.totem-errore {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--tt-testo-3);
    font-size: 19px;
}

.totem-errore { color: #dc2626; cursor: pointer; }

/* ============================================
   SCHERMI PIÙ STRETTI (tablet 800 px di larghezza CSS)
   ============================================ */

@media (max-width: 900px) {
    .tt-testata { height: 80px; padding: 0 18px; }
    .tt-marchio { font-size: 22px; }
    .tt-btn-testata { font-size: 16px; padding: 0 16px; }

    .tt-categorie { width: 180px; }
    .tt-cat-hint { width: 180px; }
    .tt-cat { font-size: 17px; min-height: 66px; padding: 10px 12px; }

    .tt-prodotti { padding: 18px 16px 24px; }
    .tt-cat-titolo { font-size: 30px; margin-bottom: 16px; }
    .tt-griglia { gap: 14px; }
    .tt-card-foto { height: 160px; }
    .tt-card-nome { font-size: 20px; }
    .tt-card-desc { font-size: 15px; }
    .tt-card-prezzo { font-size: 21px; }
    .tt-card-piu { width: 52px; height: 52px; font-size: 32px; }
    .tt-card-senza-foto .tt-card-nome { padding-right: 0; }

    .tt-barra, .tt-piede { height: 108px; padding: 0 18px; }
    .tt-barra-totale { font-size: 28px; }
    .tt-barra-etichetta { font-size: 16px; }
    .tt-cta { min-height: 72px; padding: 0 24px; font-size: 21px; }
    .tt-btn-secondario { min-height: 72px; padding: 0 20px; font-size: 19px; }

    .tt-prod-info, .tt-domanda { padding-left: 20px; padding-right: 20px; }
    .tt-passi { padding-left: 20px; padding-right: 20px; }
    .tt-riquadri-area { padding-left: 20px; padding-right: 20px; }
    .tt-prod-nome { font-size: 34px; }
    .tt-prod-prezzo { font-size: 30px; }
    .tt-domanda h2 { font-size: 26px; }
    .tt-contatore { font-size: 16px; }
    .tt-riquadri { gap: 12px; }
    .tt-riq-nome { font-size: 18px; }
    .tt-passo { min-width: 104px; }

    .tt-righe { padding: 18px 20px; }
    .tt-ordine-fondo { padding: 0 20px 14px; }
    .tt-riga-foto { width: 88px; height: 88px; }
    .tt-riga-nome { font-size: 22px; }
    .tt-riga-prezzo { font-size: 21px; }
    .tt-modo { min-height: 80px; font-size: 21px; }
}

/* Personalizzazione: logo del locale nella splash + firma Mestolo */
.splash-logo-locale img {
    width: 280px;
    max-width: 70vw;
    max-height: 40vh;
    object-fit: contain;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}
.splash-powered {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    letter-spacing: 1px;
}
.splash-powered img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}
