/* =========================================================
   VENTACTIVE
   RELATED PRODUCTS
========================================================= */

.vcProductRelated {
    position: relative;
    padding:
        8px
        clamp(18px, 4vw, 70px)
        clamp(80px, 8vw, 120px);
}

.vcProductRelatedInner {
    width: min(1540px, 100%);
    margin: 0 auto;
}


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

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

.vcProductRelatedHeaderCopy {
    max-width: 820px;
}

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

.vcProductRelatedHeader h2 {
    margin: 0;
    color: #123f68;
    font-family: "Inter", sans-serif;
    font-size:
        clamp(36px, 4.2vw, 62px);
    line-height: 0.97;
    letter-spacing: -0.045em;
}

.vcProductRelatedHeader h2 strong {
    display: block;
    color: #2a79ad;
}

.vcProductRelatedHeader p {
    max-width: 650px;
    margin: 14px 0 0;
    color: #7e92a4;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   EXPLORE BUTTON
========================================================= */

.vcProductRelatedExplore {
    min-width: 215px;
    min-height: 60px;
    padding: 8px 8px 8px 16px;
    display: grid;
    grid-template-columns:
        1fr auto;
    align-items: center;
    gap: 14px;
    border:
        1px solid
        rgba(22, 77, 124, 0.08);
    border-radius: 19px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.96),
            rgba(248,251,253,0.94)
        );
    color: #3a5d79;
    text-decoration: none;
    box-shadow:
        0 15px 34px
        rgba(22,65,99,0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.vcProductRelatedExplore:hover {
    transform: translateY(-3px);
    border-color:
        rgba(36,111,165,0.16);
    box-shadow:
        0 22px 42px
        rgba(22,65,99,0.1);
}

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

.vcProductRelatedExplore small {
    color: #91a2b0;
    font-size: 8px;
    font-weight: 750;
}

.vcProductRelatedExplore strong {
    margin-top: 2px;
    color: #315675;
    font-size: 11px;
}

.vcProductRelatedExplore
> span:last-child {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            #174d78,
            #2d80b6
        );
    color: #ffffff;
    box-shadow:
        0 10px 22px
        rgba(23,78,120,0.16);
}

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


/* =========================================================
   VIEWPORT
========================================================= */

.vcProductRelatedViewport {
    position: relative;
    min-width: 0;
    padding: 0 1px;
}


/* =========================================================
   RAIL
========================================================= */

.vcProductRelatedRail {
    display: flex;
    gap: 14px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding:
        2px 2px
        18px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

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


/* =========================================================
   CARD
========================================================= */

.vcProductRelatedCard {
    position: relative;
    min-width:
        clamp(
            240px,
            22vw,
            310px
        );
    flex:
        0 0
        clamp(
            240px,
            22vw,
            310px
        );
    overflow: hidden;
    border:
        1px solid
        rgba(22,77,124,0.07);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbfdfe
        );
    box-shadow:
        0 10px 28px
        rgba(22,65,99,0.05);
    scroll-snap-align: start;
    transition:
        transform 0.3s
        cubic-bezier(.2,.75,.3,1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.vcProductRelatedCard:hover {
    transform: translateY(-7px);
    border-color:
        rgba(34,112,166,0.14);
    box-shadow:
        0 24px 52px
        rgba(22,65,99,0.11);
}


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

.vcProductRelatedMedia {
    position: relative;
    display: block;
    height: 240px;
    margin: 6px;
    overflow: hidden;
    border-radius: 19px;
    background:
        radial-gradient(
            circle at 50% 43%,
            #ffffff,
            #f2f6f9 67%,
            #eaf1f5
        );
}

.vcProductRelatedAmbient {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.vcProductRelatedAmbient::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: 50%;
    top: 50%;
    transform:
        translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(65,151,211,0.10),
            transparent 68%
        );
}

.vcProductRelatedMedia::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 58%;
    height: 15px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        rgba(22,58,90,0.07);
    filter: blur(11px);
}

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

.vcProductRelatedCard:hover
.vcProductRelatedMedia img {
    transform:
        scale(1.05)
        translateY(-2px);
}


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

.vcProductRelatedDiscount {
    position: absolute;
    z-index: 5;
    left: 10px;
    top: 10px;
    min-height: 27px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background:
        linear-gradient(
            135deg,
            #164d78,
            #2d80b6
        );
    color: #ffffff;
    box-shadow:
        0 8px 18px
        rgba(22,77,124,0.18);
    font-size: 8px;
    font-weight: 900;
}


/* =========================================================
   MEDIA ARROW
========================================================= */

.vcProductRelatedMediaArrow {
    position: absolute;
    z-index: 6;
    right: 10px;
    bottom: 10px;
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border:
        1px solid
        rgba(22,77,124,0.08);
    border-radius: 12px;
    background:
        rgba(255,255,255,0.9);
    color: #53758e;
    box-shadow:
        0 8px 18px
        rgba(22,65,99,0.06);
    backdrop-filter: blur(10px);
    transform:
        translateX(5px);
    opacity: 0;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
}

.vcProductRelatedCard:hover
.vcProductRelatedMediaArrow {
    transform: translateX(0);
    opacity: 1;
}

.vcProductRelatedMediaArrow:hover {
    background: #174d78;
    color: #ffffff;
}

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


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

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

.vcProductRelatedPlaceholder span {
    font-size: 12px;
    font-weight: 900;
}

.vcProductRelatedPlaceholder small {
    margin-top: 4px;
    font-size: 8px;
}


/* =========================================================
   CONTENT
========================================================= */

.vcProductRelatedContent {
    padding:
        8px 14px
        15px;
}


/* =========================================================
   META
========================================================= */

.vcProductRelatedMeta {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.vcProductRelatedRating {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vcProductRelatedRating
.vcProductStars {
    font-size: 11px;
}

.vcProductRelatedRating strong {
    color: #45657d;
    font-size: 8.5px;
}

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

.vcProductRelatedNew {
    color: #94a3af;
    font-size: 7.5px;
}

.vcProductRelatedIndex {
    color: #a1afba;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 0.08em;
}


/* =========================================================
   TITLE
========================================================= */

.vcProductRelatedTitle {
    display: -webkit-box;
    overflow: hidden;
    min-height: 39px;
    color: #294f6d;
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.vcProductRelatedTitle:hover {
    color: #1e6f9f;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.vcProductRelatedContent > p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 31px;
    margin: 6px 0 0;
    color: #8c9ca9;
    font-size: 8.5px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =========================================================
   BOTTOM
========================================================= */

.vcProductRelatedBottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
}


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

.vcProductRelatedPrice {
    min-width: 0;
}

.vcProductRelatedPrice > span {
    display: block;
    margin-bottom: 2px;
    color: #9faab4;
    font-size: 7px;
    text-decoration: line-through;
}

.vcProductRelatedPrice strong {
    color: #173f63;
    font-size: 17px;
    letter-spacing: -0.03em;
}

.vcProductRelatedPrice small {
    margin-left: 3px;
    color: #91a1ae;
    font-size: 6.5px;
    font-weight: 850;
}


/* =========================================================
   ADD TO CART
========================================================= */

.vcProductRelatedAdd {
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            #174d78,
            #2d80b6
        );
    color: #ffffff;
    cursor: pointer;
    box-shadow:
        0 10px 22px
        rgba(23,78,120,0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.vcProductRelatedAdd:hover {
    transform:
        translateY(-2px)
        scale(1.04);
    box-shadow:
        0 14px 28px
        rgba(23,78,120,0.23);
}

.vcProductRelatedAdd:active {
    transform: scale(0.95);
}

.vcProductRelatedAdd svg {
    width: 20px;
    height: 20px;
}


/* =========================================================
   ADD STATES
========================================================= */

.vcProductRelatedAdd.is-loading {
    pointer-events: none;
    opacity: 0.82;
}

.vcProductRelatedAdd.is-success {
    background:
        linear-gradient(
            135deg,
            #15986f,
            #35c899
        );
}

.vcProductRelatedAdd.is-error {
    background:
        linear-gradient(
            135deg,
            #bf4646,
            #e56666
        );
}

.vcProductRelatedAdd.is-loading svg {
    display: none;
}

.vcProductRelatedAdd.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border:
        2px solid
        rgba(255,255,255,0.34);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation:
        vcRelatedLoader
        0.65s linear infinite;
}

@keyframes vcRelatedLoader {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   NAV ARROWS
========================================================= */

.vcProductRelatedArrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    width: 48px;
    height: 48px;
    padding: 0;
    transform:
        translateY(-50%);
    display: grid;
    place-items: center;
    border:
        1px solid
        rgba(22,77,124,0.1);
    border-radius: 15px;
    background:
        rgba(255,255,255,0.94);
    color: #3d6786;
    box-shadow:
        0 14px 30px
        rgba(22,65,99,0.10);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease,
        opacity 0.22s ease;
}

.vcProductRelatedArrow:hover {
    background: #174d78;
    color: #ffffff;
}

.vcProductRelatedArrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.vcProductRelatedArrow svg {
    width: 19px;
    height: 19px;
}

.vcProductRelatedPrev {
    left: -19px;
}

.vcProductRelatedNext {
    right: -19px;
}

.vcProductRelatedPrev:hover {
    transform:
        translateY(-50%)
        translateX(-2px);
}

.vcProductRelatedNext:hover {
    transform:
        translateY(-50%)
        translateX(2px);
}


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

.vcProductRelatedFoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 7px;
    padding: 0 4px;
}

.vcProductRelatedFoot > span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8c9dab;
    font-size: 8px;
}

.vcProductRelatedFoot i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #31c596;
    box-shadow:
        0 0 0 4px
        rgba(49,197,150,0.09);
}


/* =========================================================
   RESPONSIVE 1100
========================================================= */

@media (max-width: 1100px) {

    .vcProductRelatedCard {
        min-width: 280px;
        flex-basis: 280px;
    }

}


/* =========================================================
   RESPONSIVE 850
========================================================= */

@media (max-width: 850px) {

    .vcProductRelated {
        padding-left: 18px;
        padding-right: 18px;
    }

    .vcProductRelatedHeader {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
    }

    .vcProductRelatedExplore {
        width: max-content;
    }

    .vcProductRelatedArrow {
        display: none;
    }

    .vcProductRelatedRail {
        margin-right: -18px;
        padding-right: 18px;
    }

}


/* =========================================================
   RESPONSIVE 650
========================================================= */

@media (max-width: 650px) {

    .vcProductRelated {
        padding:
            6px 12px
            60px;
    }

    .vcProductRelatedHeader h2 {
        font-size: 35px;
    }

    .vcProductRelatedHeader p {
        font-size: 12px;
    }

    .vcProductRelatedExplore {
        width: 100%;
    }

    .vcProductRelatedRail {
        margin-right: -12px;
        padding-right: 12px;
        gap: 10px;
    }

    .vcProductRelatedCard {
        min-width: 245px;
        flex-basis: 245px;
        border-radius: 20px;
    }

    .vcProductRelatedMedia {
        height: 205px;
        border-radius: 16px;
    }

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

    .vcProductRelatedContent {
        padding:
            7px 11px
            13px;
    }

    .vcProductRelatedTitle {
        font-size: 10px;
    }

    .vcProductRelatedContent > p {
        display: none;
    }

    .vcProductRelatedPrice strong {
        font-size: 15px;
    }

    .vcProductRelatedFoot {
        align-items: flex-start;
        flex-direction: column;
        padding-left: 2px;
    }

}


/* =========================================================
   RESPONSIVE 430
========================================================= */

@media (max-width: 430px) {

    .vcProductRelated {
        padding-left: 8px;
        padding-right: 8px;
    }

    .vcProductRelatedHeader {
        padding-left: 8px;
        padding-right: 8px;
    }

    .vcProductRelatedHeader h2 {
        font-size: 31px;
    }

    .vcProductRelatedRail {
        margin-right: -8px;
        padding-right: 8px;
    }

    .vcProductRelatedCard {
        min-width: 220px;
        flex-basis: 220px;
    }

    .vcProductRelatedMedia {
        height: 185px;
    }

    .vcProductRelatedAdd {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.vcProductRelatedExplore:focus-visible,
.vcProductRelatedAdd:focus-visible,
.vcProductRelatedArrow:focus-visible,
.vcProductRelatedTitle:focus-visible,
.vcProductRelatedMedia:focus-visible {
    outline:
        3px solid
        rgba(45,133,192,0.28);
    outline-offset: 3px;
}


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

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

    .vcProductRelatedExplore,
    .vcProductRelatedCard,
    .vcProductRelatedMedia img,
    .vcProductRelatedMediaArrow,
    .vcProductRelatedAdd,
    .vcProductRelatedArrow {
        transition: none !important;
    }

    .vcProductRelatedAdd.is-loading::after {
        animation: none;
    }

}

/* =========================================================
   RELATED PRODUCTS
   WIDTH / OVERFLOW FIX
========================================================= */

.vcProductRelated,
.vcProductRelatedInner,
.vcProductRelatedHeader,
.vcProductRelatedViewport,
.vcProductRelatedRail,
.vcProductRelatedFoot {
    box-sizing: border-box;
}

.vcProductRelated {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.vcProductRelatedInner {
    width: min(1540px, 100%);
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
}

.vcProductRelatedHeader {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.vcProductRelatedHeaderCopy {
    min-width: 0;
    max-width: 100%;
}

.vcProductRelatedViewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.vcProductRelatedRail {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 850px) {

    .vcProductRelated {
        width: 100%;
        max-width: 100%;

        padding-left: 18px;
        padding-right: 18px;

        overflow: hidden;
    }

    .vcProductRelatedInner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .vcProductRelatedHeader {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        grid-template-columns: 1fr;

        align-items: start;

        gap: 16px;
    }

    .vcProductRelatedHeaderCopy {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .vcProductRelatedHeader h2,
    .vcProductRelatedHeader p {
        max-width: 100%;
    }

    .vcProductRelatedExplore {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        box-sizing: border-box;
    }

    .vcProductRelatedViewport {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow: hidden;
    }

    .vcProductRelatedRail {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin-right: 0;

        padding-right: 0;

        overflow-x: auto;
        overflow-y: hidden;

        overscroll-behavior-x: contain;
    }

    .vcProductRelatedArrow {
        display: none;
    }

}
