/* Booburger Saida — black, fire and depth. Arabic first (logical properties only), phone first.
   Performance: animate only transform/opacity; no backdrop-filter, no filter on big areas. */
:root {
  --black: #070605; --coal: #120e0b; --coal-2: #1a1410; --line: #2a1f18;
  --text: #fff5ea; --muted: #b0a396; --red: #e8250c; --orange: #ff5a00; --amber: #ffa200; --mint: #3fe0b5;
  --fire: linear-gradient(90deg, var(--red), var(--orange) 55%, var(--amber));
  --fire-ui: linear-gradient(90deg, #c81e0a, #c43a08 55%, #ad4a00);   /* white text ≥ 5.2:1 */
  --display: 'Inter Tight', 'Readex Pro', sans-serif; --body: 'Readex Pro', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--black); }
body { color: var(--text); font-family: var(--body); line-height: 1.7; overflow-x: hidden; background: var(--black); }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.usd { font-family: var(--display); font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.lbp { font-size: 12px; color: var(--muted); unicode-bidi: isolate; }
.dot { color: var(--orange); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.word { font-family: 'Jost', sans-serif; font-weight: 400; font-size: clamp(11px, 2.9vw, 19px); letter-spacing: .32em; color: #f1ebe4; white-space: nowrap; }
.word.boo { font-weight: 500; }
.solver { display: inline-flex; align-items: center; gap: .32em; }
.solver .e { display: inline-grid; gap: .16em; width: .6em; }
.solver .e i { display: block; height: .1em; min-height: 1.5px; background: currentColor; }
.solver .e i:nth-child(2) { background: var(--mint); }

/* ===== Solver intro — a copy of the live Nadolase page (nadolase.solverai.net/desk), for Booburger =====
   step 1  SOLVER · [Solver logo] · BOOBURGER fades in (logo in the middle, no frame)
   step 2  brackets close round the logo; the logo turns into the burger photo inside the frame
   step 3  the frame slowly grows and pushes SOLVER and BOOBURGER out to the sides
   step 4  the words fade, the photo opens to the whole screen
   step 5  brand at the top, the title letter by letter (blurred → sharp), facts + button, info line at the bottom */
@property --fw { syntax: '<length>'; inherits: true; initial-value: 66px; }
.intro { --fw: clamp(84px, 22vw, 140px); --fh: calc(var(--fw) * 2 / 3); --gap: clamp(12px, 3.2vw, 28px);
         position: fixed; inset: 0; z-index: 50; background: #0d0c0b; overflow: hidden; transition: opacity 500ms ease, --fw 1500ms cubic-bezier(.45, 0, .2, 1); }
.intro.gone { opacity: 0; pointer-events: none; }
.intro .bg { position: absolute; inset: 0; opacity: 0; clip-path: inset(calc(50% - var(--fh) / 2) calc(50% - var(--fw) / 2));
             transition: opacity 450ms ease; }   /* the window follows the frame directly while it grows */
.intro[data-step="4"] .bg, .intro[data-step="5"] .bg { transition: opacity 450ms ease, clip-path 700ms cubic-bezier(.7, 0, .25, 1); }
.intro .bg picture { display: contents; }
.intro .bg video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.1); transition: transform 3.5s ease-out; }
.intro .bg::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 700ms ease;
  background: linear-gradient(180deg, rgba(13,12,11,.55) 0%, rgba(13,12,11,.05) 28%, rgba(13,12,11,.25) 50%, rgba(13,12,11,.92) 82%); }
.intro .fire { --fire-h: 16vh; opacity: 0; transition: opacity 900ms ease; }
.intro .embers { opacity: 0; transition: opacity 900ms ease; }

.intro .lineup { position: absolute; inset: 0; direction: ltr; opacity: 0; transition: opacity 700ms ease; }
.intro .lineup > * { position: absolute; top: 50%; transform: translateY(-50%); }
.intro .lineup .word { font-size: clamp(14px, 3.9vw, 21px); font-weight: 500; color: #fff; }
.intro .lineup .solver { right: calc(50% + var(--fw) / 2 + var(--gap)); }
.intro .lineup .boo { left: calc(50% + var(--fw) / 2 + var(--gap)); }
.frame { left: calc(50% - var(--fw) / 2); width: var(--fw); height: var(--fh); }
.frame .mark { position: absolute; left: 50%; top: 50%; height: 100%; transform: translate(-50%, -50%); transition: opacity 400ms ease, transform 500ms ease; }
.frame b { position: absolute; width: 8px; height: 8px; border: 1.5px solid #d8d2cb; opacity: 0; transition: opacity 300ms ease, inset 400ms var(--ease); }
.frame b:nth-of-type(1) { top: -11px; left: -11px; border-right: 0; border-bottom: 0; }
.frame b:nth-of-type(2) { top: -11px; right: -11px; border-left: 0; border-bottom: 0; }
.frame b:nth-of-type(3) { bottom: -11px; left: -11px; border-right: 0; border-top: 0; }
.frame b:nth-of-type(4) { bottom: -11px; right: -11px; border-left: 0; border-top: 0; }

.itop { position: absolute; z-index: 3; inset-block-start: 0; inset-inline: 0; display: flex; align-items: center; gap: 10px;
        padding: calc(14px + env(safe-area-inset-top)) 18px 0; opacity: 0; transition: opacity 500ms ease; }
.itop img { width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 2px; }
.itop .word { font-size: 11px; }
.itop .langs { margin-inline-start: auto; display: flex; gap: 4px; }
.itop .langs a { min-width: 44px; min-height: 44px; padding: 0 10px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; color: var(--muted);
                 text-decoration: none; border: 1px solid rgba(255,255,255,.18); }
.itop .langs a[aria-current] { color: #fff; background: rgba(255,255,255,.12); }

.ititle { position: absolute; z-index: 3; inset-inline: 0; inset-block-end: calc(54px + env(safe-area-inset-bottom)); padding-inline: 20px; display: grid; gap: 14px; justify-items: start; }
.intro h1 { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 12.5vw, 112px); line-height: .92; letter-spacing: -.045em; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
[lang="ar"] .intro h1 { font-family: var(--body); font-weight: 700; line-height: 1.12; letter-spacing: 0; }
.intro h1 .tl { display: block; }
.intro h1 .tl + .tl { padding-inline-start: .5em; }
.intro h1 .w { white-space: nowrap; }
.intro h1 .ch { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.06em);
                transition: opacity 420ms ease, filter 520ms ease, transform 520ms ease; transition-delay: calc(var(--i) * 55ms); }
.intro .facts { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: #e9ddd0; opacity: 0; transition: opacity 500ms ease 700ms; }
.enter { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; width: min(100%, 360px); justify-self: stretch; border-radius: 999px; background: var(--fire-ui);
         color: #fff; font: 700 17px var(--body); box-shadow: 0 10px 30px rgba(255,90,0,.4), inset 0 1px 0 rgba(255,255,255,.3); opacity: 0; transition: opacity 500ms ease 900ms; }
.enter svg { width: 20px; height: 20px; }
[dir="rtl"] .enter svg { transform: scaleX(-1); }
.ifoot { position: absolute; z-index: 3; inset-inline: 0; inset-block-end: 0; display: flex; justify-content: space-between; gap: 10px;
         padding: 0 18px calc(16px + env(safe-area-inset-bottom)); font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
         color: #a79c90; opacity: 0; transition: opacity 500ms ease; }
.ifoot .word { font-size: 10px; }
@media (min-width: 760px) {
  .ititle { inset-block-end: auto; inset-block-start: 38%; padding-inline: 56px; }
  [dir="rtl"] .intro .bg { transform: scaleX(-1); }   /* pot on the left, the Arabic title on the right */
  .enter { justify-self: start; }
  .itop { padding-inline: 40px; } .ifoot { padding-inline: 40px; }
}

/* steps */
.intro:not([data-step="0"]) .lineup { opacity: 1; }
.intro[data-step="2"] .frame b, .intro[data-step="3"] .frame b { opacity: 1; }
.intro[data-step="2"] .frame b:nth-of-type(1), .intro[data-step="3"] .frame b:nth-of-type(1) { top: -5px; left: -5px; }
.intro[data-step="2"] .frame b:nth-of-type(2), .intro[data-step="3"] .frame b:nth-of-type(2) { top: -5px; right: -5px; }
.intro[data-step="2"] .frame b:nth-of-type(3), .intro[data-step="3"] .frame b:nth-of-type(3) { bottom: -5px; left: -5px; }
.intro[data-step="2"] .frame b:nth-of-type(4), .intro[data-step="3"] .frame b:nth-of-type(4) { bottom: -5px; right: -5px; }
.intro[data-step="2"] .bg, .intro[data-step="3"] .bg, .intro[data-step="4"] .bg, .intro[data-step="5"] .bg { opacity: 1; }
.intro[data-step="2"] .frame .mark, .intro[data-step="3"] .frame .mark, .intro[data-step="4"] .frame .mark, .intro[data-step="5"] .frame .mark { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
.intro[data-step="3"], .intro[data-step="4"], .intro[data-step="5"] { --fw: clamp(180px, 46vw, 340px); }
.intro[data-step="4"] .lineup, .intro[data-step="5"] .lineup { opacity: 0; transition-duration: 300ms; }
.intro[data-step="4"] .bg, .intro[data-step="5"] .bg { clip-path: inset(0px 0px); }
.intro[data-step="4"] .bg video, .intro[data-step="5"] .bg video { transform: scale(1); }
.intro[data-step="5"] .bg::after, .intro[data-step="5"] .fire, .intro[data-step="5"] .embers,
.intro[data-step="5"] .itop, .intro[data-step="5"] .ifoot, .intro[data-step="5"] .facts, .intro[data-step="5"] .enter { opacity: 1; }
.intro[data-step="5"] h1 .ch { opacity: 1; filter: none; transform: none; }
.intro.frozen, .intro.frozen * { transition: none !important; }

/* ===== loading screen (as on Nadolase after "Sign in") ===== */
.loader { position: fixed; inset: 0; z-index: 55; background: #0d0c0b; display: grid; place-items: center; opacity: 0; transition: opacity 380ms ease; direction: ltr; }
.loader[hidden] { display: none; }   /* otherwise the invisible loader sits over the page and eats every tap */
.loader.on { opacity: 1; }
.lbox { position: relative; display: grid; justify-items: center; gap: 22px; }
.ring { width: 56px; height: 56px; border-radius: 50%; will-change: transform; animation: spin 900ms linear infinite;
        background: conic-gradient(from 0deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.12) 90deg, rgba(255,255,255,.75) 300deg, #ff8a00 350deg, #ffd27a 360deg);
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
        mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
@keyframes spin { to { transform: rotate(1turn); } }
.lword { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .42em; color: #f3ede6; min-height: 1.4em; padding-inline-start: .42em; }
.lword span { opacity: 0; animation: type 60ms linear forwards; animation-delay: calc(var(--i) * 85ms + 200ms); }
@keyframes type { to { opacity: 1; } }
.tag { position: absolute; display: grid; gap: 5px; justify-items: start; font: 600 10px 'Jost', 'Readex Pro', sans-serif; letter-spacing: .12em; color: #d9d2ca;
       opacity: 0; animation: tagin 400ms ease 250ms forwards, drift 2.6s ease-in-out 250ms infinite alternate; }
.tag i { display: block; width: 15px; height: 8px; border-radius: 2px; background: #f1ebe4; }
.t1 { left: -78px; top: -44px; }
.t2 { right: -66px; bottom: 4px; animation-delay: 420ms, 420ms; }
@keyframes tagin { to { opacity: 1; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(6px, -8px); } }
.app.arrive { animation: arrive 600ms var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* ===== the page (sinks back when a card opens) ===== */
.app { background: var(--black); min-height: 100vh; transform-origin: 50% 0; transition: transform 400ms var(--ease), border-radius 400ms ease; }
body.sheet-open { overflow: hidden; }
body.sheet-open .app { transform: scale(.93) translateY(12px); border-radius: 22px; overflow: hidden; }
.shade { position: fixed; inset: 0; z-index: 8; background: rgba(0,0,0,.62); opacity: 0; pointer-events: none; transition: opacity 400ms ease; }
body.sheet-open .shade { opacity: 1; pointer-events: auto; }

/* video hero */
.hero { position: relative; overflow: hidden; }
.scene { position: relative; height: min(122vw, 660px); perspective: 1100px; }
.scene .glow { position: absolute; inset: 25% 10% 0; background: radial-gradient(closest-side, rgba(255,90,0,.5), transparent 70%); }
.burger { position: absolute; inset: 0; transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -6deg)); transition: transform 200ms linear; }
.burger video, .burger img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0; transition: opacity 900ms ease;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%); mask: linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%); }
.burger .on { opacity: 1; }
/* the owner, holding the shrimp pots, beside the floating burger (Yehya, 23 Nov 2026) */
/* a clean cut-out (no box); his legs fade into the flames, a warm light from below */
.owner { position: absolute; z-index: 1; inset-inline-end: -2%; inset-block-end: 26px; width: 47%; pointer-events: none; }
.owner::before, .owner-band .who::before { content: ""; position: absolute; inset: 8% 4% 12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,90,0,.38), transparent); }   /* a soft round glow behind him (a drop-shadow got cut into a rectangle by the fade) */
.owner img { width: 100%; height: auto;
  -webkit-mask: linear-gradient(180deg, #000 72%, transparent 98%); mask: linear-gradient(180deg, #000 72%, transparent 98%); }
/* option "stage" (phone): the title narrows so it never runs over him */
@media (max-width: 899px) {
  body[data-owner="stage"] .hero-text { padding-inline-end: 44%; }
  body[data-owner="stage"] .hero-text h1 { font-size: 38px; }
  body[data-owner="band"] .owner { display: none; }
}
/* option "band" (phone): the owner in his own fire-lit strip under the burger */
.owner-band { position: relative; margin: 44px 16px 6px; padding: 18px 16px 18px; min-height: 210px; border-radius: 24px; overflow: visible;
              display: grid; grid-template-columns: 1fr 44%; align-items: end; gap: 10px;
              background: radial-gradient(90% 120% at 85% 110%, rgba(255,90,0,.45), transparent 60%), linear-gradient(180deg, #17100c, #0d0907);
              box-shadow: inset 0 0 0 1px rgba(255,90,0,.3), 0 18px 40px -18px rgba(0,0,0,.9); }
.owner-band[hidden] { display: none; }
.owner-band .who { align-self: end; margin-block-start: -70px; }
.owner-band .who { position: relative; z-index: 0; }
.owner-band .who img { width: 100%; height: auto; display: block;
  -webkit-mask: linear-gradient(180deg, #000 80%, transparent); mask: linear-gradient(180deg, #000 80%, transparent); }
.owner-band .txt { display: grid; gap: 8px; align-self: center; }
.owner-band .txt h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; }
[lang="ar"] .owner-band .txt h2 { font-family: var(--body); font-weight: 700; }
.owner-band .mini { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #eadccd; }
.owner-band .mini .ico { width: 30px; height: 30px; border-radius: 9px; }
.owner-band .mini .ico svg { width: 16px; height: 16px; }
.owner-band .chip-btn { justify-self: start; margin-block-start: 4px; }
@media (min-width: 900px) { .owner-band { display: none !important; } }
.hero .fire { --fire-h: 120px; z-index: 2; }
.hero .embers { z-index: 2; }
.hero-text { z-index: 3; }
.scene::after { content: ''; position: absolute; inset: 45% 0 0; z-index: 1; pointer-events: none;
                background: linear-gradient(180deg, transparent, rgba(7,6,5,.55) 45%, rgba(7,6,5,.7) 75%, transparent); }
@media (min-width: 900px) { .scene::after { display: none; } }
.hero-bar { position: absolute; z-index: 4; inset-block-start: 0; inset-inline: 0; display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 16px 0; }
.hero-bar .logo { width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 0 0 2px var(--orange), 0 0 22px rgba(255,90,0,.6); }
.hero-bar .end { margin-inline-start: auto; display: flex; gap: 8px; }
.chip-btn { min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
            border: 1px solid rgba(255,255,255,.16); background: rgba(7,6,5,.72); text-decoration: none; font: 600 14px var(--body); }
.chip-btn.hot { background: var(--fire-ui); border: 0; color: #fff; }
.hero-text { position: absolute; z-index: 3; inset-inline: 0; inset-block-end: 34px; padding-inline: 18px; }
.hero-text h1 { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: .98; letter-spacing: -.03em; text-shadow: 0 4px 18px rgba(0,0,0,.8); }
[lang="ar"] .hero-text h1 { font-family: var(--body); font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.hero-text p { margin-block-start: 8px; color: #f1e5d8; font-size: 14px; text-shadow: 0 2px 8px #000; }
.hero-text .dot { margin-inline: 4px; }

/* sticky bar: search + section tabs */
.bar { position: sticky; top: 0; z-index: 6; background: #0b0908; border-block-end: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 8px; margin: 10px 16px 0; padding-inline: 14px; min-height: 44px; border-radius: 999px; background: var(--coal); border: 1px solid var(--line); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; font-size: 16px; outline: none; }
.search input::placeholder { color: #7d7166; }
nav.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
nav.cats::-webkit-scrollbar { display: none; }
nav.cats button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: var(--coal); }
nav.cats button[aria-selected="true"] { background: var(--fire-ui); color: #fff; border-color: transparent; box-shadow: 0 0 16px rgba(255,90,0,.4); }

/* one section at a time */
main { position: relative; z-index: 1; padding: 20px 16px 40px; min-height: 70vh; }
main > section { display: grid; gap: 14px; animation: enter 380ms var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 24px)); } to { opacity: 1; transform: none; } }
.sec-head { display: flex; align-items: baseline; gap: 10px; }
.sec-head h2 { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; }
[lang="ar"] .sec-head h2 { font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.sec-head span { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }
.next { justify-self: center; margin-block-start: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--coal); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.next svg { width: 18px; height: 18px; }
[dir="rtl"] .next svg { transform: scaleX(-1); }

/* photo cards (3D lean only on devices with a mouse) */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { position: relative; text-align: start; border-radius: 22px; background: var(--coal); padding: 0 0 12px; box-shadow: 0 0 0 1px var(--line), 0 14px 24px -12px rgba(0,0,0,.9);
        transform: perspective(800px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform 250ms var(--ease); }
.card:active { transform: scale(.97); }
.card .ph { display: block; border-radius: 22px 22px 14px 14px; overflow: hidden; aspect-ratio: 1; background: var(--coal-2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .in { padding: 8px 12px 0; display: grid; gap: 2px; }
.card .h { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.card .row { display: flex; align-items: end; justify-content: space-between; gap: 6px; }
.card .usd { font-size: 22px; }
.plus { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--fire-ui); color: #fff; font-size: 24px; line-height: 1; }

.split, .stack { display: grid; gap: 14px; }
/* items with no photo of their own: a clean row, never a stand-in picture */
.rows { display: grid; border-radius: 20px; border: 1px solid var(--line); background: var(--coal); overflow: hidden; }
.line { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; text-align: start; border-block-start: 1px solid var(--line); width: 100%; }
.line:first-child { border-block-start: 0; }
.line .nm { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.4; }
.line .pr { display: grid; justify-items: end; line-height: 1.2; }
.line .usd { font-size: 19px; }
.line .plus { width: 36px; height: 36px; font-size: 20px; }

/* the offer */
.offer { border-radius: 24px; overflow: hidden; background: var(--coal); position: relative; text-align: start; width: 100%; box-shadow: 0 0 0 1px rgba(255,90,0,.45), 0 0 36px rgba(255,90,0,.22); }
.offer .pics { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 9; }
.offer .pics img { width: 100%; height: 100%; object-fit: cover; }
.offer .tag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: var(--fire-ui); color: #fff; font-weight: 700; font-size: 14px; padding: 3px 14px; border-radius: 999px; }
.offer .in { padding: 12px 16px 16px; display: grid; gap: 8px; }
.offer .h { display: block; font-size: 22px; font-weight: 700; line-height: 1.3; }
.offer .inc { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.offer .inc span { font-size: 13px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: #eadccd; }
.offer .row { display: flex; align-items: end; justify-content: space-between; }
.offer .usd { font-size: 32px; }

/* info */
.info { margin: 0 16px 110px; display: grid; gap: 10px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--coal); }
.info h2 { font-size: 20px; font-weight: 700; }
.info p { display: flex; gap: 10px; align-items: center; color: #eadccd; }
.info a { color: var(--amber); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 4px; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
        background: var(--black); color: var(--text) !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.link svg { width: 20px; height: 20px; flex: none; }
.link.wa { border-color: rgba(255,90,0,.5); }
.link.wa svg { color: #25d366; }
.made { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); padding: 10px 0 0; }
.made .word { font-size: 11px; }

/* cart bar */
.cartbar { position: fixed; z-index: 7; inset-inline: 12px; inset-block-end: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
           min-height: 60px; padding-inline: 18px 8px; border-radius: 999px; background: var(--fire-ui); color: #fff; box-shadow: 0 12px 30px rgba(255,90,0,.4);
           transform: translateY(140%); visibility: hidden; transition: transform 400ms var(--ease), visibility 0s 400ms; }
.cartbar.show { transform: none; visibility: visible; transition: transform 400ms var(--ease); }
.cartbar .count { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-weight: 700; }
.cartbar b { font-weight: 700; }
.cartbar .total { margin-inline-start: auto; background: rgba(0,0,0,.25); border-radius: 999px; padding: 8px 14px; font-weight: 700; }

/* sheets */
.sheet { position: fixed; z-index: 10; inset-inline: 0; inset-block-end: 0; max-height: 92vh; overflow: auto; background: var(--coal); border-radius: 26px 26px 0 0;
         box-shadow: 0 -16px 40px rgba(0,0,0,.7), 0 -1px 0 rgba(255,90,0,.5); transform: translateY(105%); visibility: hidden;
         transition: transform 400ms var(--ease), visibility 0s 400ms; }
.sheet.open { transform: none; visibility: visible; transition: transform 400ms var(--ease); }
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: #3a2e26; margin: 10px auto 0; }
.sheet .close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(7,6,5,.75); display: grid; place-items: center; font-size: 22px; }
.item-hero { position: relative; height: 300px; overflow: hidden; background: radial-gradient(60% 60% at 50% 70%, rgba(255,90,0,.4), transparent 70%); }
.item-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.item-hero .pair { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.item-hero .pair img { position: static; }
.item-hero.nophoto { height: 110px; }
.item-hero .fire { --fire-h: 50px; }
.sheet .body { padding: 6px 18px 120px; display: grid; gap: 14px; }
.sheet h2 { font-size: 26px; font-weight: 700; line-height: 1.25; }
.sheet .price-line { display: flex; align-items: baseline; gap: 10px; }
.sheet .price-line .usd { font-size: 30px; }
.sheet .desc { color: #e5d8ca; }
.note { color: var(--muted); font-size: 12.5px; }
.sheet .cta { position: fixed; inset-inline: 0; inset-block-end: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--coal) 30%); display: flex; gap: 10px; align-items: center; }
.qty { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--black); }
.qty button { width: 44px; height: 44px; border-radius: 50%; background: var(--coal-2); font-size: 20px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.big { flex: 1; min-height: 56px; border-radius: 999px; background: var(--fire-ui); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; padding-inline: 14px; text-align: center; }
.big[aria-disabled="true"] { background: #3a2e26; color: #cbbfb3; cursor: not-allowed; }
.big svg { width: 22px; height: 22px; flex: none; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-block-end: 1px solid var(--line); }
.cart-line .qty button { width: 44px; height: 44px; font-size: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.seg button { min-height: 44px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--coal-2); color: var(--text); box-shadow: 0 0 0 1px var(--orange); }
.grand { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; font-weight: 700; }
.grand .usd { font-size: 26px; }

/* laptop */
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 86vh;
          padding-inline: max(0px, calc((100% - 1280px) / 2)); }   /* full width, so the flames reach both edges */
  .scene { height: 86vh; order: 2; }
  /* the scene: the owner on the side nearer the title, the burger on the far side */
  .owner { inset-inline-end: auto; inset-inline-start: -18%; inset-block-end: 4%; width: 62%; }
  .burger { inset-inline-start: 30%; }
  [dir="rtl"] .scene { order: 0; }
  /* fade the video out well inside its own edges, so its slightly-grey black never shows as a rectangle */
  .burger video, .burger img { -webkit-mask: radial-gradient(closest-side at 50% 48%, #000 62%, transparent 99%); mask: radial-gradient(closest-side at 50% 48%, #000 62%, transparent 99%); }
  .hero-text { position: relative; inset: auto; padding: 0 48px; }
  .hero-text h1 { font-size: 88px; }
  .hero-text p { font-size: 18px; }
  .hero .fire { --fire-h: 170px; }
  .hero-bar { padding-inline: 32px; }
  .bar { display: flex; align-items: center; gap: 16px; padding-inline: 32px; }
  .search { margin: 0; width: 300px; flex: none; }
  nav.cats { padding-inline: 0; }
  main, .info { max-width: 1180px; margin-inline: auto; }
  main { padding-inline: 32px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .stack .rows { grid-template-columns: 1fr 1fr; }
  .stack .rows .line:nth-child(2) { border-block-start: 0; }
  /* photos beside the list: no half-empty rows of cards */
  .split { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 22px; align-items: start; }
  .split .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .split.few .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }  .offer { display: grid; grid-template-columns: 1.3fr 1fr; }
  .offer .pics { aspect-ratio: auto; min-height: 320px; }
  .offer .in { align-content: center; padding: 28px; }
  .sheet { inset: 6vh auto auto 50%; width: 520px; max-height: 88vh; border-radius: 26px; transform: translate(-50%, 120vh); }
  .sheet.open { transform: translate(-50%, 0); }
  .sheet .cta { position: sticky; }
  .cartbar { inset-inline: auto 32px; width: 420px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.blk { display: block; }
/* Safari breaks the joins of Arabic letters when letter-spacing is set */
[lang="ar"] .ifoot, [lang="ar"] .tag { letter-spacing: 0; }
/* Safari: vh counts the hidden toolbar; dvh is what is really on screen */
.sheet { max-height: 92dvh; }
@media (min-width: 900px) { .sheet { max-height: 88dvh; } }
/* emergency screen (see index.html) */
.fallback { position: fixed; inset: 0; z-index: 80; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
            background: var(--black); color: var(--text); font: 16px/1.6 'Readex Pro', system-ui, sans-serif; }
.fallback[hidden] { display: none; }
.fallback img { border-radius: 50%; background: #fff; padding: 4px; }
.fallback button { min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--fire-ui); color: #fff; font-weight: 700; }
.fallback a { color: #ffb347; font-weight: 700; font-size: 20px; }

/* add-ons inside the item card */
.opts { display: grid; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.opts-h { font-size: 15px; font-weight: 700; padding: 12px 14px 6px; }
.opts-h small { color: var(--muted); font-weight: 400; font-size: 12px; margin-inline-start: 8px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-block-start: 1px solid var(--line); width: 100%; text-align: start; }
.opt .box { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 2px solid #5a4a3e; display: grid; place-items: center; }
.opt[aria-checked="true"] .box { background: var(--fire-ui); border-color: transparent; }
.opt[aria-checked="true"] .box::after { content: '✓'; color: #fff; font-size: 15px; font-weight: 700; }
.opt .on { flex: 1; font-weight: 600; }
.opt .add { color: var(--muted); font-size: 14px; direction: ltr; unicode-bidi: isolate; }
.cart-line .ads { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; margin-block-start: 2px; }

/* "find us" with icons */
.facts-list { list-style: none; display: grid; gap: 8px; }
.fact { display: flex; align-items: center; gap: 12px; min-height: 48px; color: #eadccd; text-decoration: none; }
a.fact b { color: var(--text); }
.fact b { font-weight: 600; display: block; }
.fact small { display: block; color: var(--amber); font-size: 13px; }
.ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #ffb347;
       background: radial-gradient(circle at 50% 120%, rgba(255,90,0,.35), transparent 70%), var(--black); box-shadow: inset 0 0 0 1px rgba(255,90,0,.35); }
.ico svg { width: 21px; height: 21px; }
.chip-btn svg { width: 20px; height: 20px; flex: none; }
/* the hero's black matches the videos' black, so no video rectangle shows around the burger or the owner */
.hero { background: #000; }

/* ===== the split between the burger and the owner's strip (Yehya, 24 Nov 2026: "make a good split") =====
   the flames fade down into the page black instead of stopping on a hard line, and the strip rises into that
   fade so the owner stands up out of the fire */
.hero::after { content: ''; position: absolute; inset-inline: 0; inset-block-end: 0; height: 64px; z-index: 2; pointer-events: none;
               background: linear-gradient(180deg, rgba(7,6,5,0), var(--black) 92%); }
.owner-band { z-index: 3; margin-block-start: 8px;
              border-top-color: transparent;
              background: radial-gradient(70% 90% at 22% 0%, rgba(255,90,0,.30), transparent 65%),
                          radial-gradient(90% 120% at 85% 110%, rgba(255,90,0,.40), transparent 60%),
                          linear-gradient(180deg, rgba(23,16,12,.55), #0d0907 38%);
              box-shadow: inset 0 1px 0 rgba(255,140,60,.18), inset 0 0 0 1px rgba(255,90,0,.22), 0 18px 40px -18px rgba(0,0,0,.9); }
.owner-band .who { margin-block-start: -92px; }

/* ===== glossy buttons, each in its own colour ===== */
:root {
  --gloss: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.10) 46%, rgba(255,255,255,0) 50%, rgba(0,0,0,.14) 100%);
  --gloss-dark: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 48%, rgba(255,255,255,0) 52%, rgba(0,0,0,.18) 100%);
  --gloss-edge: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 5px rgba(0,0,0,.25);
  --gloss-edge-dark: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06);
}
.big, .enter, .chip-btn.hot, .cartbar, .plus, .offer .tag, .fallback button,
nav.cats button[aria-selected="true"], .opt[aria-checked="true"] .box {
  background: var(--gloss), var(--fire-ui);
  box-shadow: var(--gloss-edge), 0 8px 22px -6px rgba(200,40,10,.55);
}
.big[aria-disabled="true"] { background: var(--gloss-dark), #3a2e26; box-shadow: var(--gloss-edge-dark); }
.chip-btn:not(.hot), nav.cats button:not([aria-selected="true"]), .link, .next, .qty button, .seg button[aria-pressed="true"],
.search, .itop .langs a {
  background-image: var(--gloss-dark);
  box-shadow: var(--gloss-edge-dark);
}
.link.wa { box-shadow: var(--gloss-edge-dark), 0 0 0 1px rgba(255,90,0,.35); }
@media (hover: hover) { .big:hover, .enter:hover, .chip-btn.hot:hover, .cartbar:hover, .plus:hover { filter: brightness(1.08); } }
.big:active, .enter:active, .chip-btn:active, .cartbar:active, .plus:active, .link:active, .next:active { transform: translateY(1px); filter: brightness(.95); }

.owner-band .chip-btn { white-space: nowrap; }

/* "every kilo is 16–17 pieces" under the section title; the price + allergy note at the bottom */
.sec-note { margin-block-start: -6px; color: #e9ddd0; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.sec-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); flex: none; }
.notes { color: var(--muted); font-size: 12.5px; line-height: 1.8; border-block-start: 1px solid var(--line); padding-block-start: 12px; margin-block-start: 4px; }

/* ===== checkout: delivery / pickup / dine-in, the map and the address rows (like the DoorDash checkout) ===== */
.seg.seg3 { grid-template-columns: repeat(3, 1fr); }
.addr { display: grid; gap: 10px; }
.addr-h { font-size: 17px; font-weight: 700; }
.mapbox { position: relative; height: 210px; border-radius: 18px; overflow: hidden; background: #15100c; box-shadow: inset 0 0 0 1px var(--line); }
.mapbox #map { position: absolute; inset: 0; background: #15100c; }
/* OpenStreetMap turned to the site's night colours */
.mapbox .leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(.82) contrast(1.05) saturate(.6); }
.mapbox .leaflet-control-attribution { background: rgba(7,6,5,.7) !important; color: #9c9086 !important; font-size: 9px; }
.mapbox .leaflet-control-attribution a { color: #c9bcb0 !important; }
.mapbox .pin { position: absolute; z-index: 500; left: 50%; top: 50%; width: 34px; height: 45px; transform: translate(-50%, -100%); pointer-events: none;
               filter: drop-shadow(0 6px 6px rgba(0,0,0,.6)); }
.mapbox .pin svg { width: 100%; height: 100%; }
.mapbox .pin::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 4px; margin-left: -5px; border-radius: 50%; background: rgba(0,0,0,.6); }
.mapbox .locate { position: absolute; z-index: 500; inset-block-end: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 6px;
                  min-height: 44px; padding: 0 14px 0 8px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--text);
                  background: var(--gloss-dark), rgba(18,14,11,.92); box-shadow: var(--gloss-edge-dark), 0 4px 14px rgba(0,0,0,.5); }
.mapbox .locate .ico { width: 30px; height: 30px; border-radius: 50%; }
.mapbox .locate .ico svg { width: 17px; height: 17px; }
.mapbox .locate.busy .ico { animation: spin 1s linear infinite; }
.mapbox .map-hint { position: absolute; z-index: 500; inset-block-start: 10px; inset-inline: 10px; text-align: center; font-size: 12px; color: #f1e5d8;
                    pointer-events: none; text-shadow: 0 1px 4px #000; }
.mapbox.nomap #map, .mapbox.nomap .pin, .mapbox.nomap .locate, .mapbox.nomap .map-hint { display: none; }
.mapbox.nomap { height: auto; min-height: 0; box-shadow: none; }
.loc-ok { color: #7ee2a8; font-size: 13px; font-weight: 600; }
.loc-ok[hidden] { display: none; }
.frows { display: grid; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: var(--black); }
.frow { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border-block-start: 1px solid var(--line); text-decoration: none; color: var(--text); }
.frow:first-child { border-block-start: 0; }
.frow .ico { width: 36px; height: 36px; border-radius: 10px; }
.frow .ico svg { width: 19px; height: 19px; }
.frow .f { flex: 1; display: grid; min-width: 0; }
.frow .lbl { font-size: 12px; color: var(--muted); }
.frow b { font-weight: 600; }
.frow input { width: 100%; min-height: 30px; background: none; border: 0; outline: none; font-size: 16px; color: var(--text); }
.frow:focus-within { background: #120d0a; box-shadow: inset 3px 0 0 var(--orange); }
[dir="rtl"] .frow:focus-within { box-shadow: inset -3px 0 0 var(--orange); }
.note.warn { color: #ffb347; }

.notes a { color: var(--muted); text-decoration: underline; }

.info .notes { display: block; }

/* laptop: the owner on the LEFT (both languages), behind the title — the words sit on top of him */
@media (min-width: 900px) {
  .hero > .owner { inset-inline: auto; left: 3%; right: auto; inset-block-end: 0; width: min(34%, 460px); z-index: 1; }
  .hero > .owner img { filter: brightness(.82);
    -webkit-mask: linear-gradient(180deg, #000 60%, transparent 96%); mask: linear-gradient(180deg, #000 60%, transparent 96%); }
  .hero > .owner::before { inset: 10% 6% 20%; }
  .hero-text { z-index: 3; }
  .hero-text h1, .hero-text p { text-shadow: 0 4px 24px #000, 0 0 2px #000; }
}

/* a text-shadow shows through flame-coloured (clipped) text and turns it black — use a drop-shadow there */
.hero-text .flame-text { text-shadow: none !important; filter: drop-shadow(0 4px 14px rgba(0,0,0,.95)); }

/* laptop: show the whole burger — fade only a thin band at the video's own edges (Yehya, 24 Nov 2026: "I need to see it full") */
@media (min-width: 900px) {
  .burger video, .burger img {
    -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 84%, transparent);
    -webkit-mask-composite: source-in;
    mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 84%, transparent);
    mask-composite: intersect;
    object-fit: contain;
  }
}

/* ===== one kind of fire (Yehya, 24 Nov 2026: "make them all the same") =====
   the burger video loses its own flames and edges (no box around it); a strip of real flames runs along the whole bottom */
.burger video, .burger img {
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 60%, transparent 76%);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 60%, transparent 76%);
  mask-composite: intersect;
}
@media (min-width: 900px) {
  .burger video, .burger img {
    -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 66%, transparent 80%);
    -webkit-mask-composite: source-in;
    mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 66%, transparent 80%);
    mask-composite: intersect;
  }
}
.hero-flames { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; width: 100%; height: 38%; object-fit: cover; object-position: center bottom;
               mix-blend-mode: screen; pointer-events: none;
               -webkit-mask: linear-gradient(180deg, transparent, #000 35%); mask: linear-gradient(180deg, transparent, #000 35%); }
@media (min-width: 900px) { .hero-flames { height: 46%; } }
