.vaze-idx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vaze-idx-filters{
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:20px;
  padding:20px;
  margin:0 0 28px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}

.vaze-idx-filter-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
}

.vaze-idx-filter-grid input,
.vaze-idx-filter-grid select{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid #d1d5db;
  border-radius:12px;
  background:#ffffff;
  color:#111827;
  font-size:14px;
  font-weight:500;
  box-shadow:none;
  outline:none;
}

.vaze-idx-filter-grid input::placeholder{
  color:#6b7280;
  opacity:1;
}

.vaze-idx-filter-grid select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}

.vaze-idx-filter-grid input:focus,
.vaze-idx-filter-grid select:focus{
  border-color:#1a3a5c;
  box-shadow:0 0 0 3px rgba(26,58,92,.12);
}

.vaze-idx-filter-actions{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.vaze-idx-results-count{
  margin:0 0 18px;
  font-size:14px;
  color:#9ca3af;
  font-weight:600;
}

.vaze-idx-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:34px 0 10px;
  flex-wrap:wrap;
}

.vaze-idx-page-link,
.vaze-idx-page-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  min-height:46px;
  padding:12px 16px;
  border-radius:12px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  line-height:1;
  transition:all .25s ease;
}

.vaze-idx-page-link{
  background:#1a3a5c;
  color:#fff !important;
}

.vaze-idx-page-link:hover{
  background:#122b45;
  transform:translateY(-1px);
}

.vaze-idx-page-number{
  background:#eef4fa;
  color:#1a3a5c !important;
}

.vaze-idx-page-number:hover{
  background:#dbe8f5;
}

.vaze-idx-page-number.is-current{
  background:#d4af37;
  color:#111827 !important;
}

.vaze-idx-page-dots{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  min-height:46px;
  color:#9ca3af;
  font-size:14px;
  font-weight:700;
}

.vaze-bright-listings-grid{
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.vaze-bright-card{
  position: relative;
  z-index: 1;
}

.vaze-idx-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:40px 0 20px;
  flex-wrap:wrap;
  position:relative;
  z-index:30;
  isolation:isolate;
  pointer-events:auto;
}

.vaze-idx-pagination a,
.vaze-idx-pagination span{
  position:relative;
  z-index:31;
  pointer-events:auto;
}

.vaze-idx-page-link,
.vaze-idx-page-number{
  cursor:pointer;
}

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

@media (max-width:767px){
  .vaze-idx-filter-grid{
    grid-template-columns:1fr;
  }

  .vaze-idx-filter-actions{
    flex-direction:column;
  }

  .vaze-idx-filter-actions .vaze-bright-btn{
    width:100%;
    text-align:center;
  }
}

.vaze-idx-active-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}

.vaze-idx-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#eef4fa;
  color:#1a3a5c !important;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  line-height:1;
  transition:all .2s ease;
}

.vaze-idx-chip:hover{
  background:#dbe8f5;
  transform:translateY(-1px);
}

.vaze-idx-chip-x{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  background:#1a3a5c;
  color:#ffffff;
  font-size:12px;
  line-height:1;
}

@media (max-width:767px){
  .vaze-idx-active-chips{
    gap:8px;
  }

  .vaze-idx-chip{
    font-size:12px;
    padding:9px 12px;
  }
}

/* IDX price label improvements */
.vaze-bright-price-wrap {
  margin-bottom: 14px;
}

.vaze-bright-price-label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: #6b7280 !important;
  margin: 0 0 4px !important;
  line-height: 1.2 !important;
}

.vaze-bright-price {
  display: block !important;
  color: #d4af37 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.vaze-bright-price.is-empty {
  color: #1a3a5c !important;
  font-size: 18px !important;
}

.vaze-bright-price-note {
  display: block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  margin-top: 5px !important;
  line-height: 1.35 !important;
}

/* Optional: lease/rate style difference */
.vaze-bright-price-wrap.is-residential-lease .vaze-bright-price,
.vaze-bright-price-wrap.is-commercial-lease .vaze-bright-price {
  color: #1a3a5c !important;
}

.vaze-bright-price-wrap.is-land .vaze-bright-price {
  color: #b8860b !important;
}

/* =========================================================
   VAZE Bright IDX - Split map/results layout
   Based on Mr. Donovan's Redfin-style reference, scoped to plugin.
   ========================================================= */

.vaze-idx-app {
  --vaze-bg:#fafafa;
  --vaze-surface:#ffffff;
  --vaze-ink:#15181d;
  --vaze-ink-soft:#3a4049;
  --vaze-muted:#8a909a;
  --vaze-line:#ebebed;
  --vaze-line-2:#e0e0e3;
  --vaze-slate:#3f5e84;
  --vaze-slate-deep:#324c6b;
  --vaze-slate-tint:#eef2f7;
  --vaze-radius:4px;
  --vaze-radius-lg:8px;
  background:var(--vaze-bg);
  color:var(--vaze-ink-soft);
  font-family:Archivo, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vaze-idx-app * {
  box-sizing:border-box;
}

.vaze-idx-top-filters {
  border-radius:0;
  border-left:0;
  border-right:0;
  margin:0;
  box-shadow:none;
  background:var(--vaze-surface);
  border-top:1px solid var(--vaze-line);
  border-bottom:1px solid var(--vaze-line);
}

.vaze-idx-filter-strip {
  grid-template-columns:repeat(6,minmax(120px,1fr));
}

.vaze-idx-search-btn {
  background:var(--vaze-slate) !important;
  border-color:var(--vaze-slate) !important;
  color:#fff !important;
}

.vaze-idx-search-btn:hover {
  background:var(--vaze-slate-deep) !important;
}

.vaze-idx-reset-btn {
  background:#fff !important;
  color:var(--vaze-ink) !important;
  border:1px solid var(--vaze-line-2) !important;
}

.vaze-idx-subhead {
  background:var(--vaze-surface);
  border-top:1px solid var(--vaze-line);
  border-bottom:1px solid var(--vaze-line);
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.vaze-idx-subhead h1 {
  margin:0;
  font-size:18px;
  line-height:1.2;
  color:var(--vaze-ink);
  font-weight:800;
  letter-spacing:-.02em;
}

.vaze-idx-count {
  color:var(--vaze-muted);
  font-size:13px;
  font-weight:600;
  margin-top:3px;
}

.vaze-idx-sort-summary {
  font-size:13px;
  font-weight:700;
  color:var(--vaze-ink);
  border:1px solid var(--vaze-line-2);
  border-radius:var(--vaze-radius);
  padding:8px 12px;
  background:#fff;
  white-space:nowrap;
}

.vaze-idx-split {
  display:flex;
  min-height:0;
  background:var(--vaze-bg);
  border-bottom:1px solid var(--vaze-line);
}

.vaze-idx-map-panel {
  flex:1 1 56%;
  min-width:0;
  position:sticky;
  top:0;
  height:var(--vaze-idx-map-height, calc(100vh - 210px));
  min-height:0;
  max-height:var(--vaze-idx-map-height, calc(100vh - 210px));
  background:#eef1f4;
  overflow:hidden;
}

.vaze-idx-map-flood-pane {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
}

.vaze-idx-map-flood-pane .leaflet-container {
  background:transparent !important;
  pointer-events:none !important;
}

.vaze-idx-map-flood-pane .leaflet-tile-pane {
  opacity:0.62;
}

.vaze-idx-map-flood-legend {
  position:absolute;
  left:14px;
  bottom:42px;
  z-index:1002;
  width:min(220px, calc(100% - 96px));
  padding:10px 12px 12px;
  border-radius:10px;
  background:#fff;
  box-shadow:0 2px 10px rgba(15,23,42,.14);
  pointer-events:auto;
}

.vaze-idx-map-flood-legend[hidden] {
  display:none !important;
}

.vaze-idx-map-flood-legend-title {
  font-size:12px;
  font-weight:700;
  color:#111827;
  margin-bottom:4px;
}

.vaze-idx-map-flood-legend-source {
  font-size:11px;
  color:#4b5563;
  margin-bottom:10px;
}

.vaze-idx-map-flood-legend-source a {
  color:#0f766e;
  font-weight:700;
  text-decoration:none;
}

.vaze-idx-map-flood-legend-source a:hover {
  text-decoration:underline;
}

.vaze-idx-map-flood-legend-bar {
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,#dbeafe 0%,#93c5fd 18%,#60a5fa 36%,#2563eb 58%,#1e3a8a 78%,#312e81 100%);
  border:1px solid rgba(15,23,42,.08);
}

.vaze-idx-map-flood-legend-scale {
  display:flex;
  justify-content:space-between;
  margin-top:6px;
  font-size:10px;
  font-weight:600;
  color:#374151;
}

.admin-bar .vaze-idx-map-panel {
  top:32px;
}

.vaze-idx-map {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  z-index:1;
}

.vaze-idx-map-ui-layer {
  position:absolute;
  inset:0;
  z-index:1000;
  pointer-events:none;
}

.vaze-idx-map-ui-layer > * {
  pointer-events:auto;
}

.vaze-idx-map-draw-capture {
  position:absolute;
  inset:0;
  z-index:900;
  cursor:crosshair;
  background:transparent;
  touch-action:none;
}

.vaze-idx-map-draw-capture[hidden],
.vaze-idx-map-draw-capture:not(.is-active) {
  display:none !important;
  pointer-events:none !important;
}

.vaze-idx-map-draw-capture.is-active {
  display:block;
  pointer-events:auto;
}

.vaze-idx-map-panel.is-draw-mode .vaze-idx-map {
  cursor:crosshair;
}

.vaze-idx-map-panel .gm-bundled-control-on-bottom,
.vaze-idx-map-panel .gm-bundled-control {
  display:none !important;
}

.vaze-idx-map-fallback-note {
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:620;
  max-width:calc(100% - 24px);
  padding:8px 12px;
  border-radius:8px;
  background:rgba(255,255,255,.95);
  color:#374151;
  font-size:11px;
  font-weight:600;
  line-height:1.35;
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}

.vaze-idx-map-toolbar {
  position:absolute;
  right:12px;
  top:12px;
  bottom:auto;
  transform:none;
  z-index:1001;
  display:flex;
  flex-direction:column;
  gap:8px;
  width:64px;
}

.vaze-idx-map-tool {
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:62px;
  min-height:62px;
  padding:8px 6px;
  border:1px solid #d1d5db;
  border-radius:12px;
  background:#fff;
  color:#111827;
  box-shadow:0 4px 16px rgba(17,24,39,.12);
  cursor:pointer;
  transition:all .15s ease;
  visibility:visible !important;
  opacity:1 !important;
}

.vaze-idx-map-zoom {
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #d1d5db;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 16px rgba(17,24,39,.12);
}

.vaze-idx-map-zoom-btn {
  width:62px;
  height:38px;
  border:0;
  background:#fff;
  color:#111827;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:background .15s ease;
}

.vaze-idx-map-zoom-btn + .vaze-idx-map-zoom-btn {
  border-top:1px solid #e5e7eb;
}

.vaze-idx-map-zoom-btn:hover {
  background:#f3f4f6;
}

.vaze-idx-map-tool:hover,
.vaze-idx-map-tool.is-active {
  border-color:#111827;
  box-shadow:0 6px 18px rgba(17,24,39,.16);
}

.vaze-idx-map-tool.is-active {
  background:#f9fafb;
}

.vaze-idx-map-tool-icon {
  display:flex;
  align-items:center;
  justify-content:center;
}

.vaze-idx-map-tool-label {
  font-size:11px;
  font-weight:600;
  line-height:1.1;
}

.vaze-idx-map-flyout {
  position:absolute;
  right:88px;
  top:12px;
  bottom:auto;
  transform:none;
  z-index:3;
  width:min(320px,calc(100% - 120px));
  padding:14px;
  border:1px solid #d1d5db;
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 30px rgba(17,24,39,.18);
}

.vaze-idx-map-flyout.is-map-details {
  width:min(420px,calc(100% - 120px));
}

.vaze-idx-map-flyout.is-map-types {
  width:min(240px,calc(100% - 120px));
}

.vaze-idx-map-flyout-title {
  font-size:14px;
  font-weight:700;
  color:#111827;
  margin-bottom:12px;
}

.vaze-idx-map-layer-grid.is-details {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.vaze-idx-map-layer.is-wide {
  grid-column:span 1;
}

.vaze-idx-map-layer-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.vaze-idx-map-layer,
.vaze-idx-map-type {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  padding:8px;
  border:2px solid transparent;
  border-radius:12px;
  background:#f9fafb;
  cursor:pointer;
  transition:all .15s ease;
}

.vaze-idx-map-layer:hover,
.vaze-idx-map-type:hover,
.vaze-idx-map-layer.is-active,
.vaze-idx-map-type.is-active {
  border-color:#0d9488;
  background:#fff;
  box-shadow:0 0 0 1px #0d9488;
}

.vaze-idx-map-layer-thumb,
.vaze-idx-map-type-thumb {
  position:relative;
  width:100%;
  height:54px;
  border-radius:8px;
  background:#e8eaed center/cover no-repeat;
  border:1px solid #d1d5db;
  overflow:hidden;
}

.vaze-idx-map-layer-thumb::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,transparent 48%,#d1d5db 48%,#d1d5db 52%,transparent 52%) 0 38%/100% 1px no-repeat,
    linear-gradient(0deg,transparent 58%,#d1d5db 58%,#d1d5db 62%,transparent 62%) 32% 0/1px 100% no-repeat,
    linear-gradient(135deg,#f8fafc 0%,#e5e7eb 100%);
  opacity:.95;
}

.vaze-idx-map-layer-grid.is-details .vaze-idx-map-layer-thumb::before,
.vaze-idx-map-layer-grid.is-details .vaze-idx-map-layer-thumb::after {
  display: none;
  content: none;
}

.vaze-idx-map-layer-grid.is-details .vaze-idx-map-layer-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.vaze-idx-map-layer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.vaze-idx-map-layer-icon svg {
  width: 30px;
  height: 30px;
}

.vaze-idx-map-layer-thumb.is-schools {
  background: #eef2ff;
  color: #4338ca;
}

.vaze-idx-map-layer-thumb.is-amenities {
  background: #fff7ed;
  color: #c2410c;
}

.vaze-idx-map-layer-thumb.is-transit {
  background: #eff6ff;
  color: #1d4ed8;
}

.vaze-idx-map-layer-thumb.is-bike {
  background: #ecfdf5;
  color: #047857;
}

.vaze-idx-map-layer-thumb.is-flood {
  background: #ecfeff;
  color: #0e7490;
}

.vaze-idx-map-layer-thumb.is-hidden {
  background: #f3f4f6;
  color: #4b5563;
}

.vaze-idx-map-layer-thumb.is-estimates {
  background: #fefce8;
  color: #a16207;
}

.vaze-idx-map-layer-thumb.is-schools::after {
  content:'';
  position:absolute;
  right:14%;
  top:16%;
  width:22px;
  height:30px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath d='M14 1C8.5 1 4 5.5 4 11c0 7.5 10 17.5 10 17.5S24 18.5 24 11C24 5.5 19.5 1 14 1z' fill='%236b7280' stroke='%23fff' stroke-width='1.5'/%3E%3Ccircle cx='14' cy='11' r='6.5' fill='%23fff'/%3E%3Crect x='10' y='8' width='8' height='2' rx='1' fill='%23111827'/%3E%3Cpath d='M11 8V6.5L14 5.5L17 6.5V8' fill='none' stroke='%23111827' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.vaze-idx-map-layer-thumb.is-amenities::after {
  content:'';
  position:absolute;
  right:14%;
  top:16%;
  width:22px;
  height:30px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath d='M14 1C8.5 1 4 5.5 4 11c0 7.5 10 17.5 10 17.5S24 18.5 24 11C24 5.5 19.5 1 14 1z' fill='%23ea580c' stroke='%23fff' stroke-width='1.5'/%3E%3Ccircle cx='14' cy='11' r='6.5' fill='%23fff'/%3E%3Cpath d='M11.5 14c0-1.4 1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5' fill='none' stroke='%23111827' stroke-width='1.2'/%3E%3Cpath d='M10 14h8v2.5c0 .8-.7 1.5-1.5 1.5h-5c-.8 0-1.5-.7-1.5-1.5V14z' fill='%23111827'/%3E%3C/svg%3E") center/contain no-repeat;
}

.vaze-idx-map-layer-thumb.is-transit::before {
  background:
    linear-gradient(180deg,#2563eb 0%,#2563eb 38%,transparent 38%),
    repeating-linear-gradient(90deg,#93c5fd 0 6px,#dbeafe 6px 12px);
  opacity:1;
}

.vaze-idx-map-layer-thumb.is-transit::after {
  content:'';
  position:absolute;
  left:18%;
  bottom:18%;
  width:28px;
  height:16px;
  border-radius:3px;
  background:#1d4ed8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14'%3E%3Crect x='2' y='4' width='14' height='7' rx='1.5' fill='%23fff'/%3E%3Ccircle cx='6' cy='12' r='2' fill='%23fff'/%3E%3Ccircle cx='12' cy='12' r='2' fill='%23fff'/%3E%3C/svg%3E") center/80% no-repeat;
}

.vaze-idx-map-layer-thumb.is-bike::before {
  background:
    linear-gradient(90deg,transparent 44%,#16a34a 44%,#16a34a 48%,transparent 48%),
    linear-gradient(0deg,transparent 30%,#22c55e 30%,#22c55e 34%,transparent 34%),
    linear-gradient(135deg,#dcfce7 0%,#bbf7d0 100%);
  opacity:1;
}

.vaze-idx-map-layer-thumb.is-flood::before {
  background:
    radial-gradient(ellipse 55% 45% at 35% 72%,rgba(37,99,235,.55) 0%,rgba(37,99,235,.25) 55%,transparent 56%),
    linear-gradient(135deg,#dbeafe 0%,#93c5fd 100%);
  opacity:1;
}

.vaze-idx-map-layer-thumb.is-hidden::before {
  background:linear-gradient(135deg,#d1d5db 0%,#9ca3af 100%);
  opacity:1;
}

.vaze-idx-map-layer-thumb.is-hidden::after,
.vaze-idx-map-layer-thumb.is-estimates::after {
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:#374151;
  color:#fff;
  font-size:9px;
  font-weight:700;
  line-height:20px;
  text-align:center;
  box-shadow:0 1px 3px rgba(0,0,0,.25);
}

.vaze-idx-map-layer-thumb.is-hidden::after {
  content:'450K';
}

.vaze-idx-map-layer-thumb.is-estimates::before {
  background:linear-gradient(135deg,#d1d5db 0%,#9ca3af 100%);
  opacity:1;
}

.vaze-idx-map-layer-thumb.is-estimates::after {
  content:'1.3M';
}

.vaze-idx-map-layer-info {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height:14px;
  margin-left:4px;
  border-radius:50%;
  background:#d1d5db;
  color:#374151;
  font-size:10px;
  font-weight:700;
  line-height:1;
  vertical-align:middle;
}

.vaze-idx-map-layer-label {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
}

.vaze-idx-map-layer-thumb.is-traffic {
  background-image:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%);
}

.vaze-idx-map-layer-thumb.is-listings {
  background-image:linear-gradient(135deg,#111827 0%,#374151 100%);
}

.vaze-idx-map-type-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.vaze-idx-map-type-grid .vaze-idx-map-type-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
}

.vaze-idx-map-type-thumb.is-street {
  background: #f3f4f6;
  color: #374151;
}

.vaze-idx-map-type-thumb.is-satellite {
  background: #ecfdf5;
  color: #047857;
}

.vaze-idx-map-layer-label,
.vaze-idx-map-type-label {
  font-size:12px;
  font-weight:600;
  color:#111827;
}

.vaze-idx-map-remove-outline {
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translateX(-50%);
  z-index:2000;
  pointer-events:auto;
  padding:10px 18px;
  border:1px solid #111827;
  border-radius:999px;
  background:#fff;
  color:#111827;
  font-size:13px;
  font-weight:700;
  box-shadow:0 6px 18px rgba(17,24,39,.14);
  cursor:pointer;
}

.vaze-idx-map-remove-outline[hidden],
.vaze-idx-map-tool.is-remove-outline[hidden] {
  display:none !important;
}

.vaze-idx-map-remove-outline.is-visible,
.vaze-idx-map-tool.is-remove-outline.is-visible {
  display:inline-flex !important;
}

.vaze-idx-map-tool.is-remove-outline {
  border-color:#dc2626;
  color:#dc2626;
}

.vaze-idx-map-tool.is-remove-outline.is-visible:hover {
  background:#fef2f2;
}

.vaze-idx-draw-results-banner {
  margin:0 0 14px;
  padding:10px 14px;
  border-radius:8px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:600;
}

.vaze-idx-viewport-results-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:10px 14px;
  border-radius:8px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e3a8a;
  font-size:13px;
  font-weight:600;
}

.vaze-idx-viewport-reset {
  flex:0 0 auto;
  border:1px solid #93c5fd;
  background:#fff;
  color:#1d4ed8;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}

.vaze-idx-viewport-reset:hover {
  background:#dbeafe;
}

.vaze-idx-app.is-map-draw-filtered .vaze-idx-featured-note,
.vaze-idx-app.is-map-viewport-filtered .vaze-idx-featured-note {
  display:none;
}

.vaze-idx-app.is-map-draw-filtered .vaze-idx-results,
.vaze-idx-results.is-draw-filtered {
  display: flex !important;
  flex-direction: column !important;
  max-height: var(--vaze-idx-map-height, calc(100vh - 210px)) !important;
  overflow: hidden !important;
}

.vaze-idx-app.is-map-draw-filtered .vaze-idx-draw-results-banner,
.vaze-idx-results.is-draw-filtered .vaze-idx-draw-results-banner {
  flex: 0 0 auto !important;
}

.vaze-idx-app.is-map-draw-filtered .vaze-idx-cards,
.vaze-idx-results.is-draw-filtered .vaze-idx-cards,
.vaze-idx-app.is-map-viewport-filtered .vaze-idx-cards,
.vaze-idx-results.is-viewport-filtered .vaze-idx-cards {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  align-content: start !important;
  /* Prevent fr-like row squeezing that clips card body under the photo. */
  grid-auto-rows: max-content !important;
}

.vaze-idx-results.is-draw-filtered .vaze-idx-card[data-vaze-draw-result="1"],
.vaze-idx-results.is-viewport-filtered .vaze-idx-card[data-vaze-viewport-result="1"] {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  align-self: start !important;
}

.vaze-idx-app.is-map-draw-filtered .vaze-idx-pagination,
.vaze-idx-results.is-draw-filtered .vaze-idx-pagination {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 auto !important;
  margin: 12px 0 0 !important;
  padding-top: 12px !important;
  border-top: 1px solid #e5e7eb !important;
  position: relative !important;
  z-index: 5 !important;
}

.vaze-idx-results.is-draw-filtered .vaze-idx-card:not([data-vaze-draw-result="1"]) {
  display:none;
}

.vaze-idx-results.is-viewport-filtered .vaze-idx-card:not([data-vaze-viewport-result="1"]) {
  display:none;
}

.vaze-idx-map-remove-outline:hover {
  background:#f9fafb;
}

.vaze-idx-map-draw-hint {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:610;
  max-width:min(360px,calc(100% - 120px));
  padding:12px 16px;
  border-radius:12px;
  background:rgba(17,24,39,.88);
  color:#fff;
  font-size:13px;
  font-weight:600;
  text-align:center;
  pointer-events:none;
}

.vaze-idx-card.is-draw-hidden {
  display:none !important;
}

.vaze-idx-draw-empty {
  grid-column:1 / -1;
  padding:28px 18px;
  border:1px dashed #d1d5db;
  border-radius:12px;
  background:#fff;
  color:#4b5563;
  font-size:14px;
  font-weight:600;
  text-align:center;
}

.vaze-idx-results {
  flex:0 0 44%;
  max-width:44%;
  overflow:visible;
  background:var(--vaze-bg);
  padding:16px;
}

.vaze-idx-results.is-loading {
  opacity:0.55;
  pointer-events:none;
  transition:opacity .18s ease;
}

.vaze-idx-cards {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.vaze-idx-card {
  position:relative;
  background:var(--vaze-surface);
  border:1px solid var(--vaze-line);
  border-radius:var(--vaze-radius-lg);
  overflow:hidden;
  transition:all .18s ease;
  cursor:pointer;
}

.vaze-idx-card:hover,
.vaze-idx-card.is-active {
  border-color:var(--vaze-slate);
  box-shadow:0 8px 24px -14px rgba(21,24,29,.4);
  transform:translateY(-2px);
}

.vaze-idx-card-link {
  position:absolute;
  inset:0;
  z-index:2;
}

.vaze-idx-card-img {
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#eef1f4;
}

.vaze-idx-card-img img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.2,.7,.2,1);
}

.vaze-idx-card:hover .vaze-idx-card-img img {
  transform:scale(1.05);
}

.vaze-idx-card-status {
  position:absolute;
  top:10px;
  left:10px;
  z-index:3;
  background:#fff;
  color:var(--vaze-ink);
  font-size:10px;
  font-weight:800;
  letter-spacing:.07em;
  padding:5px 10px;
  border-radius:var(--vaze-radius);
  text-transform:uppercase;
}

.vaze-idx-featured-note {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.4;
}

.vaze-idx-card-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.vaze-idx-card-badge--donovan {
  background: #1e3a5f;
  color: #fff;
}

.vaze-idx-card-badge--team {
  background: #111827;
  color: #fff;
}

.vaze-idx-card.is-donovan,
.vaze-idx-card.is-vaze-team {
  border-color: #d1d5db;
}

.vaze-idx-card-body {
  padding:13px 14px 15px;
}

.vaze-idx-card-price-row {
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}

.vaze-idx-card-price {
  font-size:21px;
  font-weight:900;
  color:var(--vaze-ink);
  letter-spacing:-.03em;
  line-height:1.15;
}

.vaze-idx-card-price-label {
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--vaze-muted);
}

.vaze-idx-card-specs {
  font-size:13px;
  color:var(--vaze-ink-soft);
  font-weight:600;
  margin:6px 0 7px;
}

.vaze-idx-card-specs b {
  color:var(--vaze-ink);
  font-weight:800;
}

.vaze-idx-card-specs .dot {
  display:inline-block;
  width:3px;
  height:3px;
  background:var(--vaze-muted);
  border-radius:50%;
  margin:0 6px;
  vertical-align:middle;
}

.vaze-idx-card-addr {
  font-size:13.5px;
  line-height:1.35;
  color:var(--vaze-ink);
  font-weight:700;
}

.vaze-idx-card-loc {
  font-size:12.5px;
  color:var(--vaze-muted);
  font-weight:600;
  margin-top:2px;
}

.vaze-idx-card-court {
  font-size:10.5px;
  color:var(--vaze-muted);
  font-weight:600;
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid var(--vaze-line);
}

.vaze-map-pin-icon {
  background:transparent !important;
  border:0 !important;
}

.vaze-idx-google-pin-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: visible;
  z-index: 1000;
  pointer-events: none;
}

.vaze-idx-google-pin-layer .vaze-map-pin-anchor {
  pointer-events: auto;
}

.vaze-map-pin-anchor {
  display: flex;
  justify-content: center;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  position: absolute;
  z-index: 1;
}

.vaze-idx-app [data-vaze-idx-map] .vaze-map-pin-anchor {
  position: absolute;
}

.vaze-map-price-pin {
  background:var(--vaze-ink);
  color:#fff;
  font-size:12px;
  font-weight:800;
  padding:5px 9px;
  border-radius:999px;
  white-space:nowrap;
  box-shadow:0 2px 6px rgba(0,0,0,.3);
  border:1.5px solid #fff;
  transition:all .15s ease;
  cursor:pointer;
}

.vaze-map-price-pin.is-active,
.vaze-map-price-pin:hover {
  background:var(--vaze-slate);
  transform:scale(1.16);
}

.vaze-map-price-pin.is-estimate-pin {
  background:#0f766e;
}

.vaze-map-price-pin.is-hidden-pin {
  background:#6b7280;
  opacity:.88;
}

.vaze-map-poi-pin-wrap {
  background:transparent;
  border:none;
}

.vaze-map-poi-pin {
  width:14px;
  height:14px;
  border-radius:50%;
  border:2px solid #fff;
  box-shadow:0 1px 4px rgba(0,0,0,.35);
}

.vaze-map-poi-pin.is-schools {
  border-radius:4px;
  box-shadow:0 2px 6px rgba(37,99,235,.45);
}

.vaze-map-poi-pin-wrap.is-school {
  background:transparent;
  border:none;
}

.vaze-map-school-pin {
  width:48px;
  height:48px;
  border-radius:50%;
  background:#1d4ed8;
  border:4px solid #fff;
  box-shadow:0 4px 14px rgba(29,78,216,.6);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-family:Archivo, Arial, sans-serif;
  font-size:22px;
  font-weight:800;
  line-height:1;
}

.vaze-map-school-info {
  padding:4px 2px;
  font-family:Archivo, Arial, sans-serif;
  font-size:13px;
  color:#111827;
}

.vaze-map-amenity-pin {
  width:44px;
  height:44px;
  border-radius:50%;
  background:#ea580c;
  border:4px solid #fff;
  box-shadow:0 4px 14px rgba(234,88,12,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-family:Archivo, Arial, sans-serif;
  font-size:20px;
  font-weight:800;
  line-height:1;
}

.vaze-map-poi-pin-wrap.is-amenity {
  background:transparent;
  border:none;
}

.vaze-map-amenity-info {
  padding:4px 2px;
  font-family:Archivo, Arial, sans-serif;
  font-size:13px;
  color:#111827;
}

.vaze-map-pin-tooltip-card {
  width: 240px;
  overflow: hidden;
  background: #fff;
}

.vaze-map-pin-tooltip-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}

.vaze-map-pin-tooltip-link:hover {
  opacity: 0.96;
}

.vaze-map-pin-tooltip-photo {
  width: 100%;
  height: 132px;
  background: linear-gradient(145deg, #f3f4f6 0%, #e5e7eb 100%);
  overflow: hidden;
  position: relative;
}

.vaze-map-pin-tooltip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vaze-map-pin-tooltip-photo.is-empty::after,
.vaze-map-pin-tooltip-photo:empty::after {
  content: 'No image available';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vaze-map-pin-tooltip-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vaze-map-pin-tooltip-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.vaze-map-pin-tooltip-dot {
  color: #d1d5db;
  font-weight: 700;
}

.vaze-map-pin-tooltip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  max-width: 260px;
  line-height: 1.35;
}

.vaze-map-pin-tooltip-price {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.vaze-map-pin-tooltip-address {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.4;
}

.vaze-idx-app .gm-style .gm-style-iw-c {
  padding: 0 !important;
  max-width: 240px !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
}

.vaze-idx-app .gm-style .gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
  padding: 0 !important;
}

.vaze-idx-app .gm-style .gm-style-iw-chr {
  display: none !important;
}

.vaze-idx-app .gm-style .gm-style-iw-tc::after {
  background: #fff !important;
}

.vaze-map-leaflet-tooltip {
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
  padding: 0 !important;
}

.vaze-map-leaflet-tooltip .vaze-map-pin-tooltip-card {
  border-radius: 12px;
  box-shadow: none;
}

@media (max-width:1280px) {
  .vaze-idx-cards {
    grid-template-columns:1fr;
  }
}

@media (max-width:980px) {
  .vaze-idx-split {
    flex-direction:column;
    min-height:0;
  }

  .vaze-idx-map-panel {
    position:relative;
    top:auto;
    flex:0 0 auto;
    height:420px;
    min-height:420px;
  }

  .admin-bar .vaze-idx-map-panel {
    top:auto;
    height:420px;
  }

  .vaze-idx-map {
    min-height:420px;
  }

  .vaze-idx-results {
    flex:1 1 auto;
    max-width:100%;
  }

  .vaze-idx-cards {
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:767px) {
  .vaze-idx-subhead {
    align-items:flex-start;
    flex-direction:column;
  }

  .vaze-idx-sort-summary {
    width:100%;
  }

  .vaze-idx-map-panel {
    height:340px;
    min-height:340px;
  }

  .vaze-idx-map {
    min-height:340px;
  }

  .vaze-idx-cards {
    grid-template-columns:1fr;
  }
}


/* =========================================================
   Compact Redfin-style top filter bar
   ========================================================= */

.vaze-idx-top-filters {
  padding: 8px 16px !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.vaze-idx-compact-filter-strip {
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) 86px 126px 140px 72px 72px !important;
  gap: 10px !important;
  align-items: stretch !important;
  overflow: visible !important;
}

.vaze-idx-compact-filter-strip input,
.vaze-idx-compact-filter-strip select,
.vaze-idx-compact-filter-strip button {
  min-height: 40px !important;
  height: 40px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.vaze-idx-compact-filter-strip input,
.vaze-idx-compact-filter-strip select {
  padding: 0 14px !important;
  border: 1px solid #d6d8dc !important;
  background: #fff !important;
  color: #15181d !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.vaze-idx-compact-filter-strip input::placeholder {
  color: #4b5563 !important;
  opacity: 1 !important;
}

.vaze-idx-compact-filter-strip select {
  cursor: pointer !important;
  padding-right: 28px !important;
}

.vaze-idx-main-search {
  grid-column: auto !important;
}

.vaze-idx-search-shell {
  position: relative;
  min-width: 0;
}

.vaze-idx-search-input-wrap {
  position: relative;
  min-width: 0;
}

.vaze-idx-search-input-wrap .vaze-idx-main-search {
  width: 100%;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.vaze-idx-search-input-wrap.has-value .vaze-idx-main-search {
  padding-right: 38px !important;
}

.vaze-idx-search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  left: auto;
  transform: translateY(-50%);
  z-index: 2;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #4b5563;
  font-size: 15px;
  line-height: 24px !important;
  text-align: center;
  cursor: pointer;
  flex: none !important;
  box-sizing: border-box !important;
}

.vaze-idx-search-clear[hidden] {
  display: none !important;
}

.vaze-idx-search-clear:hover {
  background: #e5e7eb;
  color: #111827;
}

.vaze-idx-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 120;
  max-height: min(70vh, 520px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d6d8dc;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 12px;
  pointer-events: auto;
}

.vaze-idx-search-shell.is-open .vaze-idx-main-search {
  border-color: #3f5e84 !important;
  box-shadow: 0 0 0 3px rgba(63, 94, 132, 0.12) !important;
}

.vaze-idx-search-market-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #d6d8dc;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
}

.vaze-idx-search-market-tab {
  border: 0;
  background: #fff;
  color: #15181d;
  font-size: 14px;
  font-weight: 700;
  min-height: 38px;
  cursor: pointer;
}

.vaze-idx-search-market-tab.is-active {
  background: #15181d;
  color: #fff;
}

.vaze-idx-search-smart-tip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 2px 12px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 8px;
}

.vaze-idx-search-smart-tip__icon {
  color: #6d28d9;
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.vaze-idx-search-smart-tip strong {
  display: block;
  color: #6d28d9;
  font-size: 14px;
  margin-bottom: 2px;
}

.vaze-idx-search-smart-tip span {
  display: block;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
}

.vaze-idx-search-smart-tip__note {
  display: block;
  margin-top: 6px;
  color: #1a3a5c !important;
  font-size: 12px !important;
  font-weight: 700;
}

.vaze-idx-search-action,
.vaze-idx-search-item {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 8px;
}

.vaze-idx-search-action {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #15181d;
}

.vaze-idx-search-action:hover,
.vaze-idx-search-item:hover {
  background: #f8fafc;
}

.vaze-idx-search-action__icon,
.vaze-idx-search-section__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  position: relative;
}

.vaze-idx-search-action__icon.is-location::before,
.vaze-idx-search-section__icon.is-recent::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.vaze-idx-search-action__icon.is-location::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid currentColor;
}

.vaze-idx-search-section {
  padding-top: 8px;
  border-top: 1px solid #eef2f7;
  margin-top: 8px;
}

.vaze-idx-search-section:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.vaze-idx-search-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #15181d;
  padding: 4px 8px 6px;
}

.vaze-idx-search-section__icon.is-place::before {
  content: '⌖';
  font-size: 16px;
  line-height: 18px;
}

.vaze-idx-search-section__icon.is-address::before {
  content: '⌂';
  font-size: 16px;
  line-height: 18px;
}

.vaze-idx-search-section__icon.is-agent::before {
  content: '◉';
  font-size: 14px;
  line-height: 18px;
}

.vaze-idx-search-section__icon.is-building::before {
  content: '▦';
  font-size: 14px;
  line-height: 18px;
}

.vaze-idx-search-section__icon.is-school::before {
  content: '🎓';
  font-size: 14px;
  line-height: 18px;
}

.vaze-idx-search-section__icon.is-mls::before {
  content: '#';
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
}

.vaze-idx-search-section__icon.is-recent::before {
  border-radius: 999px;
}

.vaze-idx-search-item__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #15181d;
}

.vaze-idx-search-item__sublabel {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.vaze-idx-search-loading,
.vaze-idx-search-empty {
  padding: 14px 8px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

.vaze-idx-search-btn {
  min-width: 72px !important;
  padding: 0 15px !important;
  border-radius: 4px !important;
  background: #3f5e84 !important;
  border: 1px solid #3f5e84 !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-align: center !important;
}

.vaze-idx-search-btn:hover {
  background: #324c6b !important;
  border-color: #324c6b !important;
}

.vaze-idx-sort-row {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding-top: 26px !important;
}

.vaze-idx-sort-select {
  width: 168px !important;
  min-height: 40px !important;
  height: 40px !important;
  border-radius: 4px !important;
  padding: 0 14px !important;
  border: 1px solid #d6d8dc !important;
  background: #fff !important;
  color: #15181d !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.vaze-idx-active-chips {
  padding: 14px 16px 0 !important;
}

@media (max-width: 1280px) {
  .vaze-idx-compact-filter-strip {
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(120px, .35fr)) !important;
  }

  .vaze-idx-compact-filter-strip .vaze-idx-status-select,
  .vaze-idx-compact-filter-strip .vaze-idx-more-select,
  .vaze-idx-compact-filter-strip .vaze-idx-search-btn {
    grid-column: auto !important;
  }
}

@media (max-width: 980px) {
  .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr 1fr !important;
  }

  .vaze-idx-main-search {
    grid-column: 1 / -1 !important;
  }

  .vaze-idx-search-btn {
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr !important;
  }

  .vaze-idx-sort-row {
    justify-content: stretch !important;
    padding-top: 14px !important;
  }

  .vaze-idx-sort-select {
    width: 100% !important;
  }
}


/* =========================================================
   VAZE Bright IDX - Reference UI refinement
   Makes the converted plugin layout closer to Mr. Donovan's supplied mockup.
   Additive overrides only; safe to keep previous IDX logic intact.
   ========================================================= */

/* Break the IDX out of Elementor's narrow content area so the map/list layout feels like the reference. */
.vaze-idx-app {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #f7f8fa !important;
  color: #111827 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Hide development-only filter/debug text from the visual UI. Use ?vaze_idx_debug=1 if PHP debug is needed. */
.vaze-idx-app > .vaze-idx-results-count {
  display: none !important;
}

/* Compact top filter bar like the provided reference. */
.vaze-idx-app .vaze-idx-top-filters {
  width: 100% !important;
  max-width: none !important;
  padding: 12px 14px 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid #e6e8eb !important;
  border-bottom: 1px solid #e6e8eb !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) 88px 130px 132px 140px 92px 76px !important;
  gap: 8px !important;
  align-items: center !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip input,
.vaze-idx-app .vaze-idx-compact-filter-strip select,
.vaze-idx-app .vaze-idx-compact-filter-strip button {
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 3px !important;
  font-size: 13px !important;
  line-height: 38px !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip input,
.vaze-idx-app .vaze-idx-compact-filter-strip select {
  border: 1px solid #d4d7dc !important;
  background: #fff !important;
  color: #1f2937 !important;
  padding: 0 12px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.vaze-idx-app .vaze-idx-main-search {
  font-weight: 600 !important;
}

.vaze-idx-app .vaze-idx-main-search::placeholder {
  color: #4b5563 !important;
  opacity: 1 !important;
}

.vaze-idx-app .vaze-idx-search-btn {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  background: #2f4e73 !important;
  border: 1px solid #2f4e73 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 3px !important;
}

/* Sort now belongs in the subhead, not as a tall blank row under the filters. */
.vaze-idx-app .vaze-idx-sort-row {
  display: none !important;
}

/* Header row directly below filters, matching the reference. */
.vaze-idx-app .vaze-idx-subhead {
  padding: 12px 18px 10px !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #e6e8eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.vaze-idx-app .vaze-idx-subhead h1 {
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #111827 !important;
  margin: 0 !important;
}

.vaze-idx-app .vaze-idx-count {
  display: inline-block !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-left: 8px !important;
}

.vaze-idx-app .vaze-idx-subhead > div:first-child {
  display: flex !important;
  align-items: baseline !important;
  gap: 2px !important;
  flex-wrap: wrap !important;
}

.vaze-idx-app .vaze-idx-sort-control {
  margin-left: auto !important;
}

.vaze-idx-app .vaze-idx-subhead-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: auto !important;
}

.vaze-idx-app .vaze-idx-save-search-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid #1e3a5f !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #1e3a5f !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

.vaze-idx-app .vaze-idx-save-search-btn:hover {
  background: #1e3a5f !important;
  color: #fff !important;
}

.vaze-idx-app .vaze-idx-save-search-btn.is-saving {
  opacity: 0.7 !important;
  pointer-events: none !important;
}

.vaze-idx-app .vaze-idx-save-search-btn.is-saved {
  border-color: #059669 !important;
  color: #059669 !important;
}

.vaze-idx-app .vaze-idx-map-tool.is-save-search {
  color: #1e3a5f !important;
}

.vaze-idx-app .vaze-idx-map-tool.is-save-search.is-saving,
.vaze-idx-app .vaze-idx-map-tool.is-save-search.is-saved {
  opacity: 0.85 !important;
}

.vaze-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #111827;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(92vw, 420px);
  text-align: center;
}

.vaze-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.vaze-idx-app .vaze-idx-subhead-sort-select,
.vaze-idx-app .vaze-idx-sort-select {
  width: 174px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid #d4d7dc !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #111827 !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

/* Remove extra chip spacing when no chips exist; keep chips compact when they do. */
.vaze-idx-app .vaze-idx-active-chips {
  background: #fff !important;
  padding: 10px 18px 0 !important;
  margin: 0 !important;
}

.vaze-idx-app .vaze-idx-chip {
  padding: 8px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  background: #eef3f8 !important;
}

/* Split layout: map and listings start immediately under the heading. */
.vaze-idx-app .vaze-idx-split {
  display: grid !important;
  grid-template-columns: minmax(480px, 56%) minmax(420px, 44%) !important;
  min-height: 0 !important;
  height: var(--vaze-idx-map-height, calc(100vh - 210px)) !important;
  background: #f7f8fa !important;
  border-bottom: 1px solid #e6e8eb !important;
}

.vaze-idx-app .vaze-idx-map-panel {
  position: sticky !important;
  top: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  background: #eef1f4 !important;
  border-right: 1px solid #e6e8eb !important;
}

.admin-bar .vaze-idx-app .vaze-idx-map-panel {
  top: 32px !important;
}

.vaze-idx-app .vaze-idx-map-ui-layer {
  z-index: 1000 !important;
}

.vaze-idx-app .vaze-idx-map-toolbar,
.vaze-idx-app .vaze-idx-map-flyout,
.vaze-idx-app .vaze-idx-map-draw-hint {
  z-index: 1001 !important;
  visibility: visible !important;
}

.vaze-idx-app .vaze-idx-map-flyout[hidden] {
  display: none !important;
}

.vaze-idx-app .vaze-idx-map-flyout:not([hidden]) {
  display: block !important;
}

.vaze-idx-app .vaze-idx-map-remove-outline[hidden],
.vaze-idx-app .vaze-idx-map-tool.is-remove-outline[hidden] {
  display:none !important;
  visibility:hidden !important;
}

.vaze-idx-app .vaze-idx-map-remove-outline.is-visible,
.vaze-idx-app .vaze-idx-map-tool.is-remove-outline.is-visible {
  z-index:2000 !important;
  display:inline-flex !important;
  pointer-events:auto !important;
  visibility:visible !important;
}

.vaze-idx-app .vaze-idx-map-tool:not(.is-remove-outline) {
  display: flex !important;
  visibility: visible !important;
}

.vaze-idx-app .vaze-idx-map-tool.is-remove-outline.is-visible {
  display: flex !important;
  visibility: visible !important;
}

.vaze-idx-app .vaze-idx-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.vaze-idx-app .vaze-idx-results {
  max-width: none !important;
  width: 100% !important;
  flex: none !important;
  padding: 16px 18px 24px !important;
  background: #f7f8fa !important;
  overflow: visible !important;
}

.vaze-idx-app .vaze-idx-cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

/* Card polish to match the reference cards. */
.vaze-idx-app .vaze-idx-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04) !important;
  overflow: hidden !important;
}

.vaze-idx-app .vaze-idx-card:hover,
.vaze-idx-app .vaze-idx-card.is-active {
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .12) !important;
  border-color: #c8d2df !important;
}

.vaze-idx-app .vaze-idx-card-img {
  aspect-ratio: 1.7 / 1 !important;
  background: #eef1f4 !important;
}

.vaze-idx-app .vaze-idx-card-status {
  top: 10px !important;
  left: 10px !important;
  background: #fff !important;
  color: #111827 !important;
  border-radius: 3px !important;
  padding: 5px 9px !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .09em !important;
}

.vaze-idx-app .vaze-idx-card-body {
  padding: 14px 16px 15px !important;
}

.vaze-idx-app .vaze-idx-card-price-row {
  gap: 8px !important;
  align-items: baseline !important;
}

.vaze-idx-app .vaze-idx-card-price {
  color: #111827 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.vaze-idx-app .vaze-idx-card-price-label {
  color: #737b87 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}

.vaze-idx-app .vaze-idx-card-specs {
  margin: 5px 0 6px !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.vaze-idx-app .vaze-idx-card-addr {
  color: #111827 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.vaze-idx-app .vaze-idx-card-loc {
  color: #687282 !important;
  font-size: 12.5px !important;
  margin-top: 2px !important;
}

.vaze-idx-app .vaze-idx-card-court {
  color: #7b8490 !important;
  font-size: 11px !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid #edf0f3 !important;
}

/* Pagination under cards only, compact like reference. */
.vaze-idx-app .vaze-idx-pagination {
  margin: 26px 0 0 !important;
  gap: 9px !important;
}

.vaze-idx-app .vaze-idx-page-number,
.vaze-idx-app .vaze-idx-page-link {
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 9px 12px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
}

.vaze-idx-app .vaze-idx-page-number.is-current {
  background: #d4af37 !important;
  color: #111827 !important;
}

.vaze-idx-app .vaze-idx-page-link {
  background: #15395c !important;
}

/* Map price pins. */
.vaze-idx-app .vaze-idx-map-caption {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 500;
  background: rgba(17, 24, 39, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.vaze-idx-app .vaze-idx-map-region-label {
  position: absolute;
  top: 46px;
  left: 12px;
  z-index: 500;
  max-width: calc(100% - 24px);
  background: rgba(255, 255, 255, 0.94);
  color: #374151;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.vaze-idx-app .vaze-map-price-pin.is-active,
.vaze-idx-app .vaze-map-price-pin:hover {
  background: #d4af37 !important;
  color: #111827 !important;
  transform: translateY(-1px);
}

.vaze-idx-app .vaze-map-price-pin {
  background: #111827 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.28) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  padding: 5px 9px !important;
}

/* Empty state should stay inside the new white shell. */
.vaze-idx-app .vaze-bright-empty,
.vaze-idx-app .vaze-bright-error {
  margin: 16px 18px 24px !important;
  border-radius: 7px !important;
}

@media (max-width: 1320px) {
  .vaze-idx-app .vaze-idx-compact-filter-strip {
    grid-template-columns: minmax(280px, 1fr) 88px 130px 132px 140px 92px 76px !important;
  }
}

@media (max-width: 1080px) {
  .vaze-idx-app .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .vaze-idx-app .vaze-idx-main-search {
    grid-column: 1 / -1 !important;
  }

  .vaze-idx-app .vaze-idx-split {
    display: block !important;
  }

  .vaze-idx-app .vaze-idx-map-panel {
    position: relative !important;
    top: auto !important;
    height: 420px !important;
    min-height: 420px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e6e8eb !important;
  }

  .vaze-idx-app .vaze-idx-map {
    min-height: 420px !important;
  }
}

@media (max-width: 767px) {
  .vaze-idx-app .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr 1fr !important;
  }

  .vaze-idx-app .vaze-idx-main-search,
  .vaze-idx-app .vaze-idx-search-btn {
    grid-column: 1 / -1 !important;
  }

  .vaze-idx-app .vaze-idx-subhead {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .vaze-idx-app .vaze-idx-subhead > div:first-child {
    display: block !important;
  }

  .vaze-idx-app .vaze-idx-count {
    margin-left: 0 !important;
    margin-top: 4px !important;
  }

  .vaze-idx-app .vaze-idx-sort-control,
  .vaze-idx-app .vaze-idx-subhead-actions,
  .vaze-idx-app .vaze-idx-subhead-sort-select {
    width: 100% !important;
  }

  .vaze-idx-app .vaze-idx-subhead-actions {
    flex-wrap: wrap !important;
  }

  .vaze-idx-app .vaze-idx-save-search-btn {
    flex: 1 1 auto !important;
    justify-content: center !important;
  }

  .vaze-idx-app .vaze-idx-map-panel,
  .vaze-idx-app .vaze-idx-map {
    height: 340px !important;
    min-height: 340px !important;
  }

  .vaze-idx-app .vaze-idx-cards {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .vaze-idx-app .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   Fix IDX top filter spacing/readability
   ========================================================= */

.vaze-idx-top-filters {
  padding: 12px 24px !important;
  overflow: visible !important;
}

.vaze-idx-compact-filter-strip {
  display: grid !important;
  grid-template-columns:
    minmax(420px, 1.7fr)
    minmax(120px, 0.45fr)
    minmax(160px, 0.6fr)
    minmax(150px, 0.65fr)
    minmax(120px, 0.45fr)
    minmax(96px, auto) !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}

.vaze-idx-compact-filter-strip input,
.vaze-idx-compact-filter-strip select,
.vaze-idx-compact-filter-strip button {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.vaze-idx-compact-filter-strip select {
  padding-right: 36px !important;
}

.vaze-idx-search-btn {
  min-width: 96px !important;
  padding: 0 22px !important;
}

/* Sort row spacing */
.vaze-idx-sort-row {
  padding-top: 10px !important;
  padding-right: 24px !important;
}

.vaze-idx-sort-select {
  width: 190px !important;
}

/* Medium screens */
@media (max-width: 1400px) {
  .vaze-idx-compact-filter-strip {
    grid-template-columns:
      minmax(360px, 1.5fr)
      minmax(110px, 0.45fr)
      minmax(150px, 0.6fr)
      minmax(170px, 0.75fr)
      minmax(160px, 0.7fr)
      minmax(110px, 0.45fr)
      minmax(90px, auto) !important;
  }

  .vaze-idx-compact-filter-strip input,
  .vaze-idx-compact-filter-strip select,
  .vaze-idx-compact-filter-strip button {
    font-size: 14px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* Tablet */
@media (max-width: 1100px) {
  .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .vaze-idx-main-search {
    grid-column: 1 / -1 !important;
  }

  .vaze-idx-search-btn {
    min-width: 100% !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .vaze-idx-top-filters {
    padding: 14px !important;
  }

  .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .vaze-idx-compact-filter-strip input,
  .vaze-idx-compact-filter-strip select,
  .vaze-idx-compact-filter-strip button {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 15px !important;
  }

  .vaze-idx-sort-row {
    padding: 10px 14px 0 !important;
  }

  .vaze-idx-sort-select {
    width: 100% !important;
  }
}
/* =========================================================
   FINAL OVERRIDE - readable Redfin-style IDX filter bar
   Put this at the very bottom so it wins over older grid rules.
   ========================================================= */
.vaze-idx-app .vaze-idx-top-filters {
  padding: 12px 18px !important;
  background: #fff !important;
  overflow: visible !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip {
  display: grid !important;
  grid-template-columns:
    minmax(360px, 1fr)   /* main search */
    minmax(110px, 120px) /* price */
    minmax(150px, 165px) /* beds & baths */
    minmax(215px, 235px) /* home type */
    minmax(185px, 210px) /* status */
    minmax(105px, 120px) /* more */
    minmax(105px, 115px) /* search */
    !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip input,
.vaze-idx-app .vaze-idx-compact-filter-strip select,
.vaze-idx-app .vaze-idx-compact-filter-strip button {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip .vaze-idx-search-input-wrap .vaze-idx-search-clear,
.vaze-idx-compact-filter-strip .vaze-idx-search-input-wrap .vaze-idx-search-clear {
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 24px !important;
  font-weight: 700 !important;
  position: absolute !important;
  top: 50% !important;
  right: 10px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  flex: none !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip input,
.vaze-idx-app .vaze-idx-compact-filter-strip select {
  padding: 0 16px !important;
  border: 1px solid #d4d7dc !important;
  background-color: #fff !important;
  color: #111827 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.vaze-idx-app .vaze-idx-compact-filter-strip select {
  padding-right: 34px !important;
}

.vaze-idx-app .vaze-idx-main-search {
  min-width: 360px !important;
}

.vaze-idx-app .vaze-idx-search-btn {
  min-width: 105px !important;
  padding: 0 18px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  text-align: center !important;
  background: #2f4e73 !important;
  border-color: #2f4e73 !important;
  color: #fff !important;
}

/* Keep the heading tight under the filter bar */
.vaze-idx-app .vaze-idx-subhead {
  padding: 14px 18px 12px !important;
}

.vaze-idx-app .vaze-idx-subhead h1 {
  font-size: 28px !important;
  line-height: 1.15 !important;
}

/* Desktop/laptop: if there is not enough room, wrap cleanly instead of cutting labels */
@media (max-width: 1500px) {
  .vaze-idx-app .vaze-idx-compact-filter-strip {
    grid-template-columns:
      minmax(420px, 1fr)
      minmax(110px, 120px)
      minmax(150px, 165px)
      minmax(215px, 235px)
      minmax(185px, 210px)
      minmax(105px, 120px)
      minmax(105px, 115px)
      !important;
  }
}

@media (max-width: 1250px) {
  .vaze-idx-app .vaze-idx-compact-filter-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .vaze-idx-app .vaze-idx-main-search {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
  }

  .vaze-idx-app .vaze-idx-search-btn {
    min-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .vaze-idx-app .vaze-idx-top-filters {
    padding: 14px !important;
  }

  .vaze-idx-app .vaze-idx-compact-filter-strip {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .vaze-idx-app .vaze-idx-compact-filter-strip input,
  .vaze-idx-app .vaze-idx-compact-filter-strip select,
  .vaze-idx-app .vaze-idx-compact-filter-strip button {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 15px !important;
  }

  .vaze-idx-app .vaze-idx-compact-filter-strip .vaze-idx-search-input-wrap .vaze-idx-search-clear {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
  }

  .vaze-idx-app .vaze-idx-subhead h1 {
    font-size: 24px !important;
  }
}

/* =========================================================
   Search card save button + inline result count
   ========================================================= */

.vaze-idx-app .vaze-idx-subhead h1 .vaze-idx-count {
  display: inline !important;
  margin-left: 8px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.vaze-idx-app .vaze-idx-results {
  max-height: calc(100vh - 32px) !important;
  overflow-y: auto !important;
}

.admin-bar .vaze-idx-app .vaze-idx-results {
  max-height: calc(100vh - 64px) !important;
}

.vaze-idx-app .vaze-idx-card-status {
  z-index: 4;
}

.vaze-idx-app .vaze-idx-card-actions .vaze-idx-card-fav {
  position: static;
  top: auto;
  right: auto;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: #3f5e84;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .15s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.vaze-idx-app .vaze-idx-card-actions .vaze-idx-card-fav:hover,
.vaze-idx-app .vaze-idx-card-actions .vaze-idx-card-fav.saved {
  background: #fff;
  transform: scale(1.05);
  color: #dc2626;
}

/* =========================================================
   Listing detail page (vaze-listing-detail.html reference)
   ========================================================= */

.vaze-ld-app {
  --vaze-bg: #fafafa;
  --vaze-surface: #ffffff;
  --vaze-ink: #15181d;
  --vaze-ink-soft: #3a4049;
  --vaze-muted: #8a909a;
  --vaze-line: #ebebed;
  --vaze-line-2: #e0e0e3;
  --vaze-slate: #3f5e84;
  --vaze-slate-deep: #324c6b;
  --vaze-slate-tint: #eef2f7;
  --vaze-radius: 4px;
  --vaze-radius-lg: 6px;
  background: var(--vaze-bg);
  color: var(--vaze-ink-soft);
  font-family: Archivo, Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.vaze-ld-app * {
  box-sizing: border-box;
}

.vaze-ld-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.vaze-ld-crumb {
  font-size: 12.5px;
  color: var(--vaze-muted);
  font-weight: 500;
  padding: 20px 0 0;
}

.vaze-ld-crumb a:hover {
  color: var(--vaze-slate);
}

.vaze-ld-gallery {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 500px;
  position: relative;
}

.vaze-ld-gallery-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.vaze-ld-gallery-actions .vaze-ld-save-btn,
.vaze-ld-gallery-actions .vaze-listing-share {
  flex-shrink: 0;
}

.vaze-ld-gallery-main {
  grid-row: 1 / span 2;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: var(--vaze-radius-lg) 0 0 var(--vaze-radius-lg);
  background: #eef1f4;
}

.vaze-ld-gallery-main img,
.vaze-ld-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.vaze-ld-gallery-main:hover img,
.vaze-ld-gallery-cell:hover img {
  transform: scale(1.04);
}

.vaze-ld-gallery-cell {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #eef1f4;
}

.vaze-ld-gallery-cell:nth-child(3) {
  border-radius: 0 var(--vaze-radius-lg) 0 0;
}

.vaze-ld-gallery-cell:nth-child(6) {
  border-radius: 0 0 var(--vaze-radius-lg) 0;
}

.vaze-ld-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: var(--vaze-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: var(--vaze-radius);
  text-transform: uppercase;
}

.vaze-ld-photo-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(21, 24, 29, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--vaze-radius);
}

.vaze-ld-titlebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  padding: 30px 0 20px;
  border-bottom: 1px solid var(--vaze-line);
}

.vaze-ld-addr h1 {
  font-family: Archivo, Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 5px;
  color: var(--vaze-ink);
  letter-spacing: -.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.vaze-ld-addr-num {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.vaze-ld-loc {
  color: var(--vaze-muted);
  font-size: 14.5px;
  font-weight: 500;
}

.vaze-ld-loc b {
  color: var(--vaze-slate);
  font-weight: 600;
}

.vaze-ld-priceblk {
  text-align: right;
}

.vaze-ld-price-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vaze-muted);
  font-weight: 700;
}

.vaze-ld-price {
  font-family: Archivo, Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--vaze-ink);
  line-height: 1;
  margin: 7px 0 4px;
  letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.vaze-ld-price-note {
  font-size: 12.5px;
  color: var(--vaze-slate);
  font-weight: 600;
}

.vaze-ld-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 18px 0 4px;
}

.vaze-ld-stat {
  padding: 4px 30px 4px 0;
  margin-right: 30px;
  border-right: 1px solid var(--vaze-line-2);
}

.vaze-ld-stat:last-child {
  border-right: none;
  margin-right: 0;
}

.vaze-ld-stat .n {
  font-size: 21px;
  color: var(--vaze-ink);
  font-weight: 700;
  letter-spacing: -.02em;
}

.vaze-ld-stat .l {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vaze-muted);
  font-weight: 600;
  margin-top: 1px;
}

.vaze-ld-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 48px;
  margin: 32px 0 64px;
  align-items: start;
}

.vaze-ld-block {
  padding: 0 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--vaze-line);
}

.vaze-ld-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.vaze-ld-block h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--vaze-ink);
  margin: 0 0 18px;
}

.vaze-ld-desc {
  font-family: Newsreader, Georgia, serif;
  font-size: 18px;
  color: var(--vaze-ink-soft);
  line-height: 1.75;
  font-weight: 400;
}

.vaze-ld-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.vaze-ld-facts .fact {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--vaze-line);
}

.vaze-ld-facts .fact:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--vaze-line);
}

.vaze-ld-facts .fact:nth-child(even) {
  padding-left: 28px;
}

.vaze-ld-facts .k {
  color: var(--vaze-muted);
  font-weight: 500;
}

.vaze-ld-facts .v {
  color: var(--vaze-ink);
  font-weight: 600;
  text-align: right;
}

.vaze-ld-map {
  height: 320px;
  border-radius: var(--vaze-radius-lg);
  overflow: hidden;
  border: 1px solid var(--vaze-line-2);
  background: #eef1f4;
}

.vaze-ld-map-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--vaze-muted);
  font-weight: 600;
}

.vaze-ld-calc .calc-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.vaze-ld-calc .calc-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--vaze-ink);
  display: flex;
  justify-content: space-between;
}

.vaze-ld-calc .calc-row label span {
  color: var(--vaze-slate);
  font-weight: 700;
}

.vaze-ld-calc input[type=range] {
  accent-color: var(--vaze-slate);
  height: 3px;
}

.vaze-ld-calc .field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--vaze-line-2);
  border-radius: var(--vaze-radius);
  padding: 11px 13px;
  background: var(--vaze-surface);
}

.vaze-ld-calc .field span {
  color: var(--vaze-muted);
  font-weight: 700;
}

.vaze-ld-calc .field input {
  border: none;
  outline: none;
  font-family: Archivo, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--vaze-ink);
  width: 100%;
  background: transparent;
}

.vaze-ld-calc .calc-out {
  margin-top: 10px;
  border: 1px solid var(--vaze-line-2);
  border-radius: var(--vaze-radius-lg);
  padding: 22px;
  text-align: center;
  background: var(--vaze-surface);
}

.vaze-ld-calc .calc-out .big {
  font-size: 33px;
  color: var(--vaze-ink);
  font-weight: 800;
  letter-spacing: -.03em;
}

.vaze-ld-calc .calc-out .sm {
  font-size: 11px;
  color: var(--vaze-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

.vaze-ld-calc .fineprint {
  font-size: 11px;
  color: var(--vaze-muted);
  margin-top: 10px;
}

.vaze-ld-lead {
  position: sticky;
  top: 84px;
}

.vaze-ld-lead-card {
  background: var(--vaze-surface);
  border: 1px solid var(--vaze-line-2);
  border-radius: var(--vaze-radius-lg);
  overflow: hidden;
}

.vaze-ld-lead-top {
  padding: 22px 24px;
  display: flex;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid var(--vaze-line);
}

.vaze-ld-agent-ph {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--vaze-slate-tint);
  color: var(--vaze-slate);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  border: 1px solid var(--vaze-line-2);
}

.vaze-ld-lead-top .nm {
  font-size: 16px;
  font-weight: 700;
  color: var(--vaze-ink);
}

.vaze-ld-lead-top .rl {
  font-size: 11px;
  color: var(--vaze-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.vaze-ld-lead-body {
  padding: 22px 24px 24px;
}

.vaze-ld-lead-body .lh {
  font-size: 16px;
  font-weight: 700;
  color: var(--vaze-ink);
  margin-bottom: 4px;
}

.vaze-ld-lead-body .ls {
  font-size: 12.5px;
  color: var(--vaze-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.vaze-ld-lead-body .fld {
  margin-bottom: 12px;
}

.vaze-ld-lead-body .fld label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--vaze-ink-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.vaze-ld-lead-body .fld input,
.vaze-ld-lead-body .fld select {
  width: 100%;
  background: var(--vaze-bg);
  border: 1px solid var(--vaze-line-2);
  border-radius: var(--vaze-radius);
  padding: 11px 12px;
  font-family: Archivo, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--vaze-ink);
  outline: none;
}

.vaze-ld-lead-body .fld input:focus,
.vaze-ld-lead-body .fld select:focus {
  border-color: var(--vaze-slate);
  background: #fff;
}

.vaze-ld-lead-body .qual {
  border-top: 1px solid var(--vaze-line);
  border-bottom: 1px solid var(--vaze-line);
  padding: 16px 0 4px;
  margin: 6px 0 16px;
}

.vaze-ld-lead-body .qhdr {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vaze-slate);
  font-weight: 800;
  margin-bottom: 12px;
}

.vaze-ld-lead-body .submit {
  width: 100%;
  background: var(--vaze-slate);
  color: #fff;
  border: none;
  border-radius: var(--vaze-radius);
  padding: 14px;
  font-family: Archivo, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}

.vaze-ld-lead-body .submit:hover {
  background: var(--vaze-slate-deep);
}

.vaze-ld-lead-body .submit:disabled,
.vaze-ld-lead-body .submit.is-loading {
  opacity: .72;
  cursor: wait;
}

.vaze-ld-tour-message {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 600;
}

.vaze-ld-tour-message.is-success {
  color: #166534;
}

.vaze-ld-tour-message.is-error {
  color: #b91c1c;
}

.vaze-ld-lead-body .lead-foot {
  font-size: 10.5px;
  color: var(--vaze-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.vaze-ld-compliance {
  background: var(--vaze-ink);
  color: #9aa0aa;
  margin-top: 10px;
}

.vaze-ld-compliance .vaze-ld-wrap {
  padding: 38px 28px 46px;
}

.vaze-ld-attribution {
  border: 1px solid #262a31;
  border-radius: var(--vaze-radius-lg);
  padding: 16px 20px;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.vaze-ld-attribution .court {
  font-size: 13.5px;
  color: #c6c9cf;
}

.vaze-ld-attribution .court b {
  color: #fff;
  font-weight: 600;
}

.vaze-ld-attribution .mls {
  font-size: 12px;
  color: #71777f;
  font-weight: 500;
}

.vaze-ld-foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.vaze-ld-foot-row .bright-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
}

.vaze-ld-foot-row .bright-logo .dot {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 1px;
  transform: rotate(45deg);
}

.vaze-ld-foot-row .upd {
  font-size: 11.5px;
  color: #71777f;
  font-weight: 500;
}

.vaze-ld-compliance .disc {
  font-size: 11px;
  line-height: 1.7;
  color: #6b7178;
  max-width: 940px;
}

.vaze-ld-compliance .disc p {
  margin-bottom: 9px;
}

.vaze-ld-app .vaze-bright-no-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--vaze-muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .vaze-ld-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vaze-ld-lead {
    position: static;
  }

  .vaze-ld-gallery {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .vaze-ld-gallery-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 280px;
    border-radius: var(--vaze-radius-lg);
  }

  .vaze-ld-gallery-cell:nth-child(3),
  .vaze-ld-gallery-cell:nth-child(6) {
    border-radius: var(--vaze-radius);
  }

  .vaze-ld-hero-slider {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .vaze-ld-wrap {
    padding: 0 16px;
  }

  .vaze-ld-titlebar,
  .vaze-ld-priceblk {
    text-align: left;
  }

  .vaze-ld-stats {
    gap: 8px;
  }

  .vaze-ld-stat {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }

  .vaze-ld-facts {
    grid-template-columns: 1fr;
  }

  .vaze-ld-facts .fact:nth-child(odd),
  .vaze-ld-facts .fact:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }

  .vaze-ld-gallery {
    grid-template-columns: 1fr;
  }

  .vaze-ld-gallery-cell {
    min-height: 160px;
  }

  .vaze-ld-hero-slider {
    height: 300px;
  }

  .vaze-ld-hero-slider-nav {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .vaze-ld-hero-slider-nav.is-prev {
    left: 10px;
  }

  .vaze-ld-hero-slider-nav.is-next {
    right: 10px;
  }

  .vaze-ld-gallery-preview-nav {
    display: none;
  }
}

.vaze-ld-gallery-main,
.vaze-ld-gallery-cell {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
}

.vaze-ld-gallery--count-1 {
  grid-template-columns: 1fr;
  grid-template-rows: 500px;
  height: auto;
}

.vaze-ld-gallery--count-1 .vaze-ld-gallery-main {
  grid-row: 1;
  border-radius: var(--vaze-radius-lg);
}

.vaze-ld-gallery--count-2 {
  grid-template-columns: 1.75fr 1fr;
  grid-template-rows: 500px;
  height: auto;
}

.vaze-ld-gallery--count-2 .vaze-ld-gallery-main {
  grid-row: 1;
}

.vaze-ld-gallery--count-3 {
  grid-template-columns: 1.75fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 500px;
}

.vaze-ld-gallery--count-4,
.vaze-ld-gallery--count-5 {
  grid-template-columns: 1.9fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 500px;
}

.vaze-ld-gallery--slider-mode {
  display: block;
  height: auto;
  margin-top: 14px;
  outline: none;
}

.vaze-ld-gallery--slider-mode:focus-visible {
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.28);
  border-radius: var(--vaze-radius-lg);
}

.vaze-ld-hero-slider {
  position: relative;
  height: 520px;
  border-radius: var(--vaze-radius-lg);
  overflow: hidden;
  background: #111827;
}

.vaze-ld-hero-slider-viewport {
  position: relative;
  width: 100%;
  height: 100%;
}

.vaze-ld-hero-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility .45s ease;
  z-index: 1;
}

.vaze-ld-hero-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.vaze-ld-hero-slider-slide.is-entering {
  animation: vaze-ld-hero-fade-in .55s cubic-bezier(.2, .7, .2, 1);
}

.vaze-ld-hero-slider-slide.is-leaving {
  animation: vaze-ld-hero-fade-out .45s ease;
}

@keyframes vaze-ld-hero-fade-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes vaze-ld-hero-fade-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(.98);
  }
}

.vaze-ld-hero-slider-photo-btn {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: zoom-in;
  background: transparent;
}

.vaze-ld-hero-slider-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vaze-ld-hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1a3a5c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.vaze-ld-hero-slider-nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.vaze-ld-hero-slider-nav.is-prev {
  left: 18px;
}

.vaze-ld-hero-slider-nav.is-next {
  right: 18px;
}

.vaze-ld-hero-slider-counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 5;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

.vaze-ld-gallery--slider-mode .vaze-ld-pill {
  z-index: 5;
}

.vaze-ld-gallery--slider-mode .vaze-ld-gallery-actions {
  z-index: 6;
}

.vaze-ld-gallery-preview {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vaze-ld-gallery-preview-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  flex: 1;
  min-width: 0;
}

.vaze-ld-gallery-preview-nav {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #1a3a5c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.vaze-ld-gallery-preview-nav:hover {
  background: #dbe7f3;
  transform: scale(1.05);
}

.vaze-ld-gallery-preview-thumb,
.vaze-ld-gallery-preview-more {
  flex: 0 0 auto;
  width: 92px;
  height: 68px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #eef1f4;
  scroll-snap-align: start;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.vaze-ld-gallery-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vaze-ld-gallery-preview-thumb:hover,
.vaze-ld-gallery-preview-thumb.is-active {
  border-color: #1a3a5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.vaze-ld-gallery-preview-more {
  display: grid;
  place-items: center;
  color: #1a3a5c;
  background: #eef2f7;
  font-size: 14px;
  font-weight: 700;
}

.vaze-ld-titlebar-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.vaze-ld-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vaze-ld-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--vaze-line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--vaze-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s ease;
}

.vaze-ld-save-btn__icon {
  font-size: 16px;
  line-height: 1;
}

.vaze-ld-save-btn:hover,
.vaze-ld-save-btn.saved {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.vaze-listing-share {
  position: relative;
}

.vaze-listing-share__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--vaze-line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--vaze-slate);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .15s ease;
}

.vaze-listing-share__btn:hover {
  border-color: var(--vaze-slate);
  color: var(--vaze-slate-deep);
}

.vaze-listing-share__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--vaze-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .15s ease;
  z-index: 20;
}

.vaze-listing-share__menu.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.vaze-listing-share__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--vaze-ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.vaze-listing-share__item:hover {
  background: #f8fafc;
  color: var(--vaze-ink);
}

.vaze-idx-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vaze-idx-card-fav {
  position: static;
}

.vaze-idx-card-fav.saved {
  color: #dc2626;
}

.vaze-idx-card-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.vaze-idx-card-slider-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vaze-idx-card-slider-slide {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.vaze-idx-card-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.vaze-idx-card-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vaze-idx-card-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1a3a5c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
}

.vaze-idx-card-slider-nav.is-prev {
  left: 10px;
}

.vaze-idx-card-slider-nav.is-next {
  right: 10px;
}

.vaze-idx-card:hover .vaze-idx-card-slider-nav,
.vaze-idx-card-slider:focus-within .vaze-idx-card-slider-nav {
  opacity: 1;
}

.vaze-idx-card-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
}

.vaze-idx-card-slider-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.vaze-idx-card-slider-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.vaze-idx-card-slider-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 4;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.vaze-listing-share--card {
  flex-shrink: 0;
}

.vaze-listing-share--card .vaze-listing-share__btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.vaze-listing-share--card .vaze-listing-share__menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(-6px);
}

.vaze-listing-share--card .vaze-listing-share__menu.is-active {
  transform: translateY(0);
}

.vaze-listing-share--detail {
  flex-shrink: 0;
}

.vaze-listing-share--detail .vaze-listing-share__btn {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.vaze-ld-gallery-actions .vaze-ld-save-btn,
.vaze-ld-gallery-actions .vaze-listing-share__btn {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
}

body.vaze-photo-lightbox-open {
  overflow: hidden;
}

.vaze-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
}

.vaze-photo-lightbox[hidden] {
  display: none !important;
}

.vaze-photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
}

.vaze-photo-lightbox__stage {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  height: min(82vh, 820px);
  display: grid;
  place-items: center;
}

.vaze-photo-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.vaze-photo-lightbox__close,
.vaze-photo-lightbox__nav {
  position: absolute;
  z-index: 3;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease;
}

.vaze-photo-lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.vaze-photo-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 28px;
}

.vaze-photo-lightbox__nav.is-prev {
  left: 20px;
}

.vaze-photo-lightbox__nav.is-next {
  right: 20px;
}

.vaze-photo-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.vaze-photo-lightbox__count {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.55);
  padding: 8px 14px;
  border-radius: 999px;
}

.vaze-photo-lightbox__thumbs {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  max-width: min(92vw, 900px);
  overflow-x: auto;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  scrollbar-width: thin;
}

.vaze-photo-lightbox__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
}

.vaze-photo-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vaze-photo-lightbox__thumb.is-active,
.vaze-photo-lightbox__thumb:hover {
  opacity: 1;
  border-color: #fff;
  transform: translateY(-2px);
}

.vaze-bright-error,
.vaze-bright-empty {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 7px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 14px;
  line-height: 1.5;
}

.vaze-bright-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.vaze-idx-market-filter {
  position: relative;
  min-width: 0;
  z-index: 40;
}

.vaze-idx-market-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 14px 0 16px !important;
  border: 1px solid #d6d8dc !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #15181d !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.vaze-idx-market-filter.is-open .vaze-idx-market-trigger,
.vaze-idx-market-trigger:hover {
  border-color: #9aa1ab !important;
}

.vaze-idx-market-chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #4b5563;
  flex: 0 0 auto;
}

.vaze-idx-market-filter.is-open .vaze-idx-market-chevron {
  transform: rotate(180deg);
}

.vaze-idx-market-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 8px 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  z-index: 80;
}

.vaze-idx-market-section + .vaze-idx-market-section {
  border-top: 1px solid #eceff3;
}

.vaze-idx-market-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.vaze-idx-market-option:hover {
  background: #f8fafc;
}

.vaze-idx-market-option.is-child {
  padding-left: 48px;
  grid-template-columns: 22px minmax(0, 1fr);
}

/* Advanced custom radios / checkboxes: white idle → black selected */
.vaze-idx-market-option input[type="radio"],
.vaze-idx-market-option input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid #d1d5db !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vaze-idx-market-option input[type="radio"] {
  border-radius: 50% !important;
}

.vaze-idx-market-option input[type="checkbox"] {
  border-radius: 5px !important;
}

.vaze-idx-market-option:hover input[type="radio"],
.vaze-idx-market-option:hover input[type="checkbox"] {
  border-color: #9ca3af !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06) !important;
}

.vaze-idx-market-option input[type="radio"]:focus-visible,
.vaze-idx-market-option input[type="checkbox"]:focus-visible {
  outline: none !important;
  border-color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.14) !important;
}

.vaze-idx-market-option input[type="radio"]:checked,
.vaze-idx-market-option input[type="checkbox"]:checked {
  background: #111827 !important;
  border-color: #111827 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2) !important;
}

.vaze-idx-market-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.vaze-idx-market-option input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.vaze-idx-market-option-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vaze-idx-market-option-title {
  color: #111827;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.vaze-idx-market-option-desc {
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.vaze-idx-market-toggle {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  cursor: pointer;
}

.vaze-idx-market-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6b7280;
  transform: translate(-50%, -40%);
}

.vaze-idx-market-toggle[aria-expanded="true"]::before {
  transform: translate(-50%, -60%) rotate(180deg);
}

.vaze-idx-market-footer {
  display: flex;
  justify-content: flex-end;
  padding: 8px 16px 4px;
}

.vaze-idx-market-done,
.vaze-idx-popover-done {
  min-width: 88px !important;
  width: auto !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #111827 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.vaze-idx-market-done:hover,
.vaze-idx-popover-done:hover {
  background: #000 !important;
}

.vaze-idx-compact-filter-strip .vaze-idx-market-trigger {
  height: 40px !important;
  min-height: 40px !important;
  font-size: 14px !important;
}

@media (max-width: 1100px) {
  .vaze-idx-market-panel {
    left: auto;
    right: 0;
  }
}

.vaze-idx-filter-bar {
  display: block;
  width: 100%;
}

/* Shrink-wrap: search field width follows the chip + Search row */
.vaze-idx-filter-main {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-width: 100%;
  vertical-align: top;
}

.vaze-idx-search-row {
  /* Stretch to chip-row width without letting the input's intrinsic min-width expand the cluster */
  width: 0;
  min-width: 100%;
}

.vaze-idx-filter-bar .vaze-idx-search-shell {
  width: 100%;
  min-width: 0;
}

.vaze-idx-filter-bar .vaze-idx-search-input-wrap {
  position: relative;
  min-width: 0;
}

.vaze-idx-filter-bar .vaze-idx-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
  z-index: 2;
}

.vaze-idx-filter-bar .vaze-idx-main-search,
.vaze-idx-app .vaze-idx-filter-bar .vaze-idx-main-search {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding-left: 44px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.vaze-idx-filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.vaze-idx-chip-btn,
.vaze-idx-search-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  flex: 0 0 auto;
}

.vaze-idx-chip-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #4b5563;
}

.vaze-idx-search-submit {
  margin-left: 4px;
  min-width: 96px !important;
  border: 0 !important;
  background: #c81e1e !important;
  color: #fff !important;
  padding: 0 18px !important;
}

.vaze-idx-search-submit:hover {
  background: #b91c1c !important;
}

.vaze-idx-price-filter,
.vaze-idx-beds-filter,
.vaze-idx-market-filter {
  position: relative;
}

.vaze-idx-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 90;
  width: min(360px, calc(100vw - 24px));
  padding: 18px 18px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.vaze-idx-price-popover {
  width: min(360px, calc(100vw - 24px));
}

.vaze-idx-price-summary {
  margin: -4px 0 14px;
  color: #3f5e84;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vaze-idx-price-field-label {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vaze-idx-price-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  margin: 2px 0 12px;
}

.vaze-idx-price-scale span:nth-child(1) {
  text-align: left;
}

.vaze-idx-price-scale span:nth-child(2),
.vaze-idx-price-scale span:nth-child(3),
.vaze-idx-price-scale span:nth-child(4) {
  text-align: center;
}

.vaze-idx-price-scale span:nth-child(5) {
  text-align: right;
}

.vaze-idx-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.vaze-idx-price-preset {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #1f2937 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.vaze-idx-price-preset:hover {
  border-color: #3f5e84 !important;
  color: #324c6b !important;
}

.vaze-idx-price-preset.is-active {
  border-color: #3f5e84 !important;
  background: #eef2f7 !important;
  color: #324c6b !important;
}

.vaze-idx-popover-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1f2937;
}

.vaze-idx-price-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.vaze-idx-price-field {
  display: block;
  min-width: 0;
}

.vaze-idx-price-inputs input {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.vaze-idx-price-inputs input::placeholder {
  color: #9ca3af !important;
  font-weight: 500 !important;
}

.vaze-idx-price-inputs input:focus {
  outline: none !important;
  border-color: #3f5e84 !important;
  box-shadow: 0 0 0 3px rgba(63, 94, 132, 0.18) !important;
}

.vaze-idx-price-dash {
  color: #9ca3af;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}

.vaze-idx-price-slider {
  position: relative;
  margin: 22px 4px 8px;
  height: 32px;
}

.vaze-idx-price-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 999px;
  background: #e5e7eb;
  pointer-events: none;
}

.vaze-idx-price-slider-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0%;
  width: 100%;
  border-radius: 999px;
  background: #111827;
  pointer-events: none;
}

.vaze-idx-price-slider-wrap {
  position: relative;
  height: 32px;
}

.vaze-idx-price-slider-wrap input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
}

.vaze-idx-price-slider-wrap input[type="range"][data-vaze-price-max-range] {
  z-index: 2;
}

.vaze-idx-price-slider-wrap input[type="range"][data-vaze-price-min-range] {
  z-index: 3;
}

.vaze-idx-price-slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
  border: 0;
}

.vaze-idx-price-slider-wrap input[type="range"]::-moz-range-track {
  height: 3px;
  background: transparent;
  border: 0;
}

.vaze-idx-price-slider-wrap input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8.5px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow:
    0 0 0 1px rgba(17, 24, 39, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.16);
  cursor: grab;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.vaze-idx-price-slider-wrap input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow:
    0 0 0 1px rgba(17, 24, 39, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.16);
  cursor: grab;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* Soft gray halo while hovering / focusing / dragging (matches reference) */
.vaze-idx-price-slider-wrap input[type="range"]:hover::-webkit-slider-thumb,
.vaze-idx-price-slider-wrap input[type="range"]:focus::-webkit-slider-thumb,
.vaze-idx-price-slider-wrap input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.02);
  box-shadow:
    0 0 0 8px rgba(156, 163, 175, 0.35),
    0 0 0 1px rgba(17, 24, 39, 0.14),
    0 2px 6px rgba(15, 23, 42, 0.18);
}

.vaze-idx-price-slider-wrap input[type="range"]:hover::-moz-range-thumb,
.vaze-idx-price-slider-wrap input[type="range"]:focus::-moz-range-thumb,
.vaze-idx-price-slider-wrap input[type="range"]:active::-moz-range-thumb {
  box-shadow:
    0 0 0 8px rgba(156, 163, 175, 0.35),
    0 0 0 1px rgba(17, 24, 39, 0.14),
    0 2px 6px rgba(15, 23, 42, 0.18);
}

.vaze-idx-price-slider-wrap input[type="range"]:active::-webkit-slider-thumb,
.vaze-idx-price-slider-wrap input[type="range"]:active::-moz-range-thumb {
  cursor: grabbing;
}

.vaze-idx-popover-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 2px;
}

.vaze-idx-link-btn {
  border: 0 !important;
  background: transparent !important;
  color: #3f5e84 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
}

.vaze-idx-link-btn:hover {
  color: #324c6b !important;
  text-decoration: underline !important;
}

.vaze-idx-choice-block + .vaze-idx-choice-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
}

.vaze-idx-beds-popover {
  width: min(380px, calc(100vw - 24px));
  padding: 18px 18px 14px;
  overflow: hidden;
}

.vaze-idx-beds-summary {
  margin: -4px 0 16px;
  color: #3f5e84;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vaze-idx-choice-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 10px;
}

.vaze-idx-choice-heading strong {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.vaze-idx-choice-heading span {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.vaze-idx-snap-picker {
  position: relative;
  margin: 0 -6px 2px;
  user-select: none;
  -webkit-user-select: none;
}

.vaze-idx-snap-highlight {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 78px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 2px solid #111827;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.04);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  pointer-events: none;
}

.vaze-idx-snap-track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
  padding: 12px 0;
  scrollbar-width: none;
  touch-action: pan-x;
}

.vaze-idx-snap-track::-webkit-scrollbar {
  display: none;
}

.vaze-idx-snap-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.vaze-idx-snap-item {
  flex: 0 0 72px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #6b7280 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  cursor: pointer !important;
  box-shadow: none !important;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: color 0.15s ease, transform 0.15s ease, background-color 0.15s ease !important;
}

.vaze-idx-snap-item:hover {
  color: #111827 !important;
}

.vaze-idx-snap-item.is-active {
  color: #fff !important;
  background: #111827 !important;
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22) !important;
}

.vaze-idx-snap-item:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.18) !important;
}

.vaze-idx-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
}

.vaze-idx-choice-row.is-wrap {
  flex-wrap: wrap;
}

.vaze-idx-choice-grid {
  display: grid;
  gap: 8px;
}

.vaze-idx-choice-grid--beds {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vaze-idx-choice-grid--baths {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vaze-idx-choice-btn {
  flex: 0 0 auto;
  width: auto;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease !important;
}

.vaze-idx-choice-grid .vaze-idx-choice-btn {
  width: 100%;
  padding: 0 10px !important;
}

.vaze-idx-choice-btn:hover {
  border-color: #9ca3af !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06) !important;
}

.vaze-idx-choice-btn:focus-visible {
  outline: none !important;
  border-color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.14) !important;
}

.vaze-idx-choice-btn.is-active {
  border-color: #111827 !important;
  background: #111827 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18) !important;
}

.vaze-idx-choice-btn.is-active:hover {
  border-color: #000 !important;
  background: #000 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.22) !important;
}

@media (max-width: 420px) {
  .vaze-idx-choice-grid--beds,
  .vaze-idx-choice-grid--baths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vaze-idx-snap-item {
    flex-basis: 64px;
  }

  .vaze-idx-snap-highlight {
    width: 70px;
  }
}

.vaze-idx-filters-drawer {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.vaze-idx-filters-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.vaze-idx-filters-panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(92vh, 860px);
  height: auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  transform: none;
  overflow: hidden;
}

.vaze-idx-filters-panel-head {
  position: relative;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #eef2f7;
}

.vaze-idx-filters-panel-title {
  margin: 0 40px 0 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  letter-spacing: -0.02em;
}

.vaze-idx-filters-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.vaze-idx-market-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f8fafc;
  margin-top: 14px;
}

.vaze-idx-market-pill {
  height: 36px !important;
  min-height: 36px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.vaze-idx-market-pill.is-active {
  background: #111827 !important;
  color: #fff !important;
}

.vaze-idx-filters-panel-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 4px 0 24px;
  -webkit-overflow-scrolling: touch;
}

.vaze-idx-drawer-section {
  padding: 18px 18px 20px;
  border-bottom: 1px solid #eef2f7;
}

.vaze-idx-drawer-section h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.vaze-idx-filters-panel .vaze-idx-market-option {
  margin: 0 -6px;
  padding: 10px 6px;
  border-radius: 10px;
}

.vaze-idx-filters-panel .vaze-idx-drawer-section--price .vaze-idx-price-summary {
  margin: -2px 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}

.vaze-idx-price-charts {
  margin: 0 0 14px;
}

.vaze-idx-price-chart-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.vaze-idx-price-chart-tab {
  flex: 1 1 auto;
  min-width: 0;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #4b5563 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vaze-idx-price-chart-tab:hover {
  border-color: #d1d5db !important;
  color: #111827 !important;
}

.vaze-idx-price-chart-tab.is-active {
  border-color: #111827 !important;
  background: #111827 !important;
  color: #fff !important;
}

.vaze-idx-price-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
}

.vaze-idx-price-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vaze-idx-price-chart-legend-item i {
  display: inline-block;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.vaze-idx-price-chart-legend-item.is-active {
  color: #111827;
}

.vaze-idx-price-chart-legend-item.is-coming-soon {
  color: #2563eb;
}

.vaze-idx-price-chart-legend-item.is-pending {
  color: #9ca3af;
}

.vaze-idx-price-chart-canvas {
  position: relative;
  height: 72px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%);
  overflow: hidden;
}

.vaze-idx-price-chart-select {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 100%;
  background: rgba(17, 24, 39, 0.08);
  border-left: 2px solid #111827;
  border-right: 2px solid #111827;
  pointer-events: none;
  transition: left 0.12s ease, right 0.12s ease;
}

.vaze-idx-price-chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.vaze-idx-price-chart-svg path,
.vaze-idx-price-chart-svg polyline {
  vector-effect: non-scaling-stroke;
}

.vaze-idx-filters-panel .vaze-idx-price-inputs {
  margin-bottom: 14px;
}

.vaze-idx-filters-panel .vaze-idx-price-presets {
  margin-top: 12px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.vaze-idx-filters-panel .vaze-idx-price-preset {
  flex: 0 0 auto;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

.vaze-idx-filters-panel .vaze-idx-drawer-section .vaze-idx-snap-picker {
  margin: 0;
}

.vaze-idx-segmented {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 4px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vaze-idx-segmented::-webkit-scrollbar {
  display: none;
}

.vaze-idx-segmented-btn {
  flex: 1 0 auto;
  min-width: 52px;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vaze-idx-segmented-btn:hover {
  background: rgba(17, 24, 39, 0.06) !important;
}

.vaze-idx-segmented-btn.is-active {
  background: #111827 !important;
  color: #fff !important;
}

.vaze-idx-home-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vaze-idx-home-type-tile {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 16px 10px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #111827 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.vaze-idx-home-type-tile:hover {
  border-color: #c7ccd4 !important;
  background: #f9fafb !important;
}

.vaze-idx-home-type-tile.is-active {
  border-color: #111827 !important;
  background: #111827 !important;
  color: #fff !important;
}

.vaze-idx-home-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.vaze-idx-home-type-icon svg {
  display: block;
}

.vaze-idx-home-type-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.vaze-idx-filters-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eef2f7;
  background: #fff;
}

.vaze-idx-filters-apply {
  flex: 1 1 auto;
  max-width: 260px;
  min-width: 140px !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #111827 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.vaze-idx-filters-apply:hover {
  background: #000 !important;
}

html.vaze-idx-filters-open,
html.vaze-idx-filters-open body {
  overflow: hidden;
}

@media (max-width: 900px) {
  .vaze-idx-filter-main {
    display: flex;
    width: 100%;
  }

  .vaze-idx-filter-row {
    flex-wrap: wrap;
    width: 100%;
  }

  .vaze-idx-chip-btn {
    flex: 1 1 calc(50% - 8px);
  }

  .vaze-idx-filters-trigger,
  .vaze-idx-search-submit {
    flex: 1 1 100%;
    margin-left: 0;
    min-width: 0 !important;
  }

  .vaze-idx-filters-drawer {
    padding: 12px;
  }

  .vaze-idx-filters-panel {
    width: 100%;
    max-height: min(94vh, 100%);
    border-radius: 14px;
  }
}

