/* ============================================================
   TIENDA.CSS — Halloween Crochet Colombia
   Solo las páginas públicas de la tienda. Se carga después de base.css.

   ÍNDICE
    1. Animaciones
    2. Esqueletos de carga
    3. Encabezado y navegación
    4. Buscador
    5. Menú del celular
    6. Carrito lateral
    7. Tarjetas de producto
    8. Ventanas (tallas, colores, galería)
    9. Bienvenida y aviso de salida
   10. Probador virtual
   11. Luna (chatbot)
   12. Botones flotantes (WhatsApp, Instagram)
   13. Formularios y mensajes de error
   14. Compartido entre varias páginas
   15. Pie de página
   16. Página: inicio
   17. Páginas: categorías
   18. Página: producto
   19. Página: carrito
   20. Página: favoritos
   21. Página: sale
   22. Página: entrega inmediata
   23. Página: checkout
   24. Página: resultado del pago
   25. Página: dejar una reseña
   26. Página: seguimiento del pedido
   27. Página: contacto
   28. Página: sobre nosotros
   29. Páginas legales y de cambios
   30. Promociones y Club Halloween Girls
   31. Pagar por transferencia (checkout y página /pagar)

   AL FINAL, LOS TAMAÑOS DE PANTALLA (RESPONSIVE):
   - Pantallas grandes (desde 1440px) — solo pantalla
   - Computador (desde 769px)
   - Computador con la ficha en dos columnas (desde 1081px) — solo pantalla
   - Hasta 1300px
   - Hasta 1280px (portátil pequeño) — solo pantalla
   - Hasta 1080px (tableta horizontal) — solo pantalla
   - Hasta 900px
   - Hasta 768px (tableta y celular)
   - Hasta 768px (tableta y celular) — solo pantalla
   - Hasta 600px
   - Hasta 480px (celular) — solo pantalla
   - Hasta 375px (celular pequeño) — solo pantalla
   - Hasta 320px (celular muy pequeño) — solo pantalla
   - Movimiento reducido (accesibilidad)
   ============================================================ */

/* ============================================================
   1. ANIMACIONES
   ============================================================ */

@keyframes skeleton-shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

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

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

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

@keyframes popContador {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.6);
        background: #f4a5bc;
    }
    100% {
        transform: scale(1);
    }
}

.cart-modal-content {
    animation: slideUpModal 0.35s ease;
}

#modal-tryon-container > div {
    animation: slideUpModal 0.35s ease;
}

.contador-pop {
    animation: popContador 0.4s ease;
}

/* ANIMACIÓN VUELO AL CARRITO */
.img-volante {
    position: fixed;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 99999;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes pdBrillo {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes pulso-descuento {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ei-pulso-punto {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 4px rgba(74, 222, 128, 0);
    }
}

@keyframes dropdownAparecer {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes destacarBotonPago {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.5);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(40, 167, 69, 0);
    }
}

@keyframes seguimiento-slide-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-4px);
    }
    75% {
        transform: translateX(4px);
    }
}

/* ============================================================
   2. ESQUELETOS DE CARGA
   ============================================================ */

.skeleton-card {
    width: 20%;
    padding-left: 3.8%;
    display: inline-block;
}

.skeleton-img {
    width: 100%;
    height: 280px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-texto {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-texto.corto {
    width: 60%;
}

.skeleton-texto.precio {
    width: 40%;
    height: 18px;
}

/* ============================================================
   3. ENCABEZADO Y NAVEGACIÓN
   ============================================================ */

.top {
    position: relative;
    text-align: center;
    line-height: 30px;
    color: white;
    background-color: #9dbce4;
    cursor: default;
    z-index: 1;
}

.top:hover {
    background-color: #f4a5bc;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 0 clamp(24px, 5vw, 90px);
}

/* LOGO — con clamp() */
.logo img {
    height: auto;
}

/* NAVEGACIÓN — margins relativos */
.btn-categorias,
.entrega-inmediata,
.rastrea {
    margin: clamp(10px, 2vw, 30px);
    color: #000000;
    text-decoration: none;
}

/* NAVEGACIÓN — margins relativos */
.sale {
    margin: clamp(10px, 2vw, 30px);
    color: #000000;
    text-decoration: none;
}

.barra-navegacion a:hover {
    color: #9dbce4;
}

/* Menú desplegable categorías desktop */
.desplegable-contenido {
    display: none;
    position: fixed;
    top: 105px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-top: none;
    box-shadow: 50px 14px 20px rgba(0, 0, 0, 0.03);
    min-width: 220px;
    padding-top: 10px;
    padding-bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.desplegable-contenido a {
    color: black;
    padding: 15px 0;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
}

.desplegable-contenido a:hover {
    transform: scale(1.1);
}

.desplegable:hover .desplegable-contenido {
    display: block;
}

.menu-toggle {
    display: none;
}

.barra-navegacion {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

.desplegable {
    position: relative;
    padding-bottom: 50px;
    margin-bottom: -50px;
    margin-left: -50px;
    margin-right: clamp(10px, 2vw, 30px);
}

.btn-categorias {
    margin-left: 0;
    margin-right: 0;
}

/* Botones header: buscar, favorito, carrito */
.icono-boton {
    color: #9dbce4;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.icono-boton:hover {
    transform: scale(1.2);
    color: #f4a5bc;
    z-index: 10000;
}

.icono-boton:active {
    transform: scale(1.4);
}

#contador-favoritos,
#contador-carrito {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f4a5bc;
    color: white;
    font-size: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icono-boton:hover #contador-favoritos,
.icono-boton:hover #contador-carrito {
    background: #f4a5bc;
}

/* ============================================================
   4. BUSCADOR
   ============================================================ */

.header-botones {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.buscador-container {
    display: none;
    position: absolute;
    top: -15%;
    right: 100%;
    transform: scaleX(0);
    transform-origin: right center;
    width: clamp(200px, 15vw, 320px);
    z-index: 8889;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.buscador-container.activo {
    display: block;
    opacity: 1;
    transform: scaleX(1);
}

.buscador-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 8888;
    background: transparent;
    cursor: default;
}

.buscador-overlay.activo {
    display: block;
}

.buscador-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 1.5px solid #9dbce4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 0 6px 0 16px;
    overflow: hidden;
}

.buscador-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: "Quicksand", sans-serif;
    color: #333;
    padding: 8px 6px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
}

.buscador-input-wrapper input::-webkit-search-cancel-button,
.buscador-input-wrapper input::-webkit-search-decoration {
    display: none;
    -webkit-appearance: none;
}

.buscador-cerrar {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #999;
    padding: 4px 8px;
    border-radius: 50%;
    transition: color 0.2s;
    flex-shrink: 0;
}

.buscador-cerrar:hover {
    color: #f4a5bc;
}

.buscador-resultados {
    max-height: 300px;
    overflow-y: auto;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 6px;
}

.buscador-resultado-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.buscador-resultado-item:last-child {
    border-bottom: none;
}

.buscador-resultado-item:hover {
    background: #fdf6f8;
}

.buscador-resultado-item img {
    width: 80px;
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
}

.buscador-resultado-info {
    flex: 1;
    min-width: 0;
}

.buscador-resultado-nombre {
    font-size: 12px;
    margin: 0 0 2px;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    text-overflow: unset;
}

.buscador-resultado-precio {
    font-size: 13px;
    color: #9dbce4;
    font-weight: 600;
    margin: 0;
}

.buscador-resultado-categoria {
    font-size: 12px;
    color: #999;
    margin: 2px 0 0;
}

.buscador-vacio {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.buscador-badge-desc {
    background: #f4a5bc;
    color: white;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 4px;
}

.buscador-badge-ei {
    background: #f4a5bc;
    color: white;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 600;
}

.fondo-buscador-lateral {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.fondo-buscador-lateral.activo {
    display: block;
    opacity: 1;
}

.buscador-lateral {
    position: fixed;
    top: 0;
    right: 0;
    width: clamp(300px, 38vw, 480px);
    height: 100%;
    background: white;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12);
}

.buscador-lateral.activo {
    transform: translateX(0);
}

.buscador-lateral-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.buscador-lateral-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a4fa0;
    margin: 0;
    text-align: left;
}

.buscador-lateral-cerrar {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 4px;
    transition: color 0.2s;
    line-height: 1;
}

.buscador-lateral-cerrar:hover {
    color: #f4a5bc;
}

.buscador-lateral-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 24px 0;
    padding: 10px 16px;
    background: #f8f8f8;
    border: 1.5px solid #eee;
    transition: border-color 0.2s;
}

.buscador-lateral-input-wrapper:focus-within {
    border-color: #9dbce4;
    background: white;
}

.buscador-lateral-input-wrapper i {
    color: #9dbce4;
    font-size: 20px;
    flex-shrink: 0;
}

.buscador-lateral-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: "Quicksand", sans-serif;
    color: #333;
    background: transparent;
    min-width: 0;
}

.buscador-lateral-input-wrapper input::placeholder {
    color: #bbb;
}

.buscador-lateral-limpiar {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #999;
    padding: 2px 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.buscador-lateral-limpiar:hover {
    color: #f4a5bc;
}

.buscador-lateral-resultados {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    margin-top: 12px;
}

.buscador-lateral-resultados .buscador-resultado-item {
    padding: 10px 24px;
}

.buscador-lateral-resultados .buscador-resultado-item img {
    width: 80px;
    aspect-ratio: 2 / 3;
}

.buscador-lateral-resultados .buscador-resultado-nombre {
    font-size: 13px;
}

.buscador-lateral-vacio {
    text-align: center;
    color: #bbb;
    font-size: 14px;
    padding: 40px 24px;
}

.buscador-lateral-vacio i {
    font-size: 48px;
    color: #eee;
    display: block;
    margin-bottom: 12px;
}

.buscador-lateral-limpiar {
    display: none;
}

/* ============================================================
   5. MENÚ DEL CELULAR
   ============================================================ */

.fondo-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    transition: opacity 0.3s ease;
}

.fondo-menu.activo {
    display: block;
}

.menu-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.menu-fullscreen.active {
    transform: translateX(0);
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    height: 78px;
    border-bottom: 1px solid #eee;
}

.menu-header img {
    height: 75px;
    margin: -45px;
}

.menu-header .cerrar-menu {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

.menu-nav {
    flex: 1;
}

.menu-item {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    color: #9dbce4;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.menu-item-expandible {
    border-bottom: 1px solid #f0f0f0;
}

.menu-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item-row:hover,
.menu-item:hover {
    background: #f9f9f9;
}

.menu-item-row a {
    font-size: 15px;
    color: #9dbce4;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none !important;
    padding: 0 !important;
}

.menu-plus {
    font-size: 22px;
    color: #f4a5bc;
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

.menu-plus.rotado {
    transform: rotate(45deg);
}

.menu-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.menu-submenu.abierto {
    max-height: 300px;
}

.menu-subitem {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 32px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition:
        color 0.3s ease,
        transform 0.3s ease,
        letter-spacing 0.3s ease;
    transform-origin: left center;
}

.menu-subitem:hover {
    transform: scale(1.05);
    letter-spacing: 0.5px;
}

.menu-ayuda {
    padding: 20px;
    border-top: 1px solid #eee;
}

.menu-seccion-titulo {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
}

.menu-ayuda-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9dbce4;
    text-decoration: none;
}

.menu-botones {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-btn-accion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 14px;
    text-decoration: none;
    background: #9dbce4;
    color: white;
    transition: background 0.2s;
}

.menu-btn-accion-outline {
    background: white;
    border: 1px solid #9dbce4;
    color: #9dbce4;
}

/* ============================================================
   6. CARRITO LATERAL
   ============================================================ */

.fondo-carrito {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.fondo-carrito.activo {
    display: block;
}

.menu-carrito {
    position: fixed;
    top: 0;
    right: 0;
    width: clamp(350px, 38vw, 450px);
    height: 100%;
    background: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.menu-carrito.activo {
    transform: translateX(0);
}

.encabezado-carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.encabezado-carrito h2 {
    margin: 0;
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-cerrar-carrito {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.btn-cerrar-carrito:hover {
    color: #f4a5bc;
}

.carrito-envio-medidor {
    padding: 12px 20px 8px;
    border-bottom: 1px solid #eee;
}

.carrito-envio-barra-wrapper {
    width: 100%;
    height: 6px;
    background: #eee;
    overflow: hidden;
    margin-bottom: 8px;
}

.carrito-envio-barra {
    height: 100%;
    background: #9dbce4;
    transition: width 0.5s ease;
    width: 0%;
}

.carrito-envio-barra.completo {
    background: #4caf50;
}

.carrito-envio-texto {
    font-size: 12px;
    color: #555;
    margin: 0;
    text-align: center;
}

.lista-carrito {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}

.carrito-lateral-vacio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    text-align: center;
}

.carrito-lateral-vacio i {
    font-size: 48px;
    color: #ddd;
}

/* Item del carrito lateral — tratamiento de tarjeta, igual que en carrito.html */
.item-carrito {
    display: flex;
    gap: 12px;
    padding: 14px;
    margin: 14px 0;
    background: #fafafa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    align-items: center;
    transition: box-shadow 0.2s ease;
}

.item-carrito:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.item-carrito-img-wrapper {
    width: 90px;
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
    overflow: hidden;
}

.item-carrito-img {
    width: 100%;
    height: 100%;
    display: block;
}

.item-carrito-info {
    flex: 1;
    min-width: 0;
}

.item-carrito-nombre {
    font-weight: bold;
    font-size: 14px;
    margin: 0 0 4px;
    line-height: 1.3;
}

.item-carrito-detalle {
    font-size: 12px;
    color: #888;
    margin: 3px 0;
}

.item-carrito-precios {
    margin: 4px 0;
}

.item-carrito-precio {
    margin: 0;
}

.item-carrito-acciones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px;
}

.item-carrito-qty {
    overflow: hidden;
    background: white;
}

.item-carrito-qty button {
    width: 26px;
    height: 26px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-carrito-qty button:hover {
    background: #f5f5f5;
}

.item-carrito-qty span {
    width: 26px;
    text-align: center;
    font-size: 12px;
}

.btn-eliminar-carrito {
    background: none;
    border: none;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}

.btn-eliminar-carrito:hover {
    color: #f4a5bc;
}

.pie-carrito {
    border-top: 1px solid #eee;
    padding: 16px 20px;
}

.pie-carrito-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
}

.pie-carrito-botones {
    display: flex;
    gap: 10px;
}

.btn-ver-carrito {
    flex: 1;
    padding: 12px;
    background: white;
    color: #9dbce4;
    border: 2px solid #9dbce4;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-ver-carrito:hover {
    border-color: #f4a5bc;
    color: #f4a5bc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-pagar-carrito {
    flex: 1;
    padding: 12px;
    background: #9dbce4;
    color: white;
    border: 2px solid #9dbce4;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-pagar-carrito:hover {
    background: #f4a5bc;
    border-color: #f4a5bc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   7. TARJETAS DE PRODUCTO
   ============================================================ */

.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 0 clamp(24px, 5vw, 90px);
    margin-bottom: 0;
    box-sizing: border-box;
}

.card {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    padding-left: 0;
    contain: layout style;
    box-sizing: border-box;
    isolation: isolate;
}

.card img {
    width: 100%;
    display: block;
}

.producto {
    text-align: center;
    font-weight: normal;
    height: auto;
    min-height: 20px;
    margin-bottom: 5px;
}

.card .producto {
    padding: 0;
    font-size: 18px;
    text-align: center;
    line-height: 1.3;
}

.informacion {
    padding-bottom: 0;
}

.informacion a {
    color: #0a0a0a;
    text-decoration: none;
    text-transform: uppercase;
}

.informacion a:hover {
    color: #f4a5bc;
}

.precio-ahora {
    text-align: center;
    margin-top: 0;
    margin-bottom: clamp(16px, 3vw, 55px);
}

.card .precio-ahora {
    padding: 0;
    text-align: center;
    font-size: 16px;
}

/* Hover con segunda imagen en card */
.card-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
    transform: translateZ(0);
    will-change: transform;
    isolation: isolate;
}

.card .contenedor {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    position: relative;
}

.card-img-principal,
.card-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-img-principal {
    width: 100%;
    height: 100%;
    display: block;
    transition:
        opacity 2s ease,
        transform 2s ease;
    transform: scale(1) translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.card-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.08) translateZ(0);
    transition:
        opacity 2s ease,
        transform 2s ease;
    will-change: transform;
    backface-visibility: hidden;
}

/* Segunda imagen — activa solo sobre la imagen */
.card-con-hover .card-img-wrapper.hover-activo .card-img-principal {
    opacity: 0;
    transform: scale(1.08);
}

.card-con-hover .card-img-wrapper.hover-activo .card-img-hover {
    opacity: 1;
    transform: scale(1);
}

.card:not(.card-con-hover) .card-img-wrapper.hover-activo .card-img-principal {
    transform: scale(1.08);
}

/* ============================================================
   FOTOS QUE CARGAN SUAVE (utils.js)
   Mientras la foto llega, el marco muestra un fondo suave que brilla
   encima; cuando la foto terminó de llegar, el brillo se desvanece y
   la foto aparece completa. Las etiquetas (descuento, entrega
   inmediata…) quedan siempre encima (z-index 2).
   ============================================================ */
.fotos-suaves .marco-foto:not(.foto-lista) {
    background-color: #f6eff2;
}

.fotos-suaves .marco-foto::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(100deg, #f6eff2 30%, #fcf8fa 50%, #f6eff2 70%);
    background-size: 200% 100%;
    animation: fotoBrillo 1.4s ease-in-out infinite;
    transition: opacity 0.45s ease;
}

.fotos-suaves .marco-foto.foto-lista::after {
    opacity: 0;
    animation: none;
}

@keyframes fotoBrillo {
    from { background-position: 100% 0; }
    to   { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .fotos-suaves .marco-foto::after {
        animation: none;
    }
}

/* Animación de entrada scroll */
.card-animable {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.card-animable.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Badge stock en card (entrega inmediata) */
.card-badge-stock {
    position: absolute;
    top: 42px;
    left: 10px;
    font-size: 13px;
    padding: 3px 8px;
    z-index: 2;
    color: black;
    border: 2px solid #f4a5bc;
    background: white;
}

/* Pieza de entrega inmediata que alguien está pagando en este momento */
.card-badge-stock--apartada {
    background: #4a4a4a;
    border-color: #4a4a4a;
    color: white;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Botones flotantes favorito y carrito en card */
.card-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    pointer-events: none;
}

.card-buttons button {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(55px);
    opacity: 0;
    transition:
        background 0.2s ease,
        transform 0.6s ease,
        opacity 0.6s ease;
    pointer-events: auto;
}

.card-buttons--visible {
    pointer-events: auto;
}

.card-buttons--visible button {
    transform: translateX(0);
    opacity: 1;
}

.card-buttons button:hover {
    background-color: #9dbce4;
}

.card-buttons:hover button {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

.btn-favorito.active i {
    color: #9dbce4 !important;
}

.btn-favorito.active:hover i {
    color: #ffffff !important;
}

/* Categoría vacía — próximamente */
.categoria-proximamente {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* PROXIMAMENTE — tipografía relativa */
.proximamente-texto {
    font-size: clamp(28px, 4vw, 48px);
    color: #1a4fa0;
    margin-bottom: 16px;
    font-weight: 400;
}

.proximamente-corazon {
    font-size: 60px;
    color: #f4a5bc;
    margin-bottom: 24px;
}

.proximamente-descripcion {
    font-size: 16px;
    color: #999;
    line-height: 1.8;
}

.badge-mas-vendida {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #9dbce4;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 5;
}

/* ============================================================
   8. VENTANAS (TALLAS, COLORES, GALERÍA)
   ============================================================ */

body.no-scroll {
    overflow: hidden;
}

.modal-galeria-track {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.modal-galeria-track::-webkit-scrollbar {
    display: none;
}

.modal-galeria-track img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: block;
}

/* MODAL CARRITO (agregar al carrito) */
.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    font-family: inherit;
    visibility: hidden;
    opacity: 0;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
    pointer-events: none;
}

.cart-modal.visible {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.cart-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.cart-modal-content {
    position: relative;
    max-width: 768px;
    width: calc(100% - 40px);
    margin: 10vh auto;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 2;
}

.cart-modal-close,
.tryon-cerrar,
.btn-cerrar-carrito {
    position: absolute;
    right: 18px;
    top: 12px;
    font-weight: bold;
    background: none;
    border: none;
    color: black;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cart-modal-close:hover,
.tryon-cerrar:hover,
.btn-cerrar-carrito:hover {
    color: #f4a5bc;
    opacity: 1;
}

.cart-modal-body {
    display: flex;
    gap: 18px;
    align-items: center;
}

#modal-product-name {
    font-size: clamp(22px, 3vw, 28px);
    margin-top: 0;
    margin-bottom: 34px;
    text-align: left;
}

.cart-modal-left {
    display: flex;
    align-items: flex-start;
    padding: 20px 0 20px 20px;
    flex-shrink: 0;
    width: 380px;
    height: 570px;
    overflow: hidden;
    position: relative;
}

.cart-modal-left img {
    width: 100%;
    height: 100%;
    display: block;
}

.cart-modal-right {
    flex: 1;
    margin-left: 15px;
    margin-right: 15px;
}

.galeria-modal-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: #333;
    transition: background 0.2s;
}

.galeria-modal-flecha:hover {
    background: white;
}

.galeria-modal-flecha-izq {
    left: 26px;
}

.galeria-modal-flecha-der {
    right: 6px;
}

/* Precio en modal carrito */
#modal-product-price {
    margin-bottom: 35px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-precio-descuento {
    font-weight: bold;
    color: #9dbce4;
    font-size: 16px;
}

.modal-precio-original {
    text-decoration: line-through;
    color: #999;
    font-size: 15px;
}

.modal-badge-descuento {
    background: #f4a5bc;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 3px 8px;
}

/* Tallas en modal */
.modal-sizes,
#modal-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.modal-sizes p {
    width: 100%;
    margin: 0;
}

#modal-sizes-panty p {
    margin: 0;
    margin-bottom: 6px;
}

#todas-categorias #modal-sizes-panty button,
#categoria-bikinis #modal-sizes-panty button,
.home #modal-sizes-panty button {
    margin-right: 8px;
}

.modal-sizes-panty:empty {
    display: none;
}

.modal-sizes-panty:not(:empty) {
    margin-top: 14px;
}

.label-talla-modal {
    display: block;
}

.label-color {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
}

.size-btn {
    width: 40px;
    height: 35px;
    border: 2px solid #ddd;
    background: rgb(255, 255, 255);
    cursor: pointer;
    transition: border-color 0.2s;
}

.size-btn:hover {
    border-color: #f4a5bc;
}

.size-btn.selected {
    border-color: #9dbce4;
}

#producto-individual .size-btn {
    margin-right: 8px;
}

.size-btn[data-size="Única"] {
    width: auto;
    min-width: 70px;
    padding: 8px 14px;
    white-space: nowrap;
}

/* Control cantidad */
.qty-control {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 6px;
}

.qty-control button {
    width: 33px;
    height: 33px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 18px;
}

.qty-control button:hover {
    background: #9dbce4;
    color: rgb(255, 255, 255);
}

.qty-control input {
    width: 79px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
}

.label-cantidad {
    margin-top: 14px;
}

.modal-botones-wrapper {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Botón añadir al carrito */
.btn-addcart {
    background: #9dbce4;
    color: #fff;
    border: none;
    padding: 14px 8px;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.btn-addcart:hover {
    background: #f4a5bc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Entrega Inmediata: la talla y el color fijos de la pieza se ven como una
   opción ya escogida (borde azul), igual que en cualquier otra prenda.
   Miden lo que mida su texto: una talla larga («Top: 32, Panty: XS») cabe
   completa. No se pueden cambiar, así que no reaccionan al pasar el mouse.
   «font: revert» les deja la misma letra de los botones de talla. */
.size-btn.size-btn-bloqueado,
.btn-color-seleccionado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 40px;
    height: auto;
    min-height: 35px;
    padding: 6px 12px;
    border: 2px solid #9dbce4;
    background: #fff;
    color: #000;
    font: revert;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 1;
    cursor: default;
}

.size-btn.size-btn-bloqueado:hover,
.btn-color-seleccionado:hover {
    border-color: #9dbce4;
    background: #fff;
}

.modal-ei-fila {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.modal-ei-texto {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

.selector-colores-wrapper {
    margin: 8px 0;
}

.grid-colores {
    display: grid;
    gap: 8px;
}

.grid-colores-destacados {
    grid-template-columns: repeat(4, 40px);
    max-width: none;
}

.grid-colores-completo {
    grid-template-columns: repeat(6, 40px);
    margin-top: 4px;
}

.swatch-color {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #ddd;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    padding: 0;
    transition:
        border-color 0.2s,
        transform 0.15s;
}

.swatch-color:hover {
    border-color: #f4a5bc;
}

.swatch-color.selected {
    border-color: #9dbce4;
}

.btn-ver-todos-colores {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #1a4fa0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    margin-top: 4px;
}

.btn-ver-todos-colores:hover {
    text-decoration: underline;
}

.flecha-abajo {
    font-size: 14px;
}

.fila-color-seleccionado {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nombre-color-seleccionado {
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* Botón color imagen */
.color-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ccc;
    cursor: pointer;
    margin-right: 8px;
    background-repeat: no-repeat;
}

.color-btn.selected {
    border: 2px solid #1a4fa0;
    outline: 2px solid white;
}

.modal-confianza {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0 0;
}

.modal-confianza-linea {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #777;
    flex-wrap: wrap;
}

.modal-confianza-linea i {
    font-size: 16px;
    color: #9dbce4;
}

.modal-confianza-sep {
    color: #ccc;
}

.modal-confianza-logos {
    width: 100%;
    max-width: 250px;
    height: auto;
    opacity: 0.85;
}

.cart-modal .modal-confianza-logos,
.cart-modal .modal-confianza-sep {
    display: none;
}

.cart-modal .modal-confianza-linea {
    font-size: 10.8px;
    color: #999;
    gap: 6px;
}

.cart-modal .modal-confianza-linea i {
    font-size: 14px;
    color: #9dbce4;
}

#modal-colors {
    height: auto;
    min-height: 40px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: flex-start;
    justify-content: center;
}

.modal img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Con la ventana de pago de Wompi abierta, la página de fondo no se desplaza */
body.wompi-abierto {
    overflow: hidden;
}

/* Popup bienvenida */
.popup-bienvenida-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-bienvenida-overlay.activo {
    display: flex;
    animation: fadeInPopup 0.4s ease;
}

.popup-bienvenida-overlay.oculto {
    display: none;
}

.popup-bienvenida-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    display: flex;
    position: relative;
    max-height: 90vh;
    animation: slideUpPopup 0.4s ease;
}

.popup-bienvenida-cerrar {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s;
}

.popup-bienvenida-cerrar:hover {
    background: #f4a5bc;
    color: white;
}

.popup-bienvenida-imagen {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
    align-self: stretch;
}

.popup-bienvenida-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.popup-bienvenida-contenido {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
}

.popup-bienvenida-subtitulo {
    font-size: 12px;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.popup-bienvenida-titulo {
    font-size: 20px;
    font-weight: 700;
    color: #9dbce4;
    margin: 0 0 16px;
    line-height: 1.3;
}

.popup-bienvenida-divider {
    width: 40px;
    height: 2px;
    margin: 0 auto 16px;
}

.popup-bienvenida-texto {
    font-size: 13px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.6;
}

.popup-bienvenida-cupon {
    background: #e1e9f5;
    border: 1px dashed #9dbce4;
    padding: 16px 24px;
    margin-bottom: 20px;
    width: 100%;
}

.popup-bienvenida-cupon-texto {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.popup-bienvenida-cupon-descuento {
    font-size: 42px;
    font-weight: bold;
    color: #9dbce4;
    margin: 0;
    line-height: 1.1;
}

.popup-bienvenida-cupon-subtexto {
    font-size: 12px;
    color: #666;
    margin: 0 0 12px;
}

.popup-bienvenida-cupon-codigo {
    background: #9dbce4;
    color: white;
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.popup-bienvenida-cupon-codigo span {
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
}

.popup-bienvenida-cupon-instruccion {
    font-size: 11px;
    color: #999;
    margin: 0;
}

.popup-bienvenida-btn {
    width: 100%;
    padding: 12px;
    background: #9dbce4;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    transition:
        background 0.2s,
        transform 0.2s;
}

.popup-bienvenida-btn:hover {
    background: #f4a5bc;
    transform: translateY(-2px);
}

.popup-bienvenida-cupon-codigo {
    cursor: pointer;
    transition:
        transform 0.15s ease,
        background 0.2s ease;
    border: none;
}

.popup-bienvenida-cupon-codigo:hover {
    transform: scale(1.04);
}

.popup-bienvenida-cupon-codigo.cupon-copiado {
    background: #f4a5bc !important;
}

/* Badges entrega inmediata en modal */
.modal-badges-ei-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0 20px;
}

.modal-badge-inline {
    position: relative;
    top: auto;
    left: auto;
    font-size: 12px;
    display: inline-block;
}

/* Ocultar contenedores vacíos en el modal */
#modal-badges-ei:empty,
#modal-sizes-top:empty,
#modal-sizes-panty:empty,
#modal-sizes:empty,
#modal-colors:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.modal-badges-ei-wrapper:empty {
    display: none;
    margin: 0;
    padding: 0;
}

/* ============================================================
   9. BIENVENIDA Y AVISO DE SALIDA
   ============================================================ */

.exit-intent-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.exit-intent-overlay.activo {
    display: flex;
}

.exit-intent-box {
    background: white;
    padding: 40px 32px;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.exit-intent-cerrar {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
}

.exit-intent-titulo {
    font-size: 20px;
    font-weight: 700;
    color: #1a4fa0;
    margin-bottom: 12px;
}

.exit-intent-texto {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.exit-intent-btn {
    display: inline-block;
    background: #f4a5bc;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.exit-intent-btn:hover {
    background: #e8839e;
}

/* ============================================================
   10. PROBADOR VIRTUAL
   ============================================================ */

/* Botón Try-On */
.btn-tryon {
    background: white;
    color: #9dbce4;
    border: 2px solid #9dbce4;
    padding: 12px 8px;
    width: 100%;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}

.btn-tryon:hover {
    color: #f4a5bc;
    border: 2px solid #f4a5bc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Overlay Try-On */
.tryon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.tryon-box {
    background: white;
    padding: 24px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.tryon-titulo {
    margin-bottom: 20px;
}

.tryon-columnas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tryon-izquierda,
.tryon-derecho {
    flex: 1;
    min-width: 250px;
}

.tryon-descripcion {
    font-size: 13px;
    color: #666;
    margin: 4px 0 10px;
}

.tryon-preview-box {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #999;
    font-size: 13px;
}

.tryon-canvas-box {
    position: relative;
    width: 100%;
    min-height: 400px;
    border: 2px solid #ddd;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tryon-canvas-box canvas {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    cursor: grab;
}

.tryon-canvas-box canvas:active {
    cursor: grabbing;
}

.tryon-controles {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tryon-controles button {
    padding: 6px 12px;
    font-size: 12px;
}

.tryon-acciones {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.tryon-btn-descargar {
    padding: 8px 16px;
    background: #1a4fa0;
    color: white;
    border: none;
    cursor: pointer;
}

.tryon-btn-reiniciar {
    padding: 8px 16px;
    background: #666;
    color: white;
    border: none;
    cursor: pointer;
}

.tryon-nota {
    font-size: 11px;
    color: #999;
    margin-top: 16px;
    text-align: center;
}

.tryon-confirmar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.tryon-confirmar-overlay.oculto {
    display: none;
}

.tryon-confirmar-box {
    background: white;
    padding: 24px;
    border-radius: 8px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tryon-confirmar-box p {
    font-size: 14px;
    color: #333;
    margin: 0 0 16px;
}

.tryon-confirmar-botones {
    display: flex;
    gap: 8px;
}

.tryon-confirmar-si {
    flex: 1;
    padding: 8px 12px;
    background: #f4a5bc;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.tryon-confirmar-no {
    flex: 1;
    padding: 8px 12px;
    background: #eee;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

/* Selector imágenes Try-On */
.tryon-galeria-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 12px;
}

.tryon-selector-imagenes img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.tryon-selector-imagenes img.activa {
    border-color: #f4a5bc;
}

.tryon-selector-imagenes img:hover {
    border-color: #1a4fa0;
}

.tryon-overlay {
    display: none;
}

.tryon-foto-input {
    margin-bottom: 10px;
}

/* ============================================================
   11. LUNA (CHATBOT)
   ============================================================ */

.chatbot-btn {
    position: fixed;
    bottom: 170px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #9dbce4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.25s,
        background 0.25s;
    will-change: transform;
    backface-visibility: hidden;
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    background: #f4a5bc;
}

.chatbot-btn i {
    color: white;
    font-size: 28px;
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f4a5bc;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.chatbot-badge--visible {
    display: flex !important;
}

.chatbot-ventana {
    position: fixed;
    bottom: 240px;
    right: 20px;
    width: 340px;
    height: 480px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 9997;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transform-origin: bottom right;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    opacity: 0;
}

.chatbot-ventana.activo {
    display: flex;
    transform: scale(1) translateY(0);
    opacity: 1;
}

.chatbot-header {
    background: #9dbce4;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    background: #f4a5bc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chatbot-header-info {
    flex: 1;
}

.chatbot-header-nombre {
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.chatbot-header-estado {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin: 0;
}

.chatbot-cerrar {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.chatbot-cerrar:hover {
    opacity: 1;
}

.chatbot-mensajes {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9f9f9;
}

.chatbot-burbuja {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
}

.chatbot-burbuja.bot {
    background: white;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.chatbot-burbuja.usuario {
    background: #1a4fa0;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-escribiendo {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: white;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.chatbot-escribiendo span {
    width: 6px;
    height: 6px;
    background: #9dbce4;
    border-radius: 50%;
    animation: escribiendo 1.2s infinite;
}

.chatbot-escribiendo span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot-escribiendo span:nth-child(3) {
    animation-delay: 0.4s;
}

.chatbot-input-area {
    padding: 12px 16px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    align-items: center;
    background: white;
}

.chatbot-input {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    outline: none;
    resize: none;
    max-height: 80px;
    transition: border-color 0.2s;
    font-family: "Quicksand", sans-serif;
}

.chatbot-input:focus {
    border-color: #9dbce4;
}

.chatbot-enviar {
    width: 36px;
    height: 36px;
    background: #9dbce4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.chatbot-enviar:hover {
    background: #f4a5bc;
}

.chatbot-enviar i {
    color: white;
    font-size: 18px;
}

.chatbot-sugerencias {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 12px;
    background: #f9f9f9;
}

.chatbot-sugerencias--ocultas {
    display: none !important;
}

.chatbot-sugerencia {
    padding: 6px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    color: #1a4fa0;
    transition: all 0.2s;
    white-space: nowrap;
}

.chatbot-sugerencia:hover {
    background: #1a4fa0;
    color: white;
    border-color: #1a4fa0;
}

.chatbot-link {
    color: inherit;
    text-decoration: underline;
}

.chatbot-link:hover {
    opacity: 0.8;
}

/* ============================================================
   12. BOTONES FLOTANTES (WHATSAPP, INSTAGRAM)
   ============================================================ */

.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 9997;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn img {
    width: 120%;
    height: 120%;
    display: block;
}

.instagram-flotante-btn {
    position: fixed;
    bottom: 105px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 9997;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.instagram-flotante-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.instagram-flotante-btn i {
    color: white;
    font-size: 40px;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.boton-flotante-tooltip {
    position: fixed; /* ya lo tienen, pero confirma que quede */
}

.boton-flotante-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #1a1a1a;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.boton-flotante-tooltip::after {
    content: "";
    position: absolute;
    right: calc(100% + 4px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    border: 6px solid transparent;
    border-left-color: #1a1a1a;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.boton-flotante-tooltip:hover::before,
.boton-flotante-tooltip:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ============================================================
   13. FORMULARIOS Y MENSAJES DE ERROR
   ============================================================ */

.campo-error {
    border-color: #e74c3c !important;
    animation: shake 0.3s ease;
}

.mensaje-error-inline {
    color: #e74c3c;
    font-size: 12px;
    margin: 4px 0 0;
    display: none;
}

.mensaje-error-inline.visible {
    display: block;
}

/* ============================================================
   14. COMPARTIDO ENTRE VARIAS PÁGINAS
   ============================================================ */

/* Breadcrumbs */
.breadcrumbs {
    margin: 0 40px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
    color: #9dbce4;
}

.breadcrumbs span {
    margin: 0 6px;
}

#pagina-favoritos .breadcrumbs {
    margin-bottom: 6px;
}

/* FILTROS — padding relativo */
.filtros-barra {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 clamp(16px, 5vw, 90px) 16px;
    flex-wrap: wrap;
}

.btn-filtrar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-filtrar:hover,
.btn-filtrar.activo {
    background: #9dbce4;
    color: white;
    border-color: #9dbce4;
}

.filtros-activos-texto {
    font-size: 13px;
    color: #666;
}

/* Panel de filtros */
.panel-filtros {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
    opacity: 0;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.panel-filtros.abierto {
    max-height: 500px;
    opacity: 1;
}

.panel-filtros-contenido {
    padding: clamp(16px, 3vw, 24px) clamp(16px, 5vw, 90px);
}

.filtro-grupo {
    margin-bottom: 20px;
}

.filtro-titulo {
    font-weight: bold;
    font-size: 13px;
    color: #333;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filtro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-filtro {
    padding: 6px 16px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    color: #333;
}

.chip-filtro:hover {
    border-color: #9dbce4;
    color: #9dbce4;
}

.chip-filtro.activo {
    background: #9dbce4;
    color: white;
    border-color: #9dbce4;
}

.filtro-acciones {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.btn-limpiar-filtros {
    padding: 8px 20px;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-limpiar-filtros:hover {
    border-color: #f4a5bc;
    color: #f4a5bc;
}

.btn-aplicar-filtros {
    padding: 8px 24px;
    background: #9dbce4;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.btn-aplicar-filtros:hover {
    background: #f4a5bc;
}

.cat-beneficios {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 32px);
    padding: 12px 24px;
    background: #fdf6f8;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
}

.cat-beneficio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(12px, 1.1vw, 13px);
    color: #444;
    white-space: nowrap;
}

.cat-beneficio-item i {
    color: #9dbce4;
    font-size: 18px;
}

.categorias-contenedor {
    max-width: 100%;
    margin: 0 auto;
}

.caracteristicas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 24px 4%;
    box-sizing: border-box;
    position: relative;
}

.caracteristicas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

.caracteristica-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
}

.car-imagen i {
    font-size: 40px;
    color: #9dbce4;
    cursor: default;
    flex-shrink: 0;
}

.car-imagen i:hover {
    color: #f4a5bc;
}

.info {
    line-height: 1.8;
}

.info h3 {
    font-weight: 400;
    margin: 0 0 4px;
    font-size: 16px;
}

.info p {
    margin: 0;
    font-size: 16px;
}

.productos-vistos-recientemente {
    padding: 0;
}

.item-carrito-qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 2px 10px;
}

.item-carrito-qty button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #1a4fa0;
    padding: 2px 4px;
}

.item-carrito-qty button:hover {
    color: #f4a5bc;
}

.item-carrito-precio-simple {
    margin: 0;
    font-size: 15px;
}

.item-carrito-precio-unitario {
    font-size: 12px;
    color: #767676;
    margin: 0;
}

.item-carrito-subtotal-linea {
    font-size: 14px;
    margin: 4px 0 0;
    color: #1a4fa0;
}

.item-carrito-subtotal-linea strong {
    font-size: 15px;
}

.btn-explorar-favoritos {
    display: inline-block;
    background: #f4a5bc;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.btn-explorar-favoritos:hover {
    background: #e8839e;
    transform: translateY(-2px);
}

#pagina-sale .productos-vistos-recientemente,
#pagina-entrega-inmediata .productos-vistos-recientemente,
#pagina-carrito .productos-vistos-recientemente {
    padding-top: 50px;
    position: relative;
}

#pagina-sale .productos-vistos-recientemente::before,
#pagina-entrega-inmediata .productos-vistos-recientemente::before,
#pagina-carrito .productos-vistos-recientemente::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

.input-checkout.checkout-campo-invalido {
    border-color: #e63950 !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 80, 0.1);
}

/* Igual que en base.css: aquí se repite para que siga ganando sobre la regla de arriba */
.input-checkout:focus {
    border-color: #9dbce4;
    box-shadow: 0 0 0 3px rgba(157, 188, 228, 0.2);
}

.input-checkout.error {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.input-checkout.valido {
    border-color: #9dbce4;
    box-shadow: 0 0 0 3px rgba(157, 188, 228, 0.15);
}

/* Botón confirmar (compartido con otros lugares del sitio) */
.btn-confirmar {
    background: #1e7e34;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: white;
    border: none;
    padding: 14px 18px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-confirmar:hover {
    background: #17692b;
}

.btn-confirmar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-confirmar .material-icons {
    font-size: 20px;
}

.checkout-form-titulo-oculto {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tryon-btn-compartir {
    padding: 8px 16px;
    background: #25d366;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.tryon-btn-compartir:hover {
    background: #1ebe57;
}

.seccion-otras-categorias {
    padding: 20px 0 60px 0;
    text-align: center;
}

.seccion-otras-categorias h2 {
    margin-bottom: 24px;
}

.otras-categorias-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 clamp(24px, 5vw, 90px);
    max-width: 1700px;
    margin: 0 auto;
}

.otra-categoria-card {
    display: block;
    text-decoration: none;
    color: #333;
    width: calc((100% - 5 * 20px) / 6);
}

.otra-categoria-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    display: block;
    margin-bottom: 8px;
    transition: opacity 0.2s;
}

.otra-categoria-card:hover img {
    opacity: 0.85;
}

.otra-categoria-card span {
    font-size: clamp(12px, 2.5vw, 15px);
    font-weight: 600;
    display: block;
}

/* ============================================================
   15. PIE DE PÁGINA
   ============================================================ */

.col-footer p.col-footer-separador {
    margin-top: 20px;
}

#boletin-correos {
    margin: 0;
}

#boletin-correo {
    height: 48px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   16. PÁGINA: INICIO
   ============================================================ */

/* Slider home */
.slider-home-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: none;
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

.slider-home {
    display: flex;
    transition: transform 0.4s ease;
}

.slider-home img {
    min-width: 100%;
    max-width: 100%;
    height: 100vh;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-btn-prev,
.slider-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    padding: 0;
}

.slider-btn-prev {
    left: 18px;
}

.slider-btn-next {
    right: 18px;
}

.slider-btn-prev svg,
.slider-btn-next svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
    transition: 0.25s;
}

.slider-btn-prev:hover svg,
.slider-btn-next:hover svg {
    stroke: #f4a5bc;
}

/* Hero imagen principal */
.hero-imagen-principal {
    width: 100%;
    display: block;
}

/* Cards categorías home */
.seccion-categorias {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding: 30px 0 16px 0;
    margin-left: 30px;
    margin-right: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.seccion-categorias::-webkit-scrollbar {
    display: none;
}

.card-categoria {
    flex-shrink: 0;
    overflow: hidden;
    width: 45vw;
    max-width: 500px;
    scroll-snap-align: start;
    cursor: grab;
}

.card-categoria:active {
    cursor: grabbing;
}

.card-categoria img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 3;
}

.card-categoria a {
    display: block;
    position: relative;
    text-decoration: none;
}

.card-categoria:hover img {
    opacity: 0.9;
}

.card-categoria-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
}

.card-categoria-overlay p {
    font-size: clamp(35px, 3.5vw, 50px);
    color: white;
}

.card-categoria:hover .card-categoria-overlay p {
    color: #f4a5bc;
}

/* Flechas navegación categorías */
.categorias-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 8px 0 16px;
}

.categorias-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categorias-nav-btn svg {
    width: 28px;
    height: 28px;
    stroke: #1a4fa0;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transition: 0.25s;
}

.categorias-nav-btn:hover svg {
    stroke: #f4a5bc;
}

/* Sección sobre nosotros home */
.subtitulo-home {
    text-align: center;
}

.sobre-nosotros-home {
    width: 90%;
    max-width: 1400px;
    margin: 40px auto;
    position: relative;
    padding-top: 40px;
}

.sobre-nosotros-home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* SOBRE NOSOTROS — grid gap relativo */
.sobre-nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

/* SOBRE NOSOTROS — imagen altura relativa */
.sobre-nosotros-imagenes img {
    width: 100%;
    height: clamp(300px, 45vw, 650px);
    display: block;
}

.sobre-etiqueta {
    color: #9dbce4;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}

.btn-agregado-exito {
    background: #e8839e !important;
    color: white !important;
}

/* SOBRE NOSOTROS — tipografía con clamp */
.sobre-nosotros-texto {
    background: rgb(253, 246, 248);
    padding: 6px;
}

.sobre-nosotros-texto h2 {
    text-align: left;
    margin: 15px 0 35px;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 400;
}

.sobre-nosotros-texto p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 22px;
    font-size: clamp(15px, 1.2vw, 17px);
}

.btn-sobre {
    display: block;
    margin-top: 20px;
    padding: 14px 34px;
    background: #9dbce4;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.btn-sobre:hover {
    background: #f4a5bc;
}

.sobre-valores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.valor {
    text-align: center;
    background: #fafafa;
    padding: 40px 30px;
    transition: 0.3s;
}

.valor:hover {
    transform: translateY(-6px);
}

.valor span {
    font-size: 40px;
}

.valor h3 {
    margin: 18px 0;
    font-weight: 500;
    color: #9dbce4;
}

.valor p {
    color: #666;
    line-height: 1.7;
}

.valor i {
    font-size: 52px;
    color: #9dbce4;
    margin-bottom: 15px;
}

.icono-bandera {
    width: 52px;
    height: auto;
    margin-bottom: 15px;
}

/* Sección Instagram */
.seccion-instagram {
    padding: clamp(30px, 5vw, 60px) clamp(16px, 5vw, 60px);
    text-align: center;
}

.seccion-instagram h2 {
    font-size: clamp(26px, 3vw, 42px);
}

.instagram {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(8px, 1.5vw, 20px);
    padding: 0;
    margin: 0 auto;
    max-width: 1400px;
}

.instagram-card {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.instagram-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.instagram-card:hover img {
    transform: scale(1.05);
}

.instagram-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.instagram-card:hover .instagram-card-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.instagram-card-overlay i {
    color: white;
    font-size: 36px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-card:hover .instagram-card-overlay i {
    opacity: 1;
}

.parrafo-instagram {
    text-align: center;
    margin-bottom: 20px;
}

/* Carrusel reseñas home */
.resenas-intro {
    text-align: center;
    font-style: italic;
    color: #b43d5e;
    font-size: clamp(13px, 1.2vw, 15px);
    letter-spacing: 1px;
    margin: 8px 0 32px;
}

.seccion-resenas-home h2 {
    font-size: clamp(26px, 3vw, 42px);
}

.seccion-resenas-home {
    padding: 60px 30px;
    text-align: center;
    background: #fdf6f8;
}

.carrusel-resenas-wrapper {
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    margin: 0 auto;
}

.carrusel-viewport {
    overflow: hidden;
    flex: 1;
    width: 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    padding: 30px clamp(16px, 8vw, 100px);
    margin: -30px clamp(-16px, -8vw, -100px);
}

.carrusel-viewport:active {
    cursor: pointer;
}

.carrusel-resenas {
    display: flex;
    gap: 16px;
    will-change: transform;
}

.carrusel-vacio {
    color: #999;
    text-align: center;
    width: 100%;
    padding: 40px 0;
}

/* CARRUSEL RESEÑAS — card relativo */
.card-resena-carrusel {
    min-width: clamp(200px, 22vw, calc(20% - 14px));
    max-width: clamp(200px, 22vw, calc(20% - 14px));
    background: white;
    padding: 16px;
    box-shadow:
        4px 8px 24px rgba(0, 0, 0, 0.18),
        0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    user-select: none;
    -webkit-user-select: none;
    align-items: center;
}

.card-resena-carrusel-foto {
    width: 160px;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    position: relative;
}

.card-resena-carrusel-foto img {
    width: 160px;
    height: auto;
    display: block;
    transform-origin: top left;
}

.card-resena-carrusel-estrellas {
    color: #f4a5bc;
    font-size: 20px;
    display: block;
}

.card-resena-carrusel-texto {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
}

.card-resena-carrusel-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.card-resena-carrusel-footer p {
    text-align: center;
}

.card-resena-carrusel-nombre {
    font-weight: bold;
    font-size: 13px;
    color: #1a4fa0;
    margin: 0;
}

.card-resena-carrusel-producto {
    font-size: 12px;
    color: #767676;
    margin-top: 2px;
}

/* Recordatorio items en carrito */
.carrito-recordatorio {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 320px;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 16px;
    z-index: 9995;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carrito-recordatorio.visible {
    transform: translateY(0);
}

.carrito-recordatorio.oculto {
    display: none;
}

.carrito-recordatorio-contenido {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.carrito-recordatorio-contenido i {
    color: #9dbce4;
    font-size: 24px;
    flex-shrink: 0;
}

.carrito-recordatorio-contenido p {
    font-size: 13px;
    margin: 0;
    flex: 1;
    color: #333;
}

.carrito-recordatorio-btn {
    background: #f4a5bc;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.carrito-recordatorio-cerrar {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #eee;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    cursor: pointer;
}

.seccion-destacados-home {
    padding: clamp(30px, 3vw, 40px) 0;
    overflow: hidden;
    margin: 0 30px;
    position: relative;
}

.seccion-destacados-home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

.seccion-destacados-home h2 {
    text-align: center;
    margin-bottom: 8px;
}

.destacados-subtitulo {
    text-align: center;
    color: #9dbce4;
    font-size: clamp(13px, 1.2vw, 15px);
    letter-spacing: 1px;
    margin: 0 0 32px;
}

.destacados-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.destacados-viewport {
    overflow: hidden;
    cursor: pointer;
    padding: 20px 0 0;
    user-select: none;
    -webkit-user-select: none;
    width: 100%;
}

.destacados-viewport:active {
    cursor: pointer;
}

.destacados-carrusel {
    display: flex;
    gap: 20px;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.destacados-carrusel .card {
    width: calc(25% - 15px);
    flex-shrink: 0;
    padding-left: 0;
}

.destacados-footer {
    text-align: center;
    margin-top: 0;
}

.btn-ver-todos-destacados {
    display: inline-block;
    padding: clamp(10px, 1.5vw, 14px) clamp(24px, 4vw, 48px);
    background: #9dbce4;
    color: white;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 1.2vw, 14px);
    letter-spacing: 2px;
    text-decoration: none;
    transition:
        background 0.3s ease,
        transform 0.2s ease;
}

.btn-ver-todos-destacados:hover {
    background: #f4a5bc;
    transform: translateY(-2px);
}

/* ============================================================
   17. PÁGINAS: CATEGORÍAS
   ============================================================ */

/* Descripción SEO categoría */
.seccion-seo-categoria {
    max-width: 800px;
    margin: 24px auto;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.seccion-seo-categoria h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
}

#categoria-bikinis .breadcrumbs,
#categoria-croptops .breadcrumbs,
#categoria-tops .breadcrumbs,
#categoria-sombreros .breadcrumbs,
#categoria-faldas .breadcrumbs,
#categoria-vestidos .breadcrumbs {
    margin-bottom: 14px;
}

.cat-banner-disenos {
    background: linear-gradient(135deg, #f4a5bc 0%, #9dbce4 100%);
    padding: 14px 24px;
    margin: 16px 0;
    text-align: center;
}

.cat-banner-disenos-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: "Quicksand", sans-serif;
    color: white;
}

.cat-banner-disenos-num {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
}

.cat-banner-disenos-texto {
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 600;
}

.cat-banner-disenos-sep {
    opacity: 0.6;
    font-size: 18px;
}

.cat-banner-disenos-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 600;
}

.cat-banner-ei {
    background: rgba(255, 255, 255, 0.2);
}

.cat-banner-disenos-badge:empty {
    display: none;
}

.seccion-seo-categoria {
    padding: clamp(24px, 4vw, 48px) 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 40px;
}

.seo-cat-contenido {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.seo-cat-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.seo-cat-item i {
    color: #9dbce4;
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.seo-cat-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a4fa0;
}

.seo-cat-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   18. PÁGINA: PRODUCTO
   ============================================================ */

/* Ver todos */
.vertodo {
    text-align: center;
    padding: 2%;
}

.vertodo a {
    color: #000000;
    text-decoration: underline;
    font-weight: 400;
}

.vertodo a:hover {
    color: #9dbce4;
}

#producto-individual .label-color {
    font-weight: bold;
}

/* Modal guía de tallas */
.guia-tallas {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: black;
    font-size: 14px;
    text-decoration: none;
}

.guia-tallas .material-icons {
    font-size: 13px;
    line-height: 1;
}

.link-tallas {
    text-decoration: underline;
    font-size: 13px;
}

a.guia-tallas:hover {
    color: #9dbce4;
}

/* PRODUCTO INDIVIDUAL — padding relativo */
.producto-container {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(20px, 3vw, 40px);
    padding-left: clamp(40px, 10vw, 150px);
    padding-right: clamp(40px, 10vw, 150px);
    align-items: flex-start;
}

/* Galería */
.galeria {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.miniaturas img {
    width: 80px;
    aspect-ratio: 2 / 3;
    cursor: pointer;
    display: block;
    border: 2px solid transparent;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
    flex-shrink: 0;
}

.miniaturas img:hover {
    opacity: 0.75;
}

.miniatura-activa {
    outline: 2px solid #9dbce4;
    outline-offset: 3px;
    opacity: 1 !important;
}

/* PRODUCTO INDIVIDUAL — imagen relativa */
.imagen-principal {
    width: clamp(280px, 38vw, 550px);
    aspect-ratio: 2 / 3;
    overflow-x: auto;
    overflow-y: hidden;
    flex-shrink: 0;
    display: flex;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    position: relative;
}

.imagen-principal::-webkit-scrollbar {
    display: none;
}

.imagen-principal img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-position: center top;
    display: block;
    position: static;
}

/* Galerías de fotos (ficha y modal del carrito): el dedo desliza la cinta
   de forma nativa y el imán la deja siempre en una foto entera.
   Funciona igual en iPhone y en Android. */
.imagen-principal,
.modal-galeria-track {
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.imagen-principal img,
.modal-galeria-track img {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    -webkit-user-drag: none;
}

/* Carruseles que se mueven con el dedo (banner, destacados, reseñas): el
   navegador le deja a la página los gestos de lado y sigue bajando la
   página con los de arriba y abajo */
.slider-viewport,
.destacados-viewport,
.carrusel-viewport {
    touch-action: pan-y pinch-zoom;
}

/* En iPhone, mantener el dedo sobre una foto o un enlace abre su menú o lo
   empieza a «arrastrar», y eso corta el deslizar a la mitad */
.slider-viewport img,
.destacados-viewport img,
.destacados-viewport a,
.carrusel-viewport img,
.carrusel-viewport a,
.seccion-categorias img,
.seccion-categorias a {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* La fila de categorías: al llegar al final no corre la página ni activa
   el gesto de «atrás» del navegador */
.seccion-categorias {
    overscroll-behavior-x: contain;
}

/* PRODUCTO INDIVIDUAL — info relativa */
.info-producto {
    flex: 1;
    min-width: 0;
    padding-left: clamp(16px, 2vw, 25px);
}

.info-producto h1 {
    text-align: left;
    margin: 10px 0 50px;
    font-weight: 400;
    font-size: 28px;
    text-transform: uppercase;
}

.info-producto h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.precio {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.iap-titulo-seccion {
    font-size: 18px;
    color: #1a1a1a;
    margin: 26px 0 16px 0;
}

/* Precios con descuento en producto individual */
.producto-precios-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.precio-descuento-activo-individual {
    font-size: 22px;
    font-weight: bold;
    color: #9dbce4;
    margin: 0;
}

.precio-tachado-texto-individual {
    text-decoration: line-through;
    color: #767676;
    font-size: 22px;
}

.card-badge-producto {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    font-size: 16px;
}

.info-producto-tiempo {
    font-weight: bold;
    margin-bottom: 8px;
}

.descripcion {
   
    white-space: pre-line;
}

.tallas {
    padding-bottom: 10px;
}

/* Botones producto individual */
.producto-botones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.producto-botones .btn-carrito-producto,
.producto-botones .btn-tryon {
    width: 100%;
}

.cantidad {
    margin-top: 20px;
    margin-bottom: 4px;
}

.btn-carrito-producto,
#btn-enviar-mensaje {
    width: 100%;
    background: #9dbce4;
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: bold;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.btn-carrito-producto:hover,
#btn-enviar-mensaje:hover {
    background: #f4a5bc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Error al cargar producto */
.producto-error {
    text-align: center;
    padding: 60px 20px;
}

.producto-error a {
    color: #1a4fa0;
    text-decoration: underline;
}

/* RESEÑAS PRODUCTO — padding relativo */
.seccion-resenas-producto {
    padding: clamp(20px, 5vw, 30px) clamp(20px, 15vw, 250px);
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.resenas-titulo {
    font-weight: 400;
    margin-bottom: 20px;
}

.resena-promedio-estrellas {
    color: #f4a5bc;
    font-size: 24px;
}

.resena-promedio-texto {
    font-size: 14px;
    color: #666;
}

/* CARD RESEÑA — padding relativo */
.card-resena-producto {
    border: 1px solid #eee;
    padding: clamp(12px, 2vw, 16px) clamp(16px, 3vw, 50px);
    margin-bottom: 12px;
}

.card-resena-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-resena-estrellas {
    color: #f4a5bc;
    margin-left: 8px;
    font-size: 18px;
}

.card-resena-fecha {
    font-size: 12px;
    color: #767676;
}

.card-resena-texto {
    margin: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.card-resena-foto {
    display: block;
}

.resenas-vacias {
    color: #666;
    font-size: 14px;
}

.resena-fotos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* Marco de la foto de reseña: MISMA geometría que el editor de
   encuadre del admin (160×240 px, foto al ancho del marco, origen
   al centro). --x, --y y --s llegan desde el JS; --k lo reduce en
   celular sin descuadrar lo que el admin encuadró. */
.resena-foto-btn {
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}

.resena-foto-marco {
    --k: 1;
    display: block;
    width: calc(160px * var(--k));
    height: calc(240px * var(--k));
    overflow: hidden;
    background: #f4f4f4;
}

.resena-fotos-grid .card-resena-foto {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: unset;
    border-radius: 0;
    transform: translate(calc(var(--x, 0) * var(--k) * 1px), calc(var(--y, 0) * var(--k) * 1px)) scale(var(--s, 1));
    transform-origin: center center;
    transition: opacity 0.2s;
}

.resena-foto-btn:hover .card-resena-foto {
    opacity: 0.85;
}

.resena-badges-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0;
}

.resena-badge-talla {
    font-size: 12px;
    padding: 2px 8px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 4px;
    font-weight: 600;
}

.resena-badge-recomienda {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.resena-badge-recomienda--si {
    background: #e8f5e9;
    color: #2e7d32;
}

.resena-badge-recomienda--no {
    background: #ffebee;
    color: #c62828;
}

/* Información adicional producto */
.info-adicional-producto {
    padding: clamp(20px, 3vw, 40px);
    padding-left: clamp(40px, 10vw, 150px);
    padding-right: clamp(40px, 10vw, 150px);
}

.iap-seccion {
    border-bottom: 1px solid #eee;
}

.iap-destacado {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fdf6f8;
    border-left: 4px solid #9dbce4;
    border-bottom: none;
    padding: 20px;
    margin-bottom: 8px;
    border-radius: 0 4px 4px 0;
}

.iap-icono {
    color: #9dbce4;
    flex-shrink: 0;
    margin-top: 2px;
}

.iap-icono i {
    font-size: 28px;
}

.iap-contenido h2,
.iap-contenido h3 {
    text-align: left;
    font-size: clamp(15px, 1.5vw, 17px);
    color: #1a4fa0;
    margin: 0 0 8px;
    font-weight: 600;
}

.iap-contenido p {
    font-size: clamp(13px, 1.2vw, 15px);
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.iap-contenido a {
    color: #1a4fa0;
    text-decoration: underline;
}

.iap-contenido a:hover {
    color: #f4a5bc;
}

.iap-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Quicksand", sans-serif;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: color 0.2s;
}

.iap-toggle:hover {
    color: #9dbce4;
}

.iap-toggle-icon {
    font-size: 20px;
    color: #9dbce4;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.iap-panel {
    padding: 0 0 20px;
}

.iap-panel ul {
    padding-left: 20px;
    margin: 0;
}

.iap-panel ul li {
    font-size: clamp(13px, 1.2vw, 15px);
    color: #555;
    line-height: 1.9;
    margin-bottom: 6px;
}

.iap-cuidado-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.iap-cuidado-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(13px, 1.2vw, 15px);
    color: #555;
}

.iap-cuidado-item i {
    color: #9dbce4;
    font-size: 20px;
    flex-shrink: 0;
}

.agotado-badge {
    background: #999;
    color: white;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 12px;
}

/* Zona de la ficha que se vuelve a pintar cuando cambia la disponibilidad
   (no altera el diseño: es como si no existiera) */
.pd-disponibilidad {
    display: contents;
}

/* Aviso de pieza apartada por otra persona que está pagando */
.pd-aviso-apartada {
    background: #f6f6f6;
    border-left: 4px solid #4a4a4a;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 0 0 14px;
    font-size: 14px;
    color: #444;
}

.badge-ei-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.badge-ei-rosa {
    background: #f4a5bc;
}

.badge-stock-inline {
    position: relative;
    top: auto;
    left: auto;
}

.tallas-ayuda-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.tallas-ayuda-separador {
    color: #ccc;
    font-size: 13px;
}

.whatsapp-tallas {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #075e54; /* antes #25d366 — 1.98:1, no pasaba WCAG AA */
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
}

.whatsapp-tallas:hover {
    text-decoration: underline;
}

.productos-relacionados {
    padding: 0;
}

.productos-relacionados h2 {
    text-align: center;
    margin-bottom: 8px;
}

.relacionados-subtitulo {
    text-align: center;
    color: #767676;
    font-size: clamp(13px, 1.2vw, 15px);
    letter-spacing: 1px;
    margin: 0 0 32px;
}

.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 0 clamp(24px, 5vw, 90px);
    box-sizing: border-box;
}

.productos-vistos-recientemente h2 {
    text-align: center;
    margin-bottom: 8px;
}

.barra-fija-compra {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: white;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    z-index: 9990;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.barra-fija-compra.visible {
    display: flex;
    transform: translateY(0);
}

.barra-fija-compra img {
    width: 40px;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

.barra-fija-info {
    flex: 1;
    min-width: 0;
}

.barra-fija-nombre {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.barra-fija-precio {
    font-size: 13px;
    color: #1a4fa0;
    font-weight: 700;
    margin: 0;
}

.barra-fija-btn {
    background: #f4a5bc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.info-producto .modal-confianza {
    margin: 16px 0;
}

.info-producto .modal-confianza-linea {
    font-size: 13px;
    gap: 8px;
}

.info-producto .modal-confianza-linea i {
    font-size: 18px;
}

.info-producto .modal-confianza-logos {
    max-width: 320px;
}

.miniaturas {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 6px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-self: stretch;
}

.miniaturas::-webkit-scrollbar {
    display: none;
}

/* Texto solo para lectores de pantalla */
.visualmente-oculto {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Esqueleto mientras carga el producto */
.pd-esqueleto {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(20px, 3vw, 40px) clamp(40px, 10vw, 150px);
}

.pd-esqueleto-imagen {
    width: clamp(280px, 38vw, 550px);
    aspect-ratio: 2 / 3;
    flex-shrink: 0;
}

.pd-esqueleto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
}

.pd-esqueleto-imagen,
.pd-esqueleto-linea,
.pd-esqueleto-boton {
    background: linear-gradient(90deg, #f2f2f2 25%, #e8e8e8 50%, #f2f2f2 75%);
    background-size: 200% 100%;
    animation: pdBrillo 1.4s ease-in-out infinite;
    border-radius: 4px;
}

.pd-esqueleto-linea {
    height: 16px;
    width: 90%;
}

.pd-esqueleto-titulo {
    height: 28px;
    width: 70%;
}

.pd-esqueleto-corta {
    width: 35%;
}

.pd-esqueleto-boton {
    height: 46px;
    width: 100%;
    margin-top: 20px;
}

/* Producto agotado: todas las fotos de la galería */
.imagen-principal.pd-agotado img {
    opacity: 0.5;
}

/* Estrellas bajo el título */
.info-producto h1:has(+ .pd-resumen-resenas:not([hidden])) {
    margin-bottom: 10px;
}

.pd-resumen-resenas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
}

.pd-resumen-resenas[hidden] {
    display: none;
}

.pd-resumen-resenas:hover .pd-resumen-texto {
    text-decoration: underline;
}

.pd-resumen-estrellas {
    color: #f4a5bc;
    font-size: 18px;
    letter-spacing: 1px;
}

/* Entrega estimada */
.pd-entrega-estimada {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 12px;
    background: #f5f8fd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.pd-entrega-estimada i {
    color: #1a4fa0;
    font-size: 20px;
    flex-shrink: 0;
}

/* Promesa de entrega extendida (muchos pedidos): aviso en la ficha y el checkout */
.promesa-aviso {
    margin: -8px 0 16px;
    padding: 8px 12px;
    background: #fff8e6;
    border-left: 3px solid #e0a82e;
    border-radius: 6px;
    font-size: 13px;
    color: #5c4813;
    line-height: 1.5;
}

.checkout-entrega {
    margin: 14px 0 0;
}

.checkout-entrega + .promesa-aviso {
    margin: 8px 0 0;
}

/* Guía de tallas: ahora es un botón (antes un enlace "#") */
button.guia-tallas {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* Favorito y compartir */
.pd-acciones-secundarias {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.pd-btn-secundario {
    flex: 1;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    color: #333;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.2s,
        color 0.2s;
}

.pd-btn-secundario i {
    font-size: 20px;
}

.pd-btn-secundario:hover {
    border-color: #c2185b;
    color: #c2185b;
}

.pd-btn-secundario.activo {
    border-color: #c2185b;
    color: #c2185b;
}

/* Reseñas: resumen */
.resenas-nota-verificada {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 20px;
    font-size: 14px;
    color: #2e7d32;
}

.resenas-nota-verificada i {
    font-size: 18px;
}

.resenas-vacias-caja .resenas-nota-verificada {
    margin-top: 8px;
}

.resenas-cargando {
    color: #666;
    font-size: 14px;
}

.resenas-resumen {
    display: flex;
    gap: clamp(20px, 5vw, 60px);
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.resenas-resumen-promedio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 120px;
}

.resenas-resumen-numero {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
}

.resenas-resumen-barras {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 220px;
    max-width: 420px;
}

.resenas-barra {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 4px;
    border: none;
    border-radius: 4px;
    background: none;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.resenas-barra:hover:not(:disabled),
.resenas-barra[aria-pressed="true"] {
    background: #fdf1f5;
}

.resenas-barra:disabled {
    cursor: default;
    opacity: 0.55;
}

.resenas-barra-etiqueta {
    width: 32px;
    text-align: right;
    white-space: nowrap;
}

.resenas-barra-pista {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.resenas-barra-relleno {
    display: block;
    height: 100%;
    background: #c2185b;
    border-radius: 4px;
}

.resenas-barra-cantidad {
    width: 24px;
    text-align: left;
    color: #666;
}

/* Reseñas: fotos de clientas */
.resenas-fotos-clientas {
    margin-bottom: 28px;
}

.resenas-subtitulo {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
}

.resenas-fotos-tira {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.resenas-fotos-tira-btn {
    flex-shrink: 0;
    width: 76px;
    height: 114px;
    padding: 0;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    cursor: zoom-in;
}

.resenas-fotos-tira-btn img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.25s;
}

.resenas-fotos-tira-btn:hover img {
    transform: scale(1.06);
}

/* Reseñas: filtros y orden */
.resenas-controles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.resenas-filtros {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.resenas-chip {
    padding: 6px 14px;
    border: 1px solid #1a4fa0;
    border-radius: 20px;
    background: white;
    color: #1a4fa0;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}

.resenas-chip[aria-pressed="true"],
.resenas-chip:hover {
    background: #1a4fa0;
    color: white;
}

.resenas-orden {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #444;
}

.resenas-orden select {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    background: white;
}

/* Reseñas: tarjeta */
.card-resena-autor {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.card-resena-autor .card-resena-estrellas {
    margin-left: 0;
}

.resena-verificada {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #2e7d32;
}

.resena-verificada i {
    font-size: 15px;
}

.card-resena-header {
    flex-wrap: wrap;
    gap: 6px 12px;
}

.card-resena-texto {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.card-resena-producto:focus {
    outline: none;
}

.resenas-ver-mas {
    display: block;
    margin: 20px auto 0;
    padding: 10px 28px;
    border: 1px solid #1a4fa0;
    border-radius: 4px;
    background: white;
    color: #1a4fa0;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}

.resenas-ver-mas:hover {
    background: #1a4fa0;
    color: white;
}

.resenas-ver-mas[hidden] {
    display: none;
}

/* Visor de fotos (<dialog>) */
.visor-fotos {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.visor-fotos[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visor-fotos::backdrop {
    background: rgba(0, 0, 0, 0.88);
}

.visor-figura {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    touch-action: pan-y;
    user-select: none;
}

.visor-figura img {
    display: block;
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
}

.visor-leyenda {
    color: white;
    font-size: 14px;
    text-align: center;
}

.visor-cerrar,
.visor-flecha {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    line-height: 1;
    cursor: pointer;
}

.visor-cerrar {
    top: 12px;
    right: 12px;
    font-size: 22px;
}

.visor-flecha {
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
}

.visor-anterior {
    left: 12px;
}

.visor-siguiente {
    right: 12px;
}

.visor-flecha[hidden] {
    display: none;
}

.visor-cerrar:hover,
.visor-flecha:hover {
    background: rgba(0, 0, 0, 0.85);
}

/* Guía de tallas (<dialog>) */
.gt-dialogo {
    width: 92vw;
    max-width: 640px;
    padding: 0;
    border: none;
}

.gt-dialogo::backdrop {
    background: rgba(0, 0, 0, 0.45);
}

/* Abre y cierra igual que el modal del carrito: al abrir, el fondo aparece
   y la caja sube suavemente; al cerrar, todo se desvanece (producto.js
   le pone .dialogo-cerrando y la cierra al terminar) */
.gt-dialogo[open] {
    animation: slideUpModal 0.35s ease;
}

.gt-dialogo[open]::backdrop {
    animation: gtFondoAparece 0.35s ease;
}

.gt-dialogo[open].dialogo-cerrando,
.gt-dialogo[open].dialogo-cerrando::backdrop {
    animation: gtDesvanecer 0.35s ease forwards;
}

@keyframes gtFondoAparece {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes gtDesvanecer {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .gt-dialogo[open],
    .gt-dialogo[open]::backdrop {
        animation: none;
    }
}

.gt-caja {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
}

.gt-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gt-encabezado h2 {
    margin: 0;
    font-size: 20px;
}

.gt-cerrar {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: none;
    color: #444;
    font-size: 20px;
    cursor: pointer;
}

.gt-cerrar:hover {
    background: #f0f0f0;
}

.gt-caja img {
    display: block;
    width: 100%;
    height: auto;
}

.gt-ayuda {
    margin: 0;
    font-size: 14px;
    color: #444;
}

.gt-ayuda a {
    color: #075e54;
    font-weight: 600;
}

/* Foco visible por teclado */
.pd-btn-secundario:focus-visible,
.resenas-barra:focus-visible,
.resenas-chip:focus-visible,
.resenas-ver-mas:focus-visible,
.resenas-fotos-tira-btn:focus-visible,
.resena-foto-btn:focus-visible,
.pd-resumen-resenas:focus-visible,
button.guia-tallas:focus-visible,
.gt-cerrar:focus-visible {
    outline: 2px solid #1a4fa0;
    outline-offset: 2px;
}

.visor-cerrar:focus-visible,
.visor-flecha:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ============================================================
   19. PÁGINA: CARRITO
   ============================================================ */

.carrito-pagina {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
    margin-bottom: 40px;
    padding: 0 clamp(16px, 4vw, 50px);
    box-sizing: border-box;
}

.carrito-pagina.carrito-vacio-layout {
    grid-template-columns: 1fr;
}

#carrito-items {
    text-align: left;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.info-carrito {
    text-align: left;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-carrito-pagina-img-wrapper {
    width: 130px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    flex-shrink: 0;
}

.item-carrito-pagina-img-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.item-carrito-pagina {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
    min-width: 0;
    box-sizing: border-box;
}

.item-carrito-pagina:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
}

.info-carrito-nombre {
    font-size: 15px;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.info-carrito-detalle {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.item-carrito-cantidad-fila {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.item-carrito-precios {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.item-carrito-precio {
    font-size: 15px;
    font-weight: 700;
    color: #f4a5bc;
}

.item-carrito-precio-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.item-carrito-badge-descuento {
    background: #d92e49;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
}

.btn-eliminar-pag {
    position: absolute;
    right: 10px;
    top: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #ccc;
    line-height: 1;
    transition: color 0.2s ease;
}

.btn-eliminar-pag:hover {
    color: #f4a5bc;
}

.carrito-resumen-pagos-logos {
    width: 100%;
    max-width: 240px;
    height: auto;
    margin-top: 4px;
}

#pagina-carrito .breadcrumbs {
    padding-bottom: 14px;
}

/* Resumen del pedido */
.carrito-resumen {
    margin: 0 0 0 20px;
    text-align: left;
    background: #fafafa;
    padding: 24px;
    border-top: 3px solid #f4a5bc;
    position: sticky;
    top: 100px;
}

.carrito-resumen-envio {
    margin-bottom: 20px;
}

.carrito-resumen-envio-barra-wrapper {
    width: 100%;
    height: 6px;
    background: #e8e8e8;
    overflow: hidden;
}

.carrito-resumen-envio-barra {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #9dbce4, #7ea5d6);
    transition: width 0.4s ease;
}

.carrito-resumen-envio-barra.completo {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.carrito-resumen-envio-texto {
    font-size: 13px;
    color: #666;
    margin: 8px 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.carrito-resumen-envio-texto i {
    color: #22c55e;
    font-size: 16px;
}

.carrito-resumen-desglose {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 14px 0;
    margin-bottom: 20px;
}

.carrito-resumen-linea {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 6px 0;
    color: #444;
}

.carrito-resumen-linea-envio span:last-child {
    font-weight: 600;
    color: #1a1a1a;
}

.carrito-resumen-cupon-aviso {
    display: flex;
    align-items: start;
    gap: 6px;
    font-size: 12px;
    color: #767676;
    text-align: center;
    justify-content: center;
    margin: 10px 0 0;
}

.carrito-resumen-cupon-aviso i {
    font-size: 16px;
    color: #9dbce4;
}

/* BTN PAGAR CARRITO */
.btn-pagar {
    width: 100%;
    background: #9dbce4;
    color: white;
    border: none;
    padding: 14px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-pagar:hover {
    background: #f4a5bc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-vaciar-carrito {
    width: 100%;
    background: none;
    border: none;
    color: #767676;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 10px 0 0;
    transition: color 0.2s ease;
}

.btn-vaciar-carrito:hover {
    color: #e63950;
}

.btn-vaciar-carrito.confirmando {
    color: #e63950;
    font-weight: 700;
    text-decoration: none;
}

.carrito-resumen-confianza {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.carrito-resumen-confianza-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.carrito-resumen-confianza-item i {
    color: #9dbce4;
    font-size: 18px;
}

/* Carrito vacío */
.carrito-vacio {
    text-align: center;
    color: #999;
    font-size: 15px;
    margin: 12px 0 0;
}

.carrito-vacio-icono {
    font-size: 56px;
    color: #ddd;
}

.carrito-pagina-vacio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    gap: 16px;
    text-align: center;
    width: 100%;
}

/* ============================================================
   20. PÁGINA: FAVORITOS
   ============================================================ */

.favoritos-vacio {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.sin-resultados {
    grid-column: 1 / -1;
}

/* Aviso cuando se quitan de favoritos prendas que ya no están en la tienda */
.favoritos-aviso {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #fdf0f4;
    border-left: 4px solid #e88ba5;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

/* ============================================================
   21. PÁGINA: SALE
   ============================================================ */

.sale-hero {
    text-align: center;
    padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 60px);
    margin: 0 0 clamp(24px, 4vw, 40px);
    background: linear-gradient(135deg, #f4a5bc 0%, #e88ba5 100%);
    color: white;
    border-radius: 12px;
}

.sale-hero-eyebrow {
    font-size: clamp(11px, 1.2vw, 13px);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0 0 8px;
    font-weight: 600;
}

.sale-hero-titulo {
    font-size: clamp(32px, 6vw, 52px);
    margin: 0 0 16px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sale-hero-nota {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    margin: 0;
}

.sale-hero-nota i {
    font-size: 18px;
}

#pagina-sale .card-badge-descuento {
    top: 14px;
    left: 14px;
    background: #f4a5bc;
    font-size: 20px;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(230, 57, 80, 0.4);
    animation: pulso-descuento 2s ease-in-out infinite;
}

#pagina-sale .productos-grid {
    margin-bottom: 50px;
}

#pagina-sale .seccion-otras-categorias,
#pagina-entrega-inmediata .seccion-otras-categorias {
    position: relative;
}

#pagina-sale .seccion-otras-categorias::before,
#pagina-entrega-inmediata .seccion-otras-categorias::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

.sale-hero-breadcrumb {
    justify-content: center;
    margin-bottom: 16px;
}

.sale-hero-breadcrumb a,
.sale-hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.85);
}

.sale-hero-breadcrumb a:hover {
    color: white;
}

/* ============================================================
   22. PÁGINA: ENTREGA INMEDIATA
   ============================================================ */

.ei-corte-widget {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    margin: 0 0 16px;
    font-size: 13px;
    flex-wrap: wrap;
    justify-content: center;
}

.ei-corte-punto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.ei-corte-punto--activo {
    background: #4ade80;
    animation: ei-pulso-punto 1.5s ease-in-out infinite;
}

.ei-corte-texto {
    color: white;
}

.ei-corte-timer {
    font-family: "Courier New", monospace;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    color: white;
}

.ei-hero {
    text-align: center;
    padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 60px);
    margin: 0 0 clamp(24px, 4vw, 40px);
    background: linear-gradient(135deg, #9dbce4 0%, #7ea5d6 100%);
    color: white;
    border-radius: 12px;
}

.ei-hero-titulo {
    font-size: clamp(32px, 6vw, 52px);
    margin: 0 0 12px;
    color: white;
    font-weight: 700;
}

.ei-hero-nota {
    font-size: 14px;
    max-width: 560px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.5;
}

.ei-hero-breadcrumb {
    justify-content: center;
    margin-bottom: 16px;
}

.ei-hero-breadcrumb a,
.ei-hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.85);
}

.ei-hero-breadcrumb a:hover {
    color: white;
}

/* ============================================================
   23. PÁGINA: CHECKOUT
   ============================================================ */

/* Checkout — botones ocultos en header */
.checkout-btn-oculto {
    visibility: hidden;
    pointer-events: none;
}

/* Clases ocultar checkout */
.checkout-dropdown-oculto {
    display: none;
}

.checkout-cupon-oculto {
    display: none !important;
}

.checkout-wompi-oculto {
    display: none;
}

/* ...y la ventana de Wompi queda fija en la pantalla, con su propio desplazamiento */
body.wompi-abierto > .wompi-ventana-fija {
    position: fixed !important;
    height: auto !important;
    max-height: calc(100% - var(--wompi-margen-superior, 0px)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    /* Wompi oculta la barra de desplazamiento de su ventana: aquí se
       vuelve a mostrar, para que se vea que la ventana se puede bajar */
    scrollbar-width: auto !important;
    scrollbar-color: auto !important;
}

/* La barra de desplazamiento de la ventana de Wompi: siempre a la vista,
   con los colores de la tienda */
body.wompi-abierto > .wompi-ventana-fija::-webkit-scrollbar {
    display: block !important;
    width: 12px !important;
    background: transparent !important;
}

body.wompi-abierto > .wompi-ventana-fija::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.35) !important;
    border-radius: 6px;
}

body.wompi-abierto > .wompi-ventana-fija::-webkit-scrollbar-thumb {
    background: #868686 !important;
    border-radius: 6px;
}

body.wompi-abierto > .wompi-ventana-fija::-webkit-scrollbar-thumb:hover {
    background: #686868 !important;
}

.checkout-container {
    max-width: 1640px;
    margin: auto;
    background: white;
    padding: 30px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.checkout-accion {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.checkout-form {
    background: #fff;
    padding: 0 60px 40px 0;
}

.checkout-form h3 {
    font-size: 17px;
    color: #1a4fa0;
    margin: 32px 0 18px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.checkout-form h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.checkout-summary {
    position: sticky;
    top: 121px;
    align-self: flex-start;
    background: #fafafa;
    padding: 28px;
    border-top: 3px solid #f4a5bc;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    max-height: calc(100vh - 153px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.checkout-summary h3,
.checkout-summary .checkout-resumen,
.checkout-summary .checkout-pago-seccion,
.checkout-summary .checkout-accion {
    flex-shrink: 0;
}

#checkout-items {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding-right: 6px;
}

.checkout-summary h3 {
    font-size: 16px;
    color: #1a4fa0;
    margin: 0 0 16px;
}

.asterisco {
    color: #cc0000;
    font-weight: bold;
}

.textarea-checkout {
    height: auto;
    padding-top: 20px;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* Dropdown departamento y ciudad */
.custom-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #eee;
    max-height: 260px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
    animation: dropdownAparecer 0.18s ease;
}

.dropdown-opcion {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f4f4f4;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        padding-left 0.2s ease;
}

.dropdown-opcion:last-child {
    border-bottom: none;
}

.dropdown-opcion:hover {
    background: #f6fafd;
    color: #1a4fa0;
    padding-left: 26px;
}

.dropdown-vacio {
    padding: 20px;
    color: #999;
    font-size: 13px;
    text-align: center;
}

/* Dos columnas checkout */
.checkout-fila-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.checkout-fila-doble .campo-flotante {
    margin-bottom: 20px;
}

/* Sección pago */
.checkout-pago-seccion {
    margin: 10px 0 0 0;
}

.checkout-pago-imagen-wrapper {
    background: white;
    border: 1px solid #eee;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-pago-imagen {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Hint medidas */
.checkout-medidas-hint {
    font-size: 13px;
    font-weight: 400;
    color: #767676;
}

/* Cupón */
.cupon-wrapper {
    margin-bottom: 26px;
}

.btn-cupon {
    background: none;
    border: none;
    color: #1a4fa0;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}

.btn-cupon:hover {
    color: #f4a5bc;
}

.cupon-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.cupon-campo {
    flex: 1;
    margin: 0;
}

.btn-aplicar-cupon {
    padding: 0 20px;
    height: 52px;
    background: #9dbce4;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-aplicar-cupon:hover {
    background: #f4a5bc;
}

.btn-aplicar-cupon--aplicado {
    background: #2e7d32 !important;
    cursor: default;
}

.cupon-mensaje {
    font-size: 13px;
    margin-top: 6px;
}

.cupon-mensaje--error {
    color: #cc0000;
}

.cupon-mensaje--exito {
    color: #2e7d32;
}

/* Términos */
.checkout-terminos {
    margin-bottom: 20px;
    padding: 8px;
    background: white;
    border: 1px solid #eee;
}

.terminos-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    line-height: 1.5;
}

.terminos-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1a4fa0;
}

.link-terminos {
    color: #1a4fa0;
    text-decoration: underline;
    cursor: pointer;
}

.link-terminos:hover {
    color: #f4a5bc;
}

/* Resumen checkout */
.checkout-resumen {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.checkout-resumen-fila {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #444;
}

.checkout-resumen-descuento {
    color: #2e7d32;
}

.checkout-envio-gratis {
    color: #2e7d32;
    font-weight: 600;
}

.checkout-total {
    border-top: 1px solid #e5e5e5;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 16px;
    color: #1a1a1a;
}

/* Items checkout */
.checkout-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #eee;
    align-items: center;
}

.checkout-item-wrapper {
    width: 70px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-item-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.checkout-item img {
    width: 100%;
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-nombre {
    margin: 0 0 4px;
    font-size: 14px;
}

.checkout-item-detalle {
    margin: 2px 0;
    color: #666;
    font-size: 13px;
}

.checkout-item-precio {
    margin: 4px 0 0;
    font-weight: bold;
    color: #1a4fa0;
    font-size: 14px;
}

.checkout-item-precios {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.checkout-item-precio-descuento {
    font-weight: bold;
    color: #1a4fa0;
    font-size: 14px;
}

.checkout-item-precio-original {
    text-decoration: line-through;
    color: #767676;
    font-size: 12px;
}

/* Refuerzo visual solo en el botón de pago del resumen — no afecta el botón
   de aceptar términos ni el de rastrear pedido, que reutilizan .btn-confirmar */
.checkout-summary .btn-confirmar:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(40, 167, 69, 0.3);
}

/* Mensajes checkout */
.checkout-error-pago {
    border: 1px solid #f44336;
    margin-bottom: 20px;
    text-align: center;
}

.checkout-vacio {
    color: #999;
    font-size: 14px;
}

.checkout-vacio a {
    color: #1a4fa0;
    text-decoration: underline;
}

.checkout-aviso-modificar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fdf6f8;
    border-left: 4px solid #9dbce4;
    padding: clamp(20px, 3vw, 40px);
    padding-left: clamp(40px, 10vw, 150px);
    padding-right: clamp(40px, 10vw, 150px);
    margin-bottom: 24px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.checkout-aviso-modificar i {
    color: #9dbce4;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkout-aviso-modificar p {
    margin: 0;
}

.checkout-aviso-modificar a {
    color: #1a4fa0;
    text-decoration: underline;
}

.checkout-aviso-modificar a:hover {
    color: #f4a5bc;
}

.checkout-error-pago {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 18px 22px;
    margin: 0 auto 24px;
    max-width: 1580px;
    color: #c62828;
    font-size: 14px;
    line-height: 1.7;
}

.checkout-error-pago-tranquilidad {
    display: block;
    margin-top: 6px;
    color: #7a1f1f;
    font-size: 13px;
}

.checkout-error-pago-reintentar {
    display: inline-block;
    margin-top: 12px;
    background: #c62828;
    color: white;
    border: none;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkout-error-pago-reintentar:hover {
    background: #a91f1f;
}

.btn-confirmar--destacado {
    animation: destacarBotonPago 0.8s ease 2;
}

/* Checkout: para qué se usan los datos, y aviso del enlace para retomar */
.checkout-nota-datos {
    margin: -8px 0 16px;
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.checkout-nota-datos a {
    color: #1a4fa0;
    text-decoration: underline;
}

.checkout-aviso-enlace {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 12px 16px;
    background: #f4f9ff;
    border-left: 4px solid #9dbce4;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.pago-resultado-contenedor {
    max-width: 520px;
    margin: 60px auto;
    text-align: center;
}

.pago-resultado-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   24. PÁGINA: RESULTADO DEL PAGO
   ============================================================ */

/* Reseña — layout minimalista */
.resena-body {
    background: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.resena-header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.resena-header-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.resena-cargando {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #999;
    font-size: 15px;
    padding: 20px 0;
}

.resena-footer {
    background: white;
    border-top: 1px solid #eee;
    padding: 16px 0;
    text-align: center;
    margin-top: auto;
}

.resena-footer .copyright p {
    font-size: 13px;
    color: #767676;
    margin: 0;
}

.card-resenas-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    margin-bottom: 4px;
}

.card-resenas-estrellas {
    color: #f4a5bc;
    font-size: 18px;
    letter-spacing: 1px;
}

.card-resenas-cantidad {
    color: #999;
    font-size: 11px;
}

.card-resenas-link:hover .card-resenas-cantidad {
    color: #666;
}

/* Pago resultado */
.pago-resultado-wrapper {
    max-width: 520px;
    margin: 60px auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.pago-resultado-icono {
    font-size: 64px;
    margin-bottom: 16px;
}

.pago-resultado-titulo {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.pago-resultado-texto {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.pago-resultado-subtexto {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
}

.pago-resultado-btn {
    display: inline-block;
    background: #f4a5bc;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    margin-bottom: 12px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.pago-resultado-btn:hover {
    background: #e8839e;
    transform: translateY(-2px);
}

.pago-resultado-link {
    display: block;
    color: #999;
    font-size: 14px;
    text-decoration: underline;
    margin-top: 8px;
}

.pago-resultado-link:hover {
    color: #666;
}

/* Botón con el mismo aspecto que el enlace principal */
.pago-resultado-btn--boton {
    border: none;
    cursor: pointer;
}

/* Datos para pagar en efectivo (convenio y referencia) */
.pago-resultado-datos {
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 auto 20px;
    max-width: 360px;
    font-size: 15px;
    color: #555;
    text-align: left;
}

.pago-resultado-datos p {
    margin: 4px 0;
}

.pago-resultado-datos strong {
    color: #333;
    letter-spacing: 0.5px;
}

.pago-resultado-verificando {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 15px;
}

.origen-pregunta {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #eee;
    text-align: center;
}

.origen-pregunta-titulo {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.origen-pregunta-ayuda {
    margin: 0 0 14px;
    font-size: 13px;
    color: #666;
}

.origen-pregunta-opciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.origen-pregunta-opcion {
    min-height: 40px;
    padding: 8px 16px;
    background: white;
    border: 1.5px solid #f4a5bc;
    border-radius: 22px;
    color: #333;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.origen-pregunta-opcion:hover,
.origen-pregunta-opcion:focus-visible,
.origen-pregunta-opcion--elegida {
    background: #fdf0f4;
    border-color: #e8839e;
}

.origen-pregunta-opcion:disabled {
    cursor: default;
    opacity: 0.6;
}

.origen-pregunta-opcion--elegida:disabled {
    opacity: 1;
}

.origen-pregunta-campo {
    flex: 1 1 200px;
    max-width: 280px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1.5px solid #ddd;
    border-radius: 22px;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.origen-pregunta-estado {
    min-height: 18px;
    margin: 10px 0 0;
    font-size: 13px;
    color: #a35200;
}

.origen-pregunta-gracias {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* ============================================================
   25. PÁGINA: DEJAR UNA RESEÑA
   ============================================================ */

.resena-container {
    max-width: 520px;
    margin: 40px auto;
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
}

/* Reseña — info producto */
.resena-producto-info {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.resena-producto-img {
    width: 160px;
    height: auto;
    object-fit: unset;
    border-radius: 0;
    display: block;
    margin: 0;
}

.resena-producto-nombre {
    margin: 0;
    font-size: 18px;
    text-align: left;
}

/* Reseña — campos */
.resena-pregunta {
    text-align: center;
    margin-bottom: 20px;
    font-size: 17px;
}

.resena-campo {
    margin-bottom: 20px;
}

.resena-label {
    display: block;
    margin-bottom: 6px;
}

.resena-opcional {
    color: #999;
    font-size: 12px;
    margin-left: 4px;
}

.resena-hint {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 6px;
}

/* Reseña — estrellas */
.estrellas-selector {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.estrella {
    font-size: 36px;
    cursor: pointer;
    color: #ccc;
    transition:
        color 0.15s,
        transform 0.1s;
    user-select: none;
}

.estrella:hover,
.estrella--activa {
    color: #f4a5bc;
}

.estrella:active {
    transform: scale(0.9);
}

/* Reseña — textarea */
.resena-textarea {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    height: 120px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.resena-textarea:focus {
    outline: none;
    border-color: #9dbce4;
}

/* Reseña — foto */
.resena-input-foto {
    display: block;
    margin-top: 8px;
}

.resena-preview-img {
    width: 90px;
    height: auto;
    object-position: center;
    display: block;
}

.resena-btn-agregar-foto {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    border: 2px dashed #9dbce4;
    background: white;
    color: #9dbce4;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.resena-btn-agregar-foto:hover {
    background: #9dbce4;
    color: white;
}

.resena-preview-eliminar {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.resena-preview-eliminar:hover {
    background: #e53935;
}

/* Reseña — mensajes feedback */
.mensaje-resena {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
}

.mensaje-resena--error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

.mensaje-resena--exito {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

/* Reseña — botón enviar */
.resena-btn-enviar {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    background: #9dbce4;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Quicksand", sans-serif;
    transition: background 0.2s;
}

.resena-btn-enviar:hover {
    background: #1a4fa0;
}

.resena-btn-enviar:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Reseña — resultado final */
.resena-resultado {
    text-align: center;
    padding: 40px 20px;
}

.resena-resultado-icono {
    font-size: 60px;
    margin-bottom: 16px;
}

.resena-resultado-titulo {
    margin-bottom: 8px;
}

.resena-resultado-texto {
    color: #666;
    margin-bottom: 20px;
}

.resena-resultado-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #9dbce4;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.resena-resultado-btn:hover {
    background: #1a4fa0;
}

/* Motivación */
.resena-motivacion {
    text-align: center;
    font-size: 16px;
    color: #f4a5bc;
    font-weight: 600;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Info producto — nuevo layout horizontal */
.resena-producto-imagen-wrapper {
    flex-shrink: 0;
}

.resena-producto-detalle {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.resena-producto-meta {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.resena-meta-label {
    font-weight: 600;
    color: #333;
}

/* Chips seleccionables */
.resena-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.resena-chip {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 6px;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555;
}

.resena-chip:hover {
    border-color: #f4a5bc;
    color: #f4a5bc;
}

.resena-chip--activo {
    background: #f4a5bc;
    border-color: #f4a5bc;
    color: white;
}

.resena-chip--activo:hover {
    background: #f4a5bc;
    border-color: #f4a5bc;
    color: white;
}

.resena-chip--si:hover,
.resena-chip--si.resena-chip--activo {
    border-color: #4caf50;
    background: #4caf50;
    color: white;
}

.resena-chip--no:hover,
.resena-chip--no.resena-chip--activo {
    border-color: #e53935;
    background: #e53935;
    color: white;
}

/* Contador caracteres */
.resena-contador-chars {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 6px;
}

/* Preview fotos múltiples */
.resena-preview-fotos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.resena-preview-item {
    width: 90px;
    height: auto;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
}

.resena-fotos-contador {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* Términos */
.resena-terminos {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
}

.resena-terminos-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    cursor: pointer;
}

.resena-checkbox {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #f4a5bc;
}

.resena-terminos-label a {
    color: #1a4fa0;
    text-decoration: underline;
}

/* ============================================================
   26. PÁGINA: SEGUIMIENTO DEL PEDIDO
   ============================================================ */

.seguimiento-info {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 8px;
    color: #666;
}

/* Buscador — pill elevado, protagonista */
.rastreo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 28px auto 36px;
    max-width: 700px;
    background: white;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 10px;
    border: 1px solid #eee;
}

.rastreo-container input {
    padding: 12px 16px;
    width: 100%;
    border: none;
    font-size: 15px;
    font-family: "Quicksand", sans-serif;
    background: transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.15s ease;
}

.rastreo-container input:focus {
    outline-color: #9dbce4;
}

.rastreo-container .input-checkout {
    width: 100%;
}

.rastreo-container .btn-confirmar {
    width: auto;
    white-space: nowrap;
    border-radius: 0;
    background: #f4a5bc;
    color: white;
    border: none;
    padding: 12px 26px;
    margin-top: 0;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    flex-shrink: 0;
}

.rastreo-container .btn-confirmar:hover {
    background: #e88ba5;
    transform: translateY(-1px);
}

.productos-modificacion-container {
    display: none;
}

.productos-modificacion-container.visible {
    display: block;
    animation: seguimiento-slide-in 0.3s ease;
}

.cedula-verificada-texto {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2e7d32;
    background: #f1f8f2;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0;
}

.cedula-verificada-texto i {
    font-size: 20px;
}

/* Contenedor del resultado */
#resultado-seguimiento {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.estado-pedido {
    padding: 32px clamp(20px, 4vw, 40px);
    margin-bottom: 15px;
    background: white;
    border: none;
    border-radius: 0;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.estado-pedido::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f4a5bc, #9dbce4);
}

.estado-pedido h3 {
    font-size: 22px;
    margin: 0 0 14px;
    color: #1a4fa0;
}

.estado-pedido > p {
    font-size: 14px;
    margin: 4px 0;
    color: #444;
}

.seguimiento-tiempo-estado {
    color: #999;
    font-weight: 400;
    font-size: 13px;
    display: inline-block;
    margin-left: 4px;
}

/* Caja de info de envío */
.seguimiento-info-envio {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, #f4f9ff, #eef6ff);
    border-left: 4px solid #9dbce4;
    padding: 18px 20px;
    margin: 20px 0;
    border-radius: 0;
}

.seguimiento-info-envio i {
    color: #9dbce4;
    font-size: 28px;
    flex-shrink: 0;
}

.seguimiento-info-envio p {
    margin: 0 0 6px;
    font-size: 14px;
}

.seguimiento-info-envio .btn-whatsapp-asesor {
    display: inline-block;
    margin-top: 6px;
}

/* Productos en seguimiento — tratamiento de tarjeta */
.titulo-productos {
    margin-top: 40px;
    font-size: 18px;
    color: #1a4fa0;
}

.productos-pedido {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.producto-seguimiento {
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 0;
    background: #fafafa;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.producto-seguimiento:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.img-producto-seguimiento {
    height: auto;
    width: 200px;
    border-radius: 0;
    display: block;
    margin-bottom: 10px;
}

.producto-seguimiento-info p {
    margin: 4px 0;
    font-size: 13px;
}

/* Estados de carga / error */
.seguimiento-cargando {
    color: #999;
    text-align: center;
    padding: 30px 0;
    font-size: 15px;
}

.seguimiento-no-encontrado {
    color: #666;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.seguimiento-vacio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 50px 20px;
    text-align: center;
}

.btn-whatsapp-asesor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 14px 32px;
    border-radius: 0;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.btn-whatsapp-asesor:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

/* Panel de modificaciones */
.boton-modificar-pedido {
    margin-top: 28px;
    text-align: center;
}

.boton-modificar-pedido button {
    background: white;
    border: 2px solid #9dbce4;
    color: #1a4fa0;
    padding: 12px 28px;
    border-radius: 0;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.boton-modificar-pedido button:hover {
    background: #9dbce4;
    color: white;
}

.panel-modificaciones {
    display: none;
    margin-top: 28px;
    border-top: 2px solid #f5f5f5;
    padding-top: 24px;
}

.panel-modificaciones.visible {
    display: block;
    animation: seguimiento-slide-in 0.3s ease;
}

.panel-modificaciones h3 {
    font-size: 18px;
    color: #1a4fa0;
}

.card-modificacion {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0;
    background: white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.card-modificacion h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #1a1a1a;
}

.card-modificacion-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.modificacion-detalle {
    margin-top: 14px;
    border-top: 1px solid #f2f2f2;
    padding-top: 12px;
}

.modificacion-detalle summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 0;
    color: #1a4fa0;
}

.modificacion-detalle-contenido {
    margin-top: 10px;
    padding-left: 8px;
}

.modificacion-personalizar-texto {
    font-size: 13px;
    margin-bottom: 10px;
}

.modificacion-guardar {
    margin-top: 20px;
    text-align: right;
}

.modificacion-guardar button {
    background: #f4a5bc;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 0;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modificacion-guardar button:hover {
    background: #e88ba5;
}

.tallas-modificacion {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.selector-talla-label {
    font-size: 13px;
    margin: 10px 0 4px;
    font-weight: 600;
}

.selector-talla-unica {
    font-size: 13px;
    color: #999;
}

.color-seleccionado-texto {
    font-size: 13px;
    margin-top: 8px;
    color: #666;
}

.selector-sin-colores {
    font-size: 13px;
    color: #999;
}

/* Página de seguimiento: aviso de pedido cancelado o devuelto */
.seguimiento-info-envio--cierre {
    background: #f7f7f7;
    border-left-color: #b71c1c;
}

.seguimiento-info-envio--cierre > i {
    color: #b71c1c;
}

/* Página de seguimiento: botón para quitar el pedido de la pantalla */
.seguimiento-cerrar-consulta {
    float: right;
    margin: 0 0 8px 12px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}

.seguimiento-cerrar-consulta:hover {
    background: #f4f4f4;
}

/* Botones admin y seguimiento — estilo compartido */
.rastreo-container button,
.boton-modificar-pedido button {
    padding: 15px 50px;
    text-decoration: none;
    border: none;
    background: #9dbce4;
    color: white;
    cursor: pointer;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.rastreo-container button:hover,
.boton-modificar-pedido button:hover {
    background: #f4a5bc;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   27. PÁGINA: CONTACTO
   ============================================================ */

.contacto-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

.contacto-descripcion {
    color: #666;
    margin-bottom: 28px;
    text-align: center;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contacto-mensaje {
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.contacto-mensaje--exito {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.contacto-mensaje--error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.contacto-canales {
    padding-top: 28px;
    border-top: 1px solid #eee;
}

.contacto-canales h3 {
    margin-bottom: 16px;
    font-size: 16px;
}

.contacto-canales-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacto-canales-lista li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.contacto-canales-lista li a {
    color: #333;
    text-decoration: none;
}

.contacto-canales-lista li a:hover {
    color: #f4a5bc;
}

.contacto-canales-lista .fa-whatsapp {
    color: #25d366;
    font-size: 20px;
}

.contacto-canales-lista .fa-instagram {
    color: #e1306c;
    font-size: 20px;
}

.contador-caracteres {
    font-size: 12px;
    color: #767676;
    text-align: right;
    margin: -12px 4px 12px 0;
}

.contador-caracteres--limite {
    color: #d92e49;
    font-weight: 600;
}

/* ============================================================
   28. PÁGINA: SOBRE NOSOTROS
   ============================================================ */

.sn-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.sn-hero-img {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
}

.sn-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.sn-hero-etiqueta {
    color: #f4a5bc;
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 700;
    margin: 0 0 16px;
}

.sn-hero-titulo {
    font-size: clamp(32px, 6vw, 72px);
    color: white;
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.2;
    text-align: center;
}

.sn-hero-subtitulo {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(14px, 2vw, 18px);
    margin: 0;
    font-style: italic;
}

.sn-historia {
    padding: clamp(40px, 8vw, 100px) clamp(20px, 8vw, 120px);
}

.sn-historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.sn-historia-imagenes img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 3;
}

.sn-historia-texto h2 {
    text-align: left;
    margin: 12px 0 24px;
}

.sn-historia-texto p {
    color: #555;
    line-height: 1.9;
    font-size: clamp(14px, 1.2vw, 17px);
    margin-bottom: 16px;
}

.sn-proceso {
    background: #fdf6f8;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);
    text-align: center;
}

.sn-proceso-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 3vw, 40px);
    margin-top: 40px;
}

.sn-proceso-paso {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sn-proceso-icono {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #9dbce4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.sn-proceso-icono i {
    color: white;
    font-size: 32px;
}

.sn-proceso-paso h3 {
    font-size: clamp(15px, 1.5vw, 18px);
    margin: 0 0 8px;
    color: #1a4fa0;
    font-weight: 600;
}

.sn-proceso-paso p {
    font-size: clamp(13px, 1vw, 15px);
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.sn-fundadora {
    padding: clamp(40px, 8vw, 100px) clamp(20px, 8vw, 120px);
}

.sn-fundadora-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

.sn-fundadora-foto img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 3;
    object-position: center top;
}

.sn-fundadora-texto h2 {
    text-align: left;
    margin: 12px 0 24px;
}

.sn-fundadora-texto p {
    color: #555;
    line-height: 1.9;
    font-size: clamp(14px, 1.2vw, 17px);
    margin-bottom: 16px;
}

.sn-numeros {
    background: #1a4fa0;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);
}

.sn-numeros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.sn-numero-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(13px, 1.2vw, 16px);
    margin: 8px 0 0;
}

.sn-numero {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: #f4a5bc;
    display: block;
}

.sn-galeria {
    padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.sn-galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
    margin-top: 32px;
    width: 100%;
    box-sizing: border-box;
}

.sn-galeria-grid img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2 / 3;
    display: block;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

.sn-galeria-grid img:hover {
    opacity: 0.85;
}

.sn-cta {
    background: #f4a5bc;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);
    text-align: center;
}

.sn-cta h2 {
    color: white;
    margin-bottom: 16px;
}

.sn-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 32px;
}

.sn-cta-btn {
    display: inline-block;
    background: #1a4fa0;
    color: white;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 48px);
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: clamp(13px, 1.5vw, 16px);
    letter-spacing: 2px;
    text-decoration: none;
    transition:
        background 0.3s ease,
        transform 0.2s ease;
}

.sn-cta-btn:hover {
    background: white;
    color: #1a4fa0;
    transform: translateY(-3px);
}

/* ============================================================
   29. PÁGINAS LEGALES Y DE CAMBIOS
   ============================================================ */

.legal-container {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 60px) clamp(16px, 5vw, 40px);
}

.legal-header {
    border-bottom: 2px solid #f4a5bc;
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.legal-header h1 {
    text-align: left;
    font-size: clamp(24px, 4vw, 36px);
    margin: 0 0 8px;
    color: #1a4fa0;
}

.legal-fecha {
    font-size: 13px;
    color: #999;
    margin: 0 0 16px;
}

.legal-intro {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #555;
    line-height: 1.8;
    margin: 0;
    background: #fdf6f8;
    padding: 16px;
    border-left: 4px solid #f4a5bc;
}

.legal-seccion {
    margin-bottom: 36px;
}

.legal-seccion h2 {
    text-align: left;
    font-size: clamp(16px, 2vw, 20px);
    color: #1a4fa0;
    margin: 0 0 12px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.legal-seccion p {
    font-size: clamp(14px, 1.2vw, 15px);
    color: #444;
    line-height: 1.9;
    margin-bottom: 12px;
}

.legal-seccion ul {
    padding-left: 20px;
    margin: 0 0 12px;
}

.legal-seccion ul li {
    font-size: clamp(14px, 1.2vw, 15px);
    color: #444;
    line-height: 1.9;
    margin-bottom: 6px;
}

.legal-seccion a {
    color: #1a4fa0;
    text-decoration: underline;
}

.legal-seccion a:hover {
    color: #f4a5bc;
}

.cd-destacado {
    background: #fdf6f8;
    border-left: 4px solid #9dbce4;
    padding: 20px 24px;
    margin-bottom: 36px;
}

.cd-destacado h2 {
    color: #1a4fa0;
    border-bottom: none;
    padding-bottom: 0;
}

/* ============================================================
   30. PROMOCIONES Y CLUB HALLOWEEN GIRLS
   La barra de arriba el día de una promoción, la cuenta regresiva,
   el popup de la Gran apertura, la franja y la tarjeta del Club,
   las notas del checkout y el aviso de vista previa del panel.
   ============================================================ */

/* La barra de arriba el día de la promoción (el 31 de octubre) */
.top.top-promocion {
    background-color: #f4a5bc;
    line-height: 1.4;
    padding: 6px 12px;
}

.top.top-promocion:hover {
    background-color: #9dbce4;
}

.top-promocion-cuenta {
    white-space: nowrap;
}

.cuenta-regresiva {
    font-variant-numeric: tabular-nums;
}

/* La cuenta regresiva dentro del popup de la Gran apertura */
.popup-promo-cuenta {
    font-size: 13px;
    color: #1a4fa0;
    margin: 0 0 10px;
}

.popup-promo-cuenta strong {
    font-size: 16px;
    letter-spacing: 1px;
}

.popup-con-promocion .popup-bienvenida-cupon-descuento {
    color: #f4a5bc;
}

/* El Club en la barra de beneficios */
.cat-beneficio-club i {
    color: #f4a5bc;
}

/* La franja del Club, debajo de las características */
.club-franja {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 4% 24px;
    padding: 16px 24px;
    background: #fdf6f8;
    border: 1px dashed #f4a5bc;
    border-radius: 12px;
    box-sizing: border-box;
}

.club-franja-espacios {
    display: flex;
    gap: 4px;
    font-size: 22px;
    flex-shrink: 0;
}

.club-franja-texto p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.club-franja-texto .club-franja-titulo {
    font-size: 15px;
    font-weight: 700;
    color: #1a4fa0;
    margin-bottom: 2px;
}

.club-franja-texto a {
    color: #1a4fa0;
}

.club-franja-texto .club-franja-nota {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* La tarjeta del Club (pago exitoso y seguimiento) */
.club-tarjeta {
    margin: 20px auto;
    padding: 16px 20px;
    max-width: 420px;
    background: #fdf6f8;
    border: 1px dashed #f4a5bc;
    border-radius: 12px;
    text-align: center;
}

.club-tarjeta-titulo {
    margin: 0 0 10px;
    font-weight: 700;
    color: #1a4fa0;
}

.club-tarjeta-espacios {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 28px;
}

.club-tarjeta-espacios .vacio {
    filter: grayscale(1);
    opacity: 0.3;
}

.club-tarjeta-texto,
.club-tarjeta-premio {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.club-tarjeta-premio {
    margin-top: 4px;
    font-weight: 600;
    color: #1a4fa0;
}

/* Las notas del resumen del checkout (Club y «no se suman») */
.checkout-nota-promo {
    margin: 10px 0 0;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.cupon-mensaje--info {
    color: #1a4fa0;
}

/* El aviso de la vista previa (solo lo ve el panel) */
.aviso-vista-previa {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 10002;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 32px);
    padding: 10px 16px;
    background: #1a4fa0;
    color: white;
    font-size: 13px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.aviso-vista-previa button {
    flex-shrink: 0;
    background: white;
    color: #1a4fa0;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 700;
    cursor: pointer;
}

/* El checkout: le toca el premio del Club pero su contacto no coincide */
.checkout-nota-promo--club {
    font-weight: 600;
    color: #1a4fa0;
}

.checkout-nota-promo--club a {
    color: inherit;
    text-decoration: underline;
}

/* ============================================================
   31. PAGAR POR TRANSFERENCIA (checkout y página /pagar)
   ============================================================ */

/* La línea debajo del botón de pago del checkout */
.checkout-transferencia {
    margin: 12px 0 0;
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.checkout-transferencia-btn {
    background: none;
    border: none;
    padding: 0;
    color: #1a4fa0;
    font-family: "Quicksand", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.checkout-transferencia-btn:disabled {
    color: #999;
    cursor: wait;
}

/* La página de pago */
.pagar-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 32px auto;
    padding: 32px 28px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.pagar-encabezado {
    text-align: center;
}

.pagar-encabezado .pago-resultado-icono {
    font-size: 48px;
    margin-bottom: 8px;
}

.pagar-encabezado .pago-resultado-subtexto {
    margin-bottom: 20px;
}

.pagar-wrapper > .pago-resultado-btn,
.pagar-wrapper .pagar-boton-principal {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 16px auto 8px;
    text-align: center;
    box-sizing: border-box;
}

.pagar-wrapper > .pago-resultado-link {
    text-align: center;
}

.pagar-referencia,
.pagar-monto {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 10px;
    text-align: center;
}

.pagar-referencia {
    background: #f4f9ff;
    border: 1px dashed #9dbce4;
}

.pagar-referencia span,
.pagar-monto span {
    font-size: 13px;
    color: #666;
}

.pagar-referencia strong {
    font-size: 20px;
    letter-spacing: 2px;
    color: #1a4fa0;
}

.pagar-monto {
    background: #fdf6f8;
    border: 1px solid #f4a5bc;
}

.pagar-monto strong {
    font-size: 26px;
    color: #333;
}

.pagar-copiar {
    background: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 4px 12px;
    font-family: "Quicksand", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
}

.pagar-copiar:hover {
    border-color: #1a4fa0;
    color: #1a4fa0;
}

.pagar-copiar--listo {
    background: #e8f5e9;
    border-color: #66bb6a;
    color: #2e7d32;
}

.pagar-pasos {
    margin: 0 0 16px;
    padding-left: 22px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.pagar-pasos strong {
    white-space: nowrap;
}

.pagar-cuentas {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.pagar-cuenta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #eee;
    border-left: 4px solid #f4a5bc;
    border-radius: 8px;
    background: #fafafa;
}

.pagar-cuenta--nequi       { border-left-color: #da0081; }
.pagar-cuenta--daviplata   { border-left-color: #e30613; }
.pagar-cuenta--bancolombia { border-left-color: #fdda24; }
.pagar-cuenta--breb        { border-left-color: #1a4fa0; }

.pagar-cuenta-info p {
    margin: 0;
}

.pagar-cuenta-medio {
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

.pagar-cuenta-numero {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.pagar-cuenta-titular {
    font-size: 12px;
    color: #888;
}

.pagar-reporte,
.pagar-datos {
    margin: 20px 0;
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.pagar-reporte h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #333;
}

.pagar-reporte fieldset {
    margin: 0 0 14px;
    padding: 0;
    border: none;
}

.pagar-reporte legend {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #444;
}

.pagar-opciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagar-opcion {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.pagar-opcion:has(input:checked) {
    border-color: #f4a5bc;
    background: #fdf6f8;
    font-weight: 700;
}

.pagar-archivo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #444;
}

.pagar-archivo-titulo {
    font-weight: 700;
}

.pagar-opcional {
    font-weight: 400;
    color: #888;
    font-size: 12px;
}

.pagar-archivo input[type="file"] {
    max-width: 100%;
    font-size: 13px;
}

.pagar-error {
    margin: 12px 0 0;
    padding: 10px 12px;
    background: #fdecea;
    border-left: 4px solid #c62828;
    color: #8e1c1c;
    font-size: 14px;
}

.pagar-aviso {
    padding: 12px 14px;
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    font-size: 14px;
    color: #555;
}

.pagar-resumen {
    margin: 20px 0 8px;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.pagar-resumen summary,
.pagar-otra-vez summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #1a4fa0;
}

.pagar-otra-vez {
    margin: 16px 0;
}

.pagar-prendas {
    list-style: none;
    margin: 12px 0;
    padding: 0;
}

.pagar-prenda {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f3f3;
}

.pagar-prenda img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.pagar-prenda > div {
    flex: 1;
    min-width: 0;
}

.pagar-prenda-nombre {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.pagar-prenda-detalle {
    margin: 2px 0 0;
    font-size: 12px;
    color: #777;
}

.pagar-prenda-precio {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.pagar-cuentas-total p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.pagar-descuento {
    color: #2e7d32 !important;
}

.pagar-total-linea {
    font-size: 16px !important;
    font-weight: 700;
    color: #222 !important;
}

.pagar-envio-a,
.pagar-ayuda,
.pagar-conocidos {
    font-size: 13px;
    color: #777;
}

.pagar-ayuda {
    margin-top: 16px;
    text-align: center;
}

.pagar-ayuda a {
    color: #1a4fa0;
    font-weight: 700;
}

.pagar-whatsapp {
    background: #25d366 !important;
}

.pagar-whatsapp:hover {
    background: #1ebe5b !important;
}

/* El formulario de datos (pedido por chat) */
.pagar-datos label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

.pagar-datos input[type="text"],
.pagar-datos input[type="email"],
.pagar-datos select,
.pagar-datos textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: "Quicksand", sans-serif;
    font-size: 15px;
    font-weight: 400;
    box-sizing: border-box;
}

.pagar-datos .pagar-invalido {
    border-color: #c62828;
    background: #fff6f6;
}

.pagar-fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.pagar-datos label.pagar-terminos {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    line-height: 1.5;
}

.pagar-terminos input {
    margin-top: 4px;
    flex-shrink: 0;
}

.pagar-terminos a {
    color: #1a4fa0;
}

/* ============================================================
   RESPONSIVE: LOS TAMAÑOS DE PANTALLA VAN AL FINAL
   Del más grande al más pequeño. Dentro de cada uno, en el orden de las secciones.
   «Solo pantalla» = no se aplica al imprimir.
   ============================================================ */

/* ============================================================
   RESPONSIVE — PANTALLAS GRANDES (DESDE 1440px) — SOLO PANTALLA
   ============================================================ */
@media screen and (min-width: 1440px) {
    /* ---------- Esqueletos de carga ---------- */

    .skeleton-card {
        width: 100%;
    }

    /* ---------- Página: checkout ---------- */

    .checkout-grid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* ============================================================
   RESPONSIVE — COMPUTADOR (DESDE 769px)
   ============================================================ */
@media (min-width: 769px) {
    /* ---------- Página: producto ---------- */

    /* Barra fija: solo en celular */
    .barra-fija-compra,
    .barra-fija-compra.visible {
        display: none;
    }
}

/* ============================================================
   RESPONSIVE — COMPUTADOR CON LA FICHA EN DOS COLUMNAS (DESDE 1081px) — SOLO PANTALLA
   ============================================================ */
@media screen and (min-width: 1081px) {
    /* ---------- Página: producto ---------- */

    /* --pd-foto: el ancho de la foto grande (más pequeña hasta 1300px) */
    .producto-container {
        --pd-foto: clamp(280px, 38vw, 550px);
    }

    .imagen-principal {
        width: var(--pd-foto);
    }

    /* La galería acompaña a la información mientras se baja por la página:
       nunca queda un espacio en blanco al lado de la columna de la derecha.
       Queda debajo del encabezado; si la foto es más alta que la pantalla,
       se pega por abajo, para que siempre se vea completa al bajar. */
    .galeria {
        position: sticky;
        top: min(121px, calc(100vh - var(--pd-foto) * 1.5 - 24px));
    }
}

/* ============================================================
   RESPONSIVE — HASTA 1300px
   ============================================================ */
@media (max-width: 1300px) {
    /* ---------- Compartido entre varias páginas ---------- */

    .otra-categoria-card {
        width: calc((100% - 2 * 20px) / 3);
    }

    /* ---------- Página: producto ---------- */

    /* Menos margen a los lados: la foto y la información tienen más espacio */
    .producto-container {
        padding-left: 32px;
        padding-right: 32px;
        --pd-foto: clamp(380px, 40vw, 520px);
    }

    .galeria {
        gap: 20px;
    }

    .miniaturas img {
        width: 64px;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 1280px (PORTÁTIL PEQUEÑO) — SOLO PANTALLA
   ============================================================ */
@media screen and (max-width: 1280px) {
    /* ---------- Esqueletos de carga ---------- */

    .skeleton-card {
        width: 100%;
    }

    /* ---------- Tarjetas de producto ---------- */

    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ---------- Página: checkout ---------- */

    .checkout-grid {
        gap: 20px;
    }

    .checkout-form {
        padding: 0 40px 40px 20px;
    }

    .checkout-summary {
        padding: 0 40px 20px 30px;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 1080px (TABLETA HORIZONTAL) — SOLO PANTALLA
   ============================================================ */
@media screen and (max-width: 1080px) {
    /* ---------- Esqueletos de carga ---------- */

    .skeleton-card {
        width: 100%;
    }

    /* ---------- Encabezado y navegación ---------- */

    .barra-navegacion {
        order: -1;
        width: 60px;
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .logo img {
        width: clamp(150px, 16vw, 200px);
        height: auto;
    }

    .icono-boton {
        padding-inline: 3px;
    }

    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .sale {
        display: none;
    }

    .desplegable-contenido,
    .rastrea,
    .entrega-inmediata,
    .btn-categorias {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: transparent;
        color: #9dbce4;
        padding: 10px;
        border: none;
        font-size: 25px;
        font-weight: bold;
        cursor: pointer;
    }

    .desplegable-contenido {
        display: none !important;
    }

    /* ---------- Buscador ---------- */

    .header-botones {
        display: flex;
        align-items: center;
        width: auto;
        margin-right: 0;
        margin-top: 0;
    }

    /* ---------- Tarjetas de producto ---------- */

    .destacados-carrusel .card {
        width: calc(50% - 10px);
    }

    /* Cards — botones sin hover (visibles siempre de 1080px a 769px) */
    .card-buttons {
        position: absolute;
        top: 10px;
        right: 10px;
        pointer-events: auto;
    }

    .card-buttons button {
        transform: translateX(0);
        opacity: 1;
        transition: none;
    }

    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 clamp(16px, 3vw, 40px);
    }

    /* ---------- Ventanas (tallas, colores, galería) ---------- */

    .cart-modal .modal-confianza-linea {
        font-size: 9px;
    }

    /* ---------- Compartido entre varias páginas ---------- */

    .btn-favorito {
        display: flex;
    }

    #btnFavoritos {
        display: none;
    }

    .cat-beneficio-item {
        white-space: normal;
    }

    .filtros-barra {
        padding: 0 16px 16px;
    }

    .panel-filtros-contenido {
        padding: 16px;
    }

    .panel-filtros.abierto {
        max-height: 700px;
    }

    .caracteristicas {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ---------- Página: inicio ---------- */

    .card-resena-carrusel {
        min-width: clamp(180px, 42vw, 320px);
        max-width: clamp(180px, 42vw, 320px);
    }

    .seccion-destacados-home {
        margin: 0 10px;
    }

    .slider-home img {
        height: 88vw;
    }

    .seccion-categorias {
        padding: 30px 0;
        margin-left: 0;
        margin-right: 0;
    }

    .card-categoria {
        min-width: 60vw;
        max-width: 60vw;
    }

    .sobre-nosotros-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sobre-nosotros-texto {
        order: 1;
    }

    .sobre-nosotros-imagenes {
        order: 2;
    }

    .sobre-valores {
        grid-template-columns: 1fr 1fr;
    }

    .sobre-nosotros-home {
        margin: 30px auto;
    }

    /* ---------- Página: producto ---------- */

    .producto-container {
        flex-direction: column;
        padding: clamp(16px, 3vw, 30px);
    }

    .imagen-principal {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .imagen-principal img {
        width: 100%;
    }

    .galeria {
        flex-direction: column-reverse;
        margin: 0;
        width: 100%;
    }

    /* Las miniaturas, en fila debajo de la foto, de tamaño fijo. Si no caben,
       la fila se desliza de lado (centrada cuando sí caben) */
    .miniaturas {
        flex-direction: row;
        gap: 12px;
        justify-content: flex-start;
        justify-content: safe center;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
    }

    .miniaturas > span {
        flex: 0 0 auto;
    }

    .info-producto {
        width: 100%;
        padding: 0;
        min-width: unset;
    }

    .seccion-resenas-producto {
        padding: 20px;
    }

    .card-resena-producto {
        padding: 12px 16px;
    }

    /* Subir los botones flotantes para que no se monten con la barra fija de compra */
    #producto-individual .whatsapp-btn,
    #producto-individual .instagram-flotante-btn,
    #producto-individual .chatbot-btn {
        transform: translateY(-64px);
    }

    /* ---------- Página: carrito ---------- */

    .carrito-pagina {
        grid-template-columns: minmax(0, 1fr);
    }

    .carrito-resumen {
        position: relative;
        top: auto;
        margin-top: 30px;
    }

    /* ---------- Página: checkout ---------- */

    .checkout-grid {
        grid-template-columns: 1fr;
        padding-bottom: 130px; /* espacio para que el bloque fijo no tape el final del formulario */
    }

    .checkout-form {
        padding: 0 20px 40px;
        order: 2;
    }

    .checkout-summary {
        position: relative;
        top: auto;
        padding: 20px;
        order: 1;
    }

    /* Bloque de acción — fijo en la parte inferior de la pantalla */
    .checkout-accion {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 500;
        background: white;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        margin-top: 0;
    }

    .checkout-accion .checkout-terminos {
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .checkout-accion .terminos-label {
        font-size: 12px;
    }

    .checkout-accion .btn-confirmar {
        margin-top: 0;
    }

    /* Subir los botones flotantes para que no se monten con el bloque de acción fijo */
    #pagina-checkout .whatsapp-btn,
    #pagina-checkout .instagram-flotante-btn,
    #pagina-checkout .chatbot-btn {
        transform: translateY(-132px);
    }

    /* ---------- Página: sobre nosotros ---------- */

    .sn-proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sn-numeros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   RESPONSIVE — HASTA 900px
   ============================================================ */
@media (max-width: 900px) {
    /* ---------- Página: producto ---------- */

    /* "VISTOS RECIENTEMENTE" / "TAMBIÉN TE PUEDE GUSTAR" — quiebre único, independiente */
    .relacionados-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 768px (TABLETA Y CELULAR)
   ============================================================ */
@media (max-width: 768px) {
    /* ---------- Página: producto ---------- */

    .pd-esqueleto {
        flex-direction: column;
        padding: 20px;
    }

    .pd-esqueleto-imagen {
        width: 100%;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 768px (TABLETA Y CELULAR) — SOLO PANTALLA
   ============================================================ */
@media screen and (max-width: 768px) {
    /* ---------- Esqueletos de carga ---------- */

    .skeleton-card {
        width: 100%;
    }

    /* ---------- Tarjetas de producto ---------- */

    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }

    /* ---------- Ventanas (tallas, colores, galería) ---------- */

    .popup-bienvenida-box {
        max-height: 95vh;
        overflow-y: auto;
    }

    .popup-bienvenida-cupon-codigo span {
        font-size: 14px;
    }

    .popup-bienvenida-imagen {
        width: 45%;
        flex-shrink: 0;
    }

    .popup-bienvenida-imagen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .popup-bienvenida-contenido {
        padding: 35px 16px;
    }

    .popup-bienvenida-cupon {
        width: 80%;
    }

    .popup-bienvenida-cupon-descuento {
        font-size: 28px;
    }

    .popup-bienvenida-titulo {
        font-size: 14px;
    }

    /* ---------- Compartido entre varias páginas ---------- */

    /* Ocultar botón carrito de 768px hacia abajo — solo favoritos visible */
    .btn-carrito {
        display: none !important;
    }

    .copyright-break {
        display: block;
    }

    .caracteristicas {
        grid-template-columns: 1fr;
    }

    .cat-beneficios {
        gap: 10px;
        padding: 10px 16px;
    }

    .cat-beneficio-item {
        font-size: 11px;
        white-space: normal;
    }

    /* ---------- Página: inicio ---------- */

    .card-categoria {
        min-width: 75vw;
        max-width: 75vw;
    }

    .instagram {
        grid-template-columns: 1fr;
    }

    .instagram-card {
        width: 100%;
    }

    .card-resena-carrusel {
        min-width: clamp(200px, 65vw, 340px);
        max-width: clamp(200px, 65vw, 340px);
    }

    .slider-home img {
        height: 170vw;
    }

    .sobre-valores {
        grid-template-columns: 1fr;
    }

    .sobre-nosotros-imagenes > img {
        height: clamp(250px, 60vw, 400px);
    }

    .sobre-nosotros-home {
        margin: 30px auto;
    }

    /* ---------- Páginas: categorías ---------- */

    .seo-cat-contenido {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ---------- Página: producto ---------- */

    .miniaturas {
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }

    .miniaturas img {
        flex-shrink: 0;
    }

    .imagen-principal {
        max-width: 100%;
    }

    /* ---------- Página: carrito ---------- */

    .item-carrito-pagina-img-wrapper {
        width: 110px;
    }

    #carrito-items {
        margin: 0 12px;
    }

    .carrito-resumen {
        margin: 30px 12px 0;
        max-width: 100%;
    }

    /* ---------- Página: checkout ---------- */

    .checkout-fila-doble {
        grid-template-columns: 1fr;
    }

    .checkout-container {
        padding: 16px;
    }

    /* ---------- Página: seguimiento del pedido ---------- */

    .productos-pedido {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .rastreo-container {
        max-width: 100%;
        margin: 24px 16px 32px;
    }

    .estado-pedido {
        padding: 24px 20px;
        border-radius: 12px;
    }

    /* ---------- Página: sobre nosotros ---------- */

    .sn-historia-grid {
        grid-template-columns: 1fr;
    }

    .sn-fundadora-grid {
        grid-template-columns: 1fr;
    }

    .sn-galeria-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sn-hero {
        height: 70vh;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 600px
   ============================================================ */
@media (max-width: 600px) {
    /* ---------- Compartido entre varias páginas ---------- */

    .otras-categorias-grid {
        gap: 12px;
    }

    .otra-categoria-card {
        width: calc((100% - 12px) / 2);
    }

    /* ---------- Página: producto ---------- */

    .resena-foto-marco {
        --k: 0.75;
    }

    .resenas-resumen {
        flex-direction: column;
        align-items: stretch;
    }

    .resenas-controles {
        flex-direction: column;
        align-items: stretch;
    }

    .visor-flecha {
        top: auto;
        bottom: 16px;
        transform: none;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 480px (CELULAR) — SOLO PANTALLA
   ============================================================ */
@media screen and (max-width: 480px) {
    /* ---------- Esqueletos de carga ---------- */

    .skeleton-card {
        width: 100%;
    }

    /* ---------- Menú del celular ---------- */

    .menu-fullscreen {
        width: 80vw;
    }

    /* ---------- Tarjetas de producto ---------- */

    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .card .producto {
        font-size: 13px;
    }

    .card .precio-ahora {
        font-size: 13px;
    }

    .precio-ahora {
        margin-bottom: 20px;
    }

    .destacados-carrusel .card {
        width: calc(100% - 0px);
    }

    /* ---------- Ventanas (tallas, colores, galería) ---------- */

    .cart-modal-left {
        width: 80%;
        transform: translateX(12%);
    }

    /* ---------- Luna (chatbot) ---------- */

    .chatbot-ventana {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 10px;
        height: 47vh;
    }

    .chatbot-btn {
        bottom: 136px;
        right: 12px;
        width: 50px;
        height: 50px;
    }

    /* ---------- Botones flotantes (WhatsApp, Instagram) ---------- */

    .whatsapp-btn {
        bottom: 16px;
        right: 12px;
        width: 50px;
        height: 50px;
    }

    .instagram-flotante-btn {
        bottom: 76px;
        right: 12px;
        width: 50px;
        height: 50px;
    }

    /* ---------- Compartido entre varias páginas ---------- */

    .panel-filtros.abierto {
        max-height: 500px;
        overflow-y: auto;
    }

    .btn-confirmar {
        font-size: 14px;
        padding: 14px;
    }

    .cat-beneficios {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        white-space: normal;
    }

    /* ---------- Página: inicio ---------- */

    .card-categoria {
        min-width: 85vw;
        max-width: 85vw;
    }

    .card-resena-carrusel {
        min-width: calc(85vw - 32px);
        max-width: calc(85vw - 32px);
    }

    .slider-home img {
        height: 180vw;
    }

    .instagram {
        grid-template-columns: 1fr;
    }

    .instagram-card {
        width: 100%;
    }

    .sobre-valores {
        grid-template-columns: 1fr;
    }

    .sobre-nosotros-home {
        margin: 30px auto;
    }

    /* ---------- Páginas: categorías ---------- */

    .cat-banner-disenos-sep {
        display: none;
    }

    /* ---------- Página: producto ---------- */

    .miniaturas img {
        width: 56px;
    }

    .imagen-principal {
        width: 100%;
        max-width: 100%;
    }

    .iap-cuidado-grid {
        grid-template-columns: 1fr;
    }

    .iap-destacado {
        flex-direction: column;
        gap: 10px;
    }

    /* ---------- Página: carrito ---------- */

    .item-carrito-pagina {
        padding: 12px;
        gap: 12px;
    }

    #carrito-items {
        margin: 0 8px;
    }

    /* ---------- Página: checkout ---------- */

    .checkout-summary {
        padding: 12px;
    }

    .checkout-container {
        padding: 12px;
    }

    /* ---------- Página: seguimiento del pedido ---------- */

    .productos-pedido {
        grid-template-columns: 1fr;
    }

    .rastreo-container {
        flex-direction: column;
        border-radius: 0;
        padding: 10px;
    }

    .rastreo-container .btn-confirmar {
        justify-content: center;
    }

    /* ---------- Página: sobre nosotros ---------- */

    .sn-proceso-grid {
        grid-template-columns: 1fr;
    }

    .sn-numeros-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sn-galeria-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .sn-hero {
        height: 60vh;
    }

    
    /* ---------- Promociones y Club Halloween Girls ---------- */

    .club-franja {
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px;
        text-align: center;
    }

    .aviso-vista-previa {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* ---------- Pagar por transferencia ---------- */

    .pagar-wrapper {
        margin: 0;
        padding: 24px 16px;
        border-radius: 0;
        box-shadow: none;
    }

    .pagar-fila {
        grid-template-columns: 1fr;
    }

    .pagar-cuenta {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagar-monto strong {
        font-size: 22px;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 375px (CELULAR PEQUEÑO) — SOLO PANTALLA
   ============================================================ */
@media screen and (max-width: 375px) {
    /* ---------- Esqueletos de carga ---------- */

    .skeleton-card {
        width: 100%;
    }

    /* ---------- Encabezado y navegación ---------- */

    .icono-boton {
        padding: 4px;
    }

    /* ---------- Carrito lateral ---------- */

    .menu-carrito {
        width: 100%;
    }

    /* ---------- Tarjetas de producto ---------- */

    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    /* ---------- Ventanas (tallas, colores, galería) ---------- */

    .cart-modal-left {
        width: 90%;
        transform: translateX(5%);
    }

    /* ---------- Página: inicio ---------- */

    .card-categoria {
        min-width: 90vw;
        max-width: 90vw;
    }

    .card-resena-carrusel {
        min-width: calc(90vw - 32px);
        max-width: calc(90vw - 32px);
    }

    /* ---------- Página: checkout ---------- */

    .checkout-container {
        padding: 8px;
    }
}

/* ============================================================
   RESPONSIVE — HASTA 320px (CELULAR MUY PEQUEÑO) — SOLO PANTALLA
   ============================================================ */
@media screen and (max-width: 320px) {
    /* ---------- Esqueletos de carga ---------- */

    .skeleton-card {
        width: 100%;
    }

    /* ---------- Tarjetas de producto ---------- */

    .productos-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    /* ---------- Página: inicio ---------- */

    .card-categoria {
        min-width: 94vw;
        max-width: 94vw;
    }

    .card-resena-carrusel {
        min-width: calc(94vw - 32px);
        max-width: calc(94vw - 32px);
    }

    .sobre-nosotros-home {
        margin: 30px auto;
    }
}

/* ============================================================
   RESPONSIVE — MOVIMIENTO REDUCIDO (ACCESIBILIDAD)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    /* ---------- Página: producto ---------- */

    .pd-esqueleto-imagen,
    .pd-esqueleto-linea,
    .pd-esqueleto-boton {
        animation: none;
    }

    /* ---------- Página: sale ---------- */

    #pagina-sale .card-badge-descuento {
        animation: none;
    }

    /* ---------- Página: entrega inmediata ---------- */

    .ei-corte-punto--activo {
        animation: none;
    }
}


/* ============================================================
   PANTALLAS BAJITAS Y VENTANITAS QUE SIEMPRE CABEN
   La tienda se adapta por el ancho (arriba); aquí también por el
   alto: celular acostado, portátil con pantalla baja o la ventana
   del navegador achicada a lo alto.
   «dvh» y «svh» son el alto que de verdad se ve (en iPhone, sin
   las barras de Safari); los navegadores viejos se quedan con la
   línea anterior, en «vh».
   ============================================================ */

/* ---------- Ficha: el título cerca del precio (pantallas donde va todo en una columna) ---------- */
@media screen and (max-width: 1080px) {
    .info-producto h1 {
        margin: 16px 0 16px;
    }
}

/* ---------- Ventana de agregar al carrito ----------
   Siempre centrada y nunca más alta que la pantalla: si no cabe,
   se desliza por dentro y siempre se llega a «Añadir al carrito» */
.cart-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cart-modal-content {
    margin: 0 auto;
    max-height: calc(100vh - 72px);    /* 16 + 16 de margen y 20 + 20 de relleno */
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* En celular (de pie): la foto arriba y todo lo demás debajo */
@media screen and (max-width: 760px) {
    .cart-modal-content {
        padding: 16px;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
    }

    .cart-modal-body {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cart-modal-left {
        width: min(100%, 300px, calc(55vh * 2 / 3));
        width: min(100%, 300px, calc(55dvh * 2 / 3));
        height: auto;
        aspect-ratio: 2 / 3;
        margin: 8px auto 0;
        padding: 0;
        transform: none;
    }

    .cart-modal-right {
        margin: 0;
    }

    #modal-product-name {
        margin-bottom: 12px;
        padding-right: 28px;
    }
}

/* Pantalla bajita y ancha (celular acostado, portátil): la foto
   del alto de la ventana, y los datos al lado */
@media screen and (min-width: 761px) and (max-height: 700px) {
    .cart-modal-body {
        align-items: flex-start;
    }

    .cart-modal-left {
        height: min(570px, calc(100vh - 80px));
        height: min(570px, calc(100dvh - 80px));
        width: auto;
        aspect-ratio: 2 / 3;
        padding: 0;
    }

    #modal-product-name {
        margin-bottom: 14px;
        padding-right: 28px;
    }
}

/* ---------- Bienvenida, probador, guía de tallas y visor de fotos ---------- */
.popup-bienvenida-box {
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
}

.tryon-box {
    max-height: calc(90vh - 48px);     /* 24 + 24 de relleno */
    max-height: calc(90dvh - 48px);
}

.gt-caja {
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
}

.visor-fotos {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
}

.visor-figura img {
    max-height: 80vh;
    max-height: calc(100dvh - 120px);
}

/* Bienvenida en pantalla bajita: sin la foto, para que quepa el cupón */
@media screen and (max-height: 520px) {
    .popup-bienvenida-imagen {
        display: none;
    }

    .popup-bienvenida-contenido {
        padding: 24px 20px;
    }
}

/* ---------- Luna: la ventana del chat siempre cabe ---------- */
.chatbot-ventana {
    max-height: calc(100vh - 256px);
    max-height: calc(100dvh - 256px);
}

/* Si la pantalla es bajita, baja hasta abajo, al lado de los botones */
@media screen and (min-width: 481px) and (max-height: 760px) {
    .chatbot-ventana {
        bottom: 12px;
        right: 88px;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }
}

/* ---------- Botones flotantes (Luna, Instagram, WhatsApp) ----------
   En pantalla muy bajita (celular acostado) van en fila, abajo a la
   derecha, más pequeños: así no tapan media pantalla */
@media screen and (max-height: 500px) {
    .chatbot-btn,
    .instagram-flotante-btn,
    .whatsapp-btn {
        width: 44px;
        height: 44px;
        bottom: 12px;
    }

    .whatsapp-btn {
        right: 12px;
    }

    .instagram-flotante-btn {
        right: 64px;
    }

    .chatbot-btn {
        right: 116px;
    }

    .chatbot-btn i,
    .instagram-flotante-btn i {
        font-size: 22px;
    }

    .chatbot-ventana {
        bottom: 68px;
        right: 12px;
        max-height: calc(100vh - 80px);
        max-height: calc(100dvh - 80px);
    }
}

/* ---------- Inicio y «Sobre nosotros»: la portada no pasa del alto de la pantalla ---------- */
@media screen and (max-width: 1080px) {
    .slider-home img {
        height: min(88vw, 100vh);
        height: min(88vw, 100svh);
    }
}

.sn-hero {
    max-height: calc(100vh - 100px);
    max-height: calc(100svh - 100px);
    min-height: 320px;
}

/* ---------- Ficha: la foto grande se ve completa sin bajar ---------- */
@media screen and (max-width: 1080px) {
    .imagen-principal {
        max-width: min(500px, 100%, calc((100vh - 24px) * 2 / 3));
        max-width: min(500px, 100%, calc((100svh - 24px) * 2 / 3));
    }
}

@media screen and (min-width: 1081px) and (max-height: 640px) {
    .producto-container {
        --pd-foto: clamp(240px, min(38vw, calc((100vh - 150px) * 2 / 3)), 550px);
    }
}

/* ---------- Checkout: el botón de pagar nunca queda escondido ----------
   En computador, el resumen se queda quieto al lado mientras se llena
   el formulario; si la pantalla no es lo bastante alta para mostrarlo
   completo, baja con la página (antes se cortaba el botón de pagar) */
.checkout-summary {
    overflow-y: auto;
}

@media screen and (min-width: 1081px) and (max-height: 820px) {
    .checkout-summary {
        position: static;
        max-height: none;
        overflow: visible;
    }

    #checkout-items {
        max-height: none;
        overflow: visible;
    }
}

/* Celular y tableta: el resumen va dentro de la página (no al lado), así
   que no lleva tope de alto: se ven todas las prendas y se baja con la
   página (con el tope, en pantallas bajitas la lista quedaba en una rayita) */
@media screen and (max-width: 1080px) {
    .checkout-summary {
        max-height: none;
        overflow: visible;
    }
}

/* Celular: los botones flotantes se suben justo lo que mide el bloque fijo
   de pagar (lo mide checkout.js), para no taparlo nunca */
@media screen and (max-width: 1080px) {
    #pagina-checkout .whatsapp-btn,
    #pagina-checkout .instagram-flotante-btn,
    #pagina-checkout .chatbot-btn {
        transform: translateY(calc(-8px - var(--alto-bloque-pago, 124px)));
    }
}

/* Pantalla bajita (celular acostado o pequeño): el bloque fijo de pagar, más compacto */
@media screen and (max-width: 1080px) and (max-height: 640px) {
    .checkout-accion {
        padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .checkout-accion .checkout-terminos {
        padding: 6px 10px;
        margin-bottom: 6px;
    }

    .checkout-accion .btn-confirmar {
        padding: 10px 14px;
        font-size: 16px;
    }

    .checkout-accion .checkout-transferencia {
        margin: 6px 0 0;
        font-size: 12px;
        line-height: 1.35;
    }

    .checkout-accion .terminos-label {
        font-size: 11px;
        line-height: 1.35;
    }
}

/* ============================================================
   LOS HILOS (estándar y tipo seda brillante)
   La línea «Hilo: … · ¿En qué se diferencian?» encima de los colores
   y la ventanita que compara los hilos (utils.js). La ventanita usa las
   mismas piezas de la guía de tallas (gt-dialogo, gt-caja, gt-cerrar).
   ============================================================ */
.info-hilo {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.info-hilo strong {
    font-weight: 600;
    color: #1a1a1a;
}

.info-hilo-separador {
    margin: 0 6px;
    color: #bbb;
}

.info-hilo-boton {
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: #1a4fa0;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.info-hilo-boton:hover {
    color: #f4a5bc;
}

.info-hilo-boton:focus-visible {
    outline: 2px solid #1a4fa0;
    outline-offset: 2px;
}

/* En «Composición y materiales», el botón va como una línea más, sin viñeta */
#iap-hilo-diferencia {
    list-style: none;
}

.hilos-dialogo {
    max-width: 720px;
}

/* El título y la ✕ se quedan arriba mientras se baja por la comparación */
.hilos-caja .gt-encabezado {
    position: sticky;
    top: -20px;
    z-index: 2;
    margin: -20px -20px 0;
    padding: 20px 20px 8px;
    background: #fff;
}

.hilos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.hilo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid #eee;
    background: #fafafa;
}

/* El hilo de la prenda que se está viendo */
.hilo-card--actual {
    border-color: #9dbce4;
    background: #fff;
    box-shadow: 0 0 0 1px #9dbce4;
}

.hilo-card-esta {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    margin: 0;
    padding: 2px 8px;
    background: #9dbce4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hilo-card-foto {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f6eff2;
    background-size: cover;
    background-position: center;
}

/* Algunos de sus colores, encima de la foto del hilo (si ya está) */
.hilo-card-muestra {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 216px;
}

.hilo-card-color {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

/* Sobre la foto, los colores llevan borde blanco y sombra para que se
   distingan bien */
.hilo-card-foto--con-foto .hilo-card-color {
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hilo-card h3 {
    margin: 0;
    font-size: 17px;
    color: #1a4fa0;
}

.hilo-card-datos {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.hilo-card-datos div {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.hilo-card-datos dt {
    color: #888;
}

.hilo-card-datos dd {
    margin: 0;
    color: #333;
}

.hilo-card-nota {
    margin: 0;
    font-size: 12px;
    font-style: italic;
    color: #666;
}

.hilo-card-colores {
    margin: auto 0 0;
    font-size: 12px;
    color: #888;
}

.hilos-nota {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

/* Pantalla bajita (celular acostado): la foto ocupa menos alto */
@media screen and (max-height: 520px) {
    .hilo-card-foto {
        aspect-ratio: 16 / 9;
    }
}

/* Celular: mientras se ve el aviso «Tienes X productos esperándote en tu
   carrito» (inicio), los botones flotantes se suben lo que mide el aviso
   (lo mide script.js), para que no lo tapen y se pueda cerrar */
@media screen and (max-width: 480px) {
    body.con-recordatorio-carrito .whatsapp-btn,
    body.con-recordatorio-carrito .instagram-flotante-btn,
    body.con-recordatorio-carrito .chatbot-btn {
        transform: translateY(calc(-12px - var(--alto-recordatorio, 80px)));
    }

    body.con-recordatorio-carrito .whatsapp-btn:hover,
    body.con-recordatorio-carrito .instagram-flotante-btn:hover,
    body.con-recordatorio-carrito .chatbot-btn:hover {
        transform: translateY(calc(-12px - var(--alto-recordatorio, 80px))) scale(1.08);
    }
}

/* ============================================================
   CORTE DEL PANTY (bikinis): Clásico o Tanga
   La fila debajo de la talla del panty (ficha, modal del carrito y
   seguimiento) y la ventanita «¿Cuál es la diferencia?» (utils.js)
   ============================================================ */
.corte-panty {
    width: 100%;
}

.corte-panty-titulo {
    margin: 16px 0;
}

.corte-panty-titulo .corte-panty-ayuda {
    margin-left: 6px;
    font-size: 13px;
}

.corte-panty-opciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Los botones del corte miden lo que su texto (los de talla miden 40px) */
.size-btn.corte-btn {
    width: auto;
    min-width: 76px;
    padding: 0 14px;
    margin-right: 0;
}

.cortes-dialogo {
    max-width: 560px;
}

.cortes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.corte-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 12px;
    border: 1px solid #eee;
    background: #fafafa;
}

.corte-card-dibujo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f6eff2;
}

.corte-card-dibujo svg {
    width: 80%;
    height: auto;
    fill: #f4a5bc;
    stroke: #d97c98;
    stroke-width: 2;
    stroke-linejoin: round;
}

.corte-card-dibujo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corte-card figcaption {
    font-size: 13px;
    line-height: 1.45;
    color: #444;
}

.corte-card figcaption strong {
    display: block;
    font-size: 16px;
    color: #1a4fa0;
}

.cortes-caja .gt-encabezado {
    position: sticky;
    top: -20px;
    z-index: 2;
    margin: -20px -20px 0;
    padding: 20px 20px 8px;
    background: #fff;
}

/* ============================================================
   MODAL DEL CARRITO DE LOS BIKINIS (computador)
   Solo para los bikinis (los que tienen talla de panty): tienen tanta
   información (talla del top, del panty, corte, color...) que la columna
   de la derecha quedaba más alta que la foto. En pantallas desde 900px,
   cada opción va en una fila con su nombre a la izquierda y todo queda
   centrado junto a la foto. Los demás productos quedan como siempre.
   ============================================================ */
@media screen and (min-width: 900px) {
    .cart-modal-content:has(#modal-sizes-panty:not(:empty)) {
        max-width: 860px;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) {
        display: grid;
        grid-template-columns: 128px minmax(0, 1fr);
        row-gap: 16px;
        align-content: center;
        align-self: center;
    }

    /* Lo que no se usa en el bikini no deja espacio */
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > :empty {
        display: none;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > * {
        grid-column: 1 / -1;
        margin-top: 0;
        margin-bottom: 0;
    }

    /* Nombre y precio con un poco de aire entre ellos */
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-product-name {
        margin: 0 0 6px;
        padding-right: 28px;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-product-price {
        margin: 0 0 6px;
    }

    /* «Color:» y «Cantidad:» a la izquierda, sus opciones a la derecha */
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > .label-color,
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > .label-cantidad {
        grid-column: 1;
        margin: 0;
        align-self: center;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > .label-color {
        align-self: start;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-colors,
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > .qty-control {
        grid-column: 2;
        margin: 0;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > .label-cantidad label {
        margin: 0;
    }

    /* «Talla Top:» y «Talla Panty:» con sus botones en la misma fila */
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-sizes-top,
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-sizes-panty {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-sizes-top > p,
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-sizes-panty > p {
        flex: 0 0 120px;
        width: auto;
        margin: 0;
    }

    #cart-modal .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-sizes-top > button.size-btn,
    #cart-modal .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > #modal-sizes-panty > button.size-btn {
        margin-right: 0;
    }

    /* «Corte del panty:» con Clásico y Tanga al frente, a la misma altura,
       y «¿Cuál es la diferencia?» debajo de los botones */
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) .corte-panty {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        column-gap: 8px;
        row-gap: 6px;
        align-items: center;
        flex-basis: 100%;
        margin-top: 8px;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) .corte-panty-titulo {
        display: contents;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) .corte-panty-opciones {
        grid-column: 2;
        grid-row: 1;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) .corte-panty-ayuda {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-left: 0;
    }

    /* Color: la línea del hilo y los colores, sin espacio de más */
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) #modal-colors .selector-colores-wrapper,
    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) #modal-colors.selector-colores-wrapper {
        margin: 0;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) #modal-colors .btn-ver-todos-colores {
        padding: 4px 0 0;
        margin-top: 0;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > .modal-confianza {
        margin: 0;
    }

    .cart-modal-right:has(> #modal-sizes-panty:not(:empty)) > .modal-botones-wrapper {
        margin: 0;
        gap: 8px;
    }
}

/* ============================================================
   SELLOS DEL CLUB: CORAZONES ROSADOS
   La franja del Club y la tarjeta (pago exitoso y seguimiento):
   corazón lleno = compra hecha; solo el borde = la que falta
   ============================================================ */
.club-sello {
    display: inline-flex;
    line-height: 0;
}

.club-sello svg {
    display: block;
    fill: #f4a5bc;
    stroke: #f4a5bc;
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.club-sello.vacio svg {
    fill: #fff;
}

/* Los espacios que faltan ya no se ven grises: se ven con solo el borde */
.club-tarjeta-espacios .club-sello.vacio {
    filter: none;
    opacity: 1;
}

.club-tarjeta-titulo .club-sello {
    display: inline-block;
    vertical-align: -2px;
    margin-right: 2px;
}