/* ═══════════════════════════════════════════════════════════
   SIDEBAR SIMILAR OBJECTS SLIDER
   ═══════════════════════════════════════════════════════════ */

.sidebar-slider {
  margin-top: 24px;
  border-top: 1px solid #e8e4de;
  padding-top: 16px;
}

.sidebar-slider-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
  margin: 0 0 12px;
}

/* ── Frame: clipping container ─────────────────────────────── */
.sidebar-slider-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* ── Track: the scrolling strip ────────────────────────────── */
.sidebar-slider-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Single slide ──────────────────────────────────────────── */
.sidebar-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.sidebar-slide:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  text-decoration: none;
  color: inherit;
}

/* ── Image ─────────────────────────────────────────────────── */
.sidebar-slide-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f0ece6;
  flex-shrink: 0;
}

.sidebar-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sidebar-slide:hover .sidebar-slide-image img {
  transform: scale(1.04);
}

/* ── Content ───────────────────────────────────────────────── */
.sidebar-slide-content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebar-slide-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-slide-location {
  font-size: 11.5px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sidebar-slide-location i {
  color: #2d6a4f;
  font-size: 11px;
  flex-shrink: 0;
}

.sidebar-slide-rooms {
  font-size: 11.5px;
  color: #888;
}

.sidebar-slide-price {
  font-size: 14px;
  font-weight: 700;
  color: #2d6a4f;
  margin-top: 2px;
}

/* ── Prev / Next buttons ───────────────────────────────────── */
.sidebar-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  z-index: 2;
  transition: background 0.15s, transform 0.15s;
  padding: 0;
}

.sidebar-slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.sidebar-slider-btn--prev {
  left: 8px;
}

.sidebar-slider-btn--next {
  right: 8px;
}

/* ── Dots ──────────────────────────────────────────────────── */
.sidebar-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.sidebar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: #d0cac3;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.sidebar-dot.is-active {
  background: #2d6a4f;
  transform: scale(1.25);
}

.sidebar-dot:hover:not(.is-active) {
  background: #a8a09a;
}

/* ── Hide nav buttons when only 1 slide ────────────────────── */
.sidebar-slider-frame:has(.sidebar-slide:only-child) .sidebar-slider-btn,
.sidebar-slider-dots:has(.sidebar-dot:only-child) {
  display: none;
}
