/* Buyer detail page built on the new-business design language. */
.buyer-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .72fr);
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.buyer-detail-intro { min-width: 0; padding: 28px 30px 22px; }
.buyer-detail-status { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:13px; }
.buyer-detail-status span { padding:6px 10px; border-radius:5px; color:#fff; background:var(--green); font-size:10px; font-weight:700; text-transform:uppercase; }
.buyer-detail-status span:last-child { color:var(--navy); background:var(--gold-light); }
.buyer-detail-intro h1 { max-width:900px; margin:0 0 14px; color:var(--navy); font-size:clamp(26px,3vw,42px); line-height:1.2; overflow-wrap:anywhere; }
.buyer-detail-intro > p { max-width:850px; margin:0; color:#4f5c70; font-size:14px; line-height:1.7; }
.buyer-detail-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin-top:24px; border-top:1px solid var(--line); }
.buyer-detail-meta > div { min-width:0; padding:17px 14px 4px 0; border-right:1px solid var(--line); }
.buyer-detail-meta > div:nth-child(even) { padding-left:18px; border-right:0; }
.buyer-detail-meta i { display:block; margin-bottom:7px; color:#a97b20; font-size:19px; }
.buyer-detail-meta strong,.buyer-detail-meta span { display:block; overflow-wrap:anywhere; }
.buyer-detail-meta strong { color:var(--navy); font-size:13px; }
.buyer-detail-meta span { margin-top:2px; color:#6a7587; font-size:11px; }
.buyer-detail-aside { display:flex; flex-direction:column; gap:15px; padding:25px 22px; color:#fff; background:var(--navy); }
.buyer-detail-aside__label { display:block; color:rgba(255,255,255,.68); font-size:11px; }
.buyer-detail-aside__range { display:block; margin:1px 0 3px; font-size:clamp(26px,2.6vw,36px); line-height:1.2; }
.buyer-detail-aside__range i { font-size:.72em; }
.buyer-detail-aside dl { margin:0; padding:13px 0; border-top:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14); }
.buyer-detail-aside dl div { display:flex; justify-content:space-between; gap:12px; padding:5px 0; font-size:11px; }
.buyer-detail-aside dt { color:rgba(255,255,255,.68); }
.buyer-detail-aside dd { margin:0; font-weight:700; text-align:right; }
.buyer-action-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:2px; border:1px solid rgba(255,255,255,.18); border-radius:6px; overflow:hidden; }
.buyer-action-row a { min-height:42px; display:flex; align-items:center; justify-content:center; gap:7px; margin:0; padding:8px 6px; color:rgba(255,255,255,.86); background:transparent; border-right:1px solid rgba(255,255,255,.16); border-radius:0; font-size:11px; font-weight:600; text-align:center; transition:background .2s ease,color .2s ease; }
.buyer-action-row a:last-child { border-right:0; }
.buyer-action-row a:hover,.buyer-action-row a:focus-visible { color:var(--navy); background:var(--gold-light); }
.buyer-action-row i { color:var(--gold-light); font-size:14px; }
.buyer-action-row a:hover i,.buyer-action-row a:focus-visible i { color:var(--navy); }
.buyer-detail-aside a { min-height:43px; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:auto; border-radius:6px; color:var(--navy); background:var(--gold-light); font-size:12px; font-weight:700; text-align:center; }
.buyer-detail-aside a.buyer-detail-aside__contact { margin-top:4px; }
.buyer-detail-aside .buyer-action-row a { min-height:42px; margin:0; border-radius:0; color:rgba(255,255,255,.86); background:transparent; font-size:11px; font-weight:600; }
.buyer-detail-aside small { color:rgba(255,255,255,.6); font-size:9px; text-align:center; }
.buyer-detail-aside small i { color:var(--green); }
.buyer-section-card { min-width:0; padding:22px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 2px 9px rgba(13,34,66,.045); }
.buyer-section-card h2 { margin:0 0 13px; color:var(--navy); font-size:18px; line-height:1.35; overflow-wrap:anywhere; }
.buyer-section-card p { margin:0; color:#445268; font-size:13px; line-height:1.75; overflow-wrap:anywhere; }
.buyer-tag-grid { display:flex; flex-wrap:wrap; gap:8px; margin-top:17px; }
.buyer-tag-grid span { display:flex; align-items:center; gap:7px; min-height:40px; padding:8px 11px; color:var(--navy); background:#fbfaf6; border:1px solid #f0eadb; border-radius:7px; font-size:11px; font-weight:600; }
.buyer-tag-grid i { color:#9e7725; }
.buyer-info-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.buyer-info-grid > div { min-width:0; padding:15px; background:#f8fafc; border:1px solid var(--line); border-radius:8px; }
.buyer-info-grid dt { color:#778195; font-size:10px; }
.buyer-info-grid dd { margin:5px 0 0; color:var(--navy); font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.buyer-investment-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.buyer-investment-grid > div { padding:16px 12px; border:1px solid #eadfbe; border-radius:8px; background:#fffdf6; text-align:center; }
.buyer-investment-grid i { color:#a97b20; font-size:19px; }
.buyer-investment-grid strong,.buyer-investment-grid span { display:block; overflow-wrap:anywhere; }
.buyer-investment-grid strong { margin-top:8px; color:var(--navy); font-size:12px; }
.buyer-investment-grid span { margin-top:4px; color:#667287; font-size:11px; }
.buyer-contact-card { color:#fff; background:var(--navy); }
.buyer-contact-card h2 { color:#fff; }
.buyer-contact-card p { color:rgba(255,255,255,.72); }
.buyer-contact-card dl { margin:17px 0 0; }
.buyer-contact-card dl div { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-top:1px solid rgba(255,255,255,.14); font-size:11px; }
.buyer-contact-card dt { color:rgba(255,255,255,.67); }
.buyer-contact-card dd { margin:0; font-weight:700; text-align:right; }
.buyer-contact-card a { display:flex; justify-content:center; align-items:center; min-height:42px; margin-top:15px; border-radius:6px; color:var(--navy); background:var(--gold-light); font-size:12px; font-weight:700; }
.buyer-detail-footer-meta { display:flex; justify-content:space-between; gap:16px; padding:16px 20px; color:#53627a; background:#fff; border:1px solid var(--line); border-radius:var(--radius); font-size:11px; }
.buyer-detail-footer-meta strong { color:var(--navy); }

/* Listing Details uses a clear two-column table treatment. */
#listing-details .snapshot { margin: 0; }
#listing-details .snapshot div {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
#listing-details .snapshot div:last-child { border-bottom: 0; }
#listing-details .snapshot dt {
  color: #667287;
  padding: 16px 14px;
  font-size: 13px;
  line-height: 1.4;
}
#listing-details .snapshot dd {
  max-width: none;
  margin: 0;
  padding: 16px 14px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  border-left: 1px solid var(--line);
  overflow-wrap: anywhere;
}
@media (max-width:920px) {
  .buyer-detail-hero { grid-template-columns:1fr; }
  .buyer-detail-aside { display:grid; grid-template-columns:1fr 1fr; gap:12px 18px; }
  .buyer-detail-aside__label,.buyer-detail-aside__range,.buyer-detail-aside dl,.buyer-detail-aside small { grid-column:1; }
  .buyer-detail-aside a { grid-column:2; grid-row:1 / span 3; }
  .buyer-detail-aside small { grid-row:4; }
  .buyer-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .buyer-detail-intro { padding:20px 16px 18px; }
  .buyer-detail-intro h1 { font-size:25px; }
  .buyer-detail-aside { display:block; padding:20px 16px; }
  .buyer-detail-aside a { margin-top:16px; }
  .buyer-action-row a { margin-top:0; }
  .buyer-detail-aside a.buyer-detail-aside__contact { margin-top:16px; }
  .buyer-detail-aside small { display:block; margin-top:10px; }
  .buyer-info-grid,.buyer-investment-grid { grid-template-columns:1fr; }
  .buyer-detail-footer-meta { flex-direction:column; gap:6px; }
  #listing-details .snapshot dt { padding: 14px 10px; font-size: 12px; }
  #listing-details .snapshot dd { padding: 14px 10px; font-size: 15px; }
}
