/* =============================================================
   property-detail.css — Property Detail Page Styles
   Prefix: pd-
   Inherits design tokens from css/style.css (:root vars)
   ============================================================= */

:root {
  --pd-nav-h: 64px; /* fallback; overwritten by JS on load/resize */
  --pd-red: #E53935;
  --pd-red-dark: #C62828;
}

/* ── Breadcrumb Bar ──────────────────────────────────────────── */
.pd-breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--rf-border);
  padding: 10px 0;
}

.pd-breadcrumb-bar .breadcrumb {
  font-size: 12px;
  margin: 0;
  flex-wrap: wrap;
}

.pd-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: var(--rf-text-light);
}

.pd-breadcrumb-bar .breadcrumb-item a {
  color: var(--rf-text-muted);
  text-decoration: none;
}

.pd-breadcrumb-bar .breadcrumb-item a:hover {
  color: var(--rf-blue);
}

.pd-breadcrumb-bar .breadcrumb-item.active {
  color: var(--rf-text);
  font-weight: 500;
}

/* ── Hero Section ────────────────────────────────────────────── */
.pd-hero-section {
  background: #fff;
  padding: 20px 0 0;
}

/* ── Gallery ─────────────────────────────────────────────────── */
.pd-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.pd-gallery-main {
  position: relative;
  border-radius: var(--rf-r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  cursor: pointer;
}

@media (min-width: 992px) {
  .pd-gallery-main {
    aspect-ratio: unset;
    height: 370px;
  }
}

.pd-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.pd-gallery-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.pd-gal-badge-rtm {
  background: #16A34A;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.pd-gal-badge-nl {
  background: rgba(20, 85, 204, 0.88);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.pd-gallery-view-all {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
  z-index: 2;
}

.pd-gallery-view-all:hover {
  background: rgba(0, 0, 0, 0.85);
}

.pd-gallery-thumbs {
  display: flex;
  gap: 6px;
}

.pd-gallery-thumb {
  flex: 1;
  height: 66px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color 0.15s ease;
  position: relative;
}

.pd-gallery-thumb.active,
.pd-gallery-thumb:hover {
  border-color: var(--rf-blue);
}

.pd-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-thumb-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  pointer-events: none;
}

.pd-thumb-more-overlay i {
  font-size: 16px;
  margin-bottom: 1px;
}

/* ── Summary Card ────────────────────────────────────────────── */
.pd-summary-card {
  background: var(--rf-navy);
  border-radius: var(--rf-r-lg);
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pd-summary-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pd-sum-badge-rtm {
  background: #16A34A;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.pd-sum-badge-nl {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pd-project-name {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px;
  line-height: 1.3;
}

.pd-project-loc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pd-builder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-builder-logo-box {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--rf-navy);
  flex-shrink: 0;
}

.pd-builder-name {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
}

.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pd-rating-chip {
  background: #F59E0B;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.pd-stars {
  color: #F59E0B;
  font-size: 13px;
  letter-spacing: 1px;
}

.pd-review-count {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.pd-price-range {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 3px;
  display: block;
}

.pd-price-asterisk {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  margin: 0 0 4px;
}

.pd-config-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0 0 18px;
}

.pd-cta-best-price {
  background: var(--pd-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.15s ease;
  letter-spacing: 0.2px;
}

.pd-cta-best-price:hover {
  background: var(--pd-red-dark);
}

.pd-cta-secondary-row {
  display: flex;
  gap: 8px;
}

.pd-cta-shortlist,
.pd-cta-download {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 9px 6px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.15s, background 0.15s;
}

.pd-cta-shortlist:hover,
.pd-cta-download:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.pd-cta-shortlist.active {
  border-color: var(--pd-red);
  color: var(--pd-red);
}

.pd-cta-shortlist.active i::before {
  content: "\f415"; /* bi-heart-fill */
}

/* ── Content Area ─────────────────────────────────────────────── */
.pd-content-area {
  background: var(--rf-bg-light);
  padding: 20px 0 36px;
}

/* ── Section Cards ────────────────────────────────────────────── */
.pd-card {
  background: #fff;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 22px;
  margin-bottom: 16px;
}

.pd-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rf-text);
  margin: 0 0 18px;
}
.pd-card-title--sm { font-size: 14px; margin-bottom: 10px; }

/* ── Specs Bar ────────────────────────────────────────────────── */
.pd-specs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

@media (min-width: 768px) {
  .pd-specs-bar {
    grid-template-columns: repeat(6, 1fr);
  }
}

.pd-spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 8px;
  border-right: 1px solid var(--rf-border);
  border-bottom: 1px solid var(--rf-border);
  gap: 4px;
}

/* 3-col mobile: remove right border on 3rd, 6th; remove bottom border on last row */
.pd-spec-item:nth-child(3n) { border-right: none; }

@media (max-width: 767px) {
  .pd-spec-item:nth-child(4),
  .pd-spec-item:nth-child(5),
  .pd-spec-item:nth-child(6) {
    border-bottom: none;
  }
}

@media (min-width: 768px) {
  .pd-spec-item {
    border-bottom: none;
  }
  .pd-spec-item:nth-child(3n) { border-right: 1px solid var(--rf-border); }
  .pd-spec-item:last-child { border-right: none; }
}

.pd-spec-icon {
  font-size: 22px;
  color: var(--rf-blue);
}

.pd-spec-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--rf-text);
  line-height: 1.3;
}
.pd-spec-rera { font-size: 11px; word-break: break-all; }

.pd-spec-lbl {
  font-size: 11px;
  color: var(--rf-text-muted);
}

/* ── Why Buyers Love ──────────────────────────────────────────── */
.pd-love-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}

@media (min-width: 576px) {
  .pd-love-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pd-love-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.pd-love-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rf-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--rf-blue);
  flex-shrink: 0;
}

.pd-love-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--rf-text);
  line-height: 1.4;
}

.pd-love-sublabel {
  font-size: 11px;
  color: var(--rf-text-muted);
  line-height: 1.3;
  margin-top: -4px;
}

/* ── Pricing Table ────────────────────────────────────────────── */
.pd-config-table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
}

.pd-config-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}

.pd-config-table thead th {
  background: var(--rf-bg-light);
  color: var(--rf-text-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rf-border);
  white-space: nowrap;
}

.pd-config-table tbody tr {
  border-bottom: 1px solid var(--rf-border);
  transition: background 0.12s;
}

.pd-config-table tbody tr:last-child { border-bottom: none; }

.pd-config-table tbody tr:hover { background: #fafbfd; }

.pd-config-table td {
  padding: 13px 14px;
  color: var(--rf-text);
  vertical-align: middle;
}

.td-config { font-weight: 600; }

.td-price { font-weight: 600; }

.td-view a {
  color: var(--rf-blue);
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.td-view a:hover { color: var(--rf-blue-dark); }

.pd-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-blue);
  margin-top: 14px;
  text-decoration: none;
}

.pd-view-all-link:hover { color: var(--rf-blue-dark); }

/* ── Project Highlights ───────────────────────────────────────── */
.pd-highlight-desc {
  font-size: 13px;
  color: var(--rf-text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.pd-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 500px) {
  .pd-highlights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
  }
}

.pd-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--rf-text);
  line-height: 1.4;
}

.pd-highlight-check {
  width: 18px;
  height: 18px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pd-highlight-check i {
  font-size: 9px;
  color: #16A34A;
  font-weight: 700;
}

.pd-view-more-btn {
  background: none;
  border: none;
  color: var(--rf-blue);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pd-view-more-btn:hover { color: var(--rf-blue-dark); }

/* ── Floor Plans ──────────────────────────────────────────────── */
.pd-floor-plans-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.pd-floor-plans-row::-webkit-scrollbar { display: none; }

.pd-floor-plan-item {
  flex-shrink: 0;
  width: 150px;
  cursor: pointer;
}

.pd-floor-plan-thumb {
  background: #F0F5FA;
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--rf-text-muted);
  transition: border-color 0.15s, box-shadow 0.15s;
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
}

.pd-floor-plan-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-floor-plan-thumb:hover {
  border-color: var(--rf-blue);
  box-shadow: 0 0 0 3px rgba(20, 85, 204, 0.08);
}

.pd-fp-placeholder-ico {
  font-size: 32px;
  color: var(--rf-blue);
  opacity: 0.3;
}

.pd-floor-plan-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--rf-text);
  text-align: center;
  margin: 0;
}

.pd-floor-plan-size {
  font-size: 11px;
  color: var(--rf-text-muted);
  text-align: center;
  margin: 2px 0 0;
}

.pd-floor-plans-ctas {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pd-btn-fp-all {
  flex: 1;
  min-width: 140px;
  background: transparent;
  border: 1px solid var(--rf-blue);
  color: var(--rf-blue);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.pd-btn-fp-all:hover { background: var(--rf-blue-soft); }

.pd-btn-brochure-dl {
  flex: 1;
  min-width: 140px;
  background: var(--rf-blue);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.pd-btn-brochure-dl:hover { background: var(--rf-blue-dark); }

/* ── Amenities ────────────────────────────────────────────────── */
.pd-amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.pd-amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--rf-text);
}

.pd-amenity-icon {
  width: 38px;
  height: 38px;
  background: var(--rf-bg-light);
  border: 1px solid var(--rf-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--rf-blue);
  flex-shrink: 0;
}

/* ── Location Advantage ───────────────────────────────────────── */
.pd-location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .pd-location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.pd-nearby-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-nearby-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--rf-bg-light);
  border-radius: 8px;
  border: 1px solid var(--rf-border);
}

.pd-nearby-ico {
  width: 30px;
  height: 30px;
  background: var(--rf-blue-soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--rf-blue);
  flex-shrink: 0;
}

.pd-nearby-name {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: var(--rf-text);
}

.pd-nearby-time {
  font-size: 11px;
  color: var(--rf-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.pd-map-block {
  background: #DDE8F5;
  border-radius: 10px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rf-border);
  position: relative;
  overflow: hidden;
}

.pd-map-pin-icon {
  font-size: 42px;
  color: var(--rf-blue);
  opacity: 0.35;
}

.pd-map-label {
  font-size: 12px;
  color: var(--rf-text-muted);
  margin-top: 8px;
}

.pd-btn-view-on-map {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #fff;
  border: 1px solid var(--rf-blue);
  color: var(--rf-blue);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.pd-btn-view-on-map:hover {
  background: var(--rf-blue-soft);
  color: var(--rf-blue);
}

/* ── Investment Insights ──────────────────────────────────────── */
.pd-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 576px) {
  .pd-insights-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .pd-insights-grid { grid-template-columns: repeat(5, 1fr); }
}

.pd-insight-box {
  background: var(--rf-bg-light);
  border: 1px solid var(--rf-border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.pd-insight-ico {
  font-size: 20px;
  color: var(--rf-blue);
}

.pd-insight-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--rf-text);
  line-height: 1.2;
}

.pd-insight-lbl {
  font-size: 10px;
  color: var(--rf-text-muted);
  line-height: 1.3;
}

/* ── EMI Calculator ───────────────────────────────────────────── */
.pd-emi-layout {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .pd-emi-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.pd-emi-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-emi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pd-emi-field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--rf-text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pd-emi-select {
  width: 100%;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  padding: 8px 30px 8px 10px;
  font-size: 16px; /* ≥16px prevents iOS Safari auto-zoom on focus */
  color: var(--rf-text);
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

.pd-emi-select:focus {
  outline: none;
  border-color: var(--rf-blue);
  box-shadow: 0 0 0 3px rgba(20, 85, 204, 0.08);
}

.pd-emi-readonly {
  width: 100%;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-text);
  background: var(--rf-bg-light);
  cursor: not-allowed;
}

.pd-emi-result-box {
  background: var(--rf-blue-soft);
  border: 1px solid rgba(20, 85, 204, 0.12);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
}

.pd-emi-result-lbl {
  font-size: 12px;
  color: var(--rf-text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.pd-emi-result-amount {
  font-size: 30px;
  font-weight: 700;
  color: var(--rf-blue);
  line-height: 1.2;
}

.pd-emi-result-per-month {
  font-size: 13px;
  color: var(--rf-text-muted);
  margin-bottom: 0;
}

.pd-emi-divider {
  border: none;
  border-top: 1px solid rgba(20, 85, 204, 0.12);
  margin: 16px 0;
}

.pd-emi-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--rf-text-muted);
  margin-bottom: 7px;
}

.pd-emi-detail-row span:last-child {
  font-weight: 600;
  color: var(--rf-text);
}

.pd-emi-amort-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-blue);
  margin-top: 16px;
  text-decoration: none;
}

.pd-emi-amort-link:hover { color: var(--rf-blue-dark); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.pd-faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--rf-border);
  border-radius: 0 !important;
}

.pd-faq-accordion .accordion-item:first-child { border-top: 1px solid var(--rf-border); }

.pd-faq-accordion .accordion-button {
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-text);
  background: #fff;
  box-shadow: none;
  padding: 14px 0;
  border: none;
}

.pd-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--rf-blue);
  background: #fff;
  box-shadow: none;
}

.pd-faq-accordion .accordion-button::after {
  width: 16px;
  height: 16px;
  background-size: 16px;
  flex-shrink: 0;
}

.pd-faq-accordion .accordion-body {
  font-size: 13px;
  color: var(--rf-text-muted);
  line-height: 1.75;
  padding: 0 0 16px;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.pd-sidebar-sticky {
  position: sticky;
  top: calc(var(--pd-nav-h) + 12px);
}

.pd-sidebar-card {
  background: #fff;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 18px;
  margin-bottom: 14px;
}

/* Roofy Card */
.pd-roofy-card {
  background: linear-gradient(140deg, #EBF4FF 0%, #F0F3FF 100%);
  border-color: rgba(20, 85, 204, 0.12);
}

.pd-roofy-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.pd-roofy-icon {
  width: 38px;
  height: 38px;
  background: var(--rf-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
  flex-shrink: 0;
}

.pd-roofy-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--rf-text);
  margin: 0;
  line-height: 1.3;
}

.pd-roofy-ai-badge {
  font-size: 11px;
  font-weight: 400;
  color: var(--rf-blue);
  background: var(--rf-blue-soft);
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 4px;
}
.pd-roofy-subtitle {
  font-size: 11px;
  color: var(--rf-text-muted);
  margin: 0;
}

.pd-roofy-questions {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-roofy-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  font-size: 12px;
  color: var(--rf-text);
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid rgba(20, 85, 204, 0.08);
  text-decoration: none;
}

.pd-roofy-q:hover {
  background: #fff;
  color: var(--rf-blue);
}

.pd-roofy-q i {
  font-size: 11px;
  color: var(--rf-text-muted);
  flex-shrink: 0;
}

.pd-roofy-chat-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-blue);
  margin-top: 12px;
  text-decoration: none;
}

.pd-roofy-chat-link:hover { color: var(--rf-blue-dark); }

/* Brochure Card */
.pd-brochure-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.pd-brochure-ico {
  width: 40px;
  height: 40px;
  background: var(--rf-blue-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--rf-blue);
  flex-shrink: 0;
}

.pd-brochure-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--rf-text);
  margin: 0 0 2px;
}

.pd-brochure-desc {
  font-size: 12px;
  color: var(--rf-text-muted);
  margin: 0;
  line-height: 1.4;
}

.pd-btn-dl-brochure {
  width: 100%;
  background: var(--rf-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.15s;
}

.pd-btn-dl-brochure:hover { background: var(--rf-blue-dark); }

/* Contact Builder Card */
.pd-contact-hd {
  font-size: 11px;
  font-weight: 600;
  color: var(--rf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.pd-contact-builder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pd-contact-builder-logo {
  width: 32px;
  height: 32px;
  background: var(--rf-blue-soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--rf-blue);
  flex-shrink: 0;
}

.pd-contact-builder-nm {
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-text);
  line-height: 1.3;
}

.pd-btn-call-now {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--rf-blue);
  color: var(--rf-blue);
  border-radius: 8px;
  padding: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 8px;
  transition: background 0.15s;
}

.pd-btn-call-now:hover { background: var(--rf-blue-soft); }

.pd-btn-callback {
  width: 100%;
  background: transparent;
  border: 1px solid var(--rf-border);
  color: var(--rf-text);
  border-radius: 8px;
  padding: 9px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: border-color 0.15s;
}

.pd-btn-callback:hover {
  border-color: var(--rf-blue);
  color: var(--rf-blue);
}

.pd-response-time-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rf-border);
}

.pd-response-time-row i {
  font-size: 15px;
  color: var(--rf-text-muted);
  margin-top: 1px;
  flex-shrink: 0;
}

.pd-response-lbl {
  font-size: 11px;
  color: var(--rf-text-muted);
  display: block;
}

.pd-response-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--rf-text);
  display: block;
}

/* Schedule Visit Card */
.pd-schedule-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pd-schedule-ico {
  width: 36px;
  height: 36px;
  background: #FFF0EE;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--pd-red);
  flex-shrink: 0;
}

.pd-schedule-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--rf-text);
  margin: 0;
}

.pd-schedule-desc {
  font-size: 12px;
  color: var(--rf-text-muted);
  margin: 0 0 14px;
  line-height: 1.5;
}

.pd-btn-schedule {
  width: 100%;
  background: var(--pd-red);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background 0.15s;
}

.pd-btn-schedule:hover { background: var(--pd-red-dark); }

/* Location Map Sidebar Card */
.pd-sdb-loc-addr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--rf-text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pd-sdb-loc-addr i {
  color: var(--pd-red);
  margin-top: 2px;
  flex-shrink: 0;
}

.pd-sdb-map {
  background: #DDE8F5;
  border-radius: 8px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid var(--rf-border);
  overflow: hidden;
}

.pd-sdb-map i {
  font-size: 40px;
  color: var(--rf-blue);
  opacity: 0.35;
}

.pd-btn-view-map {
  width: 100%;
  background: transparent;
  border: 1px solid var(--rf-blue);
  color: var(--rf-blue);
  border-radius: 8px;
  padding: 9px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pd-btn-view-map:hover { background: var(--rf-blue-soft); }

/* ── Similar Projects ─────────────────────────────────────────── */
.pd-similar-section {
  background: var(--rf-bg-light);
  padding: 32px 0 44px;
  border-top: 1px solid var(--rf-border);
}

.pd-similar-hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-similar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--rf-text);
  margin: 0;
}

.pd-similar-view-all {
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-blue);
  text-decoration: none;
}

.pd-similar-view-all:hover { color: var(--rf-blue-dark); }

.pd-similar-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

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

.pd-sim-card {
  flex-shrink: 0;
  width: 224px;
  border-radius: var(--rf-r-md);
  background: #fff;
  border: 1px solid var(--rf-border);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  display: block;
}

.pd-sim-card:hover {
  box-shadow: var(--rf-shadow-md);
  transform: translateY(-2px);
}

.pd-sim-img-wrap {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.pd-sim-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-sim-body { padding: 12px 14px; }

.pd-sim-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-text);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-sim-loc {
  font-size: 11px;
  color: var(--rf-text-muted);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.pd-sim-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--rf-text);
  margin: 0 0 3px;
}

.pd-sim-config {
  font-size: 11px;
  color: var(--rf-text-muted);
  margin: 0;
}

/* ── Mobile Sticky CTA Bar ────────────────────────────────────── */
.pd-mob-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--rf-border);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  .pd-mob-sticky-cta { display: none; }
}

.pd-mob-cta-call {
  flex: 1;
  background: transparent;
  border: 1.5px solid var(--rf-blue);
  color: var(--rf-blue);
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pd-mob-cta-schedule {
  flex: 1;
  background: var(--pd-red);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Gallery Lightbox Modal ───────────────────────────────────── */
.pd-lightbox-modal .modal-dialog {
  max-width: 920px;
}

.pd-lightbox-modal .modal-content {
  background: #0D1B2A;
  border: none;
  border-radius: var(--rf-r-lg);
  overflow: hidden;
}

.pd-lightbox-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
}

.pd-lightbox-modal .modal-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}
#lbCounter { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.pd-lightbox-modal .btn-close {
  filter: invert(1) brightness(0.7);
}

.pd-lightbox-main-wrap {
  position: relative;
  background: #000;
  height: 460px;
}

@media (max-width: 575px) {
  .pd-lightbox-main-wrap { height: 260px; }
}

.pd-lightbox-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pd-lb-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
}

.pd-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 16px;
  z-index: 2;
}

.pd-lb-nav:hover { background: rgba(0, 0, 0, 0.8); }

.pd-lb-nav-prev { left: 12px; }
.pd-lb-nav-next { right: 12px; }

.pd-lightbox-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-lightbox-thumbs::-webkit-scrollbar { display: none; }

.pd-lb-thumb {
  flex-shrink: 0;
  width: 62px;
  height: 46px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color 0.15s;
}

.pd-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-lb-thumb.active { border-color: var(--rf-blue); }

/* ── Floor Plan Modal ─────────────────────────────────────────── */
.pd-fp-modal .modal-content {
  border-radius: var(--rf-r-lg);
  overflow: hidden;
}

.pd-fp-modal .modal-body {
  background: #F0F5FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  gap: 12px;
}

.pd-fp-modal .pd-fp-modal-ico {
  font-size: 72px;
  color: var(--rf-blue);
  opacity: 0.25;
}

/* Mobile body padding for sticky CTA */
@media (max-width: 991px) {
  body { padding-bottom: 72px; }
}

/* Small screen tweaks */
@media (max-width: 575px) {
  .pd-project-name { font-size: 17px; }
  .pd-price-range { font-size: 17px; }
  .pd-summary-card { border-radius: var(--rf-r-md); }
  .pd-hero-section { padding-top: 12px; }
  .pd-card { padding: 16px; }
  .pd-gallery-thumb { height: 52px; }
}


/* =============================================================
   V2 ENHANCEMENTS
   ============================================================= */

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes pdFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pdSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pdSkeletonPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ── Project Highlights — animated extras ────────────────────── */
.pd-highlight-extra {
  display: none;
}
.pd-highlight-extra.pd-hl-show {
  display: flex;
  animation: pdSlideUp 0.25s ease both;
}

/* ── EMI Calculator V2 ───────────────────────────────────────── */
.pd-emi-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 767px) {
  .pd-emi-v2 { grid-template-columns: 1fr; gap: 20px; }
}

/* Slider Groups */
.pd-emi-sliders { display: flex; flex-direction: column; gap: 20px; }

.pd-emi-slider-group { display: flex; flex-direction: column; gap: 6px; }

.pd-emi-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pd-emi-slider-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--rf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pd-emi-slider-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--rf-text);
}

/* Range input — cross-browser */
.pd-emi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--rf-blue) var(--slider-pct, 0%),
    var(--rf-border) var(--slider-pct, 0%)
  );
}
.pd-emi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rf-blue);
  border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.pd-emi-slider::-webkit-slider-thumb:hover,
.pd-emi-slider::-webkit-slider-thumb:focus {
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(0,91,189,0.35);
}
.pd-emi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rf-blue);
  border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.25);
  cursor: pointer;
}
.pd-emi-slider::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--rf-border);
}
.pd-emi-slider:focus-visible {
  outline: 2px solid var(--rf-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.pd-emi-slider-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--rf-text-light);
}

/* Result Card */
.pd-emi-result-v2 {
  background: var(--rf-bg-light);
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Doughnut Chart */
.pd-emi-chart-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}
#emiDoughnutChart { display: block; }
.pd-emi-chart-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pd-emi-chart-emi-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--rf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}
.pd-emi-chart-emi-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--rf-text);
  margin: 2px 0 0;
}

/* Legend */
.pd-emi-legend { display: flex; flex-direction: column; gap: 10px; }
.pd-emi-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pd-emi-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pd-emi-dot-loan     { background: var(--rf-blue); }
.pd-emi-dot-interest { background: #FF7043; }
.pd-emi-dot-total    { background: var(--rf-border); }
.pd-emi-legend-item > div { line-height: 1.2; }
.pd-emi-legend-lbl {
  font-size: 11px;
  color: var(--rf-text-muted);
  margin: 0;
}
.pd-emi-legend-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--rf-text);
  margin: 0;
}

/* Share EMI */
.pd-emi-share {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--rf-border);
}
.pd-emi-share-lbl { font-size: 12px; color: var(--rf-text-muted); font-weight: 500; }
.pd-emi-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rf-border);
  background: #fff;
  color: var(--rf-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.pd-emi-share-btn:hover { color: var(--rf-blue); border-color: var(--rf-blue); background: var(--rf-blue-soft); }

/* Amortization Accordion */
.pd-emi-amort-wrap { margin-top: 16px; border-top: 1px solid var(--rf-border); padding-top: 12px; }
.pd-emi-amort-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-blue);
  cursor: pointer;
  gap: 8px;
}
.pd-emi-amort-chevron { transition: transform 0.25s ease; font-size: 12px; }
.pd-emi-amort-toggle[aria-expanded="true"] .pd-emi-amort-chevron { transform: rotate(180deg); }

.pd-emi-amort-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.pd-emi-amort-body.pd-amort-open { max-height: 360px; }

.pd-emi-amort-table-wrap { overflow-x: auto; padding-top: 10px; }
.pd-emi-amort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.pd-emi-amort-table th,
.pd-emi-amort-table td {
  padding: 7px 10px;
  text-align: right;
  border-bottom: 1px solid var(--rf-border);
  white-space: nowrap;
}
.pd-emi-amort-table th:first-child,
.pd-emi-amort-table td:first-child { text-align: left; }
.pd-emi-amort-table th {
  font-weight: 700;
  color: var(--rf-text-muted);
  background: var(--rf-bg-light);
  font-size: 11px;
  text-transform: uppercase;
}
.pd-emi-amort-table tr:hover td { background: var(--rf-bg-light); }

/* ── Smart Sidebar CTA Card ──────────────────────────────────── */
.pd-smart-cta-card { background: var(--rf-blue); padding: 16px 18px; }
.pd-smart-cta-hint {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}
.pd-smart-cta-btn {
  width: 100%;
  background: #fff;
  color: var(--rf-blue);
  border: none;
  border-radius: var(--rf-r-sm);
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.pd-smart-cta-btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
.pd-smart-cta-btn:active { transform: none; }
.pd-smart-cta-card.pd-sca-schedule { background: #2E7D32; }
.pd-smart-cta-card.pd-sca-schedule .pd-smart-cta-btn { color: #2E7D32; }
.pd-smart-cta-card.pd-sca-contact  { background: var(--rf-navy); }
.pd-smart-cta-card.pd-sca-contact  .pd-smart-cta-btn { color: var(--rf-navy); }

/* ── 4-Button Mobile CTA Bar ─────────────────────────────────── */
.pd-mob-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  display: flex;
  height: 64px;
  background: #fff;
  border-top: 1px solid var(--rf-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}
@media (min-width: 992px) {
  .pd-mob-sticky-cta { display: none; }
}

.pd-mob-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  color: var(--rf-text-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  padding: 0;
}
.pd-mob-cta-btn i { font-size: 18px; }
.pd-mob-cta-btn:hover { color: var(--rf-text); background: var(--rf-bg-light); }

.pd-mob-cta-shortlist.active { color: #E53935; }
.pd-mob-cta-shortlist.active i::before { font-family: 'bootstrap-icons'; content: '\f417'; }

.pd-mob-cta-call { color: var(--rf-blue); border-right: 1px solid var(--rf-border); border-left: 1px solid var(--rf-border); }
.pd-mob-cta-call:hover { background: #EFF6FF; }

.pd-mob-cta-whatsapp { color: #25D366; border-right: 1px solid var(--rf-border); }
.pd-mob-cta-whatsapp:hover { background: #F0FFF4; }

.pd-mob-cta-brochure { color: var(--pd-red); }
.pd-mob-cta-brochure:hover { background: #FFF5F5; }

/* Adjust body padding for 4-button bar */
@media (max-width: 991px) {
  body { padding-bottom: 64px; }
}

/* ── Gallery-All Modal ───────────────────────────────────────── */
.pd-gallery-all-modal .modal-content {
  background: #111;
  color: #fff;
  border: none;
}
.pd-galm-header {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.pd-galm-header .btn-close { filter: invert(1) grayscale(1); }
.pd-galm-total-badge {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-left: 8px;
}
.pd-galm-body { padding: 16px; }

/* Category pills */
.pd-galm-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.pd-galm-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.pd-galm-cat:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.pd-galm-cat.active { background: var(--rf-blue); border-color: var(--rf-blue); color: #fff; }
.pd-galm-cat-n {
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 1px 6px;
  font-size: 11px;
}
.pd-galm-cat.active .pd-galm-cat-n { background: rgba(255,255,255,0.25); }

/* Image grid */
.pd-galm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 575px) {
  .pd-galm-grid { grid-template-columns: repeat(2, 1fr); }
}
.pd-galm-img-btn {
  padding: 0;
  border: none;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: opacity 0.15s;
}
.pd-galm-img-btn:hover { opacity: 0.85; }
.pd-galm-img-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-galm-img-btn.pd-galm-hidden { display: none; }

/* ── Config Modal ────────────────────────────────────────────── */
.pd-cfg-modal-body { padding: 16px 20px; }
.pd-cfg-modal-hint {
  font-size: 13px;
  color: var(--rf-text-muted);
  margin-bottom: 16px;
}
.pd-cfg-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 575px) {
  .pd-cfg-cards { grid-template-columns: 1fr; }
}
.pd-cfg-card {
  border: 2px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-align: left;
}
.pd-cfg-card:hover { border-color: var(--rf-blue); }
.pd-cfg-card.active {
  border-color: var(--rf-blue);
  box-shadow: 0 0 0 3px rgba(0,91,189,0.12);
  background: var(--rf-blue-soft);
}
.pd-cfg-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.pd-cfg-card-type {
  font-size: 15px;
  font-weight: 700;
  color: var(--rf-text);
}
.pd-cfg-card-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: #E8F5E9;
  color: #2E7D32;
}
.pd-cfg-tag-limited { background: #FFF3E0; color: #E65100; }
.pd-cfg-tag-rare    { background: #FCE4EC; color: #C62828; }
.pd-cfg-card-sqft, .pd-cfg-card-price {
  font-size: 12px;
  color: var(--rf-text-muted);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-cfg-card-price { color: var(--rf-text); font-weight: 600; font-size: 13px; }
.pd-cfg-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  border-top: 1px solid var(--rf-border);
  padding-top: 10px;
}
.pd-cfg-floor-btn,
.pd-cfg-dl-btn {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: var(--rf-r-sm);
  cursor: pointer;
  border: 1px solid var(--rf-border);
  background: #fff;
  color: var(--rf-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 0.15s, color 0.15s;
}
.pd-cfg-floor-btn:hover { border-color: var(--rf-blue); color: var(--rf-blue); }
.pd-cfg-dl-btn:hover { border-color: var(--pd-red); color: var(--pd-red); }

.pd-btn-best-price {
  background: var(--rf-blue);
  color: #fff;
  border: none;
  border-radius: var(--rf-r-sm);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pd-btn-best-price:hover { background: #0049c6; }

/* ── Amenities Modal ─────────────────────────────────────────── */
.pd-amenities-modal .modal-content { border: none; }
.pd-amen-modal-body { padding: 0; }

/* Search */
.pd-amen-search-wrap {
  position: relative;
  padding: 14px 16px 0;
}
.pd-amen-search-ico {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rf-text-light);
  font-size: 14px;
  pointer-events: none;
}
.pd-amen-search-input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  font-size: 16px; /* ≥16px prevents iOS Safari auto-zoom on focus */
  outline: none;
  transition: border-color 0.15s;
  background: var(--rf-bg-light);
}
.pd-amen-search-input:focus { border-color: var(--rf-blue); background: #fff; }

/* Category Tabs */
.pd-amen-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rf-border);
  scrollbar-width: none;
}
.pd-amen-tabs::-webkit-scrollbar { display: none; }
.pd-amen-tab {
  white-space: nowrap;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--rf-border);
  background: #fff;
  color: var(--rf-text-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.pd-amen-tab:hover { border-color: var(--rf-blue); color: var(--rf-blue); }
.pd-amen-tab.active { background: var(--rf-blue); border-color: var(--rf-blue); color: #fff; }

/* Grid */
.pd-amen-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rf-border);
  padding: 16px;
  gap: 10px;
  background: transparent;
}
@media (max-width: 767px) { .pd-amen-modal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .pd-amen-modal-grid { grid-template-columns: repeat(2, 1fr); } }

.pd-amen-modal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  text-align: center;
  font-size: 11px;
  color: var(--rf-text);
  background: #fff;
  animation: pdFadeIn 0.2s ease both;
}
.pd-amen-modal-item.pd-amen-hidden { display: none; }
.pd-amen-modal-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rf-blue-soft);
  color: var(--rf-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.pd-amen-count-badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-text-muted);
  margin-left: 6px;
}
.pd-amen-no-results {
  text-align: center;
  color: var(--rf-text-muted);
  padding: 24px;
  font-size: 14px;
}

/* ── Floor Plan Grid Modal ───────────────────────────────────── */
.pd-fp-grid-modal .modal-content { border: none; }
.pd-fp-grid-body { padding: 16px; min-height: 340px; }

.pd-fp-grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 575px) { .pd-fp-grid-view { grid-template-columns: repeat(2, 1fr); } }

.pd-fp-grid-card {
  border: 2px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pd-fp-grid-card:hover { border-color: var(--rf-blue); box-shadow: 0 4px 16px rgba(0,91,189,0.12); }
.pd-fp-grid-thumb {
  aspect-ratio: 4/3;
  background: var(--rf-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--rf-blue);
  opacity: 0.35;
}
.pd-fp-grid-info { padding: 10px 12px; }
.pd-fp-grid-label { font-size: 14px; font-weight: 700; color: var(--rf-text); margin: 0 0 2px; }
.pd-fp-grid-size  { font-size: 12px; color: var(--rf-text-muted); margin: 0; }

/* Zoom Preview */
.pd-fp-zoom-preview { display: flex; flex-direction: column; gap: 0; height: 100%; }
.pd-fp-zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--rf-border);
  flex-wrap: wrap;
  gap: 8px;
}
.pd-fp-zoom-back {
  background: none;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--rf-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: border-color 0.15s, color 0.15s;
}
.pd-fp-zoom-back:hover { border-color: var(--rf-blue); color: var(--rf-blue); }
.pd-fp-zoom-title { font-size: 14px; font-weight: 700; color: var(--rf-text); margin: 0; }
.pd-fp-zoom-controls { display: flex; align-items: center; gap: 6px; }
.pd-fp-zoom-ctl-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--rf-border);
  background: #fff;
  color: var(--rf-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.pd-fp-zoom-ctl-btn:hover { border-color: var(--rf-blue); color: var(--rf-blue); }
.pd-fp-zoom-pct { font-size: 12px; font-weight: 700; color: var(--rf-text); min-width: 40px; text-align: center; }

/* Zoom canvas */
.pd-fp-zoom-canvas {
  flex: 1;
  min-height: 320px;
  overflow: hidden;
  background: var(--rf-bg-light);
  border-radius: var(--rf-r-sm);
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  position: relative;
}
.pd-fp-zoom-canvas:active { cursor: grabbing; }
.pd-fp-zoom-inner {
  transform-origin: center center;
  transition: transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-fp-zoom-img { font-size: 8rem; color: var(--rf-blue); opacity: 0.3; }

.pd-fp-zoom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--rf-border);
  gap: 8px;
}
.pd-fp-zoom-nav-btn {
  background: none;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: border-color 0.15s, color 0.15s;
}
.pd-fp-zoom-nav-btn:hover { border-color: var(--rf-blue); color: var(--rf-blue); }
.pd-fp-zoom-nav-btn:disabled { opacity: 0.4; pointer-events: none; }
.pd-fp-dl-btn { padding: 8px 16px; font-size: 13px; }

/* Config view-all link as button */
.pd-config-viewall-btn,
.pd-amenities-viewall-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
}


/* =============================================================
   LEAD CAPTURE MODAL — reusable across all CTAs
   ============================================================= */
.pd-lead-modal .modal-dialog { max-width: 460px; }

.pd-lead-modal .modal-content {
  border: none;
  border-radius: var(--rf-r-lg);
  overflow: visible;
  box-shadow: var(--rf-shadow-lg);
}

.pd-lead-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.pd-lead-modal-body {
  padding: 32px 28px 28px;
}

/* ── Form view ─────────────────────────────────────────────── */
.pd-lead-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rf-navy);
  margin: 0 0 6px;
  padding-right: 24px;
}

.pd-lead-modal-sub {
  font-size: 13px;
  color: var(--rf-text-muted);
  margin: 0 0 22px;
  line-height: 1.5;
}

.pd-lead-field { margin-bottom: 16px; }

.pd-lead-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-text);
  margin-bottom: 7px;
}

.pd-lead-req { color: var(--pd-red); }
.pd-lead-optional { font-weight: 400; color: var(--rf-text-light); }

.pd-lead-input {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 0 14px;
  font-size: 16px;
  font-family: var(--rf-font);
  color: var(--rf-text);
  outline: none;
  transition: border-color var(--rf-t), box-shadow var(--rf-t);
  -webkit-appearance: none;
}

.pd-lead-input::placeholder { color: var(--rf-text-light); font-size: 13.5px; }
.pd-lead-input:focus { border-color: var(--rf-blue); box-shadow: 0 0 0 3px rgba(20, 85, 204, 0.11); }
.pd-lead-input.pd-lead-invalid { border-color: #dc3545; }

.pd-lead-err {
  display: block;
  visibility: hidden;
  font-size: 11.5px;
  line-height: 14px;
  color: #dc3545;
  margin-top: 6px;
}
.pd-lead-err.show { visibility: visible; }

/* Phone group + country selector */
.pd-lead-phone-group {
  position: relative;
  display: flex;
  gap: 8px;
}

.pd-lead-country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 48px;
  border: 1.5px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-family: var(--rf-font);
  color: var(--rf-text);
  flex-shrink: 0;
  transition: border-color var(--rf-t);
}
.pd-lead-country-btn:hover,
.pd-lead-country-btn[aria-expanded="true"] { border-color: var(--rf-blue); }
.pd-lead-country-flag { font-size: 17px; line-height: 1; }
.pd-lead-country-code { font-weight: 600; }
.pd-lead-country-btn .bi-chevron-down { font-size: 10px; margin-left: 1px; }

.pd-lead-phone-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 1.5px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 0 14px;
  font-size: 16px;
  font-family: var(--rf-font);
  color: var(--rf-text);
  outline: none;
  transition: border-color var(--rf-t), box-shadow var(--rf-t);
  -webkit-appearance: none;
}
.pd-lead-phone-input::placeholder { color: var(--rf-text-light); }
.pd-lead-phone-input:focus { border-color: var(--rf-blue); box-shadow: 0 0 0 3px rgba(20, 85, 204, 0.11); }
.pd-lead-phone-input.pd-lead-invalid { border-color: #dc3545; }

.pd-lead-country-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 290px;
  max-width: calc(100vw - 56px);
  background: #fff;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  box-shadow: var(--rf-shadow-lg);
  z-index: 20;
  overflow: hidden;
}
.pd-lead-country-dropdown.show { display: block; }

.pd-lead-country-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rf-border);
  color: var(--rf-text-light);
}
.pd-lead-country-search-wrap i { font-size: 13px; }

.pd-lead-country-search {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--rf-font);
  color: var(--rf-text);
  min-width: 0;
}
.pd-lead-country-search::placeholder { color: var(--rf-text-light); }

.pd-lead-country-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 0;
}

.pd-lead-country-group-label {
  padding: 6px 14px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--rf-text-light);
}

.pd-lead-country-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--rf-font);
  font-size: 13.5px;
  color: var(--rf-text);
  text-align: left;
}
.pd-lead-country-opt:hover,
.pd-lead-country-opt[aria-selected="true"] { background: var(--rf-blue-soft); }
.pd-lead-country-opt-flag { font-size: 16px; flex-shrink: 0; }
.pd-lead-country-opt-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-lead-country-opt-dial { color: var(--rf-text-muted); flex-shrink: 0; }

.pd-lead-country-empty {
  padding: 20px 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--rf-text-muted);
  margin: 0;
}

/* Terms checkbox */
.pd-lead-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 22px;
}

.pd-lead-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--pd-red);
  cursor: pointer;
}

.pd-lead-checkbox-label {
  font-size: 12.5px;
  color: var(--rf-text-muted);
  line-height: 1.55;
  cursor: pointer;
}
.pd-lead-checkbox-label a { color: var(--rf-blue); text-decoration: underline; }
.pd-lead-checkbox-label a:hover { color: var(--rf-blue-dark); }

/* Submit button — dynamic label per CTA */
.pd-lead-submit-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: var(--rf-r-md);
  background: var(--pd-red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--rf-font);
  cursor: pointer;
  transition: background var(--rf-t), box-shadow var(--rf-t), transform 0.14s ease;
}
.pd-lead-submit-btn:hover:not(:disabled) {
  background: var(--pd-red-dark);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.30);
  transform: translateY(-1px);
}
.pd-lead-submit-btn:active:not(:disabled) { transform: translateY(0); }
.pd-lead-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Success view ──────────────────────────────────────────── */
.pd-lead-success-view {
  text-align: center;
  padding: 12px 4px 4px;
}

.pd-lead-success-ico {
  font-size: 52px;
  color: var(--rf-green);
  margin-bottom: 14px;
  animation: pdFadeIn 0.3s ease;
}

.pd-lead-success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rf-navy);
  margin: 0 0 10px;
}

.pd-lead-success-desc {
  font-size: 13.5px;
  color: var(--rf-text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.pd-lead-success-close-btn {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  background: #fff;
  color: var(--rf-text);
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--rf-font);
  cursor: pointer;
  transition: border-color var(--rf-t), color var(--rf-t);
}
.pd-lead-success-close-btn:hover { border-color: var(--rf-blue); color: var(--rf-blue); }


/* =============================================================
   OTP VERIFICATION VIEW — reusable component (identical markup/
   CSS/JS to search-results.css + search-results.js's copy, per
   this project's no-shared-include convention). Sits between the
   Lead form view and the Success view inside #pdLeadModal; every
   CTA on this page must pass through it before its success action
   (contact reveal / download / acknowledgement) runs.
   ============================================================= */
.pd-lead-otp-view { text-align: center; }

.pd-otp-icon {
  width: 60px;
  height: 60px;
  background: var(--rf-blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.pd-otp-icon i { font-size: 24px; color: var(--rf-blue); }

.pd-otp-title { text-align: center; }

.pd-otp-sent {
  font-size: 13px;
  color: var(--rf-text-muted);
  text-align: center;
  margin: 0 0 20px;
}
.pd-otp-phone { color: var(--rf-text); font-weight: 700; }
.pd-otp-change-btn {
  background: none;
  border: none;
  color: var(--rf-blue);
  font: 600 12.5px var(--rf-font);
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
  text-decoration: underline;
}

.pd-otp-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.pd-otp-digit {
  width: 44px;
  height: 52px;
  border: 1.5px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--rf-font);
  color: var(--rf-text);
  outline: none;
  transition: border-color var(--rf-t), box-shadow var(--rf-t);
  -webkit-appearance: none;
}
.pd-otp-digit::-webkit-outer-spin-button,
.pd-otp-digit::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-otp-digit:focus { border-color: var(--rf-blue); box-shadow: 0 0 0 3px rgba(20, 85, 204, 0.11); }
.pd-otp-digit.filled { border-color: var(--rf-blue); }
.pd-otp-digit.error { border-color: #dc3545; animation: pd-otp-shake 0.38s ease; }

@keyframes pd-otp-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(3px); }
}

.pd-otp-error {
  visibility: hidden;
  font-size: 12.5px;
  color: #dc3545;
  margin: 0 0 10px;
}
.pd-otp-error.show { visibility: visible; }

.pd-otp-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--rf-text-muted);
  margin-bottom: 14px;
}
.pd-otp-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid var(--rf-blue-soft);
  border-top-color: var(--rf-blue);
  border-radius: 50%;
  animation: pd-otp-spin 0.7s linear infinite;
}
@keyframes pd-otp-spin { to { transform: rotate(360deg); } }

.pd-otp-resend-row { margin-bottom: 18px; }
.pd-otp-resend-btn {
  background: none;
  border: none;
  color: var(--rf-text-light);
  font: 600 12.5px var(--rf-font);
  cursor: not-allowed;
  padding: 0;
}
.pd-otp-resend-btn.active { color: var(--rf-blue); cursor: pointer; }
.pd-otp-timer { font-weight: 700; color: var(--rf-blue); }

/* ── Success view — contact reveal / download / acknowledgement
   content variants, swapped in by handleVerifiedAction() ────── */
.pd-otp-contact-card {
  background: var(--rf-bg-light);
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 16px;
  margin: 0 0 20px;
  text-align: left;
}
.pd-otp-contact-project {
  font: 700 15px var(--rf-font);
  color: var(--rf-navy);
  margin: 0 0 6px;
}
.pd-otp-contact-role {
  font-size: 12px;
  color: var(--rf-text-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 2px;
}
.pd-otp-contact-person {
  font: 600 14px var(--rf-font);
  color: var(--rf-text);
  margin: 0 0 10px;
}
.pd-otp-contact-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 17px var(--rf-font);
  color: var(--rf-blue);
  margin: 0;
}

/* ── Mobile — bottom sheet ─────────────────────────────────── */
@media (max-width: 767px) {
  .pd-lead-modal .modal-dialog {
    margin: 0;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
  }
  .pd-lead-modal .modal-content {
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    animation: pdLeadSheetUp 0.28s ease;
  }
  .pd-lead-modal-body { padding: 26px 20px 24px; }
  .pd-lead-country-dropdown { width: 100%; max-width: none; }
}

@keyframes pdLeadSheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .pd-lead-modal .modal-content { animation: none; }
}
