/* Ashma Product Gallery Fullscreen Lightbox v5.1.0 */
img.ashma-pgl5-clickable {
	cursor: zoom-in !important;
	-webkit-tap-highlight-color: transparent;
}

#ashma-pgl5 {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 2147483647;
	background: rgba(0, 0, 0, .86);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	overscroll-behavior: none;
	-webkit-tap-highlight-color: transparent;
}
#ashma-pgl5.ashma-pgl5-open { display: block; }
html.ashma-pgl5-lock, body.ashma-pgl5-lock {
	overflow: hidden !important;
	overscroll-behavior: none !important;
	touch-action: none !important;
}
.ashma-pgl5-top {
	position: absolute;
	z-index: 30;
	top: 0; left: 0; right: 0;
	height: 56px;
	padding: max(6px, env(safe-area-inset-top)) 10px 6px;
	box-sizing: content-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0));
	pointer-events: none;
}
.ashma-pgl5-counter {
	font-size: 13px;
	font-weight: 500;
	padding: 8px 4px;
	pointer-events: auto;
	text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.ashma-pgl5-close {
	appearance: none;
	-webkit-appearance: none;
	width: 44px; height: 44px;
	padding: 0; margin: 0;
	border: 0; border-radius: 50%;
	background: transparent;
	color: #fff;
	font: 300 32px/42px Arial, sans-serif;
	cursor: pointer;
	pointer-events: auto;
	text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.ashma-pgl5-viewport {
	position: absolute;
	inset: 0;
	overflow: hidden;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}
.ashma-pgl5-track {
	position: absolute;
	inset: 0;
	display: flex;
	will-change: transform;
	transform: translate3d(0,0,0);
}
.ashma-pgl5-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%; height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ashma-pgl5-image {
	display: block;
	max-width: 100vw;
	max-height: 100vh;
	width: auto; height: auto;
	object-fit: contain;
	transform: translate3d(0,0,0) scale(1);
	transform-origin: center;
	will-change: transform, opacity;
	-webkit-user-drag: none;
	user-select: none;
	-webkit-user-select: none;
	transition: opacity 120ms linear;
}
.ashma-pgl5-image.ashma-pgl5-loading { opacity: .25; }
.ashma-pgl5-nav {
	position: absolute;
	z-index: 25;
	top: 50%;
	transform: translateY(-50%);
	width: 48px; height: 64px;
	padding: 0;
	border: 0; border-radius: 5px;
	background: rgba(0,0,0,.2);
	color: #fff;
	font: 300 39px/60px Arial, sans-serif;
	cursor: pointer;
}
.ashma-pgl5-prev { left: 8px; }
.ashma-pgl5-next { right: 8px; }
.ashma-pgl5-nav[hidden] { display: none !important; }

@media (max-width: 767px), (hover: none), (pointer: coarse) {
	.ashma-pgl5-nav { display: none !important; }
	.ashma-pgl5-image {
		max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
	}
}
