/* ── Page top ──────────────────────────────────────────────────────────────── */
.page-top {
  background: var(--stone, #F0EEE8);
  padding: 5.5rem 0 2rem;
  border-bottom: 1px solid var(--border, #E0DDD6);
}
.breadcrumb {
  font-size: 0.78rem; color: var(--text-muted, #6B6B6B);
  margin-bottom: 0.75rem; display: flex; gap: 0.4rem; align-items: center;
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--charcoal, #171717); }
.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--charcoal, #171717); margin-bottom: 0.4rem;
}
.page-subtitle { font-size: 0.9rem; color: var(--text-muted, #6B6B6B); }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.properties-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}

/* ── Filters ───────────────────────────────────────────────────────────────── */
.filters-panel {
  background: #fff;
  border: 1px solid var(--border, #E0DDD6);
  border-radius: 6px;
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.filters-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
}
.filters-header h2 { font-size: 0.9rem; font-weight: 700; color: var(--charcoal, #171717); }
.clear-filters {
  font-size: 0.75rem; color: var(--bronze, #A88958);
  background: none; border: none; cursor: pointer; font-weight: 600;
}
.clear-filters:hover { text-decoration: underline; }

.filter-group { margin-bottom: 1.1rem; }
.filter-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted, #6B6B6B); margin-bottom: 0.4rem;
}
.filter-group select {
  width: 100%; padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border, #E0DDD6);
  border-radius: 4px; font-family: inherit; font-size: 0.88rem;
  color: var(--text, #202020); background: #fff;
  appearance: none; cursor: pointer;
}
.filter-group select:focus { outline: none; border-color: var(--bronze, #A88958); }

.fmp-prompt {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border, #E0DDD6);
  font-size: 0.82rem; color: var(--text-muted, #6B6B6B);
}

/* ── Active filter chips ───────────────────────────────────────────────────── */
.active-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; min-height: 0; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--stone, #F0EEE8); border: 1px solid var(--border, #E0DDD6);
  border-radius: 99px; padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--text, #202020);
}
.chip-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted, #6B6B6B); font-size: 0.9rem; line-height: 1;
  padding: 0;
}
.chip-remove:hover { color: var(--charcoal, #171717); }

/* ── Empty / loading states ────────────────────────────────────────────────── */
.state-box {
  grid-column: 1 / -1; text-align: center;
  padding: 4rem 2rem; background: var(--stone, #F0EEE8); border-radius: 6px;
}
.state-box p { color: var(--text-muted, #6B6B6B); margin-bottom: 1.25rem; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .properties-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
}
