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

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.4;
            color: #333;
            background-color: #f8f8f8;
            text-align: center;
            transition: all 0.3s ease;
        }

        .menu-container {
            max-width: 600px;
            margin: 20px auto;
            background: white;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            min-height: calc(100vh - 40px);
            border: 4px solid #2c3e50;
        }

        /* Header */
        .header {
            background: white;
            padding: 20px;
            text-align: center;
            position: relative;
            margin: 20px;
        }

        .language-selector:hover {
            transform: scale(1.1);
        }

        .logo {
            margin-bottom: 10px;
        }

        .logo img {
            width: 40%;
            object-fit: cover;
        }

        .restaurant-name {
            font-size: 2.5rem;
            font-weight: bold;
            color: #2c3e50;
            letter-spacing: 3px;
            margin-bottom: 5px;
        }

        .restaurant-subtitle {
            font-size: 0.9rem;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Menu Sections */
        .menu-section {
            margin: 30px;
            border-radius: 40px 0 40px 40px;
            padding: 30px;
            color: white;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            /* background: #eb7647; Color por defecto español */
        }

        /* Solo cuando el body tenga la clase 'english' cambiará el color */
        body.english .menu-section:not([style*="background"]) {
            background: #aed295 !important;
        }

        .section-title {
            font-family: 'APPOPAINT', sans-serif;
            font-size: 1.8rem;
            font-weight: bold;
            text-align: center;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: relative;
            z-index: 2;
        }

        .section-subtitle {
            font-family: 'APPOPAINT', sans-serif;
            text-align: center;
            font-size: 0.8rem;
            margin-bottom: 30px;
            opacity: 0.9;
            position: relative;
            z-index: 2;
        }

        .menu-item {
            margin-bottom: 25px;
            position: relative;
            z-index: 2;
            text-align: center;
            cursor: pointer;
            transition: transform 0.2s ease, opacity 0.2s ease;
            padding: 10px;
            border-radius: 10px;
        }

        .menu-item:hover {
            transform: translateY(-2px);
            opacity: 0.9;
            background: rgba(255,255,255,0.1);
        }

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

        .item-name {
            font-family: "Source Sans 3", sans-serif;
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .item-description {
            font-family: "Source Sans 3", sans-serif;
            font-size: 0.85rem;
            margin-bottom: 10px;
            opacity: 0.9;
            line-height: 1.3;
        }

        .item-price {
            font-size: 1.1rem;
            font-weight: bold;
            text-align: center;
            margin-top: 10px;
        }

        .item-prices {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 10px;
        }

        .price-primary {
            font-size: 1.1rem;
            font-weight: bold;
        }

        .price-secondary {
            font-size: 0.95rem;
            font-weight: normal;
            opacity: 0.85;
        }

        .price-separator {
            font-size: 0.9rem;
            opacity: 0.7;
            font-weight: normal;
        }

        /* Modal precio dual */
        .product-prices {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 15px;
        }

        .product-price-primary {
            font-size: 2rem;
            font-weight: bold;
            color: #eb7647;
        }

        .product-price-secondary {
            font-size: 1.5rem;
            font-weight: normal;
            color: #eb7647;
            opacity: 0.8;
        }

        .product-price-separator {
            font-size: 1.2rem;
            color: #666;
            font-weight: normal;
        }

        .allergens {
            display: flex;
            justify-content: center;
            gap: 3px;
            margin: 5px 0;
        }

        .allergen {
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            opacity: 0.9;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .allergen img {
            width: 16px;
            height: 16px;
            object-fit: contain;
        }

        /* Toppings styles - Agregar después de .allergen img */
        .toppings {
            margin: 12px 0;
        }

        .toppings-title {
            font-size: 0.75rem;
            font-weight: bold;
            color: rgba(255,255,255,0.9);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
        }

        .toppings-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
        }

        .topping-item {
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: all 0.2s ease;
        }

        .topping-item:hover {
            background: rgba(255,255,255,0.25);
            transform: translateY(-1px);
        }

        .topping-name {
            font-weight: 500;
        }

        .topping-price {
            font-weight: bold;
            opacity: 0.9;
        }

        /* Modal toppings styles */
        .product-toppings {
            margin-bottom: 20px;
        }

        .product-toppings .toppings-title {
            font-size: 0.8rem;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
        }

        .product-toppings .toppings-list {
            justify-content: center;
        }

        .product-toppings .topping-item {
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            color: #495057;
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.75rem;
        }

        .product-toppings .topping-item:hover {
            background: #e9ecef;
        }

        .menu-note {
            text-align: center;
            font-size: 0.7rem;
            margin-top: 20px;
            opacity: 0.8;
            font-style: italic;
            position: relative;
            z-index: 2;
        }

        /* Decorative elements */
        .decorative-line {
            height: 1px;
            background: rgba(255,255,255,0.3);
            margin: 20px 0;
            position: relative;
        }

        .decorative-line::before {
            content: '';
            position: absolute;
            left: 50%;
            top: -2px;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
        }

        /* Product Modal */
        .product-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .product-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .product-content {
            background: white;
            border-radius: 15px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            color: #333;
        }

        .product-header {
            position: relative;
            text-align: center;
            padding: 60px 20px 10px;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: #666;
            transition: color 0.2s;
        }

        .close-btn:hover {
            color: #000;
        }

        .product-image {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin: 0 auto 20px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #666;
            overflow: hidden;
        }

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

        .product-name {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .product-details {
            padding: 0 20px 20px;
        }

        .product-description {
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 20px;
            color: #555;
            text-align: center;
        }

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

        .allergens-title {
            font-size: 0.8rem;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .product-allergen-list {
            display: flex;
            justify-content: center;
            gap: 5px;
            flex-wrap: wrap;
        }

        .product-allergen {
            background: #eb7647;
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .product-price {
            font-size: 2rem;
            font-weight: bold;
            color: #eb7647;
            text-align: center;
        }

        /* Language switching */
        .lang-es, .lang-en {
            display: none;
        }

        body.spanish .lang-es {
            display: inline;
        }

        body.english .lang-en {
            display: inline;
        }

        /* Sections containers - CLAVE: solo una sección visible a la vez */
        .sections-container {
            transition: all 0.3s ease;
        }

        .spanish-sections {
            display: block;
        }

        .english-sections {
            display: none;
        }

        /* Cuando el body tiene la clase 'english' */
        body.english .spanish-sections {
            display: none !important;
        }

        body.english .english-sections {
            display: block !important;
        }

        /* Responsive Design */
        @media (max-width: 480px) {
            .menu-container {
                margin: 10px;
                box-shadow: 0 0 15px rgba(0,0,0,0.1);
            }

            .header {
                margin: 15px;
                padding: 20px;
            }

            .restaurant-name {
                font-size: 1.8rem;
                letter-spacing: 1px;
            }

            .menu-section {
                margin: 15px;
                padding: 25px;
                border-radius: 40px 0 40px 40px;
            }

            .section-title {
                font-size: 1.6rem;
                letter-spacing: 1px;
            }

            .item-name {
                font-size: 1rem;
            }

            .item-description {
                font-size: 0.9rem;
            }
        }

        @media (min-width: 768px) {
            .menu-container {
                max-width: 800px;
                margin: 30px auto;
            }

            .header {
                padding: 35px;
            }

            .menu-section {
                padding: 10px;
                margin: 40px;
            }
        }

        .section-header {
            cursor: pointer;
            position: relative;
            padding: 20px 0;
            user-select: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        .section-header:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        .collapse-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
            font-size: 1.2rem;
            font-weight: bold;
            opacity: 0.8;
        }

        .collapse-icon::before {
            content: '▼';
            display: block;
        }

        .menu-section.collapsed .collapse-icon {
            transform: rotate(-90deg);
        }

        .section-content {
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            opacity: 1;
            transform: translateY(0);
        }

        .menu-section.collapsed .section-content {
            max-height: 0;
            opacity: 0;
            transform: translateY(-10px);
            overflow: hidden;
            margin: 0;
            padding: 0;
        }

        /* Indicador visual sutil para mostrar que es clickeable */
        .section-header::after {
            content: '';
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 2px;
            background: rgba(255,255,255,0.3);
            border-radius: 1px;
            transition: width 0.3s ease;
        }

        .section-header:hover::after {
            width: 50px;
        }

        /* Responsive para móviles */
        @media (max-width: 480px) {
            .collapse-icon {
                width: 20px;
                height: 20px;
                font-size: 1rem;
            }
            
            .section-header {
                gap: 10px;
                padding: 15px 0;
            }
        }


        /* Barra inferior fija */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    gap: 10px;
    padding: 15px;
    z-index: 999;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
}

.bottom-btn {
    flex: 1;
    border: none;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 15px 0 15px 15px;
}

.bottom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(235, 118, 71, 0.3);
}

/* Estilos del modal de filtros */
.filter-allergens {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
}

.filter-allergen-item {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.filter-allergen-item:hover {
    border-color: #eb7647;
    transform: translateY(-2px);
}

.filter-allergen-item.selected {
    background: #6c757d;
    border-color: #495057;
    color: white;
}

.filter-allergen-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.filter-allergen-item span {
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.filter-btn-clear,
.filter-btn-apply {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn-clear {
    background: #6c757d;
    color: white;
}

.filter-btn-clear:hover {
    background: #5a6268;
}

.filter-btn-apply {
    background: var(--primary-color, #eb7647);
    color: white;
}

.filter-btn-apply:hover {
    background: var(--primary-color, #eb7647);
}

/* Responsive para la barra inferior */
@media (max-width: 480px) {
    .bottom-btn {
        padding: 12px 8px;
    }

    .bottom-bar {
        padding: 12px;
        gap: 8px;
    }

    .bottom-btn {
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    
    .btn-icon {
        font-size: 1rem;
    }
    
    .btn-text {
        font-size: 0.7rem;
    }
}

/* Ajustar padding del body para la barra fija */
body {
    padding-bottom: 70px;
}

/* Controles de wishlist en modal de producto */
.product-wishlist-controls {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.wishlist-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #eb7647;
    background: white;
    color: #eb7647;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #eb7647;
    color: white;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    min-width: 40px;
}

.add-to-wishlist-btn {
    width: 100%;
    padding: 15px;
    background: #eb7647;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-wishlist-btn:hover {
    background: #d65a30;
}

.add-to-wishlist-btn.in-wishlist {
    background: #28a745;
}

.add-to-wishlist-btn.in-wishlist:hover {
    background: #218838;
}

/* Modal de wishlist mejorado */
.wishlist-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0;
}

.wishlist-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
    background: white;
    transition: background-color 0.2s ease;
}

.wishlist-item:hover {
    background-color: #fafafa;
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item-info {
    flex: 1;
    min-width: 0; /* Para permitir que el texto se truncue si es necesario */
}

.wishlist-item-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.3;
    /* Permitir texto de múltiples líneas pero limitado a 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:  left;
}

.wishlist-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Controles de cantidad más compactos */
.wishlist-item-controls .wishlist-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.wishlist-item-controls .quantity-btn {
    width: 28px;
    height: 28px;
    border: 1.5px solid #eb7647;
    background: white;
    color: #eb7647;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wishlist-item-controls .quantity-btn:hover {
    background: #eb7647;
    color: white;
    transform: scale(1.05);
}

.wishlist-item-controls .quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.wishlist-item-controls .quantity-display {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    min-width: 20px;
    text-align: center;
}

.wishlist-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.wishlist-remove-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.wishlist-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.wishlist-empty h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #495057;
}

.wishlist-empty p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.wishlist-total {
    padding: 15px 20px;
    border-top: 2px solid #eb7647;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    margin-top: auto;
}

.wishlist-clear-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.wishlist-clear-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .wishlist-item {
        padding: 10px 12px;
        gap: 12px;
    }
    
    .wishlist-item-name {
        font-size: 0.85rem;
    }
    
    .wishlist-item-controls .quantity-btn {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .wishlist-item-controls .quantity-display {
        font-size: 0.9rem;
        min-width: 18px;
    }
    
    .wishlist-remove-btn {
        padding: 3px 6px;
        font-size: 0.65rem;
    }
    
    .wishlist-total {
        padding: 12px 15px;
    }
    
    .wishlist-clear-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* Mejoras adicionales para el modal */
.product-modal .product-content {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.product-modal .product-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px 20px 0 0;
}

/* Scroll personalizado para la lista */
.wishlist-content::-webkit-scrollbar {
    width: 4px;
}

.wishlist-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.wishlist-content::-webkit-scrollbar-thumb {
    background: #eb7647;
    border-radius: 2px;
}

.wishlist-content::-webkit-scrollbar-thumb:hover {
    background: #d65a30;
}

/* Animación suave para los items */
.wishlist-item {
    animation: fadeInUp 0.3s ease-out;
}

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

/* Mejora visual del botón de cantidad cuando está en 0 */
.wishlist-item-controls .quantity-btn:disabled {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* Estado activo para mejor feedback */
.wishlist-item-controls .quantity-btn:active {
    transform: scale(0.95);
}

.wishlist-remove-btn:active {
    transform: translateY(0);
}

.wishlist-item-image{
    display: none;
}

.wishlist-item-price{
    display: none;
}

.wishlist-total-price{
    display: none;
}