/* Empêche le scroll page quand zoom ouvert */
body.wce-cart-zoom-open {
	overflow: hidden;
}

/* Overlay */
#wce-cart-zoom-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
}

#wce-cart-zoom-modal .wce-cart-zoom-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
}

/* Conteneur image */
#wce-cart-zoom-modal .wce-cart-zoom-content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

/* Image agrandie */
#wce-cart-zoom-modal .wce-cart-zoom-image {
	display: block;
	max-width: min(92vw, 900px);
	max-height: 88vh;
	width: auto;
	height: auto;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Bouton fermer */
#wce-cart-zoom-modal .wce-cart-zoom-close {
	position: absolute;
	top: 112px;
	right: 16px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: #111;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,.2);
	transition: transform .15s ease, background-color .15s ease;
}

#wce-cart-zoom-modal .wce-cart-zoom-close:hover {
	transform: scale(1.05);
	background: #fff;
}
