/* ═══════════════════════════════════════════════════════════════════
   iLAND — Premium Property Detail Panel v2
   Gallery · Sticky Seller · Visit Scheduler · Price Pulse
   Land Facts · Doc Cards · Trust Note · Highlights · Similar
   ═══════════════════════════════════════════════════════════════════ */

/* Container integration for split pane and modal */
.listings-viewport.mode-split .listings-details-panel,
#propertyDetailsPane {
  padding: 0 !important;
  background: #fff !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: 100% !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

#propertyModalContent .pdv2-root {
  border-radius: 20px;
  height: auto;
  max-height: 88vh;
  overflow-y: auto;
}

.pdv2-root {
  --pd-primary: #1240AB;
  --pd-primary2: #1A54CE;
  --pd-primary-light: #EEF4FD;
  --pd-gold: #D9A232;
  --pd-gold-light: #FFF8E7;
  --pd-ink: #0F1C33;
  --pd-muted: #5C6E87;
  --pd-line: #E1E8F2;
  --pd-bg: #F5F8FC;
  --pd-green: #0C7A3E;
  --pd-green-light: #EDFBF3;
  --pd-red: #C0392B;
  --pd-red-light: #FFF0EE;
  --pd-amber: #B07B12;
  --pd-radius: 14px;
  --pd-radius-sm: 9px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--pd-ink);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  background: #fff;
}

/* ═══════════ GALLERY ═══════════ */
.pdv2-gallery { position: relative; background: #0F1C33; overflow: hidden; flex-shrink: 0; touch-action: pan-y; }

.pdv2-gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; height: 260px; cursor: grab; touch-action: pan-y;
}
.pdv2-gallery-track::-webkit-scrollbar { display: none; }
.pdv2-gallery-track:active { cursor: grabbing; }

.pdv2-gallery-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; }
.pdv2-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pdv2-gallery-slide:hover img { transform: scale(1.04); }
.pdv2-gallery-slide::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 110px;
  background: linear-gradient(to top, rgba(10,25,65,.82), transparent); pointer-events: none;
}

.pdv2-video-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(4px);
  transition: background .2s, transform .2s; z-index: 4;
}
.pdv2-video-badge:hover { background: rgba(255,255,255,.32); transform: translate(-50%,-50%) scale(1.08); }

.pdv2-gallery-badges {
  position: absolute; top: 14px; left: 14px; display: flex;
  gap: 8px; align-items: center; z-index: 5; flex-wrap: wrap;
}
.pdv2-gallery-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 5; }

.pdv2-gallery-action-btn {
  background: rgba(10,25,65,.65); border: 1px solid rgba(255,255,255,.25);
  color: #fff; border-radius: 50px; padding: 7px 13px; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 6px; cursor: pointer; backdrop-filter: blur(6px);
  transition: background .2s, transform .15s; text-decoration: none;
}
.pdv2-gallery-action-btn:hover { background: rgba(18,64,171,.85); transform: translateY(-1px); }

.pdv2-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(10,25,65,.55); border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; font-size: 14px; transition: background .2s; backdrop-filter: blur(4px);
}
.pdv2-gallery-arrow:hover { background: rgba(18,64,171,.85); }
.pdv2-gallery-arrow.prev { left: 10px; }
.pdv2-gallery-arrow.next { right: 10px; }

.pdv2-gallery-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5;
}
.pdv2-gallery-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .2s; }
.pdv2-gallery-dot.active { background: #fff; width: 20px; border-radius: 3px; }

.pdv2-photo-count {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(10,25,65,.72); color: #fff; font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px); z-index: 5; display: flex; align-items: center; gap: 5px;
}

.pdv2-thumb-strip {
  display: flex; gap: 6px; padding: 8px 12px; background: #0F1C33;
  overflow-x: auto; scrollbar-width: none; flex-shrink: 0;
}
.pdv2-thumb-strip::-webkit-scrollbar { display: none; }
.pdv2-thumb {
  flex: 0 0 60px; height: 44px; border-radius: 7px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; transition: border-color .2s, transform .2s;
}
.pdv2-thumb:hover, .pdv2-thumb.active { border-color: #D9A232; transform: scale(1.05); }
.pdv2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdv2-thumb-video { background: #1240AB; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }

/* ═══════════ PRICE STRIP ═══════════ */
.pdv2-price-strip { background: #fff; padding: 16px 18px 12px; border-bottom: 1px solid var(--pd-line); flex-shrink: 0; }

.pdv2-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.pdv2-title { font-size: 18px; font-weight: 700; color: var(--pd-ink); line-height: 1.28; letter-spacing: -0.3px; flex: 1; }
.pdv2-actions-cluster { display: flex; gap: 6px; flex-shrink: 0; }

.pdv2-icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--pd-line);
  background: #fff; color: var(--pd-primary); display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; transition: all .2s;
}
.pdv2-icon-btn:hover { background: var(--pd-primary); color: #fff; border-color: var(--pd-primary); transform: scale(1.08); }
.pdv2-icon-btn.active-fav { color: #e74c3c; border-color: #e74c3c; }

.pdv2-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdv2-price-main { font-size: 26px; font-weight: 800; color: var(--pd-primary); letter-spacing: -0.5px; }
.pdv2-price-sub { font-size: 13px; color: var(--pd-muted); font-weight: 500; }
.pdv2-unit-rate {
  display: inline-flex; align-items: center; gap: 5px; background: var(--pd-primary-light);
  color: var(--pd-primary); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.pdv2-per-acre {
  display: inline-flex; align-items: center; gap: 5px; background: var(--pd-gold-light);
  color: var(--pd-amber); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.pdv2-location-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--pd-muted); margin-top: 8px; }
.pdv2-loc-verified { color: var(--pd-green); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* ═══════════ SCROLLABLE BODY ═══════════ */
.pdv2-body { flex: 1 0 auto; padding: 18px 20px 30px; display: flex; flex-direction: column; gap: 22px; }

.pdv2-section-head {
  display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  color: var(--pd-ink); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 12px;
}
.pdv2-section-head i { color: var(--pd-gold); font-size: 14px; }

/* ═══════════ PRICE PULSE ═══════════ */
.pdv2-price-pulse {
  background: linear-gradient(135deg, #EEF4FD 0%, #fff 60%);
  border: 1px solid var(--pd-line); border-left: 4px solid var(--pd-primary);
  border-radius: var(--pd-radius-sm); padding: 16px;
}
.pdv2-pulse-title {
  font-size: 12px; font-weight: 700; color: var(--pd-primary); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 12px; display: flex; align-items: center; gap: 7px;
}
.pdv2-pulse-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.pdv2-pulse-stat { text-align: center; }
.pdv2-pulse-stat-val { font-size: 16px; font-weight: 800; color: var(--pd-ink); display: block; }
.pdv2-pulse-stat-lbl { font-size: 10px; color: var(--pd-muted); font-weight: 500; }
.pdv2-pulse-stat.up .pdv2-pulse-stat-val { color: var(--pd-green); }
.pdv2-pulse-stat.down .pdv2-pulse-stat-val { color: var(--pd-red); }
.pdv2-sparkline-wrap { height: 52px; position: relative; margin-top: 4px; }
.pdv2-sparkline-wrap svg { width: 100%; height: 100%; overflow: visible; }
.pdv2-trend-note { font-size: 11px; color: var(--pd-muted); margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.pdv2-trend-note b { color: var(--pd-green); }

/* ═══════════ LAND FACTS GRID ═══════════ */
.pdv2-land-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pdv2-fact-card {
  background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-sm);
  padding: 12px 10px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 6px; transition: box-shadow .2s, transform .2s;
}
.pdv2-fact-card:hover { box-shadow: 0 4px 14px rgba(18,64,171,.10); transform: translateY(-2px); }
.pdv2-fact-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--pd-primary-light);
  display: flex; align-items: center; justify-content: center; color: var(--pd-primary); font-size: 14px;
}
.pdv2-fact-icon.gold-bg { background: var(--pd-gold-light); color: var(--pd-gold); }
.pdv2-fact-icon.green-bg { background: var(--pd-green-light); color: var(--pd-green); }
.pdv2-fact-label { font-size: 10px; color: var(--pd-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }
.pdv2-fact-value { font-size: 13px; font-weight: 700; color: var(--pd-ink); line-height: 1.2; }

/* ═══════════ VASTU COMPASS ═══════════ */
.pdv2-vastu-row {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--pd-line); border-radius: var(--pd-radius-sm); padding: 14px 16px;
}
.pdv2-vastu-compass { width: 58px; height: 58px; flex-shrink: 0; }
.pdv2-vastu-compass svg { width: 100%; height: 100%; }
.pdv2-vastu-info { flex: 1; }
.pdv2-vastu-score-num { font-size: 22px; font-weight: 800; color: var(--pd-primary); letter-spacing: -1px; }
.pdv2-vastu-score-label { font-size: 10px; color: var(--pd-muted); text-transform: uppercase; letter-spacing: .5px; }
.pdv2-vastu-bar-wrap { height: 6px; background: var(--pd-line); border-radius: 3px; overflow: hidden; margin: 6px 0; }
.pdv2-vastu-bar { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--pd-primary), var(--pd-gold)); transition: width 1s ease; }
.pdv2-vastu-facing { font-size: 12px; font-weight: 600; color: var(--pd-ink); }

/* ═══════════ LAND HIGHLIGHTS ═══════════ */
.pdv2-highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdv2-highlight-pill {
  background: #fff; border: 1px solid var(--pd-line); border-radius: 8px;
  padding: 9px 12px; display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500; color: var(--pd-ink); transition: border-color .2s, background .2s;
}
.pdv2-highlight-pill:hover { border-color: var(--pd-primary); background: var(--pd-primary-light); }
.pdv2-highlight-pill i { color: var(--pd-primary); font-size: 13px; flex-shrink: 0; width: 16px; text-align: center; }
.pdv2-highlight-pill.gold i { color: var(--pd-gold); }
.pdv2-highlight-pill.green i { color: var(--pd-green); }

/* ═══════════ DOC / VERIFICATION CARDS ═══════════ */
.pdv2-doc-cards { display: flex; flex-direction: column; gap: 8px; }
.pdv2-doc-card {
  display: flex; align-items: center; gap: 14px; padding: 13px 14px;
  background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-sm); transition: box-shadow .2s;
}
.pdv2-doc-card:hover { box-shadow: 0 3px 12px rgba(18,64,171,.08); }
.pdv2-doc-icon-wrap { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.pdv2-doc-icon-wrap.verified  { background: var(--pd-green-light); color: var(--pd-green); }
.pdv2-doc-icon-wrap.pending   { background: #FFF8E7; color: #B07B12; }
.pdv2-doc-icon-wrap.missing   { background: var(--pd-red-light); color: var(--pd-red); }
.pdv2-doc-icon-wrap.certified { background: var(--pd-gold-light); color: var(--pd-gold); }
.pdv2-doc-info { flex: 1; min-width: 0; }
.pdv2-doc-title { font-size: 12.5px; font-weight: 700; color: var(--pd-ink); margin-bottom: 2px; }
.pdv2-doc-sub   { font-size: 11px; color: var(--pd-muted); }
.pdv2-doc-status { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.pdv2-doc-status.verified  { background: var(--pd-green-light); color: var(--pd-green); }
.pdv2-doc-status.pending   { background: #FFF8E7; color: #B07B12; }
.pdv2-doc-status.certified { background: var(--pd-gold-light); color: #91660A; }
.pdv2-doc-status.missing   { background: var(--pd-red-light); color: var(--pd-red); }

.pdv2-verify-quick-cta {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: linear-gradient(90deg, #EEF4FD, #fff); border: 1px dashed var(--pd-primary);
  border-radius: var(--pd-radius-sm); cursor: pointer; transition: background .2s; text-decoration: none;
}
.pdv2-verify-quick-cta:hover { background: #dce8f9; }
.pdv2-verify-quick-cta i { color: var(--pd-primary); font-size: 15px; }
.pdv2-verify-quick-cta-text { flex: 1; font-size: 12px; font-weight: 600; color: var(--pd-primary); }
.pdv2-verify-quick-cta-text small { display: block; font-weight: 400; color: var(--pd-muted); font-size: 11px; }

/* ═══════════ iLAND TRUST ASSESSMENT NOTE ═══════════ */
.pdv2-trust-note {
  background: linear-gradient(120deg, #0F1C33 0%, #1240AB 100%);
  border-radius: var(--pd-radius); padding: 18px 18px 16px; color: #fff; position: relative; overflow: hidden;
}
.pdv2-trust-note::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.04);
}
.pdv2-trust-badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pdv2-trust-medal {
  width: 44px; height: 44px; border-radius: 50%; background: var(--pd-gold);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  color: #fff; flex-shrink: 0; box-shadow: 0 4px 14px rgba(217,162,50,.5);
}
.pdv2-trust-brand { font-size: 14px; font-weight: 800; letter-spacing: -.2px; }
.pdv2-trust-score { background: rgba(255,255,255,.12); border-radius: 20px; padding: 4px 11px; font-size: 12px; font-weight: 700; margin-left: auto; }
.pdv2-trust-items { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pdv2-trust-item { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 500; opacity: .9; }
.pdv2-trust-item i { color: #5FDC9F; font-size: 12px; flex-shrink: 0; }
.pdv2-trust-item.warn i { color: #F8C66B; }
.pdv2-trust-note-text { font-size: 11.5px; line-height: 1.6; opacity: .82; border-top: 1px solid rgba(255,255,255,.14); padding-top: 12px; }

/* ═══════════ OVERVIEW ═══════════ */
.pdv2-overview {
  background: linear-gradient(130deg, #F5F8FC 0%, #fff 100%);
  border: 1px solid var(--pd-line); border-left: 4px solid var(--pd-primary);
  border-radius: var(--pd-radius-sm); padding: 16px; font-size: 13.5px; line-height: 1.7; color: var(--pd-ink);
}

/* ═══════════ SPEC TABLE ═══════════ */
.pdv2-spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-sm); overflow: hidden; }
.pdv2-spec-table tr { border-bottom: 1px solid var(--pd-line); }
.pdv2-spec-table tr:last-child { border-bottom: none; }
.pdv2-spec-table tr:hover { background: var(--pd-bg); }
.pdv2-spec-table td { padding: 10px 14px; font-size: 12.5px; vertical-align: middle; }
.pdv2-spec-lbl { color: var(--pd-muted); font-weight: 600; width: 42%; }
.pdv2-spec-val { font-weight: 700; color: var(--pd-ink); }

/* ═══════════ AMENITIES GRID ═══════════ */
.pdv2-amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pdv2-amenity {
  background: #fff; border: 1px solid var(--pd-line); border-radius: 9px;
  padding: 10px 8px; display: flex; flex-direction: column; align-items: center;
  gap: 6px; font-size: 11px; font-weight: 500; text-align: center; color: var(--pd-ink); transition: all .2s;
}
.pdv2-amenity:hover { border-color: var(--pd-primary); background: var(--pd-primary-light); }
.pdv2-amenity i { color: var(--pd-primary); font-size: 16px; }

/* ═══════════ NEARBY — Schools & Route ═══════════ */
.pdv2-nearby-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdv2-nearby-card {
  background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-sm);
  padding: 12px 12px 10px; transition: box-shadow .2s, transform .2s; cursor: pointer; text-decoration: none; display: block;
}
.pdv2-nearby-card:hover { box-shadow: 0 6px 18px rgba(18,64,171,.12); transform: translateY(-2px); border-color: var(--pd-primary); }
.pdv2-nearby-header { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.pdv2-nearby-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--pd-primary-light); color: var(--pd-primary); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.pdv2-nearby-icon.school   { background: #FFF0EE; color: #C0392B; }
.pdv2-nearby-icon.hospital { background: #EDFBF3; color: #0C7A3E; }
.pdv2-nearby-icon.route    { background: var(--pd-gold-light); color: var(--pd-gold); }
.pdv2-nearby-icon.market   { background: #F0EAFF; color: #7B3FBB; }
.pdv2-nearby-type { font-size: 10px; color: var(--pd-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.pdv2-nearby-name { font-size: 12px; font-weight: 700; color: var(--pd-ink); line-height: 1.3; margin-bottom: 4px; }
.pdv2-nearby-dist { font-size: 11px; color: var(--pd-muted); display: flex; align-items: center; gap: 4px; }
.pdv2-nearby-dist b { color: var(--pd-green); }

.pdv2-route-btn {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  background: linear-gradient(90deg, var(--pd-primary), var(--pd-primary2));
  color: #fff; border-radius: var(--pd-radius-sm); font-size: 13px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none; width: 100%; transition: opacity .2s, transform .15s;
}
.pdv2-route-btn:hover { opacity: .9; transform: translateY(-1px); }
.pdv2-route-btn i { font-size: 15px; }
.pdv2-route-btn span { flex: 1; }
.pdv2-route-btn small { opacity: .8; font-size: 11px; font-weight: 400; }

/* ═══════════ SIMILAR NEARBY LISTINGS ═══════════ */
.pdv2-similar-scroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pdv2-similar-scroll::-webkit-scrollbar { display: none; }
.pdv2-similar-card { flex: 0 0 180px; background: #fff; border: 1px solid var(--pd-line); border-radius: 10px; overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.pdv2-similar-card:hover { box-shadow: 0 8px 22px rgba(18,64,171,.13); transform: translateY(-3px); }
.pdv2-similar-img { height: 100px; position: relative; overflow: hidden; }
.pdv2-similar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pdv2-similar-card:hover .pdv2-similar-img img { transform: scale(1.07); }
.pdv2-similar-badge { position: absolute; top: 7px; left: 7px; font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }
.pdv2-similar-badge.buy   { background: #1240AB; color: #fff; }
.pdv2-similar-badge.rent  { background: #0C7A3E; color: #fff; }
.pdv2-similar-badge.lease { background: #7B3FBB; color: #fff; }
.pdv2-similar-body { padding: 9px 10px; }
.pdv2-similar-price { font-size: 14px; font-weight: 800; color: var(--pd-primary); margin-bottom: 3px; }
.pdv2-similar-title { font-size: 11.5px; font-weight: 600; color: var(--pd-ink); line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdv2-similar-loc { font-size: 10px; color: var(--pd-muted); display: flex; align-items: center; gap: 3px; }

/* ═══════════ STICKY SELLER / CONTACT PANEL ═══════════ */
.pdv2-sticky-seller {
  position: sticky; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px); border-top: 1px solid var(--pd-line); padding: 12px 18px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 50; box-shadow: 0 -6px 20px rgba(18,64,171,.09); margin-top: auto;
}
.pdv2-seller-row { display: flex; align-items: center; gap: 10px; }
.pdv2-seller-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--pd-primary); flex-shrink: 0; }
.pdv2-seller-avatar-placeholder { width: 42px; height: 42px; border-radius: 50%; background: var(--pd-primary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; flex-shrink: 0; border: 2px solid var(--pd-primary); }
.pdv2-seller-info { flex: 1; min-width: 0; }
.pdv2-seller-name { font-size: 13px; font-weight: 700; color: var(--pd-ink); }
.pdv2-seller-role { font-size: 11px; color: var(--pd-muted); }
.pdv2-seller-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--pd-green); font-weight: 600; }
.pdv2-seller-ctas { display: flex; gap: 8px; }

.pdv2-cta-primary {
  flex: 1; background: linear-gradient(90deg, var(--pd-primary), var(--pd-primary2));
  color: #fff; border: none; border-radius: 10px; padding: 11px 14px; font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.pdv2-cta-primary:hover { opacity: .9; transform: translateY(-1px); }

.pdv2-cta-whatsapp {
  background: #25D366; color: #fff; border: none; border-radius: 10px;
  padding: 11px 15px; font-size: 17px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: opacity .2s, transform .15s; text-decoration: none; flex-shrink: 0;
}
.pdv2-cta-whatsapp:hover { opacity: .88; transform: translateY(-1px); }

.pdv2-cta-schedule {
  background: #fff; color: var(--pd-gold); border: 1.5px solid var(--pd-gold);
  border-radius: 10px; padding: 11px 14px; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.pdv2-cta-schedule:hover { background: var(--pd-gold); color: #fff; transform: translateY(-1px); }

/* ═══════════ SITE VISIT SCHEDULER ═══════════ */
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pdv2-visit-panel { background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); padding: 18px; display: none; animation: slideUpFade .25s ease; }
.pdv2-visit-panel.open { display: block; }

.pdv2-visit-title { font-size: 14px; font-weight: 700; color: var(--pd-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.pdv2-visit-title i { color: var(--pd-gold); }

.pdv2-date-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 4px; }
.pdv2-date-strip::-webkit-scrollbar { display: none; }
.pdv2-date-pill { flex: 0 0 auto; background: #fff; border: 1.5px solid var(--pd-line); border-radius: 10px; padding: 8px 14px; text-align: center; cursor: pointer; transition: all .2s; min-width: 58px; }
.pdv2-date-pill:hover { border-color: var(--pd-primary); }
.pdv2-date-pill.active { background: var(--pd-primary); border-color: var(--pd-primary); color: #fff; }
.pdv2-date-pill-day { font-size: 10px; opacity: .7; display: block; }
.pdv2-date-pill-num { font-size: 16px; font-weight: 800; display: block; }
.pdv2-date-pill-mon { font-size: 10px; opacity: .7; display: block; }

.pdv2-time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.pdv2-time-slot { background: #fff; border: 1.5px solid var(--pd-line); border-radius: 8px; padding: 8px 10px; text-align: center; font-size: 12px; font-weight: 600; color: var(--pd-ink); cursor: pointer; transition: all .2s; }
.pdv2-time-slot:hover { border-color: var(--pd-primary); color: var(--pd-primary); }
.pdv2-time-slot.active { background: var(--pd-primary); border-color: var(--pd-primary); color: #fff; }
.pdv2-time-slot.booked { background: var(--pd-bg); color: var(--pd-muted); cursor: not-allowed; text-decoration: line-through; opacity: .6; }

.pdv2-visit-type-row { display: flex; gap: 8px; margin-bottom: 14px; }
.pdv2-visit-type-btn { flex: 1; border: 1.5px solid var(--pd-line); background: #fff; border-radius: 8px; padding: 9px 10px; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: all .2s; }
.pdv2-visit-type-btn.active { background: var(--pd-primary-light); border-color: var(--pd-primary); color: var(--pd-primary); }
.pdv2-visit-name-input { width: 100%; border: 1.5px solid var(--pd-line); border-radius: 9px; padding: 10px 14px; font-size: 13px; font-family: inherit; color: var(--pd-ink); outline: none; transition: border-color .2s; margin-bottom: 10px; }
.pdv2-visit-name-input:focus { border-color: var(--pd-primary); }

.pdv2-confirm-visit-btn { width: 100%; background: linear-gradient(90deg, var(--pd-gold), #C58F22); color: #fff; border: none; border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 700; cursor: pointer; transition: opacity .2s, transform .15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pdv2-confirm-visit-btn:hover { opacity: .9; transform: translateY(-1px); }

.pdv2-visit-success { background: var(--pd-green-light); border: 1px solid #b2ebd2; border-radius: var(--pd-radius-sm); padding: 14px; text-align: center; color: var(--pd-green); font-size: 13px; font-weight: 600; display: none; animation: slideUpFade .3s ease; }
.pdv2-visit-success i { font-size: 22px; margin-bottom: 6px; display: block; }

/* ═══════════ BADGE COMPONENTS ═══════════ */
.pdv2-badge-tx { font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.pdv2-badge-tx.buy   { background: var(--pd-primary); color: #fff; }
.pdv2-badge-tx.rent  { background: #0C7A3E; color: #fff; }
.pdv2-badge-tx.lease { background: #7B3FBB; color: #fff; }
.pdv2-badge-trust { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }
.pdv2-badge-trust.certified { background: var(--pd-gold); color: #fff; }
.pdv2-badge-trust.verified  { background: #0C7A3E; color: #fff; }
.pdv2-badge-trust.basic     { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.pdv2-gps-pulse { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #fff; background: rgba(0,0,0,.5); padding: 4px 9px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.pdv2-gps-dot { width: 7px; height: 7px; border-radius: 50%; background: #5FDC9F; animation: gpsPulse 1.4s ease-in-out infinite; }
@keyframes gpsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 820px) {
  .pdv2-gallery-track { height: 210px; }
  .pdv2-land-facts { grid-template-columns: repeat(2, 1fr); }
  .pdv2-highlights-grid { grid-template-columns: 1fr; }
  .pdv2-amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .pdv2-nearby-grid { grid-template-columns: 1fr; }
  .pdv2-trust-items { grid-template-columns: 1fr; }
  .pdv2-seller-ctas { flex-wrap: wrap; }
  .pdv2-cta-primary { flex: 1 0 100%; }
}
