.elementor-widget-zp_woo_product_gallery,
.elementor-widget-zp_woo_product_gallery > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.zp-woo-gallery {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.zp-woo-gallery__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	border: 1px solid #ECECF3;
	background-color: #FFFFFF;
	overflow: hidden;
	box-sizing: border-box;
}

.zp-woo-gallery .zp-woo-gallery__stage img.zp-woo-gallery__main-img,
.zp-woo-gallery .zp-woo-gallery__stage video.zp-woo-gallery__main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

.zp-woo-gallery__first-frame {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.zp-woo-gallery__video-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.zp-woo-gallery button.zp-woo-gallery__play-btn,
.zp-woo-gallery button.zp-woo-gallery__play-btn:focus {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 120px;
	height: 120px;
	border-radius: 999px;
	background-color: rgba(255, 102, 0, 0.73);
	background-image: none;
	border: none;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	margin: 0;
	box-shadow: none;
	outline: none;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.zp-woo-gallery button.zp-woo-gallery__play-btn:hover {
	transform: translate(-50%, -50%) scale(1.05);
	background-color: rgba(255, 102, 0, 0.88);
}

.zp-woo-gallery button.zp-woo-gallery__play-btn svg {
	width: 48px;
	height: 48px;
	margin-left: 4px;
}

.zp-woo-gallery__iframe,
.zp-woo-gallery__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background-color: #000000;
	object-fit: cover;
}

/* Horizontal Scrollable Thumbnail Strip */
.zp-woo-gallery__thumbs {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 2px 0;
}

.zp-woo-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.zp-woo-gallery button.zp-woo-gallery__thumb,
.zp-woo-gallery button.zp-woo-gallery__thumb:focus {
	position: relative;
	flex: 0 0 66px;
	width: 66px;
	height: 66px;
	padding: 0;
	margin: 0;
	border-radius: 12px;
	border: 2px solid transparent;
	background-color: #FFFFFF;
	background-image: none;
	overflow: hidden;
	cursor: pointer;
	box-sizing: border-box;
	box-shadow: none;
	outline: none;
	transition: border-color 0.15s ease, opacity 0.15s ease;
}

.zp-woo-gallery button.zp-woo-gallery__thumb.is-active,
.zp-woo-gallery button.zp-woo-gallery__thumb.is-active:focus {
	border-color: #FFD200;
}

.zp-woo-gallery button.zp-woo-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zp-woo-gallery__thumb-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background-color: rgba(255, 102, 0, 0.78);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.zp-woo-gallery__thumb-play svg {
	width: 11px;
	height: 11px;
	margin-left: 1px;
}

@media (max-width: 767px) {
	.zp-woo-gallery button.zp-woo-gallery__play-btn,
	.zp-woo-gallery button.zp-woo-gallery__play-btn:focus {
		width: 76px;
		height: 76px;
	}

	.zp-woo-gallery button.zp-woo-gallery__play-btn svg {
		width: 32px;
		height: 32px;
	}
}
