.product-photo-frame {
    aspect-ratio: 4 / 3;
    max-height: 500px;
}

.product-photo-frame > a {
    display: block;
    height: 100%;
}

.product-photo-frame img[data-product-photo],
.product-box__image img[data-product-photo] {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.product-box-mobile__image img[data-product-photo] {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: scale-down;
}
