.woocommerce-product-gallery .lx-wvg-gallery-video {
	align-items: center;
	background: #000;
	display: flex !important;
	justify-content: center;
}

.woocommerce-product-gallery .lx-wvg-video-link {
	display: block;
	line-height: 0;
	width: 100%;
}

.woocommerce-product-gallery .lx-wvg-video {
	aspect-ratio: 1 / 1;
	background: #000;
	display: block;
	height: auto;
	max-height: 80vh;
	object-fit: contain;
	width: 100%;
}

.woocommerce-product-gallery .flex-control-thumbs img[src$="video.png"] {
	object-fit: cover;
}

.lx-wvg-product-media {
	--lx-wvg-main-ratio: 100%;
	--lx-wvg-thumb-size: 86px;
	--lx-wvg-gap: 10px;
	--lx-wvg-thumb-gap: 8px;
	display: block;
	width: 100%;
}

.lx-wvg-main-stage {
	background: #000;
	overflow: hidden;
	padding-top: var(--lx-wvg-main-ratio);
	position: relative;
	width: 100%;
}

.lx-wvg-main-track {
	align-items: center;
	display: flex;
	height: 100%;
	inset: 0;
	position: absolute;
	transition: transform 0.35s ease;
	width: 100%;
	will-change: transform;
}

.lx-wvg-main-item {
	align-items: center;
	background: #000;
	display: flex;
	flex: 0 0 100%;
	height: 100%;
	justify-content: center;
	pointer-events: none;
	width: 100%;
}

.lx-wvg-main-item.is-active {
	pointer-events: auto;
}

.lx-wvg-product-media[data-lightbox="yes"] .lx-wvg-main-item.is-active {
	cursor: zoom-in;
}

.lx-wvg-main-item img,
.lx-wvg-main-video {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.lx-wvg-thumbs-wrap {
	align-items: center;
	display: block;
	margin-top: var(--lx-wvg-gap);
	position: relative;
	width: 100%;
}

.lx-wvg-thumbs-viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	width: 100%;
}

.lx-wvg-thumbs-viewport::-webkit-scrollbar {
	display: none;
}

.lx-wvg-thumbs-track {
	display: flex;
	gap: var(--lx-wvg-thumb-gap);
	justify-content: flex-start;
	min-width: max-content;
}

.lx-wvg-thumb {
	appearance: none;
	-webkit-appearance: none;
	background: #000;
	border: 2px solid transparent;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	display: block;
	flex: 0 0 var(--lx-wvg-thumb-size);
	font: inherit;
	height: var(--lx-wvg-thumb-size);
	line-height: 0;
	margin: 0;
	min-height: 0;
	min-width: 0;
	outline: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-align: inherit;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	transition: border-color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
	width: var(--lx-wvg-thumb-size);
}

.lx-wvg-thumb:hover,
.lx-wvg-thumb:focus,
.lx-wvg-thumb:active {
	background: #000;
	box-shadow: none;
	outline: 0;
	text-decoration: none;
}

.lx-wvg-thumb:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.lx-wvg-thumb.is-active {
	border-color: #cc3366;
}

.lx-wvg-thumb-media {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: 100%;
	width: 100%;
}

.lx-wvg-thumb-play {
	background: rgba(0, 0, 0, 0.58);
	border-radius: 999px;
	height: 34px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 34px;
}

.lx-wvg-thumb-play::before {
	border-bottom: 8px solid transparent;
	border-left: 12px solid #fff;
	border-top: 8px solid transparent;
	content: "";
	left: 12px;
	position: absolute;
	top: 9px;
}

.lx-wvg-thumbs-arrow {
	align-items: center;
	appearance: none;
	-webkit-appearance: none;
	background: rgba(0, 0, 0, 0.72);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font: inherit;
	height: 34px;
	justify-content: center;
	margin: 0;
	outline: 0;
	padding: 0;
	position: absolute;
	text-align: inherit;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 34px;
}

.lx-wvg-thumbs-arrow:hover,
.lx-wvg-thumbs-arrow:focus,
.lx-wvg-thumbs-arrow:active {
	background: rgba(0, 0, 0, 0.72);
	box-shadow: none;
	color: #fff;
	outline: 0;
	text-decoration: none;
}

.lx-wvg-thumbs-arrow:disabled {
	cursor: default;
	opacity: 0.28;
}

.lx-wvg-thumbs-prev {
	left: 0;
}

.lx-wvg-thumbs-next {
	right: 0;
}

.lx-wvg-thumbs-arrow span {
	border-color: currentColor;
	border-style: solid;
	border-width: 0 2px 2px 0;
	display: block;
	height: 9px;
	width: 9px;
}

.lx-wvg-thumbs-prev span {
	transform: rotate(135deg);
}

.lx-wvg-thumbs-next span {
	transform: rotate(-45deg);
}

.lx-wvg-product-media:not(.has-thumb-overflow) .lx-wvg-thumbs-arrow {
	visibility: hidden;
}

.lx-wvg-lightbox-open,
.lx-wvg-lightbox-open body {
	overflow: hidden;
}

.lx-wvg-lightbox {
	align-items: center;
	background: rgba(0, 0, 0, 0.88);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.lx-wvg-lightbox-media {
	align-items: center;
	display: flex;
	height: min(86vh, 100%);
	justify-content: center;
	width: min(1100px, 100%);
}

.lx-wvg-lightbox-media img,
.lx-wvg-lightbox-media video {
	display: block;
	height: 100%;
	max-height: 86vh;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.lx-wvg-lightbox-close {
	align-items: center;
	appearance: none;
	-webkit-appearance: none;
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 28px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 18px;
	text-decoration: none;
	top: 18px;
	width: 42px;
}
