/* Product list hover: hide first image, cover with second, no layout shift */
.product-thumb .image a,
.product-thumb .image-inner > a,
.menu-showroom .product-item .image-inner > a {
	display: block;
	position: relative;
	overflow: hidden;
	line-height: 0;
}

.product-thumb .image a > img:not(.hover-img),
.product-thumb .image-inner > a > img:not(.hover-img),
.menu-showroom .product-item .image-inner > a > img:not(.hover-img) {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 0;
	opacity: 1;
	-webkit-transition: opacity 0.35s ease-in-out;
	transition: opacity 0.35s ease-in-out;
}

.product-thumb .image a > img.hover-img,
.product-thumb .image-inner > a > img.hover-img,
.menu-showroom .product-item .image-inner > a > img.hover-img,
.menu-showroom.showroom-v2 .hover-img {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	-moz-opacity: 0;
	-webkit-opacity: 0;
	z-index: 1;
	pointer-events: none;
	-webkit-transition: opacity 0.35s ease-in-out;
	transition: opacity 0.35s ease-in-out;
}

/* Sadece ikinci görseli olan ürünlerde ilk görseli gizle */
.product-thumb:hover .image a:has(> img.hover-img) > img:not(.hover-img),
.product-thumb:hover .image-inner > a:has(> img.hover-img) > img:not(.hover-img),
.menu-showroom .product-item:hover .image-inner > a:has(> img.hover-img) > img:not(.hover-img),
.product-layout:hover .image-inner > a:has(> img.hover-img) > img:not(.hover-img) {
	opacity: 0;
}

.product-thumb:hover .image a > img.hover-img,
.product-thumb:hover .image-inner > a > img.hover-img,
.menu-showroom .product-item:hover .image-inner > a > img.hover-img,
.menu-showroom.showroom-v2:hover .hover-img,
.product-layout:hover .image-inner > a > img.hover-img {
	opacity: 1 !important;
	-moz-opacity: 1 !important;
	-webkit-opacity: 1 !important;
}
