/* --- 1. ESTILOS GENERALES --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    background-color: #121212; 
    font-family: 'Segoe UI', sans-serif; 
    color: #FFFFFF; 
    line-height: 1.6;
}

/* --- 2. HEADER Y BOTÓN CARRITO --- */
.main-header { 
    background-color: #000; 
    padding: 20px; 
    text-align: center; 
    border-bottom: 4px solid #00A89E; 
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

.logo-principal { 
    width: 150px; 
    margin-bottom: 10px; 
}

.tagline-header { 
    font-size: 0.9rem; 
    color: #aaa; 
    margin-bottom: 15px; 
}

#ver-carrito { 
    background-color: #00A89E; /* Color turquesa de la marca */
    color: white; 
    border: none; 
    padding: 12px 25px; 
    border-radius: 10px;
    font-weight: bold; 
    font-size: 1rem;
    cursor: pointer; 
    transition: 0.3s; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

#ver-carrito:hover { 
    background-color: #008f86; 
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 158, 0.3);
}

/* --- 3. IMÁGENES (Optimizado para Transparencias) --- */
.producto-card img, .combo-card img { 
    width: 100%; 
    height: 200px; 
    object-fit: contain; /* Para que la imagen transparente no se deforme */
    background-color: #1a1a1a; /* Fondo oscuro para resaltar el PNG */
    border-radius: 15px; 
    margin-bottom: 15px; 
}

/* --- 4. GRILLAS Y TARJETAS --- */
.titulo-seccion { 
    text-align: center; 
    margin-top: 30px; 
    color: #00A89E; 
    text-transform: uppercase;
}

.contenedor-productos, .contenedor-combos { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    padding: 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.producto-card, .combo-card { 
    background: #1e1e1e; 
    border-radius: 20px; 
    padding: 20px; 
    text-align: center; 
    border: 1px solid #333; 
    transition: 0.3s; 
}

/* --- 5. BOTONES DE ACCIÓN --- */
.producto-card button, .combo-card button {
    background: #00A89E; 
    color: white; 
    border: none; 
    width: 100%; 
    padding: 14px; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: bold; 
    text-transform: uppercase; 
    transition: 0.3s;
}

.producto-card button:hover, .combo-card button:hover {
    background-color: #008f86;
}

.btn-agregado { 
    background: #28a745 !important; 
}

/* --- 6. FILTROS --- */
.filtros { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px; 
    padding: 20px; 
}

.btn-filtro { 
    background: #222; 
    color: white; 
    border: 1px solid #00A89E; 
    padding: 10px 20px; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: 0.3s; 
}

.btn-filtro.activo { 
    background: #00A89E; 
    color: #000; 
    font-weight: bold; 
}

/* --- 7. MODALES --- */
.modal { 
    display: none; 
    position: fixed; 
    top:0; left:0; 
    width:100%; height:100%; 
    background: rgba(0,0,0,0.9); 
    z-index: 2000; 
    justify-content: center; 
    align-items: center; 
}

.modal-content { 
    background: #222; 
    padding: 25px; 
    border-radius: 20px; 
    width: 90%; 
    max-width: 400px; 
    border: 1px solid #333; 
}

/* --- 8. PIE DE PÁGINA (FOOTER) --- */
.main-footer { 
    background-color: #000; 
    color: #fff; 
    padding: 40px 20px; 
    margin-top: 50px; 
    border-top: 2px solid #00A89E;
}

.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.footer-section h4 { 
    color: #00A89E; 
    margin-bottom: 15px; 
    font-size: 1.1rem; 
}

.footer-section p { 
    font-size: 0.9rem; 
    color: #ccc; 
}

/* --- 9. CARRITO Y WHATSAPP --- */
#btn-enviar {
    background-color: #25D366; 
    color: white; 
    width: 100%; 
    padding: 15px; 
    border: none; 
    border-radius: 10px; 
    font-weight: bold; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    transition: 0.3s; 
    margin-top: 15px;
}

#btn-cerrar { 
    background: transparent; 
    color: #aaa; 
    border: 1px solid #444; 
    width: 100%; 
    padding: 10px; 
    margin-top: 10px; 
    border-radius: 8px; 
    cursor: pointer; 
}

/* --- 10. BOTÓN SUBIR --- */
#btn-subir {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #00A89E;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none; 
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: 0.3s;
}

#btn-subir:hover { 
    background-color: #008f86; 
    transform: scale(1.1); 
}