.single-product .woocommerce-product-gallery .flex-viewport,
#ast-quick-view-modal .ast-qv-image-slider > .slides {
	touch-action: pan-y pinch-zoom;
}

.single-product .woocommerce-product-gallery {
	opacity: 1 !important;
}

body.single-product.woocommerce .product.ast-product-gallery-layout-first-image-large .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	display: block;
	margin: 0;
}

body.single-product.woocommerce .product.ast-product-gallery-layout-first-image-large .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
	margin: 0;
	padding: 0;
}

.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image ~ .woocommerce-product-gallery__image {
	display: none;
}

#ast-quick-view-modal .ast-qv-image-slider > .slides.artenpie-gallery-dragging {
	overflow: hidden;
}

#ast-quick-view-modal .ast-qv-image-slider .artenpie-gallery-drag-slide {
	opacity: 1 !important;
	transition: none !important;
}

.artenpie-gallery-arrows {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-inline: 5px;
	pointer-events: none;
}

.woocommerce .artenpie-gallery-arrows .artenpie-gallery-arrow {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #4a3d3f;
	box-shadow: none;
	cursor: pointer;
	pointer-events: auto;
}

.artenpie-gallery-arrow::before,
.artenpie-gallery-arrow::after {
	content: '';
	grid-area: 1 / 1;
}

.artenpie-gallery-arrow::before {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(58, 34, 39, .14);
	border-radius: 50%;
	background: rgba(255, 255, 255, .88);
}

.artenpie-gallery-arrow::after {
	width: 7px;
	height: 7px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateX(-1.5px) rotate(45deg);
}

.artenpie-gallery-arrow--prev::after {
	transform: translateX(1.5px) rotate(-135deg);
}

.woocommerce .artenpie-gallery-arrows .artenpie-gallery-arrow[aria-disabled='true'] {
	opacity: .42;
	cursor: default;
}

.artenpie-gallery-arrow:not([aria-disabled='true']):hover::before,
.artenpie-gallery-arrow:focus-visible::before {
	background: #fff;
	border-color: currentColor;
}

.woocommerce .artenpie-gallery-arrows .artenpie-gallery-arrow:focus-visible {
	outline: 2px solid #5b3543;
	outline-offset: -5px;
	opacity: 1;
}
