@media (min-width: 992px) {
	.product-view-wrapper {
		overflow: visible;
	}

	.product_gallery.product-gallery-sticky {
		position: sticky;
		top: 155px;
		align-self: flex-start;
		z-index: 2;
	}
}

#productGallery {
	width: 100%;
	clear: both;
}

#productGallery .onp-stage {
	position: relative;
	width: 100%;
}

#productGallery .main_pic {
	float: none;
	display: block;
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fff;
}

#productGallery .mainpic {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity .22s ease;
}

#productGallery .mainpic.is-fading {
	opacity: 0;
}

#productGallery .onp-zoom {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-repeat: no-repeat;
	background-size: 200% 200%;
	background-position: 50% 50%;
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease;
}

#productGallery .onp-stage.is-zooming .onp-zoom {
	opacity: 1;
}

#productGallery .onp-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 36px;
	height: 36px;
	margin: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .88);
	color: #222;
	opacity: 0;
	transition: opacity .2s ease;
}

#productGallery .onp-prev { left: 10px; }
#productGallery .onp-next { right: 10px; }

#productGallery .onp-stage:hover .onp-arrow {
	opacity: 1;
}

#productGallery .onp-arrow.is-hidden,
#productGallery .onp-thumb-arrow.is-hidden {
	display: none;
}

#productGallery .onp-thumbs {
	position: relative;
	width: 100%;
	clear: both;
	margin-top: 10px;
	display: flex;
	align-items: center;
}

#productGallery .onp-thumbs.is-single {
	display: none;
}

#productGallery .onp-thumb-viewport {
	overflow: hidden;
	flex: 1;
	min-width: 0;
}

#productGallery .onp-thumb-track {
	display: flex;
	gap: 8px;
	transition: transform .25s ease;
}

#productGallery .gallery-thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	background: #fff;
	cursor: pointer;
}

#productGallery .gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#productGallery .gallery-thumb.active {
	border-color: #222;
}

#productGallery .onp-thumb-arrow {
	position: static;
	top: auto;
	flex: 0 0 28px;
	width: 28px;
	height: 72px;
	margin: 0 4px;
	transform: none;
	opacity: 1;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, .88);
	color: #222;
}

@media (max-width: 991px) {
	#productGallery .onp-zoom,
	#productGallery .onp-thumb-arrow {
		display: none;
	}

	#productGallery .onp-arrow {
		opacity: .85;
	}

	#productGallery .onp-thumb-viewport {
		overflow-x: auto;
	}

	#productGallery .onp-thumb-track {
		transform: none !important;
	}
}
