.property-title a{color: #fff;}  
.btn-clear {
  display: block;
  margin-top: 10px;
  width: 100%;
  background: #f3f3f3;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

.btn-clear:hover {
  background: #e6e6e6;
}

/* === Basic Layout === */
.property-search-wrapper {
  display: grid;
  grid-template-columns: 250px 1fr 320px;
  gap: 20px;
  padding: 20px;
}

.property-search-form {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 10px;
  position: sticky;
  top: 90px;
  height: fit-content;
}

.property-listings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.property-item {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.property-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.property-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.property-content {
  padding: 15px;
}

.property-content h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.property-content .meta {
  color: #777;
  font-size: 14px;
}

.property-map {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  height: calc(100vh - 140px);
  position: sticky;
  top: 90px;
}
.show-filters-btn {display: none;}
/* === Mobile === */
@media (max-width: 600px) {
  .property-search-wrapper {
    display: block;
    padding: 10px;
  }
  .property-search-form {
    display: none;
    margin-bottom: 15px;
  }
  .show-filters-btn {
    display: block;
    background: #0073aa;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 600;
  }
  .property-listings {
    grid-template-columns: 1fr;
  }
  .property-map {
    display: none;
  }
}
/* === Filter Sidebar Styles === */
.property-search-form {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.property-search-form h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-search-form hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 15px 0;
}

.filter-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.filter-field {
  margin-bottom: 12px;
}

.filter-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #555;
}

.filter-field input,
.filter-field select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fafafa;
}

.btn-advanced {
  width: 100%;
  background: #f1e4d2;
  color: #222;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-advanced:hover {
  background: #e5d6c0;
}

.btn-update {
  width: 100%;
  background: #3a0c1b;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-update:hover {
  background: #530e26;
}
.property-card {
  border: none;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* Image wrapper */
.property-image-wrapper {
  position: relative;
  overflow: hidden;
}
.property-image-wrapper img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.property-image-wrapper img {
  transition: transform 0.6s ease;
}
.property-card:hover .property-image-wrapper img {
  transform: scale(1.08);
}
/* Location badge */
.property-location {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.9);
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 1;
}

/* Heart favorite button */
.favorite-btn {
  padding-top: 4px;
  z-index: 1;
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.favorite-btn:hover {
  transform: scale(1.1);
}

.heart-icon {
  width: 22px;
  height: 22px;
  fill: white;
  stroke: black;
  stroke-width: 1.5px;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.favorite-btn.active .heart-icon {
  fill: #e63946; /* red filled */
  stroke: #e63946;
}
/* Overlay info */
.property-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}
.property-overlay h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  float: left;
  color: #fff;
}
.property-rating {
  font-size: 13px;
  color #fff;
  float: right;
}

/* Bottom meta */
.property-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px 15px;
}
.property-meta .meta-icons span {
  margin-right: 12px;
  font-size: 14px;
  color: #444;
}
.property-meta .meta-price {
  font-weight: 700;
  font-size: 16px;
  color: #3a0c1b;
}
.property-meta .meta-price span {
  font-size: 12px;
  color: #777;
}

/* Slider controls */
.image-slider {
  position: relative;
  height: 340px;
}
.slide { display: none; }
.slide.active { display: block; }

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 50%;
  opacity: 1;
  transition: opacity 0.3s;
}
.image-slider:hover .slider-nav { opacity: 1; }
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }
#loaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3a0c1b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}