/* =========================================================
   VENTACTIVE
   DESCUBRE MÁS
========================================================= */

.vcDiscover {
    position: relative;
    padding: 18px 0 84px;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(69, 143, 203, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 20%,
            rgba(54, 194, 159, 0.06),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbfd 100%
        );
}

.vcDiscoverInner {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.vcDiscoverHeader {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: end;
    gap: 32px;
    margin-bottom: 24px;
}

.vcDiscoverHeaderCopy {
    max-width: 760px;
}

.vcDiscoverEyebrow {
    display: block;
    margin-bottom: 7px;
    color: #8c9cab;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vcDiscoverHeaderCopy h2 {
    margin: 0;
    max-width: 720px;
    color: #173b60;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.vcDiscoverHeaderCopy p {
    max-width: 620px;
    margin: 12px 0 0;
    color: #8596a5;
    font-size: 10px;
    line-height: 1.65;
}


/* =========================================================
   EXPLORE ALL
========================================================= */

.vcDiscoverExploreAll {
    min-width: 220px;
    min-height: 58px;
    padding:
        8px 8px
        8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(22, 59, 94, 0.07);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95),
            rgba(247, 250, 253, 0.92)
        );
    color: #3b5a73;
    text-decoration: none;
    box-shadow:
        0 14px 30px rgba(24, 61, 94, 0.07),
        inset 0 1px 0 #ffffff;
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.vcDiscoverExploreAll:hover {
    transform: translateY(-3px);
    border-color: rgba(38, 106, 166, 0.13);
    box-shadow:
        0 20px 40px rgba(24, 61, 94, 0.1),
        inset 0 1px 0 #ffffff;
}

.vcDiscoverExploreAll > span:first-child {
    display: flex;
    flex-direction: column;
}

.vcDiscoverExploreAll small {
    color: #93a1ad;
    font-size: 7px;
    font-weight: 800;
}

.vcDiscoverExploreAll strong {
    margin-top: 2px;
    color: #36546f;
    font-size: 10px;
    font-weight: 900;
}

.vcDiscoverExploreArrow {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #173b60,
            #2d75b7
        );
    color: #ffffff;
    box-shadow:
        0 10px 20px rgba(25, 72, 113, 0.16);
}

.vcDiscoverExploreArrow svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.vcDiscoverLayout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.85fr)
        minmax(320px, 0.8fr);
    gap: 18px;
    align-items: stretch;
}


/* =========================================================
   PRODUCTS BLOCK
========================================================= */

.vcDiscoverProductsBlock {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(23, 60, 94, 0.06);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(249, 252, 254, 0.95)
        );
    box-shadow:
        0 18px 42px rgba(24, 61, 94, 0.07),
        inset 0 1px 0 #ffffff;
}


/* =========================================================
   BLOCK HEADER
========================================================= */

.vcDiscoverBlockHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.vcDiscoverBlockHeader > div {
    display: flex;
    flex-direction: column;
}

.vcDiscoverBlockHeader span {
    color: #93a2af;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vcDiscoverBlockHeader strong {
    margin-top: 3px;
    color: #34536e;
    font-size: 14px;
    font-weight: 850;
}

.vcDiscoverPulse {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef7f4;
}

.vcDiscoverPulse > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #31c596;
    box-shadow:
        0 0 0 5px rgba(49, 197, 150, 0.09);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.vcDiscoverProducts {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 12px;
}


/* =========================================================
   DISCOVERY PRODUCT
========================================================= */

.vcDiscoverProduct {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(24, 61, 95, 0.055);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 8px 20px rgba(24, 61, 94, 0.04);
    transition:
        transform 0.26s cubic-bezier(.2,.75,.3,1),
        box-shadow 0.26s ease,
        border-color 0.26s ease;
}

.vcDiscoverProduct:hover {
    transform: translateY(-5px);
    border-color: rgba(38, 106, 166, 0.11);
    box-shadow:
        0 18px 34px rgba(24, 61, 94, 0.09);
}


/* =========================================================
   PRODUCT MEDIA
========================================================= */

.vcDiscoverProductMedia {
    position: relative;
    height: 190px;
    display: block;
    overflow: hidden;
    margin: 5px;
    border-radius: 15px;
    background:
        radial-gradient(
            circle at 50% 42%,
            #ffffff,
            #f1f6f9 68%,
            #eaf1f5
        );
}

.vcDiscoverProductMedia::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 13px;
    width: 54%;
    height: 14px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(22, 58, 90, 0.07);
    filter: blur(10px);
}

.vcDiscoverProductMedia img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 16px;
    transform: scale(0.96);
    transition:
        transform 0.38s cubic-bezier(.2,.75,.3,1);
}

.vcDiscoverProduct:hover
.vcDiscoverProductMedia img {
    transform: scale(1.045);
}


/* =========================================================
   DISCOUNT
========================================================= */

.vcDiscoverDiscount {
    position: absolute;
    z-index: 5;
    top: 8px;
    left: 8px;
    min-height: 23px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(23, 59, 95, 0.92);
    color: #ffffff;
    box-shadow:
        0 6px 14px rgba(24, 63, 99, 0.15);
    font-size: 7px;
    font-weight: 900;
}


/* =========================================================
   PRODUCT ARROW
========================================================= */

.vcDiscoverProductArrow {
    position: absolute;
    z-index: 5;
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(24, 61, 95, 0.07);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #53738e;
    box-shadow:
        0 7px 16px rgba(24, 61, 94, 0.06);
    backdrop-filter: blur(10px);
    transform: translateX(4px);
    opacity: 0;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        background 0.22s ease;
}

.vcDiscoverProduct:hover
.vcDiscoverProductArrow {
    transform: translateX(0);
    opacity: 1;
}

.vcDiscoverProductArrow svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.vcDiscoverProductInfo {
    padding:
        7px 10px
        12px;
}

.vcDiscoverRating {
    min-height: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 5px;
}

.vcDiscoverRating > span {
    color: #f4b63c;
    font-size: 10px;
}

.vcDiscoverRating strong {
    color: #45637c;
    font-size: 8.5px;
}

.vcDiscoverRating small {
    color: #97a5b1;
    font-size: 7px;
}

.vcDiscoverRatingNew {
    color: #96a4b0;
    font-size: 7.5px;
    font-weight: 700;
}

.vcDiscoverProductTitle {
    display: -webkit-box;
    overflow: hidden;
    min-height: 32px;
    color: #294965;
    text-decoration: none;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vcDiscoverProductInfo p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 29px;
    margin: 5px 0 0;
    color: #8c9ca9;
    font-size: 7.5px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =========================================================
   PRODUCT PRICE
========================================================= */

.vcDiscoverProductPrice {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 9px;
}

.vcDiscoverProductPrice > span {
    color: #9faab4;
    font-size: 7px;
    text-decoration: line-through;
}

.vcDiscoverProductPrice strong {
    color: #173b60;
    font-size: 14px;
    letter-spacing: -0.03em;
}

.vcDiscoverProductPrice small {
    color: #91a1ae;
    font-size: 6.5px;
    font-weight: 850;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.vcDiscoverPlaceholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #8297a8;
}

.vcDiscoverPlaceholder span {
    font-size: 11px;
    font-weight: 900;
}

.vcDiscoverPlaceholder small {
    margin-top: 3px;
    font-size: 7px;
}


/* =========================================================
   DISCOVERY ASIDE
========================================================= */

.vcDiscoverAside {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            #173b60 0%,
            #225c8d 52%,
            #2d79b8 100%
        );
    color: #ffffff;
    box-shadow:
        0 24px 55px rgba(23, 59, 96, 0.18);
}

.vcDiscoverAsideGlow {
    position: absolute;
    width: 320px;
    height: 320px;
    right: -130px;
    top: -130px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(108, 218, 198, 0.2),
            transparent 68%
        );
    pointer-events: none;
}

.vcDiscoverAside::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.17;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255,255,255,0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.07) 1px,
            transparent 1px
        );
    background-size: 34px 34px;
}

.vcDiscoverAside > * {
    position: relative;
    z-index: 2;
}

.vcDiscoverAsideEyebrow {
    color: rgba(255, 255, 255, 0.63);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vcDiscoverAside h3 {
    margin: 10px 0 0;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.vcDiscoverAside h3 strong {
    display: block;
    color: #9be7d3;
}

.vcDiscoverAside > p {
    max-width: 330px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 9px;
    line-height: 1.6;
}


/* =========================================================
   SUBCATEGORIES
========================================================= */

.vcDiscoverSubcategories {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.vcDiscoverSubcategory {
    min-height: 64px;
    padding: 8px 9px;
    display: grid;
    grid-template-columns:
        auto 1fr auto;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}

.vcDiscoverSubcategory:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.11);
}

.vcDiscoverSubNumber {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.65);
    font-size: 8px;
    font-weight: 900;
}

.vcDiscoverSubCopy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.vcDiscoverSubCopy small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 7px;
}

.vcDiscoverSubCopy strong {
    overflow: hidden;
    margin-top: 2px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vcDiscoverSubArrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.vcDiscoverSubArrow svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   FALLBACK LINK
========================================================= */

.vcDiscoverFallbackLink {
    min-height: 48px;
    margin-top: 22px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-size: 9px;
    font-weight: 850;
}

.vcDiscoverFallbackLink svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   ASIDE FOOT
========================================================= */

.vcDiscoverAsideFoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vcDiscoverAsideFoot > span:first-child {
    color: rgba(255, 255, 255, 0.42);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vcDiscoverAsideFoot > span:last-child {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 7px;
}

.vcDiscoverAsideFoot i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ce2ba;
    box-shadow:
        0 0 0 4px rgba(108, 226, 186, 0.12);
}


/* =========================================================
   LARGE
========================================================= */

@media (min-width: 1500px) {

    .vcDiscoverInner {
        width: min(1580px, calc(100% - 70px));
    }

    .vcDiscoverProductMedia {
        height: 210px;
    }
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1280px) {

    .vcDiscoverLayout {
        grid-template-columns:
            minmax(0, 1.6fr)
            minmax(300px, 0.8fr);
    }

    .vcDiscoverProducts {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .vcDiscoverProductMedia {
        height: 220px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .vcDiscoverHeader {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .vcDiscoverExploreAll {
        width: max-content;
    }

    .vcDiscoverLayout {
        grid-template-columns: 1fr;
    }

    .vcDiscoverProducts {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .vcDiscoverProductMedia {
        height: 180px;
    }

    .vcDiscoverAside {
        min-height: 0;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .vcDiscover {
        padding:
            8px 0
            52px;
    }

    .vcDiscoverInner {
        width: calc(100% - 24px);
    }

    .vcDiscoverHeader {
        gap: 18px;
        margin-bottom: 16px;
    }

    .vcDiscoverHeaderCopy h2 {
        font-size: 32px;
    }

    .vcDiscoverExploreAll {
        width: 100%;
    }

    .vcDiscoverProductsBlock {
        padding: 13px;
        border-radius: 22px;
    }

    .vcDiscoverProducts {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .vcDiscoverProduct {
        border-radius: 16px;
    }

    .vcDiscoverProductMedia {
        height: 160px;
        border-radius: 12px;
    }

    .vcDiscoverProductArrow {
        opacity: 1;
        transform: none;
    }

    .vcDiscoverProductInfo {
        padding:
            5px 8px
            10px;
    }

    .vcDiscoverProductTitle {
        min-height: 30px;
        font-size: 9px;
    }

    .vcDiscoverProductInfo p {
        display: none;
    }

    .vcDiscoverProductPrice strong {
        font-size: 12px;
    }

    .vcDiscoverAside {
        padding: 22px;
        border-radius: 22px;
    }

    .vcDiscoverAside h3 {
        font-size: 32px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .vcDiscoverInner {
        width: calc(100% - 20px);
    }

    .vcDiscoverProducts {
        gap: 7px;
    }

    .vcDiscoverProductMedia {
        height: 140px;
    }

    .vcDiscoverDiscount {
        min-height: 20px;
        font-size: 6.5px;
    }

    .vcDiscoverProductArrow {
        width: 28px;
        height: 28px;
    }

    .vcDiscoverAsideFoot {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vcDiscoverExploreAll,
    .vcDiscoverProduct,
    .vcDiscoverProductMedia img,
    .vcDiscoverProductArrow,
    .vcDiscoverSubcategory {
        transition: none !important;
    }
}

/* =========================================================
   DESCUBRE MÁS
   JS ENHANCEMENTS
========================================================= */

.vcDiscover {
    --vc-discover-progress: 0;
}

.vcDiscoverHeader,
.vcDiscoverProductsBlock,
.vcDiscoverAside {
    opacity: 0;
    transform: translateY(20px);
}

.vcDiscover.is-visible
.vcDiscoverHeader,
.vcDiscover.is-visible
.vcDiscoverProductsBlock {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.65s ease,
        transform 0.65s
            cubic-bezier(.2,.75,.3,1);
}

.vcDiscoverProduct {
    opacity: 0;
    transform:
        translateY(18px)
        perspective(900px)
        rotateX(
            var(--vc-discover-rx, 0deg)
        )
        rotateY(
            var(--vc-discover-ry, 0deg)
        );
}

.vcDiscoverProduct.is-visible {
    opacity: 1;
    transform:
        translateY(0)
        perspective(900px)
        rotateX(
            var(--vc-discover-rx, 0deg)
        )
        rotateY(
            var(--vc-discover-ry, 0deg)
        );
    transition:
        opacity 0.55s ease
            var(--vc-discover-delay, 0ms),
        transform 0.55s
            cubic-bezier(.2,.75,.3,1)
            var(--vc-discover-delay, 0ms),
        box-shadow 0.26s ease,
        border-color 0.26s ease;
}

.vcDiscoverProduct.is-visible:hover {
    transform:
        translateY(-5px)
        perspective(900px)
        rotateX(
            var(--vc-discover-rx, 0deg)
        )
        rotateY(
            var(--vc-discover-ry, 0deg)
        );
}

.vcDiscoverProductMedia::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(
            circle at
            var(--vc-discover-x, 50%)
            var(--vc-discover-y, 50%),
            rgba(255,255,255,0.65),
            transparent 35%
        );
    transition:
        opacity 0.2s ease;
}

.vcDiscoverProduct:hover
.vcDiscoverProductMedia::before {
    opacity: 1;
}

.vcDiscoverAside {
    opacity: 0;
    transform: translateY(20px);
}

.vcDiscoverAside.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s ease 0.12s,
        transform 0.7s
            cubic-bezier(.2,.75,.3,1)
            0.12s;
}

.vcDiscoverAsideGlow {
    left:
        calc(
            var(
                --vc-discover-aside-x,
                75%
            )
            - 160px
        );

    top:
        calc(
            var(
                --vc-discover-aside-y,
                20%
            )
            - 160px
        );

    right: auto;

    transition:
        left 0.18s ease-out,
        top 0.18s ease-out;
}

.vcDiscoverSubcategory.is-focused {
    border-color:
        rgba(
            255,
            255,
            255,
            0.24
        );

    background:
        rgba(
            255,
            255,
            255,
            0.13
        );
}

.vcDiscoverExploreAll {
    position: relative;
    overflow: hidden;
}

.vcDiscoverExploreAll::before {
    content: "";
    position: absolute;
    z-index: 0;

    width: 120px;
    height: 120px;

    left:
        calc(
            var(--vc-explore-x, 50%)
            - 60px
        );

    top:
        calc(
            var(--vc-explore-y, 50%)
            - 60px
        );

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(61, 142, 203, 0.12),
            transparent 70%
        );

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.2s ease;
}

.vcDiscoverExploreAll:hover::before {
    opacity: 1;
}

.vcDiscoverExploreAll > * {
    position: relative;
    z-index: 2;
}

.vcDiscoverProduct.is-leaving {
    transform:
        scale(0.985)
        perspective(900px)
        rotateX(
            var(--vc-discover-rx, 0deg)
        )
        rotateY(
            var(--vc-discover-ry, 0deg)
        );
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .vcDiscoverProduct {
        transform:
            translateY(12px);
    }

    .vcDiscoverProduct.is-visible,
    .vcDiscoverProduct.is-visible:hover {
        transform:
            translateY(0);
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vcDiscoverHeader,
    .vcDiscoverProductsBlock,
    .vcDiscoverAside,
    .vcDiscoverProduct {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .vcDiscoverProductMedia::before,
    .vcDiscoverExploreAll::before {
        display: none;
    }

}