can you please remove first code after adding this updated code
@media screen and (max-width: 640px) {
.product-gallery__size-limiter .aspect-ratio {
padding-bottom: 45% !important;
}
.product-gallery__size-limiter img.product-gallery__image, .pswp--zoom-allowed .pswp__img {
object-fit: contain;
}
}