/* --- style.css --- */

/* 1. FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;900&display=swap');

/* 2. GENERALES */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #f9f9f9; color: #333; }
html { scroll-behavior: smooth; }

/* 3. HEADER (Respetando tu código original) */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 50px; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.85); /* Un poco más oscuro para leer mejor */
}
.logo img { height: 50px; }
nav a { color: white; text-decoration: none; margin-left: 20px; font-weight: 500; font-size: 0.9rem; text-transform: uppercase; }
nav a:hover { color: #003366; }


/* 4. HERO (LA PARTE QUE TE DABA RISA - AHORA SERIA) */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 0; }

/* El Cuadro Blanco (Versión "Chatita") */
.welcome-box {
    background-color: white;
    padding: 20px 40px;            /* <--- AQUÍ ESTÁ EL CAMBIO: Menos relleno arriba/abajo */
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 600px;              /* <--- Volvimos al ancho que te gustaba */
    width: 90%;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

/* Ajustamos los márgenes del texto para que no queden apretados */
.welcome-box h1 {
    color: #444;
    font-size: 1.8rem;             /* Tamaño moderado */
    font-weight: 800;
    margin-bottom: 0px;            /* Sin espacio extra abajo */
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.frase-destacada {
    display: block;
    color: #003366;
    font-size: 3rem;               /* Un poquito más chico para que entre bien */
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 5px;
    margin-bottom: 20px;           /* Menos espacio antes del botón */
}

.welcome-box p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;           /* Menos espacio abajo */
    font-weight: 400;
}

/* Texto de arriba "NO VENDEMOS IGUAZÚ" */
.welcome-box h1 {
    color: #444;                   /* Gris oscuro */
    font-size: 2.8rem;             /* AUMENTADO (Antes 1.8) para igualar */
    font-weight: 550;              /* GRUESO (Antes 400) para que tenga fuerza */
    margin-bottom: 0;              /* Quitamos margen para pegarlo al de abajo */
    text-transform: uppercase;     
    letter-spacing: 1px;           
    line-height: 1.1;              
}

/* LA FRASE "SOMOS IGUAZÚ" */
.frase-destacada {
    display: block;                
    color: #003366;                /* Azul Marino */
    font-size: 3.2rem;             /* AJUSTADO (Antes 4.5) - Casi igual al de arriba */
    font-weight: 600;              /* EXTRA GRUESO (Un pelín más que el de arriba) */
    text-transform: uppercase;     
    line-height: 1;                
    margin-top: 5px;               /* Pegadito al de arriba */
    margin-bottom: 30px;
}

.welcome-box p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.btn-blue {
    display: inline-block; padding: 15px 40px; background-color: #003366; color: white;
    text-decoration: none; border-radius: 4px; /* Botón rectangular */
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
    transition: 0.3s;
}
.btn-blue:hover { background-color: #002244; }


/* --- 5. SECCIÓN RANKING (TARJETAS MÁS GRANDES) --- */
#ranking, #paquetes { 
    background-color: white !important; 
    padding: 80px 20px; 
}

.contenedor-tarjetas {
    display: flex !important;
    flex-direction: row !important; /* Fuerza la fila */
    flex-wrap: wrap; /* Si no entran, recién ahí bajan */
    justify-content: center; /* Las centra */
    gap: 20px; /* Espacio entre cada una */
    width: 100%;
    padding: 20px 0;
}

/* Evitamos que la tarjeta ocupe todo el ancho */
.mi-tarjeta {
    flex: 0 1 350px !important; /* Ancho fijo para que entren varias en la misma línea */
    min-width: 300px;
    margin: 0 !important; /* Quitamos márgenes que puedan empujar */
}
.mi-tarjeta:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.foto-tarjeta { 
    width: 100%; 
    height: 260px;              /* Antes 220px. Ahora la foto es más alta */
    object-fit: cover; 
}

.contenido-tarjeta { padding: 25px; text-align: left; } /* Más relleno interno */

/* Textos un poco más grandes para acompañar */
.titulo-tarjeta { font-size: 1.5rem; margin-bottom: 8px; color: #333; font-weight: 700; }
.estrellas { color: #ff9800; font-size: 1rem; margin-bottom: 12px; }
.descripcion { color: #666; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.precio { font-size: 1.4rem; font-weight: 700; color: #333; }

.boton-reservar { 
    background-color: #333; color: white; padding: 10px 25px; 
    text-decoration: none; border-radius: 5px; font-size: 1rem; 
}

/* --- BOTÓN VERDE PARA AGREGAR --- */
.btn-guardar-verde {
    background-color: #0a2270; 
    color: white; 
    padding: 15px; 
    border: none; 
    cursor: pointer; 
    border-radius: 5px; 
    font-weight: bold; 
    width: 100%; 
    text-transform: uppercase; 
    font-size: 1rem; 
    transition: 0.3s;
}
.btn-guardar-verde:hover { 
    background-color: #218838; 
}

.titulo-form { 
    text-align: center; 
    margin-bottom: 20px; 
    color: #333; 
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase; 
}
/* ========================================= */
/* 8. PORTADAS Y LISTADOS DE SECCIONES       */
/* ========================================= */

.hero-seccion { height: 60vh; min-height: 400px; }

/* Achicamos y centramos el cuadro blanco en los listados */
.welcome-box-seccion { 
    padding: 30px 40px; 
    max-width: 600px; /* Un poco más angosto para que no sea infinito */
    margin: 0 auto;
}

/* Letra sutil para el "Descubrí la magia" */
.hero-titulo { 
    font-size: 1.2rem; 
    color: #666; 
    margin-bottom: 10px;
    letter-spacing: 2px; /* Un poquito separadas queda pro */
}

/* Reducimos el título principal gigante */
.frase-seccion { 
    display: block; /* Para que quede en su propio renglón */
    font-size: 1rem; /* <--- ACÁ ESTÁ EL CAMBIO PRINCIPAL: De 3.5 a 2.0 */
    line-height: 1.3; /* Separación de renglones */
    color: #003366; 
    font-weight: 800; /* Bien gordita la letra */
}

/* Ajuste automático para celulares */
@media (max-width: 768px) {
    .frase-seccion { font-size: 1.6rem; }
}

.seccion-paquetes { padding: 50px 20px; background: white; }
.encabezado-seccion { text-align: center; margin-bottom: 40px; }
.titulo-seccion { color: #333; font-size: 2rem; font-weight: 800; text-transform: uppercase; }
.linea-separadora-azul { width: 50px; height: 3px; background: #003366; margin: 10px auto; }

.caja-descripcion { height: 60px; overflow: hidden; transition: height 0.5s ease; margin-bottom: 10px; }
.btn-leer-mas { background: none; border: none; color: #007bff; cursor: pointer; font-size: 0.8rem; font-weight: bold; padding: 0; margin-bottom: 15px; }
.pie-tarjeta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; border-top: 1px solid #f9f9f9; padding-top: 15px; }
.mensaje-vacio { text-align: center; padding: 50px; }
/* --- 9. AJUSTES FINALES EMISIVOS/RECEPTIVOS --- */
.contenedor-boton-agregar { 
    width: 100%; 
    text-align: center; 
    margin-bottom: 20px; 
}

/* El truco limpio para el "Leer más" sin usar inline styles */
.caja-descripcion { 
    max-height: 60px; 
    overflow: hidden; 
    transition: max-height 0.5s ease; 
    margin-bottom: 10px; 
}

.caja-descripcion.expandida { 
    max-height: 1000px; /* Permite que el texto crezca sin trabas */
}
/* ========================================= */
/* 10. ESTILOS DE LA PÁGINA PRINCIPAL (INDEX)*/
/* ========================================= */

/* Portada Principal */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 0; }

/* Cuadro Blanco Principal */
.welcome-box { background-color: white; padding: 50px 40px; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); max-width: 600px; width: 90%; position: relative; z-index: 2; margin: 0 auto; }
.welcome-box h1 { color: #444; font-size: 1.8rem; font-weight: 800; margin-bottom: 0; text-transform: uppercase; letter-spacing: 1px; }
.frase-destacada { display: block; color: #003366; font-size: 3rem; font-weight: 900; text-transform: uppercase; line-height: 1; margin-top: 5px; margin-bottom: 20px; }
.welcome-box p { color: #666; font-size: 0.9rem; margin-bottom: 25px; font-weight: 400; }

/* Botones Principales */
.btn-blue { display: inline-block; padding: 15px 40px; background-color: #003366; color: white; text-decoration: none; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; transition: 0.3s; }
.btn-blue:hover { background-color: #002244; transform: translateY(-2px); }

/* Títulos del Ranking */
.encabezado-ranking { text-align: center; margin-bottom: 50px; }
.titulo-ranking { color: #333; font-size: 2.5rem; }
.subtitulo-ranking { color: #777; }

/* La medallita naranja con el número del puesto */
.badge-ranking { 
    position: absolute; top: 15px; left: 15px; 
    background: #003366; color: white; 
    width: 35px; height: 35px; border-radius: 50%; 
    display: flex; justify-content: center; align-items: center; 
    font-weight: bold; border: 2px solid white; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 10; 
}
/* ========================================= */
/* 11. RECUPERANDO LA BELLEZA DE LAS TARJETAS*/
/* ========================================= */

.contenedor-tarjetas {
    display: flex !important; 
    flex-wrap: wrap !important; 
    justify-content: center;
    gap: 40px; 
    max-width: 1400px; 
    margin: 0 auto;
}

.mi-tarjeta {
    width: 380px !important; 
    flex: 0 0 380px !important;
    background: white; 
    border: 1px solid #eee; 
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    overflow: hidden;
    position: relative; 
    margin-bottom: 30px; 
    transition: transform 0.3s;
}

.mi-tarjeta:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}

.foto-tarjeta { 
    width: 100%; 
    height: 260px; 
    object-fit: cover; 
}

.contenido-tarjeta { padding: 25px; text-align: left; }
.titulo-tarjeta { font-size: 1.5rem; margin-bottom: 8px; color: #333; font-weight: 700; }
.estrellas { color: #ff9800; font-size: 1rem; margin-bottom: 12px; }
.descripcion { color: #666; font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.precio { font-size: 1.4rem; font-weight: 700; color: #333; }
.boton-reservar { background-color: #333; color: white; padding: 10px 25px; text-decoration: none; border-radius: 5px; font-size: 1rem; font-weight: bold; } 
/* ========================================= */
/* 13. CAJA LOGIN ADMIN (Solo para la dueña) */
/* ========================================= */

.caja-login-admin {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.caja-login-admin h2 { margin-bottom: 10px; color: #333; }
.caja-login-admin p { color: #666; margin-bottom: 30px; }
/* Contenedor de cada fila (etiqueta + input) */
.form-grupo {
    margin-bottom: 20px;
    text-align: left; /* Alinea los textos a la izquierda */
}

.form-grupo label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* AQUÍ ESTÁ EL TRUCO DE LA ALINEACIÓN */
.form-grupo input {
    width: 100%;        /* Ocupa todo el ancho disponible */
    padding: 12px;      /* Espacio interno para que no se vea apretado */
    border: 1px solid #ccc;
    border-radius: 5px; /* Bordes redondeados profesionales */
    box-sizing: border-box; /* IMPORTANTE: evita que el padding ensanche de más el input */
    font-size: 16px;
}

/* El botón también debe medir lo mismo */
.btn-full {
    width: 100%;
    padding: 12px;
    background-color: #003366; /* El azul que venís usando */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-full:hover {
    background-color: #0055aa;
}
/* Estilos específicos para el panel de administración */

body { 
    padding-top: 80px; /* Ajustamos para que no sobre tanto espacio */
    background: #1a1a1a; /* Ponemos un fondo oscuro para que combine con el header de la captura */
    font-family: Arial, sans-serif;
    margin: 0;
}

.contenedor-admin { 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 40px 20px; 
    background: transparent; /* Que se vea el fondo oscuro atrás */
}

/* Las cajas del panel ahora resaltarán más sobre el fondo oscuro */
.form-box { 
    background: #ffffff; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    margin-bottom: 40px; 
}
.form-box { 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    margin-bottom: 40px; 
}

.form-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

/* Alineación perfecta de inputs */
input, textarea, select { 
    width: 100%; 
    padding: 12px; 
    margin: 10px 0 20px 0; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    box-sizing: border-box; /* Para que no se salgan del borde */
}

select.select-categoria {
    background: #eef; 
    font-weight: bold;
    cursor: pointer;
}

.tabla-admin { 
    width: 100%; 
    border-collapse: collapse; 
    background: white; 
}

.tabla-admin th, .tabla-admin td { 
    padding: 15px; 
    text-align: left; 
    border-bottom: 1px solid #ddd; 
}

.tabla-admin th {
    background-color: #f8f9fa;
    color: #555;
}

/* Botones */
.btn-green { 
    background: #286aa7; 
    color: white; 
    border: none; 
    padding: 12px 25px; 
    cursor: pointer; 
    border-radius: 5px;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

.btn-green:hover { background: #218838; }

.btn-red { 
    background: #dc3545; 
    color: white; 
    padding: 8px 12px; 
    text-decoration: none; 
    border-radius: 4px; 
    font-size: 0.8rem;
    transition: background 0.3s;
}

.btn-red:hover { background: #c82333; }

/* Etiquetas de categoría */
.badge-emisivo { background: #003366; color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; }
.badge-receptivo { background: #003366; color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; }

/* Estilos para el Footer */
footer {
    background-color: #1a1a1a; /* Gris muy oscuro, casi negro */
    color: #ffffff;
    padding: 50px 20px 20px;
    font-family: 'Arial', sans-serif;
}

.contenedor-footer {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-columna h3 {
    color: #003366; /* El naranja que usamos en receptivos */
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-columna p, .footer-columna li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-columna ul {
    list-style: none;
    padding: 0;
}

.footer-columna ul li {
    margin-bottom: 10px;
}

.footer-columna ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-columna ul li a:hover {
    color: #003366;
}

.redes-sociales {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.redes-sociales a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.redes-sociales a:hover {
    color: #003366;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #777;
}

.footer-logo {
    margin-bottom: 15px; /* Un poco menos de espacio abajo */
    text-align: left;
}

.footer-logo img {
    max-width: 120px; /* Antes era 180px, ahora es más chiquito */
    height: auto;
    /* QUITAMOS EL FILTER PARA QUE SE VEAN LOS COLORES ORIGINALES */
    display: block;
}
/* --- ESTILOS DEL PANEL DE ADMINISTRACIÓN --- */

/* Encabezado del panel (Título y botón salir) */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Botón oscuro para cerrar sesión */
.btn-cerrar-sesion {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-cerrar-sesion:hover {
    background-color: #555;
}

/* --- ETIQUETAS (BADGES) DE CATEGORÍAS EN LA TABLA --- */
.badge-receptivo, 
.badge-emisivo, 
.badge-paquete {
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    display: inline-block;
}

/* Colores para cada categoría */
.badge-receptivo {
    background-color: #007bff; /* Azul */
}

.badge-emisivo {
    background-color: #28a745; /* Verde */
}

.badge-paquete {
    background-color: #003366; /* Naranja (Color de tu marca) */
}
/* =========================================
   ESTILOS DEL HEADER Y MENÚ DE NAVEGACIÓN
   ========================================= */
.main-header {
    background: #1a1a1a;
    padding: 10px 15px; /* ANTES 30px: Ganamos espacio en los bordes de la pantalla */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px; /* ANTES 20px: Acerca el logo al menú */
}

.logo-header {
    height: 45px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 8px; /* ANTES 15px: Esto junta todos los enlaces del medio */
}
.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s;
    padding: 0 5px; /* NUEVO: Define un espacio interno mínimo y controlado */
}

.nav-link:hover {
    color: #ff9800; /* Efecto naranja al pasar el mouse */
}

.nav-link.destacado {
    font-weight: bold;
}

.user-greeting {
    color: #e6e1da;
    font-weight: bold;
    margin-left: 5px; /* ANTES 15px */
    margin-right: 5px; /* ANTES 10px */
    white-space: normal; 
    line-height: 1.1; /* Un poco más pegados los renglones */
    text-align: right; 
    width: 90px; /* ANTES 140px: Lo hacemos más angosto para ahorrar espacio */
    font-size: 0.85rem;
}

.btn-panel {
    background: #003366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap; /* Prohíbe que el botón se parta */
}

.btn-logout {
    background: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: 0.3s;
}

.btn-logout:hover {
    background: #dc3545;
    color: white;
}

.btn-login {
    background: white;
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

/* =========================================
   BUSCADOR EXPANDIBLE MÁGICO
   ========================================= */
.caja-buscador {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    padding: 2px;
    transition: background 0.4s ease;
    margin-left: auto !important; /* 🔥 ESTA ES LA CLAVE: Empuja todo a la derecha */
}

.input-buscador {
    width: 0px;
    border: none;
    background: transparent;
    outline: none;
    padding: 0px;
    color: #333;
    opacity: 0;
    transition: all 0.4s ease;
    font-family: sans-serif;
}

/* Efecto cuando se pasa el mouse o se hace clic */
.caja-buscador:hover,
.caja-buscador:focus-within {
    background: white;
}

.caja-buscador:hover .input-buscador,
.caja-buscador:focus-within .input-buscador {
    width: 150px;
    padding: 5px 10px;
    opacity: 1;
}

.btn-lupa {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1.1rem;
    padding: 5px 10px;
    transition: color 0.4s ease;
}

.caja-buscador:hover .btn-lupa,
.caja-buscador:focus-within .btn-lupa {
    color: #003366; 
}
/* =========================================
   EFECTO DE LEER MÁS / LEER MENOS
   ========================================= */
.caja-descripcion {
    max-height: 60px; /* La altura que tiene al principio (oculto) */
    overflow: hidden; /* Esconde lo que sobra */
    transition: max-height 0.5s ease-in-out; /* Hace que se mueva suave */
    margin-bottom: 10px;
}

.caja-descripcion.expandida {
    max-height: 800px; /* Se estira lo suficiente para que entre todo el texto */
}

.btn-leer-mas {
    background: none;
    border: none;
    color: #003366; /* Azul de tu marca */
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0;
    margin-bottom: 15px;
    text-decoration: underline;
    font-family: sans-serif;
}

.btn-leer-mas:hover {
    color: #ff9800; /* Se pone naranja al pasar el mouse */
}
.clima-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white; /* O el color de tus links */
    font-weight: bold;
    font-size: 0.9rem;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1); /* Un brillito sutil */
    border-radius: 20px;
    margin-left: 15px;
}

#clima-icono {
    color: #ff9800; /* Color solcito */
    font-size: 1.1rem;
}
/* --- BOTONES FLOTANTES --- */



.btn-carrito-flotante:hover { transform: scale(1.1); }

.contador-carrito {
    position: absolute;
    top: 0;
    right: 0;
    background: #003366;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* WhatsApp y Menú Desplegable */
.contenedor-wpp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.btn-whatsapp-principal {
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: 0.3s;
}

#opciones-wpp {
    position: fixed;
    /* Bajamos el valor para que coincida con el botón de abajo */
    bottom: 40px !important; 
    /* Lo mantenemos a la izquierda de los globos */
    right: 100px !important; 
    
    display: none;
    flex-direction: row;
    gap: 10px;
    z-index: 10001 !important;
    align-items: center;
}

#opciones-wpp.activo {
    display: flex !important;
}

/* Estilo para las burbujas de los nombres */
.contacto-wpp {
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
}
.item-wpp {
    background: white;
    color: #333;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
}

.item-wpp:hover { background: #f0f0f0; transform: scale(1.05); }
.item-wpp i { color: #25D366; font-size: 1.3rem; }

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

/* --- SIDEBAR DEL CARRITO --- */
.sidebar-carrito {
    position: fixed;
    top: 0;
    right: -400px; 
    width: 350px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    z-index: 99999 !important;
    transition: 0.4s ease;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.sidebar-carrito.abierto { right: 0; }

.header-carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.lista-items { flex-grow: 1; overflow-y: auto; margin-top: 20px; }

.item-carrito {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f9f9f9;
    margin-bottom: 12px;
    border-radius: 8px;
    border-left: 5px solid #ff9800;
}

.btn-finalizar {
    background: #009ee3;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

/* --- MODAL DE PAGO --- */
/* CON ESTO SE ARREGLA EL CUADRO DE PAGO */
/* EL FONDO OSCURO ATRÁS */
.modal-pago {
    display: none; 
    position: fixed; 
    z-index: 100000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* Fondo oscuro */
}

/* EL CUADRO BLANCO (CUIDADO AQUÍ) */
.modal-contenido {
    background-color: white !important;
    padding: 25px !important;
    border-radius: 15px;
    
    /* EL TRUCO PARA CENTRARLO PERFECTO */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* TAMAÑO Y SEGURIDAD */
    width: 90%;            /* En celulares ocupa casi todo el ancho */
    max-width: 450px !important; /* El tamaño chico que querías */
    max-height: 90vh;      /* Para que no se salga de la pantalla por abajo */
    overflow-y: auto;      /* Si el texto es largo, aparece una barrita adentro */
    
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    color: #333 !important;
}

/* AJUSTE PARA EL ICONO DE CERRAR (X) */
.modal-contenido .fa-times {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
}
/* --- FOOTER GENERAL --- */
.contenedor-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columna h3 {
    color: #003366;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-columna ul { list-style: none; padding: 0; }
.footer-columna li { margin-bottom: 10px; color: #ccc; font-size: 0.9rem; }
.footer-columna a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-columna a:hover { color: #003366; }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.8rem;
}
/* --- BORRADO NUCLEAR DE FANTASMAS --- */
.logo, .logo-header, .main-header a:first-child {
    position: relative !important;
}

/* Esto mata cualquier icono o texto extra que se haya colado por código */
.logo::after, .logo::before, 
.logo-header::after, .logo-header::before,
.clima-link::after { 
    content: none !important; 
    display: none !important; 
}

/* Aseguramos que el cuadrito gris tenga prioridad */
.clima-header {
    background: rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    visibility: visible !important;
}
/* DISEÑO DE LAS TARJETAS DE PAGO */
.opcion-pago {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0; /* Borde gris clarito */
    border-radius: 12px;       /* Bordes redondeados */
    cursor: pointer;
    transition: all 0.3s ease; /* Para que el efecto sea suave */
    background-color: #ffffff;
}

/* EFECTO CUANDO PASAS EL MOUSE */
.opcion-pago:hover {
    border-color: #003366;      /* El azul de tu marca */
    background-color: #f0f7ff;  /* Un fondo azul apenas perceptible */
    transform: translateY(-3px); /* Se levanta un poquito */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Sombra más fuerte al tocarlo */
}

/* AJUSTE DE ICONOS DENTRO DE LOS CUADRITOS */
.opcion-pago i {
    font-size: 1.6rem;
    color: #003366; /* Azul para los iconos */
    width: 35px;
    text-align: center;
}

/* AJUSTE DE LOS TEXTOS DENTRO */
.opcion-pago strong {
    display: block;
    color: #003366;
    font-size: 1rem;
    margin-bottom: 2px;
}

.opcion-pago span {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}
.seccion-rating {
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
    border: 1px solid rgba(0, 51, 102, 0.1);
    transition: transform 0.3s ease;
}

.seccion-rating:hover {
    transform: translateY(-5px);
}