/* ============================================================
 * GN Home IDX Search Bar — Light Silver Glassmorphism
 * ============================================================ */
.gn-home-idx {
  display: block;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
@media (max-width: 900px) { .gn-home-idx { width: 90%; } }
@media (max-width: 600px) { .gn-home-idx { width: 96%; } }
.gn-home-idx *, .gn-home-idx *::before, .gn-home-idx *::after { box-sizing: border-box; }

/* ── Outer pill — light silver frosted glass ── */
.gn-home-idx__bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.60);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.55) inset,
    0 0 0 1px rgba(255,255,255,0.25),
    0 8px 32px rgba(0,0,0,0.28),
    0 2px 8px rgba(0,0,0,0.18);
}

/* ── Search icon ── */
.gn-home-idx__searchIcon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: rgba(0,0,0,0.45);
  margin-right: 10px;
}

/* ── Input wrap ── */
.gn-home-idx__inputWrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

/* ── Input — transparent, dark text ── */
.gn-home-idx__input {
  display: block;
  width: 100%;
  height: 44px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 44px;
  color: rgba(0,0,0,0.85) !important;
  -webkit-text-fill-color: rgba(0,0,0,0.85) !important;
  background: transparent !important;
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 9999px rgba(255,255,255,0.01) inset !important;
  caret-color: rgba(0,0,0,0.6);
  -webkit-appearance: none;
  appearance: none;
}
.gn-home-idx__input::placeholder {
  color: rgba(0,0,0,0.38) !important;
  -webkit-text-fill-color: rgba(0,0,0,0.38) !important;
  opacity: 1;
}
.gn-home-idx__input:focus { outline: none !important; box-shadow: none !important; }

/* ── Divider ── */
.gn-home-idx__divider {
  width: 1px;
  height: 22px;
  background: rgba(0,0,0,0.15);
  flex-shrink: 0;
  margin: 0 6px;
}

/* ── Location button ── */
.gn-home-idx__btnLocation {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.55);
  outline: none;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  color: rgba(0,0,0,0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  padding: 0;
  margin-right: 6px;
}
.gn-home-idx__btnLocation:hover { background: rgba(255,255,255,0.55); color: rgba(0,0,0,0.80); }

/* ── Search button ── */
.gn-home-idx__btnSearch {
  height: 40px;
  padding: 0 22px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.55);
  outline: none;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  color: rgba(0,0,0,0.85);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.15s;
}
.gn-home-idx__btnSearch:hover { background: rgba(255,255,255,0.65); }
.gn-home-idx__btnSearch:active { transform: translateY(1px); }

/* ── Filters button ── */
.gn-home-idx__btnFilters {
  height: 40px;
  padding: 0 16px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.45);
  outline: none;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  color: rgba(0,0,0,0.70);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: background 0.15s;
  margin-left: 4px;
}
.gn-home-idx__btnFilters:hover { background: rgba(255,255,255,0.50); }

.gn-home-idx__badge {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  padding: 0 4px;
}
.gn-home-idx__badge[aria-hidden="true"] { display: none; }

/* ── Chips below the bar ── */
.gn-home-idx__chips {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.gn-home-idx__chip {
  height: 34px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.90);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.gn-home-idx__chip:hover { background: rgba(255,255,255,0.35); color: #fff; border-color: rgba(255,255,255,0.65); }
.gn-home-idx__chip.is-active { background: rgba(255,255,255,0.45); color: rgba(0,0,0,0.85); border-color: rgba(255,255,255,0.80); }

/* ============================================================
 * Autocomplete dropdown — Light Silver Glass
 * ============================================================ */
.gn-home-idx__acDrop {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  right: -6px;
  min-width: 340px;
  background: rgba(245,246,250,0.88);
  backdrop-filter: blur(28px) saturate(2.0);
  -webkit-backdrop-filter: blur(28px) saturate(2.0);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 16px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.80) inset,
    0 16px 48px rgba(0,0,0,0.22),
    0 4px 12px rgba(0,0,0,0.12);
  z-index: 9000;
  overflow: hidden;
  display: none;
}
.gn-home-idx__acDrop.is-open { display: block; }
.gn-home-idx__acSection {
  padding: 10px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
}
.gn-home-idx__acItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.12s;
}
.gn-home-idx__acItem:hover { background: rgba(0,0,0,0.06); }
.gn-home-idx__acIcon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.gn-home-idx__acLabel { font-size: 14px; font-weight: 600; color: rgba(0,0,0,0.85); }
.gn-home-idx__acSub { font-size: 12px; color: rgba(0,0,0,0.45); margin-top: 1px; }

/* ── Range row layout (label left, Min to Max on same line) ── */
.gn-home-idx__rng {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.gn-home-idx__rngLabel {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.75);
  white-space: nowrap;
}
.gn-home-idx__rngControls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gn-home-idx__rngControls .gn-home-idx__rngSel {
  flex: 1;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.65);
  color: rgba(0,0,0,0.80);
  font-family: inherit;
  font-size: 13px;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.gn-home-idx__rngTo {
  font-size: 12px;
  color: rgba(0,0,0,0.40);
  flex-shrink: 0;
}

/* ── Checklist 3-column grid ── */
.gn-home-idx__cl {
  margin-bottom: 12px;
}
.gn-home-idx__clList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 12px;
  margin-top: 6px;
}
.gn-home-idx__clLbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,0.75);
  cursor: pointer;
  padding: 4px 0;
  white-space: nowrap;
}
.gn-home-idx__clLbl input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: rgba(0,0,0,0.7);
  cursor: pointer;
}
.gn-home-idx__clLbl:hover { color: rgba(0,0,0,0.90); }

/* ── Bool row ── */
.gn-home-idx__bool {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,0.75);
  cursor: pointer;
  margin-bottom: 8px;
  padding: 4px 0;
}
.gn-home-idx__bool input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: rgba(0,0,0,0.7);
  cursor: pointer;
}
.gn-home-idx__bool:hover { color: rgba(0,0,0,0.90); }

/* ── Section title ── */
.gn-home-idx__secTitle {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.40);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  text-align: left;
}


/* ============================================================
 * Modal / overlay — Light Silver Glassmorphism
 * ============================================================ */
.gn-home-idx__portal {
  position: relative;
  z-index: 2147483600;
}
html.gn-home-idx-modal-open,
body.gn-home-idx-modal-open {
  overflow: hidden !important;
}
.gn-home-idx__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.30);
  z-index: 2147483620 !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gn-home-idx__overlay.is-open { display: block; }

.gn-home-idx__modal {
  display: none;
  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
  width: min(660px, 96vw);
  max-height: min(82vh, calc(100vh - 32px));
  background: rgba(245,246,250,0.88);
  backdrop-filter: blur(32px) saturate(2.0);
  -webkit-backdrop-filter: blur(32px) saturate(2.0);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 24px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.80) inset,
    0 32px 80px rgba(0,0,0,0.28),
    0 8px 24px rgba(0,0,0,0.16);
  z-index: 2147483630 !important;
  isolation: isolate;
  flex-direction: column;
  overflow: hidden;
  color: rgba(0,0,0,0.85);
}
.gn-home-idx__modal.is-open { display: flex; }

.gn-home-idx__mHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.gn-home-idx__mTitle {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(0,0,0,0.85);
}
.gn-home-idx__mClose {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.55);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.gn-home-idx__mClose:hover { background: rgba(0,0,0,0.12); color: rgba(0,0,0,0.85); }

.gn-home-idx__toggle {
  display: flex;
  gap: 8px;
  padding: 14px 22px 10px;
  flex-shrink: 0;
}
.gn-home-idx__tBtn {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.45);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.gn-home-idx__tBtn.is-on {
  background: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.85);
  border-color: rgba(0,0,0,0.20);
}
.gn-home-idx__tBtn:hover:not(.is-on) { background: rgba(0,0,0,0.08); color: rgba(0,0,0,0.65); }

.gn-home-idx__mBody {
  flex: 1;
  overflow-y: auto;
  padding: 14px 22px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.gn-home-idx__mBody::-webkit-scrollbar { width: 4px; }
.gn-home-idx__mBody::-webkit-scrollbar-track { background: transparent; }
.gn-home-idx__mBody::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

.gn-home-idx__mFoot {
  display: flex;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.gn-home-idx__mBtn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.70);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.gn-home-idx__mBtn:hover { background: rgba(0,0,0,0.10); }
.gn-home-idx__mBtn.is-accent {
  background: rgba(0,0,0,0.14);
  color: rgba(0,0,0,0.90);
  border-color: rgba(0,0,0,0.22);
}
.gn-home-idx__mBtn.is-accent:hover { background: rgba(0,0,0,0.20); }

/* Form labels */
.gn-home-idx__lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.40);
  margin-bottom: 6px;
}

/* Text inputs inside modal */
.gn-home-idx__txt {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.65);
  color: rgba(0,0,0,0.85);
  font-family: inherit;
  font-size: 14px;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.15s;
  -webkit-box-shadow: 0 0 0 9999px rgba(255,255,255,0.65) inset !important;
  -webkit-text-fill-color: rgba(0,0,0,0.85) !important;
}
.gn-home-idx__txt:focus { border-color: rgba(0,0,0,0.28); }
.gn-home-idx__txt::placeholder { color: rgba(0,0,0,0.30); -webkit-text-fill-color: rgba(0,0,0,0.30) !important; }

/* Section headers */
.gn-home-idx__sec { margin-bottom: 18px; }
.gn-home-idx__secTitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Range row */
.gn-home-idx__rngRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.gn-home-idx__rngRow select,
.gn-home-idx__rngSel {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.65);
  color: rgba(0,0,0,0.85);
  font-family: inherit;
  font-size: 13px;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.gn-home-idx__rngRow select:focus,
.gn-home-idx__rngSel:focus { border-color: rgba(0,0,0,0.28); }

/* Multi-select */
.gn-home-idx__msWrap { margin-bottom: 10px; }
.gn-home-idx__msBox {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.65);
  padding: 4px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  cursor: text;
}
.gn-home-idx__msTag {
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.80);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.gn-home-idx__msTag:hover { background: rgba(0,0,0,0.18); }
.gn-home-idx__msIn {
  flex: 1 1 80px;
  min-width: 80px;
  height: 28px;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(0,0,0,0.85);
  font-family: inherit;
  font-size: 13px;
  -webkit-box-shadow: 0 0 0 9999px rgba(255,255,255,0.01) inset !important;
  -webkit-text-fill-color: rgba(0,0,0,0.85) !important;
}
.gn-home-idx__msIn::placeholder { color: rgba(0,0,0,0.30); -webkit-text-fill-color: rgba(0,0,0,0.30) !important; }
.gn-home-idx__msDrop {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(245,246,250,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.gn-home-idx__msDrop.is-open { display: block; }
.gn-home-idx__msOpt {
  padding: 9px 14px;
  font-size: 13px;
  color: rgba(0,0,0,0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gn-home-idx__msOpt:hover { background: rgba(0,0,0,0.05); }
.gn-home-idx__msOpt.is-sel { color: rgba(0,0,0,0.90); font-weight: 600; }
.gn-home-idx__msOpt input[type="checkbox"] { accent-color: rgba(0,0,0,0.7); }

/* Quick-pick grid */
.gn-home-idx__qpGrid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gn-home-idx__qpItem {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.55);
  color: rgba(0,0,0,0.60);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.12s, color 0.12s;
}
.gn-home-idx__qpItem:hover,
.gn-home-idx__qpItem.is-sel { background: rgba(0,0,0,0.12); color: rgba(0,0,0,0.85); border-color: rgba(0,0,0,0.22); }
.gn-home-idx__qpDivider {
  width: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.28);
  margin: 6px 0 4px;
}

/* Bool row */
.gn-home-idx__boolRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  color: rgba(0,0,0,0.75);
  font-size: 14px;
}
.gn-home-idx__boolRow input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: rgba(0,0,0,0.7);
  cursor: pointer;
}

@media (max-width: 640px) {
  .gn-home-idx__modal { width: 98vw; border-radius: 18px; }
  .gn-home-idx__mBody { padding: 10px 14px 8px; }
  .gn-home-idx__mHead, .gn-home-idx__mFoot, .gn-home-idx__toggle { padding-left: 14px; padding-right: 14px; }
}

/* Additional extracted utility styles */
.gn-home-idx__msBox {
  position: relative;
}
.gn-home-idx__msBox.is-focus {
  border-color: rgba(0,0,0,0.22);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}
.gn-home-idx__msArrow {
  flex-shrink: 0;
  font-size: 10px;
  color: rgba(0,0,0,0.45);
  margin-left: 6px;
  pointer-events: none;
}
.gn-home-idx__msMsg {
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(0,0,0,0.45);
}
.gn-home-idx__searchAllLabel {
  font-size: 12px;
  font-weight: 900;
  color: #1b7ed6;
  margin: 10px 0 6px;
}
.gn-home-idx__kwSec {
  margin-bottom: 14px;
}
