/* Property gallery lightbox. PhotoSwipe supplies the controls; these rules
   keep arrows visible on a mouse, hide the unused zoom control, and stop the
   page behind the overlay from scrolling while a photo is open. */

html.slv-pswp-lock,
html.slv-pswp-lock body {
	overflow: hidden !important;
	overscroll-behavior: none;
}

.slv-property-pswp .pswp__counter {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.slv-property-pswp .pswp__button--zoom {
	display: none !important;
}

/* Suppress the iOS long-press sheet that offers to save the photo. */
.slv-property-pswp .pswp__img,
.slv-property-pswp .pswp__zoom-wrap {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

/* Touch screens keep arrows hidden (swipe instead). A mouse still shows them,
   including on laptops that also report a touch screen. */
@media (pointer: fine) {
	.slv-property-pswp.pswp--touch .pswp__button--arrow {
		visibility: visible;
	}
}

.slv-property-pswp .slv-pswp-caption {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 10;
	margin: 0;
	text-align: center;
	color: #fff;
	font-size: 14px;
	line-height: 1.35;
	pointer-events: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}
