/* =========================================================
   bingo — wholesale & supply
   Base system: HorizonX DISPATCH (hairlines, mono labels, one "slip" card),
   adapted to a light warehouse ground with Deep Navy + Vibrant Coral.
   Mobile first. RTL.
   ========================================================= */

:root {
  --navy: #0F243E;
  --navy-2: #163152;
  --navy-3: #1E3D63;
  --coral: #F26B3A;
  --coral-h: #D95627;
  --white: #FFFFFF;
  --ground: #F4F6F8;
  --text: #0F243E;
  --text-2: #4A5568;
  --text-3: #718096;
  --line: #E2E7ED;
  --line-strong: #CBD3DC;
  --line-dark: rgba(255, 255, 255, .12);
  --kraft: #D8BF98;
  --ok: #1F8A5B;

  --font-ar: 'Cairo', system-ui, sans-serif;
  --font-en: 'Poppins', 'Cairo', system-ui, sans-serif;

  --r-control: 10px;
  --r-card: 14px;
  --r-surface: 20px;

  --nav-h: 64px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --logo-ink: var(--navy);
  --logo-accent: var(--coral);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.has-cartbar { padding-bottom: 84px; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

.num { font-family: var(--font-en); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.muted { color: var(--text-3); font-weight: 500; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Logo (symbol colours via custom properties) ---------- */
.lg-n { fill: var(--logo-ink); }
.lg-c { fill: var(--logo-accent); }
.lg-cs { fill: none; stroke: var(--logo-accent); stroke-linecap: round; stroke-linejoin: round; }
.lg-ns { fill: none; stroke: var(--logo-ink); }
.brand-logo { height: 34px; width: auto; aspect-ratio: 478 / 158; overflow: visible; }
.brand-logo--light { --logo-ink: #FFFFFF; height: 40px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
}
.eyebrow .num { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--coral); }
.eyebrow--dark { color: rgba(255, 255, 255, .72); }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: none; }
.dot--live { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Buttons ---------- */
.btn {
  --bh: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--bh); padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r-control);
  font-size: 15.5px; font-weight: 700; line-height: 1;
  white-space: nowrap; user-select: none;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--lg { --bh: 52px; padding: 0 22px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-h); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn .ico { width: 19px; height: 19px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--r-control);
  background: transparent; border: 1px solid var(--line);
  transition: border-color .18s, background-color .18s;
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--ground); }

/* =========================================================
   Intro
   ========================================================= */
.intro { display: none; }
.intro-on .intro {
  display: block; position: fixed; inset: 0; z-index: 100; background: var(--white); overflow: hidden;
}
.intro-on body { overflow: hidden; }
.intro-rows { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: repeat(3, 1fr); }
.ir { display: flex; align-items: center; overflow: hidden; transform-origin: 50% 50%; }
.ir--navy { background: var(--navy); color: #fff; }
.ir--coral { background: var(--coral); color: #fff; }
.ir-track { display: flex; align-items: center; gap: .45em; white-space: nowrap; font-size: clamp(46px, 13vw, 170px); line-height: 1; margin-inline: -20vw; }
.ir-track span { font-family: var(--font-en); font-weight: 800; letter-spacing: -.04em; }
.ir-track i { font-style: normal; font-family: var(--font-ar); font-weight: 800; }
.ir--navy .ir-track i { color: var(--coral); }
.ir--coral .ir-track span { color: var(--navy); }
.intro-center { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 14px; }
.intro-logo { width: min(64vw, 360px); height: auto; overflow: visible; }
.intro-tag { font-size: 15px; font-weight: 700; color: var(--text-2); opacity: 0; }
.intro .i-handle, .intro .i-chassis { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro .i-b, .intro .i-bowl, .intro .i-wheel, .intro .i-ing, .intro .i-o, .intro .i-arrows { opacity: 0; }

/* =========================================================
   Status strip + Navbar
   ========================================================= */
.strip { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 12.5px; }
.strip-in { display: flex; align-items: center; gap: 8px; min-height: 34px; overflow: hidden; white-space: nowrap; }
.strip-in b { color: #fff; font-weight: 600; font-size: 12px; }
.strip-sep { color: rgba(255, 255, 255, .3); }
.strip-sep, .strip-demo { display: none; }
.strip-demo { color: var(--coral); font-weight: 600; }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-tag {
  font-size: 11.5px; line-height: 1.35; font-weight: 700; color: var(--text-2);
  padding-inline-start: 12px; border-inline-start: 1px solid var(--line-strong);
}

.nav-links {
  position: absolute; inset-inline: 0; top: 100%;
  display: grid; padding: 8px var(--gutter) 16px;
  background: var(--white); border-bottom: 1px solid var(--line);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.nav-links.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-links a {
  padding: 14px 4px; font-size: 16px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.nav-links a:last-child { border-bottom: 0; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px; border-radius: var(--r-control);
  background: var(--navy); color: #fff; border: 0;
  transition: background-color .18s;
}
.cart-btn:hover { background: var(--navy-3); }
.cart-btn-label { display: none; font-size: 14.5px; font-weight: 700; }
.badge {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: inline-grid; place-items: center;
  background: var(--coral); color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: 40px 0 28px;
}
.hero-in { display: grid; gap: 36px; }
.hero-copy { display: grid; gap: 18px; align-content: start; }
.hero-title {
  font-size: clamp(34px, 9.4vw, 64px);
  line-height: 1.18; font-weight: 800; letter-spacing: -.01em;
  text-wrap: balance;
}
.hero-title .w { display: inline-block; }
.hero-title .accent { color: var(--coral); }
.hero-sub { font-size: 16.5px; line-height: 1.8; color: rgba(255, 255, 255, .78); max-width: 34em; }
.hero-sub .num { font-size: 14.5px; color: #fff; }
.hero-ctas { display: grid; gap: 10px; margin-top: 6px; }
.hero-ctas .btn .ico { transition: transform .2s var(--ease); }
.hero-ctas .btn--coral:hover .ico { transform: translateX(-3px); }
[dir="ltr"] .ico-flip { transform: scaleX(-1); }
[dir="ltr"] .hero-ctas .btn--coral:hover .ico-flip { transform: scaleX(-1) translateX(-3px); }

/* Brand mark behind the hero (the logo's turning "o") */
.hero-mark { display: none; }
.hm-ring { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: .5; }
.hm-ring--soft { stroke: rgba(255, 255, 255, .045); }
.hm-arrows path { fill: var(--coral); opacity: .09; }

/* Conveyor lane */
.lane {
  position: relative; height: 460px; margin-inline: calc(var(--gutter) * -1);
  border-block: 1px solid var(--line-dark);
  background:
    linear-gradient(90deg, transparent calc(50% - 150px), rgba(255,255,255,.025) calc(50% - 150px), rgba(255,255,255,.025) calc(50% + 150px), transparent calc(50% + 150px));
}
.lane-rail { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-dark); }
.lane-rail::after {
  content: ""; position: absolute; inset: 0 -4px;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.18) 0 1px, transparent 1px 28px);
}
.lane-rail--a { left: calc(50% - 150px); }
.lane-rail--b { left: calc(50% + 150px); }
.conveyor { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.conveyor.grabbing { cursor: grabbing; }
.cv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lane-tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: rgba(15, 36, 62, .82);
  border: 1px solid var(--line-dark); color: #fff; font-size: 12.5px; font-weight: 700;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lane-tag--top { top: 14px; inset-inline-start: var(--gutter); }
.lane-hint { position: absolute; z-index: 2; bottom: 18px; inset-inline-start: var(--gutter); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); }
.lane-fallback { display: none; }
.lane.no-webgl .lane-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; }
.lane.no-webgl .lane-fallback li { width: 150px; height: 120px; display: grid; place-items: center; background: #fff; border-radius: 16px; }
.lane.no-webgl .lane-fallback svg { width: 90px; height: 90px; }
.lane.no-webgl .lane-hint { display: none; }

/* Curved category band */
.band { position: relative; height: 120px; overflow: hidden; background: var(--ground); margin-top: -1px; }
.band svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.band-stroke { fill: none; stroke: var(--navy); stroke-width: 58; stroke-linecap: butt; }
.band-text text { font-family: var(--font-ar); font-weight: 800; font-size: 30px; fill: #fff; dominant-baseline: middle; }
.band-text .bt-star { fill: var(--coral); }

.fly-clone {
  position: fixed; top: 0; left: 0; z-index: 80; pointer-events: none;
  background: var(--ground); border-radius: 12px;
}

/* Trust strip */
.trust {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
}
.trust li {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 12px 6px 0;
}
.trust li:nth-child(odd) { padding-inline: 0 12px; border-inline-end: 1px solid var(--line-dark); }
.trust li:nth-child(even) { padding-inline: 14px 0; }
.trust li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
.trust .ico { width: 22px; height: 22px; color: var(--coral); }
.trust b { display: block; font-size: 14.5px; line-height: 1.4; }
.trust span { display: block; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .6); }

/* =========================================================
   Section heads
   ========================================================= */
.sec-head { display: grid; gap: 10px; margin-bottom: 22px; }
.sec-title { font-size: clamp(26px, 6.6vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -.005em; margin-top: 6px; text-wrap: balance; }
.sec-sub { font-size: 15.5px; color: var(--text-2); max-width: 36em; }

/* =========================================================
   Catalog
   ========================================================= */
.catalog { padding: 48px 0 64px; }

.toolbar {
  position: sticky; top: var(--nav-h); z-index: 30;
  background: rgba(244, 246, 248, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
  padding: 10px 0 0;
}
.toolbar.stuck { border-bottom-color: var(--line); }
.toolbar-row { display: flex; gap: 8px; }
.search {
  position: relative; flex: 1; display: flex; align-items: center;
  height: 48px; background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--r-control);
  transition: border-color .18s, box-shadow .18s;
}
.search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 36, 62, .08); }
.search > .ico { position: absolute; inset-inline-start: 14px; color: var(--text-3); pointer-events: none; }
.search input {
  width: 100%; height: 100%; border: 0; background: transparent; outline: none;
  padding-inline: 44px 42px; font-size: 16px; font-weight: 600;
}
.search input::placeholder { color: #9AA5B4; font-weight: 500; }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear {
  position: absolute; inset-inline-end: 6px;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: var(--ground); color: var(--text-2);
}
.search-clear .ico { width: 16px; height: 16px; }

.view-toggle {
  display: flex; padding: 3px; gap: 2px; height: 48px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-control);
}
.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; padding: 0 9px; border: 0; border-radius: 7px; background: transparent; color: var(--text-2);
  font-size: 13.5px; font-weight: 700;
  transition: background-color .18s, color .18s;
}
.vt-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.vt-label { display: none; }

.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1);
  scroll-padding-inline: var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 19px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--text-2);
  transition: background-color .18s, color .18s, border-color .18s;
}
.tab:hover { border-color: var(--line-strong); color: var(--navy); }
.tab .num { font-size: 11.5px; font-weight: 600; color: var(--text-3); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab[aria-selected="true"] .num { color: rgba(255, 255, 255, .6); }
.tab--deals { color: var(--coral-h); }
.tab--deals::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

.results-meta { font-size: 13px; color: var(--text-3); font-weight: 600; padding: 14px 0 12px; }
.results-meta .num { color: var(--navy); }

/* ---------- Grid view ---------- */
.products[data-view="grid"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card.in-cart { border-color: rgba(242, 107, 58, .45); }
.card-media {
  position: relative; aspect-ratio: 4 / 3.3;
  display: grid; place-items: center;
  background: var(--ground); margin: 6px; border-radius: 10px;
}
.card-media .pi { width: 62%; height: 78%; transition: transform .35s var(--ease); }
.card:hover .card-media .pi { transform: translateY(-3px); }
.sku {
  position: absolute; top: 8px; inset-inline-end: 8px;
  font-size: 10px; letter-spacing: .08em; font-weight: 600; color: var(--text-3);
}
.deal {
  position: absolute; top: 8px; inset-inline-start: 8px;
  height: 24px; padding: 0 9px; border-radius: 6px;
  display: inline-flex; align-items: center;
  background: var(--coral); color: #fff; font-size: 12px; font-weight: 800;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 6px 10px 12px; gap: 8px; }
.card-title {
  font-size: 14.5px; line-height: 1.45; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em;
}
.pack {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 6px;
  background: #EEF1F4; color: var(--text-2);
  font-size: 11.5px; font-weight: 700; line-height: 1.5;
}
.pack .num { font-size: 11px; }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.price { font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.price .cur { font-size: 14px; font-weight: 600; margin-inline-end: 1px; }
.per { font-size: 12px; color: var(--text-3); font-weight: 600; }
.was { font-size: 13px; color: var(--text-3); text-decoration: line-through; }
.tier {
  font-size: 12px; font-weight: 700; color: var(--coral-h); line-height: 1.4; min-height: 1.4em;
}
.tier .num { font-size: 11.5px; }
.tier--none { color: var(--text-3); font-weight: 600; }

.buy { display: grid; gap: 8px; }
.stepper {
  display: grid; grid-template-columns: 38px 1fr 38px; align-items: center;
  height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-control); background: var(--white);
}
.stepper button {
  height: 100%; border: 0; background: transparent; color: var(--navy);
  display: grid; place-items: center; border-radius: 9px;
}
.stepper button:hover { background: var(--ground); }
.stepper button:disabled { color: #B8C1CC; cursor: default; background: transparent; }
.stepper .ico { width: 17px; height: 17px; stroke-width: 2.2; }
.stepper input {
  width: 100%; height: 100%; border: 0; outline: none; background: transparent;
  text-align: center; font-family: var(--font-en); font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: 15px; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-add { --bh: 42px; width: 100%; padding: 0 10px; font-size: 14.5px; }
.btn-add.done { background: var(--navy); }
.incart { font-size: 12px; font-weight: 700; color: var(--coral-h); display: flex; align-items: center; gap: 4px; }
.incart .ico { width: 14px; height: 14px; stroke-width: 2.4; }

/* ---------- Quick list view ---------- */
.products[data-view="list"] {
  display: block; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.list-head { display: none; }
.row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center;
  gap: 4px 10px; padding: 12px; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row.in-cart { background: #FFF8F5; }
.row-ic { width: 44px; height: 44px; background: var(--ground); border-radius: 8px; padding: 4px; }
.row-name { font-size: 14px; font-weight: 700; line-height: 1.4; }
.row-name small { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.row-name .deal-mini { color: var(--coral-h); }
.row-price { grid-column: 2; font-size: 15px; font-weight: 700; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.row-price small { font-size: 11.5px; color: var(--coral-h); font-weight: 600; }
.row .stepper { grid-column: 3; grid-row: 1 / span 2; width: 118px; }

/* ---------- Empty ---------- */
.empty, .drawer-empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 40px 16px; }
.empty-ic { width: 84px; height: 84px; margin-bottom: 4px; }
.empty-title { font-size: 18px; font-weight: 800; }
.empty-sub { font-size: 14.5px; color: var(--text-2); max-width: 28em; margin-bottom: 8px; }

/* =========================================================
   Pick-up
   ========================================================= */
.pickup { padding: 64px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* route (delivery line) */
.route { position: relative; margin: 8px 0 18px; }
.route-svg { width: 100%; height: auto; overflow: visible; }
.route-base { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.route-line { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; }
.route-node circle { fill: var(--navy); }
.route-node--end circle { fill: var(--coral); }
.route-node use, .route-truck use { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-truck rect { fill: var(--navy); }
.route-label { position: absolute; bottom: -4px; font-size: 13px; font-weight: 800; color: var(--text-2); }
.route-label--a { inset-inline-start: 6%; }
.route-label--b { inset-inline-end: 6%; }
[dir="ltr"] .route-svg { transform: scaleX(-1); }

.ways { display: grid; gap: 10px; margin-bottom: 40px; }
.way { padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--ground); }
.way .ico { width: 26px; height: 26px; color: var(--coral); margin-bottom: 10px; }
.way h3 { font-size: 18px; font-weight: 800; line-height: 1.4; }
.way h3 .num { font-size: 14px; color: var(--text-3); }
.way p { font-size: 14.5px; color: var(--text-2); margin-top: 4px; }

/* stacked step cards */
.stack { display: grid; gap: 18px; }
.stack-card { position: sticky; top: calc(var(--nav-h) + 20px); }
.stack-card:nth-child(2) { top: calc(var(--nav-h) + 34px); }
.stack-card:nth-child(3) { top: calc(var(--nav-h) + 48px); }
.stack-card:nth-child(4) { top: calc(var(--nav-h) + 62px); }
.sc-in {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 6px 16px;
  min-height: 220px; padding: 22px 20px; border-radius: var(--r-surface);
  background: var(--white); border: 1px solid var(--line-strong); transform-origin: 50% 0;
  box-shadow: 0 -10px 30px -24px rgba(15, 36, 62, .45);
}
.stack-card--navy .sc-in { background: var(--navy); border-color: var(--navy); color: #fff; }
.stack-card--coral .sc-in { background: var(--coral); border-color: var(--coral); color: #fff; }
.sc-no { font-size: 44px; font-weight: 700; line-height: 1; color: var(--coral); }
.stack-card--coral .sc-no { color: var(--navy); }
.sc-copy { grid-column: 1 / -1; align-self: end; }
.sc-copy h3 { font-size: 22px; font-weight: 800; line-height: 1.35; }
.sc-copy p { font-size: 15px; margin-top: 6px; color: var(--text-2); max-width: 30em; }
.stack-card--navy .sc-copy p { color: rgba(255, 255, 255, .72); }
.stack-card--coral .sc-copy p { color: rgba(255, 255, 255, .9); }
.sc-art { grid-column: 2; grid-row: 1; width: 72px; height: 72px; }
.sc-art--ico { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.stack-card:not(.stack-card--navy):not(.stack-card--coral) .sc-art--ico { color: var(--coral); }

.pick-card {
  margin-top: 32px; display: grid; gap: 20px;
  background: var(--navy); color: #fff; border-radius: var(--r-surface);
  padding: 24px 20px;
}
.pick-card h3 { font-size: 21px; font-weight: 800; line-height: 1.4; margin-top: 8px; }
.pick-card p:not(.eyebrow) { color: rgba(255, 255, 255, .72); margin-top: 6px; font-size: 15px; }

/* =========================================================
   Contact + Footer
   ========================================================= */
.contact { padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-card {
  display: grid; gap: 4px; align-content: start;
  padding: 16px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color .18s;
}
a.c-card:hover { border-color: var(--coral); }
.c-card .ico { width: 22px; height: 22px; color: var(--coral); margin-bottom: 6px; }
.c-k { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.c-v { font-size: 15px; font-weight: 700; line-height: 1.5; }
.c-v.num { justify-self: start; }

.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 44px 0 28px; }
.footer-in { display: grid; gap: 28px; }
.footer-brand { display: grid; gap: 14px; }
.footer-brand p { font-size: 14.5px; max-width: 26em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: 14.5px; color: #fff; }
.footer-links a:hover { color: var(--coral); }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 32px; padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .45);
}

/* =========================================================
   Mobile cart bar
   ========================================================= */
.cartbar {
  position: fixed; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 8px 8px 8px; padding-inline-start: 16px;
  background: var(--navy); color: #fff; border-radius: 16px;
  box-shadow: 0 10px 30px -12px rgba(15, 36, 62, .55);
  transform: translateY(0); transition: transform .3s var(--ease), opacity .3s;
}
.cartbar.hide { transform: translateY(130%); opacity: 0; pointer-events: none; }
.cartbar-sum { display: grid; line-height: 1.3; }
.cartbar-k { font-size: 12px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.cartbar-k .num { font-size: 12px; color: #fff; }
.cartbar-sum b { font-size: 19px; font-weight: 700; justify-self: start; }
.cartbar .btn { --bh: 46px; padding: 0 16px; }

/* =========================================================
   Drawer
   ========================================================= */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(15, 36, 62, .42);
  opacity: 0; transition: opacity .3s var(--ease);
}
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 61;
  width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--white);
  transform: translateX(-102%); visibility: hidden;
  transition: transform .38s var(--ease), visibility 0s .38s;
}
.drawer.open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer:focus { outline: none; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--gutter); border-bottom: 1px solid var(--line);
  padding-top: calc(14px + env(safe-area-inset-top));
}
.drawer-head h2 { font-size: 20px; font-weight: 800; line-height: 1.3; }
.drawer-head h2 .num { font-size: 14px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gutter) 20px; }

.line {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.line-ic { width: 52px; height: 52px; background: var(--ground); border-radius: 10px; padding: 5px; grid-row: span 2; }
.line-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.line-name { font-size: 14px; font-weight: 700; line-height: 1.4; }
.line-name small { display: block; font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.line-rm {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--text-3); border-radius: 8px;
}
.line-rm:hover { background: #FDEEE7; color: var(--coral-h); }
.line-rm .ico { width: 17px; height: 17px; }
.line-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.line .stepper { width: 116px; height: 36px; grid-template-columns: 34px 1fr 34px; }
.line-price { text-align: end; line-height: 1.3; }
.line-price b { display: block; font-size: 16px; font-weight: 700; }
.line-price small { font-size: 11px; color: var(--text-3); font-weight: 600; }
.line-price .tier-on { color: var(--coral-h); }

.checkout { padding-top: 18px; display: grid; gap: 16px; }
.method { display: grid; gap: 8px; }
.method legend { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.method-opt { position: relative; display: block; cursor: pointer; }
.method-opt input { position: absolute; opacity: 0; pointer-events: none; }
.method-card {
  display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-control);
  transition: border-color .18s, background-color .18s;
}
.method-card .ico { grid-row: span 2; color: var(--text-2); }
.method-card b { font-size: 14.5px; }
.method-card small { font-size: 12px; color: var(--text-3); font-weight: 600; }
.method-opt input:checked + .method-card { border-color: var(--navy); background: #F3F6FA; box-shadow: inset 0 0 0 1px var(--navy); }
.method-opt input:checked + .method-card .ico { color: var(--coral); }
.method-opt input:focus-visible + .method-card { outline: 2px solid var(--coral); outline-offset: 2px; }

.fields { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--text-2); }
.field input {
  height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-control);
  background: var(--white); font-size: 16px; outline: none; transition: border-color .18s;
}
.field input:focus { border-color: var(--navy); }
.field.err input { border-color: var(--coral); }
.field-err { font-size: 12.5px; color: var(--coral-h); font-weight: 700; }

.drawer-foot {
  border-top: 1px solid var(--line); padding: 14px var(--gutter);
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  background: var(--white);
}
.totals { margin: 0 0 12px; display: grid; gap: 4px; }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; }
.totals dt { font-size: 13.5px; color: var(--text-2); font-weight: 600; }
.totals dd { margin: 0; font-weight: 700; font-size: 15px; }
.tsave dd { color: var(--ok); }
.tgrand dt { font-size: 15px; color: var(--navy); font-weight: 800; }
.tgrand dd { font-size: 24px; }
.foot-note { font-size: 11.5px; color: var(--text-3); text-align: center; margin-top: 8px; }

/* Toast */
.toast {
  position: fixed; z-index: 70; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 32px);
  top: calc(var(--nav-h) + 12px);
  padding: 10px 16px; border-radius: 12px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast .num { color: var(--coral); }

html.lock { overflow: hidden; }

/* Reveal (JS adds .js; GSAP handles the motion) */
.js:not(.reduce) .hero-title .w, .js:not(.reduce) [data-hero], .js:not(.reduce) [data-hero-lane], .js:not(.reduce) .hero-mark { opacity: 0; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js.reduce [data-reveal], .js [data-reveal].in { opacity: 1; transform: none; }

/* =========================================================
   ≥ 420px
   ========================================================= */
@media (min-width: 420px) {
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .strip-sep, .strip-demo { display: inline; }
}

/* =========================================================
   ≥ 720px (tablet)
   ========================================================= */
@media (min-width: 720px) {
  :root { --gutter: 28px; --nav-h: 72px; }
  .brand-logo { height: 38px; }
  .cart-btn-label { display: inline; }
  .hero { padding: 64px 0 36px; }
  .band { height: 170px; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust li, .trust li:nth-child(odd), .trust li:nth-child(even) {
    padding: 22px 18px 4px; border-top: 0; border-inline-end: 1px solid var(--line-dark);
  }
  .trust li:first-child { padding-inline-start: 0; }
  .trust li:last-child { border-inline-end: 0; }
  .sec-head { grid-template-columns: 1fr minmax(0, 26em); align-items: end; gap: 24px; margin-bottom: 28px; }
  .products[data-view="grid"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .card-body { padding: 8px 14px 14px; }
  .card-title { font-size: 15.5px; }
  .buy { grid-template-columns: 112px 1fr; }
  .vt-label { display: inline; }
  .ways { grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 56px; }
  .sc-in { min-height: 260px; padding: 32px 36px; }
  .sc-no { font-size: 64px; }
  .sc-copy h3 { font-size: 28px; }
  .sc-copy p { font-size: 16px; }
  .sc-art { width: 110px; height: 110px; }
  .stack { max-width: 880px; margin-inline: auto; }
  .pick-card { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .c-card { padding: 20px 18px; }
  .footer-in { grid-template-columns: 1fr auto; align-items: end; }

  .row { grid-template-columns: 48px minmax(0, 1fr) 170px 130px; padding: 10px 16px; gap: 14px; }
  .row-price { grid-column: auto; flex-direction: column; gap: 0; }
  .row .stepper { grid-column: auto; grid-row: auto; width: 130px; }
  .list-head {
    display: grid; grid-template-columns: 48px minmax(0, 1fr) 170px 130px; gap: 14px;
    padding: 10px 16px; background: var(--ground); border-bottom: 1px solid var(--line);
    font-size: 10.5px; letter-spacing: .14em; color: var(--text-3); font-weight: 600;
  }
}

/* =========================================================
   ≥ 1024px (desktop)
   ========================================================= */
@media (min-width: 1024px) {
  body.has-cartbar { padding-bottom: 0; }
  .cartbar { display: none; }
  .nav-menu { display: none; }
  .nav-links {
    position: static; display: flex; gap: 4px; padding: 0; background: none; border: 0;
    visibility: visible; opacity: 1; transform: none;
  }
  .nav-links a {
    padding: 8px 12px; border: 0; border-radius: 8px; font-size: 14.5px; color: var(--text-2);
    transition: color .18s, background-color .18s;
  }
  .nav-links a:hover { color: var(--navy); background: var(--ground); }
  .hero { padding: 80px 0 40px; }
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; }
  .lane { height: min(640px, calc(100svh - 150px)); min-height: 520px; margin-inline: 0; border: 1px solid var(--line-dark); border-radius: var(--r-surface); overflow: hidden; }
  .lane-tag--top { inset-inline-start: 16px; }
  .lane-hint { inset-inline-start: 16px; }
  [dir="ltr"] .hero-mark { left: 78%; }
  .hero-mark { display: block; position: absolute; z-index: -1; pointer-events: none; overflow: visible; width: 760px; height: 760px; top: 50%; left: 22%; transform: translate(-50%, -50%); }
  .products[data-view="grid"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .catalog { padding: 72px 0 88px; }
  .pickup, .contact { padding: 88px 0; }
}

@media (hover: none) {
  .card:hover .card-media .pi { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Languages: ar (rtl, Cairo) · en (ltr, Poppins) · he (rtl, Heebo)
   ========================================================= */
html[lang="en"] { --font-ar: 'Poppins', system-ui, sans-serif; }
html[lang="he"] { --font-ar: 'Heebo', system-ui, sans-serif; }
html[lang="en"] .hero-title { font-size: clamp(32px, 8.4vw, 60px); letter-spacing: -.025em; }
html[lang="en"] .sec-title { letter-spacing: -.02em; }
html[lang="he"] .hero-title { letter-spacing: -.015em; }
html.i18n-wait body { visibility: hidden; }

/* drawer slides from the cart's side */
[dir="ltr"] .drawer { left: auto; right: 0; transform: translateX(102%); }
[dir="ltr"] .drawer.open { transform: none; }
/* steppers keep − on the left and + on the right in every language */
[dir="ltr"] .stepper { direction: rtl; }
[dir="ltr"] .stepper input { direction: ltr; }

/* language switch */
.lang { display: flex; gap: 4px; padding: 10px 4px 2px; }
.nav-links .lang a {
  min-width: 44px; height: 36px; padding: 0 10px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-2);
  border-bottom: 1px solid var(--line) !important;
}
.nav-links .lang a[aria-current="true"] { background: var(--navy); border-color: var(--navy) !important; color: #fff; }
.nav-links .lang a[lang="ar"] { font-family: 'Cairo', sans-serif; }
.nav-links .lang a[lang="he"] { font-family: 'Heebo', sans-serif; }
.nav-links .lang a[lang="en"] { font-family: 'Poppins', sans-serif; }
@media (min-width: 1024px) {
  .lang { padding: 0; margin-inline-start: 10px; padding-inline-start: 12px; border-inline-start: 1px solid var(--line); }
  .nav-links .lang a { min-width: 36px; height: 32px; padding: 0 8px; font-size: 12.5px; }
}

/* live catalogue: photos, sold out, sending */
.card-media .pi.is-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.row-ic.is-photo, .line-ic.is-photo, .slip-ic.is-photo { object-fit: cover; padding: 0; }
.btn--soldout { background: #E2E7ED; color: var(--text-3); cursor: not-allowed; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
