/* --- VARIABILI DARK MODE --- */
:root {
    --accent: #e67e22;
    --dark: #f5f6fa;  
    --white: #ffffff;
    --bg: #222831;
    --primary: #31363F;
    --secondary: #EEEEEE;
    --tertiary: #1b1c20;
    --accent: #76ABAE;
    --gray-light: #f1f2f6;
    --transition: 0.3s ease;
    --header-height: 100px;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    margin: 0;
    color: var(--dark);
    scroll-behavior: smooth;
    top: 0 !important;
    position: static !important;
}
body > .skiptranslate {
    display: none;
}
html {
    top: 0 !important;
}
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-value span:nth-child(2) {
    display: none !important;
    visibility: hidden !important;
}
section { padding: 10px 0 0 0; }
.container { max-width: 60rem; margin: auto; padding: 15px; }
/* --- NUOVO HEADER BILANCIATO --- */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    padding: 0 15px;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1100; /* Più alto della nav */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-side {
    flex: 1;
    display: flex;
    align-items: center;
}
.header-side.right { justify-content: flex-end; }
.header-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-center img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 14px;
}
.header-center h1 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#btn-back {
    display: none;
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 10px;
    margin-left: -10px;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}
#btn-back:hover { opacity: 0.7; }
#btn-back svg { display: block; }
#btn-info {
    display: block;
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}
#btn-info:hover { opacity: 0.7; }
#btn-info svg { display: block; }
/* --- NAVIGAZIONE CATEGORIE STICKY --- */
.cat-nav-wrapper {
    position: sticky;
    top: var(--header-height);
    z-index: 998;
    background: var(--tertiary);
    display: none;
    align-items: center;
    justify-content: center;
}
.cat-nav {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    background: var(--tertiary);
    padding: 12px 15px;
    position: sticky;
    top: var(--header-height);
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    gap: 10px;
    border-top: 1px solid rgba(0,0,0,0.02);
    align-items: center;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav { -ms-overflow-style: none; scrollbar-width: none; }
.cat-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gray-light);
    border-radius: 25px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #777;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
    flex-shrink: 0;
}
.cat-link.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.scroll-btn {
    display: none;
    background: var(--white);
    border: none;
    width: 40px;
    height: 100%;
    cursor: pointer;
    z-index: 10;
    color: var(--primary);
    transition: 0.3s;
    align-items: center;
    justify-content: center;
    border: 0px;
    border-radius: 50px;
    margin: 10px;
}
.scroll-btn:hover { background: var(--accent); color: var(--white); }
/* Mostra i pulsanti solo su Desktop */
@media (min-width: 1024px) {
    .scroll-btn { display: flex; }
    .cat-nav-wrapper::before, .cat-nav-wrapper::after {
        content: '';
        position: absolute;
        top: 0; bottom: 0;
        width: 20px;
        z-index: 5;
        pointer-events: none;
    }
    .cat-nav-wrapper::before { left: 40px; background: linear-gradient(to right, var(--tertiary), transparent); }
    .cat-nav-wrapper::after { right: 40px; background: linear-gradient(to left, var(--tertiary), transparent); }
}
/* --- HOME SCREEN: SCELTA MENÙ --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;  
    animation: fadeIn 0.5s ease;
}
.grid-title {
    text-align: center;
    grid-column: 1 / -1;
    margin-bottom: 10px;
    color: var(--dark);
}
.menu-choice-card {
    position: relative;
    background: var(--primary);
    padding: 45px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-choice-card.has-bg {
    background-size: cover;
    background-position: center;
    border: none;
}
/* Overlay scuro per card con immagine */
.menu-choice-card.has-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.menu-choice-card .card-content {
    position: relative;
    z-index: 2; /* Sopra l'overlay */
}
.menu-choice-card.has-bg h2 { color: white; }
.menu-choice-card.has-bg small { color: rgba(255,255,255,0.9); }
.menu-choice-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}
.menu-choice-card h2 { margin: 0; font-size: 1.5rem; }
.menu-choice-card small {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-top: 10px;
}
/* --- SEARCH & FILTER SECTION --- */
.search-section {
    padding: 10px 0 20px 0;
}
.search-flex-container {
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 15px;
    transition: var(--transition);
}
.search-bar:focus-within {
    border-color: var(--accent);
    background: var(--primary);
}
.search-icon { color: #666; margin-right: 10px; }
.menu-search-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 14px 0;
    font-size: 0.95rem;
    outline: none;
}
.filter-btn {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
/* --- PANNELLO ALLERGENI --- */
.allergen-filter-panel {
    display: none;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 15px;
    margin-top: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease-out;
}
.filter-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 5px 0 15px 5px;
}
.allergen-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.allergen-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #bbb;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.allergen-chip.selected {
    background: var(--accent);
    color: var(--white);
    border-color: #e74c3c;
}
.filter-mini-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    filter: brightness(0.8);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- SEZIONE SERVIZI --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.service-card {
    background: var(--primary);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.service-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}
.service-details strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
    margin: 0 0 10px 0;
}
.service-details small {
    display: block;
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-bottom: 5px;
}
.service-options {
    font-size: 0.7rem;
    font-style: italic;
    color: var(--accent);
    margin: 5px 0;
}
.service-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.service-tag.free { background: #e8f5e9; color: #2e7d32; }
.service-tag.paid { background: #fff3e0; color: #ef6c00; }
/* --- CONTENUTI E PRODOTTI --- */
.menu-content { display: none; }
.menu-content.active { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.category-title {
    border-left: 5px solid var(--accent);
    padding-left: 12px;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-card {
    background: var(--primary);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: var(--transition);
}
.product-img { width: 95px; height: 95px; border-radius: 12px; object-fit: cover; }
.product-info {flex: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.info-left { flex: 1; }
.info-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; height: 100%; min-width: 90px; }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.product-title { font-weight: 700; font-size: 1.1rem; margin: 0; line-height: 1.3; }
.info-right .product-price { margin-bottom: auto; color: var(--accent); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.btn-add-cart {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
}
.btn-add-cart:active { transform: scale(0.95); }
.ingredients { font-size: 0.85rem; color: #7f8c8d; margin: 8px 0; line-height: 1.4; }
/* Allergeni */
.allergen-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.allergen-tag {
    display: inline-flex;
    align-items: center;
    background: var(--gray-light);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    color: #57606f;
    text-transform: uppercase;
}
.aller-mini-icon { width: 13px; height: 13px; margin-right: 5px; }
/* Banner Prezzo Fisso */
.fixed-price-banner {
    background: #fff3e0;
    color: #e67e22;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ffe0b2;
    font-size: 1rem;
}
/* --- STATUS BADGE (Pallino Dinamico) --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
}
/* Animazione pulsante per locale aperto */
.status-open { background: rgba(46, 125, 50, 0.1); color: #2ecc71; }
.status-open .status-dot { background: #2ecc71; box-shadow: 0 0 10px #2ecc71; animation: pulse-green 2s infinite; }
.status-closed { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }
.status-closed .status-dot { background: #e74c3c; }
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
/* --- CALENDARIO ORARI --- */
.hours-calendar {
    background: var(--primary);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.hours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.calendar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}
.calendar-row:last-child { border-bottom: none; }
.calendar-row.is-today {
    background: color-mix(in srgb, var(--secondary), transparent 90%);
    border-left: 4px solid var(--accent);
}
.day-label {
    font-weight: 700;
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}
.today-tag {
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 1px;
}
.time-slots {
    display: flex;
    gap: 5px;
    align-items: flex-end;
}
.time-pill {
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--dark);
    border: 1px solid var(--border);
}
.closed-label {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}
/* --- SECTION PRENOTAZIONE TAVOLO --- */
.booking-section {
    margin-bottom: 40px;
}
.booking-card {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.booking-card label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
/* Input e Form */
.booking-card input[type="date"],
.booking-card input[type="number"],
.booking-card input[type="text"],
.booking-card input[type="tel"],
.booking-card input[type="email"],
.booking-card textarea {
    width: 100% !important; /* Forza la larghezza al 100% del contenitore padre */
    box-sizing: border-box; /* IMPORTANTE: include padding e bordo nel calcolo della larghezza */
    display: block;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: color-mix(in srgb, var(--secondary), transparent 90%);
    color: var(--white);
    font-family: inherit;
}
/* Fix specifico per la riga affiancata (Giorno e Persone) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Due colonne uguali */
    gap: 15px; /* Spazio tra le due colonne */
    width: 100%;
    box-sizing: border-box;
}
/* Assicuriamoci che i gruppi interni non sforino */
.booking-card .form-group {
    width: 100%;
    overflow: hidden; /* Taglia eventuali sbordamenti */
}
.booking-card input:focus,
.booking-card textarea:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.05);
}
/* Griglia Orari (Slot) */
.slots-wrapper {
    margin-top: 20px;
    min-height: 50px;
}
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.slot-pill {
    background: color-mix(in srgb, var(--secondary), transparent 90%);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 10px 5px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin: 5px;
    padding: 10px;
}
.slot-pill:hover {
    border-color: var(--accent);
}
.slot-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: scale(1.05);
}
/* Checkbox Gruppo Numeroso */
.group-request {
    margin: 15px 0 25px 0;
}
.checkbox-container {
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #bbb;
    user-select: none;
    text-transform: none !important;
}
/* Dati Personali (Appaiono dopo la scelta dell'ora) */
.personal-info-fields {
    border-top: 1px dashed var(--border);
    animation: fadeIn 0.4s ease;
}
.form-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}
.btn-primary {
    background: var(--accent);
    border: 0;
    padding: 15px 20px;
    color: var(--white);
    border-radius: 50px;
}
/* Feedback Messaggi */
.booking-feedback {
    margin-top: 20px;
}
.alert-success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #2ecc71;
    font-size: 0.9rem;
    text-align: center;
}
.alert-error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e74c3c;
    font-size: 0.9rem;
    text-align: center;
}
/* Utility Class per evidenziare il campo persone se gruppo numeroso */
.highlight-accent {
    border-color: var(--accent) !important;
    box-shadow: 0 0 10px rgba(255, 126, 0, 0.2);
}
.select-hint {
    color: #555;
    font-style: italic;
    font-size: 0.85rem;
}
.loading {
    color: var(--accent);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Animazioni */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Mobile Fix */
@media (max-width: 480px) {
    .booking-card {
        padding: 15px;
    }
    .form-row {
        grid-template-columns: 1fr; /* Una colonna sola su telefoni piccoli */
        gap: 0;
    }
}
/* --- SELETTORE LINGUE --- */
.mynu-lang-wrapper {
    display: flex;
    justify-content: flex-end; /* Lo posiziona a destra */
}
.custom-dropdown {
    position: relative;
    display: inline-block;
    z-index: 9999;
}
.dropdown-btn {
    background: var(--bg);
    border: 1px solid var(--bg);
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-family: inherit;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.dropdown-btn span {
    color: var(--white);
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--primary);
    min-width: 160px;
    border-radius: 12px;
    margin-top: 8px;
    z-index: 9999;
    overflow: hidden;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.dropdown-content a {
    color: var(--white);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: background 0.2s;
}
.dropdown-content a:hover {
    background-color: var(--tertiary);
}
.flag-img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    display: block;
}
/* Opzionale: cambia icona nel tasto principale quando selezioni */
.dropdown-btn img {
    width: 20px;
    margin-right: 8px;
}
/* Mostra il menù quando ha la classe show */
.dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.arrow { font-size: 0.6rem; transition: transform 0.2s; }
.dropdown-btn.active .arrow { transform: rotate(180deg); }
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}
/* Nasconde i popup che appaiono passando il mouse sui testi tradotti */
.goog-tooltip, .goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* --- CART --- */
#cart-floater { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: var(--tertiary); color: var(--white); padding: 12px 25px; border-radius: 50px; display: flex; align-items: center; gap: 15px; box-shadow: 0 4px 20px rgba(0,0,0,0.4); z-index: 1000; cursor: pointer; }
.cart-count { background: var(--accent); color: var(--white); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 12px; }
.cart-content { background: var(--primary); width: 50%; margin: 40px auto; border-radius: 15px; padding: 20px; color: #000; max-height: 90vh; overflow-y: auto; position: relative;}
.cart-content h3 { color: var(--white); margin: 0 0 25px 0 !important; }
.qty-controls { display: flex; align-items: center; gap: 10px; background: #f0f0f0; border-radius: 20px; padding: 2px 10px; }
.qty-btn { background: none; border: none; font-size: 18px; font-weight: bold; cursor: pointer; color: #000; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; }
.cart-item-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; padding-bottom: 10px; }
.cart-item-text { color: var(--white); }
.btn-close-cart { background: var(--accent); color: #fff; border: none; padding: 12px 15px; border-radius: 50px; font-size: 0.85rem; cursor: pointer; transition: transform 0.2s; white-space: nowrap; margin-top: 20px; }
#dynamic-order-fields input,
#dynamic-order-fields textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: inherit;
    outline: none;
    transition: 0.3s;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0px;
    font-size: 16px;
}
/* Aggiungi anche un effetto al focus per vedere la transizione */
#dynamic-order-fields input:focus,
#dynamic-order-fields textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
/* Container dei selettori */
.order-type-selector {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}
/* Stile base del Label (che ora sembra un pulsante) */
.order-type-selector label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid var(--accent); /* Colore bordo di base */
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    color: var(--accent); /* Testo del colore accento di base */
    background: transparent;
}
/* Nascondiamo il pallino del radio button */
.order-type-selector input[type="radio"] {
    display: none;
}
/* Quando l'input dentro il label è selezionato... */
.order-type-selector label:has(input:checked) {
    background-color: var(--accent); /* Sfondo pieno con il colore accento */
    color: #ffffff; /* Testo bianco */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Effetto al passaggio del mouse per feedback */
.order-type-selector label:hover {
    background-color: rgba(var(--accent-rgb), 0.1); /* Un leggero velo del colore accento */
}
/* --- STILE RECENSIONI MYNÙ --- */
.reviews-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}
.reviews-scroll-wrapper::-webkit-scrollbar { display: none; }
.mynu-review-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
    background: var(--primary);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}
.review-avatar, .review-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.review-initial {
    background: #af1e35; /* Tuo colore primario */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}
.review-meta {
    display: flex;
    flex-direction: column;
}
.author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}
.review-date {
    font-size: 0.7rem;
    color: #94a3b8;
}
.google-mini-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    opacity: 0.6;
}
.review-stars {
    color: #fbbc04; /* Oro classico Google */
    font-size: 0.8rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.review-text {
    font-size: 0.85rem;
    color: var(--white);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Footer con i controlli */
.reviews-nav-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}
.nav-btn-round {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.nav-btn-round:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .reviews-nav-footer { display: none; }
}
/* --- GALLERIA FOTOGRAFICA --- */
.gallery-container {
    padding: 0 5px;
}
/* Base: Mobile Carousel */
.gallery-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0 20px 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar {
    display: none;
}
.gallery-item {
    flex: 0 0 85%;
    height: 300px;
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: center;
    border: 1px solid var(--border);
    background: var(--secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:active img {
    transform: scale(1.05);
}
/* Dots: visibili su mobile/tablet */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}
.dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.3);
}
/* --- ADATTAMENTO DESKTOP (GRID) --- */
@media (min-width: 1024px) {
    .gallery-scroll {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    .gallery-item {
        flex: none;
        width: 100%;
        height: 250px;
        scroll-snap-align: none;
        transition: transform 0.3s ease;
    }
    .gallery-item:hover { transform: translateY(-5px); }
    .gallery-dots { display: none; }
}
/* --- LIGHTBOX MODAL --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}
.lightbox.active .lightbox-content { transform: scale(1);}
.close-lightbox {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* --- FOOTER --- */
.main-footer {
    background: var(--primary);
    margin-top: 50px;
    text-align: center;
}
.main-footer .container { padding: 25px 15px; }
.bottom-footer { padding: 10px 0px; background: var(--tertiary); }
.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.footer-section p { text-align: left; }
.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-link:hover { color: var(--accent); }
.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin: 10px 0;
    width: 100%;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--accent);
    color: var(--secondary);
    transform: translateY(-3px);
}
.footer-copy {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    flex-direction: column;
}
.footer-policy {
    font-size: 0.75rem;
    color: #999;
}
/* Stili Chatbot */
.chat-container {
    position: fixed; bottom: 20px; right: 20px;
    width: 320px; border-radius: 15px;
    box-shadow: 0px 5px 25px rgba(0,0,0,0.2);
    display: none; z-index: 3000; overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}
.chat-header {
    background: var(--primary); color: white; padding: 15px;
    display: flex; align-items: center; justify-content: space-between;
}
.chat-header img { width: 35px; height: 35px; border-radius: 50%; border: 2px solid white; }
.chat-box { height: 350px; overflow-y: auto; padding: 15px; background: #f9f9f9; }
.message { margin-bottom: 15px; display: flex; flex-direction: column; }
.message.bot { align-items: flex-start; }
.message.user { align-items: flex-end; }
.message .text {
    padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.4;
    max-width: 85%;
}
.message.bot .text { background: var(--primary); color: white; border-bottom-left-radius: 2px; }
.message.user .text { background: #e0e0e0; color: #333; border-bottom-right-radius: 2px; }
.chat-toggle {
    position: fixed; bottom: 20px; right: 20px;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary); border: none; cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 2999;
    display: flex; align-items: center; justify-content: center;
}
.chat-toggle img { width: 100%; border-radius: 50%; }
.suggestion-btn {
    background: white; color: var(--primary); border: 1px solid var(--primary);
    padding: 6px 12px; border-radius: 20px; font-size: 12px;
    margin: 4px; cursor: pointer; transition: 0.2s;
}
.suggestion-btn:hover { background: var(--primary); color: white; }
.input-box { display: flex; padding: 10px; border-top: 1px solid #eee; background: white; }
.input-box input { flex: 1; border: 1px solid #ddd; padding: 10px; border-radius: 20px; outline: none; }
@media (max-width: 600px) {
    .cat-nav { justify-content: safe center; }
    .menu-grid { grid-template-columns: repeat(1, 1fr); }
    .status-badge { font-size: 0.6rem; }
    .product-card { gap: 10px; padding: 10px; }
    .product-img { width: 80px; height: 80px; }
    .cart-content { width: 80%; }
    .chat-container {width: 90%;}
    .footer-content { flex-direction: column; }
    .footer-social { justify-content: center; }
}