*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1B2F5E;
  --navy-deep:  #0F1E42;
  --navy-mid:   #253F7A;
  --sky:        #4A8FD4;
  --sky-light:  #7BB3E8;
  --sky-pale:   #EBF4FF;
  --gold:       #F0A500;
  --gold-deep:  #C88400;
  --gold-pale:  #FFF8E6;
  --coral:      #E55A2B;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-100:   #EEF2F8;
  --gray-200:   #D8E2F0;
  --gray-400:   #8FA3C0;
  --gray-600:   #4A6080;
  --text:       #0F1E42;
  --text-mid:   #3A5070;
  --text-light: #7A96B8;
  --shadow-sm:  0 2px 8px rgba(15,30,66,0.08);
  --shadow:     0 4px 20px rgba(15,30,66,0.12);
  --shadow-lg:  0 12px 48px rgba(15,30,66,0.18);
  --shadow-xl:  0 24px 80px rgba(15,30,66,0.25);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

header {
  background: var(--navy-deep);
  padding: 0 2rem;
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}
.logo-wrap { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), #FFD166);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 12px rgba(240,165,0,0.4);
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--gold); }
nav { display: flex; gap: 0.5rem; align-items: center; }
.nav-link {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none; padding: 0.5rem 1rem;
  border-radius: 8px; transition: all 0.2s; background: none; border: none; cursor: pointer;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), #FFB726);
  color: var(--navy-deep);
  font-weight: 700; font-size: 0.85rem;
  padding: 0.55rem 1.4rem;
  border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(240,165,0,0.35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(240,165,0,0.5); }

.site-logo-img {
    display: block;
    max-height: 50px;
    width: auto;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.custom-logo,
.site-logo-img,
.custom-logo-link img {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.custom-logo-link,
.logo-wrap {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #1D3A7A 100%);
  padding: 4.5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-circle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,143,212,0.18) 0%, transparent 70%);
}
.hc1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hc2 { width: 400px; height: 400px; bottom: -150px; left: -80px; background: radial-gradient(circle, rgba(240,165,0,0.12) 0%, transparent 70%); }
.hc3 { width: 300px; height: 300px; top: 50px; left: 40%; background: radial-gradient(circle, rgba(74,143,212,0.1) 0%, transparent 70%); }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--gold);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.65);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.65; font-weight: 300;
}

.search-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  max-width: 720px; margin: 0 auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.3);
}
.search-title {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 1rem;
}
.search-row {
  display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: flex-end;
}
.field-wrap { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; min-width: 180px; }
.field-wrap label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light);
}
.field-wrap input, .field-wrap select {
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem; color: var(--text);
  background: var(--off-white);
  transition: all 0.2s; appearance: none;
}
.field-wrap input:focus, .field-wrap select:focus {
  outline: none; border-color: var(--sky); background: var(--white);
  box-shadow: 0 0 0 3px rgba(74,143,212,0.12);
}
.search-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white); border: none; border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(15,30,66,0.3);
}
.search-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(15,30,66,0.4); }
.search-btn svg { width: 16px; height: 16px; }
.search-footer {
  display: flex; align-items: center; gap: 1rem; margin-top: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--gray-100);
}
.loc-btn {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; color: var(--sky);
  background: var(--sky-pale); border: 1px solid rgba(74,143,212,0.2);
  border-radius: 8px; padding: 0.4rem 0.85rem; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.loc-btn:hover { background: rgba(74,143,212,0.15); }
.search-hint { font-size: 0.78rem; color: var(--text-light); }

.stats-strip {
  background: var(--navy);
  display: flex; justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.1rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }

.app-shell {
  display: grid;
  grid-template-columns: 400px 1fr;
  height: calc(100vh - 68px - 56px - 228px);
  min-height: 600px;
}

.sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.sidebar-top {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar-top h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--text);
}
.chip {
  font-size: 0.72rem; font-weight: 700;
  background: var(--navy); color: var(--white);
  padding: 0.25rem 0.8rem; border-radius: 100px;
}
.chip.gold { background: var(--gold); color: var(--navy-deep); }
.sidebar-filters {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  background: var(--off-white);
}
.filter-chip {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--text-mid);
  cursor: pointer; transition: all 0.15s;
}
.filter-chip:hover, .filter-chip.active {
  border-color: var(--navy); background: var(--navy); color: var(--white);
}
.sale-list {
  overflow-y: auto; flex: 1;
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.sale-list::-webkit-scrollbar { width: 4px; }
.sale-list::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 10px; }
.sale-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: visible;
  box-sizing: border-box;
}
.sale-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--sky);
  border-radius: 0 2px 2px 0;
  opacity: 0; transition: opacity 0.2s;
}
.sale-card:hover { border-color: var(--sky-light); box-shadow: var(--shadow); transform: translateX(3px); }
.sale-card.active { border-color: var(--sky); background: var(--sky-pale); box-shadow: 0 0 0 3px rgba(74,143,212,0.15); }
.sale-card.active::after { opacity: 1; }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; min-width: 0; }
.sc-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.3;
  min-width: 0; flex: 1;
}
.dist-pill {
  font-size: 0.68rem; font-weight: 800;
  background: linear-gradient(135deg, var(--sky), var(--navy-mid));
  color: white; padding: 0.2rem 0.65rem;
  border-radius: 100px; flex-shrink: 0;
  white-space: nowrap;
}
.sc-addr { font-size: 0.79rem; color: var(--text-light); margin-bottom: 0.55rem; display: flex; align-items: center; gap: 0.3rem; }
.sc-tags { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.tag {
  font-size: 0.68rem; font-weight: 600;
  padding: 0.18rem 0.55rem; border-radius: 6px;
  background: var(--sky-pale); color: var(--navy-mid);
  border: 1px solid rgba(74,143,212,0.2);
}
.sc-meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.73rem; color: var(--text-light); }
.sc-dot { width: 3px; height: 3px; background: var(--gray-400); border-radius: 50%; }
.empty-state {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem 2rem; text-align: center; color: var(--text-light);
}
.empty-state .es-icon { font-size: 3.5rem; margin-bottom: 1.25rem; opacity: 0.7; }
.empty-state h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--text-mid); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.83rem; line-height: 1.6; max-width: 240px; }

.map-area {
  position: relative; overflow: hidden;
  background: #cdd8ec;
}
#gst-map {
  width: 100%;
  height: 100%;
  min-height: 600px;
}
.mapboxgl-ctrl-top-right { top: 1rem; right: 1rem; }
.mapboxgl-ctrl-group {
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: var(--shadow) !important;
}

#gst-count-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 10;
  background: #1B2F5E;
  color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  box-shadow: 0 2px 12px rgba(15,30,66,0.25);
  display: none;
}
#gst-locate-btn {
  position: absolute;
  bottom: 16px; right: 16px;
  z-index: 10;
  background: #fff;
  border: 1px solid #D8E2F0;
  border-radius: 10px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 8px rgba(15,30,66,0.12);
  font-size: 16px; transition: background .2s;
}
#gst-locate-btn:hover { background: #EBF4FF; border-color: #B5D4F4; }
#gst-loading {
  position: absolute; inset: 0;
  background: rgba(247,249,252,0.88);
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; z-index: 20;
  font-size: 13px; font-weight: 600; color: #1B2F5E;
}
#gst-loading.show { display: flex; }
.gst-spinner {
  width: 36px; height: 36px;
  border: 3px solid #D8E2F0;
  border-top-color: #4A8FD4;
  border-radius: 50%;
  animation: gst-spin .7s linear infinite;
}
@keyframes gst-spin { to { transform: rotate(360deg); } }

.gst-popup .mapboxgl-popup-content {
  border-radius: 14px !important;
  padding: 14px 16px !important;
  box-shadow: 0 8px 32px rgba(15,30,66,0.18) !important;
  border: 1px solid #D8E2F0 !important;
  max-width: 260px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.gst-popup .mapboxgl-popup-close-button {
  font-size: 16px !important;
  color: #7A96B8 !important;
  right: 10px !important; top: 8px !important;
}
.gst-popup .mapboxgl-popup-tip { border-top-color: #fff !important; }
.gst-popup-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.gst-popup-tag {
  font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 4px;
  background: #EBF4FF; color: #185FA5;
}
.gst-popup-title {
  font-size: 14px; font-weight: 700;
  color: #0f1e42; margin-bottom: 3px;
  line-height: 1.3; padding-right: 16px;
}
.gst-popup-meta {
  font-size: 11px; color: #7A96B8;
  margin-bottom: 10px; line-height: 1.4;
}
.gst-popup-divider { height: 1px; background: #EEF2F8; margin-bottom: 10px; }
.gst-addr-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; background: #F7F9FC;
  border: 1px solid #D8E2F0; border-radius: 8px;
  padding: 8px 10px; cursor: pointer;
  text-align: left; transition: all .15s;
  text-decoration: none; box-sizing: border-box;
}
.gst-addr-btn:hover { background: #EBF4FF; border-color: #B5D4F4; }
.gst-addr-btn:hover .gst-addr-text { color: #185FA5; }
.gst-addr-label { font-size: 9px; color: #7A96B8; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1px; }
.gst-addr-text  { font-size: 12px; color: #0f1e42; font-weight: 600; line-height: 1.3; }
.gst-maps-row { display: flex; gap: 6px; margin-top: 7px; }
.gst-maps-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 4px; border-radius: 8px;
  border: 1px solid #D8E2F0; background: #fff;
  font-size: 11px; font-weight: 600; color: #4A6080;
  cursor: pointer; transition: all .15s; text-decoration: none;
  font-family: inherit;
}
.gst-maps-btn.gm:hover { background: #EAF3DE; color: #3B6D11; border-color: #C0DD97; }
.gst-maps-btn.am:hover { background: #EBF4FF; color: #185FA5; border-color: #B5D4F4; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,50,0.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: 24px; padding: 2.5rem;
  width: 100%; max-width: 560px;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(0.97);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 90vh; overflow-y: auto;
  border: 1px solid var(--gray-100);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem;
}
.modal-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 900; color: var(--text);
}
.modal-head p { font-size: 0.82rem; color: var(--text-light); margin-top: 0.2rem; }
.close-btn {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1.5px solid var(--gray-200); background: transparent;
  font-size: 1rem; cursor: pointer; color: var(--text-light);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.close-btn:hover { background: var(--gray-100); color: var(--text); }
.form-grid { display: grid; gap: 1.1rem; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.f-field { display: flex; flex-direction: column; gap: 0.35rem; }
.f-field label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light);
}
.f-field input, .f-field select, .f-field textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; color: var(--text); background: var(--off-white);
  transition: all 0.2s; appearance: none;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none; border-color: var(--sky); background: var(--white);
  box-shadow: 0 0 0 3px rgba(74,143,212,0.1);
}
.f-field textarea { resize: vertical; min-height: 75px; }
.tag-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.t-opt {
  font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  background: var(--off-white); color: var(--text-mid);
  cursor: pointer; transition: all 0.15s; user-select: none;
}
.t-opt.sel { border-color: var(--navy); background: var(--navy); color: white; }
.form-submit {
  width: 100%; padding: 1rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: white; border: none; border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; margin-top: 0.5rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(15,30,66,0.25);
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(15,30,66,0.35); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-deep); color: white;
  padding: 0.9rem 2rem; border-radius: 100px;
  font-weight: 600; font-size: 0.88rem;
  box-shadow: var(--shadow-xl); z-index: 3000;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── How It Works / App Download / Seller Flow ───────────────────────────────── */
.hiw-section {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.hiw-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hiw-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hiw-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.hiw-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.hiw-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(240,165,0,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.hiw-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hiw-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.hiw-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

.hiw-app-cta {
  margin: 2.5rem auto 0;
  padding: 1.35rem 1.5rem;
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.hiw-app-copy {
  text-align: left;
  max-width: 520px;
}

.hiw-app-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.hiw-app-cta strong {
  display: block;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.hiw-app-cta p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hiw-app-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.hiw-store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 145px;
  min-height: 52px;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, var(--gold), #ffbf2f);
  color: var(--navy-deep);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(240,165,0,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hiw-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240,165,0,0.38);
  color: var(--navy-deep);
}

.store-btn-small {
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
  opacity: 0.85;
}

.store-btn-large {
  margin-top: 0.18rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
}

.seller-flow {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.seller-flow-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}

.seller-grid {
  margin-top: 0;
}

.seller-flow-cta {
  margin-top: 2rem;
  text-align: center;
}

.seller-flow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  padding: 0.95rem 1.45rem;
  background: linear-gradient(135deg, var(--gold), #ffbf2f);
  color: var(--navy-deep);
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(240,165,0,0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.seller-flow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240,165,0,0.38);
}

@media (max-width: 768px) {
  .hiw-grid {
    grid-template-columns: 1fr;
  }

  .hiw-app-cta {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .hiw-app-copy {
    text-align: center;
    max-width: none;
  }

  .hiw-app-actions {
    width: 100%;
    justify-content: center;
  }

  .hiw-store-btn {
    flex: 1;
    min-width: 135px;
  }

  .seller-flow {
    margin-top: 3.5rem;
    padding-top: 3rem;
  }

  .seller-flow-title {
    font-size: 1.75rem;
  }

  .seller-flow-btn {
    width: 100%;
  }

  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 340px auto;
    height: auto;
    min-height: unset;
  }

  .map-area {
    min-height: 340px;
  }

  #gst-map {
    min-height: 340px;
  }

  nav {
    gap: 0.25rem;
  }

  .nav-link {
    display: none;
  }

  .search-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-2col {
    grid-template-columns: 1fr;
  }
}

/* ── Auth ──────────────────────────────────────────────────── */
.nav-signin {
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.45rem 1.1rem;
  border-radius: 8px; cursor: pointer;
  transition: all 0.2s;
}
.nav-signin:hover { background: rgba(255,255,255,0.18); color: white; }

.google-auth-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0.85rem; border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.google-auth-btn:hover { border-color: var(--sky); background: var(--sky-pale); }
.google-g { font-size: 1rem; font-weight: 800; color: #4285F4; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-light); font-size: 0.78rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-200);
}

.auth-switch {
  text-align: center; font-size: 0.83rem; color: var(--text-light);
}
.auth-switch a { color: var(--sky); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

.nav-avatar-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: 5px 12px 5px 6px;
  cursor: pointer; transition: all 0.2s;
}
.nav-avatar-btn:hover { background: rgba(255,255,255,0.18); }
.nav-avatar-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: #4A8FD4; color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
#nav-avatar-name { color: #fff; font-size: 13px; font-weight: 600; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border: 0.5px solid var(--gray-200);
  border-radius: 14px; width: 230px;
  box-shadow: 0 12px 40px rgba(15,30,66,0.18);
  z-index: 2000; overflow: hidden;
}
.nav-dd-header {
  padding: 14px 16px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}
.nav-dd-name { font-size: 14px; font-weight: 700; color: var(--text); }
.nav-dd-email { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.nav-dd-stats {
  display: flex;
  border-bottom: 1px solid var(--gray-100);
}
.nav-dd-stat {
  flex: 1; text-align: center; padding: 10px 0;
  border-right: 1px solid var(--gray-100);
}
.nav-dd-stat:last-child { border-right: none; }
.nav-dd-stat-num {
  display: block; font-size: 18px; font-weight: 700; color: var(--gold);
}
.nav-dd-stat-lbl {
  font-size: 9px; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.nav-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: 13px;
  font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer; transition: background 0.15s;
}
.nav-dd-item:last-child { border-bottom: none; }
.nav-dd-item:hover { background: var(--off-white); }
.nav-dd-danger { color: #E24B4A; }
.nav-dd-danger svg { stroke: #E24B4A; }
.nav-dd-badge {
  background: var(--gold); color: var(--navy-deep);
  font-size: 10px; font-weight: 700;
  padding: 1px 7px; border-radius: 20px; margin-left: auto;
}
.view-toggle-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.view-tabs {
  display: flex;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 10px; overflow: hidden;
}
.view-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text-mid);
  background: none; border: none; cursor: pointer;
  transition: all 0.15s;
}
.view-tab.active {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}
.view-tab:not(.active):hover { background: var(--gray-100); }

/* List view card */
.list-view-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem;
  cursor: pointer; transition: all 0.2s;
}
.list-view-card:hover { border-color: var(--sky-light); box-shadow: var(--shadow); }
.list-view-card-body { flex: 1; min-width: 0; }
.list-view-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.list-view-card-addr { font-size: 0.8rem; color: var(--text-light); margin-bottom: 6px; }
.list-view-card-meta { font-size: 0.75rem; color: var(--text-light); }
.list-view-card-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.list-view-heart { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-light); transition: color 0.15s; }
.list-view-heart.saved { color: #E24B4A; }

#gst-list-view {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--off-white);
	
}

#gst-saved-drawer { position: fixed; inset: 0; z-index: 3000; pointer-events: none; }
#gst-saved-drawer.open { pointer-events: all; }
.gst-drawer-backdrop { position: absolute; inset: 0; background: rgba(10,20,50,0.4); opacity: 0; transition: opacity 0.3s; }
#gst-saved-drawer.open .gst-drawer-backdrop { opacity: 1; }
.gst-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 340px; background: #fff; box-shadow: -8px 0 32px rgba(15,30,66,0.15); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
#gst-saved-drawer.open .gst-drawer { transform: translateX(0); }
.gst-drawer-header { background: #1B2F5E; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.gst-drawer-title { color: #fff; font-size: 15px; font-weight: 700; }
.gst-drawer-badge { background: #F0A500; color: #1B2F5E; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.gst-drawer-close { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 18px; cursor: pointer; }
.gst-drawer-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.gst-drawer-card { background: #F7F9FC; border: 1px solid var(--gray-100); border-radius: 12px; padding: 12px 14px; position: relative; }
.gst-drawer-remove { position: absolute; top: 10px; right: 10px; background: none; border: none; color: #E24B4A; font-size: 13px; cursor: pointer; }
.gst-drawer-card-title { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; padding-right: 20px; }
.gst-drawer-card-addr { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.gst-drawer-card-meta { font-size: 11px; color: var(--text-light); margin-bottom: 10px; }
.gst-drawer-card-actions { display: flex; gap: 6px; }
.gst-drawer-btn-dir { flex: 1; background: #4A8FD4; color: #fff; border: none; border-radius: 7px; font-size: 12px; font-weight: 600; padding: 7px 0; cursor: pointer; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.gst-drawer-btn-det { flex: 1; background: #fff; color: var(--text); border: 1px solid var(--gray-200); border-radius: 7px; font-size: 12px; font-weight: 600; padding: 7px 0; cursor: pointer; }

.gst-listing-card { padding: 1rem 1.5rem; }
.gst-listing-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 6px; }
.gst-listing-title { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--text); flex: 1; }
.gst-listing-status { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; flex-shrink: 0; }
.gst-listing-status.active { background: #EAF3DE; color: #3B6D11; }
.gst-listing-status.inactive { background: var(--gray-100); color: var(--text-light); }
.gst-listing-meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
.gst-listing-actions { display: flex; gap: 8px; }
.gst-listing-btn-deact { flex: 1; background: #fff; color: var(--text-light); border: 1px solid var(--gray-200); border-radius: 8px; font-size: 12px; font-weight: 600; padding: 8px 0; cursor: pointer; }
.gst-listing-btn-repost { flex: 1; background: #EBF4FF; color: #185FA5; border: none; border-radius: 8px; font-size: 12px; font-weight: 600; padding: 8px 0; cursor: pointer; }


/* GarageSaleTrails - Above-the-fold app download CTA */
.hero-app-cta {
  margin: 1.15rem auto 0;
  padding: 1rem 1.15rem;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(27,47,94,0.10);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(15,30,66,0.16);
  backdrop-filter: blur(10px);
}

.hero-app-copy {
  text-align: left;
}

.hero-app-copy span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-app-copy strong {
  display: block;
  color: var(--navy-deep);
  font-size: 1rem;
  line-height: 1.35;
}

.hero-app-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.hero-store-badge-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.hero-store-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.hero-store-badge-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 145px;
}

@media (max-width: 768px) {
  .hero-app-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.85rem;
    padding: 1rem;
  }

  .hero-app-copy {
    text-align: center;
  }

  .hero-app-badges {
    justify-content: center;
  }

  .hero-store-badge-img {
    height: 44px;
    max-width: 155px;
  }
}


/* GST Homepage CTA Polish - 2026-05-23
   Updates: remove hero badge spacing, larger hero headline/subtext, larger search title,
   centered location footer, refined app download CTA, and official store badges in How It Works. */

.hero {
  padding: 4.75rem 2rem 6.25rem;
}

.hero-badge {
  display: none !important;
}

.hero-inner {
  max-width: 1040px;
}

.hero h1 {
  font-size: clamp(3.35rem, 7.2vw, 5.7rem);
  line-height: 0.98;
  margin-bottom: 1.45rem;
}

.hero-sub {
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  max-width: 720px;
  line-height: 1.55;
  margin-bottom: 3rem;
}

.search-card {
  max-width: 820px;
  padding: 2rem 2.4rem 2.1rem;
}

.search-title {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.25rem;
}

.search-footer {
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
}

.search-hint {
  font-size: 0.9rem;
}

.loc-btn {
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.55rem 1.1rem;
}

.hero-app-cta {
  margin: 1.65rem auto 0;
  padding: 1.25rem 1.65rem;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(15,30,66,0.18);
  backdrop-filter: blur(12px);
}

.hero-app-copy {
  text-align: center;
  flex: 1 1 auto;
}

.hero-app-copy span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-app-copy strong {
  display: block;
  color: var(--navy-deep);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
}

.hero-app-copy p {
  margin: 0.45rem auto 0;
  max-width: 520px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-app-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.hero-store-badge-img {
  height: 48px;
  max-width: 166px;
}

.hiw-app-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.hiw-store-badge-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.hiw-store-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.hiw-store-badge-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 166px;
}

@media (max-width: 768px) {
  .hero {
    padding: 3.25rem 1rem 4.25rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 1;
  }

  .hero-sub {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .search-card {
    padding: 1.5rem 1.2rem;
  }

  .search-title {
    font-size: 0.86rem;
  }

  .search-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
  }

  .hero-app-cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.2rem;
    max-width: 720px;
  }

  .hero-app-copy {
    text-align: center;
  }

  .hero-app-badges {
    justify-content: center;
    width: 100%;
  }

  .hero-store-badge-img,
  .hiw-store-badge-img {
    height: 46px;
    max-width: 160px;
  }

  .hiw-app-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .hero-store-badge-img,
  .hiw-store-badge-img {
    height: 44px;
    max-width: 152px;
  }
}

/* GST Homepage Search + App CTA Refinement - 2026-05-23
   Updates: location button beside search, remove helper line, improve hero type overlap,
   center map on chosen location, and polish app CTA banner. */

.hero h1 {
  font-size: clamp(3.25rem, 6.9vw, 5.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.015em !important;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

.hero h1 em {
  letter-spacing: -0.01em;
}

.search-card {
  max-width: 900px;
}

.search-title {
  font-size: 1.03rem !important;
  color: var(--navy) !important;
}

.search-row {
  align-items: flex-end;
  justify-content: center;
}

.search-footer,
.search-hint {
  display: none !important;
}

.loc-btn-inline {
  min-height: 58px;
  padding: 0 1.2rem !important;
  border-radius: 14px !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  background: #EDF4FC !important;
  color: var(--sky) !important;
  border: 2px solid rgba(74,143,212,0.22) !important;
  box-shadow: none !important;
}

.loc-btn-inline:hover {
  background: rgba(74,143,212,0.16) !important;
  transform: translateY(-1px);
}

.search-btn {
  min-height: 58px;
  border-radius: 14px;
}

.hero-app-cta {
  max-width: 900px !important;
  padding: 1.45rem 1.6rem !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 1.5rem !important;
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  border-radius: 28px !important;
}

.hero-app-copy {
  text-align: center !important;
}

.hero-app-copy span {
  font-size: 0.78rem !important;
  letter-spacing: 0.16em !important;
  margin-bottom: 0.45rem !important;
}

.hero-app-copy strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
}

.hero-app-copy p {
  max-width: 560px !important;
  margin: 0.5rem auto 0 !important;
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
}

.hero-app-badges {
  justify-content: center !important;
  gap: 0.85rem !important;
}

.hero-store-badge-img,
.hiw-store-badge-img {
  height: 50px !important;
  max-width: 176px !important;
}

@media (max-width: 900px) {
  .search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .search-row .field-wrap:first-child {
    grid-column: 1 / -1;
  }

  .loc-btn-inline,
  .search-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-app-cta {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.85rem) !important;
    line-height: 1.03 !important;
  }

  .search-card {
    padding: 1.6rem 1.25rem 1.75rem !important;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .hero-store-badge-img,
  .hiw-store-badge-img {
    height: 46px !important;
    max-width: 165px !important;
  }
}


/* GST refinement - search actions beside Search + hero title overlap fix */
.hero h1 {
  font-size: clamp(3.15rem, 6.4vw, 5rem) !important;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
  font-kerning: none !important;
  font-variant-ligatures: none !important;
  text-rendering: geometricPrecision !important;
  overflow-wrap: normal;
}

.hero h1 em {
  letter-spacing: 0 !important;
  font-kerning: none !important;
  font-variant-ligatures: none !important;
}

.search-card {
  max-width: 960px !important;
}

.search-title {
  font-size: 1.08rem !important;
}

.search-row-updated {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.6fr) minmax(155px, 0.55fr) auto !important;
  gap: 1rem !important;
  align-items: end !important;
}

.search-row-updated .search-location-field,
.search-row-updated .search-radius-field {
  min-width: 0 !important;
  flex: initial !important;
}

.search-actions {
  display: flex !important;
  align-items: end !important;
  gap: 0.65rem !important;
  white-space: nowrap !important;
}

.search-actions .search-btn,
.search-actions .loc-btn-inline {
  min-height: 58px !important;
  height: 58px !important;
  margin: 0 !important;
}

.search-actions .search-btn {
  padding: 0 1.35rem !important;
}

.search-actions .loc-btn-inline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 1rem !important;
  border-radius: 14px !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  background: #EDF4FC !important;
  color: var(--sky) !important;
  border: 2px solid rgba(74,143,212,0.22) !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.search-actions .loc-btn-inline:hover {
  background: rgba(74,143,212,0.16) !important;
  transform: translateY(-1px);
}

.search-footer,
.search-hint {
  display: none !important;
}

@media (max-width: 980px) {
  .search-row-updated {
    grid-template-columns: 1fr 1fr !important;
  }
  .search-row-updated .search-location-field {
    grid-column: 1 / -1 !important;
  }
  .search-actions {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.55rem) !important;
    line-height: 1.08 !important;
  }
  .search-row-updated {
    grid-template-columns: 1fr !important;
  }
  .search-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .search-actions .search-btn,
  .search-actions .loc-btn-inline {
    width: 100% !important;
  }
}
/* Fix hero title letter overlap */
.hero h1 {
  letter-spacing: -0.015em !important;
  font-variant-ligatures: none !important;
  font-feature-settings: "liga" 0, "kern" 1 !important;
}

.hero h1 em {
  letter-spacing: -0.01em !important;
}
/* Correct top navigation spacing fix */
header nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1rem !important;
}

header nav .nav-link,
header nav .nav-signin,
header nav .nav-cta,
header nav .nav-user-wrap {
  margin: 0 !important;
}

header nav .nav-link {
  padding: 0.55rem 0.9rem !important;
}

header nav .nav-signin {
  padding: 0.55rem 1.25rem !important;
}

header nav .nav-cta {
  padding: 0.65rem 1.55rem !important;
}

@media (min-width: 769px) {
  header nav {
    gap: 1rem !important;
  }
}
/* Search card heading refinement */
.search-title {
  color: var(--gold) !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.035em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin-bottom: 1.65rem !important;
}

.search-title::first-letter {
  text-transform: none;
}

@media (max-width: 768px) {
  .search-title {
    font-size: 1rem !important;
    letter-spacing: 0.025em !important;
    margin-bottom: 1.25rem !important;
  }
}
/* Increase app CTA eyebrow text */
.hero-app-copy span {
  font-size: 1.05rem !important;
  letter-spacing: 0.12em !important;
}
/* Match Search and Use My Location button typography */
.search-btn,
.loc-btn {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.search-btn svg {
  width: 20px !important;
  height: 20px !important;
}

.loc-btn {
  color: #4A8FD4 !important;
}