.pd-breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 56px 0;
}

/* ---------- GALLERY ---------- */
.pd-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 56px 0;
}

.pd-gallery-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
}
.pd-gallery-main img { width: 100%; height: 480px; object-fit: cover; }
.pd-badge { top: 20px; left: 20px; }

.pd-gallery-thumbs-wrap {
  position: relative;
}
.pd-gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pd-gallery-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
  flex: 0 0 110px;
  scroll-snap-align: start;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: none;
  aspect-ratio: 4/3;
  opacity: .7;
}
.pd-thumb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border, #e1e1e1);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  z-index: 2;
}
.pd-thumb-arrow svg { width: 18px; height: 18px; }
.pd-thumb-prev { left: -14px; }
.pd-thumb-next { right: -14px; }
.pd-thumb-arrow[hidden] { display: none; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb-active { border-color: var(--gold); opacity: 1; }

/* ---------- LAYOUT ---------- */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 56px 100px;
  align-items: start;
}

.pd-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.pd-title-row h1 { font-size: 28px; font-weight: 600; margin-bottom: 10px; }

.pd-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--gray-text);
}
.pd-address svg { width: 16px; height: 16px; }

.pd-price { font-size: 26px; font-weight: 700; color: var(--gold-bright); white-space: nowrap; }

.pd-meta-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: var(--cream);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 12px;
}
.pd-meta-item { display: flex; align-items: center; gap: 10px; }
.pd-meta-item svg { width: 20px; height: 20px; color: var(--gold-bright); flex-shrink: 0; }
.pd-meta-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--gray-text); font-style: italic; }
.pd-meta-item span { display: block; font-size: 12px; color: var(--gray-text); }

.pd-meta-note { font-size: 15px; color: var(--gray-text); margin-bottom: 36px; }
.pd-features-note { font-size: 16px; line-height: 1.7; color: var(--gray-text); }
.pd-features-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pd-features-list:empty { display: none; }
.pd-feature-chip {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
}

.pd-section { margin-bottom: 40px; }
.pd-section h2 { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.pd-section p { font-size: 16px; line-height: 1.75; color: var(--gray-text); }

.pd-map {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.pd-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- SIDEBAR ---------- */
.pd-sidebar {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 24px;
}
.pd-sidebar h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.pd-sidebar-lead { font-size: 15px; line-height: 1.6; color: var(--gray-text); margin-bottom: 20px; }

.pd-agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.pd-agent-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.pd-agent-photo-placeholder {
  background: var(--gold-light);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-agent-photo-placeholder svg { width: 55%; height: 55%; }
.pd-agent-name { font-size: 14px; font-weight: 600; }
.pd-agent-role { font-size: 12px; color: var(--gold-bright); }

.pd-contact-actions { margin-bottom: 28px; }
.pd-contact-btn { width: 100%; justify-content: center; padding: 12px; }
.pd-contact-btn svg { width: 17px; height: 17px; }

.pd-tour-form label {
  display: block;
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 14px;
}
.pd-tour-form input,
.pd-tour-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  resize: vertical;
}
.pd-tour-submit { width: 100%; justify-content: center; padding: 13px; margin-top: 4px; }

/* ---------- SIMILAR PROPERTIES ---------- */
.similar { background: var(--cream); padding: 80px 56px; }
.similar-intro { max-width: 1440px; margin: 0 auto 32px; }
.similar-intro h2 { font-size: 26px; font-weight: 600; margin-top: 8px; }
.similar .property-cards { max-width: 1440px; margin: 0 auto; grid-template-columns: repeat(4, 1fr); }
.similar .card { background: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-sidebar { position: static; }
  .pd-meta-strip { grid-template-columns: repeat(3, 1fr); }
  .similar .property-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .pd-breadcrumb, .pd-hero { padding-left: 20px; padding-right: 20px; }
  .pd-layout { padding: 32px 20px 56px; }
  .pd-title-row { flex-direction: column; }
  .pd-gallery-main img { height: 260px; }
  .pd-meta-strip { grid-template-columns: 1fr 1fr; }
  .similar { padding: 56px 20px; }
  .similar .property-cards { grid-template-columns: 1fr; }
}

.pd-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.pd-share-label {
  font-size: 13px;
  color: var(--gray-text, #6b6b6b);
  margin-right: 2px;
}
.pd-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border, #e1e1e1);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink, #1a1a1a);
  transition: background .15s;
}
.pd-share-btn:hover { background: var(--cream, #f5f1ea); }
.pd-share-btn svg { width: 17px; height: 17px; }
.pd-share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink, #1a1a1a);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.pd-share-toast.pd-show { opacity: 1; }
