.artwork-zoom-stage {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	min-height: 180px;
}

.artwork-zoom-stage.is-magnifier-active {
	cursor: crosshair;
	touch-action: none;
}

.artwork-magnifier-lens {
	position: absolute;
	z-index: 4;
	width: clamp(145px, 15vw, 205px);
	aspect-ratio: 1;
	border: 2px solid rgba(255, 253, 248, .96);
	border-radius: 50%;
	background-color: var(--paper-2);
	background-repeat: no-repeat;
	box-shadow: 0 18px 55px rgba(23, 22, 19, .32), inset 0 0 0 1px rgba(23, 22, 19, .22);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(.82);
	transition: opacity .18s ease, transform .18s ease;
}

.artwork-magnifier-lens::after {
	content: "";
	position: absolute;
	right: 12%;
	bottom: 12%;
	width: 12px;
	height: 12px;
	border-right: 1px solid rgba(255, 253, 248, .82);
	border-bottom: 1px solid rgba(255, 253, 248, .82);
}

.artwork-magnifier-lens.is-visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.artwork-magnifier-toggle {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 0 15px;
	border: 1px solid rgba(255, 253, 248, .7);
	background: rgba(23, 22, 19, .78);
	backdrop-filter: blur(8px);
	color: var(--white);
	font-size: 10px;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}

.artwork-magnifier-toggle:hover,
.artwork-magnifier-toggle:focus-visible,
.artwork-magnifier-toggle.is-active {
	border-color: var(--bronze);
	background: rgba(23, 22, 19, .94);
}

.artwork-magnifier-toggle svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

@media (max-width: 760px) {
	.artwork-magnifier-lens {
		width: 140px;
	}

	.artwork-magnifier-toggle {
		right: 12px;
		bottom: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.artwork-magnifier-lens,
	.artwork-magnifier-toggle {
		transition: none;
	}
}
