﻿

/* ===========================================
   BASE GENERAL
=========================================== */

body {
    overflow-x: hidden;
}

 body.no-scroll {
        position: fixed;
        width: 100%;
        overflow: hidden;
    }


/* Contenedor principal del nav */
.nav-categorias .site-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    color: #000;
    text-decoration: none;
    padding: 10px 5px;
    display: block;
}

    /* Link activo en el nav desktop */
    .site-nav__link.active-mega {
        color: var(--color-rosa3);
    }

.newsletter__input{
    height:60px;
}
/* ===========================================
   MEGA MENÚ FIJO BAJO EL HEADER
=========================================== */
.mega-menu {
    position: fixed;
    top: 70px; /* altura del header */
    left: 0;
    width: 100vw;
    background: #fff;
    padding: 25px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
}

/* mostrar menú */
.dropdown-mega.open .mega-menu {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ===========================================
   GRID INTERNO — MÁXIMO 6 COLUMNAS
=========================================== */

.mega-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
    gap: 40px;
    align-items: start;
    justify-content: start;
}

.mega-ver-todo {
    text-align:start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
    display: grid;
    align-items: start;
    justify-content: start;
    margin-bottom:15px;
}

    .mega-ver-todo a {
        border: 2px solid var(--color-rosa2);
        padding: 6px;
        border-radius: 30px;
        padding: 6px 10px 6px 6px;
    }
    /* ===========================================
   CADA COLUMNA
=========================================== */
    .mega-col {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

.mega-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

/* ===========================================
   LISTAS Y SUBLISTAS (ÁRBOL)
=========================================== */

.mega-list,
.mega-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mega-list li {
        margin: 4px 0;
    }

    .mega-list a {
        color: #333;
        text-decoration: none;
        display: block;
        padding: 2px 0;
    }

        .mega-list a:hover {
            color: #ff4fa3;
        }

    /* === Subniveles con ramita en el costado === */
    .mega-list ul {
        margin: 4px 0 4px 15px;
        padding-left: 12px;
        border-left: 1px solid var(--color-rosa3);
        border-left-style: dashed;
    }

/* ===========================================
   MENÚ MOBILE MULTIPANTALLA (VERSIÓN FINAL)
=========================================== */

/* Árbol oculto (solo para leer estructura) */
#mobile-category-tree {
    display: none;
}

/* Contenedor multipanel */
.mobile-multipanel {
    padding: 5px;
}

/* HEADER */
.mobile-panel-header {
    padding: 12px 0 15px;
    border-bottom: 1px solid #f6c6de;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

/* LINK: < VOLVER A ... */
.mobile-panel-backlink {
    font-size: 14px;
    font-weight: 600;
    color: #f48fb1;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
}

    .mobile-panel-backlink i {
        margin-right: 6px;
    }

/* CUERPO */
.mobile-panel-body {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
/*    padding-top: 8px;*/
}

/* Lista */
.mobile-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-panel-item {
    border-bottom: 1px solid #f9e3ee;
}

.mobile-panel-row {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 15px;
    text-align: left;
}

.mobile-panel-text {
    color: #333;
}

.mobile-panel-arrow {
    font-size: 12px;
    color: #f6a4c8;
}

.mobile-panel-row:hover .mobile-panel-text {
    color: var(--color-rosa3);
}

.mobile-panel-row:hover .mobile-panel-arrow {
    color: var(--color-rosa3);
}

/* Animación opcional */
.mobile-multipanel.panel-animating .mobile-panel-body {
    transition: transform .2s ease;
}

/* ===============================
   CTA "VER TODO" – MENÚ MOBILE
================================ */

.mobile-panel-ver-todo-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    color: #f58ab3; /* acento Helia */

    cursor: pointer;
    text-align: left;
}

    .mobile-panel-ver-todo-btn i {
        font-size: 13px;
    }

    .mobile-panel-ver-todo-btn:active {
        opacity: 0.7;
    }


/* ===========================================
   HEADER STICKY
=========================================== */

/* Arreglar contenedores que rompen sticky por transform */
#PageContainer,
.page-container,
.template-index {
    transform: none !important;
}

/* Permitir que sticky se active */
.header-section,
.header-container,
.site-header,
.header-wrapper {
    overflow: visible !important;
}

/* Header sticky */
#tienda-section-header {
    position: sticky !important;
    top: 0;
    z-index: 999;
    background: #fff;
}

    #tienda-section-header .site-header {
        background: #fff !important;
    }

/* ============================
   HUNINCHA MOBILE (<=1024px)
   Con marquee automático
=============================== */
@media (max-width: 1024px) {

    /* GRID PRINCIPAL */
    #tienda-section-announcement .announcement-grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 6px 10px;
        white-space: nowrap;
    }

    /* IZQUIERDA — solo iconos */
    #tienda-section-announcement .announcement-left {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #tienda-section-announcement .announcement-left-message {
        display: none !important;
    }

    /* CENTRO — reemplazamos todo por marquee */
    .announcement-message {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
        overflow: hidden !important;
        padding: 0;
    }

    .announcement-marquee {
        overflow: hidden;
        position: relative;
        width: 100%;
        white-space: nowrap;
    }

    .announcement-marquee-content {
        display: inline-block;
        white-space: nowrap;
        padding-left: 100%;
        animation: marquee-slide 15s linear infinite;
        font-size: 14px;
    }

        .announcement-marquee-content a {
            color: #d47fa7;
            text-decoration: underline;
        }

    /* DERECHA — solo íconos */
    #tienda-section-announcement .announcement-right {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
    }

    #tienda-section-announcement .announcement-right-message {
        display: none !important;
    }

    /* Animación del marquee */
    @keyframes marquee-slide {
        from {
            transform: translateX(0%);
        }

        to {
            transform: translateX(-100%);
        }
    }
}

/* ============================================
   LAYOUT DETALLE PRODUCTO — SOLO COLUMNAS
============================================ */

/* Desktop: 2 columnas 50% */
@media (min-width: 992px) {
    .product-single .grid__item.large--six-twelfths {
        width: 50%;
        float: left;
    }
}

/* Mobile: 1 columna */
@media (max-width: 991px) {
    .product-single .grid__item.large--six-twelfths {
        width: 100%;
        float: none;
    }
}

/* Alineación del bloque izquierdo */
.grid__item.large--six-twelfths.text-center {
    display: block;
    text-align: center;
}

/* Centrado del contenido derecho */
.product-single__meta {
    max-width: 90%;
    margin: 0 auto;
}

/* ============================================
   PAGINACIÓN
============================================ */

.tienda-pagination {
    width: 100%;
    text-align: center;
    margin: 30px 0;
}

    .tienda-pagination ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: inline-flex;
        gap: 6px;
    }

    .tienda-pagination li {
        display: inline-block;
    }

    .tienda-pagination a,
    .tienda-pagination span {
        display: block;
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 15px;
        border: 1px solid #ccc;
        color: #333;
        cursor: pointer;
        transition: all .2s ease;
    }

    .tienda-pagination li a:hover {
        background: #f5f5f5;
    }

    .tienda-pagination li.active span {
        background: var(--color-rosa3);
        color: #fff;
        border-color: var(--color-rosa2);
    }

    .tienda-pagination li.disabled span {
        opacity: 0.4;
        cursor: not-allowed;
        border-color: #ddd;
    }

/* ============================================
   THUMBNAILS DE PRODUCTO
============================================ */

/* Todos los thumbnails comienzan en 0.5 */
.product__slider-thmb .slick-slide img {
    opacity: 0.5;
    transition: opacity .2s ease;
}

/* El thumbnail activo queda con opacidad total */
.product__slider-thmb .slick-current img {
    opacity: 1 !important;
}

/* Hover sobre thumbnails NO activos */
.product__slider-thmb .slick-slide:not(.slick-current):hover img {
    opacity: 0.8;
}

/* ============================================
   UTILIDADES
============================================ */

.text--color3 {
    color: var(--color-rosa3);
}

.has-shadow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* ============================================
   BANDERA DE PROMOCIÓN
============================================ */

.bandera-promocion {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-rosa1);
    color: var(--color-rosa3);
    font-weight: bold;
    padding: 0px 10px 3px 10px;
    text-align: center;
    width: 100%;
}

/* Mobile con marquee */
@media (max-width: 1025.1px) {
    .bandera-promocion {
        overflow: hidden;
        white-space: nowrap;
    }

        .bandera-promocion .bandera-text {
            display: inline-block;
            padding-left: 100%;
            animation: slideText 12s linear infinite;
        }
}

@media (max-width: 600px) {
    .bandera-promocion {
        top: 40px;
        border-radius: 10px 10px 0px 0px;
    }
}

@media (max-width: 360px) {
    .bandera-promocion {
        font-size: 13px;
        padding: 8px;
    }
}

@keyframes slideText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ============================================================
   SELECTORES DE VARIANTES (SWATCHES Y CARDS)
============================================================ */

.hb-selector-group {
    margin-bottom: 0px;
}

.hb-selector-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    letter-spacing: 0.3px;
}

/* SWATCHES DE COLOR (CÍRCULOS) */

.hb-swatch-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hb-swatch-wrap {
    position: relative;
}

.hb-swatch-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hb-swatch {
    --size: 36px;
    width: var(--size);
    height: var(--size);
    border-radius: 8px;
    background: var(--swatch-color, #000);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    position: relative;
}

    .hb-swatch:hover {
        transform: scale(1.08);
        border-color: #ff7dae;
        box-shadow: 0 2px 6px rgba(255, 125, 174, 0.3);
    }

/* Checkmark cuando está seleccionado */
.hb-swatch-radio:checked + .hb-swatch::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.8);
    line-height: 1;
}

/* No disponible */
.hb-swatch.unavailable {
    opacity: 0.4;
    position: relative;
}

    .hb-swatch.unavailable::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 8px;
        background: repeating-linear-gradient(45deg, transparent, #ffffff 0px, rgb(255 255 255) 0px, rgba(200, 200, 200, 0.2) 6px);
        pointer-events: none;
    }

    .hb-swatch.unavailable:hover {
        opacity: 0.7;
    }

/* MINI-CARDS (TALLAS, MODELOS, ETC.) */

.hb-card-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hb-card-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hb-card {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 2px solid #c9c9c9;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    user-select: none;
    min-width: 45px;
    text-align: center;
}

    .hb-card:hover {
        border-color: #ff7dae;
        color: #ff7dae;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(255, 125, 174, 0.2);
    }

/* Seleccionado */
.hb-card-radio:checked + .hb-card {
    border-color: #ff7dae;
    background: #ff7dae;
    color: white;
    box-shadow: 0 2px 6px rgba(255, 125, 174, 0.4);
}

/* No disponible */
.hb-card.unavailable {
    opacity: 0.5;
    position: relative;
    color: #999;
}

    .hb-card.unavailable::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 8px;
        background: repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(200, 200, 200, 0.2) 3px, rgba(200, 200, 200, 0.2) 6px);
        pointer-events: none;
    }

    .hb-card.unavailable:hover {
        opacity: 0.7;
        transform: translateY(-1px);
    }

.hb-card-radio:checked + .hb-card.unavailable {
    opacity: 1;
}

/* MENSAJE DE NO DISPONIBLE */

#MsgNoDisponible {
    padding: 2px 0px;
    color: #ff7dae;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
}

    #MsgNoDisponible::before {
        content: "\f06a";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
        flex-shrink: 0;
        line-height: 1;
    }

/* BOTÓN DESHABILITADO */

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hb-swatch {
        --size: 32px;
    }

    .hb-swatch-radio:checked + .hb-swatch::after {
        font-size: 12px;
    }

    .hb-card {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 40px;
    }

    .hb-selector-title {
        font-size: 13px;
    }

    #MsgNoDisponible {
        font-size: 12px;
        padding: 10px 14px;
    }
}

/* ============================================
   SKELETON LOADING
============================================ */

#productos-container.cargando {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

    #productos-container.cargando::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #333;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ============================================
   LAZY LOADING
============================================ */

img.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

    img.lazy-load.cargada {
        opacity: 1;
    }

/* ============================================
   SELECTOR DE CANTIDAD
============================================ */

.hb-cantidad-wrapper {
    margin-top: 15px;
}

.hb-cantidad {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f7b0c6;
    border-radius: 50px;
    padding: 12px 20px;
    background: #fff;
}

.hb-cantidad-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #f38bb2;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.hb-cantidad-input {
    width: 40px;
    text-align: center;
    font-size: 18px;
    border: none;
    color: #f38bb2;
    font-weight: 600;
}

    .hb-cantidad-input:focus {
        outline: none;
    }

/* ============================================
   CARRITO - DRAWER
============================================ */

.drawer__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    font-weight: bold;
    font-size: 1.1em;
}

.cart-items-detail {
    font-size: 0.85em;
    color: #666;
    font-weight: normal;
}

.cart-item.updating {
    opacity: 0.2;
    pointer-events: none;
    position: relative;
}

    .cart-item.updating::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        border: 3px solid #f3f3f3;
        border-top: 3px solid #333;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        z-index: 10;
    }

/* Mini confirmación de eliminación */
.cart-item-confirm {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confirm-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    margin-bottom: 10px;
    font-weight: 500;
}

    .confirm-message i {
        color: #dc3545;
        font-size: 1.2em;
    }

.confirm-actions {
    display: flex;
    gap: 8px;
}

.btn-confirm-yes,
.btn-confirm-no {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm-yes {
    background: #dc3545;
    color: white !important;
}

    .btn-confirm-yes:hover {
        background: #c82333;
    }

.btn-confirm-no {
    background: #6c757d;
    color: white !important;
}

    .btn-confirm-no:hover {
        background: #5a6268;
    }

/* Deshabilitar item mientras se confirma */
.cart-item.confirming .qty-container,
.cart-item.confirming .cart__product-remove {
    pointer-events: none;
    opacity: 0.5;
}

/* ============================================
   COMPARTIR COLECCIÓN
============================================ */

.share-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .share-button i {
        font-size: inherit;
    }

.collection-controls-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    width: 100%;
}

.label-ordenar {
    font-size: 14px;
    letter-spacing: .4px;
    margin-right: 15px;
}

.collection-sort-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.collection-sortby {
    min-width: 220px;
    display: flex;
    align-items: center;
}

/* Botón compartir circular (oculto en desktop) */
.btn-share-circle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--color-rosa2);
    background: #fff;
    color: var(--color-rosa3);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .collection-controls-wrapper {
        justify-content: stretch;
    }

    .label-ordenar {
        display: none;
    }

    .collection-sort-row {
        width: 100%;
    }

    .btn-share-circle {
        display: flex;
        flex-shrink: 0;
    }

    .collection-sortby {
        flex: 1;
    }

        .collection-sortby .select2-container {
            width: 100% !important;
        }
}

/* ============================================
   FORMULARIOS - EMAIL OFFERS
============================================ */

.email-offers {
    display: flex;
    align-items: start;
    margin-bottom: 10px;
}

    .email-offers .checkmark {
        margin-right: 0px;
    }

    .email-offers .label-text {
        margin-left: 5px;
        display: inline-block;
    }

.ConsentimientosCuenta {
    padding: 8px;
}

.spanChkFiltro {
    margin-right: 3px !important;
}

/* ============================================
   OTP INPUT
============================================ */

.otp-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 25px 0;
}

.otp-input {
    width: 48px;
    height: 55px;
    padding: 0 !important;
    border: 2px solid var(--color-rosa2) !important;
    border-radius: 14px !important;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-rosa3);
    background-color: #fff;
    font-style: normal !important;
    margin-bottom:0px !important;
}

    .otp-input:focus {
        outline: none;
        border-color: var(--color-rosa3);
    }

.HeaderValidacion {
    margin-bottom: 15px;
}

.BtnValidacion {
    margin-top: 0px !important;
}

/* ============================================
   UTILIDADES DE USUARIO
============================================ */

.usr-log {
    font-size: 14px;
    font-family: Abel, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.text-rosa3 {
    color: var(--color-rosa3);
}

/* ============================================
   RESEÑAS
============================================ */

.resena-info {
    margin-top: 15px;
    font-style: italic;
    opacity: 0.85;
}

.resena-link {
    cursor: pointer;
    font-weight: 500;
    color: var(--color-rosa3);
}

    .resena-link a {
        color: var(--color-rosa3);
    }

        .resena-link a:hover {
            opacity: 1;
        }

/* ESTRELLAS */

.stars {
    display: flex;
    gap: 6px;
    align-items: center;
}

    .stars .item {
        cursor: pointer;
        font-size: 28px;
        line-height: 1;
        transition: transform 0.15s ease, opacity 0.15s ease;
    }

        .stars .item .on {
            display: none;
        }

        .stars .item .off {
            display: inline;
            opacity: 0.4;
        }

        .stars .item.active .on {
            display: inline;
        }

        .stars .item.active .off {
            display: none;
        }

.stars-selectable .item:hover {
    transform: scale(1.1);
}

/* ============================================
   TEXTAREA CON CONTADOR
============================================ */

.textarea-wrap {
    position: relative;
}

    .textarea-wrap textarea {
        width: 100%;
        min-height: 120px;
        padding-bottom: 25px;
    }

.char-counter {
    position: absolute;
    bottom: 85px;
    right: 35px;
    font-size: 12px;
    color: #888;
    pointer-events: none;
    user-select: none;
}

    .char-counter.limit-warning {
        color: #d9534f;
    }

@media only screen and (max-width: 640px) {
    .char-counter {
        bottom: 70px;
        right: 20px;
    }
}


.char-counter-contacto {
    position: absolute;
    bottom: -16px;
    right: 2px;
    font-size: 12px;
    color: #888;
    pointer-events: none;
    user-select: none;
}

    .char-counter-contacto.limit-warning {
        color: #d9534f;
    }



/* ==========================================
   CHECKOUT STYLES
========================================== */

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
    padding: 40px 0 80px;
    align-items: start;
}

@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* COLUMNA FORMULARIO */

.checkout-form-column {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .checkout-form-column {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.checkout-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-rosa3);
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .checkout-title {
        font-size: 26px;
    }
}

/* SECCIONES */

.checkout-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-rosa1);
}

.checkout-section--terminos {
    padding: 1rem;
    border-radius: 12px;
    border: 2px dashed var(--color-rosa3);
}

.section-header-chk {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-number {
    width: 36px;
    height: 36px;
    background: var(--color-rosa3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .section-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 18px;
    }
}

.section-content {
    padding-left: 0;
}

/* USUARIO LOGUEADO */

.user-logged-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border: 2px solid var(--color-rosa3);
    border-radius: 12px;
    gap: 1rem;
    border-style: dashed;
}

.user-logged-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .user-logged-info i {
        color: var(--color-rosa3);
        padding-right: 5px;
    }

.user-logged-text {
    display: flex;
    flex-direction: column;
}

    .user-logged-text strong {
        font-size: 16px;
        color: #333;
        margin-bottom: 0.25rem;
    }

    .user-logged-text span {
        font-size: 14px;
        color: #666;
    }

.btn-link-small {
    font-size: 14px;
    color: var(--color-rosa3);
    text-decoration: underline;
    white-space: nowrap;
}

    .btn-link-small:hover {
        opacity: 0.8;
    }

/* FORMULARIOS */

.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.form-col-full {
    grid-column: span 12;
}

.form-col-2 {
    grid-column: span 6;
}

.form-col-3 {
    grid-column: span 8;
}

.form-col-6 {
    grid-column: span 4;
}

@media (max-width: 640px) {
    .form-col-2,
    .form-col-3,
    .form-col-6 {
        grid-column: span 12;
    }
}

.form-group {
    margin-bottom: 0;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        font-size: 14px;
        color: #333;
    }

.required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .form-input:focus,
    .form-select:focus {
        outline: none;
        border-color: var(--color-rosa3);
        box-shadow: 0 0 0 3px rgba(255, 149, 191, 0.1);
    }

    .form-input::placeholder {
        color: #999;
    }

    .form-input:disabled,
    .form-select:disabled {
        background: #f5f5f5;
        cursor: not-allowed;
        opacity: 0.6;
    }

/* CHECKBOXES */

.checkbox-group {
    margin-top: 1rem;
}

    .checkbox-group:first-child {
        margin-top: 0;
    }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
}

    .checkbox-label input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-rosa3);
    border-color: var(--color-rosa3);
}

    .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 11px;
    }

.checkbox-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.link-inline {
    color: var(--color-rosa3);
    text-decoration: underline;
    font-weight: 600;
}

    .link-inline:hover {
        opacity: 0.8;
    }

/* OPCIONES DE ENVÍO Y PAGO */

.shipping-options,
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shipping-option,
.payment-option {
    position: relative;
}

    .shipping-option input[type="radio"],
    .payment-option input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .shipping-option label,
    .payment-option label {
        display: block;
        cursor: pointer;
    }

label.shipping-option {
    margin-bottom: 5px;
}

.shipping-option-content,
.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
}

.shipping-option input[type="radio"]:checked ~ .shipping-option-content,
.payment-option input[type="radio"]:checked ~ .payment-option-content {
    border-color: var(--color-rosa3);
    box-shadow: 0 0 0 3px rgba(255, 149, 191, 0.1);
}

.shipping-option-content:hover,
.payment-option-content:hover {
    border-color: var(--color-rosa2);
}

.shipping-option-icon,
.payment-option-icon {
    width: 40px;
    height: 40px;
    background: var(--color-rosa1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .shipping-option-icon i,
    .payment-option-icon i {
        font-size: 20px;
        color: var(--color-rosa3);
    }

.payment-logo {
    max-height: 24px;
    width: auto;
}

.shipping-option-details,
.payment-option-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.shipping-option-title,
.payment-option-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.shipping-option-subtitle,
.payment-option-subtitle {
    font-size: 13px;
    color: #666;
}

.shipping-option-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-rosa3);
    white-space: nowrap;
}

.shipping-option-price--free {
    color: var(--clolor-rosa3);
    font-weight:500;
}

/* FORMULARIOS CONDICIONALES */

.direccion-form,
.retiro-form,
.receptor-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--color-rosa1);
}

/* INPUT GROUP CON PREFIJO */

.input-group-prefix {
    position: relative;
    display: flex;
    align-items: stretch;
}

.input-prefix {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-right: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--color-rosa3);
    pointer-events: none;
    z-index: 1;
}

.form-input--with-prefix {
    padding-left: 4.5rem !important;
    border-radius: 8px;
}

.input-group-prefix .form-input--with-prefix:focus {
    outline: none;
    border-color: var(--color-rosa3);
    box-shadow: 0 0 0 3px rgba(255, 149, 191, 0.1);
}

.input-group-prefix .form-input--with-prefix:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

    .input-group-prefix .form-input--with-prefix:disabled ~ .input-prefix,
    .form-input--with-prefix:disabled + .input-prefix {
        background: #f5f5f5;
        opacity: 0.6;
    }

.input-group-prefix:has(.form-input--with-prefix:disabled) .input-prefix {
    background: #f5f5f5;
    opacity: 0.6;
}

@media (max-width: 640px) {
    .input-prefix {
        padding: 0 0.75rem;
        font-size: 14px;
    }

    .form-input--with-prefix {
        padding-left: 4rem !important;
    }
}

/* BOTONES DE ACCIÓN */

.checkout-actions--left {
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-rosa1);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

    .btn-back:hover {
        color: var(--color-rosa3);
        transform: translateX(-3px);
    }

    .btn-back i {
        font-size: 14px;
    }

@media (max-width: 768px) {
    .btn-back {
        width: auto;
        justify-content: flex-start;
    }

    .checkout-actions--left {
        justify-content: center;
    }
}

/* COLUMNA RESUMEN */

.checkout-summary-column {
    position: sticky;
    top: 120px;
}

@media (max-width: 1024px) {
    .checkout-summary-column {
        position: relative;
        top: 0;
    }
}

.checkout-summary {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--color-rosa1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .checkout-summary {
        padding: 1.5rem;
    }
}

.summary-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-header-actions {
    display: flex;
    justify-content: flex-end;
}

.summary-toggle {
    text-align: end;
    color: var(--color-rosa3);
}

.checkout-summary.open .summary-toggle i {
    transform: rotate(180deg);
}

.summary-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-rosa3);
    margin: 0;
}

@media (max-width: 768px) {
    .summary-title {
        font-size: 20px;
    }
}

/* Animación del contenido */

.summary-items-inner {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
    scrollbar-width: none;
    transition: max-height 0.6s cubic-bezier(.25,.8,.25,1), opacity 0.25s ease 0.1s, transform 0.35s ease;
}

    .summary-items-inner::-webkit-scrollbar {
        display: none;
    }

.checkout-summary.open .summary-items-inner {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    scrollbar-gutter: stable;
}

/* CÓDIGO DE DESCUENTO */

.discount-box {
    margin-bottom: 1.5rem;
}

.input-btn-group {
    display: flex;
    gap: 0.5rem;
}

.input-btn-group__input {
    flex: 1;
}

.input-btn-group__btn {
    flex-shrink: 0;
}

.discount-message {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 13px;
}

    .discount-message.success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .discount-message.error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

/* LISTA DE PRODUCTOS */

.summary-items {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

    .summary-items::-webkit-scrollbar {
        width: 6px;
    }

    .summary-items::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .summary-items::-webkit-scrollbar-thumb {
        background: var(--color-rosa2);
        border-radius: 10px;
    }

.summary-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

    .summary-item:last-child {
        border-bottom: none;
    }

.summary-item__image {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

    .summary-item__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }

.summary-item__qty {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--color-rosa3);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #fff;
}

.summary-item__details {
    flex: 1;
    min-width: 0;
}

.summary-item__name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.summary-item__sku {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.summary-item__price {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-rosa3);
    white-space: nowrap;
}

/* DESGLOSE DE TOTALES */

.summary-totals {
    border-top: 2px solid var(--color-rosa1);
    padding-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 15px;
    color: #666;
}

    .summary-row:last-child {
        margin-bottom: 0;
    }

    .summary-row small {
        font-size: 12px;
        color: #999;
        font-weight: 400;
    }

.summary-row--discount {
    color: #27ae60;
}

.summary-discount {
    color: #27ae60;
    font-weight: 600;
}

.summary-row--total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-rosa2);
    font-size: 18px;
}

    .summary-row--total strong {
        color: #333;
    }

.summary-total {
    font-size: 26px;
    color: var(--color-rosa3);
}

/* BOTÓN FINALIZAR EN SIDEBAR */

.btn-finalizar--sticky {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 17px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 149, 191, 0.25);
    transition: all 0.3s ease;
}

    .btn-finalizar--sticky:hover {
        box-shadow: 0 6px 20px rgba(255, 149, 191, 0.4);
    }

    .btn-finalizar--sticky:active {
        transform: translateY(0);
    }

    .btn-finalizar--sticky:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .btn-finalizar--sticky i {
        font-size: 16px;
    }

    .btn-finalizar--sticky .btn-text {
        font-size: 17px;
    }

@media (max-width: 1024px) {
    .btn-finalizar--sticky {
        background: var(--color-rosa3);
        border-top: none;
        padding-top: 1.25rem;
        margin-top:2rem;
    }
}

@media (max-width: 768px) {
    .btn-finalizar--sticky {
        font-size: 16px;
        padding: 1rem 1.5rem;
    }

        .btn-finalizar--sticky .btn-text {
            font-size: 16px;
        }

    #popup-content {
        width:95%;
    }

}

/* BADGES DE CONFIANZA */

.trust-badges {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--color-rosa1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .trust-badges {
        gap: 0.75rem;
    }
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .trust-badge {
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }
}

.trust-badge i {
    font-size: 28px;
    color: var(--color-rosa3);
}

.trust-badge span {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

/* ==========================================
   MODALS
========================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

    .modal-overlay.active {
        display: flex;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    width: 100%;
}

.modal-container--small {
    max-width: 480px;
}

.modal-container--medium {
    max-width: 600px;
}

.modal-container--large {
    max-width: 900px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 2px solid var(--color-rosa1);
}

.modal-header--warning {
    background: #fff3cd;
    border-bottom-color: #ffc107;
}

.modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-rosa3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header--warning .modal-title {
    color: #856404;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-rosa1);
    color: var(--color-rosa3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .modal-close:hover {
        background: var(--color-rosa3);
        color: #fff;
        transform: rotate(90deg);
    }

.modal-body {
    padding: 2rem;
    padding-top: 1rem;
}

.modal-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 15px;
    text-align: center;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    z-index: 1;
}

.form-input--with-icon {
    padding-left: 3rem;
}

.modal-alert {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 14px;
    display: none;
    align-items: center;
    gap: 1.2rem;
}

    .modal-alert.active {
        display: flex;
    }

.modal-alert--error {
    background: #fee;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modal-alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.modal-alert--info {
    color: #3c3c3c;
    border: 2px solid var(--color-rosa3);
    border-style: dashed;
}

    .modal-alert--info i {
        color: var(--color-rosa3);
        font-size: 20px;
    }

/* Stock items */

.stock-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

    .stock-items::-webkit-scrollbar {
        width: 6px;
    }

    .stock-items::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .stock-items::-webkit-scrollbar-thumb {
        background: var(--color-rosa2);
        border-radius: 10px;
    }

.stock-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dee2e6;
}

.stock-item--agotado {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.stock-item--parcial {
    border-left-color: #f39c12;
    background: #fffbf0;
}

.stock-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.stock-item--agotado .stock-item__icon {
    background: #fee;
    color: #e74c3c;
}

.stock-item--parcial .stock-item__icon {
    background: #fff3cd;
    color: #f39c12;
}

.stock-item__info {
    flex: 1;
}

.stock-item__name {
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
    font-size: 14px;
}

.stock-item__status {
    font-size: 13px;
    color: #666;
    margin: 0;
}

    .stock-item__status strong {
        color: #333;
    }

/* TABLA DE STOCK */

.stock-table {
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--color-rosa1);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.stock-table-header {
    display: grid;
    grid-template-columns: 3fr 0.5fr 0.5fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-rosa1);
    border-bottom: 2px solid var(--color-rosa2);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-rosa3);
}

.stock-table-row {
    display: grid;
    grid-template-columns: 3fr 0.5fr 0.5fr;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

    .stock-table-row:last-child {
        border-bottom: none;
    }

    .stock-table-row:hover {
        background: #fafafa;
    }

.stock-row--agotado {
    background: #fff5f5;
}

    .stock-row--agotado:hover {
        background: #ffe8e8;
    }

.stock-row--parcial {
    background: #fffbf0;
}

    .stock-row--parcial:hover {
        background: #fff4d6;
    }

.stock-col {
    display: flex;
    align-items: center;
}

.stock-col--producto {
    justify-content: flex-start;
}

.stock-col--solicitado,
.stock-col--disponible,
.stock-col--estado {
    justify-content: center;
}

.stock-producto {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stock-producto__image {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
}

    .stock-producto__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0px;
    }

.stock-producto__info {
    flex: 1;
    min-width: 0;
}

.stock-producto__name {
    margin: 0 0 0.25rem 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stock-producto__sku {
    font-size: 12px;
    color: #999;
}

.stock-cantidad {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 300;
    font-size: 30px;
}

    .stock-cantidad i {
        font-size: 14px;
    }

.stock-cantidad--solicitado {
    color: var(--color-rosa3);
}

.stock-cantidad--agotado {
    background: #ffebee;
    color: #c62828;
}

.stock-cantidad--limitado {
    background: #fff3e0;
    color: #ef6c00;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

    .stock-badge i {
        font-size: 12px;
    }

.stock-badge--agotado {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.stock-badge--parcial {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffcc80;
}

/* Actions */

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.btn--full {
    width: 100%;
}

/* Footer links */

.modal-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.modal-footer-links--stacked {
    flex-direction: column;
}

.link-small {
    font-size: 13px;
    color: var(--color-rosa3);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .link-small:hover {
        opacity: 0.7;
        text-decoration: underline;
    }

    .link-small i {
        font-size: 12px;
    }

.separator {
    color: #ccc;
    user-select: none;
}

/* Responsive modals */

@media (max-width: 768px) {
    .modal-container {
        max-height: 95vh;
    }

    .modal-container--large {
        max-width: 100%;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-actions--split {
        grid-template-columns: 1fr;
    }

    .modal-footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .separator {
        display: none;
    }

    .stock-table-header {
        display: none;
    }

    .stock-table-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .stock-col {
        justify-content: flex-start !important;
    }

    .stock-col--producto {
        order: 1;
    }

    .stock-col--estado {
        order: 2;
    }

    .stock-col--solicitado,
    .stock-col--disponible {
        order: 3;
    }

        .stock-col--solicitado::before {
            content: "Solicitado: ";
            font-weight: 600;
            color: #666;
            margin-right: 0.5rem;
        }

        .stock-col--disponible::before {
            content: "Disponible: ";
            font-weight: 600;
            color: #666;
            margin-right: 0.5rem;
        }

    .stock-producto {
        width: 100%;
    }

    .stock-producto__image {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .stock-producto__image {
        width: 48px;
        height: 48px;
    }

    .stock-producto__name {
        font-size: 13px;
    }

    .stock-cantidad,
    .stock-badge {
        font-size: 12px;
        padding: 0.4rem 0.8rem;
    }
}

/* =====================================================
   FILTROS DRAWER MOBILE
===================================================== */

@media (max-width: 1024px) {

    .btn-filtros-mobile {
        width: 100%;
        margin-bottom: 15px;
        background: #fff;
        border: 2px solid var(--color-rosa2);
        color: var(--color-rosa3);
        border-radius: 10px;
        padding: 12px 16px;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    body.filtros-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
        touch-action: none;

    }

    .filtros-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.45s ease;
        z-index: 9998;
    }

    body.filtros-open .filtros-overlay {
        opacity: 1;
        pointer-events: auto;
    }





    .filtros-drawer-header {
        padding: 16px;
        padding-top: calc(16px + env(safe-area-inset-top));
        border-bottom: 1px solid #eee;
        background: #fff;
        font-weight: 600;
        flex-shrink: 0;
        z-index: 1;
    }



    .filtros-drawer .wrapper {
        max-width: 100%;
        padding: 0;
    }

    .filtros-drawer,
    .filtros-drawer-body,
    .sidebar-productos {
        overflow-x: hidden;
    }

        .sidebar-productos * {
            max-width: 100%;
            box-sizing: border-box;
        }

        .sidebar-productos .label-text {
            word-break: break-word;
            white-space: normal;
        }

        .sidebar-productos .custom-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .sidebar-productos .form-check {
            width: 100%;
        }

    .contenido-productos > .sidebar-productos {
        display: none;
    }

    .filtros-drawer-footer {
        padding: 15px;
        border-top: 1px solid #eee;
        background: #fff;
        flex-shrink: 0;
    }

    .btn-aplicar-filtros {
        width: 100%;
        background: var(--color-rosa3);
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 14px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }
}

/* Visibilidad desktop vs mobile */

@media (min-width: 1024px) {
    .contenido-productos > .sidebar-productos {
        display: block;
    }

    .btn-filtros-mobile {
        display: none !important;
    }

    .filtros-overlay,
    .filtros-drawer {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .contenido-productos > .sidebar-productos {
        display: none;
    }

    .btn-filtros-mobile {
        display: flex;
    }

    .filtros-overlay,
    .filtros-drawer {
        display: block;
    }
}

/* ========================================
   PRODUCT GRID - SISTEMA MODERNO V2.0
======================================== */

:root {
    --product-grid-gap: 20px;
    --product-grid-gap-mobile: 12px;
    --product-card-border: #f0f0f0;
    --product-card-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --product-badge-bg: var(--color-rosa3, #ff95bf);
    --product-badge-text: #ffffff;
    --product-price-current: #2c2c2c;
    --product-price-original: #999;
    --product-title-color: #2c2c2c;
    --product-title-hover: var(--color-rosa3, #ff95bf);
    --product-transition: all 0.3s ease;
}

.product-grid-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--product-grid-gap-mobile);
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--product-grid-gap);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--product-grid-gap);
    }
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--product-transition);
    border: 1px solid var(--product-card-border);
    height: 100%;
}

    .product-card:hover {
        box-shadow: var(--product-card-hover-shadow);
        transform: translateY(-2px);
    }

.product-card__image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card__image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

/* ETIQUETA/BANDERA CON SCROLL */

.product-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: var(--product-badge-bg);
    color: var(--product-badge-text);
    padding: 8px 12px;
    border-radius: 8px 8px 0 0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.product-card__badge-text {
    display: inline-block;
    white-space: nowrap;
    animation: badge-marquee 12s linear infinite;
    padding-right: 20px;
}

.product-card:hover .product-card__badge-text {
    animation-play-state: paused;
}

@keyframes badge-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.product-card__badge-text--short {
    animation: none;
    padding-right: 0;
}

@media (max-width: 767px) {
    .product-card__badge {
        padding: 6px 8px;
        font-size: 10px;
        font-weight: 300;
    }

    .product-card__badge-text {
        animation-duration: 15s;
    }
}

.product-card__info {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    background: #fff;
}

@media (min-width: 1024px) {
    .product-card__info {
        padding: 20px 16px;
    }
}

.product-card__title-link {
    text-decoration: none;
    color: inherit;
}

.product-card__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--product-title-color);
    font-weight: 500;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.4em * 2);
}

@media (min-width: 1024px) {
    .product-card__title {
        font-size: 15px;
    }
}

.product-card__title-link:hover .product-card__title {
    color: var(--product-title-hover);
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-card__price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--product-price-current);
}

@media (min-width: 1024px) {
    .product-card__price-current {
        font-size: 20px;
    }
}

.product-card__price-original {
    font-size: 14px;
    color: var(--product-price-original);
    text-decoration: line-through;
    font-weight: 400;
}

/* PAGINACIÓN */

.product-pagination {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.pagination-item {
    margin: 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--product-transition);
    cursor: pointer;
}

    .pagination-btn:hover:not(.pagination-btn--disabled):not(.pagination-btn--active) {
        background: var(--color-rosa1, #ffefef);
        border-color: var(--color-rosa3, #ff95bf);
        color: var(--color-rosa3, #ff95bf);
    }

.pagination-btn--active {
    background: var(--color-rosa3, #ff95bf);
    border-color: var(--color-rosa3, #ff95bf);
    color: #fff;
    font-weight: 700;
    cursor: default;
}

.pagination-btn--disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-item--ellipsis {
    pointer-events: none;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #999;
    font-size: 14px;
}

/* ESTADO VACÍO */

.product-grid-empty {
    padding: 80px 20px;
    text-align: center;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state__icon {
    width: 85px;
    height: 85px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.empty-state__title {
    font-size: 20px;
    font-weight: 600;
    color: #666;
    margin: 0 0 12px;
}

.empty-state__text {
    font-size: 15px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

/* RESETEO DE ESTILOS ANTIGUOS */

.product-grid .grid,
.product-grid .grid__item,
.product-grid .grid-product,
.product-grid .grid-spacer,
.product-grid .collection-list-products {
    all: unset;
    box-sizing: border-box;
}

.product-grid [class*="twelfths"],
.product-grid [class*="large--"],
.product-grid [class*="medium--"],
.product-grid [class*="small--"] {
    width: auto !important;
    flex: none !important;
    max-width: none !important;
}

.product-grid * {
    float: none !important;
}

/* LOADING STATE */

.product-card--loading {
    pointer-events: none;
    opacity: 0.6;
}

    .product-card--loading .product-card__image {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ACCESIBILIDAD */


@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card__image,
    .pagination-btn {
        transition: none;
    }

        .product-card:hover {
            transform: none;
        }

            .product-card:hover .product-card__image {
                transform: none;
            }
}

@media (max-width: 465px) {
    .user-logged-box {
        flex-direction: column; /* en mobile, apila todo */
        align-items: flex-start;
        gap:0.5rem;
    }
}


.BtnAceptarRecuperar{
    margin-left:0 !important;
}

.BtnCerrarRecuperar {
    margin-right: 0 !important;
}

@media (max-width: 1024px) {
    #BtnUp {
        right: 47%;
    }
}

@media (max-width: 768px) {
    #BtnUp {
        right: 3%;
    }
    .btn-wsp {
        left: 2%;
    }
}

@media (max-width: 446px) {
    .bottom-footer {
        padding-top: 15px;
        padding-bottom: 60px;
    }
}
    

   /* .BtnAceptarRecuperar {
        margin: 0px 0px 15px 0px !important;
    }*/

    .BtnCerrarRecuperar {
        margin: 0 !important;
    }
}


@media (max-width: 400px) {
    #BtnUp {
        right: 45%;
    }
}


@media screen and (max-width: 769px) {
    #section-footer .main-footer.grid {
        margin-left: 0;
    }

    #section-footer .main-footer .grid__item {
        padding-left: 0;
    }

    .WrpFooterMob {
        padding-left: 0px;
        padding-right: 0px;
    }
}
@media (max-width: 1024px) {
    .filtros-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 360px;
        height: 100dvh;
        background: #fff;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        transform: translateX(-110%);
        transition: transform 0.6s cubic-bezier(.16, 1, .3, 1);
    }

    body.filtros-open .filtros-drawer {
        transform: translateX(0);
    }

    .filtros-drawer-body {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===============================
   SEGUIR MIRANDO – CART DRAWER
================================ */

.drawer__subheader {
    padding: 15px;
    border-bottom: 1px solid #f2b6c9; /* rosado suave */
}

.drawer-continue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #f58ab3; /* acento Helia */

    text-decoration: none;
    cursor: pointer;
}

    .drawer-continue i {
        font-size: 12px;
    }

    .drawer-continue:active {
        opacity: 0.7;
    }


/* ============================================
   DRAWERS – CONFIGURACIÓN FINAL
   ============================================ */

/* ===============================
   MOBILE (<=768px)
   =============================== */

/* Menú mobile (izquierda) */
@media (max-width: 768px) {
    .drawer--left {
        width: 85%;
        max-width: 360px;
    }
}

/* Carrito (derecha) */
@media (max-width: 768px) {
    .drawer--right {
        width: 85%;
    }
}


/* ===============================
   TABLET (769px – 1024px)
   =============================== */

/* Menú mobile */
@media (min-width: 769px) and (max-width: 1024px) {
    .drawer--left {
        width: 360px;
    }
}

/* Carrito */
@media (min-width: 769px) and (max-width: 1024px) {
    .drawer--right {
        width: 420px;
        max-width: 90vw;
    }
}


/* ===============================
   DESKTOP (>=1025px)
   =============================== */

/* Carrito */
@media (min-width: 1025px) {
    .drawer--right {
        width: 400px;
    }
}
/* ==========================================
   ESTILOS NUEVAS VISTAS - AGREGAR AL FINAL DE estilos2.css
   ========================================== */

/* ==========================================
   BREADCRUMB
========================================== */

.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

    .breadcrumb-item::after {
        content: "/";
        margin-left: 0.5rem;
        color: #ccc;
    }

    .breadcrumb-item:last-child::after {
        display: none;
    }

    .breadcrumb-item a {
        color: var(--color-rosa3);
        text-decoration: none;
        transition: opacity 0.2s ease;
    }

        .breadcrumb-item a:hover {
            opacity: 0.7;
        }

.breadcrumb-item--active span {
    color: #666;
}

/* ==========================================
   PÁGINA ESTÁTICA (Políticas, Términos, etc.)
========================================== */

.static-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.static-page__header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-rosa1);
}

.static-page__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-rosa3);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .static-page__title {
        font-size: 28px;
    }
}

.static-page__subtitle {
    font-size: 18px;
    color: #666;
    margin: 0 0 1rem 0;
}

.static-page__date {
    font-size: 14px;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.static-page__content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

    .static-page__content p {
        margin-bottom: 1.5rem;
    }

    .static-page__content h2,
    .static-page__content h3,
    .static-page__content h4 {
        color: #333;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .static-page__content ul,
    .static-page__content ol {
        margin-bottom: 1.5rem;
        padding-left: 1.5rem;
    }

    .static-page__content li {
        margin-bottom: 0.5rem;
    }

.static-section {
    margin-bottom: 2.5rem;
}

.static-section__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-rosa3);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px dashed var(--color-rosa1);
}

.static-section__body {
    padding-top: 0.5rem;
}

/* CTA */

.static-page__cta {
    text-align: center;
    padding: 2.5rem;
    background: var(--color-rosa1);
    border-radius: 16px;
    margin-top: 3rem;
}

    .static-page__cta p {
        font-size: 18px;
        color: #333;
        margin: 0 0 1.5rem 0;
    }

/* Contacto box */

.static-page__contact {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border: 2px dashed var(--color-rosa3);
    border-radius: 16px;
    text-align: center;
}

    .static-page__contact h3 {
        font-size: 20px;
        color: var(--color-rosa3);
        margin: 0 0 0.5rem 0;
    }

    .static-page__contact p {
        color: #666;
        margin: 0 0 1.5rem 0;
    }

.static-page__contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   CONTACTO
========================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    padding: 2rem 0 4rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Columna info */

.contact-info-column {
    position: sticky;
    top: 120px;
}

@media (max-width: 1024px) {
    .contact-info-column {
        position: relative;
        top: 0;
    }
}

.contact-info-card {
    background: linear-gradient(135deg, var(--color-rosa1) 0%, #fff 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--color-rosa2);
}

.contact-info__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-rosa3);
    margin: 0 0 1rem 0;
}

.contact-info__text {
    color: #555;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method__icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

    .contact-method__icon i {
        font-size: 22px;
        color: var(--color-rosa3);
    }

.contact-method__content {
    display: flex;
    flex-direction: column;
}

    .contact-method__content strong {
        font-size: 14px;
        color: #666;
        margin-bottom: 2px;
    }

    .contact-method__content a {
        color: #333;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .contact-method__content a:hover {
            color: var(--color-rosa3);
        }

.contact-hours {
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 2rem;
}

    .contact-hours h3 {
        font-size: 15px;
        color: #333;
        margin: 0 0 0.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .contact-hours h3 i {
            color: var(--color-rosa3);
        }

    .contact-hours p {
        color: #666;
        margin: 0;
        font-size: 14px;
    }

.contact-faq-link {
    padding-top: 1.5rem;
    border-top: 2px dashed var(--color-rosa2);
}

    .contact-faq-link p {
        font-size: 14px;
        color: #666;
        margin: 0 0 1rem 0;
    }

/* Columna formulario */

.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 1.5rem;
    }
}

.contact-form__title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 2rem 0;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 0.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* File upload */

.file-upload {
    position: relative;
}

.file-upload__input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed #ddd;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

    .file-upload__label:hover {
        border-color: var(--color-rosa3);
        background: var(--color-rosa1);
    }

    .file-upload__label i {
        font-size: 32px;
        color: var(--color-rosa3);
        margin-bottom: 0.75rem;
    }

.file-upload__text {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.file-upload__hint {
    font-size: 12px;
    color: #999;
}

.file-upload__filename {
    display: none;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--color-rosa1);
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-rosa3);
}

.contact-form__actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-rosa1);
}

/* Alertas */

.alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 14px;
}

    .alert i {
        font-size: 20px;
        flex-shrink: 0;
    }

.alert--success {
    color: var(--color-rosa3);
    border: 2px solid var(--color-rosa3);
    border-style: dashed;
}

.alert--error {
    color: var(--color-rosa3);
    border: 2px solid var(--color-rosa3);
    border-style: dashed;
}

/* ==========================================
   FAQs
========================================== */

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-header__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-rosa3);
    margin: 0 0 1rem 0;
}

@media (max-width: 768px) {
    .faq-header__title {
        font-size: 28px;
    }
}

.faq-header__subtitle {
    font-size: 17px;
    color: #666;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buscador */

.faq-search {
    margin-bottom: 2rem;
}

.faq-search__input-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.faq-search__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.faq-search__input {
    padding-left: 3rem;
    padding-right: 3rem;
}

.faq-search__clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: #eee;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

    .faq-search__clear:hover {
        background: var(--color-rosa3);
        color: #fff;
    }

.faq-search__hint {
    text-align: center;
    font-size: 13px;
    color: var(--color-rosa3);
    margin-top: 0.75rem;
}

/* Navegación de categorías */

.faq-nav {
    margin-bottom: 2.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.faq-nav__list {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .faq-nav__list {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
}

.faq-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--color-rosa2);
    border-radius: 30px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

    .faq-nav__link:hover {
        background: var(--color-rosa1);
        border-color: var(--color-rosa3);
        color: var(--color-rosa3);
    }

    .faq-nav__link i {
        font-size: 16px;
    }

/* Grupos */

.faq-group {
    margin-bottom: 3rem;
}

.faq-group__header {
    margin-bottom: 1.5rem;
}

.faq-group__title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .faq-group__title i {
        color: var(--color-rosa3);
    }

.faq-group__description {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Acordeón */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .faq-item:hover {
        border-color: var(--color-rosa2);
    }

.faq-item--open {
    border-color: var(--color-rosa3);
    box-shadow: 0 4px 15px rgba(255, 149, 191, 0.15);
}

.faq-item--highlight {
    background: #fff;
}

.faq-item__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.faq-item__question {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    flex: 1;
}

.faq-item__icon {
    width: 32px;
    height: 32px;
    background: var(--color-rosa1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .faq-item__icon i {
        font-size: 12px;
        color: var(--color-rosa3);
        transition: transform 0.3s ease;
    }

.faq-item--open .faq-item__icon {
    background: var(--color-rosa3);
}

    .faq-item--open .faq-item__icon i {
        color: #fff;
        transform: rotate(180deg);
    }

.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.25,.8,.25,1);
}

.faq-item--open .faq-item__body {
    max-height: 1000px;
}

.faq-item__answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

    .faq-item__answer p {
        margin: 0 0 1rem 0;
    }

        .faq-item__answer p:last-child {
            margin-bottom: 0;
        }

    .faq-item__answer ul,
    .faq-item__answer ol {
        margin: 0 0 1rem 0;
        padding-left: 1.25rem;
    }

    .faq-item__answer li {
        margin-bottom: 0.5rem;
    }

/* Estado vacío y sin resultados */

.faq-empty,
.faq-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

    .faq-empty i,
    .faq-no-results i {
        font-size: 48px;
        margin-bottom: 1rem;
        color: #ddd;
    }

    .faq-no-results h3 {
        color: #666;
        margin: 0 0 0.5rem 0;
    }

    .faq-no-results a {
        color: var(--color-rosa3);
    }

/* CTA contacto */

.faq-contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    
    border: 2px solid var(--color-rosa3);
    border-radius: 16px;
    margin-top: 3rem;
    border-style:dashed;
}

@media (max-width: 640px) {
    .faq-contact-cta {
        flex-direction: column;
        text-align: center;
    }
}

.faq-contact-cta__content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .faq-contact-cta__content {
        flex-direction: column;
    }
}

.faq-contact-cta__content i {
    font-size: 40px;
    color: var(--color-rosa3);
}

.faq-contact-cta__content h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 0.25rem 0;
}

.faq-contact-cta__content p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* ==========================================
   RESULTADO DE COMPRA / CHECKOUT
========================================== */

.result-wrapper {
    padding: 3rem 0 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.result-wrapper--centered {
    max-width: 640px;
    text-align: center;
}

/* Estado principal */

.result-status {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.result-status--success {
    border: 2px solid var(--color-rosa3);
}

.result-status--error {
    border: 2px solid #e41a2e;
}

.result-status--warning {
    
    border: 2px solid var(--color-rosa3);
}

.result-status--cancelled {
    background: linear-gradient(135deg, #e2e3e5 0%, #f8f9fa 100%);
    border: 2px solid #d6d8db;
}

.result-status--info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5faff 100%);
    border: 2px solid #90caf9;
}

.result-status--neutral {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    border: 2px solid #e0e0e0;
}

.result-status__icon {
    margin-bottom: 1.5rem;
}

    .result-status__icon i {
        font-size: 72px;
    }

.result-status--success .result-status__icon i {
    color: var(--color-rosa3);
}

.result-status--error .result-status__icon i {
    color: #e41a2e;
}

.result-status--warning .result-status__icon i {
    color: var(--color-rosa3);
}

.result-status--cancelled .result-status__icon i {
    color: #6c757d;
}

.result-status--info .result-status__icon i {
    color: #1976d2;
}

.result-status--neutral .result-status__icon i {
    color: #757575;
}

.result-status__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.result-status--success .result-status__title {
    color:  var(--color-rosa3);
}

.result-status--error .result-status__title {
    color: #e41a2e;
}

.result-status--warning .result-status__title {
    color: var(--color-rosa3);
}

.result-status--cancelled .result-status__title {
    color: #383d41;
}

.result-status--info .result-status__title {
    color: #1565c0;
}

.result-status--neutral .result-status__title {
    color: #424242;
}

@media (max-width: 768px) {
    .result-status__title {
        font-size: 26px;
    }

    .result-status__icon i {
        font-size: 56px;
    }
}

.result-status__message {
    font-size: 17px;
    color: #555;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.result-status__order-number {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    gap: 0.25rem;
    width:100%;
}

    .result-status__order-number span {
        font-size: 13px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .result-status__order-number strong {
        color: #333;
    }

/* Grid de detalles */

.result-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
}

/* Secciones */

.result-section {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--color-rosa2);
}

.result-section__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.25rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px dashed var(--color-rosa1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .result-section__title i {
        color: var(--color-rosa3);
    }

/* Items del pedido */

.result-items {
    display: flex;
    flex-direction: column;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

    .result-item:last-child {
        border-bottom: none;
    }

.result-item__image {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

    .result-item__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid #e0e0e0;
    }

.result-item__qty {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-rosa3);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid #fff;
}

.result-item__details {
    flex: 1;
    min-width: 0;
}

.result-item__name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.result-item__sku {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.result-item__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-rosa3);
    white-space: nowrap;
}

/* Totales */

.result-totals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-rosa1);
}

.result-totals__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 15px;
    color: #666;
}

.result-totals__row--discount {
    color: #27ae60;
}

.result-totals__row--total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed var(--color-rosa2);
    font-size: 18px;
}

    .result-totals__row--total strong {
        color: var(--color-rosa3);
    }

/* Info cards */

.result-info-card {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

    .result-info-card p {
        margin: 0 0 0.5rem 0;
    }

        .result-info-card p:last-child {
            margin-bottom: 0;
        }

    .result-info-card i {
        width: 20px;
        color: var(--color-rosa3);
        margin-right: 0.5rem;
    }

.result-shipping-type {
    margin-bottom: 1rem;
}

.result-shipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-rosa1);
    border-radius: 8px;
    font-weight: 600;
    color: var(--color-rosa3);
    font-size: 14px;
}

.result-address {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.result-receiver {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.result-receiver__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 0.5rem !important;
}

/* Próximos pasos */

.result-next-steps {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--color-rosa1);
}

    .result-next-steps h3 {
        font-size: 18px;
        color: #333;
        margin: 0 0 1.5rem 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

        .result-next-steps h3 i {
            color: var(--color-rosa3);
        }

.result-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .result-steps {
        grid-template-columns: 1fr;
    }
}

.result-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.result-step__number {
    width: 36px;
    height: 36px;
    background: var(--color-rosa3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.result-step__content strong {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 0.25rem;
}

.result-step__content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Acciones */

.result-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.result-actions--centered {
    justify-content: center;
}

.BtnCheckout45{
    width:45%;
}

/* FAQs en resultado */

.result-faqs {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 2rem;
}

    .result-faqs h3 {
        font-size: 18px;
        color: #333;
        margin: 0 0 1.5rem 0;
    }

/* Info box genérico */

.result-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid var(--color-rosa2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: left;
}

    .result-info-box > i {
        font-size: 24px;
        color: var(--color-rosa3);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .result-info-box strong {
        display: block;
        font-size: 15px;
        color: #333;
        margin-bottom: 0.35rem;
    }

    .result-info-box p {
        font-size: 14px;
        color: #666;
        margin: 0;
        line-height: 1.5;
    }

.result-info-box--neutral {
    border-color: #e0e0e0;
    background: #fafafa;
}

    .result-info-box--neutral > i {
        color: #757575;
    }

.result-info-box--warning {
    border-color: var(--color-rosa3);
  /*  background: #fff8e1;*/
}

    .result-info-box--warning > i {
        color: #ef6c00;
    }

/* Pending box (animado) */

.result-pending-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border: 2px dashed var(--color-rosa3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.result-pending-box__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .result-pending-box__icon i {
        font-size: 24px;
        color: var(--color-rosa3);
    }

.result-pending-box__content h3 {
    font-size: 15px;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.result-pending-box__content p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Tips */

.result-tips {
    text-align: left;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid var(--color-rosa3);
    border-style:dashed;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

    .result-tips h3 {
        font-size: 15px;
        font-weight: 600;
        color: #333;
        margin: 0 0 1rem 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .result-tips h3 i {
            color: var(--color-rosa3);
        }

    .result-tips ul {
        margin: 0;
        padding-left: 0;
        list-style: none;
    }

    .result-tips li {
        font-size: 14px;
        color: #555;
        margin-bottom: 0.75rem;
        padding-left: 1.5rem;
        position: relative;
        line-height: 1.5;
    }

        .result-tips li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--color-rosa3);
            font-weight: bold;
        }

        .result-tips li:last-child {
            margin-bottom: 0;
        }

        .result-tips li strong {
            color: #333;
        }

/* Alerts */

.result-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

    .result-alert i {
        font-size: 18px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .result-alert strong {
        display: block;
        margin-bottom: 0.25rem;
    }

.result-alert--info {
    border: 2px dashed var(--color-rosa3);
    color: #333;
}

    .result-alert--info i {
        color: var(--color-rosa3);
    }

.result-alert--tip {
    background: var(--color-rosa1);
    border: 1px solid var(--color-rosa2);
    color: #333;
}

    .result-alert--tip i {
        color: var(--color-rosa3);
    }

.result-alert--error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

    .result-alert--error i {
        color: #d32f2f;
    }

/* Reference code */

.result-reference {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 14px;
    color: #666;
    border: 1px solid #eee;
}

    .result-reference strong {
      
        font-size: 17px;
        color: #333;
      
    }

    .result-reference small {
        width: 100%;
        text-align: center;
        font-size: 12px;
        color: #999;
    }

/* Help box */

.result-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.result-help__content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .result-help__content > i {
        font-size: 28px;
        color: var(--color-rosa3);
    }

    .result-help__content h3 {
        font-size: 15px;
        color: #333;
        margin: 0 0 0.25rem 0;
    }

    .result-help__content p {
        font-size: 13px;
        color: #666;
        margin: 0;
    }

.result-help__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ==========================================
   BOTONES ADICIONALES
========================================== */

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-rosa3);
    color: var(--color-rosa3);
}

   /* .btn--outline:hover {
        background: var(--color-rosa1);
    }*/

.btn--small {
    padding: 0.6rem 1.25rem;
    font-size: 14px;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

/* ==========================================
   UTILIDADES
========================================== */

.text-success {
    color: #27ae60;
}

.text-muted {
    color: #999;
}

/* ==========================================
   RESPONSIVE ADICIONAL PARA RESULTADO
========================================== */

@media (max-width: 640px) {
    .result-info-box,
    .result-pending-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

        .result-info-box > i,
        .result-pending-box__icon {
            margin-bottom: 0.5rem;
        }

    .result-tips {
        padding: 1.25rem;
    }

    .result-help {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .result-help__content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .result-help__actions {
        width: 100%;
        flex-direction: column;
    }

        .result-help__actions .btn {
            width: 100%;
            justify-content: center;
        }

    .result-reference {
        flex-direction: column;
    }

    .result-alert {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ============================================
   BANNER RESPONSIVE - ALTURA CONTROLADA
   ============================================ */

.home-slider {
    width: 100%;
    overflow: hidden;
}

.home-slider img {
    width: 100%;
    overflow: hidden;
}


.SiteBanner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.SiteBanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Mobile First - xs (hasta 767px) */
.SiteBanner {
    height: 280px;
}

/* Tablets - sm (768px - 991px) */
@media (min-width: 768px) {
    .SiteBanner {
        height: 350px;
    }
}

/* Desktop - md (992px - 1199px) */
@media (min-width: 992px) {
    .SiteBanner {
        height: 400px;
    }
}

/* Desktop large - lg (1200px+) */
@media (min-width: 1200px) {
    .SiteBanner {
        height: 450px;
    }
}

.cart__product-link {
    position: relative;
    cursor: help; /* Indica visualmente que hay tooltip */
}

/* Opcional: Mejora visual del truncado */
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 20px); /* Espacio para el botón */
}

@media (min-width: 500px) {
    .CodigoCompraCheckout {
        font-size: 22px;
    }
}

.recaptcha-notice a {
    color: #f35493;
    text-decoration: underline;
}

.b-dngr {
    border-color: #f32b2b !important;
    outline-color: #f32b2b !important;
}

.select2-container--default .select2-selection--single {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #e3e3e3;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 48px;
        padding-left: 16px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 38px;
    }


.LoaderPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 9999;
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    color: var(--color-rosa3);
}

    .LoaderPage.show {
        opacity: 1;
        pointer-events: all;
    }

img.product-card__image {
    border-radius: 0px;
}

.sidebar-productos .label-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0; /* necesario para que flex respete el overflow */
}

.sidebar-productos .custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0; /* idem */
}

.sidebar-productos .form-check {
    min-width: 0;
}

.sidebar-productos .custom-checkbox .checkmark {
    flex-shrink: 0;
}

/* ============================================
   PRODUCT CARD V2 — COMPLETO
   ============================================ */

/* CARD BASE */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--product-transition);
    border: 1px solid var(--product-card-border);
    height: 100%;
}

    .product-card:hover {
        box-shadow: var(--product-card-hover-shadow);
        transform: translateY(-2px);
    }

/* IMAGEN */

.product-card__image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card__image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

/* BADGES MARQUEE — franja inferior de la imagen */

.product-card__badges {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    padding: 3px 0;
    background: linear-gradient(to top, rgba(255,149,191,0.15) 0%, transparent 100%);
}


.product-card__badges-track {
    display: flex;
    gap: 6px;
    width: max-content;
    padding: 0 8px;
}

.product-card__badges-track--marquee {
    animation: badges-scroll 7s linear infinite;
}

.product-card:hover .product-card__badges-track--marquee {
    animation-play-state: paused;
}

@keyframes badges-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.product-card__badge-pill {
    white-space: nowrap;
    background: var(--color-rosa3);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 1px 4px rgba(255, 149, 191, 0.4);
    flex-shrink: 0;
}

/* BADGE DESCUENTO */

.product-card__discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 6;
    pointer-events: none;
    letter-spacing: 0.3px;
}

/* CORAZÓN */

.product-card__wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, background 0.2s ease;
    padding: 0;
}

    .product-card__wish i {
        font-size: 13px;
        color: #ccc;
        transition: color 0.2s ease;
    }

    .product-card__wish:hover {
        transform: scale(1.12);
        background: #fff;
    }

        .product-card__wish:hover i,
        .product-card__wish.active i {
            color: var(--color-rosa3);
        }

/* INFO */

.product-card__info {
    padding: 16px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    background: #fff;
}

@media (min-width: 1024px) {
    .product-card__info {
        padding: 20px 16px 8px;
    }
}

.product-card__title-link {
    text-decoration: none;
    color: inherit;
}

.product-card__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--product-title-color);
    font-weight: 500;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.4em * 2);
}

@media (min-width: 1024px) {
    .product-card__title {
        font-size: 15px;
    }
}

.product-card__title-link:hover .product-card__title {
    color: var(--product-title-hover);
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-card__price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--product-price-current);
}

@media (min-width: 1024px) {
    .product-card__price-current {
        font-size: 20px;
    }
}

.product-card__price-current--sale {
    color: var(--color-rosa3);
}

.product-card__price-original {
    font-size: 14px;
    color: var(--product-price-original);
    text-decoration: line-through;
    font-weight: 400;
}

/* ACCIONES */

.product-card__actions {
    padding: 0 12px 14px;
    margin-top: 8px;
}

@media (min-width: 1024px) {
    .product-card__actions {
        padding: 0 16px 16px;
    }
}

.product-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    gap: 6px;
}

/* AGREGAR AL CARRITO — ripple desde centro */

.product-card__btn--cart {
    background: var(--color-rosa3);
    color: #fff;
    border: 2px solid transparent;
}

    .product-card__btn--cart::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.28);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.55s ease, height 0.55s ease, opacity 0.45s ease;
        opacity: 1;
    }

    .product-card__btn--cart:hover::after {
        width: 300px;
        height: 300px;
        opacity: 0;
    }

    .product-card__btn--cart:hover {
        filter: brightness(1.07);
    }

/* VER OPCIONES */

.product-card__btn--options {
    background: transparent;
    color: var(--color-rosa3);
    border: 2px solid var(--color-rosa2);
    box-shadow: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .product-card__btn--options:hover {
        border-color: var(--color-rosa3);
        box-shadow: 0 0 0 3px rgba(255, 149, 191, 0.18);
    }

/* AGOTADO */

.product-card__btn--agotado {
    background: #e8e8e8;
    cursor: not-allowed;
    pointer-events: none;
    border: 2px solid transparent;
}

    .product-card__btn--agotado i {
        font-size: 12px;
    }

/* CARD SIN STOCK */

.product-card--sin-stock .product-card__image-container {
    opacity: 0.58;
    filter: grayscale(60%);
}

.product-card--sin-stock {
}

    .product-card--sin-stock:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Sin stock — sin efectos hover */
    .product-card--sin-stock:hover {
        transform: none !important;
        box-shadow: none !important;
    }

        .product-card--sin-stock:hover .product-card__image {
            transform: none !important;
        }

    .product-card--sin-stock .product-card__link:hover .product-card__image {
        transform: none;
    }

    .product-card--sin-stock .product-card__link:hover {
        background: none;
        opacity: 1;
        text-decoration: none;
    }

    .product-card--sin-stock .product-card__title-link:hover .product-card__title {
        color: var(--product-title-color);
    }

    .product-card--sin-stock .product-card__title-link:hover {
        background: none;
        opacity: 1;
        text-decoration: none;
    }


/* GRID */

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--product-grid-gap-mobile);
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--product-grid-gap);
    }
}

@media (max-width: 500px) {
    .product-card__badge-pill {
        font-size: 8px;
        padding: 2px 6px;
        letter-spacing: 0.4px;
    }
}

.hb-product-card__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.4em * 2);
}

.product-card__btn--agotado {
    font-weight: 600;
    color: #000 !important;
}

.product-slider-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.product-detail__wish {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, background 0.2s ease;
    padding: 0;
}

    .product-detail__wish i {
        font-size: 15px;
        color: #ccc;
        transition: color 0.2s ease;
    }

    .product-detail__wish:hover {
        transform: scale(1.12);
        background: #fff;
    }

        .product-detail__wish:hover i,
        .product-detail__wish.active i {
            color: var(--color-rosa3);
        }

@media (max-width: 768px) {
    .contact-form__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.btn-outline-secondary-bg {
    background-color: #fff;
    border: 2px solid var(--color-rosa3);
    color: var(--color-rosa3);
}

.btn-outline-secondary-bg:hover {
    border: 2px solid var(--color-rosa3) !important;
}

/* Inputs con valor */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea,
select {
    color: #606060 !important;
    font-style: normal !important;
}

    /* Placeholder */
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"])::placeholder,
    textarea::placeholder {
        color: #606060 !important;
        opacity: 0.45 !important;
    }

.newsletter-mensaje--ok{
    font-weight:600;
}

.product-card__wish.loading,
.product-detail__wish.loading {
    opacity: 0.5;
    pointer-events: none;
}

/*LISTA DESEOS INICIO*/

/* ── Página ─────────────────────────────────────────────────── */
.ld-page {
    padding: 2rem 0 2rem;
}

/* ── Header ─────────────────────────────────────────────────── */
.ld-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.ld-header__titulo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.ld-header__count {
    font-size: 0.85rem;
    color: #888;
}

/* ── Empty state ─────────────────────────────────────────────── */
.ld-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem 2rem;
    gap: 0.75rem;
}

.ld-empty__icon {
    font-size: 3.5rem;
    color: var(--color-rosa2, #ffd9e8);
    line-height: 1;
}

.ld-empty__titulo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.ld-empty__sub {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    max-width: 340px;
}

.ld-btn-explorar {
    margin-top: 0.5rem;
    background: var(--color-rosa3, #ff70a8);
    color: #fff !important;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

    .ld-btn-explorar:hover {
        opacity: 0.88;
    }

/* ── Grid ────────────────────────────────────────────────────── */
.ld-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 480px) {
    .ld-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ── Card base ───────────────────────────────────────────────── */
.ld-card {
    position: relative; /* ← agregar esto */
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, opacity 0.3s, transform 0.3s;
}

    .ld-card:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

/* Card agotado: ligeramente apagada */
.ld-card--agotado .ld-card__img-wrap {
    opacity: 0.58;
    filter: grayscale(60%);
}

.ld-card--agotado .ld-card__img {
    filter: none;
}

/* Animación de salida (reservada para uso futuro) */
.ld-card--saliendo {
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
}

.ld-card__img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-rosa1, #fff5f5);
}

.ld-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ld-card:hover .ld-card__img {
    transform: scale(1.05);
}

/* Badges sobre la imagen */
.ld-card__badge {
    position: absolute;
    top: 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    line-height: 1.4;
}

.ld-card__badge--agotado {
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    top: 17px;
}

.ld-card__badge--oferta {
    right: 0.5rem;
    background: var(--color-rosa3, #ff70a8);
    color: #fff;
}

/* ── Cuerpo ──────────────────────────────────────────────────── */
.ld-card__body {
    padding: 0.85rem 0.9rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}

/* Fix alineación: título siempre ocupa 2 líneas */
.ld-card__nombre {
    font-size: 0.875rem;
    font-weight: 400; /* sin negrita */
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
}

    .ld-card__nombre:hover {
        color: var(--color-rosa3, #ff70a8);
    }

/* ── Precios ─────────────────────────────────────────────────── */
.ld-card__precios {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.ld-card__precio {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.ld-card__precio--original {
    font-size: 0.8rem;
    color: #aaa;
    text-decoration: line-through;
}

.ld-card__precio--oferta {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-rosa3, #ff70a8);
}

.ld-notif {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: transparent;
    color: var(--color-rosa3);
    border: 2px solid var(--color-rosa2);
    font-size: 13px;
    cursor: default;
}

.ld-notif__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: default;
    user-select: none;
}

.ld-notif__texto {
    color: var(--color-rosa3);
    font-size: 13px;
    font-weight: 500;
}

    .ld-notif__texto .fa {
        margin-right: 0.2rem;
    }

/* ── Acciones ────────────────────────────────────────────────── */
.ld-card__actions {
    display: flex;
    align-items: center;
    padding-top: 0.3rem;
    margin-top: auto;
    width: 100%;
}

.ld-card__btn-carrito {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 10px 12px; /* ← igualar al padding del ld-notif */
    border: 2px solid transparent;
    font-size: 0.78rem;
    border: 2px solid transparent;
    background: var(--color-rosa3, #ff70a8); /* ← relleno rosa */
    color: #fff; /* ← texto blanco */
    border-radius: 6px;
    cursor: pointer;
    transition: filter 0.18s;
    white-space: nowrap;
}

    .ld-card__btn-carrito:hover {
        filter: brightness(1.07);
    }

.ld-card__btn-carrito--off {
    background: #e8e8e8;
    border-color: transparent;
    color: #000;
    cursor: not-allowed;
    font-weight: 600;
}

    .ld-card__btn-carrito--off:hover {
        filter: none;
    }


.ld-card__btn-quitar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    transition: transform 0.2s, color 0.18s;
    padding: 0;
}

    .ld-card__btn-quitar.active {
        color: var(--color-rosa3, #ff70a8);
    }

    .ld-card__btn-quitar:hover {
        transform: scale(1.12);
    }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 380px) {
    .ld-card__btn-carrito {
        font-size: 0.72rem;
        padding: 0.45rem 0.4rem;
    }

    
}

@media (max-width: 408px) {
    .product-card__btn {
        padding: 10px 5px;
    }
    .ld-notif__texto .fa {
        display: none;
    }
}

/*LISTA DESEOS FIN*/

.footer-newsletter .newsletter__input {
    border: 1px solid #ededed;
    border-radius: 8px;
}

    .footer-newsletter .newsletter__input:focus {
        outline: none;
        border-color: var(--color-rosa3) !important;
    }


/* ============================================================
   ZOOM LUPA PRODUCTO DETALLE
   ============================================================ */
#zoom-lente {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--color-rosa2);
    pointer-events: none;
    display: none;
    z-index: 100;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

#zoom-resultado {
    display: none;
}

@media (max-width: 1024px) {
    #zoom-lente,
    #zoom-resultado {
        display: none !important;
    }
}

.producto-imagen-disclaimer {
    font-size: 11px;
    color: #585252;
    font-style: italic;
    margin-top: 8px;
    padding: 0 4px;
    text-align: center;
}

@media (max-width: 462px) {
    .producto-imagen-disclaimer {
        text-align: left;
    }
}

.no-radius {
    border-radius: 0 !important;
}
.hero-image.media {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.hero-slider .hero-content {
    animation-duration: .6s;
    animation-name: fadeInUp;
    animation-fill-mode: both;
    opacity: 1;
}

.hero-slider .hero__inner {
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
    height: 100%;
    position: absolute;
    inset: 0;
    width: 100%;
    box-sizing: border-box;
}

.hero-slider .hero__text-wrapper {
    width: 100%;
    text-align: left;
}

.hero-slider .hero-content--bottom-left {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* ETIQUETA */
.hero-caption {
    position: relative;
    background: #fff;
    backdrop-filter: blur(4px);
    padding: 12px 12px;
    border-radius: 0 0px 12px 0;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}

    /* FRANJA HACIA LA IZQUIERDA */
    .hero-caption::before {
        content: "";
        position: absolute;
        top: 0;
        right: 100%;
        width: 2000px;
        height: 100%;
        background: #fff;
        backdrop-filter: blur(4px);
    }

    /* TEXTO */
    .hero-caption .hero__title {
        margin: 0;
        font-size: 15px;
        color: #515151;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        line-height: 1.2;
        font-weight: 500;
    }

@media (max-width: 769px) {

    .hero-slider .hero__inner {
        padding-bottom: 10px;
    }

    .hero-caption {
        padding: 8px 16px;
        border-radius: 0 0px 10px 0;
    }

        .hero-caption .hero__title {
            font-size: 11px;
            letter-spacing: 1px;
        }

}