/* --- Global Variables & Reset --- */
:root {
    --bg-color: #F9F8F6; /* Cream Stone - Fondo principal */
    --text-color: #2A2A2A; /* Charcoal - Texto principal */
    --accent-color: #C8553D; /* Terracotta - Para precios y acentos */
    /* Color actualizado al rojo del uniforme */
    --gold-color: #C91F2C; /* Chef's Red */
    --secondary-text: #666666; /* Gris medio - Para descripciones */
    --font-serif: 'Playfair Display', serif; /* Fuente para títulos */
    --font-sans: 'Inter', sans-serif; /* Fuente para cuerpo */
    --section-padding: 100px 5vw; /* Espaciado estándar */
    --nav-height: 80px; /* Altura de la barra de navegación */
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; margin-bottom: 20px; }
h3 { font-size: 1.8rem; margin-bottom: 15px; }

p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

a { text-decoration: none; transition: color 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.text-center { text-align: center; }
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.section-header p {
    font-size: 1.2rem;
    color: var(--secondary-text);
}
.highlight { color: var(--gold-color); font-style: italic; }
.hidden { display: none; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--gold-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 31, 44, 0.3); /* Sombra con el nuevo rojo */
}
.btn-primary:hover {
    background-color: #a81a25; /* Un rojo un poco más oscuro para el hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 31, 44, 0.4);
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}
.btn-secondary:hover {
    background-color: var(--text-color);
    color: #fff;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    z-index: 1000;
    background: rgba(249, 248, 246, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 70px;
}
.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    display: flex; /* Para alinear icono y texto */
    align-items: center;
}
.logo .dot { color: var(--gold-color); }
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- Footer --- */
.footer {
    background-color: #1A1A1A;
    color: #fff;
    padding: 80px 5vw 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
}
.footer-col p, .footer-col a {
    color: #aaa;
    margin-bottom: 15px;
    display: block;
}
.footer-col a:hover { color: var(--gold-color); }
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: var(--gold-color);
    color: #fff;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #777;
}

/* --- Page Specific Styles --- */

/* Home - Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: -var(--nav-height);
    padding-top: var(--nav-height);
}
.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}
.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Home - Intro Section */
.intro-section {
    padding: var(--section-padding);
    display: flex;
    align-items: center;
    gap: 80px;
}
.intro-text { flex: 1; }
.intro-image {
    flex: 1;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.intro-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.intro-image:hover img { transform: scale(1.05); }

/* Home - Featured Live Show */
.featured-show {
    padding: var(--section-padding);
    background-color: #fff;
}
.show-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.show-image {
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
}
.show-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.show-price-tag {
    position: absolute;
    top: 30px; right: 30px;
    background-color: var(--gold-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(201, 31, 44, 0.4); /* Sombra con el nuevo rojo */
}
.show-features {
    margin: 30px 0 40px;
}
.show-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.show-features li i {
    color: var(--gold-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Menu Page - Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 5vw 100px;
}
.menu-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.card-image {
    height: 250px;
    overflow: hidden;
}
.card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .card-image img { transform: scale(1.1); }
.card-content { padding: 30px; }
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}
.card-header h3 { margin-bottom: 0; font-size: 1.5rem; }
.price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}
.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.ingredient-tag {
    background-color: #f4f4f4;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
}
.ingredient-tag i { margin-right: 8px; color: var(--secondary-text); }

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 5vw 100px;
}
.gallery-item {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* Contact Page */
.contact-section {
    padding: var(--section-padding);
    display: flex;
    gap: 80px;
}
.contact-info { flex: 1; }
.contact-form-container {
    flex: 1.5;
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.info-icon {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-right: 20px;
    margin-top: 5px;
}
.info-content h4 { font-size: 1.3rem; margin-bottom: 5px; }
.contact-form .form-group { margin-bottom: 25px; }
.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold-color);
}
.contact-form textarea { resize: vertical; height: 150px; }

/* --- Marquee (Improved) --- */
.marquee {
    background-color: var(--gold-color);
    color: #ffffff; /* Texto blanco sobre el fondo rojo */
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.1rem;
}
.marquee-content {
    display: inline-block;
    animation: marquee-scroll 30s linear infinite;
}
.marquee-item {
    display: inline-block;
    padding: 0 30px;
    position: relative;
}
.marquee-item::after {
    content: '•';
    position: absolute;
    right: 0;
    color: rgba(255,255,255,0.5); /* Separador más claro */
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Responsive Design --- */

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(249, 248, 246, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 30px;
}

.mobile-menu-content a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
}

.mobile-menu-content a.active {
    color: var(--gold-color);
}

/* Tablet */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .intro-section, .show-grid, .contact-section {
        flex-direction: column;
        gap: 50px;
    }
    
    .show-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image, .show-image { 
        height: 400px; 
        width: 100%; 
    }
    
    .contact-form-container { 
        padding: 30px; 
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation */
    .navbar { 
        padding: 0 20px;
        height: 70px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo-text {
        display: inline-block;
    }
    
    .logo-container {
        width: 50px !important;
        height: 50px !important;
    }
    
    .nav-links, 
    .navbar-cta { 
        display: none; 
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-content { 
        padding: 0 20px;
    }
    
    h1 { 
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-btn-secondary {
        color: #fff !important;
        border-color: #fff !important;
        margin-left: 0 !important;
    }
    
    /* Typography */
    h2 { 
        font-size: 2rem; 
    }
    
    h3 { 
        font-size: 1.5rem; 
    }
    
    p {
        font-size: 1rem;
    }
    
    /* Sections */
    .intro-section {
        padding: 60px 5vw;
    }
    
    .intro-image {
        height: 300px;
    }
    
    .featured-show {
        padding: 60px 5vw;
    }
    
    .show-image {
        height: 300px;
    }
    
    .show-price-tag {
        top: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .show-features li {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Menu & Gallery Grids */
    .menu-grid, 
    .gallery-grid { 
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 60px;
    }
    
    .menu-card {
        max-width: 100%;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    /* Footer */
    .footer {
        padding: 60px 20px 30px;
    }
    
    .footer-content { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .footer-col h4 {
        font-size: 1.3rem;
    }
    
    /* Buttons */
    .btn { 
        padding: 12px 25px; 
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 60px 20px;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .info-item {
        margin-bottom: 25px;
    }
    
    .info-icon {
        font-size: 1.2rem;
    }
    
    /* Marquee */
    .marquee {
        font-size: 0.95rem;
    }
    
    .marquee-item {
        padding: 0 20px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 80px 20px !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    h1 { 
        font-size: 1.8rem; 
    }
    
    h2 { 
        font-size: 1.6rem; 
    }
    
    h3 { 
        font-size: 1.3rem; 
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-container {
        width: 45px !important;
        height: 45px !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .intro-image,
    .show-image,
    .gallery-item {
        height: 250px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .menu-grid,
    .gallery-grid {
        padding: 0 15px 40px;
    }
    
    .footer {
        padding: 40px 15px 20px;
    }
    
    .marquee {
        font-size: 0.85rem;
    }
}

/* ========================================= */
/* --- SHOPPING CART & PREMIUM UI STYLES --- */
/* ========================================= */

/* Botón Flotante (Burbuja) */
.cart-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--text-color);
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-float-btn:hover {
    transform: scale(1.1);
    background-color: var(--gold-color);
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--gold-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #fff;
}

/* Panel Lateral (Drawer) */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 420px;
    max-width: 100%;
    height: 100%; 
    height: 100dvh; 
    background-color: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: right 0.35s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

/* Header del Carrito */
.cart-header {
    padding: 20px 25px;
    background-color: var(--text-color);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* NUEVO: ESTILOS PARA LA MARCA EN EL CARRITO */
.cart-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.cart-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.cart-brand .dot {
    color: var(--gold-color);
}

/* Botón de Cerrar (X) */
.close-cart {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-cart:hover {
    background: var(--gold-color);
}

/* Área de Items (Scrolleable) */
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    background-color: #fcfcfc;
}

/* Footer del Carrito */
.cart-footer {
    padding: 25px;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
    flex-shrink: 0;
    overflow-y: auto; 
    max-height: 60vh; 
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

/* Botón Toggle Mejorado */
.toggle-details-btn {
    width: 100%;
    background: #f4f4f4; /* Fondo gris suave */
    border: none;
    padding: 12px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 700; /* Letra más gruesa */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.toggle-details-btn:hover {
    background-color: #e0e0e0;
}

.toggle-details-btn i {
    transition: transform 0.3s ease;
}

/* Animación de la flechita cuando está cerrado */
.checkout-inputs.collapsed + .toggle-details-btn i {
    transform: rotate(0deg);
}
.toggle-details-btn i {
    transform: rotate(180deg); /* Flecha hacia arriba por defecto (abierto) */
}

/* Animación del formulario */
.checkout-inputs {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
    max-height: 600px; /* Altura máxima abierta */
    opacity: 1;
    overflow: hidden;
    margin-bottom: 15px;
}

.checkout-inputs.collapsed {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    padding: 0;
}

/* Inputs */
.checkout-inputs label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #666;
}

.cart-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cart-input:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(201, 31, 44, 0.1);
}

#orderNotes {
    resize: none;
    height: 60px;
}

/* Nota Legal */
.cart-disclaimer {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
    text-align: center;
    margin: 10px 0;
    line-height: 1.3;
}

/* Botón Checkout */
.checkout-btn {
    width: 100%;
    padding: 16px;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    transition: background 0.3s, transform 0.2s;
}

.checkout-btn:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
}

/* Item Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0;
    animation: fadeIn 0.3s ease;
}

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

.cart-item-details h4 {
    margin: 0 0 5px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.cart-item-price {
    color: var(--gold-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 3px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-color);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.item-qty-display {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    color: #ccc;
    cursor: pointer;
    margin-left: 8px;
    padding: 5px;
    transition: color 0.2s;
}

.remove-item:hover {
    color: #ff4444;
}

/* Overlay Oscuro */
.cart-overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-overlay-bg.active {
    display: block;
    opacity: 1;
}

/* --- PREMIUM BUTTONS (MENU PAGE) --- */
.add-to-cart-btn {
    background: linear-gradient(135deg, var(--gold-color) 0%, #a01823 100%);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(201, 31, 44, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '\f07a';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9em;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 31, 44, 0.4);
    background: linear-gradient(135deg, #d62533 0%, #b31b27 100%);
}

.add-to-cart-btn:active {
    transform: translateY(1px);
}

.item-in-cart-controls {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--text-color);
    color: #fff;
    padding: 5px 6px;
    border-radius: 50px;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.item-in-cart-controls span {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 10px;
    white-space: nowrap;
}

.item-in-cart-controls .qty-btn {
    width: 28px;
    height: 28px;
    background-color: #fff;
    color: var(--text-color);
    border-radius: 50%;
    border: none;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s, transform 0.2s;
}

.item-in-cart-controls .qty-btn:hover {
    background-color: var(--gold-color);
    color: #fff;
    transform: scale(1.1);
}

/* Fix Fecha Móvil */
input[type="date"]:invalid::-webkit-datetime-edit { color: #999; }
.date-placeholder-fix { min-height: 45px; }

/* Responsive */
@media (max-width: 480px) {
    .cart-sidebar { width: 100%; }
    .cart-float-btn { bottom: 20px; right: 20px; width: 55px; height: 55px; }
    
    @media (max-height: 600px) {
        .cart-items-container { flex: 0 0 auto; max-height: 200px; }
        .cart-footer { flex: 1; padding-bottom: 20px; }
    }
}
/* --- LANGUAGE SELECTOR STYLES --- */
.lang-selector-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    width: 80%;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn.active {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: #fff;
}

.lang-btn:hover {
    transform: translateY(-2px);
}

.lang-btn img {
    width: 20px;
    height: auto;
}
/* --- LANGUAGE SELECTOR (MOBILE & DESKTOP) --- */

/* Selector Móvil (Botones grandes en el menú lateral) */
.lang-selector-mobile {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    width: 80%;
}

.lang-btn-mobile {
    background: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn-mobile.active {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: #fff;
}

/* Selector Escritorio (PC - Texto elegante al lado de Contact) */
.lang-selector-desktop {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #ddd; /* Separador sutil */
    height: 25px;
}

.lang-btn-desktop {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: #999; /* Gris por defecto */
    transition: color 0.3s ease;
    padding: 0;
}

.lang-btn-desktop:hover {
    color: var(--gold-color);
}

.lang-btn-desktop.active {
    color: var(--text-color); /* Negro/Oscuro si está activo */
    text-decoration: underline;
    text-decoration-color: var(--gold-color);
    text-underline-offset: 4px;
}

/* Ocultar el de escritorio en pantallas pequeñas para no duplicar */
@media (max-width: 1024px) {
    .lang-selector-desktop {
        display: none;
    }
}

/* --- MEJORAS DEL PLANIFICADOR DE EVENTOS --- */

/* Cambiar el botón flotante a un tono oscuro elegante o mantener dorado */
.cart-float-btn {
    background: linear-gradient(135deg, #2A2A2A 0%, #000 100%); /* Negro elegante */
    border: 2px solid var(--gold-color); /* Borde dorado fino */
}

/* Hacer los inputs del formulario más compactos y limpios */
.form-group-sm {
    margin-bottom: 12px;
}

.form-group-sm label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-sm label i {
    color: var(--gold-color);
    margin-right: 5px;
    width: 15px;
    text-align: center;
}

/* Botón de WhatsApp más atractivo */
.checkout-btn {
    background: #25D366; /* Verde WhatsApp */
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.checkout-btn:hover {
    background: #128C7E; /* Verde oscuro WhatsApp */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Ajuste sutil al subheader del carrito */
.cart-subheader {
    background-color: #fff !important;
    border-bottom: 2px solid var(--gold-color) !important;
}
/* ========================================================= */
/* FIX AJUSTADO: Alineación PC perfecta + Móvil compacto     */
/* ========================================================= */

/* 1. Grid: Fuerza a que todas las tarjetas de la fila midan lo mismo */
.menu-grid {
    align-items: stretch !important;
}

/* 2. Tarjeta: Se convierte en una caja flexible vertical */
.menu-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Ocupa toda la altura que le da el grid */
}

/* 3. Contenido: Se estira para llenar el hueco vacío */
.card-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; /* La clave: empuja lo de abajo */
    height: auto !important; 
}

/* 4. Botón: Se va al fondo, pero con menos separación */
.card-actions {
    margin-top: auto !important; /* Manda el botón al piso */
    padding-top: 15px !important; /* REDUCIDO: Antes 30px, ahora 15px para que no se aleje tanto */
    width: 100%;
}
/* --- BOTÓN DE DESCARGA (MENU) --- */
.btn-ghost {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background-color: #ffffff;
    color: var(--text-color); /* Se vuelve texto oscuro al pasar el mouse */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* --- AJUSTE MOVIL BOTÓN DESCARGA --- */
@media (max-width: 768px) {
    .btn-ghost {
        width: auto !important; /* Evita que ocupe todo el ancho */
        padding: 10px 20px !important; /* Más compacto */
        font-size: 0.85rem !important; /* Letra más discreta */
        margin-top: 15px !important; /* Menos separación arriba */
        display: inline-flex !important;
    }
}
/* --- BOTÓN WHATSAPP (Tamaño 60px) --- */
.whatsapp-float {
    position: fixed;
    /* Altura ajustada: 60px botón + 30px base + 15px separación = 105px */
    bottom: 105px; 
    right: 30px;
    
    /* COLORES (Igual al carrito) */
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #a31e1e;
    
    /* TAMAÑO EXACTO (60px es el estándar) */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    
    /* ICONO CENTRADO */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px; /* Tamaño de icono equilibrado */
    text-align: center;
    text-decoration: none;
    
    /* Sombra y Capas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* EFECTO HOVER */
.whatsapp-float:hover {
    transform: translateY(-5px); 
}

/* Ajuste Móvil (Sincronizado con el carrito móvil) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;       /* Tamaño móvil estándar */
        height: 55px;
        font-size: 24px;
        bottom: 90px;      /* Justo encima del carrito móvil */
        right: 20px;
    }
}
/* --- ETIQUETA CÁPSULA MINIMALISTA (No invasiva) --- */
.map-section {
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-badge {
    position: absolute;
    /* La ponemos arriba a la derecha donde suele haber espacio libre */
    top: 10px;
    right: 10px;
    
    /* Estilo Cápsula Compacta */
    background-color: rgba(255, 255, 255, 0.95); /* Un pelín transparente */
    padding: 8px 15px; /* Relleno pequeño */
    border-radius: 50px; /* Bordes totalmente redondos */
    border: 2px solid #a31e1e; /* Borde rojo marca */
    
    /* Flex para alinear icono y texto en una línea */
    display: flex;
    align-items: center;
    gap: 8px;
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    width: fit-content; /* Se ajusta al tamaño del texto, no más */
}

/* Estilo del Icono */
.map-badge i {
    font-size: 16px;
    color: #a31e1e;
}

/* Estilo del Texto */
.map-badge span {
    font-size: 0.85rem; /* Letra pequeña pero legible */
    font-weight: 600;
    color: #2A2A2A;
    white-space: nowrap; /* Fuerza a que sea una sola línea */
}

/* Ajuste Móvil: Aseguramos que no se salga de la pantalla */
@media (max-width: 480px) {
    .map-badge {
        right: 50%; 
        transform: translateX(50%); /* Centrado arriba en celulares muy angostos */
        top: 10px;
        width: 90%; /* Que no toque los bordes */
        justify-content: center;
    }
}
/* --- POSICION DEL ICONO FLOTANTE DE GOOGLE MAPS - CONTACT.HTML --- */
@media (max-width: 768px) {
    .map-badge {
        /* 1. POSICIÓN: Esquina Superior Derecha */
        top: 10px !important;
        right: 10px !important; /* Pegado a la derecha */
        left: auto !important;  /* Ignoramos la izquierda */
        transform: none !important; /* Quitamos el centrado */
        bottom: auto !important;

        /* 2. TAMAÑO: Compacto */
        padding: 4px 4px !important;
        border: 1px solid #a31e1e !important;
        border-radius: 20px !important;
        gap: 6px !important;
        width: auto !important;
        max-width: 70% !important; /* Para que no sea demasiado larga */
    }

    /* 3. ICONO Y TEXTO (Mantener pequeños) */
    .map-badge i {
        font-size: 11px !important;
    }

    .map-badge span {
        font-size: 10px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
}
/* =========================================
   ARREGLO PARA IPAD / TABLET VERTICAL
   (Evita que el menú se rompa o se monte)
   ========================================= */
@media screen and (max-width: 1180px) {
    
    /* 1. Ocultamos el menú de texto y el botón rojo grande */
    .nav-links, 
    .navbar-cta {
        display: none !important;
    }

    /* 2. Forzamos que aparezca el botón de hamburguesa (las 3 rayitas) */
    .mobile-menu-toggle {
        display: flex !important; /* O 'block' dependiendo de tu estilo base */
        align-items: center;
        justify-content: center;
    }
    
    /* 3. Ajustamos el logo para que no se pegue al borde */
    .logo-container {
        width: 60px !important; /* Un poco más pequeño para tablets */
        height: 60px !important;
    }
}
/* =========================================
   SOLUCIÓN PARA MÓVIL (FOTO DE PERFIL DEL INDEX PARA DISPOSITIVOS MOVILES EN VERTICAL)
   ========================================= */
@media screen and (max-width: 767px) {
    .hero {
        /* AQUÍ PEGAS EL LINK DE LA FOTO VERTICAL NUEVA */
        background-image: url('https://i.ibb.co/4n5Q4LTk/Clean-Shot-2026-01-29-at-16-55-19-2x.png') !important;
        
        /* Esto asegura que se vea bien */
        background-position: center top !important;
    }
}