/* ============================================
   ELIMINAR SCROLL HORIZONTAL EN MÓVIL
   ============================================ */

/* Prevenir scroll horizontal en todo el body */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
}

/* Asegurar que todos los contenedores principales no desborden */
.container, 
.container-fluid,
main,
.wrapper,
.mx-auto {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Corregir el menú inferior (bottom-nav) */
.bottom-nav {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    padding-bottom: 5px !important;
}

/* Ocultar scrollbar en móviles (opcional) */
.bottom-nav::-webkit-scrollbar {
    height: 3px !important;
}

.bottom-nav::-webkit-scrollbar-track {
    background: #1a1a1a !important;
    border-radius: 10px !important;
}

.bottom-nav::-webkit-scrollbar-thumb {
    background: #00d4ff !important;
    border-radius: 10px !important;
}

/* Corregir grids de productos */
.grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* Asegurar que las imágenes no causen desborde */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* Corregir el carousel */
.carousel-container,
.carousel-wrapper {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Corregir secciones */
section {
    overflow-x: hidden !important;
}

/* Corregir footer */
footer {
    overflow-x: hidden !important;
}

/* Ajustes para móviles pequeños */
@media (max-width: 640px) {
    /* Reducir padding laterales */
    .px-4 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Ajustar grid de productos para móvil */
    .grid {
        gap: 12px !important;
    }
    
    /* Ajustar tarjetas */
    .card, 
    .bebida-card,
    .bg-metal-900\/50 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ajustar contenedores */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Tarjetas de producto tecnológicas */
.product-card {
    background: linear-gradient(145deg, rgba(26,26,31,0.9), rgba(10,10,15,0.9));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,107,53,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.3);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card .product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card .product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card .product-info {
    padding: 1.25rem;
}

.product-card .product-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.product-card .product-desc {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card .product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-orange);
    text-shadow: 0 0 10px rgba(255,107,53,0.3);
}

.product-card .add-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,107,53,0.5);
}

/* Badges */
.badge-neon {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-neon-orange {
    background: rgba(255,107,53,0.2);
    color: var(--neon-orange);
    border: 1px solid rgba(255,107,53,0.3);
}

.badge-neon-green {
    background: rgba(57,255,20,0.2);
    color: var(--neon-green);
    border: 1px solid rgba(57,255,20,0.3);
}

/* Inputs tecnológicos */
.input-tech {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(26,26,31,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s;
}

.input-tech:focus {
    outline: none;
    border-color: var(--neon-orange);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

/* Botones tecnológicos */
.btn-tech {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--metal-700), var(--metal-800));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.btn-tech:hover::before {
    left: 100%;
}

.btn-tech-primary {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
    border: none;
}

.btn-tech-primary:hover {
    box-shadow: 0 0 20px rgba(255,107,53,0.4);
    transform: translateY(-2px);
}

/* Modales */
.modal-enter {
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Horarios tabla */
.schedule-table tr {
    transition: background-color 0.3s;
}

.schedule-table tr:hover {
    background-color: rgba(255,107,53,0.05);
}

.schedule-table tr.today {
    background: linear-gradient(90deg, rgba(255,107,53,0.1), transparent);
    border-left: 3px solid var(--neon-orange);
}

/* Estrellas de rating */
.star-rating {
    color: var(--neon-yellow);
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 0 5px rgba(255,190,11,0.3);
}

.star-rating:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(255,190,11,0.6);
}

/* Estilos para la sección PWA */
#pwa-section .mockup-screen {
    background: #0a0a0f;
    border-radius: 2rem;
}
#install-pwa-btn {
    transition: all 0.3s;
}
#install-pwa-btn:active {
    transform: scale(0.98);
}

/* Efecto hover para íconos de eventos */
#eventos .grid > div:hover i {
    transform: scale(1.1);
    transition: transform 0.2s;
}

/* Botones de categoría */
.customizer-cat-btn {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(185, 41, 221, 0.3);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    color: #b829dd;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.customizer-cat-btn.active {
    background: linear-gradient(135deg, #b829dd, #ff006e);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(185, 41, 221, 0.5);
}
.customizer-cat-btn:hover {
    transform: translateY(-2px);
    border-color: #b829dd;
}

/* Ingredientes extra */
.ingredient-item {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.ingredient-item.selected {
    background: linear-gradient(135deg, #00d4ff, #ff006e);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 10px rgba(0,212,255,0.5);
}
.ingredient-item:hover {
    transform: scale(1.05);
}


.bebida-filter-btn.active {
    background-color: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Scroll personalizado para el personalizador */
.customizer-scroll::-webkit-scrollbar {
    width: 6px;
}

.customizer-scroll::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.customizer-scroll::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 10px;
}

/* Botones seleccionados */
.drink-base-btn.selected, 
.drink-fruit-btn.selected, 
.drink-liqueur-btn.selected, 
.drink-extra-btn.selected {
    transform: scale(0.98);
    box-shadow: 0 0 15px currentColor;
}

/* Animación para el resumen */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#drink-customizer-container {
    animation: fadeIn 0.3s ease-out;
}

/* Estilos para Happy Hour */
.happy-hour-day.active {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(0, 212, 255, 0.2));
    border: 1px solid #ff006e;
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.3);
    transform: scale(1.02);
}

.happy-hour-day {
    transition: all 0.3s ease;
}

.happy-hour-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Línea de tiempo para la sección de promos */
#promos-bebidas {
    position: relative;
    overflow: hidden;
}

#promos-bebidas::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff006e, #00d4ff, #b829dd, transparent);
    animation: scanLine 8s linear infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Efecto de brillo para las tarjetas de promo */
.drink-promo-card {
    transition: all 0.3s ease;
}

.drink-promo-card:hover {
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}
/* FORZAR VISIBILIDAD DE BEBIDAS - SOLUCIÓN DEFINITIVA */
#bebidas-grid {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#bebidas-grid .bebida-card,
#bebidas-grid > div,
.bebida-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Asegurar que el contenedor de bebidas sea visible */
section#bebidas {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Evitar que animaciones globales oculten las bebidas */
.section-animate {
    opacity: 1 !important;
    transform: none !important;
}