/* ===== Room Card — Design Tokens & Component Styles ===== */

:root {
  /* Accent — price & code (unified red) */
  --rs-price-color:   #dc2626;   /* red-600 */
  --rs-code-color:    #b91c1c;   /* red-700 */
  --rs-deposit-hl:    #dc2626;   /* red-600 (unified w/ price) */

  /* Text ramp — single neutral family for consistency & AA contrast */
  --rs-text-strong: #111827;   /* values, code, primary */
  --rs-text-body:   #374151;   /* body copy */
  --rs-text-muted:  #4b5563;   /* secondary (address, deposit, fee/detail labels) */
  --rs-text-subtle: #64748b;   /* meta, section labels */
  --rs-text-faint:  #9ca3af;   /* disabled states */

  /* Surfaces */
  --rs-border:       #e5e7eb;
  --rs-border-soft:  #f3f4f6;
  --rs-bg-subtle:    #f9fafb;

  /* Info accent (amenity + links) */
  --rs-accent:        #1d4ed8;   /* blue-700 — icons / links */
  --rs-accent-strong: #1e40af;   /* blue-800 — hover */
  --rs-accent-bg:     #eff6ff;   /* blue-50 */
  --rs-accent-border: #bfdbfe;   /* blue-200 */

  /* Header tints */
  --rs-header-sale-bg:      var(--color-primary);  /* primary blue */
  --rs-header-sale-text:    #ffffff;
  --rs-header-no-sale-bg:   #fef2f2;  /* red-50 */

}

/* ── Card shell ── */
.rn-room-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rn-room-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09);
  border-color: #d1d5db;
}

/* ── Thumbnail ── */
.rn-room-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rn-room-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #d1d5db;
}

/* ── Spec row (used by buildSpec helper) ── */
.rn-room-card__spec {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding: 2px 0;
  min-width: 0;
}

.rn-room-card__spec-label {
  font-size: 11px;
  color: #a8a29e;
  white-space: nowrap;
  flex-shrink: 0;
}

.rn-room-card__spec-val {
  font-size: 12px;
  font-weight: 500;
  color: #292524;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-yes { color: #27500A; font-weight: 600; }
.spec-no  { color: #b91c1c; }

/* ═══════════════════════════════════════════════════════════════
   Room Card v2 — rich detail layout
   ═══════════════════════════════════════════════════════════════ */

.rs-card-v2 {
  font-size: 13px;
  line-height: 1.45;
  color: var(--rs-text-body);
  border-width: 1px;
  border-color: var(--rs-border);
}

.rs-card-v2--disabled {
  position: relative;
  filter: grayscale(35%);
}

.rs-card-v2--disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(156, 163, 175, 0.28);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* ── Header ── */
.rs-card-header {
  border-bottom: 1px solid var(--rs-border);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rs-card-header--sale    { background: var(--rs-header-sale-bg); color: var(--rs-header-sale-text); }
.rs-card-header--no-sale { background: var(--rs-header-no-sale-bg); }


.rs-card-header__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.rs-card-code {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



/* ── Meta (date + seller) ── */
.rs-card-meta {
  padding: 4px 12px;
  font-size: 12px;
  color: var(--rs-text-subtle);
  background: var(--rs-bg-subtle);
  border-bottom: 1px solid var(--rs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rs-card-seller {
  color: var(--rs-text-muted);
  font-weight: 500;
}

/* ── Body ── */
.rs-card-body {
  display: grid;
  grid-template-columns: clamp(140px, 38%, 260px) 1fr;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  padding: 10px 12px;
}

.rs-card-thumb-wrap {
  grid-column: 1;
  grid-row: 1 / 3;          /* spans both rows on desktop */
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 8px;
  background: #f3f4f6;
}

.rs-card-thumb-wrap img,
.rs-card-thumb-wrap .rn-room-card__thumb-placeholder {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  border-radius: 6px;
  overflow: hidden;
  object-fit: cover;
}

.rs-booking-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 4px;
  border: none;
  border-radius: 6px;
  background: var(--color-primary, #0966ff);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.rs-booking-btn:hover {
  background: var(--primary-blue-dark, #1d4ed8);
}

.rs-booking-btn:disabled,
.rs-booking-btn--disabled {
  background: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
}

.rs-booking-btn .material-symbols-outlined {
  font-size: 14px;
}

.rs-card-main-info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  align-self: start;
}

.rs-card-address {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--rs-text-muted);
  margin-bottom: 4px;
}

.rs-card-price {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--rs-price-color);
  margin-bottom: 3px;
}

.rs-card-deposit {
  font-size: 12.5px;
  color: var(--rs-text-muted);
  margin-bottom: 6px;
}

.rs-card-deposit span {
  color: var(--rs-deposit-hl);
  font-weight: 600;
}

/* ── Basic section title (within rs-card-main-info) ── */
.rs-basic-section-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--rs-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  padding-left: 6px;
}

.rs-basic-section-title .material-symbols-outlined {
  font-size: 13px;
  color: var(--rs-accent);
  line-height: 1;
}

/* ── Inline info badges (floor + area) ── */
.rs-basic-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.rs-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px 2px 4px;
  border-radius: 20px;
  border: 1px solid var(--rs-border);
  background: var(--rs-bg-subtle);
}

.rs-info-badge .material-symbols-outlined {
  font-size: 13px;
  color: var(--rs-accent);
  line-height: 1;
}

.rs-info-badge__label {
  font-size: 10.5px;
  color: var(--rs-text-subtle);
}

.rs-info-badge__val {
  font-size: 11px;
  font-weight: 600;
  color: var(--rs-text-strong);
}

/* ── Amenity icon grid (row 2 of rs-card-body grid) ── */
.rs-amenity-icon-grid {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 4px;
  align-self: start;
}

.rs-amenity-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 6px;
  border-radius: 8px;
  border: 1px solid var(--rs-accent-border);
  background: var(--rs-accent-bg);
  cursor: default;
  min-width: 0;
}

.rs-amenity-chip .material-symbols-outlined {
  font-size: 26px;
  color: var(--rs-accent);
  line-height: 1;
}

.rs-amenity-chip__label {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--rs-text-body);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.rs-amenity-chip--inactive {
  background: var(--rs-border-soft);
  border-color: var(--rs-border);
}

.rs-amenity-chip--inactive .material-symbols-outlined {
  color: #d1d5db;
}

.rs-amenity-chip--inactive .rs-amenity-chip__label {
  color: var(--rs-text-faint);
  font-weight: 400;
}

.rs-amenity-chip[data-tooltip] {
  position: relative;
  cursor: default;
}

.rs-amenity-chip[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.88);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: var(--z-tooltip);
}

@media (hover: hover) {
  .rs-amenity-chip[data-tooltip]:hover::after {
    opacity: 1;
  }
}

.rs-amenity-chip[data-tooltip].is-tooltip-open::after {
  opacity: 1;
}

.rs-action-disabled {
  color: var(--rs-text-faint);
  cursor: default;
  white-space: nowrap;
}

/* ── Fee icon grid ── */
.rs-fee-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px 12px 10px;
}

.rs-fee-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--rs-border);
  background: var(--rs-border-soft);
  cursor: default;
  min-width: 0;
}

.rs-fee-chip__icon {
  font-size: 26px;
  line-height: 1;
  color: var(--rs-text-faint);
}

.rs-fee-chip__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--rs-text-body);
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
}

.rs-fee-chip__label {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}

.rs-fee-chip__value {
  font-size: 12px;
  font-weight: 700;
  color: var(--rs-text-muted);
  text-align: center;
  line-height: 1.3;
}

/* Active: red */
.rs-fee-chip--active {
  background: var(--rs-accent-bg);
  border-color: var(--rs-accent-border);
}
.rs-fee-chip--active .rs-fee-chip__icon  { color: var(--rs-accent); }
.rs-fee-chip--active .rs-fee-chip__title { color: var(--rs-text-body); }
.rs-fee-chip--active .rs-fee-chip__value { color: var(--rs-price-color); }

/* Điện — amber */
.rs-fee-chip--elec {
  background: #fffbeb;
  border-color: #fcd34d;
}
.rs-fee-chip--elec .rs-fee-chip__icon  { color: #d97706; }
.rs-fee-chip--elec .rs-fee-chip__title { color: #78350f; }
.rs-fee-chip--elec .rs-fee-chip__value { color: #b45309; }

/* Nước — sky blue */
.rs-fee-chip--water {
  background: #f0f9ff;
  border-color: #7dd3fc;
}
.rs-fee-chip--water .rs-fee-chip__icon  { color: #0284c7; }
.rs-fee-chip--water .rs-fee-chip__title { color: #0c4a6e; }
.rs-fee-chip--water .rs-fee-chip__value { color: #0369a1; }

/* Free — green chip */
.rs-fee-chip--free {
  background: #E8F8F0;
  border-color: #86efac;
}
.rs-fee-chip--free .rs-fee-chip__icon  { color: #00A86B; }
.rs-fee-chip--free .rs-fee-chip__title { color: #065f46; }
.rs-fee-chip--free .rs-fee-chip__value { color: #00A86B; font-weight: 700; }

/* Yes (Có) — green */
.rs-fee-chip--yes {
  background: #f0fdf4;
  border-color: #86efac;
}
.rs-fee-chip--yes .rs-fee-chip__icon  { color: #16a34a; }
.rs-fee-chip--yes .rs-fee-chip__title { color: #14532d; }
.rs-fee-chip--yes .rs-fee-chip__value { color: #15803d; font-weight: 700; }

/* No (Không) — neutral gray */
.rs-fee-chip--no {
  background: var(--rs-border-soft);
  border-color: var(--rs-border);
}
.rs-fee-chip--no .rs-fee-chip__icon  { color: #d1d5db; }
.rs-fee-chip--no .rs-fee-chip__title { color: var(--rs-text-subtle); }
.rs-fee-chip--no .rs-fee-chip__value { color: var(--rs-text-faint); }

/* Empty chip — muted title, faint dash */
.rs-fee-chip:not([class*="rs-fee-chip--"]) .rs-fee-chip__title { color: var(--rs-text-faint); font-weight: 500; }
.rs-fee-chip:not([class*="rs-fee-chip--"]) .rs-fee-chip__value { font-size: 11px; color: var(--rs-text-faint); font-weight: 400; }

/* ── Section label ── */
.rs-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--rs-text-subtle);
  padding: 6px 12px 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--rs-border);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.rs-section-label__inline {
  font-size: 12.5px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--rs-text-muted);
}

.rs-section-label__inline strong {
  color: var(--rs-text-strong);
  font-weight: 600;
}

/* ── Rest items (full-width lines) ── */
.rs-detail-rest {
  padding: 0 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* ── Fees section ── */
.rs-fees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px 14px;
}

.rs-fees-section {
  padding: 5px 12px 8px;
  gap: 3px;
}

.rs-fee-item {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--rs-text-muted);
}

.rs-fee-item strong {
  color: var(--rs-text-strong);
  font-weight: 600;
}

.rs-fee-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 2px;
}

.rs-fee-item[data-tooltip] {
  position: relative;
  cursor: default;
}

.rs-fee-item[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.88);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: var(--z-tooltip);
}

@media (hover: hover) {
  .rs-fee-item[data-tooltip]:hover::after {
    opacity: 1;
  }
}

.rs-fee-item[data-tooltip].is-tooltip-open::after {
  opacity: 1;
}

/* ── Detail grid (Thông tin cơ bản) ── */
.rs-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 8px;
  padding: 5px 12px 8px;
}


.rs-detail-item {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--rs-text-muted);
}

.rs-detail-item strong {
  color: var(--rs-text-strong);
  font-weight: 600;
}

/* ── Summary description (Mô tả tóm tắt) ── */
.rs-summary {
  gap: 10px;
}

.rs-summary__lead {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--rs-text-muted);
}

.rs-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-summary__item {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.55;
}

/* Accent bullet dot in front of each labeled line */
.rs-summary__item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-accent);
}

.rs-summary__label {
  display: block;
  font-weight: 600;
  color: var(--rs-text-strong);
  margin-bottom: 1px;
}

.rs-summary__content {
  display: block;
  color: var(--rs-text-muted);
}

/* ── Two-column row (Chi phí + Điều kiện thuê side by side) ── */
.rs-two-col-row {
  display: flex;
  border-top: 1px solid var(--rs-border);
}

.rs-two-col-cell {
  flex: 1;
  min-width: 0;
}

.rs-two-col-cell + .rs-two-col-cell {
  border-left: 1px solid var(--rs-border);
}

.rs-two-col-cell .rs-section-label {
  border-top: none;
}

@media (max-width: 575px) {
  .rs-two-col-row {
    flex-direction: column;
  }

  .rs-two-col-cell + .rs-two-col-cell {
    border-left: none;
    border-top: 1px solid var(--rs-border);
  }
}

/* ── Card footer (action links) ── */
.rs-card-footer {
  background: var(--rs-bg-subtle);
  border-top: 1px solid var(--rs-border);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 500;
}

.rs-card-footer a,
.rs-card-footer span.rs-action-disabled,
.rs-card-footer .rs-lh-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rs-card-footer .material-symbols-outlined {
  font-size: 14px;
  line-height: 1;
}

.rs-card-footer a {
  color: var(--rs-accent);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s;
}

.rs-card-footer a:hover {
  color: var(--rs-accent-strong);
  text-decoration: underline;
}

/* ── Copy buttons ── */
.rs-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  background: #fff;
  color: var(--rs-text-subtle);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.4;
}

.rs-copy-btn:hover {
  background: var(--rs-border-soft);
  border-color: #9ca3af;
  color: var(--rs-text-body);
}

/* ── Collapsible section (details/summary) ── */
.rs-collapsible {
  border: none;
  margin: 0;
  padding: 0;
}

.rs-collapsible > summary::-webkit-details-marker,
.rs-collapsible > summary::marker {
  display: none;
}

/* Mobile only: chevron + pointer cursor */
@media (max-width: 991px) {
  .rs-collapsible > summary {
    cursor: pointer;
    user-select: none;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
  }

  .rs-section-label--toggle::after {
    content: '▾';
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.18s;
    line-height: 1;
  }

  .rs-collapsible:not([open]) > .rs-section-label--toggle::after {
    transform: rotate(-90deg);
  }
}

/* Desktop: disable toggle interaction */
@media (min-width: 992px) {
  .rs-collapsible > summary {
    pointer-events: none;
    cursor: default;
  }
}

/* ── Cross-card section alignment via CSS Subgrid ── */
/* Each card has 6 direct children: header, meta, body, fees-wrap, detail-wrap, footer.
   On desktop the parent grid spans these as shared row tracks so sections align across cards. */
@media (min-width: 992px) {
  .rn-room-card {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    flex-direction: unset; /* cancel flex from base rule */
    height: auto;
  }

  /* Wrapper divs stack their children vertically within their row */
  .rs-card-fees-wrap,
  .rs-card-detail-wrap {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  /* Empty meta row collapses to zero height */
  .rs-card-meta--empty {
    padding: 0;
    border: none;
    background: transparent;
  }
}

.rs-copy-btn:active {
  background: var(--rs-border);
}

.rs-copy-btn.is-copied {
  background: #dcfce7;
  border-color: #16a34a;
  color: #15803d;
}

.rs-copy-btn--header {
  padding: 1px 11px;
  background: var(--rs-accent-bg);
  border-color: var(--rs-accent-border);
  color: var(--rs-accent);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 13px;
}

.rs-copy-btn--header:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: var(--rs-accent-strong);
}

.rs-copy-btn--footer {
  margin-left: auto;
}

/* ── Responsive ── */
@media (max-width: 575px) {
  /* Body grid: image only fills row 1; amenity drops to full-width row 2 */
  .rs-card-body {
    grid-template-columns: 100px 1fr;
  }

  .rs-card-thumb-wrap {
    grid-row: 1;           /* no longer spans amenity row */
  }

  .rs-amenity-icon-grid {
    grid-column: 1 / 3;   /* full width */
    grid-row: 2;
  }
}

@media (max-width: 380px) {
  .rs-card-body {
    grid-template-columns: 80px 1fr;
  }

  .rs-amenity-icon-grid {
    gap: 3px;
  }

  .rs-amenity-chip {
    padding: 4px 3px;
  }

  .rs-amenity-chip__label {
    font-size: 9px;
  }
}

/* ── Compact main-info variant (property detail page) ─────────────── */
.rs-card-main-info--compact .rs-basic-section-title {
  margin: 0 0 4px;
  padding-left: 0;
}

.rs-card-main-info--compact .rs-card-price {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 4px;
  line-height: 1.35;
  font-size: 12.5px;
  color: var(--rs-text-muted);
}

.rs-card-main-info--compact .rs-card-price .material-symbols-outlined {
  font-size: 14px;
  line-height: 1.35;
  color: var(--rs-accent);
  flex-shrink: 0;
}

.rs-card-main-info--compact .rs-card-price__label {
  font-size: inherit;
  font-weight: 400;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  background: none;
  padding: 0;
  border-radius: 0;
}

.rs-card-main-info--compact .rs-card-price__value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--rs-price-color);
}

.rs-card-main-info--compact .rs-card-address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--rs-text-muted);
  margin: 0 0 8px;
}

.rs-card-main-info--compact .rs-card-address .material-symbols-outlined {
  font-size: 14px;
  line-height: 1.35;
  color: var(--rs-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.rs-card-main-info--compact .rs-card-meta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
}

/* Normalize support indicator chip to match .rs-info-badge sizing/shape
   so floor/area badges and support chips read as one unified row. */
.rs-card-main-info--compact .rs-card-meta-chips .support-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 5px;
  border-radius: 20px;
  border: 1px solid var(--rs-accent-border, #bfdbfe);
  background: var(--rs-accent-bg, #eff6ff);
  font-size: 11px;
  line-height: 1.3;
  color: var(--rs-text-body, #374151);
  cursor: help;
}

.rs-card-main-info--compact .rs-card-meta-chips .support-indicator__icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.rs-card-main-info--compact .rs-card-meta-chips .support-indicator__text {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .rs-card-main-info--compact .rs-card-price {
    font-size: 13px;
  }
  .rs-card-main-info--compact .rs-card-price__value {
    font-size: 15px;
  }
  .rs-card-main-info--compact .rs-card-address {
    font-size: 13px;
  }
  .rs-card-main-info--compact .rs-card-meta-chips .support-indicator,
  .rs-card-main-info--compact .rs-card-meta-chips .support-indicator__text {
    font-size: 12px;
  }
  .rs-card-main-info--compact .rs-card-meta-chips .support-indicator__icon {
    width: 16px;
    height: 16px;
  }
}
