/* VDN_VISUAL_HOME_FE151 */
html body .vdn-catalog.product-box{box-sizing:border-box;padding-left:20px!important;padding-right:20px!important}
html body .vdn-catalog.product-box>.product-container{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:8px 0 30px!important}
html body .vdn-home-controls.product-box{box-sizing:border-box;padding-left:0!important;padding-right:0!important}
html body .vdn-home-controls .vdn-filter-form{margin-bottom:0!important}
html body .vdn-catalog-breadcrumb{display:flex;align-items:center;gap:10px;padding:11px 15px;margin-bottom:20px;border:1px solid #dce7ef;border-radius:11px;background:#fff;font-size:13px;font-weight:600}
html body .vdn-catalog-breadcrumb a{color:#17466c;text-decoration:none;padding:3px 0}
html body .vdn-catalog-breadcrumb a:hover{text-decoration:underline}
html body .vdn-breadcrumb-arrow{color:#8699aa;font-size:19px;font-weight:400}
html body .vdn-catalog-heading h1{font-size:clamp(24px,2.4vw,32px);font-weight:800;line-height:1.25}
html body .vdn-catalog-heading .vdn-result-count{display:flex;align-items:center;gap:9px;padding:12px 16px;border:1px solid #c8e7d5;border-radius:12px;background:#edf8f1;color:#17643b;font-size:14px;font-weight:600;white-space:nowrap}
html body .vdn-result-count strong{font-size:23px;font-weight:800;line-height:1}
html body .vdn-filter-chips a.vdn-clear-filters{padding:9px 15px;min-height:38px;background:#fff;border:1px solid #b7cbd9;border-radius:9px;text-decoration:none;color:#17466c;font-size:12px;font-weight:700;box-shadow:0 2px 6px #123c5908}
html body .vdn-filter-chips a.vdn-clear-filters:hover{background:#eef5fa;border-color:#729bb9}
html body .vdn-filter-chips a:focus-visible{outline:3px solid #1a8c52;outline-offset:3px}
html body .vdn-catalog-empty{padding:45px 20px;border:1px solid #dce5ed;background:#fff;box-shadow:0 5px 18px #173b5908}
html body .vdn-catalog-empty h2{font-size:24px;font-weight:800;line-height:1.3}
html body .vdn-catalog-empty p{font-size:15px;color:#60758a;margin:12px 0 22px}
html body .vdn-catalog-grid.product-slider{gap:22px!important}
html body .vdn-catalog-grid.product-slider .btn-ver{width:100%!important;box-sizing:border-box}
@media(min-width:992px){html body .vdn-catalog.product-box,html body .vdn-home-controls.product-box{width:min(calc(100vw - 64px),1280px)!important;max-width:1280px!important;margin-left:calc((100% - min(calc(100vw - 64px),1280px))/2)!important;margin-right:0!important}}
@media(max-width:991px){html body .vdn-catalog.product-box,html body .vdn-home-controls.product-box{width:calc(100% - 24px)!important;max-width:none!important;margin-left:12px!important;margin-right:12px!important}html body .vdn-catalog.product-box{padding-left:0!important;padding-right:0!important}}
@media(max-width:767px){html body .vdn-catalog-heading .vdn-result-count{width:fit-content;margin-top:12px;white-space:normal}html body .vdn-catalog-breadcrumb{font-size:12px;gap:8px}html body .vdn-catalog-grid.product-slider{gap:12px!important}}


@media (max-width: 768px) {
    body.vdn-home-products-modern
    .product-card
    .fav-btn {
        color: #5f6f82 !important;
    }

    body.vdn-home-products-modern
    .product-card
    .fav-btn.active {
        color: #ef5662 !important;
    }
}


body.vdn-home-products-modern
.product-card
.fav-btn
.vdn-heart-text {
    display: inline-block !important;
    color: inherit !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-rendering: geometricPrecision;
}

/*
 * Estado apagado.
 */
body.vdn-home-products-modern
.product-card
.fav-btn:not(.active)
.vdn-heart-text {
    color: #5f6f82 !important;
}

/*
 * Estado de favorito real.
 */
body.vdn-home-products-modern
.product-card
.fav-btn.active
.vdn-heart-text {
    color: #ef5662 !important;
}


html body.vdn-home-products-modern .product-card .img-wrap {
    background: #fff !important;
    border: 1px solid #edf1f4 !important;
    border-radius: 14px !important;
}
html body.vdn-home-products-modern .product-card .img-wrap img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
}
html body.vdn-home-products-modern .product-card .product-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    width: auto !important;
    max-width: calc(100% - 58px) !important;
    margin: 0 !important;
    padding: 5px 9px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    white-space: normal !important;
    transform: none !important;
}
html body.vdn-home-products-modern .product-card .product-badge.nuevo {
    background: #e8f5ec !important;
    color: #17643a !important;
    border-color: #c9e8d3 !important;
}
html body.vdn-home-products-modern .product-card .product-badge.usado {
    background: #edf3fb !important;
    color: #254e7b !important;
    border-color: #d3e1f2 !important;
}
html body.vdn-home-products-modern .product-card .product-badge.reacondicionado {
    background: #f2edfa !important;
    color: #62418a !important;
    border-color: #e1d5f0 !important;
}


html body.vdn-home-products-modern .product-card .product-badge {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    font-style: normal !important;
    line-height: 1.3 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    padding: 5px 9px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
}
html body.vdn-home-products-modern .product-card .product-badge.nuevo {background:#e8f5ec !important;color:#17643a !important;border-color:#c9e8d3 !important;}
html body.vdn-home-products-modern .product-card .product-badge.usado {background:#edf3fb !important;color:#254e7b !important;border-color:#d3e1f2 !important;}
html body.vdn-home-products-modern .product-card .product-badge.reacondicionado {background:#f2edfa !important;color:#62418a !important;border-color:#e1d5f0 !important;}



@media (max-width:767px) {
    html body.vdn-home-products-modern .product-card span.vdn-price-label {
        color:#75869a!important;
        -webkit-text-fill-color:#75869a!important;
    }
}


html body.vdn-home-products-modern .product-card .vdn-price-before {
    color:#75869a!important;
    -webkit-text-fill-color:#75869a!important;
}
html body.vdn-home-products-modern .product-card .vdn-price-before del {
    color:#e05252!important;
    -webkit-text-fill-color:#e05252!important;
    text-decoration-color:#e05252!important;
}


html body.vdn-home-products-modern .product-card .vdn-price-saving,
html body.vdn-home-products-modern .product-card .vdn-price-saving * {
    font-weight:500!important;
}

/* FE136: sello de envío, sin cambios en precios */
html body .vdn-shipping-seal-FE136{display:block!important;position:absolute!important;right:6px!important;bottom:6px!important;width:46px!important;height:46px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%;clip-path:circle(48% at 50% 50%);background:transparent url('/assets/vdn-sello-envio-FE136.png') center/contain no-repeat!important;z-index:4!important;pointer-events:none!important;box-shadow:0 2px 5px #07314f20!important;transform:none!important}
html body .img-wrap:has(>.vdn-shipping-seal-FE136),html body .main-image-container:has(>.vdn-shipping-seal-FE136),html body .related-photo:has(>.vdn-shipping-seal-FE136){position:relative!important}
@media(max-width:600px){html body .vdn-shipping-seal-FE136{width:42px!important;height:42px!important;right:4px!important;bottom:4px!important}}


/* VDN_HOME_HOVER_FE152 */

/* HOME: una sola caja de filtros, usando todo el ancho. */
html body .vdn-home-controls.product-box {
    display:block!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
}
html body .vdn-home-controls.product-box > .vdn-filter-form {
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
}

/* Mismo comportamiento del botón original de HOME. */
html body #vdn-catalog-grid-FE150 .product-card .btn-ver {
    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 #vdn-catalog-grid-FE150 .product-card .btn-ver:hover,
html body #vdn-catalog-grid-FE150 .product-card .btn-ver:focus-visible {
    color:#fff!important;
    background-color:#178f49!important;
    background-image:none!important;
    border-color:#178f49!important;
    box-shadow:0 9px 22px rgba(23,143,73,.28)!important;
    transform:translateY(-2px)!important;
    text-decoration:none!important;
}
html body #vdn-catalog-grid-FE150 .product-card .btn-ver:active {
    color:#fff!important;
    background-color:#11783c!important;
    border-color:#11783c!important;
    box-shadow:0 4px 10px rgba(23,143,73,.20)!important;
    transform:translateY(0)!important;
}
@media (hover:hover) and (pointer:fine) {
    html body #vdn-catalog-grid-FE150 > .product-card {
        transition:transform .22s ease,box-shadow .22s ease,
            border-color .22s ease!important;
    }
    html body #vdn-catalog-grid-FE150 > .product-card:hover {
        transform:translateY(-4px)!important;
        border-color:#b9cfdf!important;
        box-shadow:0 18px 36px rgba(15,45,75,.14)!important;
    }
}

/* Limpiar filtros: rojo y blanco al interactuar. */
html body .vdn-filter-chips a.vdn-clear-filters {
    transition:background-color .18s ease,color .18s ease,
        border-color .18s ease,box-shadow .18s ease!important;
}
html body .vdn-filter-chips a.vdn-clear-filters:hover,
html body .vdn-filter-chips a.vdn-clear-filters:focus-visible {
    background:#c93642!important;
    border-color:#c93642!important;
    color:#fff!important;
    text-decoration:none!important;
    box-shadow:0 4px 12px rgba(201,54,66,.18)!important;
}

/* Contador inferior: visible y coherente con el resultado superior. */
html body #vdn-catalog-progress-FE150 {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:11px 18px!important;
    margin:16px auto!important;
    border:1px solid #c8e7d5!important;
    border-radius:999px!important;
    background:#edf8f1!important;
    color:#17643b!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.4!important;
}
html body #vdn-catalog-progress-FE150::before {
    content:"Mostrando";
    font-weight:500;
}
@media (prefers-reduced-motion:reduce) {
    html body #vdn-catalog-grid-FE150 .product-card,
    html body #vdn-catalog-grid-FE150 .btn-ver {
        transition:none!important;
        transform:none!important;
    }
}

/* VDN_HOME_FILTER_FRAME_FE153 */
html body.vdn-home-products-modern .vdn-home-controls.product-box {
    box-sizing:border-box!important;
    padding:0!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
html body.vdn-home-products-modern .vdn-home-controls.product-box > .vdn-filter-form {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    border:1px solid #dce6ee!important;
    border-radius:20px!important;
    background:#fff!important;
    background-clip:padding-box!important;
    box-shadow:0 5px 18px rgba(16,45,76,.04)!important;
}
@media(min-width:992px) {
    html body.vdn-home-products-modern .vdn-home-controls.product-box {
        position:relative!important;
        left:50%!important;
        transform:translateX(-50%)!important;
        width:min(1280px,calc(100vw - 64px))!important;
        max-width:1280px!important;
        margin-left:0!important;
        margin-right:0!important;
    }
}
@media(max-width:991px) {
    html body.vdn-home-products-modern .vdn-home-controls.product-box {
        position:relative!important;
        left:auto!important;
        transform:none!important;
        width:calc(100% - 24px)!important;
        margin-left:12px!important;
        margin-right:12px!important;
    }
}
