:root {
  --sb-collapsed: 40px;
  --sb-expanded: 160px;
  --sb-bg: #2c3e50;
  --sb-hover: #34495e;
  --sb-text: #ecf0f1;
  --sb-muted: #bdc3c7;
  --sb-dropdown: #34495e;

  --toolbar-h: 48px;
  
  --radius-card: 18px;
  --radius-pill: 999px;
  --font: 'Plus Jakarta Sans', sans-serif;

  --bg: #f2f3f7;
  --surface: #ffffff;
  --surface-2: #e8eaf2;
  --border: rgba(0,0,0,0.07);
  --text-1: #0f1117;
  --text-2: #5a5f72;
  --text-3: #9499ad;
  --accent: #1a56f0;
  --accent-soft: #eaefff;
  --accent-text: #1240c7;
  --shadow-card: 0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
  --nav-h: 55px;
}

/* ══════════════════════════════
   BOTTOM NAV (mobile)
══════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
  z-index: 2002;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  padding-right: 25px;
  padding-left: 25px;
}

.nav-dot {
  position: absolute; top: 1px; right: 3px;
  width: 10px; height: 10px; background: #ef4444;
  border-radius: 50%; border: 1.5px solid var(--surface);
  opacity: 0;
  transition: opacity 0.3s;
}


.nav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; padding: 10px 4px 6px;
  cursor: pointer; position: relative;
  -webkit-tap-highlight-color: transparent;
  border: none; background: none;
  transition: transform 0.15s ease;
}
.nav-item:active { transform: scale(0.9); }

.nav-icon-wrap {
  position: relative;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
  color: var(--sb-bg);
}
.nav-item.active .nav-icon-wrap { background: var(--accent-soft); }

.nav-item i { font-size: 15px; color: var(--text-3); transition: color 0.2s ease, transform 0.2s ease; }
.nav-item a, .nav-item a:visited { color: inherit; text-decoration: none; }
.nav-item.active i { color: var(--accent); transform: scale(1.1); }

.nav-label {
  font-size: 9px; font-weight: 500;
  color: var(--text-3); letter-spacing: 0.01em;
  transition: color 0.2s ease; white-space: nowrap;
}
.nav-item.active .nav-label { color: var(--accent); font-weight: 700; }

.nav-badge {
  position: absolute; top: -3px; right: -3px;
  width: 8px; height: 8px; background: #ef4444;
  border-radius: 50%; border: 1.5px solid var(--surface);
}

.nav-indicator {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2.5px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item.active .nav-indicator { width: 20px; }

.store-list,
.store-list-filter {
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

/* INDICADOR DE ATIVO */
.nav-item.active .nav-icon-wrap::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--sb-bg);
  border-radius: 999px;
}

.nav-icon-wrap {
  position: relative; /* necessário pro ::before funcionar */
}

.nav-item.active .nav-icon-wrap {
  background: none;
}

.nav-item.active .icon {
  background: none;
}