.properties-listing-page .dashboard-header,
.property-detail-page .dashboard-header {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%);
  color: #fff;
  padding: 2rem 0;
}

.property-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  padding: 0;
}

.property-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.55);
}

.property-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline !important;
}

.property-card-image-wrap {
  display: block;
  overflow: hidden;
}

.property-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.property-card:hover .property-card-image {
  transform: scale(1.03);
}

/* Photo carousel */
.property-gallery-stage {
  background: #0f172a;
}

.property-gallery-viewport {
  position: relative;
  background: #111827;
  min-height: 280px;
}

.property-gallery-slide {
  margin: 0;
  display: none;
}

.property-gallery-slide.is-active {
  display: block;
}

.property-gallery-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #111827;
  display: block;
}

.property-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #14532d;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.property-gallery-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.property-gallery-prev {
  left: 12px;
}

.property-gallery-next {
  right: 12px;
}

.property-gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}

.property-gallery-footer {
  background: #fff;
  min-height: 2.5rem;
}

.property-gallery-caption.is-empty {
  display: none;
}

.property-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.property-gallery-thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  opacity: 0.75;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.property-gallery-thumb.is-active,
.property-gallery-thumb:hover {
  opacity: 1;
  border-color: #166534;
}

@media (max-width: 767px) {
  .property-gallery-nav {
    width: 36px;
    height: 36px;
  }

  .property-gallery-image {
    max-height: 360px;
  }

  .property-gallery-thumb {
    width: 72px;
    height: 54px;
  }
}

.property-description h2 {
  font-size: 1.15rem;
  margin-top: 1.25rem;
}

.property-contact-reveal-form .input-group-text {
  background: #f8fafc;
  font-weight: 500;
}

.property-contact-reveal-form .form-control:focus {
  border-color: #166534;
  box-shadow: 0 0 0 0.2rem rgba(22, 101, 52, 0.15);
}

#property-contact-reveal-error {
  margin-bottom: 0.75rem;
}
