/* Shared product-gallery presentation. Source artwork, masks and image dimensions stay unchanged. */
body.catalog-product-view .product.media .gallery-placeholder__image {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
@media (min-width: 768px) {
    body.catalog-product-view .product.media {
        width: 80% !important;
        max-width: 720px;
        margin-top: 0 !important;
    }
}
/* Match the visible skin kit, while preserving each source image's intrinsic ratio. */
@media (min-width: 768px) {
    body.catalog-product-view .product.media .gallery-placeholder {
        width: fit-content !important;
        max-width: 100%;
        margin-inline: auto;
    }
    body.catalog-product-view .product.media .gallery-placeholder__image {
        width: var(--ls-preview-width, auto) !important;
        height: auto !important;
        max-width: 100%;
        max-height: 670px !important;
    }
}
