// [class*="gallery__trigger"],
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 9;
	width: 39px;
	height: 39px;
	text-indent: -9999px;
	border-radius: 100%;
	color: var(--lightbox-button-icon-color, var(--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(--paletteColor1));
	}

	&:before {
		content: '';
		display: block;
		width: 14px;
		height: 14px;
		border: 2px solid currentColor;
		border-radius: 100%;
		position: absolute;
		top: 12px;
		left: 12px;
	}

	&:after {
		content: '';
		display: block;
		width: 2px;
		height: 6px;
		background: currentColor;
		border-radius: 6px;
		position: absolute;
		top: 23px;
		left: 23px;
		transform: rotate(-40deg);
	}
}

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

.ct-photoswipe-open .ct-header {
	pointer-events: none;
}

// video in popup
.ct-lightbox-video-container {
	position: absolute;
	top: 50%;
	left: 10%;
	right: 10%;
	margin: 0 auto;
	max-width: 150vh;
	transform: translateY(-50%);

	&:before {
		content: '';
		display: block;
		height: 0;
		padding-bottom: 56.25%;
	}

	iframe, video {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
}


