/* منيو غزة - أشكال السلة (v122): ذهبي أنيق · داكن زجاجي · فاتورة · خطوات */

/* ===== شريط السلة العائم ===== */
.cartbar[class*="cb-"] { padding: 9px 9px 9px 14px; gap: 10px; border-radius: 22px; }
.cartbar .av { display: flex; flex: none; }
.cartbar .av:empty { display: none; }
.cartbar .av i { width: 38px; height: 38px; border-radius: 50%; margin-left: -14px; background: #2a2b30 center / cover no-repeat; border: 2px solid currentColor; box-shadow: 0 4px 10px rgba(0,0,0,.35); display: grid; place-items: center; font-style: normal; font-size: 14px; font-weight: 800; color: #fff; }
.cartbar .av i:last-child { margin-left: 0; }
.cartbar[class*="cb-"] .cnt { position: relative; min-width: 24px; height: 24px; border-radius: 12px; font-size: 12px; }
.cartbar[class*="cb-"] .tot { flex: none; height: 42px; padding: 0 14px; border-radius: 15px; display: flex; align-items: center; font-weight: 800; white-space: nowrap; }
.cartbar[class*="cb-"] .tot:empty { display: none; }
.cartbar.cb-glass { background: rgba(26,26,30,.9) !important; color: #fff !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 40px -12px rgba(0,0,0,.7) !important; }
.cartbar[class*="cb-"]:not(.cb-glass):not(.cb-receipt) .tot { background: rgba(0,0,0,.16); color: inherit; } /* v166: بألوان المحل */
.cartbar[class*="cb-"]:not(.cb-glass):not(.cb-receipt) .av i { border-color: var(--c); }
.cartbar.cb-glass .tot { background: var(--c); color: var(--on); }
.cartbar.cb-glass .av i { border-color: #1a1a1e; }
.cartbar.cb-receipt { background: #fffdf7 !important; color: #222 !important; border: 1.5px dashed #222; box-shadow: 0 16px 30px -10px rgba(0,0,0,.5) !important; }
.cartbar.cb-receipt .tot { background: #222; color: #fffdf7; font-family: ui-monospace, 'Courier New', monospace; }
.cartbar.cb-receipt .av i { border-color: #fffdf7; }
.cartbar.cb-receipt .cnt { background: #222; color: #fffdf7; }

/* ===== مشترك ===== */
.sheet.cs .sbox { padding-top: 14px; }
.sheet.cs .cl-it .th img { object-fit: cover; }
.sheet.cs .err:empty { display: none; }
.sheet.cs .cs-p[data-p="2"]:not(:has(*:not(.err))) { display: none; }

/* ===== ١. ذهبي أنيق ===== */
.sheet.cs-gold .sbox { background: var(--bg); color: var(--tx); } /* v166: بألوان المحل */
.sheet.cs-gold .sbox::before { background: rgba(var(--cr), .25); }
.sheet.cs-gold .sh-h h3 { font-size: 1.5em; }
.sheet.cs-gold .sx { background: rgba(var(--cr), .1); color: var(--tx); }
.sheet.cs-gold .cl { gap: 0; }
.sheet.cs-gold .cl-it { background: none; border-radius: 0; padding: 12px 0; border-bottom: 1px solid rgba(var(--cr), .16); gap: 12px; }
.sheet.cs-gold .cl-it .th { width: 62px; height: 62px; border-radius: 20px; background: radial-gradient(circle at 50% 60%, var(--card), rgba(var(--cr), .1)); }
.sheet.cs-gold .cl-it .i .pr { color: var(--c); font-size: 1em; }
.sheet.cs-gold .qty { background: var(--tx); border: 0; border-radius: 14px; padding: 0; }
.sheet.cs-gold .qty button { background: none; color: var(--bg); width: 32px; height: 36px; border-radius: 0; }
.sheet.cs-gold .qty span { color: var(--bg); min-width: 18px; }
.sheet.cs-gold .sum { background: var(--card); border: 0; border-radius: 18px; padding: 14px; margin-top: 14px; }
.sheet.cs-gold .sum .pr { color: var(--c); font-size: 1.35em; }
.sheet.cs-gold .seg { background: rgba(var(--cr), .1); border: 0; border-radius: 16px; }
.sheet.cs-gold .seg button { color: var(--tx); border-radius: 12px; }
.sheet.cs-gold .seg button.on { background: var(--tx); color: var(--bg); }
.sheet.cs-gold .inp { background: var(--card); border-color: rgba(var(--cr), .2); border-radius: 14px; color: var(--tx); }
.sheet.cs-gold .inp:focus { border-color: var(--c); }
.sheet.cs-gold .note-box { background: var(--card); }
.sheet.cs-gold .note-box svg { color: var(--c); }
.sheet.cs-gold #fSend { position: relative; overflow: hidden; height: 58px; border-radius: 20px; background: var(--tx) !important; color: var(--bg) !important; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5) !important; }
.sheet.cs-gold #fSend::before, .sheet.cs-glass #fSend::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(231,194,125,.35), transparent); animation: csShine 3s ease-in-out infinite; }
@keyframes csShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* ===== ٢. داكن زجاجي ===== */
.sheet.cs-glass { background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet.cs-glass .sbox { --soft: rgba(255,255,255,.06); --line: rgba(255,255,255,.1); --tx: #fff; --mu: #a3a3ad; --card: rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(28,28,34,.94), rgba(12,12,16,.98)); color: #fff; border: 1px solid rgba(255,255,255,.08); border-bottom: 0; }
.sheet.cs-glass .sh-h h3 { font-size: 1.6em; }
.sheet.cs-glass .sx { background: rgba(255,255,255,.08); color: #fff; border-radius: 14px; }
.sheet.cs-glass .cl { flex-direction: row; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sheet.cs-glass .cl::-webkit-scrollbar { display: none; }
.sheet.cs-glass .cl-it { flex: none; width: 172px; scroll-snap-align: center; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 12px 12px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); }
.sheet.cs-glass .cl-it .th { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 14px 24px -10px rgba(0,0,0,.7); }
.sheet.cs-glass .cl-it .i { width: 100%; }
.sheet.cs-glass .cl-it .i b { white-space: normal; }
.sheet.cs-glass .cl-it .i .pr { font-size: 1.05em; }
.sheet.cs-glass .qty { background: rgba(255,255,255,.08); border: 0; }
.sheet.cs-glass .qty button { background: rgba(255,255,255,.1); color: #fff; border-radius: 10px; }
.sheet.cs-glass .sum { border: 1px dashed rgba(255,255,255,.16); border-radius: 20px; padding: 14px; background: rgba(255,255,255,.04); }
.sheet.cs-glass .seg { background: none; border: 0; gap: 8px; padding: 0; }
.sheet.cs-glass .seg button { padding: 14px 6px; border-radius: 16px; background: rgba(255,255,255,.06); color: #fff; border: 1px solid transparent; }
.sheet.cs-glass .seg button.on { background: rgba(var(--cr), .14); color: var(--c); border-color: var(--c); }
.sheet.cs-glass .inp { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #fff; border-radius: 14px; }
.sheet.cs-glass #fSend { position: relative; overflow: hidden; height: 60px; border-radius: 30px; background: linear-gradient(135deg, var(--c), var(--c2)) !important; color: var(--on) !important; box-shadow: 0 14px 30px -10px rgba(var(--cr), .7) !important; }

/* ===== ٣. فاتورة ===== */
.sheet.cs-receipt .sbox { --soft: #f3efe4; --line: #d9d4c7; --tx: #222; --mu: #777; --card: #fffdf7; background: #ece7db; color: #222; }
.sheet.cs-receipt .sh-h h3 { font-family: ui-monospace, 'Courier New', monospace; letter-spacing: 1px; }
.sheet.cs-receipt .sx { background: #222; color: #fffdf7; }
.sheet.cs-receipt .cs-p[data-p="1"] { position: relative; background: #fffdf7; padding: 4px 14px 16px; margin-bottom: 22px; box-shadow: 0 10px 20px -12px rgba(0,0,0,.35); animation: csPrint 1s cubic-bezier(.22,1,.36,1); }
.sheet.cs-receipt .cs-p[data-p="1"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px; background: radial-gradient(circle at 8px 0, transparent 7px, #fffdf7 7.5px) 0 0 / 16px 12px repeat-x; }
@keyframes csPrint { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20px 0); } }
.sheet.cs-receipt .rc-hd { text-align: center; padding: 12px 0 10px; border-bottom: 2px dashed #bbb; margin-bottom: 4px; }
.sheet.cs-receipt .rc-hd b { display: block; font-family: var(--tf); font-size: 1.4em; }
.sheet.cs-receipt .rc-hd small { font-family: ui-monospace, 'Courier New', monospace; font-size: .75em; color: #777; }
.sheet.cs-receipt .cl { gap: 0; }
.sheet.cs-receipt .cl-it { background: none; border-radius: 0; padding: 10px 0; border-bottom: 1px dotted #bbb; }
.sheet.cs-receipt .cl-it .th { width: 40px; height: 40px; border-radius: 8px; filter: grayscale(.2); }
.sheet.cs-receipt .cl-it .i .pr { color: #222; font-family: ui-monospace, 'Courier New', monospace; font-weight: 800; }
.sheet.cs-receipt .qty { background: none; border: 1.5px solid #222; border-radius: 8px; padding: 0; }
.sheet.cs-receipt .qty button { background: none; color: #222; width: 26px; height: 28px; border-radius: 0; font-size: 15px; }
.sheet.cs-receipt .sum { border-top: 2px dashed #222; border-radius: 0; font-family: ui-monospace, 'Courier New', monospace; padding: 12px 0 0; flex-wrap: wrap; }
.sheet.cs-receipt .sum .pr { color: #222; font-size: 1.3em; }
.sheet.cs-receipt .sum::after { content: ""; display: block; width: 100%; height: 34px; margin-top: 12px; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 4px, #222 4px 5px, transparent 5px 8px, #222 8px 11px, transparent 11px 12px); }
.sheet.cs-receipt .seg { background: none; border: 0; padding: 0; gap: 6px; }
.sheet.cs-receipt .seg button { border: 1.5px solid #222; border-radius: 0; color: #222; font-family: ui-monospace, 'Courier New', monospace; }
.sheet.cs-receipt .seg button.on { background: #222; color: #fffdf7; }
.sheet.cs-receipt .inp { background: #fffdf7; border: 1.5px solid #222; border-radius: 0; color: #222; }
.sheet.cs-receipt .note-box { background: #fffdf7; border-radius: 0; }
.sheet.cs-receipt #fSend { height: 58px; border-radius: 16px; background: #25d366 !important; color: #fff !important; box-shadow: 0 12px 24px -10px rgba(37,211,102,.6) !important; }

/* ===== ٥. خطوات (v166: بألوان المحل بدل الأسود) ===== */
.sheet.cs-steps .sbox { background: var(--card); color: var(--tx); padding-bottom: 0; }
.sheet.cs-steps .sx { background: rgba(var(--cr), .1); color: var(--tx); }
.cs-st { display: flex; margin: 0 0 16px; }
.cs-st div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .75em; color: var(--mu); position: relative; font-weight: 700; }
.cs-st div i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(var(--cr), .22); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: var(--card); color: var(--mu); z-index: 2; transition: .4s; }
.cs-st div::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: rgba(var(--cr), .18); transition: .4s; }
.cs-st div:first-child::before { display: none; }
.cs-st div.on { color: var(--c); }
.cs-st div.on i { background: var(--c); border-color: var(--c); color: var(--on); }
.cs-st div.on::before { background: var(--c); }
.sheet.cs-steps .cs-p { animation: csIn .4s ease; }
@keyframes csIn { from { opacity: 0; transform: translateX(-16px); } }
.sheet.cs-steps .cl-it { background: rgba(var(--cr), .07); border-radius: 18px; }
.sheet.cs-steps .qty { background: var(--card); border: 0; border-radius: 12px; }
.sheet.cs-steps .qty button { background: rgba(var(--cr), .1); color: var(--tx); border-radius: 9px; }
.sheet.cs-steps .seg { display: flex; flex-direction: column; background: none; border: 0; padding: 0; gap: 8px; }
.sheet.cs-steps .seg button { justify-content: flex-start; padding: 16px; border-radius: 18px; background: rgba(var(--cr), .07); color: var(--tx); font-size: .95em; border: 1.5px solid transparent; }
.sheet.cs-steps .seg button::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(var(--cr), .3); flex: none; margin-left: 4px; transition: .2s; }
.sheet.cs-steps .seg button.on { background: rgba(var(--cr), .1); color: var(--c); border-color: var(--c); }
.sheet.cs-steps .seg button.on::before { border: 6px solid var(--c); }
.sheet.cs-steps .inp { border-radius: 14px; }
.cs-nav { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 12px 0 calc(16px + env(safe-area-inset-bottom)); margin-top: 12px; background: linear-gradient(180deg, transparent, var(--card) 30%); }
.cs-nav:empty { display: none; }
.cs-bk { width: 56px; height: 56px; flex: none; border-radius: 18px; background: rgba(var(--cr), .1); color: var(--tx); border: 0; display: grid; place-items: center; cursor: pointer; }
.cs-nx { flex: 1; height: 56px; border-radius: 18px; border: 0; cursor: pointer; background: var(--c); color: var(--on); font: inherit; font-weight: 800; font-size: 1em; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.sheet.cs-steps #fSend { height: 56px; border-radius: 18px; margin-bottom: 4px; }
.sheet.cs-steps .cs-p[data-p="3"] ~ .cs-nav { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .sheet.cs * { animation: none !important; } }

/* =========================================================
   v166: 3 أشكال جديدة للسلة + شاشة «تم» جديدة (لكل الأشكال)
   soft فاتورة ناعمة · plate صحن الطلب (بخطوات) · cards دوائر
   ========================================================= */
/* اختيار الاستلام بأيقونات (للأشكال الجديدة) */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg2 button { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 16px; border: 1.5px solid rgba(var(--cr), .16); background: none; color: var(--tx); font: inherit; font-weight: 700; font-size: .9em; text-align: start; cursor: pointer; transition: border-color .2s, background .2s; }
.seg2 button small { display: block; font-size: .78em; color: var(--mu); font-weight: 500; }
.seg2 button .ic { width: 34px; height: 34px; border-radius: 11px; background: rgba(var(--cr), .1); color: var(--c); display: grid; place-items: center; flex: none; transition: .2s; }
.seg2 button.on { border-color: var(--c); background: rgba(var(--cr), .07); color: var(--c); }
.seg2 button.on .ic { background: var(--c); color: var(--on); }
/* ---------- فاتورة ناعمة ---------- */
.sheet.cs-soft .cl { display: block; }
.sheet.cs-soft .cl-it { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid rgba(var(--cr), .12); background: none; border-radius: 0; animation: csIn .35s both; }
.sheet.cs-soft .cl-it .th { width: 52px; height: 52px; border-radius: 16px; background: rgba(var(--cr), .08); flex: none; }
.sheet.cs-soft .cl-it .i { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; }
.sheet.cs-soft .cl-it .i b { grid-column: 1; }
.sheet.cs-soft .cl-it .i small { grid-column: 1; }
.sheet.cs-soft .cl-it .i .pr { grid-column: 2; grid-row: 1; align-self: start; }
.sheet.cs-soft .cl-it .qty { transform: scale(.9); transform-origin: left center; }
.sheet.cs-soft .sum2 { display: block; margin-top: 12px; padding: 10px 13px; border-radius: 16px; background: rgba(var(--cr), .07); font-size: .9em; }
.sheet.cs-soft .sum2 > div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--mu); }
.sheet.cs-soft .sum2 .t { color: var(--tx); font-weight: 800; font-size: 1.12em; border-top: 1px dashed rgba(var(--cr), .25); margin-top: 6px; padding-top: 9px; }
/* ---------- صحن الطلب ---------- */
.pl-hd { text-align: center; padding: 2px 0 14px; }
.pl-hd .stk { display: flex; justify-content: center; margin-bottom: 8px; }
.pl-hd .stk span { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(var(--cr), .1); box-shadow: 0 0 0 3px var(--card); margin: 0 -9px; animation: plIn .6s cubic-bezier(.2,.9,.3,1.2) both; color: var(--c); font-weight: 800; }
.pl-hd .stk img { width: 100%; height: 100%; object-fit: cover; }
.pl-hd small { display: block; font-size: .8em; color: var(--mu); }
.pl-hd > b { display: block; font-family: var(--tf, inherit); font-size: 2em; line-height: 1.2; color: var(--c); }
@keyframes plIn { from { opacity: 0; transform: rotate(-120deg) scale(.5); } }
.sheet.cs-plate .cl { display: block; background: rgba(var(--cr), .07); border-radius: 20px; padding: 2px 12px; }
.sheet.cs-plate .cl-it { display: flex; align-items: center; gap: 10px; padding: 10px 0; background: none; border-radius: 0; border-bottom: 1px solid rgba(var(--cr), .12); }
.sheet.cs-plate .cl-it:last-child { border-bottom: 0; }
.sheet.cs-plate .cl-it .th { display: none; }
.sheet.cs-plate .cl-it .i { flex: 1; min-width: 0; }
.sheet.cs-plate .sum { display: none; }
/* ---------- دوائر ---------- */
.sheet.cs-cards .cl { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: none; flex-direction: row; }
.sheet.cs-cards .cl::-webkit-scrollbar { display: none; }
.sheet.cs-cards .cl-it { flex: none; width: 68px; display: block; text-align: center; padding: 0; background: none; border: 0; border-radius: 0; cursor: pointer; animation: csIn .35s both; }
.sheet.cs-cards .cl-it .th { position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto; border-radius: 50%; overflow: visible; background: rgba(var(--cr), .1); transition: box-shadow .25s; }
.sheet.cs-cards .cl-it .th img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sheet.cs-cards .cl-it.on .th { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--c); }
.sheet.cs-cards .cl-it .q { display: grid; }
.sheet.cs-cards .cl-it .i { display: block; margin-top: 5px; }
.sheet.cs-cards .cl-it .i b { display: block; font-size: .74em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet.cs-cards .cl-it .i small, .sheet.cs-cards .cl-it .i .pr, .sheet.cs-cards .cl-it > .qty, .sheet.cs-cards .cl-it > .shr { display: none; }
.cl-it .q { display: none; position: absolute; top: -3px; left: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--c); color: var(--on); font-style: normal; font-size: 11px; font-weight: 800; place-items: center; box-shadow: 0 0 0 2px var(--card); }
.cl-add { flex: none; width: 68px; background: none; border: 0; padding: 0; color: var(--mu); font: inherit; font-size: .74em; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.cl-add span { width: 62px; height: 62px; border-radius: 50%; border: 1.5px dashed rgba(var(--cr), .4); display: grid; place-items: center; font-size: 24px; color: var(--c); }
.dt-ed { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 16px; background: rgba(var(--cr), .08); animation: csIn .3s both; }
.dt-ed b { flex: 1; min-width: 0; font-size: .92em; }
.dt-ed b small { display: block; font-size: .8em; color: var(--mu); font-weight: 500; }
.dt-ed .qty { background: var(--card); }
.dt-ed .shr { width: 34px; height: 34px; border-radius: 11px; background: var(--card); color: #c0392b; border: 0; display: grid; place-items: center; cursor: pointer; }

/* ---------- شاشة «تم» (لكل الأشكال) ---------- */
.done .ok.ok2 { position: relative; width: 104px; height: 104px; margin: 8px auto 12px; background: none; color: var(--c); animation: none; overflow: visible; }
.done .ok2 svg { width: 104px; height: 104px; }
.done .ok2 circle { fill: none; stroke: currentColor; stroke-width: 3; stroke-dasharray: 302; stroke-dashoffset: 302; transform: rotate(-90deg); transform-origin: center; animation: okDraw .7s .1s ease-out forwards; }
.done .ok2 path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: okDraw .4s .75s ease-out forwards; }
.done .ok2 i { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--c2, var(--c)); opacity: 0; animation: okBurst .75s 1s ease-out forwards; }
.done .ok2 i.b { background: var(--c); }
@keyframes okDraw { to { stroke-dashoffset: 0; } }
@keyframes okBurst { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.4); } }
.done h3 { font-size: 1.35em; }
.dn-tk { position: relative; margin: 2px 0 16px; padding: 11px 15px; border-radius: 18px; background: rgba(var(--cr), .08); text-align: start; animation: csIn .5s 1.05s both; }
.dn-tk::before, .dn-tk::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--card); }
.dn-tk::before { right: -8px; } .dn-tk::after { left: -8px; }
.dn-tk div { display: flex; justify-content: space-between; padding: 3px 0; font-size: .86em; color: var(--mu); }
.dn-tk b { color: var(--tx); }
@media (prefers-reduced-motion: reduce) { .done .ok2 circle, .done .ok2 path { animation: none; stroke-dashoffset: 0; } .done .ok2 i, .dn-tk, .pl-hd .stk span { animation: none; } }
/* صحن الطلب: خطوات بشكل فاتح وناعم */
.sheet.cs-plate .cs-st { margin-bottom: 12px; }
.sheet.cs-plate .cs-st div { color: var(--mu); font-weight: 600; }
.sheet.cs-plate .cs-st div i { width: 12px; height: 12px; border: 0; background: rgba(var(--cr), .2); font-size: 0; margin-top: 9px; }
.sheet.cs-plate .cs-st div::before { top: 14px; height: 1.5px; background: rgba(var(--cr), .18); }
.sheet.cs-plate .cs-st div.on { color: var(--c); }
.sheet.cs-plate .cs-st div.on i { background: var(--c); box-shadow: 0 0 0 4px rgba(var(--cr), .18); }
.sheet.cs-plate .cs-p { animation: csIn .4s ease; }
.sheet.cs-plate .cs-nav { background: linear-gradient(180deg, transparent, var(--card) 30%); }
.sheet.cs-plate .cs-bk { background: rgba(var(--cr), .1); color: var(--tx); }
.sheet.cs-plate .sbox { padding-bottom: 0; }

/* v172: صندوق التوصيل (رسوم · منطقة · حد أدنى · وقت) — بألوان الثيم */
.sheet .dl-box { margin: 10px 0 4px; border-radius: 16px; padding: 10px 12px; background: color-mix(in srgb, var(--c, #f28b05) 7%, var(--card, #fff)); border: 1px solid color-mix(in srgb, var(--c, #f28b05) 22%, transparent); display: grid; gap: 6px; animation: dlIn .35s ease both; }
.sheet .dl-box > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.sheet .dl-box > div span { opacity: .75; }
.sheet .dl-box > div b { font-weight: 800; unicode-bidi: isolate; }
.sheet .dl-box > div b.fr { color: #16a34a; }
.sheet .dl-box > div b.mu { opacity: .6; font-weight: 600; font-size: 12px; }
.sheet .dl-box > div.tt { border-top: 1px dashed color-mix(in srgb, currentColor 25%, transparent); padding-top: 7px; font-size: 14.5px; }
.sheet .dl-box > div.tt span { opacity: 1; font-weight: 800; }
.sheet .dl-box > div.tt b { color: var(--c, #f28b05); }
.sheet .dl-box p { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .8; }
.sheet .dl-box p svg { flex: none; color: var(--c, #f28b05); }
.sheet .dl-box p.bad { color: #dc2626; opacity: 1; font-weight: 700; }
.sheet .dl-box p.bad svg { color: #dc2626; }
@keyframes dlIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* v180: زر «التالي» لما الطلب أقل من الحد الأدنى للتوصيل */
.sheet .cs-nx.cs-dis { opacity: .55; filter: saturate(.5); }

/* v181: المناطق كبسات بدل القائمة + أيقونة رسالة التأكيد */
.sheet .zch { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.sheet .zch button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 13px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, currentColor 16%, transparent); background: color-mix(in srgb, var(--card, #fff) 92%, transparent); color: inherit; font: inherit; font-size: 14px; font-weight: 700; text-align: start; cursor: pointer; transition: border-color .2s, background .2s; }
.sheet .zch button b { font-size: 12px; font-weight: 600; opacity: .7; unicode-bidi: isolate; }
.sheet .zch button.on { border-color: var(--c, #f28b05); background: color-mix(in srgb, var(--c, #f28b05) 12%, var(--card, #fff)); }
.sheet .zch button.on b { opacity: 1; color: var(--c, #f28b05); }
.cf-st.cf-ok::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 10'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.8 2.8L16 10'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ===== v204: خطوات السلة: الخط بيوصل للخطوة اللي قبل (ما بيطلع برّا) ===== */
.cs-st div::before { right: auto; left: 50%; }
/* راس السلة: كروت الأصناف مفرودة زي ورق الشدة */
.pl-hd .stk.fan { height: 92px; align-items: flex-end; margin-bottom: 12px; }
.pl-hd .stk.fan span { position: relative; width: 70px; height: 70px; margin: 0 -10px; border-radius: 20px; overflow: visible; background: color-mix(in srgb, var(--c) 14%, var(--card)); box-shadow: 0 0 0 3px var(--card), 0 14px 24px -12px rgba(0,0,0,.6); animation: fanIn .6s cubic-bezier(.2,.9,.3,1.3) both; transform-origin: 50% 120%; }
.pl-hd .stk.fan span img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.pl-hd .stk.fan span.ct { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, #fff 92%, var(--c)), color-mix(in srgb, var(--c) 22%, var(--card)) 78%); }
.pl-hd .stk.fan span.ct img { object-fit: contain; padding: 5px; box-sizing: border-box; filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); }
.pl-hd .stk.fan span:nth-child(1) { --r: 9deg; z-index: 4; }
.pl-hd .stk.fan span:nth-child(2) { --r: 3deg; z-index: 3; translate: 0 -6px; }
.pl-hd .stk.fan span:nth-child(3) { --r: -3deg; z-index: 2; translate: 0 -6px; }
.pl-hd .stk.fan span:nth-child(4) { --r: -9deg; z-index: 1; }
.pl-hd .stk.fan span:only-child { --r: -4deg; width: 84px; height: 84px; }
.pl-hd .stk.fan span { transform: rotate(var(--r, 0deg)); }
.pl-hd .stk.fan span em { position: absolute; top: -7px; left: -7px; min-width: 24px; height: 24px; padding: 0 5px; box-sizing: border-box; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: var(--on, #fff); font-style: normal; font-size: 11px; font-weight: 800; box-shadow: 0 0 0 2.5px var(--card); font-family: 'Plus Jakarta Sans', var(--ff); }
.pl-hd .stk.fan span.more { display: grid; place-items: center; padding-right: 16px; box-sizing: border-box; background: var(--c); color: var(--on, #fff); }
.pl-hd .stk.fan span.more b { font-size: 1.3em; font-weight: 800; color: var(--on, #fff); font-family: "Plus Jakarta Sans", var(--ff); }
.pl-hd .stk.fan span > b { font-size: 1.6em; color: var(--c); }
@keyframes fanIn { from { opacity: 0; transform: translateY(40px) rotate(0deg) scale(.6); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@media (prefers-reduced-motion: reduce) { .pl-hd .stk.fan span { animation: none; } }

/* v224: تتبّع طلب الطاولة + أرسل جنب رجوع */
.tc-tr { margin: 14px 0 4px; padding: 12px 14px; border-radius: 18px; background: var(--card, #fff); box-shadow: inset 0 0 0 1px rgba(var(--cr), .14); text-align: start; }
.tc-tr div { position: relative; display: flex; gap: 12px; padding-bottom: 12px; }
.tc-tr div:last-child { padding-bottom: 0; }
.tc-tr div i { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--card, #fff); box-shadow: inset 0 0 0 2px rgba(var(--cr), .25); position: relative; z-index: 1; }
.tc-tr div:not(:last-child)::after { content: ""; position: absolute; top: 18px; bottom: -2px; inset-inline-start: 6px; width: 2px; background: rgba(var(--cr), .15); }
.tc-tr div.dn i { background: var(--c); box-shadow: none; }
.tc-tr div.dn::after { background: var(--c) !important; }
.tc-tr div.now i { box-shadow: inset 0 0 0 4px var(--c), 0 0 0 4px rgba(var(--cr), .15); animation: tcNow 1.6s ease-in-out infinite; }
.tc-tr b { display: block; font-size: .92em; }
.tc-tr small { display: block; font-size: .78em; color: var(--mu); }
.tc-tr div:not(.dn):not(.now) b { color: var(--mu); font-weight: 500; }
@keyframes tcNow { 50% { box-shadow: inset 0 0 0 4px var(--c), 0 0 0 7px rgba(var(--cr), .08); } }
.tc-done .tc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tc-done .tc-acts .btn { margin: 0; }
.cs-nav .cs-send { justify-content: center; }
