/* ============================================================
   VESTRA REALTY — Developer Profile Page Styles
   Cover hero, profile card, stats, property listings.
   Mobile-first. Uses tokens from vr_variables.css.
   ============================================================ */

/* ── COVER HERO ───────────────────────────────────────────── */
.vr-dp-cover {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--vr-green-800), var(--vr-green-700));
  overflow: hidden;
}
.vr-dp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vr-dp-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(6,38,22,0.45));
  pointer-events: none;
}
/* Grid pattern on cover when no image */
.vr-dp-cover--grid {
  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: 40px 40px;
}

@media (min-width: 768px) {
  .vr-dp-cover { height: 280px; }
}
@media (min-width: 1024px) {
  .vr-dp-cover { height: 320px; }
}

/* ── PROFILE HEADER ───────────────────────────────────────── */
.vr-dp-header-wrap {
  max-width: 1400px;
  margin: -48px auto 0;
  padding: 0 var(--vr-space-4);
  position: relative;
  z-index: 2;
}
.vr-dp-header {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.10);
  border-radius: var(--vr-radius-xl);
  padding: var(--vr-space-6);
  box-shadow: var(--vr-shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--vr-space-4);
}

.vr-dp-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--vr-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vr-font-heading);
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid #ffffff;
  box-shadow: var(--vr-shadow-sm);
}
.vr-dp-logo img {
  width: 100%;
  height: 100%;
  border-radius: var(--vr-radius-xl);
  object-fit: cover;
}

.vr-dp-name {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-2xl);
  font-weight: 700;
  color: var(--vr-text-dark);
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: var(--vr-space-2);
  flex-wrap: wrap;
}

.vr-dp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--vr-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--vr-radius-full);
}
.vr-dp-badge--verified { background: var(--vr-green-100); color: var(--vr-green-700); }
.vr-dp-badge--premium  { background: #f3e8ff; color: #6b21a8; }
.vr-dp-badge--new      { background: #e0f2fe; color: #075985; }
.vr-dp-badge--global   { background: #ccfbf1; color: #0f766e; }

.vr-dp-meta {
  display: flex;
  align-items: center;
  gap: var(--vr-space-4);
  flex-wrap: wrap;
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
}
.vr-dp-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.vr-dp-meta-item i { font-size: 16px; color: var(--vr-green-500); }

.vr-dp-actions {
  display: flex;
  gap: var(--vr-space-3);
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .vr-dp-header-wrap { padding: 0 var(--vr-space-6); margin-top: -56px; }
  .vr-dp-header {
    flex-direction: row;
    align-items: center;
    gap: var(--vr-space-6);
    padding: var(--vr-space-8) var(--vr-space-8);
  }
  .vr-dp-logo { width: 80px; height: 80px; }
  .vr-dp-name { font-size: var(--vr-text-3xl); }
  .vr-dp-actions { margin-left: auto; }
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.vr-dp-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--vr-space-8) var(--vr-space-4);
}
.vr-dp-about {
  font-size: var(--vr-text-base);
  line-height: 1.8;
  color: var(--vr-text-dark);
  max-width: 720px;
  margin-bottom: var(--vr-space-8);
  white-space: pre-line;
}

@media (min-width: 768px) {
  .vr-dp-body { padding: var(--vr-space-10) var(--vr-space-6); }
}

/* ── STATS ROW ────────────────────────────────────────────── */
.vr-dp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vr-space-4);
  margin-bottom: var(--vr-space-10);
}
.vr-dp-stat {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl);
  padding: var(--vr-space-5);
  text-align: center;
}
.vr-dp-stat-n {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-3xl);
  font-weight: 700;
  color: var(--vr-green-700);
  line-height: 1;
  margin-bottom: var(--vr-space-1);
}
.vr-dp-stat-l {
  font-size: var(--vr-text-xs);
  font-weight: 600;
  color: var(--vr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .vr-dp-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ── AVAILABLE AGENTS ─────────────────────────────────────── */
.vr-dp-agents-section {
  margin-bottom: var(--vr-space-10);
}
.vr-dp-agents-title {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-2xl);
  font-weight: 700;
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-1);
}
.vr-dp-agents-title i {
  color: var(--vr-green-600);
  margin-right: var(--vr-space-2);
}
.vr-dp-agents-title em {
  font-style: italic;
  color: var(--vr-green-700);
}
.vr-dp-agents-sub {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  margin-bottom: var(--vr-space-5);
}
.vr-dp-agents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--vr-space-4);
}
@media (min-width: 640px) {
  .vr-dp-agents-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .vr-dp-agents-grid { grid-template-columns: repeat(3, 1fr); }
}

.vr-agent-card {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl);
  padding: var(--vr-space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--vr-space-4);
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(8px);
}
.vr-agent-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: hover) {
  .vr-agent-card:hover {
    border-color: rgba(28,107,63,0.18);
    box-shadow: var(--vr-shadow-md);
  }
}

.vr-agent-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--vr-radius-full);
  background: linear-gradient(135deg, var(--vr-green-200), var(--vr-green-300));
  color: var(--vr-green-800);
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.vr-agent-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-agent-card-info {
  flex: 1;
  min-width: 0;
}
.vr-agent-card-name {
  font-weight: 600;
  font-size: var(--vr-text-base);
  color: var(--vr-text-dark);
  margin-bottom: 2px;
}
.vr-agent-card-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--vr-green-600);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.vr-agent-card-badge i { font-size: 12px; }
.vr-agent-card-region {
  font-size: var(--vr-text-xs);
  color: var(--vr-text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.vr-agent-card-region i { font-size: 12px; }
.vr-agent-card-stats {
  display: flex;
  gap: var(--vr-space-3);
  font-size: 11px;
  color: var(--vr-text-muted);
}
.vr-agent-card-stats strong {
  color: var(--vr-text-dark);
  font-weight: 600;
}

.vr-agent-card-cta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--vr-radius-lg);
  background: var(--vr-green-50);
  color: var(--vr-green-700);
  font-size: var(--vr-text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  align-self: center;
}
.vr-agent-card-cta:hover {
  background: var(--vr-green-100);
  color: var(--vr-green-800);
}

/* ── FILTER TABS ──────────────────────────────────────────── */
.vr-dp-listings-head {
  display: flex;
  flex-direction: column;
  gap: var(--vr-space-4);
  margin-bottom: var(--vr-space-6);
}
.vr-dp-listings-title {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-2xl);
  font-weight: 700;
  color: var(--vr-text-dark);
}
.vr-dp-listings-title em { color: var(--vr-green-500); font-style: italic; }

.vr-dp-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.vr-dp-tabs::-webkit-scrollbar { display: none; }

.vr-dp-tab {
  flex-shrink: 0;
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-sm);
  font-weight: 500;
  color: var(--vr-text-muted);
  background: transparent;
  border: 1.5px solid rgba(28,107,63,0.12);
  border-radius: var(--vr-radius-full);
  padding: 7px 18px;
  cursor: pointer;
  transition: all var(--vr-duration-fast) var(--vr-ease-smooth);
  -webkit-tap-highlight-color: transparent;
}
.vr-dp-tab:hover { border-color: var(--vr-green-300); color: var(--vr-green-600); }
.vr-dp-tab.active {
  background: var(--vr-green-600);
  border-color: var(--vr-green-600);
  color: #ffffff;
  font-weight: 600;
}

@media (min-width: 768px) {
  .vr-dp-listings-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── LOAD MORE ────────────────────────────────────────────── */
.vr-dp-load-more {
  text-align: center;
  padding: var(--vr-space-8) 0 var(--vr-space-4);
}

/* ── ALL DEVELOPERS GRID (when no ?id) ────────────────────── */
.vr-dp-all-hero {
  background: var(--vr-green-800);
  padding: var(--vr-space-12) var(--vr-space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vr-dp-all-hero::before {
  content: '';
  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: 40px 40px;
}
.vr-dp-all-hero-eyebrow {
  position: relative;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vr-green-300);
  margin-bottom: var(--vr-space-3);
}
.vr-dp-all-hero-title {
  position: relative;
  font-family: var(--vr-font-heading);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: var(--vr-space-3);
}
.vr-dp-all-hero-title em { color: var(--vr-green-300); font-style: italic; }
.vr-dp-all-hero-sub {
  position: relative;
  font-size: var(--vr-text-base);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .vr-dp-all-hero { padding: var(--vr-space-16) var(--vr-space-8); }
}

.vr-dp-all-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--vr-space-8) var(--vr-space-4);
}

@media (min-width: 768px) {
  .vr-dp-all-body { padding: var(--vr-space-10) var(--vr-space-6); }
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
.vr-dp-header { animation: vrFadeIn 0.45s var(--vr-ease-enter) both; animation-delay: 0.1s; }
.vr-dp-about  { animation: vrFadeIn 0.4s var(--vr-ease-enter) both; animation-delay: 0.15s; }
.vr-dp-stats  { animation: vrFadeIn 0.4s var(--vr-ease-enter) both; animation-delay: 0.2s; }

/* ── PROJECT CAROUSELS ───────────────────────────────────── */
.vr-dp-project-section {
  margin-bottom: var(--vr-space-10);
}
.vr-dp-project-header {
  display: flex;
  align-items: center;
  gap: var(--vr-space-3);
  margin-bottom: var(--vr-space-4);
}
.vr-dp-project-name {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-xl);
  font-weight: 700;
  color: var(--vr-text-dark);
  line-height: 1.2;
}
.vr-dp-project-count {
  font-size: var(--vr-text-xs);
  font-weight: 600;
  color: var(--vr-text-muted);
  background: rgba(28,107,63,0.08);
  padding: 3px 10px;
  border-radius: var(--vr-radius-full);
  white-space: nowrap;
}
.vr-dp-carousel-nav {
  display: none;
  gap: var(--vr-space-2);
  margin-left: auto;
}
.vr-dp-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(28,107,63,0.15);
  background: var(--vr-surface-card);
  color: var(--vr-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--vr-duration-fast) var(--vr-ease-smooth);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.vr-dp-carousel-btn:hover {
  background: var(--vr-green-50);
  border-color: var(--vr-green-300);
  color: var(--vr-green-600);
}
.vr-dp-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.vr-dp-carousel-track {
  display: flex;
  gap: var(--vr-space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--vr-space-2);
  scrollbar-width: none;
}
.vr-dp-carousel-track::-webkit-scrollbar { display: none; }
.vr-dp-carousel-track .vr-prop-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .vr-dp-carousel-nav { display: flex; }
  .vr-dp-carousel-track .vr-prop-card { flex: 0 0 320px; }
}
@media (min-width: 1024px) {
  .vr-dp-carousel-track .vr-prop-card { flex: 0 0 340px; }
}

/* ── AVAILABILITY BAR ────────────────────────────────────── */
.vr-avail {
  padding: var(--vr-space-3) 0 0;
  margin-top: auto;
}
.vr-avail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vr-space-2);
  margin-bottom: 6px;
}
.vr-avail-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--vr-radius-full);
}
.vr-avail-label {
  font-size: var(--vr-text-xs);
  font-weight: 500;
  color: var(--vr-text-muted);
}
.vr-avail-bar {
  height: 6px;
  border-radius: var(--vr-radius-full);
  background: rgba(28,107,63,0.08);
  overflow: hidden;
}
.vr-avail-fill {
  height: 100%;
  border-radius: var(--vr-radius-full);
  transition: width 0.6s var(--vr-ease-smooth);
  min-width: 2px;
}

/* Green — available */
.vr-avail--green .vr-avail-tag {
  background: var(--vr-green-100);
  color: var(--vr-green-700);
}
.vr-avail--green .vr-avail-fill {
  background: var(--vr-green-500);
}

/* Amber — few left */
.vr-avail--amber .vr-avail-tag {
  background: #fef3c7;
  color: #92400e;
}
.vr-avail--amber .vr-avail-fill {
  background: #f59e0b;
}

/* Red — sold out */
.vr-avail--red .vr-avail-tag {
  background: #fee2e2;
  color: #991b1b;
}
.vr-avail--red .vr-avail-fill {
  background: #ef4444;
}

/* ════════════════════════════════════════════════════════════
   BREADCRUMB NAV
   ════════════════════════════════════════════════════════════ */
.vr-breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--vr-space-4) var(--vr-space-4);
  display: flex;
  align-items: center;
  gap: var(--vr-space-2);
  flex-wrap: wrap;
  font-size: var(--vr-text-sm);
}
.vr-breadcrumb-link {
  color: var(--vr-green-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.vr-breadcrumb-link:hover {
  color: var(--vr-green-800);
  text-decoration: underline;
}
.vr-breadcrumb-sep {
  color: var(--vr-text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
}
.vr-breadcrumb-current {
  color: var(--vr-text-dark);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

@media (min-width: 768px) {
  .vr-breadcrumb {
    padding: var(--vr-space-4) var(--vr-space-6);
  }
  .vr-breadcrumb-current {
    max-width: 400px;
  }
}

/* ════════════════════════════════════════════════════════════
   LEVEL 2 — PROJECTS GRID
   ════════════════════════════════════════════════════════════ */
.vr-dp-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--vr-space-5);
}
@media (min-width: 640px) {
  .vr-dp-projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .vr-dp-projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.vr-dp-project-card {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.vr-dp-project-card:hover {
  border-color: rgba(28,107,63,0.2);
  box-shadow: var(--vr-shadow-lg);
  transform: translateY(-2px);
}

.vr-dp-project-card-img {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--vr-green-700), var(--vr-green-800));
  overflow: hidden;
}
.vr-dp-project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vr-dp-project-card:hover .vr-dp-project-card-img img {
  transform: scale(1.05);
}
.vr-dp-project-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.2);
}

.vr-dp-project-card-body {
  padding: var(--vr-space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vr-dp-project-card-name {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-lg);
  font-weight: 700;
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-2);
  line-height: 1.2;
}

.vr-dp-project-card-types {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: var(--vr-space-3);
}

.vr-dp-type-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--vr-radius-full);
  background: rgba(28,107,63,0.08);
  color: var(--vr-green-700);
}

.vr-dp-project-card-price {
  font-size: var(--vr-text-sm);
  font-weight: 600;
  color: var(--vr-green-600);
  margin-bottom: var(--vr-space-2);
}

.vr-dp-project-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--vr-text-xs);
  color: var(--vr-text-muted);
  margin-bottom: var(--vr-space-2);
}

/* ════════════════════════════════════════════════════════════
   LEVEL 3 — STRUCTURES GRID
   ════════════════════════════════════════════════════════════ */
.vr-dp-structures-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--vr-space-5);
}
@media (min-width: 640px) {
  .vr-dp-structures-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .vr-dp-structures-grid { grid-template-columns: repeat(3, 1fr); }
}

.vr-dp-structure-card {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.vr-dp-structure-card:hover {
  border-color: rgba(28,107,63,0.2);
  box-shadow: var(--vr-shadow-lg);
  transform: translateY(-2px);
}

/* ── PROJECT HERO (Level 3) ─────────────────────────────── */
.vr-dp-project-hero {
  position: relative;
  width: 100%;
  min-height: 220px;
  overflow: hidden;
}
.vr-dp-project-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--vr-green-800);
}
.vr-dp-project-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(6,38,22,0.75));
}
.vr-dp-project-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--vr-space-10) var(--vr-space-4) var(--vr-space-8);
  max-width: 1400px;
  margin: 0 auto;
}
.vr-dp-project-hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vr-green-300);
  margin-bottom: var(--vr-space-2);
}
.vr-dp-project-hero-title {
  font-family: var(--vr-font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: var(--vr-space-2);
}
.vr-dp-project-hero-loc {
  font-size: var(--vr-text-sm);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--vr-space-3);
}
.vr-dp-project-hero-stats {
  display: flex;
  gap: var(--vr-space-4);
  font-size: var(--vr-text-sm);
  color: rgba(255,255,255,0.5);
}

@media (min-width: 768px) {
  .vr-dp-project-hero { min-height: 280px; }
  .vr-dp-project-hero-content { padding: var(--vr-space-16) var(--vr-space-6) var(--vr-space-10); }
}

/* ════════════════════════════════════════════════════════════
   LEVEL 4 — FLOOR MATRIX (Modern Building Visualization)
   ════════════════════════════════════════════════════════════ */

/* Header */
.vr-dp-matrix-header {
  margin-bottom: var(--vr-space-6);
}
.vr-dp-matrix-title-row {
  display: flex;
  align-items: baseline;
  gap: var(--vr-space-3);
  flex-wrap: wrap;
  margin-bottom: var(--vr-space-2);
}
.vr-dp-matrix-title {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-3xl);
  font-weight: 700;
  color: var(--vr-text-dark);
}
.vr-dp-matrix-subtitle {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  font-weight: 500;
}
.vr-dp-matrix-info {
  display: flex;
  gap: var(--vr-space-5);
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
}
.vr-dp-matrix-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.vr-dp-matrix-info i {
  font-size: 16px;
  color: var(--vr-green-500);
}

/* Filter pills */
.vr-dp-matrix-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--vr-space-5);
}

/* Legend — inline compact row */
.vr-dp-matrix-legend {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl);
  padding: var(--vr-space-4) var(--vr-space-5);
  margin-bottom: var(--vr-space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--vr-space-4);
  align-items: center;
}
.vr-dp-legend-section {
  display: flex;
  align-items: center;
  gap: var(--vr-space-3);
  flex-wrap: wrap;
}
.vr-dp-legend-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--vr-text-muted);
  white-space: nowrap;
}
.vr-dp-legend-divider {
  width: 1px;
  height: 20px;
  background: rgba(28,107,63,0.12);
  flex-shrink: 0;
}
.vr-dp-legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vr-space-3);
}
.vr-dp-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--vr-text-xs);
  color: var(--vr-text-dark);
  font-weight: 500;
}
.vr-dp-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.vr-dp-legend-swatch--available { background: var(--vr-green-500); }
.vr-dp-legend-swatch--reserved  { background: #f59e0b; }
.vr-dp-legend-swatch--sold      { background: #ef4444; }
.vr-dp-legend-swatch--not_for_sale { background: #9ca3af; }

.vr-dp-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.08);
}
.vr-dp-legend-dot--inquired       { background: #38bdf8; }
.vr-dp-legend-dot--under_offer    { background: #f59e0b; }
.vr-dp-legend-dot--under_contract { background: #a78bfa; }
.vr-dp-legend-dot--cleared        { background: var(--vr-green-500); }

/* Building container */
.vr-dp-matrix-grid {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--vr-space-8);
  padding: var(--vr-space-5);
  background: linear-gradient(180deg, var(--vr-green-900) 0%, var(--vr-green-800) 100%);
  border-radius: var(--vr-radius-xl);
  position: relative;
}
/* Subtle grid lines on building bg */
.vr-dp-matrix-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--vr-radius-xl);
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.vr-dp-matrix-inner {
  position: relative;
  min-width: min-content;
}

/* Column headers */
.vr-dp-matrix-row--header {
  display: flex;
  gap: 4px;
  margin-bottom: var(--vr-space-3);
  padding-bottom: var(--vr-space-2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vr-dp-matrix-floor-col {
  min-width: 52px;
  width: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.vr-dp-matrix-col-header {
  flex: 1;
  min-width: 88px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  padding: 6px 4px;
  transition: opacity 0.25s ease;
}
.vr-dp-matrix-col--dimmed { opacity: 0.2; }

/* Floor rows */
.vr-dp-matrix-row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.vr-dp-matrix-row .vr-dp-matrix-floor-col {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  border-radius: var(--vr-radius-sm);
  background: rgba(255,255,255,0.04);
}

/* Cells — window-like units */
.vr-dp-matrix-cell {
  flex: 1;
  min-width: 88px;
  min-height: 52px;
  border-radius: var(--vr-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s var(--vr-ease-smooth);
  -webkit-tap-highlight-color: transparent;
  border: 1px solid rgba(255,255,255,0.06);
}
.vr-dp-matrix-cell:hover {
  transform: translateY(-2px) scale(1.03);
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.25);
}
.vr-dp-matrix-cell--empty {
  background: rgba(255,255,255,0.02);
  border-color: transparent;
  cursor: default;
  min-height: 52px;
}
.vr-dp-matrix-cell--empty:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
.vr-dp-matrix-cell--dimmed {
  opacity: 0.15;
  pointer-events: none;
}

/* Unit code label */
.vr-dp-matrix-cell-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 6px;
  letter-spacing: 0.3px;
}
/* Unit price sub-label */
.vr-dp-matrix-cell-price {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.2px;
}

/* Status colors — glass-like effect */
.vr-dp-unit--available {
  background: linear-gradient(135deg, rgba(45,179,106,0.85), rgba(45,179,106,0.65));
  border-color: rgba(45,179,106,0.3);
}
.vr-dp-unit--reserved {
  background: linear-gradient(135deg, rgba(245,158,11,0.85), rgba(245,158,11,0.65));
  border-color: rgba(245,158,11,0.3);
}
.vr-dp-unit--sold {
  background: linear-gradient(135deg, rgba(239,68,68,0.75), rgba(239,68,68,0.55));
  border-color: rgba(239,68,68,0.25);
}
.vr-dp-unit--not_for_sale {
  background: linear-gradient(135deg, rgba(156,163,175,0.55), rgba(156,163,175,0.35));
  border-color: rgba(156,163,175,0.2);
}

/* Vestra pipeline dots */
.vr-dp-unit-vestra-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.vr-dp-unit-vestra-dot--inquired       { background: #38bdf8; }
.vr-dp-unit-vestra-dot--under_offer    { background: #f59e0b; }
.vr-dp-unit-vestra-dot--under_contract { background: #a78bfa; }
.vr-dp-unit-vestra-dot--cleared        { background: var(--vr-green-400); }

/* Tooltip card on hover */
.vr-dp-matrix-cell[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--vr-text-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--vr-radius-md);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(6,38,22,0.2);
  letter-spacing: 0.1px;
}
.vr-dp-matrix-cell[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #ffffff;
  z-index: 10;
  pointer-events: none;
}

/* Summary */
.vr-dp-matrix-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vr-space-3);
}
@media (min-width: 640px) {
  .vr-dp-matrix-summary { grid-template-columns: repeat(4, 1fr); }
}

.vr-dp-summary-card {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl);
  padding: var(--vr-space-5);
  text-align: center;
  transition: all 0.2s ease;
}
.vr-dp-summary-card:hover {
  border-color: rgba(28,107,63,0.15);
  box-shadow: var(--vr-shadow-sm);
}
.vr-dp-summary-n {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-3xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.vr-dp-summary-l {
  font-size: var(--vr-text-xs);
  font-weight: 600;
  color: var(--vr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Building Floor Selector ──────────────────────────────── */
.vr-dp-building {
  position: relative;
}
.vr-dp-building-roof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--vr-space-2);
  padding: var(--vr-space-3);
  font-size: var(--vr-text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--vr-space-2);
}
.vr-dp-building-roof i {
  font-size: 16px;
}

/* Floor bar */
.vr-dp-floor-bar {
  display: flex;
  align-items: center;
  gap: var(--vr-space-3);
  padding: 10px var(--vr-space-4);
  border-radius: var(--vr-radius-md);
  cursor: pointer;
  transition: all 0.2s var(--vr-ease-smooth);
  margin-bottom: 2px;
  border: 1px solid transparent;
}
.vr-dp-floor-bar:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}
.vr-dp-floor-bar--active {
  background: rgba(45,179,106,0.12);
  border-color: rgba(45,179,106,0.25);
}
.vr-dp-floor-bar--active .vr-dp-floor-bar-label {
  color: var(--vr-green-300);
}
.vr-dp-floor-bar--active .vr-dp-floor-bar-arrow {
  color: var(--vr-green-300);
  transform: rotate(90deg);
}

.vr-dp-floor-bar-label {
  font-size: var(--vr-text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  min-width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.vr-dp-floor-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--vr-radius-full);
  display: flex;
  overflow: hidden;
  gap: 1px;
}
.vr-dp-floor-bar-seg {
  height: 100%;
  border-radius: var(--vr-radius-full);
  transition: width 0.4s var(--vr-ease-smooth);
  min-width: 2px;
}
.vr-dp-floor-bar-seg--avail   { background: var(--vr-green-500); }
.vr-dp-floor-bar-seg--reserved { background: #f59e0b; }
.vr-dp-floor-bar-seg--sold    { background: #ef4444; }

.vr-dp-floor-bar-stats {
  display: flex;
  gap: var(--vr-space-2);
  flex-shrink: 0;
  min-width: 80px;
  justify-content: flex-end;
}
.vr-dp-floor-stat {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: var(--vr-radius-full);
}
.vr-dp-floor-stat--avail {
  color: var(--vr-green-300);
  background: rgba(45,179,106,0.15);
}
.vr-dp-floor-stat--sold {
  color: #fca5a5;
  background: rgba(239,68,68,0.15);
}
.vr-dp-floor-stat--total {
  color: rgba(255,255,255,0.4);
}

.vr-dp-floor-bar-arrow {
  font-size: 14px;
  color: rgba(255,255,255,0.25);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* ── Expanded Floor Units ────────────────────────────────── */
.vr-dp-floor-units {
  margin-top: var(--vr-space-6);
  padding-top: var(--vr-space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.vr-dp-floor-units-header {
  display: flex;
  flex-direction: column;
  gap: var(--vr-space-3);
  margin-bottom: var(--vr-space-5);
}
.vr-dp-floor-units-title {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-xl);
  font-weight: 700;
  color: #ffffff;
}
.vr-dp-floor-units-filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.vr-dp-floor-units-filters .vr-dp-tab {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
}
.vr-dp-floor-units-filters .vr-dp-tab:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
}
.vr-dp-floor-units-filters .vr-dp-tab.active {
  background: var(--vr-green-600);
  border-color: var(--vr-green-600);
  color: #ffffff;
}

@media (min-width: 768px) {
  .vr-dp-floor-units-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Unit cards grid */
.vr-dp-floor-units-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vr-space-3);
}
@media (min-width: 480px) {
  .vr-dp-floor-units-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .vr-dp-floor-units-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .vr-dp-floor-units-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1280px) {
  .vr-dp-floor-units-grid { grid-template-columns: repeat(6, 1fr); }
}

/* Individual unit card */
.vr-dp-unit-card {
  border-radius: var(--vr-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s var(--vr-ease-smooth);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.vr-dp-unit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.15);
}
.vr-dp-unit-card--dimmed {
  opacity: 0.15;
  pointer-events: none;
}

/* Status top bar */
.vr-dp-unit-card-status-bar {
  height: 3px;
}
.vr-dp-unit-card--available .vr-dp-unit-card-status-bar { background: var(--vr-green-500); }
.vr-dp-unit-card--reserved .vr-dp-unit-card-status-bar  { background: #f59e0b; }
.vr-dp-unit-card--sold .vr-dp-unit-card-status-bar      { background: #ef4444; }
.vr-dp-unit-card--not_for_sale .vr-dp-unit-card-status-bar { background: #6b7280; }

.vr-dp-unit-card-body {
  padding: var(--vr-space-3) var(--vr-space-3) var(--vr-space-3);
}

.vr-dp-unit-card-code {
  font-size: var(--vr-text-sm);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vr-dp-unit-card-type {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--vr-space-2);
}

.vr-dp-unit-card-meta {
  display: flex;
  align-items: center;
  gap: var(--vr-space-2);
  margin-bottom: var(--vr-space-2);
}
.vr-dp-unit-card-price {
  font-size: var(--vr-text-sm);
  font-weight: 700;
  color: var(--vr-green-300);
}
.vr-dp-unit-card-sqm {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
}

.vr-dp-unit-card-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: var(--vr-radius-full);
}
.vr-dp-unit-card--available .vr-dp-unit-card-badge {
  background: rgba(45,179,106,0.15);
  color: var(--vr-green-300);
}
.vr-dp-unit-card--reserved .vr-dp-unit-card-badge {
  background: rgba(245,158,11,0.15);
  color: #fcd34d;
}
.vr-dp-unit-card--sold .vr-dp-unit-card-badge {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
}
.vr-dp-unit-card--not_for_sale .vr-dp-unit-card-badge {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
}

/* Vestra pipeline dot on unit card */
.vr-dp-unit-card-vdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.vr-dp-unit-card-vdot--inquired       { background: #38bdf8; }
.vr-dp-unit-card-vdot--under_offer    { background: #f59e0b; }
.vr-dp-unit-card-vdot--under_contract { background: #a78bfa; }
.vr-dp-unit-card-vdot--cleared        { background: var(--vr-green-400); }

/* ── Unit Card Thumbnail ─────────────────────────────────── */
.vr-dp-unit-card-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.vr-dp-unit-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.vr-dp-unit-card:hover .vr-dp-unit-card-thumb img {
  transform: scale(1.05);
}
.vr-dp-unit-card-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45,179,106,0.08) 0%, rgba(6,38,22,0.25) 100%);
}
.vr-dp-unit-card-thumb--empty i {
  font-size: 28px;
  color: rgba(255,255,255,0.12);
}

/* ── Mobile Floor Carousel ────────────────────────────────── */
.vr-dp-floor-carousel {
  margin-bottom: var(--vr-space-4);
}
.vr-dp-floor-carousel-label {
  display: flex;
  align-items: center;
  gap: var(--vr-space-2);
  font-size: var(--vr-text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--vr-space-2);
}
.vr-dp-floor-carousel-label i {
  font-size: 14px;
}
.vr-dp-floor-carousel-track {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.vr-dp-floor-carousel-track::-webkit-scrollbar {
  display: none;
}

.vr-dp-floor-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 56px;
}
.vr-dp-floor-chip:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.vr-dp-floor-chip--active {
  background: rgba(45,179,106,0.15);
  border-color: rgba(45,179,106,0.4);
}
.vr-dp-floor-chip--sold {
  opacity: 0.5;
}
.vr-dp-floor-chip-num {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}
.vr-dp-floor-chip--active .vr-dp-floor-chip-num {
  color: var(--vr-green-300);
}
.vr-dp-floor-chip-bar {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.vr-dp-floor-chip-fill {
  display: block;
  height: 100%;
  background: var(--vr-green-500);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.vr-dp-floor-chip-count {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  line-height: 1;
}
.vr-dp-floor-chip--active .vr-dp-floor-chip-count {
  color: rgba(45,179,106,0.7);
}

/* Mobile: show carousel, hide building */
.vr-dp-building { display: block; }
.vr-dp-floor-carousel { display: none; }

@media (max-width: 767px) {
  .vr-dp-floor-carousel { display: block; }
  .vr-dp-building { display: none; }
}

/* Responsive building */
@media (min-width: 768px) {
  .vr-dp-matrix-grid {
    padding: var(--vr-space-6) var(--vr-space-8);
  }
  .vr-dp-floor-bar {
    padding: 12px var(--vr-space-5);
  }
  .vr-dp-floor-bar-label {
    min-width: 44px;
    font-size: var(--vr-text-base);
  }
  .vr-dp-floor-bar-track {
    height: 10px;
  }
}

/* ════════════════════════════════════════════════════════════
   LEVEL 5 — UNIT DETAIL
   ════════════════════════════════════════════════════════════ */
.vr-dp-unit-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--vr-space-6);
}
@media (min-width: 1024px) {
  .vr-dp-unit-detail {
    grid-template-columns: 1fr 360px;
    gap: var(--vr-space-8);
  }
}

.vr-dp-unit-main { min-width: 0; }

/* Gallery */
.vr-dp-unit-gallery {
  margin-bottom: var(--vr-space-5);
}
.vr-dp-unit-gallery-main {
  border-radius: var(--vr-radius-xl);
  overflow: hidden;
  background: var(--vr-green-800);
  aspect-ratio: 16/10;
  margin-bottom: var(--vr-space-3);
}
.vr-dp-unit-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vr-dp-unit-gallery-thumbs {
  display: flex;
  gap: var(--vr-space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.vr-dp-unit-gallery-thumbs::-webkit-scrollbar { display: none; }
.vr-dp-unit-thumb {
  width: 64px;
  height: 48px;
  border-radius: var(--vr-radius-md);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
  flex-shrink: 0;
}
.vr-dp-unit-thumb:hover { border-color: var(--vr-green-300); }
.vr-dp-unit-thumb.active { border-color: var(--vr-green-600); }

.vr-dp-unit-gallery-empty {
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(28,107,63,0.05);
  border-radius: var(--vr-radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--vr-space-2);
  color: var(--vr-text-muted);
  font-size: var(--vr-text-sm);
}
.vr-dp-unit-gallery-empty i { font-size: 48px; }

/* Title */
.vr-dp-unit-title {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-2xl);
  font-weight: 700;
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-4);
  line-height: 1.2;
}

/* Status blocks */
.vr-dp-unit-status-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vr-space-3);
  margin-bottom: var(--vr-space-5);
}
.vr-dp-unit-status-block {
  padding: var(--vr-space-4);
  border-radius: var(--vr-radius-lg);
  text-align: center;
}
.vr-dp-unit-status-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  opacity: 0.7;
}
.vr-dp-unit-status-value {
  font-size: var(--vr-text-lg);
  font-weight: 700;
}

/* Developer status colors */
.vr-dp-status--available     { background: rgba(34,197,94,0.1);  color: var(--vr-green-700); }
.vr-dp-status--reserved      { background: rgba(245,158,11,0.1); color: #92400e; }
.vr-dp-status--sold          { background: rgba(239,68,68,0.1);  color: #991b1b; }
.vr-dp-status--not_for_sale  { background: rgba(156,163,175,0.1); color: #4b5563; }

/* Vestra status colors */
.vr-dp-status--none           { background: rgba(156,163,175,0.08); color: #6b7280; }
.vr-dp-status--inquired       { background: rgba(56,189,248,0.1);  color: #0369a1; }
.vr-dp-status--under_offer    { background: rgba(245,158,11,0.1);  color: #92400e; }
.vr-dp-status--under_contract { background: rgba(167,139,250,0.1); color: #5b21b6; }
.vr-dp-status--cleared        { background: rgba(34,197,94,0.1);   color: var(--vr-green-700); }

/* Specs grid */
.vr-dp-unit-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--vr-space-3);
  margin-bottom: var(--vr-space-6);
}
@media (min-width: 640px) {
  .vr-dp-unit-specs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .vr-dp-unit-specs { grid-template-columns: repeat(4, 1fr); }
}

.vr-dp-unit-spec {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.06);
  border-radius: var(--vr-radius-lg);
  padding: var(--vr-space-3) var(--vr-space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vr-dp-unit-spec i {
  font-size: 18px;
  color: var(--vr-green-500);
  margin-bottom: 2px;
}
.vr-dp-unit-spec-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--vr-text-muted);
}
.vr-dp-unit-spec-value {
  font-size: var(--vr-text-base);
  font-weight: 700;
  color: var(--vr-text-dark);
}

/* Features */
.vr-dp-unit-features {
  margin-bottom: var(--vr-space-6);
}
.vr-dp-unit-features h3 {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-lg);
  font-weight: 700;
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-4);
}
.vr-dp-unit-feat-group {
  margin-bottom: var(--vr-space-4);
}
.vr-dp-unit-feat-group h4 {
  font-size: var(--vr-text-sm);
  font-weight: 600;
  color: var(--vr-green-600);
  margin-bottom: var(--vr-space-2);
  text-transform: capitalize;
}
.vr-dp-unit-feat-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vr-space-2);
}
.vr-dp-unit-feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--vr-text-xs);
  font-weight: 500;
  color: var(--vr-text-dark);
  background: rgba(28,107,63,0.06);
  padding: 4px 10px;
  border-radius: var(--vr-radius-full);
}
.vr-dp-unit-feat-tag i {
  font-size: 12px;
  color: var(--vr-green-500);
}

/* Notes */
.vr-dp-unit-notes {
  margin-bottom: var(--vr-space-6);
}
.vr-dp-unit-notes h3 {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-lg);
  font-weight: 700;
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-2);
}
.vr-dp-unit-notes p {
  font-size: var(--vr-text-base);
  line-height: 1.7;
  color: var(--vr-text-dark);
  white-space: pre-line;
}

/* Sidebar */
.vr-dp-unit-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--vr-space-5);
}

.vr-dp-unit-price-card {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.1);
  border-radius: var(--vr-radius-xl);
  padding: var(--vr-space-6);
  position: sticky;
  top: var(--vr-space-4);
}
.vr-dp-unit-price-amount {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-2xl);
  font-weight: 700;
  color: var(--vr-green-700);
  margin-bottom: var(--vr-space-1);
}
.vr-dp-unit-price-note {
  font-size: var(--vr-text-xs);
  color: var(--vr-text-muted);
  margin-bottom: var(--vr-space-3);
}

.vr-dp-unit-inquire-btn {
  width: 100%;
  padding: var(--vr-space-3) var(--vr-space-4);
  font-size: var(--vr-text-base);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--vr-space-2);
  margin-top: var(--vr-space-3);
}
.vr-dp-unit-inquire-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.vr-dp-unit-unavailable {
  font-size: var(--vr-text-xs);
  color: #991b1b;
  text-align: center;
  margin-top: var(--vr-space-2);
}

.vr-dp-unit-project-info {
  background: var(--vr-surface-card);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl);
  padding: var(--vr-space-5);
}
.vr-dp-unit-project-info h4 {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-base);
  font-weight: 700;
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-4);
  display: flex;
  align-items: center;
  gap: var(--vr-space-2);
}
.vr-dp-unit-project-info h4 i {
  color: var(--vr-green-500);
  font-size: 18px;
}
.vr-dp-unit-project-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--vr-space-2) 0;
  border-bottom: 1px solid rgba(28,107,63,0.05);
  font-size: var(--vr-text-sm);
}
.vr-dp-unit-project-detail:last-child { border-bottom: none; }
.vr-dp-unit-project-detail span { color: var(--vr-text-muted); }
.vr-dp-unit-project-detail strong { color: var(--vr-text-dark); font-weight: 600; }

/* ── Construction Updates (Public Developer Profile) ── */

.vr-dp-cu-section {
  margin-top: var(--vr-space-8, 2rem);
  padding-top: var(--vr-space-6, 1.5rem);
  border-top: 1px solid rgba(28,107,63,0.08);
}
.vr-dp-cu-title {
  font-family: var(--vr-font-heading, 'Cormorant Garamond', serif);
  font-size: var(--vr-text-xl, 1.25rem);
  font-weight: 700;
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-5, 1.25rem);
  display: flex;
  align-items: center;
  gap: var(--vr-space-2);
}
.vr-dp-cu-title i {
  color: var(--vr-green-500, #2db36a);
  font-size: 22px;
}
.vr-dp-cu-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--vr-space-4, 1rem);
  border-left: 3px solid rgba(28,107,63,0.12);
  padding-left: var(--vr-space-5, 1.25rem);
}
.vr-dp-cu-card {
  background: var(--vr-surface-card, #fff);
  border: 1px solid rgba(28,107,63,0.08);
  border-radius: var(--vr-radius-xl, 18px);
  padding: var(--vr-space-5, 1.25rem);
  position: relative;
}
.vr-dp-cu-card::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--vr-space-5, 1.25rem) - 7px);
  top: var(--vr-space-5, 1.25rem);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vr-green-500, #2db36a);
  border: 2px solid #fff;
}
.vr-dp-cu-card-header {
  display: flex;
  align-items: center;
  gap: var(--vr-space-2);
  margin-bottom: var(--vr-space-2);
}
.vr-dp-cu-date {
  font-size: var(--vr-text-xs, 0.75rem);
  color: var(--vr-text-muted);
  font-weight: 500;
}
.vr-dp-cu-milestone {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--vr-radius-full, 999px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.vr-dp-cu-card-title {
  font-weight: 600;
  font-size: var(--vr-text-base, 1rem);
  color: var(--vr-text-dark);
  margin-bottom: var(--vr-space-1);
}
.vr-dp-cu-card-desc {
  font-size: var(--vr-text-sm, 0.875rem);
  color: var(--vr-text-muted);
  line-height: 1.5;
  margin-bottom: var(--vr-space-3);
}
.vr-dp-cu-progress {
  height: 10px;
  background: rgba(28,107,63,0.06);
  border-radius: var(--vr-radius-full, 999px);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--vr-space-3);
}
.vr-dp-cu-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--vr-green-500, #2db36a), var(--vr-green-400, #4ade80));
  border-radius: var(--vr-radius-full, 999px);
  transition: width 0.4s ease;
}
.vr-dp-cu-progress-label {
  position: absolute;
  right: 8px;
  top: -20px;
  font-size: var(--vr-text-xs, 0.75rem);
  font-weight: 600;
  color: var(--vr-green-500, #2db36a);
}
.vr-dp-cu-gallery {
  display: flex;
  gap: var(--vr-space-2);
  overflow-x: auto;
  padding: var(--vr-space-1) 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.vr-dp-cu-gallery::-webkit-scrollbar { height: 4px; }
.vr-dp-cu-gallery::-webkit-scrollbar-track { background: transparent; }
.vr-dp-cu-gallery::-webkit-scrollbar-thumb { background: rgba(28,107,63,0.12); border-radius: 4px; }
.vr-dp-cu-gallery img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--vr-radius-md, 8px);
  flex-shrink: 0;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vr-dp-cu-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

@media (max-width: 640px) {
  .vr-dp-cu-timeline {
    padding-left: var(--vr-space-3, 0.75rem);
  }
  .vr-dp-cu-card::before {
    left: calc(-1 * var(--vr-space-3, 0.75rem) - 7px);
  }
  .vr-dp-cu-gallery img {
    width: 130px;
    height: 100px;
  }
}

/* ── FLOOR PLAN CARDS (Level 4) ───────────────────────────── */
.vr-dp-floor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--vr-space-3);
  margin-bottom: var(--vr-space-5);
}
@media (max-width: 480px) {
  .vr-dp-floor-cards { grid-template-columns: repeat(2, 1fr); gap: var(--vr-space-2); }
}
@media (min-width: 768px) {
  .vr-dp-floor-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .vr-dp-floor-cards { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1280px) {
  .vr-dp-floor-cards { grid-template-columns: repeat(6, 1fr); }
}
.vr-dp-floor-card {
  border-radius: var(--vr-radius-lg);
  border: 2px solid rgba(28,107,63,0.12);
  background: var(--vr-surface-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.vr-dp-floor-card:hover {
  border-color: var(--vr-green-400);
  transform: translateY(-2px);
  box-shadow: var(--vr-shadow-md);
}
.vr-dp-floor-card--active {
  border-color: var(--vr-green-600);
  box-shadow: 0 0 0 3px rgba(28,107,63,0.15), var(--vr-shadow-md);
}
.vr-dp-floor-card--soldout { opacity: 0.5; cursor: default; }
.vr-dp-floor-card--soldout:hover { transform: none; border-color: rgba(28,107,63,0.12); box-shadow: none; }
.vr-dp-floor-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(28,107,63,0.05);
  overflow: hidden;
}
.vr-dp-floor-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.vr-dp-floor-card:hover .vr-dp-floor-card-thumb img { transform: scale(1.04); }
.vr-dp-floor-card-no-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--vr-space-1);
  width: 100%;
  height: 100%;
  color: var(--vr-text-muted);
}
.vr-dp-floor-card-no-plan i { font-size: 22px; color: rgba(28,107,63,0.25); }
.vr-dp-floor-card-no-plan span { font-size: 10px; }
.vr-dp-floor-card-zoom {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  border-radius: var(--vr-radius-md);
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
  font-size: 13px;
  line-height: 1;
}
.vr-dp-floor-card:hover .vr-dp-floor-card-zoom { opacity: 1; }
.vr-dp-floor-card-active-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,107,63,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vr-dp-floor-card-active-overlay i { font-size: 32px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35)); }
.vr-dp-floor-card-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  display: flex;
  overflow: hidden;
}
.vr-dp-floor-card-bar-seg { height: 100%; }
.vr-dp-floor-card-bar-seg--avail { background: var(--vr-green-500); }
.vr-dp-floor-card-bar-seg--reserved { background: #f59e0b; }
.vr-dp-floor-card-bar-seg--sold { background: #ef4444; }
.vr-dp-floor-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--vr-space-2);
  gap: var(--vr-space-1);
  border-top: 1px solid rgba(28,107,63,0.08);
}
.vr-dp-floor-card-num {
  font-size: var(--vr-text-xs);
  font-weight: 700;
  color: var(--vr-text-heading);
  white-space: nowrap;
}
.vr-dp-floor-card--active .vr-dp-floor-card-num { color: var(--vr-green-700); }
.vr-dp-floor-card-avail {
  font-size: 10px;
  font-weight: 600;
  color: var(--vr-green-600);
  background: rgba(28,107,63,0.08);
  padding: 2px 5px;
  border-radius: var(--vr-radius-full);
  white-space: nowrap;
}
.vr-dp-floor-card-sold-badge {
  font-size: 10px;
  font-weight: 600;
  color: #ef4444;
  background: rgba(239,68,68,0.1);
  padding: 2px 5px;
  border-radius: var(--vr-radius-full);
  white-space: nowrap;
}

/* ── VERIFICATION GATE MODAL ──────────────────────────────── */
.vr-dp-verify-gate {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: var(--vr-space-4);
  animation: vrFadeIn 0.2s ease;
}
.vr-dp-verify-gate-card {
  background: var(--vr-surface-card);
  border-radius: var(--vr-radius-xl);
  border: 1px solid rgba(28,107,63,0.12);
  box-shadow: var(--vr-shadow-2xl);
  padding: var(--vr-space-8) var(--vr-space-6);
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.vr-dp-verify-gate-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(28,107,63,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--vr-space-4);
}
.vr-dp-verify-gate-icon i {
  font-size: 32px;
  color: var(--vr-green-500);
}
.vr-dp-verify-gate-title {
  font-family: var(--vr-font-heading);
  font-size: var(--vr-text-xl);
  font-weight: 700;
  color: var(--vr-text-heading);
  margin-bottom: var(--vr-space-3);
}
.vr-dp-verify-gate-msg {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  line-height: 1.6;
  margin-bottom: var(--vr-space-6);
}
.vr-dp-verify-gate-actions {
  display: flex;
  flex-direction: column;
  gap: var(--vr-space-2);
}
.vr-dp-vg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--vr-radius-md);
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  width: 100%;
}
.vr-dp-vg-btn--primary {
  background: var(--vr-green-600);
  color: #fff;
}
.vr-dp-vg-btn--primary:hover { background: var(--vr-green-500); }
.vr-dp-vg-btn--ghost {
  background: transparent;
  color: var(--vr-text-muted);
  border: 1px solid rgba(28,107,63,0.15);
}
.vr-dp-vg-btn--ghost:hover { background: rgba(28,107,63,0.05); }
