/* =====================================================
   Real Estate Pages - Custom Styles
   ===================================================== */

/* ── Carousel ───────────────────────────────────────── */
.realestate-image-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 550px;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.realestate-image-carousel .slick-list,
.realestate-image-carousel .slick-track {
  height: 100% !important;
}

.realestate-image-carousel .realestate-image-slide {
  width: 100%;
  height: 550px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.realestate-image-carousel .realestate-image-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Carousel Arrow Buttons */
.realestate-image-carousel .slick-prev,
.realestate-image-carousel .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  background-color: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: #fff;
  font-size: 0;
  line-height: 1;
}

.realestate-image-carousel .slick-prev:hover,
.realestate-image-carousel .slick-next:hover {
  background-color: rgba(250, 79, 41, 0.85);
  border-color: transparent;
}

.realestate-image-carousel .slick-prev { left: 14px; }
.realestate-image-carousel .slick-next { right: 14px; }

.realestate-image-carousel .slick-prev::before,
.realestate-image-carousel .slick-next::before {
  content: '';
  display: none;
}

.realestate-image-carousel .slick-prev i,
.realestate-image-carousel .slick-next i {
  font-size: 16px;
  color: #fff;
}

/* Carousel Dot Indicators */
.realestate-image-carousel .slick-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  gap: 7px;
  z-index: 10;
}

.realestate-image-carousel .slick-dots li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.realestate-image-carousel .slick-dots li.slick-active {
  background-color: #fa4f29;
  width: 12px;
  height: 12px;
}

.realestate-image-carousel .slick-dots li button {
  opacity: 0;
  width: 0;
  height: 0;
  padding: 0;
  border: none;
  background: none;
  display: block;
}

/* ── Property Detail Cards (3 per row) ──────────────── */
.re-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .re-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .re-details-grid {
    grid-template-columns: 1fr;
  }
}

.re-detail-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 10px;
  background-color: #f4f6f8;
  border: 1px solid #e8ecf0;
}

.re-detail-card .icon {
  margin-bottom: 10px;
}

.re-detail-card .icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.re-detail-card .info h6 {
  margin: 0 0 5px;
  font-weight: 700;
  color: #1a1a2e;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.re-detail-card .info p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

/* ── Amenities Tags ─────────────────────────────────── */
.amenity-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background-color: #f0f7f4;
  border: 1px solid #d4eddf;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  height: 100%;
}

.amenity-tag i {
  color: #2ecc71;
  font-size: 16px;
  flex-shrink: 0;
}

.amenity-tag span {
  font-weight: 500;
  line-height: 1.3;
}

/* ── Interest Form ──────────────────────────────────── */
.project-info-box .contact-form .form-group {
  position: relative;
  margin-bottom: 15px;
}

.project-info-box .contact-form .form-group label {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  z-index: 2;
  line-height: 1;
  pointer-events: none;
  font-size: 14px;
  margin: 0;
}

.project-info-box .contact-form .form_control {
  width: 100%;
  padding: 14px 45px 14px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

/* ── Listing Page Filter + Cards ───────────────────── */
.renvia-projects-sec .projects-item-filter .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

.renvia-projects-sec .projects-item-filter .form_control,
.renvia-projects-sec .projects-item-filter .nice-select {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  border: 1px solid #d8dfe6;
  background: #fff;
  color: #1f2937;
  font-size: 15px;
  padding: 0 18px;
}

.renvia-projects-sec .projects-item-filter .nice-select {
  line-height: 52px;
}

.renvia-projects-sec .projects-item-filter .nice-select:after {
  right: 18px;
}

.renvia-projects-sec .projects-wrapper .renvia-project-item.style-four {
  margin-bottom: 30px;
}

.renvia-projects-sec .projects-wrapper .re-listing-card-wrap {
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.renvia-projects-sec .projects-wrapper .re-listing-card {
  display: flex;
  align-items: stretch;
}

.renvia-projects-sec .projects-wrapper .re-listing-media {
  width: 34%;
  min-height: 250px;
  flex-shrink: 0;
  display: block;
}

.renvia-projects-sec .projects-wrapper .re-listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.renvia-projects-sec .projects-wrapper .re-listing-body {
  width: 66%;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
}

.renvia-projects-sec .projects-wrapper .re-listing-top-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.renvia-projects-sec .projects-wrapper .re-listing-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #1f2937;
  background: #eef2f7;
}

.renvia-projects-sec .projects-wrapper .re-listing-chip.muted {
  background: #f3f4f6;
  color: #4b5563;
}

.renvia-projects-sec .projects-wrapper .re-listing-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.25;
}

.renvia-projects-sec .projects-wrapper .re-listing-location {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 15px;
}

.renvia-projects-sec .projects-wrapper .re-listing-location i {
  color: #fa4f29;
  margin-right: 6px;
}

.renvia-projects-sec .projects-wrapper .re-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.renvia-projects-sec .projects-wrapper .re-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #e5eaf1;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  line-height: 1;
}

.renvia-projects-sec .projects-wrapper .re-meta-item i {
  color: #fa4f29;
  font-size: 12px;
}

.renvia-projects-sec .projects-wrapper .re-listing-desc {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.renvia-projects-sec .projects-wrapper .re-listing-bottom-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.renvia-projects-sec .projects-wrapper .re-listing-price {
  margin: 0;
  color: #fa4f29;
  font-size: 28px;
  line-height: 1.1;
}

.renvia-projects-sec .projects-wrapper .re-listing-price small {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .renvia-projects-sec .projects-wrapper .re-listing-card {
    flex-direction: column;
  }

  .renvia-projects-sec .projects-wrapper .re-listing-media,
  .renvia-projects-sec .projects-wrapper .re-listing-body {
    width: 100%;
  }

  .renvia-projects-sec .projects-wrapper .re-listing-media {
    min-height: 220px;
  }

  .renvia-projects-sec .projects-wrapper .re-listing-title {
    font-size: 22px;
  }

  .renvia-projects-sec .projects-wrapper .re-listing-price {
    font-size: 24px;
  }
}
