/* ==========================================================================
   Tacos Shop – La Colline · Mohammedia
   Mobile-first. Palette taken from Haj's flyers: yellow, red, black.
   ========================================================================== */
:root {
  --yellow: #FFC93C;
  --yellow-deep: #F5B000;
  --yellow-soft: #FFE9A8;
  --red: #D62828;
  --red-deep: #A51C1C;
  --black: #121110;
  --ink: #1C1A17;
  --ink-2: #26231F;
  --line-dark: rgba(255, 255, 255, .12);
  --cream: #FFF8E6;
  --white: #FFFFFF;
  --text-on-dark: #F7F2E8;
  --muted-on-dark: #C9C0AE;
  --muted-on-light: #5B5346;
  --green-wa: #25D366;
  --green-wa-deep: #0E7A3F;
  --open: #2BD46B;
  --closed: #FF5A4E;

  --font-display: "Anton", "Cairo", Impact, "Arial Narrow", sans-serif;
  --font-body: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-1: 0 2px 8px rgba(0, 0, 0, .12);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, .28);
  --header-h: 64px;
  --mbar-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-on-dark);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mbar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
.ico--back { transform: scaleX(-1); }
[dir="rtl"] .ico--back { transform: none; }
[dir="rtl"] .ico--fwd { transform: scaleX(-1); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.menu :focus-visible, .promo :focus-visible { outline-color: var(--black); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Arabic typography ---------- */
[dir="rtl"] body { line-height: 1.7; }
[dir="rtl"] .hero__title, [dir="rtl"] .title,
[dir="rtl"] .promo__title, [dir="rtl"] .cat__title, [dir="rtl"] .deliv__title {
  font-family: "Cairo", sans-serif; font-weight: 900; letter-spacing: 0; text-transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink-2); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 800; font-size: 1rem; text-decoration: none;
  transition: transform .18s var(--ease), background-color .2s, box-shadow .2s, color .2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 54px; padding-inline: 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--yellow { --bg: var(--yellow); --fg: var(--black); box-shadow: 0 6px 0 var(--yellow-deep); }
.btn--yellow:hover { --bg: #FFD45F; }
.btn--red { --bg: var(--red); --fg: var(--white); }
.btn--red:hover { --bg: var(--red-deep); }
.btn--wa { --bg: var(--green-wa-deep); --fg: var(--white); }
.btn--wa:hover { --bg: #0B6634; }
.btn--light { --bg: var(--white); --fg: var(--black); }
.btn--light:hover { --bg: var(--yellow); }
.btn--ghost { --bg: transparent; --fg: var(--text-on-dark); border-color: var(--line-dark); }
.btn--ghost:hover { border-color: var(--yellow); --fg: var(--yellow); }
.btn--ghost-dark { --bg: transparent; --fg: var(--black); border-color: rgba(0,0,0,.2); }
.btn--ghost-dark:hover { border-color: var(--black); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--line-dark); background: rgba(18,17,16,.7); color: var(--white);
  transition: background-color .2s, border-color .2s, transform .18s;
}
.round-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.round-btn:active { transform: scale(.94); }
.round-btn--dark { border-color: rgba(0,0,0,.12); background: rgba(0,0,0,.06); color: var(--black); }
.round-btn--dark:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--red); color: var(--white); font-size: .78rem; font-weight: 900; line-height: 1;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--yellow); color: var(--black); font-size: .88rem; font-weight: 700; }
.topbar__in { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.topbar__info { display: none; align-items: center; gap: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--closed); box-shadow: 0 0 0 0 currentColor; }
.status.is-open .status__dot { background: #11A84E; animation: pulse 2s infinite; }
.status__label { font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.status__detail { opacity: .85; font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(17,168,78,.55); } 70% { box-shadow: 0 0 0 9px rgba(17,168,78,0); } 100% { box-shadow: 0 0 0 0 rgba(17,168,78,0); } }
.lang { margin-inline-start: auto; display: inline-flex; background: rgba(0,0,0,.1); border-radius: 999px; padding: 3px; }
.lang__btn {
  min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent;
  color: var(--black); font-weight: 800; font-size: .85rem;
}
.lang__btn--ar { font-family: "Cairo", sans-serif; }
.lang__btn[aria-pressed="true"] { background: var(--black); color: var(--yellow); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(18,17,16,.94);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.header__in { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; min-height: 44px; flex: 1 1 auto; }
.brand__logo { width: clamp(52px, 15vw, 72px); height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: "Cairo", sans-serif; font-weight: 900; font-size: clamp(.78rem, 3.5vw, 1.05rem); color: var(--yellow); white-space: nowrap; }
.brand__city { font-size: .85rem; font-weight: 700; color: var(--muted-on-dark); }
.brand__text { direction: ltr; min-width: 0; }
.cart-btn { flex: none; }
.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--text-on-dark); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--yellow); background: rgba(255,255,255,.06); }
.cart-btn {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px;
  border-radius: 999px; border: 2px solid var(--yellow); background: transparent; color: var(--yellow); font-weight: 800;
  transition: background-color .2s, color .2s;
}
.cart-btn:hover { background: var(--yellow); color: var(--black); }
.cart-btn__label { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 40px; }
.hero__bg { position: absolute; inset: -6% 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,17,16,.78) 0%, rgba(18,17,16,.82) 45%, rgba(18,17,16,.97) 100%),
    radial-gradient(120% 80% at 0% 0%, rgba(214,40,40,.35), transparent 60%);
}
.hero__in { display: grid; gap: 32px; }
.kicker {
  display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .02em;
  color: var(--black); background: var(--yellow); padding: 4px 12px; border-radius: 4px; transform: rotate(-2deg);
}
[dir="rtl"] .kicker { transform: rotate(2deg); }
.kicker[translate="no"] { direction: ltr; unicode-bidi: isolate; }
.kicker--dark { background: var(--black); color: var(--yellow); }
.hero__title {
  margin-top: 18px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 11vw, 4.9rem); line-height: 1; letter-spacing: .01em; color: var(--white);
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__sub { margin-top: 16px; font-size: 1.12rem; color: var(--text-on-dark); max-width: 36ch; font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__ctas .btn { flex: 1 1 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); font-size: .9rem; font-weight: 700;
}
.chip .ico { color: var(--yellow); }
.chip--rating strong { color: var(--yellow); }

/* Best-seller card */
.best {
  position: relative; overflow: hidden;
  background: var(--yellow); color: var(--black); border-radius: var(--r-lg); padding: 22px 22px 20px;
  box-shadow: var(--shadow-2), 0 0 0 4px var(--black), 0 0 0 7px var(--yellow);
  margin: 7px;
}
.best__tag {
  display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: var(--white);
  font-weight: 900; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px;
}
/* Rotating best-seller: all slides share one grid cell -> height = tallest slide, no layout jump */
.best__track { display: grid; margin-top: 14px; touch-action: pan-y; }
.best__slide { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0;
  opacity: 0; visibility: hidden; transform: translateX(14px);
  transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s; }   /* outgoing: quick fade */
[dir="rtl"] .best__slide { transform: translateX(-14px); }
.best__slide.is-active { opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s var(--ease) .18s, transform .45s var(--ease) .18s, visibility 0s; }   /* incoming: starts after the old one is gone */
.best__photo { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--black); box-shadow: 0 0 0 3px var(--black); }
.best__photo picture, .best__photo img { display: block; width: 100%; height: 100%; }
.best__photo img { object-fit: cover; }
.best__name { margin-top: 14px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: 1.05;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.1em; }
.best__size { font-size: .55em; vertical-align: middle; background: var(--black); color: var(--yellow); padding: 2px 8px; border-radius: 6px; font-family: var(--font-body); font-weight: 900; }
.best__desc { margin-top: 6px; font-weight: 700; color: #3A2E14; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em; }
.best__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.best__price { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--red); direction: ltr; }
.best__price small { font-size: 1.2rem; margin-inline-start: 4px; }
.best-wrap { align-self: start; min-width: 0; }
.best__dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.best__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.best__dot span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.35); transition: width .3s var(--ease), background-color .3s; }
.best__dot:hover span { background: rgba(255,255,255,.7); }
.best__dot[aria-current="true"] span { width: 26px; background: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .best__slide, [dir="rtl"] .best__slide { transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section__head { margin-bottom: 28px; }
.title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: 1; letter-spacing: .01em;
}
.title span {
  display: inline-block; background: var(--red); color: var(--white); padding: 6px 16px 8px;
  transform: rotate(-1.5deg); border-radius: 6px; box-shadow: 4px 4px 0 var(--black);
}
[dir="rtl"] .title span { transform: rotate(1.5deg); box-shadow: -4px 4px 0 var(--black); }
.section__sub { margin-top: 16px; color: var(--muted-on-dark); max-width: 60ch; font-weight: 600; }

/* ---------- Offers slider ---------- */
.offers { background: radial-gradient(90% 60% at 50% 0%, #2a1512 0%, var(--black) 70%); }
.slider__track {
  display: flex; align-items: center; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
  padding: 6px 16px 18px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
@media (min-width: 1212px) {
  .slider__track { padding-inline: calc((100vw - 1180px) / 2 + 16px); scroll-padding-inline: calc((100vw - 1180px) / 2 + 16px); }
}
.poster {
  position: relative; flex: none; width: 62vw; max-width: 300px; padding: 0; border: 0; border-radius: var(--r-md);
  overflow: hidden; background: var(--ink); scroll-snap-align: start; box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease);
}
.poster--sq { width: 80vw; max-width: 420px; }
.poster img { width: 100%; height: 100%; object-fit: contain; }
.poster:hover { transform: translateY(-4px); }
.poster__zoom {
  position: absolute; inset-inline-end: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(18,17,16,.75); color: var(--yellow);
}
.slider__nav { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Promo banner ---------- */
.promo { background: var(--yellow); color: var(--black); padding: 48px 0; position: relative; overflow: hidden; }
.promo::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--black) 0 2px, transparent 2px 22px);
}
.promo__in { position: relative; display: grid; gap: 24px; align-items: center; }
.promo__media img { border-radius: var(--r-md); box-shadow: 0 0 0 4px var(--black), var(--shadow-2); width: 100%; }
.promo__title { margin-top: 14px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.02; }
.promo__text { margin: 12px 0 20px; font-size: 1.15rem; font-weight: 800; }

/* ---------- Menu ---------- */
.menu { background: var(--yellow); color: var(--black); padding-bottom: 72px; }
.menu .title span { box-shadow: 4px 4px 0 var(--black); }
.menu .section__sub { color: #3A2E14; }
.filters {
  position: sticky; top: var(--header-h); z-index: 30; padding: 10px 0;
  background: rgba(255,201,60,.96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 2px solid rgba(0,0,0,.08);
}
.filters .container { padding-inline: 0; }
.filters__track { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px; scrollbar-width: none; }
.filters__track::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--black);
  background: var(--white); color: var(--black); font-weight: 800; font-size: .95rem;
  transition: background-color .2s, color .2s, transform .15s;
}
.filter:hover { background: var(--cream); }
.filter[aria-pressed="true"] { background: var(--black); color: var(--yellow); }
.filter--hot { background: var(--red); color: var(--white); border-color: var(--red-deep); }
.filter--hot:hover { background: var(--red-deep); }
.filter--hot[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--yellow); }

.menu__list { margin-top: 24px; }
.cat { padding-top: 24px; }
.cat + .cat { margin-top: 20px; }
.cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 16px; }
.cat__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 2rem; line-height: 1;
  background: var(--black); color: var(--yellow); padding: 6px 14px 8px; border-radius: 6px; transform: rotate(-1deg);
}
[dir="rtl"] .cat__title { transform: rotate(1deg); }
.cat--offres .cat__title { background: var(--red); color: var(--white); }
.cat__note { font-weight: 700; color: #3A2E14; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }

.card {
  display: flex; flex-direction: column; background: var(--white); color: var(--black); border-radius: var(--r-md);
  box-shadow: 0 2px 0 rgba(0,0,0,.18), 0 10px 24px rgba(80,50,0,.12); overflow: hidden; position: relative;
}
.card__media { background: var(--ink); display: grid; place-items: center; }
.card__media img { width: 100%; max-height: 340px; object-fit: contain; }
.card__media button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.card__media button:focus-visible { outline: 3px solid var(--black); outline-offset: -3px; }
.card__photo { aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.card__photo picture, .card__photo img { display: block; width: 100%; height: 100%; }
.card__photo img { object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card__photo img { transform: scale(1.04); }

/* Category gallery ("Notre menu") – tap a card to filter */
.catcards-wrap { margin: -4px 0 18px; }
.catcards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; scrollbar-width: none; scroll-padding-inline: 16px; }
.catcards::-webkit-scrollbar { display: none; }
.catcards li { flex: none; width: 62vw; max-width: 260px; scroll-snap-align: start; }
.catcard { display: block; width: 100%; padding: 0; border: 3px solid var(--black); border-radius: var(--r-md); overflow: hidden; background: var(--black);
  box-shadow: 4px 4px 0 var(--black); transition: transform .2s var(--ease), box-shadow .2s; aspect-ratio: 540 / 310; }
.catcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catcard:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.catcard:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--black); }
@media (min-width: 1212px) { .catcards { padding-inline: calc((100vw - 1180px) / 2 + 16px); } }

.about { max-width: 70ch; }
.footer__social { display: flex; gap: 10px; margin-top: 12px; }
.footer__social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--text-on-dark); transition: color .2s, border-color .2s; }
.footer__social a:hover { color: var(--yellow); border-color: var(--yellow); }

.card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__name { font-size: 1.15rem; font-weight: 900; line-height: 1.25; }
.card__desc { font-size: .95rem; color: var(--muted-on-light); font-weight: 600; }
.card__flag {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; background: var(--yellow); color: var(--black);
  font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 0 0 2px var(--black);
}
.price {
  flex: none; display: inline-flex; align-items: baseline; gap: 3px; background: var(--red); color: var(--white);
  padding: 4px 12px; border-radius: 10px; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1;
  box-shadow: 0 3px 0 var(--red-deep); white-space: nowrap; direction: ltr;
}
.price small { font-size: .9rem; }
.card__opts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sizes { display: inline-flex; padding: 3px; background: #F2EBDA; border-radius: 999px; }
.sizes label { position: relative; }
.sizes input, .gratine input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sizes span {
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  font-weight: 800; font-size: .92rem; cursor: pointer; transition: background-color .2s, color .2s;
}
.sizes span b { font-weight: 600; opacity: .75; direction: ltr; }
.sizes input:checked + span { background: var(--black); color: var(--yellow); }
.sizes input:focus-visible + span, .gratine input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.gratine span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 2px dashed #CDBF9C; font-weight: 800; font-size: .92rem; cursor: pointer; transition: all .2s;
}
.gratine span .ico { width: 1em; height: 1em; opacity: 0; transition: opacity .2s; }
.gratine input:checked + span { border-style: solid; border-color: var(--red); background: #FFE7E3; color: var(--red-deep); }
.gratine input:checked + span .ico { opacity: 1; }
.card__foot { margin-top: auto; padding-top: 4px; }
.add-btn { width: 100%; }
.add-btn.is-added { --bg: #11843F; }

/* ---------- Delivery strip ---------- */
.deliv { background: var(--red); color: var(--white); padding: 28px 0; }
.deliv__in { display: flex; gap: 16px; align-items: center; }
.deliv__ico { width: 56px; height: 56px; flex: none; padding: 12px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.deliv__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.4rem, 5.6vw, 2.2rem); line-height: 1.05; }
.deliv__sub { margin-top: 6px; font-weight: 700; opacity: .95; }

/* ---------- Commitments ---------- */
.commit__grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.commit__item { background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 18px 16px; }
.commit__ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--yellow); color: var(--black); margin-bottom: 12px; }
.commit__item h3 { font-size: 1.05rem; font-weight: 900; color: var(--white); }
.commit__item p { margin-top: 6px; font-size: .92rem; color: var(--muted-on-dark); }

/* ---------- Reviews ---------- */
.reviews { padding-top: 16px; }
.reviews__card {
  text-align: center; background: linear-gradient(160deg, var(--ink-2), var(--ink)); border: 1px solid var(--line-dark);
  border-radius: var(--r-lg); padding: 36px 20px; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.rating { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.rating__score { font-family: var(--font-display); line-height: 1; color: var(--yellow); direction: ltr; }
.rating__num { font-size: 5.5rem; }
.rating__max { font-size: 1.8rem; color: var(--muted-on-dark); }
.stars { display: flex; gap: 2px; color: var(--yellow); direction: ltr; }
.stars .ico { width: 30px; height: 30px; }
.star-part { position: relative; display: inline-block; width: 30px; height: 30px; color: rgba(255,255,255,.18); }
.star-part::after { content: ""; }
.star-part .ico { position: absolute; inset: 0; }
.star-part::before {
  content: ""; position: absolute; inset: 0; width: var(--p); overflow: hidden; z-index: 1;
  background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.2 2.95 6.2 6.8.83-5 4.68 1.3 6.73L12 17.33l-6.05 3.31 1.3-6.73-5-4.68 6.8-.83z'/%3E%3C/svg%3E") left center / 30px 30px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.2 2.95 6.2 6.8.83-5 4.68 1.3 6.73L12 17.33l-6.05 3.31 1.3-6.73-5-4.68 6.8-.83z'/%3E%3C/svg%3E") left center / 30px 30px no-repeat;
}
.rating__count { margin-top: 6px; font-weight: 700; color: var(--muted-on-dark); }
.reviews__text { color: var(--muted-on-dark); font-weight: 600; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 16px; }
.contact__cards { display: grid; gap: 14px; }
.info { display: flex; gap: 14px; background: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 18px; }
.info__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: var(--white); }
.info h3 { font-size: 1.05rem; font-weight: 900; color: var(--yellow); margin-bottom: 4px; }
.info p { font-weight: 600; }
.tel { font-size: 1.5rem; font-weight: 900; text-decoration: none; letter-spacing: .02em; }
.info__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.status--inline { margin-top: 8px; display: inline-flex; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: .9rem; }
.status--inline .status__dot { background: var(--closed); }
.map { border-radius: var(--r-md); overflow: hidden; border: 4px solid var(--yellow); min-height: 320px; background: var(--ink); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: #0B0A09; border-top: 4px solid var(--yellow); padding: 40px 0 24px; color: var(--muted-on-dark); }
.footer__in { display: grid; gap: 24px; }
.footer__brand img { width: 110px; }
.footer__slogan { margin-top: 12px; color: var(--white); font-weight: 800; }
.footer__tag { margin-top: 4px; font-size: .9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer__links a { display: inline-block; padding: 10px 10px; text-decoration: none; font-weight: 700; color: var(--text-on-dark); }
.footer__links a:hover { color: var(--yellow); }
.footer__contact p + p { margin-top: 6px; }
.footer__contact a { display: inline-block; min-height: 44px; line-height: 44px; color: var(--yellow); font-weight: 900; font-size: 1.2rem; text-decoration: none; }
.footer__copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer__credit { margin-top: 10px; font-size: 13px; color: var(--muted-on-dark); opacity: .85; }
[dir="rtl"] .footer__credit { text-align: right; }
.footer__credit a { display: inline-block; padding: 12px 2px; margin: -12px 0; color: inherit; font-weight: 700; letter-spacing: .04em;
  text-decoration: underline; text-decoration-color: rgba(201,192,174,.35); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--yellow); text-decoration-color: currentColor; }

/* ---------- Mobile sticky bar ---------- */
.mbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(18,17,16,.96);
  border-top: 1px solid var(--line-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mbar__wa, .mbar__cart { min-height: 48px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-weight: 900; text-decoration: none; }
.mbar__wa { background: var(--green-wa-deep); color: var(--white); padding: 0 16px; }
.mbar__wa .ico { width: 1.5em; height: 1.5em; }
.mbar__cart { justify-content: space-between; border: 0; background: var(--yellow); color: var(--black); padding: 0 8px 0 10px; }
.mbar__icon { position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px; }
.mbar__icon .ico { width: 24px; height: 24px; }
.mbar__icon .badge { position: absolute; top: -6px; inset-inline-end: -8px; }
.mbar__label { flex: 1; min-width: 0; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 4px; }
.mbar__cart { min-width: 0; }
@media (max-width: 379px) { .mbar__wa span { display: none; } .mbar__wa { padding: 0 14px; } }
.mbar__total { background: var(--black); color: var(--yellow); padding: 6px 12px; border-radius: 999px; direction: ltr; }
.wa-fab {
  display: none; position: fixed; z-index: 50; inset-inline-end: 24px; bottom: 24px; width: 62px; height: 62px; border-radius: 50%;
  place-items: center; background: var(--green-wa); color: var(--white); box-shadow: 0 10px 28px rgba(37,211,102,.4);
  transition: transform .2s var(--ease);
}
.wa-fab:hover { transform: scale(1.07); }
.wa-fab .ico { width: 34px; height: 34px; }

/* ---------- Overlay / drawer / modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); }
.drawer {
  position: fixed; z-index: 70; inset-inline: 0; bottom: 0; height: min(92dvh, 92vh); display: flex; flex-direction: column;
  background: var(--cream); color: var(--black); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-2);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid rgba(0,0,0,.08); }
.drawer__head h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; }
[dir="rtl"] .drawer__head h2 { font-family: "Cairo", sans-serif; font-weight: 900; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 20px; }
.drawer__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid rgba(0,0,0,.08); }
.closed-note { background: #FFE7E3; color: var(--red-deep); border-radius: 12px; padding: 12px 14px; font-weight: 700; margin-bottom: 12px; font-size: .95rem; }
.empty { text-align: center; padding: 28px 10px 18px; color: var(--muted-on-light); }
.empty .ico { width: 48px; height: 48px; color: #CDBF9C; margin-bottom: 8px; }
.empty strong { color: var(--black); font-size: 1.1rem; }

.lines { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-1); }
.line__name { font-weight: 900; line-height: 1.25; }
.line__meta { font-size: .88rem; color: var(--muted-on-light); font-weight: 600; }
.line__price { font-weight: 900; white-space: nowrap; direction: ltr; text-align: end; }
.line__ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: #F2EBDA; border-radius: 999px; padding: 3px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-1); }
.qty button:hover { background: var(--black); color: var(--yellow); }
.qty output { min-width: 28px; text-align: center; font-weight: 900; }
.line__rm { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--red-deep); font-weight: 700; font-size: .9rem; border-radius: 8px; }
.line__rm:hover { background: #FFE7E3; }

.order { margin-top: 18px; display: grid; gap: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #F2EBDA; padding: 4px; border-radius: 16px; }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__opt > span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; font-weight: 800; cursor: pointer; text-align: center; transition: background-color .2s, color .2s; padding: 0 6px; }
.seg__opt small { opacity: .7; font-weight: 700; direction: ltr; }
.seg__opt input:checked + span { background: var(--black); color: var(--yellow); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.order__deliv-note { font-weight: 800; color: var(--red-deep); font-size: .95rem; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 2px solid #E2D6B8; background: var(--white);
  font-size: 1rem; resize: vertical; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__err { margin-top: 6px; color: var(--red-deep); font-weight: 700; font-size: .9rem; }

.sum { margin: 0 0 12px; display: grid; gap: 4px; }
.sum div { display: flex; justify-content: space-between; font-weight: 700; color: var(--muted-on-light); }
.sum dd { margin: 0; direction: ltr; }
.sum__total { color: var(--black) !important; font-size: 1.35rem; font-weight: 900 !important; margin-top: 4px; }
.pay-note { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--muted-on-light); }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; align-items: end; background: rgba(0,0,0,.6); }
.modal__box { background: var(--cream); color: var(--black); border-radius: 22px 22px 0 0; max-height: 92dvh; overflow-y: auto; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.modal__offer { padding: 12px 16px 0; font-weight: 800; }
.choice-fields { padding: 12px 16px; display: grid; gap: 16px; }
.choice-fields fieldset { border: 0; margin: 0; padding: 0; }
.choice-fields legend { font-weight: 900; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 2px solid #E2D6B8; font-weight: 800; cursor: pointer; transition: all .2s; }
.pills input:checked + span { background: var(--black); color: var(--yellow); border-color: var(--black); }
.pills input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; padding: 8px 16px 0; }
.modal__actions .btn { flex: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,8,7,.95); display: grid; place-items: center; padding: 64px 12px 96px; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 12px; }
.lightbox__close { position: absolute; top: 12px; inset-inline-end: 12px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__prev { inset-inline-start: 8px; }
.lightbox__next { inset-inline-end: 8px; }
.lightbox__order { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%; translate: -50% 0; }

/* Toast */
.toast {
  position: fixed; z-index: 95; left: 50%; bottom: calc(var(--mbar-h) + 16px + env(safe-area-inset-bottom));
  translate: -50% 20px; opacity: 0; pointer-events: none; background: var(--black); color: var(--white);
  border: 2px solid var(--yellow); padding: 10px 18px; border-radius: 999px; font-weight: 800; white-space: nowrap;
  transition: opacity .25s, translate .25s var(--ease); max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

.noscript { background: var(--white); padding: 16px; border-radius: 12px; font-weight: 700; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .topbar__deliv { display: inline-flex; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .commit__grid { grid-template-columns: repeat(3, 1fr); }
  .cart-btn__label { display: inline; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; }
  .mbar { display: none; }
  .wa-fab { display: grid; }
  .toast { bottom: 28px; }
  .topbar__hours { display: inline-flex; }
  .nav { display: flex; }
  .brand { flex: 0 1 auto; }
  .cart-btn { margin-inline-start: 8px; }
  .brand__logo { width: 88px; }
  .hero { padding: 80px 0 88px; min-height: min(780px, 88vh); display: flex; align-items: center; }
  .hero__in { grid-template-columns: 1.35fr .85fr; align-items: center; gap: 56px; }
  .best { margin-top: 40px; }
  .section { padding: 96px 0; }
  .poster { width: 300px; }
  .poster--sq { width: 420px; }
  .promo__in { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cat--offres .grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr 1.2fr; }
  .footer__in { grid-template-columns: 1.3fr 1fr 1fr; }

  .drawer { inset-inline: auto 0; inset-block: 0; height: 100dvh; width: 440px; border-radius: 0; }
  [dir="rtl"] .drawer { inset-inline: 0 auto; }
  .drawer { right: 0; left: auto; }
  [dir="rtl"] .drawer { left: 0; right: auto; }
  .modal { align-items: center; justify-items: center; }
  .modal__box { width: min(520px, 92vw); border-radius: 22px; padding-bottom: 16px; }
  .lightbox__prev { inset-inline-start: 24px; }
  .lightbox__next { inset-inline-end: 24px; }
}

@media (min-width: 1200px) {
  .cat--offres .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
