/* Waffle Hut — design tokens and components.
   Mobile first. RTL is the default direction, so layout uses logical properties only. */

/* ---------- Fonts (self-hosted, subset) ---------- */
/* Cairo Black (client's pick, 2026-09-17) is the only display face. The 900 file is declared for every
   weight so headings keep their font-weight: 400 without the browser faking bold. */
@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/ReadexPro-arabic.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/ReadexPro-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  src: url("../fonts/Caveat-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand colour: logo red, chocolate, waffle gold, batter */
  --red: #E42424;
  --red-press: #C41D22;
  --red-deep: #B81A1F;      /* red for text on light grounds (6:1) */
  --cocoa: #1E120C;
  --cocoa-2: #2C1B12;
  --cocoa-3: #3A261A;
  --gold: #E9A23B;
  --gold-soft: #F4C878;
  --batter: #FFF4E0;
  --batter-2: #F8E7C8;
  --paper: #FFF8EC;
  --white: #FFFFFF;

  /* Semantic */
  --ink: #23170F;
  --muted: #6B5646;
  --muted-on-dark: #CDB8A3;
  --line: #E6D2B0;
  --line-dark: rgba(233, 162, 59, 0.24);
  --control-border: #9C8266; /* 3.6:1 against white */

  /* Type */
  --font-display: "Cairo", "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-hero: var(--font-display);
  --font-note: "Caveat", "Segoe Print", cursive;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --step-5: clamp(3.25rem, 1.6rem + 7vw, 7rem);

  /* Space (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Shape, depth, motion, layers */
  --r-sm: 8px;
  --r-md: 18px;
  --r-pill: 999px;
  --sh-1: 0 10px 24px -14px rgba(35, 23, 15, 0.45);
  --sh-2: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 200ms;
  --z-sticky: 20;
  --z-toast: 60;

  --wrap: 72rem;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.25; }
html[lang="en"] :is(h1, h2) { line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  inset-inline-start: var(--sp-4);
  top: -100px;
  z-index: 100;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--cocoa);
  font-weight: 600;
}
.skip-link:focus { top: var(--sp-2); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-xl { width: 3rem; height: 3rem; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-press); }
.btn-gold { background: var(--gold); color: var(--cocoa); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-dark { background: var(--cocoa); color: var(--white); }
.btn-dark:hover { background: var(--cocoa-3); }
.btn-outline { border-color: currentColor; background: transparent; color: var(--batter); }
.btn-outline:hover { background: rgba(255, 244, 224, 0.1); }
.btn-outline-dark { border-color: var(--control-border); background: transparent; color: var(--ink); }
.btn-outline-dark:hover { background: var(--batter-2); }
.btn-block { width: 100%; }
.btn-sm { min-height: 2.75rem; padding: 0.45rem 1.1rem; font-size: var(--step--1); }
.btn-sm .icon { width: 1.1rem; height: 1.1rem; }
/* Two-line label: main text and a smaller note under it. */
.btn-stack { display: grid; gap: 0.1rem; text-align: start; }
.btn-stack small { font-size: 0.8rem; font-weight: 400; }

/* Arrow symbol points to the reading direction's "forward" (drawn for RTL). */
html[dir="ltr"] .icon-forward { transform: scaleX(-1); }

.text-link {
  color: var(--red-deep);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--ink); }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--batter);
  cursor: pointer;
}
.icon-btn:hover { background: var(--cocoa-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--cocoa);
  color: var(--batter);
  border-block-end: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-inline-end: auto;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  padding: var(--sp-2) 1rem var(--sp-5);
  background: var(--cocoa);
  border-block-end: 1px solid var(--line-dark);
}
.site-nav.is-open { display: block; }
.site-nav ul { display: flex; flex-direction: column; gap: var(--sp-1); }
.site-nav a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--muted-on-dark);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current="page"] { background: var(--gold); color: var(--cocoa); }

.header-actions { display: flex; align-items: center; gap: var(--sp-1); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  font-weight: 500;
  color: var(--batter);
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--gold); }
.lang-switch:lang(ar) { font-family: var(--font-body); }
.cart-count {
  position: absolute;
  top: 2px;
  inset-inline-end: 0;
  min-width: 1.25rem;
  height: 1.25rem;
  padding-inline: 0.3rem;
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}

@media (scripting: none) {
  .nav-toggle, [data-cart-open] { display: none; }
  .site-nav { display: block; position: static; order: 3; flex-basis: 100%; padding: 0 0 var(--sp-2); border: 0; }
  .site-nav ul { flex-direction: row; overflow-x: auto; }
  .site-nav a { font-size: var(--step-0); padding: 0.5rem 0.9rem; border-radius: var(--r-pill); white-space: nowrap; }
}

@media (min-width: 56rem) {
  .header-inner { gap: var(--sp-4); }
  .brand { margin-inline-end: 0; }
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    margin-inline: auto;
    padding: 0;
    background: none;
    border: 0;
  }
  .site-nav ul { flex-direction: row; }
  .site-nav a { padding: 0.5rem 1rem; border-radius: var(--r-pill); font-size: var(--step-0); }
  .site-nav a[aria-current="page"] { border-radius: 0; background: none; color: var(--white); box-shadow: inset 0 -2px 0 var(--red); }
}

/* ---------- Hero (home) ---------- */
/* Full-bleed photo (tools/prepare-photos.py) under a gradient that keeps the copy readable wherever the
   food sits in the picture. Phones: copy on top, food shows below it. Desktop: copy at the inline start. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cocoa);
  color: var(--batter);
}
.hero-photo,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: center bottom; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(30, 18, 12, 0.95) 0%, rgba(30, 18, 12, 0.86) 50%, rgba(30, 18, 12, 0.15) 82%, rgba(30, 18, 12, 0.45) 100%);
}
.hero-inner {
  display: grid;
  gap: var(--sp-6);
  padding-block: var(--sp-6) clamp(15rem, 75vw, 26rem);
}

.hero-seal {
  display: grid;
  place-content: center;
  justify-items: center;
  width: 6.25rem;
  aspect-ratio: 1;
  margin-block-end: var(--sp-4);
  border: 1.5px solid rgba(233, 162, 59, 0.75);
  border-radius: 50%;
  outline: 1px dashed rgba(233, 162, 59, 0.5);
  outline-offset: 3px;
  color: var(--batter);
  font-size: 0.75rem;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-10deg);
}
.hero-seal strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; line-height: 1.2; color: var(--gold); }
html[lang="en"] .hero-seal strong { font-size: 1.1rem; }
.hero-seal .icon { width: 0.85rem; height: 0.85rem; margin-block-start: 0.2rem; color: var(--gold); }

.hero-title {
  font-family: var(--font-hero);
  font-size: var(--step-5);
  line-height: 1.12;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
html[lang="en"] .hero-title { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.25rem); line-height: 1.05; }
.hero-line { display: block; }
.hero-accent {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.08em;
  padding-block-end: 0.18em;
  color: var(--gold);
}
.hero-pin { width: 0.36em; height: 0.36em; margin-block-start: 0.12em; }
.hero-swoosh {
  position: absolute;
  inset-inline-start: -0.1em;
  bottom: 0;
  width: 105%;
  height: 0.26em;
  overflow: visible;
}
.hero-swoosh path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.hero-lead {
  max-width: 42ch;
  margin-block-start: var(--sp-5);
  font-size: var(--step-1);
  color: var(--batter);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block-start: var(--sp-6);
}
.btn-menu { min-height: 3.5rem; padding-block: 0.5rem; padding-inline: 1.3rem 1.7rem; }
.hero .btn-outline { background: rgba(30, 18, 12, 0.35); }
.hero .btn-outline:hover { background: rgba(255, 244, 224, 0.12); }

.hero-doodles { display: none; }

@media (min-width: 56rem) {
  .hero::before {
    background: linear-gradient(to left, rgba(30, 18, 12, 0.94) 0%, rgba(30, 18, 12, 0.8) 38%, rgba(30, 18, 12, 0.12) 72%, rgba(30, 18, 12, 0) 100%);
  }
  html[dir="ltr"] .hero::before {
    background: linear-gradient(to right, rgba(30, 18, 12, 0.94) 0%, rgba(30, 18, 12, 0.8) 38%, rgba(30, 18, 12, 0.12) 72%, rgba(30, 18, 12, 0) 100%);
  }
  .hero-photo img { object-position: center; }
  /* The client's photo has the food on the right; Arabic puts the heading there, so mirror it. */
  html[dir="rtl"] .hero-photo img { transform: scaleX(-1); }
  .hero-inner {
    grid-template-columns: minmax(0, 42rem) 1fr;
    align-items: center;
    min-height: min(46rem, calc(100svh - var(--header-h)));
    padding-block: var(--sp-8);
  }
  .hero-seal { width: 7.5rem; margin-block-end: var(--sp-2); font-size: 0.85rem; }
  .hero-seal strong { font-size: 1.5rem; }
  html[lang="en"] .hero-seal strong { font-size: 1.3rem; }

  .hero-doodles { display: block; position: relative; align-self: stretch; }
  .hero-note {
    position: absolute;
    top: 8%;
    inset-inline-end: 4%;
    display: grid;
    font-family: var(--font-note);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--batter);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    transform: rotate(-8deg);
  }
  .hero-note span:last-child { padding-inline-start: 1.2em; }
  .hero-plane {
    position: absolute;
    top: 52%;
    inset-inline-start: -2rem;
    width: 12rem;
    overflow: visible;
    color: var(--batter);
    opacity: 0.85;
  }
  html[dir="ltr"] .hero-plane { transform: scaleX(-1); }
  .hero-plane path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .hero-plane .trail { stroke-dasharray: 6 8; }
}

/* Home: perks strip under the hero */
.perks { padding-block-start: var(--sp-6); background: var(--cocoa); color: var(--batter); }
.perk-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: var(--cocoa-2);
}
.perk {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.15rem;
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
}
.perk-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-block-end: var(--sp-2);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.perk-title { font-weight: 600; line-height: 1.35; color: var(--white); }
.perk-text { font-size: var(--step--1); line-height: 1.45; color: var(--muted-on-dark); }
@media (max-width: 55.99rem) {
  .perk:nth-child(odd) { border-inline-end: 1px solid var(--line-dark); }
  .perk:nth-child(-n+2) { border-block-end: 1px solid var(--line-dark); }
}
@media (min-width: 56rem) {
  .perk-list { grid-template-columns: repeat(4, 1fr); }
  .perk + .perk { border-inline-start: 1px solid var(--line-dark); }
}

/* Home: menu category cards (photo when available, otherwise the category icon) */
.title-accent::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin-block-start: 0.1em;
  border-radius: 2px;
  background: var(--red);
}
.dishes { padding-block-start: var(--sp-7); }
.dishes .section-head { align-items: end; }
.dish-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 56rem) { .dish-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); } }
.dish-card {
  position: relative;
  isolation: isolate;
  display: grid;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: radial-gradient(120% 90% at 50% 30%, var(--cocoa-3), var(--cocoa-2));
  color: var(--white);
  text-decoration: none;
}
.dish-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dish-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.92) 0%, rgba(20, 12, 8, 0) 55%);
}
.dish-icon { place-self: center; margin-block-end: 2.5rem; color: var(--gold); }
.dish-icon .icon { width: 4rem; height: 4rem; }
.dish-name {
  position: absolute;
  inset-inline: var(--sp-4) calc(var(--sp-3) + 2.5rem + var(--sp-2));
  bottom: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.1;
}
.dish-go {
  position: absolute;
  inset-inline-end: var(--sp-3);
  bottom: var(--sp-3);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 244, 224, 0.35);
  border-radius: 50%;
  background: rgba(20, 12, 8, 0.5);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.dish-go .icon { width: 1.1rem; height: 1.1rem; }
.dish-card:hover .dish-go { border-color: var(--red); background: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .dish-card img { transition: transform 400ms var(--ease); }
  .dish-card:hover img { transform: scale(1.05); }
}
/* Two narrow cards per row: drop the arrow circle so the name has the full width. */
@media (max-width: 29.99rem) {
  .dish-go { display: none; }
  .dish-name { inset-inline-end: var(--sp-3); inset-inline-start: var(--sp-3); bottom: var(--sp-3); font-size: var(--step-1); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--sp-8); }
@media (min-width: 56rem) { .section { padding-block: var(--sp-9); } }
.section-dark { background: var(--cocoa); color: var(--batter); }
.section-red { background: var(--red); color: var(--white); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-6);
  margin-block-end: var(--sp-6);
}
.section-title { font-size: var(--step-4); }
.section-dark .section-title { color: var(--white); }
.section-dark + .section-dark { border-block-start: 1px solid var(--line-dark); }

/* Home: how to order (a real sequence, so it is numbered) */
.steps { display: grid; gap: var(--sp-6); }
.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--sp-4); align-items: start; }
.step-num { font-family: var(--font-display); font-size: var(--step-4); line-height: 1; color: var(--gold); }
.step h3 { font-size: var(--step-2); color: var(--white); margin-block-end: var(--sp-1); }
.step p { color: var(--muted-on-dark); max-width: 36ch; }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-7); } }

/* Home: areas flow */
.area-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.9rem;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.5;
}
.area-flow li { display: inline-flex; align-items: center; gap: 0.9rem; }
.area-flow li:not(:last-child)::after {
  content: "";
  width: 0.38em;
  height: 0.38em;
  border-radius: 0.08em;
  background: var(--red);
  transform: rotate(45deg);
}

/* Home: call strip */
.call-strip { display: grid; gap: var(--sp-5); align-items: center; }
.call-numbers { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); margin-block-start: var(--sp-3); }
.call-numbers li { display: flex; align-items: center; gap: var(--sp-3); }
.call-number {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
}
.call-number:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.call-whatsapp {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cocoa);
  color: var(--white);
}
.call-whatsapp:hover { background: var(--cocoa-3); }
.call-note { margin-block-start: var(--sp-2); font-weight: 500; }
.call-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.section-red .btn-outline { color: var(--white); }
.section-red :focus-visible { outline-color: var(--cocoa); }
@media (min-width: 56rem) { .call-strip { grid-template-columns: 1fr auto; } }

/* ---------- Inner page head ---------- */
.page-head { padding-block: var(--sp-7); background: var(--cocoa); color: var(--batter); }
.page-title { font-size: var(--step-4); color: var(--white); }
.page-lead { max-width: 52ch; margin-block-start: var(--sp-3); color: var(--muted-on-dark); font-size: var(--step-1); }

/* ---------- Menu ---------- */
.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: calc(var(--z-sticky) - 1);
  background: var(--paper);
  border-block-end: 1px solid var(--line);
}
.cat-nav ul {
  display: flex;
  gap: var(--sp-2);
  padding-block: var(--sp-3);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding-inline: 1rem;
  border: 1px solid var(--control-border);
  border-radius: var(--r-pill);
  background: var(--white);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.cat-nav a .icon { width: 1.2rem; height: 1.2rem; }
.cat-nav a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--batter); }

.menu-cat { padding-block: var(--sp-7) var(--sp-2); scroll-margin-top: calc(var(--header-h) + 4.5rem); }
.menu-cat-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-block-end: var(--sp-2);
  padding-block-end: var(--sp-3);
  border-block-end: 3px solid var(--ink);
}
.menu-cat-head .icon { width: 2.25rem; height: 2.25rem; color: var(--red-deep); }
.menu-cat-title { font-size: var(--step-3); }
.menu-list { display: grid; column-gap: var(--sp-7); }
@media (min-width: 56rem) { .menu-list { grid-template-columns: 1fr 1fr; } }

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-1) var(--sp-4);
  align-items: center;
  padding-block: var(--sp-4);
  border-block-end: 1px dashed var(--line);
}
.menu-item-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: var(--sp-2); }
.menu-item-name { font-family: var(--font-body); font-size: var(--step-1); font-weight: 600; line-height: 1.4; }
.menu-item-leader { flex: 1; min-width: 1rem; border-block-end: 2px dotted var(--control-border); transform: translateY(-0.3em); }
.menu-item-price { font-weight: 700; color: var(--red-deep); white-space: nowrap; unicode-bidi: isolate; }
.menu-item-desc { color: var(--muted); font-size: var(--step--1); }
.menu-item-action { justify-self: end; }
.menu-note { padding-block: var(--sp-6) var(--sp-8); color: var(--muted); font-size: var(--step--1); }

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding-inline: 1rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.add-btn .icon { width: 1.1rem; height: 1.1rem; }
.add-btn:hover { background: var(--ink); color: var(--batter); }

.stepper { display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--ink); color: var(--batter); }
.stepper button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.stepper button:hover { background: var(--cocoa-3); }
.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper .icon { width: 1.1rem; height: 1.1rem; }
.stepper output { min-width: 1.75rem; font-weight: 700; text-align: center; }

.cart-bar {
  position: fixed;
  inset-inline: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 3.5rem;
  padding-block: 0.4rem;
  padding-inline: 1.25rem 0.4rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  box-shadow: var(--sh-2);
  cursor: pointer;
}
.cart-bar:hover { background: var(--red-press); }
.cart-bar-total { padding: 0.45rem 0.9rem; border-radius: var(--r-pill); background: rgba(0, 0, 0, 0.22); unicode-bidi: isolate; }
body.has-cart-bar main { padding-block-end: 5rem; }
@media (min-width: 56rem) {
  .cart-bar { inset-inline: auto 2rem; min-width: 22rem; }
}

.noscript { margin-block: var(--sp-5); padding: var(--sp-4); border-radius: var(--r-sm); background: var(--batter-2); }

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 100%;
  max-height: 92dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--sh-2);
}
.drawer::backdrop { background: rgba(20, 12, 8, 0.62); }
.drawer-inner { display: flex; flex-direction: column; max-height: 92dvh; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  border-block-end: 1px solid var(--line);
}
.drawer-title { font-size: var(--step-2); }
.drawer-title:focus { outline: none; }
.drawer .icon-btn { color: var(--ink); }
.drawer .icon-btn:hover { background: var(--batter-2); }
.drawer-body { padding: var(--sp-2) var(--sp-5) var(--sp-6); overflow-y: auto; overscroll-behavior: contain; }

@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: sheet-up 260ms var(--ease); }
  .drawer[open]::backdrop { animation: fade-in 260ms var(--ease); }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-side { from { transform: translateX(var(--slide-from)); } }
@keyframes fade-in { from { opacity: 0; } }

@media (min-width: 40rem) {
  .drawer {
    --slide-from: 100%;
    inset: 0 0 0 auto;
    width: min(28rem, 100%);
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  html[dir="rtl"] .drawer { --slide-from: -100%; inset: 0 auto 0 0; }
  .drawer-inner { height: 100%; max-height: 100dvh; }
  @media (prefers-reduced-motion: no-preference) {
    .drawer[open] { animation-name: sheet-side; }
  }
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-1) var(--sp-4);
  padding-block: var(--sp-4);
  border-block-end: 1px solid var(--line);
}
.cart-line-name { font-weight: 600; }
.cart-line-price { color: var(--muted); font-size: var(--step--1); unicode-bidi: isolate; }
.cart-line-total { font-weight: 700; unicode-bidi: isolate; }
.cart-line-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding-inline: 0.5rem;
  border: 0;
  background: none;
  color: var(--red-deep);
  font-weight: 600;
  cursor: pointer;
}
.remove-btn .icon { width: 1.1rem; height: 1.1rem; }
.remove-btn:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.cart-empty { display: grid; justify-items: center; gap: var(--sp-4); padding-block: var(--sp-7); color: var(--muted); text-align: center; }
.cart-summary { display: flex; justify-content: space-between; align-items: baseline; padding-block: var(--sp-4) var(--sp-1); font-size: var(--step-1); font-weight: 700; }
.cart-total { unicode-bidi: isolate; }
.cart-fee-note { margin-block-end: var(--sp-5); color: var(--muted); font-size: var(--step--1); }
.cart-sent { display: grid; justify-items: center; gap: var(--sp-4); padding-block: var(--sp-7); text-align: center; }
.cart-sent-icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--cocoa); color: var(--gold); }
.cart-sent-title { font-size: var(--step-2); }
.cart-sent-title:focus { outline: none; }

/* ---------- Forms ---------- */
.checkout { display: grid; gap: var(--sp-4); padding-block-start: var(--sp-5); border-block-start: 3px solid var(--ink); }
.checkout-title { font-size: var(--step-2); }
.field { display: grid; gap: 0.35rem; }
.field label, .segmented legend { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field-hint { color: var(--muted); font-size: var(--step--1); }
.field-error { color: var(--red-deep); font-size: var(--step--1); font-weight: 500; }
.field-error:empty, .form-error:empty, .form-status:empty { display: none; }
.form-error { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: #FBE3E1; color: var(--red-deep); font-weight: 500; }
.form-status { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--batter-2); }
.input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--control-border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
}
textarea.input { min-height: 5.5rem; resize: vertical; }
.input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--red-deep); border-width: 2px; }
html[dir="rtl"] .input[dir="ltr"] { text-align: right; }
select.input {
  appearance: none;
  padding-inline-end: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323170F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.1rem;
  background-position: right 0.9rem center;
}
html[dir="rtl"] select.input { background-position: left 0.9rem center; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin: 0; padding: 0; border: 0; }
.segmented legend { margin-block-end: 0.35rem; padding: 0; }
.segmented label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding-inline: var(--sp-2);
  border: 1.5px solid var(--control-border);
  border-radius: var(--r-sm);
  background: var(--white);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.segmented input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--batter); }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Areas ---------- */
.area-groups { display: grid; gap: var(--sp-6); }
@media (min-width: 40rem) { .area-groups { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .area-groups { grid-template-columns: repeat(4, 1fr); } }
.area-group h2 { font-size: var(--step-2); padding-block-end: var(--sp-2); border-block-end: 3px solid var(--ink); }
.area-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: var(--sp-3);
  border-block-end: 1px solid var(--line);
  font-size: var(--step-1);
  font-weight: 500;
}
.area-list .icon { width: 1.25rem; height: 1.25rem; color: var(--red-deep); }
.callout {
  display: grid;
  justify-items: start;
  gap: var(--sp-4);
  margin-block-start: var(--sp-8);
  padding: var(--sp-6);
  border-radius: var(--r-md);
  background: var(--cocoa);
  color: var(--batter);
}
.callout h2 { font-size: var(--step-3); color: var(--white); }
.callout p { color: var(--muted-on-dark); }
@media (min-width: 56rem) { .callout { grid-template-columns: 1fr auto; align-items: center; padding: var(--sp-7); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-list { border-block-start: 3px solid var(--ink); }
.contact-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 var(--sp-4);
  align-items: center;
  padding-block: var(--sp-4);
  border-block-end: 1px solid var(--line);
  text-decoration: none;
}
.contact-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--cocoa);
  color: var(--gold);
}
.contact-label { color: var(--muted); font-size: var(--step--1); }
.contact-value { font-size: var(--step-1); font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover .contact-value { color: var(--red-deep); }
.form-card {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--sh-1);
}
@media (min-width: 56rem) { .form-card { padding: var(--sp-6); } }
.form-card h2 { font-size: var(--step-3); }
.form-intro { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--sp-8) var(--sp-5); background: var(--cocoa); color: var(--muted-on-dark); }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 72px; height: 72px; margin-block-end: var(--sp-4); border-radius: 50%; }
.footer-brand p { max-width: 30ch; }
.footer-title { margin-block-end: var(--sp-2); font-family: var(--font-display); font-size: var(--step-2); color: var(--white); }
.footer-links a, .footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
}
.footer-contact .icon { width: 1.2rem; height: 1.2rem; color: var(--gold); }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.25em; }
.social { display: flex; gap: var(--sp-2); margin-block-start: var(--sp-3); }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--batter);
}
.social .icon { width: 1.3rem; height: 1.3rem; }
.social a:hover { background: var(--gold); color: var(--cocoa); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2) var(--sp-5);
  margin-block-start: var(--sp-7);
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid var(--line-dark);
  font-size: var(--step--1);
}
.credit a { color: var(--batter); font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; }
.credit a:hover { color: var(--gold); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  inset-inline: 1rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-toast);
  max-width: 24rem;
  margin-inline: auto;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--batter);
  text-align: center;
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf { display: grid; place-items: center; min-height: 70vh; padding-block: var(--sp-8); text-align: center; }
.nf-code { font-family: var(--font-display); font-size: clamp(5rem, 22vw, 10rem); line-height: 1; color: var(--red); }
.nf-block { display: grid; gap: var(--sp-3); justify-items: center; margin-block-start: var(--sp-5); }
.nf-block + .nf-block { margin-block-start: var(--sp-7); padding-block-start: var(--sp-6); border-block-start: 1px solid var(--line); }
.nf h1, .nf h2 { font-size: var(--step-3); }
