/* ElevateHer Africa — Wall of Trade. Design system (DESIGN-BRIEF.md Appendix A): tokens measured from the reference, flat fills, one shadow level. */
:root {
  --purple-900:#130238; --purple-800:#1F1033; --purple-700:#261449; --purple-600:#2E1A5E; --purple-100:#EDE9F3; --purple-50:#F6F3FA;
  --orange-600:#ED572E; --orange-500:#F8703D; --orange-400:#FB7541; --orange-100:#FDF2EC;
  --gold-600:#CA9034; --gold-400:#D1A05F; --gold-200:#F0D2A7; --gold-50:#FDF2DD;
  --surface:#FFFFFF; --page:#F8F7F8; --border:#E7E5EC; --text-body:#595569; --text-muted:#9A97AB; --text-ink:#120F1E; --hero-wash:#FFF7F1;
  --ok:#4E9671; --ok-bg:#E4F7ED; --pending:#CD9F6B; --pending-bg:#FDF2DD; --bad:#C0392B; --bad-bg:#FBEAE8; --info:#3F5AA6; --info-bg:#E8EDFA;
  --shadow:0 1px 2px rgba(19,2,56,.04), 0 8px 24px rgba(19,2,56,.06);
  --r-card:16px; --r-btn:10px; --r-input:10px; --r-thumb:12px; --sidebar:232px; --font:'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --font-script:'Dancing Script', 'Segoe Script', cursive;
}
* { box-sizing:border-box; } [hidden] { display:none !important; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; font-family:var(--font); font-size:14px; line-height:1.5; color:var(--text-body); background:var(--page); -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4 { color:var(--purple-800); margin:0 0 8px; line-height:1.2; font-weight:700; }
h1 { font-size:34px; } h2 { font-size:24px; } h3 { font-size:18px; font-weight:600; } h4 { font-size:15px; font-weight:600; }
p { margin:0 0 12px; } a { color:var(--orange-600); text-decoration:none; } a:hover { text-decoration:underline; }
img { max-width:100%; display:block; } svg:not([width]) { width:18px; height:18px; vertical-align:middle; flex:none; } .tick svg, .step .n svg { width:12px; height:12px; } button, input, select, textarea { font:inherit; color:inherit; }
:focus-visible { outline:2px solid var(--orange-500); outline-offset:2px; border-radius:4px; }
.muted { color:var(--text-muted); } .ink { color:var(--text-ink); } .small { font-size:12px; } .tiny { font-size:11px; } .strong { font-weight:700; color:var(--text-ink); } .center { text-align:center; } .right { text-align:right; } .nowrap { white-space:nowrap; }
.mt8{margin-top:8px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mb8{margin-bottom:8px}.mb16{margin-bottom:16px}.mb24{margin-bottom:24px}.gap8{gap:8px}
.row { display:flex; align-items:center; gap:12px; } .row.between { justify-content:space-between; } .row.wrap { flex-wrap:wrap; } .row.top { align-items:flex-start; } .grow { flex:1; min-width:0; } .stack { display:flex; flex-direction:column; gap:8px; }
.kicker { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:1.2px; color:var(--gold-400); margin-bottom:6px; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.boot { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; } .boot-bar { width:160px; height:4px; background:var(--purple-100); border-radius:4px; overflow:hidden; } .boot-bar span { display:block; width:40%; height:100%; background:var(--orange-500); animation:boot 1s infinite linear; } @keyframes boot { from { transform:translateX(-100%);} to { transform:translateX(260%);} }

/* buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 18px; border-radius:var(--r-btn); border:1px solid transparent; font-size:16px; font-weight:600; cursor:pointer; background:var(--surface); color:var(--purple-800); text-decoration:none; transition:background .15s, transform .05s; white-space:nowrap; }
.btn:hover { text-decoration:none; } .btn:active { transform:translateY(1px); } .btn:disabled { opacity:.55; cursor:not-allowed; }
.btn-primary { background:var(--orange-600); color:#fff; } .btn-primary:hover { background:var(--orange-500); }
.btn-outline { border-color:var(--border); background:var(--surface); color:var(--purple-800); } .btn-outline:hover { background:var(--purple-50); }
.btn-purple { background:var(--purple-700); color:#fff; } .btn-purple:hover { background:var(--purple-600); }
.btn-ghost { background:transparent; color:var(--purple-800); } .btn-ghost:hover { background:var(--purple-50); }
.btn-danger { background:var(--bad-bg); color:var(--bad); } .btn-white { background:#fff; color:var(--purple-800); }
.btn-sm { min-height:36px; padding:0 14px; font-size:14px; } .btn-xs { min-height:30px; padding:0 10px; font-size:12px; border-radius:8px; } .btn-block { width:100%; } .btn-icon { width:40px; min-height:40px; padding:0; border-radius:50%; }
.btn svg { width:18px; height:18px; flex:none; } .btn-xs svg { width:14px; height:14px; }
.link { background:none; border:0; padding:0; color:var(--orange-600); font-weight:600; cursor:pointer; } .link:hover { text-decoration:underline; }

/* cards */
.card { background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); padding:20px; border:1px solid transparent; } .card.dense { padding:16px; } .card.flat { box-shadow:none; border-color:var(--border); } .card.tint { background:var(--orange-100); } .card.gold { background:var(--gold-50); } .card.purple { background:var(--purple-700); color:#fff; } .card.purple h1,.card.purple h2,.card.purple h3 { color:#fff; }
.card-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; } .card-title h3 { margin:0; }
.grid { display:grid; gap:16px; } .grid > *, .dash-bands > *, .dash-bottom > *, .kpi-row > *, .card { min-width:0; } select.input, .field select { min-width:0; } .grid-2 { grid-template-columns:repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns:repeat(3, minmax(0,1fr)); } .grid-4 { grid-template-columns:repeat(4, minmax(0,1fr)); } .grid-5 { grid-template-columns:repeat(5, minmax(0,1fr)); }
.band { margin-bottom:24px; }

/* kpi */
.kpi { display:flex; gap:14px; align-items:flex-start; } .kpi .chip { width:40px; height:40px; border-radius:12px; background:var(--orange-100); color:var(--orange-500); display:flex; align-items:center; justify-content:center; flex:none; } .kpi .chip svg { width:20px; height:20px; }
.kpi .label { font-size:13px; font-weight:500; color:var(--text-body); } .kpi .value { font-size:clamp(22px, 2.4vw, 30px); white-space:nowrap; font-weight:700; color:var(--text-ink); line-height:1.1; margin:2px 0; } .kpi .delta { font-size:12px; font-weight:600; color:var(--ok); } .kpi .delta.down { color:var(--bad); } .kpi .vs { font-size:11px; color:var(--text-muted); }
.kpi-row { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px; }

/* pills and badges */
.pill { display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:600; white-space:nowrap; background:var(--purple-100); color:var(--purple-700); }
.pill.ok { background:var(--ok-bg); color:var(--ok); } .pill.pending { background:var(--pending-bg); color:#A67A3D; } .pill.bad { background:var(--bad-bg); color:var(--bad); } .pill.info { background:var(--info-bg); color:var(--info); } .pill.orange { background:var(--orange-100); color:var(--orange-600); } .pill.gold { background:var(--gold-50); color:var(--gold-600); } .pill.dark { background:var(--purple-700); color:#fff; }
.pill.lg { padding:6px 14px; font-size:13px; }
.sample { display:inline-flex; align-items:center; gap:6px; font-size:11px; color:var(--text-muted); border:1px dashed var(--border); border-radius:999px; padding:2px 8px; }
.dot { width:8px; height:8px; border-radius:50%; background:currentColor; display:inline-block; }

/* forms */
.field { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; } .field label { font-size:13px; font-weight:600; color:var(--purple-800); } .field label .req { color:var(--orange-500); margin-left:2px; }
.input, .field input:not([type=radio]):not([type=checkbox]):not([type=file]), .field select, .field textarea { width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--border); border-radius:var(--r-input); background:var(--surface); color:var(--text-ink); font-size:15px; }
.field textarea { min-height:96px; resize:vertical; } .field input:not([type=radio]):not([type=checkbox]):focus, .field select:focus, .field textarea:focus { border-color:var(--orange-500); outline:2px solid var(--orange-500); outline-offset:1px; }
.field .hint { font-size:12px; color:var(--text-muted); } .field .error { font-size:12px; color:var(--bad); font-weight:600; } .field.invalid input, .field.invalid select, .field.invalid textarea { border-color:var(--bad); }
.field .counter { font-size:11px; color:var(--text-muted); text-align:right; } .check { display:block; position:relative; padding-left:32px; font-size:14px; line-height:1.5; color:var(--text-body); margin-bottom:12px; cursor:pointer; } .check input { position:absolute; left:0; top:2px; } .check input { width:20px; height:20px; margin:1px 0 0; accent-color:var(--orange-500); flex:none; }
.form-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 16px; } .input-row { display:flex; gap:8px; } .input-row .input { flex:1; }
.search { position:relative; min-width:220px; } .search svg { position:absolute; left:14px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:var(--text-muted); } .search input { padding-left:42px; border-radius:999px; background:var(--page); border-color:transparent; } .search input:focus { background:#fff; }
.choice { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:10px; } .choice label { border:1px solid var(--border); border-radius:12px; padding:12px; cursor:pointer; display:flex; gap:10px; align-items:center; font-weight:600; color:var(--purple-800); background:#fff; } .choice label:has(input:checked) { border-color:var(--orange-500); background:var(--orange-100); } .choice input { accent-color:var(--orange-500); width:18px; height:18px; min-height:0; flex:none; }
.radio-cards { display:grid; gap:10px; } .radio-cards label { border:1px solid var(--border); border-radius:12px; padding:12px 14px; cursor:pointer; display:flex; gap:12px; align-items:center; background:#fff; } .radio-cards label:has(input:checked) { border-color:var(--orange-500); background:var(--orange-100); } .radio-cards input { accent-color:var(--orange-500); width:18px; height:18px; }

/* tables */
.table { width:100%; border-collapse:collapse; font-size:13px; } .table th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.6px; color:var(--text-muted); font-weight:600; padding:8px 10px; border-bottom:1px solid var(--border); } .table td { padding:12px 10px; border-bottom:1px solid var(--border); vertical-align:middle; color:var(--text-body); } .table tr:last-child td { border-bottom:0; } .table td.num, .table th.num { text-align:right; font-variant-numeric:tabular-nums; } .table tr.click { cursor:pointer; } .table tr.click:hover td { background:var(--purple-50); }
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* tabs */
.tabs { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; } .tabs::-webkit-scrollbar { display:none; } .tab { border:1px solid var(--border); background:#fff; border-radius:999px; padding:7px 14px; font-size:13px; font-weight:600; color:var(--purple-800); cursor:pointer; white-space:nowrap; } .tab.active { background:var(--purple-700); color:#fff; border-color:var(--purple-700); } .tab .n { opacity:.7; margin-left:4px; font-weight:500; }
.tabs.underline { gap:0; border-bottom:1px solid var(--border); } .tabs.underline .tab { border:0; border-radius:0; border-bottom:2px solid transparent; padding:10px 14px; background:none; } .tabs.underline .tab.active { color:var(--orange-600); border-bottom-color:var(--orange-500); }

/* progress and steps */
.progress { height:6px; background:var(--gold-50); border-radius:6px; overflow:hidden; } .progress span { display:block; height:100%; background:var(--orange-500); border-radius:6px; transition:width .4s; } .progress.gold span { background:var(--gold-600); } .progress.ok span { background:var(--ok); }
.checklist { list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; } .checklist li { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--text-ink); } .checklist .tick { width:20px; height:20px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; flex:none; background:var(--ok-bg); color:var(--ok); } .checklist .tick svg { width:12px; height:12px; } .checklist .tick.todo { background:#fff; border:2px solid var(--border); } .checklist li.todo { color:var(--text-body); }
.steps { display:flex; align-items:flex-start; justify-content:space-between; position:relative; margin:4px 0 20px; } .steps::before { content:''; position:absolute; left:10%; right:10%; top:16px; height:2px; background:var(--border); } .step { position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; flex:1; font-size:11px; font-weight:600; color:var(--text-muted); text-align:center; } .step .n { width:32px; height:32px; border-radius:50%; background:#fff; border:2px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:13px; } .step.active .n { background:var(--orange-500); border-color:var(--orange-500); color:#fff; } .step.active { color:var(--purple-800); } .step.done .n { background:var(--ok); border-color:var(--ok); color:#fff; } .step.done { color:var(--text-body); }
.timeline { list-style:none; margin:0; padding:0 0 0 4px; } .timeline li { position:relative; padding:0 0 18px 24px; font-size:13px; } .timeline li::before { content:''; position:absolute; left:4px; top:5px; width:10px; height:10px; border-radius:50%; background:var(--border); border:2px solid #fff; box-shadow:0 0 0 1px var(--border); } .timeline li::after { content:''; position:absolute; left:8px; top:17px; bottom:-2px; width:2px; background:var(--border); } .timeline li:last-child::after { display:none; } .timeline li.done::before { background:var(--ok); box-shadow:0 0 0 1px var(--ok); } .timeline li.now::before { background:var(--orange-500); box-shadow:0 0 0 1px var(--orange-500); } .timeline .t { font-weight:600; color:var(--text-ink); } .timeline .when { font-size:11px; color:var(--text-muted); }

/* bars chart */
.bars { display:flex; align-items:flex-end; gap:10px; height:120px; padding-top:8px; } .bars .bar { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; gap:6px; min-width:0; } .bars .bar i { display:block; width:100%; max-width:36px; background:var(--gold-600); border-radius:6px 6px 2px 2px; min-height:3px; } .bars .bar.now i { background:var(--orange-500); } .bars .bar.faint i { background:var(--gold-200); } .bars .bar b { font-size:11px; font-weight:500; color:var(--text-muted); }
.bars .bar .v { font-size:10px; color:var(--text-muted); } .bars.tall { height:180px; }

/* product card */
.product-card { background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column; color:inherit; text-decoration:none; transition:transform .15s; } .product-card:hover { transform:translateY(-2px); text-decoration:none; }
.product-card .ph { aspect-ratio:4/3; background:var(--page); overflow:hidden; position:relative; } .product-card .ph img { width:100%; height:100%; object-fit:cover; } .product-card .ph .pill { position:absolute; left:10px; top:10px; }
.product-card .meta { padding:12px 14px 14px; } .product-card .name { font-weight:700; color:var(--text-ink); font-size:14px; margin-bottom:2px; } .product-card .cat { font-size:12px; color:var(--text-muted); } .product-card .price { display:flex; align-items:center; justify-content:space-between; margin-top:8px; font-weight:700; color:var(--text-ink); font-size:15px; } .product-card .price .heart { color:var(--text-muted); width:20px; height:20px; }
.product-card .seller { font-size:11px; color:var(--text-muted); margin-top:4px; }
.product-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.thumb { width:36px; height:36px; border-radius:var(--r-thumb); object-fit:cover; background:var(--page); flex:none; } .thumb.lg { width:56px; height:56px; } .thumb.xl { width:80px; height:80px; }
.avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; background:var(--orange-100); display:inline-flex; align-items:center; justify-content:center; color:var(--orange-600); font-weight:700; flex:none; } .avatar.lg { width:64px; height:64px; font-size:22px; }

/* order rows */
.order-row { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--border); } .order-row:last-child { border-bottom:0; } .order-row .no { font-weight:700; color:var(--text-ink); font-size:13px; } .order-row .sub { font-size:11px; color:var(--text-muted); } .order-row .end { margin-left:auto; text-align:right; display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.list { list-style:none; margin:0; padding:0; } .list li { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); } .list li:last-child { border-bottom:0; }

/* layout: public */
.site { min-height:100vh; display:flex; flex-direction:column; } .site main { flex:1; }
.topnav { position:sticky; top:0; z-index:30; background:rgba(255,255,255,.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--border); } .topnav .in { max-width:1200px; margin:0 auto; padding:0 24px; height:72px; display:flex; align-items:center; gap:20px; } .topnav .logo img { height:44px; width:auto; } .topnav nav { display:flex; gap:4px; margin-left:12px; } .topnav nav a { padding:8px 12px; border-radius:8px; color:var(--purple-800); font-weight:600; font-size:14px; } .topnav nav a:hover { background:var(--purple-50); text-decoration:none; } .topnav nav a.active { color:var(--orange-600); } .topnav .actions { margin-left:auto; display:flex; gap:8px; align-items:center; }
.topnav .burger { display:none; } .mobile-menu { display:none; }
.wrap { max-width:1200px; margin:0 auto; padding:0 24px; } .section { padding:56px 0; } .wrap.section { padding-left:24px; padding-right:24px; } .section-title { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:24px; } .section-title h2 { margin:0; } .section-title p { margin:4px 0 0; }
.hero { background:var(--purple-700); color:#fff; position:relative; overflow:hidden; } .hero .in { max-width:1200px; margin:0 auto; padding:72px 24px; display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; position:relative; } .hero h1 { color:#fff; font-size:48px; font-weight:800; margin-bottom:16px; } .hero h1 em { font-style:normal; color:var(--orange-500); } .hero p.lead { font-size:18px; color:rgba(255,255,255,.85); max-width:520px; margin-bottom:28px; } .hero .cta { display:flex; gap:12px; flex-wrap:wrap; } .hero .kicker { color:var(--gold-200); }
.hero .art { position:relative; display:flex; justify-content:center; } .hero .art img { width:min(360px, 80%); filter:drop-shadow(0 20px 40px rgba(0,0,0,.35)); } .hero .leaf { position:absolute; border-radius:50% 50% 50% 50% / 60% 60% 40% 40%; opacity:.9; } .hero .quote { position:absolute; right:0; bottom:24px; background:#fff; color:var(--purple-800); border-radius:14px; padding:14px 18px; max-width:220px; font-weight:700; box-shadow:var(--shadow); } .hero .quote .bar { height:3px; width:32px; background:var(--gold-600); margin-top:8px; border-radius:3px; }
.hero .stats { display:flex; gap:28px; margin-top:36px; flex-wrap:wrap; } .hero .stats b { display:block; font-size:28px; color:#fff; } .hero .stats span { font-size:13px; color:rgba(255,255,255,.7); }
.photo-fallback { background:var(--orange-100); display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-height:160px; } .photo-fallback img { width:40%; max-width:160px; opacity:.6; }
.leaves { position:absolute; inset:0; overflow:hidden; pointer-events:none; } .leaves i { position:absolute; display:block; width:260px; height:120px; border-radius:100% 0 100% 0; opacity:.9; } .leaves .a { background:var(--orange-500); left:-80px; top:-30px; transform:rotate(-20deg); } .leaves .b { background:var(--gold-600); right:-60px; bottom:-40px; transform:rotate(-30deg); } .leaves .c { background:var(--gold-200); right:30%; top:-60px; transform:rotate(25deg); opacity:.35; } .leaves .d { background:var(--orange-100); left:20%; bottom:-70px; transform:rotate(15deg); opacity:.25; }
.cat-tiles { display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:12px; } .cat-tile { background:#fff; border-radius:14px; box-shadow:var(--shadow); padding:16px 12px; display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; color:var(--purple-800); font-weight:600; font-size:13px; } .cat-tile:hover { text-decoration:none; background:var(--orange-100); } .cat-tile .ic { width:44px; height:44px; border-radius:12px; background:var(--orange-100); color:var(--orange-500); display:flex; align-items:center; justify-content:center; } .cat-tile .ic svg { width:22px; height:22px; } .cat-tile small { font-weight:500; color:var(--text-muted); }
.how { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; } .how .card { position:relative; padding-top:28px; } .how .num { position:absolute; top:-14px; left:20px; width:32px; height:32px; border-radius:50%; background:var(--orange-500); color:#fff; font-weight:700; display:flex; align-items:center; justify-content:center; }
.seller-tile { background:#fff; border-radius:var(--r-card); box-shadow:var(--shadow); overflow:hidden; color:inherit; } .seller-tile:hover { text-decoration:none; } .seller-tile .cover { height:90px; background:var(--purple-700); } .seller-tile .cover img { width:100%; height:100%; object-fit:cover; } .seller-tile .body { padding:0 16px 16px; } .seller-tile .avatar { margin-top:-24px; border:3px solid #fff; box-shadow:var(--shadow); } .seller-tile .name { font-weight:700; color:var(--text-ink); margin-top:8px; } .seller-tile .story { font-size:13px; color:var(--text-body); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin-top:6px; }
.impact-strip { background:var(--purple-700); color:#fff; border-radius:var(--r-card); padding:32px; display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; position:relative; overflow:hidden; } .impact-strip b { display:block; font-size:34px; font-weight:800; } .impact-strip span { font-size:13px; color:rgba(255,255,255,.75); }
.cta-band { background:var(--orange-100); border-radius:var(--r-card); padding:40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; } .cta-band h2 { margin:0 0 6px; }
.footer { background:var(--purple-700); color:rgba(255,255,255,.75); padding:48px 0 24px; margin-top:40px; } .footer .cols { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; } .footer h4 { color:#fff; margin-bottom:12px; } .footer a { color:rgba(255,255,255,.75); display:block; margin-bottom:8px; } .footer a:hover { color:#fff; } .footer .tag { font-size:18px; font-weight:700; color:var(--gold-200); margin-top:14px; letter-spacing:.2px; } .footer .base { border-top:1px solid rgba(255,255,255,.12); margin-top:32px; padding-top:16px; font-size:12px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }

/* layout: app shell (seller / admin) */
.shell { display:flex; min-height:100vh; } .sidebar { width:var(--sidebar); flex:none; background:var(--purple-700); color:#fff; padding:16px; display:flex; flex-direction:column; position:sticky; top:0; height:100vh; overflow-y:auto; } .sidebar .logo { padding:8px 8px 18px; } .sidebar .logo img { height:44px; width:auto; }
.sidebar nav { display:flex; flex-direction:column; gap:4px; } .sidebar nav a { display:flex; align-items:center; gap:12px; height:44px; padding:0 14px; border-radius:10px; color:rgba(255,255,255,.7); font-weight:500; font-size:14px; } .sidebar nav a svg { width:20px; height:20px; flex:none; } .sidebar nav a:hover { background:var(--purple-600); color:#fff; text-decoration:none; } .sidebar nav a.active { background:var(--orange-500); color:#fff; font-weight:600; } .sidebar nav a .n { margin-left:auto; background:rgba(255,255,255,.2); border-radius:999px; padding:0 7px; font-size:11px; } .sidebar nav a.active .n { background:rgba(255,255,255,.3); }
.sidebar .foot { margin-top:auto; padding:16px 8px 4px; } .sidebar .foot img { width:80px; opacity:.9; } .sidebar .foot .tag { font-size:16px; font-weight:700; color:#fff; line-height:1.25; margin-top:10px; } .sidebar .foot .bar { width:60px; height:3px; background:var(--gold-600); margin-top:10px; border-radius:3px; } .sidebar .foot small { display:block; color:rgba(255,255,255,.5); margin-top:10px; font-size:11px; }
.shell main { flex:1; min-width:0; display:flex; flex-direction:column; }
.topbar { height:72px; display:flex; align-items:center; gap:16px; padding:0 24px; background:var(--surface); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:20; } .topbar .search { flex:1; max-width:460px; } .topbar .bell { position:relative; } .topbar .bell .n { position:absolute; top:-2px; right:-2px; background:var(--orange-500); color:#fff; font-size:10px; font-weight:700; min-width:18px; height:18px; border-radius:999px; display:flex; align-items:center; justify-content:center; padding:0 4px; border:2px solid #fff; } .topbar .who { display:flex; align-items:center; gap:10px; margin-left:auto; cursor:pointer; } .topbar .who .name { font-weight:700; color:var(--text-ink); font-size:14px; line-height:1.1; } .topbar .who .role { font-size:11px; color:var(--text-muted); }
.content { padding:24px; flex:1; } .page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:20px; flex-wrap:wrap; } .page-head h1 { font-size:26px; margin:0; } .page-head p { margin:4px 0 0; }
.welcome { background:var(--hero-wash); border-radius:var(--r-card); box-shadow:var(--shadow); padding:32px; display:grid; grid-template-columns:1fr auto; gap:24px; position:relative; overflow:hidden; min-height:220px; } .welcome h1 { font-size:36px; margin:0 0 6px; } .welcome h1 em { font-style:normal; color:var(--orange-500); } .welcome .lead { font-size:15px; color:var(--text-body); margin-bottom:20px; } .welcome .art { position:relative; width:340px; display:flex; align-items:center; justify-content:flex-end; padding:8px 24px 36px 0; } .welcome .art .blob { width:230px; aspect-ratio:1/1; border-radius:52% 48% 46% 54% / 60% 56% 44% 40%; overflow:hidden; box-shadow:var(--shadow); background:var(--orange-100); display:flex; align-items:center; justify-content:center; } .welcome .art .blob img { width:100%; height:100%; object-fit:cover; display:block; } .welcome .art .blob img.mark { width:70%; height:auto; object-fit:contain; } .welcome .quote { position:absolute; left:0; bottom:0; background:#fff; border-radius:12px; padding:12px 14px; font-weight:700; color:var(--purple-800); box-shadow:var(--shadow); max-width:190px; font-size:14px; } .welcome .quote .bar { height:3px; width:28px; background:var(--gold-600); margin-top:8px; border-radius:3px; } .welcome .bg-leaf { position:absolute; width:300px; height:140px; border-radius:100% 0 100% 0; opacity:.5; pointer-events:none; } .welcome .bg-leaf.one { background:var(--gold-200); right:120px; top:-70px; transform:rotate(30deg); } .welcome .bg-leaf.two { background:var(--orange-100); right:-80px; bottom:-60px; transform:rotate(-20deg); }
.dash-bands { display:grid; grid-template-columns:1fr 1.2fr; gap:16px; } .dash-bottom { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.nudge { background:var(--orange-100); border-radius:12px; padding:14px; margin-top:14px; } .nudge b { color:var(--purple-800); display:block; margin-bottom:4px; }
.empty { text-align:center; padding:32px 16px; color:var(--text-body); } .empty .ic { width:56px; height:56px; border-radius:16px; background:var(--orange-100); color:var(--orange-500); display:inline-flex; align-items:center; justify-content:center; margin-bottom:12px; } .empty .ic svg { width:26px; height:26px; } .empty h3 { margin-bottom:4px; } .empty p { max-width:360px; margin:0 auto 14px; }
.skel { background:linear-gradient(90deg, var(--purple-100) 25%, var(--page) 50%, var(--purple-100) 75%); background-size:200% 100%; animation:skel 1.2s infinite; border-radius:8px; min-height:14px; } @keyframes skel { from { background-position:200% 0; } to { background-position:-200% 0; } } .skel.block { min-height:120px; border-radius:var(--r-card); } .skel.line { margin-bottom:10px; width:70%; }
.sheet { background:var(--surface); border-radius:var(--r-card); box-shadow:var(--shadow); padding:24px; max-width:720px; margin:0 auto; } .sheet.narrow { max-width:480px; }
.img-tiles { display:flex; gap:10px; flex-wrap:wrap; } .img-tiles .tile { width:72px; height:72px; border-radius:12px; overflow:hidden; position:relative; border:1px solid var(--border); background:var(--page); } .img-tiles .tile img { width:100%; height:100%; object-fit:cover; } .img-tiles .tile .x { position:absolute; top:2px; right:2px; width:20px; height:20px; border-radius:50%; background:rgba(19,2,56,.7); color:#fff; border:0; font-size:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; } .img-tiles .add { width:72px; height:72px; border-radius:12px; border:2px dashed var(--border); background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:11px; font-weight:600; color:var(--purple-800); cursor:pointer; } .img-tiles .add svg { width:20px; height:20px; }
.footbar { position:sticky; bottom:0; background:#fff; padding:12px 0 0; margin-top:16px; border-top:1px solid var(--border); display:flex; gap:10px; }
.auth { min-height:100vh; display:grid; grid-template-columns:1fr 1fr; } .auth .side { background:var(--purple-700); color:#fff; padding:48px; display:flex; flex-direction:column; gap:28px; position:relative; overflow:hidden; } .auth-photo { position:relative; width:min(440px, 100%); aspect-ratio:4/3; border-radius:28px 80px 28px 28px; overflow:hidden; box-shadow:var(--shadow); } .auth-photo img { width:100%; height:100%; object-fit:cover; display:block; } .auth-photo .cap { position:absolute; left:14px; bottom:14px; background:#fff; color:var(--purple-800); border-radius:10px; padding:8px 12px; font-size:13px; font-weight:700; } .auth .side img.logo { height:52px; width:auto; } .auth .side h2 { color:#fff; font-size:34px; margin-top:40px; } .auth .side h2 em { font-style:normal; color:var(--orange-500); } .auth .side p { color:rgba(255,255,255,.8); max-width:400px; font-size:16px; } .auth .side .tag { margin-top:auto; font-size:18px; font-weight:700; color:var(--gold-200); letter-spacing:.2px; } .auth .form { display:flex; align-items:center; justify-content:center; padding:40px 24px; } .auth .form .card { width:100%; max-width:440px; padding:32px; }
.code-input { letter-spacing:10px; font-size:26px; text-align:center; font-weight:700; }
.demo-box { background:var(--gold-50); border:1px dashed var(--gold-400); border-radius:10px; padding:10px 12px; font-size:13px; color:#7A5A1F; margin-bottom:12px; } .demo-box b { font-size:18px; letter-spacing:3px; color:var(--purple-800); }
.notice { background:var(--info-bg); color:var(--info); border-radius:10px; padding:10px 14px; font-size:13px; margin-bottom:12px; } .notice.warn { background:var(--pending-bg); color:#8A6230; } .notice.bad { background:var(--bad-bg); color:var(--bad); } .notice.ok { background:var(--ok-bg); color:var(--ok); }
.cookie-note { position:fixed; left:16px; right:16px; bottom:16px; z-index:45; background:var(--purple-800); color:#fff; border-radius:14px; padding:14px 16px; display:flex; align-items:center; gap:14px; box-shadow:0 12px 30px rgba(19,2,56,.3); font-size:13px; max-width:720px; margin:0 auto; } .cookie-note a { color:var(--gold-200); } .footer .legal a { display:inline; margin:0 10px 0 0; } .footer .legal a:last-child { margin:0; }
.offline-bar { background:var(--purple-800); color:#fff; font-size:12px; padding:6px 12px; text-align:center; } .offline-bar.show { display:block; } .offline-bar:not(.show) { display:none; }

/* modal and toasts */
.modal-bg { position:fixed; inset:0; background:rgba(19,2,56,.5); z-index:50; display:flex; align-items:center; justify-content:center; padding:16px; } .modal { background:#fff; border-radius:var(--r-card); width:100%; max-width:520px; max-height:90vh; overflow:auto; padding:24px; box-shadow:0 20px 60px rgba(19,2,56,.3); } .modal h3 { margin-bottom:12px; } .modal .acts { display:flex; gap:10px; justify-content:flex-end; margin-top:16px; flex-wrap:wrap; } .modal.wide { max-width:760px; }
.toasts { position:fixed; bottom:20px; right:20px; z-index:60; display:flex; flex-direction:column; gap:8px; } .toast { background:var(--purple-800); color:#fff; padding:12px 16px; border-radius:12px; font-size:14px; box-shadow:var(--shadow); max-width:360px; animation:toast .2s; display:flex; gap:10px; align-items:center; } .toast.ok { background:var(--ok); } .toast.bad { background:var(--bad); } @keyframes toast { from { opacity:0; transform:translateY(8px);} }

/* storefront / product detail */
.store-head { border-radius:var(--r-card); overflow:hidden; box-shadow:var(--shadow); background:#fff; } .store-head .cover { height:200px; background:var(--purple-700); } .store-head .cover img { width:100%; height:100%; object-fit:cover; } .store-head .body { padding:0 24px 24px; display:flex; gap:20px; align-items:flex-end; flex-wrap:wrap; } .store-head .avatar { margin-top:-32px; border:4px solid #fff; }
.pdp { display:grid; grid-template-columns:1.1fr .9fr; gap:32px; } .pdp .gallery img { width:100%; border-radius:var(--r-card); aspect-ratio:4/3; object-fit:cover; box-shadow:var(--shadow); } .pdp .thumbs { display:flex; gap:8px; margin-top:10px; } .pdp .thumbs img { width:64px; height:64px; border-radius:10px; object-fit:cover; cursor:pointer; border:2px solid transparent; } .pdp .thumbs img.active { border-color:var(--orange-500); } .pdp .price { font-size:30px; font-weight:800; color:var(--text-ink); } .pdp .price small { font-size:14px; font-weight:500; color:var(--text-muted); } .qty { display:inline-flex; align-items:center; border:1px solid var(--border); border-radius:10px; overflow:hidden; } .qty button { width:40px; height:44px; border:0; background:#fff; font-size:18px; cursor:pointer; } .qty input { width:52px; text-align:center; border:0; height:44px; font-weight:700; }
.dl { display:grid; grid-template-columns:auto 1fr; gap:6px 16px; font-size:13px; } .dl dt { color:var(--text-muted); } .dl dd { margin:0; color:var(--text-ink); }
.cart-line { display:grid; grid-template-columns:56px 1fr auto auto; gap:14px; align-items:center; padding:12px 0; border-bottom:1px solid var(--border); } .cart-line:last-child { border-bottom:0; }
.totals { display:flex; flex-direction:column; gap:8px; font-size:14px; } .totals div { display:flex; justify-content:space-between; } .totals .grand { font-size:18px; font-weight:800; color:var(--text-ink); border-top:1px solid var(--border); padding-top:10px; margin-top:4px; }
.qr { display:grid; grid-template-columns:repeat(21, 6px); gap:0; width:126px; } .qr i { width:6px; height:6px; display:block; } .qr i.on { background:var(--purple-800); }
.prov { max-width:560px; margin:0 auto; } .prov .hero-img { border-radius:var(--r-card); aspect-ratio:4/3; object-fit:cover; width:100%; }

/* mobile shell */
.bnav { display:none; } .fab { display:none; } .only-m { display:none; }
@media (max-width:1024px) { .topnav nav { display:none; } .topnav .burger { display:inline-flex; } .topnav .actions .hide-m { display:none; } .mobile-menu.open { display:flex; flex-direction:column; gap:4px; padding:12px 16px 16px; border-top:1px solid var(--border); background:#fff; } .mobile-menu a { padding:12px; border-radius:10px; font-weight:600; color:var(--purple-800); font-size:16px; } }
@media (max-width:1100px) { .kpi-row { grid-template-columns:repeat(3, minmax(0,1fr)); } .dash-bottom { grid-template-columns:repeat(2, minmax(0,1fr)); } .product-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } .grid-4 { grid-template-columns:repeat(2, minmax(0,1fr)); } .how { grid-template-columns:repeat(2, minmax(0,1fr)); } .cat-tiles { grid-template-columns:repeat(4, minmax(0,1fr)); } .footer .cols { grid-template-columns:1fr 1fr; } .grid-5 { grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:900px) {
  .hide-m { display:none !important; } .only-m { display:block; }
  .sidebar { display:none; } .shell main { padding-bottom:84px; } .content { padding:16px; } .topbar { padding:0 16px; height:60px; } .topbar .search { display:none; } .topbar .mlogo { display:block; } .topbar .mlogo img { height:34px; width:auto; }
  .bnav { display:grid; grid-template-columns:repeat(5, 1fr); position:fixed; left:0; right:0; bottom:0; height:68px; background:#fff; border-top:1px solid var(--border); z-index:40; padding-bottom:env(safe-area-inset-bottom); } .bnav a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; font-size:10px; font-weight:600; color:var(--text-muted); } .bnav a svg { width:22px; height:22px; } .bnav a.active { color:var(--orange-600); } .bnav a:hover { text-decoration:none; } .bnav .fab { display:flex; width:52px; height:52px; border-radius:50%; background:var(--orange-500); color:#fff; align-items:center; justify-content:center; margin-top:-26px; box-shadow:0 6px 16px rgba(248,112,61,.4); } .bnav .fab svg { width:26px; height:26px; }
  .welcome { grid-template-columns:1fr; padding:20px; min-height:0; } .welcome h1 { font-size:26px; } .welcome .art { display:none; } .welcome .bg-leaf { display:none; }
  .kpi-row { display:flex; overflow-x:auto; gap:12px; scrollbar-width:none; margin:0 -16px; padding:0 16px 4px; } .kpi-row::-webkit-scrollbar { display:none; } .kpi-row .card { min-width:200px; flex:none; }
  .dash-bands, .dash-bottom { grid-template-columns:1fr; } .product-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; } .grid, .grid-2, .grid-3, .grid-4, .grid-5, .pdp { grid-template-columns:1fr !important; } .product-grid { grid-template-columns:repeat(2, minmax(0,1fr)) !important; } .form-grid { grid-template-columns:1fr; } .choice { grid-template-columns:1fr; } .choice label .muted { white-space:nowrap; margin-left:auto; }
  .topnav .in { height:60px; padding:0 16px; } .topnav nav { display:none; } .topnav .actions .hide-m { display:none; } .topnav .burger { display:inline-flex; } .topnav .logo img { height:34px; }
  .mobile-menu.open { display:flex; flex-direction:column; gap:4px; padding:12px 16px 16px; border-top:1px solid var(--border); background:#fff; } .mobile-menu a { padding:12px; border-radius:10px; font-weight:600; color:var(--purple-800); font-size:16px; } .mobile-menu a:hover { background:var(--purple-50); text-decoration:none; }
  .wrap { padding:0 16px; } .section { padding:32px 0; } .wrap.section { padding-left:16px; padding-right:16px; } .card { padding:16px; } .grid { gap:12px; } .band { margin-bottom:16px; } .section-title { margin-bottom:16px; flex-wrap:wrap; } h1 { font-size:26px; } h2 { font-size:22px; } form.card .row.wrap > .search, form.card .row.wrap > .input, form.card .row.wrap > .btn { flex:1 1 100%; width:100% !important; } form.card .row.wrap > select.input { flex:1 1 44%; width:auto !important; } .topbar .who .name, .topbar .who .role { display:none; } .topbar .who > svg { display:none; } .topbar .mlogo { display:block !important; margin-right:auto; } .topbar .mlogo img { height:32px; width:auto; }
  .steps { margin:0 0 16px; } .steps::before { left:6%; right:6%; top:14px; } .step .n { width:28px; height:28px; font-size:12px; } .step > span:not(.n) { display:none; } .step.active > span:not(.n) { display:block; font-size:11px; }
  .footbar { flex-wrap:wrap; gap:8px; } .footbar .grow { display:none; } .footbar #onb-saved { flex:1 1 100%; order:-1; } .footbar .btn { flex:1 1 auto; white-space:normal; } .modal .acts .btn { flex:1 1 auto; } .btn-sm { min-height:40px; } .btn-xs { min-height:34px; } .btn-block { white-space:normal; }
  .page-head { gap:10px; margin-bottom:14px; } .page-head .row { width:100%; } .sheet { padding:16px; } .pdp .price { font-size:26px; } .store-head .body { padding:0 16px 16px; gap:12px; } .store-head .cover { height:140px; } .impact-strip { gap:12px; } .cta-band { padding:20px; } .cta-band h2 { font-size:20px; }
  #app h1[style*="font-size"] { font-size:26px !important; } .kpi { gap:10px; } .kpi .chip { width:36px; height:36px; } .card-title h3 { font-size:16px; } .table-wrap { margin:0 -16px; padding:0 16px; } .dl { grid-template-columns:1fr; gap:2px 0; } .dl dt { margin-top:8px; } .auth .form .card { padding:20px 16px; } .notice { font-size:13px; } .tabs .tab { padding:8px 12px; } .hero .in { grid-template-columns:1fr; padding:40px 16px; } .hero h1 { font-size:32px; } .hero .art { display:none; } .cat-tiles { grid-template-columns:repeat(3, minmax(0,1fr)); } .how { grid-template-columns:1fr; } .impact-strip { grid-template-columns:repeat(2, minmax(0,1fr)); padding:20px; } .impact-strip b { font-size:26px; } .cta-band { padding:24px; } .footer .cols { grid-template-columns:1fr; }
  .auth { grid-template-columns:1fr; } .auth .side { padding:24px 16px; } .auth .side h2 { font-size:24px; margin-top:16px; } .auth .side p { display:none; } .auth .side .tag { display:none; } .auth .form { padding:16px; } .auth .form .card { padding:20px; }
  .pdp { grid-template-columns:1fr; gap:20px; } .cart-line { grid-template-columns:56px 1fr; } .cart-line .end { grid-column:2; }
  .sheet { padding:16px; } .page-head h1 { font-size:22px; } .steps .step { font-size:10px; } .table { font-size:12px; } .table td { padding:10px 6px; }
  .toasts { left:16px; right:16px; bottom:84px; } .toast { max-width:none; } .modal { padding:18px; }
  .leaves { display:none; }
}
@media print { .sidebar, .topbar, .bnav, .topnav, .footer, .btn { display:none !important; } .shell main { padding:0; } body { background:#fff; } }
