/* JDT – Sachet dynamique par-dessus la première photo de la fiche produit. */
.woocommerce-product-gallery__image.jdt-sachet-cible {
	position: relative;
}

.woocommerce-product-gallery__image > img.jdt-sachet {
	position: absolute;
	inset: 0;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	transition: opacity 200ms ease;
}

.woocommerce-product-gallery__image > img.jdt-sachet.jdt-sachet--visible {
	opacity: 1;
}

.woocommerce-product-gallery__image > img.jdt-sachet:not([src]) {
	display: none;
}
