/* ==========================================================================
   BLAZE HOT CHICKEN – style.css (v2)
   Brand colors come from blaze-menu.com. Orange/yellow are only used for
   fire effects (embers, flame transition, glows).
   ========================================================================== */

:root {
  --red: #d01425;            /* Blaze primary */
  --red-dark: #a8101e;
  --red-soft: rgba(208, 20, 37, .12);
  --black: #0b0102;          /* Blaze dark */
  --bg: #eae8e2;             /* Blaze background */
  --surface: #ffffff;
  --text: #0b0102;
  --muted: rgba(11, 1, 2, .68);
  --border: rgba(11, 1, 2, .1);
  --orange: #ff6a13;         /* fire accent */
  --yellow: #ffb321;         /* fire accent */
  --wa: #25d366;

  --font-heading: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;

  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px rgba(11, 1, 2, .16);
  --shadow-soft: 0 10px 22px rgba(0, 0, 0, .07);
  --header-h: 66px;
  --pad: clamp(16px, 4vw, 32px);
  --ease-out: cubic-bezier(.2, .9, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; margin-top: 34px; }
.skip-link { position: fixed; left: 10px; top: -60px; z-index: 500; background: var(--black); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; overflow: hidden; isolation: isolate;
  font-weight: 800; text-decoration: none; letter-spacing: .01em;
  transition: transform .2s var(--ease-out), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.96); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(208, 20, 37, .32); }
.btn-red:hover { background: var(--red-dark); }
.btn-wa { background: var(--wa); color: #06361a; }
.btn-wa:hover { filter: brightness(.95); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* The "fire" button: pulsing glow + flames that rise on hover */
.btn-fire {
  background: var(--red); color: #fff; font-family: var(--font-heading); font-weight: 400;
  font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; min-height: 58px; padding: 0 30px;
  animation: firePulse 2.2s ease-in-out infinite;
}
.btn-fire .btn-label, .btn-fire svg { position: relative; z-index: 2; }
.btn-fire-flames {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 90% at 20% 120%, var(--yellow), transparent 60%),
    radial-gradient(50% 80% at 55% 130%, var(--orange), transparent 62%),
    radial-gradient(60% 90% at 90% 125%, var(--yellow), transparent 60%);
  transform: translateY(70%); transition: transform .45s var(--ease-out);
  filter: blur(2px);
}
.btn-fire:hover .btn-fire-flames, .btn-fire:focus-visible .btn-fire-flames { transform: translateY(0); animation: lick .6s ease-in-out infinite alternate; }
.btn-fire:hover { transform: translateY(-2px) scale(1.03); }
.btn-fire svg { transition: transform .25s var(--ease-out); }
.btn-fire:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn-fire svg { transform: scaleX(-1); }
[dir="rtl"] .btn-fire:hover svg { transform: scaleX(-1) translateX(4px); }
@keyframes firePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 19, .55), 0 12px 30px rgba(208, 20, 37, .45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 106, 19, 0), 0 12px 38px rgba(255, 106, 19, .55); }
}
@keyframes lick { from { transform: translateY(4%) scaleY(1); } to { transform: translateY(-4%) scaleY(1.08); } }

.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--black); }

.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; font-size: 1rem; }
.link-btn { background: none; border: 0; padding: 8px 0; font-weight: 700; text-decoration: underline; color: var(--muted); }
.link-btn.danger { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(234, 232, 226, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border); transition: background-color .3s, border-color .3s, color .3s;
}
/* Transparent header over the hero */
body.on-home:not(.scrolled) .site-header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
body.on-home:not(.scrolled) .lang-select, body.on-home:not(.scrolled) .cart-btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
body.on-home:not(.scrolled) .cart-btn-total { color: rgba(255,255,255,.8); }
body.on-home:not(.scrolled) .lang-select option { color: var(--black); }
.header-row { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px var(--red); transition: transform .4s var(--ease-out); }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.08); }
.brand-name { font-family: var(--font-heading); font-size: 1.6rem; color: var(--red); letter-spacing: .03em; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.header-link { display: none; font-weight: 800; text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.header-link:hover { color: var(--red); }
.lang-select { height: 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding: 0 10px; font-weight: 800; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 800; box-shadow: var(--shadow-soft);
}
.cart-btn.shake { animation: shake .5s ease; }
@keyframes shake { 20% { transform: rotate(-8deg) scale(1.08); } 40% { transform: rotate(7deg) scale(1.08); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .78rem; display: grid; place-items: center; }
.cart-btn-total { color: var(--muted); font-size: .9rem; }

/* ---------- Reveal animations ---------- */
.reveal-now { opacity: 0; animation: fadeUp .8s var(--ease-out) var(--d, 0s) both; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out) var(--d, 0s), transform .8s var(--ease-out) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==================== HOME ==================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--black); overflow: hidden;
}
.hero-media { position: absolute; inset: -30px; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease-out); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0) translate(-1.5%, 1%); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11,1,2,.55) 0%, rgba(11,1,2,.25) 30%, rgba(11,1,2,.7) 62%, rgba(11,1,2,.97) 100%),
  radial-gradient(120% 70% at 50% 120%, rgba(208,20,37,.55), transparent 60%); }
.hero-glow { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; background: radial-gradient(50% 50% at 50% 50%, rgba(255,106,19,.45), transparent 70%); animation: glow 3s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { from { opacity: .55; transform: scaleX(.9); } to { opacity: 1; transform: scaleX(1.05); } }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(70px, 12vh, 110px); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; background: rgba(208,20,37,.92); padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: .92rem; box-shadow: 0 8px 24px rgba(208,20,37,.4); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,179,33,.8); animation: dot 1.6s ease-out infinite; flex: 0 0 auto; }
@keyframes dot { to { box-shadow: 0 0 0 12px rgba(255,179,33,0); } }

.hero-title { margin: 0; font-family: var(--font-heading); font-weight: 400; line-height: .82; text-transform: uppercase; }
.hero-word { display: block; font-size: clamp(5.4rem, 27vw, 15rem); letter-spacing: .01em; direction: ltr; }
.hero-word span {
  display: inline-block; color: #fff;
  animation: letterIn .8s cubic-bezier(.2, 1.5, .4, 1) calc(.2s + var(--i) * .08s) both, flicker 3.2s linear calc(1.4s + var(--i) * .3s) infinite;
  text-shadow: 0 0 18px rgba(255,106,19,.55), 0 0 42px rgba(208,20,37,.6), 0 6px 0 rgba(0,0,0,.25);
}
@keyframes letterIn { from { opacity: 0; transform: translateY(-80%) rotate(-14deg) scale(1.5); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes flicker {
  0%, 100% { text-shadow: 0 0 18px rgba(255,106,19,.55), 0 0 42px rgba(208,20,37,.6), 0 6px 0 rgba(0,0,0,.25); }
  45% { text-shadow: 0 0 26px rgba(255,179,33,.75), 0 0 60px rgba(255,106,19,.65), 0 6px 0 rgba(0,0,0,.25); }
  50% { text-shadow: 0 0 10px rgba(255,106,19,.35), 0 0 30px rgba(208,20,37,.45), 0 6px 0 rgba(0,0,0,.25); }
  55% { text-shadow: 0 0 24px rgba(255,179,33,.7), 0 0 56px rgba(255,106,19,.6), 0 6px 0 rgba(0,0,0,.25); }
}
.hero-sub-word {
  display: block; font-size: clamp(2.1rem, 9.5vw, 5.4rem); letter-spacing: .06em; margin-top: 6px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--orange), var(--red));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fadeUp .8s var(--ease-out) .75s both, fireShift 6s linear infinite;
  filter: drop-shadow(0 4px 18px rgba(208,20,37,.5));
}
@keyframes fireShift { to { background-position: 300% 0; } }
.hero-slogan { font-family: var(--font-heading); font-size: clamp(1.3rem, 4.6vw, 2.1rem); margin: 16px 0 26px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.92); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; }
.hero-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 700; font-size: .9rem; backdrop-filter: blur(6px); }

.scroll-hint { position: absolute; left: 50%; bottom: 18px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.5deg) scale(1.03); margin-top: -10px; position: relative; z-index: 3; box-shadow: 0 10px 30px rgba(208,20,37,.35); direction: ltr; }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 26s linear infinite; font-family: var(--font-heading); font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: .04em; white-space: nowrap; align-items: center; }
.marquee-track b { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section titles */
.section-title { font-family: var(--font-heading); font-weight: 400; color: var(--red); font-size: clamp(2.8rem, 10vw, 4.8rem); line-height: .95; margin: 0 0 12px; letter-spacing: .01em; text-transform: uppercase; }
.section-title.light { color: #fff; }
.section-lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 28px; }

/* Heat */
.heat { padding: 80px 0 70px; }
.heat-grid { display: grid; gap: 16px; }
.heat-card { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease-out), box-shadow .3s; }
.heat-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.heat-card h3 { font-family: var(--font-heading); font-weight: 400; font-size: 2.2rem; margin: 6px 0 4px; color: var(--red); letter-spacing: .02em; }
.heat-card p { margin: 0; }
.heat-flames { font-size: 1.8rem; display: inline-block; transform-origin: bottom center; }
.heat-card:hover .heat-flames, .heat-card-max .heat-flames { animation: burn .5s ease-in-out infinite alternate; }
@keyframes burn { from { transform: scaleY(1) rotate(-3deg); } to { transform: scaleY(1.15) rotate(3deg); } }
.heat-card-max { background: var(--black); color: #fff; border-color: transparent; }
.heat-card-max h3 { color: var(--orange); }
.meter { height: 10px; border-radius: 99px; background: var(--red-soft); margin-top: 18px; overflow: hidden; }
.heat-card-max .meter { background: rgba(255,255,255,.12); }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--red)); transition: width 1.4s var(--ease-out) calc(var(--d, 0s) + .3s); }
.heat-card.in .meter span { width: var(--level); }

/* Lineup */
.lineup { background: var(--black); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.lineup::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(50% 50% at 50% 50%, rgba(208,20,37,.35), transparent 70%); pointer-events: none; }
.lineup-grid { display: grid; gap: 18px; margin-top: 18px; position: relative; }
.lineup-card {
  background: #170708; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.lineup-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(208,20,37,.35); border-color: rgba(255,106,19,.5); }
.lineup-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--red); }
.lineup-img svg { width: 100%; height: 100%; display: block; transition: transform .6s var(--ease-out); }
.lineup-card:hover .lineup-img svg { transform: scale(1.08); }
.lineup-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lineup-body h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.7rem; margin: 0; letter-spacing: .02em; }
.lineup-body p { margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lineup-body .price { display: flex; -webkit-line-clamp: unset; }
.lineup-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.lineup .price .now { color: var(--yellow); }
.lineup .price .old { color: rgba(255,255,255,.5); }

/* About */
.about { padding: 80px 0; overflow: hidden; }
.about-grid { display: grid; gap: 34px; align-items: center; }
.about-text { font-size: 1.1rem; max-width: 60ch; }
.about-logo-wrap { display: grid; place-items: center; }
.logo-ring { position: relative; width: min(250px, 62vw); aspect-ratio: 1; border-radius: 50%; padding: 10px; }
.logo-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--red), var(--orange), var(--yellow), var(--orange), var(--red), var(--black), var(--red)); animation: spin 6s linear infinite; filter: blur(.5px); }
.logo-ring::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,19,.35), transparent 65%); z-index: -1; animation: glow 2.6s ease-in-out infinite alternate; }
.about-logo { position: relative; width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: cover; border: 6px solid var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Info */
.info { padding: 20px 0 80px; }
.info-grid { display: grid; gap: 18px; }
.info-cards { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.info-card { background: var(--surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.info-card h3 { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.info-card p { margin: 0; font-weight: 700; word-break: break-word; }
.info-card p + p { margin-top: 6px; font-weight: 500; }
.open-status:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.open-status.is-open { background: rgba(13,122,58,.12); color: #0d7a3a; }
.open-status.is-closed { background: var(--red-soft); color: var(--red); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); background: var(--surface); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ==================== MENU VIEW ==================== */
.menu-section { padding: calc(var(--header-h) + 22px) 0 70px; min-height: 100vh; }
.menu-head { position: relative; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.back-link:hover { color: var(--red); }
[dir="rtl"] .back-link svg { transform: scaleX(-1); }
.menu-title { font-family: var(--font-heading); font-weight: 400; color: var(--red); font-size: clamp(4rem, 18vw, 8rem); line-height: .9; margin: 16px 0 6px; display: flex; align-items: flex-end; gap: 10px; }
.menu-title-fire { font-size: .5em; display: inline-block; transform-origin: bottom center; animation: burn .45s ease-in-out infinite alternate; }
.menu-promo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem; }
.menu-tools { position: sticky; top: var(--header-h); z-index: 30; background: var(--bg); padding: 12px var(--pad); margin: 0 calc(var(--pad) * -1); transition: box-shadow .2s; }
.menu-tools.stuck { box-shadow: 0 10px 20px -14px rgba(11,1,2,.35); }
.search-wrap { position: relative; margin-bottom: 10px; }
.search-wrap svg { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-wrap input { width: 100%; height: 50px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding-inline: 46px 16px; box-shadow: var(--shadow-soft); transition: box-shadow .2s, border-color .2s; }
.search-wrap input:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); outline: none; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: 0 0 auto; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 800; white-space: nowrap; transition: background-color .2s, color .2s, transform .2s; }
.cat-tab:hover { transform: translateY(-1px); }
.cat-tab[aria-selected="true"] { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 8px 18px rgba(208,20,37,.3); }

.cat-heading { font-family: var(--font-heading); font-weight: 400; font-size: 2rem; margin: 30px 0 12px; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.cat-heading::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), transparent); }
[dir="rtl"] .cat-heading::after { background: linear-gradient(270deg, var(--red), transparent); }
.items-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.item-card {
  display: grid; grid-template-columns: 108px 1fr; gap: 14px; align-items: start;
  background: var(--surface); border-radius: var(--radius-lg); padding: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-soft);
  animation: cardIn .55s var(--ease-out) calc(var(--n, 0) * 45ms) both;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(208,20,37,.25); }
@keyframes cardIn { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
.item-card.unavailable { opacity: .55; }
.thumb { width: 108px; aspect-ratio: 300 / 260; border-radius: 14px; overflow: hidden; background: var(--red); }
.thumb svg { width: 100%; height: 100%; display: block; transition: transform .5s var(--ease-out); }
.item-card:hover .thumb svg { transform: scale(1.1) rotate(-1deg); }
.thumb-placeholder { display: grid; place-items: center; font-size: 2.3rem; color: #fff; height: 100%; background: radial-gradient(circle at 50% 120%, var(--orange), var(--red) 70%); }
.item-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.item-name { font-family: var(--font-heading); font-weight: 400; font-size: 1.3rem; color: var(--red); line-height: 1.05; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
.item-desc { margin: 0; color: var(--muted); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red); }
.tag.dark { background: var(--black); color: #fff; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 6px; font-weight: 800; margin: 0; }
.price .old { color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: .9rem; }
.price .now { color: var(--red); font-size: 1.2rem; }
.add-btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.no-results { text-align: center; padding: 50px 10px; color: var(--muted); font-size: 1.05rem; }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--black); color: #fff; padding: 44px 0 100px; }
.footer-grid { display: grid; gap: 20px; align-items: center; }
.footer-brand { font-family: var(--font-heading); font-size: 2.2rem; margin: 0; letter-spacing: .02em; }
.footer-brand span { color: var(--red); }
.muted-light { color: rgba(255,255,255,.7); margin: 6px 0 0; }
.socials { display: flex; gap: 12px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s, transform .2s; }
.socials a:hover { background: var(--red); transform: translateY(-3px); }
.copyright { margin-top: 26px; color: rgba(255,255,255,.55); font-size: .85rem; }

/* ==================== FLOATING WHATSAPP ==================== */
.wa-float {
  position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 18px; z-index: 45;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .25s var(--ease-out);
  animation: waIn .6s var(--ease-out) 1.6s both;
}
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out 2.2s infinite; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes waIn { from { opacity: 0; transform: scale(.4) translateY(30px); } }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ==================== FLAME TRANSITION ==================== */
.blaze-wipe { position: fixed; inset: 0; z-index: 400; pointer-events: none; visibility: hidden; overflow: hidden; }
.blaze-wipe.active { visibility: visible; pointer-events: all; }
.wipe-layer { position: absolute; left: 0; right: 0; top: 0; height: 100%; transform: translateY(calc(100% + 220px)); will-change: transform; }
.wipe-layer.l1 { background: var(--yellow); color: var(--yellow); }
.wipe-layer.l2 { background: var(--orange); color: var(--orange); }
.wipe-layer.l3 { background: var(--black); color: var(--black); }
.wipe-layer.l2 { background: linear-gradient(180deg, var(--orange), var(--red) 70%); }
.flame-edge { position: absolute; left: -2%; width: 104%; bottom: calc(100% - 2px); height: clamp(90px, 16vh, 170px); fill: currentColor; transform-origin: bottom center; animation: flameDance .35s ease-in-out infinite alternate; }
.l2 .flame-edge { animation-delay: -.12s; }
.l3 .flame-edge { animation-delay: -.24s; }
@keyframes flameDance { from { transform: scaleY(.85) skewX(-3deg); } to { transform: scaleY(1.12) skewX(3deg); } }
.wipe-word { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; opacity: 0; }
.wipe-word span {
  font-family: var(--font-heading); font-size: clamp(4.5rem, 22vw, 13rem); line-height: .9; letter-spacing: .02em;
  background: linear-gradient(0deg, var(--red) 10%, var(--orange) 55%, var(--yellow) 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255,106,19,.55));
}
.wipe-word small { font-size: clamp(2rem, 8vw, 4rem); display: block; transform-origin: bottom center; animation: burn .3s ease-in-out infinite alternate; }

/* Flying flame when adding to cart */
.fly { position: fixed; z-index: 300; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--red); box-shadow: 0 0 20px rgba(255,106,19,.8); pointer-events: none; }

/* ==================== OVERLAY + SHEETS ==================== */
.overlay { position: fixed; inset: 0; background: rgba(11, 1, 2, .55); z-index: 60; animation: fadeIn .2s ease; backdrop-filter: blur(2px); }
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  position: fixed; z-index: 70; inset-inline: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column;
  background: var(--bg); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.28);
  animation: sheetUp .35s var(--ease-out); padding-bottom: env(safe-area-inset-bottom);
}
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-handle { width: 46px; height: 5px; border-radius: 9px; background: rgba(11,1,2,.2); margin: 10px auto 2px; flex: 0 0 auto; }
.sheet-close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; }
.sheet-body { overflow-y: auto; padding: 8px var(--pad) 20px; }

.is-thumb { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--red); margin-top: 10px; }
.is-thumb svg { width: 100%; height: 100%; display: block; animation: zoomOut .8s var(--ease-out) both; }
@keyframes zoomOut { from { transform: scale(1.15); } }
.is-title { font-family: var(--font-heading); font-weight: 400; color: var(--red); font-size: 2rem; margin: 14px 0 4px; line-height: 1.02; text-transform: uppercase; }
.is-group { border: 0; padding: 0; margin: 18px 0 0; }
.is-group legend, .is-label { font-weight: 800; margin-bottom: 8px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 800; cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
.chip span:active { transform: scale(.95); }
.chip input:checked + span { background: var(--red); color: #fff; border-color: var(--red); }
.chip.blazing input:checked + span { background: linear-gradient(90deg, var(--red), var(--orange)); box-shadow: 0 6px 16px rgba(255,106,19,.45); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.is-note { width: 100%; border-radius: 14px; border: 1px solid var(--border); padding: 10px 12px; background: var(--surface); resize: vertical; }
.is-actions { display: flex; gap: 12px; align-items: center; margin-top: 20px; position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 4px; }
.is-actions .btn { flex: 1; }

.qty { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; height: 46px; }
.qty button { width: 42px; height: 100%; background: none; border: 0; font-size: 1.2rem; font-weight: 800; border-radius: 999px; }
.qty button:hover { color: var(--red); }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }

/* Cart drawer */
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 6px var(--pad) 10px; }
.drawer-head h2 { font-family: var(--font-heading); font-weight: 400; color: var(--red); margin: 0; font-size: 2rem; }
.drawer-scroll { overflow-y: auto; padding: 0 var(--pad); flex: 1 1 auto; min-height: 120px; }
.cart-line { background: var(--surface); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; border: 1px solid var(--border); animation: fadeUp .3s var(--ease-out) both; }
.cl-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cl-name { font-weight: 800; margin: 0; }
.cl-meta { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.cl-price { text-align: end; font-weight: 800; color: var(--red); white-space: nowrap; margin: 0; }
.cl-price .old { display: block; color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: .8rem; }
.cl-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.cl-note { width: 100%; margin-top: 10px; border-radius: 12px; border: 1px solid var(--border); padding: 8px 10px; background: var(--bg); font-size: .9rem; }
.remove-btn { background: none; border: 0; color: var(--red); font-weight: 800; text-decoration: underline; padding: 6px; }
.cart-empty { text-align: center; padding: 30px 0; }
.cart-empty-emoji { font-size: 2.8rem; margin: 0; display: inline-block; animation: burn .5s ease-in-out infinite alternate; transform-origin: bottom center; }
.drawer-foot { border-top: 1px solid var(--border); padding: 12px var(--pad) 14px; background: var(--bg); flex: 0 0 auto; }
.totals { margin: 0 0 6px; }
.totals div { display: flex; justify-content: space-between; padding: 2px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 800; }
.totals .saving dd { color: #0d7a3a; }
.totals .total { font-size: 1.18rem; padding-top: 6px; }
.totals .total dt { color: var(--text); font-weight: 800; }
.drawer-foot .btn + .btn { margin-top: 8px; }
.drawer-foot .link-btn { display: block; margin: 6px auto 0; }

.checkout-form .field { margin: 0 0 14px; border: 0; padding: 0; }
.checkout-form label, .checkout-form legend { display: block; font-weight: 800; margin-bottom: 6px; }
.checkout-form input:not([type="radio"]), .checkout-form textarea { width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); padding: 10px 12px; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.checkout-form [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); animation: nope .35s ease; }
@keyframes nope { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.error { color: var(--red); font-size: .85rem; margin: 4px 0 0; font-weight: 700; }
.error:empty { display: none; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; margin: 0; }
.seg label:has(input:checked) { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.seg input { accent-color: var(--red); }
.sent-view { text-align: center; padding: 30px var(--pad); overflow-y: auto; }
.sent-view h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.8rem; color: var(--red); margin: 8px 0; }

/* Toast */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 96px; transform: translate(-50%, 20px);
  background: var(--black); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800;
  box-shadow: 0 10px 30px rgba(208,20,37,.35); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease-out);
  max-width: calc(100vw - 32px); text-align: center; border: 1px solid rgba(255,106,19,.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 430px) {
  .cart-btn-total { display: none; }
  .brand-name { font-size: 1.35rem; }
  .brand-logo { width: 38px; height: 38px; }
  .header-actions { gap: 6px; }
  .lang-select { padding: 0 6px; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .info-cards { grid-template-columns: 1fr; }
}
@media (max-width: 340px) { .brand-name { display: none; } }

@media (min-width: 640px) {
  .items-grid { grid-template-columns: 1fr 1fr; }
  .heat-grid, .lineup-grid { grid-template-columns: repeat(3, 1fr); }
  .header-link { display: inline-block; }
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.4fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer { padding-bottom: 44px; }
  .cart-drawer { inset-inline: auto 0; top: 0; bottom: 0; width: 440px; max-height: none; border-radius: 0; animation: drawerIn .35s var(--ease-out); }
  [dir="rtl"] .cart-drawer { animation-name: drawerInRtl; }
  .cart-drawer .sheet-handle { display: none; }
  .cart-drawer .drawer-head { padding-top: 18px; }
  .item-sheet { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 540px; max-height: 90vh; border-radius: 26px; animation: pop .3s var(--ease-out); }
  .item-sheet .sheet-handle { visibility: hidden; }
}
@keyframes drawerIn { from { transform: translateX(100%); } }
@keyframes drawerInRtl { from { transform: translateX(-100%); } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -44%) scale(.96); } }

[dir="rtl"] body { font-family: "Noto Sans Arabic", var(--font-body); }

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .embers { display: none; }
}
