/* شاورماجي — direction A "أسود": black, paper-white type, one flat gold. No gradients, no ornaments. */
:root {
  --ink: #0a0a0a;
  --ink-2: #121110;
  --paper: #f3eee4;
  --gold: #c9a35e;
  --gold-hover: #dbb873;
  --dim: rgba(243, 238, 228, 0.55);
  --faint: rgba(243, 238, 228, 0.32);
  --line: rgba(243, 238, 228, 0.13);
  --pad: clamp(20px, 4.4vw, 72px);
  --nav-h: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { background: var(--ink); color: var(--paper); font-family: 'Alexandria', system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
svg use { pointer-events: none; }
.gold { color: var(--gold); }
.phone-num { direction: ltr; unicode-bidi: isolate; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 4px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; transition: background 0.25s; }
.btn:hover { background: var(--gold-hover); }
.btn svg { width: 17px; height: 17px; }
.btn .phone-num { letter-spacing: 0.04em; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 4px; border: 1px solid var(--line); font-size: 14.5px; transition: border-color 0.25s; }
.btn-line:hover { border-color: var(--paper); }
/* names the basket uses */
.btn-gold { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 4px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 16px; transition: background 0.25s; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold svg { width: 18px; height: 18px; }
.btn-ghost { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--line); font-size: 14px; transition: border-color 0.25s; }
.btn-ghost:hover { border-color: var(--paper); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background 0.35s, border-color 0.35s, height 0.35s var(--ease); }
.nav.scrolled { height: 68px; background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.brand img { height: 48px; width: auto; transition: height 0.35s var(--ease); }
.nav.scrolled .brand img { height: 40px; }
.nav-links { display: flex; gap: 30px; margin-inline-start: 44px; font-size: 14px; color: var(--dim); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--paper); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 20px; }
.tel { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.tel small { font-size: 11px; color: var(--dim); }
.tel b { font-size: 16px; font-weight: 500; letter-spacing: 0.06em; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 720px; overflow: hidden; }
.mega { position: absolute; inset: 0 0 150px; z-index: 1; pointer-events: none; overflow: hidden; }
#mega, #megaGhost { position: absolute; inset: 0; translate: 0 0; transition: translate 0.5s var(--ease), opacity 0.35s ease; }
body:not(.ready) #mega, body:not(.ready) #megaGhost { translate: 0 8%; opacity: 0; }
/* English: the same word again in front of the skewer, hollow (outline only), so the letters the meat hides still read */
.mega-ghost { z-index: 3; }
.mega-ghost .mh { color: transparent; -webkit-text-stroke: max(1.2px, calc(var(--mf, 100px) * 0.012)) rgba(243, 238, 228, 0.9); }
/* one layer per word, laid out once: a switch is only opacity + transform (no text redrawn mid-spin) */
.mword { position: absolute; inset: 0; opacity: 0; transform: translateY(4%); transition: opacity 0.22s ease, transform 0.45s var(--ease); will-change: opacity, transform; }
.mword.on { opacity: 1; transform: none; transition-delay: 0.07s; }
.mword.gone { transform: translateY(-2%); }
.mh { position: absolute; top: 0; left: 0; font-weight: 900; font-size: var(--mf, 24vw); line-height: 1; color: var(--paper); white-space: nowrap; }
.mbar { position: absolute; display: block; background: var(--paper); }
.mh.one { left: 50%; top: var(--my, 50%); transform: translate(calc(-50% + var(--mdx, 0px)), calc(-50% + var(--mdy, 0px))) scaleX(var(--msx, 1)); }
.stage { position: absolute; inset: 0 0 150px; z-index: 2; }
.stage-canvas, .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-canvas { opacity: 0; transition: opacity 0.9s ease; }
.ready .stage-canvas { opacity: 1; }
.stage-canvas canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.stage-canvas.is-dragging canvas { cursor: grabbing; }
.stage-fallback { object-fit: contain; padding: 4% 0; opacity: 0; }
.no-webgl .stage-fallback { opacity: 1; }

.bar { position: absolute; inset: auto 0 0; z-index: 5; height: 150px; display: grid; grid-template-columns: minmax(0, 1.35fr) auto minmax(0, 1fr); align-items: center; gap: 36px; padding: 0 var(--pad); border-top: 1px solid var(--line); background: var(--ink); }
.label { font-size: 12px; color: var(--dim); margin-bottom: 10px; }
.sizes { display: flex; }
.size { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-inline-end: 24px; margin-inline-end: 24px; border-inline-end: 1px solid var(--line); text-align: start; }
.size:last-child { border: 0; margin: 0; padding: 0; }
.size-name { font-size: 12.5px; color: var(--dim); transition: color 0.2s; }
.size .price { font-size: 30px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; transition: color 0.2s; }
.size .plus { position: absolute; top: -2px; inset-inline-end: 6px; font-style: normal; font-size: 14px; color: var(--gold); opacity: 0; transition: opacity 0.2s; }
.size:last-child .plus { inset-inline-end: -16px; }
.size:hover .price, .size:hover .size-name { color: var(--gold); }
.size:hover .plus, .size.added .plus { opacity: 1; }
.tabs { display: flex; gap: 32px; }
.bar .tabs { position: relative; }
.bar .tabs::after { content: 'اسحب السيخ بإيدك ⟷'; position: absolute; top: calc(100% + 10px); inset-inline: 0; text-align: center; font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.tabs button { position: relative; padding: 10px 0; font-size: 19px; font-weight: 500; color: var(--dim); transition: color 0.25s; }
.tabs button::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.45s var(--ease); }
.tabs button:hover { color: var(--paper); }
.tabs button[aria-selected='true'] { color: var(--paper); }
.tabs button[aria-selected='true']::after { transform: scaleX(1); }
.tabs small { font-size: 11px; color: var(--gold); margin-inline-end: 6px; vertical-align: super; }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 20px; }
.tag { font-size: 12.5px; color: var(--dim); max-width: 22ch; line-height: 1.6; transition: opacity 0.3s; }
.tag.leave { opacity: 0; }

/* ---------- sections ---------- */
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 30px; padding: 0 var(--pad); }
.sec-num { grid-column: 1 / -1; font-size: 12.5px; color: var(--gold); }
.sec-head h2 { font-size: clamp(56px, 7.4vw, 124px); font-weight: 900; line-height: 1.1; }
.sec-head h2 .gold { display: inline-block; transition: opacity 0.35s, transform 0.5s var(--ease); }
.sec-head h2 .gold.leave { opacity: 0; transform: translateY(-12px); }
.tabs-sm { gap: 26px; padding-bottom: 10px; }
.tabs-sm button { font-size: 17px; }

/* shawarma table */
.shawarma { padding: 110px 0 110px; border-top: 1px solid var(--line); }
.sh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 56px var(--pad) 0; border-top: 1px solid var(--line); }
.sh-col { padding: 30px 0 0; }
.sh-col + .sh-col { padding-inline-start: 40px; margin-inline-start: 40px; border-inline-start: 1px solid var(--line); }
.sh-col h3 { font-size: 13px; font-weight: 500; color: var(--dim); margin-bottom: 8px; }
.addons { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13px; color: var(--dim); }
.addons b { color: var(--paper); font-weight: 500; }

/* rows (shared) */
.rows { list-style: none; }
.rows li { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.row .name { flex: 1; font-size: 18px; font-weight: 500; }
.row .name small { margin-inline-start: 8px; font-size: 12.5px; font-weight: 400; color: var(--dim); }
.row .price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.desc { margin: -8px 0 18px; font-size: 13.5px; color: var(--dim); line-height: 1.7; padding-inline-end: 50px; }
.add { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; border: 1px solid var(--line); font-size: 18px; line-height: 1; color: var(--paper); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.add:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.add.added { background: var(--gold); border-color: var(--gold); color: var(--ink); font-size: 0; }
.add.added::after { content: '\2713'; font-size: 14px; font-weight: 700; }
.price { transition: opacity 0.18s ease; }
.price.out { opacity: 0; }
.swap { transition: opacity 0.2s ease; }
.swap.leave { opacity: 0; }

/* menu */
.menu { padding: 110px 0 40px; border-top: 1px solid var(--line); }
.index { position: sticky; top: 67px; z-index: 40; display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; margin-top: 56px; padding: 0 var(--pad); background: var(--ink); border-block: 1px solid var(--line); }
.index::-webkit-scrollbar { display: none; }
.index a { position: relative; flex: none; padding: 18px 0; font-size: 14px; color: var(--dim); white-space: nowrap; transition: color 0.2s; }
.index a:hover { color: var(--paper); }
.index a::after { content: ''; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.index a.active { color: var(--paper); }
.index a.active::after { transform: scaleX(1); }

.cat { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr); gap: 80px; padding: 110px var(--pad); border-bottom: 1px solid var(--line); }
.cat:last-child { border-bottom: 0; }
.cat-side { position: sticky; top: 170px; align-self: start; }
.cat-num { font-size: 12.5px; color: var(--gold); }
.cat-side h3 { margin-top: 10px; font-size: clamp(54px, 6vw, 100px); font-weight: 900; line-height: 1.15; }
.cat-note { margin-top: 4px; font-size: 14px; color: var(--dim); }
.cat-photo { margin-top: 34px; width: min(100%, 460px); will-change: transform; }
.cat-photo { position: relative; }
.cat-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; filter: saturate(0.92) contrast(1.06) brightness(0.97) sepia(0.08); opacity: 0; transition: opacity 0.9s ease; }
/* one grade for every photo: warm, low-key, edges falling into the black page */
.cat-photo::after { content: ''; position: absolute; inset: 0; border-radius: 4px; pointer-events: none; background: radial-gradient(120% 95% at 50% 42%, rgba(10, 10, 10, 0) 60%, rgba(10, 10, 10, 0.42) 100%), linear-gradient(to top, rgba(10, 10, 10, 0.25), rgba(10, 10, 10, 0) 40%); box-shadow: inset 0 0 0 1px rgba(243, 238, 228, 0.06); }
.cat-photo img.loaded { opacity: 1; }
.cat .rows { border-top: 1px solid var(--line); }
.cat .rows.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 0; }
.cat .rows.two-col li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.cols-head { display: flex; justify-content: flex-end; gap: 0; padding: 0 0 10px; font-size: 12px; color: var(--dim); }
.cols-head span, .row .price.c2 { width: 72px; text-align: center; }
.add-price { padding: 6px 0; border-radius: 4px; border: 1px solid transparent; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.add-price:hover { border-color: var(--line); color: var(--gold); }
.add-price.added { background: var(--gold); color: var(--ink); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.rows.stagger li { opacity: 0; transition: opacity 0.5s ease; transition-delay: calc(var(--i, 0) * 30ms + 80ms); }
.rows.stagger.in li { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.footer { padding: 130px var(--pad) 50px; border-top: 1px solid var(--line); }
.foot-lead { margin-top: 26px; font-size: 18px; color: var(--dim); }
.huge-tel { display: block; width: fit-content; max-width: 100%; font-size: clamp(44px, 12.6vw, 230px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; transition: color 0.3s; }
.huge-tel:hover { color: var(--gold); }
.foot-more { display: flex; flex-wrap: wrap; gap: 18px 56px; margin-top: 30px; }
.foot-more:empty { display: none; }
.foot-more a { display: flex; flex-direction: column; gap: 4px; }
.foot-more small { font-size: 13px; color: var(--gold); }
.foot-more b { font-size: clamp(26px, 3.4vw, 52px); font-weight: 900; line-height: 1.05; letter-spacing: 0.01em; transition: color 0.3s; }
.foot-more a:hover b { color: var(--gold); }
.glyph-band { margin-top: 70px; padding: 18px 0; overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); font-family: 'Noto Sans Egyptian Hieroglyphs', serif; font-variant-emoji: text; font-size: 24px; letter-spacing: 0.7em; color: var(--faint); text-align: center; filter: grayscale(1); }
.foot-row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 30px; padding-top: 34px; }
.foot-row img { height: 56px; width: auto; }
.foot-tag { font-size: 14px; color: var(--dim); }
.foot-contact { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--dim); }
.foot-contact a:hover { color: var(--paper); }
.foot-copy { font-size: 12px; color: var(--faint); }

/* ---------- basket ---------- */
.fly-dot { position: fixed; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; z-index: 300; pointer-events: none; background: var(--gold); }
.basket { position: fixed; left: var(--pad); bottom: 28px; z-index: 80; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 8px 0 20px; border-radius: 4px; background: var(--gold); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); animation: basketIn 0.5s var(--ease); }
.basket[hidden] { display: none; }
@keyframes basketIn { from { transform: translateY(20px); opacity: 0; } }
.b-icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 4px; background: var(--ink); color: var(--gold); }
.b-icon svg { width: 21px; height: 21px; }
.b-count { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font-size: 11.5px; color: var(--ink); background: var(--paper); }
.b-text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.b-text small { font-size: 11px; font-weight: 500; opacity: 0.7; }
.b-text b { font-size: 18px; font-weight: 900; }
.b-go { font-size: 14px; font-weight: 700; padding: 0 8px; }

html.no-scroll { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity 0.4s; }
.sheet-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--ink-2); border-inline-start: 1px solid var(--line); transform: translateX(-104%); transition: transform 0.45s var(--ease); outline: none; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 30px 28px 20px; border-bottom: 1px solid var(--line); }
.sheet-kicker { font-size: 12px; color: var(--gold); }
.sheet-head h2 { font-size: 48px; font-weight: 900; line-height: 1; margin-top: 6px; }
.sheet-x { width: 40px; height: 40px; border-radius: 4px; font-size: 24px; color: var(--dim); border: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.sheet-x:hover { color: var(--paper); border-color: var(--faint); }
.sheet-list { list-style: none; flex: 1; overflow-y: auto; padding: 0 28px; }
.line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-name b { display: block; font-size: 15.5px; font-weight: 500; }
.line-name small { font-size: 12.5px; color: var(--dim); }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.qty button { width: 32px; height: 32px; font-size: 17px; line-height: 1; color: var(--paper); transition: color 0.2s; }
.qty button:hover { color: var(--gold); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }
.line-price { min-width: 3em; text-align: left; font-size: 18px; font-weight: 700; }
.sheet-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--dim); text-align: center; padding: 30px; }
.sheet-empty[hidden] { display: none; }
.sheet-empty svg { width: 46px; height: 46px; color: var(--gold); margin-bottom: 8px; }
.sheet-empty p { color: var(--paper); font-size: 16px; }
.sheet-empty b { color: var(--gold); }
.sheet-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.sheet-foot[hidden] { display: none; }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; }
.sheet-total span { font-size: 15px; }
.sheet-total small { font-size: 11.5px; color: var(--dim); margin-inline-start: 4px; }
.sheet-total b { font-size: 34px; font-weight: 900; }
.sheet-hint { font-size: 12.5px; color: var(--dim); }
.sheet-call .phone-num { letter-spacing: 0.04em; }
.sheet-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sheet-clear { margin-inline-start: auto; font-size: 13px; color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
.toast { position: fixed; left: 50%; top: 86px; z-index: 310; transform: translate(-50%, -16px); opacity: 0; pointer-events: none; padding: 11px 18px; border-radius: 4px; font-size: 14px; color: var(--ink); background: var(--paper); transition: opacity 0.3s, transform 0.4s var(--ease); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* mobile call bar */
.call-bar { position: fixed; inset: auto 14px max(14px, env(safe-area-inset-bottom)); z-index: 70; display: none; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 4px; font-weight: 700; font-size: 15px; color: var(--ink); background: var(--gold); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6); transform: translateY(160%); transition: transform 0.5s var(--ease); }
.call-bar svg { width: 18px; height: 18px; }
.call-bar b { font-weight: 900; letter-spacing: 0.04em; }
.call-bar.show { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto; height: auto; padding-block: 22px; row-gap: 18px; }
  .bar-end { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; }
  .tag { max-width: none; }
  .stage { bottom: 196px; } .mega { bottom: 196px; }
  .size { padding-inline-end: 18px; margin-inline-end: 18px; }
  .sh-col + .sh-col { padding-inline-start: 26px; margin-inline-start: 26px; }
  .cat { gap: 50px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav.scrolled { height: 62px; }
  .nav-links, .tel, .bar .tabs::after { display: none; }
  .brand img { height: 40px; }
  .nav.scrolled .brand img { height: 34px; }
  .nav-end { gap: 10px; }
  .nav-end .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  html { scroll-padding-top: 116px; }

  /* the first screen is exactly one phone screen: skewer + word on top, the bar under it, the call button fully in view */
  .hero { display: grid; grid-template-rows: minmax(260px, 1fr) auto; height: min(100vh, 880px); height: min(100svh, 880px); min-height: 560px; }
  .mega, .stage { grid-area: 1 / 1; position: relative; inset: auto; height: auto; min-height: 0; }
  .bar { grid-area: 2 / 1; position: relative; inset: auto; grid-template-columns: 1fr; padding: 16px var(--pad) max(18px, env(safe-area-inset-bottom)); gap: 18px; border-top: 0; background: none; }
  .bar .tabs { order: -1; justify-content: center; gap: 30px; }
  .sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .size { padding-inline-end: 0; margin-inline-end: 0; border: 0; align-items: center; }
  .size .price { font-size: 22px; }
  .size .plus { display: none; }
  .label { text-align: center; }
  .bar-end { flex-direction: column; align-items: stretch; gap: 14px; }
  .bar-end .btn { height: 52px; }
  .tag { text-align: center; }

  .sec-head { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: clamp(48px, 14vw, 72px); }
  .tabs-sm { justify-content: flex-start; }
  .shawarma, .menu { padding-top: 80px; }
  .sh-grid { grid-template-columns: 1fr; margin-top: 30px; border-top: 0; }
  .sh-col, .sh-col + .sh-col { padding: 26px 0 0; margin: 0; border: 0; }
  .row .name { font-size: 16.5px; }
  .row .price { font-size: 20px; }
  .desc { padding-inline-end: 46px; }
  .index { top: 61px; gap: 24px; margin-top: 30px; }
  .cat { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 64px var(--pad); }
  .cat-side { position: static; }
  /* long single words (Shawarmagy, sandwiches, ساندوتشات) must fit the phone width, or the whole page gets wider than the screen */
  .cat-side h3 { font-size: clamp(34px, 11.4vw, 54px); overflow-wrap: break-word; }
  .cat-photo { width: 100%; margin-top: 22px; }
  .cat .rows.two-col { grid-template-columns: 1fr; }
  .cat .rows.two-col li:nth-child(2) { border-top: 0; }
  .cols-head span, .row .price.c2 { width: 60px; }

  .footer { padding: 80px var(--pad) 120px; }
  .huge-tel { font-size: 13.6vw; }
  .glyph-band { margin-top: 44px; font-size: 20px; }
  .foot-row { grid-template-columns: 1fr; gap: 14px; }

  body.has-cart .call-bar { display: none; }
  .call-bar { display: flex; }
  .basket { left: 14px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .b-go { margin-inline-start: auto; }
  .sheet-panel { top: auto; inset-inline: 0; width: 100%; max-height: 88svh; border: 0; border-top: 1px solid var(--line); transform: translateY(104%); }
  .sheet-head, .sheet-list, .sheet-foot { padding-inline: 20px; }
  .sheet-foot { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .toast { top: 72px; }
}
@media (max-width: 380px) {
  .tabs { gap: 22px; }
  .size .price { font-size: 19px; }
  .size-name { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .rows.stagger li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mword, .mword.gone { transform: none; }
  .sheet-panel, .sheet-backdrop, .toast { transition: none; }
}

/* ---------- checkout (inside the basket) ---------- */
.sheet[data-view='cart'] .v-form, .sheet[data-view='cart'] .v-done,
.sheet[data-view='form'] .v-cart, .sheet[data-view='form'] .v-done,
.sheet[data-view='done'] .v-cart, .sheet[data-view='done'] .v-form { display: none !important; }
.sheet-panel { overflow-y: auto; }
.sheet-foot .btn-gold { width: 100%; }
.sheet-alt { font-size: 13.5px; color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
.sheet-alt:hover { color: var(--paper); }
.sheet-alt .phone-num { letter-spacing: 0.04em; }

.checkout { flex: 1; display: flex; flex-direction: column; }
.co-fields { flex: 1; padding: 18px 28px 6px; display: flex; flex-direction: column; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f-label { font-size: 13px; color: var(--paper); font-weight: 500; }
.f-label small { font-size: 11.5px; font-weight: 400; color: var(--dim); }
.f input, .f textarea { width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--line); background: rgba(243, 238, 228, 0.04); color: var(--paper); font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; transition: border-color 0.2s, background 0.2s; }
.f input::placeholder, .f textarea::placeholder { color: var(--faint); }
.f input[dir='ltr'] { text-align: right; letter-spacing: 0.04em; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--gold); background: rgba(243, 238, 228, 0.07); }
.f [aria-invalid] { border-color: #d9734f; }
.f-err { min-height: 0; font-size: 12.5px; color: #e9896a; }
.f-err:empty { display: none; }
.co-foot { position: sticky; bottom: 0; padding: 16px 28px 26px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); background: var(--ink-2); }
.co-summary { font-size: 13px; color: var(--dim); }
.co-wa { font-size: 12.5px; color: var(--gold); line-height: 1.6; }
.sent > a.btn-gold { width: 100%; max-width: 320px; margin-top: 14px; }
.co-err { font-size: 13px; color: #e9896a; }
.co-err:empty { display: none; }
.co-foot .btn-gold { width: 100%; }
.co-foot .sheet-clear { margin: 0 auto; }
.checkout.sending .btn-gold { opacity: 0.7; pointer-events: none; }

.sent { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 40px 28px; }
.sent-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--ink); background: var(--gold); margin-bottom: 8px; }
.sent-kicker { font-size: 14px; color: var(--gold); }
.sent-num { font-size: 22px; font-weight: 500; }
.sent-num b { font-weight: 900; font-size: 30px; }
.sent-text { max-width: 30ch; font-size: 14.5px; color: var(--dim); line-height: 1.7; }
.sent .btn-gold { width: 100%; max-width: 320px; margin-top: 14px; }
@media (max-width: 900px) {
  .co-fields { padding: 14px 20px 6px; }
  .co-foot { padding: 14px 20px max(18px, env(safe-area-inset-bottom)); }
}

/* ---------- language switch + English (left-to-right) ---------- */
.i18n-wait body { opacity: 0; }
.lang { display: inline-grid; place-items: center; height: 40px; min-width: 46px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--dim); background: var(--ink); transition: color 0.2s, border-color 0.2s; }
.lang:hover { color: var(--paper); border-color: var(--faint); }
[dir='ltr'] .lang { letter-spacing: 0; }
[dir='ltr'] .tel { text-align: right; }
[dir='ltr'] .line-price { text-align: right; }
[dir='ltr'] .f input[dir='ltr'] { text-align: left; }
[dir='ltr'] .bar .tabs::after { content: 'Drag the skewer ⟷'; }
[dir='ltr'] .sheet-panel { transform: translateX(104%); }
[dir='ltr'] .sheet.open .sheet-panel { transform: none; }
@media (max-width: 900px) {
  .lang { height: 38px; min-width: 42px; padding: 0 10px; }
  [dir='ltr'] .sheet-panel { transform: translateY(104%); }
  [dir='ltr'] .sheet.open .sheet-panel { transform: none; }
}
