/* ==========================================================
   AL SAMADI — refined dark
   Warm charcoal, soft gold, elegant serif headings.
   The admin can change --primary, --accent, --bg, --ink.
   ========================================================== */
:root {
  --bg: #15120F;
  --ink: #ECE3D4;
  --primary: #C9A46A;   /* soft gold */
  --accent: #8C9466;    /* zaatar, used only for "open" */
  --ember: #D5643C;

  --surface: color-mix(in srgb, var(--bg) 92%, var(--ink) 5%);
  --surface-2: color-mix(in srgb, var(--bg) 86%, var(--ink) 9%);
  --char: color-mix(in srgb, var(--bg) 80%, #000);
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 20%, transparent);
  --muted: color-mix(in srgb, var(--ink) 60%, var(--bg));
  --on-primary: #15120F;

  --serif: "Cormorant Garamond", "Amiri", Georgia, serif;
  --sans: "Manrope", "Cairo", system-ui, sans-serif;
  --ar-serif: "Amiri", "Cairo", serif;
  --ar: "Cairo", "Manrope", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-family: var(--sans); font-size: 16.5px; line-height: 1.7; color: var(--ink); background: var(--bg); overflow-x: hidden; -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; }
::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 5000; background: var(--primary); color: var(--on-primary); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }

.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(700px, 100% - 3rem); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 54ch; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
[dir="auto"] { font-family: var(--ar); text-align: left; }

/* reveal on scroll (cheap: CSS + IntersectionObserver) */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1; transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 82%, #fff); }
.btn-ghost { border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: #2BB65E; color: #062512; }
.btn-wa:hover { background: #3ac86d; }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .88rem; }
.text-link { font-weight: 600; font-size: .95rem; color: var(--primary); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); white-space: nowrap; }
.text-link:hover { background-size: 100% 1px; }

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 500; color: var(--muted); }
.status:empty { display: none; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status.is-open { color: var(--ink); }
.status.is-open i { background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: live 2.2s infinite; }
.status.is-closed i { background: var(--ember); }
@keyframes live { 70% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- Loader (first visit only, short) ---------- */
.loader { position: fixed; inset: 0; z-index: 3000; display: grid; place-content: center; justify-items: center; gap: .9rem; background: var(--bg); }
.ld-mark { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.ld-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ld-ring circle { fill: none; stroke: var(--primary); stroke-width: 1.2; stroke-dasharray: 358; stroke-dashoffset: 358; }
.loader-kaek { width: 92px; }
.loader-name { font-family: var(--ar-serif); font-size: 2rem; line-height: 1.3; color: var(--ink); }
.loader-sub { font-size: .85rem; color: var(--muted); min-height: 1.2em; letter-spacing: .02em; }
.loader.gone, .seen .loader { display: none; }

/* ---------- Ka'ek image ---------- */
.kaek-img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }

/* ---------- Header ---------- */
#site-header { position: fixed; inset: 0 0 auto; z-index: 200; transition: transform .5s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
#site-header.scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(16px) saturate(1.15); border-color: var(--line); }
#site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: .8rem; height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand-mark { width: 34px; }
.brand img.logo { width: 42px; height: 42px; object-fit: contain; }
.brand-name { display: grid; line-height: 1.05; }
.brand-name b { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: .01em; }
.brand-name span { font-family: var(--ar-serif); color: var(--primary); font-size: .95rem; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; margin-right: 1.4rem; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; position: relative; padding: .3rem 0; transition: color .3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: .5rem 1.1rem; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: border-color .3s, color .3s; }
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; flex: none; z-index: 230; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .25s, top .4s var(--ease); }
.menu-btn i:nth-child(1) { top: 16px; } .menu-btn i:nth-child(2) { top: 21px; } .menu-btn i:nth-child(3) { top: 26px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* drawer (phones/tablets) */
.drawer { position: fixed; inset: 0; z-index: 210; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 100px 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer-links { display: grid; }
.drawer-links a { display: block; overflow: hidden; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.drawer-links a span { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1.15; color: var(--muted); transition: color .3s; }
.drawer-links a[aria-current="page"] span, .drawer-links a:hover span { color: var(--ink); }
.drawer-links a[aria-current="page"] span::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-left: .7rem; vertical-align: middle; }
.drawer-foot { display: grid; gap: 1rem; margin-top: 2rem; }
.drawer-phones { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.drawer-phones a { display: grid; padding: .75rem .9rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.drawer-phones b { font-family: var(--ar); font-weight: 600; text-align: left; }
.drawer-phones span { color: var(--muted); font-size: .88rem; }
.drawer-foot .btn { width: 100%; }
body.drawer-open #site-header { background: var(--bg); transform: none; border-color: var(--line); z-index: 220; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; min-height: min(78svh, 760px); }
.hero-ar { font-family: var(--ar-serif); color: var(--primary); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; }
.hero-title { font-size: clamp(3.2rem, 6.6vw, 5.8rem); line-height: .98; letter-spacing: -.02em; margin-top: .4rem; max-width: 11ch; }
.rule { display: block; width: 72px; height: 1px; background: var(--primary); margin: 1.6rem 0 1.3rem; transform-origin: left; }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 1.4rem; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }

.hero-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.spot { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 22%, transparent), color-mix(in srgb, var(--primary) 6%, transparent) 60%, transparent); }
.ring { position: absolute; inset: 10%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.ring::after { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--ink) 10%, transparent); animation: turn 80s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.hero-kaek { position: relative; width: 62%; z-index: 2; }
.hero-kaek .kaek-img { filter: drop-shadow(0 34px 34px rgba(0,0,0,.6)); }
.hero-photo { position: absolute; inset: 10%; border-radius: 50%; background: center/cover; display: none; z-index: 3; }
.hero-photo.on { display: block; }

.hero-phones { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 2rem; }
.hero-phones a { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: 1.2rem 1.2rem; border-right: 1px solid var(--line); transition: background .3s; }
.hero-phones a:first-child { padding-left: 0; }
.hero-phones a:last-child { border-right: 0; }
.hero-phones a:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.hero-phones b { font-family: var(--ar); font-weight: 600; font-size: 1.05rem; }
.hero-phones span { color: var(--muted); font-size: .9rem; }
.hero-phones svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

/* ---------- Blocks ---------- */
.block { padding: clamp(4.5rem, 9vw, 7.5rem) 0 0; }
.block.tight { padding-top: 2.5rem; }
main > .block:last-child { padding-bottom: clamp(4.5rem, 9vw, 7.5rem); }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }

/* ---------- Category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cat-tile { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease); }
.cat-tile:hover { border-color: color-mix(in srgb, var(--primary) 50%, transparent); transform: translateY(-4px); }
.cat-tile .ct-pic { aspect-ratio: 4/3; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 60%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%), var(--surface-2); overflow: hidden; }
.cat-tile .ct-pic img:not(.kaek-img) { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-tile .ct-pic .kaek-img { width: 46%; filter: drop-shadow(0 16px 16px rgba(0,0,0,.55)); transition: transform .8s var(--ease); }
.cat-tile:hover .ct-pic img { transform: scale(1.06); }
.cat-tile .ct-body { padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: .1rem; }
.cat-tile h3 { font-size: 1.55rem; }
.cat-tile .ct-ar { font-family: var(--ar-serif); color: var(--primary); font-size: 1.05rem; line-height: 1.3; }
.cat-tile .ct-meta { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; color: var(--muted); font-size: .88rem; }
.cat-tile .ct-go { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s; }
.cat-tile .ct-go svg { width: 14px; height: 14px; }
.cat-tile:hover .ct-go { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.cat-tiles.big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.cat-tiles.big .ct-pic { aspect-ratio: 16/9; }
.cat-tiles.big h3 { font-size: 2rem; }

/* ---------- Ka'ek cards (3 per row) ---------- */
.kgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.kcard { position: relative; display: flex; flex-direction: column; border-radius: 18px; padding: .55rem .55rem 1.1rem; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .4s, transform .5s var(--ease); min-width: 0; }
.kcard:hover { border-color: color-mix(in srgb, var(--primary) 45%, transparent); transform: translateY(-3px); }
.kpic { position: relative; aspect-ratio: 4/3; border-radius: 13px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 62%, color-mix(in srgb, var(--primary) 15%, transparent), transparent 70%), var(--surface-2); }
.kpic img:not(.kaek-img) { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.kpic .kaek-img { width: 46%; filter: drop-shadow(0 14px 14px rgba(0,0,0,.55)); transition: transform .8s var(--ease); }
.kcard:hover .kpic img { transform: scale(1.05); }
.kpic .flag { position: absolute; top: .6rem; left: .6rem; font-size: .7rem; font-weight: 700; line-height: 1; padding: .35rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); backdrop-filter: blur(6px); }
.kpic .flag.off { color: var(--muted); border-color: var(--line-strong); }
.kname { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.15; margin: .9rem .45rem 0; }
.kdesc { color: var(--muted); font-size: .9rem; line-height: 1.45; margin: .25rem .45rem 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kprice { margin: auto .45rem 0; padding-top: .6rem; font-weight: 600; color: var(--primary); }
.kcard.off { opacity: .5; }
.add { position: absolute; right: .6rem; bottom: .6rem; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 1.35rem; font-weight: 500; line-height: 1; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(0,0,0,.8); transition: transform .3s var(--ease), background .3s; z-index: 2; }
.add:hover { transform: scale(1.08); }
.add:active { transform: scale(.9); }
.add.has { background: var(--primary); color: var(--on-primary); font-size: .95rem; font-weight: 700; }

.board-group { margin-bottom: 3rem; }

/* ---------- Offers ---------- */
.offer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }
.offer { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: end; padding: 2rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.offer::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); opacity: .7; }
.offer .badge { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--primary); margin-bottom: .4rem; }
.offer h3 { font-size: 2rem; }
.offer p { color: var(--muted); margin-top: .3rem; max-width: 34ch; }
.offer .pr { text-align: right; }
.offer .pr b { display: block; font-family: var(--serif); font-weight: 600; font-size: 2.8rem; color: var(--primary); line-height: 1; }
.offer .pr s { color: var(--muted); font-size: .92rem; }
.offer .btn { grid-column: 1 / -1; justify-self: start; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.process li { counter-increment: s; padding-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.process li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 1.1rem; color: var(--primary); }
.process h3 { margin-top: .5rem; font-size: 1.5rem; }
.process p { color: var(--muted); margin-top: .3rem; font-size: .95rem; }

/* ---------- Branch rows ---------- */
.branch-rows { border-top: 1px solid var(--line); }
.brow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.bmeta { display: grid; }
.brow .bn { font-family: var(--ar); font-weight: 600; font-size: 1.35rem; line-height: 1.35; text-align: left; }
.brow .bp { color: var(--muted); font-size: .98rem; }
.brow .ba { display: flex; gap: .5rem; }
.selectable .brow { cursor: pointer; grid-template-columns: auto 1fr auto; padding: 1.1rem 1rem; margin: 0 -1rem; border-radius: var(--r); border-bottom-color: transparent; position: relative; transition: background .3s; }
.selectable .brow::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 1px; background: var(--line); }
.selectable .brow:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.selectable .brow.on { background: color-mix(in srgb, var(--primary) 10%, transparent); }
.selectable .brow.on::after { opacity: 0; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: border-color .3s; }
.radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); transform: scale(0); transition: transform .35s var(--ease); }
.brow.on .radio { border-color: var(--primary); }
.brow.on .radio::after { transform: scale(1); }
.selectable .ba { opacity: 0; pointer-events: none; transition: opacity .3s; }
.selectable .brow.on .ba { opacity: 1; pointer-events: auto; }
.hours { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: 1.6rem; color: var(--muted); }
.hours b { color: var(--ink); font-weight: 600; }

/* ---------- Story / about ---------- */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.frame { aspect-ratio: 4/5; border-radius: 999px 999px 18px 18px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 60%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
.frame.tall { aspect-ratio: 3/4; }
.frame > img:not(.kaek-img) { width: 100%; height: 100%; object-fit: cover; }
.frame .kaek-img { width: 62%; filter: drop-shadow(0 26px 26px rgba(0,0,0,.6)); }
.story-copy h2 { margin-bottom: 1rem; }
.facts { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin: 2rem 0; }
.facts div { display: grid; }
.facts dt { order: 2; color: var(--muted); font-size: .9rem; }
.facts dd { font-family: var(--serif); font-weight: 600; font-size: 2.8rem; color: var(--primary); line-height: 1.05; }
.facts.big { justify-content: space-around; text-align: center; padding: 2.6rem 0; border-block: 1px solid var(--line); margin: 0; }
.facts.big dd { font-size: clamp(3rem, 6vw, 4.4rem); }
.prose p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin-bottom: 1.2rem; }
.prose p:first-child { font-family: var(--serif); color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.35; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.values > div { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.values h3 { margin-bottom: .4rem; }
.values p { color: var(--muted); }

/* ---------- Page heads ---------- */
.page-head { padding: 150px 0 2.5rem; position: relative; }
.page-head::before { content: ""; position: absolute; left: 50%; top: -30%; width: 70vw; height: 50vw; translate: -50% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 9%, transparent), transparent); pointer-events: none; z-index: -1; }
.page-ar { font-family: var(--ar-serif); color: var(--primary); font-size: 1.5rem; line-height: 1.4; }
.page-title { font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.crumbs { display: flex; gap: .6rem; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--primary); }
.search { display: flex; align-items: center; gap: .6rem; padding: 0 1.1rem; height: 50px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); max-width: 460px; margin-top: 1.8rem; transition: border-color .3s; }
.search:focus-within { border-color: var(--primary); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* category page */
.cat-chips-wrap { position: sticky; top: 78px; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.cat-chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .7rem 0; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { flex: none; padding: .5rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); border: 1px solid transparent; transition: color .3s, border-color .3s, background .3s; }
.cat-chips a:hover { color: var(--ink); }
.cat-chips a[aria-current="page"] { color: var(--on-primary); background: var(--primary); }
.cat-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; }
.cat-next a { display: grid; padding: 1.4rem 1.5rem; border-radius: 18px; border: 1px solid var(--line); transition: border-color .4s; }
.cat-next a:hover { border-color: var(--primary); }
.cat-next a.next { text-align: right; }
.cat-next small { color: var(--muted); font-size: .85rem; }
.cat-next b { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; }
.cat-next span:empty { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.map-card { position: sticky; top: 100px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 1; }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.4) brightness(.9) sepia(.12); }
.map-btn { position: absolute; left: 1rem; bottom: 1rem; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(8px); }
.form { display: grid; gap: 1rem; }
.form label span { display: block; font-weight: 500; font-size: .88rem; color: var(--muted); margin-bottom: .35rem; }
.form :is(input, select, textarea) { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; transition: border-color .3s, box-shadow .3s; }
.form :is(input, select, textarea):focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.form .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hint { color: var(--muted); font-size: .92rem; }

/* ---------- Sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 1rem; }
.sheet[hidden] { display: none; }
.sheet-back { position: absolute; inset: 0; background: rgba(6,5,4,.72); backdrop-filter: blur(6px); }
.sheet-box { position: relative; width: min(520px, 100%); max-height: 88vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
.sheet-box h3 { font-size: 2.1rem; padding-right: 3rem; }
.sheet-box > p { color: var(--muted); margin-top: .3rem; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 1.25rem; line-height: 1; transition: border-color .3s; }
.sheet-close:hover { border-color: var(--primary); }
.sheet .branch-rows { margin-top: 1.2rem; }
.sheet .brow { padding: 1rem 0; }
.item-hero { aspect-ratio: 16/11; margin: -1.8rem -1.8rem 1.4rem; background: radial-gradient(70% 70% at 50% 62%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%), var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.item-hero img:not(.kaek-img) { width: 100%; height: 100%; object-fit: cover; }
.item-hero .kaek-img { width: 42%; filter: drop-shadow(0 20px 20px rgba(0,0,0,.6)); }
.item-price { font-family: var(--serif); font-weight: 600; font-size: 2.2rem; margin: .8rem 0 1.3rem; }
.sheet-box > p.item-price { color: var(--primary); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; height: 48px; }
.stepper button { width: 44px; height: 100%; font-size: 1.2rem; transition: background .2s; }
.stepper button:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.stepper b { min-width: 28px; text-align: center; font-weight: 600; }
.stepper.sm { height: 34px; }
.stepper.sm button { width: 30px; font-size: 1rem; }
.stepper.sm b { min-width: 20px; font-size: .92rem; }
.add-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.add-row .btn { flex: 1; min-width: 180px; }

/* ---------- Cart ---------- */
.cart-bar { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 190; translate: -50% 0; display: flex; align-items: center; gap: .8rem; padding: .5rem .6rem .5rem .5rem; min-width: min(400px, calc(100% - 2rem)); border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 600; box-shadow: 0 18px 40px -14px rgba(0,0,0,.85); }
.cart-bar[hidden] { display: none; }
.cart-bar .cb-n { min-width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.15); font-weight: 700; }
.cart-bar .cb-t { margin-left: auto; padding-right: .6rem; font-weight: 700; }
body.has-cart #site-footer { padding-bottom: 110px; }
.fly { position: fixed; z-index: 4000; object-fit: contain; pointer-events: none; }
.toast { position: fixed; left: 50%; top: 90px; z-index: 4100; translate: -50% -16px; opacity: 0; padding: .6rem 1.1rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-weight: 600; font-size: .9rem; transition: opacity .25s, translate .35s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.on { opacity: 1; translate: -50% 0; }
.cart-sheet h3 { margin-bottom: 1rem; }
.lines { list-style: none; display: grid; }
.lines li { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.lthumb { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.lthumb img:not(.kaek-img) { width: 100%; height: 100%; object-fit: cover; }
.lthumb .kaek-img { width: 78%; }
.lname { font-weight: 600; line-height: 1.25; display: grid; }
.lname small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.lname em { font-style: normal; font-size: .72rem; color: var(--primary); }
.ltotal { font-weight: 600; color: var(--primary); min-width: 3.2rem; text-align: right; }
.sums { display: grid; gap: .3rem; padding-top: 1rem; color: var(--muted); }
.sums:empty { display: none; }
.sums > div { display: flex; justify-content: space-between; }
.free-hint { font-size: .85rem; color: var(--accent); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 0 1.2rem; font-weight: 600; }
.cart-total b { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--primary); }
.checkout { gap: .85rem; }
.checkout .btn { width: 100%; justify-self: stretch; }
.checkout .clear { justify-self: center; background: none; font-size: .9rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.seg button { height: 40px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.seg button[aria-checked="true"] { background: var(--primary); color: var(--on-primary); }
.form-err { color: var(--ember); font-weight: 500; font-size: .92rem; }
.cart-empty { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 1rem 0 .5rem; color: var(--muted); }
.cart-empty .kaek-img { width: 100px; }

/* ---------- Footer ---------- */
#site-footer { background: var(--char); border-top: 1px solid var(--line); padding: 4.5rem 0 2rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 2.5rem; }
.foot h4 { font-size: .95rem; font-weight: 600; margin-bottom: 1rem; }
.foot p, .foot li a { color: var(--muted); }
.foot ul { list-style: none; display: grid; gap: .45rem; }
.foot li a { transition: color .3s; }
.foot li a:hover { color: var(--ink); }
.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: color .3s, border-color .3s; }
.socials a:hover { color: var(--primary); border-color: var(--primary); }
.socials svg { width: 17px; height: 17px; }
.legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.credit { display: flex; width: max-content; margin: 1.4rem auto 0; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .3s, border-color .3s; }
.credit svg { width: 15px; height: 15px; }
.credit:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .nav { height: 68px; }
  .hero { padding-top: 92px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-stage { order: -1; width: min(340px, 82%); margin: 0 auto; }
  .rule { transform-origin: center; }
  .hero-actions { justify-content: center; }
  .hero-phones { grid-template-columns: 1fr 1fr; }
  .hero-phones a { padding: 1rem .8rem; border-bottom: 1px solid var(--line); }
  .hero-phones a:nth-child(odd) { padding-left: 0; }
  .hero-phones a:nth-child(2n) { border-right: 0; }
  .story-grid, .contact-grid, .foot { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .values { grid-template-columns: 1fr; gap: 1.5rem; }
  .map-card { position: relative; top: 0; }
  .page-head { padding-top: 112px; }
  .cat-chips-wrap { top: 68px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 2rem); }
  h2 { font-size: 2rem; }
  .hero-title { font-size: 2.9rem; max-width: none; }
  .hero-ar { font-size: 1.35rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 1.6rem 0 1rem; }
  .hero-stage { width: min(280px, 76%); }
  .hero-phones { grid-template-columns: 1fr; }
  .hero-phones a, .hero-phones a:nth-child(odd) { padding: .9rem 0; border-right: 0; }
  .hero-phones a > span { display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }
  .hero-phones a > span br { display: none; }
  .block { padding-top: 3.6rem; }
  .block-head { margin-bottom: 1.4rem; }
  .cat-tiles, .cat-tiles.big { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .cat-tile { border-radius: 14px; }
  .cat-tile .ct-body { padding: .7rem .75rem .8rem; }
  .cat-tile h3, .cat-tiles.big h3 { font-size: 1.25rem; }
  .cat-tile .ct-ar { font-size: .9rem; }
  .cat-tile .ct-meta { font-size: .78rem; margin-top: .3rem; }
  .cat-tile .ct-go { width: 26px; height: 26px; }
  .cat-tiles.big .ct-pic { aspect-ratio: 4/3; }
  .kgrid { gap: .5rem; }
  .kcard { padding: .3rem .3rem .65rem; border-radius: 13px; }
  .kpic { aspect-ratio: 1; border-radius: 10px; }
  .kpic .kaek-img { width: 66%; }
  .kpic .flag { top: .3rem; left: .3rem; font-size: .58rem; padding: .25rem .4rem; }
  .kname { font-size: 1.02rem; margin: .55rem .25rem 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .kdesc { display: none; }
  .kprice { font-size: .88rem; margin: 0 .25rem; padding-top: .3rem; }
  .add { width: 30px; height: 30px; right: .3rem; bottom: .3rem; font-size: 1.1rem; }
  .add.has { font-size: .82rem; }
  .offer { grid-template-columns: 1fr; padding: 1.5rem; }
  .offer .pr { text-align: left; }
  .process { grid-template-columns: 1fr; }
  .facts { gap: 1rem 2rem; }
  .facts dd { font-size: 2.3rem; }
  .facts.big { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 1.8rem 0; }
  .facts.big dd { font-size: 2.3rem; }
  .story-grid .frame { width: min(260px, 74%); margin-inline: auto; }
  .brow .bn { font-size: 1.15rem; }
  .brow .ba .btn-ghost { display: none; }
  .selectable .brow { grid-template-columns: auto 1fr; }
  .selectable .ba { grid-column: 1 / -1; }
  .selectable .brow:not(.on) .ba { display: none; }
  .selectable .brow .ba .btn-ghost { display: inline-flex; }
  .page-head { padding: 100px 0 1.6rem; }
  .page-title { font-size: 3.2rem; margin-bottom: .6rem; }
  .page-ar { font-size: 1.25rem; }
  .search { margin-top: 1.2rem; height: 46px; }
  .cat-next b { font-size: 1.3rem; }
  .cat-next a { padding: 1rem; }
  .row2 { grid-template-columns: 1fr; }
  .map-card { aspect-ratio: 4/3.4; }
  .sheet { place-items: end center; padding: 0; }
  .sheet-box { width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(1.8rem + env(safe-area-inset-bottom)); }
  .sheet .brow { grid-template-columns: 1fr; }
  .sheet .brow .ba .btn-ghost { display: inline-flex; }
  .sheet .ba { display: grid; grid-template-columns: 1fr 1fr; }
  .lines li { grid-template-columns: 42px 1fr auto; }
  .lines .ltotal { grid-column: 2 / 4; text-align: left; margin-top: -.4rem; font-size: .9rem; }
  .cart-bar { min-width: calc(100% - 1.5rem); }
  .toast { top: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
.cart-count[hidden] { display: none; }

/* ==========================================================
   FIRE — soft flames under the ka'ek + rising sparks
   ========================================================== */
.fire-bed { position: absolute; left: 50%; bottom: 14%; width: 62%; height: 34%; translate: -50% 0; z-index: 1; pointer-events: none; filter: blur(14px); mix-blend-mode: screen; }
.fire-bed .fl { position: absolute; left: 50%; bottom: 0; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; transform-origin: 50% 100%; }
.fire-bed .f1 { width: 100%; height: 70%; margin-left: -50%; background: radial-gradient(closest-side, rgba(214,72,20,.85), rgba(150,30,8,.4) 60%, transparent); animation: flame 2.8s ease-in-out infinite; }
.fire-bed .f2 { width: 70%; height: 95%; margin-left: -35%; background: radial-gradient(50% 60% at 50% 70%, rgba(255,130,40,.9), rgba(230,80,20,.45) 60%, transparent); animation: flame 2.1s ease-in-out infinite reverse; }
.fire-bed .f3 { width: 44%; height: 85%; margin-left: -22%; background: radial-gradient(50% 60% at 50% 72%, rgba(255,200,110,.95), rgba(255,140,50,.5) 60%, transparent); animation: flame 1.5s ease-in-out infinite; }
.fire-bed .f4 { width: 22%; height: 55%; margin-left: -11%; background: radial-gradient(closest-side, rgba(255,245,210,.95), rgba(255,200,120,.4) 70%, transparent); animation: flame 1.1s ease-in-out infinite reverse; }
.fire-bed .f2 { animation-delay: -.6s; } .fire-bed .f4 { animation-delay: -.3s; }
@keyframes flame {
  0%, 100% { transform: scale(1, 1) translateX(0); opacity: .9; }
  25% { transform: scale(1.06, .9) translateX(-3%); opacity: 1; }
  50% { transform: scale(.94, 1.12) translateX(2%); opacity: .8; }
  75% { transform: scale(1.03, .95) translateX(-1%); opacity: .95; }
}
.fire-bed::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -12%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,120,40,.55), transparent); animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .6; transform: scaleX(.92); } }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero-kaek { z-index: 2; }
.spot { background: radial-gradient(closest-side, rgba(210,110,40,.22), color-mix(in srgb, var(--primary) 7%, transparent) 60%, transparent); animation: warm 4s ease-in-out infinite; }
@keyframes warm { 50% { opacity: .8; } }
/* loader version */
.fire-bed.small { bottom: 4%; width: 78%; height: 48%; filter: blur(10px); }
.ld-mark .loader-kaek { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .fire-bed .fl, .fire-bed::after, .spot { animation: none; } }
.fire-bed { bottom: 10%; width: 92%; height: 52%; filter: blur(12px); }
.fire-bed .f1 { height: 62%; }
.fire-bed .f2 { width: 82%; margin-left: -41%; height: 100%; }
.fire-bed .f3 { width: 58%; margin-left: -29%; height: 92%; }
.fire-bed .f4 { width: 30%; margin-left: -15%; height: 70%; }
.fire-bed.small { bottom: 0; width: 100%; height: 60%; }
.fire-bed.small { bottom: -2%; width: 110%; height: 72%; filter: blur(8px); }
.ld-mark { width: 170px; height: 170px; }
.loader-kaek { width: 96px; margin-top: -14px; }

/* ===== Real fire (WebGL). The CSS flames stay only as a fallback. ===== */
.flames { position: absolute; left: -10%; width: 120%; bottom: 6%; height: 66%; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .8s ease; }
.flames.on { opacity: 1; }
.has-fire > .fire-bed { display: none; }
.loader .flames.small { left: -20%; width: 140%; bottom: -6%; height: 78%; }
.loader.has-fire .fire-bed { display: none; }
.hero-kaek .kaek-img { filter: drop-shadow(0 20px 22px rgba(0,0,0,.45)); }
.hero-stage .spot { background: radial-gradient(closest-side, rgba(220,110,40,.24), color-mix(in srgb, var(--primary) 6%, transparent) 60%, transparent); }
.flames { bottom: -2%; height: 72%; }
.flames { mix-blend-mode: plus-lighter; }

/* ===== Burning wood ===== */
.hero-stage .logs { position: absolute; left: 50%; bottom: 3%; width: 96%; translate: -50% 0; z-index: 2; pointer-events: none; animation: embers 2.6s ease-in-out infinite; }
.loader .logs.small { position: absolute; left: 50%; bottom: -22%; width: 150%; translate: -50% 0; z-index: 1; animation: embers 2.6s ease-in-out infinite; }
@keyframes embers { 0%, 100% { filter: brightness(1) saturate(1); } 35% { filter: brightness(1.18) saturate(1.1); } 60% { filter: brightness(.94); } 80% { filter: brightness(1.1); } }
.ember-glow { position: absolute; left: 50%; bottom: 2%; width: 100%; height: 22%; translate: -50% 0; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,120,30,.55), rgba(190,50,10,.25) 55%, transparent); filter: blur(10px); animation: glow 2.4s ease-in-out infinite; }
/* fire now rises from the logs; ka'ek sits just above the fire */
.hero-stage .flames { bottom: 12%; height: 66%; z-index: 1; }
.hero-stage .hero-kaek { z-index: 3; width: 54%; translate: 0 -9%; }
.hero-stage .sparks { z-index: 4; }
.loader .flames.small { bottom: 2%; }
.loader-kaek { margin-top: -34px; }
@media (prefers-reduced-motion: reduce) { .logs, .ember-glow { animation: none !important; } }
.hero-stage .flames { bottom: 13%; height: 62%; left: -4%; width: 108%; }
.ember-glow { width: 78%; height: 16%; bottom: 4%; }

/* ==========================================================
   THEME: "The neighbourhood furn" (الفرن)
   Brick oven, cream paper menu, brick-red actions.
   Fire, wood and loading screen are unchanged.
   ========================================================== */
:root {
  --bg: #1A110C;
  --ink: #F3E6CF;
  --primary: #C8442C;          /* brick red */
  --on-primary: #FFF3E3;
  --gold: #D9A55B;
  --paper: #F3E6CF;            /* cream menu card */
  --paper-2: #EADBC0;
  --paper-ink: #2A1A10;
  --paper-muted: #7A6250;
  --paper-line: rgba(42,26,16,.14);
  --serif: "Fraunces", Georgia, serif;
  --ar-serif: "Aref Ruqaa", "Amiri", serif;
  --surface: color-mix(in srgb, var(--bg) 88%, #fff 5%);
  --surface-2: color-mix(in srgb, var(--bg) 82%, #fff 8%);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.hero-title { font-weight: 600; letter-spacing: -.03em; line-height: 1; font-size: clamp(3rem, 6vw, 5.4rem); }
.page-title { font-weight: 600; letter-spacing: -.03em; }
.hero-ar, .page-ar { font-family: var(--ar-serif); color: var(--gold); font-weight: 700; }
.brand-name b { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.brand-name span { font-family: var(--ar-serif); color: var(--gold); font-weight: 700; }
.rule { background: var(--gold); height: 2px; width: 56px; }
.text-link { color: var(--gold); }
.status.is-open { color: var(--ink); }

/* buttons: brick red primary, cream outline */
.btn { border-radius: 12px; font-weight: 700; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), 0 10px 24px -14px var(--primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, #fff); }
.btn-ghost { border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.cart-btn, .menu-btn { border-radius: 12px; }
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-count { background: var(--gold); color: #2A1A10; }
.nav-links a::after { background: var(--gold); height: 2px; }

/* loading screen keeps its gold ring */
.ld-ring circle { stroke: var(--gold); }

/* ---- Hero: the brick oven ---- */
.hero-stage { aspect-ratio: 5 / 5.6; border-radius: 999px 999px 22px 22px; overflow: hidden; padding: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%2264%22%3E%3Crect%20width%3D%22120%22%20height%3D%2264%22%20fill%3D%22%232a120a%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237a2e1c%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23933b24%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3C/svg%3E") center/120px 64px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,220,180,.06); }
.hero-stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(90% 70% at 50% 100%, rgba(255,120,40,.28), transparent 60%), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 40%, rgba(0,0,0,.35)); z-index: 0; }
.hero-stage .spot { inset: 9% 10% 0; border-radius: 999px 999px 0 0; animation: none; z-index: 0;
  background: radial-gradient(85% 60% at 50% 92%, rgba(255,120,40,.5), rgba(120,30,8,.25) 45%, #0b0604 75%); box-shadow: inset 0 18px 40px rgba(0,0,0,.85), 0 0 0 6px rgba(20,8,4,.55); }
.hero-stage .ring { display: none; }
.hero-stage .flames { left: 4%; width: 92%; bottom: 8%; height: 64%; }
.hero-stage .logs { width: 86%; bottom: 1%; }
.hero-stage .ember-glow { width: 70%; bottom: 2%; }
.hero-stage .hero-kaek { width: 50%; translate: 0 -2%; }
.hero-photo { inset: 9% 10% 0; border-radius: 999px 999px 0 0; }

.hero-phones { border-color: var(--line); }
.hero-phones b { font-family: var(--ar); }
.hero-phones svg { color: var(--gold); }

/* ---- Cream paper cards ---- */
.cat-tile, .kcard { background: var(--paper); color: var(--paper-ink); border: 0; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 18px 34px -24px rgba(0,0,0,.9); }
.cat-tile:hover, .kcard:hover { border-color: transparent; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 26px 40px -22px rgba(0,0,0,.95); }
.cat-tile .ct-pic, .kpic { background: radial-gradient(70% 70% at 50% 64%, rgba(200,68,44,.16), transparent 70%), var(--paper-2); }
.cat-tile h3, .kname { color: var(--paper-ink); }
.cat-tile .ct-ar { font-family: var(--ar-serif); color: var(--primary); font-weight: 700; font-size: 1.15rem; }
.cat-tile .ct-meta { color: var(--paper-muted); }
.cat-tile .ct-go { border-color: var(--paper-line); color: var(--paper-ink); }
.cat-tile:hover .ct-go { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.kname { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.kdesc { color: var(--paper-muted); }
.kprice { color: var(--primary); font-weight: 800; }
.kpic .flag { background: var(--primary); color: var(--on-primary); border: 0; backdrop-filter: none; }
.kpic .flag.off { background: var(--paper-muted); color: var(--paper); }
.add { background: var(--paper-ink); color: var(--paper); box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); }
.add.has { background: var(--primary); color: var(--on-primary); }
.kcard.off { opacity: .6; }

/* ---- Deals: brick red ---- */
.offer { background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 92%, #000), color-mix(in srgb, var(--primary) 70%, #000)); border: 0; color: var(--on-primary); }
.offer::before { display: none; }
.offer::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%2264%22%3E%3Crect%20width%3D%22120%22%20height%3D%2264%22%20fill%3D%22%232a120a%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237a2e1c%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23933b24%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3C/svg%3E") center/120px 64px; opacity: .07; pointer-events: none; }
.offer > * { position: relative; z-index: 1; }
.offer .badge { color: var(--gold); }
.offer p, .offer .pr s { color: color-mix(in srgb, var(--on-primary) 75%, transparent); }
.offer .pr b { color: var(--on-primary); }
.offer .btn-ghost { border-color: color-mix(in srgb, var(--on-primary) 45%, transparent); color: var(--on-primary); }
.offer .btn-ghost:hover { background: var(--on-primary); color: var(--primary); }

/* ---- Process, values, facts ---- */
.process li { border-top: 2px solid var(--line-strong); }
.process li:first-child { border-top-color: var(--gold); }
.process li::before { color: var(--gold); font-weight: 700; }
.facts dd { color: var(--gold); font-weight: 700; }
.values > div { border-top: 2px solid var(--line-strong); }

/* ---- Branches ---- */
.brow .bn { font-family: var(--ar); font-weight: 700; }
.selectable .brow.on { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.radio::after { background: var(--gold); }
.brow.on .radio { border-color: var(--gold); }

/* ---- Story frame: a small brick arch ---- */
.frame { background: radial-gradient(70% 60% at 50% 80%, rgba(255,120,40,.3), #0b0604 72%); border: 10px solid transparent; border-image: none; box-shadow: 0 0 0 10px #5e2416, 0 30px 60px -30px rgba(0,0,0,.9); }
.frame { outline: 10px solid transparent; }

/* ---- Category chips ---- */
.cat-chips a[aria-current="page"] { background: var(--paper); color: var(--paper-ink); }

/* ---- Sheet & cart: cream paper ---- */
.sheet-box { background: var(--paper); color: var(--paper-ink); border: 0; }
.sheet-box h3 { color: var(--paper-ink); }
.sheet-box > p, .lname small, .sheet .bp { color: var(--paper-muted); }
.sheet-close { border-color: var(--paper-line); color: var(--paper-ink); }
.sheet-close:hover { border-color: var(--primary); }
.item-hero { background: radial-gradient(70% 70% at 50% 64%, rgba(200,68,44,.18), transparent 70%), var(--paper-2); }
.sheet-box > p.item-price, .ltotal, .cart-total b { color: var(--primary); }
.stepper { border-color: var(--paper-line); color: var(--paper-ink); }
.stepper button:hover { background: rgba(42,26,16,.06); }
.lines li, .sheet .brow, .sheet .branch-rows { border-color: var(--paper-line); }
.lthumb { background: var(--paper-2); }
.sheet .form label span { color: var(--paper-muted); }
.sheet .form :is(input, select, textarea) { background: #fffaf1; border-color: var(--paper-line); color: var(--paper-ink); }
.sheet .form :is(input, select, textarea):focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(200,68,44,.14); }
.sheet .btn-ghost { border-color: var(--paper-line); color: var(--paper-ink); }
.sheet .btn-ghost:hover { border-color: var(--paper-ink); background: rgba(42,26,16,.05); }
.sheet .text-link, .checkout .clear { color: var(--primary); }
.sheet .brow .bn { color: var(--paper-ink); }
.cart-empty { color: var(--paper-muted); }
.cart-bar { background: var(--primary); color: var(--on-primary); border-radius: 14px; }
.toast { background: var(--paper); color: var(--paper-ink); border: 0; }

/* ---- Forms on dark pages ---- */
.form :is(input, select, textarea) { border-radius: 12px; }
.search { border-radius: 12px; }

/* ---- Footer ---- */
#site-footer { background: #120B07; }
.foot h4 { color: var(--gold); }

@media (max-width: 960px) {
  .hero-stage { width: min(330px, 84%); }
}
@media (max-width: 640px) {
  .hero-stage { width: min(290px, 80%); }
  .kname { font-size: .98rem; }
  .cat-tile .ct-ar { font-size: 1rem; }
  .frame { box-shadow: 0 0 0 7px #5e2416, 0 20px 40px -20px rgba(0,0,0,.9); }
}
.brand-name span { font-family: var(--ar); font-weight: 700; font-size: .85rem; }
.frame { border: 14px solid transparent; outline: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  background: radial-gradient(80% 60% at 50% 88%, rgba(255,120,40,.4), rgba(120,30,8,.2) 45%, #0b0604 75%) padding-box, url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%2264%22%3E%3Crect%20width%3D%22120%22%20height%3D%2264%22%20fill%3D%22%232a120a%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237a2e1c%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23933b24%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3C/svg%3E") border-box; background-size: auto, 120px 64px; }
@media (max-width: 640px) { .frame { border-width: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.9); } }
.frame { background: radial-gradient(80% 60% at 50% 88%, rgba(255,120,40,.4), rgba(120,30,8,.2) 45%, transparent 75%) padding-box, linear-gradient(#0b0604, #0b0604) padding-box, url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%2264%22%3E%3Crect%20width%3D%22120%22%20height%3D%2264%22%20fill%3D%22%232a120a%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%221.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%236e281a%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2217.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%221.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2241.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23a0442a%22/%3E%3Crect%20x%3D%2281.2%22%20y%3D%2233.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237f301d%22/%3E%3Crect%20x%3D%22-18.8%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%237a2e1c%22/%3E%3Crect%20x%3D%2221.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3Crect%20x%3D%2261.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23933b24%22/%3E%3Crect%20x%3D%22101.2%22%20y%3D%2249.2%22%20width%3D%2237.5%22%20height%3D%2213.5%22%20rx%3D%221.5%22%20fill%3D%22%23742b1b%22/%3E%3C/svg%3E") border-box; background-size: auto, auto, 120px 64px; }

/* ===== Category tabs: flexible, all visible on any screen ===== */
.cat-chips { flex-wrap: wrap; overflow: visible; gap: .4rem; padding: .7rem 0; }
.cat-chips a { flex: 1 1 auto; text-align: center; white-space: nowrap; border: 1px solid var(--line); }
.cat-chips a[aria-current="page"] { border-color: transparent; }
@media (max-width: 640px) {
  .cat-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(46%, 150px), 1fr)); gap: .4rem; padding: .6rem 0; }
  .cat-chips a { padding: .55rem .5rem; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; }
}

/* lazily loaded menu photos */
img.ph-on{animation:phIn .45s ease both}
@keyframes phIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){img.ph-on{animation:none}}

/* many categories: one swipeable row of chips (desktop and phone) */
.cat-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); padding-inline: 12px; }
.cat-chips a { flex: none; scroll-snap-align: center; }
@media (max-width: 640px) {
  .cat-chips { display: flex; grid-template-columns: none; padding: .6rem 12px; }
  .cat-chips a { padding: .5rem .9rem; overflow: visible; }
}

/* menu cards never wait for an animation */
.kgrid > *, .cat-tiles > *, #cat-items > *, #results-grid > * { opacity: 1 !important; transform: none !important; }

/* =====================================================================
   MENU v2 — Arabic display titles, menus grouped, cleaner cards
   ===================================================================== */
:root { --ar-display: "Lalezar", "Readex Pro", "Cairo", sans-serif; --ui-ar: "Readex Pro", "Cairo", "Manrope", sans-serif; }
.ar-title { font-family: var(--ar-display); font-weight: 400; letter-spacing: 0; line-height: 1.15; }
body[data-page="menu"] .page-title.ar-title,
body[data-page="category"] .page-title.ar-title { font-size: clamp(3rem, 9vw, 5.4rem); color: var(--ink); margin: .2rem 0 .6rem; text-shadow: 0 2px 0 rgba(0,0,0,.25); }
body[data-page="menu"] .page-ar, body[data-page="category"] .page-ar { font-family: var(--ui-ar); font-size: .95rem; font-weight: 600; letter-spacing: .02em; color: var(--gold); }
body[data-page="category"] .cat-group { font-family: var(--ar-display); font-weight: 400; font-size: 1.35rem; color: var(--gold); }
body[data-page="menu"] .lead, body[data-page="category"] .lead { color: var(--muted); }
.search input { font-family: var(--ui-ar); }

/* menu switcher (عصرونية / طرابلسية / مناقيش / مشروبات) */
.group-nav-wrap { position: sticky; top: 78px; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.group-nav { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: .65rem 12px; direction: rtl; }
.group-nav::-webkit-scrollbar { display: none; }
.group-nav a { flex: none; font-family: var(--ar-display); font-size: 1.12rem; line-height: 1; padding: .62rem 1.05rem .5rem; border-radius: 999px; color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.group-nav a:hover { border-color: var(--line-strong); }
.group-nav a.on, .group-nav a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #2A1A10; }
.group-nav.small { padding-bottom: .15rem; border-bottom: 0; }
.group-nav.small a { font-size: 1rem; padding: .5rem .9rem .4rem; }
@media (max-width: 640px) { .group-nav-wrap { top: 68px; } }

/* grouped menu */
.mgroup { margin-top: 2.6rem; scroll-margin-top: 150px; }
.mgroup:first-child { margin-top: .6rem; }
.mg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); position: relative; }
.mg-head::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 72px; height: 3px; border-radius: 3px; background: var(--primary); }
.mg-head h2 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--ink); }
.mg-count { font-family: var(--ui-ar); font-size: .9rem; color: var(--muted); }
.mg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
.mtile { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; }
.mtile .ct-pic { aspect-ratio: 5/4; display: grid; place-items: center; overflow: hidden; }
.mtile .ct-pic img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .5s var(--ease); }
.mtile:hover .ct-pic img { transform: scale(1.05) rotate(-1deg); }
.mtile .ct-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; text-align: right; }
.mtile h3 { font-family: var(--ar-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--paper-ink); }
.mtile .ct-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-family: var(--ui-ar); font-size: .82rem; color: var(--paper-muted); margin-top: auto; }
.mtile .ct-meta b { color: var(--primary); font-weight: 700; white-space: nowrap; }
.mtile .ct-go { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--paper-line); }
.mtile .ct-go svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .mg-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .mtile { border-radius: 15px; }
  .mtile .ct-body { padding: .65rem .7rem .75rem; }
  .mtile h3 { font-size: 1.28rem; }
  .mtile .ct-meta { font-size: .72rem; }
  .mtile .ct-go { width: 26px; height: 26px; }
  .mg-head h2 { font-size: 1.9rem; }
}

/* category chips: Arabic, right-to-left */
.cat-chips { direction: rtl; }
.cat-chips a { font-family: var(--ui-ar); font-weight: 600; }
.cat-chips[hidden] { display: none !important; }

/* item cards */
.kcard { border-radius: 18px; }
.kpic { border-radius: 13px; }
.kname { font-family: var(--ui-ar); font-weight: 700; font-size: 1.12rem; line-height: 1.35; letter-spacing: 0; text-align: start; }
.kname[dir="auto"]:lang(en) { }
.kprice { font-family: var(--ui-ar); font-weight: 700; font-size: 1rem; display: inline-flex; align-self: flex-start; color: var(--primary); }
.kcard:has(.kname[dir="auto"]) { text-align: right; }
.kcard .kname, .kcard .kdesc { unicode-bidi: plaintext; }
@media (max-width: 640px) {
  .kname { font-size: .98rem; }
  .kprice { font-size: .9rem; }
}

/* previous / next */
.cat-next em { display: block; font-style: normal; font-family: var(--ui-ar); font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.cat-next b { font-family: var(--ar-display); font-weight: 400; }
.mtile .ct-pic img, .mtile .ct-pic .kaek-img { position: static !important; inset: auto !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain !important; padding: 7% !important; margin: 0 !important; }
.mtile .ct-info { display: flex; flex-direction: column; gap: .1rem; line-height: 1.35; }
.mtile .ct-info b { font-size: 1.02em; }
.kcard { align-items: stretch; }
.kcard .kprice { align-self: flex-end; }
.mtile .ct-pic { position: relative !important; display: block !important; }
.mtile .ct-pic img, .mtile .ct-pic .kaek-img { position: absolute !important; inset: 0 !important; }

/* =====================================================================
   MENU v3 — "menu board": Changa + Tajawal, no bordered pills,
   dark cards, dotted price rows like the printed menus
   ===================================================================== */
:root { --ar-display: "Changa", "Tajawal", "Cairo", sans-serif; --ui-ar: "Tajawal", "Cairo", sans-serif; --board: #21160f; --board-2: #2a1c13; --dots: rgba(217,165,91,.38); }
.ar-title { font-family: var(--ar-display); font-weight: 800; letter-spacing: 0; line-height: 1.1; }
body[data-page="menu"] .page-title.ar-title,
body[data-page="category"] .page-title.ar-title { font-size: clamp(2.8rem, 8.5vw, 5rem); text-shadow: none; color: var(--ink); }
body[data-page="menu"] .page-ar, body[data-page="category"] .page-ar { font-family: var(--ui-ar); font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
body[data-page="category"] .cat-group { font-family: var(--ar-display); font-weight: 700; font-size: 1.15rem; color: var(--gold); }
.search input, .lead { font-family: var(--ui-ar); }

/* tabs instead of bordered pills */
.group-nav-wrap, .cat-chips-wrap { background: color-mix(in srgb, var(--bg) 94%, transparent); border-block: 1px solid var(--line); }
.group-nav, .cat-chips { gap: 1.4rem !important; padding: 0 16px !important; }
.group-nav a, .cat-chips a, .group-nav.small a {
  position: relative; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: .95rem 0 .85rem !important; font-family: var(--ar-display) !important; font-weight: 700 !important; font-size: 1.02rem !important; line-height: 1;
  color: var(--muted) !important; transition: color .25s; flex: none !important; }
.group-nav a::after, .cat-chips a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.group-nav a:hover, .cat-chips a:hover { color: var(--ink) !important; }
.group-nav a.on, .group-nav a[aria-current="page"], .cat-chips a[aria-current="page"] { color: var(--ink) !important; }
.group-nav a.on::after, .group-nav a[aria-current="page"]::after, .cat-chips a[aria-current="page"]::after { transform: scaleX(1); }
.group-nav.small { border-bottom: 1px solid var(--line); }
.group-nav.small a { font-size: .92rem !important; padding: .75rem 0 .65rem !important; }
.cat-chips a { font-size: 1.05rem !important; }
.cat-chips a[aria-current="page"]::after { background: var(--primary); }

/* group headers like the printed menu tags */
.mg-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 1.2rem; align-items: center; }
.mg-head::after { display: none; }
.mg-head h2 { font-family: var(--ar-display); font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.mg-head .mg-count { font-family: var(--ui-ar); font-weight: 700; font-size: .78rem; color: var(--gold); background: var(--board-2); padding: .35rem .7rem; border-radius: 999px; }
.mgroup + .mgroup { padding-top: 2rem; border-top: 1px dashed var(--line-strong); }

/* category tiles: dark board cards */
.mtile { background: linear-gradient(180deg, var(--board-2), var(--board)) !important; color: var(--ink) !important; border: 0 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 20px 36px -26px #000 !important; border-radius: 22px !important; }
.mtile .ct-pic { background: radial-gradient(62% 60% at 50% 58%, rgba(232,112,44,.28), transparent 72%) !important; }
.mtile h3 { font-family: var(--ar-display) !important; font-weight: 800 !important; color: var(--ink) !important; font-size: 1.45rem !important; }
.mtile .ct-meta { color: var(--muted) !important; font-family: var(--ui-ar) !important; }
.mtile .ct-meta b { color: var(--gold) !important; }
.mtile .ct-go { border: 0 !important; background: var(--gold); color: #2A1A10 !important; }
.mtile:hover .ct-go { background: var(--primary) !important; color: #fff !important; }
@media (max-width: 640px) { .mtile h3 { font-size: 1.2rem !important; } }

/* item rows: name ······ price */
.mlist { display: grid; grid-template-columns: 1fr; gap: .15rem; }
@media (min-width: 900px) { .mlist { grid-template-columns: 1fr 1fr; column-gap: 2.4rem; } }
.mrow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: .7rem .2rem; border-bottom: 1px solid var(--line); cursor: pointer; direction: rtl; transition: background .25s; border-radius: 10px; }
.mrow:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.mrow.off { opacity: .5; }
.mr-pic { position: relative; width: 74px; height: 74px; border-radius: 16px; overflow: hidden; background: radial-gradient(62% 60% at 50% 58%, rgba(232,112,44,.3), transparent 72%), var(--board-2); display: block; }
.mr-pic img, .mr-pic .kaek-img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 6% !important; margin: 0 !important; max-width: none !important; }
.mr-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; min-width: 0; }
.mr-name { font-family: var(--ui-ar); font-weight: 800; font-size: 1.12rem; color: var(--ink); line-height: 1.35; }
.mr-off { font-family: var(--ui-ar); font-size: .72rem; font-weight: 700; color: #fff; background: var(--primary); border-radius: 999px; padding: .1rem .5rem; }
.mr-dots { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted var(--dots); transform: translateY(-.3em); }
.mr-price { font-family: var(--ui-ar); font-weight: 800; font-size: 1.05rem; color: var(--gold); white-space: nowrap; }
.mr-desc { flex-basis: 100%; font-family: var(--ui-ar); font-size: .85rem; color: var(--muted); }
.mrow .add { position: static !important; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; border: 0; font-size: 1.3rem; line-height: 1; box-shadow: 0 8px 18px -10px rgba(200,68,44,.9); }
.mrow .add.has { background: var(--gold); color: #2A1A10; font-size: 1rem; }
@media (max-width: 640px) {
  .mrow { gap: .7rem; padding: .6rem 0; }
  .mr-pic { width: 62px; height: 62px; border-radius: 14px; }
  .mr-name { font-size: 1rem; }
  .mr-price { font-size: .95rem; }
  .mrow .add { width: 34px; height: 34px; }
}
.cat-next b { font-family: var(--ar-display); font-weight: 800; }
#results .block-head h2 { font-family: var(--ui-ar); }

/* ===== menu items: the old cards, without photos ===== */
.kcard.noimg { padding: 1.1rem 1.1rem 1rem !important; min-height: 150px; justify-content: space-between; gap: .6rem; text-align: right; direction: rtl;
  background: linear-gradient(180deg, var(--board-2, #2a1c13), var(--board, #21160f)) !important; border: 1px solid var(--line) !important; border-radius: 20px !important; }
.kcard.noimg:hover { border-color: color-mix(in srgb, var(--gold) 55%, transparent) !important; }
.kcard.noimg .kname { font-family: var(--ar-display, "Changa"), sans-serif !important; font-weight: 800 !important; font-size: 1.35rem !important; line-height: 1.3 !important; color: var(--ink) !important; text-align: right; }
.kcard.noimg .kdesc { font-family: var(--ui-ar, "Tajawal"), sans-serif; font-size: .9rem; color: var(--muted); }
.kcard.noimg .kfoot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .7rem; border-top: 1px dashed var(--line-strong); }
.kcard.noimg .kprice { font-family: var(--ui-ar, "Tajawal"), sans-serif !important; font-weight: 800 !important; font-size: 1.05rem !important; color: var(--gold) !important; align-self: center !important; white-space: nowrap; }
.kcard.noimg .add { position: static !important; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; border: 0; font-size: 1.3rem; box-shadow: 0 8px 18px -10px rgba(200,68,44,.9); }
.kcard.noimg .add.has { background: var(--gold); color: #2A1A10; font-size: 1rem; }
@media (max-width: 640px) {
  .kgrid:has(.kcard.noimg) { grid-template-columns: 1fr 1fr !important; gap: .6rem !important; }
  .kcard.noimg { min-height: 128px; padding: .85rem .8rem .8rem !important; border-radius: 16px !important; }
  .kcard.noimg .kname { font-size: 1.08rem !important; }
  .kcard.noimg .kprice { font-size: .88rem !important; }
  .kcard.noimg .add { width: 34px; height: 34px; }
}
/* Tajawal keeps the dots under final ي (عكاوي) */
.kcard.noimg .kname { font-family: "Tajawal", "Cairo", sans-serif !important; font-weight: 800 !important; }
