:root {
    --bg-terracota: #A6401B;
    --crema: #D4C9B0;
    --gold: #C4A45A;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

.menu-premium-section {
   background-color: var(--bg-terracota);
    padding: 40px 5% 100px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    
    /* --- FUERZA EL CENTRADO DE TODOS LOS BLOQUES HIJOS --- */
    display: flex;
    flex-direction: column;
    align-items: center; /* Esto alineará el divisor, el header y los filtros al centro exacto */
    width: 100%;
    box-sizing: border-box;
}

/* DIVISOR CON PEPITA */
.elegant-divider {
display: flex !important;
    align-items: center !important;      
    justify-content: center !important;  
    gap: 15px;
    margin-bottom: 20px;
    width: 100% !important;
}

.elegant-divider .line {
    height: 1px;                             /* Grosor elegante */
    width: 200px !important;                 /* ← El ancho que tú quieras (puedes probar con 250px, 300px o 350px) */
    min-width: 250px !important;             /* ← ¡CLAVE! Prohíbe rotundamente al navegador encoger la línea */
    flex-shrink: 0 !important;               /* ← Evita que Flexbox la colapse */
    background-color: var(--crema) !important; /* Color sólido continuo */
    opacity: 0.5;                            /* Sofisticado y sutil */
}

.elegant-divider .dot-diamond {
 width: 8px;
    height: 8px;
    background-color: var(--crema);
    transform: rotate(45deg);
    flex-shrink: 0 !important;               /* Protege también al diamante */
}

/* TITULO BICOLOR */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 15px 0;
}

.text-crema {
    color: var(--crema);
}

.text-gold {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
    margin-left: 10px;
}

.subtitle {
    color: var(--crema);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
}

/* BARRA FILTROS */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-item {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    color: var(--crema);
    padding: 10px 20px;
    border-radius: 4px;
    /* Estilo más cuadrado como en la imagen */
    cursor: pointer;
    font-size: 0.75rem;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.filter-item.active {
    background: var(--crema);
    color: var(--bg-terracota);
    font-weight: bold;
}

/* TARJETAS GLASS */
.dishes-grid {
   display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas fijas en escritorio */
    gap: 30px;
}

.dish-card {
    background: rgba(210, 168, 168, 0.282);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    /* Quitamos el cursor pointer porque ya no hay click para zoom */
    transition: transform 0.3s ease;
}

.dish-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;

}

.dish-content {
    padding: 25px;
}

.dish-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--crema);
    font-size: 1.5rem;
}
/* --- NUEVA JERARQUÍA DE TEXTOS EN LAS TARJETAS --- */

/* 1. Título Principal (Grande y con peso Serif elegante) */
.dish-content .dish-title {
    font-family: 'Playfair Display', serif;
    color: var(--crema);
    font-size: 1.8rem; /* Tamaño dominante */
    font-weight: 700;
    margin-bottom: 4px;
}

/* 2. Frase Destacada / Subtítulo (Más pequeña, estilo Serif itálico muy elegante) */
.dish-content .dish-tagline {
    font-family: 'Playfair Display', serif;
    color: var(--gold); /* Tono dorado para que contraste con estilo */
    font-style: italic;
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 12px;
    opacity: 0.9;
}

/* 3. Párrafo descriptivo */
.dish-content .dish-desc {
    font-family: 'Inter', sans-serif;
    color: var(--crema);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.75; /* Más opaco para dar prioridad a los títulos anteriores */
    margin-bottom: 15px;
}
.dish-content .price {
    color: var(--gold);
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

/* NAVEGACIÓN MÓVIL */
.mobile-navigation {
   display: flex; /* Ahora se muestra siempre en PC y Móvil */
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}
.glass-nav-btn:hover {
    background: var(--crema);
    color: var(--bg-terracota);
    transform: scale(1.05);
    transition: all 0.3s ease;
}
.glass-nav-btn {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    color: var(--crema);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

/* MODAL / X SUPERIOR */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999999;
    /* Flexbox para centrado total */
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px 20px 0 0;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 10000000;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .dishes-grid {
       grid-template-columns: repeat(3, 1fr);
    }

    .mobile-navigation {
        display: flex;
    }
}

@media (max-width: 768px) {
    .dishes-grid {
        grid-template-columns: 1fr; /* 1 sola columna en móvil como ya lo tenías */
    }
    
    .mobile-navigation {
        margin-top: 40px; /* Mantiene la separación en celular */
    }
}