:root {
  --brand: #b45309;
  --brand-dark: #92400e;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f3f4f6;
  --red: #b91c1c;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
}

button, input { font: inherit; color: inherit; }
.ltr { direction: ltr; text-align: left; }
.muted { color: var(--muted); }

/* تسجيل الدخول */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.auth-card { width: 100%; max-width: 380px; background: #fff; border-radius: 20px; padding: 28px 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, .08); }
.auth-card h1 { margin: 0; text-align: center; color: var(--brand-dark); font-size: 1.8rem; font-weight: 800; }
.sub { margin: 4px 0 20px; text-align: center; color: var(--muted); font-size: .9rem; }

.alert { margin-bottom: 14px; padding: 10px 12px; background: #fef2f2; color: var(--red); border-radius: 10px; font-size: .85rem; font-weight: 600; }

.field { display: block; margin-bottom: 14px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #f9fafb; font-size: .95rem; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--brand); background: #fff; }

.btn { width: 100%; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1rem; padding: 12px; cursor: pointer; }
.btn:hover { background: var(--brand-dark); }

/* اللوحات */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.btn-link { border: 0; background: none; color: var(--red); font-weight: 700; cursor: pointer; }

.page { max-width: 720px; margin: 0 auto; padding: 20px 16px; }
.page h1 { font-size: 1.3rem; margin: 0 0 16px; }
.panel { background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 12px; border: 1px solid var(--line); }
.panel h2 { margin: 0 0 8px; font-size: 1rem; }
.panel p { margin: 0; }
.panel a { color: var(--brand-dark); font-weight: 600; word-break: break-all; }

/* إدارة الأقسام */
.back { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.flash { margin-bottom: 14px; padding: 10px 12px; background: #f0fdf4; color: #15803d; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.page .alert { margin-bottom: 14px; }
.field select, .field textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #f9fafb; font-size: .95rem; color: var(--ink); font-family: inherit; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.check { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .9rem; font-weight: 600; }
.check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); }
.field input[type="radio"], .field input[type="checkbox"], .check input[type="radio"] { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--brand); }

.row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-icon { font-size: 1.6rem; }
.row-main { flex: 1; min-width: 0; }
.row-main strong { display: block; }
.row-main small { color: var(--muted); font-size: .78rem; }
.btn-sm { display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 5px 12px; border-radius: 9px; font-size: .8rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-sm.danger { color: var(--red); border-color: #fecaca; }

/* الأصناف */
.row-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.preview { display: block; max-width: 140px; max-height: 140px; margin: 8px 0; border-radius: 12px; object-fit: cover; }
.preview-cover { max-width: 100%; width: 320px; max-height: none; aspect-ratio: 16 / 7; }
.field[class~="field"] input[type="file"] { padding: 8px; background: #fff; }
div.field { display: block; margin-bottom: 14px; font-size: .85rem; font-weight: 600; color: var(--muted); }
div.field input[type="file"] { display: block; width: 100%; margin-top: 4px; padding: 8px; border: 1px dashed var(--line); border-radius: 12px; background: #fff; }

/* الفلاتر والشارات (الطلبات) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.filter small { background: #f3f4f6; border-radius: 999px; padding: 1px 7px; font-size: .72rem; }
.filter.is-active { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.filter.is-active small { background: rgba(255, 255, 255, .22); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #f3f4f6; color: var(--ink); }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #dbeafe; color: #1d4ed8; }
.badge-completed { background: #dcfce7; color: #15803d; }
.badge-cancelled { background: #fee2e2; color: #b91c1c; }

/* التحديث الفوري للطلبات */
.live-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.live-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }

/* مفتاح استقبال الطلبات */
.ordering-panel .badge { font-size: .85rem; padding: 4px 14px; }
.ordering-panel p { margin-bottom: 10px; }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #991b1b; }

/* إعدادات المطعم (ساعات العمل) */
.hours-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .check { margin: 0; min-width: 110px; }
.hours-row .hours-time { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.hours-row input[type="time"] { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #f9fafb; direction: ltr; }


.extend-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.extend-actions form { margin: 0; }
.codes { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.codes li { padding: 8px 10px; background: #f3f4f6; border-radius: 8px; font-family: ui-monospace, monospace; text-align: center; }
.qr { width: 220px; max-width: 100%; margin: 8px 0; }
.qr svg { width: 100%; height: auto; display: block; }
.secret { font-family: ui-monospace, monospace; word-break: break-all; padding: 8px 10px; background: #f3f4f6; border-radius: 8px; }
.recovery { margin-top: 16px; }
.recovery summary { cursor: pointer; }

/* إحصائيات لوحة المطعم */
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; background: #f9fafb; text-align: center; }
.stat-value { font-size: 1.4rem; font-weight: 800; color: var(--brand-dark); line-height: 1.2; }
.stat-label { font-size: .75rem; color: var(--muted); font-weight: 600; }
.stats-note { font-size: .75rem; margin-bottom: 12px; }
.stats-panel h3 { margin: 4px 0 8px; font-size: .9rem; }
.top-items { margin: 0; padding: 0; list-style: none; counter-reset: top; }
.top-items li { counter-increment: top; display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.top-items li::before { content: counter(top); flex: 0 0 22px; color: var(--muted); font-weight: 700; }
.top-item-name { flex: 1; font-weight: 600; word-break: break-word; }
.top-item-qty { color: var(--muted); font-size: .85rem; white-space: nowrap; }

/* قايمة البداية السريعة */
.onboarding-panel { border-color: #fcd34d; background: #fffbeb; }
.progress { display: block; width: 100%; height: 8px; margin: 8px 0 12px; border: 0; border-radius: 99px; overflow: hidden; background: var(--line); -webkit-appearance: none; appearance: none; }
.progress::-webkit-progress-bar { background: var(--line); border-radius: 99px; }
.progress::-webkit-progress-value { background: var(--brand); border-radius: 99px; }
.progress::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .check { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: #fff; font-size: .8rem; line-height: 18px; text-align: center; font-weight: 800; }
.checklist li.is-done .check { background: #15803d; border-color: #15803d; }
.checklist li.is-done strong { color: var(--muted); text-decoration: line-through; font-weight: 600; }
.checklist p { font-size: .8rem; margin-top: 2px; }

/* إعدادات المنصة (الأدمن) */
.field input[type="color"] { width: 72px; height: 44px; padding: 4px; cursor: pointer; }
.preview-brand { max-width: 160px; max-height: 80px; object-fit: contain; background: #f9fafb; border: 1px solid var(--line); padding: 6px; }

/* شكل المنيو (لوحة التاجر) */
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice input { accent-color: var(--brand); }
.font-cairo { font-family: 'Cairo', sans-serif; }
.font-tajawal { font-family: 'Tajawal', sans-serif; }
.font-almarai { font-family: 'Almarai', sans-serif; }
.font-plex { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.font-changa { font-family: 'Changa', sans-serif; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.reset-form { margin: 16px 0 32px; text-align: center; }

.menu-preview { --bg: #f3f4f6; --surface: #fff; --surface-2: #f9fafb; --chip: #f3f4f6; --ink: #1f2937; --muted: #6b7280; --line: #e5e7eb; --brand: #b45309; --brand-soft: #fffbeb; --thumb: #fef3c7; --price: #92400e; --r-lg: 16px; --r-md: 12px; --r-sm: 9px; --font: 'Cairo';
  padding: 12px; border-radius: 16px; background: var(--bg); color: var(--ink); font-family: var(--font), sans-serif; }
.pv-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.pv-tab { padding: 4px 12px; border-radius: 999px; background: var(--chip); color: var(--muted); font-size: .8rem; font-weight: 600; }
.pv-tab.is-active { background: var(--brand); color: #fff; }
.pv-list { display: grid; gap: 8px; }
.pv-card { display: flex; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.pv-thumb { flex: none; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--thumb); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.pv-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.pv-foot { display: flex; align-items: center; justify-content: space-between; }
.pv-price { font-weight: 800; color: var(--price); }
.pv-price small { font-weight: 400; font-size: .7rem; }
.pv-plus { width: 26px; height: 26px; border-radius: var(--r-sm); background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.menu-preview[data-layout="grid"] .pv-list { grid-template-columns: 1fr 1fr; }
.menu-preview[data-layout="grid"] .pv-card { flex-direction: column; }
.menu-preview[data-layout="grid"] .pv-thumb { width: 100%; }
.menu-preview[data-layout="compact"] .pv-thumb { display: none; }

/* =====================================================================
   الشيل: قايمة جانبية + شريط علوي + ويدجتس (على طريقة ووردبريس)
   ===================================================================== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- أيقونات مجسّمة: بلاطة متدرجة + لمعة + حافة سفلية + ظل ---------- */
.ico {
  --c1: color-mix(in srgb, var(--brand) 65%, #fff);
  --c2: var(--brand);
  --edge: var(--brand-dark);
  position: relative; flex: none; display: inline-grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 3px; border-radius: 12px; color: #fff;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .55),
    inset 0 -3px 5px rgba(0, 0, 0, .18),
    0 3px 0 var(--edge),
    0 9px 14px -5px color-mix(in srgb, var(--edge) 60%, transparent);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ico::after {
  content: ''; position: absolute; inset: 3px 3px 52% 3px; border-radius: 9px 9px 14px 14px / 9px 9px 7px 7px;
  background: linear-gradient(rgba(255, 255, 255, .38), rgba(255, 255, 255, 0)); pointer-events: none;
}
.ico .i { position: relative; z-index: 1; width: 52%; height: 52%; stroke-width: 2.3; filter: drop-shadow(0 1.5px 1px rgba(0, 0, 0, .35)); }
.ico-sm { width: 30px; height: 30px; border-radius: 9px; margin-bottom: 2px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 4px rgba(0, 0, 0, .18), 0 2px 0 var(--edge), 0 6px 9px -4px color-mix(in srgb, var(--edge) 60%, transparent); }
.ico-sm::after { border-radius: 7px 7px 10px 10px / 7px 7px 5px 5px; }
.ico-lg { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 4px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -4px 7px rgba(0, 0, 0, .18), 0 4px 0 var(--edge), 0 12px 18px -6px color-mix(in srgb, var(--edge) 60%, transparent); }
.ico-lg::after { inset: 4px 4px 52% 4px; border-radius: 12px 12px 18px 18px / 12px 12px 9px 9px; }
a:hover > .ico, button:hover > .ico, a:hover .ico, button:hover .ico { transform: translateY(-1px); }
a:active .ico, button:active .ico { transform: translateY(2px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), 0 1px 0 var(--edge); }

.ico-amber  { --c1: #fcd34d; --c2: #d97706; --edge: #92400e; }
.ico-blue   { --c1: #7db4ff; --c2: #2563eb; --edge: #1e3a8a; }
.ico-green  { --c1: #6ee7a0; --c2: #16a34a; --edge: #14532d; }
.ico-violet { --c1: #b9a3ff; --c2: #7c3aed; --edge: #4c1d95; }
.ico-rose   { --c1: #ff9bb0; --c2: #e11d48; --edge: #881337; }
.ico-teal   { --c1: #5eead4; --c2: #0d9488; --edge: #115e59; }
.ico-slate  { --c1: #a9b8cc; --c2: #52627a; --edge: #1e293b; }

/* ---------- الهيكل ---------- */
.has-shell { background: #edf0f5; }
.shell { display: flex; min-height: 100vh; }

.side {
  position: sticky; top: 0; flex: none; width: 252px; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; padding: 14px 12px;
  background: linear-gradient(180deg, #1a2438, #101827); color: #cbd5e1;
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; text-decoration: none; color: #fff; }
.side-logo { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; background: #fff; padding: 3px; }
.side-brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.side-brand-text strong { font-size: 1.05rem; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-brand-text small { color: #94a3b8; font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.side-nav { flex: 1; }
.side-group { margin: 14px 10px 6px; color: #7d8ba3; font-size: .74rem; font-weight: 700; }
.side-link {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 2px; padding: 7px 10px;
  border: 0; border-radius: 12px; background: none; color: #d6deeb; font-size: .92rem; font-weight: 600;
  text-decoration: none; text-align: start; cursor: pointer;
}
.side-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-link.is-active { background: var(--brand); color: #fff; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); }
.side-link:focus-visible, .bar-burger:focus-visible, .bell:focus-visible, .quick:focus-visible, .stat-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.side-link:focus-visible { outline-color: #fff; }
.count-pill { margin-inline-start: auto; min-width: 22px; padding: 0 7px; border-radius: 99px; background: #ef4444; color: #fff; font-size: .72rem; font-weight: 800; line-height: 22px; text-align: center; }
.side-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .09); }
.side-foot form { margin: 0; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 24px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.bar-title { margin: 0; font-size: 1.1rem; font-weight: 800; }
.bar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.bar-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.4rem; cursor: pointer; align-items: center; justify-content: center; }
.bar-user { display: flex; align-items: center; gap: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4), 0 2px 0 var(--brand-dark); }
.bar-user-text { display: flex; flex-direction: column; line-height: 1.25; }
.bar-user-text strong { font-size: .85rem; }
.bar-user-text small { color: var(--muted); font-size: .72rem; }

.content { padding: 24px; }
.shell .topbar { display: none; }
.shell .page { max-width: 1100px; margin: 0 auto; padding: 0; }
.shell .page h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }

/* ---------- كروت وأزرار بعمق خفيف ---------- */
.panel { border: 0; border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 22px -12px rgba(16, 24, 40, .16); }
.panel h2 { font-size: 1.02rem; font-weight: 800; }
.btn { box-shadow: 0 3px 0 var(--brand-dark), 0 8px 14px -8px rgba(0, 0, 0, .4); transition: transform .1s ease, box-shadow .1s ease; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--brand-dark); }
.btn-danger { box-shadow: 0 3px 0 #7f1d1d, 0 8px 14px -8px rgba(0, 0, 0, .4); }
.shell .btn { width: auto; padding-inline: 22px; }
.btn-sm { box-shadow: 0 2px 0 var(--line); }
.btn-sm:hover { border-color: #cbd5e1; }

/* ---------- الجرس والإشعار ---------- */
#orders-live { display: flex; align-items: center; gap: 8px; }
.bell { display: flex; align-items: center; gap: 8px; padding: 3px 14px 3px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 700; cursor: pointer; }
.bell-icon[hidden] { display: none; }
.bell.is-off { color: var(--muted); }
.bell.is-locked { border-color: #f59e0b; background: #fffbeb; color: #92400e; animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); } }
.bell-count { display: inline-flex; align-items: baseline; gap: 4px; padding: 5px 12px; border-radius: 999px; background: #fee2e2; color: #b91c1c; font-size: .78rem; font-weight: 700; text-decoration: none; }
.bell-count strong { font-size: 1rem; font-weight: 800; }

.toast { position: fixed; z-index: 60; top: 74px; inset-inline-end: 16px; width: min(380px, calc(100vw - 32px)); padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 2px 4px rgba(16, 24, 40, .08), 0 22px 44px -14px rgba(16, 24, 40, .45); animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.toast-title { display: block; padding: 12px 14px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 3px 0 var(--brand-dark); }
.toast-title:hover { background: var(--brand-dark); }
.toast-list { list-style: none; margin: 8px 0; padding: 0; }
.toast-list a { display: block; padding: 8px 4px; border-top: 1px solid var(--line); color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; }
.toast-list a:hover { background: #f8fafc; }
.toast-more { padding: 6px 4px; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }
.toast-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- الرئيسية: ويدجتس ---------- */
.welcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.welcome h1 { margin: 0 !important; }
.welcome p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.stat-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 22px -12px rgba(16, 24, 40, .16); }
a.stat-card:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 14px 26px -12px rgba(16, 24, 40, .28); }
.stat-card-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.stat-card .stat-value { font-size: 1.6rem; color: var(--ink); }
.stat-card .stat-label { font-size: .78rem; }

.dash-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; align-items: start; margin-bottom: 14px; }
.dash-col > .panel:last-child { margin-bottom: 0; }
.widget-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.widget-head h2 { margin: 0; }
.link-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px dashed #cbd5e1; }
.link-box a { flex: 1; min-width: 0; }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.quick { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 22px -12px rgba(16, 24, 40, .16); transition: box-shadow .15s ease; }
.quick:hover { box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 16px 28px -12px rgba(16, 24, 40, .3); }
.quick strong { font-size: .98rem; font-weight: 800; }
.quick small { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.section-title { margin: 22px 0 10px; font-size: 1rem; font-weight: 800; }

/* ---------- موبايل / تابلت ---------- */
.side-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(15, 23, 42, .5); }
@media (max-width: 1000px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .side { position: fixed; z-index: 50; inset-block: 0; inset-inline-start: 0; transform: translateX(100%); transition: transform .22s ease; box-shadow: none; }
  .side.is-open { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .45); }
  .bar { padding-inline: 14px; }
  .bar-burger { display: inline-flex; }
  .content { padding: 16px 14px; }
  body.side-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .bar-user-text { display: none; }
  .bell:not(.is-locked) .bell-label { display: none; }
  .bell:not(.is-locked) { padding-inline-end: 4px; }
  .bell-count span { display: none; }
  .bar-title { font-size: 1rem; }
}
@media (max-width: 480px) {
  .stat-cards { gap: 10px; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .bell.is-locked, .toast { animation: none; }
  .side, .ico, .btn { transition: none; }
}

/* ---------- جداول وفلاتر (العملاء) ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { padding: 8px 10px; text-align: start; color: var(--muted); font-size: .75rem; font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.toolbar form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.toolbar input[type="search"], .toolbar select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .85rem; }
.toolbar .spacer { margin-inline-start: auto; }
.toolbar .btn-sm { padding: 8px 14px; }
.badge-discount { background: #ede9fe; color: #5b21b6; }
.stat-cards.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .stat-cards.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; }

/* تعديل أصناف الطلب (استبدال/حذف) */
.item-row { border-bottom: 0; padding-bottom: 2px; }
.subst-note { display: block; color: #5b21b6; font-weight: 600; }
.item-edit { margin: 0 0 10px; padding: 8px 12px; border: 1px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; }
.item-edit summary { cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--brand-dark); }
.item-edit[open] summary { margin-bottom: 8px; }
.item-edit form { margin-bottom: 10px; }

/* ===== صندوق الوارد (شكل محادثات واتساب) ===== */
.inbox { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 0; min-height: calc(100vh - 140px); background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.inbox-list { display: flex; flex-direction: column; border-inline-end: 1px solid var(--line); background: #fff; min-width: 0; }
.inbox-search { padding: 12px; border-bottom: 1px solid var(--line); }
.inbox-search input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #f9fafb; font: inherit; font-size: .85rem; }
.inbox-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.threads { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.thread { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid #f3f4f6; color: var(--ink); text-decoration: none; }
.thread:hover { background: #f9fafb; }
.thread.is-open { background: #ecfdf5; }
.thread.is-unread strong { font-weight: 800; }
.thread-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.thread-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.thread-top time { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.thread.is-unread .thread-top time { color: #16a34a; font-weight: 700; }
.thread-sub { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: .8rem; color: var(--muted); }
.thread-preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.branch-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.unread-dot { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; flex: none; }
.inbox-empty { padding: 24px 16px; text-align: center; }
.inbox .avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; font-weight: 800; background: #6b7280; }
.av-0 { background: #d97706 !important; } .av-1 { background: #2563eb !important; } .av-2 { background: #16a34a !important; }
.av-3 { background: #7c3aed !important; } .av-4 { background: #e11d48 !important; } .av-5 { background: #0d9488 !important; }

.inbox-chat { display: flex; flex-direction: column; min-width: 0; background: #efeae2; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); padding: 32px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f0f2f5; border-bottom: 1px solid var(--line); }
.chat-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-who small { color: var(--muted); }
.chat-back { display: none; font-size: 1.3rem; text-decoration: none; color: var(--ink); padding: 0 6px; }
.chat-body { flex: 1; padding: 16px; overflow-y: auto; }
.chat-day { width: fit-content; margin: 0 auto 12px; padding: 3px 12px; border-radius: 8px; background: #fff; font-size: .72rem; color: var(--muted); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble { max-width: min(520px, 92%); padding: 10px 12px 6px; background: #fff; border-radius: 4px 14px 14px 14px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.bubble-title { margin: 0 0 6px; font-weight: 800; }
.bubble-items { list-style: none; margin: 0 0 6px; padding: 0; }
.bubble-items li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed #e5e7eb; font-size: .9rem; }
.bubble-total { margin: 6px 0 2px; font-weight: 800; color: #166534; }
.bubble-line { margin: 2px 0; font-size: .85rem; color: #374151; }
.bubble-time { display: block; margin-top: 4px; text-align: end; font-size: .7rem; color: var(--muted); }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; background: #f0f2f5; border-top: 1px solid var(--line); }
.chat-actions form { margin: 0; }
.wa-btn { background: #16a34a; color: #fff; }
.btn-ok { background: #2563eb; color: #fff; }
.inbox-chat .flash, .inbox-chat .alert { margin: 10px 14px 0; }

@media (max-width: 800px) {
  .inbox { grid-template-columns: 1fr; min-height: 0; }
  .inbox.has-chat .inbox-list { display: none; }
  .inbox:not(.has-chat) .inbox-chat { display: none; }
  .chat-back { display: inline-block; }
  .chat-body { min-height: 50vh; }
}

/* ===== الرد من صندوق الوارد ===== */
.bubble-out { margin-inline-start: auto; background: #d9fdd3; border-radius: 14px 4px 14px 14px; margin-top: 8px; }
.chat-body .bubble + .bubble { margin-top: 8px; }
.chat-compose { padding: 10px 14px; background: #f0f2f5; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.chat-compose textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; resize: vertical; background: #fff; }
.quick-replies { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 12px; border: 1px solid #86efac; border-radius: 999px; background: #f0fdf4; color: #166534; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.chip:hover { background: #dcfce7; }
.compose-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.compose-hint { margin: 0; font-size: .75rem; }
.reply-card textarea { width: 100%; }

/* ---------- تأكيد جماعي وتنبيه الطلبات المتأخرة ---------- */
.bulk-confirm { margin: 0 0 10px; }
.bulk-btn { width: 100%; background: var(--brand); color: #fff; border: 0; border-radius: 12px; padding: 10px 12px; font-weight: 800; cursor: pointer; }
.late-banner { display: block; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; font-size: .9rem; font-weight: 700; text-decoration: none; }
.late-banner[hidden] { display: none; }
.late-tag { flex: none; padding: 1px 8px; border-radius: 999px; background: #dc2626; color: #fff; font-size: .72rem; font-weight: 800; }
.count-pill.count-late { background: #dc2626; }

/* صور الصنف المتعددة وأوزان البيع */
.img-item { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 10px 10px; }
.img-item .preview { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.weight-grid { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
[data-weight-only][hidden] { display: none !important; }

/* ---- شريط الإعلانات المتحرك (من الأدمن) ---- */
.announce { display: grid; gap: 1px; }
.announce-item { overflow: hidden; white-space: nowrap; padding: 9px 0; font-weight: 700; font-size: .92rem; }
.announce-track { display: inline-block; padding-inline-start: 100%; animation: announce-scroll 22s linear infinite; }
.announce-item:hover .announce-track { animation-play-state: paused; }
.announce-info { background: #dbeafe; color: #1e3a8a; }
.announce-success { background: #dcfce7; color: #14532d; }
.announce-warning { background: #fef3c7; color: #78350f; }
.announce-danger { background: #fee2e2; color: #7f1d1d; }
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .announce-item { white-space: normal; padding: 9px 14px; }
  .announce-track { animation: none; padding-inline-start: 0; }
}

/* ---- رسائل الموقع في لوحة الأدمن ---- */
.msg { padding: 12px 0; border-bottom: 1px solid var(--line); }
.msg:last-child { border-bottom: 0; }
.msg.is-unread { border-inline-start: 4px solid var(--brand); padding-inline-start: 10px; }
.msg-head { display: flex; justify-content: space-between; gap: 8px; }
.msg-body { margin: 6px 0; white-space: pre-line; overflow-wrap: anywhere; }
.msg-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 8px; }
.msg-actions { display: flex; gap: 8px; }

/* ---- QR كود المنيو ---- */
.qr-page { max-width: 560px; }
.qr-sheet { text-align: center; padding: 24px; }
.qr-title { margin: 0 0 4px; font-size: 1.5rem; }
.qr-sub { margin: 0 0 14px; color: var(--muted); font-weight: 700; }
.qr-box { width: min(100%, 340px); margin: 0 auto; }
.qr-svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.qr-link { margin: 14px 0 0; font-weight: 700; word-break: break-all; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.shell .qr-actions .btn { width: auto; }
@media print {
  body.has-shell .side, body.has-shell .side-scrim, body.has-shell .bar, .no-print { display: none !important; }
  body.has-shell .shell, body.has-shell .main, body.has-shell .content { display: block; margin: 0; padding: 0; }
  .qr-sheet { border: 0; box-shadow: none; margin: 0 auto; padding-top: 24mm; }
  .qr-box { width: 120mm; }
  .qr-title { font-size: 28pt; }
  .qr-sub { font-size: 16pt; color: #000; }
  .qr-link { font-size: 12pt; }
}

/* ---- إحصائيات الأدمن ---- */
.week-row { display: grid; grid-template-columns: 110px 1fr 36px; align-items: center; gap: 10px; }
.week-row .progress { margin: 6px 0; }
.week-label { font-size: .85rem; color: var(--muted); }
.week-count { text-align: end; }
.stat-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .stat-cards.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .week-row { grid-template-columns: 90px 1fr 30px; } }

/* زرار تثبيت التطبيق (PWA): بيظهر بس لما المتصفح يسمح بالتثبيت */
.install-app{position:fixed;inset-inline:16px;bottom:16px;z-index:60;margin-inline:auto;max-width:320px;padding:12px 18px;border:0;border-radius:14px;background:#fb0079;color:#fff;font:inherit;font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.25);cursor:pointer}
.install-app[hidden]{display:none}

/* زرار على شكل لينك (واتساب / تحميل التطبيق): نفس شكل .btn بمسافة سليمة */
.panel a.btn, a.btn { display: inline-block; box-sizing: border-box; text-align: center; text-decoration: none; margin-top: 14px; color: #fff; font-weight: 800; word-break: normal; }
.panel form + p { margin-top: 18px; }
.panel p + p { margin-top: 8px; }

/* زرار الخروج الثابت في الشريط العلوي + ارتفاع القايمة الجانبية على الموبايل والتابلت */
.bar-logout-form { margin: 0; }
.bar-logout { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: .8rem; cursor: pointer; }
.bar-logout:hover { border-color: #fecaca; color: var(--red); }
.bar-logout:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 480px) { .bar-logout-text { display: none; } }
.side { height: 100vh; height: 100dvh; padding-bottom: max(14px, env(safe-area-inset-bottom)); }

/* معاينة تصميم التورتة في تفاصيل الطلب */
.cake-design { display: block; max-width: 220px; height: auto; border-radius: 12px; margin-bottom: 8px; }

/* زر تبديل اللغة */
.lang-switch { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid rgba(128, 128, 128, .35); border-radius: 17px; font-size: .8rem; font-weight: 700; text-decoration: none; color: inherit; background: transparent; white-space: nowrap; }
.lang-switch:hover { background: rgba(128, 128, 128, .12); }
.lang-switch:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* معاينة تخطيط «صفوف بأسهم»: صف أفقي بكروت عمودية */
.menu-preview[data-layout="slider"] .pv-list { display: flex; overflow: hidden; }
.menu-preview[data-layout="slider"] .pv-card { flex: 0 0 62%; flex-direction: column; }
.menu-preview[data-layout="slider"] .pv-thumb { width: 100%; }

/* ترجمة تلقائية: الخانات المقترحة (لسه متحفظتش) */
.tr-suggested { background: #fff8e1; border-color: #e0b100; }

/* بعد حفظ صنف بنرجع لقسمه: بنقف عنده ونميّزه لحظياً */
[id^="category-"] { scroll-margin-top: 84px; }
.panel:target { animation: panel-target 2.4s ease-out; }
@keyframes panel-target { from { box-shadow: 0 0 0 3px var(--brand); } to { box-shadow: 0 0 0 3px transparent; } }
@media (prefers-reduced-motion: reduce) { .panel:target { animation: none; outline: 2px solid var(--brand); } }

/* ترتيب الأصناف بالسحب (ضغط مطوّل ثم سحب) */
[data-product] { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.row.is-dragging { background: #fff7ed; border-radius: 12px; box-shadow: 0 10px 24px -10px rgba(16, 24, 40, .35); position: relative; z-index: 5; transform: scale(1.015); transition: box-shadow .15s ease; }
.row.is-pressing { background: #fffbeb; }
.reorder-toast { position: fixed; inset-inline: 16px; bottom: 18px; margin-inline: auto; max-width: 360px; background: #1f2937; color: #fff; border-radius: 12px; padding: 10px 14px; text-align: center; font-weight: 700; z-index: 50; }
.reorder-toast.is-error { background: #b91c1c; }
body.is-reordering { cursor: grabbing; }

/* ---------- الشريط العلوي على الموبايل: بيلتف في صفين وما يوسّعش الصفحة ---------- */
.shell { max-width: 100vw; overflow-x: clip; }
.bell { white-space: nowrap; }
.bar-end, #orders-live { min-width: 0; flex-wrap: wrap; }
#push-toggle { max-width: 100%; }
#push-toggle [data-push-note] { display: block; }
@media (max-width: 760px) {
  .bar { position: static; flex-wrap: wrap; row-gap: 8px; min-height: 0; padding-block: 8px; }
  .bar-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bar-end { flex: 1 1 100%; margin-inline-start: 0; gap: 8px; justify-content: space-between; }
  #orders-live { flex: 1 1 auto; gap: 6px; }
  .bell, .bell.is-locked { max-width: 100%; white-space: normal; padding: 4px 10px; font-size: .74rem; line-height: 1.35; text-align: start; }
  .announce-item { font-size: .85rem; }
  .content { overflow-x: clip; }
  .page, .shell .page { max-width: 100%; }
}

/* أشكال التورتة الجاهزة في لوحة التاجر */
.cake-style-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.cake-style-row .preview { width: 110px; height: 110px; max-width: none; max-height: none; object-fit: cover; margin: 0; flex: none; }
.cake-style-row form:first-of-type { flex: 1 1 260px; min-width: 0; }
.cake-style-add { padding-top: 12px; border-top: 1px dashed var(--line); }

/* أحجام/أنواع الصنف داخل فورم الصنف */
.sizes-box { margin: 14px 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md, 12px); }
.sizes-box legend { padding: 0 8px; font-weight: 700; }
.size-row { display: grid; grid-template-columns: 1fr 120px; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); }
.size-row input[type="file"] { grid-column: 1 / -1; font-size: .85rem; }
.size-row .preview { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }

/* بحث الأصناف في لوحة التاجر */
.product-search { position: sticky; top: 0; z-index: 5; padding: 8px 0; background: var(--bg, #fff); }
.product-search input { width: 100%; padding: 12px 14px; border: 1px solid var(--line, #ddd); border-radius: 12px; font: inherit; }
.row[hidden], .panel[hidden] { display: none !important; }

/* زرار الصوت بيظهر بس لما المتصفح يطلب لمسة لتفعيل الصوت */
.bell[hidden] { display: none; }

/* تبويبات المنتجات + صفوف الاختيارات السريعة */
.subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.subtabs a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700; text-decoration: none; }
.subtabs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.quick-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.quick-row input[type="text"] { flex: 1 1 10rem; min-width: 0; }
.quick-row .quick-price { width: 7rem; }

.move-btns { display: flex; flex-direction: column; gap: 2px; flex: none; }
.move-btn { padding: 0 10px; line-height: 22px; min-width: 34px; }
.cat-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* نافذة فتح الوردية الإجبارية */
.shift-gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .65); }
.shift-gate[hidden] { display: none; }
.shift-gate-box { max-width: 380px; width: 100%; padding: 24px 20px; border-radius: 14px; background: var(--surface, #fff); color: var(--ink, #111); text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.shift-gate-box h2 { margin: 0 0 8px; font-size: 20px; }
.shift-gate-box p { margin: 0 0 16px; line-height: 1.7; }

/* نقل الأصناف بين الأقسام */
.bulk-check { width: 22px; height: 22px; flex: none; accent-color: var(--brand, #be185d); }
