/* Chicken Amine: colours from the logo. Red page, white panels, yellow accent, black for small touches. */
:root {
  --red: #e1060f;
  --red-dark: #a8040b;
  --red-deep: #7d0208;
  --yellow: #fbba00;
  --yellow-soft: #fff4cc;
  --black: #141414;
  --white: #ffffff;
  --ink: #1d1d1d;
  --muted: #5d5d5d;
  --line: #ececec;
  --whatsapp: #1fae55;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.55);
  --header-h: 64px;
  --catbar-h: 56px;
  --font-display: "Baloo 2", "Cairo", system-ui, sans-serif;
  --font-body: "Poppins", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

[dir="rtl"] {
  --font-display: "Cairo", "Baloo 2", system-ui, sans-serif;
  --font-body: "Cairo", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + var(--catbar-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.35; }

/* Latin runs inside Arabic text keep left-to-right letter order. */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Intro: the logo builds itself from its four layers, then glides into the header ---------- */
.intro {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  pointer-events: none;
}
.intro__stage {
  position: relative;
  width: min(86vw, 520px);
  transform-origin: 0 0;
}
/* Each layer is a full-size cut of the logo, so stacked they rebuild it exactly. */
.intro__layer { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; opacity: 0; }
.intro__rooster { transform-origin: 17% 41%; }
.intro__sprig { transform-origin: 84.6% 41%; } /* the base of its stem */
.intro.is-done { display: none; }
html.no-intro .intro { display: none; }

/* ---------- Header ----------
   A plain white field (the logo's red lettering needs it): logo, two text links, the language, one action.
   No shadow at rest; it gets one only once it floats over the page. */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--white);
  color: var(--ink);
  transition: box-shadow 0.25s ease;
}
.header.is-floating { box-shadow: 0 10px 28px -18px rgba(70, 0, 4, 0.55); }
.header__inner {
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__logo { display: block; flex: none; margin-inline-end: auto; border-radius: 8px; }
.header__logo img { height: 46px; width: auto; transition: transform 0.25s ease; transform-origin: left center; }
[dir="rtl"] .header__logo img { transform-origin: right center; }
.header.is-floating .header__logo img { transform: scale(0.92); }
.header__nav { display: none; align-items: center; gap: 4px; }
.header__nav a,
.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
  border-radius: 8px;
  cursor: pointer;
}
.header__nav a:hover,
.lang-link:hover { color: var(--red); }
.header__nav a[aria-current="true"] { color: var(--red); text-decoration: underline; text-decoration-color: var(--red); }
.lang-link[lang="ar"] { font-family: "Cairo", sans-serif; font-size: 1.02rem; }
.lang-link[lang="fr"] { font-family: "Poppins", sans-serif; }
/* The chosen restaurant (pin and short name); tapping it opens the choice again. */
.site-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  min-width: 0;
  max-width: 31vw;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.site-btn svg { width: 18px; height: 18px; flex: none; fill: var(--red); }
/* a long name wraps on two short lines on phones */
.site-btn span { overflow: hidden; line-height: 1.15; text-align: start; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.site-btn:hover { color: var(--red); }
@media (min-width: 760px) {
  .site-btn { max-width: none; font-size: 0.95rem; margin-inline-start: 4px; }
  .site-btn span { white-space: nowrap; }
}
/* Install as an app: a small download button in the header, shown only where installing is possible. */
.install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  min-width: 40px;
  justify-content: center;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  flex: none;
}
.install-btn[hidden] { display: none; }
.install-btn svg { width: 20px; height: 20px; color: var(--red); }
.install-btn span { display: none; }
.install-btn:hover { background: #ffe9a3; }
@media (min-width: 760px) {
  .install-btn { padding: 0 14px; margin-inline-start: 4px; }
  .install-btn span { display: inline; }
}
/* Phones: the logo, the restaurant, the install button, the language and the cart share one row. */
@media (max-width: 459px) {
  .header__inner { padding: 0 10px; gap: 2px; }
  .header__logo img { height: 40px; }
  .install-btn { min-width: 36px; min-height: 36px; padding: 0; }
  .lang-link { padding: 0 6px; }
  .cart-btn { padding: 0 10px 0 9px; margin-inline-start: 2px; }
  .site-btn { padding: 0 4px; max-width: 34vw; }
}
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-inline-start: 6px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  flex: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cart-btn:hover { background: var(--red-dark); }
.cart-btn:active { transform: scale(0.96); }
.cart-btn .cart-ico { width: 26px; height: 26px; }
.cart-btn__label { display: none; }
.cart-btn__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 760px) {
  :root { --header-h: 76px; }
  .header__inner { padding: 0 24px; }
  .header__logo img { height: 56px; }
  .header__nav { display: flex; }
  .cart-btn { padding: 0 8px 0 16px; margin-inline-start: 10px; }
  .cart-btn__label { display: inline; }
}

/* The cart icon rocks back on its wheels (from the client's reference animation). */
.cart-ico { display: block; fill: currentColor; overflow: visible; }
.cart-ico__body { transform-box: fill-box; transform-origin: 28% 96%; }
.cart-ico.is-looping .cart-ico__body { animation: cart-rock-loop 2.1s ease-in-out infinite; }
.cart-ico.is-bump .cart-ico__body { animation: cart-rock 0.9s ease-in-out; }
.cart-ico.is-bump.is-looping .cart-ico__body { animation: cart-rock 0.9s ease-in-out, cart-rock-loop 2.1s ease-in-out 0.9s infinite; }
@keyframes cart-rock {
  0% { transform: rotate(0); }
  14% { transform: translateY(-1px) rotate(-15deg); }
  32% { transform: rotate(9deg); }
  50% { transform: rotate(-6deg); }
  68% { transform: rotate(3deg); }
  84% { transform: rotate(-1deg); }
  100% { transform: rotate(0); }
}
@keyframes cart-rock-loop {
  0% { transform: rotate(0); }
  7% { transform: translateY(-1px) rotate(-15deg); }
  16% { transform: rotate(9deg); }
  25% { transform: rotate(-6deg); }
  34% { transform: rotate(3deg); }
  42% { transform: rotate(-1deg); }
  50%, 100% { transform: rotate(0); }
}

/* ---------- Buttons: moving-gradient border ---------- */
@property --trail {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--red);
  --trail-a: rgba(255, 255, 255, 0.95);
  --trail-b: var(--yellow);
  --trail-glow: 0;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
/* Two light trails circling the border. */
.btn::before {
  content: "";
  position: absolute;
  top: -3px; right: -3px; bottom: -3px; left: -3px;
  z-index: -1;
  border-radius: inherit;
  padding: 3px;
  background:
    conic-gradient(from var(--trail),
      transparent 0deg, var(--trail-a) 40deg, var(--trail-b) 70deg, transparent 110deg,
      transparent 180deg, var(--trail-a) 220deg, var(--trail-b) 250deg, transparent 290deg),
    rgba(255, 255, 255, calc(0.25 + var(--trail-glow) * 0.75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: trail 3.2s linear infinite;
  transition: filter 0.25s ease;
}
.btn:hover,
.btn:focus-visible { --trail-glow: 1; transform: translateY(-1px); }
.btn:hover::before,
.btn:focus-visible::before { filter: brightness(1.25) drop-shadow(0 0 6px var(--yellow)); animation-duration: 1.6s; }

@keyframes trail { to { --trail: 360deg; } }

.btn--primary { --btn-bg: var(--yellow); --btn-fg: var(--black); }
.btn--ghost { --btn-bg: rgba(0, 0, 0, 0.28); --btn-fg: var(--white); backdrop-filter: blur(6px); }
.btn--ghost-dark { --btn-bg: var(--white); --btn-fg: var(--ink); --trail-a: var(--red); --trail-b: var(--yellow); }
.btn--red { --btn-bg: var(--red); --btn-fg: var(--white); --trail-a: var(--yellow); --trail-b: var(--white); }
.panel .btn--red,
.sheet .btn--red { --trail-a: var(--yellow); --trail-b: var(--red-dark); }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: var(--white); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.panel .btn,
.sheet .btn { --trail-a: var(--red); --trail-b: var(--yellow); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero: dark like the plate video; phone: title / plate / buttons, PC: text left, plate right ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  /* the dark slate of the plate video: its texture with red and white specks over the darkest tone */
  background: #0b0b0b url("/assets/hero/slate.webp") 0 0 / 600px 600px repeat;
}
.hero__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 0 64px;
  display: grid;
  grid-template-areas: "title" "plate" "actions";
  justify-items: center;
  text-align: center;
}
.hero__title {
  grid-area: title;
  margin: 0;
  padding: 0 18px;
  max-width: 16ch;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(2.9rem, 13vw, 5.8rem);
  line-height: 1.05;
  color: var(--white);
  position: relative;
  z-index: 1;
}
[dir="rtl"] .hero__title { font-family: "Aref Ruqaa", "Cairo", serif; font-weight: 700; font-size: clamp(2.3rem, 10vw, 4.4rem); line-height: 1.5; }
.hero__plate {
  grid-area: plate;
  position: relative;
  width: min(100%, 560px);
  margin: -8px 0 4px;
  pointer-events: none;
  --spread: 1;
  isolation: isolate;
}
/* the video melts into the background at its very edges only, so its own crumbs on the sides stay visible */
.hero__plate video,
.hero__plate::after {
  -webkit-mask-image: radial-gradient(ellipse closest-side, #000 84%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side, #000 84%, transparent 100%);
}
/* the light under the plate, as in the video: a soft grey pool centred on the dish, wider than the video */
.hero__light {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 46%;
  width: 260%;
  height: 230%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(54, 53, 49, 0.95) 0%, rgba(42, 42, 40, 0.8) 26%, rgba(26, 26, 25, 0.55) 52%, rgba(16, 16, 16, 0.25) 76%, rgba(11, 11, 11, 0) 100%);
  pointer-events: none;
}
/* extra fries, carrot crumbs and herbs floating on both sides of the plate */
.hero__crumbs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; }
.hero__crumbs img {
  position: absolute;
  left: calc(50% + (var(--x) - 50) * var(--spread) * 1%);
  top: calc(var(--y) * 1%);
  width: var(--w);
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45));
  animation: crumb-float 5.5s ease-in-out var(--d) infinite alternate;
}
.hero__crumbs img:nth-child(3n) { animation-duration: 7s; }
.hero__crumbs img:nth-child(3n + 1) { animation-duration: 6.2s; animation-direction: alternate-reverse; }
@keyframes crumb-float {
  from { transform: translate(-50%, -50%) translateY(-7px) rotate(-7deg); }
  to { transform: translate(-50%, -50%) translateY(9px) rotate(8deg); }
}
.hero__plate::before { content: ""; display: block; padding-top: 105.56%; } /* 720 x 760 */
.hero__plate video,
.hero__plate::after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero__plate video { display: block; object-fit: cover; }
.hero__plate::after { content: ""; background: url("/assets/video/hero-plate-poster.webp") center / cover; z-index: -1; }
@media (max-width: 759px) { .hero__plate::after { background-image: url("/assets/video/hero-plate-poster-480.webp"); } }
/* Fallback when a browser will not play the video: the plate of the still frame turns (clockwise, one
   turn in 15 s like the video). The circle covers the whole plate and its bowl (centre 349.5 / 346, radius
   282 of 720 x 760); behind it, a still frame with the plate painted out, so no piece of it stays still. */
.hero__spin {
  display: none;
  position: absolute;
  left: 9.375%;
  top: 8.42%;
  width: 78.33%;
  height: 74.21%;
  border-radius: 50%;
  background: url("/assets/video/hero-plate-poster.webp") 43.27% 32.65% / 127.66% 134.75% no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 95%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 95%, transparent 100%);
  animation: plate-turn 15s linear infinite;
}
.hero__plate.is-spinning .hero__spin { display: block; }
.hero__plate.is-spinning video { visibility: hidden; }
.hero__plate.is-spinning::after { background-image: url("/assets/video/hero-plate-bg.jpg"); }
@keyframes plate-turn { to { transform: rotate(360deg); } }
.hero__actions { grid-area: actions; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 0 18px; }
@media (min-width: 900px) {
  .hero__inner {
    padding: 32px 24px 72px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "title plate" "actions plate";
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: start;
    text-align: start;
    column-gap: 24px;
  }
  .hero__title { align-self: end; padding: 0; max-width: 14ch; font-size: clamp(4rem, 6.2vw, 6.4rem); margin-bottom: 26px; }
  .hero__actions { align-self: start; padding: 0; justify-content: flex-start; }
  .hero__plate { justify-self: center; width: min(100%, 78vh, 700px); margin: 0; --spread: 1.3; }
}

/* ---------- Sections ---------- */
.section-title {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  text-align: center;
  padding: 56px 18px 20px;
}
.panel {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Menu ---------- */
.catbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  height: var(--catbar-h);
  background: var(--red);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.catbar__track {
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.catbar__track::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--white); }
.chip.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.cat-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 16px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 24px; } }
.cat-tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.2,.9,.25,1), box-shadow 0.2s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.6); }
.cat-tile:active { transform: scale(0.98); }
.cat-tile__media { position: relative; display: block; background: var(--yellow-soft); }
.cat-tile__media img,
.cat-tile__media svg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile__text { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 14px; }
.cat-tile__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.2; color: var(--red); }
.cat-tile__meta { font-size: 0.82rem; color: var(--muted); }

.menu-detail__inner { max-width: 1120px; margin: 0 auto; padding: 14px 16px 10px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.back-link:hover { text-decoration-color: var(--yellow); }
[dir="rtl"] .back-link span[aria-hidden] { transform: scaleX(-1); display: inline-block; }
.in-cart {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  margin-inline-end: 6px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
}
.item__ctl { display: inline-flex; align-items: center; }

.menu__list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 14px 10px;
  display: grid;
  gap: 22px;
}
.category { scroll-margin-top: calc(var(--header-h) + var(--catbar-h) + 12px); overflow: hidden; }
.category__title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--red);
  padding: 16px 18px 4px;
}
.items { list-style: none; margin: 0; padding: 4px 8px 12px; }
.items__group {
  margin: 14px 18px 2px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red);
}
.item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 10px;
  border-top: 1px solid var(--line);
}
.item:first-child { border-top: 0; }
.item__thumb {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--yellow-soft);
}
.item__thumb img { width: 100%; height: 100%; object-fit: cover; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media (hover: hover) { .item__thumb img { cursor: zoom-in; } }

/* A dish photo shown big (long press on a phone, click with a mouse); a tap anywhere closes it. */
.photo-view {
  width: min(94vw, 640px);
  max-width: 94vw;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}
.photo-view::backdrop { background: rgba(0, 0, 0, 0.75); }
.photo-view img { display: block; width: 100%; height: auto; }
.photo-view__name { margin: 0; padding: 12px 56px 14px 18px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--red); }
[dir="rtl"] .photo-view__name { padding: 12px 18px 14px 56px; }
.photo-view__desc { margin: -8px 0 0; padding: 0 18px 16px; color: var(--muted); }
.photo-view__desc:empty { display: none; }
.photo-view__close { position: absolute; top: 10px; inset-inline-end: 10px; background: rgba(255, 255, 255, 0.9); }
.item__thumb span { font-size: 34px; line-height: 1; }
.item__name { grid-column: 2; font-weight: 600; margin: 0; align-self: end; }
.item__desc { grid-column: 2; margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.4; align-self: start; }
.item__name:last-of-type { grid-row: 1 / span 2; align-self: center; }
.item__side { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.price {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
  font-size: 0.95rem;
}
.price small { font-weight: 500; font-size: 0.75rem; }
.add-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 6px 14px -8px rgba(225, 6, 15, 0.9);
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.add-btn:active { transform: scale(0.9); }
.add-btn:hover { background: var(--red-dark); }
/* a dish that cannot be ordered right now (the couscous outside Friday lunch) */
.add-btn[disabled] { background: #bdbdbd; box-shadow: none; cursor: not-allowed; transform: none; }
.category__note {
  margin: 0 18px 6px;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.92rem;
}
@media (max-width: 899px) { .category__note { margin: 0 4px 14px; } }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.stepper output { min-width: 22px; justify-content: center; font-weight: 700; }
.stepper button { display: grid; place-items: center; padding: 0; }
.stepper .stepper__bin { background: var(--black); }

/* Desktop: one category per row (so the bar always has a single active category), dishes in two columns. */
@media (min-width: 900px) {
  .category__title { padding: 20px 22px 4px; }
  .items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; padding: 4px 14px 14px; align-content: start; }
  .item:nth-child(2) { border-top: 0; }
}

/* Phones and tablets: the dishes become cards like the category tiles (picture on top, name, price, +). */
@media (max-width: 899px) {
  .category { background: none; box-shadow: none; border: 0; border-radius: 0; overflow: visible; }
  .category__title { padding: 4px 4px 12px; color: var(--white); font-size: 1.9rem; }
  .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; }
  .items__group { margin: 22px 4px 10px; color: var(--yellow); font-size: 1.15rem; }
  .items__group:first-child { margin-top: 0; }
  .item {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
  }
  .item__thumb {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    border-radius: 0;
    /* the soft yellow circles of the category tiles */
    background:
      radial-gradient(circle at 8% 88%, #fde08a 0 9%, transparent 9.5%),
      radial-gradient(circle at 104% 50%, #fde08a 0 13%, transparent 13.5%),
      radial-gradient(circle at 93% 10%, #fde08a 0 6%, transparent 6.5%),
      var(--yellow-soft);
  }
  .item__thumb span { font-size: 54px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.18)); }
  .item__name,
  .item__name:last-of-type {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    padding: 10px 12px 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--red);
  }
  .item__desc {
    grid-column: 1;
    grid-row: 3;
    padding: 2px 12px 0;
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .item__side {
    grid-column: 1;
    grid-row: 4;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 10px 10px 12px 12px;
  }
  .add-btn { width: 40px; height: 40px; }
  .in-cart { margin-inline-end: 4px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Infos ---------- */
.infos { max-width: 1120px; margin: 0 auto; padding: 0 14px 40px; }
.infos__grid { display: grid; gap: 14px; }
.infos__card { padding: 18px 20px; }
.infos__card h3 { color: var(--red); font-size: 1.25rem; margin-bottom: 4px; }
.infos__card p { margin: 0; }
.infos__card a { color: var(--ink); font-weight: 600; }
.infos__map { margin-top: 14px; overflow: hidden; }
.infos__map iframe { display: block; width: 100%; height: 340px; border: 0; }
.infos__directions { margin-top: 18px; width: 100%; }
@media (min-width: 760px) {
  .infos__grid { grid-template-columns: repeat(4, 1fr); }
  .infos__directions { width: auto; }
}

.footer { text-align: center; padding: 20px 18px 120px; font-size: 0.9rem; background: var(--red-dark); }
.footer p { margin: 0; }
.footer__places { margin-top: 8px !important; font-size: 0.85rem; }
.footer__places a { color: inherit; }

/* ---------- Floating buttons ---------- */
.ig-float {
  position: fixed;
  inset-inline-start: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 35;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
}
.ig-float svg { width: 26px; height: 26px; fill: currentColor; }
body.has-cart .ig-float { bottom: calc(84px + env(safe-area-inset-bottom)); }

.cart-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 36;
  width: min(92vw, 520px);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
.cart-bar__label { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.cart-bar .cart-ico { width: 24px; height: 24px; flex: none; }
.cart-bar__meta { display: inline-flex; align-items: baseline; gap: 0.3em; color: var(--yellow); white-space: nowrap; font-size: 0.95em; }

/* Online order (demo mode): the bar to follow it, above the cart bar when both show. */
.track-bar { background: var(--red); }
.track-bar .cart-bar__meta { color: var(--white); }
.track-bar.is-final { background: var(--black); }
body.has-cart .track-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }
body.has-track .ig-float { bottom: calc(84px + env(safe-area-inset-bottom)); }
body.has-track.has-cart .ig-float { bottom: calc(150px + env(safe-area-inset-bottom)); }
.track-bar__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; animation: track-pulse 1.4s ease-in-out infinite; }
.track-bar.is-final .track-bar__dot { animation: none; }
@keyframes track-pulse { 50% { opacity: 0.25; } }
.track-place { margin: 0 0 14px; font-weight: 600; color: var(--muted); }
.track-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 6px; }
.track-steps li { flex: 1; padding-top: 10px; border-top: 5px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--muted); text-align: center; }
.track-steps li.is-done { border-color: var(--red); color: var(--ink); }
.track-steps li.is-now { border-color: var(--yellow); color: var(--ink); }
.track-status { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.track-status.is-error { color: var(--red-dark); }
.track-wa { width: 100%; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .track-bar__dot { animation: none; } }

/* The invitation to install the app, just under the header. */
.install-banner {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 38;
  width: min(94vw, 520px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.6);
}
.install-banner[hidden] { display: none; }
.install-banner img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.install-banner__text { margin: 0; flex: 1; min-width: 0; font-size: 0.85rem; line-height: 1.3; }
.install-banner__text strong { display: block; color: var(--red); font-size: 0.95rem; }
.install-banner .btn { flex: none; }
.install-banner__close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f2f2f2; color: var(--ink); cursor: pointer; }
.ios-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.ios-steps li { display: flex; align-items: center; gap: 12px; }
.ios-steps__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: #f2f2f2; color: #0a84ff; }
.ios-steps__icon svg { width: 26px; height: 26px; }
.ios-steps__icon img { border-radius: 7px; }

/* ---------- Dialogs ---------- */
.sheet {
  width: min(100vw, 560px);
  max-width: 100vw;
  max-height: 100dvh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 22px 22px 0 0;
  background: var(--white);
  color: var(--ink);
}
.sheet::backdrop { background: rgba(0, 0, 0, 0.55); }
@media (min-width: 620px) {
  .sheet { margin: auto; border-radius: 22px; max-height: 92dvh; }
}
.sheet__inner { display: flex; flex-direction: column; max-height: inherit; min-height: 0; }
.sheet__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 10px;
  border-bottom: 1px solid var(--line);
}
.sheet__title { font-size: 1.35rem; color: var(--red); flex: 1; }
.icon-btn {
  width: 38px;
  height: 38px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}
[dir="rtl"] #cart-back { transform: scaleX(-1); }
.sheet__body { overflow-y: auto; padding: 14px 18px; min-height: 0; flex: 1; }
.sheet__foot { padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet__actions { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.sheet__actions .btn--primary,
.sheet__actions .btn--whatsapp { flex: 1; }


/* ---------- UI kit: pills, sauce swatches, quantity stepper, rolling numbers, emoji spree ---------- */
.field { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field__label { padding: 0; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.field__label small { font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pill input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.pill input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.pill__swatch { width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--sauce); border: 1px solid rgba(0, 0, 0, 0.25); }
.pill input:checked + span .pill__swatch { border-color: rgba(255, 255, 255, 0.8); }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--yellow-soft);
}
.qty output { min-width: 56px; font-size: 1.6rem; font-weight: 800; justify-content: center; text-align: center; }
.qty__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: inherit;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.2s ease;
}
.qty__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty__btn:not(:disabled):active { transform: scale(0.88); }
.qty__btn:hover:not(:disabled) { background: var(--red); color: var(--white); }

.roll { display: inline-flex; direction: ltr; font-variant-numeric: tabular-nums; }
.roll__cell { position: relative; display: inline-block; overflow: hidden; padding-block: 0.08em; margin-block: -0.08em; }
.roll__ch { display: inline-block; }
.roll__ch--out { position: absolute; left: 0; top: 0.08em; }
.money { display: inline-flex; align-items: baseline; gap: 0.25em; white-space: nowrap; }
.bump { animation: kit-bump 0.4s ease; }
@keyframes kit-bump { 40% { transform: scale(1.18); } }

.spree {
  position: fixed;
  z-index: 90;
  font-size: 1.9rem;
  line-height: 1;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

/* Options and sauce pop-ups take the kit's pop-in. */
#options-dialog[open], #sauce-dialog[open] { animation: kit-pop 0.2s ease; }
#options-dialog::backdrop, #sauce-dialog::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); }
@keyframes kit-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
#options-submit { gap: 6px; }

/* ---------- Torn white paper strip between the hero and the menu ---------- */
.bands {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  margin-bottom: -30px;
  padding: 18px 0;
  overflow: hidden;
  pointer-events: none;
}
.paper {
  position: relative;
  width: 108%;
  margin-left: -4%;
  transform: rotate(-2deg);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}
/* the fibrous, slightly creamy rim that shows along a tear */
.paper__rim {
  position: absolute;
  top: -5px; right: 0; bottom: -5px; left: 0;
  background: #efe7d6;
  clip-path: polygon(0.0% 4.9px, 1.03% 9.9px, 2.6% 10.8px, 3.33% 0.3px, 5.2% 4.5px, 6.8% 8.5px, 8.61% 14.2px, 9.4% 8.7px, 10.29% 9.1px, 11.13% 7.9px, 11.9% 10.7px, 12.66% 0.3px, 14.13% 12.5px, 15.65% 1.0px, 17.06% 1.3px, 18.75% 7.8px, 20.6% 10.2px, 21.76% 4.8px, 22.81% 11.0px, 23.57% 12.5px, 25.23% 9.2px, 26.77% 12.6px, 28.41% 7.0px, 29.58% 9.5px, 31.27% 19.9px, 32.2% 6.0px, 33.29% 0.4px, 34.15% 2.8px, 35.2% 11.4px, 36.17% 0.1px, 36.9% 9.4px, 38.47% 9.0px, 39.71% 14.7px, 41.2% 4.0px, 42.42% 6.9px, 43.97% 4.3px, 44.94% 3.3px, 45.8% 1.6px, 47.38% 2.4px, 48.61% 9.4px, 49.89% 14.5px, 50.8% 17.2px, 51.77% 12.7px, 53.27% 1.6px, 54.51% 11.3px, 55.72% 5.7px, 56.41% 12.2px, 58.06% 17.9px, 58.75% 1.9px, 59.76% 19.0px, 61.14% 10.3px, 62.42% 5.9px, 64.12% 12.9px, 65.52% 7.9px, 67.33% 2.7px, 68.78% 2.0px, 69.5% 0.0px, 70.86% 3.8px, 72.37% 9.1px, 73.86% 12.0px, 75.26% 8.6px, 76.42% 7.1px, 78.18% 14.3px, 79.19% 9.7px, 80.18% 1.6px, 81.68% 12.3px, 82.92% 16.4px, 83.95% 20.5px, 85.62% 7.5px, 87.49% 8.7px, 88.17% 9.8px, 89.61% 11.9px, 90.96% 8.3px, 91.7% 4.5px, 93.16% 11.2px, 94.66% 3.7px, 96.3% 7.2px, 97.32% 4.2px, 98.45% 6.7px, 99.89% 7.1px, 100% 4.7px, 100% calc(100% - 0.4px), 99.35% calc(100% - 6.4px), 98.6% calc(100% - 2.0px), 97.05% calc(100% - 12.3px), 95.49% calc(100% - 5.9px), 94.7% calc(100% - 1.3px), 93.46% calc(100% - 12.3px), 92.66% calc(100% - 3.9px), 90.9% calc(100% - 19.4px), 89.13% calc(100% - 11.5px), 88.47% calc(100% - 14.8px), 86.82% calc(100% - 8.7px), 85.35% calc(100% - 7.0px), 84.71% calc(100% - 4.8px), 83.08% calc(100% - 12.7px), 81.55% calc(100% - 12.6px), 80.75% calc(100% - 1.5px), 79.7% calc(100% - 10.5px), 78.47% calc(100% - 3.3px), 76.81% calc(100% - 6.9px), 74.97% calc(100% - 1.7px), 74.13% calc(100% - 3.8px), 73.39% calc(100% - 7.5px), 72.21% calc(100% - 8.4px), 70.46% calc(100% - 10.9px), 69.01% calc(100% - 8.8px), 67.61% calc(100% - 4.6px), 66.22% calc(100% - 3.7px), 64.47% calc(100% - 7.9px), 63.78% calc(100% - 8.9px), 62.45% calc(100% - 8.6px), 60.6% calc(100% - 12.9px), 59.26% calc(100% - 3.1px), 58.03% calc(100% - 2.6px), 56.35% calc(100% - 5.5px), 54.93% calc(100% - 4.5px), 53.75% calc(100% - 8.8px), 52.0% calc(100% - 0.1px), 51.05% calc(100% - 6.0px), 50.25% calc(100% - 3.1px), 48.85% calc(100% - 1.0px), 48.01% calc(100% - 7.4px), 46.72% calc(100% - 4.9px), 45.73% calc(100% - 0.6px), 43.98% calc(100% - 5.8px), 42.26% calc(100% - 1.3px), 41.09% calc(100% - 13.0px), 39.32% calc(100% - 17.9px), 37.6% calc(100% - 9.3px), 36.58% calc(100% - 11.2px), 34.89% calc(100% - 8.4px), 33.4% calc(100% - 12.6px), 32.19% calc(100% - 8.5px), 31.05% calc(100% - 5.9px), 29.77% calc(100% - 11.4px), 28.06% calc(100% - 6.5px), 27.38% calc(100% - 12.8px), 25.73% calc(100% - 5.0px), 24.09% calc(100% - 9.7px), 23.41% calc(100% - 3.0px), 22.07% calc(100% - 2.5px), 21.05% calc(100% - 7.1px), 19.73% calc(100% - 7.0px), 18.92% calc(100% - 13.0px), 17.56% calc(100% - 3.7px), 15.91% calc(100% - 12.1px), 14.77% calc(100% - 3.6px), 13.06% calc(100% - 6.6px), 11.29% calc(100% - 7.2px), 10.36% calc(100% - 10.9px), 9.39% calc(100% - 9.3px), 8.14% calc(100% - 19.5px), 6.38% calc(100% - 1.2px), 5.06% calc(100% - 2.1px), 4.14% calc(100% - 12.7px), 3.36% calc(100% - 5.7px), 1.57% calc(100% - 2.6px), 0.0% calc(100% - 9.8px));
}
.paper__sheet {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(180deg, #ffffff, #f7f4ee);
  clip-path: polygon(0.0% 10.5px, 0.9% 6.6px, 2.64% 0.8px, 3.31% 2.0px, 3.96% 1.8px, 5.27% 2.0px, 6.91% 0.1px, 8.41% 3.1px, 10.23% 9.5px, 11.91% 5.4px, 13.45% 4.8px, 14.55% 5.0px, 15.94% 7.8px, 17.45% 0.4px, 18.44% 0.7px, 19.19% 2.5px, 20.27% 3.3px, 21.23% 8.4px, 22.61% 1.5px, 23.44% 3.4px, 24.87% 5.0px, 26.55% 7.0px, 27.21% 2.8px, 28.1% 8.5px, 29.12% 5.9px, 30.89% 4.1px, 31.82% 5.1px, 33.18% 8.1px, 34.08% 9.0px, 34.81% 12.4px, 36.43% 11.1px, 38.3% 4.8px, 40.0% 0.1px, 41.48% 4.8px, 42.9% 1.0px, 44.1% 8.6px, 45.05% 4.5px, 46.82% 7.8px, 48.24% 5.5px, 49.82% 4.9px, 51.11% 0.0px, 51.76% 8.4px, 53.42% 13.7px, 55.23% 0.8px, 55.94% 6.8px, 56.73% 4.3px, 57.68% 7.9px, 58.57% 4.9px, 59.45% 2.8px, 60.89% 3.9px, 61.66% 2.0px, 63.02% 2.1px, 63.74% 5.7px, 65.49% 10.3px, 66.95% 1.9px, 68.75% 5.1px, 70.35% 7.3px, 71.1% 3.9px, 72.31% 6.6px, 74.16% 0.9px, 75.21% 7.8px, 76.08% 4.0px, 77.05% 2.2px, 78.23% 7.8px, 78.92% 9.0px, 80.75% 8.3px, 81.59% 4.4px, 82.71% 0.5px, 84.57% 2.4px, 85.76% 3.8px, 87.63% 5.0px, 88.45% 2.7px, 89.8% 4.9px, 90.5% 5.3px, 92.19% 1.4px, 92.91% 1.7px, 94.38% 13.8px, 95.31% 5.4px, 96.46% 5.3px, 98.26% 1.8px, 99.18% 3.6px, 100% 2.8px, 100% calc(100% - 0.5px), 99.17% calc(100% - 5.8px), 98.51% calc(100% - 3.5px), 97.85% calc(100% - 1.1px), 96.64% calc(100% - 3.6px), 95.17% calc(100% - 0.3px), 94.0% calc(100% - 2.0px), 92.62% calc(100% - 6.7px), 91.47% calc(100% - 7.7px), 89.9% calc(100% - 0.1px), 88.8% calc(100% - 7.7px), 87.31% calc(100% - 8.1px), 86.16% calc(100% - 3.7px), 84.85% calc(100% - 0.6px), 83.34% calc(100% - 2.1px), 82.55% calc(100% - 2.9px), 81.58% calc(100% - 10.5px), 80.17% calc(100% - 6.9px), 78.75% calc(100% - 2.3px), 77.53% calc(100% - 8.1px), 76.22% calc(100% - 4.5px), 74.7% calc(100% - 8.0px), 72.89% calc(100% - 8.9px), 71.43% calc(100% - 4.1px), 69.74% calc(100% - 10.3px), 67.92% calc(100% - 3.8px), 67.16% calc(100% - 6.8px), 66.53% calc(100% - 2.2px), 65.29% calc(100% - 1.7px), 63.87% calc(100% - 11.2px), 62.65% calc(100% - 0.2px), 61.78% calc(100% - 6.1px), 60.22% calc(100% - 3.0px), 58.8% calc(100% - 0.8px), 57.96% calc(100% - 8.1px), 56.75% calc(100% - 4.0px), 55.54% calc(100% - 5.2px), 54.38% calc(100% - 10.5px), 53.38% calc(100% - 8.1px), 51.91% calc(100% - 3.8px), 51.12% calc(100% - 3.6px), 49.99% calc(100% - 2.7px), 48.46% calc(100% - 2.8px), 47.42% calc(100% - 12.6px), 45.96% calc(100% - 6.5px), 44.66% calc(100% - 0.0px), 43.15% calc(100% - 5.2px), 42.04% calc(100% - 5.5px), 41.03% calc(100% - 3.9px), 40.27% calc(100% - 8.7px), 39.42% calc(100% - 14.2px), 38.12% calc(100% - 3.6px), 36.7% calc(100% - 8.7px), 34.99% calc(100% - 1.7px), 34.34% calc(100% - 7.2px), 33.33% calc(100% - 7.3px), 32.43% calc(100% - 7.8px), 31.67% calc(100% - 2.4px), 30.03% calc(100% - 7.2px), 28.24% calc(100% - 6.6px), 27.58% calc(100% - 7.3px), 25.74% calc(100% - 8.4px), 24.92% calc(100% - 3.7px), 23.19% calc(100% - 0.9px), 22.25% calc(100% - 8.1px), 20.55% calc(100% - 8.1px), 19.54% calc(100% - 1.3px), 18.19% calc(100% - 4.9px), 16.43% calc(100% - 13.8px), 15.27% calc(100% - 6.7px), 14.32% calc(100% - 6.9px), 13.69% calc(100% - 3.8px), 12.95% calc(100% - 8.1px), 11.72% calc(100% - 5.7px), 10.84% calc(100% - 5.4px), 9.87% calc(100% - 12.0px), 9.08% calc(100% - 6.0px), 8.08% calc(100% - 13.4px), 6.22% calc(100% - 6.3px), 4.55% calc(100% - 3.3px), 2.83% calc(100% - 8.4px), 1.87% calc(100% - 10.2px), 0.0% calc(100% - 11.5px));
  color: var(--black);
}
.band__track { display: flex; width: max-content; animation: band 46s linear infinite; }
.paper:hover .band__track,
.paper:focus-within .band__track { animation-play-state: paused; }
[dir="rtl"] .band__track { animation-name: band-rtl; }
@keyframes band { to { transform: translateX(-50%); } }
@keyframes band-rtl { to { transform: translateX(50%); } }
.band__group { display: flex; }
.band__item {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: "Anton", var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}
[dir="rtl"] .band__item { font-family: var(--font-body); font-weight: 800; }
.band__item::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline: 30px;
  border-radius: 50%;
  background: var(--red);
}
button.band__item { pointer-events: auto; cursor: pointer; }
button.band__item:hover { color: var(--red); }
button.band__item:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (min-width: 760px) {
  .bands { margin-top: -56px; margin-bottom: -36px; padding: 22px 0; }
  .paper__sheet { padding: 20px 0; }
}


.form-error { color: var(--red); font-weight: 600; margin: 0 18px; min-height: 0; }
.form-error:empty { display: none; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line__name { font-weight: 600; margin: 0; }
.cart-line__opts { margin: 0; color: var(--muted); font-size: 0.85rem; }
.cart-line__side { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line__total { font-weight: 700; white-space: nowrap; }
.cart-empty { color: var(--muted); text-align: center; padding: 30px 0; margin: 0; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin: 0 0 12px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: end; font-weight: 600; }
.totals .is-total { color: var(--ink); font-weight: 800; font-size: 1.1rem; }

.checkout { display: flex; flex-direction: column; gap: 14px; }
.checkout-site { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.infos__card .link-btn { margin-top: 6px; }

/* ---------- Choosing the restaurant ---------- */
.site-intro { margin: 0 0 14px; color: var(--muted); }
.site-gps { display: inline-flex; align-items: center; gap: 8px; }
.site-gps svg { width: 18px; height: 18px; fill: currentColor; }
.site-status { margin: 10px 0 0; font-weight: 600; }
.site-status:empty { display: none; }
.site-status.is-error { color: var(--red); }
.site-list { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; gap: 12px; }
.site-card {
  width: 100%;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.site-card:hover,
.site-card:focus-visible { border-color: var(--red); }
.site-card:active { transform: scale(0.98); }
.site-card.is-nearest { border-color: var(--red); background: var(--yellow-soft); }
.site-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--red); }
.site-card__addr { color: var(--muted); font-size: 0.92rem; }
.site-card__phone { font-weight: 600; justify-self: start; }
.site-card__tag { justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 0.85rem; font-weight: 700; }
.site-card__go {
  justify-self: start;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
}
.notice { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--yellow-soft); color: var(--black); font-weight: 600; }
.mode { display: flex; gap: 10px; border: 0; margin: 0; padding: 0; }
.mode legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.mode__opt { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; }
.mode__opt:has(input:checked),
.mode__opt.is-checked { border-color: var(--red); background: #fff5f5; color: var(--red); }
.mode__opt { position: relative; white-space: nowrap; }
/* The coloured border shows the choice, so the radio dot itself is hidden (still focusable). */
.mode__opt input { position: absolute; opacity: 0; pointer-events: none; }
.mode__opt:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.mode__icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.delivery { display: flex; flex-direction: column; gap: 10px; }
.delivery__info { margin: 0; font-weight: 600; }
.delivery__hint { margin: 0; color: var(--muted); font-size: 0.9rem; }
.delivery__map { height: 260px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid var(--line); z-index: 0; }
.delivery__status { margin: 0; font-weight: 600; }
.delivery__status.is-error { color: var(--red); }
.delivery__status.is-ok { color: #138a3a; }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.field input,
.field textarea {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--red); }
.field.is-invalid input { border-color: var(--red); }
[dir="rtl"] .field input[type="tel"] { text-align: end; }

/* Leaflet markers drawn with CSS. */
.pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.pin--resto { background: var(--red); }
.pin--you { background: var(--black); }

/* ---------- Spring text ---------- */
.st-word { display: inline-block; white-space: nowrap; }
.st-unit { display: inline-block; will-change: transform, opacity; }
.st-pending .st-unit { opacity: 0; }

/* ---------- Flying emojis ---------- */

/* ---------- Sauce sheet ---------- */
.sauce-added { margin: 0 0 14px; font-weight: 600; }

/* ---------- Browser surfaces ---------- */
::selection { background: var(--yellow); color: var(--black); }
input, textarea { caret-color: var(--red); }
html { scrollbar-color: var(--yellow) var(--red-dark); }
.sheet__body { scrollbar-color: var(--red) #f2f2f2; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero__spin { animation: plate-turn 15s linear infinite !important; } /* the slow turn stays (see setupHero) */
  .intro { display: none; }
  .st-pending .st-unit { opacity: 1; }
  .cart-ico__body { animation: none !important; }
  #options-dialog[open], #sauce-dialog[open], .bump { animation: none !important; }
  .band__track { animation: none; }
}

/* ---------- Picture boxes keep their proportions with a padding spacer ----------
   (not aspect-ratio: some phone browsers, e.g. older Huawei ones, ignore it on these boxes) */
.intro__stage::before { content: ""; display: block; padding-top: 51.89%; }
.cat-tile__media::before { content: ""; display: block; padding-top: 62.5%; }
.cat-tile__media img { position: absolute; top: 0; left: 0; }
@media (max-width: 899px) {
  .item__thumb { position: relative; display: block; }
  .item__thumb::before { content: ""; display: block; padding-top: 62.5%; }
  .item__thumb img { position: absolute; top: 0; left: 0; }
  .item__thumb span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
}
