/* ═══════════════════════════════════════════════════════════
   ViveBKK — property.css  (blue/white scheme)
═══════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────── */
.prop-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--bg-muted);
  padding: 10px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.prop-breadcrumb .container { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prop-breadcrumb a { color: var(--blue); transition: color .14s; }
.prop-breadcrumb a:hover { color: var(--blue-dark); }
.prop-breadcrumb span { color: var(--bg-muted); }

/* ── Hero image ──────────────────────────────────────────── */
.prop-hero {
  position: relative;
  width: 100%;
  height: 420px;
  background: var(--bg-soft);
  overflow: hidden;
}
.prop-hero-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.prop-hero-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-muted);
}
.prop-hero-badge {
  position: absolute; top: 16px;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: .04em;
}
.badge-excl  { left: 16px; background: var(--blue); color: #fff; }
.badge-verif { right: 16px; background: #059669; color: #fff; }

/* ── Main layout ─────────────────────────────────────────── */
.prop-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 64px;
}

/* ── Detail column ───────────────────────────────────────── */
.prop-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.prop-detail-name {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.prop-detail-addr {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; color: var(--text-muted);
}
.prop-detail-price-wrap { text-align: right; flex-shrink: 0; }
.prop-detail-price {
  font-size: 28px; font-weight: 800;
  color: var(--blue); line-height: 1;
}
.prop-detail-price-unit { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.prop-detail-price-alt  { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Key facts pills */
.prop-facts {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.prop-fact {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  flex: 1 1 180px;
}
.prop-fact-icon  { font-size: 18px; }
.prop-fact-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; display: block; }
.prop-fact-val   { font-size: 14px; color: var(--text); font-weight: 600; }
.transit-pill {
  font-size: 9px; font-weight: 800;
  color: #fff; padding: 2px 7px; border-radius: 4px;
  letter-spacing: .04em; flex-shrink: 0;
}

/* Sections */
.prop-section { margin-bottom: 32px; }
.prop-section-title {
  font-size: 18px; font-weight: 700;
  color: var(--text); margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bg-muted);
}

/* Transit list */
.prop-transit-list { display: flex; flex-direction: column; gap: 10px; }
.prop-transit-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--bg-muted);
  border-radius: var(--radius-md); padding: 14px 18px;
}
.transit-badge-lg {
  font-size: 11px; font-weight: 800; color: #fff;
  padding: 5px 12px; border-radius: 6px;
  letter-spacing: .06em; flex-shrink: 0;
}
.transit-name { font-size: 14px; font-weight: 600; color: var(--text); }
.transit-sub  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Map */
.prop-map {
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-muted);
}
.prop-map-addr {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-muted);
  margin-top: 8px;
}

/* Related grid */
.prop-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.prop-related-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--bg-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .15s;
}
.prop-related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); transform: translateY(-2px); }
.prop-related-img { height: 110px; background: var(--bg-soft); overflow: hidden; }
.prop-related-img img { width: 100%; height: 100%; object-fit: cover; }
.prop-related-img-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.prop-related-body  { padding: 10px 12px; }
.prop-related-name  { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 3px; }
.prop-related-loc   { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.prop-related-price { font-size: 14px; font-weight: 700; color: var(--blue); }
.prop-related-price span { font-size: 11px; font-weight: 400; color: var(--text-muted); }

/* ── Aside / sticky sidebar ──────────────────────────────── */
.prop-aside {
  position: sticky; top: 84px;
  display: flex; flex-direction: column; gap: 16px;
}

/* Contact card */
.prop-contact-card {
  background: #fff;
  border: 1px solid var(--bg-muted);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.prop-contact-header { margin-bottom: 12px; }
.prop-contact-price  { font-size: 28px; font-weight: 800; color: var(--blue); }
.prop-contact-unit   { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.prop-contact-badges { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.cbadge {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: .03em;
}
.cbadge-verif { background: #d1fae5; color: #065f46; }
.cbadge-excl  { background: var(--blue-light); color: var(--blue-dark); }

.prop-contact-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.btn-contact {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: opacity .15s, transform .1s; font-family: inherit;
  text-decoration: none;
}
.btn-contact:active { transform: scale(.98); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-call     { background: var(--blue); color: #fff; }
.btn-save     { background: var(--bg-soft); color: var(--text); border: 1.5px solid var(--bg-muted) !important; }
.btn-save.saved { background: var(--blue-light); color: var(--blue); border-color: var(--blue) !important; }
.btn-contact:hover { opacity: .88; }

.prop-contact-trust { display: flex; flex-direction: column; gap: 5px; }
.trust-micro {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.trust-micro span { color: #059669; font-weight: 700; }

/* Price box */
.prop-price-box {
  background: #fff;
  border: 1px solid var(--bg-muted);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}
.prop-price-box-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 12px;
}
.prop-price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--bg-muted);
  font-size: 14px; color: var(--text-body);
}
.prop-price-row:last-of-type { border-bottom: none; }
.prop-price-row strong { color: var(--text); font-weight: 700; }
.prop-price-note { font-size: 11px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }

/* Map marker */
.map-marker-pin {
  width: 28px; height: 36px;
  background: var(--blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.20);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .prop-layout { grid-template-columns: 1fr; gap: 24px; }
  .prop-aside  { position: static; }
  .prop-hero   { height: 280px; }
  .prop-detail-header { flex-direction: column; }
  .prop-detail-price-wrap { text-align: left; }
}
@media (max-width: 560px) {
  .prop-hero   { height: 220px; }
  .prop-facts  { gap: 8px; }
  .prop-fact   { flex: 1 1 140px; }
  .prop-related-grid { grid-template-columns: 1fr; }
}
