body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.bed-filter-btn {
  color: #4b5563;
  background: white;
  transition: all 0.15s ease;
}

.bed-filter-btn.active-filter {
  background-color: #cb2d6f;
  border-color: #cb2d6f;
  color: white;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Smooth scrolling for anchor links like /how-it-works#lead-form */
html {
  scroll-behavior: smooth;
}

/* ---------- Multi-step Lead Form ---------- */
.lead-form-widget {
  max-width: 28rem;
  margin: 0 auto;
}

.lf-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.lf-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.lf-input:focus {
  border-color: #cb2d6f;
}

.lf-input[aria-invalid='true'] {
  border-color: #f87171;
}

.lf-conditional {
  padding-left: 10px;
  border-left: 2px solid rgba(203, 45, 111, 0.3);
  margin-bottom: 2px;
}

.lf-btn-primary {
  width: 100%;
  padding: 14px;
  background: #cb2d6f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lf-btn-primary:hover {
  background: #a12458;
}

.lf-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lf-btn-back {
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  color: #94a3b8;
  background: #fff;
  cursor: pointer;
}

.lf-btn-back:hover {
  border-color: #94a3b8;
}

/* ---------- Lead form modal ---------- */
#lead-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

#lead-modal-panel {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 30rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

/* ---------- Map Search: price-tag markers ---------- */
.price-pin-wrapper {
  background: transparent;
  border: none;
}

.price-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #cb2d6f;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 0 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35);
  border: 2px solid #fff;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.price-pin.active {
  background: #0f172a;
  transform: scale(1.18);
  z-index: 1000 !important;
}

.cluster-pin-wrapper {
  background: transparent;
  border: none;
}

.cluster-pin {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #a12458;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
}

/* ---------- Map Search: mobile List/Map toggle ---------- */
@media (max-width: 1023px) {
  #map-search-layout.mobile-view-list #map-panel {
    display: none;
  }
  #map-search-layout.mobile-view-map #map-list-panel {
    display: none;
  }
}
