.ampgv-video-stage {
	position: relative;
	z-index: 2;
	width: 100%;
	background: #000;
	overflow: hidden;
	cursor: default;
}

.ampgv-video-poster {
	display: block;
	width: 100%;
	height: auto;
}

.ampgv-play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 3;
}

.ampgv-play svg {
	width: clamp(56px, 12%, 88px);
	height: auto;
	filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.28));
}

.ampgv-play circle {
	fill: rgba(0, 0, 0, 0.62);
	stroke: #fff;
	stroke-width: 2;
}

.ampgv-play path {
	fill: #fff;
}

.ampgv-play:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: -6px;
}

.ampgv-video {
	position: relative;
	z-index: 3;
	display: block;
	width: 100%;
	aspect-ratio: var(--ampgv-poster-ratio);
	background: #000;
	object-fit: contain;
}

.ampgv-video[hidden],
.ampgv-video-stage.is-playing .ampgv-video-poster,
.ampgv-video-stage.is-playing .ampgv-play {
	display: none;
}

.ampgv-has-video .flex-control-thumbs li:last-child {
	position: relative;
}

.ampgv-has-video .flex-control-thumbs li:last-child::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 34%;
	min-width: 24px;
	max-width: 38px;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.62);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.ampgv-has-video .flex-control-thumbs li:last-child::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 50% auto auto 50%;
	transform: translate(-38%, -50%);
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid #fff;
	pointer-events: none;
}

.ampgv-video-active .woocommerce-product-gallery__trigger {
	display: none;
}

.ampgv-video-slide,
.ampgv-video-slide:hover {
	cursor: default !important;
}

.ampgv-video-slide .zoomImg {
	display: none !important;
	pointer-events: none !important;
}
