/* ============================================================
   NonnoGas — Main CSS
   Design: Italian roadside warmth × utility-first precision
   Palette: forest green + warm amber + off-white
   ============================================================ */

/* ─── RESET & VARIABLES ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0d2218;
  --green-800: #1a3a2a;
  --green-700: #22503a;
  --green-600: #2d6b4e;
  --green-500: #3a8a63;
  --green-400: #4daa7d;
  --green-200: #a8d5be;
  --green-100: #d4eedf;
  --green-50:  #f0faf4;

  --amber-600: #c4620a;
  --amber-500: #e07b1a;
  --amber-400: #f5962e;
  --amber-200: #fad4a8;
  --amber-50:  #fef8f0;

  --red-500: #d63a3a;
  --red-50:  #fef0f0;

  --gray-900: #1a1c1e;
  --gray-800: #2c2f33;
  --gray-600: #52575e;
  --gray-400: #8a8f97;
  --gray-200: #d4d6da;
  --gray-100: #edeef0;
  --gray-50:  #f7f8f9;

  --white: #ffffff;
  --cream: #fafaf8;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);

  --navbar-h: 60px;
  --bottom-nav-h: 64px;
  --ad-top-h: 60px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--gray-900);
  font-size: 15px;
  line-height: 1.6;
  padding-top: var(--navbar-h);
  padding-bottom: var(--bottom-nav-h);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { color: var(--gray-600); }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: var(--green-800);
  z-index: 1000;
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
  margin-right: 16px;
}
.logo-icon { font-size: 1.4rem; }
.nav-logo strong { color: var(--amber-400); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--green-200);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.nav-link.active { color: var(--amber-400); }

.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-primary-sm {
  background: var(--amber-500);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: background .15s, transform .1s;
}
.btn-primary-sm:hover { background: var(--amber-600); transform: translateY(-1px); }

.btn-outline-sm {
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--green-200);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.btn-outline-sm:hover { border-color: var(--white); color: var(--white); }

.avatar-btn {
  width: 32px; height: 32px;
  background: var(--green-600);
  border: 2px solid var(--green-400);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  transition: border-color .15s;
}
.avatar-btn:hover { border-color: var(--amber-400); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── AD TOP ─────────────────────────────────────────────── */
.ad-top {
  height: var(--ad-top-h);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-inner {
  width: 100%;
  max-width: 728px;
  padding: 0 16px;
}
.ad-placeholder {
  height: 50px;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300, #ccc);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 12px;
}

/* ─── MAIN CONTENT ───────────────────────────────────────── */
.main-content {
  min-height: calc(100vh - var(--navbar-h) - var(--bottom-nav-h));
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.container-sm { max-width: 600px; margin: 0 auto; padding: 0 16px; }

/* ─── FLASH MESSAGES ─────────────────────────────────────── */
.flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 12px 16px;
  font-size: 14px;
  font-weight: 500;
}
.flash-error { background: var(--red-50); color: var(--red-500); border-left: 3px solid var(--red-500); }
.flash-success { background: var(--green-50); color: var(--green-700); border-left: 3px solid var(--green-500); }

/* ─── BOTTOM NAV (MOBILE) ────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--green-800);
  z-index: 999;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--green-200);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .15s;
}
.bnav-item.active, .bnav-item:hover { color: var(--amber-400); }
.bnav-item svg { transition: transform .15s; }
.bnav-item.active svg { transform: scale(1.1); }

/* ─── HERO (HOME) ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--white);
  padding: 48px 16px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(245,150,46,.2);
  border: 1px solid rgba(245,150,46,.4);
  color: var(--amber-400);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero h1 span { color: var(--amber-400); }
.hero p { color: var(--green-200); max-width: 520px; margin: 0 auto 28px; font-size: 16px; }

/* Search box hero */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 6px;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-lg);
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-900);
  background: transparent;
  border-radius: var(--radius-lg);
}
.hero-search-input::placeholder { color: var(--gray-400); }
.hero-search-btn {
  background: var(--amber-500);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: background .15s, transform .1s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-search-btn:hover { background: var(--amber-600); transform: scale(1.02); }

.locate-btn {
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: var(--radius-md);
  height: 42px;
  padding: 0 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 7px;
  color: var(--gray-600);
  flex-shrink: 0;
  transition: background .15s;
  white-space: nowrap;
  overflow: hidden;
}
.locate-btn:hover { background: var(--green-100); }
.locate-label {
  font-size: 13px;
  font-weight: 600;
  color: #f5962e;
}

/* ─── FUEL FILTERS ───────────────────────────────────────── */
.fuel-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0 0;
}
.fuel-tab {
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  color: var(--green-200);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  background: transparent;
  font-family: var(--font-body);
}
.fuel-tab:hover { border-color: var(--amber-400); color: var(--amber-400); }
.fuel-tab.active { background: var(--amber-500); border-color: var(--amber-500); color: var(--white); }

/* ─── STATION CARDS ──────────────────────────────────────── */
.stations-section { padding: 24px 0; }
.stations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.stations-header h2 { font-size: 1.1rem; }
.sort-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-900);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

.stations-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.station-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  cursor: pointer;
}
.station-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
  transform: translateY(-1px);
}
.station-card.cheapest { border-color: var(--green-400); }
.station-card.favorite { border-color: var(--amber-400); }

.station-card-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.station-brand-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--green-700);
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
}

.station-info { min-width: 0; }
.station-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-display);
}
.station-address {
  font-size: 12px;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.station-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.meta-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.pill-dist { background: var(--gray-100); color: var(--gray-600); }
.pill-open { background: var(--green-100); color: var(--green-700); }
.pill-closed { background: var(--red-50); color: var(--red-500); }
.pill-cheapest { background: var(--green-100); color: var(--green-700); }
.pill-updated { background: var(--amber-50); color: var(--amber-600); font-size: 10px; }

.station-prices {
  text-align: right;
  flex-shrink: 0;
}
.price-main {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
}
.price-main.is-cheap { color: var(--green-600); }
.price-main.is-expensive { color: var(--red-500); }
.price-label { font-size: 10px; color: var(--gray-400); margin-top: 2px; }
.price-servito { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

.station-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
}
.action-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  transition: all .15s;
}
.btn-navigate {
  background: var(--green-700);
  color: var(--white);
}
.btn-navigate:hover { background: var(--green-600); }
.btn-favorite {
  background: var(--gray-100);
  color: var(--gray-600);
}
.btn-favorite:hover { background: var(--amber-50); color: var(--amber-600); }
.btn-favorite.active { background: var(--amber-50); color: var(--amber-500); }

/* ─── MAP PAGE ───────────────────────────────────────────── */
.map-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  height: calc(100vh - var(--navbar-h) - var(--bottom-nav-h) - var(--ad-top-h, 0px));
}
.map-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  overflow: hidden;
}
.map-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.map-sidebar-list {
  overflow-y: auto;
  flex: 1;
  padding: 8px;
}
#map {
  flex: 1;
  z-index: 1;
}

/* ─── FILTERS BAR ────────────────────────────────────────── */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.filters-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-200);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  font-family: var(--font-body);
}
.filter-chip:hover { border-color: var(--green-400); color: var(--green-700); }
.filter-chip.active { background: var(--green-700); border-color: var(--green-700); color: var(--white); }

/* Range slider custom */
.radius-control {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray-600);
}
.radius-control input[type="range"] {
  width: 80px;
  accent-color: var(--green-600);
}

/* ─── AUTH PAGES ─────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - var(--navbar-h) - var(--bottom-nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 32px 16px;
  background: linear-gradient(160deg, var(--green-50) 0%, var(--cream) 60%);
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo .logo-text { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-800); }
.auth-logo strong { color: var(--amber-500); }
.auth-title { font-size: 1.4rem; margin-bottom: 6px; color: var(--green-900); }
.auth-sub { color: var(--gray-400); font-size: 14px; margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
.form-input {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-900);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
}
.form-input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(58,138,99,.12);
}
.form-input.error { border-color: var(--red-500); }

.btn-primary {
  width: 100%;
  background: var(--green-700);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 8px;
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.auth-divider {
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
  margin: 20px 0;
  position: relative;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--gray-200);
}
.auth-divider span { background: var(--white); padding: 0 12px; position: relative; }

.auth-link { color: var(--gray-400); font-size: 13px; text-align: center; margin-top: 20px; }
.auth-link a { color: var(--green-700); font-weight: 600; }

.error-msg { color: var(--red-500); font-size: 12px; margin-top: 4px; display: none; }
.error-msg.show { display: block; }

/* ─── PREFERITI PAGE ─────────────────────────────────────── */
.page-header {
  background: var(--green-800);
  color: var(--white);
  padding: 28px 16px;
}
.page-header h1 { color: var(--white); font-size: 1.5rem; margin-bottom: 4px; }
.page-header p { color: var(--green-200); font-size: 14px; }

.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray-400);
}
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; opacity: .5; }
.empty-state h3 { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ─── LEAFLET CUSTOM ─────────────────────────────────────── */
.custom-marker {
  background: var(--green-700);
  border: 2px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-md);
}
.marker-price {
  transform: rotate(45deg);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  height: 100%; width: 100%;
}
.marker-cheap { background: var(--green-500); }
.marker-expensive { background: var(--red-500); }

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  border: none !important;
  font-family: var(--font-body) !important;
}
.leaflet-popup-tip { display: none; }

/* ─── AD SIDEBAR (desktop) ───────────────────────────────── */
.ad-sidebar {
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 12px;
  margin: 16px 0;
  height: 250px;
}

/* ─── LOADING ─────────────────────────────────────────────── */
.loader {
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  gap: 12px;
  color: var(--gray-400);
  font-size: 14px;
}
.spinner {
  width: 24px; height: 24px;
  border: 2.5px solid var(--green-200);
  border-top-color: var(--green-600);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gray-900);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  z-index: 2000;
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-auth .btn-primary-sm { display: none; }
  .hamburger { display: flex; }
  .bottom-nav { display: flex; }

  body { padding-bottom: var(--bottom-nav-h); }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--green-900);
    padding: 16px;
    gap: 4px;
    z-index: 999;
  }

  .map-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 45vh 1fr;
    height: auto;
  }
  .map-sidebar { max-height: 55vh; order: 2; }
  #map { order: 1; height: 45vh !important; }

  .hero { padding: 32px 16px 40px; }
  .hero-search { padding: 4px; }
  .hero-search-btn span { display: none; }

  /* Su mobile: nascondi testo pulsante posizione, mostra solo icona */
  .locate-label { display: none !important; }
  .locate-btn { width: 42px !important; min-width: 42px !important; max-width: 42px !important; padding: 0 !important; flex-shrink: 0 !important; justify-content: center !important; }
  .hero-search { gap: 4px !important; }

  .auth-card { padding: 28px 20px; }

  .ad-top { display: none; }
}

@media (min-width: 769px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
}

/* ─── HOME STATS ─────────────────────────────────────────── */
.stats-bar {
  background: var(--green-50);
  border-bottom: 1px solid var(--green-100);
  padding: 12px 16px;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 24px; align-items: center;
  font-size: 13px; color: var(--green-700);
  flex-wrap: wrap;
}
.stat-item { display: flex; align-items: center; gap: 5px; }
.stat-item strong { font-family: var(--font-display); font-weight: 700; }
.stat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
