
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --purple: #4a1fa8;
    --purple-light: #6b3fcf;
    --gold: #c9a84c;
    --gold-light: #f0d080;
    --red: #e0341a;
    --bg: #f7f6f2;
    --bg-card: #ffffff;
    --text-dark: #1a1724;
    --text-mid: #4a4560;
    --text-soft: #8880a0;
    --border: #e4e0f0;
    --green: #1a8c5b;
    --radius: 14px;
    --shadow: 0 4px 28px rgba(74,31,168,0.08);
  }

  body {
    font-family: "Rubik", sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
  }

  /* ── Back bar ── */
  .back-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    width: 100%;
    max-width: 1180px;
    margin:16px auto;
  }
  .back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--purple);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: gap 0.2s;
  }
  .back-link:hover { gap: 12px; }
  .back-link svg { width: 18px; height: 18px; }

  .btn-interest {
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 26px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.02em;
  }
  .btn-interest:hover { background: var(--purple-light); transform: translateY(-1px); }

  /* ── property-details-hero ── */
  .property-details-container{
    display: flex;
    justify-content: center;
    align-items: center;
    padding:0px 20px;
  }
  .property-details-hero {
    background: linear-gradient(135deg, var(--purple) 0%, #2a0d6b 100%);
    padding: 38px 40px 42px;
    position: relative;
    max-width: 1180px;
    width:100%;
    margin: 0 auto;
    border-radius: 20px;
  }
  .property-details-hero::after {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
  }
  .property-details-hero-tag {
    display: inline-block;
    background: var(--gold);
    color: #2a1800;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 14px;
  }
  .property-details-hero-price {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.1;
  }
  .property-details-hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    max-width: 620px;
    line-height: 1.6;
  }
 
  .property-details-hero-share {
    position: absolute;
    top: 38px; right: 40px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
  }
  .property-details-hero-share:hover { background: rgba(255,255,255,0.2); }
  .property-details-hero-share svg { color: #fff; width: 18px; height: 18px; }

  /* ── Main grid ── */
  .main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 40px;
    max-width: 1100px;
    margin: 0 auto;
  }

  /* ── Cards ── */
  .card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    animation: fadeUp 0.5s ease both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .card:nth-child(1) { animation-delay: 0.05s; }
  .card:nth-child(2) { animation-delay: 0.12s; }
  .card:nth-child(3) { animation-delay: 0.19s; grid-column: 1 / -1; }
  .card:nth-child(4) { animation-delay: 0.26s; grid-column: 1 / -1; }

  .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
  }
  .card-header svg { width: 15px; height: 15px; color: var(--purple); }

  /* ── Property detail rows ── */
  .detail-rows { padding: 6px 0; }
  .detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
  }
  .detail-row:last-child { border-bottom: none; }
  .detail-row:hover { background: #faf9ff; }
  .detail-label {
    font-size: 13.5px;
    color: var(--purple);
    font-weight: 500;
  }
  .detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
  }
  .detail-value.price { color: var(--purple); font-size: 16px; }
  .detail-value.red   { color: var(--red); font-weight: 700; }
  .detail-value.green-badge {
    background: #e8f7f0;
    color: var(--green);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12.5px;
  }
  .detail-value.no-badge {
    background: #fef2f0;
    color: var(--red);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12.5px;
  }

  /* ── Gallery ── */
  .gallery-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  padding:18px 0 22px;
}
  .gallery-outer {
    position: relative;
    padding: 18px 0 22px;
  }
  .gallery-wrap {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 24px;
    scrollbar-width: none;
  }
  .gallery-wrap::-webkit-scrollbar { display: none; }
  .gallery-slot {
    aspect-ratio: 4/3;
    min-width: 100%;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8e4f6 0%, #d4cef0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 500;
    gap: 6px;
    border: 2px dashed var(--border);
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
  }
  .gallery-slot:hover { border-color: var(--purple-light); background: #ede9fa; }
  .gallery-slot svg { width: 22px; height: 22px; opacity: 0.5; }
  .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(74,31,168,0.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, box-shadow 0.2s;
  }
  .gallery-arrow:hover { background: var(--purple); box-shadow: 0 4px 14px rgba(74,31,168,0.25); }
  .gallery-arrow:hover svg { stroke: #fff; }
  .gallery-arrow svg { width: 16px; height: 16px; stroke: var(--purple); fill: none; }
  .gallery-arrow.prev { left: 6px; }
  .gallery-arrow.next { right: 6px; }

  /* video */
.video-section{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 24px;
}

.video-box{
  width:100%;
  aspect-ratio:4/3;
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--border);
}

.video-box iframe{
  width:100%;
  height:100%;
}

/* fallback */
.video-placeholder{
  width:100%;
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px dashed var(--border);
  border-radius:10px;
  color:var(--text-soft);
  font-size:13px;
  font-weight:500;
}

/* mobile */
@media (max-width:768px){
  .gallery-section{
    grid-template-columns:1fr;
  }
}

  /* ── Roadmap ── */
  .roadmap-wrap {
    padding: 24px 24px 28px;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
  }
  .roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
  }
  .roadmap-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 19px;
    left: 50%;
    right: -50%;
    height: 3px;
    background: var(--border);
    z-index: 0;
  }
  .roadmap-step.done:not(:last-child)::after,
  .roadmap-step.active:not(:last-child)::after { background: var(--purple-light); }

  .step-circle {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--border);
    color: var(--text-soft);
    position: relative;
    z-index: 2;
    transition: background 0.3s, color 0.3s, transform 0.2s;
  }
  .roadmap-step.done .step-circle {
    background: var(--purple);
    color: #fff;
  }
  .roadmap-step.active .step-circle {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(74,31,168,0.15);
    transform: scale(1.12);
  }
  .step-label {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
  }
  .roadmap-step.done .step-label,
  .roadmap-step.active .step-label { color: var(--purple); }

  /* ── Neighbourhood ── */
  .neighbourhood-body { padding: 20px 24px; }
  .no-data {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 13.5px;
    font-style: italic;
    padding: 12px 0;
  }
  .no-data svg { width: 16px; height: 16px; opacity: 0.6; }

  /* ── EMD callout ── */
  .emd-callout {
    margin: 0 40px 24px;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #fff8e8, #fff3d4);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeUp 0.5s 0.3s ease both;
  }
  .emd-icon {
    width: 44px; height: 44px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .emd-icon svg { width: 20px; height: 20px; color: #2a1800; }
  .emd-text strong { display: block; font-size: 14.5px; font-weight: 700; color: #2a1800; }
  .emd-text span { font-size: 13px; color: #7a5e20; }

  /* ── Share dropdown ── */
  .share-wrapper {
    position: absolute;
    top: 38px; right: 40px;
    z-index: 100;
  }
  .property-details-hero-share {
    position: static;
  }
  .share-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 14px 10px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(30,10,80,0.18);
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.95);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .share-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
  }
  .share-item {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    flex-shrink: 0;
  }
  .share-item:hover { transform: scale(1.12); box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
  .share-item svg { width: 20px; height: 20px; }
  .share-item.copy    { background: #5a6472; }
  .share-item.fb      { background: #1877f2; }
  .share-item.email   { background: #f59e0b; }
  .share-item.tg      { background: #229ed9; }
  .share-item.wa      { background: #25d366; }
  .share-item svg { color: #fff; fill: #fff; }

  /* copied tooltip */
  .copied-tip {
    position: absolute;
    right: 54px; top: 50%;
    transform: translateY(-50%);
    background: #1a1724;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .copied-tip.show { opacity: 1; }

  @media (max-width: 768px) {
    .main-grid { grid-template-columns: 1fr; padding: 20px 16px; }
    .card:nth-child(3), .card:nth-child(4) { grid-column: 1; }
    .property-details-hero { padding: 28px 20px 32px; }
    .back-bar { padding: 14px 20px; }
    .emd-callout { margin: 0 16px 20px; }
    .gallery-wrap { grid-template-columns: 1fr 1fr; }
  }






