  /* per il titolo del contenuto */
 @import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500&display=swap');

 /* per i bottoni */
 @import url('https://fonts.googleapis.com/css2?family=Notable&display=swap');
  /* per i bottoni Birra Font*/
 @import url('https://fonts.googleapis.com/css2?family=Notable&family=Passion+One&display=swap');
/*  font-family: 'Notable', sans-serif; */
 @import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
/*  font-family: 'Oswald', sans-serif; */

/* FONT KENE QUASI CORSIVO */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Upright:wght@300;400;500;600;700&display=swap');
/* font-family: "Cormorant Upright", serif; */

/* FONT CORSIVO BENVENUTO */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
/* font-family: "Dancing Script", cursive; */


:root {
    --colore-bottoni:  #191717e0;
    --color-testo-bottoni:  #ffffff; /* #782D34 */
    --color-bordo-bottoni: #ffffff;
    --font-bottoni: segnaposto;
    --font-testo: "Cormorant Upright", serif;

    --color-testotagliere: #6f2028;
  } 

 /* FONT */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Upright:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

:root {
    --bg-dark: #1a1a1a;
    --bg-card: #222222;
    --text-white: #ffffff;
    --text-muted: #aaaaaa;
    --accent: #e74c3c;
    --accent-hover: #c0392b;
    --font-testo: "Cormorant Upright", serif;
    --font-prezzo: 'Oswald', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-testo);
    overflow-x: hidden;
}

/* ========== JUMBOTRON ========== */
#jumbo {
    background-image: url('img/lavagna2.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.logojumbo {
    width: 280px;
    padding: 15px;
}

/* ========== TABS CATEGORIE (Deliveroo style) ========== */
.cat-tabs-wrapper {
    background: var(--bg-dark);
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 10;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-tabs-wrapper::-webkit-scrollbar {
    display: none;
}
.cat-tabs {
    display: flex;
    gap: 0;
    padding: 0;
    white-space: nowrap;
}
.cat-tab {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-testo);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.cat-tab .cat-tab-en {
    display: block;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.cat-tab.active {
    color: var(--text-white);
    border-bottom-color: var(--accent);
    background: rgba(255,255,255,0.05);
}

/* ========== CONTENUTO CATEGORIA ========== */
.cat-content-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px 16px 80px 16px;
    touch-action: pan-y;
}
.cat-content {
    min-height: 300px;
}

/* ========== STILI ITEM (invariati ma puliti) ========== */
.item_food {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 10px;
}
.item_beverage {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}
.piatto {
    flex: 1;
    min-width: 0;
}
.nome_piatto {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Pallino colore per pietanze */
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-rosso { background: #c0392b; }
.dot-verde { background: #27ae60; }
.dot-azzurro { background: #0BC8E5; }
.dot-giallo { background: #f1c40f; }
.lineaSottofood {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 4px 0 6px 0;
}
.ingredienti {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}
.prezzo_food {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    font-family: var(--font-prezzo);
    white-space: nowrap;
    padding-top: 2px;
}
.allergeni {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.allergeni img {
    width: 22px;
    height: 22px;
}

/* ========== LEGENDA COLORI ========== */
.legend {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 10px 0;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.legend-item span:first-child {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}
.legend-item span:last-child {
    color: var(--text-muted);
    font-size: 12px;
}

/* ========== BIRRE ========== */
.item_birra {
    text-align: center;
    margin-bottom: 20px;
}
.nome_birra {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}
.lineaSottoNomeBirra {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 6px auto;
    width: 120px;
}
.descrizione_birra {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}
.capienza_item {
    background: var(--accent);
    color: white;
    font-size: 18px;
    border-radius: 4px;
    font-weight: 600;
    padding: 4px 10px;
}
.prezzo_item {
    font-size: 18px;
    color: var(--text-white);
    font-family: var(--font-prezzo);
}
.riga_pair_grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-rows: auto auto;
    gap: 4px 24px;
    justify-content: center;
    text-align: center;
    margin-top: 10px;
}

/* ========== VINI ========== */
.cantina-titolo {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    color: var(--accent);
    font-family: "Dancing Script", cursive;
    margin: 20px 0 15px 0;
}
.item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 10px;
}
.spazioVino {
    flex: 1;
}
.nomeVino {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}
.lineaSottoNomeVino {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 4px 0;
}
.vitigni {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 3px;
}
.gradazione {
    font-size: 12px;
    color: var(--text-muted);
}
.prezzarioVini {
    text-align: right;
    white-space: nowrap;
    font-family: var(--font-prezzo);
}
.i-bott, .i-calice {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 4px;
}
.bottiglia {
    height: 36px;
    width: 12px;
}
.calice {
    height: 26px;
}
.prezzo_vinojanto {
    font-size: 16px;
    color: var(--text-white);
}

/* ========== AMARI / BIBITE ========== */
.titolo_amari {
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 8px 0;
}

/* ========== MENU PERCORSO ========== */
.percorso {
    margin-bottom: 30px;
}
.titolo-percorso {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}
.titolo-percorso.terra { color: var(--accent); }
.titolo-percorso.mare { color: #0BC8E5; }
.titolo-percorso.veggie { color: #2ecc71; }
.sottotitolo-percorso {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}
.lista-menu-percorso {
    list-style: none;
    text-align: center;
    padding: 0;
    margin-bottom: 10px;
}
.lista-menu-percorso li {
    display: inline;
    margin: 0 8px;
    color: var(--text-white);
    font-size: 16px;
}
.lista-menu-percorso li::after {
    content: " •";
    color: var(--accent);
}
.lista-menu-percorso li:last-child::after {
    content: "";
}
.prezzo-percorso {
    text-align: center;
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 8px;
}
.prezzo-percorso-span {
    font-size: 14px;
    color: var(--text-muted);
}
.proposta-beverage {
    text-align: center;
    margin-top: 8px;
}
.tit-proposta-beverage {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 4px;
}
.scritta-bev {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 2px;
}
.separa-percorso {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 0;
}

/* ========== NO ITEMS ========== */
.no-items {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    padding: 40px 0;
    font-style: italic;
}

/* ========== FOOTER ========== */
#footer {
    background-image: url('img/lavagna2.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.logoFooter {
    width: 40%;
    max-width: 200px;
    margin-top: 20px;
}
#footer p {
    color: var(--text-muted);
    font-size: 12px;
}
#footer code {
    color: var(--text-muted);
    font-size: 11px;
}
#footer a {
    color: var(--text-muted);
    text-decoration: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .logojumbo { width: 220px; }
    .cat-tab { font-size: 13px; padding: 12px 14px; }
    .cat-tab .cat-tab-en { font-size: 10px; }
    .nome_piatto { font-size: 18px; }
    .prezzo_food { font-size: 16px; }
    .cantina-titolo { font-size: 22px; }
}
#card-9 {
    background-color: var(--colore-bottoni);
    font-size: 12px;
    border: 2px solid var(--color-bordo-bottoni);
}
#card-piatti-del-giorno {
    background-color: rgb(71, 11, 11);
    color: white;
    font-size: 12px;
    border: 2px solid var(--color-bordo-bottoni);
}
#card-buns {
    background-color: rgb(105, 69, 14);
    color: white;
    font-size: 12px;
    border: 2px solid var(--color-bordo-bottoni);
}
.riquadri{
    width: 100%;
    justify-content: space-between;
}

 #footer {
    /*  height: 450px; */
   
    background-image: url('img/lavagna2.jpg'); 
    background-position-x: center;
  background-size: cover; 
    font-size: 11px;
     color: blanchedalmond;
     padding-bottom: 20px;

     -webkit-box-shadow: -1px -19px 28px 0px rgba(0,0,0,0.55);
-moz-box-shadow: -1px -19px 28px 0px rgba(0,0,0,0.55);
box-shadow: -1px -19px 28px 0px rgba(0,0,0,0.55);
margin-top: 40px;
 }
.logoFooter{
    margin-top: 40px;
    width: 40%;
}
 .piccino {
     font-size: 10px;
 }




/* ============================================
   SWIPE CONTAINER (stile JustEat)
   ============================================ */
.swipe-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}
.swipe-container.grabbing {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.swipe-track {
    display: flex;
    transition: none;
    will-change: transform;
}
.swipe-page {
    min-width: 100%;
    flex-shrink: 0;
    padding: 10px 5px;
    box-sizing: border-box;
}
.swipe-page-header {
    text-align: center;
    padding: 15px 0 5px 0;
}
.swipe-page-title {
    font-family: var(--font-testo);
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}
.swipe-page-content {
    min-height: 200px;
}
.swipe-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    flex-wrap: wrap;
}
.swipe-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s;
}
.swipe-dot.active {
    background: white;
    transform: scale(1.3);
}
@media (max-width: 480px) {
    .swipe-indicators {
        gap: 6px;
    }
    .swipe-dot {
        width: 8px;
        height: 8px;
    }
}