/* ============================================================
   HoReCaz — shell, marketplace chrome and screen layouts.
   Mobile-first; breakpoints at 640, 900, 1120 and 1400.
   ============================================================ */

/* ---------- Shell ----------------------------------------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.app-main { flex: 1; width: 100%; padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + var(--s-6)); }
.shell { width: 100%; max-width: var(--shell-max); margin: 0 auto; padding: 0 var(--s-5); }
.view { padding: var(--s-6) 0 var(--s-10); }

.page-head { display: flex; flex-direction: column; gap: var(--s-5); margin-bottom: var(--s-7); }
.page-head .page-actions { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.crumb { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-13); color: var(--text-muted); margin-bottom: var(--s-5); flex-wrap: wrap; }
.crumb a:hover { color: var(--ember-700); }
.crumb svg { width: 14px; height: 14px; }

.section { margin-bottom: var(--s-10); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }
.section-head h2 { font-size: var(--fs-20); letter-spacing: var(--tracking-display); }
.section-head .more { font-size: var(--fs-13); font-weight: 600; color: var(--ember-700); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.section-head .more:hover { text-decoration: underline; }
.section-head .more svg { width: 14px; height: 14px; }

/* ---------- Header (2026 Glassmorphic) -------------------- */
.hdr { position: sticky; top: 0; z-index: var(--z-nav); background: var(--bg-glass); backdrop-filter: var(--blur-chrome); -webkit-backdrop-filter: var(--blur-chrome); border-bottom: 1px solid rgba(229, 222, 214, 0.75); box-shadow: 0 4px 24px -2px rgba(26, 22, 19, 0.06), inset 0 1px 0 0 rgba(255, 255, 255, 0.9); transition: background var(--dur-fast) var(--ease); }
.hdr-main { max-width: var(--shell-max); margin: 0 auto; padding: var(--s-4) var(--s-5); display: flex; align-items: center; gap: var(--s-4); }
.hdr-search { display: none; flex: 1; }
.hdr-actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.hdr-mobile-search { padding: 0 var(--s-5) var(--s-4); }

.brand { display: flex; align-items: center; gap: var(--s-4); flex: none; cursor: pointer; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #FF6B35 0%, #D6461B 100%); color: #fff; flex: none;
  box-shadow: 0 4px 16px rgba(214, 70, 27, .36);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.05); box-shadow: 0 6px 22px rgba(214, 70, 27, .5); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-word { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 700; letter-spacing: -0.04em; color: var(--plum-900); }
.brand-word em { font-style: normal; color: var(--ember-600); }
.brand-tag { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700; display: block; line-height: 1; margin-top: 1px; }

/* Delivery context chip */
.ctx { display: none; align-items: center; gap: var(--s-3); padding: 6px var(--s-5); border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); flex: none; box-shadow: var(--sh-1); }
.ctx svg { width: 16px; height: 16px; color: var(--ember-600); }
.ctx b { font-size: var(--fs-13); font-weight: 600; }
.ctx span { font-size: var(--fs-12); color: var(--text-muted); }

/* Language switcher */
.lang { display: inline-flex; padding: 3px; background: var(--ink-100); border-radius: var(--r-pill); gap: 2px; flex: none; }
.lang button {
  padding: 5px 9px; border-radius: var(--r-pill); font-size: var(--fs-12); font-weight: 700;
  color: var(--ink-600); letter-spacing: .02em; transition: all var(--dur-fast) var(--ease);
}
.lang button:hover { color: var(--ink-900); }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--plum-900); box-shadow: var(--sh-1); }

/* Account button */
.acct { display: inline-flex; align-items: center; gap: var(--s-4); height: 42px; padding: 0 var(--s-4) 0 var(--s-3); border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--white); transition: border-color var(--dur-fast) var(--ease); }
.acct:hover { border-color: var(--ink-400); }
.acct .avatar { width: 30px; height: 30px; border-radius: 50%; font-size: 11px; }
.acct .who { display: none; text-align: left; line-height: 1.15; }
.acct .who b { display: block; font-family: var(--font-display); font-size: var(--fs-13); font-weight: 600; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .who span { font-size: var(--fs-11); color: var(--text-muted); }
.acct > svg { width: 15px; height: 15px; color: var(--ink-500); }

/* Basket button with running total */
.basket-btn { display: inline-flex; align-items: center; gap: var(--s-4); height: 42px; padding: 0 var(--s-5); border-radius: var(--r-pill); background: var(--ember-600); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-14); transition: background var(--dur-fast) var(--ease); }
.basket-btn:hover { background: var(--ember-700); }
.basket-btn svg { width: 18px; height: 18px; }
.basket-btn .amt { font-variant-numeric: tabular-nums; }

/* Category bar (2026 Frosted) */
.catbar { border-bottom: 1px solid rgba(229, 222, 214, 0.7); background: var(--bg-glass); backdrop-filter: var(--blur-chrome); -webkit-backdrop-filter: var(--blur-chrome); }
.catbar-inner { max-width: var(--shell-max); margin: 0 auto; padding: 0 var(--s-5); }
.catbar .scroller { padding: var(--s-4) 0; gap: var(--s-3); }
.catlink {
  display: inline-flex; align-items: center; gap: var(--s-4); padding: 5px var(--s-5) 5px 5px;
  border-radius: var(--r-pill); font-size: var(--fs-13); font-weight: 600; color: var(--ink-700);
  background: var(--white); border: 1px solid var(--border); white-space: nowrap; box-shadow: var(--sh-1);
  transition: all var(--dur-fast) var(--ease-spring);
}
.catlink img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--ink-100); border: 1.5px solid var(--white); box-shadow: 0 2px 6px rgba(26,22,19,.08); }
.catlink:hover { background: var(--white); border-color: var(--ember-400); box-shadow: var(--sh-2); color: var(--ink-900); transform: translateY(-1px); }
.catlink.is-active { background: var(--plum-900); color: #fff; border-color: var(--plum-900); box-shadow: 0 4px 14px rgba(30, 18, 38, 0.25); }

.buyer-workbar { display:none; background:var(--plum-900); color:#fff; }
.buyer-workbar-inner { max-width:var(--shell-max); margin:auto; padding:0 var(--s-5); display:flex; gap:var(--s-2); }
.buyer-workbar a { min-height:42px; padding:0 var(--s-5); display:flex; align-items:center; gap:var(--s-3); font-size:var(--fs-13); font-weight:600; color:rgba(255,255,255,.72); border-bottom:2px solid transparent; }
.buyer-workbar a:hover,.buyer-workbar a.is-active { color:#fff; background:rgba(255,255,255,.07); border-bottom-color:var(--ember-400); }
.buyer-workbar svg { width:16px; height:16px; }
.buyer-workbar b { min-width:19px; height:19px; padding:0 5px; display:grid; place-items:center; border-radius:99px; background:var(--ember-500); color:#fff; font-size:10px; }

/* Buyer daily command centre */
.today-view { --today-gap:var(--s-6); }
.today-hero { display:flex; flex-direction:column; gap:var(--s-5); padding:var(--s-6); margin-bottom:var(--s-6); border-radius:var(--r-xl); color:#fff; background:linear-gradient(125deg,var(--plum-900),var(--plum-700)); box-shadow:var(--sh-3); }
.today-hero h1 { color:#fff; margin-top:var(--s-3); }
.today-hero .subtitle,.today-hero .eyebrow { color:rgba(255,255,255,.72); }
.today-kpis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s-4); margin-bottom:var(--s-6); }
.today-kpi { display:flex; align-items:center; gap:var(--s-4); padding:var(--s-5); background:var(--white); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--sh-1); }
.today-kpi>span,.today-icon { width:40px; height:40px; flex:none; display:grid; place-items:center; border-radius:var(--r-md); background:var(--ink-100); color:var(--ink-600); }
.today-kpi svg,.today-icon svg { width:20px; height:20px; }
.today-kpi b { display:block; font:700 var(--fs-24)/1 var(--font-display); color:var(--ink-900); }
.today-kpi small { display:block; margin-top:4px; color:var(--text-muted); font-size:var(--fs-12); }
.today-kpi.is-warn>span { background:var(--saffron-100);color:var(--warn-700); }.today-kpi.is-info>span { background:var(--info-100);color:var(--info-600); }.today-kpi.is-risk>span { background:var(--risk-100);color:var(--risk-600); }
.attention-list { padding:0 var(--s-6); }
.attention-row { display:flex; align-items:center; gap:var(--s-5); padding:var(--s-5) 0; border-top:1px solid var(--border); }
.attention-icon { width:40px;height:40px;display:grid;place-items:center;border-radius:var(--r-md);flex:none; }.attention-icon svg { width:19px;height:19px; }
.attention-row p,.attention-row small { margin-top:3px; color:var(--text-muted); font-size:var(--fs-12); }.attention-row .btn { flex:none; }
.repeat-row { display:flex; align-items:center; gap:var(--s-4); padding:var(--s-4) 0; border-top:1px solid var(--border); }.repeat-row b,.repeat-row small { display:block; }.repeat-row small { color:var(--text-muted);margin-top:3px; }.repeat-row>svg { width:16px;color:var(--ink-400); }
.today-branch small,.today-branch b,.today-branch span { display:block; }.today-branch b { margin-top:2px; }.today-branch .grow>span { margin-top:3px;font-size:var(--fs-12);color:var(--text-muted); }
.approval-list { display:grid;gap:var(--s-5); }.approval-card { overflow:hidden; }.approval-main { padding:var(--s-6); }.approval-total { font:700 var(--fs-24)/1 var(--font-display); }.approval-facts { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-5);padding:var(--s-5) 0;margin-top:var(--s-5);border-top:1px solid var(--border);border-bottom:1px solid var(--border); }.approval-facts small,.approval-facts b { display:block; }.approval-facts small { color:var(--text-muted);font-size:var(--fs-12);margin-bottom:3px; }.approval-lines { margin-top:var(--s-5); }.approval-lines>div { display:flex;justify-content:space-between;gap:var(--s-4);padding:5px 0;font-size:var(--fs-13); }.approval-actions { display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--s-3);padding:var(--s-4) var(--s-6);background:var(--ink-50);border-top:1px solid var(--border); }
.guide-grid,.delivery-list { display:grid;gap:var(--s-6); }.guide-card { overflow:hidden; }.guide-cover { display:flex;align-items:center;gap:var(--s-5);padding:var(--s-6);background:var(--plum-900);color:#fff; }.guide-cover>span { width:48px;height:48px;display:grid;place-items:center;border-radius:var(--r-md);background:rgba(255,255,255,.12); }.guide-cover svg { width:24px;height:24px; }.guide-cover small,.guide-cover p { color:rgba(255,255,255,.68); }.guide-cover h2 { color:#fff;margin:3px 0;font-size:var(--fs-18); }.guide-products { padding:var(--s-4) var(--s-6); }.guide-products>div { display:flex;align-items:center;gap:var(--s-4);padding:var(--s-3) 0;border-top:1px solid var(--border);font-size:var(--fs-13); }.guide-products img { width:42px;height:42px;object-fit:cover;border-radius:var(--r-sm); }.guide-products span small { display:block;color:var(--text-muted);margin-top:2px; }.guide-foot { display:flex;align-items:center;justify-content:space-between;gap:var(--s-4);padding:var(--s-5) var(--s-6);background:var(--ink-50);border-top:1px solid var(--border); }.guide-foot small,.guide-foot strong { display:block; }.guide-foot small { color:var(--text-muted); }.guide-foot strong { margin-top:2px;font-size:var(--fs-18); }
.delivery-summary { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-4);margin-bottom:var(--s-6); }.delivery-summary>div { padding:var(--s-5);border:1px solid var(--border);background:var(--white);border-radius:var(--r-lg); }.delivery-summary span { width:36px;height:36px;display:grid;place-items:center;border-radius:var(--r-sm);background:var(--ink-100);color:var(--ember-600); }.delivery-summary svg { width:18px; }.delivery-summary b,.delivery-summary small { display:block; }.delivery-summary b { font:700 var(--fs-24)/1 var(--font-display);margin-top:var(--s-4); }.delivery-summary small { color:var(--text-muted);margin-top:4px; }.delivery-card { display:grid;overflow:hidden; }.delivery-time { padding:var(--s-5);background:var(--plum-900);color:#fff; }.delivery-time span,.delivery-time small,.delivery-time b { display:block; }.delivery-time span { color:var(--saffron-300);font-size:var(--fs-11);font-weight:700;text-transform:uppercase;letter-spacing:.08em; }.delivery-time b { font-size:var(--fs-20);margin-top:var(--s-3); }.delivery-time small { color:rgba(255,255,255,.68);margin-top:4px; }.delivery-body { padding:var(--s-5);display:grid;gap:var(--s-5); }.delivery-route { display:flex;gap:var(--s-3);padding:var(--s-4);background:var(--ink-50);border-radius:var(--r-sm); }.delivery-route>span svg { width:17px;color:var(--ember-600); }.delivery-route small { display:block;color:var(--text-muted);margin-top:3px; }.delivery-progress { display:grid;grid-template-columns:repeat(4,1fr);gap:5px; }.delivery-progress i { height:4px;background:var(--ink-200);border-radius:99px; }.delivery-progress i.done { background:var(--ok-500); }.delivery-progress i.now { box-shadow:0 0 0 3px var(--saffron-100); }.delivery-actions { display:flex;justify-content:flex-end;gap:var(--s-3);padding:var(--s-4) var(--s-5);border-top:1px solid var(--border);background:var(--ink-50); }

.delivery-progress i.done { background:var(--ok); }

/* System banner (trial etc.) */
.sysbanner { background: var(--saffron-100); border-bottom: 1px solid #F0DCAE; }
.sysbanner-inner { max-width: var(--shell-max); margin: 0 auto; padding: var(--s-4) var(--s-5); display: flex; align-items: center; gap: var(--s-5); font-size: var(--fs-13); color: var(--saffron-700); font-weight: 500; }
.sysbanner svg { width: 17px; height: 17px; }
.sysbanner .btn { margin-left: auto; flex: none; }
.sysbanner.risk { background: var(--risk-100); border-bottom-color: #EFCCC7; }
.sysbanner.risk .sysbanner-inner { color: var(--risk-700); }

/* ---------- Bottom navigation (mobile luxury 2026) -------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav);
  display: flex; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border-top: 1px solid rgba(229, 222, 214, 0.75);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 24px rgba(26, 22, 19, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--bottomnav-h); font-size: 10px; font-weight: 700; color: var(--ink-500);
  letter-spacing: 0.01em; position: relative;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring-snappy);
  min-width: 0; text-decoration: none;
}
.bottomnav a svg { width: 22px; height: 22px; stroke-width: 1.8; transition: transform var(--dur-fast) var(--ease-spring-snappy); }
.bottomnav a.is-active { color: var(--ember-600); }
.bottomnav a.is-active svg { transform: translateY(-1px) scale(1.08); stroke-width: 2.1; color: var(--ember-600); }
.bottomnav a.is-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 3px; border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--ember-500), var(--saffron-500));
  box-shadow: 0 2px 8px rgba(239, 91, 43, 0.45);
}
.bottomnav a:active { transform: scale(0.92); }
.bottomnav .nav-count {
  position: absolute; top: 4px; left: 50%; margin-left: 6px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 99px; background: #DC2626; color: #fff; font-size: 10px; line-height: 15px;
  font-weight: 800; border: 2px solid #fff; box-sizing: border-box; text-align: center; font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

/* ---------- Workspace sidebar (supplier / ops) ------------ */
.sidebar { display: none; }
.nav-group { padding: var(--s-5) 0; }
.nav-group + .nav-group { border-top: 1px solid var(--border); }
.nav-group-label { padding: 0 var(--s-5) var(--s-4); font-size: var(--fs-11); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--text-muted); }
.nav-item {
  display: flex; align-items: center; gap: var(--s-5); width: 100%; padding: 9px var(--s-5);
  border-radius: var(--r-sm); margin-bottom: 2px; font-size: var(--fs-14); font-weight: 500; color: var(--ink-700);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav-item svg { width: 19px; height: 19px; color: var(--ink-500); }
.nav-item:hover { background: var(--ink-100); color: var(--ink-900); }
.nav-item:hover svg { color: var(--ink-700); }
.nav-item.is-active { background: var(--plum-900); color: #fff; font-weight: 600; box-shadow: 0 4px 14px rgba(30, 18, 38, 0.2); }
.nav-item.is-active svg { color: #fff; }
.nav-item .pill { margin-left: auto; padding: 1px 7px; border-radius: 99px; background: var(--ember-600); color: #fff; font-size: var(--fs-11); font-weight: 700; font-variant-numeric: tabular-nums; }
.nav-item.is-active .pill { background: rgba(255,255,255,.24); }

/* ============================================================
   MARKETPLACE
   ============================================================ */
.simple-home { max-width:1180px;margin:0 auto; }
.simple-home-work { display:flex;align-items:center;gap:var(--s-4);padding:var(--s-4) var(--s-5);margin-bottom:var(--s-5);border-radius:var(--r-lg);background:var(--plum-900);color:#fff; }.simple-home-work>span { width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.12); }.simple-home-work b,.simple-home-work small { display:block; }.simple-home-work small { margin-top:2px;color:rgba(255,255,255,.65); }.simple-home-work>svg { margin-left:auto;width:18px; }
/* ============================================================
   SIMPLE HERO (MARKETPLACE)
   ============================================================ */
.simple-hero {
  position: relative;
  display: grid;
  gap: var(--s-7);
  padding: var(--s-8);
  border-radius: 32px;
  background: linear-gradient(135deg, #FAF7F2 0%, #F5EEFD 52%, #EDE6FC 100%);
  border: 1px solid rgba(139, 92, 246, 0.16);
  box-shadow: 0 20px 48px -16px rgba(40, 20, 65, 0.08), 0 1px 2px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
}
.simple-hero-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.simple-hero-ambient-orb.orb-1 {
  top: -120px;
  right: 25%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0) 70%);
  filter: blur(40px);
}
.simple-hero-ambient-orb.orb-2 {
  bottom: -100px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.09) 0%, rgba(124, 58, 237, 0) 70%);
  filter: blur(50px);
}
.simple-hero-copy, .simple-hero-visual {
  position: relative;
  z-index: 1;
}
.simple-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.048em;
  font-weight: 850;
  color: #150F1E;
}
.simple-hero-copy > p {
  max-width: 540px;
  margin-top: var(--s-5);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: #4B5563;
}
.simple-search {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  max-width: 580px;
  margin-top: var(--s-6);
  padding: 6px 6px 6px var(--s-4);
  border: 2px solid transparent;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px -5px rgba(28, 25, 23, 0.09), 0 0 0 1px rgba(0,0,0,0.06);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.simple-search:focus-within {
  border-color: var(--plum-700);
  box-shadow: 0 12px 35px -5px rgba(62, 30, 78, 0.16), 0 0 0 1px var(--plum-700);
}
.simple-search svg {
  width: 20px;
  height: 20px;
  color: var(--ink-400);
  flex-shrink: 0;
}
.simple-search input {
  min-width: 0;
  flex: 1;
  height: 44px;
  font-size: var(--fs-15);
  border: none;
  background: transparent;
  color: var(--ink-900);
}
.simple-search input:focus {
  outline: none;
}
.simple-search button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 var(--s-6);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--plum-900), var(--plum-700));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.simple-search button:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}
.simple-search button svg {
  width: 16px;
  height: 16px;
  color: #fff;
}
.simple-hero-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
  font-size: var(--fs-14);
  font-weight: 700;
}
.hero-link-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--plum-900);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(30, 18, 38, 0.2);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.hero-link-primary:hover {
  transform: translateY(-2px);
  background: var(--plum-800);
}
.hero-link-primary svg {
  width: 16px;
  height: 16px;
}
.hero-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-800) !important;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.hero-link-secondary:hover {
  transform: translateY(-2px);
  background: #fff;
}
.hero-link-secondary svg {
  width: 16px;
  height: 16px;
}
.simple-hero-trust {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  font-weight: 600;
  color: #6B7280;
}
.trust-item svg {
  width: 16px;
  height: 16px;
  color: #10B981;
}
.trust-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CBD5E1;
}
.simple-hero-visual {
  position: relative;
  width: 100%;
}
.simple-hero-image-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px -12px rgba(24, 16, 38, 0.22), 0 0 0 1px rgba(0,0,0,0.06);
  background: #1A1424;
}
.simple-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.simple-hero:hover .simple-hero-img {
  transform: scale(1.04);
}
.hero-img-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 8, 24, 0.72) 0%, rgba(14, 8, 24, 0.15) 45%, transparent 75%);
  pointer-events: none;
}
.hero-badge-float.top-badge {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  z-index: 2;
}
.badge-icon-wrap.cold-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E0F2FE;
  color: #0284C7;
  display: grid;
  place-items: center;
}
.badge-icon-wrap.cold-icon svg {
  width: 16px;
  height: 16px;
}
.badge-content b {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  display: block;
  line-height: 1.2;
}
.badge-content small {
  font-size: 10px;
  color: #64748B;
  display: block;
  font-weight: 500;
}
.hero-delivery-widget {
  position: absolute;
  left: var(--s-4);
  right: var(--s-4);
  bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 35px rgba(10, 5, 20, 0.18);
  z-index: 2;
}
.delivery-widget-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E1226, #3E1E4E);
  color: #F59E0B;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 18, 38, 0.25);
}
.delivery-widget-icon svg {
  width: 22px;
  height: 22px;
}
.delivery-widget-info {
  flex: 1;
  min-width: 0;
}
.delivery-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.delivery-widget-header b {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}
.delivery-badge-time {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}
.delivery-widget-info small {
  font-size: 12px;
  color: #4B5563;
  display: block;
  margin-top: 3px;
  font-weight: 500;
  line-height: 1.35;
}

.simple-section { margin-top:var(--s-9); }.simple-section-head { display:flex;align-items:baseline;justify-content:space-between;gap:var(--s-4);margin-bottom:var(--s-5); }.simple-section-head h2,.simple-how h2 { font-size:clamp(1.5rem,3vw,2.2rem);letter-spacing:-.035em; }.simple-section-head a { color:var(--text-muted);font-size:var(--fs-13);font-weight:700; }.simple-categories { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-3); }.simple-categories a { position:relative;min-height:145px;padding:var(--s-5);border-radius:20px;background:var(--cat-bg);overflow:hidden; }.simple-categories img { position:absolute;width:92px;height:92px;right:-8px;bottom:-8px;object-fit:cover;border-radius:50%;mix-blend-mode:multiply; }.simple-categories b,.simple-categories small { position:relative;z-index:1;display:block;max-width:10ch; }.simple-categories small { margin-top:6px;color:var(--text-muted);font-size:var(--fs-11); }.simple-products { display:flex;gap:var(--s-4);overflow-x:auto;padding:3px 3px var(--s-4);scroll-snap-type:x proximity;scrollbar-width:none; }.simple-products::-webkit-scrollbar { display:none; }.simple-products .pcard { flex:0 0 190px;scroll-snap-align:start;box-shadow:none;border:1px solid var(--border); }.simple-products .pcard:hover { transform:none;box-shadow:var(--sh-2); }
.simple-how { margin-top:var(--s-10);padding:var(--s-7);border-radius:28px;background:#FFE8D7; }.simple-how>div { display:grid;gap:var(--s-5);margin:var(--s-6) 0; }.simple-how article { padding-top:var(--s-5);border-top:1px solid rgba(30,18,38,.14); }.simple-how article>span { width:32px;height:32px;display:grid;place-items:center;margin-bottom:var(--s-4);border-radius:50%;background:var(--plum-900);color:#fff;font-weight:800; }.simple-how article b { font-size:var(--fs-16); }.simple-how article p { margin-top:var(--s-3);max-width:34ch;color:var(--text-secondary);font-size:var(--fs-13);line-height:1.5; }
.home-intro { display:grid;gap:var(--s-6);margin-bottom:var(--s-7);padding:var(--s-7);border-radius:var(--r-xl);background:var(--plum-900);color:#fff;box-shadow:var(--sh-3);overflow:hidden;position:relative; }
.home-intro::after { content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-130px;top:-180px;background:rgba(239,91,43,.24);filter:blur(2px);pointer-events:none; }
.home-intro-copy { position:relative;z-index:1;max-width:720px; }.home-kicker { display:inline-flex;align-items:center;gap:var(--s-3);font-size:var(--fs-12);font-weight:700;color:var(--saffron-300);text-transform:uppercase;letter-spacing:.08em; }.home-kicker svg { width:16px; }.home-intro h1 { color:#fff;font-size:clamp(2rem,5vw,3.5rem);line-height:1.02;max-width:15ch;margin:var(--s-5) 0; }.home-intro-copy>p { color:rgba(255,255,255,.72);font-size:var(--fs-16);line-height:1.6;max-width:62ch; }
.home-search { display:flex;align-items:center;gap:var(--s-3);max-width:660px;margin-top:var(--s-6);padding:6px;background:#fff;border-radius:var(--r-lg);box-shadow:var(--sh-3); }.home-search>svg { width:20px;margin-left:var(--s-3);color:var(--ink-400); }.home-search input { min-width:0;flex:1;height:42px;color:var(--ink-900);font-size:var(--fs-15); }.home-search .btn { flex:none; }.home-intro-actions { display:flex;flex-wrap:wrap;gap:var(--s-3);margin-top:var(--s-5); }.home-intro-actions .btn-secondary { background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff; }
.home-intro-proof { position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-3);align-self:end; }.home-intro-proof>div { padding:var(--s-4);border-radius:var(--r-md);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12); }.home-intro-proof strong,.home-intro-proof span { display:block; }.home-intro-proof strong { font:700 var(--fs-22)/1 var(--font-display); }.home-intro-proof span { margin-top:6px;color:rgba(255,255,255,.62);font-size:var(--fs-11); }.home-intro-proof>a { grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:var(--s-4) var(--s-5);border-radius:var(--r-md);background:var(--ember-600);color:#fff;font-weight:700; }.home-intro-proof>a span { margin:0;color:#fff;font-size:var(--fs-13); }.home-intro-proof>a svg { width:18px; }

.home-view .bento-deal,.home-view .bento-ad { grid-column:span 6; }
.receiving-meta,.receiving-detail-grid { display:grid;grid-template-columns:1fr;gap:var(--s-4); }
.claim-meta { display:flex;flex-wrap:wrap;gap:var(--s-3); }
.claim-meta span { display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:var(--r-pill);background:var(--risk-100);color:var(--risk-700);font-size:var(--fs-12); }
.claim-meta svg { width:14px;height:14px; }

/* ---------- Product card (2026 Enhanced) ------------------ */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.pcard {
  display: flex; flex-direction: column; background: var(--bg-glass-card);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: var(--glass-border); border-radius: var(--r-xl); overflow: hidden; position: relative;
  box-shadow: var(--sh-card), var(--glass-specular);
  transition: box-shadow var(--dur-base) var(--ease-spring), border-color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease-spring);
}
.pcard:hover { box-shadow: var(--sh-card-hover), inset 0 1px 0 0 rgba(255, 255, 255, 1); border-color: var(--ember-400); transform: translateY(-5px); }
.pcard-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--ink-50); overflow: hidden; box-shadow: inset 0 -1px 0 rgba(26,22,19,.06); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-spring); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-flags { position: absolute; top: var(--s-4); left: var(--s-4); right: 46px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 2; }
.pcard-fav {
  position: absolute; top: var(--s-4); right: var(--s-4); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--ink-500); box-shadow: var(--sh-1); border: 1px solid rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-spring), background var(--dur-fast) var(--ease);
}
.pcard-fav:hover { color: var(--risk-600); transform: scale(1.1); background: #fff; }
.pcard-fav.on { color: var(--risk-600); } .pcard-fav.on svg { fill: currentColor; }
.pcard-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.pcard-price { display: flex; align-items: baseline; gap: var(--s-4); }
.pcard-price .price { font-size: var(--fs-18); }
.pcard-locked { display: inline-flex; align-items: center; gap: var(--s-3); font-size: var(--fs-13); font-weight: 600; color: var(--plum-700); }
.pcard-locked svg { width: 14px; height: 14px; }
.pcard-name { font-size: var(--fs-14); font-weight: 500; line-height: 1.34; color: var(--ink-900); }
.pcard-meta { font-size: var(--fs-12); color: var(--text-muted); }
.pcard-sup { display: flex; align-items: center; gap: 5px; font-size: var(--fs-12); color: var(--text-secondary); margin-top: auto; padding-top: var(--s-3); }
.pcard-sup img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex: none; }
.pcard-sup .vtick { color: var(--info-600); display: flex; }
.pcard-sup .vtick svg { width: 13px; height: 13px; }
.pcard-foot { padding: 0 var(--s-5) var(--s-5); }
.pcard-cta { display: flex; align-items: center; gap: var(--s-4); }
.pcard-cta .stepper { flex: none; }
.pcard-cta .line-total { font-size: var(--fs-13); font-weight: 700; font-variant-numeric: tabular-nums; margin-left: auto; }
.pcard-note { font-size: var(--fs-11); color: var(--text-muted); margin-top: var(--s-3); display: flex; align-items: center; gap: 4px; }
.pcard-note svg { width: 12px; height: 12px; }

/* Rail card sizing */
.rail .pcard { width: 176px; }
.rail .scard { width: 268px; }

/* ---------- Supplier card (2026 Enhanced) ---------------- */
.scard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-card); transition: box-shadow var(--dur-base) var(--ease-spring), transform var(--dur-base) var(--ease-spring), border-color var(--dur-base) var(--ease); }
.scard:hover { box-shadow: var(--sh-card-hover); transform: translateY(-4px); border-color: var(--ember-300); }
.scard-cover { position: relative; height: 96px; background: var(--plum-800); overflow: hidden; }
.scard-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-spring); }
.scard:hover .scard-cover img { transform: scale(1.06); }
.scard-logo { position: absolute; left: var(--s-5); bottom: -22px; width: 54px; height: 54px; border-radius: var(--r-md); border: 3px solid var(--white); background: var(--white); overflow: hidden; box-shadow: var(--sh-2); }
.scard-logo img { width: 100%; height: 100%; object-fit: cover; }
.scard-state { position: absolute; top: var(--s-4); right: var(--s-4); }
.scard-body { padding: var(--s-8) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); flex: 1; }
.scard-name { font-family: var(--font-display); font-size: var(--fs-16); font-weight: 600; letter-spacing: -0.015em; display: flex; align-items: center; gap: 5px; }
.scard-name .vtick { color: var(--info-600); display: flex; } .scard-name .vtick svg { width: 15px; height: 15px; }
.scard-cats { display: flex; flex-wrap: wrap; gap: 4px; }
.scard-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5); padding-top: var(--s-4); border-top: 1px dashed var(--border); font-size: var(--fs-12); }
.scard-fact { display: flex; align-items: center; gap: 5px; color: var(--text-secondary); min-width: 0; }
.scard-fact svg { width: 14px; height: 14px; color: var(--ink-400); }
.scard-fact b { color: var(--ink-800); font-weight: 600; }
.scard-foot { padding: 0 var(--s-5) var(--s-5); }

/* ---------- Category tiles (2026 Enhanced) ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.cat-tile {
  position: relative; display: flex; align-items: center; gap: var(--s-4); min-height: 80px;
  padding: var(--s-4) var(--s-5) var(--s-4) var(--s-4); border-radius: var(--r-lg);
  background: var(--tile, var(--ink-50)); border: 1px solid rgba(26,22,19,.06); overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-spring), border-color var(--dur-base) var(--ease);
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-card-hover); border-color: var(--ember-300); }
.cat-tile img { width: 56px; height: 56px; border-radius: var(--r-md); object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.08); transition: transform var(--dur-slow) var(--ease-spring); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile > span { min-width: 0; }
.cat-tile .cat-name { display: block; font-family: var(--font-display); font-size: var(--fs-14); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.cat-tile .cat-count { display: block; font-size: var(--fs-12); color: var(--text-secondary); margin-top: 3px; }

/* ---------- Promo tiles (2026 Enhanced) ------------------- */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
.promo {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: var(--s-8);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; color: #fff;
  background: var(--plum-800); box-shadow: var(--sh-card);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-spring);
}
.promo:hover { transform: translateY(-3px); box-shadow: var(--sh-card-hover); }
.promo-art { position: absolute; inset: 0; z-index: 0; }
.promo-art img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-spring); }
.promo:hover .promo-art img { transform: scale(1.05); }
.promo-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(21,12,28,.90) 0%, rgba(21,12,28,.65) 52%, rgba(21,12,28,.20) 100%); }
.promo-in { position: relative; z-index: 1; max-width: 36ch; }
.promo .eyebrow { color: rgba(255,255,255,.78); font-weight: 700; letter-spacing: 0.08em; }
.promo h3 { color: #fff; font-size: var(--fs-24); letter-spacing: var(--tracking-display); line-height: 1.1; }
.promo p { color: rgba(255,255,255,.86); font-size: var(--fs-14); margin-top: var(--s-4); }
.promo .btn { margin-top: var(--s-6); align-self: flex-start; }
.promo-lead { min-height: 290px; }
.promo-lead h3 { font-size: var(--fs-28); }
.promo-ember { background: var(--ember-700); }
.promo-ember .promo-art::after { background: linear-gradient(100deg, rgba(133,40,13,.93) 0%, rgba(174,52,17,.75) 55%, rgba(214,70,27,.30) 100%); }
.promo-saffron { background: var(--saffron-600); }
.promo-saffron .promo-art::after { background: linear-gradient(100deg, rgba(120,74,6,.92) 0%, rgba(162,102,11,.70) 55%, rgba(240,166,44,.24) 100%); }

/* Value strip — three short proofs, not a hero */
.valstrip { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.valcell { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-5) var(--s-6); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); }
.valcell .vi { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--ember-50); color: var(--ember-600); flex: none; }
.valcell .vi svg { width: 20px; height: 20px; }
.valcell b { display: block; font-family: var(--font-display); font-size: var(--fs-15); font-weight: 600; }
.valcell span { font-size: var(--fs-12); color: var(--text-muted); }

/* ---------- Rails ----------------------------------------- */
.rail-wrap { position: relative; }
.rail-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); box-shadow: var(--sh-2); color: var(--ink-700); align-items: center; justify-content: center; transition: background var(--dur-fast) var(--ease); }
.rail-nav:hover { background: var(--ink-50); }
.rail-nav[disabled] { opacity: 0; pointer-events: none; }
.rail-nav.prev { left: -18px; } .rail-nav.next { right: -18px; }

/* ---------- Catalogue layout ------------------------------ */
.filter-rail { display: none; }
.filters { display: flex; flex-direction: column; gap: var(--s-7); }
.filter-block { display: flex; flex-direction: column; gap: var(--s-4); }
.filter-block h4 { font-size: var(--fs-13); font-weight: 600; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }

/* ---------- Product detail -------------------------------- */
.pdp-grid { display: grid; gap: var(--s-6); align-items: start; }
.pdp-grid > * { min-width: 0; }
.pdp-title { font-size: var(--fs-28); line-height: 1.14; }
.pdp-media { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.pdp-media img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp-thumbs { display: flex; gap: var(--s-4); margin-top: var(--s-4); }
.pdp-thumbs button { width: 68px; height: 68px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--border); background: var(--white); }
.pdp-thumbs button[aria-pressed="true"] { border-color: var(--ember-500); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buy { position: sticky; top: calc(var(--topbar-h) + var(--s-5)); }
.pdp-alerts { display: none; }
.pdp-mobile-bar { display: none; }
@media (max-width: 767px) {
  .pdp-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
    z-index: calc(var(--z-nav) - 1);
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: var(--s-3) var(--s-5);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(28, 25, 23, 0.08);
    animation: view-fade-up 0.3s var(--ease-spring-snappy) both;
  }
  .pdp-mobile-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .pdp-mobile-price .price {
    font-size: var(--fs-22);
    line-height: 1.1;
  }
  .view:has(.pdp-mobile-bar) {
    padding-bottom: calc(var(--bottomnav-h) + 72px);
  }
}

/* ---------- Supplier profile ------------------------------ */
.sup-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; background: var(--plum-800); }
.sup-hero-art { position: absolute; inset: 0; }
.sup-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.sup-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(21,12,28,.92) 0%, rgba(21,12,28,.72) 55%, rgba(21,12,28,.38) 100%); }
.sup-hero-in { position: relative; z-index: 1; padding: var(--s-8) var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-6); align-items: flex-start; }
.sup-hero h1 { color: #fff; }
.sup-hero .badge { background: rgba(255,255,255,.16); color: #fff; }
.sup-hero-logo { width: 76px; height: 76px; border-radius: var(--r-lg); overflow: hidden; border: 3px solid rgba(255,255,255,.24); flex: none; }
.sup-hero-logo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Basket ---------------------------------------- */
.cart-group { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.cart-group + .cart-group { margin-top: var(--s-6); }
.cart-group-head { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-5) var(--s-6); background: var(--ink-50); border-bottom: 1px solid var(--border); }
.cart-group-body { padding: 0 var(--s-6); }
.cart-group-foot { padding: var(--s-5) var(--s-6); border-top: 1px solid var(--border); }
.minorder { display: flex; flex-direction: column; gap: var(--s-3); }
.minorder-row { display: flex; justify-content: space-between; font-size: var(--fs-12); }
.sticky-side { position: sticky; top: calc(var(--topbar-h) + var(--s-5)); }

/* ---------- Line rows ------------------------------------- */
.line { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-5) 0; }
.line + .line { border-top: 1px solid var(--border); }
.line-thumb { width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-50); flex: none; }
.line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-main { flex: 1; min-width: 0; }
.line-title { font-size: var(--fs-14); font-weight: 600; line-height: 1.3; }
.line-sub { font-size: var(--fs-12); color: var(--text-muted); margin-top: 2px; }
.line-right { text-align: right; flex: none; }

/* ---------- Orders ---------------------------------------- */
.order-card { display: block; padding: var(--s-6); }
.order-id { font-family: var(--font-mono); font-size: var(--fs-12); color: var(--text-muted); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-strip { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.order-strip span { height: 4px; border-radius: 99px; background: var(--ink-200); flex: 1; }
.order-strip span.on { background: var(--ember-500); }
.order-strip span.bad { background: var(--risk-600); }
.doc-row { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--white); transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); width: 100%; text-align: left; }
.doc-row:hover { border-color: var(--ember-400); background: var(--ember-50); }
.doc-icon { width: 38px; height: 38px; border-radius: var(--r-xs); display: grid; place-items: center; background: var(--ink-100); color: var(--ink-600); flex: none; }
.doc-icon svg { width: 19px; height: 19px; }

/* ---------- Messaging ------------------------------------- */
.chat { display: grid; grid-template-columns: 1fr; height: calc(100vh - var(--topbar-h) - var(--bottomnav-h) - var(--s-12)); min-height: 440px; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.chat > .chat-thread { display: none; }
.chat.show-thread > .chat-list { display: none; }
.chat.show-thread > .chat-thread { display: flex; }
.chat-list { border-right: 1px solid var(--border); overflow-y: auto; background: var(--white); }
.chat-thread { flex-direction: column; background: var(--ink-50); min-width: 0; }
.thread-item { display: flex; gap: var(--s-5); padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--border); width: 100%; text-align: left; transition: background var(--dur-fast) var(--ease); }
.thread-item:hover { background: var(--ink-50); }
.thread-item.is-active { background: var(--ember-50); box-shadow: inset 3px 0 0 var(--ember-600); }
.thread-item .unread { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-600); flex: none; align-self: center; }
.chat-head { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-5) var(--s-6); background: var(--white); border-bottom: 1px solid var(--border); flex: none; }
.chat-body { flex: 1; overflow-y: auto; padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.bubble { max-width: min(78%, 460px); padding: var(--s-5) var(--s-6); border-radius: var(--r-md); font-size: var(--fs-14); line-height: 1.45; box-shadow: var(--sh-1); }
.bubble.them { background: var(--white); border-bottom-left-radius: var(--s-2); align-self: flex-start; }
.bubble.me { background: var(--plum-800); color: #fff; border-bottom-right-radius: var(--s-2); align-self: flex-end; }
.bubble .when { display: block; margin-top: 4px; font-size: var(--fs-11); opacity: .62; font-variant-numeric: tabular-nums; }
.bubble-sys { align-self: center; background: var(--ink-100); color: var(--ink-600); font-size: var(--fs-12); padding: 5px var(--s-5); border-radius: var(--r-pill); box-shadow: none; max-width: 90%; text-align: center; }
.chat-compose { display: flex; gap: var(--s-4); padding: var(--s-5); background: var(--white); border-top: 1px solid var(--border); flex: none; align-items: flex-end; }
.chat-compose textarea { min-height: 44px; max-height: 120px; }
.typing { display: inline-flex; gap: 3px; align-items: center; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-400); animation: bounce 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Stats / charts -------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-5); }
.stat { padding: var(--s-6); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); }
.stat .stat-label { font-size: var(--fs-12); color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.stat .stat-label svg { width: 14px; height: 14px; }
.stat .stat-value { font-family: var(--font-display); font-size: var(--fs-24); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: var(--s-3); }
.stat .stat-delta { font-size: var(--fs-12); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; margin-top: var(--s-3); }
.stat .stat-delta svg { width: 13px; height: 13px; }
.stat .stat-delta.up { color: var(--ok-600); } .stat .stat-delta.down { color: var(--risk-600); } .stat .stat-delta.flat { color: var(--text-muted); }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 44px; margin-top: var(--s-5); }
.spark i { flex: 1; background: var(--ember-100); border-radius: 3px 3px 0 0; min-height: 3px; }
.spark i.hi { background: var(--ember-500); }

/* ---------- Kanban ---------------------------------------- */
.kanban { display: flex; gap: var(--s-5); overflow-x: auto; padding-bottom: var(--s-5); }
.kan-col { flex: none; width: 264px; background: var(--ink-50); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-5); }
.kan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.kan-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-sm); padding: var(--s-5); box-shadow: var(--sh-1); cursor: pointer; transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.kan-card + .kan-card { margin-top: var(--s-4); }
.kan-card:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }

/* ---------- Auth ------------------------------------------ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: var(--s-8) var(--s-5); background: var(--canvas); }
.auth-card { width: 100%; max-width: 490px; }
.auth-art { display: none; position: relative; background: var(--plum-900); overflow: hidden; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.auth-art-in { position: relative; z-index: 1; padding: var(--s-12) var(--s-11); display: flex; flex-direction: column; justify-content: flex-end; height: 100%; color: #fff; }
.auth-art-in h2 { color: #fff; font-size: var(--fs-28); letter-spacing: var(--tracking-display); line-height: 1.1; }
.auth-art-in p { color: rgba(255,255,255,.76); margin-top: var(--s-5); max-width: 40ch; }
.auth-tabs { display: flex; gap: var(--s-2); padding: 4px; background: var(--ink-100); border-radius: var(--r-sm); margin-bottom: var(--s-7); }
.auth-tabs button { flex: 1; padding: 9px; border-radius: 8px; font-size: var(--fs-13); font-weight: 600; color: var(--ink-600); transition: all var(--dur-fast) var(--ease); }
.auth-tabs button[aria-pressed="true"] { background: var(--white); color: var(--plum-900); box-shadow: var(--sh-1); }
.code-inputs { display: flex; gap: var(--s-4); }
.code-inputs input { width: 100%; height: 58px; text-align: center; font-family: var(--font-display); font-size: var(--fs-24); font-weight: 700; border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--white); }
.code-inputs input:focus { outline: none; border-color: var(--ember-400); box-shadow: var(--ring); }
.acct-hint { border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: var(--s-5); background: var(--white); }
.acct-row { display: flex; align-items: center; gap: var(--s-4); width: 100%; padding: var(--s-3) var(--s-4); border-radius: var(--r-xs); text-align: left; transition: background var(--dur-fast) var(--ease); }
.acct-row:hover { background: var(--ink-50); }

/* ---------- Modern Minimalist Marketplace Footer ---------- */
.foot-minimal { margin-top:var(--s-10);padding:var(--s-8) 0 var(--s-6);background:#F7F5F2;color:var(--ink-700);border-top:1px solid var(--border); }
.foot-minimal-main { display:grid;gap:var(--s-6);align-items:center; }
.foot-minimal-brand { display:inline-flex;align-items:center;gap:var(--s-3);width:max-content; }
.foot-minimal-brand b,.foot-minimal-brand small { display:block; }
.foot-minimal-brand b { font:750 var(--fs-18)/1 var(--font-display);letter-spacing:-.035em;color:var(--plum-900); }
.foot-minimal-brand b em { font-style:normal;color:var(--ember-600); }
.foot-minimal-brand small { margin-top:4px;font-size:9px;font-weight:800;letter-spacing:.12em;color:var(--ink-400); }
.foot-minimal-nav { display:flex;flex-wrap:wrap;gap:var(--s-3) var(--s-6); }
.foot-minimal-nav a { font-size:var(--fs-13);font-weight:650;color:var(--ink-700); }
.foot-minimal-nav a:hover { color:var(--ember-700); }
.foot-minimal-contact { display:flex;flex-wrap:wrap;gap:var(--s-3); }
.foot-minimal-contact a,.foot-minimal-contact span { display:inline-flex;align-items:center;gap:7px;font-size:var(--fs-12);color:var(--ink-600); }
.foot-minimal-contact svg { width:15px;height:15px;color:var(--ember-600); }
.foot-minimal-bottom { display:flex;flex-wrap:wrap;gap:var(--s-3) var(--s-5);margin-top:var(--s-6);padding-top:var(--s-5);border-top:1px solid var(--border);font-size:var(--fs-11);color:var(--ink-400); }
.foot-minimal-bottom a { margin-left:auto;color:var(--ink-500); }
@media (min-width:900px) {
  .foot-minimal-main { grid-template-columns:auto 1fr auto;gap:var(--s-8); }
  .foot-minimal-nav { justify-content:center; }
  .foot-minimal-contact { justify-content:flex-end; }
}

.foot {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(214, 70, 27, 0.12), transparent 70%), var(--plum-950);
  color: rgba(255, 255, 255, 0.72);
  padding: var(--s-11) 0 var(--s-9);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-8);
}

@media (min-width: 680px) {
  .foot-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .foot-main-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--s-9);
  }
}

.foot-col-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.foot-brand-header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.foot-desc {
  font-size: var(--fs-13);
  line-height: 1.6;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.65);
}

.foot-contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.foot-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
}

.foot-contact-pill svg {
  width: 13px;
  height: 13px;
  color: var(--ember-400);
}

a.foot-contact-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.foot-col-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.foot-col-nav h5 {
  font-size: var(--fs-13);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 4px 0;
}

.foot-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-nav-list a {
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  display: inline-block;
}

.foot-nav-list a:hover {
  color: #fff;
  transform: translateX(3px);
}

.foot-nav-all {
  color: var(--ember-400) !important;
  font-weight: 600;
  margin-top: 2px;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, 0.5);
}

.foot-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.foot-dot-sep {
  opacity: 0.4;
}

.foot-muted-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.foot-muted-link:hover {
  color: var(--ember-400);
}

.foot-brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-11);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.foot-brand-btn svg {
  width: 13px;
  height: 13px;
  color: var(--saffron-400);
}

.foot-brand-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* ---------- Role-based Sign In Page (2026 UX) ------------ */
.role-auth-grid {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.role-auth-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
  padding: var(--s-4) var(--s-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: left;
  transition: all var(--dur-fast) var(--ease-spring-snappy);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.role-auth-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: transparent;
  transition: background var(--dur-fast) var(--ease);
}
.role-auth-card:hover {
  border-color: var(--ember-400);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
}
.role-auth-card:active {
  transform: scale(0.98);
}
.role-auth-card.is-current {
  border-color: var(--ember-500);
  background: rgba(214, 70, 27, 0.03);
}
.role-auth-card.is-current::before {
  background: var(--ember-500);
}
.role-auth-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform var(--dur-fast) var(--ease-spring-snappy);
}
.role-auth-card:hover .role-auth-icon {
  transform: scale(1.08);
}
.role-auth-icon.restaurant { background: var(--ember-100); color: var(--ember-700); }
.role-auth-icon.supplier   { background: #DCFCE7; color: #15803D; }
.role-auth-icon.platform   { background: #EDE9FE; color: #6D28D9; }
.role-auth-icon.guest      { background: var(--ink-200); color: var(--ink-700); }
.role-auth-icon svg { width: 22px; height: 22px; }

.role-auth-info {
  flex: 1;
  min-width: 0;
}
.role-auth-role {
  font-weight: 700;
  font-size: var(--fs-14);
  color: var(--text-primary);
}
.role-auth-name {
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1px;
}
.role-auth-desc {
  font-size: var(--fs-12);
  color: var(--text-muted);
  margin-top: 2px;
}
.role-auth-arrow {
  display: flex;
  align-items: center;
  color: var(--ember-700);
  flex: none;
  opacity: 0.7;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.role-auth-arrow svg { width: 16px; height: 16px; }
.role-auth-card:hover .role-auth-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* On a phone the basket lives in the bottom bar, so the header keeps
   only brand, language and account — and the language pills tighten. */
@media (max-width: 639px) {
  .hdr .basket-btn { display: none; }
  .lang button { padding: 5px 7px; font-size: 11px; }
  .hdr-main { gap: var(--s-3); }
  .brand-word { font-size: var(--fs-18); }
  .simple-home { padding-top:0; }
  .simple-hero {
    margin: var(--s-1) 0 var(--s-4);
    padding: var(--s-6) var(--s-4) var(--s-5);
    border-radius: 26px;
    gap: var(--s-5);
  }
  .foot-minimal {
    margin-top: var(--s-8);
    padding: var(--s-7) 0 calc(var(--bottomnav-h) + var(--s-5));
  }
  .foot-minimal-main { gap: var(--s-5); }
  .foot-minimal-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-3) var(--s-4);
  }
  .foot-minimal-nav a { line-height: 1.35; }
  .foot-minimal-contact {
    flex-direction: column;
    align-items: flex-start;
  }
  .foot-minimal-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }
  .foot-minimal-bottom a { margin-left: 0; }
  .simple-hero h1 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -.045em;
  }
  .simple-hero-copy > p {
    margin-top: var(--s-3);
    font-size: var(--fs-14);
    line-height: 1.48;
  }
  .simple-search {
    margin-top: var(--s-4);
    padding: 5px 5px 5px var(--s-3);
    border-radius: 16px;
  }
  .simple-search input {
    height: 40px;
    font-size: 15px;
  }
  .simple-search button {
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
  }
  .simple-hero-links {
    margin-top: var(--s-4);
    font-size: var(--fs-13);
    gap: var(--s-2);
  }
  .hero-link-primary {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 12px;
  }
  .hero-link-secondary {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 12px;
  }
  .simple-hero-image-wrap {
    height: 250px;
    border-radius: 22px;
  }
  .hero-badge-float.top-badge {
    top: var(--s-3);
    right: var(--s-3);
    padding: 5px 10px;
  }
  .badge-icon-wrap.cold-icon {
    width: 22px;
    height: 22px;
  }
  .badge-icon-wrap.cold-icon svg {
    width: 13px;
    height: 13px;
  }
  .badge-content b {
    font-size: 11px;
  }
  .badge-content small {
    display: none;
  }
  .hero-delivery-widget {
    left: var(--s-3);
    right: var(--s-3);
    bottom: var(--s-3);
    padding: 10px 12px;
    border-radius: 14px;
    gap: 10px;
  }
  .delivery-widget-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .delivery-widget-icon svg {
    width: 18px;
    height: 18px;
  }
  .delivery-widget-header b {
    font-size: 13px;
  }
  .delivery-badge-time {
    font-size: 10px;
    padding: 1px 6px;
  }
  .delivery-widget-info small {
    font-size: 11px;
    margin-top: 2px;
    line-height: 1.25;
  }
  .simple-section { margin-top:var(--s-7); }
  .simple-section-head { margin-bottom:var(--s-4); }
  .simple-section-head h2 { font-size:var(--fs-22); }
  .simple-categories { display:flex;overflow-x:auto;gap:var(--s-3);margin:0 calc(-1 * var(--s-5));padding:0 var(--s-5) var(--s-3);scroll-snap-type:x proximity;scrollbar-width:none; }
  .simple-categories::-webkit-scrollbar { display:none; }
  .simple-categories a { flex:0 0 138px;min-height:132px;padding:var(--s-4);scroll-snap-align:start;border-radius:18px; }
  .simple-categories img { width:78px;height:78px; }
  .simple-products { margin:0 calc(-1 * var(--s-5));padding-left:var(--s-5);padding-right:var(--s-5); }
  .simple-products .pcard { flex-basis:168px;border-radius:18px; }
  .simple-products .pcard-body { padding:var(--s-4); }
  .simple-products .pcard-foot { padding:0 var(--s-4) var(--s-4); }
  .simple-how { margin:var(--s-8) calc(-1 * var(--s-5)) 0;padding:var(--s-7) var(--s-5);border-radius:26px 26px 0 0; }
  .simple-how>div { gap:var(--s-4); }
  .simple-how article { display:grid;grid-template-columns:34px 1fr;column-gap:var(--s-4); }
  .simple-how article>span { grid-row:1/3;margin:0; }
  .simple-how article p { grid-column:2;margin-top:5px; }
  .simple-how>.btn { width:100%; }
  .simple-home-work { margin:0 calc(-1 * var(--s-5)) var(--s-4);border-radius:0;padding:var(--s-3) var(--s-5); }
  .simple-home-work small { display:none; }
  .foot-main-grid { grid-template-columns:1fr!important;gap:var(--s-6)!important; }
  .foot-col-nav { display:none; }
  .foot { padding-top:var(--s-8); }
  .foot-bottom-left { gap:var(--s-3); }
}
@media (max-width: 380px) {
  .brand-word { display: none; }
}

/* On a phone the promo block behaves as a swipeable banner strip, so
   real products are reachable within the first screen. */
@media (max-width: 639px) {
  .promo-grid {
    display: flex; overflow-x: auto; gap: var(--s-5);
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--s-5)); padding: 0 var(--s-5) var(--s-3);
  }
  .promo-grid::-webkit-scrollbar { display: none; }
  .promo-grid > * { flex: 0 0 86%; scroll-snap-align: start; }
  .promo-grid > .col { flex-direction: row; gap: var(--s-5); flex: none; }
  .promo-grid > .col > * { flex: 0 0 86vw; scroll-snap-align: start; }
  .promo, .promo-lead { min-height: 206px; padding: var(--s-6); }
  .promo h3, .promo-lead h3 { font-size: var(--fs-20); }
  .promo p { font-size: var(--fs-13); }

  /* Proof cards in clean 2x2 grid on mobile/tablet */
  .valstrip { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .valcell { min-width: 0; flex-direction: column; text-align: center; gap: var(--s-3); padding: var(--s-5) var(--s-4); }
  .valcell .vi { width: 34px; height: 34px; margin: 0 auto; }
  .valcell b { font-size: var(--fs-12); line-height: 1.25; }
  .valcell span span { display: none; }
}

@media (min-width: 480px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rail .pcard { width: 190px; }
}

@media (min-width: 640px) {
  .shell { padding: 0 var(--s-6); }
  .hdr-main { padding: var(--s-5) var(--s-6); }
  .catbar-inner { padding: 0 var(--s-6); }
  .sysbanner-inner { padding: var(--s-4) var(--s-6); }
  .pgrid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .promo-grid { grid-template-columns: 2fr 1fr; }
  .valstrip { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  .stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .page-head { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .page-head h1 { font-size: var(--fs-28); }
  .overlay { align-items: center; padding: var(--s-8); }
  .modal { border-radius: var(--r-xl); max-height: 88vh; }
  .modal-grip { display: none; }
  .modal-foot { justify-content: flex-end; padding-bottom: var(--s-5); }
  .modal-foot .btn { flex: 0 0 auto; }
  .toast-region { left: auto; right: var(--s-7); transform: none; }
  .scard-facts { grid-template-columns: 1fr 1fr; }
  .today-hero { flex-direction:row;align-items:center;justify-content:space-between;padding:var(--s-7); }
  .today-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .approval-facts { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .delivery-card { grid-template-columns:150px minmax(0,1fr); }
  .delivery-actions { grid-column:1/-1; }
  .receiving-meta,.receiving-detail-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .simple-categories { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .simple-how>div { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (min-width: 900px) {
  .buyer-workbar { display:block; }
  .hdr-search { display: flex; }
  .hdr-mobile-search { display: none; }
  .ctx { display: inline-flex; }
  .acct .who { display: block; }
  .pgrid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .cat-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .valstrip { grid-template-columns: repeat(4, 1fr); }
  .valcell { flex-direction: row; text-align: left; }
  .valcell span span { display: block; }
  .rail .pcard { width: 208px; }
  .promo-lead { min-height: 320px; }
  /* min-width:0 lets a column with a wide table shrink instead of
     pushing the grid past the container. */
  .split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-7); align-items: start; }
  .split-wide { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
  .split > *, .split-wide > * { min-width: 0; }
  .pdp-grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: var(--s-7); }
  .pdp-side { grid-column: 2; }
  .auth { grid-template-columns: 1fr 1fr; }
  .auth-art { display: block; }
  .home-intro { grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);padding:var(--s-9);min-height:420px;align-items:center; }
  .simple-hero { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); padding: var(--s-9) var(--s-9); min-height: 520px; align-items: center; }
  .simple-hero-image-wrap { height: 440px; }
}

@media (min-width: 1120px) {
  .pdp-grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr) 320px; gap: var(--s-8); }
  .pdp-side { grid-column: 3; grid-row: 1; }
  .app-main { padding-bottom: var(--s-11); }
  .bottomnav { display: none; }
  .shell { padding: 0 var(--s-8); }
  .hdr-main, .catbar-inner, .sysbanner-inner { padding-left: var(--s-8); padding-right: var(--s-8); }
  .workspace { display: grid; grid-template-columns: var(--sidebar-w) 1fr; gap: var(--s-9); max-width: var(--shell-max); margin: 0 auto; padding: 0 var(--s-8); align-items: start; }
  .sidebar { display: block; position: sticky; top: calc(var(--topbar-h) + var(--s-6)); max-height: calc(100vh - var(--topbar-h) - var(--s-9)); overflow-y: auto; padding-bottom: var(--s-8); }
  .workspace > .ws-content { min-width: 0; padding-top: var(--s-6); }
  .ws-content .shell { padding: 0; max-width: none; }
  .pgrid { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .pgrid.roomy { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .cat-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .catalog-layout { display: flex; gap: var(--s-8); align-items: flex-start; }
  .filter-rail { display: block; width: 232px; flex: none; position: sticky; top: calc(var(--topbar-h) + var(--s-6)); }
  .chat { grid-template-columns: 320px 1fr; height: calc(100vh - var(--topbar-h) - var(--s-13)); }
  .chat > .chat-list { display: block !important; }
  .chat > .chat-thread { display: flex !important; }
  .rail-nav { display: flex; }
  .promo-grid { grid-template-columns: 1.6fr 1fr; }
}

@media (max-width: 1119px) { .desk-only { display: none !important; } }
@media (min-width: 1120px) { .mob-only { display: none !important; } }
@media (max-width: 639px)  { .sm-up { display: none !important; } }

/* ---------- Immersive marketplace hero ------------------- */
.simple-hero {
  display: flex;
  min-height: 620px;
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border: 0;
  border-radius: 32px;
  background: #17211b;
  box-shadow: 0 24px 64px -30px rgba(18, 31, 23, .42);
  isolation: isolate;
}
.simple-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(11, 20, 14, .94) 0%, rgba(11, 20, 14, .78) 38%, rgba(11, 20, 14, .25) 68%, rgba(11, 20, 14, .08) 100%),
    linear-gradient(0deg, rgba(8, 16, 11, .28), transparent 45%);
  pointer-events: none;
}
.simple-hero-visual,
.simple-hero-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow: none;
  overflow: hidden;
}
.simple-hero-visual { z-index: -2; }
.simple-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.002);
}
.simple-hero:hover .simple-hero-img { transform: scale(1.025); }
.simple-hero-copy {
  z-index: 1;
  width: min(650px, 58%);
}
.simple-hero h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  line-height: .98;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}
.simple-hero-copy > p {
  max-width: 570px;
  color: rgba(255, 255, 255, .78);
}
.simple-search {
  max-width: 600px;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 46px -20px rgba(0, 0, 0, .48);
}
.simple-search:focus-within {
  border-color: #7fc9a2;
  box-shadow: 0 0 0 3px rgba(85, 166, 119, .25), 0 18px 46px -20px rgba(0, 0, 0, .48);
}
.simple-search button,
.hero-link-primary {
  background: #246b45;
  box-shadow: 0 8px 22px -10px rgba(15, 57, 34, .8);
}
.simple-search button:hover,
.hero-link-primary:hover { background: #195737; }
.hero-link-secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.hero-link-secondary:hover { background: rgba(255, 255, 255, .22); }
.simple-hero-trust { border-top-color: rgba(255, 255, 255, .18); }
.trust-item { color: rgba(255, 255, 255, .76); }
.trust-item svg { color: #7de2a9; }
.trust-sep { background: rgba(255, 255, 255, .32); }

@media (min-width: 640px) and (max-width: 899px) {
  .simple-hero { min-height: 570px; }
  .simple-hero-copy { width: min(620px, 76%); }
  .simple-hero::after {
    background: linear-gradient(90deg, rgba(11, 20, 14, .94) 0%, rgba(11, 20, 14, .7) 55%, rgba(11, 20, 14, .16) 100%);
  }
}

@media (max-width: 639px) {
  .simple-hero {
    min-height: 600px;
    align-items: flex-end;
    margin: var(--s-1) 0 var(--s-4);
    padding: 30px 20px 24px;
    border-radius: 24px;
  }
  .simple-hero::after {
    background: linear-gradient(0deg, rgba(8, 16, 11, .97) 0%, rgba(8, 16, 11, .86) 44%, rgba(8, 16, 11, .16) 78%, rgba(8, 16, 11, .05) 100%);
  }
  .simple-hero-img { object-position: 58% center; }
  .simple-hero-copy { width: 100%; }
  .simple-hero h1 { max-width: 13ch; color: #fff; font-size: 36px; }
  .simple-hero-copy > p { color: rgba(255, 255, 255, .76); }
  .simple-search { border-color: rgba(255, 255, 255, .35); }
  .simple-hero-links { flex-wrap: wrap; }
}

/* ---------- 2026 Film Grain & Tactile Texture ------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.75;
}

/* ---------- 2026 Ambient Aurora Background ---------------- */
.app::before {
  content: "";
  position: fixed;
  top: -10vw;
  right: -5vw;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.12) 0%, rgba(240, 166, 44, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.app::after {
  content: "";
  position: fixed;
  top: 40vh;
  left: -10vw;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 188, 91, 0.08) 0%, rgba(214, 70, 27, 0.02) 50%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- 2026 Bento Grid Architecture ------------------ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}
@media (max-width: 767px) {
  .bento-grid {
    gap: var(--s-4);
    margin-bottom: var(--s-6);
  }
  .bento-hero {
    min-height: 280px;
    padding: var(--s-5);
  }
  .bento-title {
    font-size: var(--fs-20);
    line-height: 1.25;
  }
  .bento-sub {
    font-size: var(--fs-13);
  }
  .hero-3d-floating-row {
    display: none;
  }
  .bento-deal, .bento-ad {
    padding: var(--s-4);
  }
  .bento-deal-body {
    padding: var(--s-2);
    gap: var(--s-3);
  }
  .bento-deal-media {
    width: 64px;
    height: 64px;
  }
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(170px, auto);
  }
  .bento-hero {
    grid-column: span 8;
    grid-row: span 2;
  }
  .bento-deal, .bento-telemetry {
    grid-column: span 4;
  }
  .bento-ad, .bento-ai {
    grid-column: span 4;
  }
  .bento-harvest {
    grid-column: span 12;
  }
  .home-view .bento-deal, .home-view .bento-ad { grid-column:span 6; }
}
@media (min-width: 1024px) {
  .bento-hero {
    grid-column: span 7;
    grid-row: span 2;
  }
  .bento-deal, .bento-telemetry {
    grid-column: span 5;
  }
  .bento-ad, .bento-ai {
    grid-column: span 5;
  }
  .bento-harvest {
    grid-column: span 12;
  }
  .home-view .bento-deal, .home-view .bento-ad { grid-column:span 6; }
}

.bento-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-glass-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: var(--glass-border);
  box-shadow: var(--sh-card), var(--glass-specular);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--s-6);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover), inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.bento-hero {
  padding: var(--s-8);
  min-height: 360px;
  color: #fff;
  justify-content: flex-end;
}
.bento-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-spring);
}
.bento-card:hover .bento-img {
  transform: scale(1.05);
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 12, 28, 0.25) 0%, rgba(21, 12, 28, 0.88) 100%);
}
.bento-overlay.subtle {
  background: linear-gradient(90deg, rgba(21, 12, 28, 0.82) 0%, rgba(21, 12, 28, 0.4) 60%, transparent 100%);
}
.bento-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.bento-content.compact {
  max-width: 520px;
  color: #fff;
}
.bento-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bento-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: var(--fs-11);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
.bento-pill-badge.live-pulse {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}
.bento-pill-badge.gold {
  background: rgba(240, 166, 44, 0.22);
  border-color: rgba(240, 166, 44, 0.45);
  color: #FFD78A;
}

.bento-title {
  font-size: var(--fs-28);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.bento-title-sm {
  font-size: var(--fs-20);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.bento-sub {
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  line-height: 1.5;
}
.bento-actions {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

/* Telemetry & AI Bento Cards */
.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.bento-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.bento-icon-box.cold {
  background: #E6FDF3;
  color: #059669;
}
.bento-icon-box.ember {
  background: var(--ember-100);
  color: var(--ember-600);
}
.bento-icon-box svg { width: 18px; height: 18px; }
.bento-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--ink-900);
}
.bento-status-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.bento-status-badge.cold {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}
.bento-status-badge.ember {
  background: var(--ember-100);
  color: var(--ember-700);
  border: 1px solid var(--ember-200);
}

.bento-dial-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
}
.bento-temp-readout {
  display: flex;
  flex-direction: column;
}
.temp-num {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #059669;
  line-height: 1;
}
.temp-label {
  font-size: var(--fs-11);
  color: var(--text-muted);
  margin-top: 4px;
}
.bento-sparkline {
  width: 140px;
  height: 40px;
  flex: none;
}
.bento-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.bento-foot svg { width: 14px; height: 14px; color: #059669; }

.bento-ai-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: var(--s-3) 0 var(--s-4);
}
.bento-chip {
  font-size: var(--fs-12);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  background: var(--ink-100);
  color: var(--ink-800);
}

.bento-trend-tag {
  font-size: var(--fs-12);
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.bento-link {
  color: var(--saffron-400);
  font-weight: 600;
  font-size: var(--fs-13);
  margin-top: 4px;
  display: inline-block;
}

/* ---------- 2026 Drop Architecture: Bento Deal (Flash Drop) --- */
.bento-deal {
  position: relative;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-4);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(254, 245, 241, 0.92) 100%);
  border: 1px solid rgba(214, 70, 27, 0.16);
  box-shadow: 0 12px 32px rgba(214, 70, 27, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.bento-deal:hover {
  border-color: rgba(214, 70, 27, 0.3);
  box-shadow: 0 16px 40px rgba(214, 70, 27, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
}
.deal-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 70, 27, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Head */
.deal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.deal-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.deal-drop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink-800);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  flex: none;
  height: 26px;
  box-sizing: border-box;
  white-space: nowrap;
}
.deal-drop-badge.deal-boosted {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}
.deal-drop-fire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.deal-drop-fire svg {
  width: 13px;
  height: 13px;
  color: #FFD21E;
  flex: none;
}
.deal-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(30, 18, 38, 0.06);
  border: 1px solid rgba(30, 18, 38, 0.08);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: 0.04em;
  flex: none;
  height: 26px;
  box-sizing: border-box;
  white-space: nowrap;
}
.deal-timer-pill svg {
  width: 13px;
  height: 13px;
  color: var(--ember-600);
  flex: none;
}
.deal-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.deal-carousel-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(30, 18, 38, 0.05);
  border: 1px solid rgba(30, 18, 38, 0.09);
  border-radius: var(--r-pill);
  padding: 2px 4px;
  height: 26px;
  box-sizing: border-box;
}
.deal-nav-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink-800);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--tr-fast);
  padding: 0;
  flex: none;
}
.deal-nav-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.deal-nav-btn:hover {
  background: #fff;
  color: var(--ember-600);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transform: scale(1.06);
}
.deal-nav-btn:active {
  transform: scale(0.92);
}
.deal-nav-counter {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-800);
  padding: 0 4px;
  font-family: var(--font-mono, monospace);
  display: inline-flex;
  align-items: center;
  user-select: none;
  white-space: nowrap;
}
.deal-counter-sep {
  opacity: 0.45;
  margin: 0 1px;
}

.deal-off-badge {
  font-size: 12px;
  font-weight: 900;
  color: #DC2626;
  background: #FEE2E2;
  border: 1px solid #FECACA;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15);
  transition: all var(--tr-fast);
  flex: none;
  height: 26px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.deal-off-badge.deal-boosted {
  color: #B45309;
  background: #FEF3C7;
  border-color: #FDE68A;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.18);
}

/* Carousel Viewport & Track */
.deal-carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: var(--r-lg);
  touch-action: pan-y pinch-zoom;
}
.deal-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.deal-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 1px;
}

/* Carousel Dots */
.deal-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: var(--s-1);
  margin-top: -4px;
}
.deal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 18, 38, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all var(--tr-fast);
}
.deal-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--ember-600);
  box-shadow: 0 2px 6px rgba(214, 70, 27, 0.35);
}
.deal-dot:hover:not(.is-active) {
  background: rgba(30, 18, 38, 0.4);
  transform: scale(1.15);
}

/* Split Body */
.deal-main-split {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(214, 70, 27, 0.1);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}
.deal-main-split:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(214, 70, 27, 0.22);
}
.deal-media-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.deal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease-spring);
}
.deal-media-wrap:hover .deal-img {
  transform: scale(1.08);
}
.deal-float-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #DC2626;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
  white-space: nowrap;
  line-height: 1;
  max-height: 20px;
  box-sizing: border-box;
}
.deal-float-tag.deal-boosted {
  background: #D97706;
}
.deal-float-tag svg {
  width: 10px;
  height: 10px;
  flex: none;
}

/* Details */
.deal-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.deal-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.deal-sup-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.deal-sup-badge svg {
  width: 12px;
  height: 12px;
  color: var(--plum-600);
}
.deal-min-chip {
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.deal-title {
  font-family: var(--font-display);
  font-size: var(--fs-15);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.deal-title:hover {
  color: var(--ember-600);
}
.deal-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.deal-prices {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.deal-curr-price {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 900;
  color: var(--ember-600);
  letter-spacing: -0.03em;
  line-height: 1;
}
.deal-old-price {
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}
.deal-unit-tag {
  font-size: var(--fs-11);
  font-weight: 600;
  color: var(--ink-700);
}


/* Deal Foot */
.deal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.deal-foot-cta {
  flex: 1;
}
.deal-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-12);
  font-weight: 700;
  color: var(--ember-600);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--tr-fast);
}
.deal-all-link svg {
  width: 13px;
  height: 13px;
  transition: transform var(--tr-fast);
}
.deal-all-link:hover {
  text-decoration: underline;
}
.deal-all-link:hover svg {
  transform: translateX(3px);
}

/* ---------- 2026 Bento Producer Spotlight (Luxury Editorial) --- */
.bento-ad {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--s-5);
  min-height: 220px;
  background: #120B17;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px rgba(18, 11, 23, 0.3);
  overflow: hidden;
  color: #fff;
}
.bento-ad:hover {
  border-color: rgba(240, 166, 44, 0.4);
  box-shadow: 0 20px 48px rgba(18, 11, 23, 0.45);
}
.bento-ad-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bento-ad-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.15) contrast(1.1);
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.bento-ad:hover .bento-ad-img {
  transform: scale(1.08);
  opacity: 0.52;
}
.bento-ad-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 10, 24, 0.94) 0%, rgba(25, 12, 33, 0.82) 55%, rgba(214, 70, 27, 0.42) 100%);
  pointer-events: none;
}

/* Spotlight Inner Content */
.spotlight-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: var(--s-3);
}


/* Producer Profile Header */
.spotlight-producer-header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: 2px;
}
.spotlight-avatar-box {
  position: relative;
  width: 48px;
  height: 48px;
  flex: none;
}
.spotlight-avatar {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.spotlight-verified-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1E1226;
  border: 1.5px solid #fff;
  display: grid;
  place-items: center;
  color: #38BDF8;
}
.spotlight-verified-badge svg {
  width: 11px;
  height: 11px;
}
.spotlight-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.spotlight-brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
}
.spotlight-brand-link {
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.spotlight-brand-link:hover {
  color: var(--saffron-400);
}
.spotlight-meta-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  flex-wrap: wrap;
}
.spotlight-dot {
  opacity: 0.5;
}
.spotlight-farm-tag {
  color: #86EFAC;
  font-weight: 600;
}

/* Editorial Supplier Description */
.spotlight-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  margin: 6px 0 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* Spotlight Actions */
.spotlight-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 4px;
}
.btn-spotlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--r-md);
  background: #FFFFFF;
  color: #1A1613 !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all var(--tr-fast);
  white-space: nowrap;
}
.btn-spotlight span {
  color: #1A1613 !important;
  font-weight: 700;
}
.btn-spotlight svg {
  width: 14px;
  height: 14px;
  color: #1A1613;
  stroke: #1A1613;
  transition: transform var(--tr-fast);
}
.btn-spotlight:hover {
  background: #F4F4F6;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}
.btn-spotlight:hover svg {
  transform: translateX(3px);
}
.btn-spotlight-terms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF !important;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all var(--tr-fast);
  white-space: nowrap;
}
.btn-spotlight-terms span {
  color: #FFFFFF !important;
}
.btn-spotlight-terms svg {
  width: 14px;
  height: 14px;
  color: #FFFFFF;
  opacity: 0.95;
}
.btn-spotlight-terms:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   B2B Multi-Vendor, Order Guide, Branch Switching & Claims
   ============================================================ */

/* Venue / Branch Switcher in Header */
.ctx.is-interactive {
  cursor: pointer;
  border-radius: var(--r-md);
  padding: 4px 8px;
  margin: -4px -8px;
  transition: background var(--tr-fast), transform var(--tr-fast);
}
.ctx.is-interactive:hover {
  background: rgba(0, 0, 0, 0.04);
}
.badge-dot-green {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok-600);
  box-shadow: 0 0 0 2px var(--ok-100);
}
.branch-select-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-4);
  background: var(--bg-surface);
  transition: all var(--tr-fast);
}
.branch-select-card:hover {
  border-color: var(--ember-400);
  background: var(--ink-50);
}
.branch-select-card.is-active {
  border-color: var(--ember-500);
  background: var(--ember-50);
  box-shadow: 0 0 0 1px var(--ember-500);
}
.branch-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--ink-100);
  color: var(--plum-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.branch-select-card.is-active .branch-card-icon {
  background: var(--ember-500);
  color: #fff;
}
.branch-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}
.text-plum {
  color: var(--plum-700);
}

/* Catalog Mode Switcher (All Catalogue vs Kitchen Order Guide) */
.catalog-mode-tabs {
  display: inline-flex;
  align-items: center;
  background: var(--ink-100);
  padding: 4px;
  border-radius: var(--r-lg);
  gap: 4px;
  border: 1px solid var(--border);
}
.catalog-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-md);
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.catalog-mode-tab svg {
  width: 15px;
  height: 15px;
}
.catalog-mode-tab:hover {
  color: var(--ink-900);
}
.catalog-mode-tab.is-active {
  background: var(--bg-surface);
  color: var(--ink-900);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Amber Badge for Catch-Weight and Par List */
.badge-amber {
  background: var(--saffron-100);
  color: var(--saffron-700);
  border: 1px solid var(--saffron-400);
  font-weight: 600;
}

/* Floating Quick Order Bar */
.quick-order-bar {
  position: fixed;
  bottom: -90px;
  left: 0;
  right: 0;
  z-index: 950;
  pointer-events: none;
  transition: bottom 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-order-bar.is-visible {
  bottom: 24px;
}
.quick-order-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 18, 38, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.quick-order-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quick-order-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 13.5px;
}
.quick-order-badge svg {
  width: 17px;
  height: 17px;
  color: var(--ember-400);
}
.quick-order-sep {
  opacity: 0.35;
}
.quick-order-total {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

/* Cart Cut-off & Delivery Deadline Pill */
.cart-cutoff-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-md);
  background: var(--info-100);
  border: 1px solid rgba(58, 91, 168, 0.2);
  color: var(--info-700);
  font-size: 12px;
  margin: 6px 0 12px 0;
}
.cart-cutoff-pill svg {
  width: 14px;
  height: 14px;
  color: var(--info-600);
  flex-shrink: 0;
}

/* Discrepancy Claims & Receiving Protocol Card */
.alert-card-risk {
  background: var(--risk-100);
  border: 1px solid rgba(166, 42, 34, 0.25);
  border-left: 4px solid var(--risk-600);
  border-radius: var(--r-md);
}
.claim-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFF;
  color: var(--risk-600);
  box-shadow: 0 2px 8px rgba(166, 42, 34, 0.15);
  flex-shrink: 0;
}
.claim-badge-icon svg {
  width: 22px;
  height: 22px;
}

/* ---------- Avatar & Logo Management ---------------------- */
.avatar-editable-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  border-radius: inherit;
}
.avatar-editable-wrap:hover .avatar {
  filter: brightness(0.92);
  transform: scale(1.02);
  transition: all var(--dur-fast) var(--ease);
}
.avatar-edit-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ember-600);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: transform var(--dur-fast) var(--ease);
}
.avatar-editable-wrap:hover .avatar-edit-badge {
  transform: scale(1.15);
  background: var(--ember-700);
}
.avatar-edit-badge svg {
  width: 12px;
  height: 12px;
}

/* Avatar Picker Modal */
.avatar-picker-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-md);
  background: var(--ink-50);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.avatar-picker-dropzone:hover,
.avatar-picker-dropzone.is-dragover {
  border-color: var(--ember-500);
  background: #FFF7ED;
}
.avatar-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.avatar-preset-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  text-align: center;
}
.avatar-preset-btn:hover {
  border-color: var(--ember-400);
  transform: translateY(-1px);
}
.avatar-preset-btn.is-selected {
  border-color: var(--ember-600);
  background: #FFF7ED;
  box-shadow: 0 0 0 2px rgba(214, 70, 27, 0.2);
}

/* ---------- Team Roles & Station Badges ------------------- */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.role-badge-chef {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.role-badge-bar {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}
.role-badge-fin {
  background: #F3E8FF;
  color: #6B21A8;
  border: 1px solid #E9D5FF;
}
.role-badge-proc {
  background: #FFEDD5;
  color: #C2410C;
  border: 1px solid #FED7AA;
}

.btn-switch-persona {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink-800);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-switch-persona:hover {
  background: var(--ember-600);
  color: #fff;
  border-color: var(--ember-600);
}
.role-badge-custom {
  background: var(--ink-100);
  color: var(--ink-800);
  border: 1px solid var(--border);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--s-5);
}

.role-manage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: all var(--dur-fast) var(--ease);
}
.role-manage-card:hover {
  border-color: var(--ember-400);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.role-manage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
}

.role-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex: none;
}

.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--s-5);
}

.station-manage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: all var(--dur-fast) var(--ease);
}
.station-manage-card:hover {
  border-color: var(--ember-400);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.team-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding: var(--s-4) var(--s-5);
  background: var(--bg-surface-elevated, #FAFAF7);
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.perm-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
}
.perm-checkbox-item:hover {
  border-color: var(--ember-400);
  background: #FFFDF9;
}
.perm-checkbox-item input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}

/* ============================================================
   Azerbaijani Official Document Suite & Print Engine (2026)
   ============================================================ */
.modal-doc {
  max-width: 900px;
  width: 95vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
}

.doc-modal-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 92vh;
  overflow: hidden;
}

.doc-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-6);
  background: var(--bg-surface-elevated, #FAFAF7);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  flex: none;
}

.doc-modal-tabs {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  overflow-x: auto;
  padding-bottom: 2px;
}

.doc-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-md);
  font-size: var(--fs-13);
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.doc-tab-btn:hover {
  background: var(--ink-100);
  color: var(--text-main);
}
.doc-tab-btn.is-active {
  background: var(--plum-800);
  color: #fff;
  box-shadow: var(--sh-1);
}
.doc-tab-btn.is-active.is-risk {
  background: var(--risk-600);
  color: #fff;
}

.doc-modal-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.doc-modal-scroll-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--s-6);
  background: var(--ink-50, #F4F4F1);
}

.doc-sheet {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 36px 42px;
  max-width: 820px;
  margin: 0 auto;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.doc-header-block {
  border-bottom: 2px solid #111827;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-5);
}

.doc-state-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.doc-main-title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  margin: 2px 0 6px;
}

.doc-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--plum-50);
  color: var(--plum-900);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  border: 1px solid rgba(44, 26, 56, 0.15);
}

.doc-parties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}

.doc-party-box {
  background: #FBFBFC;
  border: 1px solid #E5E7EB;
  border-radius: var(--r-sm);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}

.doc-party-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.doc-party-badge.satıcı { color: var(--plum-800); }
.doc-party-badge.alıcı { color: var(--ember-700); }

.doc-party-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.doc-kv {
  display: flex;
  gap: 6px;
  color: #4B5563;
}
.doc-kv span {
  color: #6B7280;
  min-width: 80px;
  flex: none;
}
.doc-kv b {
  color: #111827;
}

.doc-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  background: #F3F4F6;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-5);
  font-size: 12px;
}
.doc-meta-cell {
  display: flex;
  align-items: center;
  gap: 5px;
}
.doc-meta-cell span { color: #6B7280; }

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--s-5);
  font-size: 12px;
}
.doc-table th, .doc-table td {
  border: 1px solid #D1D5DB;
  padding: 6px 8px;
}
.doc-table th {
  background: #F3F4F6;
  font-weight: 700;
  color: #374151;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.doc-table td.right { text-align: right; }
.doc-table td.center { text-align: center; }

.doc-item-title {
  font-weight: 600;
  color: #111827;
}
.doc-item-sku {
  font-size: 10px;
  color: #6B7280;
  font-family: var(--font-mono, monospace);
}

.doc-row-credit-note {
  background: #FEF2F2;
}

.doc-summary-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-6);
  padding: var(--s-4) 0;
  border-top: 1px solid #E5E7EB;
  margin-bottom: var(--s-6);
}

.doc-words-note {
  font-size: 12px;
}
.doc-words-text {
  font-weight: 700;
  color: #111827;
  margin-top: 2px;
  font-style: italic;
}

.doc-totals-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.doc-tot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  color: #4B5563;
}
.doc-tot-row.grand-total {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  padding-top: 4px;
  border-top: 2px solid #111827;
  margin-top: 4px;
}

.doc-signatures-block {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid #E5E7EB;
  margin-top: var(--s-4);
}

.doc-sign-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.doc-sign-title {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
}
.doc-sign-dots {
  color: #9CA3AF;
  letter-spacing: 1px;
}

.doc-sign-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-official-stamp {
  opacity: 0.88;
  transform: rotate(-5deg);
  transition: transform 0.2s ease;
}
.doc-official-stamp:hover {
  transform: rotate(0deg) scale(1.04);
}

.doc-footer-legal {
  font-size: 10px;
  color: #6B7280;
  text-align: center;
  padding-top: var(--s-5);
  border-top: 1px dashed #E5E7EB;
  margin-top: var(--s-5);
  line-height: 1.4;
}

.doc-act-body-text {
  font-size: 13px;
  color: #1F2937;
  line-height: 1.6;
}

/* ============================================================
   Mobile Courier & Driver View (2026)
   ============================================================ */
.courier-view {
  max-width: 900px;
  margin: 0 auto;
}

.courier-telemetry-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.courier-stop-card {
  transition: all var(--dur-fast) var(--ease);
}
.courier-stop-card:hover {
  box-shadow: var(--sh-3);
  border-color: var(--ember-400);
}
.courier-stop-card.is-completed {
  opacity: 0.78;
  background: #FBFDFB;
  border-color: #D1FAE5;
}

.courier-stop-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--plum-800);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.courier-stop-num.is-done {
  background: var(--ok-600, #10B981);
}

.courier-stop-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Bulk Catalog Upload Dropzone */
.bulk-upload-dropzone {
  transition: all var(--dur-fast) var(--ease);
}
.bulk-upload-dropzone:hover {
  border-color: var(--ember-600) !important;
  background: #FFF9F6 !important;
}

/* Print CSS */
.view,.workspace,.shell { animation:none; }
.pcard,.cat-tile { transform:none;transform-style:flat;will-change:auto; }
.pcard:hover { transform:translateY(-2px); }
.cat-tile:hover { transform:translateY(-2px); }

@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  #root, .noprint, .hdr, .sidebar, .mobnav, .catbar, .toast-region, .modal-head, .modal-foot, .doc-modal-topbar, .doc-modal-actions, .modal-grip {
    display: none !important;
  }
  .overlay {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
    backdrop-filter: none !important;
  }
  .modal:not(.modal-doc) {
    display: none !important;
  }
  .modal.modal-doc {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    transform: none !important;
  }
  .doc-modal-container {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    height: auto !important;
    max-height: none !important;
  }
  .doc-modal-scroll-body, #printable-doc-root {
    overflow: visible !important;
    position: static !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    height: auto !important;
    max-height: none !important;
  }
  .doc-sheet {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
}
