.woocommerce-product-gallery__trigger {
	position: absolute;
	z-index: 9;
	top: 20px;
	inset-inline-end: 20px;
	width: 40px;
	height: 40px;
	text-indent: -9999px;
	border-radius: 100%;
	color: var(--lightbox-button-icon-color, var(--theme-text-color));
	background: var(--lightbox-button-background-color, #fff);

	&:hover {
		color: var(--lightbox-button-icon-hover-color, #fff);
		background: var(--lightbox-button-hover-background-color, var(--theme-palette-color-1));
	}

	&:before {
		position: absolute;
		inset: 0;
		content: '';
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M14 12a2 2 0 0 0-2 2v3h1.5v-3a.5.5 0 0 1 .5-.5h3V12h-3Zm3 14.5h-3a.5.5 0 0 1-.5-.5v-3H12v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H28v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5v-3a.5.5 0 0 0-.5-.5h-3V12h3Z'/%3E%3C/svg%3E");
	}
}

// popup
.woocommerce .pswp__bg, 
.woocommerce-page .pswp__bg {
	opacity: 0.7 !important;
}

// video in popup
.ct-lightbox-video-container {
	position: absolute;
	top: 50%;
	inset-inline: 10%;
	margin: auto;
	max-width: 150vh;
	aspect-ratio: 16/9;
	transform: translateY(-50%);

	video, iframe {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		background: #000;
	}
}