﻿/* Product gallery: consistent frame without distorting smaller images. */
.detail-gallery .product-image-slider figure {
    margin: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-gallery .product-image-slider figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.detail-gallery .product-image-slider figure.product-video-slide,
.detail-gallery .product-image-slider figure.product-video-slide iframe,
.detail-gallery .product-image-slider figure.product-video-slide video {
    width: 100%;
    height: 100%;
}
.detail-gallery .product-image-slider figure.product-video-slide video {
    object-fit: contain;
}
.detail-gallery .slider-nav-thumbnails .slick-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f8f9fa;
}
.detail-gallery .slider-nav-thumbnails .video-thumb span {
    border-radius: 4px;
}
