/* ============================================================
   Property Detail Page — Premium UI
   ============================================================ */

/* ── Breadcrumb ── */
.pd-breadcrumb {
  background: #f8f6f2;
  border-bottom: 1px solid #eeebe4;
  padding: 11px 0;
  font-size: 0.78rem;
  color: #888;
  margin-top: 68px;
}
.pd-breadcrumb a { color: var(--maroon); text-decoration: none; }
.pd-breadcrumb a:hover { text-decoration: underline; }
.bc-sep { margin: 0 6px; color: #ccc; }

/* ── Page Wrapper ── */
.pd-wrapper { padding: 28px 0 70px; background: #f5f3ef; }

/* ══════════════════════════════════════
   TITLE ROW
══════════════════════════════════════ */
.pd-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pd-h1 {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.25;
  margin-bottom: 8px;
}
.pd-sub-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #555;
  margin-bottom: 10px;
}
.pd-by strong { color: var(--maroon); font-weight: 600; }
.pd-loc-dot { color: #ccc; }
.pd-loc-icon { width: 14px; height: 14px; color: var(--maroon); flex-shrink: 0; }
.pd-badges-row { display: flex; gap: 7px; flex-wrap: wrap; }
.pd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.01em;
}
.pd-badge svg { width: 11px; height: 11px; flex-shrink: 0; }
.pd-badge-rera,
.pd-badge-trend,
.pd-badge-new,
.pd-badge-excl,
.pd-badge-offer { background: var(--cream); color: var(--maroon); border: 1px solid rgba(201,169,110,0.5); }
.pd-badge svg   { stroke: var(--maroon); }

.pd-title-right  { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.pd-price-block  { text-align: right; }
.pd-price-main   { font-size: 1.75rem; font-weight: 800; color: var(--maroon); line-height: 1.1; }
.pd-price-onwards{ font-size: 0.78rem; color: #888; text-align: right; margin-top: 1px; }
.pd-price-sub    { font-size: 0.78rem; color: #888; margin-top: 2px; }
.pd-action-btns  { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.pd-btn-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #666;
  transition: all 0.2s;
  flex-shrink: 0;
}
.pd-btn-icon:hover, .pd-btn-icon.active { border-color: var(--maroon); color: var(--maroon); }
.pd-btn-icon.active svg { fill: var(--maroon); }
.pd-btn-icon svg { width: 16px; height: 16px; }

.pd-btn-brochure {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border: 1.5px solid #d0c8be;
  border-radius: 8px;
  background: #fff;
  color: #444;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
}
.pd-btn-brochure:hover { border-color: var(--maroon); color: var(--maroon); }
.pd-btn-brochure svg { width: 15px; height: 15px; }

.pd-btn-contact {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #5a1520, var(--maroon));
  color: var(--gold);
  font-size: 0.82rem; font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(45,10,15,0.25);
}
.pd-btn-contact:hover { opacity: 0.9; box-shadow: 0 4px 16px rgba(45,10,15,0.35); }
.pd-btn-contact svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════
   GALLERY — 2×2 right grid layout
══════════════════════════════════════ */
.pd-gallery {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 6px;
  height: 440px;
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
}
/* No right-side media → main image fills full width */
.pd-gallery.solo { grid-template-columns: 1fr; }
.pd-gallery-main {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.pd-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.pd-gallery-main:hover img { transform: scale(1.03); }

/* Shortlist / Share buttons overlaid on main image */
.pd-gal-action-tr {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
}
.pd-gal-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.9);
  border: none; border-radius: 8px;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  color: #333; cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.pd-gal-btn:hover { background: #fff; }
.pd-gal-btn.active svg { fill: #e74c3c; stroke: #e74c3c; }

/* Photos-count button — desktop uses the grid badge, so hidden here */
.pd-gal-photos-btn {
  display: none;
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 2;
  align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none; border-radius: 8px;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

/* Right grid — adapts to how many media tiles exist (1–4) */
.pd-gallery-grid {
  display: grid;
  gap: 6px;
}
.pd-gallery-grid.g1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.pd-gallery-grid.g2 { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.pd-gallery-grid.g3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pd-gallery-grid.g3 .pd-gthumb:first-child { grid-column: 1 / span 2; }
.pd-gallery-grid.g4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pd-gthumb {
  position: relative;
  overflow: hidden;
  background: #f0ece4;
}
.pd-gthumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
/* When only 1–2 tiles exist they become tall → show full image (avoid heavy crop) */
.pd-gallery-grid.g1 .pd-gthumb img,
.pd-gallery-grid.g2 .pd-gthumb img { object-fit: contain; background: #f4f0e8; }
.pd-gthumb-video img { object-fit: cover; background: #000; }
.pd-gthumb.pd-gthumb-click { cursor: pointer; }
.pd-gthumb.pd-gthumb-click:hover img { transform: scale(1.06); }
.pd-gthumb.pd-gthumb-muted { cursor: default; }
.pd-gthumb.pd-gthumb-tr { border-radius: 0 14px 0 0; }
.pd-gthumb.pd-gthumb-br { border-radius: 0 0 14px 0; }

/* +N Photos dark overlay */
.pd-gthumb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.48);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #fff; font-size: 0.82rem; font-weight: 700;
}

/* Label bar at bottom of thumb */
.pd-gthumb-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.58);
  color: #fff; font-size: 0.73rem; font-weight: 600;
  padding: 7px 12px;
  backdrop-filter: blur(4px);
}
.pd-gthumb-bar-v {
  background: rgba(45,10,15,0.78);
  display: flex; align-items: center; gap: 5px;
}

/* Play icon centred on video thumb */
.pd-gthumb-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* Empty state when no floor plan / video */
.pd-gthumb-noimg {
  height: calc(100% - 36px);
  display: flex; align-items: center; justify-content: center;
  color: #ccc;
}

/* ══════════════════════════════════════
   PROJECT JOURNEY TIMELINE
══════════════════════════════════════ */
.pd-journey {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #ede8de;
  padding: 22px 24px 26px;
  margin-bottom: 18px;
  overflow: visible; /* never clip the dot glow shadows */
}
.pd-journey-title {
  text-align: center;
  font-family: var(--font-serif);
  color: var(--maroon);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.pd-journey-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* padding-top prevents the glow shadow on dots from being clipped */
  padding-top: 12px;
  padding-bottom: 6px;
  margin-top: -12px; /* cancel extra space visually */
}
.pd-journey-scroll::-webkit-scrollbar { display: none; }
.pd-journey-track {
  display: flex;
  position: relative;
  min-width: 780px;
  padding: 0 24px;
}
/* Grey rail behind everything */
.pd-journey-bg-line {
  position: absolute;
  top: 19px;
  left: 24px; right: 24px;
  height: 3px;
  background: #ddd6c8;
  border-radius: 3px;
}
/* Animated coloured fill */
.pd-journey-fill-line {
  position: absolute;
  top: 19px;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon) 0%, var(--gold) 100%);
  border-radius: 3px;
  width: 0;
  display: none;
  z-index: 1;
  transition: width 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Individual step node */
.pd-journey-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
/* The circle */
.pd-journey-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #c5bdb1;
  box-shadow: 0 0 0 2.5px #c5bdb1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* start hidden — pop in via JS */
  transform: scale(0.4);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease,
    background 0.3s,
    box-shadow 0.3s;
}
.jn-done .pd-journey-dot {
  background: var(--maroon);
  box-shadow: 0 0 0 2.5px var(--maroon);
}
.jn-active .pd-journey-dot {
  background: var(--gold);
  box-shadow: 0 0 0 2.5px var(--gold), 0 0 0 7px rgba(201,169,110,0.2);
}
/* Trigger pop-in */
.jn-anim .pd-journey-dot {
  transform: scale(1);
  opacity: 1;
}
/* Label under each dot */
.pd-journey-label {
  margin-top: 10px;
  font-size: 0.64rem;
  color: #aaa;
  text-align: center;
  line-height: 1.45;
  max-width: 74px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.4s ease 0.18s, transform 0.4s ease 0.18s;
}
.jn-done   .pd-journey-label { color: var(--maroon); font-weight: 600; }
.jn-active .pd-journey-label { color: #8a6010; font-weight: 700; }
.jn-anim   .pd-journey-label { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.pd-stats-bar {
  display: flex;
  background: #fff;
  border: 1px solid #e8e4dd;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.pd-stat-item {
  flex: 1;
  padding: 14px 12px;
  text-align: center;
  border-right: 1px solid #f0ece5;
}
.pd-stat-item:last-child { border-right: none; }
.pd-stat-label { font-size: 0.67rem; color: #aaa; letter-spacing: .4px; margin-bottom: 5px; }
.pd-stat-value { font-size: 0.88rem; font-weight: 700; color: #1a1a1a; }

/* ══════════════════════════════════════
   STICKY TABS
══════════════════════════════════════ */
.pd-tabs-wrap {
  background: #fff;
  border: 1px solid #e8e4dd;
  border-radius: 12px;
  margin-bottom: 22px;
  /* overflow: hidden is intentionally removed — it blocks position:sticky */
  position: sticky;
  top: 68px;
  z-index: 90;
  transition: box-shadow 0.2s, border-radius 0.15s;
}
/* JS adds this class when tabs are pinned — visual-only changes */
.pd-tabs-wrap.sticky {
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: 0 3px 16px rgba(0,0,0,0.1);
}
.pd-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab {
  padding: 15px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #666;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.pd-tab:hover  { color: var(--maroon); }
.pd-tab.active { color: var(--maroon); border-bottom-color: var(--maroon); background: rgba(45,10,15,0.02); }

/* ══════════════════════════════════════
   CONTENT LAYOUT
══════════════════════════════════════ */
.pd-content-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;      /* required for position:sticky in grid to work */
}

/* ══════════════════════════════════════
   SECTION BASE
══════════════════════════════════════ */
.pd-section {
  background: #fff;
  border: 1px solid #e8e4dd;
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 18px;
  scroll-margin-top: 130px;
}
.pd-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0ece5;
}

/* ══════════════════════════════════════
   OVERVIEW
══════════════════════════════════════ */
.pd-meta-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.pd-meta-item {
  background: #f8f6f2;
  border-radius: 10px;
  padding: 12px 14px;
}
.pd-meta-label { font-size: 0.7rem; color: #999; display: block; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .4px; }
.pd-meta-val   { font-size: 0.88rem; font-weight: 600; color: var(--maroon); }
.pd-desc-wrap  { position: relative; }
.pd-desc-text  { font-size: 0.88rem; line-height: 1.85; color: #444; overflow: hidden; transition: max-height 0.3s; }
.pd-read-more  {
  color: var(--maroon); font-size: 0.82rem; font-weight: 600;
  margin-top: 8px; cursor: pointer; background: none; border: none; padding: 0;
  display: block;
}

/* ══════════════════════════════════════
   CONFIGURATIONS
══════════════════════════════════════ */
.pd-config-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pd-config-tab {
  padding: 8px 20px;
  border: 1.5px solid #ddd;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}
.pd-config-tab.active {
  background: var(--maroon);
  color: var(--gold);
  border-color: var(--maroon);
}
.pd-config-panel { display: none; }
.pd-config-panel.active { display: block; }
.pd-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.pd-config-details { display: flex; flex-direction: column; gap: 0; }
.pd-config-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f3f0ea;
  font-size: 0.85rem;
}
.pd-config-row span  { color: #888; }
.pd-config-row strong { color: #222; font-weight: 600; }
.pd-config-price { color: var(--maroon) !important; font-size: 1rem !important; }
.pd-avail { padding: 3px 10px; border-radius: 12px; font-size: 0.75rem; }
.avail-yes  { background: #f0fdf4; color: #166534; }
.avail-no   { background: #fef2f2; color: #991b1b; }
.avail-few  { background: #fff7ed; color: #c2410c; }
.avail-uc   { background: #eff6ff; color: #1d4ed8; }
.pd-config-plan { text-align: center; }
.pd-config-plan img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #eee;
  cursor: pointer;
  transition: transform 0.2s;
}
.pd-config-plan img:hover { transform: scale(1.02); }
.pd-plan-hint { font-size: 0.7rem; color: #aaa; margin-top: 5px; }

/* ══════════════════════════════════════
   AMENITIES
══════════════════════════════════════ */
.pd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.pd-amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 10px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ede9e3;
  gap: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: default;
}
.pd-amenity-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(68,12,18,0.12);
}
/* Themed icon — gold-tinted circle, maroon icon */
.pd-amenity-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.20), rgba(68,12,18,0.06));
  color: var(--maroon);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.pd-amenity-icon svg { width: 30px; height: 30px; }
/* Springy hover — fills maroon, icon turns gold, lifts + tilts */
.pd-amenity-item:hover .pd-amenity-icon {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
  color: var(--gold);
  transform: translateY(-4px) scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 22px rgba(68,12,18,0.30);
}
.pd-amenity-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.3;
  transition: color 0.25s;
}
.pd-amenity-item:hover .pd-amenity-name { color: var(--maroon); }

/* Staggered entrance when scrolled into view */
.pd-amenities-grid.in .pd-amenity-item { animation: amenityIn 0.5s cubic-bezier(0.4,0,0.2,1) both; }
@keyframes amenityIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.pd-amenities-grid.in .pd-amenity-item:nth-child(1)  { animation-delay: 0.04s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(2)  { animation-delay: 0.08s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(3)  { animation-delay: 0.12s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(4)  { animation-delay: 0.16s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(5)  { animation-delay: 0.20s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(6)  { animation-delay: 0.24s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(7)  { animation-delay: 0.28s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(8)  { animation-delay: 0.32s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(9)  { animation-delay: 0.36s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(10) { animation-delay: 0.40s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(11) { animation-delay: 0.44s; }
.pd-amenities-grid.in .pd-amenity-item:nth-child(12) { animation-delay: 0.48s; }

/* ══════════════════════════════════════
   EMI CALCULATOR
══════════════════════════════════════ */
.emi-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.emi-field { margin-bottom: 18px; }
.emi-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.emi-label-row label { font-size: 0.8rem; font-weight: 600; color: #555; }
.emi-live-val { font-size: 0.8rem; font-weight: 700; color: var(--maroon); }
.emi-num-input {
  width: 130px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon);
  border: 1.5px solid #e0d8cf;
  border-radius: 7px;
  padding: 5px 9px;
  background: #fff;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.18s;
}
.emi-num-input:focus { border-color: var(--maroon); }
/* hide spin arrows for a cleaner look */
.emi-num-input::-webkit-outer-spin-button,
.emi-num-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.emi-num-input { -moz-appearance: textfield; }
.emi-field input[type="range"] {
  width: 100%;
  accent-color: var(--maroon);
  cursor: pointer;
  height: 4px;
}
.emi-range-ends { display: flex; justify-content: space-between; font-size: 0.68rem; color: #aaa; margin-top: 3px; }
.emi-result {
  background: linear-gradient(135deg, var(--maroon) 0%, #6B1520 100%);
  border-radius: 14px;
  padding: 24px;
  color: #fff;
  text-align: center;
}
.emi-emi-label { font-size: 0.75rem; opacity: .7; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.emi-emi-val   { font-size: 1.8rem; font-weight: 800; color: var(--gold); margin-bottom: 14px; }
.emi-chart-wrap { width: 150px; height: 150px; margin: 0 auto 16px; }
.emi-breakdown { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.emi-br-item   { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.emi-br-item span { opacity: .7; flex: 1; }
.emi-br-item strong { color: var(--gold); font-weight: 600; }
.emi-br-dot    { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.emi-br-total  { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 10px; font-weight: 700; }
.emi-br-total strong { color: #fff; font-size: 0.95rem; }

/* ══════════════════════════════════════
   BANK OFFERS
══════════════════════════════════════ */
.pd-banks-grid { display: flex; flex-direction: column; gap: 12px; }
.pd-bank-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #eee;
  border-radius: 12px;
  transition: all 0.2s;
}
.pd-bank-card:hover { border-color: var(--gold); box-shadow: 0 2px 10px rgba(45,10,15,0.06); }
.pd-bank-logo { width: 50px; height: 50px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.pd-bank-initial {
  width: 50px; height: 50px;
  background: var(--maroon); color: var(--gold);
  font-size: 1.1rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; flex-shrink: 0;
}
.pd-bank-info { flex: 1; }
.pd-bank-name { font-size: 0.92rem; font-weight: 700; color: #222; }
.pd-bank-rate { font-size: 1.1rem; font-weight: 800; color: var(--maroon); }
.pd-bank-fee  { font-size: 0.76rem; color: #888; margin-top: 2px; }
.pd-bank-desc { font-size: 0.76rem; color: #555; margin-top: 4px; }

/* ══════════════════════════════════════
   DEVELOPER
══════════════════════════════════════ */
.pd-developer-wrap { display: flex; gap: 20px; align-items: flex-start; }
.pd-dev-logo {
  width: 80px; height: 80px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 12px;
  flex-shrink: 0;
  padding: 6px;
}
.pd-dev-initial {
  width: 80px; height: 80px;
  background: var(--maroon); color: var(--gold);
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; flex-shrink: 0;
  text-transform: uppercase;
}
.pd-dev-info { flex: 1; }
.pd-dev-name { font-size: 1.1rem; font-weight: 700; color: var(--maroon); margin-bottom: 6px; }
.pd-dev-bio  { font-size: 0.84rem; line-height: 1.7; color: #555; margin-bottom: 12px; }
.pd-dev-stats { display: flex; gap: 20px; margin-bottom: 14px; }
.pd-dev-stat { text-align: center; }
.pd-dev-stat strong { font-size: 1.2rem; font-weight: 800; color: var(--maroon); display: block; }
.pd-dev-stat span { font-size: 0.72rem; color: #888; }
.pd-dev-link-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--maroon), #6B1520);
  color: #fff; font-size: .8rem; font-weight: 700;
  border-radius: 8px; text-decoration: none;
  transition: opacity .2s; margin-top: 4px;
}
.pd-dev-link-btn:hover { opacity: .88; }

/* ══════════════════════════════════════
   NEARBY
══════════════════════════════════════ */
.pd-nearby-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.pd-nearby-tab {
  padding: 7px 14px;
  border: 1.5px solid #e0dbd3;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}
.pd-nearby-tab.active { background: var(--maroon); color: var(--gold); border-color: var(--maroon); }
.pd-nearby-list { display: none; flex-direction: column; gap: 10px; }
.pd-nearby-list.active { display: flex; }
.pd-nearby-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f8f6f2;
  border-radius: 10px;
}
.pd-nearby-icon { font-size: 1.2rem; flex-shrink: 0; }
.pd-nearby-name { font-size: 0.85rem; font-weight: 600; color: #222; flex: 1; }
.pd-nearby-meta { display: flex; gap: 12px; }
.pd-nearby-meta span { font-size: 0.75rem; color: #888; }

/* ══════════════════════════════════════
   VIDEO
══════════════════════════════════════ */
.pd-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.pd-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ══════════════════════════════════════
   SIMILAR PROJECTS — Horizontal Scroll
══════════════════════════════════════ */
.pd-similar-scroll-wrap {
  position: relative;
}
.pd-similar-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.pd-similar-grid::-webkit-scrollbar { display: none; }

.pd-similar-card {
  flex: 0 0 calc(50% - 7px);
  min-width: 0;
  border: 1px solid #e8e4dd;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
  scroll-snap-align: start;
  background: #fff;
}
.pd-similar-card:hover { border-color: var(--maroon); box-shadow: 0 4px 16px rgba(45,10,15,0.1); transform: translateY(-2px); }
.pd-sim-img { height: 160px; overflow: hidden; position: relative; }
.pd-sim-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pd-similar-card:hover .pd-sim-img img { transform: scale(1.06); }
.pd-sim-rera { position: absolute; bottom: 6px; left: 6px; background: #166534; color: #fff; font-size: 0.65rem; padding: 2px 7px; border-radius: 4px; font-weight: 600; }
.pd-sim-new  { position: absolute; top: 8px; right: 8px; background: #1d4ed8; color: #fff; font-size: 0.65rem; padding: 2px 7px; border-radius: 4px; font-weight: 600; }
.pd-sim-body { padding: 12px; }
.pd-sim-name  { font-size: 0.88rem; font-weight: 700; color: #222; margin-bottom: 4px; line-height: 1.3; }
.pd-sim-loc   { display: flex; align-items: center; gap: 3px; font-size: 0.75rem; color: #888; margin-bottom: 4px; }
.pd-sim-loc svg { width: 12px; height: 12px; flex-shrink: 0; }
.pd-sim-price { font-size: 0.95rem; font-weight: 700; color: var(--maroon); margin-bottom: 4px; }
.pd-sim-specs { display: flex; gap: 6px; flex-wrap: wrap; }
.pd-sim-specs span { font-size: 0.68rem; background: #f8f6f2; color: #555; padding: 2px 8px; border-radius: 10px; }

/* Scroll arrows */
.pd-sim-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  background: #fff;
  border: 1.5px solid #e0dbd3;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--maroon);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
  line-height: 1;
}
.pd-sim-arrow:hover { background: var(--maroon); color: var(--gold); border-color: var(--maroon); }
.pd-sim-arrow-left  { left: -14px; }
.pd-sim-arrow-right { right: -14px; }

/* ══════════════════════════════════════
   FAQS
══════════════════════════════════════ */
.pd-faq-list { display: flex; flex-direction: column; gap: 0; }
.pd-faq-item {
  border-bottom: 1px solid #f0ece5;
}
.pd-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.2s;
}
.pd-faq-q:hover { color: var(--maroon); }
.pd-faq-item.open .pd-faq-q { color: var(--maroon); }
.pd-faq-arrow {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--maroon);
}
.pd-faq-item.open .pd-faq-arrow { transform: rotate(180deg); }
.pd-faq-a {
  display: none;
  padding: 0 0 16px;
  font-size: 0.84rem;
  line-height: 1.8;
  color: #555;
}
.pd-faq-item.open .pd-faq-a { display: block; }

/* ══════════════════════════════════════
   DOCUMENTS
══════════════════════════════════════ */
.pd-docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #e8e4dd;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.pd-doc-card:hover { border-color: var(--maroon); background: #fdf9f5; }
.pd-doc-icon { font-size: 1.8rem; flex-shrink: 0; }
.pd-doc-info { flex: 1; }
.pd-doc-type { font-size: 0.68rem; color: #999; text-transform: uppercase; letter-spacing: .4px; }
.pd-doc-name { font-size: 0.85rem; font-weight: 600; color: #333; }
.pd-doc-dl   { font-size: 1.2rem; color: var(--maroon); font-weight: 700; }

/* ══════════════════════════════════════
   LOCATION
══════════════════════════════════════ */
.pd-map-wrap { border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.pd-map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.pd-address-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: #555;
  padding: 12px 14px;
  background: #f8f6f2;
  border-radius: 10px;
}
.pd-address-line svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--maroon); margin-top: 1px; }

/* ══════════════════════════════════════
   LOCATION + NEARBY (combined)
══════════════════════════════════════ */
.pd-locnear {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
}
.pd-locnear.is-both { grid-template-columns: 1.15fr 1fr; }
.pd-locnear.is-map,
.pd-locnear.is-near { grid-template-columns: 1fr; }

/* Map side */
.pd-locnear-map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #eceae5;
  min-height: 300px;
}
.pd-locnear-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}
.pd-locnear-mapbtn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  background: rgba(20,16,18,0.9);
  color: #fff;
  font-size: 0.85rem; font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
  transition: background 0.2s, transform 0.15s;
  z-index: 2;
}
.pd-locnear-mapbtn:hover { background: var(--maroon); transform: translate(-50%, -50%) scale(1.04); }
.pd-locnear-mapbtn svg { width: 16px; height: 16px; }

/* Nearby places side */
.pd-locnear-places {
  background: #f8f6f2;
  border: 1px solid #ece7df;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.pd-locnear-places-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #8a8378;
  margin-bottom: 12px;
}
.pd-locnear-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 320px;
  scrollbar-width: thin;
}
.pd-locnear-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #efeae2;
  border-radius: 12px;
  padding: 11px 14px;
}
.pd-locnear-ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.pd-locnear-info { flex: 1; min-width: 0; }
.pd-locnear-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}
.pd-locnear-cat {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: #777;
  background: #f1eee8;
  padding: 2px 8px;
  border-radius: 5px;
}
.pd-locnear-dist {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SIDEBAR — ENQUIRY FORM
══════════════════════════════════════ */
.pd-sidebar {
  position: sticky;
  /* top must clear BOTH the fixed navbar (70px) AND the full-width sticky
     tabs bar (sticks at 68px, ~51px tall → bottom ≈ 119px), or the sidebar's
     top slides under the tabs bar and gets clipped. */
  top: 128px;
  align-self: start;       /* critical — lets sticky work inside CSS Grid */
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* height budget = viewport − top(128) − bottom breathing room(20) */
  max-height: calc(100vh - 148px);
  overflow-y: auto;
  scrollbar-width: none;
}
.pd-sidebar::-webkit-scrollbar { display: none; }
/* CRITICAL: stop the cards from being squished by the flex column's
   max-height. Without this they shrink and .pd-enquiry-card (overflow:hidden)
   clips its own bottom — the toll-free number disappears. */
.pd-sidebar > * { flex-shrink: 0; }

.pd-enquiry-card {
  background: #fff;
  border: 1px solid #e0dbd3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(45,10,15,0.12);
}
.pd-enq-header {
  background: linear-gradient(135deg, var(--maroon) 0%, #6B1520 100%);
  padding: 13px 22px 11px;
}
.pd-enq-title   { color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 3px; line-height: 1.3; }
.pd-enq-builder { color: rgba(245,240,232,0.6); font-size: 0.75rem; margin-bottom: 6px; }
.pd-enq-price   { color: #fff; font-size: 0.95rem; font-weight: 700; }

.pd-enq-form { padding: 12px 22px; display: flex; flex-direction: column; gap: 7px; }
.pd-enq-input {
  width: 100%;
  padding: 9px 16px;
  border: 1.5px solid #e8e4dd;
  border-radius: 10px;
  font-size: 0.84rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #333;
  outline: none;
  background: #fdfcfa;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.pd-enq-input:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(45,10,15,0.08); background: #fff; }
.pd-enq-btn-primary {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #5a1520, var(--maroon));
  color: var(--gold);
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.pd-enq-btn-primary:hover { box-shadow: 0 4px 20px rgba(45,10,15,0.3); opacity: .92; }
.pd-enq-btn-primary svg { width: 16px; height: 16px; }

.pd-enq-divider { height: 1px; background: #f0ece5; margin: 0 22px; }

.pd-enq-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 9px 22px;
  padding: 10px;
  background: #dcfce7;
  color: #166534;
  border: 1.5px solid #bbf7d0;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.pd-enq-btn-wa:hover { background: #bbf7d0; }
.pd-enq-btn-wa svg { width: 18px; height: 18px; }

.pd-enq-call {
  padding: 9px 22px 12px;
  border-top: 1px solid #f0ece5;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  line-height: 1.6;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.pd-enq-call svg { width: 14px; height: 14px; color: var(--maroon); }
.pd-enq-call a { color: var(--maroon); font-size: 1.05rem; font-weight: 700; text-decoration: none; display: block; }

.pd-enq-success {
  padding: 30px 22px;
  text-align: center;
  background: #f0fdf4;
  color: #166534;
}
.pd-enq-success-icon { font-size: 2rem; margin-bottom: 8px; }
.pd-enq-success strong { font-size: 1rem; display: block; margin-bottom: 4px; }
.pd-enq-success { font-size: 0.84rem; color: #555; }

/* ── Trust Card ── */
.pd-trust-card {
  background: #fff;
  border: 1px solid #e0dbd3;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #444;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.pd-trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pd-trust-icon svg { width: 18px; height: 18px; }
.pd-trust-green  { background: #f0fdf4; }
.pd-trust-green svg { stroke: #16a34a; }
.pd-trust-maroon { background: #fdf5f0; }
.pd-trust-maroon svg { stroke: var(--maroon); }
.pd-trust-gold   { background: var(--cream); }
.pd-trust-gold svg { stroke: #a0742a; }

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.pd-lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.pd-lightbox[style*="flex"] { display: flex; }
.pd-lightbox img { max-width: 88vw; max-height: 88vh; border-radius: 8px; object-fit: contain; }
.pd-lb-close {
  position: absolute; top: 20px; right: 24px;
  color: #fff; font-size: 1.8rem; cursor: pointer;
  background: none; border: none; line-height: 1;
}
.pd-lb-prev, .pd-lb-next {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none; color: #fff;
  font-size: 2rem; cursor: pointer;
  padding: 10px 16px; border-radius: 8px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.pd-lb-prev { left: 20px; }
.pd-lb-next { right: 20px; }
.pd-lb-prev:hover, .pd-lb-next:hover { background: rgba(255,255,255,0.25); }

/* ── Zoomable image modal (floor plans) ── */
.pd-zoom-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#pd-modal-img {
  max-width: 92vw; max-height: 84vh;
  border-radius: 8px;
  transform-origin: center center;
  transition: transform 0.08s linear;
  user-select: none; -webkit-user-drag: none;
  touch-action: none;
  cursor: zoom-in;
}
.pd-zoom-controls {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 6;
}
.pd-zoom-controls button {
  min-width: 44px; height: 44px; padding: 0 14px;
  border-radius: 22px; border: none;
  background: rgba(255,255,255,0.92); color: var(--maroon);
  font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.pd-zoom-controls button:hover { background: #fff; }
.pd-zoom-hint {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.72rem; z-index: 6;
  white-space: nowrap; pointer-events: none;
}
@media (max-width: 600px) {
  .pd-zoom-hint { font-size: 0.66rem; }
  .pd-zoom-controls button { min-width: 40px; height: 40px; }
}

/* ══════════════════════════════════════
   MOBILE STICKY BOTTOM CTA BAR
   (hidden on desktop — shows on mobile only)
══════════════════════════════════════ */
.pd-mobile-cta {
  display: none;
}
@media (max-width: 1100px) {
  .pd-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 500;
    background: #fff;
    border-top: 1px solid #e8e4dd;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(45,10,15,0.12);
  }
  /* Both buttons identical size */
  .pd-mobile-cta-wa,
  .pd-mobile-cta-enquire {
    flex: 1 1 0;
    min-width: 0;
    display: flex; align-items: center; justify-content: center;
    gap: 7px;
    padding: 13px 10px;
    border: none;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
  }
  .pd-mobile-cta-wa {
    background: #25D366;
    color: #fff;
  }
  .pd-mobile-cta-enquire {
    background: linear-gradient(135deg, #6B1520, var(--maroon));
    color: var(--gold);
  }
  .pd-mobile-cta-wa svg,
  .pd-mobile-cta-enquire svg { width: 17px; height: 17px; flex-shrink: 0; }
  /* Push page content up so it's not hidden behind the bar */
  .pd-wrapper { padding-bottom: 84px; }
  /* This page has its own property-specific bar — hide the generic global one */
  .global-cta { display: none !important; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .pd-content-wrap { grid-template-columns: 1fr; }
  .pd-sidebar { position: relative; top: 0; }
  .pd-gallery { height: 340px; grid-template-columns: 1.4fr 1fr; }
  .emi-wrap { grid-template-columns: 1fr; }
  .pd-amenities-grid { grid-template-columns: repeat(5,1fr); }
  .pd-config-grid { grid-template-columns: 1fr; }
}

/* ══ MOBILE ══════════════════════════════
   All changes below are mobile-only.
   Desktop layout above is untouched.
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Title area ── */
  .pd-breadcrumb { font-size: 0.72rem; margin-top: 58px; padding: 8px 0 4px; }
  .pd-wrapper { padding-top: 2px; }            /* kill the big gap below breadcrumb */
  .pd-title-row { flex-direction: column; gap: 12px; padding: 4px 0 6px; }
  .pd-title-left { width: 100%; }
  .pd-h1 { font-size: 1.35rem; line-height: 1.25; }
  .pd-sub-row { font-size: 0.8rem; margin-top: 6px; }
  .pd-badges-row { gap: 6px; margin-top: 10px; }
  .pd-badge { font-size: 0.68rem; padding: 4px 9px; }

  /* Price stacked above a clean button row */
  .pd-title-right { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .pd-price-block { text-align: left; }
  .pd-price-main { font-size: 1.5rem; }
  .pd-price-onwards { font-size: 0.72rem; }
  .pd-price-sub { font-size: 0.74rem; }

  /* All four in ONE compact row */
  .pd-action-btns { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; justify-content: flex-start; width: 100%; }
  .pd-btn-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .pd-btn-icon svg { width: 16px; height: 16px; }
  .pd-btn-brochure {
    flex: 1 1 auto; min-width: 0; justify-content: center;
    padding: 9px 8px; font-size: 0.76rem; gap: 5px;
  }
  .pd-btn-brochure svg { width: 14px; height: 14px; }
  .pd-btn-contact {
    flex: 1 1 auto; min-width: 0; justify-content: center;
    padding: 9px 8px; font-size: 0.76rem; white-space: nowrap;
  }

  /* ── Gallery ── */
  .pd-gallery { grid-template-columns: 1fr; height: 250px; }
  .pd-gallery-grid { display: none; }
  .pd-gallery-main { border-radius: 12px; }
  .pd-gal-action-tr { top: 10px; right: 10px; }
  .pd-gal-btn { padding: 5px 10px; font-size: 0.72rem; }
  .pd-gal-photos-btn { display: flex; }   /* show "N Photos" to open gallery */

  /* ── Journey timeline → tighter, smooth horizontal swipe ── */
  .pd-journey { padding: 16px 12px 20px; }
  .pd-journey-title { font-size: 0.9rem; margin-bottom: 16px; }
  .pd-journey-track { min-width: 0; padding: 0 12px; }
  .pd-journey-node { flex: 0 0 70px; }       /* fixed width → consistent swipe */
  .pd-journey-dot { width: 32px; height: 32px; }
  .pd-journey-label { font-size: 0.6rem; max-width: 66px; margin-top: 8px; }
  .pd-journey-bg-line, .pd-journey-fill-line { top: 16px; }
  /* Right-edge fade hint that more steps exist */
  .pd-journey-scroll { position: relative; }

  /* ── Stats bar → horizontal scroll ── */
  .pd-stats-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pd-stats-bar::-webkit-scrollbar { display: none; }
  .pd-stat-item { flex: 0 0 140px; min-width: 140px; border-bottom: none; }

  /* ── Tabs → already overflow-x auto, just tighten ── */
  .pd-tab { padding: 11px 14px; font-size: 0.75rem; white-space: nowrap; }

  /* ── Main section padding ── */
  .pd-section { padding: 16px 14px; border-radius: 10px; margin-bottom: 10px; }
  .pd-section-title { font-size: 1.1rem; margin-bottom: 14px; }

  /* ── Overview meta grid → 2 cols, items must be allowed to shrink ── */
  .pd-meta-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd-meta-item { min-width: 0; }
  .pd-meta-val { word-break: break-word; overflow-wrap: anywhere; }

  /* ── Amenities → horizontal scroll ── */
  .pd-amenities-grid {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .pd-amenities-grid::-webkit-scrollbar { display: none; }
  .pd-amenity-item { flex: 0 0 100px; min-width: 100px; }
  .pd-amenity-icon { width: 42px; height: 42px; }

  /* ── Configurations grid ── */
  .pd-config-grid { grid-template-columns: 1fr; }

  /* ── EMI calculator ── */
  .emi-wrap { grid-template-columns: 1fr; }
  .emi-chart-wrap { max-width: 220px; margin: 0 auto; }

  /* ── Bank offers ── */
  .pd-bank-grid { grid-template-columns: 1fr; }

  /* ── Location + Nearby → stack ── */
  .pd-locnear.is-both { grid-template-columns: 1fr; }
  .pd-locnear-map { min-height: 240px; }
  .pd-locnear-map iframe { min-height: 240px; }
  .pd-locnear-list { max-height: 280px; }

  /* ── Similar Projects → already horizontal scroll, keep card width 80vw ── */
  .pd-similar-card { flex: 0 0 78vw; max-width: 300px; }
  /* Hide all scroll arrows on mobile — touch swipe is enough */
  .pd-sim-arrow { display: none !important; }

  /* Clip overflow so negative-positioned arrows don't bleed out */
  .pd-similar-scroll-wrap { overflow: hidden; }
  .pd-similar-grid { overflow-x: auto !important; }

  /* ── Documents ── */
  .pd-docs-grid { grid-template-columns: 1fr; }

  /* ── Map ── */
  .pd-map-wrap iframe { height: 260px; }

  /* ── Enquiry sidebar → shown at bottom of content on mobile ── */
  .pd-content-wrap { grid-template-columns: 1fr; }
  .pd-sidebar { display: block; position: static; top: 0; margin-top: 4px; }

  /* ── Horizontal-overflow guards (stop content getting cut on right) ── */
  .pd-wrapper, .pd-content-wrap, .pd-main-content, .pd-sidebar,
  .pd-section { min-width: 0; max-width: 100%; }
  .pd-wrapper { overflow-x: clip; }
  .pd-section { padding-left: 14px; padding-right: 14px; }
  .pd-desc-text, .pd-section p { overflow-wrap: anywhere; }

  /* ── Lightbox ── */
  .pd-lb-prev { left: 8px; }
  .pd-lb-next { right: 8px; }

  /* ── Timeline mobile ── */
  .pd-tl-step { gap: 10px; }
  .pd-tl-dot  { width: 32px; height: 32px; }
  .pd-tl-label { font-size: .8rem; }
  .pd-tl-sub   { font-size: .68rem; }
  .pd-rera-wrap { flex-direction: column; gap: 14px; }
}

/* ============================================================
   PROJECT STATUS TIMELINE
   ============================================================ */
.pd-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pd-tl-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 4px;
}
.pd-tl-step:last-child .pd-tl-line { display: none; }

.pd-tl-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  transition: all .2s;
}
.pd-tl-step.done    .pd-tl-dot { background: #16a34a; color: #fff; }
.pd-tl-step.done    .pd-tl-dot svg { width: 18px; height: 18px; stroke: #fff; }
.pd-tl-step.current .pd-tl-dot { background: var(--maroon); color: var(--gold); box-shadow: 0 0 0 5px rgba(45,10,15,.12); }
.pd-tl-step.pending .pd-tl-dot { background: #f0ece5; color: #aaa; border: 2px solid #e0dbd3; }

.pd-tl-pulse {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  animation: tlpulse 1.4s ease-in-out infinite;
}
@keyframes tlpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.35); }
}

.pd-tl-line {
  position: absolute;
  left: 19px;
  top: 38px;
  width: 2px;
  height: 32px;
  background: #e8e4dd;
}
.pd-tl-step.done .pd-tl-line { background: #16a34a; }
.pd-tl-step.current .pd-tl-line { background: linear-gradient(to bottom, var(--maroon), #e8e4dd); }

.pd-tl-info { padding: 8px 0 28px; }
.pd-tl-label {
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
}
.pd-tl-step.done    .pd-tl-label { color: #16a34a; }
.pd-tl-step.current .pd-tl-label { color: var(--maroon); }
.pd-tl-step.pending .pd-tl-label { color: #bbb; }
.pd-tl-sub {
  font-size: .74rem;
  margin-top: 3px;
  line-height: 1.5;
}
.pd-tl-step.done    .pd-tl-sub { color: #888; }
.pd-tl-step.current .pd-tl-sub { color: #777; }
.pd-tl-step.pending .pd-tl-sub { color: #ccc; }

/* ============================================================
   RERA VERIFICATION SECTION
   ============================================================ */
.pd-rera-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.pd-rera-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #16a34a;
  font-size: .82rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.pd-rera-badge svg { width: 18px; height: 18px; stroke: #16a34a; }

.pd-rera-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
}
.pd-rera-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .84rem;
  padding: 7px 0;
  border-bottom: 1px solid #f5f0e8;
}
.pd-rera-row:last-child { border-bottom: none; }
.pd-rera-key { color: #888; min-width: 120px; flex-shrink: 0; }
.pd-rera-val { color: #1a1a1a; font-weight: 700; word-break: break-all; }

.pd-rera-actions {
  width: 100%;
  background: #faf8f5;
  border: 1px solid #ede9e3;
  border-radius: 10px;
  padding: 16px 18px;
}
.pd-rera-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--maroon);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s;
  margin-bottom: 10px;
}
.pd-rera-verify-btn:hover { opacity: .88; }
.pd-rera-note {
  font-size: .74rem;
  color: #888;
  line-height: 1.6;
  margin: 0;
}
.pd-rera-note strong { color: var(--maroon); }
