/* ============================================================
   RealEstate Hup — Project detail page (single rh_project)
   Depends on app.css tokens (--rh-*). No hardcoded palette here.
   Prefix: .rhp-  |  Reuses .rh-btn .rh-icn .rh-input .rh-faq .rh-badge
============================================================ */

/* On this page our own action bar replaces the global mobile bar. */
body.single-rh_project .rh-bottombar { display: none !important; }

.rhp { display: block; }

/* ---------- Hero / identity ---------- */
.rhp-hero { padding-bottom: 20px; }
.rhp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--rh-muted); font-size: .85rem; margin-bottom: 16px; }
.rhp-crumbs a { color: var(--rh-muted); font-weight: 600; }
.rhp-crumbs a:hover { color: var(--rh-primary); }
.rhp-crumbs span[aria-hidden] { color: var(--rh-line-2); }

.rhp-idbar { margin-bottom: 18px; }
.rhp-badge { position: static; display: inline-block; margin-bottom: 10px; }
.rhp-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.rhp-idmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; }
.rhp-dev-link { color: var(--rh-primary); font-weight: 700; }
.rhp-dev-link:hover { text-decoration: underline; }
.rhp-area { display: inline-flex; align-items: center; gap: 6px; color: var(--rh-muted); font-weight: 600; }
.rhp-area .rh-icn { width: 16px; height: 16px; }

/* ---------- Gallery ---------- */
.rhp-gallery { display: grid; gap: 12px; }
.rhp-gallery__main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--rh-line); background: var(--rh-bg-soft); border-radius: var(--rh-radius); overflow: hidden; aspect-ratio: 16 / 10; cursor: zoom-in; }
.rhp-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--rh-ease); }
.rhp-gallery__main:hover img { transform: scale(1.03); }
.rhp-gallery__zoomhint { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--rh-radius-pill); background: rgba(255,255,255,.92); color: var(--rh-ink); box-shadow: var(--rh-shadow); }
/* Wrapping thumbnail grid (was a horizontal scroll strip) — no sideways scroll. */
.rhp-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.rhp-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--rh-radius-sm); overflow: hidden; background: var(--rh-bg-soft); aspect-ratio: 4 / 3; cursor: pointer; transition: border-color .15s; }
.rhp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rhp-thumb:hover { border-color: var(--rh-line-2); }
.rhp-thumb.is-active { border-color: var(--rh-primary); }
.rhp-thumb:focus-visible { outline: 2px solid var(--rh-primary); outline-offset: 2px; }

/* ---------- Sticky sub-nav (scroll-spy) ---------- */
.rhp-subnav { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-block: 1px solid var(--rh-line); }
/* In-page section nav WRAPS to multiple lines on narrow widths — no sideways scroll. */
.rhp-subnav__in { display: flex; flex-wrap: wrap; gap: 4px; }
.rhp-subnav a { position: relative; padding: 14px 12px; font-weight: 600; font-size: .92rem; color: var(--rh-ink-2); border-bottom: 2px solid transparent; }
.rhp-subnav a:hover { color: var(--rh-primary); }
.rhp-subnav a.is-active { color: var(--rh-primary); border-bottom-color: var(--rh-primary); }
.rhp-subnav a:focus-visible { outline: 2px solid var(--rh-primary); outline-offset: -2px; border-radius: 6px; }

/* ---------- Layout: main + sticky aside ---------- */
.rhp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-block: 28px 64px; }
.rhp-main { grid-column: 1; grid-row: 1; min-width: 0; }
.rhp-aside { grid-column: 2; grid-row: 1; }

.rhp-sec { padding-block: 22px; border-top: 1px solid var(--rh-line); scroll-margin-top: 140px; }
.rhp-main > .rhp-sec:first-child { border-top: 0; padding-top: 4px; }
.rhp-sec > .rh-h2 { margin-bottom: 16px; }

.rhp-prose { color: var(--rh-ink-2); line-height: 1.7; max-width: 68ch; }
.rhp-prose p { margin-bottom: 12px; }
.rhp-prose h3 { margin: 18px 0 8px; font-size: 1.15rem; }
.rhp-note { color: var(--rh-muted); line-height: 1.6; max-width: 68ch; margin-bottom: 16px; }

/* ---------- Conversion card ---------- */
.rhp-cta-card { position: sticky; top: 142px; background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); box-shadow: var(--rh-shadow); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.rhp-cta-card__price small { display: block; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .72rem; color: var(--rh-muted); margin-bottom: 4px; }
.rhp-price b { font-size: 1.55rem; font-weight: 800; color: var(--rh-accent); } /* accent ONLY for price */
.rhp-price .rh-onreq { font-size: 1.15rem; color: var(--rh-ink); font-weight: 800; }
.rhp-price--lg b { font-size: 2rem; }
.rhp-disclosure { margin-top: 12px; font-size: .72rem; line-height: 1.55; color: var(--rh-muted); }

.rhp-facts { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-direction: column; gap: 12px; border-block: 1px solid var(--rh-line); }
.rhp-facts li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; font-size: .9rem; }
.rhp-facts__ic { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--rh-primary-050); color: var(--rh-primary); }
.rhp-facts__ic .rh-icn { width: 16px; height: 16px; }
.rhp-facts__k { color: var(--rh-muted); font-weight: 600; }
.rhp-facts__v { color: var(--rh-ink); font-weight: 700; text-align: end; }

.rhp-cta-card__actions { display: flex; flex-direction: column; gap: 10px; }
.rhp-cta-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rhp-cta-card__row .rh-btn { justify-content: center; padding-inline: 12px; }

/* ---------- Lead form ---------- */
.rhp-form { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rh-line); padding-top: 16px; scroll-margin-top: 150px; }
.rhp-form__title { font-size: 1.05rem; }
.rhp-form__fine { font-size: .74rem; color: var(--rh-muted); text-align: center; line-height: 1.5; }
.rhp-form__fine a { color: var(--rh-primary); font-weight: 600; }
.rhp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rhp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rhp-form__done { text-align: center; padding: 8px 0; }
.rhp-form__done h3 { color: var(--rh-primary); }
.rhp-form__done p { color: var(--rh-muted); margin-top: 4px; }

/* ---------- Properties table (desktop table -> stacked cards on mobile) ---------- */
.rhp-table-wrap { border: 1px solid var(--rh-line); border-radius: var(--rh-radius); overflow: hidden; }
.rhp-table { width: 100%; border-collapse: collapse; }
.rhp-table th, .rhp-table td { text-align: start; padding: 13px 16px; border-bottom: 1px solid var(--rh-line); font-size: .92rem; }
.rhp-table thead th { background: var(--rh-bg-soft); color: var(--rh-muted); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.rhp-table tbody tr:last-child td { border-bottom: 0; }
.rhp-table tbody tr:hover { background: var(--rh-bg-soft); }
.rhp-table td a { color: var(--rh-ink); font-weight: 700; }
.rhp-table td a:hover { color: var(--rh-primary); }
.rhp-table__price b { color: var(--rh-ink); font-weight: 800; }
.rhp-tlink { color: var(--rh-primary) !important; }
.rhp-tlink:hover { text-decoration: underline; }

/* ---------- Empty states ---------- */
.rhp-empty { text-align: center; border: 1px dashed var(--rh-line-2); border-radius: var(--rh-radius); padding: 32px 22px; background: var(--rh-bg-soft); }
.rhp-empty--sm { padding: 24px 20px; }
.rhp-empty__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--rh-primary-050); color: var(--rh-primary); margin-bottom: 12px; }
.rhp-empty h3 { font-size: 1.1rem; margin-bottom: 6px; }
.rhp-empty p { color: var(--rh-muted); max-width: 52ch; margin: 0 auto 16px; line-height: 1.6; }
.rhp-empty__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Prices / payment ---------- */
.rhp-priceblock { background: var(--rh-bg-soft); border: 1px solid var(--rh-line); border-radius: var(--rh-radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rhp-priceblock__lead small { display: block; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .72rem; color: var(--rh-muted); margin-bottom: 4px; }
.rhp-planrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.rhp-plan-card { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.rhp-plan-card__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--rh-primary-050); color: var(--rh-primary); margin-bottom: 6px; }
.rhp-plan-card small { color: var(--rh-muted); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.rhp-plan-card b { font-size: 1.05rem; }

/* ---------- Master plan viewer ---------- */
.rhp-mp { margin: 0; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); overflow: hidden; background: var(--rh-bg-soft); }
.rhp-mp__stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center; cursor: grab; }
.rhp-mp__stage.is-panning { cursor: grabbing; }
.rhp-mp__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center center; transition: transform .2s var(--rh-ease); will-change: transform; user-select: none; -webkit-user-drag: none; }
.rhp-mp__tools { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--rh-line); background: #fff; flex-wrap: wrap; }
.rhp-mp__btn { border: 1px solid var(--rh-line-2); background: #fff; color: var(--rh-ink); border-radius: var(--rh-radius-btn); min-width: 40px; height: 40px; padding: 0 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.rhp-mp__btn:hover { border-color: var(--rh-primary); color: var(--rh-primary); }
.rhp-mp__btn--full { margin-inline-start: auto; }
.rhp-mp__btn .rh-icn { width: 16px; height: 16px; }

/* fullscreen / lightbox overlay */
.rhp-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(18,33,29,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.rhp-overlay.is-open { display: flex; }
.rhp-overlay img { max-width: 96vw; max-height: 92vh; object-fit: contain; border-radius: 8px; }
.rhp-overlay__close { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.rhp-overlay__close:hover { background: rgba(255,255,255,.24); }
.rhp-overlay__close .rh-icn { width: 22px; height: 22px; }

/* ---------- Location ---------- */
.rhp-loc__head { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 14px; }
.rhp-loc__head .rh-icn { color: var(--rh-primary); }
.rhp-map { border: 1px solid var(--rh-line); border-radius: var(--rh-radius); overflow: hidden; aspect-ratio: 16 / 9; }
.rhp-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Amenities ---------- */
.rhp-amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; }
.rhp-amenities li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--rh-ink-2); }
.rhp-amenities__ic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--rh-primary-050); color: var(--rh-primary); }
.rhp-amenities__ic .rh-icn { width: 15px; height: 15px; }

/* ---------- Developer ---------- */
.rhp-developer { display: flex; gap: 18px; align-items: flex-start; }
.rhp-developer__logo { flex: none; width: 68px; height: 68px; border-radius: 14px; background: var(--rh-bg-soft); border: 1px solid var(--rh-line); display: grid; place-items: center; font-weight: 800; color: var(--rh-primary); font-size: 1.3rem; }
.rhp-developer__body b { font-size: 1.1rem; }
.rhp-developer__body p { color: var(--rh-ink-2); line-height: 1.65; margin: 6px 0 10px; max-width: 66ch; }

/* ---------- Mobile sticky action bar (replaces global bar) ---------- */
.rhp-actionbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-top: 1px solid var(--rh-line); box-shadow: 0 -6px 20px rgba(18,33,29,.08); }
.rhp-actionbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: var(--rh-radius-btn); font-weight: 700; font-size: .9rem; border: 1px solid var(--rh-line-2); color: var(--rh-ink); background: #fff; }
.rhp-actionbar__btn .rh-icn { width: 18px; height: 18px; }
.rhp-actionbar__btn--wa { background: #25D366; color: #0b3d20; border-color: transparent; }
.rhp-actionbar__btn--primary { background: var(--rh-primary); color: #fff; border-color: transparent; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1000px) {
  .rhp-layout { grid-template-columns: 1fr; gap: 8px; }
  .rhp-aside { grid-column: 1; grid-row: auto; }         /* DOM: aside precedes main -> price card near top */
  .rhp-main { grid-column: 1; grid-row: auto; }
  .rhp-cta-card { position: static; }
}

@media (max-width: 900px) {
  .rhp-subnav { top: 72px; }
  .rhp-actionbar { display: grid; }
  body.single-rh_project.rh { padding-bottom: 72px; }    /* clear space for our action bar */
  .rhp-sec { scroll-margin-top: 124px; }
  .rhp-form { scroll-margin-top: 132px; }
}

@media (max-width: 560px) {
  .rhp-gallery__main { aspect-ratio: 4 / 3; }
  .rhp-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  .rhp-cta-card__row { grid-template-columns: 1fr; }
  .rhp-developer { flex-direction: column; }
  .rhp-actionbar__btn span { display: none; }            /* icons only on very small screens */
  .rhp-actionbar__btn--primary span { display: inline; } /* keep the money CTA labeled */
  .rhp-actionbar { grid-template-columns: 1fr 1fr 1.6fr; }

  /* Properties table -> stacked cards (each row a card; labels from [data-th]) */
  .rhp-table-wrap { border: 0; border-radius: 0; }
  .rhp-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .rhp-table, .rhp-table tbody, .rhp-table tr, .rhp-table td { display: block; width: 100%; }
  .rhp-table tr { border: 1px solid var(--rh-line); border-radius: var(--rh-radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
  .rhp-table tbody tr:last-child { margin-bottom: 0; }
  .rhp-table tbody tr:hover { background: #fff; }
  .rhp-table td { display: grid; grid-template-columns: minmax(0, 42%) 1fr; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--rh-line); font-size: .9rem; }
  .rhp-table td:last-child { border-bottom: 0; }
  .rhp-table td::before { content: attr(data-th); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--rh-muted); }
  .rhp-table td[data-th=""] { grid-template-columns: 1fr; }
  .rhp-table td[data-th=""]::before { content: none; }
  .rhp-table td.rhp-table__price { text-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  .rhp-gallery__main img, .rhp-mp__stage img { transition: none !important; }
}

/* ============================================================
   AVAILABLE UNITS  (.rhu-*, distinct .rh-ucard grid)
   Full-bleed deliberate section: soft background, generous rhythm.
   Tokens only — no hardcoded palette/radii.
============================================================ */
.rhu-section { background: var(--rh-bg-soft); border-top: 1px solid var(--rh-line); padding-block: clamp(40px, 6vw, 72px); scroll-margin-top: 140px; }
.rhu-head { max-width: 70ch; margin-bottom: 28px; }
.rhu-head .rh-eyebrow { display: block; margin-bottom: 8px; }
.rhu-sub { color: var(--rh-muted); line-height: 1.6; margin-top: 10px; }

/* ---- controls: sale tabs + type chips + sort ---- */
.rhu-controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.rhu-saletabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius-pill); width: fit-content; }
.rhu-saletab { border: 0; background: transparent; padding: 9px 20px; border-radius: var(--rh-radius-pill); font-weight: 700; font-size: .9rem; color: var(--rh-muted); }
.rhu-saletab:hover { color: var(--rh-primary); }
.rhu-saletab.is-active { background: var(--rh-primary); color: #fff; }
.rhu-saletab:focus-visible { outline: 2px solid var(--rh-primary); outline-offset: 2px; }

.rhu-filters { display: flex; flex-direction: column; gap: 14px; }
.rhu-types { display: flex; flex-wrap: wrap; gap: 8px; }
.rhu-chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--rh-line-2); background: #fff; border-radius: var(--rh-radius-pill); padding: 8px 14px; font-weight: 700; font-size: .86rem; color: var(--rh-ink-2); min-height: 40px; }
.rhu-chip:hover { border-color: var(--rh-primary); color: var(--rh-primary); }
.rhu-chip.is-active { background: var(--rh-primary-050); border-color: var(--rh-primary); color: var(--rh-primary-700); }
.rhu-chip:focus-visible { outline: 2px solid var(--rh-primary); outline-offset: 2px; }
.rhu-chip__n { font-size: .72rem; font-weight: 800; color: var(--rh-muted); background: var(--rh-bg-soft); border-radius: var(--rh-radius-pill); padding: 1px 7px; }
.rhu-chip.is-active .rhu-chip__n { background: #fff; color: var(--rh-primary); }

.rhu-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rhu-count { color: var(--rh-muted); font-size: .9rem; font-weight: 600; }
.rhu-count b { color: var(--rh-ink); font-weight: 800; }
.rhu-sort { display: inline-flex; align-items: center; }
.rh-select { border: 1px solid var(--rh-line-2); background: #fff; border-radius: var(--rh-radius-btn); padding: 10px 14px; font-family: inherit; font-size: .92rem; font-weight: 600; color: var(--rh-ink); min-height: 44px; cursor: pointer; }
.rh-select:focus-visible { outline: 2px solid var(--rh-primary-050); border-color: var(--rh-primary); }
.rhu-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- unit grid + card (distinct from .rh-card) ---- */
.rhu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.rh-ucard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); overflow: hidden; box-shadow: var(--rh-shadow); transition: transform .16s var(--rh-ease), box-shadow .16s; border-top: 3px solid var(--rh-primary); }
.rh-ucard:hover { transform: translateY(-4px); box-shadow: var(--rh-shadow-lg); }
.rh-ucard__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rh-bg-soft); }
.rh-ucard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--rh-ease); }
.rh-ucard:hover .rh-ucard__media img { transform: scale(1.05); }
.rh-ucard__tag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--rh-primary-700); color: #fff; font-weight: 700; font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--rh-radius-pill); }
.rh-ucard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.rh-ucard__type { display: flex; align-items: center; gap: 9px; font-size: 1.15rem; font-weight: 800; }
.rh-ucard__ic { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--rh-primary-050); color: var(--rh-primary); }
.rh-ucard__ic .rh-icn { width: 17px; height: 17px; }
.rh-ucard__proj { display: flex; align-items: center; gap: 6px; color: var(--rh-muted); font-size: .88rem; font-weight: 600; }
.rh-ucard__pin { display: inline-grid; place-items: center; color: var(--rh-primary); }
.rh-ucard__pin .rh-icn { width: 15px; height: 15px; }
.rh-ucard__phase { display: inline-flex; align-items: center; gap: 6px; width: fit-content; background: var(--rh-primary-050); color: var(--rh-primary-700); font-weight: 700; font-size: .76rem; padding: 4px 10px; border-radius: var(--rh-radius-pill); }
.rh-ucard__phase .rh-icn { width: 14px; height: 14px; }
.rh-ucard__price { margin-top: 2px; }
.rh-ucard__price small { display: block; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; font-size: .68rem; color: var(--rh-muted); margin-bottom: 2px; }
.rh-ucard__price b { font-size: 1.35rem; font-weight: 800; color: var(--rh-accent); } /* accent ONLY for price */
.rh-ucard__price .rh-onreq { font-size: 1.05rem; color: var(--rh-ink); font-weight: 800; }
.rh-ucard__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.rh-ucard__facts li { display: inline-flex; align-items: center; gap: 6px; color: var(--rh-ink-2); font-size: .82rem; font-weight: 600; }
.rh-ucard__facts li b { font-weight: 800; color: var(--rh-ink); }
.rh-ucard__facts span { display: inline-grid; place-items: center; color: var(--rh-primary); }
.rh-ucard__facts .rh-icn { width: 15px; height: 15px; }
.rh-ucard__foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.rh-ucard__foot .rh-btn { justify-content: center; }

/* ---- load-more + no-match ---- */
.rhu-more { display: flex; justify-content: center; margin-top: 26px; }
.rhu-empty { text-align: center; color: var(--rh-muted); margin-top: 22px; }
.rhu-empty a { color: var(--rh-primary); font-weight: 700; }

/* ---- zero-units fallback (premium, honest) ---- */
.rhu-zero { text-align: center; background: #fff; border: 1px dashed var(--rh-line-2); border-radius: var(--rh-radius); padding: clamp(28px, 5vw, 48px) 22px; }
.rhu-zero__ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--rh-primary-050); color: var(--rh-primary); margin-bottom: 14px; }
.rhu-zero__ic .rh-icn { width: 26px; height: 26px; }
.rhu-zero h3 { font-size: 1.2rem; margin-bottom: 8px; }
.rhu-zero p { color: var(--rh-muted); max-width: 56ch; margin: 0 auto 18px; line-height: 1.6; }
.rhu-zero__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- "Can't find the right unit?" mini lead block ---- */
.rhu-help { margin-top: 34px; background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); box-shadow: var(--rh-shadow); padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.rhu-help__text h3 { font-size: 1.25rem; }
.rhu-help__text p { color: var(--rh-muted); line-height: 1.6; margin-top: 8px; }
.rhu-help__disc { font-size: .74rem; color: var(--rh-muted); margin-top: 12px; line-height: 1.5; }
.rhu-help__form { display: flex; flex-direction: column; gap: 12px; }
.rhu-help__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rhu-help__form .rh-select { width: 100%; }
.rhu-help__form .rh-btn { justify-content: center; }
.rhu-help__err { color: var(--rh-error,#B42318); font-size: .82rem; font-weight: 600; }

@media (max-width: 900px) {
  .rhu-section { scroll-margin-top: 124px; }
}
@media (max-width: 760px) {
  .rhu-help { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 480px) {
  .rhu-help__row { grid-template-columns: 1fr; }
  .rhu-toolbar { align-items: stretch; }
  .rhu-sort, .rhu-help__form .rh-select { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-ucard, .rh-ucard__media img { transition: none !important; }
}
