/* --- VARIABLES & RESET --- */
:root {
    --color-primary-text: #333;
    --color-hover-bg: #dcae52;
    --color-hover-text: #FFFFFF;
    --color-top-line: #dcae52;
    --font-family: 'Arial', sans-serif;

    /* Variables Carrusel 3D */
    --carrousel-radius: 300px;
    --item-width: 260px;
    /* Aumentado de 200px */
    --item-height: 320px;
    /* Aumentado de 280px */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    overflow-x: hidden;
    background-color: #f9f9f9;
}

/* --- HEADER --- */
.site-header {
    background-color: #fff;
    width: 100%;
    border-top: 10px solid var(--color-top-line);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navegación */
.nav-desktop {
    flex: 1;
    display: flex;
    gap: 8px;
    align-self: stretch;
    align-items: stretch;
}

.nav-left {
    justify-content: flex-end;
    margin-right: 25px;
}

.nav-right {
    justify-content: flex-start;
    margin-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-primary-text);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

.nav-desktop .nav-link {
    height: 100%;
    border-radius: 0;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--color-hover-bg);
    color: #fff;
}

/* Móvil */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    padding: 15px;
    border-bottom: 1px solid #eee;
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo-img {
        height: 80px;
    }

    .header-content {
        min-height: 80px;
    }
}

/* --- SLIDER PRINCIPAL (BANNERS) --- */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider-wrapper {
    display: block;
    position: relative;
    height: 500px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fade 1.5s;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    border-radius: 0 3px 3px 0;
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    opacity: 0.6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dot.active {
    background: var(--color-top-line);
    opacity: 1;
    transform: scale(1.2);
}

/* --- SECCIÓN PRODUCTOS 3D --- */
.productos-3d-section {
    background: #fff;
    padding: 60px 0 50px 0;
    text-align: center;
    overflow: hidden;
    perspective: 1200px;
    min-height: 500px;
}

.titulo-rojo h1,
.titulo-rojo h2 {
    color: #DAA520;
    font-size: 2.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

.titulo-rojo p {
    color: #777;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* --- SPLIT LAYOUT (CARRUSEL + INFO) --- */
.carousel-split-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    /* Sin margen inferior para evitar espacios en blanco antes del fondo gris */
    gap: 100px;
    padding: 0 20px;
}

.carousel-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    /* Asegura espacio vertical */
}

.info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Panel de Información Estilizado */
.info-content {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
    width: 100%;
    max-width: 450px;
    height: 400px;
    /* Altura fija para evitar que la tarjeta y el carrusel salten verticalmente */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinear el contenido al inicio de la tarjeta */
    transition: all 0.5s ease;
}

.info-content h3 {
    font-size: 2.5rem;
    color: var(--color-top-line);
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

.info-content p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 80px;
    /* Evita saltos de altura */
}

.btn-ver-mas {
    display: inline-block;
    padding: 12px 35px;
    background: var(--color-top-line);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    margin-top: auto;
    /* Empuja el botón al fondo de la tarjeta flex */
    align-self: center;
    /* Mantiene el botón centrado horizontalmente sin estirarse */
}

.btn-ver-mas:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.6);
    background: #c59b40;
}

/* Carrusel 3D Ajustado */
.container-carousel {
    width: 100%;
    display: flex;
    justify-content: center;
}

.carousel {
    position: relative;
    width: var(--item-width);
    height: var(--item-height);
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Curva Bezier más suave */
}

.item {
    position: absolute;
    width: var(--item-width);
    height: var(--item-height);
    left: 0;
    top: 0;
    /* Eliminado fondo y bordes para dejar solo la imagen */
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Opacidad y escala para efecto de profundidad */
    opacity: 0.6;
    transform-origin: center;
    transition: opacity 0.5s, transform 0.5s, filter 0.5s;
}

.item.active {
    opacity: 1;
    border: none;
    box-shadow: none;
    /* Resplandor en la imagen (opcional, o quitar si se quiere limpieza total) */
    filter: drop-shadow(0 0 15px rgba(218, 165, 32, 0.6));
    z-index: 10;
}

.item img {
    width: 150%;
    height: 150%;
    object-fit: contain;
    /* Contain para que no se recorte nada de la forma irregular */
    transition: transform 0.5s;
}

.item.active img {
    transform: scale(1.05);
    /* Zoom sutil en activo */
}

/* Posiciones (Mantenemos la lógica de rotación para 6 elementos) */
.item:nth-child(1) {
    transform: rotateY(0deg) translateZ(var(--carrousel-radius));
}

.item:nth-child(2) {
    transform: rotateY(60deg) translateZ(var(--carrousel-radius));
}

.item:nth-child(3) {
    transform: rotateY(120deg) translateZ(var(--carrousel-radius));
}

.item:nth-child(4) {
    transform: rotateY(180deg) translateZ(var(--carrousel-radius));
}

.item:nth-child(5) {
    transform: rotateY(240deg) translateZ(var(--carrousel-radius));
}

.item:nth-child(6) {
    transform: rotateY(300deg) translateZ(var(--carrousel-radius));
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .productos-3d-section {
        padding: 40px 0 45px 0;
        min-height: auto;
    }

    .carousel-split-layout {
        flex-direction: column;
        gap: 60px;
    }

    .carousel-col {
        order: 1;
        width: 100%;
    }

    .info-col {
        order: 2;
        width: 100%;
        align-items: center;
    }

    .info-content {
        text-align: center;
        max-width: 100%;
        height: auto;
        /* Permite que la tarjeta crezca en pantallas móviles si el texto se envuelve */
        min-height: 350px;
    }

    .info-content h3 {
        display: block;
        border-bottom: none;
    }
}


.site-footer {
    background-color: #2c2c2c;
    color: #f1f1f1;
    padding: 60px 0 20px;
    margin-top: 0;
    /* Eliminado el margen para unir la sección de ofertas con el pie de página */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h3 {
    color: var(--color-top-line);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-top-line);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Redes Sociales en Footer */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
}

.social-link.facebook-link:hover {
    color: #ffffff;
    background: #1877f2;
    border-color: #1877f2;
    transform: translateX(4px);
}

.social-link.instagram-link {
    opacity: 0.9;
    cursor: default;
}

.social-link.instagram-link:hover {
    color: #f43f5e;
    border-color: rgba(244, 63, 94, 0.4);
}

.social-tag-dev {
    font-size: 0.7rem;
    background: #f59e0b;
    color: #1e1e1e;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #444;
    color: #777;
    font-size: 0.9rem;
}

/* --- SECCIÓN DE OFERTAS ESTILO TEMU (OFERTAS RELÁMPAGO) --- */
.seccion-ofertas-temu {
    background: linear-gradient(180deg, #fffaf5 0%, #fff1e6 100%);
    padding: 30px 0 36px 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 1.5px solid #ffe2cc;
    border-bottom: 1.5px solid #ffe2cc;
    margin: 0;
}

.ofertas-temu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1050px;
    margin: 0 auto;
}

/* 1. Header Strip Temu */
.temu-header-strip {
    background: linear-gradient(90deg, #ff4d00 0%, #ff7700 50%, #f93b2f 100%);
    border-radius: 14px;
    padding: 14px 26px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(255, 77, 0, 0.22);
}

.temu-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.temu-flame-icon {
    font-size: 2rem;
    animation: flamePulse 1.2s infinite alternate ease-in-out;
}

@keyframes flamePulse {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.15) rotate(5deg); }
}

.temu-title-group {
    display: flex;
    flex-direction: column;
}

.temu-main-title {
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.temu-sub-title {
    font-size: 0.8rem;
    color: #fff2e6;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Temporizador Temu */
.temu-countdown-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
}

.countdown-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-digits {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-block {
    background: #181818;
    color: #ffd200;
    font-weight: 900;
    font-size: 1rem;
    padding: 3px 7px;
    border-radius: 6px;
    min-width: 28px;
    text-align: center;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.4);
    font-family: monospace, sans-serif;
}

.time-colon {
    font-weight: 900;
    color: #ffffff;
    font-size: 1rem;
}

.temu-discount-banner {
    background: #ffd200;
    color: #d82b00;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

/* 2. Botón de Acción Temu y Garantías */
.temu-action-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.temu-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(90deg, #ff4d00 0%, #ff7700 100%);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 16px 48px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
}

.temu-btn-main:hover {
    background: linear-gradient(90deg, #ff3700 0%, #ff6200 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 77, 0, 0.45);
}

.temu-trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #8c3b12;
}

/* Responsivo para móviles y tablets */
@media (max-width: 992px) {
    .temu-header-strip {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .temu-header-left {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .temu-btn-main {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .temu-trust-pills {
        gap: 10px;
        font-size: 0.78rem;
    }
}

/* --- CATÁLOGO DE PRODUCTOS (ESTILO FALABELLA) --- */
.catalog-main {
    background-color: #f9f9f9;
    padding-bottom: 60px;
}

/* Categoría Círculos Navegación */
.category-circles-section {
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
}

.category-circles-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 0;
}

.category-circles-wrapper::-webkit-scrollbar {
    height: 4px;
}

.category-circles-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    user-select: none;
    min-width: 90px;
}

.category-circle-item:hover {
    transform: translateY(-3px);
}

.circle-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #fdfaf2;
    border: 3px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.circle-img-wrapper img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.category-circle-item.active .circle-img-wrapper {
    border-color: var(--color-top-line);
    box-shadow: 0 4px 15px rgba(220, 174, 82, 0.4);
}

.category-circle-item:hover .circle-img-wrapper {
    border-color: var(--color-top-line);
}

.circle-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
    text-align: center;
    max-width: 110px;
    line-height: 1.2;
}

.category-circle-item.active .circle-label {
    color: var(--color-top-line);
}

/* Layout Dividido Catálogo */
.catalog-split-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}

/* Sidebar de Filtros */
.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.sidebar-header {
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-title {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
}

.results-count {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.filter-group {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-group-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Checkbox Personalizado */
.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
    margin-bottom: 12px;
    user-select: none;
    position: relative;
}

.filter-checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: background-color 0.2s, border-color 0.2s;
}

.filter-checkbox-label:hover input~.checkbox-custom {
    border-color: var(--color-top-line);
}

.filter-checkbox-label input:checked~.checkbox-custom {
    background-color: var(--color-top-line);
    border-color: var(--color-top-line);
}

.checkbox-custom:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-checkbox-label input:checked~.checkbox-custom:after {
    display: block;
}

.filter-checkbox-label .checkbox-custom:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    transition: color 0.2s;
}

.filter-checkbox-label input:checked~.label-text {
    color: #333;
    font-weight: 700;
}

/* Delivery tags */
.delivery-tags-indent {
    padding-left: 28px;
    margin-bottom: 15px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.deliv-tag {
    font-size: 0.75rem;
    background: #eef9f2;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}

.deliv-tag.outline {
    background: transparent;
    border: 1px solid #15803d;
    color: #15803d;
}

/* Category filter tags */
.category-filter-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-cat-tag {
    background: #f5f5f5;
    border: 1px solid #eaeaea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.2s;
}

.filter-cat-tag:hover,
.filter-cat-tag.active {
    background: var(--color-top-line);
    color: #fff;
    border-color: var(--color-top-line);
    transform: translateX(3px);
}

/* Contenido Principal del Catálogo */
.catalog-content {
    flex-grow: 1;
}

/* Buscador de Productos por Nombre */
.catalog-search-bar {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 18px;
    margin-bottom: 18px;
    border: 1.5px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
    position: relative;
}

.catalog-search-bar:focus-within {
    border-color: var(--color-top-line, #daa520);
    box-shadow: 0 4px 14px rgba(218, 165, 32, 0.18);
}

.search-icon-svg {
    flex-shrink: 0;
    color: #8c8c8c;
    transition: color 0.25s;
}

.catalog-search-bar:focus-within .search-icon-svg {
    color: var(--color-top-line, #daa520);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #222222;
    background: transparent;
    font-family: inherit;
    padding: 4px 0;
}

.search-input::placeholder {
    color: #9aa0a6;
    font-weight: 400;
}

.search-clear-btn {
    background: #f1f3f5;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1;
    transition: all 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.search-clear-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.search-clear-btn.visible {
    display: inline-flex;
}

.no-search-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px dashed #cbd5e1;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.btn-clear-search-empty {
    background: #39424e;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-clear-search-empty:hover {
    background: var(--color-top-line, #daa520);
    transform: translateY(-2px);
}

/* Cabecera del Catálogo estilo Falabella / Ripley */
.catalog-content-header {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 25px;
    border: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
}

/* Columna Izquierda: Ordenar por (Estilo exacto de la captura Falabella) */
.sort-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sort-label {
    font-size: 0.74rem;
    font-weight: 500;
    color: #8c8c8c;
    letter-spacing: 0.2px;
    line-height: 1.1;
}

.sort-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sort-select {
    padding: 3px 22px 3px 0;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 700;
    color: #222222;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    transition: color 0.2s;
}

.sort-select:hover {
    color: #000;
}

.sort-chevron-icon {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: #555555;
    transition: transform 0.2s;
}

/* Columna Derecha: Paginación */
.catalog-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Componente de Paginación (< 1 2 3 ... 120 >) */
.pagination-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    user-select: none;
}

.pagination-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #333f48;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.pagination-arrow:hover:not(:disabled) {
    background: #f1f5f9;
    color: #0f172a;
}

.pagination-arrow:disabled {
    color: #d1d5db;
    cursor: default;
    pointer-events: none;
    opacity: 0.5;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #333333;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.pagination-item:hover:not(.active) {
    background: #f1f5f9;
    color: #0f172a;
}

/* Página Activa (Círculo sólido gris carbón/azul marino exacto de Falabella: #39424e) */
.pagination-item.active {
    background: #39424e;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(57, 66, 78, 0.25);
    cursor: default;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 32px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Barra de Paginación Inferior */
.catalog-pagination-bottom {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 24px;
    margin-top: 30px;
    border: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
}

.pagination-info {
    font-size: 0.88rem;
    color: #64748b;
}

.pagination-info strong {
    color: #1e293b;
    font-weight: 700;
}

@media (max-width: 768px) {
    .catalog-content-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 16px;
    }

    .catalog-header-right {
        justify-content: space-between;
        width: 100%;
    }

    .catalog-pagination-bottom {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        text-align: center;
    }
}

/* Grid de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

/* Tarjeta de Producto Individual (Estilo Falabella) */
.product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Botón Favoritos */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s;
    z-index: 5;
}

.wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.wishlist-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #666;
    stroke-width: 2;
    transition: fill 0.2s, stroke 0.2s;
}

.wishlist-btn.active svg {
    fill: #ff3333;
    stroke: #ff3333;
}

/* Contenedor Imagen */
.product-image-container {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden;
    position: relative;
}

.product-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.04);
}

/* Overlay de Descripción en Hover sobre la imagen (Desktop) y al Tocar (Móvil) */
.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 24, 38, 0.86);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 14px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                visibility 0.3s;
    z-index: 4;
    pointer-events: none;
    box-sizing: border-box;
    cursor: pointer;
}

/* Activar overlay en Móvil/Táctil al tocar la imagen o descripción */
.product-card.has-desc.show-desc-mobile .product-image-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Activar overlay en Computadoras/Desktop con mouse (Hover tradicional) */
@media (hover: hover) {
    .product-card.has-desc:hover .product-image-overlay {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}



.overlay-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dcae52;
    margin-bottom: 6px;
    display: inline-block;
}

.overlay-description {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #ffffff;
    font-weight: 500;
    max-height: 140px;
    overflow-y: auto;
    word-break: break-word;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay-description::-webkit-scrollbar {
    width: 3px;
}

.overlay-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Placeholder cuando no hay imagen disponible */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f8fafc;
    border-radius: 8px;
    color: #94a3b8;
    user-select: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.product-card:hover .no-image-placeholder {
    background: #f1f5f9;
    color: #64748b;
}

.no-image-icon {
    width: 44px;
    height: 44px;
    stroke: currentColor;
    opacity: 0.75;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-card:hover .no-image-icon {
    transform: translateY(-2px);
    opacity: 1;
}

.no-image-text {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Detalles de Producto */
.product-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-seller {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.seller-icon {
    color: #15803d;
    font-size: 0.8rem;
}

/* Bloque de Precios */
.price-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    min-height: 60px;
    justify-content: flex-end;
}

.price-main-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-discounted {
    font-size: 1.4rem;
    font-weight: 900;
    color: #dc3545;
}

.discount-badge {
    font-size: 0.75rem;
    font-weight: 800;
    background: #dc3545;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.price-regular {
    font-size: 0.85rem;
    color: #888;
    text-decoration: line-through;
    margin-top: 2px;
    font-weight: 600;
}

.price-original {
    font-size: 0.75rem;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 500;
}

/* Calificación por Estrellas y Botón de Información */
.product-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.rating-stars-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars-gold {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: -1px;
}

.reviews-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    margin-left: 2px;
}

/* Botón Circular de Información (Opción A) */
.info-circle-btn {
    display: none; /* Oculto en computadoras de escritorio y laptops */
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(217, 119, 6, 0.15);
}

.info-circle-btn:hover {
    background: #d97706;
    color: #ffffff;
    border-color: #d97706;
    transform: scale(1.1);
}

.product-card.has-desc.show-desc-mobile .info-circle-btn {
    background: #d97706;
    color: #ffffff;
    border-color: #b45309;
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.25);
    transform: scale(1.05);
}

/* Botón de Acción Agregar (Opción 1) */
.product-actions {
    margin-top: auto;
    padding-top: 14px;
}

.btn-add-cart {
    width: 100%;
    background-color: #ffffff;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.08);
}

.btn-add-cart .cart-icon {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

/* Hover en PC: se llena de color rojo con texto blanco */
.btn-add-cart:hover {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.28);
}

.btn-add-cart:hover .cart-icon {
    transform: scale(1.15);
}

/* Efecto al presionar (click / tap) */
.btn-add-cart:active,
.btn-add-cart.added {
    transform: scale(0.98);
    background-color: #bb2d3b;
    border-color: #bb2d3b;
    color: #ffffff;
}

/* RESPONSIVE PARA EL CATÁLOGO */
@media (max-width: 1024px) {
    .catalog-split-layout {
        gap: 20px;
    }

    .catalog-sidebar {
        width: 240px;
        padding: 16px;
    }

    /* Mostrar icono de información solo a partir de Tablet hacia abajo */
    .product-card.has-desc .info-circle-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .catalog-split-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-sidebar {
        width: 100%;
    }

    .category-circles-wrapper {
        justify-content: flex-start;
        padding: 10px 20px;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 15px;
    }

    .product-image-container {
        height: 160px;
        cursor: pointer;
    }

    .product-card.has-desc {
        cursor: pointer;
    }

    .product-title {
        font-size: 0.85rem;
    }

    .price-discounted {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   BOTÓN DEL CARRITO EN EL MENÚ (HEADER)
   ========================================================================== */
.header-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid var(--color-hover-bg);
    color: var(--color-primary-text);
    padding: 8px 18px;
    border-radius: 25px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
    outline: none;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.header-cart-btn:hover {
    background-color: var(--color-hover-bg);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 174, 82, 0.35);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cart-svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.header-cart-btn:hover .header-cart-svg {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -9px;
    right: -11px;
    background-color: #dc3545;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    border-radius: 10px;
    padding: 0 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.4);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.bump {
    transform: scale(1.35);
}

.mobile-cart-link {
    font-weight: 700;
    color: #dc3545 !important;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        order: 1;
    }

    .logo-container {
        order: 2;
    }

    .header-cart-btn {
        order: 3;
        padding: 7px 11px;
    }

    .header-cart-btn .cart-btn-label {
        display: none;
    }
}

/* ==========================================================================
   POPUP MODAL DE PRODUCTO (Presentación 1/2kg, 1kg, Stepper + / -)
   ========================================================================== */
.product-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    border: 1px solid rgba(220, 174, 82, 0.2);
}

.product-modal-backdrop.active .product-modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #f0f0f0;
    background: #fffdf9;
}

.modal-header-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header-title svg {
    stroke: var(--color-hover-bg);
}

.modal-close-btn {
    background: #f4f4f4;
    border: none;
    color: #666;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #dc3545;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 22px;
    overflow-y: auto;
}

/* Preview del Producto */
.modal-product-preview {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 18px;
}

.modal-img-container {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-product-info {
    flex: 1;
    min-width: 0;
}

.modal-product-brand {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-hover-bg);
    letter-spacing: 0.5px;
}

.modal-product-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #222;
    margin: 2px 0 4px;
    line-height: 1.3;
}

.modal-product-price-ref {
    font-size: 0.82rem;
    color: #777;
}

/* Opciones de Presentación */
.modal-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.modal-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.modal-option-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.modal-option-btn:hover {
    border-color: var(--color-hover-bg);
    background: #fffdf7;
    transform: translateY(-1px);
}

.modal-option-btn.active {
    border-color: var(--color-hover-bg);
    background: #fff9eb;
    box-shadow: 0 0 0 1px var(--color-hover-bg), 0 4px 10px rgba(220, 174, 82, 0.15);
}

.option-weight-label {
    font-size: 0.98rem;
    font-weight: 700;
    color: #222;
}

.option-price-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #dc3545;
}

/* Stepper de Cantidad */
.modal-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 12px;
}

.stepper-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stepper-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #333;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.stepper-btn:hover:not(:disabled) {
    background: var(--color-hover-bg);
    color: #ffffff;
    border-color: var(--color-hover-bg);
    transform: scale(1.05);
}

.stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.stepper-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    min-width: 28px;
    text-align: center;
}

/* Caja de Cálculos */
.modal-calculation-box {
    background: #fffcf2;
    border: 1.5px dashed #e8c878;
    border-radius: 12px;
    padding: 14px 18px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 6px;
}

.calc-row.total-row {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f2e2be;
    font-size: 1.1rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 0;
}

.calc-highlight-weight {
    font-weight: 700;
    color: #b45309;
}

.calc-highlight-total {
    color: #dc3545;
    font-size: 1.3rem;
    font-weight: 800;
}

/* Footer Modal */
.modal-footer {
    padding: 16px 22px 22px;
    background: #ffffff;
}

.modal-submit-btn {
    width: 100%;
    background: var(--color-hover-bg);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(220, 174, 82, 0.4);
}

.modal-submit-btn:hover {
    background: #c89a3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220, 174, 82, 0.5);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

.modal-whatsapp-secondary-btn {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #25D366;
    color: #128c7e;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modal-whatsapp-secondary-btn:hover {
    background: #f0fdf4;
    border-color: #128c7e;
    color: #075e54;
    transform: translateY(-1px);
}

/* ==========================================================================
   CART DRAWER (PANEL LATERAL ESTILO FALABELLA / RIPLEY)
   ========================================================================== */
.cart-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #ffffff;
    z-index: 2600;
    box-shadow: -5px 0 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

.cart-header-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header-title svg {
    stroke: var(--color-hover-bg);
}

.cart-header-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: #666;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 12px;
}

.cart-drawer-close {
    background: #f5f5f5;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-drawer-close:hover {
    background: #dc3545;
    color: #ffffff;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Estado Vacío */
.cart-empty-box {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.cart-empty-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 16px;
    color: #cbd5e1;
}

.cart-empty-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.cart-empty-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 24px;
    line-height: 1.4;
}

.cart-empty-btn {
    display: inline-block;
    background: var(--color-hover-bg);
    color: #ffffff;
    padding: 11px 26px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(220, 174, 82, 0.3);
}

.cart-empty-btn:hover {
    background: #c89a3e;
    transform: translateY(-1px);
}

/* Tarjeta de Producto en el Carrito */
.cart-item-card {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    align-items: center;
}

.cart-item-card:last-child {
    border-bottom: none;
}

.cart-item-img-box {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
    flex-shrink: 0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    background: #fff8e7;
    color: #b45309;
    border: 1px solid #fed7aa;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.cart-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 6px;
    background: #f8fafc;
}

.cart-stepper-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    width: 20px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cart-stepper-btn:hover {
    color: #dc3545;
}

.cart-stepper-qty {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    min-width: 18px;
    text-align: center;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #dc3545;
}

.cart-item-remove-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove-btn:hover {
    color: #dc3545;
    background: #fee2e2;
}

/* Footer Carrito */
.cart-drawer-footer {
    padding: 18px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 6px;
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 800;
    color: #222;
    margin: 10px 0 16px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e1;
}

.cart-total-amount {
    color: #dc3545;
}

.cart-checkout-btn {
    width: 100%;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.cart-checkout-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.cart-checkout-btn:active {
    transform: translateY(0);
}

.cart-clear-btn {
    width: 100%;
    background: none;
    border: none;
    color: #888;
    font-size: 0.82rem;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.cart-clear-btn:hover {
    color: #dc3545;
}

/* ==========================================================================
   TOAST NOTIFICATION (Al agregar producto)
   ========================================================================== */
.frutoslex-toast {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: #222222;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
    border-left: 4px solid var(--color-hover-bg);
}

.frutoslex-toast.active {
    transform: translateY(0);
    opacity: 1;
}

.frutoslex-toast-btn {
    background: var(--color-hover-bg);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 6px;
    transition: background 0.2s;
}

.frutoslex-toast-btn:hover {
    background: #c89a3e;
}

/* ==========================================================================
   BOTÓN Y CHAT FLOTANTE DIRECTO A WHATSAPP
   ========================================================================== */
.whatsapp-float-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    user-select: none;
}

/* Tooltip / Mensaje emergente sobre el botón */
.whatsapp-float-tooltip {
    background: #ffffff;
    color: #333333;
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
    max-width: 250px;
    position: relative;
    font-size: 0.85rem;
    line-height: 1.4;
    border: 1px solid #eef0f3;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.whatsapp-float-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 23px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-right: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
    transform: rotate(45deg);
}

.whatsapp-tooltip-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #075e54;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.whatsapp-status-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
}

.whatsapp-tooltip-text {
    margin: 0;
    color: #4b5563;
    font-size: 0.83rem;
    font-weight: 500;
}

.whatsapp-tooltip-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

.whatsapp-tooltip-close:hover {
    color: #374151;
}

/* Botón Circular Principal */
.whatsapp-float-btn {
    position: relative;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn:active {
    transform: scale(0.96);
}

.whatsapp-float-svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.whatsapp-float-btn:hover .whatsapp-float-svg {
    transform: scale(1.06);
}

/* Anillo sutil de pulso */
.whatsapp-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2.4s infinite cubic-bezier(0.4, 0, 0.6, 1);
    opacity: 0;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .whatsapp-float-container {
        bottom: 20px;
        right: 18px;
    }

    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
    }

    .whatsapp-float-svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float-tooltip {
        max-width: 215px;
        font-size: 0.8rem;
        padding: 10px 14px;
    }

    .frutoslex-toast {
        bottom: 85px;
        right: 15px;
        left: 15px;
        justify-content: space-between;
    }
}

/* ==========================================================================
   SECCIÓN DE PRODUCTOS DESTACADOS AL AZAR (ESTILO FALABELLA / RIPLEY)
   ========================================================================== */
.seccion-destacados-home {
    padding: 55px 0 60px 0;
    background-color: #fbfbfc;
    border-top: none;
}

/* 1. Cuadrícula de 4 Tarjetas Promocionales (Estilo Falabella Top) */
.home-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.promo-card-item {
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    position: relative;
}

.promo-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
    border-color: #dcae52;
}

.promo-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-card-item:hover .promo-card-img-wrapper img {
    transform: scale(1.06);
}

.promo-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc3545;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.35);
}

.promo-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid #f2f4f7;
    flex: 1;
    gap: 10px;
}

.promo-card-meta {
    flex: 1;
    min-width: 0;
}

.promo-card-brand {
    font-size: 0.72rem;
    font-weight: 800;
    color: #b45309;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.promo-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222222;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-card-cat {
    font-size: 0.75rem;
    color: #777777;
    display: block;
}

.promo-card-price-badge {
    background: #effaf3;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: right;
    flex-shrink: 0;
}

.price-badge-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: #15803d;
    text-transform: uppercase;
}

.price-badge-main {
    font-size: 1.15rem;
    font-weight: 800;
    color: #15803d;
    line-height: 1.1;
    margin: 2px 0;
}

.price-badge-sub {
    font-size: 0.65rem;
    color: #64748b;
    text-decoration: line-through;
}

/* 2. Banner Intermedio Promocional (Inspirado en estilo Retail Ripley) */
.home-promo-banner-strip {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    margin: 35px 0 45px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    min-height: 105px;
    display: flex;
    align-items: center;
}

.banner-strip-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.banner-bg-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 30%;
}

.banner-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, rgba(255, 255, 255, 0.95) 45%, rgba(255, 255, 255, 0.75) 60%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0) 100%);
}

.banner-strip-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 30px;
    gap: 20px;
}

.banner-strip-left {
    flex-shrink: 0;
}

.banner-retail-headline {
    margin: 0;
    line-height: 1.15;
}

.retail-headline-top {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #2b124c;
    letter-spacing: -0.3px;
}

.retail-headline-main {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #2b124c;
    letter-spacing: -0.3px;
    margin-top: 2px;
}

.retail-highlight {
    color: #e6007e;
    font-style: italic;
    font-weight: 800;
}

.banner-retail-badge {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(220, 225, 235, 0.95);
    border-radius: 12px;
    padding: 8px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.badge-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: #e6007e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-main {
    font-size: 0.95rem;
    font-weight: 800;
    color: #2b124c;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.badge-star {
    color: #f59e0b;
    font-size: 1.05rem;
}

.banner-retail-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.retail-brand-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.retail-brand-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
    line-height: 1;
    text-transform: lowercase;
}

.retail-brand-lines {
    display: flex;
    height: 4px;
    width: 80px;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 5px;
}

.brand-line.line-red {
    flex: 1;
    background: #e11d48;
}

.brand-line.line-yellow {
    flex: 1;
    background: #f59e0b;
}

.brand-line.line-purple {
    flex: 1;
    background: #381460;
}

.banner-strip-btn.retail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #2b124c;
    border: 2px solid #2b124c;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(43, 18, 76, 0.08);
}

.banner-strip-btn.retail-btn:hover {
    background: #2b124c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 18, 76, 0.25);
}

/* 3. Vitrina de "Los más pedidos de Frutos Lex" (Estilo Falabella Bottom) */
.home-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef0f3;
}

.showcase-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}

.showcase-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
}

.showcase-ver-todos {
    font-size: 0.92rem;
    font-weight: 700;
    color: #dcae52;
    text-decoration: none;
    transition: color 0.2s;
}

.showcase-ver-todos:hover {
    color: #b45309;
    text-decoration: underline;
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
}

.showcase-card-item {
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.showcase-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    border-color: #dcae52;
}

.showcase-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 165px;
    background: #fafafa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-card-item:hover .showcase-card-img-wrapper img {
    transform: scale(1.06);
}

.showcase-discount-pill {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc3545;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.showcase-seller-line {
    font-size: 0.72rem;
    color: #10b981;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.showcase-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #222222;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 2.4em;
}

.showcase-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.stars-score {
    font-size: 0.75rem;
    font-weight: 600;
    color: #777777;
}

.showcase-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.showcase-price-curr {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dc3545;
}

.showcase-price-orig {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.showcase-fraction-line {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 12px;
}

.btn-showcase-select {
    margin-top: auto;
    width: 100%;
    background: #ffffff;
    color: #dc3545;
    border: 1.5px solid #dc3545;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.showcase-card-item:hover .btn-showcase-select {
    background: #dc3545;
    color: #ffffff;
}

/* ==========================================================================
   ANIMACIÓN DE RESALTADO AL ABRIR PRODUCTO SELECCIONADO (?selectProduct=)
   ========================================================================== */
@keyframes pulseHighlightCard {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 174, 82, 0.8);
        border-color: #dcae52;
        transform: scale(1.02);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(220, 174, 82, 0);
        border-color: #dcae52;
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 174, 82, 0);
        border-color: #dcae52;
        transform: scale(1);
    }
}

.product-card.product-highlight-pulse {
    animation: pulseHighlightCard 1.2s ease-in-out 3;
    border: 2px solid #dcae52 !important;
}

/* RESPONSIVE PARA SECCIÓN DESTACADOS */
@media (max-width: 1024px) {
    .home-promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .home-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card-img-wrapper {
        height: 200px;
    }

    .banner-strip-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 22px 18px;
    }

    .banner-bg-gradient {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0.7) 100%);
    }

    .retail-headline-top {
        font-size: 1.15rem;
    }

    .retail-headline-main {
        font-size: 1.25rem;
    }

    .banner-retail-right {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .retail-brand-box {
        align-items: center;
    }

    .banner-strip-btn.retail-btn {
        width: 100%;
        justify-content: center;
    }

    .home-showcase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .home-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .showcase-card-img-wrapper {
        height: 140px;
    }

    .showcase-item-title {
        font-size: 0.82rem;
    }

    .showcase-price-curr {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   PÁGINA DE CONTACTO Y COTIZACIONES (ESTILO FALABELLA PARA EMPRESAS)
   ========================================================================== */
.contacto-body {
    background-color: #fcfbf8;
}

.contacto-page-main {
    position: relative;
    padding: 60px 0 90px;
    overflow: hidden;
    min-height: calc(100vh - 100px - 280px);
}

/* Formas curvas decorativas de fondo (Inspiradas en la imagen de Falabella) */
.contacto-decor-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.shape-top-left {
    top: -80px;
    left: -120px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(220, 174, 82, 0.18) 0%, rgba(220, 174, 82, 0.02) 70%);
}

.shape-bottom-right {
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(220, 174, 82, 0.01) 70%);
}

.contacto-split-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 50px;
    align-items: flex-start;
}

/* Columna Izquierda: Información de Marca */
.contacto-brand-header {
    margin-bottom: 30px;
}

.contacto-pill-tag {
    display: inline-block;
    background: #fff8e7;
    color: #b45309;
    border: 1px solid #fed7aa;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contacto-brand-heading {
    font-size: 2.3rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.15;
    margin-bottom: 8px;
}

.contacto-brand-heading span {
    color: var(--color-hover-bg);
}

.contacto-subheading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.contacto-lead-text {
    font-size: 1.02rem;
    color: #64748b;
    line-height: 1.6;
}

/* Tarjetas de características */
.contacto-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.contacto-feature-card {
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, border-color 0.2s;
}

.contacto-feature-card:hover {
    transform: translateY(-2px);
    border-color: #dcae52;
}

.feature-card-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.feature-card-text h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.feature-card-text p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

/* Canales Directos */
.contacto-direct-box {
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.direct-box-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.direct-channels-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.direct-channels-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: #475569;
}

.direct-channels-list .channel-icon {
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fffaf0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #fef3c7;
}

.direct-channels-list strong {
    color: #1e293b;
    margin-right: 4px;
}

.direct-channels-list a {
    color: #b45309;
    text-decoration: none;
    font-weight: 600;
}

.direct-channels-list a:hover {
    text-decoration: underline;
}

/* Columna Derecha: Tarjeta de Formulario (Estilo Falabella Empresas) */
.form-quote-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 38px 34px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #edf0f4;
}

.form-quote-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-quote-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.form-quote-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    max-width: 440px;
    margin: 0 auto;
}

.form-quote-desc strong {
    color: #b45309;
}

/* Inputs con estilo redondeado moderno (como en la referencia de Falabella) */
.form-input-group {
    margin-bottom: 14px;
}

.form-label-hidden {
    display: none;
}

.form-label-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

.form-control-falabella {
    width: 100%;
    background-color: #f3f5f8;
    border: 1.5px solid transparent;
    border-radius: 30px;
    padding: 13px 20px;
    font-size: 0.92rem;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

.form-control-falabella:focus {
    background-color: #ffffff;
    border-color: #dcae52;
    box-shadow: 0 0 0 4px rgba(220, 174, 82, 0.15);
}

.form-control-falabella::placeholder {
    color: #94a3b8;
}

.form-textarea-falabella {
    width: 100%;
    background-color: #f3f5f8;
    border: 1.5px solid transparent;
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
    resize: vertical;
}

.form-textarea-falabella:focus {
    background-color: #ffffff;
    border-color: #dcae52;
    box-shadow: 0 0 0 4px rgba(220, 174, 82, 0.15);
}

/* Sección Interés en: (Selector de Modalidad) */
.form-section-box {
    margin: 18px 0 16px;
}

.section-box-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.modality-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modality-card-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 12px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    outline: none;
    user-select: none;
}

.modality-card-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.modality-card-btn.active {
    border-color: #dcae52;
    background: #fffdf7;
    box-shadow: 0 4px 12px rgba(220, 174, 82, 0.15);
}

.modality-check-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.modality-card-btn.active .modality-check-indicator {
    border-color: #dcae52;
    background: #dcae52;
}

.modality-card-btn.active .modality-check-indicator::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

.modality-btn-info {
    display: flex;
    flex-direction: column;
}

.modality-btn-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
}

.modality-btn-sub {
    font-size: 0.72rem;
    color: #64748b;
}

/* Paneles de Explicación Dinámica */
.dynamic-explanation-panel {
    margin-bottom: 18px;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.explanation-alert-box {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.45;
}

.alert-amber {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.alert-emerald {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.explanation-alert-box .alert-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.explanation-alert-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.92rem;
}

/* Botón de Redirección a Catálogo (Venta por Menor) */
.btn-redirect-catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #166534;
    border: 2px solid #22c55e;
    padding: 12px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
}

.btn-redirect-catalog:hover {
    background: #22c55e;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Términos y Condiciones */
.form-terms-group {
    margin-bottom: 20px;
}

.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1.35;
}

.terms-checkbox-label input {
    margin-top: 2px;
    accent-color: #dcae52;
}

/* Botón de Envío Negro Redondeado (Estilo Falabella "Enviar Consulta") */
.btn-submit-falabella {
    width: 100%;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 35px;
    padding: 15px 24px;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
}

.btn-submit-falabella:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.btn-submit-falabella:active {
    transform: translateY(0);
}

/* RESPONSIVE PARA CONTACTO */
@media (max-width: 992px) {
    .contacto-split-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-quote-card {
        padding: 30px 22px;
    }
}

@media (max-width: 600px) {
    .contacto-cards-grid {
        grid-template-columns: 1fr;
    }

    .modality-toggle-grid {
        grid-template-columns: 1fr;
    }

    .contacto-brand-heading {
        font-size: 1.8rem;
    }

    .form-quote-card {
        padding: 24px 16px;
        border-radius: 18px;
    }
}

/* ========================================================
   --- PÁGINA "PIDE TU PDF" (E-BOOK & WHATSAPP WIDGET) ---
   ======================================================== */

.pdf-page-body {
    background-color: #fbfbfb;
}

.pdf-main-content {
    overflow-x: hidden;
}

/* 1. HERO SECTION */
.pdf-hero-section {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #fffcf5 0%, #fefcf8 50%, #ffffff 100%);
    border-bottom: 1px solid #f1f5f9;
}

.pdf-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.pdf-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff8e6;
    border: 1px solid #dcae52;
    color: #9c7017;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pdf-hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.18;
    color: #1e293b;
    margin-bottom: 20px;
}

.pdf-hero-title span {
    color: #c59336;
    background: linear-gradient(135deg, #dcae52 0%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pdf-hero-desc {
    font-size: 1.12rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 26px;
}

.pdf-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.45;
}

.highlight-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #16a34a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.highlight-item strong {
    color: #0f172a;
}

.pdf-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-pdf-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.btn-pdf-primary:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
}

.btn-pdf-secondary {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #475569 !important;
    padding: 14px 24px;
    border-radius: 50px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-pdf-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a !important;
}

.pdf-trust-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
    flex-wrap: wrap;
}

/* PREVIEW DEL EBOOK (COLUMNA DERECHA) */
.pdf-hero-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-card-showcase {
    position: relative;
    max-width: 440px;
    width: 100%;
}

.pdf-mockup-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.pdf-mockup-img:hover {
    transform: translateY(-8px) scale(1.02);
}

.pdf-floating-pill {
    position: absolute;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    border: 1px solid #f1f5f9;
    z-index: 2;
    animation: floatBadge 3.5s ease-in-out infinite alternate;
}

.pill-top {
    top: -12px;
    right: -12px;
    background: #fff8e6;
    color: #9c7017;
    border-color: #dcae52;
}

.pill-bottom {
    bottom: -15px;
    left: -15px;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

/* 2. SECCIÓN: POR QUÉ ESTA GUÍA ES DIFERENTE */
.pdf-why-section {
    padding: 90px 0;
    background-color: #ffffff;
}

.pdf-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.pdf-section-header .section-subtitle {
    display: inline-block;
    color: #c59336;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.pdf-section-header .section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 14px;
}

.pdf-section-header .section-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
}

.pdf-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.pdf-feature-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 26px;
    position: relative;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pdf-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
    background: #ffffff;
}

.pdf-feature-card.featured-glow {
    border-color: #dcae52;
    background: linear-gradient(180deg, #fffcf4 0%, #fffbf0 100%);
    box-shadow: 0 10px 25px rgba(220, 174, 82, 0.12);
}

.card-icon-badge {
    font-size: 2.2rem;
    margin-bottom: 18px;
    line-height: 1;
}

.pdf-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.pdf-feature-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.58;
    flex-grow: 1;
}

.card-tag-popular {
    align-self: flex-start;
    margin-top: 18px;
    background: #dcae52;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 3. SECCIÓN WHATSAPP INTERACTIVA */
.pdf-whatsapp-interactive-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
}

.whatsapp-box-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 44px 40px;
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.whatsapp-box-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.wa-icon-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.wa-header-texts h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.wa-header-texts p {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.whatsapp-quick-chips {
    margin-bottom: 24px;
}

.chips-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.quick-chip:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #dcae52;
    color: #ffffff;
}

.quick-chip.active {
    background: #dcae52;
    color: #1e293b;
    border-color: #dcae52;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(220, 174, 82, 0.3);
}

.whatsapp-editor-area {
    margin-bottom: 30px;
}

.editor-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
}

.wa-textarea {
    width: 100%;
    background: #ffffff;
    color: #1e293b;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 16px;
    font-family: inherit;
    font-size: 0.98rem;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wa-textarea:focus {
    border-color: #25d366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.25);
}

@keyframes pulseHighlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); border-color: #dcae52; }
    100% { transform: scale(1); }
}

.wa-textarea.pulse-highlight {
    animation: pulseHighlight 0.4s ease;
}

.whatsapp-submit-zone {
    text-align: center;
}

.btn-whatsapp-send-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 540px;
    background: #25d366;
    color: #ffffff !important;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    transition: all 0.25s ease;
}

.btn-whatsapp-send-large:hover {
    background: #20ba59;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55);
}

.wa-guarantee-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* 4. PREGUNTAS FRECUENTES */
.pdf-faq-section {
    padding: 90px 0;
    background-color: #f8fafc;
}

.pdf-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.94rem;
    color: #64748b;
    line-height: 1.55;
}

/* RESPONSIVE PIDE TU PDF */
@media (max-width: 992px) {
    .pdf-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .pdf-badge-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .pdf-hero-title {
        font-size: 2.2rem;
    }

    .pdf-highlights-list {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .pdf-hero-actions {
        justify-content: center;
    }

    .pdf-trust-badges {
        justify-content: center;
    }

    .pdf-faq-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-box-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 600px) {
    .pdf-hero-section {
        padding: 40px 0;
    }

    .pdf-hero-title {
        font-size: 1.85rem;
    }

    .pdf-hero-desc {
        font-size: 1rem;
    }

    .btn-pdf-primary,
    .btn-pdf-secondary {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-box-header {
        flex-direction: column;
        text-align: center;
    }

    .chips-container {
        flex-direction: column;
    }

    .quick-chip {
        width: 100%;
        text-align: center;
    }

    .btn-whatsapp-send-large {
        font-size: 1rem;
        padding: 16px 20px;
    }
}



/* ==========================================================================
   BOTÓN FLOTANTE DEL CARRITO (AL COSTADO DE WHATSAPP)
   ========================================================================== */
.floating-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-cart-btn {
    position: relative;
    width: 58px;
    height: 58px;
    background: #ffffff;
    border: 2.2px solid var(--color-hover-bg, #dcae52);
    color: var(--color-hover-bg, #dcae52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    outline: none;
    padding: 0;
}

.floating-cart-btn:hover {
    background: var(--color-hover-bg, #dcae52);
    color: #ffffff;
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 174, 82, 0.45);
}

.floating-cart-btn:active {
    transform: scale(0.96);
}

.floating-cart-svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.floating-cart-btn:hover .floating-cart-svg {
    transform: scale(1.06);
}

.floating-cart-badge {
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 0.76rem;
    border: 2px solid #ffffff;
}

@media (max-width: 768px) {
    .floating-actions-row {
        gap: 10px;
    }

    .floating-cart-btn {
        width: 52px;
        height: 52px;
    }

    .floating-cart-svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   DESCRIPCIÓN DEL PRODUCTO EN MODAL (RESPONSIVO PARA TODAS LAS PANTALLAS)
   ========================================================================== */
.modal-product-preview {
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.modal-product-desc-box {
    background: #fffdf7;
    border: 1px solid #f3e5c3;
    border-left: 3.5px solid var(--color-hover-bg, #dcae52);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.modal-desc-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #b45309;
    margin-bottom: 4px;
}

.modal-desc-header svg {
    stroke: var(--color-hover-bg, #dcae52);
    flex-shrink: 0;
}

.modal-product-desc-text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #4b5563;
    max-height: 72px;
    overflow-y: auto;
    word-break: break-word;
    padding-right: 4px;
}

.modal-product-desc-text::-webkit-scrollbar {
    width: 4px;
}

.modal-product-desc-text::-webkit-scrollbar-thumb {
    background: #e2d1a7;
    border-radius: 4px;
}

/* Adaptación para laptops de baja altura y teléfonos móviles */
@media (max-width: 576px), (max-height: 720px) {
    .product-modal-backdrop {
        padding: 10px;
    }

    .product-modal {
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 16px;
    }

    .modal-header {
        padding: 12px 16px;
    }

    .modal-body {
        padding: 14px 16px;
    }

    .modal-product-preview {
        gap: 12px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .modal-img-container {
        width: 58px;
        height: 58px;
    }

    .modal-product-title {
        font-size: 0.98rem;
    }

    .modal-product-desc-box {
        padding: 8px 12px;
        margin-bottom: 12px;
    }

    .modal-product-desc-text {
        font-size: 0.8rem;
        max-height: 58px;
    }

    .modal-options-grid {
        margin-bottom: 12px;
        gap: 8px;
    }

    .modal-option-btn {
        padding: 9px 8px;
    }

    .modal-qty-row {
        padding: 9px 12px;
        margin-bottom: 12px;
    }

    .modal-calculation-box {
        padding: 10px 14px;
    }

    .modal-footer {
        padding: 12px 16px 16px;
    }

    .modal-submit-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   NOTA SUTIL DE ENVÍO EN EL CARRITO (SHALOM / INDRIVE)
   ========================================================================== */
.cart-shipping-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(220, 174, 82, 0.07);
    border: 1px solid rgba(220, 174, 82, 0.25);
    border-radius: 8px;
    padding: 8px 11px;
    margin-bottom: 12px;
    font-size: 0.76rem;
    line-height: 1.38;
    color: #645a49;
}

.cart-shipping-icon {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--color-hover-bg, #dcae52);
    opacity: 0.85;
}

.cart-shipping-note strong {
    color: #8a5a10;
    font-weight: 700;
}

@media (max-width: 576px) {
    .cart-shipping-note {
        font-size: 0.73rem;
        padding: 7px 10px;
        margin-bottom: 10px;
    }
}
.cart-drawer-footer .cart-total-line {
    margin-bottom: 10px;
}

/* ==========================================================================
   PIDE TU PDF DESHABILITADO (EN DESARROLLO)
   ========================================================================== */
.nav-link.nav-link-disabled {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    cursor: default;
    opacity: 0.72;
    user-select: none;
}

.nav-link.nav-link-disabled:hover,
.nav-link.nav-link-disabled:focus,
.nav-link.nav-link-disabled.active {
    background-color: transparent !important;
    color: var(--color-primary-text) !important;
}

.nav-dev-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: #fff8e7;
    color: #b45309;
    border: 1px solid #f2d492;
    padding: 1px 7px;
    border-radius: 10px;
    line-height: 1.25;
}

.mobile-nav .nav-link.nav-link-disabled {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}


/* ==========================================================================
   PRODUCTOS AGOTADOS (PRECIO X KG = 0)
   ========================================================================== */
.product-card.out-of-stock .card-price-discounted.is-agotado {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 800;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.product-card.out-of-stock .out-of-stock-note {
    font-size: 0.76rem;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.35;
}

.product-card.out-of-stock .btn-add-cart.btn-consult-stock {
    border-color: #dcae52;
    color: #9a6b16;
    background: #fffdf7;
}

.product-card.out-of-stock .btn-add-cart.btn-consult-stock:hover {
    background: #dcae52;
    border-color: #dcae52;
    color: #ffffff;
}
