/* =============================================================================
   RPS LUXURY — Design System v3
   Path: /wp-content/themes/bb-theme-child/css/rps-luxury.css
   ============================================================================= */

/* --------------------------------------------------------------------------
   1. GOOGLE FONTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --rps-gold:          #C4A676;
  --rps-gold-deep:     #B8975F;
  --rps-gold-light:    #D4BF9A;
  --rps-white:         #FAFAF9;
  --rps-cream:         #F5F1EA;
  --rps-linen:         #EDE8E0;
  --rps-warm-gray-lt:  #D4CEC4;
  --rps-warm-gray-mid: #C9C1B8;
  --rps-warm-gray:     #847A72;
  --rps-warm-dark:     #6B6358;
  --rps-charcoal:      #2A2620;
  --rps-ink:           #1A1714;

  --rps-font-display:  'Cormorant Garamond', Georgia, serif;
  --rps-font-body:     'Jost', sans-serif;
  --rps-font-ui:       'Open Sans', sans-serif;

  --rps-radius-sm:     7px;
  --rps-radius:        10px;
  --rps-radius-lg:     14px;

  --rps-ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --rps-ease-out:      cubic-bezier(0.0, 0, 0.2, 1);

  --rps-shadow-sm:     0 2px 12px rgba(36, 30, 22, 0.07);
  --rps-shadow:        0 6px 28px rgba(36, 30, 22, 0.10);
  --rps-shadow-gold:   0 4px 24px rgba(196, 166, 118, 0.28);
}

/* --------------------------------------------------------------------------
   3. BASE
   -------------------------------------------------------------------------- */
.bootstrap-realtypress {
  font-family: var(--rps-font-body);
  color: var(--rps-charcoal);
  background: var(--rps-white);
  -webkit-font-smoothing: antialiased;
}
.bootstrap-realtypress *, .bootstrap-realtypress *::before, .bootstrap-realtypress *::after {
  box-sizing: border-box;
}
.bootstrap-realtypress h1,
.bootstrap-realtypress h2,
.bootstrap-realtypress h3,
.bootstrap-realtypress h4 {
  font-family: var(--rps-font-display);
  font-weight: 400;
  color: var(--rps-ink);
  line-height: 1.15;
}
.rps-single-listing { background: var(--rps-white); }
.rps-single-listing .container,
.rps-single-listing .container-fluid {
  max-width: 1320px;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   4. CALL ORDER
   --------------------------------------------------------------------------
   property-single-view.php now calls photos BEFORE header — no CSS tricks
   needed. This section intentionally left empty.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   5. LOADING OVERLAY
   -------------------------------------------------------------------------- */
.rps-single-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.rps-single-overlay.active { display: flex; }
.rps-loader__spinner {
  width: 40px; height: 40px;
  border: 2px solid var(--rps-linen);
  border-top-color: var(--rps-gold);
  border-radius: 50%;
  animation: rps-spin 0.85s linear infinite;
}
@keyframes rps-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   6. GALLERY NAV BAR — back left, share + save right, above mosaic
   -------------------------------------------------------------------------- */

.rps-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
}

.rps-gallery-nav__left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.rps-gallery-nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Breadcrumb inside nav bar */
.rps-gallery-nav .rps-breadcrumb,
.bootstrap-realtypress .rps-breadcrumb {
  background: transparent;
  padding: 0; margin: 0;
  border-radius: 0; list-style: none;
  display: flex; align-items: center; gap: 6px;
}
.bootstrap-realtypress .rps-breadcrumb li,
.bootstrap-realtypress .rps-breadcrumb li a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--rps-font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--rps-warm-dark); text-decoration: none;
  transition: color 0.18s;
  white-space: nowrap;
}
.bootstrap-realtypress .rps-breadcrumb li a:hover { color: var(--rps-gold); }
/* Separator dots between crumbs */
.bootstrap-realtypress .rps-breadcrumb li + li::before {
  content: '/';
  color: var(--rps-warm-gray-lt);
  margin-right: 2px;
}

/* Shared nav button style — Share and Save */
.rps-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: var(--rps-white);
  border: 1px solid var(--rps-warm-gray-lt);
  border-radius: 100px;
  font-family: var(--rps-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--rps-ink);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  box-shadow: var(--rps-shadow-sm);
  text-decoration: none;
}
.rps-nav-btn:hover {
  border-color: var(--rps-warm-gray);
  box-shadow: var(--rps-shadow);
  text-decoration: none;
}
.rps-nav-btn svg { flex-shrink: 0; }

/* Save button — filled heart when saved */
.rps-save-btn--saved { border-color: rgba(196,166,118,0.4); color: var(--rps-gold-deep); }

/* Kill plugin default red on any .rps-add-favorite related elements */
.bootstrap-realtypress .rps-add-favorite,
.bootstrap-realtypress .rps-add-favorite strong,
.bootstrap-realtypress .rps-add-favorite-output,
.bootstrap-realtypress .rps-add-favorite-output p,
.bootstrap-realtypress .rps-add-favorite-output strong,
.bootstrap-realtypress .text-danger,
.bootstrap-realtypress .rps-single-listing-favorites-wrap .text-danger {
  color: inherit !important;
}

/* "View saved" link beside nav save button */
.rps-nav-btn-link {
  font-family: var(--rps-font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rps-warm-gray);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.rps-nav-btn-link:hover { color: var(--rps-gold); text-decoration: none; }

/* --------------------------------------------------------------------------
   7. MOSAIC GALLERY
   ── Outer: auto 1fr — main photo left (auto width, 450px tall, spans both rows)
              right column: __grid contains 2×2 thumb sub-grid + pill
   -------------------------------------------------------------------------- */

/* ── Outer container — two columns, two rows ── */
.rps-gallery-mosaic {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  position: relative;
  height: 520px;
  margin: 0;
}

/* ── Main photo — first child: spans both rows, 4:3 aspect ratio ── */
.rps-gallery-mosaic__main {
  grid-row: span 2;
  aspect-ratio: calc(4 / 3);
  height: 520px;
  max-height: 520px;
  width: auto;
  position: relative;
  overflow: hidden;
  border-radius: var(--rps-radius-lg);
  transform-origin: 50% 50%;
}
.rps-gallery-mosaic__main::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26, 23, 20, 0);
  transition: background 0.55s cubic-bezier(0.23, 1, 0.32, 1) !important;
  pointer-events: none;
  z-index: 1;
}
.rps-gallery-mosaic__main:hover::after {
  background: rgba(26, 23, 20, 0.14);
}
.rps-gallery-mosaic__main > a {
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: var(--rps-radius-lg);
}
.rps-gallery-mosaic__main > img,
.rps-gallery-mosaic__main > a > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  border-radius: var(--rps-radius-lg);
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1) !important;
  will-change: transform;
}
.rps-gallery-mosaic__main:hover > img,
.rps-gallery-mosaic__main:hover > a > img {
  transform: scale(1.05) !important;
}

/* ── Right panel: 2×2 sub-grid of 4 thumbs, spans both rows ── */
.rps-gallery-mosaic__grid {
  grid-row: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  position: relative; /* pill anchors here */
}

/* ── Individual thumb cells ── */
.rps-gallery-mosaic__thumb {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--rps-radius-lg);
  transform-origin: 50% 50%;
}
.rps-gallery-mosaic__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26, 23, 20, 0);
  transition: background 0.55s cubic-bezier(0.23, 1, 0.32, 1) !important;
  pointer-events: none;
  z-index: 1;
}
.rps-gallery-mosaic__thumb:hover::after {
  background: rgba(26, 23, 20, 0.14);
}
.rps-gallery-mosaic__thumb > a {
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: var(--rps-radius-lg);
}
.rps-gallery-mosaic__thumb > a,
.rps-gallery-mosaic__thumb > img {
  display: block; width: 100%; height: 100%;
}
.rps-gallery-mosaic__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border-radius: 0; /* parent clips */
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1) !important;
  will-change: transform;
}
.rps-gallery-mosaic__thumb:hover img {
  transform: scale(1.05) !important;
}

/* All corners rounded on every thumb */
.rps-thumb--tl,
.rps-thumb--tr,
.rps-thumb--bl,
.rps-thumb--br { border-radius: var(--rps-radius-lg); }

.rps-thumb--tl > a,
.rps-thumb--tr > a,
.rps-thumb--bl > a,
.rps-thumb--br > a { border-radius: var(--rps-radius-lg); overflow: hidden; }

/* ── Empty placeholder ── */
.rps-thumb-placeholder {
  width: 100%; height: 100%;
  background: var(--rps-linen);
}

/* ── Open house badge — inside main photo, top-left, like screenshot 2 ── */
.rps-oh-badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--rps-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 8px;
  line-height: 1.2;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
}

/* ── Sold overlay ── */
.rps-sold-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,20,20,0.45);
  z-index: 4;
}
.rps-sold-overlay__label {
  font-family: var(--rps-font-display);
  font-size: 52px; font-weight: 600;
  color: #fff; letter-spacing: 0.1em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

/* ── Photo count badge — bottom-left of main photo ── */
/* ── Photo count badge — HIDDEN: replaced by "Show all photos" pill ── */
.rps-photo-count-badge { display: none; }

/* ── "Show all photos" pill — dark frosted, matches the original count badge style ── */
.rps-gallery-all-photos {
  position: absolute; bottom: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: rgba(26, 23, 20, 0.56);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none; border-radius: 100px;
  font-family: var(--rps-font-body);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  z-index: 20; line-height: 1; white-space: nowrap;
  box-shadow: none;
}
.rps-gallery-all-photos:hover {
  background: rgba(26, 23, 20, 0.80);
  color: #fff;
  box-shadow: none;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   8. PROPERTY HEADER — below gallery
   -------------------------------------------------------------------------- */
.rps-property-header {
  padding: 36px 0 0;
  border-bottom: none;
  margin-bottom: 0;
}

/* ── TOP ROW: two-column split ── */
.rps-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rps-linen);
}

/* ── LEFT: address + city ── */
.rps-header-left {
  flex: 1;
  min-width: 0;
}

/* Street address — 30px / 600 / Open Sans / #1a1714 */
.rps-property-header h1.rps-header-address {
  font-family: var(--rps-font-ui);
  font-size: 30px;
  font-weight: 600;
  color: #1a1714;
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* City, Province, Postal — 16px / 400 / Open Sans / title-case (no uppercase transform) */
.rps-property-header .rps-header-city {
  font-family: var(--rps-font-ui);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--rps-warm-dark);
  margin: 0;
}

/* ── RIGHT: price + last-updated ── */
.rps-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  text-align: right;
}

/* Price row: price number + ⓘ info icon (icon is AFTER the number) */
.rps-header-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Price — 30px / 600 / Open Sans / #1a1714 */
.rps-header-price {
  font-family: var(--rps-font-ui);
  font-size: 30px;
  font-weight: 600;
  color: #1a1714;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ⓘ icon — styles now consolidated below with tooltip */

/* Sold/Leased/Rented badge only — active For Sale pill is hidden */
.rps-listing-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 100px;
  font-family: var(--rps-font-ui);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  vertical-align: middle;
}
.rps-status--active {
  display: none; /* For Sale pill removed per spec */
}
.rps-status--sold {
  background: rgba(107, 99, 88, 0.1);
  color: var(--rps-warm-dark);
  border: 1px solid rgba(107, 99, 88, 0.18);
}

/* "Last Updated: Month DD, YYYY" — gold / 14px / 400 / Open Sans */
.rps-header-added {
  font-family: var(--rps-font-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--rps-gold-deep);
  line-height: 1.3;
  letter-spacing: normal;
}

/* ── STATS BAR — Open Sans, pipe separators ── */
.rps-stats-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--rps-linen);
}

.rps-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.rps-stat-pipe {
  font-size: 18px;
  font-weight: 300;
  color: var(--rps-warm-gray-lt);
  line-height: 1;
  padding: 0 18px;
  user-select: none;
}

.rps-stat-icon {
  width: 18px;
  height: 18px;
  color: var(--rps-gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.rps-stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Bold number — Open Sans 600 / #1a1714 */
.rps-stat-value {
  font-family: var(--rps-font-ui);
  font-size: 16px;
  font-weight: 600;
  color: #1a1714;
  line-height: 1;
}
.rps-stat-value sup {
  font-size: 10px;
  vertical-align: super;
  line-height: 0;
}

/* Regular label — Open Sans 400 / warm-dark / 14px */
.rps-stat-label {
  font-family: var(--rps-font-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--rps-warm-dark);
  line-height: 1;
}

/* ── ⓘ price info tooltip ── */
.rps-header-price-info {
  color: var(--rps-warm-gray);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  cursor: help;
  opacity: 0.55;
  position: relative;
}
.rps-header-price-info svg { display: block; }
.rps-header-price-info::after {
  content: 'Price in listed location currency (CAD)';
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  white-space: nowrap;
  background: rgba(26, 23, 20, 0.88);
  color: #fff;
  font-family: var(--rps-font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.rps-header-price-info:hover {
  opacity: 1;
}
.rps-header-price-info:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ── Save/fav button ── */
.rps-single-listing-favorites-wrap {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
  padding-top: 8px;
}
.rps-fav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 20px;
  background: var(--rps-white);
  border: 1px solid var(--rps-warm-gray-lt);
  border-radius: 100px;
  font-family: var(--rps-font-body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rps-ink);
  cursor: pointer;
  box-shadow: var(--rps-shadow-sm);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.rps-fav-btn:hover {
  border-color: var(--rps-gold);
  box-shadow: var(--rps-shadow-gold);
}
.rps-favorited-msg {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--rps-font-body);
  font-size: 13px; font-weight: 500;
  color: var(--rps-gold-deep); margin: 0;
}
.rps-fav-link {
  font-family: var(--rps-font-body);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--rps-warm-gray); text-decoration: none;
}
.rps-fav-link:hover { color: var(--rps-gold); text-decoration: none; }

/* Keep price/listing-price alias in case other partials use it */
.rps-listing-price {
  font-family: var(--rps-font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  color: var(--rps-ink);
  line-height: 1; letter-spacing: -0.01em;
}
/* Legacy aliases */
.rps-price-status-row {
  display: flex; align-items: baseline;
  gap: 14px; flex-wrap: wrap; margin-bottom: 4px;
}
.rps-address-title {
  font-family: var(--rps-font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400; color: var(--rps-ink);
  margin: 0 0 8px; line-height: 1.1;
}
.rps-address-sub {
  font-family: var(--rps-font-body);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--rps-warm-dark); margin: 0 0 18px;
}
.btn.rps-add-favorite {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid var(--rps-warm-gray-lt); border-radius: 100px;
  font-family: var(--rps-font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rps-warm-dark); cursor: pointer;
  transition: border-color 0.22s, color 0.22s, box-shadow 0.22s, background 0.22s;
}
.btn.rps-add-favorite:hover {
  border-color: var(--rps-gold); color: var(--rps-gold);
  background: rgba(196, 166, 118, 0.06);
  box-shadow: var(--rps-shadow-gold);
}
.rps-favorited-msg {
  font-family: var(--rps-font-body);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rps-gold-deep);
  display: flex; align-items: center; gap: 7px;
}

/* ── Listing description — black / Open Sans / 16px ── */
.rps-listing-description {
  margin: 0;
}
.rps-listing-description p,
.rps-listing-description {
  font-family: var(--rps-font-ui);
  font-size: 16px;
  font-weight: 400;
  color: #1a1714;
  line-height: 1.85;
  max-width: 72ch;
}

/* Editorial lede — first paragraph renders larger in display serif */
.rps-listing-description > p:first-of-type {
  font-family: var(--rps-font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--rps-ink);
  max-width: 68ch;
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   9. SECTION HEADINGS
   -------------------------------------------------------------------------- */
.rps-single-listing h3 {
  font-family: var(--rps-font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400; color: var(--rps-ink);
  margin: 40px 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rps-linen);
  position: relative; letter-spacing: 0.01em;
}
.rps-single-listing h3::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  width: 36px; height: 2px;
  background: var(--rps-gold); border-radius: 2px;
}

/* --------------------------------------------------------------------------
   10. DETAILS / BUILDING / ROOMS TABLES
   -------------------------------------------------------------------------- */
.bootstrap-realtypress .table {
  width: 100%; border-collapse: collapse;
  margin-top: 14px;
  font-family: var(--rps-font-body); font-size: 14px;
}
.bootstrap-realtypress .table-bordered,
.bootstrap-realtypress .table-hover { border: none !important; }

.bootstrap-realtypress .table td,
.bootstrap-realtypress .table th {
  padding: 12px 16px;
  border: none !important;
  border-bottom: 1px solid var(--rps-linen) !important;
  vertical-align: middle; line-height: 1.4;
}
.bootstrap-realtypress .table th {
  font-family: var(--rps-font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rps-warm-dark);
  background: var(--rps-cream) !important;
  border-bottom: 1px solid var(--rps-warm-gray-lt) !important;
}
.bootstrap-realtypress .table td:first-child strong {
  font-weight: 400; color: var(--rps-warm-dark); font-size: 13px;
}
.bootstrap-realtypress .table td.text-right,
.bootstrap-realtypress .table td:last-child {
  text-align: right; font-weight: 500; color: var(--rps-charcoal);
}
.bootstrap-realtypress .table tbody tr:nth-child(even) td {
  background: rgba(237, 232, 224, 0.28) !important;
}
.bootstrap-realtypress .table tbody tr:hover td {
  background: rgba(196, 166, 118, 0.07) !important;
}

/* --------------------------------------------------------------------------
   11. SIDEBAR
   -------------------------------------------------------------------------- */
.rps-single-listing .col-md-3 { padding-left: 16px; }

.rps-sidebar-card {
  background: var(--rps-white);
  border: 1px solid var(--rps-linen);
  border-radius: var(--rps-radius-lg);
  padding: 24px 20px;
  margin-bottom: 18px;
  box-shadow: var(--rps-shadow-sm);
}
.rps-sidebar-card h3,
.rps-sidebar-card h4 {
  font-family: var(--rps-font-display);
  font-size: 20px; font-weight: 400; color: var(--rps-ink);
  margin: 0 0 16px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rps-linen);
  position: relative;
}
.rps-sidebar-card h3::after,
.rps-sidebar-card h4::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  width: 28px; height: 2px;
  background: var(--rps-gold); border-radius: 2px;
}

/* Form inputs */
.rps-single-listing input[type="text"],
.rps-single-listing input[type="email"],
.rps-single-listing input[type="tel"],
.rps-single-listing input[type="number"],
.rps-single-listing textarea,
.rps-single-listing select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--rps-warm-gray-lt); border-radius: var(--rps-radius-sm);
  background: var(--rps-white);
  font-family: var(--rps-font-body); font-size: 13px; color: var(--rps-charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; margin-bottom: 10px; appearance: none;
}
.rps-single-listing input:focus,
.rps-single-listing textarea:focus,
.rps-single-listing select:focus {
  border-color: var(--rps-gold);
  box-shadow: 0 0 0 3px rgba(196, 166, 118, 0.14);
}
.rps-single-listing textarea { min-height: 88px; resize: vertical; }

/* Primary button */
.rps-single-listing .btn-primary,
.rps-single-listing input[type="submit"],
.rps-single-listing button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 13px 22px;
  background: var(--rps-gold); border: 1px solid var(--rps-gold);
  border-radius: var(--rps-radius-sm);
  font-family: var(--rps-font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #fff !important; cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, transform 0.15s;
}
.rps-single-listing .btn-primary:hover,
.rps-single-listing input[type="submit"]:hover,
.rps-single-listing button[type="submit"]:hover {
  background: var(--rps-gold-deep);
  border-color: var(--rps-gold-deep);
  box-shadow: var(--rps-shadow-gold);
  transform: translateY(-1px);
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   12. TABS
   -------------------------------------------------------------------------- */
.bootstrap-realtypress .nav-tabs {
  border-bottom: 1px solid var(--rps-linen) !important;
  margin-top: 36px;
}
.bootstrap-realtypress .nav-tabs > li > a {
  font-family: var(--rps-font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rps-warm-dark);
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  padding: 12px 18px;
  background: transparent !important;
  transition: color 0.2s, border-color 0.2s;
}
.bootstrap-realtypress .nav-tabs > li.active > a,
.bootstrap-realtypress .nav-tabs > li > a:hover {
  color: var(--rps-gold) !important;
  border-bottom-color: var(--rps-gold) !important;
  background: transparent !important;
}
.bootstrap-realtypress .tab-content { padding: 22px 0 0; }

/* --------------------------------------------------------------------------
   13. MLS FOOTER
   -------------------------------------------------------------------------- */
/* Hide social share icons — removed by design */
.bootstrap-realtypress .rps-single-listing .rps-social,
.bootstrap-realtypress .rps-single-listing [class*="rps-social"],
.bootstrap-realtypress .rps-single-listing .property-single-social,
.bootstrap-realtypress .rps-single-listing .rps-share,
.bootstrap-realtypress .rps-single-listing .fa-facebook,
.bootstrap-realtypress .rps-single-listing .fa-twitter,
.bootstrap-realtypress .rps-single-listing .fa-pinterest,
.bootstrap-realtypress .rps-single-listing .fa-linkedin { display: none !important; }

.rps-footer {
  padding: 22px 0 8px;
  font-family: var(--rps-font-body) !important;
  font-size: 11px !important;
  color: var(--rps-warm-gray) !important;
  border-top: 1px solid var(--rps-linen) !important;
  line-height: 1.6; letter-spacing: 0.02em;
}
.rps-footer a { color: var(--rps-gold-deep); text-decoration: none; }
.rps-footer a:hover { color: var(--rps-gold); }

.rps-single-listing .rps-single-listing-information-link {
  font-family: var(--rps-font-body);
  font-size: 12px; letter-spacing: 0.07em;
  color: var(--rps-gold-deep); text-decoration: none;
}
.rps-single-listing .rps-single-listing-information-link:hover { color: var(--rps-gold); }

/* --------------------------------------------------------------------------
   14. HIDE ORIGINAL BXSLIDER PAGER COLUMNS
       (we replaced the thumb pager with the mosaic)
   -------------------------------------------------------------------------- */
.rps-single-listing .col-md-3 .bx-pager-wrap,
.rps-single-listing .col-sm-4 .bx-pager-wrap,
.rps-single-listing .col-xs-12 .bx-pager-wrap { display: none !important; }

.rps-single-listing div[style*="border: 1px solid #e5e5e5"] { border: none !important; }

/* --------------------------------------------------------------------------
   15. ANIMATIONS
   -------------------------------------------------------------------------- */
.rps-photos-block  { animation: rps-fadein 0.5s var(--rps-ease-out) both; }
.rps-header-block  { animation: rps-fadein 0.5s var(--rps-ease-out) 0.08s both; }
.rps-single-listing h3 { animation: rps-fadein 0.4s var(--rps-ease-out) 0.12s both; }

@keyframes rps-fadein {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   16. SPEC SECTIONS — editorial label/value layout for all detail sections
   -------------------------------------------------------------------------- */

/* ── Section wrapper ── */
.rps-spec-section {
  padding: 56px 0 0;
}

/* ── Section header — gold rule + rounded pill label ── */
.rps-spec-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.rps-spec-header__rule {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--rps-gold);
  border-radius: 1px;
  flex-shrink: 0;
}
.rps-spec-header__title {
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rps-warm-gray);
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  /* pill badge */
  padding: 6px 14px;
  border: 1px solid rgba(184, 151, 95, 0.32);
  border-radius: 100px;
}

/* ── Two-column spec grid ── */
/* ── Two-column card grid ── */
.rps-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}

/* ── Single spec column — stacks cards vertically ── */
.rps-spec-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Spec row — individual rounded card (label small-caps above, value below) ── */
.rps-spec-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  background: var(--rps-white);
  border: 1px solid var(--rps-linen);
  border-radius: var(--rps-radius-lg);
  transition: border-color 0.18s;
}
.rps-spec-row:first-child { border-top: 1px solid var(--rps-linen); }
.rps-spec-row:hover { border-color: var(--rps-warm-gray-lt); }

.rps-spec-label {
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rps-warm-gray);
  white-space: normal;
}

/* Dots hidden — card layout makes them obsolete */
.rps-spec-dots { display: none; }

.rps-spec-value {
  font-family: var(--rps-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--rps-ink);
  text-align: left;
}
.rps-spec-value sup {
  font-size: 9px;
  vertical-align: super;
  line-height: 0;
}

/* --------------------------------------------------------------------------
   17. ROOMS — alternating dark / light feature cards (editorial style)
   -------------------------------------------------------------------------- */

/* Two-column card grid */
.rps-rooms-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Card shell */
.rps-rooms-feature-card {
  border-radius: var(--rps-radius-lg);
  padding: 26px 24px 28px;
  overflow: hidden;
}

/* Dark variant — ink background */
.rps-rooms-feature-card--dark {
  background: var(--rps-ink);
}

/* Light variant — cream background */
.rps-rooms-feature-card--light {
  background: var(--rps-cream);
  border: 1px solid var(--rps-linen);
}

/* Level label (e.g. "MAIN LEVEL") */
.rps-rooms-feature-card__level {
  display: block;
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.rps-rooms-feature-card--dark  .rps-rooms-feature-card__level { color: var(--rps-gold-light); border-color: rgba(255,255,255,0.10); }
.rps-rooms-feature-card--light .rps-rooms-feature-card__level { color: var(--rps-warm-gray); border-color: var(--rps-linen); }

/* Room list */
.rps-rooms-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Single room item */
.rps-rooms-feature-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0 10px;
  align-items: start;
  padding: 11px 0;
}
.rps-rooms-feature-card--dark  .rps-rooms-feature-item { border-top: 1px solid rgba(255,255,255,0.08); }
.rps-rooms-feature-card--light .rps-rooms-feature-item { border-top: 1px solid var(--rps-linen); }
.rps-rooms-feature-item:first-child { border-top: none; padding-top: 0; }

/* Bullet */
.rps-rooms-feature-item__bullet {
  font-size: 16px;
  line-height: 1;
  margin-top: 5px;
}
.rps-rooms-feature-card--dark  .rps-rooms-feature-item__bullet { color: var(--rps-gold); }
.rps-rooms-feature-card--light .rps-rooms-feature-item__bullet { color: var(--rps-gold-deep); }

/* Info column */
.rps-rooms-feature-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Room name — large serif */
.rps-rooms-feature-item__name {
  font-family: var(--rps-font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  display: block;
}
.rps-rooms-feature-card--dark  .rps-rooms-feature-item__name { color: var(--rps-white); }
.rps-rooms-feature-card--light .rps-rooms-feature-item__name { color: var(--rps-ink); }

/* Dimensions — small text below name */
.rps-rooms-feature-item__dim {
  font-family: var(--rps-font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: block;
}
.rps-rooms-feature-card--dark  .rps-rooms-feature-item__dim { color: rgba(255,255,255,0.45); }
.rps-rooms-feature-card--light .rps-rooms-feature-item__dim { color: var(--rps-warm-gray); }

/* --------------------------------------------------------------------------
   18. MAP SECTION
   -------------------------------------------------------------------------- */
.rps-map-section {
  padding: 56px 0 0;
}

/* Pill tab nav */
.rps-map-tab-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 0;
}

.rps-map-tab-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid var(--rps-warm-gray-lt);
  border-bottom: none;
  border-radius: var(--rps-radius-sm) var(--rps-radius-sm) 0 0;
  font-family: var(--rps-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rps-warm-gray);
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  position: relative;
  bottom: -1px;
}
.rps-map-tab-btn.active,
.rps-map-tab-btn:hover {
  color: var(--rps-ink);
  background: var(--rps-white);
  border-color: var(--rps-warm-gray-lt);
}
.rps-map-tab-btn.active {
  background: var(--rps-white);
  z-index: 1;
}

.rps-map-tab-content {
  border: 1px solid var(--rps-warm-gray-lt);
  border-radius: 0 var(--rps-radius-sm) var(--rps-radius-sm) var(--rps-radius-sm);
  overflow: hidden;
}

/* Keep plugin tab-pane logic intact */
.rps-map-tab-content .tab-pane { display: none; }
.rps-map-tab-content .tab-pane.active { display: block; }

.rps-tab-map,
.tab-map {
  width: 100%;
  height: 440px;
  background: var(--rps-linen);
  display: block;
}

/* --------------------------------------------------------------------------
   19. AGENT & OFFICE — refined profile strip
   -------------------------------------------------------------------------- */
.rps-agent-section {
  padding: 56px 0 64px;
}

.rps-agent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--rps-linen);
  border: 1px solid var(--rps-linen);
  border-radius: var(--rps-radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.rps-agent-row:last-child { margin-bottom: 0; }

/* Agent profile card */
.rps-agent-profile {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 260px;
  background: var(--rps-white);
  padding: 28px 32px;
}

.rps-agent-profile__avatar {
  flex-shrink: 0;
}
.rps-agent-profile__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rps-linen);
  display: block;
}

.rps-agent-profile__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rps-agent-profile__name {
  font-family: var(--rps-font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--rps-ink);
  line-height: 1.15;
  display: block;
}

.rps-agent-profile__position {
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rps-gold-deep);
  display: block;
  margin-bottom: 6px;
}

.rps-agent-profile__contacts,
.rps-office-profile__contacts {
  font-family: var(--rps-font-body);
  font-size: 13px;
  color: var(--rps-warm-dark);
  line-height: 1.8;
  margin-top: 4px;
}
.rps-agent-profile__contacts a,
.rps-office-profile__contacts a {
  color: var(--rps-warm-dark);
  text-decoration: none;
  transition: color 0.18s;
}
.rps-agent-profile__contacts a:hover,
.rps-office-profile__contacts a:hover { color: var(--rps-gold); }

/* Office profile card */
.rps-office-profile {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 260px;
  background: var(--rps-cream);
  padding: 28px 32px;
}

.rps-office-profile__logo {
  flex-shrink: 0;
}
.rps-office-profile__logo img {
  max-width: 80px;
  max-height: 52px;
  object-fit: contain;
  display: block;
}

.rps-office-profile__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rps-office-profile__name {
  font-family: var(--rps-font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--rps-ink);
  line-height: 1.2;
  display: block;
}

.rps-office-profile__address {
  font-family: var(--rps-font-body);
  font-size: 12px;
  color: var(--rps-warm-gray);
  font-style: normal;
  line-height: 1.7;
  white-space: pre-line;
  margin: 4px 0 6px;
}

/* --------------------------------------------------------------------------
   20. SIDEBAR CARDS
   -------------------------------------------------------------------------- */
.rps-sidebar-right {
  padding-top: 0;
}

.rps-sidebar-card {
  background: var(--rps-white);
  border: 1px solid var(--rps-linen);
  border-radius: var(--rps-radius-lg);
  padding: 26px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(36, 30, 22, 0.07);
}
.rps-sidebar-card:last-child { margin-bottom: 0; }

/* ── Contact form inside sidebar ── */
.rps-sidebar-card--contact .rps-contact-form label,
.rps-sidebar-card--contact label {
  font-family: var(--rps-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rps-warm-gray);
  margin-bottom: 5px;
  display: block;
}

.rps-sidebar-card--contact input,
.rps-sidebar-card--contact textarea,
.rps-sidebar-card--contact select,
.bootstrap-realtypress .rps-sidebar-card input[type="text"],
.bootstrap-realtypress .rps-sidebar-card input[type="email"],
.bootstrap-realtypress .rps-sidebar-card input[type="tel"],
.bootstrap-realtypress .rps-sidebar-card textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--rps-cream);
  border: 1px solid var(--rps-linen);
  border-radius: var(--rps-radius-sm);
  font-family: var(--rps-font-body);
  font-size: 13px;
  color: var(--rps-ink);
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
}
.bootstrap-realtypress .rps-sidebar-card input:focus,
.bootstrap-realtypress .rps-sidebar-card textarea:focus {
  border-color: var(--rps-gold);
  background: var(--rps-white);
}

.bootstrap-realtypress .rps-sidebar-card button[type="submit"],
.bootstrap-realtypress .rps-sidebar-card .btn-primary,
.bootstrap-realtypress .rps-sidebar-card .btn {
  width: 100%;
  padding: 12px 20px;
  background: var(--rps-ink);
  color: var(--rps-white);
  border: none;
  border-radius: var(--rps-radius-sm);
  font-family: var(--rps-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.bootstrap-realtypress .rps-sidebar-card button[type="submit"]:hover,
.bootstrap-realtypress .rps-sidebar-card .btn-primary:hover {
  background: var(--rps-charcoal);
}

/* --------------------------------------------------------------------------
   21. SUPPRESS DEFAULT PLUGIN TABLE/H3 STYLING
   -------------------------------------------------------------------------- */
/* Remove all Bootstrap table chrome — replaced by .rps-spec-section */
.bootstrap-realtypress .rps-single-listing table.table { display: none !important; }
.bootstrap-realtypress .rps-single-listing h3 { display: none !important; }
/* Restore h3/h4 inside sidebar cards (suppressor above is too broad) */
.bootstrap-realtypress .rps-sidebar-card h3,
.bootstrap-realtypress .rps-sidebar-card h4 { display: block !important; }

/* --------------------------------------------------------------------------
   22a. MAIN CONTENT COLUMN — right padding from sidebar
   -------------------------------------------------------------------------- */
.rps-single-listing .col-md-9,
.rps-single-listing .col-sm-8 {
  padding-right: 40px !important;
}

/* --------------------------------------------------------------------------
   23. OPEN HOUSE / LIVE STREAM — event cards
   -------------------------------------------------------------------------- */
.rps-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.rps-event-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--rps-cream);
  border: 1px solid var(--rps-linen);
  border-radius: var(--rps-radius);
  overflow: hidden;
}

.rps-event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 72px;
  padding: 18px 16px;
  background: var(--rps-ink);
  color: #fff;
  text-align: center;
  flex-shrink: 0;
}

.rps-event-card__month {
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rps-gold-light);
  display: block;
}

.rps-event-card__day {
  font-family: var(--rps-font-display);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  display: block;
}

.rps-event-card__dow {
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  display: block;
  text-transform: uppercase;
}

.rps-event-card__detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 18px 22px;
}

.rps-event-card__time {
  font-family: var(--rps-font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--rps-ink);
  display: block;
}

.rps-event-card__note {
  font-family: var(--rps-font-body);
  font-size: 12px;
  color: var(--rps-warm-gray);
  display: block;
  line-height: 1.5;
}

.rps-event-card__link {
  font-family: var(--rps-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rps-gold-deep);
  text-decoration: none;
  display: inline-block;
}
.rps-event-card__link:hover { color: var(--rps-gold); text-decoration: none; }

/* --------------------------------------------------------------------------
   24. HOODQ WIDGET
   -------------------------------------------------------------------------- */
.rps-hoodq-widget {
  width: 100%;
  height: auto;
  min-height: 100px;
}

/* --------------------------------------------------------------------------
   25. LISTING NOT FOUND
   -------------------------------------------------------------------------- */
.rps-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 120px;
  text-align: center;
  gap: 16px;
}

.rps-not-found__icon {
  width: 56px;
  height: 56px;
  color: var(--rps-warm-gray-lt);
  margin-bottom: 8px;
}

.rps-not-found__title {
  font-family: var(--rps-font-display) !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 400 !important;
  color: var(--rps-ink) !important;
  margin: 0 !important;
  display: block !important;
}

.rps-not-found__text {
  font-family: var(--rps-font-body);
  font-size: 15px;
  color: var(--rps-warm-gray);
  margin: 0;
  max-width: 40ch;
}

.rps-not-found__btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 28px;
  background: var(--rps-ink);
  border-radius: var(--rps-radius-sm);
  font-family: var(--rps-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rps-white);
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 8px;
}
.rps-not-found__btn:hover { background: var(--rps-charcoal); color: var(--rps-white); text-decoration: none; }

/* --------------------------------------------------------------------------
   26. SIDEBAR AGENT — vertical compact
   -------------------------------------------------------------------------- */
.rps-agent-v {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rps-agent-v__agent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 4px;
}

.rps-agent-v__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--rps-linen);
  display: block;
}

.rps-agent-v__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rps-agent-v__name {
  font-family: var(--rps-font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--rps-ink);
  line-height: 1.15;
  display: block;
}

.rps-agent-v__position {
  font-family: var(--rps-font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rps-gold-deep);
  display: block;
  margin-bottom: 4px;
}

.rps-agent-v__contacts,
.rps-agent-v__office-info .rps-agent-v__contacts {
  font-family: var(--rps-font-body);
  font-size: 12px;
  color: var(--rps-warm-dark);
  line-height: 1.8;
}
.rps-agent-v__contacts a { color: var(--rps-warm-dark); text-decoration: none; transition: color 0.18s; }
.rps-agent-v__contacts a:hover { color: var(--rps-gold); }

.rps-agent-v__divider {
  border: none;
  border-top: 1px solid var(--rps-linen);
  margin: 16px 0;
}

.rps-agent-v__office {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rps-agent-v__office-logo {
  max-width: 60px;
  max-height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.rps-agent-v__office-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rps-agent-v__office-name {
  font-family: var(--rps-font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--rps-ink);
  line-height: 1.2;
  display: block;
}

.rps-agent-v__office-address {
  font-family: var(--rps-font-body);
  font-size: 11px;
  color: var(--rps-warm-gray);
  font-style: normal;
  line-height: 1.65;
  white-space: pre-line;
  margin: 2px 0 4px;
  display: block;
}

/* --------------------------------------------------------------------------
   27. SIDEBAR FAVORITES
   -------------------------------------------------------------------------- */
.rps-fav-sidebar__title {
  font-family: var(--rps-font-display) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: var(--rps-ink) !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rps-linen);
  position: relative;
  display: block !important;
}
.rps-fav-sidebar__title::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  width: 24px; height: 2px;
  background: var(--rps-gold); border-radius: 2px;
}

.rps-fav-sidebar__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rps-fav-sidebar__item {
  border-bottom: 1px solid var(--rps-linen);
}
.rps-fav-sidebar__item:last-child { border-bottom: none; }

.rps-fav-sidebar__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  text-decoration: none;
  transition: opacity 0.18s;
}
.rps-fav-sidebar__link:hover { opacity: 0.75; text-decoration: none; }

.rps-fav-sidebar__address {
  font-family: var(--rps-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--rps-ink);
  display: block;
}

.rps-fav-sidebar__city {
  font-family: var(--rps-font-body);
  font-size: 11px;
  color: var(--rps-warm-gray);
  display: block;
  letter-spacing: 0.02em;
}

.rps-fav-sidebar__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 0 8px;
  text-align: center;
}
.rps-fav-sidebar__empty svg {
  width: 32px; height: 32px;
  color: var(--rps-warm-gray-lt);
}
.rps-fav-sidebar__empty p {
  font-family: var(--rps-font-body);
  font-size: 12px;
  color: var(--rps-warm-gray);
  margin: 0;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   28. SIDEBAR CONTACT FORM — additional overrides
   -------------------------------------------------------------------------- */
/* The core input/button styles come from section 20 via .rps-sidebar-card selectors.
   These are supplemental rules for new markup patterns. */

.rps-contact-form-wrap-v { display: flex; flex-direction: column; gap: 0; }

.rps-sidebar-form__captcha {
  font-family: var(--rps-font-body);
  font-size: 12px;
  color: var(--rps-warm-gray);
  padding: 4px 0 8px;
}
.rps-sidebar-form__captcha-loading {
  font-size: 11px;
  color: var(--rps-warm-gray-lt);
  letter-spacing: 0.04em;
}

.rps-sidebar-form__agreement {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--rps-font-body);
  font-size: 11px;
  color: var(--rps-warm-gray);
  line-height: 1.5;
  cursor: pointer;
  margin: 4px 0 10px;
}
.rps-sidebar-form__agreement input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: auto !important;
  accent-color: var(--rps-gold);
}

/* Progress bar */
.rps-sidebar-form__progress {
  background: var(--rps-gold);
  transition: width 0.3s;
}
.bootstrap-realtypress .rps-sidebar-card .progress {
  height: 4px;
  background: var(--rps-linen);
  border-radius: 2px;
  overflow: hidden;
  margin: 8px 0;
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE — below-fold
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .rps-gallery-mosaic { height: 440px; }
  .rps-gallery-mosaic__main { height: 440px; max-height: 440px; }
  .rps-spec-grid { gap: 0 8px; }
  .rps-arch-specs__grid { grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
  .rps-arch-specs__heading { font-size: 48px; }
}

@media (max-width: 991px) {
  .rps-gallery-mosaic { height: 360px; }
  .rps-gallery-mosaic__main { height: 360px; max-height: 360px; }
  .rps-spec-grid { grid-template-columns: 1fr; gap: 0; }
  .rps-rooms-feature-grid { grid-template-columns: 1fr; }
  .rps-agent-profile, .rps-office-profile { padding: 22px 24px; }
  .rps-arch-specs { padding: 44px 28px 52px; }
  .rps-arch-specs__grid { grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
  .rps-arch-specs__heading { font-size: 42px; }
}

@media (max-width: 767px) {
  /* Nav bar */
  .rps-gallery-nav { flex-wrap: wrap; gap: 8px; }
  .rps-gallery-nav__right { margin-left: auto; }

  /* Mosaic — stack vertically on tablet */
  .rps-gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
  .rps-gallery-mosaic__main {
    grid-row: span 1;
    height: 260px; max-height: 260px;
    border-radius: var(--rps-radius-lg) var(--rps-radius-lg) 0 0;
  }
  .rps-gallery-mosaic__main img,
  .rps-gallery-mosaic__main > a { border-radius: var(--rps-radius-lg) var(--rps-radius-lg) 0 0; }
  .rps-gallery-mosaic__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 160px; }
  .rps-thumb--bl, .rps-thumb--br { display: none; }
  .rps-thumb--tl, .rps-thumb--tl > a { border-radius: 0 0 0 var(--rps-radius-lg); }
  .rps-thumb--tr, .rps-thumb--tr > a { border-radius: 0 0 var(--rps-radius-lg) 0; }

  /* Header — stack on mobile */
  .rps-single-listing-favorites-wrap { align-items: flex-start; margin-top: 14px; }
  .rps-property-header .col-md-4 { text-align: left !important; }
  .rps-header-top { flex-direction: column; gap: 20px; }
  .rps-header-right { align-items: flex-start; text-align: left; }
  .rps-header-price-wrap { flex-wrap: wrap; }
  .rps-stat-pipe { padding: 0 12px; }
  .rps-stat-value { font-size: 15px; }
  .rps-stat-label { font-size: 13px; }
  .rps-single-listing .col-md-3 { padding-left: 15px; margin-top: 24px; }

  /* Below-fold sections */
  .rps-spec-section, .rps-map-section, .rps-agent-section { padding-top: 36px; }
  .rps-spec-grid { grid-template-columns: 1fr; gap: 0; }
  .rps-agent-row { flex-direction: column; gap: 1px; }
  .rps-agent-profile, .rps-office-profile { min-width: 0; width: 100%; }
  .rps-rooms-feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .rps-map-tab-btn { font-size: 10px; padding: 0 12px; }
  .rps-arch-specs { padding: 36px 20px 44px; border-radius: var(--rps-radius); margin-top: 36px; }
  .rps-arch-specs__grid { grid-template-columns: 1fr; gap: 32px 0; }
  .rps-arch-specs__heading { font-size: 36px; }
  .rps-arch-specs__head { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .rps-gallery-mosaic { grid-template-columns: 1fr; height: auto; }
  .rps-gallery-mosaic__main { grid-row: span 1; height: 220px; max-height: 220px; border-radius: var(--rps-radius-lg) !important; }
  .rps-gallery-mosaic__main img, .rps-gallery-mosaic__main > a { border-radius: var(--rps-radius-lg) !important; }
  .rps-gallery-mosaic__grid { display: none; }
  .rps-rooms-feature-grid { grid-template-columns: 1fr; }
  .rps-arch-specs__heading { font-size: 30px; }
}

/* =============================================================================
   TIER 3 & 4 — Footer & Disclaimer
   ============================================================================= */

/* --------------------------------------------------------------------------
   MLS FOOTER
   -------------------------------------------------------------------------- */
.rps-footer-mls {
  padding-top: 8px;
}

.rps-footer-badge-link {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.rps-footer-badge-link:hover { opacity: 1; }

.rps-footer-ownership {
  font-family: var(--rps-font-body);
  font-size: 11px;
  line-height: 1.6;
  color: var(--rps-warm-gray);
}
.rps-footer-ownership a {
  color: var(--rps-gold-deep);
  text-decoration: none;
}
.rps-footer-ownership a:hover { color: var(--rps-gold); }

.rps-footer-trademarks {
  font-family: var(--rps-font-body);
  font-size: 11px;
  line-height: 1.65;
  color: var(--rps-warm-gray);
  margin-bottom: 16px;
}

.rps-footer-stats {
  border-top: 1px solid var(--rps-linen);
  padding-top: 14px;
}

.rps-footer-stat-label {
  display: block;
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rps-warm-gray);
  margin-bottom: 3px;
}

.rps-footer-stat-value {
  display: block;
  font-family: var(--rps-font-body);
  font-size: 12px;
  color: var(--rps-warm-dark);
  line-height: 1.4;
}

.rps-footer-copyright {
  font-family: var(--rps-font-body);
  font-size: 11px;
  color: var(--rps-warm-gray);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rps-linen);
}
.rps-footer-copyright a {
  color: var(--rps-gold-deep);
  text-decoration: none;
}
.rps-footer-copyright a:hover { color: var(--rps-gold); }

/* --------------------------------------------------------------------------
   CREA DISCLAIMER PAGE
   -------------------------------------------------------------------------- */
.rps-disclaimer-wrap {
  padding: 48px 0 64px;
}

.rps-disclaimer-logo {
  text-align: center;
  margin-bottom: 20px;
}

.rps-disclaimer-title {
  font-family: var(--rps-font-display) !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 400 !important;
  color: var(--rps-ink) !important;
  text-align: center;
  margin: 0 0 8px !important;
  letter-spacing: -0.01em;
}

.rps-disclaimer-subtitle {
  font-family: var(--rps-font-body);
  font-size: 14px;
  color: var(--rps-warm-gray);
  text-align: center;
  letter-spacing: 0.03em;
  margin: 0 0 28px;
}

.rps-disclaimer-divider {
  height: 1px;
  background: var(--rps-linen);
  margin: 28px 0;
  position: relative;
}
.rps-disclaimer-divider::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 2px;
  background: var(--rps-gold);
  border-radius: 2px;
  margin-top: -0.5px;
}

.rps-disclaimer-body h4 {
  font-family: var(--rps-font-display) !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  color: var(--rps-ink) !important;
  margin: 28px 0 8px !important;
}

.rps-disclaimer-body p {
  font-family: var(--rps-font-body);
  font-size: 13px;
  line-height: 1.75;
  color: var(--rps-warm-dark);
  margin: 0 0 12px;
}

.rps-disclaimer-form {
  text-align: center;
  margin-top: 32px;
}

.rps-disclaimer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  background: var(--rps-gold);
  border: 1px solid var(--rps-gold);
  border-radius: var(--rps-radius-sm);
  font-family: var(--rps-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, transform 0.15s;
  min-width: 280px;
}
.rps-disclaimer-btn:hover {
  background: var(--rps-gold-deep);
  border-color: var(--rps-gold-deep);
  box-shadow: var(--rps-shadow-gold);
  transform: translateY(-1px);
  color: #fff;
}

/* ==========================================================================
   29. STICKY SIDEBAR
   ========================================================================== */

.rps-sidebar-sticky {
  position: sticky;
  top: 24px;
}

/* Disable sticky on narrow viewports where sidebar stacks below content */
@media (max-width: 991px) {
  .rps-sidebar-sticky { position: static; }
}

/* ==========================================================================
   30. KEY FACTS BAND
   ========================================================================== */

.rps-key-facts {
  display: flex;
  align-items: stretch;
  padding: 36px 0 40px;
  border-top: 1px solid var(--rps-linen);
  border-bottom: 1px solid var(--rps-linen);
  margin-top: 32px;
  gap: 0;
}

.rps-key-facts__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

/* Vertical divider between stats */
.rps-key-facts__stat + .rps-key-facts__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--rps-linen);
}

.rps-key-facts__number {
  font-family: var(--rps-font-display);
  font-size: 38px;
  font-weight: 300;
  color: var(--rps-ink);
  line-height: 1;
  letter-spacing: -0.01em;
}

.rps-key-facts__label {
  font-family: var(--rps-font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rps-warm-gray);
}

/* On mobile: 2-column grid */
@media (max-width: 767px) {
  .rps-key-facts {
    flex-wrap: wrap;
    padding: 24px 0 28px;
  }
  .rps-key-facts__stat {
    flex: 0 0 50%;
    padding: 16px 0;
    border-bottom: 1px solid var(--rps-linen);
  }
  .rps-key-facts__stat + .rps-key-facts__stat::before { display: none; }
  .rps-key-facts__stat:nth-child(odd) { border-right: 1px solid var(--rps-linen); }
  .rps-key-facts__stat:last-child:nth-child(odd) { flex: 0 0 100%; border-right: none; }
}

/* ==========================================================================
   31. ARCHITECTURAL SPECIFICATIONS — dark editorial layout
   ========================================================================== */

/* Outer dark band */
.rps-arch-specs {
  background: var(--rps-ink);
  border-radius: var(--rps-radius-lg);
  padding: 56px 40px 64px;
  margin-top: 56px;
}

/* Centred editorial heading block */
.rps-arch-specs__head {
  text-align: center;
  margin-bottom: 52px;
}

/* Gold italic serif eyebrow */
.rps-arch-specs__eyebrow {
  display: block;
  font-family: var(--rps-font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--rps-gold);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

/* Large white serif heading */
.rps-arch-specs__heading {
  font-family: var(--rps-font-display);
  font-size: 58px;
  font-weight: 300;
  color: var(--rps-white);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* Auto-fit column grid — 3 cols on wide, fewer on narrow */
.rps-arch-specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 44px;
}

/* Column header — small-caps gold label */
.rps-arch-specs__col-head {
  font-family: var(--rps-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rps-gold);
  margin: 0 0 10px;
  line-height: 1;
}

/* Thin rule below column header */
.rps-arch-specs__col-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

/* Individual spec row — no card border, just padding + subtle divider */
.rps-arch-specs__row {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Muted small-caps label */
.rps-arch-specs__label {
  display: block;
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 3px;
}

/* Larger white value */
.rps-arch-specs__value {
  display: block;
  font-family: var(--rps-font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--rps-white);
  line-height: 1.35;
}

/* ==========================================================================
   32. OPEN HOUSE ANNOUNCEMENT BANNER
   ========================================================================== */

.rps-oh-announce {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 18px 24px;
  background: var(--rps-ink);
  border-radius: var(--rps-radius);
  margin-bottom: 32px;
}

.rps-oh-announce__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background: var(--rps-gold);
  border-radius: 100px;
  font-family: var(--rps-font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}

.rps-oh-announce__text {
  font-family: var(--rps-font-display);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
  min-width: 200px;
}

.rps-oh-announce__text em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.rps-oh-announce__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rps-gold-light);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s;
  flex-shrink: 0;
}
.rps-oh-announce__cta:hover { color: var(--rps-gold); }

/* ==========================================================================
   33. GUARANTEE PROGRAM BANNER
   ========================================================================== */

.rps-guarantee-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--rps-cream);
  border: 1px solid rgba(196, 166, 118, 0.38);
  border-left: 4px solid var(--rps-gold);
  border-radius: var(--rps-radius-lg);
  margin-top: 28px;
  margin-bottom: 0;
}

/* Shield/checkmark icon circle */
.rps-guarantee-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--rps-gold);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

/* Text column */
.rps-guarantee-banner__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.rps-guarantee-banner__title {
  font-family: var(--rps-font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--rps-ink);
  line-height: 1.2;
  display: block;
}

.rps-guarantee-banner__tagline {
  font-family: var(--rps-font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--rps-warm-gray);
  display: block;
}

/* CTA link */
.rps-guarantee-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--rps-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rps-gold-deep);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 18px;
  border: 1px solid rgba(184, 151, 95, 0.4);
  border-radius: 100px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.rps-guarantee-banner__cta:hover {
  background: var(--rps-gold);
  border-color: var(--rps-gold);
  color: #fff;
}

/* Stack on mobile */
@media (max-width: 599px) {
  .rps-guarantee-banner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .rps-guarantee-banner__cta { width: 100%; justify-content: center; }
}

/* ==========================================================================
   PINE.CA CLONE ADDITIONS  (appended)
   ========================================================================== */

/* --------------------------------------------------------------------------
   STATUS PILL — "For Sale" green / "Sold" warm-grey
   -------------------------------------------------------------------------- */
.rps-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--rps-font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.rps-status-pill--active {
  background: #e8f5ec;
  color: #1a7a3a;
  border: 1px solid rgba(26, 122, 58, 0.25);
}
.rps-status-pill--sold {
  background: rgba(107, 99, 88, 0.10);
  color: var(--rps-warm-dark);
  border: 1px solid rgba(107, 99, 88, 0.18);
}

/* --------------------------------------------------------------------------
   HEADER — vertical (Pine.ca layout): pill → price → address → city → stats
   Override the old two-column rps-header-top layout
   -------------------------------------------------------------------------- */
.rps-property-header {
  padding: 28px 0 0;
}
/* Hide old two-column helpers if they somehow render */
.rps-header-top,
.rps-header-left,
.rps-header-right { all: unset; }

/* Price row (price + ⓘ icon side by side) */
.rps-header-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.rps-header-price-row .rps-header-price {
  font-size: 36px;
  font-weight: 700;
  color: #1a1714;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Address h1 */
.rps-property-header h1.rps-header-address {
  font-size: 22px;
  font-weight: 600;
  color: #1a1714;
  margin: 0 0 4px;
  line-height: 1.25;
}

/* City line */
.rps-property-header .rps-header-city {
  font-size: 15px;
  color: var(--rps-warm-dark);
  margin: 0 0 16px;
}

/* Stats bar — tighter, no bottom border on this version */
.rps-property-header .rps-stats-bar {
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--rps-linen);
}

/* --------------------------------------------------------------------------
   QUICK FACTS GRID — 3-column card grid (Pine style)
   -------------------------------------------------------------------------- */
.rps-quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 32px;
}

.rps-quick-fact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 18px;
  background: #faf9f7;
  border: 1px solid var(--rps-linen);
  border-radius: 10px;
}

.rps-quick-fact__icon {
  width: 20px;
  height: 20px;
  color: var(--rps-gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.rps-quick-fact__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.rps-quick-fact__value {
  font-family: var(--rps-font-ui);
  font-size: 15px;
  font-weight: 600;
  color: #1a1714;
  line-height: 1.2;
}

.rps-quick-fact__label {
  font-family: var(--rps-font-ui);
  font-size: 11px;
  font-weight: 400;
  color: var(--rps-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

@media (max-width: 767px) {
  .rps-quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .rps-quick-facts {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   DESCRIPTION SHOW MORE
   -------------------------------------------------------------------------- */
.rps-listing-description.rps-desc--collapsed {
  max-height: 190px;
  overflow: hidden;
  position: relative;
}
.rps-listing-description.rps-desc--collapsed::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

.rps-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--rps-font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--rps-gold-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.15s;
}
.rps-desc-toggle:hover { opacity: 0.75; }
.rps-desc-toggle svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   TOUR SCHEDULER — sidebar card
   -------------------------------------------------------------------------- */
.rps-tour-scheduler {
  padding: 22px 20px 20px;
}

.rps-tour-scheduler__title {
  font-family: var(--rps-font-ui);
  font-size: 15px;
  font-weight: 700;
  color: #1a1714;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

/* Date navigation row */
.rps-tour-date-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.rps-tour-dates {
  display: flex;
  flex: 1;
  gap: 6px;
  justify-content: space-between;
}

.rps-tour-arrow {
  background: none;
  border: 1px solid var(--rps-linen);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--rps-warm-dark);
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
  padding: 0;
}
.rps-tour-arrow:hover:not(:disabled) {
  border-color: var(--rps-gold);
  background: #faf9f7;
}
.rps-tour-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Individual date button */
.rps-tour-date {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  background: none;
  border: 1px solid var(--rps-linen);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 0;
}
.rps-tour-date:hover {
  border-color: var(--rps-gold);
  background: #faf9f7;
}
.rps-tour-date--active {
  background: var(--rps-ink);
  border-color: var(--rps-ink);
  color: #fff;
}
.rps-tour-date__day {
  font-family: var(--rps-font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.65;
}
.rps-tour-date--active .rps-tour-date__day { opacity: 0.7; }
.rps-tour-date__num {
  font-family: var(--rps-font-ui);
  font-size: 18px;
  font-weight: 700;
  color: inherit;
  line-height: 1;
}
.rps-tour-date__month {
  font-family: var(--rps-font-ui);
  font-size: 10px;
  font-weight: 400;
  color: inherit;
  opacity: 0.65;
}
.rps-tour-date--active .rps-tour-date__month { opacity: 0.7; }

/* Time slots */
.rps-tour-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.rps-tour-time-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 6px;
  background: none;
  border: 1px solid var(--rps-linen);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
}
.rps-tour-time-slot:hover {
  border-color: var(--rps-gold);
  background: #faf9f7;
}
.rps-tour-time-slot--active {
  background: var(--rps-ink);
  border-color: var(--rps-ink);
}
.rps-tour-time-slot__label {
  font-family: var(--rps-font-ui);
  font-size: 11px;
  font-weight: 700;
  color: #1a1714;
  letter-spacing: 0.02em;
}
.rps-tour-time-slot--active .rps-tour-time-slot__label { color: #fff; }
.rps-tour-time-slot__range {
  font-family: var(--rps-font-ui);
  font-size: 9px;
  font-weight: 400;
  color: var(--rps-warm-gray);
  letter-spacing: 0;
  white-space: nowrap;
}
.rps-tour-time-slot--active .rps-tour-time-slot__range { color: rgba(255,255,255,0.65); }

/* CTA buttons */
.rps-tour-cta {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: var(--rps-ink);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--rps-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
  text-align: center;
  margin-bottom: 12px;
}
.rps-tour-cta:hover { background: #2d2925; }

/* "or" divider */
.rps-tour-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.rps-tour-or span:first-child,
.rps-tour-or span:last-child {
  flex: 1;
  height: 1px;
  background: var(--rps-linen);
  display: block;
}
.rps-tour-or__text {
  font-family: var(--rps-font-ui);
  font-size: 11px;
  font-weight: 400;
  color: var(--rps-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  flex: none !important;
  height: auto !important;
  background: none !important;
}

/* Secondary contact button */
.rps-tour-contact {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  color: #1a1714;
  border: 1.5px solid rgba(26, 23, 20, 0.2);
  border-radius: 10px;
  font-family: var(--rps-font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  text-align: center;
}
.rps-tour-contact:hover {
  border-color: var(--rps-gold);
  background: #faf9f7;
}

/* Mobile: unstack tour scheduler time slots if very narrow */
@media (max-width: 360px) {
  .rps-tour-time-slots { grid-template-columns: 1fr; }
}
