/* Preserve each gallery preview's proportions inside its thumbnail frame. */
body#html-body.catalog-product-view .fotorama__thumb > img.fotorama__img {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    transform: none !important;
    object-fit: contain;
    object-position: center;
}
