/* Safe Sub menu — bright beige direction */

:root{
  --cream:#FFF8EC;
  --cream-2:#FDF0DA;
  --paper:#FFFCF6;
  --sand:#F5E4C8;
  --line:#EFDCBE;
  --ink:#3B2A20;
  --ink-2:#7C6552;
  --honey:#F5B33F;
  --honey-soft:#FFE7B0;
  --honey-ink:#6E4409;
  --terracotta:#D9663D;
  --terra-soft:#F8DACB;
  --sage:#7E9C6B;
  --sage-soft:#E6EEDB;
  --green:#2E6B4C;

  --r-lg:26px;
  --r-md:18px;
  --shadow:0 14px 30px -22px rgba(59,42,32,.65);
  --shadow-soft:0 8px 18px -14px rgba(59,42,32,.55);

  --font-ar-display:'Baloo Bhaijaan 2','Cairo',system-ui,sans-serif;
  --font-ar-body:'Cairo',system-ui,sans-serif;
  --font-en-display:'Fraunces',Georgia,serif;
  --font-en-body:'Manrope',system-ui,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-ar-body);
  font-size:16px;
  line-height:1.6;
  overflow-x:hidden;
}
body[data-lang="en"]{font-family:var(--font-en-body)}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit}

.grain{
  position:fixed;inset:0;z-index:60;pointer-events:none;opacity:.35;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.28'/></svg>");
  mix-blend-mode:multiply;
}

.wrap{width:100%;max-width:1120px;margin:0 auto;padding-inline:20px}

/* ---------- top bar ---------- */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,248,236,.86);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid var(--line);
}
.topbar-in{display:flex;align-items:center;justify-content:space-between;gap:12px;height:62px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1.5px solid #fff;box-shadow:var(--shadow-soft)}
.brand-txt{display:flex;flex-direction:column;line-height:1.15}
.brand-txt b{font-family:var(--font-en-body);font-size:15px;letter-spacing:.2px}
.brand-txt i{font-style:normal;font-size:11px;color:var(--ink-2)}
body[data-lang="en"] .brand-txt b{font-size:15px}

.lang{display:flex;gap:2px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px}
.lang button{
  border:0;background:transparent;color:var(--ink-2);
  padding:6px 13px;border-radius:999px;font-size:12.5px;font-weight:700;cursor:pointer;
  font-family:var(--font-en-body);transition:.18s;
}
.lang button.on{background:var(--ink);color:var(--cream)}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;isolation:isolate}
.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(120% 80% at 50% 42%,rgba(255,248,236,.92) 0%,rgba(255,248,236,.62) 42%,rgba(255,248,236,0) 72%);
}
.hero-in{position:relative;text-align:center;padding-block:44px 34px;display:flex;flex-direction:column;align-items:center}
.sticker{
  width:104px;height:104px;border-radius:50%;background:#fff;padding:5px;
  box-shadow:0 16px 30px -18px rgba(59,42,32,.9);
  transform:rotate(-6deg);margin-bottom:16px;
  border:1px dashed rgba(217,102,61,.45);
}
.sticker img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.kicker{
  margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.22em;
  text-transform:uppercase;color:var(--terracotta);
  font-family:var(--font-en-body);
}
body[data-lang="ar"] .kicker{letter-spacing:.12em;font-family:var(--font-ar-body)}
.hero h1{
  margin:0;font-family:var(--font-ar-display);font-weight:800;
  font-size:clamp(34px,10vw,58px);line-height:1.12;letter-spacing:-.5px;
}
body[data-lang="en"] .hero h1{font-family:var(--font-en-display);font-weight:700;letter-spacing:-1px}
.tagline{
  margin:10px 0 0;font-family:var(--font-en-display);font-style:italic;
  font-size:16px;color:var(--terracotta);
}
.lede{max-width:44ch;margin:14px 0 0;font-size:15px;color:var(--ink-2);line-height:1.75}
.pills{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:0;margin:20px 0 0}
.pills li{
  background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:7px 14px;font-size:12.5px;font-weight:600;color:var(--ink);
  box-shadow:var(--shadow-soft);
}
.pills li:nth-child(2){background:var(--honey-soft);border-color:#F6D68C;color:var(--honey-ink)}
.pills li:nth-child(3){background:var(--sage-soft);border-color:#D3E2C2;color:#415C33}
.hero-cta{
  margin-top:24px;display:inline-flex;align-items:center;gap:9px;
  background:var(--ink);color:var(--cream);text-decoration:none;
  padding:13px 22px;border-radius:999px;font-weight:700;font-size:14px;
  box-shadow:0 16px 26px -18px rgba(59,42,32,.95);
}
.hero-cta .arrow{font-size:14px;opacity:.75}

/* ---------- chips ---------- */
.chips{
  position:sticky;top:62px;z-index:40;
  background:rgba(255,248,236,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.chips-in{display:flex;gap:8px;overflow-x:auto;padding-block:11px;scrollbar-width:none}
.chips-in::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;text-decoration:none;font-size:13px;font-weight:700;
  padding:8px 16px;border-radius:999px;border:1px solid var(--line);
  background:#fff;color:var(--ink-2);white-space:nowrap;transition:.18s;
}
.chip.on{background:var(--terracotta);border-color:var(--terracotta);color:#fff}

/* ---------- sections ---------- */
.section{padding-block:38px 8px}
.sec-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}
.sec-num{
  flex:0 0 auto;width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;font-family:var(--font-en-body);font-weight:800;font-size:15px;
  background:var(--honey);color:#4A2E05;box-shadow:var(--shadow-soft);
  transform:rotate(-3deg);
}
.sec-head h2{
  margin:0;font-family:var(--font-ar-display);font-weight:800;
  font-size:clamp(23px,6.4vw,30px);line-height:1.2;
}
body[data-lang="en"] .sec-head h2{font-family:var(--font-en-display);font-weight:700}
.sec-sub{margin:3px 0 0;font-size:12.5px;color:var(--ink-2);letter-spacing:.02em}

.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}

/* ---------- item card ---------- */
.card{
  position:relative;display:flex;flex-direction:column;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;box-shadow:var(--shadow);
}
.card-media{position:relative;background:var(--sand)}
.card-media img{width:100%;aspect-ratio:1/1;object-fit:cover}
.card-media .num{
  position:absolute;top:9px;inset-inline-start:9px;
  width:24px;height:24px;border-radius:50%;background:rgba(255,252,246,.94);
  display:grid;place-items:center;font-family:var(--font-en-body);
  font-size:11.5px;font-weight:800;color:var(--ink);
}
.card-body{padding:12px 13px 13px;display:flex;flex-direction:column;gap:5px;flex:1}
.card-body h3{
  margin:0;font-family:var(--font-ar-body);font-size:14px;font-weight:700;line-height:1.42;
}
body[data-lang="en"] .card-body h3{font-family:var(--font-en-body);font-size:13.5px;letter-spacing:-.1px}
.card-body .detail{margin:0;font-size:11.5px;color:var(--ink-2);line-height:1.5}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:10px}
.price{
  background:var(--honey-soft);color:var(--honey-ink);border-radius:999px;
  padding:5px 11px;font-size:12px;font-weight:800;white-space:nowrap;
  font-family:var(--font-en-body);
}
body[data-lang="ar"] .price{font-family:var(--font-ar-body);font-size:12.5px}
.add{
  flex:0 0 auto;width:34px;height:34px;border-radius:50%;border:0;cursor:pointer;
  background:var(--terracotta);color:#fff;display:grid;place-items:center;
  font-size:19px;line-height:1;font-weight:400;
  box-shadow:0 8px 14px -8px rgba(217,102,61,.95);transition:.16s;
}
.add:hover{transform:translateY(-1px)}
.add.on{background:var(--green);font-size:15px}

/* ---------- photo strip ---------- */
.strip{padding-block:34px 6px;overflow:hidden}
.strip-in{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding-block:6px}
.strip figure{margin:0}
.strip img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:16px;box-shadow:var(--shadow)}
.strip figure:nth-child(odd) img{transform:rotate(-1.6deg)}
.strip figure:nth-child(even) img{transform:rotate(1.6deg)}
.strip figcaption{font-size:11px;font-weight:700;color:var(--ink-2);text-align:center;margin-top:7px}

/* ---------- order ---------- */
.order{padding-top:44px}
.banner{margin:0 0 22px;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow)}
.banner img{width:100%;aspect-ratio:16/9;object-fit:cover}
.steps{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:10px;counter-reset:s}
.steps li{
  counter-increment:s;position:relative;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  padding:14px 16px 14px 16px;padding-inline-start:60px;
  font-size:13.5px;line-height:1.6;box-shadow:var(--shadow-soft);
}
.steps li::before{
  content:counter(s);
  position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);
  width:32px;height:32px;border-radius:50%;
  display:grid;place-items:center;font-family:var(--font-en-body);font-weight:800;font-size:14px;
  background:var(--terra-soft);color:#8C3A1B;
}
.steps li:nth-child(2)::before{background:var(--honey-soft);color:var(--honey-ink)}
.steps li:nth-child(3)::before{background:var(--sage-soft);color:#415C33}
.steps li:nth-child(4)::before{background:var(--honey-soft);color:var(--honey-ink)}
.callout{
  background:var(--sage-soft);border:1px solid #D3E2C2;border-radius:var(--r-md);
  padding:14px 16px;margin-bottom:20px;
}
.callout b{display:block;font-size:13px;color:#3B5530;margin-bottom:3px}
.callout p{margin:0;font-size:13px;color:#415C33;line-height:1.6}
.cta-row{display:flex;flex-direction:column;gap:10px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:50px;padding:0 20px;border-radius:999px;text-decoration:none;
  font-weight:700;font-size:14px;border:1px solid transparent;cursor:pointer;
}
.btn svg{width:20px;height:20px;fill:currentColor}
.btn-wa{background:var(--green);color:#fff;box-shadow:0 14px 24px -16px rgba(46,107,76,.95)}
.btn-ghost{background:#fff;border-color:var(--line);color:var(--ink)}

/* ---------- footer ---------- */
.foot{margin-top:40px;padding-block:30px 40px;background:var(--cream-2);border-top:1px solid var(--line)}
.foot-in{display:flex;flex-direction:column;gap:20px}
.qr-card{
  display:flex;gap:16px;align-items:center;background:var(--paper);
  border:1px dashed #E0C79E;border-radius:var(--r-lg);padding:16px;
}
.qr-card img{width:112px;height:112px;border-radius:12px;flex:0 0 auto}
.qr-card b{display:block;font-family:var(--font-ar-display);font-size:17px;margin-bottom:4px}
body[data-lang="en"] .qr-card b{font-family:var(--font-en-display)}
.qr-card p{margin:0;font-size:12.5px;color:var(--ink-2);line-height:1.55}
.foot-links{display:flex;flex-wrap:wrap;gap:8px}
.foot-links a{
  text-decoration:none;font-size:12.5px;font-weight:700;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 14px;
}
.foot-note{margin:0;font-size:12px;color:var(--ink-2);line-height:1.7}
.foot-brand{
  margin:0;font-family:var(--font-en-display);font-style:italic;
  font-size:13px;color:var(--terracotta);
}

/* ---------- order bar ---------- */
.orderbar{
  position:sticky;bottom:0;z-index:55;
  background:rgba(255,252,246,.96);backdrop-filter:blur(12px);
  border-top:1px solid var(--line);padding-block:10px;
  padding-bottom:calc(10px + env(safe-area-inset-bottom));
}
.orderbar-in{display:flex;align-items:center;gap:10px}
.orderbar .count{
  flex:1 1 auto;font-size:12.5px;font-weight:800;color:var(--ink);
  display:flex;align-items:center;gap:7px;
}
.orderbar .count b{
  background:var(--terracotta);color:#fff;border-radius:999px;
  min-width:24px;height:24px;display:grid;place-items:center;font-size:12px;
}
.orderbar .btn{min-height:44px;font-size:13.5px;padding:0 16px}
.orderbar .clear{background:transparent;border-color:transparent;color:var(--ink-2);min-width:auto;padding:0 8px}

/* last odd card fills the row */
.grid > .card:last-child:nth-child(odd){grid-column:1/-1;flex-direction:row;align-items:stretch}
.grid > .card:last-child:nth-child(odd) .card-media{flex:0 0 46%}
.grid > .card:last-child:nth-child(odd) .card-media img{height:100%;aspect-ratio:auto;min-height:150px}
.grid > .card:last-child:nth-child(odd) .card-body{flex:1;justify-content:space-between;padding-block:16px;gap:8px}
.grid > .card:last-child:nth-child(odd) .card-media img{min-height:170px}

/* section accent colours */
#spreads .sec-num{background:var(--sage);color:#F4FAEE}
#order .sec-num{background:var(--terracotta);color:#fff}

/* ---------- english tweaks ---------- */
body[data-lang="en"] .card-body h3{line-height:1.35}
body[data-lang="en"] .lede{font-size:14.5px}

/* ---------- responsive ---------- */
@media (min-width:520px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media (min-width:760px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .grid > .card:last-child:nth-child(odd){grid-column:auto;flex-direction:column}
  .grid > .card:last-child:nth-child(odd) .card-media{flex:none}
  .grid > .card:last-child:nth-child(odd) .card-media img{aspect-ratio:1/1;min-height:0}
  .hero-in{padding-block:64px 48px}
  .cta-row{flex-direction:row;flex-wrap:wrap}
  .btn{min-height:52px}
  .foot-in{display:grid;grid-template-columns:1.1fr 1fr;align-items:start}
  .qr-card{grid-column:1/-1;max-width:460px}
  .steps{display:grid;grid-template-columns:1fr 1fr;gap:12px}
}
@media (min-width:1040px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .strip figure,.strip img{width:230px}
  .strip img{height:280px}
}

/* ---------- print (PDF) ---------- */
@media print{
  @page{size:A4;margin:12mm}
  .grain,.topbar,.chips,.orderbar,.hero-cta,.add,.strip{display:none!important}
  body{background:#fff;font-size:10.5pt}
  .hero{background:none}
  .hero-art{display:none}
  .hero::after{display:none}
  .hero-in{padding-block:0 10mm;text-align:start;align-items:flex-start}
  .sticker{width:64px;height:64px}
  .grid{grid-template-columns:repeat(3,1fr);gap:6mm}
  .card{break-inside:avoid;box-shadow:none;border-color:#ddd}
  .card-media img{aspect-ratio:4/3}
  .section{padding-block:6mm 0;break-inside:avoid}
  .foot{background:none;border-top:1px solid #ddd}
  .btn{box-shadow:none;border:1px solid #bbb;color:#000}
  .btn-wa{background:#fff}
}

/* screenshot / static mode */
html.is-static .topbar,html.is-static .chips,html.is-static .orderbar{position:static!important}
html.is-static .orderbar{display:none!important}

html.is-static{background:#00FF00}

/* ================= v2: brand cocoa, list rows, cart button ================= */
:root{
  --cocoa:#6E4522;
  --cocoa-mid:#84552D;
  --olive:#566329;
  --olive-soft:#E9EBD6;
  --paper:#FFFCF6;
  --cream:#FBF4E8;
  --sand:#F2E3C9;
  --line:#EBD9BC;
  --ink:#38271D;
  --green:#3F5A2E;
}
body{background:var(--cream)}
.topbar-in{height:60px}
.brandpill{
  display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:5px 12px 5px 7px;text-decoration:none;box-shadow:var(--shadow-soft);
}
.brandpill img{width:26px;height:26px;border-radius:50%;object-fit:cover}
.brandpill b{font-family:var(--font-en-body);font-size:13.5px;letter-spacing:.1px}
.brandpill .pin{
  display:inline-flex;align-items:center;gap:3px;font-style:normal;font-size:11px;color:var(--ink-2);
  border-inline-start:1px solid var(--line);padding-inline-start:7px;
}
.brandpill .pin svg{width:12px;height:12px;fill:var(--cocoa)}
.brandpill .pin i{font-style:normal}
.head-tools{display:flex;align-items:center;gap:8px}
.iconbtn{width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;text-decoration:none}
.iconbtn svg{width:16px;height:16px;fill:var(--cocoa)}

/* accent shifts */
.chip.on{background:var(--cocoa);border-color:var(--cocoa)}
.kicker,.tagline{color:var(--cocoa-mid)}
.hero-cta{background:var(--cocoa)}
.sec-num{background:var(--honey);color:#4A2E05}
#spreads .sec-num{background:var(--olive);color:#F6F3E4}
#order .sec-num{background:var(--cocoa);color:#fff}
.callout{background:var(--olive-soft);border-color:#D8DCC0}
.callout b{color:#3B4A22}
.callout p{color:#48562C}
.btn-wa{background:var(--green)}
.add{background:var(--cocoa);box-shadow:0 8px 14px -8px rgba(110,69,34,.95)}

/* price: accent text instead of a pill */
.price{
  background:none;padding:0;color:var(--cocoa-mid);font-weight:800;font-size:13px;
  white-space:nowrap;letter-spacing:.1px;
}
body[data-lang="ar"] .price{font-size:13px}
.card-foot{align-items:flex-end}

/* spreads as list rows */
.rows{display:flex;flex-direction:column;gap:10px}
.row{
  display:grid;grid-template-columns:64px 1fr 34px;gap:11px;align-items:center;
  background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:10px;
  box-shadow:var(--shadow-soft);
}
.row img{width:64px;height:64px;border-radius:14px;object-fit:cover;background:var(--sand)}
.row .rtop{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.row h3{margin:0;font-size:13.5px;font-weight:700;line-height:1.35}
body[data-lang="en"] .row h3{font-size:13px}
.row .detail{margin:2px 0 0;font-size:11px;color:var(--ink-2);line-height:1.45}

/* cart button + panel */
.cart-fab{
  position:fixed;inset-inline-end:16px;bottom:18px;z-index:56;
  width:56px;height:56px;border-radius:50%;border:0;background:var(--cocoa);color:#fff;
  display:grid;place-items:center;cursor:pointer;
  box-shadow:0 16px 26px -14px rgba(56,39,29,.95);
}
.cart-fab svg{width:24px;height:24px;fill:#fff}
.cart-fab .badge{
  position:absolute;top:-3px;inset-inline-start:-3px;min-width:22px;height:22px;border-radius:999px;
  background:var(--honey);color:#4A2E05;font-size:11.5px;font-weight:800;
  display:grid;place-items:center;font-family:var(--font-en-body);padding:0 5px;
}
.cart-fab .badge[data-empty="1"]{display:none}
.cart-panel{
  position:fixed;inset-inline:0;bottom:0;z-index:58;background:var(--paper);
  border-top-left-radius:26px;border-top-right-radius:26px;border:1px solid var(--line);
  box-shadow:0 -18px 40px -20px rgba(56,39,29,.65);
  padding:14px 16px calc(16px + env(safe-area-inset-bottom));
  max-height:72vh;overflow:auto;
}
.cart-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.cart-head b{font-family:var(--font-ar-display);font-size:17px}
body[data-lang="en"] .cart-head b{font-family:var(--font-en-display)}
.cart-x{border:0;background:transparent;font-size:15px;color:var(--ink-2);cursor:pointer;line-height:1}
.cart-list{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-direction:column;gap:9px}
.cart-list li{display:flex;align-items:center;gap:9px;font-size:12.5px;border-bottom:1px dashed var(--line);padding-bottom:9px}
.cart-list .nm{flex:1;line-height:1.35}
.cart-list .pr{color:var(--cocoa-mid);font-weight:800;font-size:11.5px;white-space:nowrap}
.cart-list button{
  border:0;background:var(--sand);width:24px;height:24px;border-radius:50%;
  cursor:pointer;color:var(--ink-2);font-size:12px;line-height:1;flex:0 0 auto;
}
.cart-actions{display:flex;gap:8px;align-items:center}
.cart-actions .btn-wa{flex:1}
.cart-backdrop{position:fixed;inset:0;background:rgba(56,39,29,.34);z-index:57}
body.cart-open{overflow:hidden}

@media print{
  .cart-fab,.cart-panel,.cart-backdrop,.head-tools{display:none!important}
  .row{grid-template-columns:56px 1fr;box-shadow:none}
  .row .add{display:none}
}

/* header overflow guards */
.topbar-in{gap:8px;min-width:0}
.brandpill{flex:0 1 auto;min-width:0;overflow:hidden}
.brandpill b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.head-tools{flex:0 0 auto}
.wrap{max-width:100%}
@media (max-width:440px){
  .brandpill .pin i{display:none}
  .brandpill{padding-inline-end:9px}
  .hero h1{font-size:clamp(30px,8.6vw,44px)}
}

/* row overflow guards */
.row{grid-template-columns:64px minmax(0,1fr) 34px}
.row > div{min-width:0}
.row .rtop{min-width:0}
.row h3{min-width:0;overflow-wrap:break-word}
.row .price{font-size:12px;flex:0 0 auto}
.card-body h3{overflow-wrap:break-word}
.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{min-width:0}

/* price block + per-piece chips */
.prices{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}
.card-body .prices{margin-top:auto}
.piece{
  font-size:10.5px;font-weight:700;color:var(--olive);
  background:var(--olive-soft);border-radius:999px;padding:3px 9px;white-space:nowrap;
}
.piece.pending{background:transparent;border:1px dashed #CDBB9C;color:#8C7A62}
.card-foot{margin-top:8px;display:flex;justify-content:flex-start}
.row .prices{margin-top:4px}

/* cart quantities + total */
.cart-list li{display:flex;align-items:center;gap:10px}
.cart-list .cl-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cart-list .nm{font-size:12.5px;line-height:1.35}
.cart-list .pr{color:var(--cocoa-mid);font-weight:800;font-size:11.5px}
.qty{display:inline-flex;align-items:center;gap:7px;background:var(--sand);border-radius:999px;padding:3px}
.qty button{
  width:24px;height:24px;border-radius:50%;border:0;background:#fff;color:var(--cocoa);
  font-size:14px;line-height:1;cursor:pointer;display:grid;place-items:center;
}
.qty span{min-width:14px;text-align:center;font-size:12.5px;font-weight:800;color:var(--ink)}
.cart-totalrow{
  display:flex;justify-content:space-between;align-items:baseline;
  border-top:1px solid var(--line);padding-top:10px;margin-bottom:4px;
}
.cart-totalrow span{font-size:13px;font-weight:700}
.cart-totalrow b{font-family:var(--font-ar-display);font-size:20px;color:var(--cocoa)}
body[data-lang="en"] .cart-totalrow b{font-family:var(--font-en-display)}
.cart-note{margin:0 0 12px;font-size:11px;color:var(--ink-2)}

/* order fields: name, mobile, test switch, delivery pin */
.fields{display:flex;flex-direction:column;gap:7px;margin:10px 0 2px}
.field-row{display:flex;gap:8px}
.field{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.field span{font-size:11px;color:var(--ink-2);font-weight:700}
.field input{
  width:100%;font:inherit;font-size:13px;padding:9px 11px;border-radius:13px;
  border:1px solid var(--line);background:#fff;color:var(--ink);direction:ltr;text-align:start;
}
.field input:focus{outline:2px solid rgba(132,85,45,.35);outline-offset:1px}
.f-note{margin:0;font-size:10.5px;color:var(--ink-2);line-height:1.45}
.f-err{margin:0;font-size:11px;color:#A23B22;font-weight:700;line-height:1.45}
.test-sw{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#8A4B2A;font-weight:700}
.test-sw[hidden]{display:none}
.loc{margin-top:9px;display:flex;flex-direction:column;gap:8px}
.loc-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  background:#fff;border:1px dashed var(--cocoa);border-radius:16px;padding:11px;
  font:inherit;font-weight:700;font-size:12.5px;color:var(--cocoa);cursor:pointer;
}
.loc-btn[hidden]{display:none}
.loc-btn svg{width:16px;height:16px;fill:currentColor;flex:none}
.loc-map{display:flex;flex-direction:column;gap:8px}
.loc-map[hidden]{display:none}
#loc-canvas{height:170px;border-radius:16px;overflow:hidden;background:var(--sand);border:1px solid var(--line)}
.loc-hint{margin:0;font-size:11px;color:var(--ink-2);text-align:center}
.loc-row{display:flex;gap:8px}
.loc-row .btn{flex:1;padding:10px 12px;font-size:12px}
.btn-mini{background:var(--cocoa);color:#fff;border:0;border-radius:14px;font-weight:800;cursor:pointer}
.loc-set{margin:0;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--green);font-weight:700}
.loc-set[hidden]{display:none}
.loc-change{background:none;border:0;color:var(--cocoa);font:inherit;font-size:11.5px;text-decoration:underline;cursor:pointer;padding:0}
.loc-fallback{margin:0;font-size:11px;color:#8A4B2A;line-height:1.5}
.loc-fallback[hidden]{display:none}
@media print{.fields,.loc{display:none}}

/* whatsapp mark inside the mobile field */
.input-wa{position:relative;display:block}
.input-wa .wa-ico{
  position:absolute;inset-inline-start:9px;top:50%;transform:translateY(-50%);
  width:16px;height:16px;fill:#3F5A2E;pointer-events:none;
}
.input-wa input{padding-inline-start:31px}
.field:has(.input-wa) > span:first-child{color:#3F5A2E}

.pin-cocoa{background:none;border:0}
