/* ============================================================
   SmogAPP — thème néon sombre
   ============================================================ */

:root {
  --bg: #07070d;
  --bg-2: #0c0c16;
  --card: #11111d;
  --card-2: #161624;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --fg: #e9e9f2;
  --muted: #8b8ba3;
  --violet: #a855f7;
  --magenta: #ec4899;
  --cyan: #22d3ee;
  --turquoise: #2dd4bf;
  --amber: #f59e0b;
  --orange: #f97316;
  --green: #34d399;
  --red: #f87171;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  --glow-violet: 0 0 24px rgba(168, 85, 247, 0.35);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body { background: radial-gradient(1200px 600px at 80% -10%, rgba(168, 85, 247, 0.12), transparent 60%), radial-gradient(900px 500px at -10% 20%, rgba(34, 211, 238, 0.08), transparent 55%), var(--bg); }

a { color: var(--cyan); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(168, 85, 247, 0.4); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Utilitaires ---------- */
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.mono { font-variant-numeric: tabular-nums; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: rgba(255, 255, 255, 0.08); color: var(--fg); white-space: nowrap;
}
.badge.verified { background: rgba(45, 212, 191, 0.14); color: var(--turquoise); }
.badge.pending { background: rgba(245, 158, 11, 0.14); color: var(--amber); }
.badge.active { background: rgba(52, 211, 153, 0.14); color: var(--green); }
.badge.suspended { background: rgba(248, 113, 113, 0.14); color: var(--red); }
.badge.rejected { background: rgba(248, 113, 113, 0.14); color: var(--red); }
.badge.soft { background: rgba(168, 85, 247, 0.14); color: #d8b4fe; }

.stars { color: var(--amber); letter-spacing: 1px; font-size: 12.5px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: 13px; transition: all .15s;
}
.pill:hover { border-color: var(--border-2); color: var(--fg); }
.pill.on { background: linear-gradient(135deg, rgba(168,85,247,.25), rgba(34,211,238,.18)); border-color: var(--violet); color: var(--fg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--border-2);
  background: var(--card-2); color: var(--fg); font-size: 14px; font-weight: 600;
  transition: all .15s; white-space: nowrap;
}
.btn:hover { border-color: rgba(168,85,247,.6); }
.btn.primary { background: linear-gradient(135deg, var(--violet), #7c3aed); border: none; color: #fff; box-shadow: var(--glow-violet); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); border: none; color: #04151f; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(248,113,113,.4); color: var(--red); }
.btn.danger:hover { background: rgba(248,113,113,.1); }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Inputs ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.input, textarea.input, select.input {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--border-2); background: var(--bg-2); color: var(--fg);
  font-size: 14px; font-family: inherit; outline: none; transition: border .15s;
}
.input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(168,85,247,.15); }
textarea.input { resize: vertical; min-height: 80px; }
.input::placeholder { color: rgba(139,139,163,.7); }

/* ---------- Avatars ---------- */
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 15px;
}
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.avatar.xl { width: 80px; height: 80px; font-size: 30px; }

.avatar.violet { background: linear-gradient(135deg, #a855f7, #6d28d9); }
.avatar.cyan { background: linear-gradient(135deg, #22d3ee, #0e7490); }
.avatar.green { background: linear-gradient(135deg, #34d399, #059669); }
.avatar.emerald { background: linear-gradient(135deg, #6ee7b7, #10b981); color: #04231a; }
.avatar.amber { background: linear-gradient(135deg, #f59e0b, #b45309); }
.avatar.orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.avatar.pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.avatar.blue { background: linear-gradient(135deg, #60a5fa, #1d4ed8); }

img.avatar { object-fit: cover; background: var(--card-2); }
.avatar-click { border-radius: 50%; transition: transform .15s ease, box-shadow .15s ease; }
.avatar-click:hover { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(168,85,247,.4); }
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 8px; }
.avatar-pick {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; cursor: pointer;
  border: 2px solid transparent; background: var(--card-2);
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.avatar-pick:hover { transform: scale(1.1); }
.avatar-pick.on { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(168,85,247,.35); }

/* ============================================================
   LANDING (non connecté)
   ============================================================ */
.landing {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(900px 500px at 50% -20%, rgba(168,85,247,.2), transparent 60%),
    radial-gradient(700px 500px at 85% 110%, rgba(34,211,238,.12), transparent 55%),
    var(--bg);
}
.landing-card { width: 100%; max-width: 420px; text-align: center; }
.landing-logo { width: 96px; height: 96px; margin: 0 auto 18px; filter: drop-shadow(0 0 22px rgba(168,85,247,.5)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.wordmark { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.wordmark .smog { background: linear-gradient(90deg, #e9e9f2, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark .app { background: linear-gradient(90deg, var(--amber), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.landing .tagline { color: var(--muted); margin: 6px 0 26px; font-size: 14px; }

.landing-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; text-align: left; box-shadow: var(--shadow); }
.tab-switch { display: flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.tab-switch button { flex: 1; padding: 9px; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.tab-switch button.on { background: linear-gradient(135deg, rgba(168,85,247,.3), rgba(34,211,238,.2)); color: var(--fg); }

.form-error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: var(--red); padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.form-ok { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); color: var(--green); padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.landing-foot { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--muted); }
.trust-row { display: flex; justify-content: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.trust-row .t { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }

/* ---------- Pending gate ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.gate-card { max-width: 460px; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; box-shadow: var(--shadow); }
.gate-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: rgba(245,158,11,.14); }
.gate-card h2 { font-size: 22px; margin-bottom: 10px; }
.gate-card p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ============================================================
   APP SHELL
   ============================================================ */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--bg-2); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 22px 16px;
}
.side-logo { display: flex; align-items: center; gap: 12px; padding: 0 6px 20px; }
.side-logo img { width: 42px; height: 42px; filter: drop-shadow(0 0 14px rgba(168,85,247,.5)); }
.side-logo .wordmark { font-size: 20px; }
.side-logo .sub { font-size: 10.5px; color: var(--muted); letter-spacing: .4px; }

.nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: 11px; color: var(--muted); font-weight: 500; font-size: 14px;
  cursor: pointer; border: none; background: transparent; text-align: left; width: 100%;
  transition: all .15s; position: relative;
}
.nav-item:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.nav-item.on { background: linear-gradient(135deg, rgba(168,85,247,.28), rgba(34,211,238,.16)); color: #fff; box-shadow: 0 0 0 1px rgba(168,85,247,.3); }
.nav-item .ic { width: 20px; text-align: center; font-size: 16px; }
.nav-item .nav-ic { width: 20px; height: 20px; object-fit: contain; }
.nav-item .count { margin-left: auto; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; min-width: 20px; text-align: center; }
.nav-sep { height: 1px; background: var(--border); margin: 12px 6px; }

.side-promo { margin-top: auto; }
.side-promo .card { background: linear-gradient(160deg, rgba(168,85,247,.18), rgba(34,211,238,.1)); border: 1px solid rgba(168,85,247,.25); border-radius: var(--radius); padding: 16px; }
.side-promo .card h4 { font-size: 13.5px; margin-bottom: 4px; }
.side-promo .card p { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

.side-user { display: flex; align-items: center; gap: 10px; padding: 12px 6px 0; border-top: 1px solid var(--border); margin-top: 14px; }
.side-user .uinfo { min-width: 0; }
.side-user .uname { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .urole { font-size: 11px; color: var(--muted); }
.side-user button { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 16px; padding: 4px; }
.side-user button:hover { color: var(--red); }

/* ---------- Main ---------- */
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px; padding: 14px 26px;
  background: rgba(7,7,13,.75); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
}
.search-wrap { flex: 1; position: relative; max-width: 560px; }
.search-wrap input { width: 100%; padding: 10px 14px 10px 40px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--bg-2); color: var(--fg); font-size: 14px; outline: none; }
.search-wrap input:focus { border-color: var(--violet); }
.search-wrap .lens { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.top-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 18px; display: grid; place-items: center; }
.icon-btn:hover { background: rgba(255,255,255,.05); color: var(--fg); }
.icon-btn .dot { position: absolute; top: 7px; right: 7px; background: var(--violet); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 0 5px; min-width: 16px; height: 16px; display: grid; place-items: center; }

.content { flex: 1; padding: 26px; max-width: 1280px; width: 100%; margin: 0 auto; }
.content-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.content-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.content-head .sub { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ---------- Banner ---------- */
.banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 40px 36px; margin-bottom: 32px;
  background:
    radial-gradient(600px 260px at 18% 0%, rgba(168,85,247,.35), transparent 60%),
    radial-gradient(600px 260px at 85% 100%, rgba(34,211,238,.28), transparent 60%),
    linear-gradient(135deg, #141024, #0a1220);
  border: 1px solid rgba(168,85,247,.25);
}
.banner .b-inner { position: relative; z-index: 2; max-width: 640px; }
.banner .wordmark { font-size: 40px; }
.banner .b-sub { color: var(--muted); font-size: 15px; margin: 8px 0 22px; }
.banner .guarantees { display: flex; gap: 18px; flex-wrap: wrap; }
.banner .guarantees .g { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.banner .guarantees .g .ic { font-size: 18px; }

/* Annonces (accueil) */
.b-announces { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 20px; }
.b-announce { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-left: 3px solid var(--violet); border-radius: 10px; padding: 10px 14px; }
.b-announce-title { font-weight: 700; font-size: 14.5px; }
.b-announce-body { color: var(--muted); font-size: 13.5px; margin-top: 2px; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { margin-bottom: 34px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.section-head h2 .ic { font-size: 19px; }
.section-head .see-all { font-size: 13px; color: var(--cyan); cursor: pointer; background: none; border: none; }

.grid { display: grid; gap: 16px; }
.grid.cats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid.sellers { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: all .18s; }

.cat-card { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); cursor: pointer; aspect-ratio: 1.15; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5,5,10,.92)); display: flex; align-items: flex-end; padding: 16px; }
.cat-card .overlay h3 { font-size: 17px; font-weight: 700; }
.cat-card .overlay span { font-size: 12px; color: var(--muted); }

.seller-card { padding: 20px; cursor: pointer; display: flex; flex-direction: column; gap: 12px; }
.seller-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.seller-card .top { display: flex; align-items: center; gap: 12px; }
.seller-card .sname { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.seller-card .sdesc { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seller-card .meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.seller-card .meta b { color: var(--fg); font-weight: 600; }

.product-card { overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow); }
.product-card .pimg { position: relative; aspect-ratio: 1; background: #0a0a14; }
.product-card .pimg img { width: 100%; height: 100%; object-fit: cover; }
.product-card .fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7,7,13,.6); backdrop-filter: blur(6px); border: 1px solid var(--border); color: var(--muted);
  font-size: 16px; display: grid; place-items: center;
}
.product-card .fav.on { color: #f43f5e; border-color: rgba(244,63,94,.4); }
.product-card .pbody { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-card .pname { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.product-card .pweight { font-size: 12px; color: var(--muted); }
.product-card .ppoints { font-size: 12px; color: var(--turquoise); font-weight: 600; margin-top: 2px; }
.product-card .pseller { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.product-card .prow { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-card .price { color: var(--turquoise); font-weight: 700; font-size: 16px; }
.product-card .add { width: 36px; height: 36px; border-radius: 10px; border: none; background: linear-gradient(135deg, var(--violet), #7c3aed); color: #fff; font-size: 17px; display: grid; place-items: center; box-shadow: var(--glow-violet); }
.product-card .add:hover { filter: brightness(1.1); }
.stock-out { opacity: .5; pointer-events: none; }

/* ---------- Tables / listes ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat-card .v { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.stat-card .l { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-card.accent .v { color: var(--violet); }

/* ---------- Chips de statut commande ---------- */
.status-pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.status-pending { background: rgba(245,158,11,.14); color: var(--amber); }
.status-confirmed { background: rgba(34,211,238,.14); color: var(--cyan); }
.status-shipped { background: rgba(168,85,247,.16); color: #d8b4fe; }
.status-delivered { background: rgba(52,211,153,.14); color: var(--green); }
.status-cancelled { background: rgba(248,113,113,.14); color: var(--red); }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; height: calc(100vh - 220px); min-height: 420px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.chat-eph { font-size: 11.5px; color: var(--amber); display: flex; align-items: center; gap: 6px; margin-left: auto; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 72%; padding: 10px 14px; border-radius: 16px; font-size: 14px; word-break: break-word; }
.msg.mine { align-self: flex-end; background: linear-gradient(135deg, rgba(168,85,247,.4), rgba(124,58,237,.4)); border-bottom-right-radius: 4px; }
.msg.theirs { align-self: flex-start; background: var(--card-2); border-bottom-left-radius: 4px; }
.msg .mt { font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); }

/* ---------- Modals ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(4,4,8,.7); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.modal { background: var(--card-2); border: 1px solid var(--border-2); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--card-2); }
.modal-head h3 { font-size: 17px; }
.modal-head .close { background: none; border: none; color: var(--muted); font-size: 22px; line-height: 1; }
.modal-head .close:hover { color: var(--fg); }
.modal-body { padding: 22px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--card-2); border: 1px solid var(--border-2); border-left: 3px solid var(--violet); padding: 12px 16px; border-radius: 12px; font-size: 13.5px; box-shadow: var(--shadow); max-width: 360px; animation: slidein .25s; }
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: rgba(12,12,22,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--border);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bottom-nav .nav-item { flex-direction: column; gap: 2px; font-size: 10px; padding: 6px 0; flex: 1; }
  .bottom-nav .nav-item .ic { font-size: 18px; }
  .bottom-nav .nav-item .count { position: absolute; top: 2px; right: 18%; }
  .content { padding: 18px 14px 90px; }
  .topbar { padding: 10px 14px; }
  .banner { padding: 26px 22px; }
  .banner .wordmark { font-size: 30px; }
  .grid.products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
