/* ==========================================================================
   Premium Project Directory — developersales.co
   Scope: .pd (everything is namespaced to avoid clashing with global styles)
   ========================================================================== */

.pd {
  --pd-ink: #0f1b2d;
  --pd-ink-soft: #4a5568;
  --pd-muted: #8a94a6;
  --pd-line: #e7ebf1;
  --pd-bg: #f6f8fb;
  --pd-card: #ffffff;
  --pd-accent: #1f6feb;
  --pd-accent-2: #6d5efc;
  --pd-gold: #c9a24b;
  --pd-navy-1: #0a1526;
  --pd-navy-2: #122844;
  --pd-navy-3: #0d3b66;
  --pd-radius: 18px;
  --pd-shadow: 0 10px 30px rgba(16, 33, 61, 0.08);
  --pd-shadow-hover: 0 22px 48px rgba(16, 33, 61, 0.18);

  background: var(--pd-bg);
  color: var(--pd-ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pd *,
.pd *::before,
.pd *::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.pd-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 20px 108px;
  background: var(--pd-navy-1);
  color: #fff;
  text-align: center;
}

/* Full-bleed hero image with crossfade + subtle Ken Burns zoom */
.pd-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
  will-change: opacity, transform;
}

.pd-hero-img--in {
  opacity: 1;
  transform: scale(1.06);
}

/* Outgoing shot — already fading, no extra scale */
.pd-hero-img--out {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.6s ease-in;
  z-index: 1;
}

/* Darkening + colour scrim — subtle so project images remain visible */
.pd-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 480px at 15% -10%, rgba(109, 94, 252, 0.38), transparent 65%),
    radial-gradient(1000px 420px at 100% 0%, rgba(31, 111, 235, 0.38), transparent 60%),
    linear-gradient(160deg, rgba(10, 21, 38, 0.70) 0%, rgba(18, 40, 68, 0.60) 55%, rgba(13, 59, 102, 0.65) 100%);
}

.pd-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 400px at 50% 15%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(700px 400px at 50% 15%, #000 40%, transparent 85%);
  pointer-events: none;
}

.pd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.pd-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  margin-bottom: 22px;
}

.pd-hero-title {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #ffffff 0%, #cfe0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.pd-hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.pd-hero-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 620px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  padding: 6px 6px 6px 20px;
}

.pd-hero-search-ico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--pd-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.pd-hero-search-input {
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  color: var(--pd-ink);
  padding: 14px 12px;
}

.pd-hero-search-input::placeholder {
  color: var(--pd-muted);
}

.pd-hero-search-clear {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #eef1f6;
  color: var(--pd-ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pd-hero-search-clear:hover {
  background: #e2e7ef;
}

.pd-hero-stats {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 40px;
}

.pd-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pd-hero-stat b {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.pd-hero-stat span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}

/* Floating pill — anchored at bottom of hero, scrolls to results on click */
.pd-hero-scroll-pill {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--pd-ink);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.pd-hero-scroll-pill:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  background: #fff;
}

.pd-hero-scroll-pill-chev {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--pd-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.pd-hero-scroll-pill:hover .pd-hero-scroll-pill-chev {
  transform: translateY(2px);
}

/* Base filter control styles (shared by hero & standalone) */
.pd-region-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-seg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--pd-line);
  background: #fff;
  color: var(--pd-ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pd-seg-btn:hover {
  border-color: var(--pd-accent);
  color: var(--pd-accent);
}

.pd-seg-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(15, 27, 45, 0.08);
  color: inherit;
  padding: 2px 7px;
  border-radius: 999px;
}

.pd-filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.pd-select {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 130px;
}

.pd-select-cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.pd-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--pd-line);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center;
  border-radius: 12px;
  padding: 11px 34px 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pd-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pd-select select:hover {
  border-color: #c7d0dc;
}

.pd-select select:focus {
  outline: none;
  border-color: var(--pd-accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.14);
}

.pd-beds {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pd-beds-chips {
  display: flex;
  gap: 6px;
}

.pd-bed-chip {
  width: 40px;
  height: 42px;
  border: 1px solid var(--pd-line);
  background: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pd-ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pd-bed-chip:hover {
  border-color: var(--pd-accent);
  color: var(--pd-accent);
}

.pd-bed-chip.is-active {
  background: var(--pd-ink);
  border-color: var(--pd-ink);
  color: #fff;
}

/* Filter controls — now integrated inside the hero */
.pd-hero-filters {
  max-width: 780px;
  margin: 34px auto 0;
}

.pd-hero-filters .pd-region-seg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pd-hero-filters .pd-filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}

.pd-hero-filters .pd-select select {
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.30);
  color: var(--pd-ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

.pd-hero-filters .pd-select select:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background-color: #fff;
}

.pd-hero-filters .pd-select select:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.30);
}

.pd-hero-filters .pd-select-cap {
  color: rgba(255, 255, 255, 0.80);
}

.pd-hero-filters .pd-beds-chips {
  justify-content: center;
}

.pd-hero-filters .pd-bed-chip {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.90);
}

.pd-hero-filters .pd-bed-chip:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
}

.pd-hero-filters .pd-bed-chip.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--pd-ink);
}

.pd-hero-filters .pd-seg-btn {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.90);
}

.pd-hero-filters .pd-seg-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
}

.pd-hero-filters .pd-seg-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--pd-ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pd-hero-filters .pd-seg-btn.is-active .pd-seg-count {
  background: rgba(15, 27, 45, 0.10);
  color: var(--pd-ink);
}

/* Live result count shown when filters are active */
.pd-hero-live-count {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.pd-hero-live-count b {
  color: #fff;
  font-weight: 700;
}

.pd-clear--hero {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  margin-left: auto;
  align-self: flex-end;
  height: 42px;
}

.pd-clear--hero:hover {
  background: rgba(255, 255, 255, 0.30);
}

/* --------------------------------------------------------------------------
   DEPRECATED — old filter bar (now unused)
   -------------------------------------------------------------------------- */
.pd-filterbar { display: none; }

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */

.pd-select {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 130px;
}

.pd-select-cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.pd-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--pd-line);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center;
  border-radius: 12px;
  padding: 11px 34px 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pd-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pd-select select:hover {
  border-color: #c7d0dc;
}

.pd-select select:focus {
  outline: none;
  border-color: var(--pd-accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.14);
}

.pd-beds {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pd-beds-chips {
  display: flex;
  gap: 6px;
}

.pd-bed-chip {
  width: 40px;
  height: 42px;
  border: 1px solid var(--pd-line);
  background: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pd-ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pd-bed-chip:hover {
  border-color: var(--pd-accent);
  color: var(--pd-accent);
}

.pd-bed-chip.is-active {
  background: var(--pd-ink);
  border-color: var(--pd-ink);
  color: #fff;
}

.pd-clear {
  margin-left: auto;
  align-self: flex-end;
  height: 42px;
  border: 0;
  background: #fdecec;
  color: #d64545;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pd-clear:hover {
  background: #fbdada;
}

/* --------------------------------------------------------------------------
   Upcoming launches — dark horizontal scroll section
   -------------------------------------------------------------------------- */

.pd-upcoming {
  background: linear-gradient(180deg, #0b1728 0%, #111d30 100%);
  padding: 40px 0 48px;
  margin-top: -1px;
  position: relative;
  overflow: hidden;
}

.pd-upcoming::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pd-accent) 0%, var(--pd-accent-2) 50%, var(--pd-gold) 100%);
}

.pd-upcoming-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

.pd-upcoming-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-bottom: 26px;
}

.pd-upcoming-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-upcoming-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--pd-accent) 0%, var(--pd-accent-2) 100%);
  padding: 5px 12px;
  border-radius: 999px;
}

.pd-upcoming-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}

.pd-upcoming-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.pd-upcoming-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.pd-upcoming-scroll::-webkit-scrollbar {
  display: none;
}

/* Mini card — compact for horizontal scroll */
.pd-card-mini {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.pd-card-mini:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10);
}

.pd-card-mini-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.pd-card-mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pd-card-mini:hover .pd-card-mini-img {
  transform: scale(1.06);
}

.pd-card-mini-img--empty {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08));
}

.pd-card-mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.45) 100%);
}

.pd-card-mini-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pd-card-mini-body {
  padding: 14px 16px 16px;
}

.pd-card-mini-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-card-mini-loc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-card-mini-price {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.pd-card-mini-beds {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pd-card-mini-beds .pd-bed {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */

.pd-section-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pd-ink);
  margin: 0 0 20px;
}

.pd-results {
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px 20px 72px;
}

/* Header-only bar — no bottom padding */
.pd-results--head {
  padding-bottom: 14px;
}

/* Following the upcoming section — no top padding */
.pd-upcoming + .pd-results {
  padding-top: 18px;
}

.pd-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.pd-results-count {
  font-size: 15px;
  color: var(--pd-ink-soft);
}

.pd-results-count b {
  font-size: 20px;
  color: var(--pd-ink);
  font-weight: 700;
}

.pd-results-scope {
  color: var(--pd-muted);
}

.pd-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pd-muted);
  font-weight: 600;
}

.pd-sort select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--pd-line);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center;
  border-radius: 10px;
  padding: 9px 32px 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pd-ink);
  cursor: pointer;
}

.pd-sort select:focus {
  outline: none;
  border-color: var(--pd-accent);
}

/* --------------------------------------------------------------------------
   Grid & cards
   -------------------------------------------------------------------------- */

.pd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pd-card {
  display: flex;
  flex-direction: column;
  background: var(--pd-card);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--pd-shadow);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease;
}

.pd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pd-shadow-hover);
  text-decoration: none;
  color: inherit;
}

.pd-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e9edf3;
}

.pd-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pd-card:hover .pd-card-img {
  transform: scale(1.06);
}

.pd-card-img--empty {
  background: linear-gradient(135deg, #dfe6ef, #eef2f7);
}

.pd-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 21, 38, 0.35) 0%, transparent 34%, transparent 55%, rgba(10, 21, 38, 0.55) 100%);
}

.pd-card-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pd-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(4px);
}

.pd-tag--new {
  background: linear-gradient(135deg, #c9a24b, #e0be6f);
  color: #1c1400;
}

.pd-tag--upcoming {
  background: rgba(31, 111, 235, 0.92);
}

.pd-tag--ready {
  background: rgba(23, 158, 91, 0.92);
}

.pd-tag--sold {
  background: rgba(90, 99, 114, 0.92);
}

.pd-card-media-foot {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}

.pd-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.pd-card-body {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  flex: 1 1 auto;
}

.pd-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--pd-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-card-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pd-ink-soft);
  margin-bottom: 14px;
}

.pd-ico {
  width: 15px;
  height: 15px;
  fill: var(--pd-accent);
  flex: 0 0 auto;
}

.pd-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--pd-line);
}

.pd-card-price-label {
  font-size: 12px;
  color: var(--pd-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pd-card-price-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--pd-ink);
  letter-spacing: -0.01em;
}

.pd-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--pd-ink-soft);
}

.pd-meta-item {
  position: relative;
}

.pd-meta-item + .pd-meta-item::before {
  content: "·";
  position: absolute;
  left: -9px;
  color: var(--pd-muted);
}

.pd-card-beds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pd-bed {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pd-accent);
  background: rgba(31, 111, 235, 0.08);
  border: 1px solid rgba(31, 111, 235, 0.16);
  padding: 4px 9px;
  border-radius: 7px;
}

.pd-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pd-accent);
}

.pd-ico-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.pd-card:hover .pd-ico-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.pd-empty {
  text-align: center;
  padding: 72px 20px;
  background: #fff;
  border: 1px dashed var(--pd-line);
  border-radius: var(--pd-radius);
}

.pd-empty-ico {
  font-size: 40px;
  margin-bottom: 12px;
}

.pd-empty h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--pd-ink);
}

.pd-empty p {
  color: var(--pd-muted);
  margin: 0 0 20px;
}

.pd-empty-btn {
  border: 0;
  background: linear-gradient(135deg, var(--pd-accent) 0%, var(--pd-accent-2) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.28);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .pd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pd-card-mini {
    flex: 0 0 240px;
  }
}

@media (max-width: 900px) {
  .pd-hero {
    padding: 64px 18px 92px;
  }
  .pd-hero-stats {
    gap: 30px;
  }
  .pd-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pd-filter-controls {
    gap: 10px;
  }
  .pd-select {
    min-width: calc(50% - 6px);
    flex: 1 1 calc(50% - 6px);
  }
}

@media (max-width: 560px) {
  .pd-hero-stats {
    gap: 22px;
  }
  .pd-hero-stat b {
    font-size: 24px;
  }
  .pd-hero-filters .pd-region-seg {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pd-hero-filters .pd-region-seg::-webkit-scrollbar {
    display: none;
  }
  .pd-hero-filters .pd-seg-btn {
    flex: 0 0 auto;
  }
  .pd-select {
    min-width: 100%;
    flex: 1 1 100%;
  }
  .pd-results {
    padding: 24px 12px 56px;
  }
  .pd-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
