/*!* style.css - versione fedele al PDF *!*/
/*@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@400;700&display=swap');*/

/*:root{*/
/*    --paper-bg: #fbf7f0;      !* fondo avorio chiaro *!*/
/*    --accent: #1f1a17;        !* colore scuro per titoli e tab attive *!*/
/*    --muted: #6b635e;         !* testo secondario *!*/
/*    --line: #e6e0d8;          !* linee e bordi *!*/
/*    --accent-light: #f3eee8;  !* card background *!*/
/*    --max-width: 920px;*/
/*}*/

/*!* Reset base *!*/
/**{box-sizing:border-box}*/
/*body{*/
/*    margin:0;*/
/*    font-family: 'Montserrat', Arial, sans-serif;*/
/*    background: var(--paper-bg);*/
/*    color: #222;*/
/*    -webkit-font-smoothing:antialiased;*/
/*    -moz-osx-font-smoothing:grayscale;*/
/*    line-height:1.35;*/
/*}*/

/*!* Container centrale *!*/
/*.container{*/
/*    max-width: var(--max-width);*/
/*    margin: 28px auto;*/
/*    padding: 28px;*/
/*    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4));*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 6px 20px rgba(30,26,23,0.06);*/
/*    border: 1px solid var(--line);*/
/*}*/

/*!* Header principale come nel PDF *!*/
/*.menu-header{*/
/*    text-align:center;*/
/*    padding-bottom: 18px;*/
/*    border-bottom: 3px solid var(--line);*/
/*    margin-bottom: 18px;*/
/*}*/
/*.menu-header h1{*/
/*    font-family: 'Playfair Display', Georgia, serif;*/
/*    font-weight:700;*/
/*    letter-spacing: 4px;*/
/*    font-size: 42px;*/
/*    color: var(--accent);*/
/*    margin: 6px 0 6px 0;*/
/*    text-transform: uppercase;*/
/*}*/
/*.menu-header p.small{*/
/*    font-size: 12px;*/
/*    color: var(--muted);*/
/*    margin:0;*/
/*    font-weight: 300;*/
/*}*/

/*!* NAV TABS (categoria) *!*/
/*.tabs{*/
/*    margin-top: 18px;*/
/*    margin-bottom: 18px;*/
/*    overflow-x: auto;*/
/*}*/
/*.tabs ul{*/
/*    display:flex;*/
/*    gap: 10px;*/
/*    padding: 0;*/
/*    margin: 0;*/
/*    list-style: none;*/
/*}*/
/*.tabs li{*/
/*    white-space:nowrap;*/
/*    padding: 8px 14px;*/
/*    background: var(--accent-light);*/
/*    border-radius: 20px;*/
/*    border: 1px solid var(--line);*/
/*    font-weight:600;*/
/*    color: var(--accent);*/
/*    cursor:pointer;*/
/*    transition: transform .12s ease, background .12s ease;*/
/*}*/
/*.tabs li.active{*/
/*    background: var(--accent);*/
/*    color: #fff;*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 6px 14px rgba(31,26,23,0.12);*/
/*}*/

/*!* Sezione contenuto *!*/
/*.tab-content{*/
/*    margin-top: 8px;*/
/*}*/

/*!* Nome della tab nella pagina (titolo sezione) *!*/
/*.tab-panel h2{*/
/*    font-family: 'Playfair Display', serif;*/
/*    font-size: 26px;*/
/*    margin: 10px 0 12px 0;*/
/*    color: var(--accent);*/
/*    letter-spacing: 1px;*/
/*    text-transform: none;*/
/*}*/

/*!* Lista piatti: layout a due colonne con leader dots *!*/
/*.items{*/
/*    display:block;*/
/*}*/
/*.item{*/
/*    display:flex;*/
/*    align-items:flex-start;*/
/*    gap: 18px;*/
/*    padding: 12px 6px;*/
/*    position: relative;*/
/*    border-bottom: 1px dashed var(--line);*/
/*}*/

/*!* Left column: nome + descrizione *!*/
/*.item-left{*/
/*    flex: 1 1 auto;*/
/*    min-width: 0;*/
/*}*/
/*.item-left h3{*/
/*    margin:0 0 4px 0;*/
/*    font-size: 17px;*/
/*    font-weight: 700;*/
/*    color: #111;*/
/*    letter-spacing: 0.2px;*/
/*    font-family: 'Montserrat', sans-serif;*/
/*}*/

/*!* description: più piccoli e sottili *!*/
/*.item-left p{*/
/*    margin:0;*/
/*    font-size: 13px;*/
/*    color: var(--muted);*/
/*    font-weight: 300;*/
/*    opacity: 0.95;*/
/*}*/

/*!* Right column: prezzo *!*/
/*.item-right{*/
/*    flex: 0 0 100px;*/
/*    text-align: right;*/
/*    font-weight:700;*/
/*    font-size: 16px;*/
/*    color: var(--accent);*/
/*    white-space: nowrap;*/
/*}*/

/*!* Leader dots (fill space between name and price) *!*/
/*!* implementazione: pseudo-element on .item that draws repeating dots *!*/
/*.item::before{*/
/*    content: "";*/
/*    display: block;*/
/*    height: 1px;*/
/*    position: absolute;*/
/*    left: calc( (100% - 100px) * 0.55 ); !* start gap - tuned for balance *!*/
/*    right: 100px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    background-image: radial-gradient(circle, rgba(150,140,130,0.6) 1px, transparent 1px);*/
/*    background-size: 6px 2px;*/
/*    opacity: 0.45;*/
/*    pointer-events: none;*/
/*}*/

/*!* Quando lo schermo è stretto su mobile non mostrare i dots per non creare artefatti *!*/
/*@media (max-width:640px){*/
/*    .item::before{ display:none; }*/
/*}*/

/*!* Footer *!*/
/*.menu-footer{*/
/*    margin-top: 20px;*/
/*    text-align:center;*/
/*    color: var(--muted);*/
/*    font-size: 13px;*/
/*    letter-spacing: 1px;*/
/*}*/

/*!* ADMIN styles (pannello) - coerenti con grafica *!*/
/*.admin .admin-panels{*/
/*    display:grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 16px;*/
/*    margin-top: 12px;*/
/*}*/
/*.admin .panel{*/
/*    background: #fff;*/
/*    border-radius: 8px;*/
/*    padding: 14px;*/
/*    border: 1px solid var(--line);*/
/*}*/
/*.admin h2{ margin-top:0; font-size:18px; color:var(--accent); font-weight:700; }*/
/*.admin input, .admin select, .admin textarea{*/
/*    width:100%;*/
/*    border:1px solid #ddd;*/
/*    padding:8px;*/
/*    border-radius:6px;*/
/*    margin-top:8px;*/
/*    font-size:14px;*/
/*}*/
/*.admin button{*/
/*    margin-top:10px;*/
/*    padding:10px 14px;*/
/*    background: var(--accent);*/
/*    color:#fff;*/
/*    border: none;*/
/*    border-radius: 6px;*/
/*    cursor: pointer;*/
/*    font-weight:700;*/
/*}*/

/*!* list items in admin *!*/
/*.admin .list { list-style:none; padding:0; margin:8px 0 0 0; }*/
/*.admin .list li { display:flex; justify-content:space-between; padding:6px 2px; border-bottom:1px solid #f1efe9; }*/

/*!* Responsive adjustments *!*/
/*@media (max-width:1000px){*/
/*    .admin .admin-panels{ grid-template-columns: 1fr; }*/
/*    .item-right{ flex-basis: 92px; }*/
/*}*/

/*@media (max-width:720px){*/
/*    .container{ padding:18px; margin:12px; }*/
/*    .menu-header h1{ font-size:32px; }*/
/*    .tab-panel h2{ font-size:22px; }*/
/*    .item h3{ font-size:16px; }*/
/*    .item{ padding:10px 0; }*/
/*    .tabs li{ padding:7px 12px; font-size:14px; }*/
/*}*/


/******************************************************************************************************/


@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand+SC&display=swap');

/* ROOT COLORS basati sul PDF */
:root {
    --blue-line: #4E64AC;
    --red-accent: #AD3731;
    --paper-bg: #FEFEFE;
}

/* BASE */
body {
    margin: 0;
    font-family: 'Patrick Hand SC', sans-serif;
    background: var(--paper-bg);
    color: #222;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Sfondo foglio rigato */
.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 25px;

    background:
            repeating-linear-gradient(
                    to bottom,
                    var(--paper-bg),
                    var(--paper-bg) 22px,
                    var(--blue-line) 23px
            );

    border: 2px solid #DDD;
    border-radius: 6px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* HEADER */
.menu-header {
    text-align: center;
    margin-bottom: 22px;
}
.menu-header h1 {
    font-size: 40px;
    color: var(--red-accent);
    margin-bottom: 5px;
}
.menu-header .small {
    font-size: 14px;
    letter-spacing: 0;
}

/* TABS stile quaderno */
.tabs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}
.tabs li {
    padding: 6px 14px;
    background: #ffffffd9;
    border: 2px solid var(--blue-line);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.tabs li.active {
    background: var(--blue-line);
    color: #fff;
}

/* SEZIONI */
.tab-panel h2 {
    color: var(--red-accent);
    font-size: 26px;
    margin-top: 10px;
}

/* LISTA PIATTI */
.item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 2px dashed rgba(0,0,0,0.15);
}
.item-left h3 {
    margin: 0;
    font-size: 20px;
}
.item-left p {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #555;
    text-transform: none;
}
.price {
    font-size: 20px;
    font-weight: bold;
    color: var(--red-accent);
}

/* FOOTER */
.menu-footer {
    text-align: center;
    margin-top: 30px;
    color: #333;
}

.allergen-codes {
    font-size: 12px;
    color: var(--red-accent);
    margin-left: 6px;
    letter-spacing: 1px;
}





