/* Pisomap — fotos deslizables en las tarjetas (solo se activa en táctil, desde pisomap-card-swipe.js). */
.pm-swipe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.pm-swipe__track {
	display: flex;
	width: 100%;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.pm-swipe__track::-webkit-scrollbar {
	display: none;
}

.pm-swipe__slide {
	display: block;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	background: #e9ecef;
}

.pm-swipe__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
	-webkit-user-select: none;
	user-select: none;
}

.pm-swipe__count {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	pointer-events: none;
}

/* Las franjas de etiquetas (arriba) y precio (abajo) ocupan todo el ancho: que dejen pasar el dedo. */
.pm-swipe-on .property-thumbnail-wrapper .top-label,
.pm-swipe-on .property-thumbnail-wrapper .bottom-label {
	pointer-events: none;
}

.pm-swipe-on .property-thumbnail-wrapper .top-label a,
.pm-swipe-on .property-thumbnail-wrapper .bottom-label a {
	pointer-events: auto;
}
