.custom-product-image.ptn-loop-gallery {
	position: relative;
	overflow: hidden;
}

.ptn-gallery-slides {
	display: flex;
	width: 100%;
	height: 100%;
	will-change: transform;
}

.ptn-gallery-slides.is-sliding {
	transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
}

.ptn-gallery-slide {
	flex: 0 0 100%;
	min-width: 100%;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.ptn-gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

.ptn-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #222;
	cursor: pointer;
	z-index: 2;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
	transition: opacity 0.2s ease, transform 0.15s ease, background-color 0.15s ease;
}

.ptn-gallery-arrow svg {
	display: block;
	pointer-events: none;
	transition: all 0.5s ease;
	    stroke-width: 1.8px;
}
.ptn-gallery-arrow svg line{
	stroke:#666;
}
.ptn-gallery-arrow:hover {
	background: transparent;
	color: #000;
	transform: translateY(-50%);
}
body .ptn-gallery-arrow:hover svg line{stroke:#666;stroke:rgb(0 0 0 / 60%);}

.ptn-gallery-arrow:active {
	transform: translateY(-50%) scale(0.92);
}

.ptn-gallery-prev {
	left: 8px;
}

.ptn-gallery-next {
	right: 8px;
}

/* Desktop: arrows revealed on card hover */
@media screen and (min-width: 769px) {
	.ptn-gallery-arrow {
		opacity: 0;
		pointer-events: none;
	}

	.custom-product-image.ptn-loop-gallery:hover .ptn-gallery-arrow,
	.product:hover .ptn-gallery-arrow {
		opacity: 1;
		pointer-events: auto;
	}
}

/* Mobile: touch-friendly arrows visible everywhere */
@media screen and (max-width: 768px) {
	.ptn-gallery-arrow {
		display: flex !important;
		pointer-events: auto;
	}
	.ptn-gallery-arrow svg {
		width: 25px;
		height: 25px;
	}

	.ptn-gallery-prev {
		left: 6px;
	}

	.ptn-gallery-next {
		right: 6px;
	}
}
