/* Al Mahjar Core — product cards: the short video part over the card photo (card-video.js) */
.almahjar-cv-host {
	overflow: hidden;
	isolation: isolate;
} /* its own stacking context: the video's z-index stays inside the photo, under the card's badges and buttons */
.almahjar-cv-v {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
	z-index: 1;
	background: transparent;
}
iframe.almahjar-cv-v {
	right: auto;
	left: 50%;
	width: auto;
	min-width: 100%;
	aspect-ratio: 16/9;
	transform: translateX(-50%);
} /* a landscape player filling the card, cropped at the sides */
.almahjar-cv-v.is-on {
	opacity: 1;
}
.almahjar-cv-p {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	pointer-events: none;
}
.almahjar-cv-v {
	z-index: 2;
}
