/* =========================================================
   أمواج السحاب — منيو الكافي
   التخطيط: غلاف كحلي عميق فيه الفنجان واسم الكافي بخط الرقعة،
   شريط أقسام كحلي ثابت يكمل الغلاف، ثم المنيو كبطاقات صور
   (عمودين في الجوال، أربعة في الكمبيوتر) على خلفية زرقاء فاتحة
   بلون رغوة البحر، وفي الآخر غرفة VIP والعنوان وتذييل كحلي.
   ========================================================= */

@font-face { font-family: "Ruqaa"; font-weight: 700; font-display: swap; src: url("fonts/aref-ruqaa-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Ruqaa"; font-weight: 700; font-display: swap; src: url("fonts/aref-ruqaa-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

:root {
  /* الألوان */
  --sea: #eaf0f3;          /* رغوة البحر: خلفية المنيو */
  --card: #ffffff;
  --ink: #10263d;          /* كحلي عميق */
  --ink-2: #5b6d7e;
  --line: rgba(16, 38, 61, .1);
  --night: #10263d;        /* الغلاف والشريط والتذييل */
  --night-2: #183450;
  --foam: #f3ede2;         /* نص على الكحلي */
  --foam-2: rgba(243, 237, 226, .66);
  --gold: #c9a35f;
  --gold-text: #8c672b;    /* ذهبي مقروء على الفاتح */
  --thumb: #dde5ea;
  --scrim: rgba(6, 16, 28, .6);
  --shadow: 0 1px 2px rgba(16, 38, 61, .06), 0 8px 24px rgba(16, 38, 61, .07);
  --lift: 0 18px 50px rgba(16, 38, 61, .2);
  --vip: #10263d;

  /* الخطوط */
  --f-name: "Ruqaa", "Aref Ruqaa", "Plex Arabic", serif;
  --f-ar: "Plex Arabic", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-lat: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --bar-h: 54px;
  --r: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sea: #0c1a2a;
    --card: #13253a;
    --ink: #f0eadf;
    --ink-2: #98a9b9;
    --line: rgba(240, 234, 223, .1);
    --night: #081422;
    --night-2: #10233a;
    --gold-text: #d6b273;
    --thumb: #182c43;
    --scrim: rgba(0, 0, 0, .66);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --lift: 0 18px 50px rgba(0, 0, 0, .55);
  --vip: #10243a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sea: #0c1a2a;
  --card: #13253a;
  --ink: #f0eadf;
  --ink-2: #98a9b9;
  --line: rgba(240, 234, 223, .1);
  --night: #081422;
  --night-2: #10233a;
  --gold-text: #d6b273;
  --thumb: #182c43;
  --scrim: rgba(0, 0, 0, .66);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --lift: 0 18px 50px rgba(0, 0, 0, .55);
  --vip: #10243a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sea);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-ar);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* شريط بلون الغلاف تحت حافة التلفون */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 30;
  height: env(safe-area-inset-top, 0px); background: var(--night);
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ================= الغلاف ================= */
.cover {
  background: var(--night); color: var(--foam);
  padding: 14px var(--gutter-r) 40px var(--gutter-l);
  display: grid; justify-items: center; text-align: center;
}
.tools {
  justify-self: stretch; max-width: 1120px; width: 100%; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.tool {
  height: 36px; min-width: 36px; padding: 0 13px;
  border: 1px solid rgba(243, 237, 226, .22); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--foam);
  transition: border-color .2s, background .2s;
}
.tool:hover { border-color: var(--gold); }
.tool svg { width: 17px; height: 17px; }
.tool .i-sun { display: none; }
:root[data-theme="dark"] .tool .i-sun { display: block; }
:root[data-theme="dark"] .tool .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tool .i-sun { display: block; }
  :root:not([data-theme="light"]) .tool .i-moon { display: none; }
}
#langBtn { font-family: var(--f-lat); font-size: 17px; font-weight: 600; letter-spacing: .05em; }
html[lang="en"] #langBtn { font-family: var(--f-ar); font-size: 14px; font-weight: 500; letter-spacing: 0; }

.crest { width: 112px; height: auto; margin-top: 10px; }
.wordmark {
  margin: 4px 0 0; font-family: var(--f-name); font-weight: 700;
  font-size: clamp(48px, 14vw, 74px); line-height: 1.45; letter-spacing: 0;
  color: var(--foam);
}
.latin {
  margin: 6px 0 0; font-family: var(--f-lat); font-weight: 600;
  font-size: 13px; letter-spacing: .5em; text-indent: .5em; color: var(--gold);
}
.cover-meta { margin: 22px 0 0; display: grid; gap: 4px; justify-items: center; }
.cover-tag { margin: 0; font-size: 15px; color: var(--foam); }
.cover-place { margin: 0; font-size: 13px; color: var(--foam-2); display: inline-flex; align-items: center; gap: 6px; }
.cover-place svg { width: 14px; height: 14px; flex: none; color: var(--gold); }

/* ================= شريط الأقسام ================= */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--night); color: var(--foam);
  box-shadow: 0 1px 0 rgba(201, 163, 95, .35);
}
.bar-in {
  display: flex; align-items: center; gap: 4px;
  max-width: 1120px; margin: 0 auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  height: var(--bar-h);
}
.bar-mark { width: 0; height: auto; flex: none; opacity: 0; transition: width .25s, opacity .25s, margin .25s; }
.bar.stuck .bar-mark { width: 26px; margin-inline-end: 4px; opacity: 1; }
.tabs {
  flex: 1; min-width: 0; height: 100%;
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity; padding-inline: 8px;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
          mask-image: linear-gradient(to left, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: none; scroll-snap-align: center;
  display: flex; align-items: center; padding: 0 11px;
  font-size: 15px; color: var(--foam-2); text-decoration: none; white-space: nowrap;
  transition: color .2s;
}
.tab::after {
  content: ""; position: absolute; left: 50%; bottom: 9px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .25s;
}
.tab.on { color: var(--foam); }
.tab.on::after { transform: scale(1); }
.tab.vip-tab { font-family: var(--f-lat); font-size: 16px; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.search-btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--foam); }
.search-btn svg { width: 19px; height: 19px; }
.search-row { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter-r) 12px var(--gutter-l); }
.search-row input {
  width: 100%; height: 44px; padding: 0 16px;
  background: var(--night-2); color: var(--foam);
  border: 1px solid rgba(243, 237, 226, .16); border-radius: 999px;
  font-size: 16px; outline: none;
}
.search-row input::placeholder { color: var(--foam-2); }
.search-row input:focus { border-color: var(--gold); }

/* ================= المنيو ================= */
.menu {
  max-width: 1120px; margin: 0 auto;
  padding: 6px var(--gutter-r) 8px var(--gutter-l);
  display: grid; gap: 18px;
}
.sec { scroll-margin-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); }
.sec-head { display: grid; justify-items: center; text-align: center; padding: 34px 0 18px; }
.sec-head h2 {
  margin: 0; font-family: var(--f-name); font-weight: 700;
  font-size: 34px; line-height: 1.3; text-wrap: balance;
}
.sec-sub {
  margin-top: 2px; font-family: var(--f-lat); font-size: 13px; font-weight: 600;
  letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: var(--gold-text);
}
.sec-head svg { width: 64px; height: 10px; margin-top: 10px; color: var(--gold); }
html[lang="en"] .sec-head h2 { font-family: var(--f-lat); font-size: 36px; font-weight: 600; }
html[lang="en"] .sec-sub { font-family: var(--f-ar); text-transform: none; letter-spacing: 0; text-indent: 0; font-size: 14px; font-weight: 500; }

.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.item {
  background: var(--card); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow);
  display: grid; grid-template-rows: auto 1fr;
}
.media { position: relative; }
.thumb {
  display: block; width: 100%; aspect-ratio: 1; max-width: 100%;
  background: var(--thumb); overflow: hidden; cursor: zoom-in;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.thumb:hover img { transform: scale(1.04); }
.thumb.empty { cursor: default; display: grid; place-items: center; }
.thumb.empty img { display: none; }
.thumb.empty::after { content: ""; width: 38%; aspect-ratio: 240 / 285; background: url("images/mark.png") center / contain no-repeat; opacity: .5; }
:root[data-theme="dark"] .thumb.empty::after { background-image: url("images/mark-dark.png"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .thumb.empty::after { background-image: url("images/mark-dark.png"); } }

.ctl { position: absolute; bottom: 8px; inset-inline-end: 8px; }
.add, .step button {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--night); color: var(--foam);
  box-shadow: 0 4px 14px rgba(6, 16, 28, .28);
  transition: transform .15s;
}
.add:active, .step button:active { transform: scale(.92); }
.add svg, .step svg { width: 16px; height: 16px; }
.step {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  background: var(--card); border-radius: 999px; box-shadow: 0 4px 14px rgba(6, 16, 28, .22);
}
.step button { width: 30px; height: 30px; box-shadow: none; }
.step .minus { background: transparent; color: var(--ink); }
.step output { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.sold {
  position: absolute; inset: auto 8px 8px; padding: 4px 10px; border-radius: 999px;
  background: var(--card); color: var(--gold-text); font-size: 12px; text-align: center;
}
.item.is-sold .thumb img { filter: grayscale(.85); opacity: .6; }

.i-body { padding: 10px 12px 12px; display: grid; align-content: space-between; gap: 6px; min-width: 0; }
.i-name { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.45; }
.i-alt { margin: 0; font-family: var(--f-lat); font-style: italic; font-size: 15px; color: var(--ink-2); line-height: 1.2; }
html[lang="en"] .i-name { font-family: var(--f-lat); font-size: 19px; font-weight: 600; line-height: 1.2; }
html[lang="en"] .i-alt { font-family: var(--f-ar); font-style: normal; font-size: 12px; }
.i-desc { margin: 2px 0 0; font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.price { white-space: nowrap; line-height: 1; color: var(--ink); }
.price b { font-family: var(--f-lat); font-weight: 600; font-size: 23px; font-variant-numeric: lining-nums tabular-nums; }
.price small { font-size: 12px; color: var(--ink-2); margin-inline-start: 4px; }
.i-body .price { margin-top: 4px; }

.no-results { text-align: center; color: var(--ink-2); padding: 48px 16px; margin: 0; }

/* ================= غرفة VIP ================= */
.vip {
  max-width: 1120px; margin: 40px auto 0;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  scroll-margin-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 12px);
}
.vip-card {
  position: relative; background: var(--vip); color: var(--foam);
  border-radius: 20px; padding: 40px 24px 32px;
  display: grid; gap: 24px; justify-items: center; text-align: center;
}
.vip-card::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201, 163, 95, .45); border-radius: 14px; pointer-events: none;
}
.vip-eyebrow { margin: 0; font-family: var(--f-lat); font-weight: 600; letter-spacing: .5em; text-indent: .5em; font-size: 14px; color: var(--gold); }
.vip h2 { margin: 4px 0 10px; font-family: var(--f-name); font-weight: 700; font-size: 40px; line-height: 1.25; }
html[lang="en"] .vip h2 { font-family: var(--f-lat); font-weight: 600; }
.vip p.body { margin: 0 auto; max-width: 30em; color: var(--foam-2); font-size: 15px; }
.vip-price { display: grid; gap: 4px; justify-items: center; }
.vip-price .lbl { font-size: 13px; color: var(--foam-2); }
.vip-price .num { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.vip-price .num b { font-family: var(--f-lat); font-weight: 500; font-size: 68px; color: var(--gold); font-variant-numeric: lining-nums; }
.vip-price .num small { font-size: 16px; color: var(--foam-2); }
.vip-price .note { font-size: 13px; color: var(--foam-2); }
.vip-close { margin: 0; font-size: 15px; color: var(--foam); }
html[lang="en"] .vip-close { font-family: var(--f-lat); font-style: italic; font-size: 20px; }
.vip-cta {
  height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--gold); color: #10263d; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.vip-cta svg { width: 18px; height: 18px; }
.vip-hint { margin: 0; font-size: 14px; color: var(--foam-2); }

/* ================= زورونا ================= */
.visit {
  max-width: 1120px; margin: 0 auto;
  padding: 44px var(--gutter-r) 48px var(--gutter-l);
  display: grid; gap: 14px; justify-items: center;
}
.visit h2 { margin: 0; font-family: var(--f-name); font-weight: 700; font-size: 32px; }
html[lang="en"] .visit h2 { font-family: var(--f-lat); font-weight: 600; }
.facts { width: 100%; max-width: 560px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 18px; }
.fact { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact svg { width: 20px; height: 20px; color: var(--gold-text); }
.fact .k { display: block; font-size: 12px; color: var(--ink-2); }
.fact .v { display: block; font-size: 16px; overflow-wrap: anywhere; }
.fact .act {
  height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.fact .act:hover { border-color: var(--gold); }

/* ================= التذييل ================= */
.foot { background: var(--night); color: var(--foam-2); }
.foot-in {
  max-width: 1120px; margin: 0 auto;
  padding: 40px var(--gutter-r) calc(36px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px;
}
.foot img { width: 46px; height: auto; }
.foot .f-name { font-family: var(--f-name); font-weight: 700; font-size: 26px; color: var(--foam); line-height: 1.4; }
.foot p { margin: 0; }
.foot a { color: inherit; text-decoration: none; }
.foot .credit { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(243, 237, 226, .14); }
.foot .credit b { color: var(--gold); font-weight: 600; }
body.has-cart .foot-in { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }

/* ================= شريط الطلب ================= */
.cart-wrap {
  position: fixed; inset: auto 0 0; z-index: 25;
  padding: 0 var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  pointer-events: none;
}
.cart-bar {
  pointer-events: auto;
  width: 100%; max-width: 560px; margin: 0 auto; height: 58px;
  display: flex; align-items: center; gap: 12px; padding: 0 18px;
  background: var(--gold); color: #10263d; border-radius: 999px;
  box-shadow: var(--lift);
  animation: rise .35s cubic-bezier(.2, .8, .2, 1);
}
.cart-bar .n {
  min-width: 28px; height: 28px; border-radius: 50%; padding: 0 6px;
  display: grid; place-items: center; background: #10263d; color: #f3ede2;
  font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums;
}
.cart-bar .lbl { flex: 1; text-align: start; font-weight: 600; }
.cart-bar .sum b { font-family: var(--f-lat); font-size: 23px; font-weight: 600; font-variant-numeric: lining-nums; }
.cart-bar .sum small { font-size: 12px; margin-inline-start: 4px; }
.cart-bar.bump { animation: bump .3s ease; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@keyframes bump { 50% { transform: scale(1.025); } }

/* ================= نافذة الطلب ================= */
.scrim { position: fixed; inset: 0; z-index: 40; background: var(--scrim); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; z-index: 41; inset: auto 0 0; margin: 0 auto; max-width: 560px;
  max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--sea); border-radius: 22px 22px 0 0;
  padding: 10px var(--gutter-r) calc(20px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  display: grid; gap: 16px;
  animation: sheet .35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes sheet { from { transform: translateY(100%); } }
.grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line); justify-self: center; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h3 { margin: 0; font-family: var(--f-name); font-weight: 700; font-size: 26px; font-variant-numeric: lining-nums; }
html[lang="en"] .sheet-head h3 { font-family: var(--f-lat); font-weight: 600; }
.x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--card); }
.x svg { width: 16px; height: 16px; }
.lines { list-style: none; margin: 0; padding: 4px 16px; background: var(--card); border-radius: var(--r); }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; }
.line + .line { border-top: 1px solid var(--line); }
.line .nm { font-weight: 500; }
.line .step { box-shadow: none; background: var(--sea); }
.line .lt { min-width: 52px; text-align: end; font-family: var(--f-lat); font-size: 20px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.total b { font-family: var(--f-lat); font-size: 32px; font-weight: 600; font-variant-numeric: lining-nums; }
.total small { font-size: 13px; color: var(--ink-2); margin-inline-start: 4px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 12px 16px; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); outline: none; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.warn { margin: 0; font-size: 14px; color: #b4462f; }
.primary {
  height: 54px; border-radius: 999px; background: var(--night); color: var(--foam);
  font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.primary svg { width: 20px; height: 20px; }
.waiter { margin: 0; padding: 14px 16px; border: 1px dashed var(--gold); border-radius: var(--r); font-size: 15px; text-align: center; }
.ghost { height: 40px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ================= تكبير الصورة ================= */
.zoom {
  position: fixed; inset: 0; z-index: 50; background: var(--scrim);
  display: grid; place-items: center; padding: 24px var(--gutter-r) 24px var(--gutter-l);
  animation: fade .2s; cursor: zoom-out;
}
.zoom figure { margin: 0; width: min(520px, 100%); background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--lift); }
.zoom img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.zoom figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; }
.zoom figcaption span { font-weight: 500; font-size: 17px; }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--night); color: var(--foam); padding: 10px 18px; border-radius: 999px; font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
