:root {
  --carousel-control-size: 3.2rem;
}

.property-carousel {
  position: relative;
}

/* Hide default background SVG icons if overridden elsewhere */
.property-carousel .carousel-control-prev-icon,
.property-carousel .carousel-control-next-icon {
  display: none; /* we'll show a visible icon element instead */
}

.property-carousel .carousel-control-prev,
.property-carousel .carousel-control-next {
  width: var(--carousel-control-size);
  height: var(--carousel-control-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.42);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: none;
  transition: background 0.15s ease, transform 0.08s ease;
}

.property-carousel .carousel-control-prev {
  left: 0.75rem;
}

.property-carousel .carousel-control-next {
  right: 0.75rem;
}

.property-carousel .control-icon i {
  font-size: 1.25rem;
  color: #ffffff;
  pointer-events: none;
}

.property-carousel .carousel-control-prev:focus,
.property-carousel .carousel-control-next:focus {
  outline: 2px solid rgba(255,255,255,0.85);
  outline-offset: 2px;
}

.property-carousel .carousel-control-prev:hover,
.property-carousel .carousel-control-next:hover {
  background: rgba(0,0,0,0.6);
  transform: translateY(-50%) scale(1.02);
}

/* Ensure thumbnails don't cover controls */
.property-carousel .carousel-thumbnails {
  position: relative;
  z-index: 5;
}
