/* Retoques visuales de la ficha pública de propiedad */
.facts span,
.amenities span {
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(23, 49, 63, .11);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.facts span:hover,
.amenities span:hover {
  border-color: var(--teal);
  background: #edf8f6;
  box-shadow: 0 5px 12px rgba(20, 126, 118, .20);
  transform: translateY(-1px);
}
/* Galería deslizante: todas las fotos quedan accesibles sin alterar su marco. */
.gallery {
  display: block;
  height: auto;
  overflow: visible;
  background: transparent;
}

.listing-carousel-stage {
  position: relative;
  aspect-ratio: 16 / 8;
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
  background: #dfe9e7;
}

.listing-carousel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.listing-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 43, 48, .72);
  color: #fff;
  font: 400 36px/34px Arial, sans-serif;
  cursor: pointer;
}

.listing-carousel-control:hover { background: var(--teal); }
.listing-carousel-control.previous { left: 16px; }
.listing-carousel-control.next { right: 16px; }

.listing-carousel-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 43, 48, .76);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.listing-carousel-thumbnails {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 2px 2px;
  scrollbar-width: thin;
}

.listing-carousel-thumbnail {
  flex: 0 0 82px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #dfe9e7;
  cursor: pointer;
}

.listing-carousel-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-carousel-thumbnail.active { border-color: var(--teal); box-shadow: 0 0 0 2px #d8f1ed; }

@media (max-width: 760px) {
  .listing-carousel-stage { min-height: 230px; aspect-ratio: 4 / 3; }
  .listing-carousel-control.previous { left: 10px; }
  .listing-carousel-control.next { right: 10px; }
}
