Product Image Zooming in a lot when clicking on it

Hello! Im facing two isses. The first is that when I press on a product image, the image zooms in like crazy. I edited it using this code below - which helped on desktop but has not helped on mobile (ill attach the image below).

Code used:

{% if template contains ‘product’ %}

.product-media-modal__content.gradient { max-width: 65em; margin: 0 auto; }

{% endif %}

Mobile Product Image when clicked:

Note that this is the studio theme.

Can You share your Site Url?

Here you can see the issue here: https://loverlosangeles.com/products/black-zip-up

Add this code in your edit code > base.css file

@media screen and (max-width:767px){
	.product-media-modal__content.gradient {
	    max-width: 90% !important;
	}	
	.product-media-modal__content.gradient img {
    	width: 100% !important;
	}	
}

That worked!!! any idea how to make it open in a way that doesnt clash with “categories” as seen below on mobile?

Add this css in your edit code > base.css file

.product-media-modal[open]{
    z-index: 999 !important;
}

Thank you! that worked out!!!

Hello I have another question! For some reason there has been extra space and pading over the image before we click it in some products now?