/**
 * MENU DIGITALE - STILE FRONTEND
 * ================================
 * PERSONALIZZA QUESTO FILE PER CAMBIARE L'ASPETTO DEL MENU
 * 
 * Modifica le variabili qui sotto per cambiare colori, font, ecc.
 */

:root {
    /* ========== COLORI PRINCIPALI ========== */
    /* Modifica questi per cambiare lo schema colori */
    
    --color-primary: #1a1a2e;           /* Colore principale (header, bottoni) */
    --color-primary-light: #16213e;     /* Variante chiara del primario */
    --color-accent: #e94560;            /* Colore accento (evidenze, prezzi offerta) */
    --color-background: #f8f9fa;        /* Sfondo pagina */
    --color-card: #ffffff;              /* Sfondo card prodotti */
    --color-text: #1a1a2e;              /* Testo principale */
    --color-text-light: #6c757d;        /* Testo secondario */
    --color-border: #e9ecef;            /* Bordi */
    
    /* ========== TIPOGRAFIA ========== */
    --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 32px;
    --font-size-xxl: 32px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    
    /* ========== SPAZIATURE ========== */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    /* ========== CARD PRODOTTO ========== */
    --card-radius: 16px;                /* Arrotondamento angoli */
    --card-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --card-padding: 16px;
    
    /* ========== HEADER ========== */
    --header-height: auto;
    --header-bg: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --header-text: #ffffff;
    
    /* ========== IMMAGINI PRODOTTO ========== */
    --product-image-height: 180px;
    --product-image-radius: 12px;
}


/* ============================================================
   DA QUI IN POI NON MODIFICARE (a meno che tu sappia cosa fai)
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background: var(--color-background);
    line-height: 1.5;
}

/* ========== HEADER ========== */
.menu-header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: var(--spacing-md) var(--spacing-lg);
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header con Hero Image come sfondo */
.menu-header.has-hero {
    min-height: 280px;
    padding: 40px var(--spacing-lg);
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #1a1a2e;
    color: #ffffff;
}

.menu-header .header-overlay {
    display: none;
}

.menu-header.has-hero .header-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.menu-header.has-hero .header-inner {
    position: relative;
    z-index: 2;
}

.menu-header.has-hero h1,
.menu-header.has-hero .slogan {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.menu-header.has-hero .slogan {
    opacity: 1;
}

.menu-header.has-hero .header-logo {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Responsive header con hero */
@media (max-width: 600px) {
    .menu-header.has-hero {
        min-height: 220px;
        padding: 30px var(--spacing-lg);
    }
}

@media (min-width: 1200px) {
    .menu-header.has-hero {
        min-height: 320px;
    }
}

.gtranslate_wrapper {
    position: absolute;
    top: 10px;
    right: 15px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.btn-prenota {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-accent);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-prenota:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 500px) {
    .btn-prenota {
        position: static;
        transform: none;
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-prenota:hover {
        transform: scale(1.05);
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.header-logo {
    max-width: 80px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.header-text {
    text-align: left;
}

.menu-header h1 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}

.menu-header .slogan {
    font-size: var(--font-size-sm);
    opacity: 0.85;
}

/* Se non c'è logo, centra il testo */
.header-text-only {
    text-align: center;
}

@media (max-width: 400px) {
    .header-logo {
        max-width: 60px;
        max-height: 50px;
    }
    
    .menu-header h1 {
        font-size: var(--font-size-lg);
    }
    
    .menu-header .slogan {
        font-size: var(--font-size-xs);
    }
}

/* ========== BARRA CATEGORIE STICKY (CAROSELLO) ========== */
.categories-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-background, #f8f9fa);
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--color-border, #e9ecef);
}

.categories-nav-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 4px 0;
}

.categories-nav-inner::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--color-card, #ffffff);
    color: var(--color-text, #1a1a2e);
    border: 2px solid var(--color-border, #e9ecef);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.category-pill:hover {
    border-color: var(--color-accent, #e94560);
    color: var(--color-accent, #e94560);
    transform: translateY(-1px);
}

.category-pill.active {
    background: var(--color-accent, #e94560);
    color: #ffffff;
    border-color: var(--color-accent, #e94560);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.pill-icon {
    font-size: 16px;
    line-height: 1;
}

.pill-text {
    line-height: 1;
}

/* ========== CONTENUTO PRINCIPALE ========== */
.menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

/* ========== ANIMAZIONI ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ========== PIATTO DEL GIORNO - HERO SECTION ========== */
.hero-piatto-section {
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 50%, #f59e0b 100%);
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-piatto-section:last-child {
    margin-bottom: 0;
}

.hero-piatto-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-piatto-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.hero-piatto-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-piatto-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #78350f;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(255,255,255,0.5);
}

.hero-piatto-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.hero-piatto-card:last-child {
    margin-bottom: 0;
}

.hero-piatto-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.hero-piatto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-piatto-content {
    padding: var(--spacing-lg);
    text-align: center;
}

.hero-piatto-name {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
}

.hero-piatto-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.hero-piatto-allergens {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.hero-piatto-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.price-old {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 24px;
    font-weight: 800;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* ========== I NOSTRI CONSIGLI - SEZIONE ========== */
.consigli-section {
    margin-bottom: 0;
}

.consigli-section:not(:last-child) {
    margin-bottom: var(--spacing-xl);
}

.consigli-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.consigli-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}

.consigli-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary, #1e3a5f);
    letter-spacing: 1.5px;
    margin: 0;
}

.consigli-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.consiglio-card {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #10b981;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.consiglio-card:last-child {
    margin-bottom: 0;
}

.consiglio-card.no-image .consiglio-content {
    padding-left: 20px;
}

.consiglio-card.no-image .consiglio-badge {
    left: 16px;
}

.consiglio-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.consiglio-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.consiglio-image {
    width: 120px;
    min-width: 120px;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
}

.consiglio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consiglio-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    font-size: 32px;
}

.consiglio-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consiglio-name {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.consiglio-description {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.consiglio-allergens {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.allergen-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 50%;
    color: #f57c00;
}

.allergen-icon-small svg {
    width: 12px;
    height: 12px;
}

.consiglio-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.price-old-small {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.consiglio-price .price-current {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 5px 14px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ========== CONTAINER CATEGORIE ========== */
.categories-container {
    margin-top: var(--spacing-lg);
}

.categories-container.hidden {
    display: none;
}

/* ========== GRIGLIA CATEGORIE (VISTA INIZIALE) ========== */
.categories-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Card con immagine */
.category-card.has-image {
    background-color: #1a1a2e;
}

/* Card senza immagine - gradient colorato con icona */
.category-card:not(.has-image) {
    background: linear-gradient(135deg, var(--color-primary, #1e3a5f) 0%, var(--color-accent, #f59e0b) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.category-card:active {
    transform: translateY(0);
}

/* Icona fallback per card senza immagine */
.category-card-icon-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
}

.category-card-icon-fallback span {
    font-size: 80px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Overlay scuro sopra immagine per leggibilità testo */
.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Contenuto categoria */
.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.category-card-name {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Responsive */
@media (min-width: 768px) {
    .categories-grid {
        gap: 20px;
        padding: 30px 24px;
    }

    .category-card {
        height: 200px;
    }

    .category-card-name {
        font-size: 32px;
    }

    .category-card-content {
        padding: 28px;
    }
}

/* Pulsante Torna alle Categorie */
.back-to-categories {
    padding: 40px 16px;
    text-align: center;
}

.btn-back-categories {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--color-primary, #1e3a5f);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-back-categories:hover {
    background: var(--color-accent, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-back-categories:active {
    transform: translateY(0);
}

.btn-back-categories .btn-icon {
    font-size: 20px;
    font-weight: bold;
}

.btn-back-categories .btn-text {
    letter-spacing: 0.5px;
}

/* ========== SEZIONE CATEGORIA (SCROLL CONTINUO) ========== */
.category-section {
    margin-bottom: var(--spacing-xl);
    scroll-margin-top: 80px; /* Offset per sticky nav */
}

.category-section:last-child {
    margin-bottom: var(--spacing-lg);
}

/* Header della sezione categoria */
.category-section-header {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-border, #e9ecef);
}

.category-section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.category-section-title h2 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary, #1a1a2e);
    margin: 0;
    line-height: 1.3;
}

.category-dot {
    width: 10px;
    height: 10px;
    background: var(--color-accent, #e94560);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2);
}

.category-description {
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* Lista prodotti - sempre visibile */
.products-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Legacy: mantieni compatibilità con vecchi stili */
.category-header {
    display: none; /* Nasconde vecchio header accordion se presente */
}

.category-products {
    display: block; /* Sempre visibile */
    padding: 0;
    background: transparent;
    border: none;
}

/* ========== GRIGLIA PRODOTTI ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* ========== CARD PRODOTTO VERTICALE ========== */
.product-card {
    display: block;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--color-accent, #f59e0b) 0%, var(--color-primary, #1a1a2e) 100%);
    border-radius: 16px 0 0 16px;
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Immagine grande */
.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    pointer-events: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Badge prodotto */
.product-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-novita { background: #ef4444; color: white; }
.badge-vegetariano { background: #22c55e; color: white; }
.badge-vegano { background: #16a34a; color: white; }
.badge-piccante { background: #f97316; color: white; }
.badge-senza_glutine { background: #3b82f6; color: white; }
.badge-consigliato { background: #eab308; color: white; }
.badge-bio { background: #84cc16; color: white; }

/* Contenuto */
.product-content {
    padding: 20px 22px;
    position: relative;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-description {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 14px;
    line-height: 1.6;
}

.product-allergens {
    margin-bottom: 12px;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
    margin-top: 12px;
}

.price-current {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-accent, #f59e0b) 0%, #d97706 100%);
    padding: 10px 22px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    letter-spacing: 0.5px;
}

.price-offer {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    animation: pulse-price 2s ease-in-out infinite;
}

@keyframes pulse-price {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.price-original {
    font-size: 15px;
    color: #9ca3af;
    text-decoration: line-through;
    display: block;
    margin-bottom: 8px;
}

/* Varianti nel layout verticale */
.price-variante {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    text-align: right;
}

.price-variante:last-child {
    margin-bottom: 0;
}

.variante-nome {
    font-size: 14px;
    color: #6b7280;
}

.variante-prezzo {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 4px 12px;
    border-radius: 16px;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

/* Lista verticale */
.products-list {
    display: flex;
    flex-direction: column;
}

/* ========== FINE CARD PRODOTTO ========== */

.old-product-description {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dettagli prodotto */
.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.product-detail {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-detail .icon {
    font-size: var(--font-size-sm);
}

/* Allergeni */
.product-allergens {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
}

.allergens-label {
    color: #b45309;
    font-weight: 500;
}

/* Varianti prodotto */
.product-varianti {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.variante-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: var(--font-size-sm);
}

.variante-item:not(:last-child) {
    border-bottom: 1px dashed var(--color-border);
}

.variante-nome {
    color: var(--color-text);
}

.variante-prezzo {
    font-weight: 600;
    color: var(--color-primary);
}

/* Tema elegante - varianti */
body.theme-elegante .variante-prezzo {
    color: var(--color-accent);
}

/* Tema minimal - varianti */
body.theme-minimal .variante-item {
    border-bottom-style: solid;
}

/* ========== PIATTO DEL GIORNO ========== */
.piatto-del-giorno-section {
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 152, 0, 0.05) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
}

/* ========== PRODOTTI IN EVIDENZA ========== */
.featured-section {
    margin-bottom: var(--spacing-xl);
}

.featured-title {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-icon svg {
    width: 100%;
    height: 100%;
}

/* ========== FOOTER ========== */
.menu-footer {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.footer-contatti {
    margin-bottom: var(--spacing-lg);
}

.footer-indirizzo {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.footer-indirizzo a {
    color: white;
    text-decoration: none;
}

.footer-indirizzo a:hover {
    text-decoration: underline;
}

.footer-contatti-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-icon {
    font-size: var(--font-size-base);
}

/* Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: white;
    transition: all 0.2s ease;
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-facebook:hover { background: #1877f2; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-tiktok:hover { background: #000000; }
.social-whatsapp:hover { background: #25d366; }
.social-tripadvisor:hover { background: #00af87; }

.footer-copy {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

.footer-copy a {
    color: var(--color-accent);
    text-decoration: none;
}

/* Footer tema elegante */
body.theme-elegante .footer-social .social-link {
    border-radius: 4px;
}

body.theme-elegante .footer-link,
body.theme-elegante .footer-indirizzo {
    letter-spacing: 0.5px;
}

/* Footer tema classico */
body.theme-classico .menu-footer {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

body.theme-classico .footer-social .social-link {
    background: rgba(255,255,255,0.2);
}

body.theme-classico .footer-social .social-link:hover {
    background: rgba(255,255,255,0.3);
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--color-text-light);
}

.empty-state .icon {
    font-size: 48px;
    display: block;
    margin-bottom: var(--spacing-sm);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .menu-header {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .menu-header h1 {
        font-size: var(--font-size-xl);
    }
    
    .menu-content {
        padding: var(--spacing-md);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .product-image {
        height: 160px;
    }
}

/* ========== TEMI ========== */

/**
 * TEMA MODERNO (default)
 * Contemporaneo, pulito, colori vivaci - perfetto per la maggior parte dei locali
 * Le variabili di default in :root sono già per il tema moderno
 */
body.theme-moderno {
    /* Usa le variabili di default */
}

/**
 * TEMA ELEGANTE
 * Raffinato, serif, nero/oro, per ristoranti gourmet e fine dining
 */
body.theme-elegante {
    --color-primary: #1a1a1a;
    --color-primary-light: #2d2d2d;
    --color-accent: #c9a227;
    --color-background: #faf9f7;
    --color-card: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #555555;
    --color-border: #e5e5e5;
    --font-family: 'Georgia', 'Playfair Display', 'Times New Roman', serif;
    --card-radius: 4px;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --header-bg: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.theme-elegante .menu-header h1 {
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: var(--font-size-lg);
}

body.theme-elegante .menu-header .slogan {
    font-style: italic;
    letter-spacing: 1px;
}

body.theme-elegante .category-title {
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: var(--font-size-lg);
    border-bottom: 1px solid var(--color-accent);
}

body.theme-elegante .featured-title {
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: var(--font-size-lg);
}

body.theme-elegante .product-name {
    font-weight: 500;
    letter-spacing: 0.5px;
}

body.theme-elegante .product-card {
    border: 1px solid var(--color-border);
    border-left: 4px solid #d4af37;
    background: linear-gradient(135deg, #faf9f7 0%, #ffffff 100%);
}

body.theme-elegante .product-card:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Prezzi tema elegante - Oro/dorato */
body.theme-elegante .price-current,
body.theme-elegante .price-badge,
body.theme-elegante .variante-prezzo {
    background: #1a1a1a;
    color: #d4af37;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

body.theme-elegante .consiglio-price .price-current {
    background: #1a1a1a;
    color: #d4af37;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

body.theme-elegante .hero-piatto-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3d3d3d 100%);
}

body.theme-elegante .hero-piatto-header h2 {
    color: #d4af37;
    text-shadow: none;
}

body.theme-elegante .hero-piatto-icon {
    filter: none;
}

body.theme-elegante .hero-piatto-card {
    border: 1px solid #d4af37;
}

body.theme-elegante .price-badge {
    background: #d4af37;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

body.theme-elegante .price-mercato {
    color: #d4af37;
    font-style: italic;
}

body.theme-elegante .category-dot {
    background: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

body.theme-elegante .consiglio-card {
    border-left-color: #d4af37;
}

body.theme-elegante .consiglio-badge {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #d4af37;
}

body.theme-elegante .menu-panel-dot {
    background: #d4af37;
}

/* Barra categorie elegante */
body.theme-elegante .categories-nav {
    background: #faf9f7;
    border-bottom-color: #e5e5e5;
}

body.theme-elegante .category-pill {
    background: transparent;
    border: 1px solid #d4af37;
    color: #1a1a1a;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}

body.theme-elegante .category-pill:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    color: #d4af37;
}

body.theme-elegante .category-pill.active {
    background: #1a1a1a;
    color: #d4af37;
    border-color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.theme-elegante .category-section-header {
    border-bottom-color: #d4af37;
}

body.theme-elegante .category-section-title h2 {
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: var(--font-size-lg);
    color: #1a1a1a;
}

body.theme-elegante .category-dot {
    background: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Card prodotto elegante */
body.theme-elegante .product-card {
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body.theme-elegante .product-card::before {
    background: linear-gradient(180deg, #d4af37 0%, #1a1a1a 100%);
    border-radius: 4px 0 0 4px;
}

body.theme-elegante .product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body.theme-elegante .product-name {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Allergeni elegante */
body.theme-elegante .allergen-icon {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    border-radius: 4px;
}

body.theme-elegante .allergen-icon:hover,
body.theme-elegante .allergen-icon:focus {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #d4af37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Legenda elegante */
body.theme-elegante .legenda-item {
    background: #faf9f7;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

body.theme-elegante .legenda-item.highlighted {
    background: #1a1a1a;
    border-color: #d4af37;
}

body.theme-elegante .legenda-item.highlighted .legenda-icon {
    color: #d4af37;
}

body.theme-elegante .legenda-item.highlighted .legenda-name {
    color: #ffffff;
}

/* Footer contatti elegante */
body.theme-elegante .footer-contatti-rapidi {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

body.theme-elegante .footer-contatti-title {
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

body.theme-elegante .footer-contatto-btn {
    border-radius: 4px;
    border-color: rgba(212, 175, 55, 0.3);
}

body.theme-elegante .footer-contatto-btn:hover {
    border-color: #d4af37;
}

body.theme-elegante .footer-credits {
    background: #faf9f7;
}

body.theme-elegante .footer-credits a:hover {
    color: #d4af37;
}

/* Hero header elegante */
body.theme-elegante .menu-header.has-hero .header-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

/* Servizi elegante */

body.theme-elegante .servizi-section {
    background: #faf9f7;
}

body.theme-elegante .servizi-title {
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
}

body.theme-elegante .servizio-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

body.theme-elegante .servizio-item:hover {
    border-color: #d4af37;
    transform: none;
}

body.theme-elegante .servizio-icon-wrap {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

body.theme-elegante .servizio-nome {
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

body.theme-elegante .servizio-prezzo {
    color: #d4af37;
}

body.theme-elegante .servizio-price-label {
    color: #999;
}

body.theme-elegante .servizio-arrow {
    color: #ccc;
}

body.theme-elegante .servizio-item:hover .servizio-arrow {
    color: #d4af37;
}

body.theme-elegante .servizio-desc {
    color: #666666;
}

/* Tema Elegante - Stili per servizi cliccabili (<a>) */
body.theme-elegante a.servizio-item {
    text-decoration: none;
    color: inherit;
}

body.theme-elegante a.servizio-item:hover {
    text-decoration: none;
}

body.theme-elegante a.servizio-item .servizio-nome,
body.theme-elegante a.servizio-item .servizio-desc,
body.theme-elegante a.servizio-item .servizio-price {
    color: inherit;
    text-decoration: none;
}

body.theme-elegante .bottom-nav-item:hover {
    color: #d4af37;
    background: rgba(26, 26, 26, 0.05);
}

body.theme-elegante .bottom-nav-item.active {
    background: #1a1a1a;
    color: #d4af37;
}

/* Animazione pulse tema elegante */
@keyframes menu-pulse-elegante {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.6);
    }
}

body.theme-elegante .menu-pulse {
    animation: menu-pulse-elegante 2s ease-in-out infinite;
}

body.theme-elegante .info-contatto-icon {
    background: #1a1a1a;
    color: #d4af37;
}

body.theme-elegante .badge {
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 1px;
}

body.theme-elegante .floating-btn {
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
}

body.theme-elegante .floating-dropdown {
    border-radius: 4px;
}

body.theme-elegante .dropdown-header {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
}

/**
 * TEMA CLASSICO
 * Tradizionale, caldo, per trattorie e osterie
 */
body.theme-classico {
    --color-primary: #8B4513;
    --color-primary-light: #A0522D;
    --color-accent: #D2691E;
    --color-background: #FDF5E6;
    --color-card: #fffef9;
    --color-text: #3d2914;
    --color-text-light: #6b5344;
    --color-border: #e8dcc8;
    --font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    --card-radius: 8px;
    --card-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
    --header-bg: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

body.theme-classico .menu-header h1 {
    font-weight: 600;
    letter-spacing: 1px;
}

body.theme-classico .menu-header .slogan {
    font-style: italic;
}

body.theme-classico .category-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

body.theme-classico .category-title {
    font-weight: 600;
    font-size: var(--font-size-lg);
}

body.theme-classico .category-dot {
    background: #D2691E;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
}

body.theme-classico .product-card {
    border-left-color: #D2691E;
    background: linear-gradient(135deg, #fffef9 0%, #fff8f0 100%);
}

body.theme-classico .product-name {
    color: #3d2914;
    font-weight: 600;
}

body.theme-classico .price-current,
body.theme-classico .price-badge,
body.theme-classico .variante-prezzo {
    background: linear-gradient(135deg, #D2691E 0%, #B8860B 100%);
}

body.theme-classico .consiglio-card {
    border-left-color: #D2691E;
}

body.theme-classico .consiglio-badge {
    background: linear-gradient(135deg, #D2691E 0%, #B8860B 100%);
}

body.theme-classico .consiglio-price .price-current {
    background: linear-gradient(135deg, #D2691E 0%, #B8860B 100%);
}

body.theme-classico .hero-piatto-section {
    background: linear-gradient(135deg, #fff8dc 0%, #f5deb3 50%, #D2691E 100%);
}

body.theme-classico .hero-piatto-header h2 {
    color: #5c3317;
}

body.theme-classico .menu-panel-dot {
    background: #8B4513;
}

body.theme-classico .bottom-nav-item:hover {
    color: #8B4513;
    background: rgba(139, 69, 19, 0.08);
}

body.theme-classico .bottom-nav-item.active {
    background: #8B4513;
}

/* Animazione pulse tema classico */
@keyframes menu-pulse-classico {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(139, 69, 19, 0.6);
    }
}

body.theme-classico .menu-pulse {
    animation: menu-pulse-classico 2s ease-in-out infinite;
}

body.theme-classico .modal-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

/* Barra categorie classico */
body.theme-classico .categories-nav {
    background: #FDF5E6;
    border-bottom-color: #e8dcc8;
}

body.theme-classico .category-pill {
    background: #fffef9;
    border: 2px solid #e8dcc8;
    color: #3d2914;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

body.theme-classico .category-pill:hover {
    border-color: #D2691E;
    color: #D2691E;
}

body.theme-classico .category-pill.active {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #ffffff;
    border-color: #8B4513;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

body.theme-classico .category-section-header {
    border-bottom-color: #D2691E;
}

body.theme-classico .category-section-title h2 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-weight: 600;
    color: #3d2914;
}

body.theme-classico .category-dot {
    background: #D2691E;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
}

/* Card prodotto classico */
body.theme-classico .product-card {
    box-shadow: 0 2px 12px rgba(139, 69, 19, 0.1);
}

body.theme-classico .product-card::before {
    background: linear-gradient(180deg, #D2691E 0%, #8B4513 100%);
}

body.theme-classico .product-card:hover {
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
}

body.theme-classico .product-name {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    color: #3d2914;
}

/* Allergeni classico */
body.theme-classico .allergen-icon {
    background: #fffef9;
    border: 2px solid #D2691E;
    color: #D2691E;
}

body.theme-classico .allergen-icon:hover,
body.theme-classico .allergen-icon:focus {
    background: #D2691E;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.4);
}

/* Legenda classico */
body.theme-classico .legenda-item {
    background: #fffef9;
    border: 1px solid #e8dcc8;
}

body.theme-classico .legenda-item.highlighted {
    background: linear-gradient(135deg, #fff8dc 0%, #f5deb3 100%);
    border-color: #D2691E;
}

body.theme-classico .legenda-icon {
    color: #D2691E;
}

/* Footer contatti classico */
body.theme-classico .footer-contatti-rapidi {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

body.theme-classico .footer-contatti-title {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

body.theme-classico .footer-credits {
    background: #FDF5E6;
}

body.theme-classico .footer-credits a {
    color: #6b5344;
}

body.theme-classico .footer-credits a:hover {
    color: #8B4513;
}

/* Hero header classico */
body.theme-classico .menu-header.has-hero .header-overlay {
    background: linear-gradient(to bottom, rgba(61, 41, 20, 0.5), rgba(61, 41, 20, 0.7));
}

/* Servizi classico */

body.theme-classico .servizi-section {
    background: #FDF5E6;
}

body.theme-classico .servizi-title {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    color: #3d2914;
}

body.theme-classico .servizio-item {
    background: #fffef9;
    border: 1px solid #e8dcc8;
}

body.theme-classico .servizio-item:hover {
    border-color: #D2691E;
    transform: none;
}

body.theme-classico .servizio-icon-wrap {
    background: rgba(210, 105, 30, 0.1);
}

body.theme-classico .servizio-nome {
    color: #3d2914;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

body.theme-classico .servizio-prezzo {
    color: #D2691E;
}

body.theme-classico .servizio-price-label {
    color: #8b7355;
}

body.theme-classico .servizio-arrow {
    color: #d4c4a8;
}

body.theme-classico .servizio-item:hover .servizio-arrow {
    color: #D2691E;
}

body.theme-classico .servizio-desc {
    color: #6b5344;
}

/* Tema Classico - Stili per servizi cliccabili (<a>) */
body.theme-classico a.servizio-item {
    text-decoration: none;
    color: inherit;
}

body.theme-classico a.servizio-item:hover {
    text-decoration: none;
}

body.theme-classico a.servizio-item .servizio-nome,
body.theme-classico a.servizio-item .servizio-desc,
body.theme-classico a.servizio-item .servizio-price {
    color: inherit;
    text-decoration: none;
}

/* ========== BARRA NAVIGAZIONE INFERIORE ========== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 0 8px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666666;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item:hover {
    color: var(--color-primary, #1e3a5f);
    background: rgba(30, 58, 95, 0.08);
}

.bottom-nav-item.active {
    background: var(--color-primary, #1e3a5f);
    color: white;
}

.bottom-nav-item.active .bottom-nav-icon svg {
    stroke: white;
}

.bottom-nav-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav-icon svg {
    width: 100%;
    height: 100%;
}

/* Animazione pulse per il pulsante MENU */
@keyframes menu-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(30, 58, 95, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(30, 58, 95, 0.5);
    }
}

.menu-pulse {
    animation: menu-pulse 2s ease-in-out infinite;
}

/* Aggiungi padding al body per evitare sovrapposizione */
body {
    padding-bottom: 70px;
}

/* ========== PANNELLO MENU CATEGORIE ========== */
.menu-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70vh;
    background: white;
    border-radius: 20px 20px 0 0;
    z-index: 2001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.menu-panel.open {
    transform: translateY(0);
}

.menu-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.menu-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 1px;
}

.menu-panel-close {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.menu-panel-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.menu-panel-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

.menu-panel-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    text-decoration: none;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s;
}

.menu-panel-item:hover {
    background: #f9fafb;
}

.menu-panel-item:active {
    background: #f3f4f6;
}

.menu-panel-dot {
    width: 10px;
    height: 10px;
    background: var(--color-primary, #1e3a5f);
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

.menu-panel-name {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.menu-panel-arrow {
    width: 20px;
    height: 20px;
    color: #9ca3af;
    transform: rotate(90deg);
    flex-shrink: 0;
}

.menu-panel-arrow svg {
    width: 100%;
    height: 100%;
}

/* ========== ALLERGENI ICONE ========== */
.product-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.allergen-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffb74d;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #f57c00;
    font-size: 18px;
    padding: 0;
    outline: none;
}

.allergen-icon svg {
    width: 20px;
    height: 20px;
}

.allergen-icon:hover,
.allergen-icon:focus {
    transform: scale(1.2);
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
    border-color: #f57c00;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.4);
}

.allergen-icon:active {
    transform: scale(1.1);
}

/* Icone allergeni piccole (nei consigli) */
.allergen-icon-small {
    width: 28px;
    height: 28px;
    font-size: 14px;
    cursor: pointer;
}

/* ========== MODAL LEGENDA ALLERGENI ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--color-primary);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

/* Informazioni prodotti */
.legenda-info {
    padding: 16px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.legenda-info-item {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
    padding: 4px 0;
}

.legenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.legenda-item.highlighted {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-color: #f57c00;
    box-shadow: 0 4px 16px rgba(245, 124, 0, 0.3);
    transform: scale(1.02);
}

.legenda-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #f57c00;
    font-size: 24px;
}

.legenda-icon svg {
    width: 28px;
    height: 28px;
}

.legenda-name {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 400px) {
    .legenda-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-height: 90vh;
    }
}

/* ========== MODAL INFO ========== */
.modal-info {
    max-width: 420px;
}

.info-modal-content {
    text-align: center;
}

.info-logo {
    margin-bottom: 20px;
}

.info-logo img {
    max-width: 100px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.info-header-text {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.info-nome {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px 0;
}

.info-slogan {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
    font-style: italic;
}

.info-contatti {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.info-contatto-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s;
}

.info-contatto-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.info-contatto-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-contatto-icon svg {
    width: 20px;
    height: 20px;
}

.info-contatto-text {
    font-size: 14px;
    text-align: left;
    line-height: 1.4;
}

.info-prenota {
    margin: 24px 0;
    text-align: center;
}

.btn-prenota-info {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-prenota-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.info-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.info-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    transition: all 0.2s;
}

.info-social-item:hover {
    transform: scale(1.1);
}

.info-social-item svg {
    width: 24px;
    height: 24px;
}

.info-social-item.social-facebook:hover {
    background: #1877f2;
    color: white;
}

.info-social-item.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.info-social-item.social-tiktok:hover {
    background: #000000;
    color: white;
}

.info-social-item.social-whatsapp:hover {
    background: #25d366;
    color: white;
}

.info-social-item.social-tripadvisor:hover {
    background: #00af87;
    color: white;
}

/* ========== MODAL LINGUA ========== */
.modal-lingua {
    max-width: 450px;
}

.lingua-modal-content {
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lingua-widget-container {
    width: 100%;
    padding: 20px 0;
}

/* Centra il widget GTranslate */
.lingua-widget-container .gtranslate_modal_target,
.lingua-widget-container > div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lingua-not-configured {
    color: var(--color-text-light);
    padding: 30px 20px;
}

.lingua-not-configured .lingua-icon {
    color: #d1d5db;
    margin-bottom: 16px;
}

.lingua-not-configured .lingua-icon svg {
    width: 48px;
    height: 48px;
}

.lingua-not-configured p {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 8px 0;
}

.lingua-not-configured small {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ========== WATERMARK ========== */
.watermark {
    position: fixed;
    bottom: 70px; /* Sopra la bottom-nav */
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #999;
    padding: 8px;
    background: linear-gradient(to top, rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0));
    pointer-events: none;
    z-index: 90;
}

.watermark a {
    color: #777;
    text-decoration: none;
    pointer-events: auto;
    transition: color 0.2s;
}

.watermark a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Watermark themes */
.theme-elegante .watermark {
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0));
    color: #666;
}

.theme-elegante .watermark a {
    color: #888;
}

.theme-elegante .watermark a:hover {
    color: #d4af37;
}

/* Watermark mobile adjustment */
@media (max-width: 480px) {
    .watermark {
        font-size: 10px;
        bottom: 65px;
        padding: 6px;
    }
}

/* ========== FOOTER CONTATTI RAPIDI ========== */
.footer-contatti-rapidi {
    background: linear-gradient(135deg, var(--color-primary, #1a1a2e) 0%, var(--color-primary-light, #16213e) 100%);
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-contatti-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 28px 0;
    letter-spacing: 1px;
}

.footer-contatti-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.footer-contatto-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-contatto-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.footer-contatto-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contatto-icon svg {
    width: 32px;
    height: 32px;
}

.footer-contatto-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Colori specifici per ogni contatto */
.footer-contatto-telefono:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.footer-contatto-whatsapp {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
}

.footer-contatto-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.footer-contatto-email:hover {
    background: #ea4335;
    border-color: #ea4335;
}

.footer-contatto-mappa:hover {
    background: #4285f4;
    border-color: #4285f4;
}

/* Footer credits */
.footer-credits {
    text-align: center;
    padding: 20px 0 90px 0;
    background: var(--color-background, #f8f9fa);
}

.footer-credits a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-credits a:hover {
    opacity: 1;
    color: var(--color-primary, #1a1a2e);
}

/* Responsive footer contatti */
@media (max-width: 400px) {
    .footer-contatti-grid {
        gap: 12px;
    }

    .footer-contatto-btn {
        width: 75px;
        height: 75px;
    }

    .footer-contatto-icon svg {
        width: 26px;
        height: 26px;
    }

    .footer-contatto-label {
        font-size: 10px;
    }
}

/* ========== SEZIONE SERVIZI AGGIUNTIVI ========== */
.servizi-section {
    padding: 32px 20px;
    margin-top: 24px;
    background: var(--color-background, #f8f9fa);
}

.servizi-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary, #1a1a2e);
    margin: 0 0 20px 0;
    padding-left: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.servizi-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.servizio-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    cursor: pointer;
}

.servizio-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.servizio-item:active {
    transform: scale(0.99);
}

/* Stili per servizi cliccabili (<a>) - rimuove aspetto link */
a.servizio-item {
    text-decoration: none;
    color: inherit;
}

a.servizio-item:hover {
    text-decoration: none;
}

a.servizio-item .servizio-nome,
a.servizio-item .servizio-desc,
a.servizio-item .servizio-price {
    color: inherit;
    text-decoration: none;
}

.servizio-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-accent-light, rgba(245, 158, 11, 0.1));
    border-radius: 12px;
    flex-shrink: 0;
}

.servizio-icon {
    font-size: 24px;
    line-height: 1;
}

.servizio-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.servizio-nome {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary, #1a1a2e);
}

.servizio-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.3;
}

.servizio-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.servizio-prezzo {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent, #f59e0b);
}

.servizio-price-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: lowercase;
}

.servizio-arrow {
    font-size: 24px;
    font-weight: 300;
    color: #d1d5db;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.servizio-item:hover .servizio-arrow {
    color: var(--color-accent, #f59e0b);
    transform: translateX(4px);
}

/* Responsive servizi */
@media (max-width: 480px) {
    .servizi-section {
        padding: 24px 16px;
    }

    .servizio-item {
        gap: 12px;
        padding: 14px 16px;
    }

    .servizio-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .servizio-icon {
        font-size: 22px;
    }

    .servizio-nome {
        font-size: 15px;
    }

    .servizio-desc {
        font-size: 12px;
    }

    .servizio-prezzo {
        font-size: 15px;
    }
}

/* ========== FIX MOBILE - I NOSTRI CONSIGLI ========== */
@media (max-width: 480px) {
    /* Fix consiglio card layout mobile */
    .consiglio-card {
        flex-direction: column;
        width: 100%;
        margin-bottom: 16px;
    }

    .consiglio-image {
        width: 100%;
        min-width: 100%;
        height: 140px;
    }

    .consiglio-content {
        padding: 14px;
        padding-top: 8px;
    }

    /* Badge positioning - avoid overlap with title */
    .consiglio-badge {
        position: relative;
        top: auto;
        left: auto;
        display: inline-block;
        margin-bottom: 8px;
        font-size: 10px;
        padding: 5px 10px;
    }

    .consiglio-card.no-image .consiglio-badge {
        left: auto;
    }

    .consiglio-name {
        font-size: 15px;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .consiglio-description {
        font-size: 12px;
        -webkit-line-clamp: 3;
        margin-bottom: 8px;
    }

    .consiglio-price {
        padding-top: 8px;
    }

    .consiglio-price .price-current {
        font-size: 18px;
        padding: 4px 12px;
    }

    /* Fix tema Bistrot specifico mobile */
    body.theme-bistrot .consiglio-card {
        border-radius: 10px;
        overflow: hidden;
    }

    body.theme-bistrot .consiglio-content {
        padding: 12px;
    }

    body.theme-bistrot .consiglio-name {
        font-size: 15px;
    }

    body.theme-bistrot .consiglio-badge {
        position: relative;
        top: auto;
        left: auto;
    }
}

/**
 * TEMA LAVAGNA (Dark)
 * Stile menu da ristorante su lavagna, dark theme
 * Font: Squada One (titoli), Open Sans (testo)
 */
body.theme-lavagna {
    --color-primary: #1a1a1a;
    --color-primary-light: #222222;
    --color-accent: #f5a623;
    --color-background: #1a1a1a;
    --color-card: transparent;
    --color-text: #ffffff;
    --color-text-light: #999999;
    --color-border: #333333;
    --font-family: 'Open Sans', sans-serif;
    --card-radius: 0;
    --card-shadow: none;
    --header-bg: transparent;
    --header-text: #ffffff;
}

/* Sfondo lavagna con texture */
body.theme-lavagna {
    background:
        linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        );
    background-color: #1a1a1a;
    background-attachment: fixed;
    font-family: 'Open Sans', sans-serif;
}

/* Header lavagna - Impattante */
body.theme-lavagna .menu-header {
    background: transparent;
    border-bottom: 1px solid #333;
    padding: 24px 20px;
}

body.theme-lavagna .header-logo {
    max-width: 100px;
    max-height: 80px;
}

body.theme-lavagna .menu-header h1 {
    font-family: 'Squada One', cursive;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

body.theme-lavagna .menu-header .slogan {
    color: #f5a623;
    font-style: italic;
    letter-spacing: 1px;
}

/* Contenuto principale */
body.theme-lavagna .menu-content {
    background: transparent;
}

/* Categorie lavagna - layout scroll continuo */
body.theme-lavagna .category-section {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 32px;
}

body.theme-lavagna .category-section-header {
    border-bottom: 1px dotted #444;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

/* Prodotti - stile lista con thumbnail */
body.theme-lavagna .product-card {
    background: transparent;
    border: none;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 16px;
    padding: 10px 0;
    border-bottom: 1px dotted #444;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

body.theme-lavagna .product-card:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
}

body.theme-lavagna .product-card:last-child {
    border-bottom: none;
}

/* Thumbnail immagine prodotto */
body.theme-lavagna .product-image {
    display: block;
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

body.theme-lavagna .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.theme-lavagna .product-content {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    flex: 1;
    min-width: 0;
}

/* Riga principale: Nome a sinistra, Prezzo a destra */
body.theme-lavagna .product-name {
    font-family: 'Squada One', cursive;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    flex: 4 1 0;
    min-width: 0;
    order: 1;
}

body.theme-lavagna .product-price {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    order: 3;
    width: auto;
}

/* Descrizione e allergeni sotto */
body.theme-lavagna .product-description {
    font-family: 'Open Sans', sans-serif;
    color: #999999;
    font-size: 13px;
    margin-bottom: 0;
    width: 100%;
    flex-basis: 100%;
    order: 4;
    line-height: 1.4;
}

body.theme-lavagna .product-allergens {
    order: 5;
    width: 100%;
    flex-basis: 100%;
}

body.theme-lavagna .price-current {
    font-family: 'Open Sans', sans-serif;
    background: transparent;
    color: #f5a623;
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

body.theme-lavagna .price-original {
    color: #666;
}

body.theme-lavagna .price-offer {
    background: transparent;
    color: #ff6b6b;
    box-shadow: none;
}

/* Varianti lavagna */
body.theme-lavagna .price-variante {
    justify-content: flex-start;
    gap: 20px;
}

body.theme-lavagna .variante-nome {
    font-family: 'Open Sans', sans-serif;
    color: #cccccc;
    font-size: 14px;
}

body.theme-lavagna .variante-prezzo {
    font-family: 'Open Sans', sans-serif;
    background: transparent;
    color: #f5a623;
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
}

/* Linea punteggiata tra nome e prezzo */
body.theme-lavagna .product-content::after {
    content: '';
    flex: 1 1 18px;
    min-width: 14px;
    max-width: 160px;
    border-bottom: 1px dotted #555;
    margin: 0 12px;
    align-self: center;
    order: 2;
    min-width: 20px;
}

/* Sezioni speciali - Piatto del Giorno */
body.theme-lavagna .hero-piatto-section {
    background: #222222;
    border: 1px solid #f5a623;
    border-radius: 8px;
    box-shadow: none;
}

body.theme-lavagna .hero-piatto-header h2 {
    font-family: 'Squada One', cursive;
    color: #f5a623;
    text-shadow: none;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
}

body.theme-lavagna .hero-piatto-header h2::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 60%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #f5a623 20%,
        #ff8c00 50%,
        #f5a623 80%,
        transparent 100%
    );
    border-radius: 2px;
}

body.theme-lavagna .hero-piatto-card {
    background: #1a1a1a;
    border: none;
}

body.theme-lavagna .hero-piatto-name {
    font-family: 'Squada One', cursive;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-lavagna .hero-piatto-description {
    font-family: 'Open Sans', sans-serif;
    color: #999999;
}

body.theme-lavagna .price-badge {
    background: transparent;
    color: #f5a623;
    border: 2px solid #f5a623;
    box-shadow: none;
}

/* Consigli dello chef */
body.theme-lavagna .consigli-section {
    background: transparent;
}

body.theme-lavagna .consigli-header h2 {
    font-family: 'Squada One', cursive;
    color: #f5a623;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
}

body.theme-lavagna .consigli-header h2::before {
    content: '';
    position: absolute;
    left: -20px;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(245, 166, 35, 0.2) 10%,
        rgba(255, 140, 0, 0.3) 50%,
        rgba(245, 166, 35, 0.2) 90%,
        transparent 100%
    );
    border-radius: 4px;
    z-index: -1;
}

body.theme-lavagna .consiglio-card {
    background: #222222;
    border: 1px solid #333;
    border-left: 3px solid #f5a623;
    border-radius: 4px;
}

body.theme-lavagna .consiglio-card:hover {
    background: #282828;
}

body.theme-lavagna .consiglio-name {
    font-family: 'Squada One', cursive;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-lavagna .consiglio-description {
    font-family: 'Open Sans', sans-serif;
    color: #999999;
}

body.theme-lavagna .consiglio-badge {
    background: #f5a623;
    color: #1a1a1a;
}

body.theme-lavagna .consiglio-price .price-current {
    background: transparent;
    color: #f5a623;
    border: 1px solid #f5a623;
    box-shadow: none;
}

/* Bottom Nav lavagna */
body.theme-lavagna .bottom-nav {
    background: #111111;
    border-top: 1px solid #333;
    box-shadow: none;
}

body.theme-lavagna .bottom-nav-item {
    color: #888888;
}

body.theme-lavagna .bottom-nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

body.theme-lavagna .bottom-nav-item.active {
    background: #f5a623;
    color: #1a1a1a;
}

body.theme-lavagna .bottom-nav-item.active .bottom-nav-icon svg {
    stroke: #1a1a1a;
}

/* Animazione pulse tema lavagna */
@keyframes menu-pulse-lavagna {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(245, 166, 35, 0.6);
    }
}

body.theme-lavagna .menu-pulse {
    animation: menu-pulse-lavagna 2s ease-in-out infinite;
}

/* Menu panel lavagna */
body.theme-lavagna .menu-panel {
    background: #1a1a1a;
    border-top: 1px solid #f5a623;
}

body.theme-lavagna .menu-panel-header {
    border-bottom-color: #333;
}

body.theme-lavagna .menu-panel-header h3 {
    font-family: 'Squada One', cursive;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.theme-lavagna .menu-panel-close {
    color: #888;
}

body.theme-lavagna .menu-panel-item {
    color: #cccccc;
    border-bottom-color: #222;
}

body.theme-lavagna .menu-panel-item:hover {
    background: #222;
}

body.theme-lavagna .menu-panel-dot {
    background: #f5a623;
}

/* Allergeni lavagna */
body.theme-lavagna .allergen-icon {
    background: transparent;
    border: 1px solid #f5a623;
    color: #f5a623;
}

body.theme-lavagna .allergen-icon:hover {
    background: rgba(245, 166, 35, 0.2);
}

body.theme-lavagna .allergen-icon-small {
    background: transparent;
    border-color: #f5a623;
    color: #f5a623;
}

/* Modal lavagna */
body.theme-lavagna .modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
}

body.theme-lavagna .modal-header {
    background: #222;
    border-bottom: 1px solid #f5a623;
}

body.theme-lavagna .modal-header h3 {
    font-family: 'Squada One', cursive;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.theme-lavagna .modal-body {
    color: #cccccc;
}

body.theme-lavagna .legenda-item {
    background: #222;
    border: 1px solid #333;
}

body.theme-lavagna .legenda-icon {
    color: #f5a623;
}

body.theme-lavagna .legenda-name {
    color: #ffffff;
}

/* Modal Info lavagna */
body.theme-lavagna .info-nome {
    font-family: 'Squada One', cursive;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.theme-lavagna .info-slogan {
    color: #f5a623;
}

body.theme-lavagna .info-header-text {
    border-bottom-color: #333;
}

body.theme-lavagna .info-contatto-item {
    background: #222;
    color: #cccccc;
    border: 1px solid #333;
}

body.theme-lavagna .info-contatto-item:hover {
    background: #282828;
    border-color: #f5a623;
}

body.theme-lavagna .info-contatto-icon {
    background: #f5a623;
    color: #1a1a1a;
}

body.theme-lavagna .info-social {
    border-top-color: #333;
}

body.theme-lavagna .info-social-item {
    background: #222;
    color: #888;
    border: 1px solid #333;
}

/* Footer lavagna */
body.theme-lavagna .menu-footer {
    background: #111111;
    border-top: 1px solid #333;
}

body.theme-lavagna .footer-copy a {
    color: #f5a623;
}

/* Watermark lavagna */
body.theme-lavagna .watermark {
    background: linear-gradient(to top, rgba(17, 17, 17, 0.95), rgba(17, 17, 17, 0));
    color: #555;
}

body.theme-lavagna .watermark a {
    color: #777;
}

body.theme-lavagna .watermark a:hover {
    color: #f5a623;
}

/* Prezzo a mercato */
body.theme-lavagna .price-mercato {
    color: #f5a623;
    font-style: italic;
}

/* Barra categorie lavagna */
body.theme-lavagna .categories-nav {
    background: #111111;
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.theme-lavagna .category-pill {
    background: transparent;
    border: 1px solid #444;
    color: #cccccc;
    font-family: 'Squada One', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

body.theme-lavagna .category-pill:hover {
    border-color: #f5a623;
    color: #f5a623;
}

body.theme-lavagna .category-pill.active {
    background: #f5a623;
    color: #1a1a1a;
    border-color: #f5a623;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

body.theme-lavagna .category-section-header {
    border-bottom: 1px dotted #444;
}

body.theme-lavagna .category-section-title h2 {
    font-family: 'Squada One', cursive;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
}

body.theme-lavagna .category-dot {
    background: #f5a623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

body.theme-lavagna .category-description {
    color: #888888;
}

/* Card prodotto lavagna - nessun bordo laterale */
body.theme-lavagna .product-card::before {
    display: none;
}

/* Allergeni lavagna */
body.theme-lavagna .allergen-icon {
    background: transparent;
    border: 2px solid #f5a623;
    color: #f5a623;
}

body.theme-lavagna .allergen-icon:hover,
body.theme-lavagna .allergen-icon:focus {
    background: #f5a623;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

/* Legenda lavagna */
body.theme-lavagna .legenda-item {
    background: #222;
    border-color: transparent;
}

body.theme-lavagna .legenda-item.highlighted {
    background: rgba(245, 166, 35, 0.2);
    border-color: #f5a623;
}

/* Footer contatti lavagna */
body.theme-lavagna .footer-contatti-rapidi {
    background: #111111;
    border-top: 1px solid #333;
}

body.theme-lavagna .footer-credits {
    background: #1a1a1a;
}

body.theme-lavagna .footer-credits a {
    color: #666;
}

body.theme-lavagna .footer-credits a:hover {
    color: #f5a623;
}

/* Hero header lavagna */
body.theme-lavagna .menu-header.has-hero .header-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Servizi lavagna */

body.theme-lavagna .servizi-section {
    background: #111111;
}

body.theme-lavagna .servizi-title {
    color: #ffffff;
    font-family: 'Squada One', cursive;
    text-transform: uppercase;
    letter-spacing: 3px;
}

body.theme-lavagna .servizio-item {
    background: #1a1a1a;
    border: 1px solid #333;
}

body.theme-lavagna .servizio-item:hover {
    border-color: #f5a623;
    transform: none;
}

body.theme-lavagna .servizio-icon-wrap {
    background: rgba(245, 166, 35, 0.15);
}

body.theme-lavagna .servizio-nome {
    color: #ffffff;
    font-family: 'Squada One', cursive;
    text-transform: uppercase;
}

body.theme-lavagna .servizio-prezzo {
    color: #f5a623;
}

body.theme-lavagna .servizio-price-label {
    color: #666;
}

body.theme-lavagna .servizio-arrow {
    color: #444;
}

body.theme-lavagna .servizio-item:hover .servizio-arrow {
    color: #f5a623;
}

body.theme-lavagna .servizio-desc {
    color: #888888;
}

/* Tema Lavagna - Stili per servizi cliccabili (<a>) */
body.theme-lavagna a.servizio-item {
    text-decoration: none;
    color: inherit;
}

body.theme-lavagna a.servizio-item:hover {
    text-decoration: none;
}

body.theme-lavagna a.servizio-item .servizio-nome,
body.theme-lavagna a.servizio-item .servizio-desc,
body.theme-lavagna a.servizio-item .servizio-price {
    color: inherit;
    text-decoration: none;
}

/**
 * TEMA BISTROT
 * Stile caldo e rustico con sfondo beige e blob arancioni
 * Font: Playfair Display (titoli), IM Fell English (nomi piatti), Lato (testo)
 */
body.theme-bistrot {
    --color-primary: #3d2c1e;
    --color-primary-light: #5a4332;
    --color-accent: #e67e22;
    --color-background: #faf6f0;
    --color-card: #ffffff;
    --color-text: #3d2c1e;
    --color-text-light: #6b5344;
    --color-border: #e0d5c7;
    --font-family: 'Lato', sans-serif;
    --card-radius: 16px;
    --card-shadow: 0 4px 15px rgba(61, 44, 30, 0.08);
    --header-bg: transparent;
    --header-text: #3d2c1e;
}

body.theme-bistrot {
    background-color: #faf6f0;
    font-family: 'Lato', sans-serif;
}

/* Header Bistrot */
body.theme-bistrot .menu-header {
    background: transparent;
    padding: 30px 20px;
    text-align: center;
}

body.theme-bistrot .header-inner {
    flex-direction: column;
    gap: 8px;
}

body.theme-bistrot .header-logo {
    max-width: 90px;
    max-height: 90px;
    margin-bottom: 10px;
}

body.theme-bistrot .menu-header h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 42px;
    color: #3d2c1e;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

body.theme-bistrot .menu-header .slogan {
    font-family: 'Lato', sans-serif;
    color: #e67e22;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Categorie Bistrot - layout scroll continuo */
body.theme-bistrot .category-section {
    background: transparent;
    box-shadow: none;
    margin-bottom: 32px;
}

/* Prodotti Bistrot - Layout pulito */
body.theme-bistrot .product-card {
    background: transparent;
    border: none;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e0d5c7;
    display: block;
}

body.theme-bistrot .product-card:last-child {
    border-bottom: none;
}

body.theme-bistrot .product-card:hover {
    transform: none;
    box-shadow: none;
    background: rgba(230, 126, 34, 0.03);
}

body.theme-bistrot .product-image {
    display: none;
}

body.theme-bistrot .product-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
    padding: 0;
}

body.theme-bistrot .product-content::after {
    display: none;
}

/* Riga principale: Nome a sinistra, Prezzo a destra */
body.theme-bistrot .product-name {
    font-family: 'Rowdies', cursive;
    color: #3d2c1e;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    order: 1;
    flex: 1 1 0;
    min-width: 0;
}

body.theme-bistrot .product-price {
    border-top: none;
    padding: 0;
    margin: 0;
    order: 2;
    width: auto;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

/* Descrizione e allergeni sotto */
body.theme-bistrot .product-description {
    font-family: 'Lato', sans-serif;
    color: #6b5344;
    font-size: 13px;
    width: 100%;
    flex-basis: 100%;
    order: 3;
    margin-bottom: 0;
    margin-top: 4px;
    font-style: italic;
    line-height: 1.4;
}

body.theme-bistrot .product-allergens {
    order: 4;
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 0;
    margin-top: 6px;
}

/* Prezzo singolo */
body.theme-bistrot .price-current {
    font-family: 'Lato', sans-serif;
    background: transparent;
    color: #e67e22;
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    box-shadow: none;
    text-align: right;
}

body.theme-bistrot .price-current::before {
    display: none;
}

body.theme-bistrot .price-original {
    color: #9a8a7a;
    font-size: 14px;
    text-decoration: line-through;
    margin-right: 8px;
}

body.theme-bistrot .price-offer {
    background: transparent;
    color: #c0392b;
    box-shadow: none;
}

/* Varianti Bistrot - Lista pulita */
body.theme-bistrot .price-variante {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    margin-bottom: 2px;
}

body.theme-bistrot .price-variante::after {
    display: none;
}

body.theme-bistrot .variante-nome {
    font-family: 'Lato', sans-serif;
    color: #3d2c1e;
    font-size: 14px;
    font-weight: 400;
}

body.theme-bistrot .variante-nome::after {
    display: none;
}

body.theme-bistrot .variante-prezzo {
    font-family: 'Lato', sans-serif;
    background: transparent;
    color: #e67e22;
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    box-shadow: none;
    min-width: auto;
}

/* Piatto del Giorno Bistrot */
body.theme-bistrot .hero-piatto-section {
    background: #f0e9df;
    border: 3px solid #e67e22;
    border-radius: 60% 40% 55% 45% / 8% 8% 8% 8%;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(61, 44, 30, 0.1);
}

body.theme-bistrot .hero-piatto-header h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #e67e22;
    font-size: 26px;
    letter-spacing: 2px;
}

body.theme-bistrot .hero-piatto-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
}

body.theme-bistrot .hero-piatto-name {
    font-family: 'Rowdies', cursive;
    color: #3d2c1e;
    font-size: 22px;
    font-weight: 400;
}

body.theme-bistrot .hero-piatto-description {
    font-family: 'Lato', sans-serif;
    color: #6b5344;
    font-style: italic;
}

body.theme-bistrot .price-badge {
    background: #e67e22;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

/* Consigli Bistrot */
body.theme-bistrot .consigli-section {
    background: transparent;
}

body.theme-bistrot .consigli-header h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #e67e22;
    font-size: 22px;
}

body.theme-bistrot .consiglio-card {
    background: #ffffff;
    border: 2px solid #e0d5c7;
    border-left: 4px solid #e67e22;
    border-radius: 12px;
}

body.theme-bistrot .consiglio-card:hover {
    border-color: #e67e22;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.15);
}

body.theme-bistrot .consiglio-name {
    font-family: 'Rowdies', cursive;
    color: #3d2c1e;
    font-size: 16px;
    font-weight: 400;
}

body.theme-bistrot .consiglio-description {
    font-family: 'Lato', sans-serif;
    color: #6b5344;
}

body.theme-bistrot .consiglio-badge {
    background: #e67e22;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

body.theme-bistrot .consiglio-price .price-current {
    background: #e67e22;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

/* Bottom Nav Bistrot */
body.theme-bistrot .bottom-nav {
    background: #3d2c1e;
    box-shadow: 0 -4px 15px rgba(61, 44, 30, 0.2);
}

body.theme-bistrot .bottom-nav-item {
    color: #d4c4b0;
}

body.theme-bistrot .bottom-nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

body.theme-bistrot .bottom-nav-item.active {
    background: #e67e22;
    color: #ffffff;
}

body.theme-bistrot .bottom-nav-item.active .bottom-nav-icon svg {
    stroke: #ffffff;
}

/* Animazione pulse tema bistrot */
@keyframes menu-pulse-bistrot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(230, 126, 34, 0.6);
    }
}

body.theme-bistrot .menu-pulse {
    animation: menu-pulse-bistrot 2s ease-in-out infinite;
}

/* Menu Panel Bistrot */
body.theme-bistrot .menu-panel {
    background: #faf6f0;
    border-top: 3px solid #e67e22;
}

body.theme-bistrot .menu-panel-header {
    border-bottom-color: #e0d5c7;
}

body.theme-bistrot .menu-panel-header h3 {
    font-family: 'Playfair Display', serif;
    color: #3d2c1e;
    font-style: italic;
}

body.theme-bistrot .menu-panel-item {
    color: #3d2c1e;
    border-bottom-color: #e0d5c7;
}

body.theme-bistrot .menu-panel-item:hover {
    background: rgba(230, 126, 34, 0.08);
}

body.theme-bistrot .menu-panel-dot {
    background: #e67e22;
}

body.theme-bistrot .menu-panel-name {
    font-family: 'Rowdies', cursive;
    font-weight: 400;
}

/* Allergeni Bistrot */
body.theme-bistrot .allergen-icon {
    background: #fef6e6;
    border-color: #e67e22;
    color: #e67e22;
}

body.theme-bistrot .allergen-icon:hover {
    background: #e67e22;
    color: #ffffff;
}

/* Modal Bistrot */
body.theme-bistrot .modal-content {
    background: #faf6f0;
    border-radius: 20px;
}

body.theme-bistrot .modal-header {
    background: #3d2c1e;
    border-radius: 20px 20px 0 0;
}

body.theme-bistrot .modal-header h3 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-style: italic;
}

body.theme-bistrot .modal-body {
    color: #3d2c1e;
}

body.theme-bistrot .legenda-item {
    background: #ffffff;
    border: 1px solid #e0d5c7;
    border-radius: 10px;
}

body.theme-bistrot .legenda-icon {
    color: #e67e22;
}

body.theme-bistrot .legenda-name {
    font-family: 'Lato', sans-serif;
    color: #3d2c1e;
}

/* Modal Info Bistrot */
body.theme-bistrot .info-nome {
    font-family: 'Playfair Display', serif;
    color: #3d2c1e;
    font-style: italic;
}

body.theme-bistrot .info-slogan {
    color: #e67e22;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.theme-bistrot .info-header-text {
    border-bottom-color: #e0d5c7;
}

body.theme-bistrot .info-contatto-item {
    background: #ffffff;
    color: #3d2c1e;
    border: 1px solid #e0d5c7;
    border-radius: 12px;
}

body.theme-bistrot .info-contatto-item:hover {
    border-color: #e67e22;
    background: #fef6e6;
}

body.theme-bistrot .info-contatto-icon {
    background: #e67e22;
    color: #ffffff;
}

body.theme-bistrot .info-social {
    border-top-color: #e0d5c7;
}

body.theme-bistrot .info-social-item {
    background: #ffffff;
    color: #3d2c1e;
    border: 1px solid #e0d5c7;
}

body.theme-bistrot .info-social-item:hover {
    border-color: #e67e22;
}

/* Footer Bistrot */
body.theme-bistrot .menu-footer {
    background: #3d2c1e;
}

body.theme-bistrot .footer-copy a {
    color: #e67e22;
}

/* Watermark Bistrot */
body.theme-bistrot .watermark {
    background: linear-gradient(to top, rgba(250, 246, 240, 0.95), rgba(250, 246, 240, 0));
    color: #9a8a7a;
}

body.theme-bistrot .watermark a {
    color: #6b5344;
}

body.theme-bistrot .watermark a:hover {
    color: #e67e22;
}

/* Prezzo a mercato Bistrot */
body.theme-bistrot .price-mercato {
    font-family: 'Playfair Display', serif;
    color: #e67e22;
    font-style: italic;
}

/* Barra categorie bistrot */
body.theme-bistrot .categories-nav {
    background: #faf6f0;
    border-bottom-color: #e0d5c7;
}

body.theme-bistrot .category-pill {
    background: #ffffff;
    border: 2px solid #e0d5c7;
    color: #3d2c1e;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    border-radius: 8px;
}

body.theme-bistrot .category-pill:hover {
    border-color: #e67e22;
    color: #e67e22;
    background: #fef6e6;
}

body.theme-bistrot .category-pill.active {
    background: #e67e22;
    color: #ffffff;
    border-color: #e67e22;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
    transform: rotate(-1deg);
}

body.theme-bistrot .category-section-header {
    border-bottom: 2px solid #e0d5c7;
}

body.theme-bistrot .category-section-title h2 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    color: #3d2c1e;
}

body.theme-bistrot .category-dot {
    background: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

body.theme-bistrot .category-description {
    font-family: 'Lato', sans-serif;
    color: #6b5344;
    font-style: italic;
}

/* Card prodotto bistrot - nessun bordo laterale, layout lista */
body.theme-bistrot .product-card::before {
    display: none;
}

/* Allergeni bistrot */
body.theme-bistrot .allergen-icon {
    background: #fef6e6;
    border: 2px solid #e67e22;
    color: #e67e22;
}

body.theme-bistrot .allergen-icon:hover,
body.theme-bistrot .allergen-icon:focus {
    background: #e67e22;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

/* Legenda bistrot */
body.theme-bistrot .legenda-item {
    background: #ffffff;
    border: 1px solid #e0d5c7;
}

body.theme-bistrot .legenda-item.highlighted {
    background: #fef6e6;
    border-color: #e67e22;
}

body.theme-bistrot .legenda-icon {
    color: #e67e22;
}

/* Footer contatti bistrot */
body.theme-bistrot .footer-contatti-rapidi {
    background: linear-gradient(135deg, #3d2c1e 0%, #5a4332 100%);
}

body.theme-bistrot .footer-contatti-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

body.theme-bistrot .footer-credits {
    background: #faf6f0;
}

body.theme-bistrot .footer-credits a {
    color: #6b5344;
}

body.theme-bistrot .footer-credits a:hover {
    color: #e67e22;
}

/* Hero header bistrot */
body.theme-bistrot .menu-header.has-hero .header-overlay {
    background: linear-gradient(to bottom, rgba(61, 44, 30, 0.5), rgba(61, 44, 30, 0.7));
}

/* Servizi bistrot */

body.theme-bistrot .servizi-section {
    background: #faf6f0;
}

body.theme-bistrot .servizi-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #3d2c1e;
}

body.theme-bistrot .servizio-item {
    background: #ffffff;
    border: 1px solid #e0d5c7;
}

body.theme-bistrot .servizio-item:hover {
    border-color: #e67e22;
    transform: none;
}

body.theme-bistrot .servizio-icon-wrap {
    background: rgba(230, 126, 34, 0.1);
}

body.theme-bistrot .servizio-nome {
    color: #3d2c1e;
    font-family: 'Rowdies', cursive;
}

body.theme-bistrot .servizio-prezzo {
    color: #e67e22;
}

body.theme-bistrot .servizio-price-label {
    color: #8b7355;
}

body.theme-bistrot .servizio-arrow {
    color: #d4c4a8;
}

body.theme-bistrot .servizio-item:hover .servizio-arrow {
    color: #e67e22;
}

body.theme-bistrot .servizio-desc {
    color: #6b5344;
    font-family: 'Lato', sans-serif;
    font-style: italic;
}

/* Tema Bistrot - Stili per servizi cliccabili (<a>) */
body.theme-bistrot a.servizio-item {
    text-decoration: none;
    color: inherit;
}

body.theme-bistrot a.servizio-item:hover {
    text-decoration: none;
}

body.theme-bistrot a.servizio-item .servizio-nome,
body.theme-bistrot a.servizio-item .servizio-desc,
body.theme-bistrot a.servizio-item .servizio-price {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   MENU/COMBO INTEGRATO - Sezione menu dentro la card prodotto
   ============================================================ */

/* Divisore MENU con testo integrato */
.menu-divider-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.menu-divider-with-text::before,
.menu-divider-with-text::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #d1d5db;
}

.menu-divider-with-text span {
    padding: 0 15px;
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    text-transform: uppercase;
}

/* Gruppi menu */
.menu-gruppo {
    margin-bottom: 18px;
}

.menu-gruppo:last-child {
    margin-bottom: 0;
}

/* Titolo gruppo (opzionale) */
.menu-gruppo-title {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

/* Lista opzioni con pallini semplici */
.menu-gruppo-opzioni {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 20px;
    margin: 0;
}

.menu-opzione {
    padding: 3px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.menu-opzione-supplemento {
    color: #059669;
    font-weight: 600;
    font-size: 13px;
    margin-left: 5px;
}

/* ============================================================
   MENU - Varianti per temi
   ============================================================ */

/* Tema Lavagna */
body.theme-lavagna .menu-divider-with-text::before,
body.theme-lavagna .menu-divider-with-text::after {
    border-bottom-color: #6b7280;
}

body.theme-lavagna .menu-divider-with-text span {
    color: #fbbf24;
}

body.theme-lavagna .menu-gruppo-title {
    color: #e5e7eb;
}

body.theme-lavagna .menu-opzione {
    color: #d1d5db;
}

body.theme-lavagna .menu-opzione-supplemento {
    color: #6ee7b7;
}

/* Tema Bistrot */
body.theme-bistrot .menu-divider-with-text::before,
body.theme-bistrot .menu-divider-with-text::after {
    border-bottom-color: #9ca3af;
}

body.theme-bistrot .menu-divider-with-text span {
    font-family: 'Rowdies', cursive;
    color: #e67e22;
}

body.theme-bistrot .menu-gruppo-title {
    font-family: 'Rowdies', cursive;
    color: #d35400;
}

body.theme-bistrot .menu-opzione {
    color: #6b5344;
}

/* Responsive */
@media (max-width: 480px) {
    .menu-divider-with-text span {
        font-size: 18px;
        padding: 0 10px;
    }

    .menu-opzione {
        font-size: 13px;
    }

    .menu-gruppo-title {
        font-size: 13px;
    }
}

/* Intestazione macro-gruppo categorie nella griglia home (riusa il divisore) */
.categoria-gruppo-divider {
    grid-column: 1 / -1;
    margin: 24px 0 8px;
}

.categoria-gruppo-divider span {
    font-size: 26px;
}

/* ============================================================
   BLOCCO AGGIUNTE (ex stili inline) — aspetto identico al precedente
   ============================================================ */
.aggiunte-box { margin-top: 15px; padding-top: 15px; border-top: 1px dashed #e5e7eb; }
.aggiunte-label { font-size: 11px; color: #6b7280; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.aggiunta-item { margin-bottom: 12px; padding: 12px; background: #f9fafb; border-radius: 8px; }
.aggiunta-nome { color: #374151; font-size: 14px; margin: 0 0 5px 0; }
.aggiunta-prezzo-row { text-align: right; }
.aggiunta-prezzo { display: inline-block; background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; padding: 4px 15px; border-radius: 10px; font-size: 16px; font-weight: 800; }

/* Aggiunte sul tema lavagna (prima restavano un box chiaro su fondo nero) */
body.theme-lavagna .aggiunte-box { border-top-color: #333333; }
body.theme-lavagna .aggiunte-label { color: #999999; }
body.theme-lavagna .aggiunta-item { background: #222222; }
body.theme-lavagna .aggiunta-nome { color: #dddddd; }
body.theme-lavagna .aggiunta-prezzo { background: transparent; color: #f5a623; padding: 0; font-size: 16px; }
body.theme-bistrot .aggiunte-box { border-top-color: #e0d5c7; }
body.theme-bistrot .aggiunta-item { background: #f5efe6; }
body.theme-bistrot .aggiunta-nome { color: #5a4332; }
body.theme-bistrot .aggiunta-prezzo { background: transparent; color: #e67e22; padding: 0; font-size: 16px; }

/* --- Ordine dei blocchi nei layout a riga (aggiunte/menu dopo nome e prezzo) --- */

body.theme-lounge .product-content .aggiunte-box, body.theme-minimal .product-content .aggiunte-box,
body.theme-lavagna .product-content .aggiunte-box, body.theme-bistrot .product-content .aggiunte-box { order: 6; width: 100%; flex-basis: 100%; }
body.theme-lounge .product-content .menu-divider-with-text, body.theme-minimal .product-content .menu-divider-with-text,
body.theme-lavagna .product-content .menu-divider-with-text, body.theme-bistrot .product-content .menu-divider-with-text { order: 7; width: 100%; flex-basis: 100%; }
body.theme-lounge .product-content .menu-gruppo, body.theme-minimal .product-content .menu-gruppo,
body.theme-lavagna .product-content .menu-gruppo, body.theme-bistrot .product-content .menu-gruppo { order: 8; width: 100%; flex-basis: 100%; }

/* ################ TEMA FRESCO — chiaro stile app (Plus Jakarta Sans) ################ */
body.theme-fresco { --color-accent:#267d63; background:#f5f6f8; font-family:'Plus Jakarta Sans',-apple-system,sans-serif; color:#141518; }
body.theme-fresco .menu-header { background:#ffffff; padding:26px 20px 18px; }
body.theme-fresco .menu-header.has-hero .header-overlay { background:rgba(10,12,16,.45); }
body.theme-fresco .menu-header h1 { color:#141518; font-size:27px; font-weight:800; letter-spacing:-.5px; text-shadow:none; }
body.theme-fresco .menu-header .slogan { color:#8a8f98; font-size:14px; }
body.theme-fresco .categories-nav { background:rgba(255,255,255,.85); backdrop-filter:blur(14px); border-bottom:1px solid #ececf0; }
body.theme-fresco .category-pill { background:#f1f2f5; color:#3c4046; border:none; border-radius:10px; font-weight:700; padding:10px 18px; }
body.theme-fresco .category-pill.active { background:#141518; color:#ffffff; }
body.theme-fresco .categories-grid { padding:16px; gap:14px; }
body.theme-fresco .category-card { border-radius:10px; border:none; box-shadow:0 6px 20px rgba(20,21,24,.08); }
body.theme-fresco .category-card:not(.has-image) { background:linear-gradient(140deg,#2e9276 0%,#1d6450 100%); }
body.theme-fresco .category-card-name { font-weight:800; letter-spacing:-.3px; }
body.theme-fresco .categoria-gruppo-divider { margin:18px 0 2px; }
body.theme-fresco .categoria-gruppo-divider::before, body.theme-fresco .categoria-gruppo-divider::after { display:none; background:none; }
body.theme-fresco .categoria-gruppo-divider span { font-size:20px; font-weight:800; color:#141518; letter-spacing:-.3px; background:none; padding:0; }
body.theme-fresco .category-section-title h2 { font-weight:800; letter-spacing:-.4px; color:#141518; }
body.theme-fresco .category-dot { background:#267d63; }
body.theme-fresco .category-description { color:#8a8f98; }
body.theme-fresco .products-list { gap:12px; }
body.theme-fresco .product-card { display:flex; flex-direction:row-reverse; align-items:stretch; gap:14px; background:#ffffff; border:none; border-radius:10px; box-shadow:0 4px 16px rgba(20,21,24,.06); padding:14px; margin-bottom:12px; }
body.theme-fresco .product-card::before { display:none; }
body.theme-fresco .product-card:hover { transform:none; box-shadow:0 6px 20px rgba(20,21,24,.10); }
body.theme-fresco .product-image { width:92px; min-width:92px; height:92px; border-radius:10px; overflow:hidden; align-self:center; }
body.theme-fresco .product-image img { width:100%; height:100%; object-fit:cover; }
body.theme-fresco .product-content { padding:2px 0; flex:1; min-width:0; }
body.theme-fresco .product-name { font-size:16px; font-weight:800; letter-spacing:-.2px; color:#141518; margin-bottom:4px; line-height:1.3; }
body.theme-fresco .product-description { font-size:13px; color:#8a8f98; line-height:1.45; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.theme-fresco .product-allergens { margin-bottom:8px; }
body.theme-fresco .allergen-icon { width:24px; height:24px; font-size:12px; background:#f1f2f5; border:none; color:#5b6068; border-radius:8px; }
body.theme-fresco .product-price { border-top:none; padding:0; margin:0; text-align:right; }
body.theme-fresco .price-current { background:transparent; color:#141518; font-size:17px; font-weight:800; padding:0; box-shadow:none; animation:none; letter-spacing:-.2px; }
body.theme-fresco .price-original { color:#b6bac1; }
body.theme-fresco .price-offer { background:transparent; color:#e0442e; }
body.theme-fresco .product-badge { background:#e9f5f1; color:#1d6450; border-radius:10px; padding:3px 10px; font-size:10px; font-weight:800; }
body.theme-fresco .badge-novita { background:#ffe9e5; color:#c2371f; }
body.theme-fresco .price-variante { border-bottom:1px dashed #ececf0; }
body.theme-fresco .variante-nome { color:#5b6068; font-weight:600; }
body.theme-fresco .variante-prezzo { background:transparent; color:#141518; font-weight:800; box-shadow:none; padding:0; }
body.theme-fresco .aggiunta-item { background:#f5f6f8; border-radius:10px; }
body.theme-fresco .aggiunta-prezzo { background:transparent; color:#267d63; padding:0; font-size:16px; }
body.theme-fresco .btn-back-categories { background:#141518; color:#fff; border-radius:10px; }
body.theme-fresco .bottom-nav { background:rgba(255,255,255,.9); backdrop-filter:blur(14px); border-top:1px solid #ececf0; }
body.theme-fresco .bottom-nav-item { color:#9a9fa8; font-weight:700; }
body.theme-fresco .bottom-nav-item.active, body.theme-fresco .bottom-nav-item:hover { color:#141518; }
body.theme-fresco .servizi-section { background:#ffffff; border:none; border-radius:10px; box-shadow:0 4px 16px rgba(20,21,24,.06); }
body.theme-fresco .servizi-title { color:#141518; }
body.theme-fresco .servizio-item, body.theme-fresco a.servizio-item { background:#f5f6f8; border-radius:10px; }
body.theme-fresco .servizio-prezzo { color:#267d63; }
body.theme-fresco .modal-header { background:#141518; }
body.theme-fresco .watermark { background:rgba(245,246,248,.95); color:#9a9fa8; }
body.theme-fresco .hero-piatto-section { background:#ffffff; border:none; border-radius:10px; box-shadow:0 6px 20px rgba(20,21,24,.08); }
body.theme-fresco .hero-piatto-header h2 { color:#267d63; }
body.theme-fresco .consiglio-card { border-radius:10px; border-left:none; box-shadow:0 4px 16px rgba(20,21,24,.06); }
body.theme-fresco .consigli-header h2 { color:#141518; }

/* ################ TEMA LOUNGE — scuro premium effetto vetro (Space Grotesk) ################ */
body.theme-lounge { --color-accent:#f5b34a; background:#0e0f13; font-family:'Space Grotesk',-apple-system,sans-serif; color:#eceae6; }
body.theme-lounge .menu-content { background:radial-gradient(90% 40% at 50% 0%, rgba(245,179,74,.10) 0%, rgba(14,15,19,0) 60%), #0e0f13; }
body.theme-lounge .menu-header { background:transparent; padding:30px 20px 16px; }
body.theme-lounge .menu-header.has-hero .header-overlay { background:rgba(8,9,12,.6); }
body.theme-lounge .menu-header h1 { color:#ffffff; font-size:26px; font-weight:700; letter-spacing:.5px; text-shadow:none; }
body.theme-lounge .menu-header .slogan { color:#8e8c94; letter-spacing:1.5px; text-transform:uppercase; font-size:12px; }
body.theme-lounge .categories-nav { background:rgba(14,15,19,.75); backdrop-filter:blur(16px); border-bottom:1px solid rgba(255,255,255,.06); }
body.theme-lounge .category-pill { background:rgba(255,255,255,.06); color:#c9c6cf; border:1px solid rgba(255,255,255,.08); border-radius:10px; font-weight:500; }
body.theme-lounge .category-pill.active { background:#f5b34a; color:#1c1405; border-color:#f5b34a; font-weight:700; }
body.theme-lounge .categories-grid { padding:16px; gap:14px; }
body.theme-lounge .category-card { border-radius:10px; background:#16171d; border:1px solid rgba(255,255,255,.07); }
body.theme-lounge .category-card:not(.has-image) { background:linear-gradient(150deg,#1d1e26 0%,#14151b 100%); }
body.theme-lounge .category-card-overlay { background:linear-gradient(180deg, rgba(10,10,14,0) 30%, rgba(10,10,14,.85) 100%); border-radius:10px; }
body.theme-lounge .categoria-gruppo-divider::before, body.theme-lounge .categoria-gruppo-divider::after { display:none; }
body.theme-lounge .categoria-gruppo-divider span { font-size:13px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:#f5b34a; background:none; padding:0; }
body.theme-lounge .category-section-title h2 { color:#ffffff; font-weight:700; letter-spacing:.3px; }
body.theme-lounge .category-dot { background:#f5b34a; box-shadow:0 0 12px rgba(245,179,74,.6); }
body.theme-lounge .category-description { color:#8e8c94; }
body.theme-lounge .product-card { display:flex; align-items:stretch; gap:14px; background:rgba(255,255,255,.045); backdrop-filter:blur(10px); border:1px solid rgba(255,255,255,.07); border-radius:10px; box-shadow:none; padding:14px; margin-bottom:12px; }
body.theme-lounge .product-card::before { display:none; }
body.theme-lounge .product-card:hover { transform:none; background:rgba(255,255,255,.07); }
body.theme-lounge .product-image { width:76px; min-width:76px; height:76px; border-radius:10px; overflow:hidden; align-self:center; }
body.theme-lounge .product-image img { width:100%; height:100%; object-fit:cover; }
body.theme-lounge .product-content { padding:2px 0; flex:1; min-width:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; }
body.theme-lounge .product-name { font-size:16px; font-weight:500; color:#f4f2ee; margin-bottom:0; flex:4 1 0; min-width:0; order:1; line-height:1.35; }
body.theme-lounge .product-price { border-top:none; padding:0; margin:0; order:2; flex:0 0 auto; }
body.theme-lounge .product-description { font-size:13px; color:#8e8c94; width:100%; flex-basis:100%; order:3; margin:5px 0 0; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.theme-lounge .product-allergens { order:4; width:100%; flex-basis:100%; margin:8px 0 0; }
body.theme-lounge .allergen-icon { width:24px; height:24px; font-size:12px; background:rgba(255,255,255,.07); border:none; color:#cdb98a; border-radius:8px; }
body.theme-lounge .price-current { background:transparent; color:#f5b34a; font-size:16px; font-weight:700; padding:0; box-shadow:none; animation:none; }
body.theme-lounge .price-original { color:#6b6972; }
body.theme-lounge .price-offer { background:transparent; color:#ff7a68; }
body.theme-lounge .product-badge { background:rgba(245,179,74,.15); color:#f5b34a; border-radius:6px; padding:3px 8px; font-size:10px; font-weight:700; letter-spacing:1px; }
body.theme-lounge .price-variante { border-bottom:1px solid rgba(255,255,255,.06); }
body.theme-lounge .variante-nome { color:#c9c6cf; }
body.theme-lounge .variante-prezzo { background:transparent; color:#f5b34a; font-weight:700; box-shadow:none; padding:0; }
body.theme-lounge .aggiunte-box { border-top-color:rgba(255,255,255,.08); }
body.theme-lounge .aggiunte-label { color:#8e8c94; }
body.theme-lounge .aggiunta-item { background:rgba(255,255,255,.05); }
body.theme-lounge .aggiunta-nome { color:#c9c6cf; }
body.theme-lounge .aggiunta-prezzo { background:transparent; color:#f5b34a; padding:0; font-size:16px; }
body.theme-lounge .btn-back-categories { background:#f5b34a; color:#1c1405; border-radius:10px; }
body.theme-lounge .bottom-nav { background:rgba(14,15,19,.8); backdrop-filter:blur(16px); border-top:1px solid rgba(255,255,255,.06); }
body.theme-lounge .bottom-nav-item { color:#6b6972; }
body.theme-lounge .bottom-nav-item.active, body.theme-lounge .bottom-nav-item:hover { color:#f5b34a; }
body.theme-lounge .servizi-section { background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.07); border-radius:10px; }
body.theme-lounge .servizi-title { color:#f5b34a; }
body.theme-lounge .servizio-item, body.theme-lounge a.servizio-item { background:rgba(255,255,255,.05); }
body.theme-lounge .servizio-nome, body.theme-lounge a.servizio-item .servizio-nome { color:#f4f2ee; }
body.theme-lounge .servizio-desc, body.theme-lounge a.servizio-item .servizio-desc { color:#8e8c94; }
body.theme-lounge .servizio-prezzo { color:#f5b34a; }
body.theme-lounge .modal-content { background:#16171d; color:#eceae6; }
body.theme-lounge .modal-header { background:#1d1e26; }
body.theme-lounge .modal-header h3 { color:#f5b34a; }
body.theme-lounge .legenda-item { background:rgba(255,255,255,.05); }
body.theme-lounge .legenda-name { color:#c9c6cf; }
body.theme-lounge .legenda-icon { background:rgba(255,255,255,.08); color:#cdb98a; }
body.theme-lounge .menu-panel { background:#16171d; }
body.theme-lounge .menu-panel-header h3 { color:#f5b34a; }
body.theme-lounge .menu-panel-item { color:#eceae6; border-bottom-color:rgba(255,255,255,.06); }
body.theme-lounge .watermark { background:rgba(14,15,19,.95); color:#6b6972; }
body.theme-lounge .hero-piatto-section { background:rgba(255,255,255,.045); border:1px solid rgba(245,179,74,.25); border-radius:10px; }
body.theme-lounge .hero-piatto-header h2 { color:#f5b34a; }
body.theme-lounge .hero-piatto-name { color:#f4f2ee; }
body.theme-lounge .consiglio-card { background:#16171d; border-left:none; border:1px solid rgba(255,255,255,.07); border-radius:10px; }
body.theme-lounge .consiglio-name { color:#f4f2ee; }
body.theme-lounge .consigli-header h2 { color:#f5b34a; }
body.theme-lounge .consiglio-price .price-current { background:transparent; color:#f5b34a; }
body.theme-lounge .empty-menu { color:#8e8c94; }

/* ################ TEMA MINIMAL — bianco essenziale (font di sistema) ################ */
body.theme-minimal { --color-accent:#111111; background:#ffffff; font-family:-apple-system,'SF Pro Text','Segoe UI',Roboto,sans-serif; color:#111114; }
body.theme-minimal .menu-header { background:#ffffff; padding:30px 20px 14px; }
body.theme-minimal .menu-header.has-hero .header-overlay { background:rgba(0,0,0,.35); }
body.theme-minimal .menu-header h1 { color:#111114; font-size:30px; font-weight:700; letter-spacing:-.6px; text-shadow:none; }
body.theme-minimal .menu-header .slogan { color:#8e8e93; font-size:15px; }
body.theme-minimal .categories-nav { background:rgba(255,255,255,.88); backdrop-filter:blur(16px); border-bottom:1px solid #ededf0; }
body.theme-minimal .category-pill { background:#f2f2f7; color:#3a3a3f; border:none; border-radius:10px; font-weight:600; }
body.theme-minimal .category-pill.active { background:#111114; color:#ffffff; }
body.theme-minimal .categories-grid { padding:16px; gap:12px; }
body.theme-minimal .category-card { border-radius:10px; border:none; box-shadow:none; }
body.theme-minimal .category-card:not(.has-image) { background:#f2f2f7; }
body.theme-minimal .category-card:not(.has-image) .category-card-name { color:#111114; text-shadow:none; }
body.theme-minimal .categoria-gruppo-divider::before, body.theme-minimal .categoria-gruppo-divider::after { display:none; }
body.theme-minimal .categoria-gruppo-divider span { font-size:22px; font-weight:700; letter-spacing:-.4px; color:#111114; background:none; padding:0; }
body.theme-minimal .category-section-title h2 { font-weight:700; letter-spacing:-.4px; color:#111114; }
body.theme-minimal .category-dot { display:none; }
body.theme-minimal .category-description { color:#8e8e93; }
body.theme-minimal .product-card { display:flex; flex-direction:row-reverse; align-items:flex-start; gap:14px; background:transparent; border:none; border-radius:0; box-shadow:none; padding:16px 0; margin-bottom:0; border-bottom:1px solid #ededf0; }
body.theme-minimal .product-card::before { display:none; }
body.theme-minimal .product-card:hover { transform:none; box-shadow:none; background:transparent; }
body.theme-minimal .product-card:last-child { border-bottom:none; }
body.theme-minimal .product-image { width:72px; min-width:72px; height:72px; border-radius:10px; overflow:hidden; }
body.theme-minimal .product-image img { width:100%; height:100%; object-fit:cover; }
body.theme-minimal .product-content { padding:0; flex:1; min-width:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; }
body.theme-minimal .product-name { font-size:17px; font-weight:600; letter-spacing:-.3px; color:#111114; margin-bottom:0; flex:4 1 0; min-width:0; order:1; line-height:1.3; }
body.theme-minimal .product-price { border-top:none; padding:0; margin:0; order:2; flex:0 0 auto; }
body.theme-minimal .product-description { font-size:14px; color:#8e8e93; width:100%; flex-basis:100%; order:3; margin:4px 0 0; line-height:1.45; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
body.theme-minimal .product-allergens { order:4; width:100%; flex-basis:100%; margin:8px 0 0; }
body.theme-minimal .allergen-icon { width:24px; height:24px; font-size:12px; background:#f2f2f7; border:none; color:#6d6d72; border-radius:8px; }
body.theme-minimal .price-current { background:transparent; color:#111114; font-size:17px; font-weight:600; letter-spacing:-.3px; padding:0; box-shadow:none; animation:none; }
body.theme-minimal .price-original { color:#c7c7cc; }
body.theme-minimal .price-offer { background:transparent; color:#d70015; }
body.theme-minimal .product-badge { background:#f2f2f7; color:#3a3a3f; border-radius:6px; padding:3px 8px; font-size:10px; font-weight:700; }
body.theme-minimal .badge-novita { background:#111114; color:#ffffff; }
body.theme-minimal .price-variante { border-bottom:1px solid #ededf0; }
body.theme-minimal .variante-nome { color:#3a3a3f; }
body.theme-minimal .variante-prezzo { background:transparent; color:#111114; font-weight:600; box-shadow:none; padding:0; }
body.theme-minimal .aggiunte-box { border-top-color:#ededf0; }
body.theme-minimal .aggiunta-item { background:#f7f7fa; border-radius:10px; }
body.theme-minimal .aggiunta-prezzo { background:transparent; color:#111114; padding:0; font-size:16px; font-weight:600; }
body.theme-minimal .btn-back-categories { background:#f2f2f7; color:#111114; border-radius:10px; }
body.theme-minimal .bottom-nav { background:rgba(255,255,255,.92); backdrop-filter:blur(16px); border-top:1px solid #ededf0; }
body.theme-minimal .bottom-nav-item { color:#aeaeb2; font-weight:600; }
body.theme-minimal .bottom-nav-item.active, body.theme-minimal .bottom-nav-item:hover { color:#111114; }
body.theme-minimal .servizi-section { background:#f7f7fa; border:none; border-radius:10px; }
body.theme-minimal .servizi-title { color:#111114; }
body.theme-minimal .servizio-item, body.theme-minimal a.servizio-item { background:#ffffff; border-radius:10px; }
body.theme-minimal .servizio-prezzo { color:#111114; }
body.theme-minimal .modal-header { background:#111114; }
body.theme-minimal .watermark { background:rgba(255,255,255,.95); color:#aeaeb2; }
body.theme-minimal .hero-piatto-section { background:#f7f7fa; border:none; border-radius:10px; }
body.theme-minimal .hero-piatto-header h2 { color:#111114; }
body.theme-minimal .consiglio-card { border-radius:10px; border-left:none; box-shadow:none; border:1px solid #ededf0; }
body.theme-minimal .consigli-header h2 { color:#111114; }


/* ========================================================================
   VARIANTI COMPONIBILI — lista a menu (prodotti "crea il tuo")
   Usa le variabili del tema attivo: funziona su tutti i temi.
   ======================================================================== */

/* Diversi temi mettono la card in riga (foto | testo) senza flex-wrap: la lista,
   che e' il terzo figlio, si affiancherebbe al testo. Il wrap la manda a capo
   a tutta larghezza, sotto foto e testo. */
.product-card.con-varianti{flex-wrap:wrap;}

.varianti-lista{
    order:99;
    flex:1 1 100%;
    width:100%;
    clear:both;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid var(--color-border, #e5e7eb);
    display:flex;
    flex-direction:column;
    gap:20px;
}

/* riga di partenza: cosa e' gia' compreso */
.varianti-base{
    display:flex;
    align-items:baseline;
    gap:10px;
    padding:9px 12px;
    border-left:3px solid var(--color-accent, #f5a623);
    background:rgba(127,127,127,.06);
}
.varianti-base-nome{
    flex:1 1 auto;
    font-size:14px;
    font-weight:700;
    color:var(--color-text, #1a1a1a);
}
.varianti-base-prezzo{
    flex:0 0 auto;
    font-size:14px;
    font-weight:700;
    color:var(--color-accent, #f5a623);
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

/* ogni gruppo di scelta */
.varianti-gruppo{display:flex;flex-direction:column;}

.varianti-gruppo-testa{
    margin-bottom:8px;
    padding-bottom:5px;
    border-bottom:1px solid var(--color-border, #e5e7eb);
}
.varianti-gruppo-nome{
    margin:0;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.4px;
    text-transform:uppercase;
    color:var(--color-accent, #f5a623);
    line-height:1.3;
}
.varianti-gruppo-sub{
    display:block;
    margin-top:2px;
    font-size:12px;
    font-style:italic;
    color:var(--color-text-light, #6b7280);
}

.varianti-voci{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
}

.varianti-voce{
    display:flex;
    align-items:baseline;
    gap:10px;
    padding:6px 0;
}
.varianti-voce + .varianti-voce{
    border-top:1px solid var(--color-border, #f0f0f0);
}

.varianti-voce-testo{flex:1 1 auto;min-width:0;}

.varianti-voce-nome{
    display:block;
    font-size:14px;
    line-height:1.35;
    color:var(--color-text, #1a1a1a);
}
.varianti-voce-desc{
    display:block;
    margin-top:1px;
    font-size:11.5px;
    line-height:1.4;
    color:var(--color-text-light, #6b7280);
}

.varianti-voce-prezzo{
    flex:0 0 auto;
    font-size:14px;
    font-weight:700;
    color:var(--color-text, #1a1a1a);
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

.varianti-tag{
    display:inline-block;
    margin-left:6px;
    padding:1px 5px;
    font-size:9.5px;
    letter-spacing:.7px;
    text-transform:uppercase;
    color:var(--color-text-light, #6b7280);
    border:1px solid var(--color-border, #e5e7eb);
    vertical-align:1px;
}
.varianti-picc{margin-left:5px;}

.varianti-nota{
    margin:8px 0 0;
    font-size:12px;
    font-style:italic;
    color:var(--color-accent, #f5a623);
}

@media (max-width:480px){
    .varianti-voce-nome{font-size:13.5px;}
    .varianti-voce-prezzo{font-size:13.5px;}
}


/* ################ TASSO ALCOLICO (% vol) — agosto 2026 ################ */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.product-abv {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .06);
    color: #6b7280;
    white-space: nowrap;
}

/* Tema Lavagna */
body.theme-lavagna .product-meta {
    order: 5;
    width: 100%;
    flex-basis: 100%;
    margin-top: 6px;
}
body.theme-lavagna .product-abv {
    font-family: 'Open Sans', sans-serif;
    background: rgba(245, 166, 35, .12);
    color: #f5a623;
}

/* Tema Lounge */
body.theme-lounge .product-meta {
    order: 4;
    width: 100%;
    flex-basis: 100%;
    margin-top: 8px;
}
body.theme-lounge .product-abv {
    background: rgba(245, 179, 74, .13);
    color: #f5b34a;
}

/* Temi chiari */
body.theme-fresco .product-abv,
body.theme-minimal .product-abv { background: rgba(0,0,0,.05); color: #5b6068; }
body.theme-elegante .product-abv,
body.theme-classico .product-abv,
body.theme-bistrot .product-abv { background: rgba(0,0,0,.06); color: var(--color-text-light, #6b7280); }


/* ############ CONSERVAZIONE: asterisco surgelato / abbattuto — agosto 2026 ############ */
.product-cons {
    display: inline;
    background: none;
    border: none;
    margin: 0;
    padding: 2px 6px 2px 3px;
    font: inherit;
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1;
    color: #f59e0b;
    cursor: pointer;
    vertical-align: baseline;
}
.product-cons:hover,
.product-cons:focus { opacity: .7; outline: none; }

.legenda-info-item.highlighted {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 8px;
    padding: 8px 12px;
    color: #7c4a00;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(245, 124, 0, .25);
}

body.theme-lavagna .product-cons { color: #f5a623; }
body.theme-lounge  .product-cons { color: #f5b34a; }


/* ####### VARIANTI: riga dedicata sotto il nome — 25/08/2026 #######
   Nei temi lavagna e lounge nome e prezzo stanno sulla stessa riga.
   Con 2 o piu' varianti il blocco prezzi si mangiava meta' card e il nome
   andava a capo 2-3 volte. Con .has-varianti il blocco va a riga intera. */
body.theme-lavagna .product-price.has-varianti { order: 3; }
body.theme-lounge  .product-price.has-varianti { order: 2; }

body.theme-lavagna .product-price.has-varianti,
body.theme-lounge  .product-price.has-varianti {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    gap: 4px 22px;
    margin-top: 5px;
}

body.theme-lavagna .product-price.has-varianti .price-variante,
body.theme-lounge  .product-price.has-varianti .price-variante {
    margin: 0;
    gap: 8px;
    border-bottom: none;
    justify-content: flex-start;
}
