/**
 * 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: 24px;
    --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: 50px;
    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;
}

/* ========== 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);
}

/* 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: 24px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-accent, #f59e0b) 0%, #d97706 100%);
    padding: 10px 22px;
    border-radius: 30px;
    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;
}

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;
}

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;
}

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;
}

/* ========== 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%;
}

/* 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: 36px;
    height: 36px;
    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);
}

.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);
}

.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: 1 1 auto;
    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: 2;
    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: 3;
    line-height: 1.4;
}

body.theme-lavagna .product-allergens {
    order: 4;
    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;
    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;
}

/* 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 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 auto;
    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;
}

/* 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: 30px;
}

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;
}
