/* =============================================================
   Rentz Compound Detail — pixel-rebuild of template
   White background · Ink text · DM Sans · Orange & Teal accents
   ============================================================= */

:root {
  --rcd-ink: #15161C;
  --rcd-muted: #6A6B73;
  --rcd-hair: #ECE9E0;
  --rcd-white: #FFFFFF;
  --rcd-soft: #FAF7EF;
  --rcd-orange: #EE6B2D;
  --rcd-orange-deep: #a8451a;
  --rcd-teal: #2FB5B5;
  --rcd-teal-deep: #1a6b76;
}

/* Paint compound singular pages white. Use is-cd marker added by Porto's body class. */
body.single-compound { background: var(--rcd-white) !important; }
body.single-compound #main, body.single-compound .main-content { background: transparent !important; }

/* Root sets the box model + the page's own typography. We DO NOT force
   font-family / colour / image rules onto every descendant, because the
   embedded cards (`.igx-card-v1b` from [property_card], `.rcc` from
   rentz_render_compound_card) carry their own complete styling. Letting
   inheritance flow naturally means the cards render exactly as they do
   on listing pages — no overrides, no leakage. */
#rentz-cd-root { box-sizing: border-box; }
#rentz-cd-root *:not(.igx-card-v1b):not(.rcc) { box-sizing: border-box; }
#rentz-cd-root {
  color: var(--rcd-ink);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* Outer max 1440 — explicitly wider than Porto's 1140 container */
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.rcd-hairline { height: 1px; background: var(--rcd-hair); margin: 40px 0; }
.rcd-hairline-lg { margin: 56px 0; }

.rcd-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rcd-muted);
}
.rcd-eyebrow-muted { color: var(--rcd-muted); }

.rcd-h1 {
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--rcd-ink);
  margin: 0;
  max-width: 820px;
  text-wrap: pretty;
}
.rcd-h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 10px 0 24px;
  color: var(--rcd-ink);
}

.rcd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.rcd-chip-ink   { background: var(--rcd-ink); color: #fff; border: 1px solid var(--rcd-ink); }
.rcd-chip-teal  { background: rgba(47,181,181,.10); color: #1a6b76; border: 1px solid rgba(47,181,181,.25); }
.rcd-chip-orange{ background: rgba(238,107,45,.10); color: #a8451a; border: 1px solid rgba(238,107,45,.30); }

.rcd-icon { display: inline-flex; }
.rcd-icon-orange { color: var(--rcd-orange); }
.rcd-icon-teal   { color: var(--rcd-teal); }

.rcd-strong { color: var(--rcd-ink); font-weight: 600; }

/* ============ TITLE BLOCK ============ */
.rcd-title { margin-bottom: 10px; }
.rcd-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--rcd-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.rcd-breadcrumb a { color: var(--rcd-muted); text-decoration: none; }
.rcd-breadcrumb a:hover { color: var(--rcd-ink); }
.rcd-bc-sep { opacity: .4; }
.rcd-bc-current { color: var(--rcd-ink); font-weight: 500; }

.rcd-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.rcd-title-main { flex: 1; min-width: 0; }
.rcd-chip-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.rcd-loc-inline {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--rcd-muted);
}
.rcd-loc-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0,0,0,.2);
  color: var(--rcd-muted);
}
.rcd-loc-dot { opacity: .4; }

.rcd-stats {
  display: flex; align-items: center; gap: 18px;
  margin-top: 18px;
  font-size: 14px; color: var(--rcd-ink);
  flex-wrap: wrap;
}
.rcd-stat { display: inline-flex; align-items: center; gap: 6px; }
.rcd-stat-dot {
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--rcd-hair);
}
.rcd-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--rcd-muted);
}

.rcd-title-side {
  display: flex; align-items: center; gap: 10px;
}
.rcd-rating-pill,
.rcd-title-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--rcd-hair);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--rcd-ink);
  cursor: pointer;
  font-family: inherit;
}
.rcd-title-btn:hover { border-color: var(--rcd-ink); }
.rcd-rating-star { color: #d1cfc6; display: flex; }
.rcd-rating-pill.has-reviews .rcd-rating-star { color: var(--rcd-orange); }
.rcd-rating-pill.has-reviews .rcd-rating-star svg { fill: var(--rcd-orange); }
.rcd-rating-num { font-weight: 600; }
.rcd-rating-cnt { color: var(--rcd-muted); }

a.rcd-rating-pill {
  text-decoration: none !important;
  color: var(--rcd-ink) !important;
}
a.rcd-rating-pill:hover { border-color: var(--rcd-ink); background: var(--rcd-soft); }

/* Save (wishlist) button */
.rcd-save-btn .rcd-save-icon { display: inline-flex; color: currentColor; }
.rcd-save-btn.is-saved {
  border-color: rgba(220, 38, 38, .35) !important;
  background: rgba(220, 38, 38, .04);
}
.rcd-save-btn.is-saved .rcd-save-icon svg {
  fill: #dc2626 !important;
  stroke: #dc2626 !important;
}
.rcd-save-btn.is-saved .rcd-btn-label { color: #b91c1c; font-weight: 600; }

/* Compare button — keep our pill look despite the ignitix-compare-properties CSS */
.rcd-title-btn.igx-prop-compare-btn,
.rcd-title-btn.igx-prop-compare-btn:hover {
  width: auto !important;
  height: auto !important;
  background: #fff !important;
  color: var(--rcd-ink) !important;
  border: 1px solid var(--rcd-hair) !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  line-height: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
}
.rcd-title-btn.igx-prop-compare-btn:hover { border-color: var(--rcd-ink) !important; }
.rcd-title-btn.igx-prop-compare-btn.igx-prop-compare-selected {
  background: rgba(47, 181, 181, .08) !important;
  border-color: rgba(47, 181, 181, .35) !important;
  color: var(--rcd-teal) !important;
}
.rcd-title-btn.igx-prop-compare-btn .rcd-btn-label,
.rcd-title-btn.igx-prop-compare-btn .igx-card-v1b__compare-label {
  color: inherit !important;
  line-height: 1.5 !important;
}

/* ============ GALLERY ============ */
.rcd-gallery { margin-top: 28px; position: relative; }
.rcd-gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 8px;
  height: 528px;
  border-radius: 6px;
  overflow: hidden;
}
.rcd-g-tile {
  position: relative;
  background: #d8d5cb;
  overflow: hidden;
  display: block;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font: inherit;
}
.rcd-g-tile img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.rcd-g-tile:hover img { transform: scale(1.03); }
.rcd-g-hero { grid-column: 1 / 2; grid-row: 1 / 3; }
.rcd-g-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #5a5648;
  background-image: repeating-linear-gradient(135deg, #e8e4d8 0 8px, #dcd7c8 8px 16px);
}
.rcd-g-code {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: #fff;
  background: rgba(0,0,0,.55);
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: .06em;
  pointer-events: none;
}
.rcd-g-showall {
  position: absolute;
  right: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--rcd-ink);
  border: 1px solid var(--rcd-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
  z-index: 3;
}
.rcd-g-showall:hover { background: var(--rcd-ink); color: #fff; }
.rcd-g-showall svg { width: 14px; height: 14px; }

/* ============ MODAL ============ */
.rcd-modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.rcd-modal[aria-hidden="false"] { display: block; }
.rcd-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.rcd-modal-dialog {
  position: relative;
  max-width: 980px; max-height: 84vh;
  margin: 5vh auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,.28);
  z-index: 1;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.rcd-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rcd-hair);
}
.rcd-modal-title {
  margin: 0;
  font-size: 18px; font-weight: 700;
  color: var(--rcd-ink);
}
.rcd-modal-close {
  background: transparent; border: none;
  font-size: 28px; line-height: 1;
  color: var(--rcd-muted);
  cursor: pointer;
}
.rcd-modal-body { padding: 16px 24px 24px; overflow-y: auto; flex: 1; }
.rcd-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.rcd-modal-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee;
  border-radius: 6px;
  cursor: pointer;
  padding: 0; border: 0;
}
.rcd-modal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.rcd-modal-thumb:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
  .rcd-modal-dialog { margin: 0; max-height: 100vh; border-radius: 0; }
  .rcd-modal-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ SLIDER ============ */
.rcd-slider { position: fixed; inset: 0; display: none; z-index: 10000; }
.rcd-slider[aria-hidden="false"] { display: block; }
.rcd-slider-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.94); }
.rcd-slider-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: none;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.rcd-slider-shell {
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  display: flex; align-items: center;
}
.rcd-swiper { width: 100%; }
.rcd-swiper .swiper-slide {
  display: flex; align-items: center; justify-content: center;
  height: 86vh;
}
.rcd-swiper .swiper-slide img {
  max-width: 100%; max-height: 86vh;
  object-fit: contain; display: block;
}
.rcd-slider .swiper-button-prev,
.rcd-slider .swiper-button-next {
  color: #fff;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  --swiper-navigation-size: 18px;
}
.rcd-slider .swiper-pagination {
  color: #fff; bottom: 18px;
  font-size: 14px; font-weight: 600;
}

/* ============ MAIN GRID ============ */
.rcd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  margin-top: 56px;
  align-items: stretch;
}
.rcd-aside { align-self: stretch; position: relative; }
.rcd-main { min-width: 0; display: flex; flex-direction: column; gap: 0; }

/* ============ ABOUT ============ */
.rcd-about-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px;
}
.rcd-about-sub { color: var(--rcd-muted); font-size: 14px; margin-top: 6px; }
.rcd-host-avatar {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rcd-teal) 0%, var(--rcd-teal-deep) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 64px;
}
.rcd-about-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--rcd-ink);
  margin-top: 20px;
  max-width: 720px;
  text-wrap: pretty;
}
.rcd-about-body p { margin: 0 0 14px; }
.rcd-about-body p:last-child { margin-bottom: 0; }

.rcd-comp-strip {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--rcd-soft);
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 36px;
}
.rcd-comp-strip .rcd-comp-cell {
  flex: 0 1 auto;
  min-width: 0;
}
/* Legacy grid count modifiers no longer drive layout but kept for backwards-compat */
.rcd-comp-strip-5,
.rcd-comp-strip-4,
.rcd-comp-strip-3,
.rcd-comp-strip-2,
.rcd-comp-strip-1 { /* no-op */ }
.rcd-comp-val {
  font-size: 22px; font-weight: 700;
  color: var(--rcd-ink); margin-top: 6px;
  letter-spacing: -0.01em;
}
.rcd-comp-sub { font-size: 12px; color: var(--rcd-muted); margin-top: 2px; }

.rcd-lifestyle {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.rcd-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 999px;
  font-size: 12px;
  color: var(--rcd-ink);
  font-weight: 500;
}
.rcd-pill-check { color: var(--rcd-teal); display: flex; }

/* ============ DETAILS (Things to know) ============ */
.rcd-pd-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.rcd-pd-card {
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
  padding: 20px 22px;
}
.rcd-pd-card-title {
  font-size: 17px; font-weight: 700;
  color: var(--rcd-ink);
  margin-top: 8px;
  margin-bottom: 6px;
}
.rcd-pd-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rcd-hair);
  font-size: 14px;
}
.rcd-pd-row:last-child { border-bottom: none; }
.rcd-pd-key { color: var(--rcd-muted); }
.rcd-pd-val { color: var(--rcd-ink); font-weight: 600; }

/* ============ VIDEO ============ */
.rcd-video-frame {
  position: relative;
  border-radius: 6px; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--rcd-ink);
  border: 1px solid var(--rcd-hair);
  cursor: pointer;
}
.rcd-video-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, #1c1d24 0 10px, var(--rcd-ink) 10px 20px);
}
.rcd-video-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border: none;
  cursor: pointer;
  z-index: 2;
}
.rcd-video-play span {
  width: 0; height: 0;
  border-left: 22px solid var(--rcd-ink);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.rcd-video-tag {
  position: absolute;
  left: 16px; top: 14px;
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  color: #fff;
  letter-spacing: .16em;
  font-weight: 700;
  z-index: 2;
}
.rcd-video-dot { width: 8px; height: 8px; border-radius: 999px; background: #ff3b30; }
.rcd-video-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
  z-index: 2;
}
.rcd-video-title { font-size: 14px; font-weight: 600; }
.rcd-video-sub { font-size: 12px; opacity: .8; margin-top: 2px; }
.rcd-video-frame.is-playing .rcd-video-stripes,
.rcd-video-frame.is-playing .rcd-video-play,
.rcd-video-frame.is-playing .rcd-video-tag,
.rcd-video-frame.is-playing .rcd-video-caption { display: none; }
.rcd-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ SECTION HEAD ============ */
.rcd-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.rcd-section-sub { font-size: 13px; color: var(--rcd-muted); margin-top: 6px; max-width: 640px; }
.rcd-section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--rcd-ink);
  text-decoration: none;
}
.rcd-section-link:hover { color: var(--rcd-orange); }
.rcd-section-actions { display: flex; align-items: center; gap: 10px; }

.rcd-cta-outline {
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--rcd-ink);
  color: var(--rcd-ink);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.rcd-cta-outline:hover { background: var(--rcd-ink); color: #fff; }
.rcd-cta-outline:hover svg { stroke: #fff; }

/* ============ HIGHLIGHTS ============ */
.rcd-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rcd-highlight {
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rcd-highlight-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  background: #eee center/cover no-repeat;
}
.rcd-highlight-num {
  position: absolute;
  left: 12px; top: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: .06em;
}
.rcd-highlight-body { padding: 18px; flex: 1; }
.rcd-highlight-name {
  font-size: 18px; font-weight: 700;
  color: var(--rcd-ink);
  margin: 0 0 8px;
}
.rcd-highlight-desc {
  font-size: 13px;
  color: var(--rcd-muted);
  line-height: 1.55;
}
.rcd-highlight-desc p { margin: 0 0 8px; }
.rcd-highlight-desc p:last-child { margin-bottom: 0; }

/* ============ LOCATION ============ */
.rcd-loc-addr {
  font-size: 14px;
  color: var(--rcd-muted);
  margin: 6px 0 20px;
  max-width: 620px;
}
.rcd-map {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 440px;
  background: #d8e7e3;
  border: 1px solid var(--rcd-hair);
}
.rcd-nearby {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.rcd-nearby-item {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
}
.rcd-nearby-name { font-size: 13px; font-weight: 600; color: var(--rcd-ink); }
.rcd-nearby-meta { font-size: 12px; color: var(--rcd-muted); margin-top: 2px; }

/* ============ FEATURED ============ */
.rcd-type-chips {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.rcd-type-chip {
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--rcd-ink);
  border: 1px solid var(--rcd-hair);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.rcd-type-chip.is-active {
  background: var(--rcd-ink);
  color: #fff;
  border-color: var(--rcd-ink);
}
.rcd-type-chip-cnt { color: rgba(255,255,255,.55); font-weight: 500; margin-left: 4px; }
.rcd-type-chip:not(.is-active) .rcd-type-chip-cnt { color: var(--rcd-muted); }

/* ----- Featured properties carousel ----- */
.rcd-featured-carousel {
  position: relative;
  margin-top: 18px;
}
.rcd-featured-carousel .rcd-featured-swiper { overflow: hidden; padding-bottom: 4px; }
.rcd-featured-carousel .swiper-slide {
  width: calc((100% - 16px * 1.5) / 2.5);  /* desktop: 2.5 visible, 16px gap */
  height: auto;
  display: flex;
}
.rcd-featured-carousel .swiper-slide > * { width: 100%; }
.rcd-featured-carousel .swiper-wrapper { box-sizing: content-box; }
.rcd-featured-carousel .swiper-slide > .igx-pc,
.rcd-featured-carousel .swiper-slide > .igx-card-v1b,
.rcd-featured-carousel .swiper-slide > article,
.rcd-featured-carousel .swiper-slide > a { display: block; width: 100%; }

/* Nav buttons */
.rcd-feat-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--rcd-hair);
  color: var(--rcd-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 4;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.rcd-feat-nav:hover { background: var(--rcd-soft); transform: translateY(-50%) scale(1.05); }
.rcd-feat-nav[disabled],
.rcd-feat-nav.is-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.rcd-feat-prev { left: -18px; }
.rcd-feat-next { right: -18px; }

/* Tablet: 1.5 visible */
@media (max-width: 1199px) {
  .rcd-featured-carousel .swiper-slide {
    width: calc((100% - 16px * 0.5) / 1.5);
  }
  .rcd-feat-prev { left: 6px; }
  .rcd-feat-next { right: 6px; }
}
/* Mobile: 1 visible */
@media (max-width: 989px) {
  .rcd-featured-carousel .swiper-slide { width: 100%; }
  .rcd-feat-nav { width: 36px; height: 36px; }
  .rcd-feat-prev { left: 6px; }
  .rcd-feat-next { right: 6px; }
}

/* ============ COMPOUND REVIEW CARDS ============ */
.rcd-review-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rcd-review-card { /* uses .rr-review base styles from rentz-reviews */
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 10px;
  padding: 18px 20px;
}
.rcd-review-card.is-hidden { display: none; }
.rcd-review-card .rr-review-prop a {
  color: var(--rcd-muted);
  text-decoration: none;
}
.rcd-review-card .rr-review-prop a:hover { color: var(--rcd-orange); text-decoration: underline; }
.rcd-review-more-wrap {
  margin-top: 18px;
  display: flex; justify-content: center;
}
#rcd-review-more { padding: 10px 22px; cursor: pointer; }

/* ============ SUB-COMPOUNDS ============ */
.rcd-sub-stats { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--rcd-muted); }
.rcd-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rcd-sub-grid > .igx-pc,
.rcd-sub-grid > .igx-card-v1b,
.rcd-sub-grid > article,
.rcd-sub-grid > a { display: block; width: 100%; }
.rcd-sub-link {
  display: block; padding: 16px;
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--rcd-ink);
}

/* ============ REVIEWS ============ */
.rcd-reviews-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
}
.rcd-reviews-big {
  font-size: 64px; font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--rcd-ink);
  line-height: 1;
}
.rcd-reviews-stars { display: flex; gap: 3px; margin-top: 8px; }
.rcd-reviews-star { font-size: 16px; color: #d8d5cb; }
.rcd-reviews-star.is-on { color: var(--rcd-orange); }
.rcd-reviews-meta { font-size: 13px; color: var(--rcd-muted); margin-top: 8px; }

.rcd-reviews-breakdown { display: flex; flex-direction: column; gap: 10px; }
.rcd-reviews-axes { display: flex; flex-direction: column; gap: 10px; }
.rcd-reviews-axis {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  gap: 12px;
  align-items: center;
}
.rcd-reviews-axis-label { font-size: 13px; color: var(--rcd-ink); }
.rcd-reviews-bar {
  height: 6px;
  background: var(--rcd-soft);
  border-radius: 999px;
  overflow: hidden;
}
.rcd-reviews-bar-fill { height: 100%; background: var(--rcd-ink); }
.rcd-reviews-axis-val { font-size: 13px; font-weight: 700; color: var(--rcd-ink); text-align: right; }

/* ============ NEARBY COMPOUNDS GRID ============ */
.rcd-nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rcd-nearby-grid > .igx-pc,
.rcd-nearby-grid > .igx-card-v1b,
.rcd-nearby-grid > article,
.rcd-nearby-grid > a { display: block; width: 100%; }

/* ============ SIDEBAR ============ */
.rcd-sidebar-stick {
  position: sticky;
  top: 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  z-index: 5;
}
.rcd-side-card {
  background: #fff;
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
  padding: 22px;
}
.rcd-side-card-actions { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.rcd-side-card-concierge { padding: 18px; }
.rcd-side-card-facts { padding: 18px; }

.rcd-side-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 8px;
}
.rcd-side-price-big {
  font-size: 28px;
  font-weight: 800;
  color: var(--rcd-ink);
  letter-spacing: -0.02em;
}
.rcd-side-price-rest { font-size: 14px; color: var(--rcd-muted); }

.rcd-side-line {
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--rcd-muted);
}
.rcd-side-line strong { color: var(--rcd-ink); font-weight: 700; }

.rcd-find-form {
  margin-top: 16px;
  border: 1px solid var(--rcd-hair);
  border-radius: 6px;
  /* overflow: hidden was clipping the Litepicker calendar — let the picker
     overlay below the form panel without being cropped. The corner-rounding
     visual is preserved by clipping the rcd-find-row backgrounds on the row
     elements themselves instead. */
  overflow: visible;
  /* Define the property-form palette tokens (--rf-*) on the form scope so
     all property-form picker CSS (hover, in-range, endpoints, tooltip,
     today, locked) resolves correctly on the compound page. The .bpr-rform
     wrapper class isn't present here, so the variables would otherwise be
     undefined. */
  --rf-teal:        #2FB5B5;
  --rf-teal-deep:   #1F8B8B;
  --rf-teal-active: #259999;
  --rf-teal-light:  #5DCBCB;
  --rf-orange:      #EE6B2D;
  --rf-orange-dark: #C04A18;
  --rf-orange-soft: #FFF1E8;
  --rf-ink:         #15161C;
  --rf-mute:        #6A6B73;
  --rf-quiet:       #A8A6A0;
  --rf-line:        #EFEDE7;
}
.rcd-find-row { border-bottom: 1px solid var(--rcd-hair); }
.rcd-find-row-2 { display: grid; grid-template-columns: 1fr 1fr; }
.rcd-find-row-2 .rcd-find-cell + .rcd-find-cell { border-left: 1px solid var(--rcd-hair); }
.rcd-find-row-last { border-bottom: 0; }
.rcd-find-cell { padding: 12px 14px; }
.rcd-find-cell-row {
  display: flex; align-items: center; justify-content: space-between;
}
.rcd-find-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--rcd-muted);
}
.rcd-find-val {
  font-size: 14px; color: var(--rcd-ink);
  margin-top: 4px; font-weight: 500;
}
.rcd-find-chev { color: var(--rcd-muted); display: flex; pointer-events: none; }

/* Property-form date-card mount: drop the cell border + padding so the
   .bpr-rform__date-card carries its own background, border-radius, and the
   internal 1px divider between Check-in / Check-out cells. */
.rcd-find-row-dates {
  padding: 8px;
  background: var(--rcd-soft);
}
.rcd-find-row-dates .bpr-rform__date-card {
  width: 100%;
  background: #fff;
  border-radius: 8px;
}
/* Inherit the per-night tooltip + day-cell theming the property form uses */
.rcd-bpr-mount .litepicker { font-family: inherit; }
/* Property-type cell: native <select> styled to match the Guests value text */
.rcd-find-cell-select {
  position: relative;
  /* same padding as .rcd-find-cell so label + select stack like Guests */
  padding: 12px 14px;
}
.rcd-find-cell-select .rcd-find-label { margin-bottom: 4px; }
.rcd-find-select {
  /* Pin to native <select>; cancel browser-default look so font matches */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  /* identical typography to .rcd-find-val */
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--rcd-ink);
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}
.rcd-find-cell-select .rcd-find-chev {
  position: absolute;
  /* Sit on the value row (not centered on the whole cell which has a label
     row on top) — matches where the Guests chevron sits relative to its row. */
  bottom: 16px;
  right: 14px;
}

/* Browse button — sits BELOW the form panel with ~10px breathing room */
.rcd-find-form button.rcd-side-cta {
  width: 100%;
  border: 0;
  cursor: pointer;
  margin-top: 10px;
}

.rcd-side-types {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.rcd-side-type-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rcd-soft);
  border: 1px solid var(--rcd-hair);
  font-size: 11px;
  font-weight: 600;
  color: var(--rcd-ink);
}

.rcd-side-cta {
  display: block; width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 6px;
  background: var(--rcd-orange);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
}
.rcd-side-cta:hover { background: var(--rcd-orange-deep); color: #fff; }

.rcd-side-note {
  margin-top: 10px;
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: var(--rcd-muted);
  line-height: 1.5;
}
.rcd-side-note-ico { color: var(--rcd-muted); flex: 0 0 14px; margin-top: 1px; display: flex; }

/* Quick action rows */
.rcd-side-action {
  padding: 12px 14px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--rcd-hair);
  color: var(--rcd-ink);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  text-decoration: none;
}
.rcd-side-action-primary { border-color: var(--rcd-ink); }
.rcd-side-action:hover { border-color: var(--rcd-ink); }
.rcd-side-action-left { display: inline-flex; align-items: center; gap: 8px; }
.rcd-side-action-right { color: var(--rcd-muted); font-size: 11px; }

/* Override compare-plugin styling for the sidebar variant too */
.rcd-side-action.igx-prop-compare-btn,
.rcd-side-action.igx-prop-compare-btn:hover {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: var(--rcd-ink) !important;
  border: 1px solid var(--rcd-ink) !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  line-height: normal !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.rcd-side-action.igx-prop-compare-btn .igx-card-v1b__compare-label {
  color: inherit !important;
  line-height: 1.5 !important;
}

/* Concierge */
.rcd-side-concierge-head { display: flex; align-items: center; gap: 12px; }
.rcd-side-concierge-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rcd-teal) 0%, var(--rcd-teal-deep) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.rcd-side-concierge-label { font-size: 13px; color: var(--rcd-muted); }
.rcd-side-concierge-name { font-size: 15px; font-weight: 700; color: var(--rcd-ink); }
.rcd-side-concierge-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.rcd-contact-wa, .rcd-contact-call {
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit;
}
.rcd-contact-wa { background: #25D366; color: #fff; }
.rcd-contact-wa:hover { background: #1ebe5a; color: #fff; }
.rcd-contact-call { background: #fff; color: var(--rcd-ink); border: 1px solid var(--rcd-ink); }
.rcd-contact-call:hover { background: var(--rcd-ink) !important; border-color: var(--rcd-ink) !important; }
.rcd-contact-call:hover,
.rcd-contact-call:hover *,
.rcd-contact-call:hover:focus,
.rcd-contact-call:hover:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.rcd-side-concierge-hours {
  font-size: 11px;
  color: var(--rcd-muted);
  margin-top: 10px;
  text-align: center;
}

/* Facts strip */
.rcd-side-facts { margin-top: 10px; }
.rcd-side-fact-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rcd-hair);
  font-size: 13px;
}
.rcd-side-fact-row:last-child { border-bottom: 0; }
.rcd-side-fact-key { color: var(--rcd-muted); }
.rcd-side-fact-val { color: var(--rcd-ink); font-weight: 600; }

/* Share strip */
.rcd-share-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px;
}
.rcd-share-label { font-size: 12px; color: var(--rcd-muted); }
.rcd-share-icons { display: flex; gap: 6px; }
.rcd-share-icon {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--rcd-hair);
  background: #fff;
  cursor: pointer;
  color: var(--rcd-ink);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.rcd-share-icon svg { color: inherit !important; fill: currentColor; }
.rcd-share-icon:hover {
  background: var(--rcd-soft);
  border-color: var(--rcd-ink);
  transform: translateY(-1px);
}
html body .rcd-share-strip a.rcd-share-icon,
html body .rcd-share-strip a.rcd-share-icon:link,
html body .rcd-share-strip a.rcd-share-icon:visited,
html body .rcd-share-strip a.rcd-share-icon:hover,
html body .rcd-share-strip a.rcd-share-icon:active,
html body .rcd-share-strip a.rcd-share-icon:focus {
  color: var(--rcd-ink) !important;
}

/* Sticky parents — same allow-list as rentz-property-detail */
.rcd-grid, .rcd-aside { overflow: visible !important; }
body.single-compound .page-wrapper,
body.single-compound #main,
body.single-compound #main > .container,
body.single-compound .main-content,
body.single-compound #primary,
body.single-compound #content,
body.single-compound .site-main { overflow: visible !important; }

/* =========================================================================
   TOAST
   ========================================================================= */
.rcd-toast {
  position: fixed;
  left: 50%; bottom: 32px;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  background: var(--rcd-ink);
  color: #fff;
  padding: 12px 16px 12px 14px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', system-ui, sans-serif;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .35);
  z-index: 100000;
  transition: opacity .22s ease, transform .22s ease;
  white-space: nowrap;
}
.rcd-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.rcd-toast-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}
.rcd-toast a {
  color: #fff !important;
  opacity: .85;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  margin-left: 4px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1163px) {
  #rentz-cd-root { padding: 24px 24px 48px; }
  .rcd-grid { grid-template-columns: 1fr; gap: 32px; }
  .rcd-aside { order: -1; }
  .rcd-main  { order: 0; }
  .rcd-sidebar-stick { position: static; top: auto; }
  .rcd-nearby-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rcd-sub-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rcd-nearby { grid-template-columns: repeat(2, 1fr); }
  .rcd-comp-strip { gap: 18px 24px; padding: 16px 18px; }
  .rcd-highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .rcd-pd-cards { grid-template-columns: 1fr; }
  .rcd-reviews-card { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  #rentz-cd-root { padding: 16px 16px 32px; font-size: 14px; }
  .rcd-h1 { font-size: 32px; line-height: 1.05; }
  .rcd-h2 { font-size: 22px; }

  .rcd-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .rcd-title-side {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .rcd-stats { gap: 12px; margin-top: 14px; }
  .rcd-stat-dot { display: none; }
  .rcd-loc-inline { flex-wrap: wrap; }

  .rcd-gallery-grid { grid-template-columns: 1fr; grid-template-rows: 280px; height: auto; }
  .rcd-gallery-grid .rcd-g-tile { grid-column: auto !important; grid-row: auto !important; }
  .rcd-gallery-grid .rcd-g-tile:not(.rcd-g-hero):not(.rcd-g-thumb-last) { display: none; }

  .rcd-highlight-grid { grid-template-columns: 1fr; }
  .rcd-nearby-grid { grid-template-columns: 1fr; }
  .rcd-sub-grid { grid-template-columns: 1fr; }
  .rcd-nearby { grid-template-columns: 1fr; }
  .rcd-comp-strip { gap: 14px 20px; padding: 14px 16px; }
  .rcd-comp-strip .rcd-comp-cell { flex: 1 1 calc(50% - 20px); min-width: 0; }
  .rcd-reviews-axis { grid-template-columns: 100px 1fr 36px; }
}
