@media (max-width: 767px) {
.single-product div.product
.woocommerce-product-gallery:not([style*="opacity: 1"]):not([style*="opacity:1"]) {
aspect-ratio: 1 / 1.305;
overflow: hidden;
}
.single-product div.product
.woocommerce-product-gallery:not(:has(.flex-viewport))
.woocommerce-product-gallery__wrapper >
.woocommerce-product-gallery__image:not(:first-child) {
display: none;
}
}