/* ==========================================================================
   El Top — styles
   Tokens → base → layout → components → sections. Logical properties
   (inline/block) throughout so RTL (Arabic) and LTR (English) share one sheet.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand (from the El Top logo and cover) */
  --saffron: #F4B31A;
  --saffron-deep: #E09A00;
  --maroon: #7A1712;
  --maroon-deep: #4E0C09;
  --flame: #D3261C;
  --paper: #FFF7EC;
  --cocoa: #2B100C;

  /* Semantic — light */
  --bg: var(--paper);
  --surface: #FFFFFF;
  --surface-2: #FBEBD3;
  --text: var(--cocoa);
  --muted: #6B4A40;
  --line: #EED8BC;
  --accent: var(--maroon);
  --accent-hover: #93201A;
  --on-accent: #FFFFFF;
  --price-bg: #FFF1D6;
  --price-ink: var(--maroon);
  --hero-bg: var(--saffron);
  --hero-ink: var(--maroon);
  --hero-text: var(--cocoa);
  --footer-bg: var(--maroon-deep);
  --footer-ink: #FBE3C2;
  --shadow: 0 1px 0 rgba(78, 12, 9, 0.06), 0 12px 28px -18px rgba(78, 12, 9, 0.45);
  --focus: var(--flame);

  /* Type */
  --font-display: "Lalezar", "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --fs-hero: clamp(2.6rem, 1.4rem + 5.4vw, 5.5rem);

  /* Space & shape */
  --gutter: 16px;
  --container: 1180px;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 68px;
}

@media (min-width: 720px) {
  :root { --gutter: 28px; }
}

/* Dark: system preference unless the visitor chose light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A0B09;
    --surface: #251210;
    --surface-2: #301612;
    --text: #FBEBD6;
    --muted: #C9A897;
    --line: #42211B;
    --accent: var(--saffron);
    --accent-hover: #FFC63D;
    --on-accent: var(--cocoa);
    --price-bg: #3A1A14;
    --price-ink: #FFD27A;
    --hero-bg: #5C110C;
    --hero-ink: var(--saffron);
    --hero-text: #FBEBD6;
    --footer-bg: #120706;
    --footer-ink: #E8CDB4;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 14px 30px -18px rgba(0, 0, 0, 0.8);
    --focus: var(--saffron);
  }
}
:root[data-theme="dark"] {
  --bg: #1A0B09;
  --surface: #251210;
  --surface-2: #301612;
  --text: #FBEBD6;
  --muted: #C9A897;
  --line: #42211B;
  --accent: var(--saffron);
  --accent-hover: #FFC63D;
  --on-accent: var(--cocoa);
  --price-bg: #3A1A14;
  --price-ink: #FFD27A;
  --hero-bg: #5C110C;
  --hero-ink: var(--saffron);
  --hero-text: #FBEBD6;
  --footer-bg: #120706;
  --footer-ink: #E8CDB4;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 14px 30px -18px rgba(0, 0, 0, 0.8);
  --focus: var(--saffron);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 72px);
}
html.i18n-pending body { visibility: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:lang(en) body, body:lang(en) { line-height: 1.55; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.55em 1.15em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding-inline: 1.5em; font-size: var(--fs-md); }
.btn-small { min-height: 40px; padding: 0.35em 1em; font-size: var(--fs-sm); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { border-color: currentColor; color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-inline-end: auto;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  padding-top: 0.15em;
}

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover { background: var(--surface-2); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.lang-btn { font-weight: 700; font-size: 0.95rem; }
.lang-btn:lang(ar) { font-size: 1.15rem; }

#theme-toggle .icon-sun { display: none; }
#theme-toggle[aria-pressed="true"] .icon-sun { display: block; }
#theme-toggle[aria-pressed="true"] .icon-moon { display: none; }

.btn-call { background: var(--accent); color: var(--on-accent); margin-inline-start: 6px; }
.btn-call:hover { background: var(--accent-hover); }

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-grid; }
  .btn-call { display: none; }
  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: var(--fs-md); }
  .site-nav a:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  gap: 28px;
  padding-block: 36px 28px;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 1.05;
  color: var(--hero-ink);
  max-width: 11ch;
  text-wrap: balance;
}
:lang(en) .hero-title { line-height: 0.98; max-width: 12ch; }
.hero-lead {
  margin-top: 18px;
  font-size: var(--fs-md);
  max-width: 34ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: var(--hero-ink); color: var(--hero-bg); }
.hero .btn-primary:hover { background: var(--cocoa); color: #fff; }
.hero .btn-ghost { color: var(--hero-ink); }
.hero .btn-ghost:hover { background: var(--hero-ink); border-color: var(--hero-ink); color: var(--hero-bg); }

.hero-media { position: relative; margin: 0; }
.hero-media > img:first-child {
  width: 100%;
  aspect-ratio: 1080 / 700;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
  border: 6px solid var(--hero-ink);
}
:root[dir="rtl"] .hero-media > img:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 120px var(--radius-lg);
}
.hero-badge {
  position: absolute;
  inset-block-start: -18px;
  inset-inline-end: -10px;
  width: clamp(84px, 18vw, 128px);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 24px -10px rgba(43, 16, 12, 0.6);
  transform: rotate(-8deg);
}

.hero-facts {
  list-style: none;
  margin: 0 auto;
  display: grid;
  gap: 10px;
  padding-block: 0 32px;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--hero-ink);
}
.hero-facts .icon { width: 1.4em; height: 1.4em; }

@media (min-width: 640px) {
  .hero-facts { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    padding-block: 64px 40px;
  }
  .hero-facts { padding-block-end: 48px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head { margin-block-end: 28px; }
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--accent);
}
.section-lead { margin-top: 8px; color: var(--muted); max-width: 60ch; }

/* ---------- Offers ---------- */
.offers-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 300px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-block-end: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.offer-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.offer-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.offer-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.offer-body h3 { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--accent); }
.offer-body p { color: var(--muted); font-size: var(--fs-sm); }
.offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}
.offer-price { font-weight: 600; color: var(--text); }
.offer-price b { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; color: var(--flame); }
.offer-price small { color: var(--muted); font-size: var(--fs-sm); }
.offer-price-tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--cocoa);
}

@media (min-width: 1240px) {
  .offers-track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}

/* ---------- Menu board ---------- */
.menu { background: var(--surface-2); }

.menu-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}
.menu-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 10px;
}
.menu-tabs {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a {
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted);
}
.menu-tabs a:hover { color: var(--text); background: var(--surface); }
.menu-tabs a.is-active { background: var(--accent); color: var(--on-accent); }

.menu-search {
  position: relative;
  flex: 0 1 260px;
  display: flex;
  align-items: center;
}
.menu-search .icon {
  position: absolute;
  inset-inline-start: 14px;
  color: var(--muted);
  pointer-events: none;
}
.menu-search input {
  width: 100%;
  min-height: 44px;
  padding-inline: 44px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.menu-search input::placeholder { color: var(--muted); }

@media (max-width: 719px) {
  html { scroll-padding-top: calc(var(--header-h) + 128px); }
  .menu-bar-inner { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .menu-search { flex-basis: auto; }
}

.menu-board {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
/* Two balanced columns on wide screens; categories never split across columns */
@media (min-width: 1000px) {
  .menu-board { display: block; columns: 2; column-gap: 20px; }
  .menu-board .cat { break-inside: avoid; margin-bottom: 20px; }
}

.cat {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cat-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 12px;
  padding: 18px 18px 12px;
  background: var(--maroon);
  color: #FFF4E2;
}
.cat-head h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--saffron);
}
.cat-note { grid-column: 1; font-size: var(--fs-sm); opacity: 0.85; }
.cat-sizes {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: none;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
}
.cat-sizes span { width: var(--price-w); }

.items { list-style: none; margin: 0; padding: 6px 0; }
.item {
  --price-w: 4.25rem;
  display: grid;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px dashed var(--line);
}
.item:last-child { border-bottom: 0; }
.item[hidden] { display: none; }

.item-name { font-weight: 500; }
.special {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
  padding: 1px 8px 1px 6px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--cocoa);
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: 2px;
}
.special .icon { width: 1em; height: 1em; color: var(--flame); }

.item-prices { display: flex; flex-wrap: wrap; gap: 6px; }
.price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: var(--price-w);
  min-height: 44px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--price-bg);
  color: var(--price-ink);
  text-decoration: none;
  line-height: 1.15;
  transition: background-color 0.15s, color 0.15s;
}
a.price:hover { background: var(--flame); color: #fff; }
.price-size { font-size: 0.7rem; font-weight: 500; opacity: 0.8; }
.price-amt { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price-none { background: transparent; color: var(--muted); }

/* Wider screens: item name and an aligned column per size, sizes shown once in the header */
@media (min-width: 560px) {
  .cat-sizes { display: flex; --price-w: 4.25rem; }
  .item { grid-template-columns: 1fr auto; align-items: center; }
  .item-prices { flex-wrap: nowrap; }
  .price { min-height: 40px; }
  .price-size { display: none; }
}

.menu-empty {
  margin-top: 24px;
  padding: 24px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--surface);
}
.menu-note { margin-top: 20px; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- About + gallery ---------- */
.about-inner { display: grid; gap: 36px; align-items: center; }
.about-copy { display: grid; gap: 16px; justify-items: start; max-width: 52ch; }
.about-copy p { font-size: var(--fs-md); }
.about-copy p + p { color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 10px;
}
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.gallery .g-a { grid-column: span 2; grid-row: span 2; border-radius: var(--radius); }
/* The 4th photo is a wide banner across the bottom, so the grid has no empty cells */
.gallery .g-d { grid-column: 1 / -1; aspect-ratio: 1080 / 590; height: auto; border-radius: var(--radius); }

@media (min-width: 900px) {
  .about-inner { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

/* ---------- Branches ---------- */
.branches { background: var(--surface-2); }
.branch-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .branch-grid { grid-template-columns: 1fr 1fr; } }

.branch {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border-inline-start: 6px solid var(--saffron);
}
.branch h3 { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--accent); }
.branch-line { display: flex; gap: 10px; align-items: flex-start; }
.branch-line .icon { margin-top: 0.2em; color: var(--flame); }
.phones { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.phones a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--price-bg);
  color: var(--price-ink);
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.phones a:hover { background: var(--flame); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.footer-cta { background: var(--saffron); color: var(--cocoa); }
.footer-cta-inner {
  display: grid;
  gap: 8px 32px;
  padding-block: 40px;
  align-items: center;
}
.footer-cta-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.1;
  color: var(--maroon);
}
.footer-cta-sub { font-weight: 500; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.btn-footer-primary { background: var(--maroon); color: #FFF4E2; }
.btn-footer-primary:hover { background: var(--cocoa); }
.btn-footer-ghost { border-color: var(--maroon); color: var(--maroon); }
.btn-footer-ghost:hover { background: var(--maroon); color: #FFF4E2; }
@media (min-width: 900px) {
  .footer-cta-inner { grid-template-columns: 1fr auto; }
  .footer-cta-actions { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

.footer-grid {
  display: grid;
  gap: 36px;
  padding-block: 56px 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1fr; gap: 40px; } }

.footer-brand { display: grid; gap: 12px; justify-items: start; align-content: start; }
.footer-brand img { border-radius: 50%; }
.footer-slogan {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.2;
  color: var(--saffron);
  max-width: 18ch;
}
.footer-tag { opacity: 0.85; max-width: 36ch; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.footer-social:hover { color: var(--saffron); }

.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--saffron);
}
.footer-col p { opacity: 0.85; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-col ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}
.footer-col ul a:hover { color: var(--saffron); text-decoration: underline; text-underline-offset: 4px; }
.footer-phones a { font-variant-numeric: tabular-nums; font-weight: 600; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  border-top: 1px solid color-mix(in srgb, var(--footer-ink) 18%, transparent);
  font-size: var(--fs-sm);
}
.footer-hours { display: inline-flex; align-items: center; gap: 8px; }
.footer-copy { opacity: 0.7; }

.footer-wordmark {
  margin: -0.28em 0 0;
  padding-inline: var(--gutter);
  font-family: var(--font-display);
  font-size: clamp(6rem, 26vw, 22rem);
  line-height: 0.8;
  text-align: center;
  color: color-mix(in srgb, var(--saffron) 14%, transparent);
  user-select: none;
  transform: translateY(12%);
}

/* ---------- Order dialog ---------- */
body.has-dialog { overflow: hidden; }

.order {
  width: min(480px, calc(100% - 32px));
  max-height: min(92dvh, 760px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}
.order::backdrop { background: rgba(26, 11, 9, 0.6); backdrop-filter: blur(3px); }
.order[open] { display: flex; }
.order-sheet { display: flex; flex-direction: column; width: 100%; min-height: 0; margin: 0; }

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 14px;
  background: var(--maroon);
  color: #FFF4E2;
}
.order-kicker { font-size: var(--fs-sm); opacity: 0.85; }
.order-title { font-family: var(--font-display); font-size: 1.75rem; color: var(--saffron); }
.order-close { flex: none; color: inherit; }
.order-close:hover { background: rgba(255, 255, 255, 0.12); }

.order-body {
  display: grid;
  gap: 18px;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.order-offer { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; }
.order-offer img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.order-offer img[hidden] { display: none; }
.order-offer:has(img[hidden]) { grid-template-columns: 1fr; }
.order-label { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.order-includes { font-weight: 600; font-size: var(--fs-md); line-height: 1.4; }

.order .field { display: grid; gap: 8px; min-width: 0; }
.order .field > label, .order .field .label { font-weight: 600; font-size: var(--fs-sm); }
.order .field select {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-md);
}
.order .field select:focus-visible { border-color: var(--accent); outline-offset: 1px; }

/* Big quantity stepper */
.stepper {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.stepper-btn {
  width: 56px; height: 56px;
  border: 0; border-radius: 50%;
  background: transparent;
  font-size: 1.75rem; font-weight: 600; line-height: 1;
  color: var(--accent);
  cursor: pointer;
}
.stepper-btn:hover { background: var(--surface-2); }
.stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.order-foot {
  display: grid;
  gap: 12px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.order-total { display: flex; align-items: baseline; gap: 6px; font-weight: 600; }
.order-total b { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; color: var(--flame); }
.order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order-actions .btn { width: 100%; padding-inline: 0.75em; }

/* Phones: the dialog becomes a bottom sheet */
@media (max-width: 599px) {
  .order {
    margin: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 94dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .order[open] { animation: sheet-up 0.22s ease-out; }
}
@media (max-width: 359px) {
  .order-actions { grid-template-columns: 1fr; }
}
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }

/* ---------- Mobile quick bar ---------- */
.quick-bar { display: none; }
@media (max-width: 719px) {
  .quick-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .quick-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent);
    color: var(--accent);
  }
  .quick-bar a:last-child { background: var(--accent); color: var(--on-accent); }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Design switcher (MVP: shows the client every whole-site design) ---------- */
.design-bar {
  position: fixed;
  inset-inline: 0;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 70;
  width: max-content;
  max-width: calc(100% - 24px);
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--cocoa);
  color: #FFF4E2;
  box-shadow: 0 18px 40px -14px rgba(43, 16, 12, 0.7), 0 0 0 2px var(--saffron);
}
:root[data-theme="dark"] .design-bar { box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.9), 0 0 0 2px var(--saffron); }

.design-step,
.design-name {
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.design-step {
  display: grid;
  place-items: center;
  width: 52px;
  min-height: 52px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--cocoa);
}
.design-step:hover { background: #FFC63D; }
.design-step .icon { width: 1.5em; height: 1.5em; stroke-width: 2.5; }
/* Chevrons point outward: prev toward the start edge, next toward the end edge */
.design-next .icon { transform: scaleX(-1); }
:root[dir="rtl"] .design-prev .icon { transform: scaleX(-1); }
:root[dir="rtl"] .design-next .icon { transform: none; }

.design-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 52px;
  padding-inline: 14px 18px;
  border-radius: 999px;
  background: transparent;
  text-align: start;
}
.design-name:hover { background: rgba(255, 255, 255, 0.08); }
.design-name > .icon { width: 1.5em; height: 1.5em; color: var(--saffron); }
.design-name-text { display: grid; line-height: 1.2; min-width: 0; }
.design-name-text small { font-size: 0.75rem; opacity: 0.8; white-space: nowrap; }
.design-name-text b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--saffron);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.design-list {
  position: absolute;
  inset-inline: 0;
  bottom: calc(100% + 12px);
  width: min(420px, calc(100vw - 24px));
  margin-inline: auto;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line);
}
.design-list[hidden] { display: none; }
.design-list-title { padding: 6px 10px 10px; font-weight: 600; color: var(--muted); font-size: var(--fs-sm); }
.design-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.design-opt:hover { background: var(--surface-2); }
.design-opt[aria-pressed="true"] { background: var(--price-bg); }
.design-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.design-opt[aria-pressed="true"] .design-num { background: var(--accent); color: var(--on-accent); }
.design-opt b { display: block; font-weight: 600; }
.design-opt small { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }

/* On phones, sit above the Call / WhatsApp quick bar */
@media (max-width: 719px) {
  .design-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .design-step { width: 46px; min-height: 46px; }
  .design-name { min-height: 46px; padding-inline: 10px 12px; }
  .design-name-text b { font-size: 1.1rem; }
}

/* A short fade so the switch reads as a change of design, not a glitch */
:root.is-switching [data-section] { animation: design-in 0.35s ease-out; }
@keyframes design-in { from { opacity: 0.25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  :root.is-switching [data-section] { animation: none; }
}

/* Room at the very bottom so the fixed bars never hide the end of the page.
   It lives inside the footer (not on body) so it takes each footer design's own background. */
:root { --page-end: 92px; }
@media (max-width: 719px) {
  :root { --page-end: calc(140px + env(safe-area-inset-bottom)); }
}
footer[data-section]::after {
  content: "";
  display: block;
  height: var(--page-end);
  background: var(--footer-end, transparent);
}

/* Carousels glide instead of jumping (buttons, keyboard and auto-play) */
.offers-track,
[data-section="offers"] .ofv-track,
[data-section="offers"] .ofv-spot-track,
[data-section="about"] .abv4-strip {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
@media (prefers-reduced-motion: reduce) {
  .offers-track,
  [data-section="offers"] .ofv-track,
  [data-section="offers"] .ofv-spot-track,
  [data-section="about"] .abv4-strip { scroll-behavior: auto; }
}

/* ==========================================================================
   Polish: scrollbars, motion, even cards
   ========================================================================== */

/* Scrollbars: thin, rounded, in the brand palette (page, panels, dialogs, tables) */
html { scrollbar-color: color-mix(in srgb, var(--accent) 45%, transparent) transparent; }
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 40%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--accent) 70%, transparent); }
::-webkit-scrollbar-corner { background: transparent; }

/* Carousels and chip strips: no scrollbar at all (arrows, dots, swipe and auto-play move them) */
.offers-track,
.menu-tabs,
[data-section] [class*="track"],
[data-section] [class*="rail"],
[data-section] [class*="strip"],
[data-section] [class*="tabs"],
[data-section] [class*="chips"],
[data-section] [class*="filters"],
[data-section] [class*="-nav"],
[data-section] [class*="cats"] {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.offers-track::-webkit-scrollbar,
.menu-tabs::-webkit-scrollbar,
[data-section] [class*="track"]::-webkit-scrollbar,
[data-section] [class*="rail"]::-webkit-scrollbar,
[data-section] [class*="strip"]::-webkit-scrollbar,
[data-section] [class*="tabs"]::-webkit-scrollbar,
[data-section] [class*="chips"]::-webkit-scrollbar,
[data-section] [class*="filters"]::-webkit-scrollbar,
[data-section] [class*="-nav"]::-webkit-scrollbar,
[data-section] [class*="cats"]::-webkit-scrollbar { display: none; }

/* ---------- Motion ---------- */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* Hero: one short sequence on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-lead, .hero-ctas, .hero-facts li { animation: rise var(--dur) var(--ease-out) both; }
  .hero-lead { animation-delay: 0.08s; }
  .hero-ctas { animation-delay: 0.16s; }
  .hero-facts li { animation-delay: 0.3s; }
  .hero-facts li:nth-child(2) { animation-delay: 0.36s; }
  .hero-facts li:nth-child(3) { animation-delay: 0.42s; }
  .hero-media > img:first-child { animation: settle 0.8s var(--ease-out) both; animation-delay: 0.05s; }
  .hero-badge { animation: badge-in 0.7s var(--ease-out) both; animation-delay: 0.45s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes badge-in { from { opacity: 0; transform: rotate(-30deg) scale(0.6); } to { opacity: 1; transform: rotate(-8deg); } }

/* Scroll reveal: only armed when JS is running and motion is allowed (see main.js) */
.motion [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.motion [data-reveal].is-in { opacity: 1; translate: none; }

/* Hover: cards lift a little and their photos zoom a touch */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-lift] { transition: opacity var(--dur) var(--ease-out), translate 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
  .motion [data-lift].is-in:hover, [data-lift]:hover { translate: 0 -4px; box-shadow: 0 18px 36px -22px rgba(43, 16, 12, 0.55); }
  [data-lift="zoom"] img { transition: transform 0.6s var(--ease-out); }
  [data-lift="zoom"]:hover img { transform: scale(1.04); }
  .btn { transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.2s var(--ease-out), box-shadow 0.2s; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(1px) scale(0.98); }
}

/* Smooth page scrolling for in-page links */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
