/* === Base — Tokens, reset, typography, buttons, layout foundations ===
 * Design system: Smart Estate Theme
 *   Serif:  Playfair Display
 *   Sans:   DM Sans
 *   Ink:    #1A1A1A
 *   Border: #E0E0E0
 *   Radius: 14px cards / 8px inputs
 */

/* ── Viewport conformance reset ─────────────────────────────────────────────
 * Shortcode output must NOT compress or overflow. It fills the content column
 * it is placed in, inheriting the page's max-width and alignment naturally.
 */
.se-idx,
.se-idx * {
  box-sizing: border-box;
}

.se-idx {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* ── Property detail full-bleed override ────────────────────────────────── */
.se-idx-property-shortcode {
  display: block;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  width: 100%;
}

.se-idx-property-shortcode--dedicated {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

body.se-idx-property-page-active .se-idx-property-shell-hidden {
  display: none !important;
}

body.se-idx-property-page-active .se-idx-entry-content--property {
  margin-top: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

body.se-idx-property-page-active .se-idx-main--property {
  gap: 0;
}

body.se-idx-property-page-active .se-idx-main--property,
body.se-idx-property-page-active .se-idx-main--property > * {
  max-width: none !important;
}

body.se-idx-property-page-active .wp-site-blocks > header.wp-block-template-part,
body.se-idx-property-page-active .wp-site-blocks > footer.wp-block-template-part,
body.se-idx-property-page-active .wp-block-post-title {
  display: none !important;
}

.se-idx-property-shortcode .se-idx-preview-banner {
  border-radius: 0;
  margin: 0;
}

/* ── Design tokens ───────────────────────────────────────────────────────── */
.se-idx {
  --se-idx-primary:        #1A1A1A;
  --se-idx-primary-hover:  #0D0D0D;
  --se-idx-accent:         #999999;
  --se-idx-surface:        #ffffff;
  --se-idx-surface-soft:   #F7F7F7;
  --se-idx-surface-hover:  #F0F0F0;
  --se-idx-border:         #E0E0E0;
  --se-idx-border-focus:   #1A1A1A;
  --se-idx-text:           #1A1A1A;
  --se-idx-muted:          #666666;
  --se-idx-xmuted:         #999999;
  --se-idx-heading-font:   "Playfair Display", Georgia, serif;
  --se-idx-body-font:      "DM Sans", system-ui, -apple-system, sans-serif;
  --se-idx-radius:         14px;
  --se-idx-radius-sm:      8px;
  --se-idx-radius-lg:      20px;
  --se-idx-shadow:         0 4px 24px rgba(0,0,0,0.06);
  --se-idx-shadow-hover:   0 16px 48px rgba(0,0,0,0.10);
  --se-idx-shadow-lg:      0 24px 64px rgba(0,0,0,0.12);

  color: var(--se-idx-text);
  font-family: var(--se-idx-body-font);
  line-height: 1.6;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
.se-idx h1,
.se-idx h2,
.se-idx h3,
.se-idx h4 {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font);
  line-height: 1.2;
  margin: 0;
}

.se-idx a {
  color: inherit;
  text-decoration: none;
}

.se-idx img {
  display: block;
  max-width: 100%;
}

.se-idx .screen-reader-text {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.se-idx-eyebrow {
  color: var(--se-idx-xmuted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.se-idx-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--se-idx-radius-sm);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--se-idx-body-font);
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.se-idx-button:hover {
  box-shadow: var(--se-idx-shadow);
}

.se-idx-button-primary {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-button-primary:hover {
  background: var(--se-idx-primary-hover);
}

.se-idx-button-secondary {
  background: var(--se-idx-surface);
  border-color: var(--se-idx-border);
  color: var(--se-idx-primary);
}

.se-idx-button-secondary:hover {
  border-color: var(--se-idx-primary);
  background: var(--se-idx-surface-hover);
}

.se-idx-button-full {
  width: 100%;
}

.se-idx-button-disabled,
.se-idx-button[disabled] {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

/* ── Form fields ─────────────────────────────────────────────────────────── */
.se-idx-hp-search input,
.se-idx-hp-search select,
.se-idx-field input,
.se-idx-field select,
.se-idx-field textarea,
.se-idx-inline-field select {
  appearance: none;
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius-sm);
  color: var(--se-idx-text);
  font-family: var(--se-idx-body-font);
  font-size: 0.9rem;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  transition: border-color 0.18s ease;
  width: 100%;
}

.se-idx-hp-search input:focus,
.se-idx-hp-search select:focus,
.se-idx-field input:focus,
.se-idx-field select:focus,
.se-idx-field textarea:focus {
  border-color: var(--se-idx-border-focus);
  outline: none;
}

.se-idx-field textarea {
  min-height: 120px;
  resize: vertical;
}

.se-idx-field,
.se-idx-inline-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.se-idx-field span,
.se-idx-inline-field span,
.se-idx-field label {
  color: var(--se-idx-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.se-idx-field-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.se-idx-checkbox {
  align-items: center;
  color: var(--se-idx-text);
  display: flex;
  font-size: 0.9rem;
  font-weight: 500;
  gap: 0.65rem;
}

.se-idx-checkbox input {
  accent-color: var(--se-idx-primary);
}

/* ── Search widget ───────────────────────────────────────────────────────── */
.se-idx-search-widget {
  container-type: inline-size;
  width: 100%;
}

.se-idx-hp-search {
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius);
  box-shadow: var(--se-idx-shadow);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(170px, 0.9fr) minmax(190px, 0.9fr) auto;
  padding: 0.85rem;
  width: 100%;
}

.se-idx-hp-search--results {
  border-color: var(--se-idx-border);
  box-shadow: none;
}

.se-idx-hp-search--hero {
  align-items: end;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--se-idx-radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(160px, 0.9fr)) auto;
}

.se-idx-search-widget--stacked .se-idx-hp-search--hero {
  grid-template-columns: 1fr;
}

.se-idx-hp-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.se-idx-hp-search__button {
  align-self: end;
  min-width: 130px;
}

.se-idx-hp-search--hero .se-idx-hp-search__button {
  min-width: 144px;
}

/* ── Browse layout ───────────────────────────────────────────────────────── */
.se-idx-browse__topbar {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.se-idx-browse__intro p:last-child {
  color: var(--se-idx-muted);
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
  max-width: 60rem;
}

.se-idx-browse__body {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 300px minmax(0, 1fr);
}

.se-idx-browse__body--no-filters {
  grid-template-columns: minmax(0, 1fr);
}

/* ── Filters panel ───────────────────────────────────────────────────────── */
.se-idx-filters {
  align-self: start;
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius);
  box-shadow: var(--se-idx-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  position: sticky;
  top: 88px;
}

.se-idx-filters__head,
.se-idx-results__toolbar,
.se-idx-results-summary {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.se-idx-filter-group,
.se-idx-filters__actions,
.se-idx-list-stack,
.se-idx-map-results,
.se-idx-stat-list {
  display: grid;
  gap: 0.75rem;
}

/* ── Results panel ───────────────────────────────────────────────────────── */
.se-idx-results {
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius);
  box-shadow: var(--se-idx-shadow);
  padding: 1.25rem;
}

.se-idx-sidebar-card {
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius);
  box-shadow: var(--se-idx-shadow);
}

.se-idx-results__toolbar {
  border-bottom: 1px solid var(--se-idx-border);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.se-idx-results__toolbar-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ── View toggle ─────────────────────────────────────────────────────────── */
.se-idx-view-toggle {
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius-sm);
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
}

.se-idx-view-toggle__button,
.se-idx-icon-button,
.se-idx-pill,
.se-idx-pagination__button {
  background: transparent;
  border: 0;
  color: var(--se-idx-primary);
  cursor: pointer;
  font-family: var(--se-idx-body-font);
}

.se-idx-view-toggle__button {
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 36px;
  padding: 0 0.8rem;
}

.se-idx-view-toggle__button.is-active {
  background: var(--se-idx-primary);
  color: #fff;
}

/* ── Utility text colours ────────────────────────────────────────────────── */
.se-idx-results-summary__count,
.card-location,
.card-meta,
.se-idx-list-row__topline p,
.se-idx-list-row__specs span,
.se-idx-copy,
.se-idx-footnote,
.se-idx-highlight-text,
.se-idx-lead-card p,
.se-idx-agent-card p {
  color: var(--se-idx-muted);
}

/* ── Chips / pills ───────────────────────────────────────────────────────── */
.se-idx-results-summary__badge,
.se-idx-mini-chip,
.se-idx-pill {
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border);
  border-radius: 999px;
  color: var(--se-idx-text);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 600;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
}

.se-idx-mini-chip-featured {
  background: rgba(26,26,26,0.06);
  border-color: rgba(26,26,26,0.15);
  color: var(--se-idx-primary);
}

.se-idx-active-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.se-idx-pill-clear-all {
  background: transparent;
  border-style: dashed;
}

/* ── Card grid ───────────────────────────────────────────────────────────── */
.se-idx-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ── Card / list row / map result shells ─────────────────────────────────── */
.property-card,
.se-idx-list-row,
.se-idx-map-result {
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius);
}

.se-idx-agent-card,
.se-idx-amenity-group,
.se-idx-payment-grid__item,
.se-idx-position-grid__item,
.se-idx-score-grid__item,
.se-idx-detail-grid__item,
.se-idx-spec-strip__item {
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius);
}

.property-card {
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.property-card:hover,
.se-idx-list-row:hover,
.se-idx-map-result:hover {
  box-shadow: var(--se-idx-shadow-hover);
  transform: translateY(-2px);
}

/* ── Card image ──────────────────────────────────────────────────────────── */
.card-image {
  aspect-ratio: 16 / 10;
  background: var(--se-idx-surface-soft);
  overflow: hidden;
  position: relative;
}

.card-image img,
.se-idx-list-row__media img,
.se-idx-map-result__media img,
.se-idx-gallery__slide img,
.se-idx-gallery__thumb img,
.se-idx-lead-card__property img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-placeholder {
  background: var(--se-idx-surface-soft);
  height: 100%;
  width: 100%;
}

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge-titlesecure,
.badge-type,
.badge-status {
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  left: 0.85rem;
  padding: 0.35rem 0.7rem;
  position: absolute;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-titlesecure {
  background: var(--se-idx-primary);
  color: #fff;
  top: 0.85rem;
}

.badge-type {
  background: rgba(0,0,0,0.78);
  bottom: 0.85rem;
  color: #fff;
}

.badge-status {
  background: rgba(255,255,255,0.92);
  color: var(--se-idx-primary);
  left: auto;
  right: 0.85rem;
  top: 0.85rem;
}

/* ── Card body ───────────────────────────────────────────────────────────── */
.card-body,
.se-idx-list-row__body,
.se-idx-map-result__body,
.se-idx-agent-card,
.se-idx-amenity-group,
.se-idx-payment-grid__item,
.se-idx-position-grid__item,
.se-idx-score-grid__item,
.se-idx-detail-grid__item,
.se-idx-spec-strip__item,
.se-idx-sidebar-card {
  padding: 1rem 1.1rem;
}

.card-price,
.se-idx-list-row__price,
.se-idx-map-result__body strong,
.se-idx-property-header__amount,
.se-idx-sidebar-card__price {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font);
  font-size: 1.2rem;
  font-weight: 700;
}

.card-price span {
  font-family: var(--se-idx-body-font);
  font-size: 0.78rem;
  font-weight: 500;
  margin-left: 0.2rem;
  color: var(--se-idx-muted);
}

.card-title,
.se-idx-list-row__topline h3 {
  font-family: var(--se-idx-heading-font);
  font-size: 1rem;
  font-weight: 600;
  margin: 0.35rem 0;
}

.card-specs,
.se-idx-list-row__specs {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.45rem 0.8rem;
}

/* ── List row ────────────────────────────────────────────────────────────── */
.se-idx-list-row {
  display: grid;
  gap: 0;
  grid-template-columns: 200px minmax(0, 1fr);
  overflow: hidden;
}

.se-idx-list-row__media {
  min-height: 100%;
}

.se-idx-list-row__topline {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0.5rem 0;
}

.se-idx-list-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ── Map layout ──────────────────────────────────────────────────────────── */
.se-idx-map-layout {
  display: grid;
  gap: 1rem;
}

.se-idx-map-canvas,
.se-idx-map-fallback {
  border-radius: var(--se-idx-radius);
  min-height: 420px;
  overflow: hidden;
}

.se-idx-map-fallback {
  align-items: center;
  background: var(--se-idx-surface-soft);
  color: var(--se-idx-muted);
  display: flex;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.se-idx-map-result {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 84px minmax(0, 1fr);
  overflow: hidden;
}

.se-idx-map-result__media {
  min-height: 84px;
}

.se-idx-map-result__body {
  display: grid;
  gap: 0.2rem;
}

.se-idx-map-popup {
  display: grid;
  font-family: var(--se-idx-body-font);
  gap: 0.25rem;
  min-width: 180px;
}

.se-idx-map-popup a {
  color: var(--se-idx-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.se-idx-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.se-idx-pagination__button,
.se-idx-pagination__ellipsis {
  align-items: center;
  background: var(--se-idx-surface);
  border: 1px solid var(--se-idx-border);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  padding: 0 0.75rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.se-idx-pagination__button:hover {
  border-color: var(--se-idx-primary);
}

.se-idx-pagination__button.is-active {
  background: var(--se-idx-primary);
  border-color: var(--se-idx-primary);
  color: #fff;
}

/* ── Notices / feedback ──────────────────────────────────────────────────── */
.se-idx-notice,
.se-idx-feedback {
  border-radius: var(--se-idx-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
}

.se-idx-notice,
.se-idx-feedback.is-info {
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border);
  color: var(--se-idx-text);
}

.se-idx-notice-error,
.se-idx-feedback.is-error {
  background: rgba(174, 28, 61, 0.08);
  border: 1px solid rgba(174, 28, 61, 0.18);
  color: #8e1230;
}

.se-idx-feedback.is-success {
  background: rgba(16, 115, 74, 0.08);
  border: 1px solid rgba(16, 115, 74, 0.18);
  color: #0e6a45;
}

/* ── Preview banner (admin/API key notice) ───────────────────────────────── */
.se-idx-preview-banner {
  background: var(--se-idx-primary);
  border-radius: var(--se-idx-radius);
  color: #fff;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
}

.se-idx-preview-banner__eyebrow {
  color: rgba(255,255,255,0.65);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.se-idx-preview-banner__body,
.se-idx-preview-banner__copy {
  display: grid;
  gap: 0.5rem;
}

.se-idx-preview-banner__copy h3 {
  color: #fff;
  font-family: var(--se-idx-heading-font);
  font-size: 1.05rem;
  margin: 0;
}

.se-idx-preview-banner__copy p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  max-width: 62rem;
}

.se-idx-preview-banner__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.se-idx-preview-banner__chips span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
}

/* ── Mobile backdrop (filter drawer) ────────────────────────────────────── */
.se-idx-browse__backdrop {
  display: none;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@container (max-width: 720px) {
  .se-idx-search-widget .se-idx-hp-search--hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .se-idx-hp-search {
    grid-template-columns: 1fr;
  }

  .se-idx-browse__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .se-idx-list-row {
    grid-template-columns: 1fr;
  }

  .se-idx-browse--mls .se-idx-hp-search--results {
    grid-template-columns: 1fr;
  }

  .se-idx-gallery__thumb {
    flex-basis: 68px;
  }

  .se-idx-filters {
    border-radius: var(--se-idx-radius) var(--se-idx-radius) 0 0;
    bottom: 0;
    left: 0;
    max-height: 78vh;
    overflow-y: auto;
    position: fixed;
    right: 0;
    transform: translateY(102%);
    transition: transform 0.26s ease;
    z-index: 30;
  }

  .se-idx-browse.is-filters-open .se-idx-filters {
    transform: translateY(0);
  }

  .se-idx-browse.is-filters-open .se-idx-browse__backdrop {
    background: rgba(0,0,0,0.45);
    display: block;
    inset: 0;
    position: fixed;
    z-index: 20;
  }
}

@media (max-width: 600px) {
  .se-idx-results,
  .se-idx-filters,
  .se-idx-sidebar-card {
    border-radius: var(--se-idx-radius-sm);
  }

  .se-idx-results__toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}
/* === Market Report — Stat cards, charts, trends, highlights === */

/* ── Market Report ─ Lofty-inspired polished data viz ────────────── */
.se-idx-market-report {
  background: #fff;
  border: 1px solid #DADADA;
  border-radius: 5px;
  box-shadow: 0 4px 16px rgba(0, 10, 30, 0.08);
  padding: 2rem;
}
@media (max-width: 600px) {
  .se-idx-market-report { padding: 1.25rem; }
}

.se-idx-market-report__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .se-idx-market-report__intro { margin-bottom: 1rem; }
}

.se-idx-market-report__intro h2 {
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--se-idx-primary, #111);
  margin: 0;
}

.se-idx-market-report__intro p:last-child {
  color: #555555;
  font-size: 1.125rem;
  margin: 0;
}

.se-idx-market-report__eyebrow {
  color: var(--se-idx-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.se-idx-market-report__meta {
  font-size: 0.86rem;
  color: #949494;
}

/* ── Stat cards — responsive grid with proper overflow handling ───── */
.se-idx-market-report__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 5px;
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.se-idx-market-report__card {
  cursor: pointer;
  min-width: 0;           /* critical — lets grid children shrink inside their column */
  min-height: 180px;
  background: linear-gradient(180deg, rgba(218, 218, 218, 0.5), rgba(218, 218, 218, 0.2));
  border: 1px solid transparent;
  border-radius: 5px 5px 0 0;
  padding: 1.5rem 1.25rem 1.75rem;
  display: grid;
  gap: 0;
  align-content: start;
  transition: background 0.2s ease, border-color 0.2s ease;
}
@media (max-width: 600px) {
  .se-idx-market-report__card {
    min-height: auto;
    padding: 1.125rem 1rem 1.25rem;
  }
}

.se-idx-market-report__card.active {
  background: #fff;
  border-color: #DADADA;
  position: relative;
  top: 1px;
  border-bottom-color: #fff;
}
@media (max-width: 600px) {
  .se-idx-market-report__card.active {
    border-bottom-color: #DADADA;
    margin-bottom: 16px;
    border-radius: 5px;
  }
}

.se-idx-market-report__card span {
  color: var(--se-idx-muted, #5a6474);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: none;
  /* Wrap long labels like "Average Days on Market" gracefully */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.se-idx-market-report__card strong {
  margin-top: 0.9rem;
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  /* Fluid clamp prevents overflow on narrow cards; tabular numerals keep currency symbols aligned */
  font-size: clamp(1.35rem, 2.4vw + 0.4rem, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  /* Make sure the number never gets cut off */
  min-width: 0;
  overflow: visible;
  white-space: normal;
}

.se-idx-market-report__card .se-idx-market-report__trend {
  font-size: 0.78rem;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-weight: 600;
  margin-left: 0;
  white-space: nowrap;
}

.se-idx-market-report__card small,
.se-idx-market-report__highlight small,
.se-idx-market-report__bar small {
  color: #949494;
  font-size: 0.875rem;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .se-idx-market-report__card small { margin-top: 0; font-size: 0.75rem; }
}

.se-idx-market-report__card[data-trend="up"] strong,
.se-idx-market-report__highlight[data-trend="up"] strong {
  color: var(--se-idx-primary, #111);
}
.se-idx-market-report__card[data-trend="up"] .se-idx-market-report__trend {
  color: #1a8a52;
}

.se-idx-market-report__card[data-trend="down"] strong,
.se-idx-market-report__highlight[data-trend="down"] strong {
  color: var(--se-idx-primary, #111);
}
.se-idx-market-report__card[data-trend="down"] .se-idx-market-report__trend {
  color: #d14242;
}

/* ── Chart area — bordered container below stat cards ──────── */
.se-idx-market-report__section {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.se-idx-market-report__chart-wrap {
  width: 100%;
  border: 1px solid #DADADA;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
  background: #fff;
  padding: 1.5rem 1.5rem 0.5rem;
}
.se-idx-market-report__chart-wrap .se-idx-market-report__chart {
  width: 100%;
  height: 100%;
  position: relative;
}
.se-idx-market-report__chart-no-data {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
}

/* ── SVG line/area chart ─────────────────────────────────── */
.se-idx-market-report__svg-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 140px;
  overflow: visible;
}

.se-idx-market-report__svg-area {
  /* opacity handled by gradient stop-opacity in PHP */
}

.se-idx-market-report__svg-line {
  fill: none;
  /* stroke set inline in PHP for reliable rendering */
  stroke-linecap: round;
  stroke-linejoin: round;
}

.se-idx-market-report__svg-dot {
  /* fill/stroke set inline in PHP */
  transition: r 0.15s ease;
}

.se-idx-market-report__svg-dot:hover {
  r: 6;
}

/* X-axis label row */
.se-idx-market-report__chart-labels {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0 0.75rem;
  border-top: 1px solid #EBEBEB;
  margin-top: 0.5rem;
}

.se-idx-market-report__chart-labels span {
  font-size: 0.72rem;
  color: var(--se-idx-muted, #666);
  font-family: var(--se-idx-body-font, "DM Sans", system-ui, sans-serif);
  text-align: center;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Value callouts above dots */
.se-idx-market-report__chart-values {
  position: relative;
  height: 0;
  pointer-events: none;
}

.se-idx-market-report__chart-value {
  position: absolute;
  transform: translate(-50%, -100%);
  background: var(--se-idx-primary, #1A1A1A);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--se-idx-body-font, "DM Sans", system-ui, sans-serif);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: -0.35rem;
}

/* Hide value callouts on very small screens — too cramped */
@media (max-width: 480px) {
  .se-idx-market-report__chart-values { display: none; }
  .se-idx-market-report__chart-labels span:nth-child(even) { visibility: hidden; }
}

.se-idx-market-report__section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.se-idx-market-report__section-head h3 {
  font-family: var(--se-idx-heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--se-idx-primary, #111);
  margin: 0;
}

/* ── Highlight stat cards — Lofty clean layout ───────────── */
.se-idx-market-report__highlights {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.se-idx-market-report__highlight {
  background: linear-gradient(180deg, rgba(218, 218, 218, 0.5), rgba(218, 218, 218, 0.2));
  border: 1px solid transparent;
  border-radius: 5px;
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.se-idx-market-report__highlight:hover {
  border-color: #DADADA;
  background: #fff;
}

.se-idx-market-report__highlight span {
  color: #555555;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none;
}

.se-idx-market-report__highlight strong {
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--se-idx-primary, #111);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ── Bar chart — gradient fills matching Lofty ──────────── */
.se-idx-market-report__bars {
  display: grid;
  gap: 1rem;
  padding: 1rem 0;
}

.se-idx-market-report__bar {
  display: grid;
  gap: 0.35rem;
}

.se-idx-market-report__bar-head {
  align-items: center;
  display: flex;
  font-size: 0.92rem;
  gap: 1rem;
  justify-content: space-between;
  color: var(--se-idx-text, #1c2b3a);
}
.se-idx-market-report__bar-head strong {
  font-family: var(--se-idx-heading-font);
  font-size: 0.92rem;
  color: var(--se-idx-primary, #111);
  font-variant-numeric: tabular-nums;
}

.se-idx-market-report__bar-track {
  background: linear-gradient(180deg, rgba(218, 218, 218, 0.5), rgba(218, 218, 218, 0.2));
  border-radius: 2px;
  height: 12px;
  overflow: hidden;
}

.se-idx-market-report__bar-fill {
  background: linear-gradient(90deg, var(--se-idx-primary), var(--se-idx-accent));
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.6s ease;
}

/* ── Table — zebra stripes + hover rows ─────────────────── */
.se-idx-market-report__table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.se-idx-market-report__table {
  border-collapse: collapse;
  min-width: 560px;
  width: 100%;
}

.se-idx-market-report__table th,
.se-idx-market-report__table td {
  border-bottom: 1px solid #DADADA;
  padding: 0.85rem 0.75rem;
  text-align: left;
  font-size: 0.92rem;
  color: var(--se-idx-text, #1c2b3a);
}
.se-idx-market-report__table td + td {
  font-variant-numeric: tabular-nums;
}

.se-idx-market-report__table th {
  color: #949494;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #fafafa;
}

.se-idx-market-report__table tbody tr:nth-child(even) {
  background: rgba(218, 218, 218, 0.12);
}

.se-idx-market-report__table tbody tr {
  transition: background 0.15s ease;
}

.se-idx-market-report__table tbody tr:hover {
  background: rgba(218, 218, 218, 0.32);
}

.se-idx-market-report__table td strong {
  font-family: var(--se-idx-heading-font);
  font-weight: 700;
}

/* ── Footer — subscribe CTA + attribution ───────────────── */
.se-idx-market-report__footer {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #DADADA;
}
@media (max-width: 600px) {
  .se-idx-market-report__footer { flex-direction: column; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; }
}

.se-idx-market-report__footer-copy {
  display: grid;
  gap: 0.45rem;
  max-width: 720px;
}

.se-idx-market-report__attribution,
.se-idx-market-report__note {
  color: #949494;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.6;
}

/* ── Subscribe CTA — Lofty-style ──────────────────────── */
.se-idx-market-report__subscribe {
  background: #fff;
  border: 1px solid #DADADA;
  border-radius: 5px;
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}
@media (max-width: 600px) {
  .se-idx-market-report__subscribe { padding: 1.25rem; }
}

.se-idx-market-report__subscribe h3 {
  font-family: var(--se-idx-heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 0.5rem;
}

.se-idx-market-report__subscribe p {
  color: #555555;
  font-size: 0.875rem;
  margin: 0 0 1.25rem;
}

.se-idx-market-report__subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .se-idx-market-report__subscribe-form { flex-direction: column; gap: 10px; }
}

.se-idx-market-report__subscribe-form input {
  flex: 1;
  height: 50px;
  border: 1px solid #DADADA;
  padding: 0 15px;
  font-size: 0.875rem;
  color: #111111;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.se-idx-market-report__subscribe-form input:focus,
.se-idx-market-report__subscribe-form input:hover {
  border-color: #111111;
}
.se-idx-market-report__subscribe-form input::placeholder {
  color: #949494;
  font-size: 0.875rem;
}

.se-idx-market-report__subscribe-btn {
  height: 50px;
  min-width: 160px;
  background: var(--se-idx-primary);
  color: #fff;
  border: none;
  font-family: var(--se-idx-heading-font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0 1.5rem;
}
.se-idx-market-report__subscribe-btn:hover {
  background: #0d1b30;
}

.se-idx-search-brandmark {
  align-items: center;
  background: var(--se-idx-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
}

.se-idx-search-widget--size-small .se-idx-hp-search--hero {
  max-width: 620px;
}

.se-idx-search-widget--size-medium .se-idx-hp-search--hero {
  max-width: 860px;
}

.se-idx-search-widget--size-large .se-idx-hp-search--hero,
.se-idx-search-widget--size-full_width .se-idx-hp-search--hero {
  max-width: none;
}

.se-idx-search-widget--centered .se-idx-hp-search--hero,
.se-idx-search-widget--size-full_width .se-idx-hp-search--hero {
  margin: 0 auto;
}

.se-idx-search-widget--left .se-idx-hp-search--hero {
  margin-right: auto;
}

.se-idx-search-widget--overlay .se-idx-hp-search--hero {
  box-shadow: 0 22px 52px rgba(7, 16, 31, 0.18);
}

.se-idx-search-widget--bg-transparent .se-idx-hp-search--hero {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.se-idx-search-widget--bg-primary .se-idx-hp-search--hero {
  background: var(--se-idx-primary);
  border-color: rgba(255, 255, 255, 0.08);
}

.se-idx-search-widget--bg-primary .se-idx-hp-search input,
.se-idx-search-widget--bg-primary .se-idx-hp-search select {
  background: rgba(255, 255, 255, 0.92);
}

.se-idx-search-widget--radius-none .se-idx-hp-search--hero {
  border-radius: 0;
}

.se-idx-search-widget--radius-pill .se-idx-hp-search--hero {
  border-radius: 999px;
}
/* === Search Widget — Hero search form, modes, budgets, quicklinks === */

/* Frontend refresh: hero search + MLS listings */
.se-idx-search-widget {
  --se-idx-search-radius: 999px;
}

.se-idx-search-widget--radius-none {
  --se-idx-search-radius: 4px;
}

.se-idx-search-widget--radius-rounded {
  --se-idx-search-radius: 18px;
}

.se-idx-search-widget--radius-pill {
  --se-idx-search-radius: 999px;
}

/* ── Search Hero Widget — Lofty-inspired clean flat design ──────────────── */
.se-idx-search-hero {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  width: 100%;
}

.se-idx-search-hero__brand {
  color: var(--se-idx-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.se-idx-search-hero__modes {
  align-items: center;
  background: #fff;
  border: 1px solid #DADADA;
  border-radius: 0;
  display: inline-flex;
  gap: 0;
  padding: 0;
}

.se-idx-search-hero__mode {
  cursor: pointer;
}

.se-idx-search-hero__mode input {
  display: none;
}

.se-idx-search-hero__mode span {
  align-items: center;
  border-radius: 0;
  border-right: 1px solid #DADADA;
  color: #111;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.6rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.se-idx-search-hero__mode:last-child span {
  border-right: 0;
}

.se-idx-search-hero__mode span:hover {
  background: #1111110d;
}

.se-idx-search-hero__mode input:checked + span {
  background: var(--se-idx-primary);
  box-shadow: none;
  color: #fff;
}

.se-idx-search-hero__field {
  display: block;
  width: min(100%, 220px);
}

.se-idx-search-hero__select {
  appearance: none;
  background: #fff;
  border: 1px solid #DADADA;
  border-radius: 0;
  box-shadow: none;
  color: #111;
  color-scheme: light;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  min-height: 50px;
  padding: 0 12px;
  width: 100%;
}

.se-idx-search-hero__select:hover,
.se-idx-search-hero__select:focus {
  border-color: var(--se-idx-primary);
  outline: none;
}

.se-idx-search-hero__select option {
  background: #fff;
  color: #111;
}

.se-idx-search-hero__location-selects {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 460px;
}
.se-idx-search-hero__location-selects .se-idx-search-hero__field {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
@media (max-width: 600px) {
  .se-idx-search-hero__location-selects {
    flex-direction: column;
    max-width: 100%;
  }
}

.se-idx-search-hero__bar {
  align-items: center;
  background: #fff;
  border: 1px solid #DADADA;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  gap: 0;
  width: min(100%, 960px);
}

.se-idx-search-hero__input {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 0.6rem;
  min-width: 0;
  padding: 0 15px;
}

.se-idx-search-hero__input-icon svg,
.se-idx-search-hero__submit svg,
.se-idx-prop-card__save svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.se-idx-search-hero__input-icon {
  color: #a8a8a8;
  display: inline-flex;
  flex: 0 0 auto;
}

.se-idx-search-hero__input-icon svg,
.se-idx-search-hero__submit svg {
  height: 18px;
  width: 18px;
}

.se-idx-search-hero__input input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  min-height: 50px;
  outline: none;
  padding: 0;
  width: 100%;
}

.se-idx-search-hero__input input::placeholder {
  color: #CCC;
}

.se-idx-search-hero__submit {
  align-items: center;
  background: var(--se-idx-primary);
  border: 0;
  border-left: 1px solid #DADADA;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  gap: 0.5rem;
  justify-content: center;
  min-height: 50px;
  min-width: 150px;
  padding: 0 1.5rem;
  text-transform: none;
  transition: opacity 0.18s ease;
}

.se-idx-search-hero__submit:hover {
  opacity: 0.85;
  box-shadow: none;
  transform: none;
}

.se-idx-search-hero__budgets {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.se-idx-search-hero__budgets a {
  background: transparent;
  border: 1px solid #DADADA;
  border-radius: 0;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 15px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.se-idx-search-hero__budgets a:hover {
  background: #1111110d;
  border-color: #111;
  transform: none;
}

.se-idx-search-widget--bg-white .se-idx-search-hero__budgets a,
.se-idx-search-widget--bg-transparent .se-idx-search-hero__budgets a {
  background: transparent;
  border-color: #DADADA;
  color: #111;
}

.se-idx-search-widget--bg-white .se-idx-search-hero__budgets a:hover,
.se-idx-search-widget--bg-transparent .se-idx-search-hero__budgets a:hover {
  background: #1111110d;
  border-color: #111;
  color: #111;
}

.se-idx-search-hero__quicklinks {
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.se-idx-search-hero__quicklinks a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.se-idx-search-hero__quicklinks a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.se-idx-search-widget--bg-white .se-idx-search-hero__modes,
.se-idx-search-widget--bg-white .se-idx-search-hero__bar {
  background: #fff;
  border-color: rgba(28, 43, 58, 0.08);
  box-shadow: 0 18px 42px rgba(8, 15, 31, 0.1);
}

.se-idx-search-widget--bg-white .se-idx-search-hero__mode span,
.se-idx-search-widget--bg-white .se-idx-search-hero__brand,
.se-idx-search-widget--bg-white .se-idx-search-hero__quicklinks,
.se-idx-search-widget--bg-white .se-idx-search-hero__quicklinks a,
.se-idx-search-widget--bg-white .se-idx-search-hero__input input,
.se-idx-search-widget--bg-white .se-idx-search-hero__select,
.se-idx-search-widget--bg-white .se-idx-search-hero__input input::placeholder,
.se-idx-search-widget--bg-white .se-idx-search-hero__input-icon {
  color: var(--se-idx-primary);
}

.se-idx-search-widget--bg-white .se-idx-search-hero__select {
  background: #fff;
  border-color: rgba(28, 43, 58, 0.08);
  box-shadow: 0 18px 42px rgba(8, 15, 31, 0.1);
}

.se-idx-search-widget--bg-white .se-idx-search-hero__mode input:checked + span {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-search-widget--bg-primary .se-idx-search-hero__modes,
.se-idx-search-widget--bg-primary .se-idx-search-hero__bar {
  background: rgba(26, 26, 26, 0.88);
}

/* ── Transparent background variant ─────────────────────────────────────────
 * Default hero CSS assumes a dark page background and uses white text. When
 * bg="transparent" is used on a light page, that white text disappears. This
 * block re-colors all interactive elements with dark, page-agnostic colors so
 * text and buttons are always visible regardless of the underlying page color.
 */
.se-idx-search-widget--bg-transparent .se-idx-search-hero__modes,
.se-idx-search-widget--bg-transparent .se-idx-search-hero__bar {
  background: #fff;
  border-color: rgba(28, 43, 58, 0.12);
  box-shadow: 0 18px 42px rgba(8, 15, 31, 0.12);
  backdrop-filter: none;
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__mode span {
  color: var(--se-idx-text);
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__mode input:checked + span {
  background: var(--se-idx-primary);
  box-shadow: 0 10px 24px rgba(7, 16, 31, 0.18);
  color: #fff;
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__select {
  background: #fff;
  border-color: rgba(28, 43, 58, 0.12);
  box-shadow: 0 14px 32px rgba(8, 15, 31, 0.08);
  color: var(--se-idx-text);
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__input input,
.se-idx-search-widget--bg-transparent .se-idx-search-hero__input-icon {
  color: var(--se-idx-text);
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__input input::placeholder {
  color: rgba(28, 43, 58, 0.55);
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__brand,
.se-idx-search-widget--bg-transparent .se-idx-search-hero__quicklinks {
  color: rgba(28, 43, 58, 0.78);
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__quicklinks a {
  color: var(--se-idx-primary);
}

.se-idx-search-widget--bg-transparent .se-idx-search-hero__quicklinks a:hover {
  color: var(--se-idx-primary);
}
/* === Listing Cards — Property card grid, list, and map variants === */

/* ── MLS-matching property card ─────────────────────────────────────────────
 * Ported from apps/nmls-mls/web/assets/css/main.css so the IDX consumer grid
 * matches the MLS listing index 1:1 regardless of the host theme. Selectors
 * use both .se-idx-property-card AND .property-card so theme styles do not
 * fight us, but our specificity wins via the namespaced parent.
 */
.se-idx-property-card.property-card {
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: var(--se-idx-radius);
  overflow: hidden;
  box-shadow: var(--se-idx-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.se-idx-property-card.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--se-idx-shadow-hover);
  border-color: var(--se-idx-border);
}

.se-idx-property-card .card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8ecf0;
}

.se-idx-property-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.se-idx-property-card:hover .card-image img {
  transform: scale(1.08);
}

.se-idx-property-card .image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ecf0, #d0d8e0);
}

.se-idx-property-card .badge-type {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #07101f;
  color: #fff;
}

.se-idx-property-card .badge-type--sale     { background: #07101f; color: #fff; }
.se-idx-property-card .badge-type--rent     { background: #0d5c3a; color: #fff; }
.se-idx-property-card .badge-type--shortlet { background: #7c3700; color: #fff; }

.se-idx-property-card .badge-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #c41230;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.se-idx-property-card .card-compare-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.15s, transform 0.15s;
}

.se-idx-property-card .card-compare-btn:hover {
  transform: scale(1.1);
}

.se-idx-property-card .card-compare-btn[aria-pressed="true"] {
  background: var(--se-idx-primary);
}

.se-idx-property-card .card-compare-btn[aria-pressed="true"] svg {
  stroke: #fff;
}

.se-idx-property-card .card-body {
  padding: 16px;
}

.se-idx-property-card .card-price {
  font-family: var(--se-idx-heading-font, 'Playfair Display', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--se-idx-primary);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.se-idx-property-card .card-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--se-idx-muted, #5a6474);
}

.se-idx-property-card .card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #07101f;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.se-idx-property-card .card-location {
  font-size: 0.82rem;
  color: #6B7A90;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.se-idx-property-card .card-location::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  flex-shrink: 0;
}

.se-idx-property-card .card-specs {
  display: flex;
  gap: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6B7A90;
  border-top: 1px solid #EEF2F7;
  padding-top: 12px;
}

.se-idx-property-card .card-specs span {
  white-space: nowrap;
  padding: 0 12px;
  border-right: 1px solid #EEF2F7;
}

.se-idx-property-card .card-specs span:first-child {
  padding-left: 0;
}

.se-idx-property-card .card-specs span:last-child {
  border-right: none;
}

.se-idx-browse {
  background: var(--se-idx-surface-soft);
  border-radius: 12px;
  padding: 0;
}

.se-idx-browse__topbar {
  background: #fff;
  border-bottom: 1px solid var(--se-idx-border);
  gap: 0.9rem;
  margin-bottom: 0;
  padding: 1.3rem 1.5rem 1.1rem;
}

.se-idx-browse__topbar > .se-idx-browse__breadcrumbs,
.se-idx-browse__topbar > .se-idx-browse__intro,
.se-idx-browse__topbar > .se-idx-hp-search--results {
  display: none;
}

.se-idx-browse-header__breadcrumbs {
  align-items: center;
  color: #9ca8b8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.se-idx-browse__hero {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 620px);
}

.se-idx-browse__hero-copy h1 {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.se-idx-browse__hero-copy p {
  color: var(--se-idx-muted);
  font-size: 0.92rem;
  margin: 0.35rem 0 0;
}

.se-idx-browse-search {
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr) auto;
  overflow: hidden;
}

.se-idx-browse-search__field {
  border-right: 1px solid var(--se-idx-border);
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
}

.se-idx-browse-search__field span,
.se-idx-filter-block h4,
.se-idx-field span,
.se-idx-inline-field span {
  color: #8b98ab;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.se-idx-browse-search__field input,
.se-idx-browse-search__field select {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--se-idx-primary);
  font-size: 0.88rem;
  font-weight: 700;
  min-height: auto;
  padding: 0;
}

.se-idx-browse-search__button {
  background: var(--se-idx-primary);
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 120px;
  padding: 0 1.1rem;
}

.se-idx-browse__body {
  gap: 0;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 720px;
}

.se-idx-filters,
.se-idx-results {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.se-idx-filters {
  align-self: stretch;
  background: #fff;
  border-right: 1px solid var(--se-idx-border);
  gap: 1rem;
  padding: 1rem 1rem 1.5rem;
  position: sticky;
  top: 0;
}

.se-idx-filters__head {
  border-bottom: 1px solid var(--se-idx-border);
  padding-bottom: 0.85rem;
}

.se-idx-filter-group {
  display: grid;
  gap: 1rem;
}

.se-idx-filter-tabs {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.se-idx-filter-tab {
  cursor: pointer;
}

.se-idx-filter-tab input {
  display: none;
}

.se-idx-filter-tab span {
  align-items: center;
  border: 1.5px solid var(--se-idx-border);
  border-radius: 6px;
  color: var(--se-idx-muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.5rem;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.se-idx-filter-tab span:hover {
  border-color: var(--se-idx-primary);
  color: var(--se-idx-primary);
}

.se-idx-filter-tab input:checked + span {
  background: var(--se-idx-primary);
  border-color: var(--se-idx-primary);
  color: #fff;
  box-shadow: var(--se-idx-shadow);
}

.se-idx-field input,
.se-idx-field select,
.se-idx-inline-field select {
  border-radius: 6px;
  min-height: 42px;
}

.se-idx-results {
  padding: 1.5rem 1.75rem 2rem;
}

.se-idx-results__toolbar .se-idx-eyebrow {
  display: none;
}

.se-idx-results__toolbar h3 {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font);
  font-size: 0.96rem;
  font-weight: 800;
}

.se-idx-results-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.se-idx-results-summary__count {
  color: var(--se-idx-primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.se-idx-active-pills {
  gap: 0.45rem;
}

.se-idx-pill {
  background: var(--se-idx-primary);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
}

.se-idx-pill-clear-all {
  background: transparent;
  border: 1px solid var(--se-idx-border);
  color: var(--se-idx-primary);
}

.se-idx-card-grid {
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.se-idx-prop-card,
.se-idx-prop-list,
.se-idx-map-mini-card {
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.se-idx-prop-card:hover,
.se-idx-prop-list:hover,
.se-idx-map-mini-card:hover {
  box-shadow: 0 12px 28px rgba(24, 46, 65, 0.1);
  transform: translateY(-2px);
}

.se-idx-prop-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.se-idx-prop-card__image-link,
.se-idx-prop-list__media {
  display: block;
  height: 100%;
}

.se-idx-prop-card__image img,
.se-idx-prop-list__media img,
.se-idx-map-mini-card__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.se-idx-prop-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  left: 0.7rem;
  position: absolute;
  top: 0.7rem;
}

.se-idx-badge {
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.5rem;
  text-transform: uppercase;
}

.se-idx-badge--listing,
.se-idx-badge--status {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-badge--featured {
  background: rgba(26,26,26,0.07);
  color: var(--se-idx-primary);
}

.se-idx-badge--secure {
  background: #dcfce7;
  color: #15803d;
}

.se-idx-prop-card__save {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--se-idx-primary);
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 34px;
}

.se-idx-prop-card__save svg {
  height: 16px;
  width: 16px;
}

.se-idx-prop-card__save.is-active {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-prop-card__body {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem 0.85rem 0.85rem;
}

.se-idx-prop-card__price,
.se-idx-prop-list__price,
.se-idx-map-mini-card__body strong {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.12;
}

.se-idx-prop-card__price-hint {
  color: var(--se-idx-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.se-idx-prop-card__title {
  font-family: var(--se-idx-heading-font);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0.05rem 0 0;
}

.se-idx-prop-card__location,
.se-idx-prop-list__headline p,
.se-idx-map-mini-card__body small {
  color: var(--se-idx-muted);
  font-size: 0.78rem;
}

.se-idx-prop-card__meta,
.se-idx-prop-list__meta {
  border-top: 1px solid #eef2f7;
  color: var(--se-idx-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  font-size: 0.72rem;
  padding-top: 0.65rem;
}

.se-idx-prop-card__footer,
.se-idx-prop-list__footer {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding-top: 0.15rem;
}

.se-idx-prop-card__agent,
.se-idx-prop-list__agent {
  color: var(--se-idx-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.se-idx-prop-card__action,
.se-idx-prop-list__button {
  align-items: center;
  background: var(--se-idx-primary);
  border-radius: var(--se-idx-radius-sm);
  color: #fff;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 600;
  min-height: 36px;
  padding: 0 0.9rem;
}

.se-idx-prop-list {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

.se-idx-prop-list__body {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 1.3rem;
}

.se-idx-prop-list__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.se-idx-prop-list__headline h3 {
  font-family: var(--se-idx-heading-font);
  font-size: 1rem;
  font-weight: 800;
  margin: 0.15rem 0 0;
}

.se-idx-prop-list__summary {
  color: var(--se-idx-muted);
  font-size: 0.83rem;
  line-height: 1.65;
  margin: 0;
}

.se-idx-prop-list__actions {
  display: flex;
  gap: 0.55rem;
}

.se-idx-prop-list__save {
  background: transparent;
  border: 1px solid var(--se-idx-border);
  border-radius: 6px;
  color: var(--se-idx-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  min-height: 36px;
  padding: 0 0.85rem;
}

.se-idx-prop-list__save.is-active {
  background: var(--se-idx-primary);
  border-color: var(--se-idx-primary);
  color: #fff;
}

.se-idx-map-layout {
  display: grid;
  gap: 0;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 620px;
}

.se-idx-map-results {
  background: #fff;
  border-right: 1px solid var(--se-idx-border);
  display: grid;
  gap: 0;
  grid-column: 1;
  grid-row: 1;
  overflow-y: auto;
}

.se-idx-map-canvas {
  border-radius: 0;
  grid-column: 2;
  grid-row: 1;
  min-height: 620px;
}

.se-idx-map-result {
  border: 0;
  border-bottom: 1px solid #eef2f7;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 0.85rem 1rem;
}

.se-idx-pagination {
  gap: 0.35rem;
  justify-content: flex-start;
  margin-top: 1.4rem;
}

.se-idx-pagination__button,
.se-idx-pagination__ellipsis {
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: 7px;
  min-height: 38px;
  min-width: 38px;
}

.se-idx-pagination__button.is-active {
  background: var(--se-idx-primary);
}

@media (max-width: 1280px) {
  .se-idx-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .se-idx-browse__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .se-idx-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .se-idx-browse__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .se-idx-filters {
    border-right: 0;
    box-shadow: 0 20px 44px rgba(7, 16, 31, 0.12);
    inset: auto 1rem 1rem 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    position: fixed;
    transform: translateY(120%);
    transition: transform 0.22s ease;
    z-index: 30;
  }

  .se-idx-browse.is-filters-open .se-idx-filters {
    transform: translateY(0);
  }

  .se-idx-browse__backdrop {
    background: rgba(15, 23, 47, 0.4);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.2s ease;
    z-index: 20;
  }

  .se-idx-browse.is-filters-open .se-idx-browse__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .se-idx-map-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .se-idx-map-results,
  .se-idx-map-canvas {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .se-idx-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .se-idx-prop-card__body {
    padding: 0.6rem 0.65rem 0.7rem;
  }

  .se-idx-prop-card__price {
    font-size: 0.9rem;
  }

  .se-idx-prop-card__title {
    font-size: 0.8rem;
  }

  .se-idx-prop-card__location {
    font-size: 0.72rem;
  }

  .se-idx-prop-card__meta {
    font-size: 0.66rem;
    gap: 0.3rem 0.55rem;
  }

  .se-idx-prop-card__footer {
    flex-wrap: wrap;
  }

  .se-idx-prop-card__action {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .se-idx-search-hero__bar,
  .se-idx-browse-search {
    grid-template-columns: 1fr;
  }

  .se-idx-search-hero__submit,
  .se-idx-browse-search__button {
    min-width: 100%;
  }

  .se-idx-prop-list {
    grid-template-columns: 1fr;
  }

  .se-idx-prop-list__media {
    aspect-ratio: 16 / 10;
  }

  .se-idx-results {
    padding: 1rem;
  }

  .se-idx-browse__topbar {
    padding: 1rem;
  }

  .se-idx-pagination {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .se-idx-card-grid {
    grid-template-columns: 1fr;
  }
}
/* === Featured Listings — Grid A, Grid B, slider, sold modifiers === */

/* ── Featured Listings ─ Editorial cards that respect user brand colors ─── */
.se-idx-featured-feed {
  color: var(--se-idx-text, #1c2b3a);
}

.se-idx-featured-section {
  display: grid;
  gap: 1.5rem;
}

.se-idx-featured-section__head {
  display: grid;
  gap: 0.4rem;
}

.se-idx-featured-section__head p {
  color: #949494;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0;
  text-transform: uppercase;
}

.se-idx-featured-section__head h2,
.se-idx-featured-b__head h2,
.se-idx-featured-c__head h2 {
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

.se-idx-featured-a {
  align-items: stretch;
  display: grid;
  gap: 2px;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.se-idx-featured-a__hero,
.se-idx-featured-a__card,
.se-idx-featured-b__card,
.se-idx-featured-c__card {
  position: relative;
  cursor: pointer;
}

.se-idx-featured-a__hero-media,
.se-idx-featured-a__card-media,
.se-idx-featured-b__media,
.se-idx-featured-c__card-media {
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.se-idx-featured-a__hero-media,
.se-idx-featured-a__placeholder {
  border-radius: 0;
  min-height: 560px;
}

.se-idx-featured-a__hero-media img,
.se-idx-featured-a__card-media img,
.se-idx-featured-b__media img,
.se-idx-featured-c__card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

.se-idx-featured-a__hero:hover img,
.se-idx-featured-a__card:hover img,
.se-idx-featured-b__card:hover img,
.se-idx-featured-c__card:hover img {
  transform: scale(1.1);
}

.se-idx-featured-a__overlay {
  background: linear-gradient(180deg, rgba(25, 25, 25, 0) 0%, rgba(25, 25, 25, 0.6) 66.96%);
  inset: 0;
  position: absolute;
  z-index: 2;
}

.se-idx-featured-a__hero-content {
  align-items: flex-end;
  bottom: 0;
  color: #fff;
  display: grid;
  left: 0;
  padding: 2rem 30px 50px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.se-idx-featured-a__hero-badge,
.se-idx-featured-a__card-badge,
.se-idx-featured-b__badge,
.se-idx-featured-c__badge {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  color: var(--se-idx-primary);
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 800;
  height: 22px;
  align-items: center;
  letter-spacing: 0.12em;
  padding: 0 0.6rem;
  text-transform: uppercase;
}

.se-idx-featured-a__hero-badge {
  align-self: start;
  justify-self: start;
  position: absolute;
  left: 30px;
  top: 25px;
  z-index: 7;
}

.se-idx-featured-a__hero-copy {
  display: grid;
  gap: 0.85rem;
}

.se-idx-featured-a__location {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
}

.se-idx-featured-a__hero-copy h3 {
  color: #fff;
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.5rem, 3vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  word-break: break-word;
}
@media (max-width: 600px) {
  .se-idx-featured-a__hero-copy h3 {
    font-size: 1.25rem;
    width: 70vw;
  }
}

.se-idx-featured-a__specs,
.se-idx-featured-c__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.se-idx-featured-a__specs span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 400;
}
.se-idx-featured-a__specs span + span::before {
  content: "|";
  color: #fff;
  margin: 0 6px;
  position: relative;
  bottom: 1px;
}

.se-idx-featured-a__footer {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 0;
}

.se-idx-featured-a__price {
  color: #fff;
  font-family: var(--se-idx-heading-font);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  position: absolute;
  top: 25px;
  right: 30px;
  z-index: 10;
}
@media (max-width: 600px) {
  .se-idx-featured-a__price {
    position: static;
    color: #111111;
    font-size: 1.125rem;
  }
}

/* ── Grid A — Mobile responsive ─────────────────────────────────── */
@media (max-width: 600px) {
  .se-idx-featured-a {
    grid-template-columns: 1fr;
  }
  .se-idx-featured-a__hero-media,
  .se-idx-featured-a__placeholder {
    min-height: 400px;
  }
  .se-idx-featured-a__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .se-idx-featured-a__card-media,
  .se-idx-featured-a__card-media img,
  .se-idx-featured-a__card .se-idx-featured-a__placeholder {
    height: 200px;
  }
  .se-idx-featured-a__card-price {
    font-size: 1rem;
  }
  .se-idx-featured-a__card-specs span {
    font-size: 0.7rem;
  }
  .se-idx-featured-a__card-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

.se-idx-featured-a__cta {
  align-items: center;
  background: #fff;
  border-radius: 4px;
  color: var(--se-idx-primary);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 48px;
  padding: 0 1.2rem;
}

.se-idx-featured-a__rail {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.se-idx-featured-a__card-media,
.se-idx-featured-a__card-media img,
.se-idx-featured-a__card .se-idx-featured-a__placeholder {
  aspect-ratio: auto;
  border-radius: 0;
  height: 100%;
}

.se-idx-featured-a__card-overlay {
  background: linear-gradient(180deg, rgba(25, 25, 25, 0) 0%, rgba(25, 25, 25, 0.65) 66.96%);
  inset: 0;
  position: absolute;
  z-index: 2;
}

.se-idx-featured-a__card-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 7;
}

/* Sold badge modifier — red background for sold listings in featured grids */
.se-idx-featured-section--sold .se-idx-featured-a__hero-badge,
.se-idx-featured-section--sold .se-idx-featured-a__card-badge,
.se-idx-featured-section--sold .se-idx-featured-b__badge {
  background: #c41230;
  color: #fff;
}

.se-idx-featured-section--sold .se-idx-featured-a__hero-media img,
.se-idx-featured-section--sold .se-idx-featured-a__card-media img,
.se-idx-featured-section--sold .se-idx-featured-b__media img {
  filter: saturate(0.35) brightness(0.92);
  transition: filter 0.3s ease, transform 0.3s ease-in-out;
}

.se-idx-featured-section--sold .se-idx-featured-a__hero:hover img,
.se-idx-featured-section--sold .se-idx-featured-a__card:hover img,
.se-idx-featured-section--sold .se-idx-featured-b__card:hover img {
  filter: saturate(0.6) brightness(0.96);
}

.se-idx-featured-a__card-copy {
  position: absolute;
  z-index: 10;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
  display: grid;
  gap: 0.45rem;
}

.se-idx-featured-a__card-price {
  color: #fff;
  font-family: var(--se-idx-heading-font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.se-idx-featured-a__card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.se-idx-featured-a__card-specs span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 400;
}

.se-idx-featured-a__card-specs span + span::before {
  content: "|";
  color: rgba(255, 255, 255, 0.5);
  margin: 0 6px;
}

.se-idx-featured-a__card-location {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.se-idx-featured-c__card-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  margin: 0;
}

.se-idx-featured-c__title-row h3 {
  margin: 0;
}

.se-idx-featured-c__title-row h3 a {
  color: #fff;
  font-family: var(--se-idx-heading-font);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.se-idx-featured-c__title-row strong {
  color: #fff;
  font-family: var(--se-idx-heading-font);
  font-size: 1.05rem;
  font-weight: 400;
}

.se-idx-featured-b__head {
  margin-bottom: 0.5rem;
}

.se-idx-featured-b__head span {
  background: var(--se-idx-primary);
  display: block;
  height: 4px;
  margin-top: 1rem;
  width: 84px;
}

.se-idx-featured-b__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .se-idx-featured-b__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .se-idx-featured-b__grid {
    grid-template-columns: 1fr;
  }
}

.se-idx-featured-b__card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.se-idx-featured-b__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 10, 30, 0.12);
}

.se-idx-featured-b__media,
.se-idx-featured-b__placeholder {
  height: 230px;
  width: 100%;
}
.se-idx-featured-b__media img {
  height: 230px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}
.se-idx-featured-b__card:hover .se-idx-featured-b__media img {
  transform: scale(1.05);
}

.se-idx-featured-b__badge {
  background: var(--se-idx-primary);
  color: #fff;
  left: 0;
  position: absolute;
  top: 1rem;
  z-index: 7;
  border-radius: 0 2px 2px 0;
}

.se-idx-featured-b__photo-count {
  align-items: center;
  background: rgba(17, 17, 17, 0.6);
  border-bottom-left-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 4px;
  padding: 4px 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 7;
}

.se-idx-featured-b__body {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem 0 0.5rem;
}

.se-idx-featured-b__price {
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.se-idx-featured-b__title {
  margin: 0;
}

.se-idx-featured-b__title a {
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.se-idx-featured-b__title a:hover {
  text-decoration: underline;
}

.se-idx-featured-b__location {
  color: #555;
  font-size: 0.82rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.se-idx-featured-b__specs {
  display: flex;
  gap: 0;
  font-size: 0.82rem;
  color: #555;
  margin-top: 0.15rem;
}

.se-idx-featured-b__specs span {
  color: #555;
  display: inline;
  font-size: 0.82rem;
  font-weight: 400;
}
.se-idx-featured-b__specs span + span::before {
  content: "|";
  color: #DADADA;
  margin: 0 8px;
}

.se-idx-featured-b__actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.se-idx-featured-b__button {
  align-items: center;
  background: transparent;
  border-radius: 0;
  color: var(--se-idx-primary, #111);
  display: inline-flex;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.7rem;
  text-decoration: none;
  border: 1px solid currentColor;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}
.se-idx-featured-b__button:hover {
  background: var(--se-idx-primary, #111);
  color: #fff;
}

.se-idx-featured-c {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 10, 30, 0.2);
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  min-height: 860px;
  overflow: hidden;
}

.se-idx-featured-c__list {
  background: #fff;
  border-right: 1px solid #DADADA;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-height: 0;
}

.se-idx-featured-c__head {
  border-bottom: 1px solid #DADADA;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.se-idx-featured-c__head-top {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.se-idx-featured-c__filters {
  align-items: center;
  background: #f4f4f4;
  border-radius: 0;
  color: #111111;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0 1rem;
}

.se-idx-featured-c__search {
  align-items: center;
  background: #f4f4f4;
  border: 1px solid #DADADA;
  border-radius: 0;
  display: flex;
  min-height: 48px;
  padding: 0 1rem;
}

.se-idx-featured-c__search span {
  color: #949494;
  font-size: 0.92rem;
}

.se-idx-featured-c__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.se-idx-featured-c__pills span {
  align-items: center;
  background: #f4f4f4;
  border-radius: 2px;
  color: #555555;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 700;
  min-height: 30px;
  padding: 0 0.8rem;
}

.se-idx-featured-c__meta {
  padding: 1rem 1.5rem 0;
}

.se-idx-featured-c__meta span {
  color: #949494;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.se-idx-featured-c__cards {
  display: grid;
  gap: 2rem;
  max-height: 100%;
  overflow-y: auto;
  padding: 1.5rem;
}

.se-idx-featured-c__card {
  display: grid;
  gap: 1rem;
}

.se-idx-featured-c__card-media,
.se-idx-featured-c__card-media img,
.se-idx-featured-c__placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.se-idx-featured-c__badge {
  left: 1rem;
  position: absolute;
  top: 1rem;
  z-index: 7;
}

.se-idx-featured-c__card-copy {
  display: grid;
  gap: 0.8rem;
}

.se-idx-featured-c__title-row {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.se-idx-featured-c__title-row h3 a {
  color: var(--se-idx-primary, var(--se-idx-primary));
  font-size: 1.28rem;
}
.se-idx-featured-c__title-row strong {
  color: var(--se-idx-primary, var(--se-idx-primary));
}

.se-idx-featured-c__specs span {
  color: #555555;
  font-size: 0.88rem;
  font-weight: 400;
}
.se-idx-featured-c__specs span + span::before {
  content: "|";
  color: #DADADA;
  margin: 0 6px;
}

.se-idx-featured-c__map-shell {
  background: #eef2f6;
  min-height: 100%;
  position: relative;
}

.se-idx-featured-c__map {
  height: 100%;
  min-height: 860px;
  position: relative;
}

.se-idx-featured-c__map-copy {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid #DADADA;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 10, 30, 0.2);
  display: grid;
  gap: 0.2rem;
  left: 1.5rem;
  max-width: 240px;
  padding: 0.95rem 1rem;
  position: absolute;
  top: 1.5rem;
  z-index: 2;
}

.se-idx-featured-c__map-copy p,
.se-idx-featured-c__map-copy strong {
  margin: 0;
}

.se-idx-featured-c__map-copy p {
  color: #949494;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.se-idx-featured-c__map-copy strong {
  color: #111111;
  font-family: var(--se-idx-heading-font);
  font-size: 1rem;
  font-weight: 700;
}

.se-idx-featured-c__map-canvas {
  height: 100%;
  min-height: 860px;
  width: 100%;
}

.se-idx-featured-a__placeholder,
.se-idx-featured-b__placeholder,
.se-idx-featured-c__placeholder {
  background: linear-gradient(180deg, #DADADA 0%, #f4f4f4 100%);
}

@media (max-width: 1180px) {
  .se-idx-featured-a {
    grid-template-columns: 1fr;
  }

  .se-idx-featured-a__hero-media,
  .se-idx-featured-a__placeholder {
    min-height: 400px;
  }

  .se-idx-featured-b__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .se-idx-featured-c {
    grid-template-columns: 1fr;
  }

  .se-idx-featured-c__list {
    border-bottom: 1px solid #DADADA;
    border-right: none;
  }

  .se-idx-featured-c__map,
  .se-idx-featured-c__map-canvas {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .se-idx-featured-a__rail,
  .se-idx-featured-b__grid {
    grid-template-columns: 1fr;
  }

  .se-idx-featured-a__hero-content {
    padding: 1.4rem;
  }

  .se-idx-featured-a__hero-copy h3 {
    font-size: 1.25rem;
  }

  .se-idx-featured-a__footer,
  .se-idx-featured-b__topline,
  .se-idx-featured-c__title-row,
  .se-idx-featured-c__head-top {
    align-items: start;
    flex-direction: column;
  }
}
/* === Browse Page — Filters, search header, results layout === */

/* MLS browse alignment */
.se-idx-browse--mls {
  background: var(--se-idx-surface-soft);
  border-radius: 0;
  color: var(--se-idx-text);
  left: 50%;
  margin-left: 0;
  margin-right: 0;
  max-width: calc(100dvw - 48px);
  position: relative;
  right: auto;
  transform: translateX(-50%);
  width: min(1480px, calc(100dvw - 48px));
}

.se-idx-browse--mls .se-idx-browse__form {
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border);
  container-type: inline-size;
  margin: 0 auto;
  max-width: 1480px;
  overflow: visible;
}

.se-idx-browse--mls .se-idx-browse__topbar {
  display: block;
  gap: 0;
  margin: 0;
}

.se-idx-browse--mls .search-header {
  background: #fff;
  border-bottom: 1px solid var(--se-idx-border);
  padding: 1.25rem 2rem 0;
}

.se-idx-browse--mls .breadcrumb {
  align-items: center;
  color: #97a4b5;
  display: flex;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
}

.se-idx-browse--mls .breadcrumb a,
.se-idx-browse--mls .breadcrumb span {
  color: inherit;
}

.se-idx-browse--mls .search-header-top {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(240px, 0.72fr) minmax(460px, 1fr);
  padding-bottom: 1.25rem;
}

.se-idx-browse--mls .search-header-top h1 {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font, "Public Sans", system-ui, sans-serif);
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.se-idx-browse--mls .search-header-top h1 small {
  color: var(--se-idx-muted);
  display: block;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  margin-top: 0.35rem;
}

.se-idx-browse--mls .header-search-bar {
  align-self: end;
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border);
  border-radius: 8px;
  display: flex;
  max-width: none;
  overflow: hidden;
  width: 100%;
}

.se-idx-browse--mls .hb-field {
  border-right: 1px solid var(--se-idx-border);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  min-width: 0;
  padding: 0.7rem 1rem;
}

.se-idx-browse--mls .hb-field:last-of-type {
  border-right: 1px solid var(--se-idx-border);
}

.se-idx-browse--mls .hb-field > span {
  color: #97a4b5;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.se-idx-browse--mls .hb-field input,
.se-idx-browse--mls .hb-field select {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  min-height: auto;
  outline: none;
  padding: 0;
}

.se-idx-browse--mls .hb-btn {
  align-items: center;
  background: var(--se-idx-primary);
  border: 0;
  border-radius: 0 8px 8px 0;
  color: #fff;
  display: inline-flex;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  justify-content: center;
  min-width: 118px;
  padding: 0 1.25rem;
}

.se-idx-browse--mls .search-layout {
  align-items: start;
  display: flex;
  gap: 0;
  min-height: 760px;
}

.se-idx-browse--mls .filter-sidebar,
.se-idx-browse--mls .results-area {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.se-idx-browse--mls .filter-sidebar {
  align-self: flex-start;
  background: #fff;
  border-right: 1px solid var(--se-idx-border);
  display: block;
  flex-shrink: 0;
  max-height: none;
  overflow: visible;
  padding: 0;
  position: relative;
  top: auto;
  width: 268px;
}

.se-idx-browse--mls .filter-sidebar::-webkit-scrollbar,
.se-idx-browse--mls .map-results-strip::-webkit-scrollbar {
  width: 4px;
}

.se-idx-browse--mls .filter-sidebar::-webkit-scrollbar-thumb,
.se-idx-browse--mls .map-results-strip::-webkit-scrollbar-thumb {
  background: var(--se-idx-border);
  border-radius: 999px;
}

.se-idx-browse--mls .filter-top {
  align-items: center;
  border-bottom: 1px solid var(--se-idx-border);
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.se-idx-browse--mls .filter-top h3 {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.se-idx-browse--mls .se-idx-filters__head-actions {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.se-idx-browse--mls .filter-reset {
  background: transparent;
  border: 0;
  color: var(--se-idx-primary);
  cursor: pointer;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0;
}

.se-idx-browse--mls .se-idx-icon-button {
  align-items: center;
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border);
  border-radius: 6px;
  display: none;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.se-idx-browse--mls .se-idx-filter-group {
  display: block;
  gap: 0;
}

.se-idx-browse--mls .filter-section {
  border-bottom: 1px solid #eef2f7;
  margin: 0;
}

.se-idx-browse--mls .filter-section-head {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0.9rem 1.25rem;
  user-select: none;
}

.se-idx-browse--mls .filter-section-head::-webkit-details-marker {
  display: none;
}

.se-idx-browse--mls .filter-section-head > span {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 800;
}

.se-idx-browse--mls .filter-section-head svg {
  color: var(--se-idx-muted);
  fill: none;
  flex-shrink: 0;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
  width: 14px;
}

.se-idx-browse--mls .filter-section[open] .filter-section-head svg {
  transform: rotate(180deg);
}

.se-idx-browse--mls .filter-body {
  display: grid;
  gap: 0.8rem;
  padding: 0.25rem 1.25rem 1rem;
}

.se-idx-browse--mls .listing-type-tabs {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.se-idx-browse--mls .lt-tab {
  cursor: pointer;
  display: block;
}

.se-idx-browse--mls .lt-tab input {
  display: none;
}

.se-idx-browse--mls .lt-tab span {
  align-items: center;
  border: 1.5px solid var(--se-idx-border);
  border-radius: 5px;
  color: var(--se-idx-muted);
  display: flex;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.64rem;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  padding: 0 0.3rem;
  text-align: center;
}

.se-idx-browse--mls .lt-tab input:checked + span {
  background: var(--se-idx-primary);
  border-color: var(--se-idx-primary);
  color: #fff;
}

.se-idx-browse--mls .se-idx-filter-stack,
.se-idx-browse--mls .price-input-wrap {
  display: grid;
  gap: 0.3rem;
}

.se-idx-browse--mls .se-idx-filter-caption,
.se-idx-browse--mls .price-input-wrap > span {
  color: #97a4b5;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.se-idx-browse--mls .filter-body input:not([type="radio"]):not([type="checkbox"]),
.se-idx-browse--mls .filter-body select {
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: 5px;
  box-shadow: none;
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  min-height: 38px;
  padding: 0.55rem 0.7rem;
}

.se-idx-browse--mls .price-range-row {
  align-items: end;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
}

.se-idx-browse--mls .price-input-wrap {
  flex: none;
  min-width: 0;
}

.se-idx-browse--mls .price-input-wrap input {
  min-width: 0;
  width: 100%;
}

.se-idx-browse--mls .price-sep {
  align-items: center;
  color: #97a4b5;
  display: flex;
  font-size: 0.82rem;
  font-weight: 700;
  justify-content: center;
  padding-bottom: 0.72rem;
}

.se-idx-browse--mls .pill-row {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.se-idx-browse--mls .pill-btn {
  background: transparent;
  border: 1.5px solid var(--se-idx-border);
  border-radius: 6px;
  color: var(--se-idx-muted);
  cursor: pointer;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  min-height: 36px;
  padding: 0.45rem 0.6rem;
  text-align: center;
  width: 100%;
}

.se-idx-browse--mls .pill-btn.is-active,
.se-idx-browse--mls .se-idx-pill-option input:checked + .pill-btn {
  background: var(--se-idx-primary);
  border-color: var(--se-idx-primary);
  color: #fff;
}

.se-idx-browse--mls .se-idx-pill-option input {
  display: none;
}

.se-idx-browse--mls .filter-check {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.5rem;
  padding: 0.15rem 0;
}

.se-idx-browse--mls .filter-check input[type="checkbox"],
.se-idx-browse--mls .filter-check input[type="radio"] {
  accent-color: var(--se-idx-primary);
  flex-shrink: 0;
  height: 15px;
  width: 15px;
}

.se-idx-browse--mls .filter-check span {
  color: #334155;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.se-idx-browse--mls .filter-toggle {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
}

.se-idx-browse--mls .filter-toggle > span {
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
}

.se-idx-browse--mls .toggle-shell {
  display: inline-flex;
  position: relative;
}

.se-idx-browse--mls .toggle-shell input {
  height: 100%;
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.se-idx-browse--mls .toggle-sw {
  background: var(--se-idx-border);
  border-radius: 999px;
  display: block;
  height: 20px;
  position: relative;
  transition: background 0.2s ease;
  width: 36px;
}

.se-idx-browse--mls .toggle-sw::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  content: "";
  height: 14px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: left 0.2s ease;
  width: 14px;
}

.se-idx-browse--mls .toggle-shell input:checked + .toggle-sw {
  background: var(--se-idx-primary);
}

.se-idx-browse--mls .toggle-shell input:checked + .toggle-sw::after {
  left: 19px;
}

.se-idx-browse--mls .se-idx-filters__actions {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1.25rem 1.25rem;
}

.se-idx-browse--mls .se-idx-filters__actions .se-idx-button {
  border-radius: 7px;
  font-size: 0.8rem;
  min-height: 42px;
}

.se-idx-browse--mls .results-area {
  background: var(--se-idx-surface-soft);
  flex: 1;
  min-width: 0;
  padding: 1.5rem 2rem 2rem;
}

.se-idx-browse--mls .results-topbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.se-idx-browse--mls .results-count {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
}

.se-idx-browse--mls .topbar-right {
  align-items: flex-end;
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.se-idx-browse--mls .sort-wrap {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.se-idx-browse--mls .sort-wrap > span {
  color: var(--se-idx-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-left: 0.08rem;
  text-transform: uppercase;
}

.se-idx-browse--mls .sort-wrap select {
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: 6px;
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  min-height: 34px;
  min-width: 132px;
  padding: 0.35rem 0.6rem;
}

.se-idx-browse--mls .view-toggle {
  align-self: flex-end;
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: 6px;
  display: flex;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.se-idx-browse--mls .view-btn {
  align-items: center;
  background: #fff;
  border: 0;
  color: var(--se-idx-muted);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0;
}

.se-idx-browse--mls .view-btn + .view-btn {
  border-left: 1px solid var(--se-idx-border);
}

.se-idx-browse--mls .view-btn svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.8;
  width: 15px;
}

.se-idx-browse--mls .view-btn.is-active {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-browse--mls .se-idx-toolbar-filter-toggle {
  display: none;
}

.se-idx-browse--mls .active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.se-idx-browse--mls .filter-pill {
  align-items: center;
  background: var(--se-idx-primary);
  border: 0;
  border-radius: 20px;
  color: #fff;
  display: inline-flex;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.3rem;
  padding: 0.34rem 0.65rem;
}

.se-idx-browse--mls .clear-all {
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--se-idx-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0;
}

.se-idx-browse--mls .prop-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.se-idx-browse--mls .prop-card,
.se-idx-browse--mls .prop-list-card,
.se-idx-browse--mls .map-mini-card {
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.se-idx-browse--mls .prop-card:hover,
.se-idx-browse--mls .prop-list-card:hover,
.se-idx-browse--mls .map-mini-card:hover {
  box-shadow: 0 6px 24px rgba(24, 46, 65, 0.1);
  transform: translateY(-2px);
}

.se-idx-browse--mls .prop-card-img {
  height: 158px;
  overflow: hidden;
  position: relative;
}

.se-idx-browse--mls .prop-card-img img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.se-idx-browse--mls .prop-card:hover .prop-card-img img {
  transform: scale(1.04);
}

.se-idx-browse--mls .prop-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  left: 0.65rem;
  position: absolute;
  top: 0.65rem;
}

.se-idx-browse--mls .badge {
  border-radius: 4px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.45rem;
  text-transform: uppercase;
}

.se-idx-browse--mls .b-sale {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-browse--mls .b-title {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-browse--mls .b-invest {
  background: #fef3c7;
  color: #92400e;
}

.se-idx-browse--mls .prop-card-save {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
}

.se-idx-browse--mls .prop-save-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 999px;
  color: var(--se-idx-primary);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.se-idx-browse--mls .prop-save-btn svg {
  height: 13px;
  width: 13px;
}

.se-idx-browse--mls .prop-card-body {
  padding: 0.9rem 1rem;
}

.se-idx-browse--mls .prop-card-price,
.se-idx-browse--mls .prop-list-body .card-price,
.se-idx-browse--mls .map-mini-price {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font, "Public Sans", system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
}

.se-idx-browse--mls .prop-card-per-sqm {
  color: var(--se-idx-primary);
  font-size: 0.63rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.se-idx-browse--mls .prop-card-title {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0.3rem 0 0.2rem;
}

.se-idx-browse--mls .prop-card-loc,
.se-idx-browse--mls .map-mini-loc,
.se-idx-browse--mls .se-idx-prop-list__headline p {
  color: var(--se-idx-muted);
  font-size: 0.72rem;
}

.se-idx-browse--mls .prop-card-meta,
.se-idx-browse--mls .prop-list-body .prop-card-meta,
.se-idx-browse--mls .map-mini-meta {
  border-top: 1px solid #eef2f7;
  color: var(--se-idx-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  font-size: 0.66rem;
  margin-top: 0.6rem;
  padding-top: 0.55rem;
}

.se-idx-browse--mls .prop-card-compare {
  padding-top: 0.4rem;
}

.se-idx-browse--mls .prop-card-compare label {
  align-items: center;
  color: var(--se-idx-muted);
  cursor: pointer;
  display: flex;
  font-size: 0.64rem;
  gap: 0.28rem;
}

.se-idx-browse--mls .prop-card-compare input[type="checkbox"] {
  accent-color: var(--se-idx-primary);
  height: 12px;
  width: 12px;
}

.se-idx-browse--mls .prop-list-card {
  display: flex;
  margin-bottom: 0.75rem;
}

.se-idx-browse--mls .prop-list-img {
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  width: 240px;
}

.se-idx-browse--mls .prop-list-img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.se-idx-browse--mls .prop-list-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.se-idx-browse--mls .prop-list-desc {
  color: var(--se-idx-muted);
  font-size: 0.75rem;
  line-height: 1.55;
  margin: 0.4rem 0 0.8rem;
  max-width: 34rem;
}

.se-idx-browse--mls .prop-list-foot {
  align-items: center;
  border-top: 1px solid #eef2f7;
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
}

.se-idx-browse--mls .prop-list-agent span {
  color: #334155;
  font-size: 0.68rem;
  font-weight: 700;
}

.se-idx-browse--mls .prop-list-actions {
  display: flex;
  gap: 0.5rem;
}

.se-idx-browse--mls .btn-detail,
.se-idx-browse--mls .btn-save-list {
  border-radius: 6px;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  min-height: 34px;
}

.se-idx-browse--mls .btn-detail {
  align-items: center;
  background: var(--se-idx-primary);
  color: #fff;
  display: inline-flex;
  padding: 0 0.9rem;
}

.se-idx-browse--mls .btn-save-list {
  background: #fff;
  border: 1px solid var(--se-idx-border);
  color: var(--se-idx-primary);
  padding: 0 0.8rem;
}

.se-idx-browse--mls .btn-save-list.is-active,
.se-idx-browse--mls .prop-save-btn.is-active {
  background: var(--se-idx-primary);
  color: #fff;
}

.se-idx-browse--mls .map-layout {
  display: flex;
  gap: 0;
  min-height: 720px;
}

.se-idx-browse--mls .map-results-strip {
  background: #fff;
  border-right: 1px solid var(--se-idx-border);
  flex-shrink: 0;
  overflow-y: auto;
  width: 360px;
}

.se-idx-browse--mls .map-strip-head {
  background: #fff;
  border-bottom: 1px solid var(--se-idx-border);
  padding: 0.9rem 1.1rem;
  position: sticky;
  top: 0;
  z-index: 2;
}

.se-idx-browse--mls .map-strip-head p {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 0.1rem;
}

.se-idx-browse--mls .map-strip-head small {
  color: var(--se-idx-muted);
  font-size: 0.64rem;
}

.se-idx-browse--mls .map-mini-card {
  border: 0;
  border-bottom: 1px solid #eef2f7;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
}

.se-idx-browse--mls .map-mini-img {
  border-radius: 6px;
  flex-shrink: 0;
  height: 70px;
  overflow: hidden;
  width: 80px;
}

.se-idx-browse--mls .map-mini-img img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.se-idx-browse--mls .map-mini-body {
  min-width: 0;
}

.se-idx-browse--mls .map-mini-title {
  color: var(--se-idx-primary);
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.2rem;
}

.se-idx-browse--mls .map-canvas {
  background: #e8eef4;
  flex: 1;
  min-height: 720px;
}

.se-idx-browse--mls .se-idx-map-canvas {
  border-radius: 0;
  min-height: 720px;
}

.se-idx-browse--mls .se-idx-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-start;
  margin-top: 1.4rem;
}

.se-idx-browse--mls .se-idx-pagination__button,
.se-idx-browse--mls .se-idx-pagination__ellipsis {
  align-items: center;
  background: #fff;
  border: 1px solid var(--se-idx-border);
  border-radius: 7px;
  color: #334155;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  min-width: 36px;
  padding: 0 0.8rem;
}

.se-idx-browse--mls .se-idx-pagination__button.is-active {
  background: var(--se-idx-primary);
  border-color: var(--se-idx-primary);
  color: #fff;
}

@container (max-width: 1120px) {
  .se-idx-browse--mls .search-header-top {
    grid-template-columns: 1fr;
  }

  .se-idx-browse--mls .search-header-top h1 {
    max-width: none;
  }
}

@container (max-width: 1200px) {
  .se-idx-browse--mls .prop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container (max-width: 980px) {
  .se-idx-browse--mls .search-layout {
    display: block;
    min-height: 0;
  }

  .se-idx-browse--mls .filter-sidebar {
    border-right: 0;
    border-top: 1px solid var(--se-idx-border);
    max-height: none;
    position: static;
    top: auto;
    width: 100%;
  }

  .se-idx-browse--mls .results-area {
    padding: 1.25rem;
  }

  .se-idx-browse--mls .topbar-right {
    margin-left: 0;
    width: 100%;
  }

  .se-idx-browse--mls .prop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .se-idx-browse--mls .map-layout {
    flex-direction: column;
    min-height: 0;
  }

  .se-idx-browse--mls .map-results-strip {
    border-bottom: 1px solid var(--se-idx-border);
    border-right: 0;
    max-height: 320px;
    width: 100%;
  }

  .se-idx-browse--mls .map-canvas,
  .se-idx-browse--mls .se-idx-map-canvas {
    min-height: 420px;
  }
}

@container (max-width: 720px) {
  .se-idx-browse--mls .search-header {
    padding: 1rem 1rem 0;
  }

  .se-idx-browse--mls .header-search-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .se-idx-browse--mls .hb-field,
  .se-idx-browse--mls .hb-field:last-of-type {
    border-bottom: 1px solid var(--se-idx-border);
    border-right: 0;
  }

  .se-idx-browse--mls .hb-btn {
    border-radius: 0;
    min-height: 46px;
    width: 100%;
  }

  .se-idx-browse--mls .prop-grid {
    grid-template-columns: 1fr;
  }

  .se-idx-browse--mls .prop-list-card {
    display: block;
  }

  .se-idx-browse--mls .prop-list-img {
    width: 100%;
  }

  .se-idx-browse--mls .prop-list-foot,
  .se-idx-browse--mls .topbar-right {
    align-items: start;
    flex-direction: column;
  }

  .se-idx-browse--mls .view-toggle {
    width: 100%;
  }

  .se-idx-browse--mls .view-btn {
    flex: 1;
  }
}

@media (max-width: 1280px) {
  .se-idx-browse--mls .prop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .se-idx-browse--mls .search-header-top {
    grid-template-columns: 1fr;
  }

  .se-idx-browse--mls .header-search-bar {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .se-idx-browse--mls .search-layout {
    display: block;
    min-height: 0;
  }

  .se-idx-browse--mls .filter-sidebar {
    border-right: 0;
    border-top: 1px solid var(--se-idx-border);
    max-height: none;
    position: static;
    top: auto;
    width: 100%;
  }

  .se-idx-browse--mls .results-area {
    padding: 1.25rem;
  }

  .se-idx-browse--mls .topbar-right {
    margin-left: 0;
    width: 100%;
  }

  .se-idx-browse--mls .prop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .se-idx-browse--mls .map-layout {
    flex-direction: column;
    min-height: 0;
  }

  .se-idx-browse--mls .map-results-strip {
    border-bottom: 1px solid var(--se-idx-border);
    border-right: 0;
    max-height: 320px;
    width: 100%;
  }

  .se-idx-browse--mls .map-canvas,
  .se-idx-browse--mls .se-idx-map-canvas {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .se-idx-preview-banner {
    padding: 1rem;
  }

  .se-idx-browse--mls .search-header {
    padding: 1rem 1rem 0;
  }

  .se-idx-browse--mls .header-search-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .se-idx-browse--mls .hb-field,
  .se-idx-browse--mls .hb-field:last-of-type {
    border-right: 0;
    border-bottom: 1px solid var(--se-idx-border);
  }

  .se-idx-browse--mls .hb-btn {
    border-radius: 0;
    min-height: 46px;
    width: 100%;
  }

  .se-idx-browse--mls .prop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .se-idx-browse--mls .prop-card-img {
    height: 130px;
  }

  .se-idx-browse--mls .prop-card-body {
    padding: 0.65rem 0.75rem;
  }

  .se-idx-browse--mls .prop-card-price {
    font-size: 0.95rem;
  }

  .se-idx-browse--mls .prop-list-card {
    display: block;
  }

  .se-idx-browse--mls .prop-list-img {
    width: 100%;
  }

  .se-idx-browse--mls .prop-list-foot,
  .se-idx-browse--mls .topbar-right {
    align-items: start;
    flex-direction: column;
  }

  .se-idx-browse--mls .view-toggle {
    width: 100%;
  }

  .se-idx-browse--mls .view-btn {
    flex: 1;
  }

  .se-idx-browse--mls .se-idx-pagination {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .se-idx-browse--mls .prop-grid {
    grid-template-columns: 1fr;
  }
}
/* === Property Detail — Single property page, MLS + standard variants === */
/* MLS detail hard overrides */
.se-idx-property-shortcode .se-idx-property-page {
  background: var(--se-idx-surface-soft);
  border-radius: 0;
  padding: 0;
}

.se-idx-property-shortcode .se-idx-breadcrumb {
  background: transparent;
  border-bottom: 0;
  margin-bottom: 0;
  padding: 12px 0;
}

.se-idx-property-shortcode .se-idx-gallery {
  border-radius: 0;
  margin: 0;
}

.se-idx-property-shortcode .se-idx-gallery__actions {
  display: flex;
  gap: 0.45rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 4;
}

.se-idx-property-shortcode .se-idx-gallery__action {
  align-items: center;
  background: rgba(15, 25, 40, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  text-decoration: none;
}

.se-idx-property-shortcode .se-idx-gallery__action:hover {
  background: rgba(15, 25, 40, 0.78);
  color: #fff;
}

.se-idx-property-shortcode .se-idx-property-nav {
  background: transparent;
  border-radius: 0;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 0;
  overflow-x: auto;
  padding: 0;
}

.se-idx-property-shortcode .se-idx-property-header {
  background: transparent;
  border-bottom: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 0;
  padding: 20px 0;
}

.se-idx-property-shortcode .se-idx-spec-strip {
  background: transparent;
  border-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.se-idx-property-shortcode .se-idx-spec-strip__item {
  align-items: center;
  border-radius: 0;
  display: flex;
  gap: 0.7rem;
}

.se-idx-property-shortcode .se-idx-spec-strip__icon {
  align-items: center;
  background: rgba(26,26,26,0.04);
  color: var(--se-idx-accent);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.se-idx-property-shortcode .se-idx-spec-strip__icon svg {
  height: 14px;
  width: 14px;
}

.se-idx-property-shortcode .se-idx-spec-strip__copy {
  display: grid;
  gap: 0.2rem;
}

.se-idx-property-shortcode .se-idx-spec-strip__copy strong {
  line-height: 1;
}

.se-idx-property-shortcode .se-idx-property-main {
  padding: 0;
}

.se-idx-property-shortcode .se-idx-property-sidebar {
  padding: 0;
}

.se-idx-property-shortcode .se-idx-property-neighbourhood__map {
  border: 1px solid var(--se-idx-border);
  min-height: 240px;
  overflow: hidden;
}

.se-idx-property-shortcode .se-idx-property-neighbourhood__map-canvas {
  min-height: 240px;
}

.se-idx-property-shortcode .se-idx-map-popup {
  display: grid;
  gap: 0.2rem;
}

.se-idx-property-shortcode .se-idx-map-popup strong {
  color: var(--se-idx-primary);
}

.se-idx-property-shortcode .se-idx-map-popup span {
  color: var(--se-idx-muted);
  font-size: 0.8rem;
}

@media (max-width: 840px) {
  .se-idx-property-shortcode .se-idx-gallery__actions {
    right: 0.75rem;
    top: 0.75rem;
  }

  .se-idx-property-shortcode .se-idx-property-header,
  .se-idx-property-shortcode .se-idx-property-neighbourhood {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .se-idx-property-shortcode .se-idx-gallery__actions {
    flex-wrap: wrap;
    left: 0.75rem;
    right: auto;
    top: 0.75rem;
  }
}

/* Standalone MLS property detail view — Lofty-inspired redesign */
.se-idx-mls-detail {
  background: #fff;
  color: #191919;
  font-family: "Public Sans", system-ui, sans-serif;
}

.se-idx-mls-detail__band--breadcrumb,
.se-idx-mls-detail__band--header,
.se-idx-mls-detail__band--specs {
  background: #fff;
  border-bottom: 1px solid var(--se-idx-border, #DADADA);
}

.se-idx-owner-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--se-idx-border, #DADADA);
}

.se-idx-owner-breadcrumb__inner {
  color: var(--se-idx-muted, #637282);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 0;
}

.se-idx-owner-breadcrumb__inner a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.se-idx-owner-breadcrumb__inner a:hover {
  color: var(--se-idx-primary, #111);
}

.se-idx-mls-detail__inner {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 32px;
  padding-right: 32px;
}

.se-idx-mls-breadcrumb {
  align-items: center;
  color: var(--se-idx-muted, #637282);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  gap: 4px 8px;
  margin: 0;
  padding: 12px 0;
}

.se-idx-mls-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.se-idx-mls-breadcrumb a:hover {
  color: var(--se-idx-primary, #111);
}

.se-idx-mls-breadcrumb span[aria-hidden="true"] {
  color: var(--se-idx-border, #c4cad3);
  font-weight: 400;
  opacity: 1;
}

.se-idx-mls-gallery {
  background: var(--se-idx-primary, #111);
  overflow: hidden;
  position: relative;
  user-select: none;
}

.se-idx-mls-gallery__track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.se-idx-mls-gallery__slide {
  flex-shrink: 0;
  min-width: 100%;
}

.se-idx-mls-gallery__slide img,
.se-idx-mls-gallery__slide--empty {
  display: block;
  /* Compact hero per product decision 2026-04-14: 60vh desktop, 45vh mobile.
     Floors prevent the gallery from going microscopic on small/short displays. */
  height: clamp(360px, 60vh, 620px);
  width: 100%;
}
@media (max-width: 720px) {
  .se-idx-mls-gallery__slide img,
  .se-idx-mls-gallery__slide--empty {
    height: clamp(280px, 45vh, 440px);
  }
}

.se-idx-mls-gallery__slide img {
  object-fit: cover;
  cursor: pointer;
}

.se-idx-mls-gallery__slide--empty {
  align-items: center;
  background: #f5f5f5;
  color: #a8a8a8;
  display: flex;
  font-size: 14px;
  justify-content: center;
}

.se-idx-mls-gallery__badges,
.se-idx-mls-gallery__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  position: absolute;
  top: 16px;
  z-index: 10;
}

.se-idx-mls-gallery__badges {
  left: 16px;
}

.se-idx-mls-gallery__actions {
  right: 16px;
}

.se-idx-mls-gallery__badges span,
.se-idx-mls-gallery__action {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
  min-height: 32px;
  padding: 4px 12px;
  text-decoration: none;
}

.se-idx-mls-gallery__action {
  cursor: pointer;
  font-size: 13px;
}

.se-idx-mls-gallery__action:hover {
  background: rgba(0, 0, 0, 0.7);
}

.se-idx-mls-gallery__counter {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  bottom: 80px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  position: absolute;
  right: 16px;
  z-index: 10;
}

.se-idx-mls-gallery__nav {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 22px;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  z-index: 10;
  transition: background 0.15s;
}

.se-idx-mls-gallery__nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.se-idx-mls-gallery__nav--prev {
  left: 16px;
}

.se-idx-mls-gallery__nav--next {
  right: 16px;
}

.se-idx-mls-gallery__thumbs {
  background: #fff;
  border-top: 1px solid var(--se-idx-border, #DADADA);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 16px;
  scrollbar-width: none;
}

.se-idx-mls-gallery__thumb {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  height: 56px;
  opacity: 0.55;
  overflow: hidden;
  padding: 0;
  transition: opacity 0.2s, border-color 0.2s;
  width: 80px;
}

.se-idx-mls-gallery__thumb:hover {
  opacity: 0.85;
}

.se-idx-mls-gallery__thumb.is-active {
  border-color: var(--se-idx-primary, #111);
  opacity: 1;
}

.se-idx-mls-gallery__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.se-idx-mls-nav-wrap {
  background: #fff;
  border-bottom: 1px solid var(--se-idx-border, #DADADA);
  position: sticky;
  top: var(--se-idx-sticky-offset, 0px);
  z-index: 20;
}

.se-idx-mls-nav {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.se-idx-mls-nav a {
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--se-idx-muted, #5a6474);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  height: 50px;
  letter-spacing: 0.005em;
  padding: 0 16px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.se-idx-mls-nav a:hover {
  color: var(--se-idx-primary, #191919);
}

.se-idx-mls-nav a.is-active {
  border-bottom-color: var(--se-idx-primary);
  color: var(--se-idx-primary, #191919);
  font-weight: 700;
}

.se-idx-mls-header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 26px 0 20px;
}

.se-idx-mls-header__copy h1 {
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.375rem, 1.8vw + 0.6rem, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 8px;
  max-width: none;
}

.se-idx-mls-header__location {
  align-items: center;
  color: var(--se-idx-muted, #5a6474);
  display: flex;
  font-size: 13.5px;
  gap: 6px;
  font-weight: 500;
}

.se-idx-mls-header__location svg {
  color: var(--se-idx-primary);
  height: 14px;
  width: 14px;
}

.se-idx-mls-header__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.se-idx-mls-chip {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  text-transform: uppercase;
}

.se-idx-mls-chip--dark {
  background: color-mix(in srgb, var(--se-idx-primary, #111) 8%, transparent);
  color: var(--se-idx-primary, #111);
}

.se-idx-mls-chip--accent {
  background: color-mix(in srgb, var(--se-idx-primary) 12%, transparent);
  color: var(--se-idx-primary);
}

.se-idx-mls-header__price {
  flex-shrink: 0;
  text-align: right;
}

.se-idx-mls-header__amount {
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.se-idx-mls-header__meta {
  color: var(--se-idx-muted, #5a6474);
  font-size: 12px;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}

.se-idx-mls-header__hint {
  color: var(--se-idx-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 6px;
  text-transform: uppercase;
}

.se-idx-mls-spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.se-idx-mls-spec-strip__item {
  align-items: center;
  border-right: 1px solid var(--se-idx-border, #DADADA);
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  padding: 14px 20px;
}

.se-idx-mls-spec-strip__item:last-child {
  border-right: none;
}

.se-idx-mls-spec-strip__icon {
  align-items: center;
  background: color-mix(in srgb, var(--se-idx-primary) 10%, transparent);
  border-radius: 50%;
  color: var(--se-idx-primary);
  display: flex;
  flex-shrink: 0;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.se-idx-mls-spec-strip__icon svg {
  height: 15px;
  width: 15px;
}

.se-idx-mls-spec-strip__copy strong {
  color: var(--se-idx-primary, #111);
  display: block;
  font-family: var(--se-idx-heading-font);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.se-idx-mls-spec-strip__copy span {
  color: var(--se-idx-muted, #5a6474);
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}

.se-idx-mls-detail__shell {
  padding: 30px 0 100px;
}

.se-idx-mls-detail__body {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 350px;
}

/* Sidebar — sticky on desktop */
.se-idx-mls-detail__sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
}

.se-idx-mls-sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* WhatsApp CTA button */
.se-idx-mls-wa-btn {
  align-items: center;
  background: #25D366;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: var(--se-idx-body-font, system-ui, sans-serif);
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  padding: 15px 20px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.se-idx-mls-wa-btn:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.se-idx-mls-wa-btn svg {
  flex-shrink: 0;
}

/* Login-to-view-price gate link */
.se-idx-mls-price-gate {
  align-items: center;
  background: color-mix(in srgb, var(--se-idx-primary, #111) 6%, transparent);
  border: 1.5px dashed color-mix(in srgb, var(--se-idx-primary, #111) 30%, transparent);
  border-radius: 8px;
  color: var(--se-idx-primary, #111);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--se-idx-body-font, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.se-idx-mls-price-gate:hover {
  background: color-mix(in srgb, var(--se-idx-primary, #111) 10%, transparent);
  border-color: var(--se-idx-primary, #111);
  color: var(--se-idx-primary, #111);
}

/* Collapse sidebar below content on mobile */
@media (max-width: 900px) {
  .se-idx-mls-detail__body {
    grid-template-columns: 1fr;
  }
  .se-idx-mls-detail__sidebar {
    position: static;
    order: -1;
  }
}

.se-idx-mls-detail__enquiry-band {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--se-idx-border, #DADADA);
}

.se-idx-mls-detail__enquiry-band .se-idx-mls-owner-card,
.se-idx-mls-detail__enquiry-band .se-idx-mls-sidecard {
  background: var(--se-idx-surface, #fff);
  border: 1px solid var(--se-idx-border, #DADADA);
  padding: 32px clamp(24px, 4vw, 48px);
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px -12px rgba(16, 24, 40, 0.08);
}
.se-idx-mls-detail__enquiry-band .se-idx-mls-sidecard__title {
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--se-idx-primary, #111);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.se-idx-mls-article {
  background: #fff;
  border: 1px solid var(--se-idx-border, #DADADA);
  overflow: hidden;
}

.se-idx-mls-section {
  padding: 28px;
  scroll-margin-top: var(--se-idx-property-nav-height, 72px);
}

.se-idx-mls-section + .se-idx-mls-section {
  border-top: 1px solid var(--se-idx-border, #DADADA);
}

.se-idx-mls-section__head {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.se-idx-mls-section__head h2 {
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  font-size: clamp(1.1rem, 1.4vw + 0.5rem, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

/* Subtle divider rail — blends into background instead of a hard line */
.se-idx-mls-section__head span {
  background: linear-gradient(90deg, var(--se-idx-border, #DADADA) 0%, transparent 100%);
  display: block;
  flex: 1;
  height: 1px;
}

.se-idx-mls-copy {
  color: var(--se-idx-text, #3a4456);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 14.5px;
  line-height: 1.72;
  letter-spacing: 0.005em;
  white-space: pre-line;
  max-width: 68ch;
}

.se-idx-mls-project-band,
.se-idx-mls-dark-grid {
  background: var(--se-idx-primary, #111);
  border-radius: 6px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 28px -16px rgba(16, 24, 40, 0.18);
}

.se-idx-mls-project-band {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  margin-bottom: 20px;
  padding: 22px 24px;
}

.se-idx-mls-project-band.is-investment {
  background: var(--se-idx-primary);
}

.se-idx-mls-project-band__item div,
.se-idx-mls-dark-grid__item span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.se-idx-mls-project-band__item strong,
.se-idx-mls-dark-grid__item strong {
  color: #fff;
  display: block;
  font-family: var(--se-idx-heading-font);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.se-idx-mls-stage-strip {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.se-idx-mls-stage-strip__item {
  border: 1px solid var(--se-idx-border, #DADADA);
  color: #9ca8b8;
  flex: 1 1 120px;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 8px;
  text-align: center;
}

.se-idx-mls-stage-strip__item.is-done {
  background: #eef3fd;
  border-color: var(--se-idx-primary);
  color: var(--se-idx-primary);
}

.se-idx-mls-stage-strip__item.is-active {
  background: var(--se-idx-primary, #111);
  border-color: var(--se-idx-primary, #111);
  color: #fff;
}

.se-idx-mls-inline-note,
.se-idx-mls-inline-grid__item,
.se-idx-mls-edge-card,
.se-idx-mls-poi-list__item,
.se-idx-mls-empty {
  background: var(--se-idx-surface-soft);
  border: 1px solid var(--se-idx-border, #DADADA);
}

.se-idx-mls-inline-note {
  margin-bottom: 16px;
  padding: 16px;
}

.se-idx-mls-inline-note p {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
  margin: 8px 0 0;
}

.se-idx-mls-inline-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.se-idx-mls-inline-grid__item {
  padding: 12px 16px;
}

.se-idx-mls-inline-grid__item span {
  color: #9ca8b8;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.se-idx-mls-inline-grid__item strong {
  color: var(--se-idx-primary, #111);
  font-size: 14px;
  font-weight: 700;
}

.se-idx-mls-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.se-idx-mls-dark-grid__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 11px 14px;
}

.se-idx-mls-amenity-groups {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  width: 100%;
}

.se-idx-mls-amenity-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.se-idx-mls-amenity-group__title {
  align-items: center;
  color: var(--se-idx-primary, #111);
  display: inline-flex;
  gap: 10px;
  font-family: var(--se-idx-heading-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--se-idx-border, #e4e7ec);
}

.se-idx-mls-amenity-group__icon {
  align-items: center;
  background: color-mix(in srgb, var(--se-idx-primary) 12%, transparent);
  border-radius: 6px;
  color: var(--se-idx-primary);
  display: inline-flex;
  height: 26px;
  width: 26px;
  justify-content: center;
  flex-shrink: 0;
}

.se-idx-mls-amenity-group__icon svg {
  height: 14px;
  width: 14px;
}

.se-idx-mls-amenity-group ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.se-idx-mls-amenity-group li {
  align-items: flex-start;
  color: var(--se-idx-text, #1c2b3a);
  display: flex;
  font-size: 13px;
  gap: 8px;
  line-height: 1.45;
}

.se-idx-mls-amenity-check {
  color: var(--se-idx-primary);
  flex-shrink: 0;
  height: 14px;
  margin-top: 3px;
  width: 14px;
}

.se-idx-mls-floorplan {
  border: 1px solid var(--se-idx-border, #DADADA);
  display: block;
  width: 100%;
}

.se-idx-mls-floorplan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.se-idx-mls-floorplan-tab {
  background: #fff;
  border: 2px solid #e2e8f0;
  cursor: default;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 14px;
}

.se-idx-mls-floorplan-tab.is-active {
  background: #eef3fd;
  border-color: var(--se-idx-primary);
}

.se-idx-mls-floorplan-tab strong {
  color: var(--se-idx-primary, #111);
  font-size: 13px;
  font-weight: 700;
}

.se-idx-mls-floorplan-tab span {
  color: #637282;
  font-size: 11.5px;
}

.se-idx-mls-footnote,
.se-idx-mls-empty {
  color: #637282;
  font-size: 12px;
}

.se-idx-mls-empty {
  padding: 18px;
}

.se-idx-mls-neighbourhood {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.se-idx-mls-neighbourhood__map {
  border: 1px solid var(--se-idx-border, #DADADA);
  min-height: 240px;
  overflow: hidden;
}

.se-idx-mls-neighbourhood__canvas {
  min-height: 240px;
}

.se-idx-mls-neighbourhood__content h3 {
  color: #191919;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
}

.se-idx-mls-tag-row,
.se-idx-mls-poi-cats {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
}

.se-idx-mls-tag-row {
  margin-bottom: 12px;
}

.se-idx-mls-tag-row span,
.se-idx-mls-poi-cats span {
  background: #eef3fd;
  border-radius: 4px;
  color: var(--se-idx-primary);
  display: inline-flex !important;
  flex-shrink: 0 !important;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  width: auto !important;
}

.se-idx-mls-highlight {
  color: #637282;
  font-size: 12.5px;
  margin: 0 0 12px;
}

.se-idx-mls-highlight strong {
  color: var(--se-idx-primary, #111);
}

.se-idx-mls-poi-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px;
  margin-top: 10px;
  /* No max-height/overflow-y — flat list, no independent scroll */
}

.se-idx-mls-poi-list__item {
  align-items: center !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex !important;
  gap: 10px !important;
  justify-content: space-between !important;
  padding: 6px 8px;
}

.se-idx-mls-poi-list__item:last-child {
  border-bottom: none;
}

.se-idx-mls-poi-list__item > div {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden;
}

.se-idx-mls-poi-list__item strong {
  color: #1c2b3a;
  display: block !important;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: auto !important;
}

.se-idx-mls-poi-list__item span {
  color: #637282;
  display: block !important;
  font-size: 11px;
  font-style: normal;
  width: auto !important;
}

.se-idx-mls-poi-list__item em {
  color: var(--se-idx-primary);
  display: inline !important;
  flex-shrink: 0 !important;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  width: auto !important;
}

.se-idx-mls-tour {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
}

.se-idx-mls-tour__visual {
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.se-idx-mls-tour__visual img,
.se-idx-mls-tour__placeholder {
  display: block;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
}

.se-idx-mls-tour__placeholder {
  background: var(--se-idx-primary, #111);
}

.se-idx-mls-tour__overlay {
  background: linear-gradient(180deg, rgba(24, 46, 65, 0.15) 0%, rgba(24, 46, 65, 0.8) 100%);
  bottom: 0;
  color: #fff;
  display: grid;
  gap: 4px;
  left: 0;
  padding: 20px;
  position: absolute;
  right: 0;
}

.se-idx-mls-tour__overlay strong {
  color: #fff;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 18px;
}

.se-idx-mls-tour__copy {
  align-content: center;
  display: grid;
  gap: 14px;
}

.se-idx-mls-tour__copy p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.se-idx-mls-similar-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.se-idx-mls-similar-card {
  background: #fff;
  border: 1px solid var(--se-idx-border, #DADADA);
  border-radius: 6px;
  color: inherit;
  display: block;
  flex-shrink: 0;
  min-width: 220px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: calc(33.333% - 8px);
}

.se-idx-mls-similar-card:hover {
  border-color: color-mix(in srgb, var(--se-idx-primary) 40%, var(--se-idx-border, #DADADA));
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 28px -16px rgba(16, 24, 40, 0.18);
  transform: translateY(-2px);
}

.se-idx-mls-similar-card__media {
  background: var(--se-idx-surface-soft, #f5f5f5);
  height: 140px;
  overflow: hidden;
}

.se-idx-mls-similar-card__media img,
.se-idx-mls-similar-card__placeholder {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.se-idx-mls-similar-card:hover .se-idx-mls-similar-card__media img {
  transform: scale(1.04);
}

.se-idx-mls-similar-card__body {
  padding: 12px 14px 14px;
}

.se-idx-mls-similar-card__price {
  color: var(--se-idx-primary, #111);
  font-family: var(--se-idx-heading-font);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.se-idx-mls-similar-card__title {
  color: var(--se-idx-muted, #637282);
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.se-idx-mls-similar-card__meta {
  color: #637282;
  font-size: 12px;
  margin-top: 5px;
}

.se-idx-mls-edge-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.se-idx-mls-edge-card {
  padding: 16px;
}

.se-idx-mls-edge-card h3 {
  align-items: center;
  color: var(--se-idx-primary, #111);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  margin: 0 0 2px;
}

.se-idx-mls-edge-card p {
  color: #637282;
  font-size: 11px;
  margin: 0 0 12px;
}

.se-idx-mls-option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.se-idx-mls-option-pill {
  background: var(--se-idx-surface-soft);
  border: 1.5px solid #e2e8f0;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.7;
  padding: 5px 11px;
  text-decoration: line-through;
}

.se-idx-mls-option-pill.is-enabled {
  background: rgba(24, 46, 65, 0.06);
  border-color: var(--se-idx-primary, #111);
  color: var(--se-idx-primary, #111);
  opacity: 1;
  text-decoration: none;
}

.se-idx-mls-meter {
  margin: 10px 0 12px;
  position: relative;
}

.se-idx-mls-meter__bar {
  background: linear-gradient(90deg, #dcfce7, #fef9c3, #fee2e2);
  height: 8px;
}

.se-idx-mls-meter__marker {
  background: var(--se-idx-primary);
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1.5px var(--se-idx-primary);
  height: 14px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
}

.se-idx-mls-edge-stats {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr 1fr;
}

.se-idx-mls-edge-stats__item {
  background: #fff;
  border: 1px solid var(--se-idx-border, #DADADA);
  padding: 8px 10px;
}

.se-idx-mls-edge-stats__item strong {
  color: var(--se-idx-primary, #111);
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.se-idx-mls-edge-stats__item span {
  color: #637282;
  font-size: 10.5px;
}

.se-idx-mls-score-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.se-idx-mls-score-bars__item {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 80px minmax(0, 1fr) 28px;
}

.se-idx-mls-score-bars__item span {
  color: #1c2b3a;
  font-size: 12px;
  font-weight: 600;
}

.se-idx-mls-score-bars__item div {
  background: #e2e8f0;
  height: 6px;
  overflow: hidden;
}

.se-idx-mls-score-bars__item i {
  background: var(--se-idx-primary, #111);
  display: block;
  height: 100%;
}

.se-idx-mls-score-bars__item strong {
  color: var(--se-idx-primary, #111);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.se-idx-mls-demand-badge {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 9px;
  padding: 5px 12px;
}

.se-idx-mls-demand-badge--very_high,
.se-idx-mls-demand-badge--high {
  background: rgba(24, 46, 65, 0.08);
  color: #10734a;
}

.se-idx-mls-demand-badge--moderate {
  background: rgba(24, 46, 65, 0.08);
  color: #d97706;
}

.se-idx-mls-demand-badge--low {
  background: rgba(24, 46, 65, 0.08);
  color: #b91c1c;
}

.se-idx-mls-demand-copy {
  color: var(--se-idx-muted, #4b5563);
  font-size: 13px;
  line-height: 1.7;
}

.se-idx-mls-demand-stats {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--se-idx-border, #e4e7ec);
  color: var(--se-idx-muted, #5a6474);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.se-idx-mls-sidebar {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding: 0;
  position: sticky;
  scrollbar-color: rgba(0, 0, 0, 0.08) transparent;
  scrollbar-width: thin;
  top: 124px;
}

.se-idx-mls-sidebar--owner {
  background: transparent;
  gap: 14px;
  max-height: none;
  overflow: visible;
  padding: 0;
  top: calc(var(--se-idx-sticky-offset, 0px) + 64px);
}

.se-idx-mls-sidecard {
  background: #fff;
  border: 1px solid var(--se-idx-border, #DADADA);
  color: #191919;
  overflow: hidden;
}

.se-idx-mls-owner-card {
  background: #fff;
  border: 1px solid var(--se-idx-border, #DADADA);
  padding: 24px;
}

.se-idx-mls-sidecard__eyebrow {
  color: #a8a8a8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.se-idx-mls-sidecard__eyebrow--accent {
  color: var(--se-idx-primary);
  margin-bottom: 12px;
}

.se-idx-mls-sidecard__title {
  color: #191919;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.se-idx-mls-sidecard__subcopy {
  color: #a8a8a8;
  font-size: 11.5px;
  margin-bottom: 13px;
}

.se-idx-mls-enquiry__summary {
  border: 1px solid var(--se-idx-border, #DADADA);
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.se-idx-mls-enquiry__summary strong {
  color: #191919;
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.se-idx-mls-enquiry__summary span {
  color: #a8a8a8;
  display: block;
  font-size: 11px;
}

.se-idx-mls-owner-shortcode-form {
  margin-top: 2px;
}

.se-idx-mls-owner-shortcode-form > *:first-child {
  margin-top: 0 !important;
}

.se-idx-mls-owner-shortcode-form > *:last-child {
  margin-bottom: 0 !important;
}

.se-idx-mls-sidecard__price {
  color: #191919;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.se-idx-mls-sidecard__hint {
  color: #a8a8a8;
  font-size: 11.5px;
  margin-top: 3px;
}

.se-idx-mls-price-card__hero {
  background: #f9fafb;
  border-bottom: 1px solid var(--se-idx-border, #DADADA);
  padding: 20px 20px 16px;
}

.se-idx-mls-price-card__body,
.se-idx-mls-sidecard--secure,
.se-idx-mls-sidecard--agent,
.se-idx-mls-enquiry,
.se-idx-mls-mortgage {
  padding: 16px;
}

.se-idx-mls-price-tags,
.se-idx-mls-agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.se-idx-mls-price-tags span,
.se-idx-mls-agent-tags span {
  border: 1px solid var(--se-idx-border, #DADADA);
  color: #505050;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
}

.se-idx-mls-agent-tags span.is-light {
  background: #eef3fd;
  border-color: #eef3fd;
  color: var(--se-idx-primary);
}

.se-idx-mls-price-actions {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 13px;
}

.se-idx-mls-icon-button {
  align-items: center;
  background: transparent;
  border: 1.5px solid var(--se-idx-border, #DADADA);
  color: #505050;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  min-height: 58px;
  padding: 9px 6px;
}

.se-idx-mls-icon-button.is-active,
.se-idx-mls-icon-button:hover {
  background: #f5f5f5;
  border-color: #191919;
}

.se-idx-mls-icon-button svg {
  height: 17px;
  width: 17px;
}

.se-idx-mls-icon-button span {
  color: #505050;
  font-size: 10.5px;
  font-weight: 700;
}

.se-idx-mls-price-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.se-idx-mls-price-stat {
  align-items: center;
  border-left: 3px solid var(--se-idx-primary, #111);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
  padding: 7px 0 7px 9px;
}

.se-idx-mls-price-stat span {
  color: #a8a8a8;
  font-size: 11.5px;
}

.se-idx-mls-price-stat strong {
  color: #191919;
  font-size: 12px;
  font-weight: 700;
}

.se-idx-mls-button {
  align-items: center;
  border: 1px solid var(--se-idx-primary, #111);
  cursor: pointer;
  display: inline-flex;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
}

.se-idx-mls-button--primary {
  background: var(--se-idx-primary, #111);
  border-color: var(--se-idx-primary, #111);
  color: #fff;
}

.se-idx-mls-button--ghost {
  background: transparent;
  color: #191919;
}

.se-idx-mls-button--full {
  width: 100%;
}

.se-idx-mls-button.is-disabled {
  cursor: default;
  opacity: 0.55;
}

.se-idx-mls-secure-head {
  align-items: center;
  display: flex;
  gap: 9px;
  justify-content: space-between;
  margin-bottom: 11px;
}

.se-idx-mls-secure-title {
  align-items: center;
  display: flex;
  gap: 9px;
}

.se-idx-mls-secure-title svg {
  color: #191919;
  height: 22px;
  width: 22px;
}

.se-idx-mls-secure-title h4 {
  color: #191919;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
}

.se-idx-mls-status-pill {
  background: #f5f5f5;
  color: #505050;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  white-space: nowrap;
}

.se-idx-mls-sidecard--secure p,
.se-idx-mls-agent-note,
.se-idx-mls-form__privacy {
  color: #a8a8a8;
  font-size: 11.5px;
  line-height: 1.55;
  margin: 0;
}

.se-idx-mls-waitlist-form,
.se-idx-mls-form {
  display: grid;
  gap: 9px;
}

.se-idx-mls-form__field span {
  color: #a8a8a8;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.se-idx-mls-form__field--compact span {
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: none;
}

.se-idx-mls-form__field input,
.se-idx-mls-form__field textarea {
  background: #fff;
  border: 1px solid var(--se-idx-border, #DADADA);
  box-sizing: border-box;
  color: #191919;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 13px;
  outline: none;
  padding: 9px 12px;
  width: 100%;
}

.se-idx-mls-form__field input::placeholder,
.se-idx-mls-form__field textarea::placeholder {
  color: #a8a8a8;
}

.se-idx-mls-form__feedback {
  border: 1px solid transparent;
  color: #191919;
  display: none;
  font-size: 12px;
  margin-bottom: 2px;
  padding: 8px 11px;
}

.se-idx-mls-form__feedback:not(:empty) {
  display: block;
}

.se-idx-mls-form__feedback.is-info {
  background: rgba(26,26,26,0.06);
  border-color: rgba(26,26,26,0.15);
  color: #8bb4ff;
}

.se-idx-mls-form__feedback.is-success {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.25);
  color: #86efac;
}

.se-idx-mls-form__feedback.is-error {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.se-idx-mls-agent-row {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.se-idx-mls-agent-media {
  background: #f5f5f5;
  border: 2px solid var(--se-idx-border, #DADADA);
  border-radius: 50%;
  flex-shrink: 0;
  height: 52px;
  overflow: hidden;
  width: 52px;
}

.se-idx-mls-agent-media img,
.se-idx-mls-agent__avatar {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.se-idx-mls-agent__avatar {
  align-items: center;
  color: #505050;
  display: flex;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
}

.se-idx-mls-agent-name {
  color: #191919;
  font-size: 13.5px;
  font-weight: 700;
}

.se-idx-mls-agent-subline {
  color: #a8a8a8;
  font-size: 12px;
}

.se-idx-mls-agent-note {
  background: #f9fafb;
  border: 1px solid var(--se-idx-border, #DADADA);
  margin-top: 10px;
  padding: 9px 11px;
}

.se-idx-mls-range-field + .se-idx-mls-range-field {
  margin-top: 12px;
}

.se-idx-mls-range-field label {
  color: #a8a8a8;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.se-idx-mls-range-field input[type="range"] {
  accent-color: var(--se-idx-primary, #111);
  width: 100%;
}

.se-idx-mls-range-field__value {
  color: #191919;
  font-size: 12px;
  margin-top: 4px;
}

.se-idx-mls-mortgage__summary {
  background: #f9fafb;
  border: 1px solid var(--se-idx-border, #DADADA);
  margin-top: 14px;
  padding: 14px;
  text-align: center;
}

.se-idx-mls-mortgage__eyebrow {
  color: #a8a8a8;
  font-size: 10px;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.se-idx-mls-mortgage__monthly {
  color: #191919;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.se-idx-mls-mortgage__outputs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 7px;
}

.se-idx-mls-mortgage__outputs div {
  text-align: center;
}

.se-idx-mls-mortgage__outputs strong {
  color: #191919;
  display: block;
  font-size: 11.5px;
  font-weight: 700;
}

.se-idx-mls-mortgage__outputs span {
  color: #a8a8a8;
  display: block;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .se-idx-mls-detail__body {
    grid-template-columns: 1fr;
  }

  .se-idx-mls-sidebar {
    max-height: none;
    position: static;
  }
}

@media (max-width: 840px) {
  .se-idx-mls-detail__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .se-idx-mls-nav-wrap {
    top: var(--se-idx-sticky-offset, 0px);
  }

  .se-idx-mls-header,
  .se-idx-mls-neighbourhood,
  .se-idx-mls-tour,
  .se-idx-mls-edge-grid {
    grid-template-columns: 1fr;
  }

  .se-idx-mls-gallery__actions {
    right: 12px;
    top: 12px;
  }

  .se-idx-mls-dark-grid {
    grid-template-columns: 1fr;
  }

  .se-idx-mls-similar-card {
    min-width: 200px;
    width: 45%;
  }

  .se-idx-mls-gallery__slide img,
  .se-idx-mls-gallery__slide--empty {
    height: 400px;
  }

  .se-idx-mls-gallery__nav {
    height: 40px;
    width: 40px;
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .se-idx-mls-detail__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .se-idx-mls-section {
    padding: 22px 18px;
  }

  .se-idx-mls-nav a {
    padding: 0 14px;
  }

  .se-idx-mls-gallery__actions {
    left: 12px;
    right: auto;
    top: 12px;
  }

  .se-idx-mls-gallery__badges {
    left: 12px;
    top: 54px;
  }

  .se-idx-mls-gallery__slide img,
  .se-idx-mls-gallery__slide--empty {
    height: 280px;
  }

  .se-idx-mls-gallery__nav {
    height: 32px;
    width: 32px;
    font-size: 16px;
  }

  .se-idx-mls-similar-card {
    min-width: 180px;
    width: 75%;
  }

  .se-idx-mls-price-actions {
    grid-template-columns: 1fr;
  }

  .se-idx-mls-mortgage__outputs {
    flex-direction: column;
    gap: 10px;
  }

  .se-idx-mls-agent-row {
    align-items: flex-start;
  }
}

/* === Mobile Filter Drawer — Responsive slide-in filter panel === */
/* ============================================================
   MOBILE FILTER DRAWER (< 980px)
   ============================================================ */

.se-idx-filter-drawer__trigger {
  display: none;
}

@media (max-width: 979px) {

  /* --- Trigger button: sticky bottom bar on mobile --- */
  .se-idx-filter-drawer__trigger {
    align-items: center;
    background: var(--se-idx-primary);
    border: none;
    border-radius: 12px;
    bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    left: 50%;
    padding: 12px 24px;
    position: fixed;
    transform: translateX(-50%);
    z-index: 50;
  }

  .se-idx-filter-drawer__trigger svg {
    height: 18px;
    width: 18px;
  }

  .se-idx-filter-drawer__trigger-badge {
    align-items: center;
    background: var(--se-idx-primary);
    border-radius: 50%;
    color: #fff;
    display: none;
    font-size: 11px;
    font-weight: 700;
    height: 20px;
    justify-content: center;
    line-height: 1;
    min-width: 20px;
    width: 20px;
  }

  .se-idx-filter-drawer__trigger-badge.has-count {
    display: flex;
  }

  /* --- Backdrop --- */
  .se-idx-filter-drawer__backdrop {
    background: rgba(0, 0, 0, 0.4);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.3s ease;
    z-index: 998;
  }

  .se-idx-filter-drawer--open .se-idx-filter-drawer__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* --- Drawer panel --- */
  .se-idx-filter-drawer__panel {
    background: #fff;
    bottom: 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    left: 0;
    max-width: 85vw;
    overflow: hidden;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 320px;
    z-index: 999;
  }

  .se-idx-filter-drawer--open .se-idx-filter-drawer__panel {
    transform: translateX(0);
  }

  /* --- Header --- */
  .se-idx-filter-drawer__header {
    align-items: center;
    border-bottom: 1px solid #e5e9ef;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    padding: 16px 20px;
  }

  .se-idx-filter-drawer__header-left {
    align-items: center;
    display: flex;
    gap: 10px;
  }

  .se-idx-filter-drawer__title {
    color: var(--se-idx-primary);
    font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
  }

  .se-idx-filter-drawer__count {
    align-items: center;
    background: var(--se-idx-primary);
    border-radius: 50%;
    color: #fff;
    display: none;
    font-size: 11px;
    font-weight: 700;
    height: 22px;
    justify-content: center;
    line-height: 1;
    min-width: 22px;
    width: 22px;
  }

  .se-idx-filter-drawer__count.has-count {
    display: flex;
  }

  .se-idx-filter-drawer__close {
    align-items: center;
    background: var(--se-idx-surface-soft);
    border: none;
    border-radius: 8px;
    color: var(--se-idx-primary);
    cursor: pointer;
    display: flex;
    height: 36px;
    justify-content: center;
    width: 36px;
  }

  .se-idx-filter-drawer__close:hover {
    background: #e5e9ef;
  }

  .se-idx-filter-drawer__close svg {
    height: 18px;
    width: 18px;
  }

  /* --- Body (scrollable filter content) --- */
  .se-idx-filter-drawer__body {
    flex: 1;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    padding: 16px 20px;
  }

  /* --- Footer --- */
  .se-idx-filter-drawer__footer {
    border-top: 1px solid #e5e9ef;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 10px;
    padding: 16px 20px;
  }

  .se-idx-filter-drawer__apply {
    background: var(--se-idx-primary);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
    font-size: 15px;
    font-weight: 600;
    padding: 14px;
    text-align: center;
    transition: background 0.2s;
    width: 100%;
  }

  .se-idx-filter-drawer__apply:hover {
    background: #0f1e2e;
  }

  .se-idx-filter-drawer__clear {
    background: none;
    border: none;
    color: #637282;
    cursor: pointer;
    font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
    font-size: 13px;
    padding: 4px;
    text-align: center;
    text-decoration: underline;
  }

  .se-idx-filter-drawer__clear:hover {
    color: var(--se-idx-primary);
  }

  /* --- Body scroll lock --- */
  body.se-idx-drawer-open {
    overflow: hidden !important;
  }

  /* --- Hide the existing desktop filter sidebar on mobile when drawer is active --- */
  .se-idx-browse .se-idx-filters {
    display: none !important;
  }

  .se-idx-browse .se-idx-browse__backdrop {
    display: none !important;
  }
}

/* === Registration Popup — Lead gating overlay === */
/* ============================================================
   REGISTRATION POPUP (Lead Gating)
   ============================================================ */

.se-idx-popup__overlay {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.se-idx-popup__overlay.se-idx-popup--visible {
  opacity: 1;
  pointer-events: auto;
}

.se-idx-popup__content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  margin: 16px;
  max-height: 90vh;
  max-width: 480px;
  overflow-y: auto;
  padding: 40px 36px 36px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  width: 100%;
}

.se-idx-popup--visible .se-idx-popup__content {
  transform: translateY(0) scale(1);
}

.se-idx-popup__close {
  align-items: center;
  background: var(--se-idx-surface-soft);
  border: none;
  border-radius: 8px;
  color: #637282;
  cursor: pointer;
  display: flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
}

.se-idx-popup__close:hover {
  background: #e5e9ef;
  color: var(--se-idx-primary);
}

.se-idx-popup__close svg {
  height: 16px;
  width: 16px;
}

.se-idx-popup__heading {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
  text-align: center;
}

.se-idx-popup__subtitle {
  color: #637282;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 28px;
  text-align: center;
}

.se-idx-popup__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.se-idx-popup__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.se-idx-popup__label {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
}

.se-idx-popup__label .se-idx-popup__optional {
  color: #a0aab4;
  font-weight: 400;
}

.se-idx-popup__input {
  background: #f8f9fb;
  border: 1.5px solid #dce4ed;
  border-radius: 10px;
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 15px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.2s;
}

.se-idx-popup__input:focus {
  border-color: var(--se-idx-primary);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.07);
}

.se-idx-popup__submit {
  background: var(--se-idx-primary);
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
  padding: 14px;
  text-align: center;
  transition: background 0.2s;
  width: 100%;
}

.se-idx-popup__submit:hover {
  background: #0f1e2e;
}

.se-idx-popup__submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.se-idx-popup__dismiss {
  background: none;
  border: none;
  color: #a0aab4;
  cursor: pointer;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 13px;
  margin-top: 4px;
  padding: 6px;
  text-align: center;
  text-decoration: underline;
}

.se-idx-popup__dismiss:hover {
  color: #637282;
}

.se-idx-popup__success {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
  text-align: center;
}

.se-idx-popup__success-icon {
  align-items: center;
  background: #e8f5e9;
  border-radius: 50%;
  color: #2e7d32;
  display: flex;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.se-idx-popup__success-icon svg {
  height: 28px;
  width: 28px;
}

.se-idx-popup__success-text {
  color: var(--se-idx-primary);
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.se-idx-popup__error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  display: none;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 14px;
}

.se-idx-popup__error.is-visible {
  display: block;
}

@media (max-width: 480px) {
  .se-idx-popup__content {
    padding: 32px 24px 28px;
  }

  .se-idx-popup__heading {
    font-size: 20px;
  }
}

/* === Interactive Components — Slider, lightbox, tabs, charts === */
/* ── Featured Slider ───────────────────────────────────────────────── */

.se-idx-featured-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--se-idx-primary);
}

.se-idx-featured-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.se-idx-featured-slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.se-idx-featured-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.se-idx-featured-slider__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.se-idx-featured-slider__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3148, #0f1f2e);
}

.se-idx-featured-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,46,65,0.95) 0%, rgba(24,46,65,0.6) 40%, rgba(24,46,65,0.15) 100%);
  pointer-events: none;
}

.se-idx-featured-slider__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px 56px;
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.se-idx-featured-slider__badge {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}

.se-idx-featured-slider__price {
  font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.se-idx-featured-slider__title {
  font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}

.se-idx-featured-slider__location {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.se-idx-featured-slider__specs {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.se-idx-featured-slider__spec {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.se-idx-featured-slider__spec + .se-idx-featured-slider__spec {
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.se-idx-featured-slider__cta {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 28px;
  background: #fff;
  color: var(--se-idx-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.se-idx-featured-slider__cta:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

.se-idx-featured-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.se-idx-featured-slider__nav:hover {
  background: rgba(255,255,255,0.35);
}

.se-idx-featured-slider__nav--prev { left: 16px; }
.se-idx-featured-slider__nav--next { right: 16px; }

.se-idx-featured-slider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.se-idx-featured-slider__dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.se-idx-featured-slider__dot--active {
  background: #fff;
  border-color: #fff;
}

@media (max-width: 768px) {
  .se-idx-featured-slider__slide { height: 420px; }
  .se-idx-featured-slider__content { padding: 24px 20px 48px; }
  .se-idx-featured-slider__price { font-size: 28px; }
  .se-idx-featured-slider__title { font-size: 20px; }
  .se-idx-featured-slider__nav { width: 36px; height: 36px; }
  .se-idx-featured-slider__nav--prev { left: 10px; }
  .se-idx-featured-slider__nav--next { right: 10px; }
}

@media (max-width: 480px) {
  .se-idx-featured-slider__slide { height: 360px; }
  .se-idx-featured-slider__content { padding: 20px 16px 44px; }
  .se-idx-featured-slider__price { font-size: 24px; }
  .se-idx-featured-slider__title { font-size: 18px; }
  .se-idx-featured-slider__cta { padding: 8px 22px; font-size: 13px; }
}

/* ── Lightbox Gallery ──────────────────────────────────────────────── */
.se-idx-lightbox { position:fixed; inset:0; z-index:999999; display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity 0.3s ease,visibility 0.3s ease; }
.se-idx-lightbox.is-open { opacity:1; visibility:visible; }
.se-idx-lightbox__overlay { position:absolute; inset:0; background:rgba(0,0,0,0.92); cursor:pointer; }
.se-idx-lightbox__image { position:relative; z-index:1; max-width:90vw; max-height:85vh; object-fit:contain; opacity:0; transform:scale(0.96); transition:opacity 0.3s ease,transform 0.3s ease; user-select:none; }
.se-idx-lightbox.is-open .se-idx-lightbox__image { opacity:1; transform:scale(1); }
.se-idx-lightbox__close { position:absolute; top:16px; right:20px; z-index:2; background:none; border:none; color:#fff; font-size:32px; cursor:pointer; padding:8px; opacity:0.8; transition:opacity 0.2s; }
.se-idx-lightbox__close:hover { opacity:1; }
.se-idx-lightbox__nav { position:absolute; top:50%; transform:translateY(-50%); z-index:2; background:rgba(255,255,255,0.1); backdrop-filter:blur(4px); border:1px solid rgba(255,255,255,0.2); color:#fff; font-size:28px; width:48px; height:48px; display:flex; align-items:center; justify-content:center; cursor:pointer; border-radius:50%; transition:background 0.2s; padding:0; }
.se-idx-lightbox__nav:hover { background:rgba(255,255,255,0.2); }
.se-idx-lightbox__nav--prev { left:20px; }
.se-idx-lightbox__nav--next { right:20px; }
.se-idx-lightbox__counter { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); z-index:2; color:rgba(255,255,255,0.85); font-size:14px; font-weight:600; background:rgba(0,0,0,0.5); padding:6px 16px; border-radius:20px; }
@media (max-width:640px) { .se-idx-lightbox__nav { width:40px; height:40px; font-size:22px; } .se-idx-lightbox__nav--prev { left:8px; } .se-idx-lightbox__nav--next { right:8px; } }

/* ── Tabbed Content ────────────────────────────────────────────────── */
.se-idx-tabs { display:flex; gap:0; border-bottom:1px solid var(--se-idx-border,#dce4ed); overflow-x:auto; scrollbar-width:none; padding:0 16px; background:var(--se-idx-surface,#fff); }
.se-idx-tabs::-webkit-scrollbar { display:none; }
.se-idx-tabs__tab { flex-shrink:0; appearance:none; background:none; border:none; border-bottom:3px solid transparent; color:var(--se-idx-muted,#637282); cursor:pointer; font-family:inherit; font-size:14px; font-weight:500; padding:14px 20px 12px; transition:color 0.2s,border-color 0.2s; white-space:nowrap; }
.se-idx-tabs__tab:hover { color:var(--se-idx-text,#1c2b3a); }
.se-idx-tabs__tab--active { border-bottom-color:var(--se-idx-primary); color:var(--se-idx-primary); font-weight:700; }
.se-idx-tabs__panel { display:none; animation:seIdxTabFadeIn 0.3s ease; }
.se-idx-tabs__panel--active { display:block; }
@keyframes seIdxTabFadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

/* ── SVG Line Chart ────────────────────────────────────────────────── */
.se-idx-line-chart { margin-top:1.25rem; width:100%; }
.se-idx-line-chart svg { display:block; height:auto; max-height:280px; width:100%; }
.se-idx-line-chart__y-label,.se-idx-line-chart__x-label { fill:var(--se-idx-muted,#637282); font-family:var(--se-idx-body-font,"Public Sans",system-ui,sans-serif); font-size:10px; }
.se-idx-line-chart__dot { transition:r 0.15s ease; }
.se-idx-line-chart__tooltip { opacity:0; pointer-events:none; transition:opacity 0.15s ease; }
.se-idx-line-chart__tooltip-text { fill:#fff; font-family:var(--se-idx-heading-font,"Playfair Display",Georgia,serif); font-size:11px; font-weight:700; }
.se-idx-line-chart__point:hover .se-idx-line-chart__dot { r:6; }
.se-idx-line-chart__point:hover .se-idx-line-chart__tooltip { opacity:1; }

/* ── SVG Donut Chart ───────────────────────────────────────────────── */
.se-idx-donut-chart { align-items:center; display:flex; flex-wrap:wrap; gap:1.5rem; justify-content:center; margin-top:1.25rem; }
.se-idx-donut-chart__ring { flex:0 0 auto; max-width:200px; width:200px; }
.se-idx-donut-chart__ring svg { display:block; height:auto; width:100%; }
.se-idx-donut-chart__segment { transition:opacity 0.15s ease; }
.se-idx-donut-chart__segment:hover { opacity:0.75; }
.se-idx-donut-chart__center-count { fill:var(--se-idx-primary,var(--se-idx-primary)); font-family:var(--se-idx-heading-font,"Playfair Display",Georgia,serif); font-size:28px; font-weight:700; }
.se-idx-donut-chart__center-label { fill:var(--se-idx-muted,#637282); font-family:var(--se-idx-body-font,"Public Sans",system-ui,sans-serif); font-size:11px; text-transform:uppercase; }
.se-idx-donut-chart__legend { flex:1 1 160px; list-style:none; margin:0; padding:0; }
.se-idx-donut-chart__legend li { align-items:center; display:flex; gap:0.5rem; padding:0.35rem 0; }
.se-idx-donut-chart__legend li+li { border-top:1px solid var(--se-idx-border,#dce4ed); }
.se-idx-donut-chart__swatch { border-radius:50%; display:inline-block; flex-shrink:0; height:10px; width:10px; }
.se-idx-donut-chart__legend-label { color:var(--se-idx-text,#1c2b3a); font-size:0.85rem; font-weight:500; }
.se-idx-donut-chart__legend-pct { color:var(--se-idx-muted,#637282); font-family:var(--se-idx-heading-font,"Playfair Display",Georgia,serif); font-size:0.85rem; font-weight:700; margin-left:auto; }

/* === Sold Card States — Ribbons, desaturation, strikethrough pricing === */
/* ── Sold Listing Card ─ Lofty-inspired polished sold state ──────── */
.se-idx-badge--sold {
  background: #c41230;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.6rem;
  border-radius: 2px;
}

/* Sold ribbon — positioned overlay */
.se-idx-prop-card--sold {
  position: relative;
}
.se-idx-prop-card--sold::before {
  content: "SOLD";
  position: absolute;
  top: 12px;
  left: -4px;
  z-index: 10;
  background: #c41230;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 12px 4px 8px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Desaturated image on sold cards */
.se-idx-prop-card--sold .se-idx-prop-card__image img {
  filter: saturate(0.35) brightness(0.92);
  transition: filter 0.3s ease;
}
.se-idx-prop-card--sold:hover .se-idx-prop-card__image img {
  filter: saturate(0.6) brightness(0.96);
}

/* Sold price — prominent display */
.se-idx-prop-card__price--sold {
  align-items: center;
  color: #111111;
  display: flex;
  gap: 0.45rem;
  font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Original price — strikethrough muted */
.se-idx-prop-card__price-original {
  color: #949494;
  font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif);
  font-size: 0.88rem;
  text-decoration: line-through;
}

/* Percentage change badge */
.se-idx-prop-card__price-change {
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  height: 22px;
  display: inline-flex;
  align-items: center;
}
.se-idx-prop-card__price-change--up {
  background: #dcfce7;
  color: #127b46;
}
.se-idx-prop-card__price-change--down {
  background: #fde8ec;
  color: #c41230;
}

/* Sold details row — date + days on market */
.se-idx-prop-card__sold-details {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #DADADA;
}
.se-idx-prop-card__dom,
.se-idx-prop-card__sale-date {
  color: #949494;
  font-size: 0.78rem;
  font-weight: 500;
}
.se-idx-prop-card__dom strong,
.se-idx-prop-card__sale-date strong {
  color: #555555;
  font-weight: 700;
}

/* === CMA, Accounts, OAuth, Social Sharing === */
/* ── Mobile Filter Drawer ──────────────────────────────────────────── */
@media (max-width:979px) {
  .se-idx-filter-drawer__trigger { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:50; display:flex; align-items:center; gap:8px; padding:12px 24px; background:var(--se-idx-primary); color:#fff; border:none; border-radius:999px; font-size:14px; font-weight:700; cursor:pointer; box-shadow:0 8px 24px rgba(0,0,0,0.2); }
  .se-idx-filter-drawer__count { background:var(--se-idx-primary); color:#fff; font-size:11px; font-weight:800; min-width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
  .se-idx-filter-drawer__backdrop { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:998; opacity:0; visibility:hidden; transition:opacity 0.3s ease,visibility 0.3s ease; }
  .se-idx-filter-drawer__backdrop.is-open { opacity:1; visibility:visible; }
  .se-idx-filter-drawer__panel { position:fixed; top:0; left:0; bottom:0; width:320px; max-width:85vw; background:#fff; z-index:999; transform:translateX(-100%); transition:transform 0.3s ease; display:flex; flex-direction:column; box-shadow:4px 0 24px rgba(0,0,0,0.1); }
  .se-idx-filter-drawer__panel.is-open { transform:translateX(0); }
  .se-idx-filter-drawer__header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid #EEF2F7; flex-shrink:0; }
  .se-idx-filter-drawer__header h3 { font-size:16px; font-weight:700; color:var(--se-idx-primary); margin:0; }
  .se-idx-filter-drawer__close { background:none; border:none; font-size:22px; color:#6B7A90; cursor:pointer; padding:4px; }
  .se-idx-filter-drawer__body { flex:1; overflow-y:auto; padding:16px 20px; }
  .se-idx-filter-drawer__footer { padding:12px 20px; border-top:1px solid #EEF2F7; flex-shrink:0; display:flex; flex-direction:column; gap:8px; }
  .se-idx-filter-drawer__apply { width:100%; padding:14px; background:var(--se-idx-primary); color:#fff; border:none; font-size:14px; font-weight:700; cursor:pointer; border-radius:6px; }
  .se-idx-filter-drawer__clear { background:none; border:none; color:var(--se-idx-primary); font-size:13px; font-weight:600; cursor:pointer; text-align:center; }
  body.se-idx-drawer-open { overflow:hidden; }
}

/* ── Registration Popup ────────────────────────────────────────────── */
.se-idx-reg-popup__overlay { position:fixed; inset:0; z-index:999998; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.5); opacity:0; visibility:hidden; transition:opacity 0.3s ease,visibility 0.3s ease; }
.se-idx-reg-popup__overlay.is-open { opacity:1; visibility:visible; }
.se-idx-reg-popup__content { background:#fff; border-radius:16px; max-width:480px; width:calc(100% - 40px); padding:40px 36px 32px; position:relative; transform:translateY(20px) scale(0.96); transition:transform 0.3s ease; box-shadow:0 24px 60px rgba(0,0,0,0.18); }
.se-idx-reg-popup__overlay.is-open .se-idx-reg-popup__content { transform:translateY(0) scale(1); }
.se-idx-reg-popup__close { position:absolute; top:14px; right:16px; background:none; border:none; font-size:24px; color:#9CA8B8; cursor:pointer; padding:4px; }
.se-idx-reg-popup__heading { font-family:var(--se-idx-heading-font,"Playfair Display",Georgia,serif); font-size:24px; font-weight:800; color:var(--se-idx-primary); margin:0 0 8px; text-align:center; }
.se-idx-reg-popup__subtitle { font-size:14px; color:#6B7A90; text-align:center; margin:0 0 24px; line-height:1.5; }
.se-idx-reg-popup__field { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.se-idx-reg-popup__field label { font-size:12px; font-weight:700; color:var(--se-idx-primary); text-transform:uppercase; letter-spacing:0.06em; }
.se-idx-reg-popup__field input { width:100%; padding:12px 14px; border:1.5px solid #DDE4ED; font-size:14px; color:var(--se-idx-primary); outline:none; border-radius:6px; box-sizing:border-box; transition:border-color 0.15s; }
.se-idx-reg-popup__field input:focus { border-color:var(--se-idx-primary); }
.se-idx-reg-popup__submit { width:100%; padding:14px; background:var(--se-idx-primary); color:#fff; border:none; font-size:14px; font-weight:700; cursor:pointer; border-radius:6px; margin-top:6px; transition:background 0.15s; }
.se-idx-reg-popup__submit:hover { background:#0d1b30; }
.se-idx-reg-popup__dismiss { display:block; text-align:center; margin-top:14px; font-size:13px; color:#9CA8B8; background:none; border:none; cursor:pointer; }
.se-idx-reg-popup__success { text-align:center; padding:20px 0; }
.se-idx-reg-popup__success-icon { font-size:48px; color:#127b46; margin-bottom:12px; }
.se-idx-reg-popup__success-text { font-size:16px; font-weight:700; color:var(--se-idx-primary); margin-bottom:6px; }
.se-idx-reg-popup__success-sub { font-size:13px; color:#6B7A90; }
.se-idx-reg-popup__error { background:#fde8ec; color:#c41230; font-size:13px; padding:8px 12px; border-radius:6px; margin-bottom:12px; }
@media (max-width:480px) { .se-idx-reg-popup__content { padding:28px 20px 24px; } .se-idx-reg-popup__heading { font-size:20px; } }

/* ─── CMA — Comparable Market Analysis (Recent Sales Nearby) ─── */
.se-idx-cma-section {
  margin-top: 32px;
}

.se-idx-cma-subtitle {
  color: #637282;
  font-size: 14px;
  line-height: 1.5;
  margin: -8px 0 16px;
}

.se-idx-cma-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.se-idx-cma-card {
  background: #fff;
  border: 1px solid #DADADA;
  color: inherit;
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.15s ease;
}

.se-idx-cma-card:hover {
  box-shadow: 0 4px 16px rgba(24, 46, 65, 0.1);
}

.se-idx-cma-card__media {
  background: var(--se-idx-surface-soft);
  height: 120px;
  overflow: hidden;
  position: relative;
}

.se-idx-cma-card__media img,
.se-idx-cma-card__placeholder {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.se-idx-cma-card__badge {
  background: #c41230;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  left: 8px;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  position: absolute;
  text-transform: uppercase;
  top: 8px;
}

.se-idx-cma-card__body {
  padding: 10px 13px 12px;
}

.se-idx-cma-card__price {
  font-size: 15px;
  font-weight: 700;
}

.se-idx-cma-card__title {
  color: #637282;
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.se-idx-cma-card__meta {
  color: #637282;
  font-size: 12px;
  margin-top: 5px;
}

.se-idx-cma-card__date {
  color: #9ca8b8;
  font-size: 11px;
  font-style: italic;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .se-idx-cma-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .se-idx-cma-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   ACCOUNT — Login / Register Page
   ========================================================== */

.se-idx-account { max-width: 480px; margin: 0 auto; padding: 32px 0; }
.se-idx-account__logged-in { text-align: center; padding: 40px 20px; }
.se-idx-account__logged-in p { font-size: 16px; color: var(--se-idx-primary); margin: 0 0 20px; }

.se-idx-account__btn { display: inline-block; padding: 12px 28px; font-size: 14px; font-weight: 700; border-radius: 6px; cursor: pointer; transition: background 0.15s, color 0.15s; text-decoration: none; }
.se-idx-account__btn--outline { background: transparent; color: var(--se-idx-primary); border: 1.5px solid #DDE4ED; }
.se-idx-account__btn--outline:hover { background: var(--se-idx-surface-soft); }

.se-idx-account__tabs { display: flex !important; border-bottom: 2px solid #EEF2F7; margin-bottom: 28px; }
.se-idx-account__tab { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: 1 !important; padding: 14px 0 !important; font-size: 15px; font-weight: 700; color: #6B7A90; background: none !important; border: none !important; border-bottom: 2px solid transparent !important; margin-bottom: -2px; cursor: pointer !important; transition: color 0.15s, border-color 0.15s; width: auto !important; }
.se-idx-account__tab.is-active { color: var(--se-idx-primary) !important; border-bottom-color: var(--se-idx-primary) !important; }
.se-idx-account__tab:hover { color: var(--se-idx-primary); }

.se-idx-account__panel { display: none !important; }
.se-idx-account__panel.is-active { display: block !important; }

.se-idx-account__form { display: flex; flex-direction: column; gap: 0; }
.se-idx-account__field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.se-idx-account__field label { font-size: 12px; font-weight: 700; color: var(--se-idx-primary); text-transform: uppercase; letter-spacing: 0.06em; }
.se-idx-account__field input { width: 100%; padding: 12px 14px; border: 1.5px solid #DDE4ED; font-size: 14px; color: var(--se-idx-primary); outline: none; border-radius: 6px; box-sizing: border-box; transition: border-color 0.15s; font-family: inherit; }
.se-idx-account__field input:focus { border-color: var(--se-idx-primary); }
.se-idx-account__optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: #9CA8B8; }

.se-idx-account__submit { width: 100%; padding: 14px; background: var(--se-idx-primary); color: #fff; border: none; font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 6px; margin-top: 8px; transition: background 0.15s; font-family: inherit; }
.se-idx-account__submit:hover { background: #0d1b30; }
.se-idx-account__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.se-idx-account__error { background: #fde8ec; color: #c41230; font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; line-height: 1.5; }
.se-idx-account__success { background: #e6f9ed; color: #127b46; font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; line-height: 1.5; }

/* ==========================================================
   PROFILE — Dashboard
   ========================================================== */

.se-idx-profile { max-width: 800px; margin: 0 auto; padding: 32px 0; }

.se-idx-profile__login-required { text-align: center; padding: 60px 20px; }
.se-idx-profile__login-required p { font-size: 16px; color: #6B7A90; margin: 0 0 20px; }
.se-idx-profile__btn { display: inline-block; padding: 12px 28px; background: var(--se-idx-primary); color: #fff; font-size: 14px; font-weight: 700; border-radius: 6px; text-decoration: none; transition: background 0.15s; }
.se-idx-profile__btn:hover { background: #0d1b30; color: #fff; }

.se-idx-profile__header { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--se-idx-surface-soft); border-radius: 12px; margin-bottom: 28px; }
.se-idx-profile__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--se-idx-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif); }
.se-idx-profile__name { font-size: 20px; font-weight: 700; color: var(--se-idx-primary); margin: 0; font-family: var(--se-idx-heading-font, "Playfair Display", Georgia, serif); }
.se-idx-profile__email { font-size: 14px; color: #6B7A90; margin: 4px 0 0; }
.se-idx-profile__logout { margin-left: auto; font-size: 13px; font-weight: 600; color: #c41230; text-decoration: none; padding: 8px 16px; border: 1px solid #fde8ec; border-radius: 6px; transition: background 0.15s; }
.se-idx-profile__logout:hover { background: #fde8ec; color: #c41230; }

.se-idx-profile__tabs { display: flex; border-bottom: 2px solid #EEF2F7; margin-bottom: 24px; gap: 0; overflow-x: auto; }
.se-idx-profile__tab { padding: 14px 20px; font-size: 14px; font-weight: 700; color: #6B7A90; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: color 0.15s, border-color 0.15s; white-space: nowrap; }
.se-idx-profile__tab.is-active { color: var(--se-idx-primary); border-bottom-color: var(--se-idx-primary); }
.se-idx-profile__tab:hover { color: var(--se-idx-primary); }

.se-idx-profile__panel { display: none; }
.se-idx-profile__panel.is-active { display: block; }

.se-idx-profile__empty { text-align: center; padding: 60px 20px; }
.se-idx-profile__empty svg { width: 48px; height: 48px; color: #DDE4ED; margin-bottom: 16px; }
.se-idx-profile__empty p { font-size: 15px; color: #6B7A90; margin: 0; line-height: 1.6; }

.se-idx-profile__loading { text-align: center; padding: 40px 20px; font-size: 14px; color: #6B7A90; }

.se-idx-profile__divider { border: none; border-top: 1px solid #EEF2F7; margin: 24px 0; }
.se-idx-profile__section-heading { font-size: 16px; font-weight: 700; color: var(--se-idx-primary); margin: 0 0 16px; font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif); }

.se-idx-profile__settings-form { max-width: 480px; }
.se-idx-profile__settings-success { background: #e6f9ed; color: #127b46; font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
.se-idx-profile__settings-error { background: #fde8ec; color: #c41230; font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }

/* Saved search row */
.se-idx-profile__search-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #EEF2F7; }
.se-idx-profile__search-row:last-child { border-bottom: none; }
.se-idx-profile__search-info { flex: 1; min-width: 0; }
.se-idx-profile__search-name { font-size: 15px; font-weight: 700; color: var(--se-idx-primary); margin: 0 0 4px; }
.se-idx-profile__search-criteria { font-size: 13px; color: #6B7A90; margin: 0; }
.se-idx-profile__search-freq { font-size: 12px; color: #9CA8B8; margin: 4px 0 0; }
.se-idx-profile__search-delete { background: none; border: 1px solid #fde8ec; color: #c41230; font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 6px; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.se-idx-profile__search-delete:hover { background: #fde8ec; }

/* Heart button saved state */
.se-idx-prop-card__save.is-saved svg { fill: #c41230; stroke: #c41230; }

@media (max-width: 640px) {
  .se-idx-profile__header { flex-wrap: wrap; }
  .se-idx-profile__logout { margin-left: 0; margin-top: 8px; width: 100%; text-align: center; }
  .se-idx-profile__tabs { gap: 0; }
  .se-idx-profile__tab { padding: 12px 14px; font-size: 13px; }
  .se-idx-account { padding: 20px 16px; }
}

@media (max-width: 480px) {
  .se-idx-profile__search-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================
   GOOGLE OAUTH — "Continue with Google" button
   ========================================================== */

.se-idx-google-btn {
  align-items: center;
  background: #fff;
  border: 1.5px solid #DDE4ED;
  border-radius: 8px;
  color: #3c4043;
  cursor: pointer;
  display: flex;
  font-family: var(--se-idx-body-font, "Public Sans", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  height: 46px;
  justify-content: center;
  margin-bottom: 16px;
  padding: 0 16px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.se-idx-google-btn:hover {
  background: #f8f9fa;
  border-color: #c4c9cf;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.se-idx-google-btn__icon {
  flex-shrink: 0;
}

.se-idx-google-btn__label {
  color: #3c4043;
}

.se-idx-popup__divider {
  align-items: center;
  color: #9CA8B8;
  display: flex;
  font-size: 12px;
  gap: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.se-idx-popup__divider::before,
.se-idx-popup__divider::after {
  background: #DDE4ED;
  content: "";
  flex: 1;
  height: 1px;
}

/* ==========================================================
   SOCIAL SHARING BAR
   ========================================================== */

.se-idx-mls-detail__band--share {
  border-bottom: 1px solid #eaedf2;
  background: #fafbfc;
}

.se-idx-share-bar {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 10px 0 !important;
}

.se-idx-share-btn {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #dde2ea !important;
  border-radius: 6px !important;
  color: #4b5563 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  gap: 6px !important;
  height: 32px !important;
  line-height: 1 !important;
  max-width: none !important;
  padding: 0 10px !important;
  position: relative;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap !important;
  width: auto !important;
}

.se-idx-share-btn:hover {
  background: #f3f4f6;
  border-color: #b8bfc9;
  color: #1f2937;
}

.se-idx-share-btn svg {
  flex-shrink: 0;
}

.se-idx-share-btn__label {
  pointer-events: none;
}

.se-idx-share-btn__tooltip {
  background: var(--se-idx-primary);
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  left: 50%;
  opacity: 0;
  padding: 4px 8px;
  pointer-events: none;
  position: absolute;
  top: -30px;
  transform: translateX(-50%);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.se-idx-share-btn__tooltip.is-visible {
  opacity: 1;
}

@media (max-width: 640px) {
  .se-idx-share-btn__label {
    display: none;
  }

  .se-idx-share-btn {
    padding: 0 8px;
  }
}

/* === Print Styles === */
/* ==========================================================
   PRINT STYLES
   ========================================================== */

@media print {
  /* Hide navigation, sidebar, footer, share bar, popups */
  body > *:not(.se-idx-mls-detail):not(.wp-site-blocks) {
    display: none !important;
  }

  .wp-site-blocks > header,
  .wp-site-blocks > footer,
  .wp-site-blocks > nav,
  .wp-block-template-part,
  .site-header,
  .site-footer,
  .site-navigation,
  #wpadminbar,
  .se-idx-mls-detail__band--share,
  .se-idx-share-bar,
  .se-idx-popup__overlay,
  .se-idx-reg-popup__overlay,
  .se-idx-mls-detail__band--nav,
  .se-idx-owner-sidebar,
  .se-idx-mls-detail__sidebar,
  .se-idx-mls-section--contact,
  .se-idx-mls-section--related,
  .se-idx-mls-section--nearby,
  .se-idx-mls-section--cma {
    display: none !important;
  }

  /* Ensure the detail page takes full width */
  .se-idx-mls-detail {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .se-idx-mls-detail__body {
    display: block !important;
  }

  .se-idx-mls-detail__main {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Gallery — show first image large */
  .se-idx-mls-gallery {
    page-break-after: avoid;
  }

  .se-idx-mls-gallery__thumb,
  .se-idx-mls-gallery__nav,
  .se-idx-mls-gallery__counter,
  .se-idx-mls-gallery__btn {
    display: none !important;
  }

  .se-idx-mls-gallery__main img {
    width: 100% !important;
    max-height: 400px !important;
    object-fit: cover !important;
  }

  /* Header — title, price, address */
  .se-idx-mls-detail__band--header {
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
  }

  .se-idx-mls-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
  }

  /* Specs strip */
  .se-idx-mls-detail__band--specs {
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
  }

  /* Content sections */
  .se-idx-mls-article {
    page-break-inside: auto;
  }

  .se-idx-mls-section {
    page-break-inside: avoid;
  }

  /* Typography for print */
  .se-idx-mls-detail,
  .se-idx-mls-detail * {
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .se-idx-mls-header__amount {
    color: #000 !important;
    font-size: 20px !important;
  }

  /* Remove shadows and backgrounds */
  .se-idx-mls-detail__band {
    box-shadow: none !important;
    background: #fff !important;
  }

  /* Links should be visible in print */
  .se-idx a[href]::after {
    content: none;
  }
}

/* === Nearby Places — POI tabbed section === */
/* All layout-critical rules carry !important to survive aggressive theme resets
   that force button/span/a/div to display:block or width:100%.             */

.se-idx-mls-nearby__tabs {
  border-bottom: 1px solid var(--se-idx-border, #DADADA);
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.se-idx-mls-nearby__tabs::-webkit-scrollbar {
  display: none;
}

.se-idx-mls-nearby__tab {
  align-items: center !important;
  background: none !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  color: #a8a8a8;
  cursor: pointer;
  display: inline-flex !important;
  flex-shrink: 0 !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  gap: 6px !important;
  height: auto !important;
  padding: 10px 16px !important;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap !important;
  width: auto !important;
}

.se-idx-mls-nearby__tab:hover {
  color: #505050;
}

.se-idx-mls-nearby__tab.is-active {
  border-bottom-color: #111 !important;
  color: #191919;
}

.se-idx-mls-nearby__tab > span {
  display: inline !important;
  width: auto !important;
  pointer-events: none;
}

.se-idx-mls-nearby__tab svg {
  display: inline-block !important;
  flex-shrink: 0 !important;
  height: 14px !important;
  width: 14px !important;
}

.se-idx-mls-nearby__panel {
  display: none !important;
}

.se-idx-mls-nearby__panel.is-active {
  display: block !important;
}

.se-idx-mls-nearby__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0;
}

.se-idx-mls-nearby__item {
  align-items: center !important;
  border-bottom: 1px solid #f0f0f0;
  display: flex !important;
  gap: 12px !important;
  padding: 10px 0;
}

.se-idx-mls-nearby__item:last-child {
  border-bottom: none;
}

.se-idx-mls-nearby__item-icon {
  align-items: center !important;
  background: #f5f5f5;
  border-radius: 50% !important;
  color: #505050;
  display: flex !important;
  flex-shrink: 0 !important;
  height: 32px !important;
  justify-content: center !important;
  min-width: 32px !important;
  width: 32px !important;
}

.se-idx-mls-nearby__item-icon svg {
  display: block !important;
  height: 14px !important;
  width: 14px !important;
}

.se-idx-mls-nearby__item-info {
  display: block !important;
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden;
}

.se-idx-mls-nearby__item-name {
  color: #191919;
  display: block !important;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: auto !important;
}

.se-idx-mls-nearby__item-type {
  color: #a8a8a8;
  display: block !important;
  font-size: 11px;
  margin-top: 1px;
  width: auto !important;
}

.se-idx-mls-nearby__item-distance {
  color: #505050;
  display: inline !important;
  flex-shrink: 0 !important;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
  width: auto !important;
}

.se-idx-mls-nearby__empty,
.se-idx-mls-nearby__loading {
  color: #a8a8a8;
  font-size: 13px;
  padding: 20px 0;
  text-align: center;
}
