/* =====================================================
   product.css — Guardian Luxury Real Estate · Product Detail
   #3366cc / #c9a96e / #0a1628
   ===================================================== */

:root {
  --pd-navy:   #3366cc;
  --pd-gold:   #c9a96e;
  --pd-dark:   #0a1628;
  --pd-text:   #1e293b;
  --pd-muted:  #64748b;
  --pd-border: #e8ecf0;
  --pd-surface:#f8fafc;
}

/* ── Gallery ─────────────────────────────────────────── */
.pd-gallery {
  background: #f1f5f9;
  padding: 20px 0;
  border-bottom: 1px solid #e8ecf0;
  line-height: 0;
}

/* ── Photo Grid ──────────────────────────────────────── */
.photo-grid {
  display: flex;
  gap: 3px;
  width: 100%;
  height: 456px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

@media (max-width: 767px) { .photo-grid { height: 220px; } }
@media (max-width: 480px)  { .photo-grid { height: 190px; } }

/* ── Grid wrapper + view-all button ── */
.pg-wrapper {
  position: relative;
}


/* ── Common cell ── */
.pg-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1e293b;
  flex-shrink: 0;
}
.pg-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.pg-cell:hover img { transform: scale(1.05); }

/* +N badge on last thumbnail */
.pg-badge {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  pointer-events: none;
}

/* ── Expand hint (2–3 photos: no +N badge, so show expand icon on hero) ── */
.pg-expand-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 7px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
  transition: background .2s;
}
.pg-cell:hover .pg-expand-hint { background: rgba(0,0,0,.72); }

@media (max-width: 480px) {
  .pg-expand-hint {
    font-size: 11px;
    padding: 5px 9px;
    gap: 5px;
    bottom: 7px;
    right: 7px;
  }
}

/* ── 1 photo — natural ratio, no crop ── */
.photo-grid.pg-1 {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.photo-grid.pg-1 .pg-cell { flex: 1; background: transparent; }
.photo-grid.pg-1 .pg-cell img { object-fit: contain; }
body.is-luxury .photo-grid.pg-1 .pg-cell { background: #040a14; }

/* ── Hero flex: 1.5  (was 2.2)
   hero: 1.5/2.5 = 60%   aside: 1/2.5 = 40%
   Less horizontal squish on hero, wider thumbnail area ── */

/* ── 2 photos ── */
.photo-grid.pg-2 .pg-cell:first-child { flex: 1.5; }
.photo-grid.pg-2 .pg-cell:last-child  { flex: 1; }

/* ── 3 photos ── */
.photo-grid.pg-3 .pg-big  { flex: 1.5; }
.photo-grid.pg-3 .pg-aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.photo-grid.pg-3 .pg-aside .pg-cell { flex: 1; width: 100%; }

/* ── 4 photos — hero left + aside right (top 100% / bottom 50/50) ── */
.photo-grid.pg-4 .pg-big { flex: 1.5; }
.photo-grid.pg-4 .pg-aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.photo-grid.pg-4 .pg-aside > .pg-cell { flex: 1; width: 100%; }
.photo-grid.pg-4 .pg-aside .pg-row {
  flex: 1;
  display: flex;
  gap: 3px;
}
.photo-grid.pg-4 .pg-aside .pg-row .pg-cell { flex: 1; }

/* ── 5+ photos ── */
.photo-grid.pg-5 .pg-big { flex: 1.5; }
.photo-grid.pg-5 .pg-aside {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.photo-grid.pg-5 .pg-row {
  flex: 1;
  display: flex;
  gap: 3px;
}
.photo-grid.pg-5 .pg-row .pg-cell { flex: 1; }

/* ── Modal (single photo view) ───────────────────────── */
.pd-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.pd-modal.active { display: flex; }

.pd-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,20,.75);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.pd-modal-box {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 92vw;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pd-modal-img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.pd-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .17s;
  z-index: 2;
}
.pd-modal-close:hover { background: rgba(255,255,255,.28); }

.pd-modal-hint {
  width: 100%;
  padding: 8px 16px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.55);
  font-size: 12px;
  text-align: center;
  letter-spacing: .4px;
}

.pd-modal-counter {
  padding: 10px 0 14px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: .5px;
}

/* ── Lightbox (vertical scroll — all photos) ─────────── */
.pd-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0f172a;
  flex-direction: column;
}
.pd-lightbox.active { display: flex; }

/* Header */
.pd-lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.pd-lb-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .2px;
}

.pd-lb-close {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: .17s;
}
.pd-lb-close:hover { background: rgba(255,255,255,.2); }

/* Vertical scroll area */
.pd-lb-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.pd-lb-scroll::-webkit-scrollbar { width: 4px; }
.pd-lb-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }

.pd-lb-scroll-item {
  width: 100%;
  max-width: 900px;
  flex-shrink: 0;
}
.pd-lb-scroll-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.pd-lb-scroll-num {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  padding: 7px 0 2px;
  letter-spacing: .4px;
}

/* Clickable cursor on scroll images */
.pd-lb-scroll-item img { cursor: zoom-in; }

/* ── Full-screen Image Viewer ────────────────────────── */
.pd-imgviewer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.96);
  flex-direction: column;
}
.pd-imgviewer.active { display: flex; }

.pd-iv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  flex-shrink: 0;
}
.pd-iv-counter {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.pd-iv-close {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  padding: 7px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pd-iv-close:hover { background: rgba(255,255,255,.18); }

.pd-iv-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.pd-iv-img {
  max-width: 92%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  user-select: none;
}
.pd-iv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}
.pd-iv-nav:hover { background: rgba(255,255,255,.25); }
.pd-iv-prev { left: 20px; }
.pd-iv-next { right: 20px; }

@media (max-width: 600px) {
  .pd-iv-nav { width: 38px; height: 38px; font-size: 14px; }
  .pd-iv-prev { left: 10px; }
  .pd-iv-next { right: 10px; }
}

/* ── Page Container ──────────────────────────────────── */
.pd-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Layout ──────────────────────────────────────────── */
.pd-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0 60px;
}

.pd-main {
  flex: 1;
  min-width: 0;
}

.pd-sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}

/* ── Title Card ──────────────────────────────────────── */
.pd-title-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--pd-border);
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(51,102,204,.06);
}

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

.pd-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
}

.pd-badge--type {
  background: rgba(201,169,110,.15);
  color: #8a6a30;
  border: 1px solid rgba(201,169,110,.35);
}

.pd-badge--listing {
  background: rgba(51,102,204,.10);
  color: var(--pd-navy);
  border: 1px solid rgba(51,102,204,.25);
}

.pd-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--pd-text);
  line-height: 1.35;
  margin-bottom: 10px;
}

.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--pd-muted);
}

.pd-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pd-meta-item i {
  color: var(--pd-gold);
  font-size: 12px;
}

.pd-specs-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--pd-border);
}

.pd-spec-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--pd-text);
  font-weight: 600;
}

.pd-spec-chip i {
  color: var(--pd-gold);
  font-size: 12px;
}

/* ── Tabs ────────────────────────────────────────────── */
.pd-tabs-wrap {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--pd-border);
  box-shadow: 0 1px 8px rgba(51,102,204,.06);
  overflow: hidden;
}

.pd-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--pd-border);
  background: #ffffff;
  padding: 0 8px;
  gap: 4px;
}

.pd-tab-btn {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pd-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .17s, border-color .17s;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.pd-tab-btn i {
  font-size: 12px;
}

.pd-tab-btn:hover {
  color: var(--pd-text);
}

.pd-tab-btn:focus,
.pd-tab-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.pd-tab-btn.active {
  color: var(--pd-navy);
  border-bottom-color: var(--pd-navy);
  font-weight: 700;
}

.pd-tab-count {
  font-size: 10px;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--pd-muted);
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.pd-tab-btn.active .pd-tab-count {
  background: rgba(51,102,204,.1);
  color: var(--pd-navy);
}

.pd-tab-pane {
  display: none;
  padding: 24px 26px;
}

.pd-tab-pane.active {
  display: block;
}

/* ── Spec Table ──────────────────────────────────────── */
.pd-spec-section {
  margin-bottom: 24px;
}

.pd-spec-section:last-child {
  margin-bottom: 0;
}

.pd-spec-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--pd-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pd-border);
}

.pd-spec-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f8fafc;
}

.pd-spec-name {
  font-size: 13px;
  color: var(--pd-muted);
  width: 160px;
  flex-shrink: 0;
}

.pd-spec-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--pd-text);
  flex: 1;
}

.pd-spec-value a {
  color: var(--pd-navy);
  text-decoration: none;
}

.pd-spec-value a:hover {
  text-decoration: underline;
}

.pd-spec-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: #94a3b8;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--pd-border);
}

/* ── Floor Plan Images ───────────────────────────────── */
#image-PlanPicture-api img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--pd-border);
  margin-bottom: 16px;
  display: block;
}

/* ── Amenities ───────────────────────────────────────── */
.pd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pd-amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pd-text);
  padding: 8px 12px;
  background: var(--pd-surface);
  border-radius: 8px;
  border: 1px solid var(--pd-border);
}

.pd-amenity-item i {
  color: var(--pd-gold);
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Sidebar Cards ───────────────────────────────────── */
.pd-price-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--pd-border);
  padding: 22px 22px 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 8px rgba(51,102,204,.06);
}

.pd-price-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--pd-muted);
  margin-bottom: 6px;
}

.pd-price-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--pd-navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.pd-price-sub {
  font-size: 12px;
  color: var(--pd-muted);
  margin-bottom: 16px;
}

.pd-inquiry-btn {
  width: 100%;
  padding: 13px;
  background: var(--pd-navy);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.pd-inquiry-btn:hover {
  background: #2855b0;
  box-shadow: 0 6px 20px rgba(51,102,204,.3);
  transform: translateY(-1px);
}

.pd-back-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--pd-muted);
  border: 1.5px solid var(--pd-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  font-family: inherit;
  text-decoration: none;
}

.pd-back-btn:hover {
  border-color: #94a3b8;
  color: var(--pd-text);
  text-decoration: none;
}

/* ── Owner Card ──────────────────────────────────────── */
.pd-owner-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--pd-border);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 8px rgba(51,102,204,.06);
}

.pd-owner-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--pd-muted);
  margin-bottom: 12px;
}

.pd-owner {
  display: flex;
  align-items: center;
  gap: 13px;
}

.pd-owner-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,169,110,.4);
  flex-shrink: 0;
}

.pd-owner-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--pd-navy);
  cursor: pointer;
  transition: .17s;
}

.pd-owner-name:hover {
  text-decoration: underline;
}

.pd-owner-sub {
  font-size: 11px;
  color: var(--pd-muted);
  margin-top: 2px;
}

/* ── Info Card (code / views / share) ────────────────── */
.pd-info-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--pd-border);
  padding: 16px 20px;
  box-shadow: 0 1px 8px rgba(51,102,204,.06);
}

.pd-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--pd-muted);
  padding: 5px 0;
}

.pd-info-row + .pd-info-row {
  border-top: 1px solid var(--pd-border);
}

.pd-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pd-info-label i {
  color: var(--pd-gold);
  font-size: 11px;
}

.pd-info-val {
  font-weight: 700;
  color: var(--pd-text);
}

/* ── Share Row ───────────────────────────────────────── */
.pd-share-row {
  padding-top: 12px;
  border-top: 1px solid var(--pd-border);
  margin-top: 4px;
}

.pd-share-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--pd-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.pd-share-label i { color: var(--pd-gold); }

.pd-share-btns {
  display: flex;
  gap: 8px;
}

.pd-share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity .18s, transform .15s;
  font-family: inherit;
  text-decoration: none;
}

.pd-share-btn:hover { opacity: .82; transform: translateY(-1px); }
.pd-share-btn:active { transform: translateY(0); }

.pd-share-btn span { font-size: 11px; }

.pd-share-btn--line {
  background: #06c755;
  color: #ffffff;
}

.pd-share-btn--fb {
  background: #1877f2;
  color: #ffffff;
}

.pd-share-btn--copy {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.pd-share-btn--copy.copied {
  background: rgba(34,197,94,.12);
  color: #16a34a;
  border-color: rgba(34,197,94,.3);
}

/* ── Map Tab ─────────────────────────────────────────── */
.pd-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--pd-border);
  background: var(--pd-surface);
  height: 420px;
  min-height: 420px;
  position: relative;
}

/* Google Maps JS API fills container */
#pd-google-map {
  width: 100%;
  height: 100%;
}

.pd-map-wrap iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.pd-map-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 14px;
}

.pd-map-empty i {
  font-size: 40px;
  color: var(--pd-gold);
  opacity: .45;
}

/* Open in Google Maps link */
.pd-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 18px;
  background: var(--pd-navy);
  color: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .17s;
}

.pd-map-link:hover {
  background: #2855b0;
  color: #ffffff;
  text-decoration: none;
}

.pd-map-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 14px 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .pd-layout {
    flex-direction: column-reverse;
    padding: 20px 0 48px;
    align-items: stretch;
  }

  .pd-main {
    width: 100%;
  }

  .pd-sidebar {
    width: 100%;
    position: static;
  }

  /* Price + inquiry card full width on mobile */
  .pd-price-card {
    display: flex;
    flex-direction: column;
  }

  .pd-amenities-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════
   LUXURY MODE  (body.is-luxury)
   Triggered when: htName = บ้านเดี่ยว && prSalePrice > 10M
══════════════════════════════════════════════════════ */

/* ── Luxury badge ───────────────────────────────────── */
.pd-badge--luxury {
  background: rgba(201,169,110,.12);
  color: #c9a96e;
  border: 1px solid rgba(201,169,110,.35);
  letter-spacing: 1.5px;
  font-size: 9px;
}
.pd-badge--luxury i { margin-right: 3px; }

/* ── Page background ────────────────────────────────── */
body.is-luxury {
  background: linear-gradient(175deg, #070e1a 0%, #0a1525 60%, #060c17 100%);
}

/* ── Gallery ────────────────────────────────────────── */
body.is-luxury .pd-gallery {
  background: #040a14;
  border-bottom: 1px solid rgba(201,169,110,.2);
}


body.is-luxury .pd-gallery-thumbs .owl-item.current img,
body.is-luxury .pd-gallery-thumbs .owl-item img:hover {
  border-color: #c9a96e;
}

/* ── site__body background ──────────────────────────── */
body.is-luxury .site__body {
  background: transparent;
}

/* ── Title card ─────────────────────────────────────── */
body.is-luxury .pd-title-card {
  background: linear-gradient(145deg, #0b1829, #0e1f34);
  border-color: rgba(201,169,110,.18);
  box-shadow: 0 4px 28px rgba(0,0,0,.5);
}

body.is-luxury .pd-title { color: #ffffff; }

body.is-luxury .pd-badge--type {
  background: rgba(201,169,110,.12);
  color: #c9a96e;
  border-color: rgba(201,169,110,.3);
}

body.is-luxury .pd-badge--listing {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.12);
}

body.is-luxury .pd-meta-item { color: rgba(255,255,255,.45); }
body.is-luxury .pd-meta-item i { color: #c9a96e; }

body.is-luxury .pd-specs-quick {
  border-top-color: rgba(255,255,255,.07);
}

body.is-luxury .pd-spec-chip {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.09);
  color: rgba(255,255,255,.8);
}

body.is-luxury .pd-spec-chip i { color: #c9a96e; }

/* ── Tabs ───────────────────────────────────────────── */
body.is-luxury .pd-tabs-wrap {
  background: #0b1829;
  border-color: rgba(201,169,110,.15);
  box-shadow: 0 4px 28px rgba(0,0,0,.4);
}

body.is-luxury .pd-tabs-nav {
  background: #0b1829;
  border-bottom-color: rgba(201,169,110,.12);
}

body.is-luxury .pd-tab-btn { color: rgba(255,255,255,.4); }
body.is-luxury .pd-tab-btn:hover { color: rgba(255,255,255,.75); }
body.is-luxury .pd-tab-btn.active {
  color: #c9a96e;
  border-bottom-color: #c9a96e;
}

body.is-luxury .pd-tab-count {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.4);
}

body.is-luxury .pd-tab-btn.active .pd-tab-count {
  background: rgba(201,169,110,.12);
  color: #c9a96e;
}

/* ── Spec table ─────────────────────────────────────── */
body.is-luxury .pd-spec-section-title {
  color: #c9a96e;
  border-bottom-color: rgba(201,169,110,.15);
}

body.is-luxury .pd-spec-name  { color: rgba(255,255,255,.38); }
body.is-luxury .pd-spec-value { color: rgba(255,255,255,.82); }
body.is-luxury .pd-spec-row   { border-bottom-color: rgba(255,255,255,.05); }

body.is-luxury .pd-spec-disclaimer {
  background: rgba(255,255,255,.04);
  border-left-color: rgba(201,169,110,.3);
  color: rgba(255,255,255,.35);
}

/* ── Amenities ──────────────────────────────────────── */
body.is-luxury .pd-amenity-item {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
}

body.is-luxury .pd-amenity-item i { color: #c9a96e; }

/* ── Map ────────────────────────────────────────────── */
body.is-luxury .pd-map-wrap {
  border-color: rgba(201,169,110,.15);
  background: #0b1829;
}

body.is-luxury .pd-map-link {
  background: linear-gradient(135deg, #c9a96e, #b8903a);
  color: #fff;
}

body.is-luxury .pd-map-link:hover {
  background: linear-gradient(135deg, #d4b77e, #c9a96e);
  color: #fff;
}

/* ── Price card ─────────────────────────────────────── */
body.is-luxury .pd-price-card {
  background: linear-gradient(155deg, #0c1c30, #101f38);
  border: 1px solid rgba(201,169,110,.28);
  box-shadow:
    0 8px 36px rgba(0,0,0,.55),
    0 0 0 1px rgba(201,169,110,.07),
    inset 0 1px 0 rgba(201,169,110,.06);
}

body.is-luxury .pd-price-label { color: rgba(201,169,110,.55); }

body.is-luxury .pd-price-value {
  color: #c9a96e;
  text-shadow: 0 0 24px rgba(201,169,110,.2);
}

body.is-luxury .pd-price-sub { color: rgba(255,255,255,.4); margin-bottom: 20px; }

body.is-luxury .pd-inquiry-btn {
  background: linear-gradient(135deg, #c9a96e 0%, #a87a2e 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,169,110,.35);
}

body.is-luxury .pd-inquiry-btn:hover {
  background: linear-gradient(135deg, #d9bb80 0%, #c9a96e 100%);
  box-shadow: 0 8px 28px rgba(201,169,110,.45);
  transform: translateY(-2px);
}

body.is-luxury .pd-back-btn {
  color: rgba(255,255,255,.35);
  border-color: rgba(255,255,255,.1);
}

body.is-luxury .pd-back-btn:hover {
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.22);
  text-decoration: none;
}

/* ── Owner card ─────────────────────────────────────── */
body.is-luxury .pd-owner-card {
  background: linear-gradient(145deg, #0b1829, #0e1f34);
  border-color: rgba(201,169,110,.15);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

body.is-luxury .pd-owner-card-title { color: rgba(255,255,255,.35); }
body.is-luxury .pd-owner-name { color: #c9a96e; }
body.is-luxury .pd-owner-sub  { color: rgba(255,255,255,.35); }

body.is-luxury .pd-owner-avatar {
  border-color: rgba(201,169,110,.5);
  box-shadow: 0 0 12px rgba(201,169,110,.15);
}

/* ── Info card ──────────────────────────────────────── */
body.is-luxury .pd-info-card {
  background: linear-gradient(145deg, #0b1829, #0e1f34);
  border-color: rgba(201,169,110,.15);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

body.is-luxury .pd-info-row { color: rgba(255,255,255,.35); }
body.is-luxury .pd-info-row + .pd-info-row { border-top-color: rgba(255,255,255,.06); }
body.is-luxury .pd-info-label i { color: #c9a96e; }
body.is-luxury .pd-info-val { color: rgba(255,255,255,.75); }

body.is-luxury .pd-share-row { border-top-color: rgba(255,255,255,.07); }
body.is-luxury .pd-share-label { color: rgba(255,255,255,.35); }
body.is-luxury .pd-share-label i { color: #c9a96e; }

body.is-luxury .pd-share-btn--copy {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.1);
}

/* ── Floor plan images ──────────────────────────────── */
body.is-luxury #image-PlanPicture-api img {
  border-color: rgba(201,169,110,.15);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

@media (max-width: 600px) {
  .pd-container {
    padding: 0 16px;
  }

  .pd-title {
    font-size: 18px;
  }

  .pd-price-value {
    font-size: 22px;
  }

  .pd-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pd-tab-btn {
    padding: 12px 16px;
    font-size: 12px;
  }

  .pd-spec-name {
    width: 120px;
  }

  .pd-gallery-inner {
    padding: 0 12px;
  }

  .pd-gallery-main {
    border-radius: 10px;
    /* portrait ratio on mobile suits phone photos better */
    aspect-ratio: 4 / 3;
  }

  /* ── Luxury hero mobile ──────────────────────────── */
  .pd-lx-hero {
    padding: 60px 16px 28px;
  }

  .pd-lx-hero-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .pd-lx-hero-price {
    font-size: 22px;
  }

  .pd-lx-hero-loc {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .pd-lx-hero-label {
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
  }

  /* ── Luxury ribbon mobile ────────────────────────── */
  .pd-lx-ribbon-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .pd-lx-stat {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 16px 10px;
  }

  .pd-lx-stat-num {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .pd-lx-stat-lbl {
    font-size: 11px;
  }

  /* ── Prevent horizontal overflow ─────────────────── */
  .pd-gallery--luxury,
  .pg-wrapper {
    overflow-x: hidden;
  }
}

/* ══════════════════════════════════════════════════════
   LUXURY LAYOUT  — cinematic gallery + hero + ribbon
   Applied via .pd-gallery--luxury (class added by JS)
══════════════════════════════════════════════════════ */

/* Luxury gallery — same layout as regular, only gold border accent */

/* ── Hero overlay ────────────────────────────────── */
.pd-lx-hero {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 100px 60px 48px;
  background: linear-gradient(
    to top,
    rgba(3,8,18,.95) 0%,
    rgba(3,8,18,.6)  40%,
    transparent      100%
  );
  z-index: 5;
  pointer-events: none;
}

.pd-lx-hero-inner {
  max-width: 860px;
}

.pd-lx-hero-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: #c9a96e;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pd-lx-hero-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 12px;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
}

.pd-lx-hero-loc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pd-lx-hero-loc i { color: #c9a96e; font-size: 12px; }

.pd-lx-hero-price {
  font-size: 30px;
  font-weight: 800;
  color: #c9a96e;
  letter-spacing: .5px;
  text-shadow: 0 0 32px rgba(201,169,110,.35);
}

/* ── Stats ribbon ────────────────────────────────── */
.pd-lx-ribbon {
  background: linear-gradient(90deg, #060e1b 0%, #0c1a2e 50%, #060e1b 100%);
  border-bottom: 1px solid rgba(201,169,110,.14);
}

.pd-lx-ribbon-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}

.pd-lx-stat {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
}

.pd-lx-stat-num {
  font-size: 34px;
  font-weight: 900;
  color: #c9a96e;
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -1px;
}

.pd-lx-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,.42);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.pd-lx-stat-lbl i { color: rgba(201,169,110,.5); font-size: 11px; }

.pd-lx-stat-sep {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,169,110,.18), transparent);
  margin: 14px 0;
  flex-shrink: 0;
}

/* ── Responsive luxury (inherits regular grid heights) ── */

/* =====================================================
   Chat Drawer — .ch-*
   ===================================================== */

/* ── Chat button in price card ── */
.pd-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--pd-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 10px;
}
.pd-chat-btn:hover {
  background: #2255bb;
  transform: translateY(-1px);
}
/* Inline unread badge on chat button */
.ch-unread-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 20px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-left: 8px;
  box-shadow: 0 2px 6px rgba(239,68,68,.35);
  animation: chBadgePop 0.25s ease;
}
@keyframes chBadgePop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
/* Flash animation when new message arrives */
.ch-btn-notify {
  animation: chBtnFlash 0.4s ease 3;
}
@keyframes chBtnFlash {
  0%, 100% { background: var(--pd-navy); }
  50%      { background: #10b981; }
}

/* ── Notification bar (fixed bottom) ────────────────────── */
.ch-notify-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f2044;
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  z-index: 9999;
  font-size: 14px;
  font-weight: 600;
  min-width: 280px;
  animation: chBarSlideUp 0.3s ease;
}
@keyframes chBarSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.ch-notify-ico {
  font-size: 20px;
  color: #6ee7b7;
  flex-shrink: 0;
}
.ch-notify-txt { flex: 1; }
.ch-notify-btn {
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.ch-notify-btn:hover { background: #4f46e5; }
.ch-notify-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.15s;
}
.ch-notify-close:hover { color: #fff; }

/* ── Tel link in owner card ── */
/* ── Owner action buttons wrapper ──────────────────────────── */
.pd-owner-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ── Phone button ───────────────────────────────────────────── */
.pd-owner-tel {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f0f5ff;
  border: 1px solid #c7d8f8;
  border-radius: 10px;
  color: var(--pd-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s;
  min-width: 0;
}
.pd-owner-tel:hover {
  background: #dde9ff;
  color: var(--pd-navy);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── LINE button ────────────────────────────────────────────── */
.pd-owner-line {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: #06C755;
  border: 1.5px solid #06C755;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, box-shadow .18s, transform .15s;
  min-width: 0;
}
.pd-owner-line:hover {
  background: #05b34c;
  border-color: #05b34c;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6,199,85,.4);
  transform: translateY(-1px);
}
/* LINE app icon badge */
.pd-line-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,.2);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Luxury: phone button → gold gradient ───────────────────── */
body.is-luxury .pd-owner-tel {
  background: linear-gradient(135deg, #c9a96e 0%, #9a7233 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(201,169,110,.35);
  letter-spacing: .3px;
}
body.is-luxury .pd-owner-tel:hover {
  background: linear-gradient(135deg, #d9bb80 0%, #c9a96e 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(201,169,110,.45);
  transform: translateY(-2px);
}
body.is-luxury .pd-owner-tel i { color: #fff4dc; }

/* ── Luxury: LINE button → glass dark green ─────────────────── */
body.is-luxury .pd-owner-line {
  background: rgba(6,199,85,.08);
  border-color: rgba(6,199,85,.3);
  color: #4ade80;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(6,199,85,.1);
}
body.is-luxury .pd-owner-line:hover {
  background: rgba(6,199,85,.16);
  color: #86efac;
  box-shadow: 0 6px 22px rgba(6,199,85,.2);
  transform: translateY(-2px);
}
body.is-luxury .pd-line-logo {
  background: rgba(6,199,85,.75);
  box-shadow: 0 0 8px rgba(6,199,85,.3);
}

/* ── ภาษาที่สื่อสาร ───────────────────────────────────────── */
.pd-lang-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--pd-border);
}
.pd-lang-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--pd-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.pd-lang-label i { color: var(--pd-gold); font-size: 11px; }
.pd-lang-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}
body.is-luxury .pd-lang-row { border-top-color: rgba(255,255,255,.07); }
body.is-luxury .pd-lang-label { color: rgba(255,255,255,.35); }
body.is-luxury .pd-lang-chip {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
}

/* ── Overlay ── */
.ch-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  z-index: 1100;
  backdrop-filter: blur(2px);
}
.ch-overlay.ch-open { display: block; }

/* ── Drawer ── */
.ch-drawer {
  position: fixed;
  bottom: 0;
  right: 24px;
  width: 360px;
  max-height: 520px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
  z-index: 1101;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.ch-drawer.ch-open { transform: translateY(0); }

@media (max-width: 600px) {
  .ch-drawer {
    right: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }
}

/* ── Header ── */
.ch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--pd-navy);
  color: #fff;
  flex-shrink: 0;
}
.ch-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ch-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.4);
}
.ch-header-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.ch-header-sub {
  font-size: 11px;
  opacity: 0.75;
}
.ch-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s;
}
.ch-close:hover { background: rgba(255,255,255,0.15); }

/* ── Intro form ── */
.ch-intro {
  padding: 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ch-intro p {
  font-size: 13px;
  color: var(--pd-muted);
  margin: 0 0 4px;
}
.ch-name-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  font-size: 14px;
  color: var(--pd-text);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.ch-name-input:focus { border-color: var(--pd-navy); }
.ch-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--pd-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
}
.ch-start-btn:hover  { background: #2255bb; }
.ch-start-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Messages area ── */
.ch-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}
.ch-message {
  display: flex;
  flex-direction: column;
  max-width: 78%;
}
.ch-message--guest {
  align-self: flex-end;
  align-items: flex-end;
}
.ch-message--agent {
  align-self: flex-start;
  align-items: flex-start;
}
.ch-bubble {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}
.ch-message--guest .ch-bubble {
  background: var(--pd-navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ch-message--agent .ch-bubble {
  background: #f1f5f9;
  color: var(--pd-text);
  border-bottom-left-radius: 4px;
}
.ch-time {
  font-size: 10px;
  color: var(--pd-muted);
  margin-top: 3px;
  padding: 0 2px;
}

/* ── Input bar ── */
.ch-input-bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px 14px;
  border-top: 1px solid #e8ecf0;
  flex-shrink: 0;
}
.ch-textarea {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #d1d9e6;
  border-radius: 20px;
  font-size: 14px;
  resize: none;
  outline: none;
  max-height: 100px;
  overflow-y: auto;
  line-height: 1.4;
  transition: border-color 0.2s;
}
.ch-textarea:focus { border-color: var(--pd-navy); }
.ch-send-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pd-navy);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}
.ch-send-btn:hover { background: #2255bb; transform: scale(1.08); }


/* ── Description Tab ─────────────────────────────────── */
.pd-desc-wrap {
  padding: 4px 0;
}
.pd-desc-empty {
  color: var(--pd-muted);
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
}
.pd-desc-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--pd-text);
}
/* Quill output normalization */
.pd-desc-body p   { margin-bottom: 10px; }
.pd-desc-body h1,
.pd-desc-body h2,
.pd-desc-body h3  { font-weight: 700; margin: 16px 0 8px; color: var(--pd-navy); }
.pd-desc-body ul,
.pd-desc-body ol  { padding-left: 20px; margin-bottom: 10px; }
.pd-desc-body li  { margin-bottom: 4px; }
.pd-desc-body strong { font-weight: 700; }
.pd-desc-body em  { font-style: italic; }
.pd-desc-body a   { color: var(--pd-blue); text-decoration: underline; }
.pd-desc-body img { max-width: 100%; border-radius: 8px; margin: 8px 0; }

/* ── Hashtags Strip ──────────────────────────────────── */
.pd-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--pd-border);
}
.pd-hashtag {
  display: inline-block;
  background: #eef3fb;
  color: #1a4fa0;
  border-radius: 20px;
  padding: 4px 13px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
  letter-spacing: .2px;
}
.pd-hashtag:hover {
  background: #0f2044;
  color: #fff;
  text-decoration: none;
}
body.is-luxury .pd-hashtag {
  background: #2a1e10;
  color: #c9a96e;
}
body.is-luxury .pd-hashtag:hover {
  background: #c9a96e;
  color: #0a1628;
}

/* ── Luxury: description text ────────────────────────────── */
body.is-luxury .pd-desc-body {
  color: rgba(255, 255, 255, 0.85);
}
body.is-luxury .pd-desc-body h1,
body.is-luxury .pd-desc-body h2,
body.is-luxury .pd-desc-body h3 {
  color: #c9a96e;
}
body.is-luxury .pd-desc-body a {
  color: #c9a96e;
}
body.is-luxury .pd-desc-body strong {
  color: #ffffff;
}
body.is-luxury .pd-desc-empty {
  color: rgba(255, 255, 255, 0.3);
}

/* ── YouTube embed (responsive 16:9) ─────────────────────── */
.pd-youtube-wrap {
  padding: 8px 0 16px;
}
.pd-youtube-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.pd-youtube-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
body.is-luxury .pd-youtube-responsive {
  border: 1px solid rgba(201,169,110,0.3);
}
