.novashop-storefront .ns-zoom-stage {
	position: relative;
	overflow: hidden;
}

.novashop-storefront .ns-zoom-lens {
	position: absolute;
	pointer-events: none;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
	border-radius: 50%;
	opacity: 0;
	z-index: 3;
	background-repeat: no-repeat;
	display: none;
}

.novashop-storefront .ns-zoom-lens.is-visible {
	display: block;
	opacity: 1;
}

.ns-zoom-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	padding-top: max(2rem, env(safe-area-inset-top, 0px));
	padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
	cursor: zoom-out;
	-webkit-overflow-scrolling: touch;
}

.ns-zoom-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	cursor: default;
}

.ns-zoom-lightbox__close {
	position: absolute;
	top: max(0.75rem, env(safe-area-inset-top, 0px));
	right: max(1rem, env(safe-area-inset-right, 0px));
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2.25rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
}

@media (max-width: 720px) {
	.novashop-storefront .ns-zoom-lens {
		display: none !important;
	}

	.ns-zoom-lightbox {
		padding: 1rem;
		padding-top: max(3.25rem, env(safe-area-inset-top, 0px));
		padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
	}

	.ns-zoom-lightbox__img {
		max-height: calc(100vh - 4.5rem);
		max-height: calc(100dvh - 4.5rem);
	}
}
