/* VaDeNuevo Desktop Marketplace Grid 20260923B */

@media (min-width: 992px) {
    .vdn-home-products-modern .product-box {
        width: min(100% - 48px, 1200px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .vdn-home-products-modern .product-container {
        position: relative !important;
        width: 100% !important;
        padding: 8px 0 30px !important;
    }

    .vdn-home-products-modern .section-title {
        margin-bottom: 20px !important;
        padding: 0 0 13px !important;
        border-bottom: 1px solid #dce5ee !important;
    }

    .vdn-home-products-modern .section-title h2 {
        margin: 0 !important;
        color: #082f57 !important;
        font-size: 27px !important;
        font-weight: 800 !important;
    }

    .vdn-home-products-modern .product-slider {
        display: grid !important;
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
        width: 100% !important;
        padding: 3px !important;
        overflow: visible !important;
    }

    .vdn-home-products-modern #productSliderOffers {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }

    .vdn-home-products-modern
    .product-slider > .product-card {
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 420px !important;
        margin: 0 !important;
        padding: 10px !important;
        overflow: hidden !important;
        border: 1px solid #dce5ed !important;
        border-radius: 15px !important;
        flex-direction: column !important;
        background: #fff !important;
        box-shadow:
            0 7px 20px rgba(15, 45, 78, .07) !important;
        cursor: pointer !important;
        transition:
            transform .2s ease,
            box-shadow .2s ease !important;
    }

    .vdn-home-products-modern .product-card:hover {
        box-shadow:
            0 15px 32px rgba(15, 45, 78, .13) !important;
        transform: translateY(-4px) !important;
    }

    .vdn-home-products-modern .product-card .img-wrap {
        position: relative !important;
        width: 100% !important;
        height: 215px !important;
        min-height: 215px !important;
        overflow: hidden !important;
        border-radius: 11px !important;
        background: #f4f7f9 !important;
    }

    .vdn-home-products-modern
    .product-card .img-wrap img {
        width: 100% !important;
        height: 100% !important;
        padding: 10px !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .vdn-home-products-modern .product-card .info {
        position: relative !important;
        display: flex !important;
        min-height: 0 !important;
        flex: 1 1 auto !important;
        padding: 13px 3px 2px !important;
        flex-direction: column !important;
    }

    .vdn-home-products-modern .product-card .info h4 {
        display: -webkit-box !important;
        min-height: 43px !important;
        margin: 0 0 8px !important;
        overflow: hidden !important;
        color: #172b43 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.42 !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-card-price {
        display: flex !important;
        min-height: 70px !important;
        margin-bottom: 8px !important;
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-price-current {
        color: #07345e !important;
        font-size: 22px !important;
        font-weight: 800 !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-price-label,
    .vdn-home-products-modern
    .product-card .vdn-price-before {
        margin: 0 !important;
        color: #748397 !important;
        font-size: 10px !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-price-saving {
        margin: 5px 0 0 !important;
        padding: 3px 7px !important;
        border-radius: 999px !important;
        background: #e3f6ea !important;
        color: #08783f !important;
        font-size: 10px !important;
        font-weight: 800 !important;
    }

    .vdn-home-products-modern .product-card .btn-ver {
        display: flex !important;
        width: calc(100% - 48px) !important;
        min-height: 40px !important;
        margin: auto 48px 0 0 !important;
        border: 1px solid #bfd3e5 !important;
        border-radius: 9px !important;
        align-items: center !important;
        justify-content: center !important;
        background: #fff !important;
        color: #07569e !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    .vdn-home-products-modern
    .product-card .btn-add-cart {
        right: 3px !important;
        bottom: 2px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        background: #159a57 !important;
        color: #fff !important;
    }

    .vdn-home-products-modern
    .product-card .fav-btn {
        position: absolute !important;
        top: 17px !important;
        right: 17px !important;
        z-index: 30 !important;
        width: 36px !important;
        height: 36px !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    .vdn-home-products-modern .p-btn {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .vdn-home-products-modern #productSlider {
        grid-template-columns:
            repeat(5, minmax(0, 1fr)) !important;
    }
}

/* VaDeNuevo Desktop Visual Polish 20260923C */

@media (min-width: 992px) {
    /*
     * Anula límites antiguos que reducían el escaparate
     * a aproximadamente 900 px.
     */
    .vdn-home-products-modern .product-box,
    .vdn-home-products-modern .product-container {
        width: min(calc(100vw - 64px), 1200px) !important;
        max-width: 1200px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .vdn-home-products-modern .product-box {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    /*
     * Cuadrícula más amplia.
     */
    .vdn-home-products-modern .product-slider {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

    .vdn-home-products-modern
    .product-slider > .product-card {
        height: 455px !important;
        padding: 12px !important;
    }

    /*
     * Fotografías protagonistas sin deformación.
     */
    .vdn-home-products-modern
    .product-card .img-wrap {
        height: 245px !important;
        min-height: 245px !important;
        border: 1px solid #edf1f5 !important;
        background:
            linear-gradient(
                145deg,
                #f7f9fb,
                #eef3f6
            ) !important;
    }

    .vdn-home-products-modern
    .product-card .img-wrap img {
        padding: 12px !important;
        transition: transform .25s ease !important;
    }

    .vdn-home-products-modern
    .product-card:hover .img-wrap img {
        transform: scale(1.035) !important;
    }

    .vdn-home-products-modern
    .product-card .info h4 {
        font-size: 15px !important;
        line-height: 1.38 !important;
    }

    /*
     * Promociones de escritorio.
     */
    .vdn-home-products-modern .ads-row {
        display: grid !important;
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .vdn-home-products-modern .ad-card {
        position: relative !important;
        min-height: 245px !important;
        overflow: hidden !important;
        border: 1px solid #d9e3ec !important;
        border-radius: 16px !important;
        background: #eaf0f5 !important;
        box-shadow:
            0 10px 24px rgba(13, 42, 72, .10) !important;
        transition:
            transform .2s ease,
            box-shadow .2s ease !important;
    }

    .vdn-home-products-modern .ad-card:hover {
        box-shadow:
            0 17px 34px rgba(13, 42, 72, .16) !important;
        transform: translateY(-3px) !important;
    }

    .vdn-home-products-modern .ad-card img {
        width: 100% !important;
        height: 245px !important;
        object-fit: cover !important;
        object-position: center !important;
        transition: transform .3s ease !important;
    }

    .vdn-home-products-modern .ad-card:hover img {
        transform: scale(1.035) !important;
    }

    /*
     * Evita que capas decorativas bloqueen botones.
     */
    .vdn-home-products-modern
    .product-card::before,
    .vdn-home-products-modern
    .product-card::after {
        pointer-events: none !important;
    }

    .vdn-home-products-modern .fav-btn,
    .vdn-home-products-modern .btn-add-cart,
    .vdn-home-products-modern .btn-ver {
        pointer-events: auto !important;
    }
}

@media (min-width: 1200px) {
    .vdn-home-products-modern #productSlider {
        grid-template-columns:
            repeat(5, minmax(0, 1fr)) !important;
    }

    .vdn-home-products-modern
    #productSliderOffers {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   VDN HOME FINAL 20260923D
   ========================================================= */

/*
 * ESCRITORIO
 * Libera el Home del ancho máximo heredado del .container.
 */
@media (min-width: 992px) {
    .vdn-home-products-modern .product-box {
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;

        width:
            min(
                1280px,
                calc(100vw - 64px)
            ) !important;

        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 0 0 28px !important;

        overflow: hidden !important;

        border:
            1px solid #dce6ee !important;
        border-radius: 20px !important;

        background: #ffffff !important;

        box-shadow:
            0 16px 42px
            rgba(16, 45, 76, .09) !important;
    }

    .vdn-home-products-modern
    .product-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 24px !important;
    }

    .vdn-home-products-modern
    .section-title {
        display: flex !important;
        align-items: center !important;

        min-height: 72px !important;
        margin: 0 -24px 24px !important;
        padding: 0 28px !important;

        border-bottom:
            1px solid #dce6ee !important;

        background:
            linear-gradient(
                135deg,
                #ffffff,
                #f6f9fb
            ) !important;
    }

    .vdn-home-products-modern
    .section-title h2 {
        margin: 0 !important;

        color: #062e5a !important;

        font-size:
            clamp(24px, 2vw, 31px) !important;

        line-height: 1.15 !important;
        letter-spacing: -.025em !important;
    }

    /*
     * Cuadrícula real de productos.
     */
    .vdn-home-products-modern
    .product-slider {
        display: grid !important;

        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            ) !important;

        grid-auto-flow: row !important;
        grid-auto-columns: initial !important;

        align-items: stretch !important;
        gap: 22px !important;

        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;

        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    .vdn-home-products-modern
    .product-container > .p-btn {
        display: none !important;
    }

    .vdn-home-products-modern
    .product-slider > .product-card {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 490px !important;

        overflow: hidden !important;

        border:
            1px solid #d8e3ec !important;
        border-radius: 17px !important;

        background: #ffffff !important;

        box-shadow:
            0 8px 22px
            rgba(15, 45, 75, .08) !important;

        transition:
            transform .22s ease,
            box-shadow .22s ease,
            border-color .22s ease !important;
    }

    .vdn-home-products-modern
    .product-slider > .product-card:hover {
        transform:
            translateY(-4px) !important;

        border-color:
            #b9cfdf !important;

        box-shadow:
            0 18px 36px
            rgba(15, 45, 75, .14) !important;
    }

    .vdn-home-products-modern
    .product-card .img-wrap {
        position: relative !important;

        width:
            calc(100% - 20px) !important;

        height: 245px !important;
        min-height: 245px !important;

        margin:
            10px 10px 0 !important;

        overflow: hidden !important;

        border-radius: 13px !important;

        background:
            linear-gradient(
                145deg,
                #f8fafc,
                #eaf0f4
            ) !important;
    }

    .vdn-home-products-modern
    .product-card .img-wrap img {
        width: 100% !important;
        height: 100% !important;

        padding: 14px !important;

        object-fit: contain !important;
        object-position: center !important;

        transition:
            transform .3s ease !important;
    }

    .vdn-home-products-modern
    .product-card:hover
    .img-wrap img {
        transform:
            scale(1.035) !important;
    }

    .vdn-home-products-modern
    .product-card .info {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;

        min-height: 0 !important;
        padding: 18px 16px 16px !important;
    }

    .vdn-home-products-modern
    .product-card .info h4 {
        display: -webkit-box !important;

        min-height: 44px !important;
        max-height: 44px !important;

        margin:
            0 0 14px !important;

        overflow: hidden !important;

        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;

        color: #102a46 !important;

        font-size: 16px !important;
        line-height: 1.38 !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-card-price {
        min-height: 78px !important;
        margin-bottom: 14px !important;
    }

    .vdn-home-products-modern
    .product-card .btn-ver {
        min-height: 44px !important;
        margin-top: auto !important;

        border-radius: 10px !important;
    }

    /*
     * Promociones modernas de escritorio.
     */
    .vdn-home-products-modern .ads-row {
        display: grid !important;

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            ) !important;

        gap: 22px !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .vdn-home-products-modern .ad-card {
        position: relative !important;

        display: flex !important;
        align-items: flex-end !important;

        min-height: 290px !important;

        overflow: hidden !important;
        isolation: isolate !important;

        border: 0 !important;
        border-radius: 17px !important;

        background: #102e4d !important;

        box-shadow:
            0 12px 28px
            rgba(11, 36, 61, .16) !important;

        transition:
            transform .25s ease,
            box-shadow .25s ease !important;
    }

    .vdn-home-products-modern
    .ad-card:hover {
        transform:
            translateY(-4px) !important;

        box-shadow:
            0 21px 42px
            rgba(11, 36, 61, .23) !important;
    }

    .vdn-home-products-modern
    .ad-card::after {
        content: "" !important;

        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;

        pointer-events: none !important;

        background:
            linear-gradient(
                180deg,
                rgba(3, 23, 43, .02) 15%,
                rgba(3, 23, 43, .20) 52%,
                rgba(3, 23, 43, .92) 100%
            ) !important;
    }

    .vdn-home-products-modern
    .ad-card img {
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;

        width: 100% !important;
        max-width: none !important;
        height: 100% !important;

        padding: 0 !important;

        object-fit: cover !important;
        object-position: center !important;

        transition:
            transform .4s ease !important;
    }

    .vdn-home-products-modern
    .ad-card:hover img {
        transform:
            scale(1.045) !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text {
        position: relative !important;
        inset: auto !important;
        z-index: 2 !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 27px !important;

        color: #ffffff !important;
        background: transparent !important;

        backdrop-filter: none !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text small {
        display: block !important;

        margin:
            0 0 8px !important;

        color: #dceeff !important;

        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;

        letter-spacing: .13em !important;
        text-transform: uppercase !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text h3 {
        max-width: 320px !important;

        margin:
            0 0 16px !important;

        color: #ffffff !important;

        font-size: 22px !important;
        line-height: 1.12 !important;
        letter-spacing: -.02em !important;

        text-shadow:
            0 2px 12px
            rgba(0, 0, 0, .32) !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-height: 39px !important;
        padding: 0 18px !important;

        border:
            1px solid
            rgba(255, 255, 255, .7) !important;

        border-radius: 9px !important;

        color: #07315d !important;
        background:
            rgba(255, 255, 255, .96) !important;

        font-size: 13px !important;
        font-weight: 800 !important;
        text-decoration: none !important;

        box-shadow:
            0 7px 18px
            rgba(0, 0, 0, .15) !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text a:hover {
        color: #ffffff !important;
        border-color: #159d58 !important;
        background: #159d58 !important;
    }
}

@media (min-width: 1200px) {
    .vdn-home-products-modern
    #productSlider {
        grid-template-columns:
            repeat(
                5,
                minmax(0, 1fr)
            ) !important;
    }

    .vdn-home-products-modern
    #productSliderOffers {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            ) !important;
    }
}

/*
 * MÓVIL
 * Únicos cambios autorizados:
 * 1. Promociones y beneficios.
 * 2. Contador funcional de Favoritos.
 */
@media (max-width: 768px) {
    .vdn-home-products-modern .ads-row {
        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 14px !important;

        width: 100% !important;
        padding: 0 !important;
    }

    .vdn-home-products-modern .ad-card {
        position: relative !important;

        display: flex !important;
        align-items: flex-end !important;

        width: 100% !important;
        min-height: 218px !important;

        overflow: hidden !important;
        isolation: isolate !important;

        border:
            1px solid #d7e2eb !important;

        border-radius: 15px !important;

        background: #0b3154 !important;

        box-shadow:
            0 8px 20px
            rgba(13, 42, 72, .11) !important;
    }

    .vdn-home-products-modern
    .ad-card::after {
        content: "" !important;

        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;

        pointer-events: none !important;

        background:
            linear-gradient(
                90deg,
                rgba(3, 26, 49, .94) 0%,
                rgba(3, 26, 49, .78) 47%,
                rgba(3, 26, 49, .18) 78%,
                rgba(3, 26, 49, .05) 100%
            ) !important;
    }

    .vdn-home-products-modern
    .ad-card img {
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;

        width: 100% !important;
        max-width: none !important;
        height: 100% !important;

        padding: 0 !important;

        object-fit: cover !important;
        object-position: center !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text {
        position: relative !important;
        inset: auto !important;
        z-index: 2 !important;

        width: 72% !important;
        max-width: 250px !important;

        margin: 0 !important;
        padding: 22px !important;

        color: #ffffff !important;
        background: transparent !important;

        backdrop-filter: none !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text small {
        display: block !important;

        margin:
            0 0 8px !important;

        color: #cfe4f5 !important;

        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;

        letter-spacing: .10em !important;
        text-transform: uppercase !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text h3 {
        margin:
            0 0 14px !important;

        color: #ffffff !important;

        font-size: 17px !important;
        line-height: 1.13 !important;

        text-shadow:
            0 2px 10px
            rgba(0, 0, 0, .30) !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-height: 37px !important;
        padding: 0 15px !important;

        border:
            1px solid
            rgba(255, 255, 255, .65) !important;

        border-radius: 8px !important;

        color: #07315d !important;
        background: #ffffff !important;

        font-size: 12px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
    }

    /*
     * Insignia del icono inferior Favoritos.
     */
    .vdn-mobile-bottom-nav
    .vdn-bottom-favorites-icon {
        position: relative !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .vdn-mobile-bottom-nav
    .vdn-mobile-fav-number {
        position: absolute !important;
        top: -8px !important;
        right: -11px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-width: 17px !important;
        height: 17px !important;
        padding: 0 4px !important;

        border:
            2px solid #ffffff !important;

        border-radius: 999px !important;

        color: #ffffff !important;
        background: #eb4d5c !important;

        font-size: 9px !important;
        font-weight: 800 !important;
        line-height: 1 !important;

        box-shadow:
            0 3px 8px
            rgba(28, 48, 68, .20) !important;
    }

    .vdn-mobile-bottom-nav
    .vdn-mobile-fav-number.is-empty {
        display: none !important;
    }
}


/* =========================================================
   VDN HOME FINISH 20260923E
   ========================================================= */

/*
 * Se elimina del Home el botón rápido de carrito que había
 * quedado recortado. El carrito continúa disponible desde
 * la ficha individual del producto.
 */
.vdn-home-products-modern
.product-card .btn-add-cart {
    display: none !important;
}

/*
 * Contadores exactos de Favoritos.
 */
.vdn-old-favorite-count {
    display: none !important;
}

.vdn-desktop-favorite-live-count {
    position: absolute !important;
    top: -7px !important;
    right: 7px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;

    border: 2px solid #ffffff !important;
    border-radius: 999px !important;

    color: #ffffff !important;
    background: #eb4d5c !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    box-shadow:
        0 3px 8px
        rgba(28, 48, 68, .18) !important;

    pointer-events: none !important;
}

.vdn-desktop-favorite-live-count.is-empty {
    display: none !important;
}

@media (min-width: 769px) {
    a[href*="page=favorites"] {
        position: relative !important;
    }
}

/*
 * ESCRITORIO:
 * elimina la caja blanca y el marco exterior duplicado.
 * Permanecen el título, las promociones y las tarjetas.
 */
@media (min-width: 992px) {
    .vdn-home-products-modern
    .product-box {
        overflow: visible !important;

        border: 0 !important;
        border-radius: 0 !important;

        background: transparent !important;
        box-shadow: none !important;
    }

    .vdn-home-products-modern
    .product-container {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .vdn-home-products-modern
    .section-title {
        margin:
            0 0 24px !important;

        padding:
            0 4px 17px !important;

        min-height: 0 !important;

        border-bottom:
            1px solid #d3e0e9 !important;

        background: transparent !important;
    }

    /*
     * Conserva aire entre las secciones, sin otra caja.
     */
    .vdn-home-products-modern
    .product-box + .product-box {
        margin-top: 34px !important;
    }
}

/*
 * MÓVIL:
 * únicamente alinea título, precios, ahorro y botón.
 * No modifica imágenes, columnas, colores ni promociones.
 */
@media (max-width: 768px) {
    .vdn-home-products-modern
    .product-slider > .product-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }

    .vdn-home-products-modern
    .product-card .info {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;

        min-height: 0 !important;
    }

    .vdn-home-products-modern
    .product-card .info h4 {
        display: -webkit-box !important;

        min-height: 40px !important;
        max-height: 40px !important;

        margin-bottom: 10px !important;

        overflow: hidden !important;

        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;

        line-height: 1.3 !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-card-price {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        min-height: 82px !important;
        margin-bottom: 10px !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-price-label,
    .vdn-home-products-modern
    .product-card .vdn-price-before {
        min-height: 16px !important;
        margin: 0 !important;

        line-height: 16px !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-price-current {
        min-height: 25px !important;
        margin: 0 !important;

        line-height: 25px !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-price-saving {
        min-height: 20px !important;
        margin-top: 7px !important;

        line-height: 20px !important;
    }

    .vdn-home-products-modern
    .product-card .btn-ver {
        width: 100% !important;
        margin-top: auto !important;
    }
}


/* =========================================================
   VDN HOME SPACING RESTORE 20260923F
   ========================================================= */

/*
 * ESCRITORIO:
 * restaura la tarjeta principal de cada sección, su encabezado
 * y la separación vertical que tenía la versión aprobada.
 *
 * No restaura los botones verdes recortados.
 */
@media (min-width: 992px) {
    .vdn-home-products-modern
    .product-box {
        position: relative !important;

        overflow: hidden !important;

        padding:
            0 0 28px !important;

        border:
            1px solid #dce6ee !important;

        border-radius: 20px !important;

        background: #ffffff !important;

        box-shadow:
            0 16px 42px
            rgba(16, 45, 76, .09) !important;
    }

    .vdn-home-products-modern
    .product-container {
        width: 100% !important;

        padding:
            0 24px !important;

        background: transparent !important;
    }

    /*
     * Encabezado separado del contenido.
     */
    .vdn-home-products-modern
    .section-title {
        display: flex !important;
        align-items: center !important;

        min-height: 72px !important;

        margin:
            0 -24px 24px !important;

        padding:
            0 28px !important;

        border-bottom:
            1px solid #dce6ee !important;

        background:
            linear-gradient(
                135deg,
                #ffffff 0%,
                #f6f9fb 100%
            ) !important;
    }

    .vdn-home-products-modern
    .section-title h2 {
        margin: 0 !important;

        color: #062e5a !important;

        font-size:
            clamp(24px, 2vw, 31px) !important;

        line-height: 1.15 !important;
        letter-spacing: -.025em !important;
    }

    /*
     * Impide que Productos, Beneficios y Ofertas vuelvan
     * a quedar pegados entre sí.
     */
    .vdn-home-products-modern
    .product-box + .product-box {
        margin-top: 58px !important;
    }

    /*
     * Mantiene un espacio uniforme alrededor del contenido
     * sin crear otra caja interior.
     */
    .vdn-home-products-modern
    .product-slider,
    .vdn-home-products-modern
    .ads-row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /*
     * El botón rápido de carrito continúa oculto.
     */
    .vdn-home-products-modern
    .product-card .btn-add-cart {
        display: none !important;
    }
}

/*
 * MÓVIL:
 * iguala la alineación visual del precio de escritorio.
 * No modifica fotografías, tarjetas, columnas, Favoritos
 * ni promociones.
 */
@media (max-width: 768px) {
    .vdn-home-products-modern
    .product-card .vdn-card-price {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;

        width: 100% !important;
        min-height: 82px !important;

        margin:
            0 0 10px !important;

        padding: 0 !important;

        text-align: left !important;
    }

    .vdn-home-products-modern
    .product-card .vdn-price-label,
    .vdn-home-products-modern
    .product-card .vdn-price-before,
    .vdn-home-products-modern
    .product-card .vdn-price-current {
        align-self: flex-start !important;

        margin-right: 0 !important;
        margin-left: 0 !important;

        text-align: left !important;
    }

    /*
     * Badge Ahorras exactamente debajo del precio,
     * alineado a la izquierda y en verde.
     */
    .vdn-home-products-modern
    .product-card .vdn-price-saving {
        align-self: flex-start !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-width: 0 !important;
        min-height: 20px !important;

        margin:
            7px 0 0 0 !important;

        padding:
            3px 8px !important;

        border: 0 !important;
        border-radius: 999px !important;

        color: #087a3c !important;
        background: #e1f6e9 !important;

        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 14px !important;

        text-align: left !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   VDN INNER BOX CLEANUP 20260923G
   ========================================================= */

/*
 * ÚNICAMENTE ESCRITORIO.
 *
 * Conserva:
 * - caja exterior de la sección;
 * - título y línea divisoria;
 * - espaciado entre secciones;
 * - tarjetas y promociones;
 * - dimensiones actuales.
 *
 * Elimina solamente la segunda superficie blanca heredada
 * alrededor de las cuadrículas.
 */
@media (min-width: 992px) {
    .vdn-home-products-modern
    .product-slider,
    .vdn-home-products-modern
    .ads-row {
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;

        outline: 0 !important;

        box-shadow: none !important;

        /*
         * Evita franjas laterales o inferiores creadas
         * por estilos anteriores.
         */
        margin-right: 0 !important;
        margin-left: 0 !important;

        padding-right: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 0 !important;
    }

    /*
     * El contenedor intermedio no debe dibujar otra caja.
     */
    .vdn-home-products-modern
    .product-container {
        border: 0 !important;
        outline: 0 !important;

        background: transparent !important;
        box-shadow: none !important;
    }

    /*
     * Se conserva intacta la caja exterior aprobada.
     */
    .vdn-home-products-modern
    .product-box {
        border:
            1px solid #dce6ee !important;

        border-radius: 20px !important;

        background: #ffffff !important;

        box-shadow:
            0 16px 42px
            rgba(16, 45, 76, .09) !important;
    }
}


/* =========================================================
   VDN DESKTOP HERO 20260923H
   ========================================================= */

/*
 * Slider competitivo únicamente para tablet horizontal
 * y escritorio. El hero móvil existente no cambia.
 */
@media (min-width: 769px) {
    body .slider {
        position: relative !important;

        display: block !important;

        width:
            min(
                1280px,
                calc(100vw - 48px)
            ) !important;

        /*
         * Conserva prácticamente la misma proporción
         * de los banners actuales: aproximadamente 4.4:1.
         */
        height: auto !important;
        aspect-ratio: 4.35 / 1 !important;

        min-height: 230px !important;
        max-height: 300px !important;

        margin:
            32px auto 62px !important;

        overflow: hidden !important;

        border:
            1px solid
            rgba(11, 49, 84, .12) !important;

        border-radius: 20px !important;

        background: #0b3154 !important;

        box-shadow:
            0 18px 44px
            rgba(9, 38, 66, .16) !important;

        isolation: isolate !important;
    }

    body .slider .slide {
        position: absolute !important;
        inset: 0 !important;

        display: block !important;

        width: 100% !important;
        height: 100% !important;

        opacity: 0 !important;

        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: cover !important;

        transform: scale(1.012) !important;

        transition:
            opacity .55s ease,
            transform 6s ease !important;

        pointer-events: none !important;
    }

    body .slider .slide.active {
        z-index: 2 !important;

        opacity: 1 !important;
        transform: scale(1) !important;

        pointer-events: auto !important;
    }

    /*
     * Degradado muy ligero: las imágenes ya contienen
     * su propia composición y texto.
     */
    body .slider .slide .overlay {
        position: absolute !important;
        inset: 0 !important;

        z-index: 1 !important;

        background:
            linear-gradient(
                90deg,
                rgba(1, 22, 42, .10),
                transparent 38%,
                transparent 75%,
                rgba(1, 22, 42, .06)
            ) !important;

        pointer-events: none !important;
    }

    body .slider .slide-content {
        position: relative !important;
        z-index: 2 !important;
    }

    /*
     * Las flechas permanentes generan ruido visual.
     * El usuario conserva puntos y cambio automático.
     */
    body .slider .slider-btn {
        display: none !important;
    }

    body .slider .slider-dots {
        position: absolute !important;
        right: 0 !important;
        bottom: 17px !important;
        left: 0 !important;

        z-index: 5 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 9px !important;

        width: auto !important;

        pointer-events: auto !important;
    }

    body .slider .slider-dots span {
        display: block !important;

        width: 9px !important;
        height: 9px !important;

        margin: 0 !important;
        padding: 0 !important;

        border:
            1px solid
            rgba(255, 255, 255, .85) !important;

        border-radius: 999px !important;

        background:
            rgba(255, 255, 255, .52) !important;

        box-shadow:
            0 2px 7px
            rgba(0, 0, 0, .22) !important;

        cursor: pointer !important;

        transition:
            width .2s ease,
            background .2s ease,
            transform .2s ease !important;
    }

    body .slider
    .slider-dots span.active {
        width: 25px !important;

        background: #ffffff !important;
    }

    body .slider
    .slider-dots span:hover {
        transform: scale(1.13) !important;
        background: #ffffff !important;
    }

    body .slider
    .slider-dots span:focus-visible {
        outline:
            3px solid
            rgba(30, 159, 88, .60) !important;

        outline-offset: 3px !important;
    }

    /*
     * Hover definitivo del botón promocional.
     * Permanece alineado con su texto.
     */
    .vdn-home-products-modern
    .ad-card .ad-text a {
        transition:
            color .2s ease,
            background .2s ease,
            border-color .2s ease,
            transform .2s ease,
            box-shadow .2s ease !important;
    }

    .vdn-home-products-modern
    .ad-card .ad-text a:hover,
    .vdn-home-products-modern
    .ad-card .ad-text a:focus-visible {
        color: #ffffff !important;

        border-color: #159d58 !important;
        background: #159d58 !important;

        transform:
            translateY(-2px) !important;

        box-shadow:
            0 10px 22px
            rgba(5, 83, 45, .25) !important;
    }
}

/*
 * Garantía explícita: el slider panorámico continúa oculto
 * y el hero móvil continúa siendo el vigente.
 */
@media (max-width: 768px) {
    body .slider {
        display: none !important;
    }
}


/* VDN FULL WIDTH HERO AND PRODUCT HOVER 20260923I */

@media (min-width: 769px) {

    /*
     * Hero panorámico:
     * rompe únicamente el ancho del contenedor Bootstrap
     * y vuelve a ocupar todo el viewport.
     */
    body .slider#slider {
        position: relative !important;
        left: 50% !important;
        width: 100vw !important;
        max-width: none !important;
        height: clamp(270px, 21.5vw, 360px) !important;
        min-height: 270px !important;
        max-height: 360px !important;
        margin:
            -24px 0
            clamp(48px, 4vw, 68px)
            !important;
        transform: translateX(-50%) !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #071b31 !important;
        box-shadow:
            0 18px 38px rgba(10, 35, 65, 0.16)
            !important;
        isolation: isolate;
    }

    body .slider#slider .slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    body .slider#slider .overlay {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        pointer-events: none !important;
        background:
            linear-gradient(
                90deg,
                rgba(4, 20, 39, 0.12) 0%,
                rgba(4, 20, 39, 0.01) 42%,
                rgba(4, 20, 39, 0.08) 100%
            ) !important;
    }

    /*
     * Indicadores siempre visibles.
     */
    body .slider#slider .slider-dots {
        position: absolute !important;
        right: 0 !important;
        bottom: 20px !important;
        left: 0 !important;
        z-index: 30 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        min-height: 22px !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body .slider#slider .slider-dots span {
        display: block !important;
        width: 11px !important;
        height: 11px !important;
        margin: 0 !important;
        padding: 0 !important;
        cursor: pointer !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: 2px solid rgba(255, 255, 255, 0.98) !important;
        border-radius: 999px !important;
        background: rgba(9, 32, 58, 0.62) !important;
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.34),
            0 0 0 1px rgba(5, 28, 52, 0.22)
            !important;
        transition:
            width 180ms ease,
            background-color 180ms ease,
            transform 180ms ease
            !important;
    }

    body .slider#slider .slider-dots span:hover {
        transform: scale(1.18) !important;
        background: #ffffff !important;
    }

    body .slider#slider .slider-dots span.active {
        width: 30px !important;
        background: #1b9c50 !important;
        border-color: #ffffff !important;
    }

    /*
     * Flechas estilo marketplace:
     * discretas normalmente y claras al interactuar.
     */
    body .slider#slider .slider-btn {
        position: absolute !important;
        top: 50% !important;
        z-index: 32 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 72px !important;
        padding: 0 !important;
        cursor: pointer !important;
        visibility: visible !important;
        opacity: 0.28 !important;
        border: 1px solid rgba(12, 49, 84, 0.12) !important;
        border-radius: 12px !important;
        color: #073764 !important;
        background: rgba(255, 255, 255, 0.93) !important;
        box-shadow: 0 8px 24px rgba(5, 29, 53, 0.18) !important;
        font-size: 28px !important;
        line-height: 1 !important;
        transform: translateY(-50%) !important;
        transition:
            opacity 180ms ease,
            background-color 180ms ease,
            color 180ms ease,
            box-shadow 180ms ease
            !important;
    }

    body .slider#slider .slider-btn.prev {
        right: auto !important;
        left: 18px !important;
    }

    body .slider#slider .slider-btn.next {
        right: 18px !important;
        left: auto !important;
    }

    body .slider#slider:hover .slider-btn,
    body .slider#slider .slider-btn:focus-visible {
        opacity: 1 !important;
    }

    body .slider#slider .slider-btn:hover,
    body .slider#slider .slider-btn:focus-visible {
        color: #ffffff !important;
        background: #178f49 !important;
        box-shadow: 0 10px 28px rgba(23, 143, 73, 0.32) !important;
        outline: none !important;
    }

    /*
     * Botón correcto: Ver producto.
     * Aplica tanto a Productos como a Ofertas del día.
     */
    body .vdn-home-products-modern .product-card .btn-ver {
        align-self: center !important;
        margin-right: auto !important;
        margin-left: auto !important;
        transition:
            color 180ms ease,
            background-color 180ms ease,
            border-color 180ms ease,
            box-shadow 180ms ease,
            transform 180ms ease
            !important;
    }

    body .vdn-home-products-modern .product-card .btn-ver:hover,
    body .vdn-home-products-modern .product-card .btn-ver:focus-visible {
        color: #ffffff !important;
        background: #178f49 !important;
        border-color: #178f49 !important;
        box-shadow: 0 9px 20px rgba(23, 143, 73, 0.24) !important;
        transform: translateY(-2px) !important;
        text-decoration: none !important;
        outline: none !important;
    }

    body .vdn-home-products-modern .product-card .btn-ver:active {
        box-shadow: 0 4px 10px rgba(23, 143, 73, 0.18) !important;
        transform: translateY(0) !important;
    }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
    body .slider#slider .slider-btn,
    body .slider#slider .slider-dots span,
    body .vdn-home-products-modern .product-card .btn-ver {
        transition: none !important;
    }
}


/* VDN HERO PRECISION 20260923J */

@media (min-width: 769px) {

    /*
     * Más presencia vertical y menos separación:
     * el hero queda unido visualmente con Productos.
     */
    html body .slider#slider {
        width: 100vw !important;
        max-width: none !important;
        height: clamp(310px, 23vw, 420px) !important;
        min-height: 310px !important;
        max-height: 420px !important;
        margin-top: -24px !important;
        margin-right: 0 !important;
        margin-bottom: 26px !important;
        margin-left: 0 !important;
    }

    html body .slider#slider .slide {
        width: 100% !important;
        height: 100% !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    /*
     * Corrección real de los indicadores:
     * una regla anterior conservaba translateX(-50%)
     * y enviaba todo el grupo al extremo izquierdo.
     */
    html body .slider#slider .slider-dots {
        position: absolute !important;
        top: auto !important;
        right: 0 !important;
        bottom: 18px !important;
        left: 0 !important;
        z-index: 100 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        width: 100% !important;
        height: 24px !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    html body .slider#slider .slider-dots span {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        flex: 0 0 auto !important;
        width: 12px !important;
        height: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: 2px solid #ffffff !important;
        border-radius: 999px !important;
        background-color: rgba(8, 33, 60, 0.72) !important;
        box-shadow:
            0 2px 7px rgba(0, 0, 0, 0.42),
            0 0 0 1px rgba(4, 28, 51, 0.32)
            !important;
        transform: none !important;
    }

    html body .slider#slider .slider-dots span.active {
        width: 32px !important;
        height: 12px !important;
        background-color: #199750 !important;
        border-color: #ffffff !important;
        transform: none !important;
    }

    html body .slider#slider .slider-dots span:hover {
        background-color: #ffffff !important;
        transform: scale(1.12) !important;
    }

    /*
     * Hover aplicado directamente a los dos sliders reales.
     */
    html body #productSlider .product-card .btn-ver,
    html body #productSliderOffers .product-card .btn-ver {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        align-self: center !important;
        margin-right: auto !important;
        margin-left: auto !important;
        cursor: pointer !important;
        transition:
            color 180ms ease,
            background-color 180ms ease,
            border-color 180ms ease,
            box-shadow 180ms ease,
            transform 180ms ease
            !important;
    }

    html body #productSlider .product-card .btn-ver:hover,
    html body #productSlider .product-card .btn-ver:focus-visible,
    html body #productSliderOffers .product-card .btn-ver:hover,
    html body #productSliderOffers .product-card .btn-ver:focus-visible {
        color: #ffffff !important;
        background-color: #178f49 !important;
        background-image: none !important;
        border-color: #178f49 !important;
        box-shadow:
            0 9px 22px rgba(23, 143, 73, 0.28)
            !important;
        transform: translateY(-2px) !important;
        text-decoration: none !important;
        outline: none !important;
    }

    html body #productSlider .product-card .btn-ver:active,
    html body #productSliderOffers .product-card .btn-ver:active {
        color: #ffffff !important;
        background-color: #11783c !important;
        border-color: #11783c !important;
        box-shadow:
            0 4px 10px rgba(23, 143, 73, 0.20)
            !important;
        transform: translateY(0) !important;
    }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
    html body #productSlider .product-card .btn-ver,
    html body #productSliderOffers .product-card .btn-ver,
    html body .slider#slider .slider-dots span {
        transition: none !important;
    }
}


/* VDN CART REMINDER TOAST 20260924M */

.vdn-cart-reminder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.vdn-cart-reminder-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.vdn-cart-reminder-close {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #edf2f7;
    color: #526176;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.vdn-cart-reminder-close:hover,
.vdn-cart-reminder-close:focus-visible {
    background: #dfe8f1;
    color: #0b3762;
    outline: none;
}

.vdn-cart-reminder.is-closing {
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    pointer-events: none !important;
}

@media (min-width: 769px) {
    html body .vdn-cart-reminder {
        position: fixed !important;
        top: 224px !important;
        right: 24px !important;
        left: auto !important;
        z-index: 1080 !important;
        width: min(390px, calc(100vw - 48px)) !important;
        margin: 0 !important;
        padding: 12px 14px !important;
        border: 1px solid rgba(14, 61, 103, 0.15) !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.97) !important;
        box-shadow:
            0 14px 35px rgba(10, 35, 65, 0.20)
            !important;
        backdrop-filter: blur(12px);
        transition:
            opacity 200ms ease,
            transform 200ms ease
            !important;
    }
}

@media (max-width: 768px) {
    html body .vdn-cart-reminder {
        width: auto !important;
        margin: 56px 12px 16px !important;
        padding: 10px 12px !important;
        border-radius: 9px !important;
    }

    html body .vdn-cart-reminder strong {
        font-size: 14px !important;
    }

    html body .vdn-cart-reminder-close {
        width: 28px;
        height: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vdn-cart-reminder {
        transition: none !important;
    }
}


/* Catalogo movil: recorte del titulo */
@media (max-width: 480px) {
    .vdn-home-products-modern .product-card .info h4 {
        height: 2.6em !important;
        min-height: 2.6em !important;
        max-height: 2.6em !important;
        padding-block: 0 !important;
        overflow: hidden !important;
    }
}
