/* Product-page motion policy. Main gallery and primary purchase CTA remain
   stable. Related-product cards use their own native horizontal scroll and
   interaction styles in vsc-related-products.css. */
html,
body.product-refresh-page {
    scroll-behavior: auto !important;
}

body.product-refresh-page .vsc-bazario-reveal,
body.product-refresh-page .vsc-bazario-reveal.vsc-bazario-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
}

/* Keep layout, thumbnails and video controls stable; do not blanket-disable
   the main product image's narrowly scoped interaction. */
body.product-refresh-page .product-gallery-column,
body.product-refresh-page .product-gallery-column > .details_slider,
body.product-refresh-page .product-gallery-column > .indicator_thumb,
body.product-refresh-page .product-gallery-column .indicator-item,
body.product-refresh-page .product-gallery-column .product-gallery-video-item,
body.product-refresh-page .product-gallery-column .product-gallery-video,
body.product-refresh-page .product-gallery-column .product-gallery-youtube-launch,
body.product-refresh-page .product-gallery-column .product-gallery-youtube {
    animation: none !important;
    transition: none !important;
}

body.product-refresh-page .single_product .add_cart_btn,
body.product-refresh-page .single_product .order_now_btn,
body.product-refresh-page .single_product .add_cart_btn::before,
body.product-refresh-page .single_product .add_cart_btn::after,
body.product-refresh-page .single_product .order_now_btn::before,
body.product-refresh-page .single_product .order_now_btn::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
}

body.product-refresh-page .single_product .add_cart_btn:active,
body.product-refresh-page .single_product .order_now_btn:active {
    transform: none !important;
    opacity: 1 !important;
}

@media (hover: hover) and (pointer: fine) {
    body.product-refresh-page .single_product .add_cart_btn:hover,
    body.product-refresh-page .single_product .order_now_btn:hover {
        transform: none !important;
    }
}

/* Native scroll-snap gallery: no Owl stage or animated carousel transition. */
body.product-refresh-page .product-gallery-column > .details_slider.vsc-product-gallery {
    display: flex !important;
    flex-flow: row nowrap !important;
    width: 100% !important;
    height: clamp(390px, 42vw, 590px) !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: auto !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: auto !important;
}
body.product-refresh-page .product-gallery-column > .details_slider.vsc-product-gallery::-webkit-scrollbar {
    display: none;
}
body.product-refresh-page .product-gallery-column .vsc-product-gallery > .dimage_item {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    touch-action: auto !important;
}
body.product-refresh-page .product-gallery-column .product-gallery-video-item {
    height: 100% !important;
}
@media (max-width: 767.98px) {
    body.product-refresh-page .product-gallery-column > .details_slider.vsc-product-gallery {
        height: min(82vw, 390px) !important;
        min-height: 260px !important;
    }
}
