.extra-product-image.hover-gallery {
	position: relative;
}

.extra-product-image.hover-gallery .extra-product-gallery-image {
	border-radius: inherit;
	width: 100%;
	max-height: 100%;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.5s ease-in-out;
}

.extra-product-image.hover-gallery .wc-block-components-product-image img {
	opacity: 1;
	transition: all 0.5s ease-in-out;
}

.extra-product-image.hover-gallery:hover .wc-block-components-product-image img {
	opacity: 0;
	transition: all 0.5s ease-in-out;
}

.extra-product-image.hover-gallery:hover .extra-product-gallery-image {
	visibility: visible;
	opacity: 1;
	transition: all 0.5s ease-in-out;
}

.extra-product-gallery-image a {
	width: 100%;
	border-radius: inherit;
}

.extra-product-gallery-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: inherit;
}