/* --- GLOBALES --- */



body { overflow-x: hidden;    width: 100%;   position: relative; background-color: #f8f9fa; }

:root {
    --crema: #faf6f0;
}

body {
    position: relative;
    background-color: var(--crema) !important;
    overflow-x: hidden;
}

/* El fondo animado exacto que te gusta */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 15%, rgba(255,183,107,0.28) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 85% 80%, rgba(249,168,212,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,220,170,0.18) 0%, transparent 70%),
        var(--crema);
    z-index: -2;
    animation: meshMove 14s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Polvo dorado sutil */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle 1.5px at 12% 20%, rgba(200,150,12,0.55) 0%, transparent 100%),
        radial-gradient(circle 1px  at 80% 12%, rgba(255,140,0,0.35) 0%, transparent 100%),
        radial-gradient(circle 2px  at 88% 70%, rgba(249,168,212,0.6) 0%, transparent 100%),
        radial-gradient(circle 1px  at 35% 82%, rgba(200,150,12,0.3) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 62% 38%, rgba(255,140,0,0.4) 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

@keyframes meshMove {
    0%   { transform: scale(1)    rotate(0deg); }
    100% { transform: scale(1.05) rotate(1.5deg); }
}



/* También asegúrate de que el contenedor de las ofertas no deje salir nada */
section.container-fluid {
    overflow: hidden;
}


.line-orange { width: 80px; height: 3px; background-color: #ff8c00; margin: 0 auto; }


/* --- GLOBALES Y HERO 100% --- */
#heroSlider, 
.carousel-inner, 
.carousel-item {
    height: 100vh !important; /* Altura total de la pantalla */
    width: 100%;
}

.hero-img {
    height: 100vh !important;
    width: 100%;
    object-fit: cover;
    /* ESTO EVITA QUE SE CORTE LA TAPA DEL PERFUME EN PC */
    object-position: center top !important; 
}


/* --- CENTRADO DEL TEXTO EN EL HERO --- */
.carousel-caption {
    /* 1. Posicionamiento en el centro exacto */
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;

    /* 2. Ajuste de ancho y centrado horizontal */
    left: 50% !important;
    right: auto !important;
    width: 40% !important; /* En PC se ve más elegante un poco más angosto */
    margin-left: -20% !important; /* Mitad del width para centrar horizontalmente */

    /* 3. Estética del cuadro */
    padding: 30px !important;
    border-radius: 15px !important;
    background-color: rgba(0, 0, 0, 0.116) !important; /* Un poco más sutil */
    backdrop-filter: blur(5px); /* Efecto de vidrio esmerilado */
}

/* Ajustes específicos para Celular */
@media (max-width: 767px) {
    .carousel-caption {
        width: 90% !important;
        margin-left: -45% !important;
        padding: 20px !important;
    }
    
    .carousel-caption h2 {
        font-size: 1.6rem !important;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 0.9rem !important;
        margin-bottom: 15px;
    }
}


/* --- NAVBAR --- */
.navbar { top: 40px;transition: top 0.4s ease, background 0.4s ease;}
.menu-scrolled { background: rgba(255, 255, 255, 0.9) !important; backdrop-filter: blur(10px); }

.navbar-nav .nav-item {
    margin: 0 15px;
}

.navbar-nav .nav-link {
    padding: 10px 15px;
    letter-spacing: 0.5px;
    position: relative;
    font-weight: 700;

}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    background: #ff8c00;
    left: 50%;
    bottom: -4px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
      left: 0;
}


/* NAVBAR TRANSPARENTE INICIAL */
.navbar-transparente {
    background: rgba(255, 255, 255, 0.15); /* 👈 negro suave */
    backdrop-filter: blur(6px);
    transition: all 0.4s ease;
}

/* TEXTO BLANCO SOBRE IMAGEN */
.navbar-transparente .nav-link,
.navbar-transparente .navbar-brand {
    color: #fff !important;
}

/* ICONO MENU (hamburguesa) en blanco */
.navbar-transparente .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-transparente .navbar-toggler-icon {
    filter: invert(1);
}

/* CUANDO HACES SCROLL */
.menu-scrolled {
     background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(12px);
}

/* TEXTO OSCURO AL HACER SCROLL */
.menu-scrolled .nav-link,
.menu-scrolled .navbar-brand {
    color: #000 !important;
}

@media (max-width: 991px) {
    /* 1. Fondo sólido para el despliegue */
    .navbar-collapse {
        background-color: white !important; /* Forzamos el blanco */
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        position: relative;
        z-index: 9999;
        max-height: 85vh; /* Evita que el menú ocupe más de la pantalla */
        overflow-y: auto; /* Permite scroll interno si las sugerencias son largas */
    }

    /* 2. Forzamos el color de las letras a negro */
    .navbar-nav .nav-link, 
    .navbar-nav .dropdown-item,
    .navbar-brand {
        color: #000000 !important; 
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0; /* Separa los items para que sea más fácil tocar */
    }

    /* 3. El icono de la hamburguesa (por si no se ve) */
    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.5); /* Le da un fondo tenue al botón */
        border: none;
    }

    /* 4. Quitamos el borde del último item para que se vea limpio */
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

@media (max-width: 991px) {
    /* 1. Forzar el icono a color NEGRO */
    .navbar-toggler-icon {
        filter: invert(1) grayscale(1) brightness(0) !important;
    }

    /* 2. Asegurarnos que el botón tenga un fondo para que se vea sobre la imagen */
    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.8) !important;
        border: 1px solid rgba(0,0,0,0.2) !important;
        padding: 4px 8px;
    }

    /* 3. El fondo del menú desplegado */
    .navbar-collapse {
        background-color: white !important;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
}


/* --- HERO BUTTON --- */
.btn-comprar-hero { background-color: #000; color: #fff; font-weight: bold; text-transform: uppercase; padding: 10px 25px; transition: 0.3s; }
.btn-comprar-hero:hover { background-color: #ff8c00; color: #fff; transform: scale(1.05); }


/* --- SLIDER INFINITO --- */
.product-slider-wrapper { overflow: hidden; padding: 15px 0; }
.product-slider-container { display: flex; gap: 15px; transition: transform 0.5s ease; }
.product-card { flex: 0 0 calc(20% - 12px); min-width: calc(20% - 12px); background: #fff; border-radius: 12px; overflow: hidden; text-align: center; }
.product-card img { width: 100%; height: 180px; object-fit: cover; }
.price { color: #ff8c00; font-weight: 800; font-size: 1.1rem; }

/* FLECHAS SLIDER */
.slider-btn { position: absolute; top: 55%; transform: translateY(-50%); z-index: 10; background: #000; color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; }
.prev { left: -10px; } .next { right: -10px; }

/* --- GRILLA PRODUCTOS (FIJAR DISEÑO) --- */
    .producto-item { display: flex !important; transition: 0.4s; }
    

/* --- ANIMACIONES SCROLL --- */
/* Estado inicial: El producto está ahí pero invisible y un poco más abajo */
.revelar {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.revelar.activo {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Efecto cascada: Cada tarjeta sale un poquito después que la anterior */
/* --- EFECTO CASCADA CORREGIDO --- */

/* Cuando la tarjeta 1 recibe la clase .activo, espera 0.2s para empezar */
.producto-item:nth-child(1).activo { transition-delay: 0.2s; }

/* Cuando la tarjeta 2 recibe la clase .activo, espera 0.5s para empezar */
.producto-item:nth-child(2).activo { transition-delay: 1.1s; }

/* Cuando la tarjeta 3 recibe la clase .activo, espera 0.8s para empezar */
.producto-item:nth-child(3).activo { transition-delay: 1.5s; }

/* Cuando la tarjeta 4 recibe la clase .activo, espera 1.1s para empezar */
.producto-item:nth-child(4).activo { transition-delay: 1.9s; }


/* Retrasos para cada botón */
.filter-btn:nth-child(1) { animation-delay: 0.3s; }
.filter-btn:nth-child(2) { animation-delay: 0.4s; }
.filter-btn:nth-child(3) { animation-delay: 0.5s; }
.filter-btn:nth-child(4) { animation-delay: 0.6s; }
.filter-btn:nth-child(5) { animation-delay: 0.7s; }

/* --- WHATSAPP --- */
.btn-whatsapp { position: fixed; bottom: 25px; right: 25px; background: #25d366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 991px) {
    .product-card { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); }
    .slider-btn { display: none; }
    .product-slider-container { overflow-x: auto; }
}

#announcement-bar {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.4s ease;
    position: relative;
    width: 100%;
    z-index: 1031;
   background-color: orange;
}

#announcement-bar p {
 margin: 0;
padding: 8px 0;
font-size: 1.1rem;
 animation: brilloSutil 3s infinite ease-in-out;
}

#announcement-bar p b {
 color: white;
}

@keyframes brilloSutil {
 0%, 100% { transform: scale(1); opacity: 0.9; }
 50% { transform: scale(1.05); opacity: 1; text-shadow: 0 0 10px rgba(255, 193, 7, 0.4); }
}


/* Esto evita que queden espacios fantasma */
.producto-item.d-none {
    display: none !important;
}

.producto-item {
    display: flex !important;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.revelar {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out; /* Duración del efecto */
    transition-delay: var(--delay, 0s) !important; /* Aquí es donde ocurre la magia */
}

.revelar.activo {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Opcional: para que los botones aparezcan un poquito después que el título */
.text-center.revelar.activo .filter-btn {
    transition-delay: 0.3s;
}


/* Estilo para los títulos grandes */
.titulo-seccion {
    font-size: 2.5rem; /* Ajusta este número si lo quieres más grande o pequeño */
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* La rayita pequeña que te gusta */
.linea-decorativa {
     width: 60px;
    height: 4px;
    background-color: #ff8c00; 
    margin: 0 auto 20px auto; /* El 20px le da espacio respecto a los botones */
    border-radius: 2px;

}

/* Ajuste para celular: que no se vea gigante en pantallas pequeñas */
@media (max-width: 768px) {
    .titulo-seccion {
        font-size: 1.8rem;
    }
}


/* Esto obliga a ambos a medir lo mismo */
h2.fw-bold.text-uppercase {
    font-size: 2.2rem !important; /* El tamaño exacto */
    margin-bottom: 5px !important;
    letter-spacing: 1px; /* Un poco de espacio entre letras para elegancia */
}

/* --- ESTILO ACTUALIZADO DEL SLIDER --- */

.product-slider-wrapper {
    touch-action: pan-y !important; /* IMPORTANTE: permite scroll vertical pero deja el horizontal al JS */
    overflow: hidden; 
    position: relative;
}

.product-slider-container {
    display: flex;
    gap: 15px;
    will-change: transform; /* Ayuda a que el movimiento sea fluido */
}


/* RESPONSIVE MÓVIL */
@media (max-width: 991px) {
 .product-slider-wrapper {
        overflow-x: auto !important; /* Habilita el movimiento del dedo */
        scrollbar-width: none; /* Esconde la barra en Firefox */
    }
    
    .product-slider-wrapper::-webkit-scrollbar {
        display: none; /* Esconde la barra en Chrome/Safari */
    }

    .product-slider-container {
        transform: none !important; /* Desactiva el transform que usaba el JS viejo */
    }
}

/* Estilo base del botón de WhatsApp */
/* Contenedor principal del botón */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    /* Animación de balanceo suave */
    animation: flotarWha 3s ease-in-out infinite;
}

/* Las ondas expansivas */
.btn-whatsapp .ondas,
.btn-whatsapp .ondas::before,
.btn-whatsapp .ondas::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background-color: #25d366;
    z-index: -1;
}

/* Configuración de las 3 ondas con tiempos diferentes */
.btn-whatsapp .ondas {
    animation: ondaExpansiva 2.5s linear infinite;
}

.btn-whatsapp .ondas::before {
    animation: ondaExpansiva 2.5s linear infinite;
    animation-delay: 0.8s;
}

.btn-whatsapp .ondas::after {
    animation: ondaExpansiva 2.5s linear infinite;
    animation-delay: 1.6s;
}

/* Animación de la onda (Escala y Desvanecimiento) */
@keyframes ondaExpansiva {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Animación de flotación (sube y baja un poquito) */
@keyframes flotarWha {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Interactividad al pasar el mouse */
.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-10px); /* Mantiene la altura */
    box-shadow: 0 12px 25px rgba(18, 140, 126, 0.5);
}


/* 1. La tarjeta con el borde rosa que pediste */
/* 1. Contenedor Base */
.categoria-card {
    border: none !important;
    background: none !important;
    cursor: pointer;
    text-decoration: none;
    display: block;
    padding: 10px;
}

/* Contenedor estilo Wix: Rectángulo Orgánico Suave */
.img-huevo-container {
    position: relative;
    width: 100%;
    /* Si lo quieres más "rectángulo" hacia lo alto, usa 1 / 1.2 */
    aspect-ratio: 1 / 1.1; 
    overflow: hidden;
    
    /* Esta es la forma: un rectángulo con bordes muy pronunciados */
    /* Ya no es una mancha picuda, es una forma redondeada y estable */
    border-radius: 35% 35% 35% 35% / 45% 45% 45% 45%;
    
    border: 2px solid #fce4ec; 
    background-color: #fff;
    transition: all 0.5s ease-in-out;
}

/* Efecto Hover: Solo se infla un poquito, pero no cambia de forma drásticamente */
.categoria-card:hover .img-huevo-container {
    /* Aquí se vuelve el rectángulo redondeado perfecto que te gustó */
    border-radius: 25% 25% 25% 25%; 
    transform: translateY(-8px);
    border-color: #f8bbd0;
    box-shadow: 0 12px 25px rgba(248, 187, 208, 0.4);
}

/* El difuminado rosa (Overlay) */
.img-huevo-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(248, 187, 208, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.categoria-card:hover .img-huevo-container::after {
    opacity: 1;
}

.img-huevo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.categoria-card:hover img {
    transform: scale(1.1);
}

/* --- EFECTO PARALLAX --- */

/* =========================
   RESET BÁSICO
========================= */
body {
    margin: 0;
}

/* =========================
   CONTENEDOR IZQUIERDO (IMAGEN HERO OFERTA EXCLUSIVA)
========================= */
.img-parallax-control {
 position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    
    width: 120%;
    height: 120%;
    object-fit: cover;
    z-index: 1;

    filter: brightness(0.9) contrast(1.1);
    will-change: transform;
}

/* =========================
   OVERLAY OSCURO (WIX STYLE)
========================= */
.overlay-protector {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.35),
        transparent
    );
    
    z-index: 1;
}

/* =========================
   CAJA DE TEXTO (AMBOS LADOS)
========================= */
.col-md-6 .position-relative {
    position: relative;
    z-index: 10;

    background: rgba(0, 0, 0, 0.35);
    padding: 30px 40px !important;
    border-radius: 14px;

    display: inline-block;
    max-width: 90%;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    text-align: center;   /* 👈 centrado */
    margin: 0 auto;       /* 👈 centrado horizontal */
}

/* Quitar estilos Bootstrap que estorban */
.col-md-6 .position-relative p,
.col-md-6 .position-relative h2,
.col-md-6 .position-relative h3 {
    color: #fff !important;              /* fuerza blanco */
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* TÍTULO GRANDE (-25% / -15%) */
.col-md-6 .position-relative h2 {
    font-size: 3rem !important;         /* igual que display-3 */
    font-weight: 700;
    margin-bottom: 0;
}

/* SUBTÍTULO */
.col-md-6 .position-relative h3 {
    font-size: 1.5rem !important;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* TEXTO SUPERIOR (Oferta exclusiva / Compras...) */
.col-md-6 .position-relative p:first-of-type {
    font-size: 0.9rem !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* TEXTO GENERAL */
.col-md-6 .position-relative p {
    font-size: 1rem;
}

/* =========================
   PARTE DERECHA (PROMO ROSA)
========================= */
.promo-bg-versatil {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.promo-overlay-blanco {
    position: absolute;
    width: 100%;
    height: 100%;
    
    background: rgba(255, 192, 203, 0.25);
    
    z-index: 2;
}

/* =========================
   TEXTO DERECHA (MEJOR CONTRASTE)
========================= */
.col-md-6:last-child .position-relative {
    z-index: 10;
}

/*==================
Seccion Belleza
====================*/

/*==================
Seccion Belleza
====================*/

.seccion-belleza {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Importante para que el video no se salga */
    background-color: #000; /* Fondo de respaldo mientras carga el video */
    margin-top: 0 !important;    
}

/* Estilo para que el video cubra todo el fondo */
.video-fondo {
   position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Cambia esto */
    width: 80%;      /* El video solo ocupará el 80% del ancho */
    height: auto;    /* Mantendrá su proporción original */
    max-height: 90%; /* Para que no se salga por arriba o abajo */
    
    object-fit: contain; /* En lugar de cover, usa contain */
    z-index: 0;
}

/* Reemplazamos el ::before por un div de overlay más manejable */
.overlay-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Un poco más oscuro para mejor lectura */
    z-index: 1;
}

/* contenido encima de todo */
.contenido-belleza {
    position: relative;
    z-index: 2; /* Por encima del video (0) y del overlay (1) */
    color: #fff;
    max-width: 600px;
}

/* Tus textos se mantienen igual */
.subtitulo {
    letter-spacing: 3px;
    font-size: 1.2rem; /* Lo bajé un poco porque 2rem era muy grande para un subtítulo */
    text-transform: uppercase;
    opacity: 0.9;
}

.titulo {
    font-size: 3rem;
    font-weight: 700;
    margin: 10px 0;
}

.descripcion {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* responsive */
/* responsive para celulares */
@media (max-width: 768px) {
    .seccion-belleza {
        /* Aumentamos la altura de la sección para que el video se vea más alto */
        height: 380px; 
    }

    .subtitulo {
        /* Reducimos el tamaño de la letra del subtítulo */
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .titulo {
        /* Reducimos el tamaño del título principal */
        font-size: 1.4rem;
    }

    .descripcion {
        /* Reducimos el tamaño de la descripción */
        font-size: 0.85rem;
        padding: 0 10px; /* Un poco de espacio a los lados */
    }

    .video-fondo {
        /* Nos aseguramos de que el video siga cubriendo todo el alto nuevo */
        min-height: 100%;
        object-fit: cover;
    }
}


/* =========================
   FOOTER ESTILO WIX
========================= */
.footer-wix {
    
    border-top: 1px solid #eee;
}

.footer-wix h5,
.footer-wix h6 {
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-link {
    color: #555;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-link:hover {
    color: #ff8c00;
    padding-left: 5px;
}

/* Redes sociales */
.social-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: #555;
    transition: 0.3s;
}

.social-icon:hover {
    color: #ff8c00;
    transform: translateY(-3px);
}

/* Parte inferior */
.footer-bottom {
    background: oklch(92.578% 0.0101 334.946);
    font-size: 14px;
    color: #777;
}

/* =========================
   TESTIMONIOS
========================= */


/* --- ACTUALIZACIÓN DE TU CLASE ACTUAL --- */
/* --- ALINEACIÓN CENTRAL PERFECTA PARA TESTIMONIOS --- */
.card-testimonio {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px hsla(313, 86%, 86%, 0.185);
    
    /* Cambiamos a centrado vertical absoluto */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Centra todo el bloque en el eje vertical */
    align-items: center !important;     /* Centra todo en el eje horizontal */
    
    height: 100% !important; 
    min-height: 260px !important; /* Altura fija uniforme para todas las tarjetas */
    gap: 12px !important;         /* CONTROL DE ESPACIO: Separación exacta y limpia entre cada elemento */
}

/* El párrafo ya no va a empujar ni a crear espacios gigantes */
.card-testimonio p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #555 !important;
    margin: 0 !important; /* Eliminamos márgenes que hagan "aire" */
    padding: 0 !important;
    
    /* Mantenemos el límite por si hay un texto súper largo */
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contenedor de las estrellas (si lo tienes envuelto en un div o clase) */
.card-testimonio .estrellas, 
.card-testimonio .stars-rating {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* El nombre del cliente pegadito abajo de las estrellas */
.card-testimonio .autor-testimonio,
.card-testimonio h5 {
    margin: 0 !important; /* Quitamos el 'margin-top: auto' que causaba el gran vacío */
    padding: 0 !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    color: #333 !important;
}

.card-testimonio:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.card-testimonio .texto {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.estrellas {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 10px;
}

.cliente {
    font-weight: bold;
    font-size: 14px;
}

/* CONTADORES */


.contador {
    font-size: 3rem;
    font-weight: bold;
    color: #ff8c00;
}

.contadores p {
    margin-top: 10px;
    color: #555;
    font-weight: 500;
}


/* lo mas vendidos*/
/* Tarjeta con cuerpo y sombra */
.producto-pro {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    /* Esto ayuda a que si el texto es corto, la tarjeta no se encoja de más */
    min-height: 380px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.producto-pro:hover {
    transform: translateY(-5px); /* Se levanta al pasar el mouse */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.producto-pro .info h5 {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Pone "..." si el nombre es muy largo */
    margin-bottom: 5px;
}

.producto-pro .info p {
    font-size: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Solo muestra 2 líneas de descripción */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px; /* Altura fija para la descripción */
    color: #666;
}

/* Ajuste para que las tarjetas no sean tan "largas" */
/* La imagen dentro de la tarjeta */
.producto-pro img {
    height: 200px; /* Bajalo de 180px o 200px a 160px */
    object-fit: cover;
    border-radius: 10px; /* Esquinas redondeadas internas */
    margin-bottom: 12px;
}

#contenedor-mas-vendidos {
    max-width: 1200px; /* O el ancho que prefieras */
    margin: 0 auto;
}

/* Hover PRO */
.producto-pro:hover img {
    transform: scale(1.1);
}

.producto-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Etiqueta flotante */
.badge-top {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff8c00;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
    z-index: 10;
    font-weight: bold;
}

/* Info */
.producto-pro .info {
    padding: 15px;
    text-align: center;
}

.producto-pro h5 {
    font-weight: bold;
}

.producto-pro p {
    font-size: 0.9rem;
    color: #666;
}

.producto-pro h4 {
    color: #ff8c00;
    font-weight: 800;
    margin: 10px 0;
}

.producto-pro {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.producto-pro .info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Empuja el botón hacia abajo SIEMPRE */
.producto-pro .info a {
    margin-top: auto;
}

/* Usamos el ID #btn-top para asegurar que lo encuentre */
#btn-top {
    position: fixed;
    bottom: 30px; /* Distancia desde el suelo de la pantalla */
    left: 39px;
    /* El truco del centrado: 50% a la derecha y -50% de su ancho */
    transform: translateX(-50%) translateY(0); 
    
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: 2px solid #ff8c00;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

/* Esta clase la pondrá el JavaScript automáticamente */
#btn-top.show {
    visibility: visible;
    opacity: 0.4; /* Semi-transparente como pediste */
}

#btn-top:hover {
   opacity: 1;
    /* Mantenemos el translateX(-50%) para que no se mueva del centro al saltar */
    transform: translateX(-50%) translateY(-5px); 
    background-color: #ff8c00;  
}

/* =========================
   ANIMACION OFERTAS: ENTRA DESDE LOS LADOS
========================= */
.oferta-izquierda {
    opacity: 0;
    transform: translateX(-80px);
   transition: opacity 1.4s ease, transform 1.4s ease;
}
.oferta-derecha {
    opacity: 0;
    transform: translateX(80px);
     transition: opacity 1.4s ease, transform 1.4s ease;
    transition-delay: 0.4s;
}
.oferta-izquierda.activo,
.oferta-derecha.activo {
    opacity: 1;
    transform: translateX(0);
}


@media (max-width: 768px) {
    .oferta-derecha {
        /* En lugar de moverla hacia la derecha, haz que aparezca desde abajo o solo con opacidad */
        transform: translateY(30px); /* Cambiamos X por Y */
        opacity: 0;
    }
    
    .oferta-derecha.activo {
        transform: translateY(0);
        opacity: 1;
    }
}

.contenedor-seguro {
    overflow: hidden !important; /* No deja que nada salga de aquí */
    width: 100%;
    position: relative;
}

/* Y esto es para asegurar que el Navbar no intente ser más ancho que la pantalla */
.navbar {
    position: fixed !important;
    width: 100%;
    top: 40px; /* Inicia debajo de la barra de anuncios */
    transition: top 0.3s ease, background 0.3s ease; 
    z-index: 1030;
}


/* --- AJUSTES DE LA TARJETA GIRATORIA --- */
.producto-item {
    perspective: 1000px;
    min-height: 420px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    min-height: 420px;
}

.producto-item:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px; /* Bordes más redondeados y suaves */
    overflow: hidden;
}

/* CARA FRONTAL: Limpia y elegante */
.flip-card-front {
    background: #fff;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

/* CARA TRASERA: Gradiente Femenino */
.flip-card-back {
    /* Un degradado elegante: Rosa suave a Naranja pastel */
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    color: #4a4a4a; /* Texto en gris oscuro para mejor lectura sobre pastel */
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
}

.info-back h5 {
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.info-back ul li {
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* Botón llamativo en la parte trasera */
.btn-catalogo {
    background-color: #fff;
    color: #ff6b6b;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-catalogo:hover {
    background-color: #4a4a4a;
    color: #fff;
    transform: scale(1.05);
}

/* Espaciado elegante para la lista de marcas */
.info-back ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* Espacio uniforme entre marcas */
}

.info-back ul li {
    background: rgba(255, 255, 255, 0.2); /* Un fondo sutil para cada marca */
    padding: 4px 15px;
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-banner {
    /* Ajusta este valor (120px o 150px) hasta que el texto baje lo suficiente */
    padding-top: 140px !important; 
    padding-bottom: 60px !important;
    
    min-height: 450px; /* Le da una altura mínima decente */
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #1a1a1a; /* Fondo oscuro por si la imagen falla */
}

/* Asegura que el contenedor de texto esté centrado y visible */
.category-banner .content {
    position: relative;
    z-index: 10;
    width: 100%;
}

#category-hero {
    /* 120px es el margen ideal para saltar la Navbar y dejar espacio respirable */
    padding-top: 120px !important; 
    padding-bottom: 60px !important;
    background-color: #1a1a1a; 
    background-size: cover;
    background-position: center;
    min-height: 400px; /* Para que el banner tenga buena presencia */
    display: flex;
    align-items: center;
}

/* Contenedor padre */
.seccion-destacada {
    overflow: hidden;
}

/* La Franja */
.franja-fondo {
    position: absolute;
    top: 120px; /* Ajusta esto si el título queda muy pegado o lejos */
    left: 0;
    width: 100%;
    height: 280px; /* Grosor de la franja */
    background-color: #f1d4d4; /* Un gris muy suave y profesional */
    z-index: 1;
    pointer-events: none;
}

/* IMPORTANTE: Asegúrate de que tus tarjetas tengan fondo blanco y sombra */
.producto-pro {

    width: 100%; /* Obliga a la tarjeta a llenar su espacio */
    padding: 10px; /* Reducimos el margen interno para que el contenido se vea más ancho */
    margin: 0 auto;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border: none !important;
}

/* Ajuste para móvil (donde los productos se estiran hacia abajo) */
@media (max-width: 768px) {
    .franja-fondo {
        height: 250px; /* Más alta en móvil para cubrir las filas extras */
        top: 110px;
    }
}

/* Contenedor que esconde lo que sale de la pantalla lo que dicen nuestras clientas */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

/* El contenido que se desplaza */
.marquee-content {
    display: flex;
    gap: 20px;
    width: max-content; /* Importante para que no se amontonen */
    animation: marquee 60s linear infinite; /* Velocidad del movimiento */
}

/* Detener al hacer hover */
.marquee-content:hover {
    animation-play-state: paused;
}

/* Estilo de cada Card (ajustado para que se vean 3 por pantalla aprox) */
.card-testimonio {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 350px; /* Ajuste para que quepan unos 3 en pantallas grandes */
    flex-shrink: 0; /* Evita que se encojan */
    border: 1px solid #f0f0f0;
    text-align: center;
}

/* Animación de Derecha a Izquierda */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Ajustar según cantidad de cards */
    }
}

/* Estética de los textos */
.card-testimonio .texto {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    min-height: 60px;
}

.card-testimonio .estrellas {
    color: #ffb400;
    margin-bottom: 10px;
}

.card-testimonio .cliente {
    font-weight: bold;
    color: #000;
}


/* Ajuste para los nombres de productos en el slider/recién ingresados */
.producto-pro h5, .producto-item h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Máximo 2 líneas de texto */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem; /* Altura fija para que siempre ocupen 2 líneas */
    line-height: 1.4rem;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Ajuste para la descripción (si usas) */
.producto-pro p.text-muted, .producto-item p.text-muted {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5rem; /* Altura fija */
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.producto-pro {
    display: flex;
    flex-direction: column;
    height: 100%; /* Que todas midan lo mismo en la fila */
}

.info {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Esto empuja lo que esté abajo hacia el final */
    justify-content: space-between; 
}

/* Esto asegura que el bloque del precio y botón siempre esté abajo */
.contenedor-precio-boton {
    margin-top: auto; 
}

@media (max-width: 576px) {
    .producto-pro h5 {
        font-size: 0.85rem;
        height: 2.4rem; /* Ajustamos la altura para fuentes más pequeñas */
    }
    
    .producto-pro .btn {
        font-size: 0.8rem;
        padding: 8px 5px;
    }
}


/* Altura fija para el nombre del producto */
.nombre-producto {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Máximo 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5rem; /* Ajusta según el tamaño de tu fuente */
    line-height: 1.25rem;
    margin-bottom: 10px;
}

/* Para que las imágenes no deformen el card */
.product-card img {
    height: 150px;
    object-fit: cover;
    width: 100%;
}

/* Asegura que el card ocupe todo el alto disponible en el slider */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}


/* 1. Ajuste de proporciones perfectas: 50% Foto y 50% Texto */
.flip-card-front {
    display: flex;
    flex-direction: column;
    height: 100%; 
    overflow: hidden;
}

.flip-card-front img {
    height: 50% !important; /* Mitad exacta para la foto */
    object-fit: cover; 
    width: 100%;
}

.flip-card-front .info {
    height: 50% !important; /* ¡La otra mitad exacta para el texto! Eliminamos el hueco del 5% */
    padding: 10px 12px !important; /* Margen superior e inferior cómodo para que no quede al ras */
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* IMPORTANTE: El texto empieza arriba y aprovecha todo el espacio hacia abajo */
    align-items: center !important;     
    gap: 6px !important; /* Espacio limpio y controlado entre el H5 y el Párrafo */
}

/* 2. Título nítido y sin márgenes fantasmas */
.flip-card-front .info h5 {
    margin: 0 !important; 
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: 1.15rem !important; /* Un poco más grande y llamativo */
    font-weight: bold !important;
    text-align: center !important;
}

/* 3. Párrafo SEO: ¡Ahora sí, más grande, visible y completo! */
.flip-card-front .info p.text-muted.small,
.flip-card-front .info p {
    font-size: 0.88rem !important; /* ¡Subimos de 0.75rem a 0.88rem para que no esté tan chiquito! */
    line-height: 1.3 !important;   /* Interlineado perfecto para lectura cómoda en celular */
    color: #44px !important;        /* Un color más oscuro para que resalte */
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* Quitamos el bloqueador que cortaba el texto con tres puntos */
    display: block !important; 
    overflow: visible !important;
}

/* --- COMPACTACIÓN EXCLUSIVA PARA EL REVERSO EN DOS COLUMNAS (MÓVIL) --- */
@media (max-width: 767px) {
    
    /* 1. Asegurar que el reverso use todo el alto disponible y centre su contenido */
    .flip-card-back {
        padding: 8px !important; /* Margen interno mínimo para ganar espacio */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important; /* Distribuye el contenido inteligentemente: arriba, centro y abajo */
        height: 100% !important;
    }

    .info-back {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        width: 100% !important;
    }

    /* 2. Reducir el tamaño del icono de la estrella y su margen */
    .info-back i.bi-stars {
        font-size: 1.1rem !important; /* Bajamos de 1.5rem a 1.1rem */
        margin-bottom: 2px !important;  /* Casi pegado al título */
        display: block;
    }

    /* 3. Compactar el título de la parte trasera */
    .info-back h5.text-uppercase {
        font-size: 0.9rem !important; /* Un tamaño adecuado para dos columnas */
        margin-bottom: 4px !important; /* Reducimos el espacio exagerado de Bootstrap */
    }

    /* 4. Pegar los elementos de la lista y achicarlos un poco */
    .info-back ul.list-unstyled {
        margin-bottom: 6px !important; /* Espacio mínimo antes del botón */
        padding: 0 !important;
    }

    .info-back ul.list-unstyled li {
        font-size: 0.75rem !important; /* Letra compacta pero legible para los 3 elementos */
        line-height: 1.15 !important;  /* Junta las líneas de la lista */
        margin-bottom: 2px !important;  /* Separación mínima entre ítems */
        white-space: nowrap !important; /* Evita que un texto largo se parta en dos renglones */
        overflow: hidden;
        text-overflow: ellipsis;       /* Si algo no cabe, pone ... elegantemente de lado */
    }

    /* 5. Ajustar el botón para que no sea gigantesco */
    .info-back .btn-catalogo {
        font-size: 0.75rem !important; /* Letra un poco más pequeña para el botón */
        padding: 4px 8px !important;   /* Botón más esbelto y menos alto */
        width: 90% !important;         /* Que no toque los bordes laterales */
        margin: 0 auto !important;     /* Centrado horizontalmente */
        display: block !important;
    }
}


/* =========================================================
   CONTROL DE SUGERENCIAS EN DISPOSITIVOS MÓVILES
   ========================================================= */
@media (max-width: 991px) {
    #searchSuggestions {
        position: absolute !important;
        top: 100% !important; /* Se clava justo abajo del buscador */
        left: 5% !important;  /* Lo separamos un poquito del borde izquierdo */
        width: 90% !important; /* Que ocupe el 90% del ancho de la pantalla para que el texto respire */
        max-height: 250px !important; /* Altura cómoda para el pulgar */
        overflow-y: auto !important;
        z-index: 99999 !important; /* Por encima de cualquier animación o anuncio */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
        border-radius: 8px !important;
        border: 1px solid #ddd !important;
    }

    /* Ajuste para que los textos de los productos no se amontonen en pantalla chica */
    #searchSuggestions .d-flex {
        padding: 12px !important; /* Más espacio para tocar con el dedo */
    }

    #searchSuggestions small.fw-bold {
        font-size: 0.85rem !important; /* Letra perfecta para móvil */
        white-space: normal !important; /* Si el nombre es largo, que baje al siguiente renglón limpio */
    }
}






//* =========================================================
   ESTILOS GENERALES Y ESCRITORIO (PC)
   ========================================================= */
.contenedor-beneficios-flex {
    display: flex;
    flex-wrap: nowrap; /* Evita que se vaya hacia abajo */
    width: 100%;
}

.tarjeta-beneficio {
    flex: 1 1 0px; /* Divide el espacio en 4 partes exactamente iguales en PC */
    min-width: 0;
    padding: 0 10px;
}

/* =========================================================
   CONTENEDOR PRINCIPAL: FUERZA EL FLUJO HORIZONTAL
   ========================================================= */
.contenedor-beneficios-flex {
    display: flex !important;
    flex-direction: row !important; /* Obliga a que se pongan uno al lado del otro, NO hacia abajo */
    flex-wrap: nowrap !important;   /* Evita que salten de línea */
    width: 100% !important;
    padding: 10px 0;
}

/* =========================================================
   COMPORTAMIENTO EN COMPUTADORA (PC) - 4 COLUMNAS EXACTAS
   ========================================================= */
@media (min-width: 768px) {
    .contenedor-beneficios-flex {
        justify-content: space-between !important;
        overflow: hidden !important;
    }

    .tarjeta-beneficio {
        flex: 0 0 25% !important; /* Fuerza a que cada tarjeta ocupe exactamente la cuarta parte del ancho */
        max-width: 25% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================
   COMPORTAMIENTO CELULAR (MÓVIL) - 1 TARJETA A LA VEZ
   ========================================================= */
@media (max-width: 767.98px) {
    .contenedor-beneficios-flex {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important; /* Mantiene el freno cuadro por cuadro */
        -webkit-overflow-scrolling: touch !important;
        padding-left: 0 !important; /* Limpiamos los paddings para que ocupe todo el ancho */
        padding-right: 0 !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* Oculta la barra de scroll */
    .contenedor-beneficios-flex::-webkit-scrollbar {
        display: none !important;
    }
    .contenedor-beneficios-flex {
        -ms-overflow-style: none !important;  
        scrollbar-width: none !important;  
    }

    .tarjeta-beneficio {
        /* Fuerza a que cada tarjeta ocupe exactamente el 100% del ancho del celular */
        flex: 0 0 100% !important; 
        max-width: 100% !important;
        scroll-snap-align: center !important; /* La centra milimétricamente en la pantalla */
        display: inline-block !important;
        box-sizing: border-box !important;
        
        /* Dejamos un pequeño espacio interno para que el texto no pegue al borde físico del cel */
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* =========================================================
   ESTILOS PARA LOS PUNTITOS (INDICADORES MÓVIL)
   ========================================================= */
.indicadores-dots {
    display: flex;
    justify-content: center;
    gap: 8px; /* Espacio entre cada puntito */
    margin-top: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #dee2e6; /* Color gris bajito para los puntos inactivos */
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

/* El primer puntito o el activo resalta con el color de tu marca (ej: negro o rosa oscuro) */
.dot.activo {
    background-color: #212529; /* Color oscuro/fuerte para el indicador */
    width: 18px; /* Lo estiramos un poquito para que se vea más moderno tipo app */
    border-radius: 4px;
}


/* Asegúrate de que el contenedor de tu hero tenga position: relative */
.hero {
    position: relative;
    /* ... el resto de tus estilos del hero ... */
}

/* MODIFICADO: Forzamos a que flote al pie del Hero sobre las fotos */
.hero-urgencia { 
    position: absolute;
    bottom: 50px; /* Distancia desde el borde inferior de la pantalla/foto */
    left: 0;
    right: 0;
    display: flex; 
    justify-content: center; 
    z-index: 10; /* Para que quede por encima de las fotos del fondo */
    animation: fadeDown 1s ease 0.8s both; 
    padding: 0 20px; /* Evita que pegue a los bordes en celulares */
}

.urgencia-pill { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    background: rgba(255, 255, 255, 0.85); /* Un poquito más opaco para que lea bien sobre cualquier foto */
    border: 1px solid rgba(255, 140, 0, 0.25); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    padding: 11px 26px; 
    border-radius: 100px; 
    box-shadow: 0 8px 32px rgba(200, 100, 0, 0.15); 
}

.urgencia-dot { 
    width: 8px; 
    height: 8px; 
    background: #22c55e; 
    border-radius: 50%; 
    animation: pulseDot 1.5s ease infinite; 
    flex-shrink: 0; 
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.urgencia-txt { 
    font-size: 0.82rem; 
    color: #2d1a0e; /* Usando tu variable --texto directa o var(--texto-soft) */
    font-weight: 500; 
}

.urgencia-txt strong { 
    color: #ff8c00; /* Tu color naranja principal var(--naranja) */
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-cta-desktop { 
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: orange; 
    color:#fff; 
    border:none; 
    
    /* MODIFICADO: Separamos el padding para ajustar la altura visual */
    padding-top: 5px;      /* Si lo ves muy arriba, aumenta este número (ej. 10px o 11px) */
    padding-bottom: 11px;   /* Si lo ves muy arriba, disminuye este número (ej. 6px o 5px) */
    padding-left: 18px;
    padding-right: 18px;

    /* AGREGADO: Forzamos a que el texto no tenga alturas heredadas */
    line-height: 1; 

    border-radius:100px; 
    font-size:0.76rem; 
    font-weight:600; 
    text-decoration:none; 
    white-space:nowrap; 
    transition:transform 0.2s, box-shadow 0.2s; 
    box-shadow:0 3px 14px rgba(255,140,0,0.32); 
    flex-shrink:0; 
}

.nav-cta-desktop:hover { 
    transform:translateY(-1px); 
    box-shadow:0 6px 20px rgba(255,140,0,0.45); 
    color:#fff; 
}


.footer-mini {border-top:1px solid rgba(255,140,0,0.12); padding:10px 5px; text-align:center; }
.footer-mini p { font-size:0.78rem; color:var(--texto-muted); }
.footer-mini a { color:#ff8c00;; text-decoration:none; }