@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --brand:#4B3FE4; --brand-dark:#3429C4; --brand-tint:#EEF0FE; --brand-tint2:#F7F8FF; --brand-border:#C7CCFB;
  --ink:#0C1222; --ink-2:#232C42;
  --bg:#F4F6FA; --bg-alt:#E7EBF3;
  --surface:#fff;
  --border:#E2E6EE; --border-2:#DDE2EC; --border-3:#EFF2F7; --border-4:#E7EBF5;
  --muted:#8A93A6; --muted-2:#5B6478; --muted-3:#A8B0C2; --muted-4:#9AA4B8;
  --field-bg:#F7F9FC;
  --success:#0B8055; --success-bg:#E9F9F1;
  --warn:#D9480F; --warn-bg:#FFF1E6;
  --danger:#B42318; --danger-bg:#FEE4E2;
  --gold:#F0A020;
  --radius-sm:8px; --radius-md:10px; --radius-lg:14px; --radius-xl:16px; --radius-xxl:20px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; }
body{
  background:var(--bg); color:var(--ink);
  font-family:"Manrope",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  font-size:14.5px; line-height:1.5;
}
a{ color:var(--brand); text-decoration:none; }
a:hover{ color:var(--brand-dark); }
img{ max-width:100%; display:block; }
input,select,textarea,button{ font-family:"Manrope",system-ui,sans-serif; }
.mono{ font-family:"IBM Plex Mono",monospace; }
@media (prefers-reduced-motion: reduce){ *,*::before,*::after{ animation-duration:.01ms!important; transition-duration:.01ms!important; } }

.wrap{ max-width:1400px; margin:0 auto; padding:0 28px; }
.wrap-narrow{ max-width:1160px; margin:0 auto; padding:0 28px; }
.wrap-mid{ max-width:1240px; margin:0 auto; padding:0 28px; }
.wrap-account{ max-width:1280px; margin:0 auto; padding:0 28px; }
@media (max-width:640px){ .wrap,.wrap-narrow,.wrap-mid,.wrap-account{ padding:0 16px; } }

/* ---- Layout helpers ---- */
.flex{ display:flex; } .flex-wrap{ flex-wrap:wrap; } .items-center{ align-items:center; } .items-start{ align-items:flex-start; } .items-end{ align-items:flex-end; } .items-baseline{ align-items:baseline; }
.justify-between{ justify-content:space-between; }
.gap-4{ gap:4px; } .gap-6{ gap:6px; } .gap-7{ gap:7px; } .gap-8{ gap:8px; } .gap-9{ gap:9px; } .gap-10{ gap:10px; } .gap-11{ gap:11px; } .gap-12{ gap:12px; } .gap-13{ gap:13px; } .gap-14{ gap:14px; } .gap-16{ gap:16px; } .gap-20{ gap:20px; } .gap-24{ gap:24px; }
.grow{ flex:1; min-width:20px; }
.min-w-0{ min-width:0; }
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.nowrap{ white-space:nowrap; }
.ellipsis{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.grid{ display:grid; gap:14px; }
.grid-auto-110{ grid-template-columns:repeat(auto-fill,minmax(min(100%,116px),1fr)); }
.grid-auto-170{ grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr)); }
.grid-auto-180{ grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr)); }
.grid-auto-220{ grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr)); }
.grid-auto-230{ grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr)); }
.grid-auto-280{ grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); }
.grid-2fit{ grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); }
.grid-160{ grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); }
.grid-190{ grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); }

/* ---- Header ---- */
.site-header{ position:sticky; top:0; z-index:40; background:var(--surface); border-bottom:1px solid var(--border); }
.site-header .bar{ padding:14px 28px; display:flex; align-items:center; gap:14px 20px; flex-wrap:wrap; }
.logo{ display:flex; align-items:center; gap:9px; color:var(--ink); }
.logo .mark{ width:30px; height:30px; border-radius:9px; background:var(--brand); display:flex; align-items:center; justify-content:center; color:#fff; font-size:15px; font-weight:800; }
.logo .word{ font-size:20px; font-weight:800; letter-spacing:-.02em; }
.logo-img{ height:55px; width:auto; display:block; }
.searchbar{ flex:1 1 380px; min-width:min(100%,260px); display:flex; align-items:center; height:44px; border:1.5px solid var(--border-2); border-radius:10px; background:var(--field-bg); padding:0 4px 0 0; }
.searchbar:focus-within{ border-color:var(--brand); }
.searchbar .scope{ -webkit-appearance:none; appearance:none; display:flex; align-items:center; gap:6px; padding:0 22px 0 14px; font-size:13.5px; font-weight:700; font-family:'Manrope',sans-serif; color:var(--muted-2); border:0; border-right:1px solid var(--border-2); background:transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="9" height="6"><path d="M0 0l4.5 6L9 0z" fill="%236B7280"/></svg>') no-repeat right 8px center; height:44px; white-space:nowrap; cursor:pointer; outline:none; max-width:150px; }
.searchbar input{ flex:1; min-width:0; border:0; background:transparent; outline:none; font-family:'Manrope',sans-serif; font-size:14.5px; font-weight:500; padding:0 12px; color:var(--ink); }
.searchbar button{ height:34px; padding:0 18px; border:0; border-radius:8px; background:var(--brand); color:#fff; font-family:'Manrope',sans-serif; font-size:13.5px; font-weight:700; cursor:pointer; }
.searchbar button:hover{ background:var(--brand-dark); }
.header-actions{ display:flex; align-items:center; gap:6px; }
.header-actions a{ height:40px; padding:0 12px; border-radius:9px; display:flex; flex-direction:column; justify-content:center; color:var(--ink); }
.header-actions a:hover{ background:#F0F2F8; color:var(--ink); }
.header-actions a small{ display:block; font-size:10px; font-weight:600; color:var(--muted); }
.header-actions a b{ font-size:13.5px; font-weight:700; }
a.header-cta{ height:40px; padding:0 16px; border-radius:9px; background:var(--ink); color:#fff; display:flex; align-items:center; font-size:13.5px; font-weight:700; white-space:nowrap; }
a.header-cta:hover{ background:var(--ink-2); color:#fff; }
.subnav{ border-top:1px solid var(--border-3); display:flex; align-items:center; gap:4px; height:44px; overflow-x:auto; }
.subnav a{ height:30px; padding:0 12px; border-radius:8px; display:flex; align-items:center; font-size:13px; font-weight:600; color:var(--muted-2); white-space:nowrap; }
.subnav a:hover{ background:#F0F2F8; color:var(--brand); }
.announce{ background:var(--ink); color:#fff; padding:8px 24px; display:flex; justify-content:center; align-items:center; gap:16px; font-size:13px; font-weight:600; text-align:center; flex-wrap:wrap; }
.announce-badge{ display:inline-block; background:var(--brand); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:600; letter-spacing:.1em; padding:3px 8px; border-radius:5px; border:0; height:auto; }
.announce a{ color:#9FA8FF; }

.breadcrumb{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:12.5px; font-weight:600; color:var(--muted); white-space:nowrap; padding:14px 0; }
.breadcrumb a{ color:var(--muted); }
.breadcrumb .cur{ color:var(--ink); }

/* ---- Buttons ---- */
.btn{ display:inline-flex; align-items:center; justify-content:center; height:44px; padding:0 20px; border-radius:11px; border:0; font-size:14px; font-weight:700; cursor:pointer; text-decoration:none; white-space:nowrap; }
.btn-primary{ background:var(--brand); color:#fff; }
.btn-primary:hover{ background:var(--brand-dark); color:#fff; }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:var(--ink-2); color:#fff; }
.btn-outline{ background:#fff; border:1.5px solid var(--border-2); color:var(--ink); }
.btn-outline:hover{ border-color:var(--brand); color:var(--brand); }
.btn-ghost-dark{ background:transparent; border:1px solid rgba(255,255,255,.28); color:#fff; }
.btn-ghost-dark:hover{ background:rgba(255,255,255,.12); color:#fff; }
.btn-sm{ height:36px; padding:0 14px; font-size:12.5px; border-radius:9px; }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.6; cursor:default; }

/* ---- Cards / surfaces ---- */
.card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-xl); }
.card-pad{ padding:20px; }
.card-pad-lg{ padding:24px; }
.card-pad-sm{ padding:16px; }
.dark-panel{ background:var(--ink); border-radius:var(--radius-xl); padding:20px; color:#fff; }
.dark-panel .label{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#9FA8FF; margin-bottom:14px; }

.badge{ display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:800; padding:4px 8px; border-radius:6px; white-space:nowrap; }
.badge-success{ color:var(--success); background:var(--success-bg); }
.badge-warn{ color:var(--warn); background:var(--warn-bg); }
.badge-danger{ color:var(--danger); background:var(--danger-bg); }
.badge-brand{ color:var(--brand); background:var(--brand-tint); }
.badge-dark{ background:var(--ink); color:#fff; }
.verified{ color:var(--brand); font-size:12px; }

/* ---- Home page hero slideshow ---- */
.hero-slideshow{ position:relative; overflow:hidden; background:var(--ink); }
.hero-slide{ position:absolute; inset:0; background-size:cover; background-position:center; display:flex; align-items:center; opacity:0; pointer-events:none; transition:opacity .7s ease; }
.hero-slide.active{ opacity:1; pointer-events:auto; z-index:1; }
.hero-slide-overlay{ position:absolute; inset:0; background:linear-gradient(90deg,rgba(12,18,34,.92) 0%,rgba(12,18,34,.68) 48%,rgba(12,18,34,.22) 100%); }
/* Same repeating-diagonal motif as .ph-img, for hero slides with no real photo yet. */
.hero-slide-ph{ background-image:repeating-linear-gradient(135deg,#1B2340 0 22px,#141A30 22px 44px) !important; }
.hero-slide-content{ position:relative; padding:44px; max-width:560px; }
.hero-dots{ position:absolute; z-index:2; bottom:20px; left:44px; display:flex; gap:8px; }
.hero-dot{ width:8px; height:8px; padding:0; border:0; border-radius:999px; background:rgba(255,255,255,.4); cursor:pointer; transition:width .25s ease,background .25s ease; }
.hero-dot.active{ width:22px; background:#fff; }

/* ---- Placeholder image blocks (design used repeating gradients instead of real photos) ---- */
.ph-img{ position:relative; border-radius:10px; background:repeating-linear-gradient(135deg,#EDF0F7 0 9px,#E4E9F3 9px 18px); display:flex; align-items:flex-end; justify-content:flex-start; overflow:hidden; }
.ph-img .ph-cap{ font-family:'IBM Plex Mono',monospace; font-size:9px; color:#9AA4B8; background:rgba(255,255,255,.7); padding:2px 5px; border-radius:4px; margin:6px; }
.ph-sq{ aspect-ratio:1/1; }
.ph-4-3{ aspect-ratio:4/3; }
.ph-16-9{ aspect-ratio:16/9; }
.ph-16-10{ aspect-ratio:16/10; }
.ph-cover{ height:74px; border-radius:0; background:repeating-linear-gradient(115deg,#E7EBF5 0 10px,#DEE4F0 10px 20px); }
.ph-cover-lg{ height:208px; background:repeating-linear-gradient(115deg,#E7EBF5 0 14px,#DDE3F0 14px 28px); }

.avatar{ border-radius:10px; background:var(--brand); color:#fff; font-weight:800; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.avatar-24{ width:24px; height:24px; font-size:11px; border-radius:7px; }
.avatar-30{ width:30px; height:30px; font-size:14px; border-radius:9px; }
.avatar-34{ width:34px; height:34px; font-size:14px; border-radius:9px; }
.avatar-36{ width:36px; height:36px; font-size:15px; border-radius:10px; }
.avatar-40{ width:40px; height:40px; font-size:16px; border-radius:11px; }
.avatar-44{ width:44px; height:44px; font-size:17px; border-radius:12px; }
.avatar-48{ width:48px; height:48px; font-size:19px; border-radius:12px; }
.avatar-50{ width:50px; height:50px; font-size:19px; border-radius:12px; }
.avatar-tint{ background:var(--brand-tint); color:var(--brand); }

/* ---- Forms ---- */
.field{ display:block; }
.field .lbl{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 8px; font-size:11.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); margin-bottom:7px; }
.field input, .field select, .field textarea{ width:100%; min-width:0; height:46px; border:1.5px solid var(--border-2); border-radius:10px; background:var(--field-bg); padding:0 13px; font-size:14px; font-weight:600; color:var(--ink); outline:none; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--brand); background:#fff; }
.field textarea{ height:auto; padding:12px 13px; resize:vertical; }
.field .help{ display:block; font-size:11.5px; font-weight:600; color:var(--muted); margin-top:6px; line-height:1.45; }
.form-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:14px; }

.choice-card{ display:flex; align-items:flex-start; gap:11px; text-align:left; border:1.5px solid var(--border-4); background:#fff; border-radius:12px; padding:14px; cursor:pointer; width:100%; }
.choice-card.active{ border-color:var(--brand); background:var(--brand-tint2); }
.choice-card .dot{ width:16px; height:16px; border-radius:999px; border:2px solid var(--muted-3); background:#fff; flex-shrink:0; margin-top:2px; }
.choice-card.active .dot{ border-color:var(--brand); background:var(--brand); }
.choice-card .t{ display:block; font-size:13.5px; font-weight:800; color:var(--ink); }
.choice-card .n{ display:block; font-size:12px; font-weight:600; color:var(--muted-2); line-height:1.45; margin-top:3px; }

.qty-box{ display:inline-flex; align-items:center; border:1.5px solid var(--border-2); border-radius:10px; height:38px; overflow:hidden; }
.qty-box button{ width:34px; height:100%; border:0; background:var(--field-bg); font-size:16px; font-weight:700; color:var(--ink); cursor:pointer; }
.qty-box .n{ width:38px; text-align:center; font-family:'IBM Plex Mono',monospace; font-size:13.5px; font-weight:600; }

/* ---- Tabs / pills ---- */
.pill-tabs{ display:flex; gap:3px; background:#EAEEF6; border-radius:9px; padding:3px; flex-wrap:wrap; }
.pill-tabs a, .pill-tabs button{ height:30px; padding:0 12px; border:0; border-radius:7px; background:transparent; color:var(--muted-2); font-size:12.5px; font-weight:700; cursor:pointer; white-space:nowrap; text-decoration:none; display:flex;align-items:center; }
.pill-tabs a.active, .pill-tabs button.active{ background:#fff; color:var(--ink); }
/* Variant for tab bars that sit flat on a card (no gray track of their own) — a plain white
   active tile would be invisible against the white card, so it needs a tinted highlight instead. */
.pill-tabs.tabs-on-card a.active, .pill-tabs.tabs-on-card button.active{ background:var(--brand-tint); color:var(--brand); }
.chip{ height:36px; padding:0 14px; border-radius:9px; border:1.5px solid var(--border-2); background:#fff; display:inline-flex; align-items:center; font-size:12.5px; font-weight:700; color:var(--ink); white-space:nowrap; text-decoration:none; }
.chip:hover{ border-color:var(--brand); color:var(--brand); }
.chip.active{ border-color:var(--brand); background:var(--brand-tint); color:var(--brand); }
.chip-remove{ display:inline-flex; align-items:center; gap:6px; background:var(--brand-tint); color:var(--brand); font-size:11.5px; font-weight:700; padding:5px 9px; border-radius:7px; white-space:nowrap; }

/* ---- Star rating input (click-to-rate, no JS) ---- */
.star-input{ display:inline-flex; flex-direction:row-reverse; justify-content:flex-end; gap:2px; }
.star-input input{ position:absolute; opacity:0; width:0; height:0; }
.star-input label{ font-size:28px; line-height:1; color:var(--border-2); cursor:pointer; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label{ color:var(--gold); }

/* ---- Product / vendor cards ---- */
.product-card{ background:#fff; border:1px solid var(--border); border-radius:14px; padding:14px; transition:box-shadow 200ms,border-color 150ms; }
.product-card:hover{ box-shadow:0 10px 28px rgba(12,18,34,.09); border-color:#D6DCEA; }
.product-card .brand{ font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.product-card .name{ display:block; font-size:14px; font-weight:700; line-height:1.35; margin-top:4px; min-height:38px; color:var(--ink); }
.product-card .price-row{ display:flex; align-items:baseline; gap:8px; margin-top:10px; flex-wrap:wrap; }
.product-card .price{ font-size:19px; font-weight:800; letter-spacing:-.02em; white-space:nowrap; }
.product-card .was{ font-size:12px; font-weight:600; color:var(--muted-4); text-decoration:line-through; white-space:nowrap; }
.product-card .foot{ display:flex; align-items:center; justify-content:space-between; margin-top:11px; padding-top:11px; border-top:1px solid var(--border-3); }

.vendor-card{ background:#fff; border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:box-shadow 200ms; }
.vendor-card:hover{ box-shadow:0 10px 28px rgba(12,18,34,.09); }
.vendor-card .body{ padding:0 16px 16px; }
.vendor-card .avatar{ margin-top:-25px; border:3px solid #fff; }

/* ---- Sidebar shell (account / vendor / admin) ---- */
.shell{ min-height:100vh; background:var(--bg); display:flex; flex-wrap:wrap; align-items:flex-start; }
.shell-content{ flex:999 1 600px; min-width:0; }
.dark-sidebar{ flex:1 1 236px; max-width:100%; align-self:stretch; background:var(--ink); padding:18px 14px; display:flex; flex-direction:column; gap:4px; }
.dark-sidebar .brand-row{ display:flex; align-items:center; gap:9px; padding:0 8px 18px; }
.dark-sidebar .brand-row .word{ font-size:16px; font-weight:800; color:#fff; letter-spacing:-.02em; }
.dark-sidebar .tag{ font-family:'IBM Plex Mono',monospace; font-size:9px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; border-radius:5px; padding:2px 5px; }
.dark-sidebar .group-h{ padding:12px 10px 6px; font-family:'IBM Plex Mono',monospace; font-size:9.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.36); }
.side-link{ display:flex; align-items:center; gap:10px; width:100%; text-align:left; border:0; border-radius:10px; padding:9px 11px; font-size:13.5px; font-weight:700; cursor:pointer; background:transparent; color:rgba(255,255,255,.72); text-decoration:none; }
.side-link:hover{ color:#fff; }
.side-link.active{ background:var(--brand); color:#fff; }
.side-link .g{ font-family:'IBM Plex Mono',monospace; font-size:12px; width:16px; flex-shrink:0; opacity:.7; }
.side-link .lbl{ flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.side-link .count{ font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:600; border-radius:6px; padding:2px 6px; white-space:nowrap; background:rgba(255,255,255,.14); color:#fff; }
.side-link .count.urgent{ background:#D9480F; }
.dash-header{ background:#fff; border-bottom:1px solid var(--border); padding:14px 24px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.dash-header h1{ font-size:19px; font-weight:800; letter-spacing:-.02em; margin:0; }
.dash-header .sub{ font-size:12.5px; font-weight:600; color:var(--muted); margin-top:3px; }
.dash-body{ padding:18px 24px 28px; display:flex; flex-direction:column; gap:12px; }

.account-nav{ background:#fff; border:1px solid var(--border); border-radius:16px; padding:18px; }
.account-side{ flex:1 1 236px; max-width:100%; position:sticky; top:88px; display:flex; flex-direction:column; gap:12px; }

/* ---- KPI cards ---- */
.kpi{ background:#fff; border:1px solid var(--border); border-radius:14px; padding:16px; }
.kpi .l{ font-size:10.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); }
.kpi .v{ font-size:25px; font-weight:800; letter-spacing:-.03em; margin-top:8px; white-space:nowrap; }
.kpi .d-row{ display:flex; align-items:center; gap:7px; margin-top:8px; flex-wrap:wrap; }

/* ---- Tables ---- */
.table-wrap{ overflow-x:auto; }
.tbl{ width:100%; border-collapse:collapse; min-width:760px; }
.tbl thead th{ background:#F9FAFD; border-bottom:1px solid var(--border-3); font-size:10.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); text-align:left; padding:11px 14px; white-space:nowrap; }
.tbl tbody td{ padding:12px 14px; border-bottom:1px solid var(--bg); font-size:13px; vertical-align:middle; }
.tbl tbody tr:hover{ background:#F9FAFD; }

/* ---- Track rail ---- */
.track-rail{ display:flex; gap:0; align-items:flex-start; }
.track-step{ flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; text-align:center; }
.track-step .bar{ width:100%; height:3px; border-radius:999px; background:var(--border-3); }
.track-step.done .bar, .track-step.active .bar{ background:var(--brand); }
.track-step .dot{ width:22px; height:22px; border-radius:999px; border:2px solid var(--border-2); background:#fff; color:var(--muted-3); font-size:10px; font-weight:800; display:flex; align-items:center; justify-content:center; margin-top:-12px; }
.track-step.done .dot{ border-color:var(--brand); background:var(--brand); color:#fff; }
.track-step.active .dot{ border-color:var(--brand); color:var(--brand); }
.track-step .lbl{ font-size:12px; font-weight:700; color:var(--muted-3); margin-top:8px; line-height:1.3; }
.track-step.done .lbl, .track-step.active .lbl{ color:var(--ink); }
.track-step .when{ font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--muted-3); margin-top:4px; }

/* ---- Footer ---- */
.site-footer{ padding:36px 28px 40px; }
.site-footer .cols{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr)); gap:28px 32px; }
.site-footer .colhead{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.site-footer .links{ display:flex; flex-direction:column; gap:8px; }
.site-footer .links a{ font-size:13.5px; font-weight:500; color:var(--muted-2); }
.foot-bottom{ margin-top:20px; padding-top:20px; border-top:1px solid var(--border); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px; font-weight:600; color:var(--muted); }
.foot-bottom a{ color:var(--muted); }
.foot-bottom .foot-links{ display:flex; flex-wrap:wrap; gap:20px; margin:0; padding:0; }

/* ---- Misc ---- */
.section-title{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.section-title h2{ font-size:19px; font-weight:800; margin:0; }
.hr{ border:0; border-top:1px solid var(--border-3); margin:0; }
.progress{ height:6px; border-radius:999px; background:#EDF0F7; overflow:hidden; }
.progress > span{ display:block; height:100%; background:var(--brand); border-radius:999px; }
.alert{ display:flex; gap:11px; border-radius:14px; padding:14px 16px; align-items:flex-start; }
.alert-info{ background:var(--brand-tint); border:1px solid var(--brand-border); }
.toggle{ width:40px; height:23px; border-radius:999px; background:var(--border-2); position:relative; flex-shrink:0; transition:background 180ms; display:inline-block; }
.toggle.on{ background:var(--brand); }
.toggle .knob{ position:absolute; top:3px; left:3px; width:17px; height:17px; border-radius:999px; background:#fff; transition:left 180ms; }
.toggle.on .knob{ left:20px; }

/* ---- Auth split screen ---- */
.auth-shell{ min-height:100vh; background:var(--bg); display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr)); }
.auth-left{ background:var(--ink); padding:40px; display:flex; flex-direction:column; justify-content:space-between; gap:40px; min-width:0; }
.auth-right{ padding:40px; display:flex; align-items:center; justify-content:center; min-width:0; }
.auth-right .inner{ width:100%; max-width:440px; min-width:0; }

@media (max-width:900px){
  .site-header .bar{ gap:10px 12px; }
  .header-actions{ flex-wrap:wrap; width:100%; }
  .account-side,.shop-aside{ position:static!important; top:auto!important; }
}

@media (max-width:640px){
  .site-header .bar .logo{ flex:1 1 100%; justify-content:center; }
  .site-header .bar .searchbar{ flex:1 1 100%; height:46px; }
  .site-header .bar .searchbar .scope{ height:46px; max-width:72px; padding:0 16px 0 10px; font-size:12px; background-position:right 6px center; }
  .site-header .bar .searchbar input{ min-width:0; padding:0 8px; font-size:13.5px; }
  .site-header .bar .searchbar button{ padding:0 12px; font-size:12.5px; flex-shrink:0; }
  .header-actions .header-cta{ flex:1 1 100%; justify-content:center; order:10; }
}
