.cx_product_product_image_details .product_image_details-wrapper {gap: 30px;}
                
/*.cx_product_product_image_details .product_gallery_side {
    height: calc(64px * 6 + 1rem * 5);
    overflow-y: auto;

}

.cx_product_product_image_details .product_gallery_side::-webkit-scrollbar {
    width: 8px;
}*/

.cx_product_product_image_details .product_gallery_side .gallery_thumb img {
    transition: transform 0.3s ease;
    height: 64px;
    width: 64px;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--grey-47);
    border-radius: 12px;
}

.cx_product_product_image_details .product_gallery_side .gallery_thumb.active img {border-color: var(--brand-primary-50);}

.cx_product_product_image_details .product_gallery_side .gallery_thumb:hover img {transform: scale(1.05);}

.cx_product_product_image_details .product_featured_image {
    flex: 1;
    position: relative;
}

.cx_product_product_image_details .zoom_container {
    position: relative;
    border-radius: 12px;
    /*height: 560px;*/
    aspect-ratio: 4/3;
}

.cx_product_product_image_details .zoom_container img {
    transition: transform 0.2s ease;
    transform-origin: center center;
    cursor: zoom-in;
    height: 100%;
    /*object-fit: cover;*/
    object-fit: contain;
    object-position: center;
    background-color: var(--grey-46);
}

.cx_product_product_image_details .zoom_container.active img {
    cursor: zoom-out;
    transform: scale(2);
}

.cx_product_product_image_details .tns-inner:not( :has(.gallery_thumb.tns-slide-active:last-of-type)) {
    height: calc(100% - 32px);
    overflow:hidden;
}

