/* Related products: one native scrolling implementation on product details.
   Preserves product card content, purchase forms and gallery behavior. */
body.product-refresh-page .related-product-section .vsc-related-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}
body.product-refresh-page .related-product-section .vsc-related-heading-row h2 {
    margin-bottom: 0;
}
body.product-refresh-page .related-product-section .vsc-related-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}
body.product-refresh-page .related-product-section .vsc-related-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--site-primary-line, #d7e1ed);
    border-radius: 50%;
    background: #fff;
    color: var(--site-primary, #0b3b82);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease,
                color 160ms ease, transform 160ms ease;
}
body.product-refresh-page .related-product-section .vsc-related-arrow:hover:not(:disabled) {
    background: var(--site-primary, #0b3b82);
    border-color: var(--site-primary, #0b3b82);
    color: #fff;
    transform: translateY(-1px);
}
body.product-refresh-page .related-product-section .vsc-related-arrow:disabled {
    opacity: .35;
    cursor: default;
}
body.product-refresh-page .related-product-section .vsc-related-track {
    --vsc-related-columns: 5;
    --vsc-related-gap: 12px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--vsc-related-columns) - 1) * var(--vsc-related-gap)) / var(--vsc-related-columns));
    align-items: stretch;
    gap: var(--vsc-related-gap);
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 8px 2px 15px;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: none; /* Natural momentum: a swipe can pass multiple products. */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    -webkit-tap-highlight-color: transparent;
}
body.product-refresh-page .related-product-section .vsc-related-track::-webkit-scrollbar {
    height: 5px;
}
body.product-refresh-page .related-product-section .vsc-related-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
body.product-refresh-page .related-product-section .vsc-related-track.is-dragging {
    scroll-behavior: auto;
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}
body.product-refresh-page .related-product-section .vsc-related-track > .product_item {
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    margin: 0 0 8px !important;
    position: relative;
    z-index: auto;
    transform: translate3d(0,0,0);
    transition: transform 180ms cubic-bezier(.22,.68,.18,1),
                box-shadow 180ms cubic-bezier(.22,.68,.18,1),
                border-color 180ms ease !important;
}
body.product-refresh-page .related-product-section .vsc-related-track .pro_img img {
    transition: transform 220ms cubic-bezier(.22,.68,.18,1) !important;
    transform: scale(1);
    -webkit-user-drag: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    body.product-refresh-page .related-product-section .vsc-related-track > .product_item:hover {
        transform: translate3d(0,-4px,0);
        border-color: var(--site-primary-line, #b9cde3);
        box-shadow: 0 13px 30px rgba(27,35,50,.11);
    }
    body.product-refresh-page .related-product-section .vsc-related-track > .product_item:hover .pro_img img {
        transform: scale(1.02);
    }
}
@media (hover: none) {
    body.product-refresh-page .related-product-section .vsc-related-track > .product_item:active {
        transform: scale(.99);
    }
}
@media (max-width: 1199.98px) {
    body.product-refresh-page .related-product-section .vsc-related-track { --vsc-related-columns: 4; }
}
@media (max-width: 991.98px) {
    body.product-refresh-page .related-product-section .vsc-related-track { --vsc-related-columns: 3; }
}
@media (max-width: 575.98px) {
    body.product-refresh-page .related-product-section .vsc-related-track {
        --vsc-related-columns: 2;
        --vsc-related-gap: 9px;
        padding-bottom: 13px;
    }
    body.product-refresh-page .related-product-section .vsc-related-arrow {
        width: 32px;
        height: 32px;
        font-size: 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.product-refresh-page .related-product-section .vsc-related-track {
        scroll-behavior: auto;
    }
    body.product-refresh-page .related-product-section .vsc-related-track > .product_item,
    body.product-refresh-page .related-product-section .vsc-related-track .pro_img img,
    body.product-refresh-page .related-product-section .vsc-related-arrow {
        animation: none !important;
        transition: none !important;
    }
    body.product-refresh-page .related-product-section .vsc-related-track > .product_item:hover,
    body.product-refresh-page .related-product-section .vsc-related-track > .product_item:hover .pro_img img {
        transform: none;
    }
}
