:root {
  color-scheme: only light;
  --background: #f2d8ab;
  --background-soft: #f8e7c9;
  --background-deep: #e7c18b;
  --surface: #fff6e7;
  --surface-strong: #fffaf0;
  --surface-secondary: #f6dfba;
  --text-primary: #321b14;
  --text-secondary: #715e52;
  --accent: #86171a;
  --accent-hover: #6c1013;
  --accent-secondary: #a23e1d;
  --accent-soft: #f4ddc3;
  --gold: #c98a26;
  --success: #148846;
  --success-hover: #0e7039;
  --border: rgba(105, 54, 31, 0.18);
  --border-strong: rgba(134, 23, 26, 0.3);
  --text-on-accent: #fff9ed;
  --shadow-soft: 0 8px 24px rgba(77, 39, 20, 0.09);
  --shadow: 0 16px 42px rgba(77, 39, 20, 0.13);
  --shadow-strong: 0 24px 64px rgba(57, 26, 13, 0.2);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 26px;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-script: "Marck Script", "Cormorant Garamond", Georgia, cursive;
  --hero-image: url("assets/hero-ok1-v2-optimized.jpg");

  --wine: var(--accent);
  --wine-dark: var(--accent-hover);
  --terracotta: var(--accent-secondary);
  --green: var(--success);
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --cream: var(--surface);
  --cream-deep: var(--surface-secondary);
  --paper: var(--surface);
  --line: var(--border);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --background: #241c19;
  --background-soft: #2b221e;
  --background-deep: #352820;
  --surface: #362b25;
  --surface-strong: #40332b;
  --surface-secondary: #4a392e;
  --text-primary: #f3e8d7;
  --text-secondary: #cbb9a6;
  --accent: #e8b080;
  --accent-hover: #f0c99c;
  --accent-secondary: #b97750;
  --accent-soft: #594130;
  --gold: #dab176;
  --success: #75b787;
  --success-hover: #92ca9e;
  --border: rgba(237, 204, 164, .2);
  --border-strong: rgba(232, 176, 128, .42);
  --text-on-accent: #281b17;
  --shadow-soft: 0 8px 24px rgba(9, 6, 5, .21);
  --shadow: 0 16px 42px rgba(9, 6, 5, .3);
  --shadow-strong: 0 24px 64px rgba(9, 6, 5, .46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: only light; background-color: var(--background); }
body {
  margin: 0;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 9% 4%, rgba(255,250,239,.82), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(166,83,31,.12), transparent 30%),
    linear-gradient(145deg, var(--background) 0%, var(--background-soft) 44%, var(--background-deep) 100%);
  background-color: var(--background);
  min-height: 100vh;
  min-height: 100dvh;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
body.side-menu-open {
  position: fixed;
  top: var(--side-menu-scroll-top);
  width: 100%;
  overflow: hidden;
  padding-inline-end: calc(env(safe-area-inset-right) + var(--side-menu-scrollbar-gap, 0px));
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(201,138,38,.38);
  outline-offset: 3px;
}

.page-shell { min-height: 100vh; min-height: 100dvh; }
.hero {
  position: relative;
  padding-top: env(safe-area-inset-top);
  min-height: clamp(440px, 29vw, 520px);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--background-soft);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-strong);
  box-shadow: inset 0 -1px rgba(255,250,239,.7);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,247,227,.07), transparent 55%);
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent 4%, rgba(255,246,224,.22) 26%, transparent 52%);
}
.topbar, .hero__copy { position: relative; z-index: 1; }
.topbar {
  width: min(1480px, calc(100% - 12%));
  margin: 0 auto;
  min-height: 244px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 76px 0 16px;
}
.brand {
  text-decoration: none;
  display: grid;
  justify-items: center;
  width: fit-content;
}
.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3.7rem, 5.6vw, 6rem);
  line-height: .98;
  letter-spacing: .015em;
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(255,250,239,.9), 0 8px 26px rgba(94,35,18,.08);
}
.brand__ornament {
  display: block;
  width: 260px;
  height: 38px;
  margin: 0 auto 5px;
  color: var(--gold);
}
.brand__ornament svg { display: block; width: 100%; height: 100%; }
.brand__tagline { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.7rem); margin-top: 2px; }
.topbar__actions { position: absolute; inset-inline-end: 0; top: 24px; display: flex; gap: 14px; align-items: center; }
#menuToggle { position: absolute; inset-inline-start: 0; top: 24px; }
.ui-icon { display: block; width: 26px; height: 26px; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__note { position: absolute; top: 72px; inset-inline-end: 15%; z-index: 1; margin: 0; color: #8d511e; font: 1.8rem/1.15 var(--font-script); text-align: center; transform: rotate(-10deg); text-shadow: 0 1px 9px rgba(255,239,211,.6); }
.icon-btn, .cart-icon {
  border: 1px solid var(--border);
  background: rgba(255,249,237,.94);
  backdrop-filter: blur(12px) saturate(1.05);
  border-radius: 999px;
  min-width: 54px;
  height: 54px;
  font-size: 1.55rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.icon-btn:hover, .cart-icon:hover { background: var(--surface-strong); transform: translateY(-1px); box-shadow: var(--shadow); }
.icon-btn:active, .cart-icon:active { transform: translateY(0); }
.account-btn.is-authenticated { color: var(--text-on-accent); background: var(--accent); border-color: var(--accent); }
.account-btn.is-authenticated:hover { background: var(--accent-hover); }
.cart-icon { position: relative; padding: 0 14px; }
.cart-icon span {
  position: absolute;
  top: -5px;
  inset-inline-end: -2px;
  background: var(--accent);
  color: var(--text-on-accent);
  min-width: 23px;
  height: 23px;
  border-radius: 50%;
  font-size: .78rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.hero__copy {
  width: min(1480px, calc(100% - 12%));
  margin: 0 auto;
  padding-bottom: 54px;
  max-width: 1440px;
}
.hero__copy > p {
  max-width: 450px;
  color: #995720;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 3vw, 3.3rem);
  line-height: 1.3;
  margin: 0 0 26px;
  margin-inline-start: 20px;
  text-shadow: 0 1px 0 rgba(255,250,239,.76);
}
.hero__quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__quick-actions button {
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255,250,239,.96);
  box-shadow: 0 10px 26px rgba(74,31,14,.14);
  font-weight: 800;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.hero__quick-actions button:hover { background: var(--surface-strong); transform: translateY(-1px); box-shadow: var(--shadow); }
.hero__quick-actions button:active { transform: translateY(0); }
.hero__quick-actions .pwa-install-button { color: var(--text-on-accent); border-color: var(--accent); background: linear-gradient(135deg, #9a2021, var(--accent)); }
.hero__quick-actions .pwa-install-button:hover { color: var(--text-on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.pwa-install-button[hidden], .pwa-install-instruction[hidden] { display: none; }
.pwa-install-instruction { width: fit-content; max-width: min(430px, 100%); margin-top: 12px; padding: 10px 14px; border: 1px solid rgba(201,138,38,.42); border-radius: 12px; color: var(--accent); background: rgba(255,249,237,.9); box-shadow: var(--shadow-soft); font-size: .88rem; font-weight: 700; line-height: 1.45; }

main {
  background-color: var(--background-soft);
  background-image: linear-gradient(180deg, rgba(248,229,200,.86), rgba(248,229,200,.93) 500px, var(--background-soft) 940px), var(--hero-image);
  background-size: 100% 100%, auto 850px;
  background-position: center top;
  background-repeat: no-repeat;
}
.catalog { width: min(1440px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 56px; }
.menu-switch {
  transform: translateY(-28px);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 7px;
  border-radius: 18px;
  max-width: 760px;
  margin: 0 auto -5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(201,138,38,.24);
}
.menu-switch__button { min-height: 54px; border: 0; border-radius: 13px; background: transparent; font-family: var(--font-heading); font-weight: 600; font-size: 1.55rem; cursor: pointer; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.menu-switch__button:hover:not(.active) { background: var(--accent-soft); }
.menu-switch__button.active { color: var(--text-on-accent); background: linear-gradient(135deg, #9a2021, var(--accent)); box-shadow: 0 8px 20px rgba(123,23,23,.2); }
.catalog__toolbar { display: grid; gap: 14px; margin-top: 16px; }
.search-wrap {
  margin: 0 auto;
  width: min(620px, 100%);
  display: flex;
  align-items: center;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  transition: .2s ease;
}
.search-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,144,47,.14); }
.search-wrap input { width: 100%; border: 0; outline: 0; background: transparent; min-height: 48px; padding: 0 10px; color: var(--text-primary); }
.search-wrap input::placeholder { color: var(--text-secondary); opacity: .85; }
.search-wrap button { border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; }
.category-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  width: 100%;
  overflow: visible;
  padding: 8px 2px 12px;
}
.category-chip { white-space: normal; border: 1px solid var(--border); background: rgba(255,249,239,.93); border-radius: 999px; min-height: 58px; padding: 9px 14px; cursor: pointer; font-weight: 600; line-height: 1.3; box-shadow: 0 5px 14px rgba(77,39,20,.06); transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.category-chip:hover { background: var(--surface-strong); border-color: rgba(134,23,26,.24); transform: translateY(-1px); }
.category-chip.active { color: var(--accent); background: var(--surface-strong); border-color: var(--accent-secondary); box-shadow: 0 6px 18px rgba(106,43,17,.1); }
.category-chip--promotion { color: var(--accent); border-color: rgba(134,23,26,.26); background: rgba(255,246,231,.96); }
.promotion-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 10px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(134,23,26,.24);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255,250,240,.92), rgba(246,223,186,.9));
  box-shadow: 0 10px 26px rgba(77,39,20,.08);
}
.promotion-banner[hidden] { display: none; }
.promotion-banner__icon { font-size: 1.6rem; filter: saturate(.85); }
.promotion-banner__copy { min-width: 0; }
.promotion-banner__copy strong,
.promotion-banner__copy span { display: block; }
.promotion-banner__copy strong { color: var(--accent); font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.15; }
.promotion-banner__copy span { margin-top: 3px; color: var(--muted); font-size: .82rem; }
.promotion-banner__button { min-height: 42px; padding: 8px 16px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); background: rgba(255,250,240,.82); font-weight: 800; cursor: pointer; }
.promotion-banner__button:hover { color: var(--text-on-accent); background: var(--accent); }
.catalog__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 26px 0 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--accent); font-weight: 800; margin: 0 0 7px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
h1 { margin: 0; font-size: clamp(2rem, 2.7vw, 2.7rem); line-height: 1.1; color: var(--accent-hover); }
.catalog__heading > p { margin: 0; color: var(--muted); }
.catalog__language-notice { margin: -10px 0 18px; padding-inline-start: 10px; border-inline-start: 2px solid var(--border-strong); color: var(--muted); font-size: .85rem; }
.catalog__language-notice[hidden] { display: none; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dish-card { background: var(--surface); border: 1px solid rgba(116,62,34,.13); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; min-height: 425px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dish-card:hover { transform: translateY(-3px); border-color: rgba(134,23,26,.19); box-shadow: var(--shadow); }
.dish-card__visual { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(145deg, var(--surface-secondary), var(--surface-strong)); position: relative; }
.dish-card__visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.dish-card:hover img { transform: scale(1.025); }
.dish-card__promotion-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; padding: 6px 10px; border: 1px solid rgba(255,250,240,.5); border-radius: 999px; color: var(--text-on-accent); background: rgba(134,23,26,.92); box-shadow: 0 6px 18px rgba(52,18,10,.2); font-size: .78rem; font-weight: 800; backdrop-filter: blur(5px); }
.favorite-btn { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,250,240,.72); border-radius: 50%; color: var(--accent); background: rgba(255,250,240,.93); box-shadow: 0 6px 18px rgba(52,18,10,.18); font-size: 1.55rem; line-height: 1; cursor: pointer; backdrop-filter: blur(5px); transition: transform .18s ease, background-color .18s ease; }
.favorite-btn:hover { transform: scale(1.06); background: #fffaf0; }
.favorite-btn.is-favorite { color: #b51f32; }
.favorite-btn:disabled { opacity: .62; cursor: wait; transform: none; }
.photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 20px; color: rgba(100,41,22,.68); background: radial-gradient(circle at 30% 25%, rgba(255,250,239,.68), transparent 32%), linear-gradient(135deg, var(--background-soft), var(--background-deep)); }
.photo-placeholder span { font-family: var(--font-heading); font-size: 1.2rem; }
.photo-placeholder span::before { content: "❦"; display: block; font-size: 2.4rem; color: var(--gold); margin-bottom: 6px; }
.dish-card__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.dish-card h2 { font-size: 1.55rem; line-height: 1.05; margin: 0 0 9px; color: var(--text-primary); min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.dish-card__description { color: var(--muted); font-size: .9rem; line-height: 1.45; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.dish-card__description.is-expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }
.dish-card__more { align-self: flex-start; margin: -5px 0 12px; padding: 2px 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.dish-card__more:hover { text-decoration: underline; }
.dish-card__more:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.dish-card__more[hidden] { display: none; }
.dish-card__spacer { flex: 1; }
.dish-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 13px; }
.dish-card__unit { color: var(--muted); font-size: .88rem; unicode-bidi: isolate; }
.price-token { display: inline-flex; flex-direction: row; align-items: baseline; gap: .18em; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
html[lang="he"] .price-token { gap: 0; }
.dish-card__price { color: var(--accent); font-family: var(--font-heading); font-weight: 700; font-size: 1.48rem; white-space: nowrap; }
.dish-card__sale-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 3px 8px; text-align: end; white-space: nowrap; }
.dish-card__sale-price del { color: var(--muted); font-size: .78rem; }
.dish-card__sale-price strong { color: var(--accent); font-family: var(--font-heading); font-size: 1.48rem; }
html[dir="rtl"] .dish-card__sale-price { direction: rtl; }
.dish-card__actions { display: grid; grid-template-columns: 48px 1fr; gap: 8px; margin-top: 13px; }
.note-btn, .add-btn { min-height: 46px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 800; border: 1px solid var(--border-strong); transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.note-btn { color: var(--accent); background: var(--surface-strong); font-size: 1.15rem; }
.note-btn:hover { background: var(--accent-soft); }
.add-btn { border: 0; color: var(--text-on-accent); background: linear-gradient(135deg, var(--accent-secondary), #873018); box-shadow: 0 7px 16px rgba(122,42,14,.17); }
.add-btn:hover { background: linear-gradient(135deg, #ae4923, var(--accent-secondary)); transform: translateY(-1px); box-shadow: 0 10px 20px rgba(122,42,14,.2); }
.add-btn:active, .note-btn:active { transform: translateY(0); }

.cart-panel { background: var(--surface); border: 1px solid rgba(116,62,34,.14); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.desktop-cart { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow: auto; }
.cart-panel__heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.cart-panel__heading h2 { margin: 0; color: var(--accent); font-size: 2rem; line-height: 1; }
.cart-panel__heading span { color: var(--muted); font-size: .82rem; }
.cart-empty { text-align: center; color: var(--muted); padding: 44px 18px; }
.cart-empty span { font-size: 2.5rem; }
.cart-list { display: grid; gap: 12px; margin: 14px 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item__name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; line-height: 1.15; }
.cart-item__variant, .cart-item__note { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.cart-item__promotion { margin: 6px 0 0; color: var(--accent); font-size: .72rem; font-weight: 700; line-height: 1.45; }
.cart-item__price { color: var(--accent); font-weight: 800; white-space: nowrap; }
.cart-item__controls { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.cart-item__controls button { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-secondary); cursor: pointer; }
.cart-item__controls button:hover { background: var(--accent-soft); }
.cart-item > .remove { width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); background: var(--surface-secondary); font-size: 1.25rem; cursor: pointer; }
.cart-item > .remove:hover { background: var(--accent-soft); }
.cart-item__controls .remove { margin-inline-start: auto; border-radius: 8px; width: auto; padding: 0 8px; color: var(--accent); background: transparent; }
.cart-item__qty { font-size: .85rem; font-weight: 800; min-width: 58px; text-align: center; }
.cart-summary { border-top: 1px solid var(--line); padding: 14px 0; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; margin: 7px 0; color: var(--muted); }
.summary-row bdi { white-space: nowrap; }
.directional-arrow { display: inline-block; }
.summary-row--discount { color: var(--accent); }
.summary-row.total { color: var(--ink); font-size: 1.17rem; font-weight: 900; }
.primary-btn, .whatsapp-btn { border: 0; width: 100%; min-height: 50px; border-radius: 14px; color: var(--text-on-accent); font-weight: 800; cursor: pointer; transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.primary-btn { background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); box-shadow: 0 9px 20px rgba(123,23,23,.2); }
.whatsapp-btn { background: linear-gradient(135deg, #1b9a52, var(--success)); box-shadow: 0 9px 20px rgba(20,136,70,.2); }
.primary-btn:hover:not(:disabled), .whatsapp-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.primary-btn:hover:not(:disabled) { background: linear-gradient(135deg, var(--accent-hover), var(--accent)); }
.whatsapp-btn:hover { background: linear-gradient(135deg, var(--success), var(--success-hover)); }
.primary-btn:active:not(:disabled), .whatsapp-btn:active { transform: translateY(0); }
.primary-btn:disabled { opacity: .48; cursor: not-allowed; }
.checkout-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.checkout-action { min-height: 50px; padding: 8px 14px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.checkout-action:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.checkout-action:active:not(:disabled) { transform: translateY(0); }
.checkout-action:disabled { opacity: .48; cursor: not-allowed; }
.checkout-action--edit { color: #4b3210; border-color: rgba(126,84,16,.24); background: #efc761; }
.checkout-action--edit:hover { background: #e5b84b; }
.checkout-action--menu { color: #64191c; border-color: rgba(134,23,26,.2); background: #e6b9b7; }
.checkout-action--menu:hover { background: #dba5a4; }
.mobile-cart-bar:disabled { opacity: .88; cursor: not-allowed; filter: saturate(.72); }
.empty-state { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 60px 20px; box-shadow: var(--shadow-soft); }
.empty-state span { font-size: 3rem; }
.empty-state h2 { margin-bottom: 5px; }
.empty-state p { color: var(--muted); }

.about-cook { padding: 0 24px 64px; }
.about-cook__inner { width: min(1240px, 100%); margin: 0 auto; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(24px, 4vw, 56px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.about-cook__photo { overflow: hidden; border-radius: 18px; background: var(--background-deep); }
.about-cook__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 32%; }
.about-cook__content { min-width: 0; }
.about-cook__content h2 { margin: 0 0 18px; color: var(--accent); font-family: var(--font-heading); font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.05; }
.about-cook__content p { margin: 0 0 16px; color: var(--text-primary); line-height: 1.75; }
.about-cook__content blockquote { margin: 26px 0; padding-block: 14px; padding-inline-start: 22px; border-inline-start: 3px solid var(--gold); color: var(--accent); font-family: var(--font-heading); font-size: clamp(1.55rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.25; }
.about-cook__facebook { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; margin-top: 8px; padding: 10px 20px; border: 1px solid var(--accent); border-radius: 14px; color: var(--accent); background: transparent; text-align: center; text-decoration: none; font-weight: 800; line-height: 1.35; transition: background-color .18s ease, color .18s ease; }
.about-cook__facebook:hover { color: var(--text-on-accent); background: var(--accent); }

.info-section { padding: 60px max(24px, calc((100vw - 1440px) / 2)); background: linear-gradient(135deg, #6c1718, var(--accent-hover)); color: var(--text-on-accent); display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
.info-section .eyebrow { color: #efbd65; }
.info-section h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.info-grid article { border: 1px solid rgba(255,241,214,.2); background: rgba(255,249,237,.08); border-radius: 17px; padding: 20px; }
.info-grid article > span { font-size: 1.5rem; }
.info-grid h3 { margin: 8px 0 5px; }
.info-grid p { margin: 0; color: rgba(255,241,214,.78); line-height: 1.45; }
footer { text-align: center; padding: 42px 24px 95px; background: #351914; color: #fae7c6; }
.footer__brand { font-family: var(--font-heading); font-weight: 700; color: #f2bd59; font-size: 1.9rem; letter-spacing: .1em; }
.footer__brand span { display: block; }
footer p { color: rgba(250,231,198,.7); }
footer a { color: #f2bd59; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 22px; font-size: .88rem; }
.footer__credit { max-width: 100%; margin: 26px auto 0; color: rgba(250,231,198,.7); font-size: .76rem; line-height: 1.6; overflow-wrap: anywhere; }
.footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }

.mobile-cart-bar { display: none; position: fixed; z-index: 30; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); min-height: 58px; padding: 0 18px; border: 1px solid rgba(255,249,237,.18); border-radius: 16px; color: var(--text-on-accent); background: linear-gradient(135deg, var(--accent), var(--accent-secondary)); box-shadow: 0 18px 40px rgba(58,13,8,.3); font-weight: 800; align-items: center; justify-content: space-between; }
.modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
.modal.open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(44,17,10,.56); backdrop-filter: blur(6px); }
.modal__card { position: relative; z-index: 1; width: min(620px, 100%); max-height: min(820px, calc(100vh - 36px)); overflow: auto; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); padding: 26px; border: 1px solid rgba(201,138,38,.35); }
.modal__close { position: absolute; inset-inline-end: 14px; top: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(123,23,23,.08); font-size: 1.45rem; cursor: pointer; }
.modal__close:hover { background: var(--accent-soft); }
.item-modal__image { width: 100%; aspect-ratio: 16/8; overflow: hidden; border-radius: 16px; margin-bottom: 18px; }
.item-modal__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-gallery { width: 100%; height: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.item-gallery img { scroll-snap-align: start; }
.item-modal-card h2, .checkout-card h2 { color: var(--accent); font-size: 2.25rem; line-height: 1.05; margin: 0 0 8px; margin-inline-end: 42px; }
.item-modal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; min-width: 0; font-family: var(--font-heading); color: var(--accent); font-size: 1.55rem; font-weight: 700; }
.item-modal__quantity { unicode-bidi: isolate; }
.item-modal__prices { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35em; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .item-modal__price { direction: rtl; }
html[dir="rtl"] .item-modal__prices { direction: rtl; }
html[dir="rtl"] .item-modal-card .fine-print { direction: rtl; }
.item-modal__price del { color: var(--muted); font-size: 1rem; font-weight: 500; }
.item-modal__promotion { display: inline-flex; padding: 3px 7px; border-radius: 999px; color: var(--text-on-accent); background: var(--accent); font: 800 .7rem var(--font-body); vertical-align: middle; }
.item-modal__controls del { color: var(--muted); font-size: .82rem; }
.item-modal__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 18px 0; }
.item-modal__controls button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-secondary); font-size: 1.4rem; cursor: pointer; }
.item-modal__controls button:hover { background: var(--accent-soft); }
.item-modal__controls strong { min-width: 90px; text-align: center; }
label { display: grid; gap: 7px; font-size: .9rem; font-weight: 800; margin-bottom: 14px; }
input, select, textarea { width: 100%; border: 1px solid var(--border); background: var(--surface-strong); border-radius: 12px; padding: 12px 13px; outline: none; color: var(--text-primary); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,144,47,.12); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
fieldset { border: 1px solid var(--line); border-radius: 14px; margin: 2px 0 16px; padding: 12px 14px; }
legend { font-size: .9rem; font-weight: 900; padding: 0 6px; }
.choice-row { display: flex; gap: 20px; }
.choice-row label { display: flex; align-items: center; gap: 8px; margin: 0; }
.choice-row input { width: auto; }
input[type="radio"] { accent-color: var(--accent); }
.checkout-total { background: rgba(134,23,26,.06); border: 1px solid rgba(134,23,26,.1); border-radius: 14px; padding: 14px; margin: 10px 0 14px; }
.checkout-success[hidden] { display: none; }
.checkout-success { padding: 20px 0 4px; text-align: center; }
.checkout-success__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 13px; border-radius: 50%; color: var(--text-on-accent); background: var(--success); font-size: 1.8rem; font-weight: 900; box-shadow: 0 10px 24px rgba(20,136,70,.2); }
.checkout-success__message { margin: 0 0 17px; color: var(--text-primary); font-weight: 700; line-height: 1.55; }
.checkout-success__status { min-height: 2.8em; margin: 12px 0 7px; color: var(--muted); font-size: .84rem; font-weight: 700; line-height: 1.45; }
.form-error { min-height: 1.3em; color: #a20f26; font-weight: 800; }
.fine-print { color: var(--muted); text-align: center; font-size: .78rem; line-height: 1.4; }
.cart-modal-card { padding-bottom: 28px; }
.cart-modal-card h2 { color: var(--accent); margin-top: 0; }
.repeat-order-preview .cart-list { margin-bottom: 14px; }
.repeat-order-preview__add { margin-top: 14px; }
.repeat-order-preview__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.account-order__discount { color: var(--accent) !important; font-weight: 700; }
.account-order__discount-summary { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; color: var(--accent); background: rgba(134,23,26,.06); font-size: .78rem; font-weight: 700; }
.compact-info-card { width: min(560px, 100%); }
.compact-info-card h2 { color: var(--accent); font-size: 2.25rem; line-height: 1; margin: 0 0 16px; margin-inline-end: 42px; }
#aboutCookTitle { scroll-margin-block-start: 24px; }
.auth-card { width: min(780px, 100%); }
#authSignedOut { width: min(460px, 100%); margin-inline: auto; }
.auth-tabs[hidden], .auth-panel[hidden], .auth-account[hidden], #authSignedOut[hidden] { display: none !important; }
.auth-card h2 { color: var(--accent); font-size: 2.25rem; line-height: 1.05; margin: 0 0 18px; margin-inline-end: 42px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-secondary); }
.auth-tab { min-height: 43px; padding: 7px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.auth-tab.active { color: var(--text-on-accent); background: var(--accent); box-shadow: 0 6px 16px rgba(123,23,23,.18); }
.auth-panel .primary-btn { margin-top: 5px; }
.auth-hint { margin: -8px 0 13px; color: var(--muted); font-size: .78rem; }
.auth-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,250,240,.72); font-size: .82rem; line-height: 1.45; cursor: pointer; }
.auth-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.auth-message { min-height: 1.4em; margin: 15px 0 6px; font-size: .86rem; font-weight: 800; text-align: center; }
.auth-message[data-type="error"] { color: #a20f26; }
.auth-message[data-type="success"] { color: var(--success); }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-inline-end: 42px; }
.account-heading h2 { margin-bottom: 8px; }
.auth-account__identity { display: flex; align-items: center; gap: 11px; min-width: 230px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-strong); }
.auth-account__icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 50%; color: var(--text-on-accent); background: var(--success); font-weight: 900; }
.auth-account__identity small, .auth-account__identity strong { display: block; }
.auth-account__identity small { color: var(--muted); font-size: .75rem; }
.auth-account__identity strong { margin-top: 2px; font-size: .9rem; }
.account-profile, .account-favorites, .account-orders { margin-top: 16px; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,250,240,.74); }
.account-section-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.account-section-heading h3 { margin: 0; color: var(--text-primary); font-family: var(--font-heading); font-size: 1.6rem; line-height: 1; }
.account-section-heading p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }
.account-profile__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-profile__fields label { margin: 0; }
.account-profile__fields input[readonly] { color: var(--muted); background: var(--surface-secondary); cursor: not-allowed; }
.account-consent { margin-top: 12px; }
.account-save { width: 100%; margin-top: 12px; cursor: pointer; }
.account-refresh { min-height: 36px; padding: 7px 12px; border: 1px solid var(--border-strong); border-radius: 11px; color: var(--accent); background: transparent; font-size: .76rem; font-weight: 800; cursor: pointer; }
.account-refresh:disabled { opacity: .55; cursor: wait; }
.account-favorites__state { padding: 20px 16px; border: 1px dashed var(--border-strong); border-radius: 14px; color: var(--muted); background: var(--surface-strong); font-size: .86rem; line-height: 1.5; text-align: center; }
.account-favorites__state[hidden] { display: none; }
.account-favorites__state[data-type="error"] { color: #a20f26; }
.account-favorites__list { display: grid; gap: 10px; }
.account-favorite { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface-strong); }
.account-favorite__image { width: 82px; height: 72px; overflow: hidden; border-radius: 11px; background: var(--surface-secondary); }
.account-favorite__image img { width: 100%; height: 100%; object-fit: cover; }
.account-favorite__image .photo-placeholder { padding: 6px; }
.account-favorite__image .photo-placeholder span { font-size: .65rem; }
.account-favorite__image .photo-placeholder span::before { font-size: 1.35rem; margin-bottom: 2px; }
.account-favorite__copy { min-width: 0; }
.account-favorite__copy h4 { margin: 0; color: var(--text-primary); font-size: .92rem; line-height: 1.25; }
.account-favorite__price { margin: 6px 0 0; color: var(--accent); font-size: .8rem; font-weight: 800; }
.account-favorite__price del { margin-inline-end: 6px; color: var(--muted); font-weight: 500; }
.account-favorite__actions { display: grid; gap: 6px; }
.account-favorite__add, .account-favorite__remove { min-height: 36px; padding: 6px 10px; border-radius: 10px; font-size: .72rem; font-weight: 800; cursor: pointer; }
.account-favorite__add { border: 0; color: var(--text-on-accent); background: var(--accent); }
.account-favorite__remove { border: 1px solid var(--border-strong); color: var(--accent); background: transparent; }
.favorite-guest-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 20px; }
.favorite-guest-card__actions .primary-btn, .favorite-guest-card__actions .secondary-btn { min-height: 48px; }
.account-orders__state { padding: 20px 16px; border: 1px dashed var(--border-strong); border-radius: 14px; color: var(--muted); background: var(--surface-strong); font-size: .86rem; line-height: 1.5; text-align: center; }
.account-orders__state[hidden] { display: none; }
.account-orders__state[data-type="error"] { color: #a20f26; }
.account-orders__list { display: grid; gap: 12px; }
.account-order { padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-strong); box-shadow: var(--shadow-soft); }
.account-order__header { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.account-order__header h4 { margin: 0; color: var(--accent); font-size: 1rem; }
.account-order__header p { margin: 3px 0 0; color: var(--muted); font-size: .7rem; }
.order-status { max-width: 190px; padding: 5px 9px; border-radius: 999px; color: #75520d; background: #f8e3a7; font-size: .68rem; font-weight: 800; line-height: 1.25; text-align: center; }
.order-status--confirmed, .order-status--preparing { color: #804119; background: #f6d5ba; }
.order-status--ready, .order-status--completed { color: #0d6734; background: #d9efdf; }
.order-status--cancelled { color: #8f1c29; background: #f4d8dc; }
.account-order__meta { display: grid; grid-template-columns: 1.35fr 1fr .7fr; gap: 8px; margin-top: 13px; }
.account-order__meta div { min-width: 0; padding: 9px 10px; border-radius: 11px; background: var(--surface-secondary); }
.account-order__meta small, .account-order__meta strong { display: block; }
.account-order__meta small { color: var(--muted); font-size: .66rem; }
.account-order__meta strong { margin-top: 2px; font-size: .76rem; overflow-wrap: anywhere; }
.account-order__details { margin-top: 11px; border-top: 1px solid var(--border); }
.account-order__details summary { padding: 11px 2px 2px; color: var(--accent); font-size: .78rem; font-weight: 800; cursor: pointer; }
.account-order__details ul { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.account-order__details li { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: .75rem; }
.account-order__details li:last-child { padding-bottom: 0; border-bottom: 0; }
.account-order__details li strong, .account-order__details li small { display: block; }
.account-order__details li small { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.account-order__details li b { flex: 0 0 auto; }
.account-order__notes { margin-top: 11px; padding: 10px; border-radius: 11px; color: var(--muted); background: var(--surface-secondary); font-size: .72rem; }
.account-order__notes p { margin: 0; }
.account-order__notes p + p { margin-top: 5px; }
.account-order__repeat { width: 100%; min-height: 42px; margin-top: 13px; border: 1px solid var(--accent); border-radius: 12px; color: var(--text-on-accent); background: var(--accent); font-size: .78rem; font-weight: 800; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.account-order__repeat:hover { background: var(--accent-hover); }
.account-order__repeat:active { transform: translateY(1px); }
.auth-signout { width: 100%; margin-top: 16px; cursor: pointer; }
.info-list { margin: 0; padding-inline-start: 1.25rem; display: grid; gap: 12px; line-height: 1.5; }
.info-list li::marker { color: var(--gold); }
.contact-lines { display: grid; gap: 10px; margin: 18px 0; }
.contact-lines p { margin: 0; padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-strong); line-height: 1.55; }
.contact-lines a { color: var(--wine); font-weight: 700; }
.contact-lines p > span:first-child { margin-inline-end: 7px; }
.contacts-card { width: min(900px, 100%); }
.contacts-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 22px; align-items: start; }
.contacts-details, .contacts-map { min-width: 0; }
.contacts-details .contact-lines { margin-top: 0; }
.contacts-map iframe, .contacts-map > p { display: block; width: 100%; height: 320px; border: 0; border-radius: 16px; }
.contacts-map > p { display: grid; place-items: center; margin: 0; padding: 20px; border: 1px solid var(--border); background: var(--surface-strong); color: var(--muted); text-align: center; }
.contacts-map > a { display: inline-block; margin-top: 9px; color: var(--wine); font-weight: 700; }
.contacts-map [hidden] { display: none; }
.secondary-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--accent); border-radius: 14px; color: var(--accent); background: transparent; text-decoration: none; font-weight: 800; transition: background-color .18s ease, color .18s ease; }
.secondary-btn:hover { color: var(--text-on-accent); background: var(--accent); }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 88px; max-width: calc(100vw - 32px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; color: #fff9ed; background: #351914; border: 1px solid rgba(242,189,89,.45); border-radius: 999px; padding: 11px 18px; box-shadow: var(--shadow); transition: .2s ease; text-align: center; overflow-wrap: anywhere; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
html[data-theme="dark"] .toast { color: #f8eddb; background: #493229; border-color: rgba(232,176,128,.65); box-shadow: 0 14px 36px rgba(9,6,5,.42); }
.mobile-only { display: none; }

.side-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(35, 19, 13, .32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility 0s linear .22s;
}
.side-menu {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 36px));
  height: 100vh;
  height: 100dvh;
  padding: max(25px, env(safe-area-inset-top)) 22px max(20px, env(safe-area-inset-bottom));
  color: var(--text-primary);
  background: linear-gradient(160deg, var(--surface-strong), var(--surface) 68%, #f8e8ce);
  border-inline-end: 1px solid rgba(201, 138, 38, .36);
  box-shadow: 18px 0 48px rgba(48, 25, 16, .17);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform .24s ease, visibility 0s linear .24s;
}
body.side-menu-open .side-menu-overlay { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
body.side-menu-open .side-menu { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.side-menu__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.side-menu__header > div { flex: 1; }
.side-menu__header #menuToggle { position: static; flex: none; min-width: 40px; width: 40px; height: 40px; padding: 0; font-size: 1.2rem; box-shadow: none; }
.side-menu__eyebrow { margin: 0 0 2px; color: var(--gold); font-size: .69rem; font-weight: 800; letter-spacing: .22em; }
.side-menu__header h2 { margin: 0; color: var(--accent); font: 700 2.5rem/1 var(--font-heading); }
.side-menu__close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); background: var(--surface); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.side-menu__close:hover { background: var(--accent-soft); }
.side-menu__content { flex: 1; overflow-y: auto; padding: 5px 0 14px; }
.side-menu__section { padding-top: 19px; }
.side-menu__section + .side-menu__section { margin-top: 11px; border-top: 1px solid var(--border); }
.side-menu__section h3 { margin: 0 0 8px; color: var(--accent); font: 700 1.5rem/1.2 var(--font-heading); }
.side-menu__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; padding: 8px 10px; border-radius: 10px; font-size: .87rem; font-weight: 600; }
.side-menu__row:nth-of-type(even) { background: rgba(201, 138, 38, .07); }
.side-menu__row span { flex: none; color: var(--text-secondary); font-size: .67rem; font-weight: 500; }
.side-menu__row .side-menu__label { flex: 1; min-width: 0; color: inherit; font-size: inherit; font-weight: inherit; overflow-wrap: anywhere; }
.side-menu__theme-toggle { width: 100%; border: 0; text-align: start; background: rgba(201, 138, 38, .07); cursor: pointer; }
.side-menu__theme-toggle:hover { background: var(--accent-soft); }
.side-menu__theme-toggle span { font-size: .75rem; }
.side-menu__action { width: 100%; border: 0; background: transparent; text-align: start; text-decoration: none; cursor: pointer; }
.side-menu__action:nth-of-type(even) { background: rgba(201, 138, 38, .07); }
.side-menu__action:hover { background: var(--accent-soft); }
.theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 5px 0 8px; padding: 5px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-secondary); }
.theme-options[hidden] { display: none; }
.theme-option { position: relative; display: block; margin: 0; min-width: 0; cursor: pointer; }
.theme-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.theme-option span { display: grid; place-items: center; min-height: 36px; padding: 5px 3px; border-radius: 8px; color: var(--text-secondary); font-size: .75rem; font-weight: 700; text-align: center; }
.theme-option:hover span { background: var(--surface-strong); }
.theme-option input:checked + span { color: var(--text-on-accent); background: var(--accent); box-shadow: var(--shadow-soft); }
.theme-option input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 620px) {
  .side-menu { width: min(390px, calc(100vw - 24px)); padding-left: 19px; padding-right: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .side-menu, .side-menu-overlay { transition-duration: .01ms; }
}

@media (max-width: 1180px) {
  .hero__note { display: none; }
  .category-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 900px) {
  .hero { min-height: 410px; background-size: auto 340px; background-position: right bottom; }
  .hero__veil { background: linear-gradient(180deg, var(--surface) 0%, rgba(255,246,231,.96) 38%, rgba(255,246,231,.45) 64%, transparent 85%); }
  .hero__note { display: none; }
  .topbar { min-height: 200px; width: calc(100% - 28px); padding-top: 58px; }
  .hero__copy, .catalog { width: calc(100% - 28px); }
  .brand { justify-items: center; margin: 0 auto; }
  .brand__name { font-size: clamp(2.6rem, 7vw, 4rem); }
  .brand__ornament { margin-inline: auto; }
  .brand__tagline { font-size: .95rem; text-align: center; }
  .topbar__actions { position: absolute; inset-inline-end: 0; top: 20px; }
  #menuToggle { top: 20px; }
  .hero__copy { text-align: center; padding-bottom: 144px; }
  .hero__copy > p { margin-left: auto; margin-right: auto; }
  .hero__quick-actions { justify-content: center; }
  .content-layout { display: block; }
  .desktop-cart { display: none; }
  .mobile-cart-bar { display: flex; }
  .about-cook__inner { grid-template-columns: 1fr; }
  .about-cook__photo { width: min(480px, 100%); margin: 0 auto; }
  .info-section { grid-template-columns: 1fr; }
  footer { padding-bottom: 110px; }
}

@media (max-width: 620px) {
  .contacts-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 402px; background-size: auto 235px; background-position: 74% bottom; }
  .hero__veil {
    background:
      linear-gradient(180deg, var(--surface) 0%, rgba(255,246,231,.98) 38%, rgba(255,243,223,.9) 53%, rgba(255,239,209,.08) 77%);
  }
  .hero::before { background: radial-gradient(circle at 50% 25%, rgba(255,254,244,.68), transparent 38%); }
  .topbar { min-height: 169px; padding-top: 62px; }
  .brand__name { font-size: clamp(2rem, 9.1vw, 2.7rem); letter-spacing: .015em; }
  .brand__ornament { width: 174px; height: 26px; margin-top: 2px; margin-bottom: 2px; }
  .brand__tagline { max-width: 290px; font-size: .98rem; line-height: 1.2; }
  .icon-btn, .cart-icon { background: rgba(255,249,237,.9); border-color: rgba(105,54,31,.12); box-shadow: 0 5px 15px rgba(77,39,20,.08); font-size: 1.25rem; min-width: 44px; height: 44px; padding: 0 10px; }
  .topbar__actions { top: 9px; gap: 8px; }
  #menuToggle { top: 9px; }
  .ui-icon { width: 23px; height: 23px; }
  .hero__copy > p { display: block; font-size: 2rem; line-height: 1.25; margin: 0 auto 12px; }
  .hero__quick-actions { gap: 7px; }
  .hero__quick-actions button { min-height: 44px; padding: 0 16px; font-size: .86rem; }
  .catalog { width: calc(100% - 20px); }
  .menu-switch { transform: translateY(-20px); margin-bottom: -8px; border-radius: 15px; }
  .menu-switch__button { min-height: 50px; font-size: 1.08rem; }
  .pwa-install-instruction { margin-left: auto; margin-right: auto; text-align: center; }
  .category-chips { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .category-chip { min-height: 44px; padding: 8px 7px; font-size: .79rem; border-radius: 14px; }
  .promotion-banner { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 14px; border-radius: 15px; }
  .promotion-banner__icon { align-self: start; font-size: 1.35rem; }
  .promotion-banner__copy strong { font-size: 1.08rem; }
  .promotion-banner__button { grid-column: 1 / -1; width: 100%; }
  .catalog__heading { margin-top: 14px; align-items: start; }
  .catalog__heading > p { font-size: .8rem; padding-top: 8px; }
  h1 { font-size: 2.25rem; }
  .dish-grid { grid-template-columns: 1fr; gap: 12px; }
  .cart-item__controls button, .cart-item > .remove { width: 44px; height: 44px; }
  .about-cook { padding: 0 10px 42px; }
  .about-cook__inner { padding: 18px; gap: 24px; border-radius: 18px; }
  .about-cook__content h2 { margin-bottom: 14px; }
  .about-cook__content p { line-height: 1.65; }
  .about-cook__content blockquote { padding-inline-start: 16px; }
  .about-cook__facebook { width: 100%; }
  .info-section { padding: 42px 16px; }
  .info-grid { grid-template-columns: 1fr; }
  .modal { align-items: end; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .modal__card { max-height: calc(90dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; padding: 22px 17px; }
  .auth-card h2 { font-size: 2rem; }
  .account-heading { display: block; margin-inline-end: 42px; }
  .account-heading .auth-account__identity { width: 100%; min-width: 0; margin-top: 10px; }
  .account-profile, .account-favorites, .account-orders { padding: 14px; }
  .account-favorite { grid-template-columns: 64px minmax(0, 1fr); }
  .account-favorite__image { width: 64px; height: 64px; }
  .account-favorite__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .favorite-guest-card__actions { grid-template-columns: 1fr; }
  .account-profile__fields { grid-template-columns: 1fr; }
  .account-section-heading { align-items: center; }
  .account-order__header { display: grid; }
  .order-status { max-width: 100%; justify-self: start; }
  .account-order__meta { grid-template-columns: 1fr 1fr; }
  .account-order__meta div:last-child { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-action { padding-inline: 9px; font-size: .82rem; }
  .item-modal__image { aspect-ratio: 16/7; }
}

@media (max-width: 800px) {
  .dish-card { min-height: 0; display: flex; flex-direction: column; border-radius: 17px; }
  .dish-card__visual { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .dish-card__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .dish-card__body { min-width: 0; padding: 16px; }
  .dish-card h2 { font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
  .dish-card__description { display: block; -webkit-line-clamp: unset; overflow: visible; overflow-wrap: anywhere; font-size: .86rem; }
  .dish-card__more { display: none; }
  .dish-card__meta { display: block; padding-top: 11px; }
  .dish-card__price { display: block; margin-top: 4px; font-size: 1.35rem; }
  .dish-card__sale-price { justify-content: flex-start; margin-top: 4px; text-align: start; white-space: normal; }
  .dish-card__sale-price strong { font-size: 1.35rem; }
  .dish-card__promotion-badge { top: 8px; inset-inline-start: 8px; padding: 4px 7px; font-size: .68rem; }
  .favorite-btn { top: 8px; inset-inline-end: 8px; width: 44px; height: 44px; font-size: 1.35rem; }
  .dish-card__actions { grid-template-columns: 48px minmax(0, 1fr); margin-top: 11px; }
  .note-btn, .add-btn { min-height: 48px; }
}

@media (max-width: 620px) {
  .dish-card h2 { margin-bottom: 6px; }
  .dish-card__description { margin-bottom: 8px; }
  .dish-card__meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 12px; padding-top: 8px; }
  .dish-card__unit { min-width: 0; overflow-wrap: anywhere; }
  .dish-card__price { min-width: 0; margin-top: 0; text-align: end; white-space: normal; overflow-wrap: anywhere; }
  .dish-card__sale-price { min-width: 0; margin-top: 0; justify-content: flex-end; text-align: end; overflow-wrap: anywhere; }
  .dish-card__actions { margin-top: 8px; }
}

@media (min-width: 801px) {
  .dish-card__meta { margin-top: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

html[data-theme="dark"] body {
  background: radial-gradient(circle at 10% 5%, rgba(122, 80, 51, .15), transparent 30%),
    linear-gradient(145deg, var(--background), var(--background-soft) 54%, var(--background-deep));
}
html[data-theme="dark"] .hero { border-bottom-color: var(--border); box-shadow: inset 0 -1px rgba(244, 217, 178, .08); }
html[data-theme="dark"] .hero::before { background: linear-gradient(90deg, rgba(27, 20, 17, .53), rgba(27, 20, 17, .12) 62%, transparent); }
html[data-theme="dark"] .hero__veil { background: linear-gradient(90deg, rgba(27, 20, 17, .66), rgba(27, 20, 17, .29) 38%, transparent 70%); }
html[data-theme="dark"] .brand__name { text-shadow: 0 2px 16px rgba(24, 15, 12, .72); }
html[data-theme="dark"] .brand__tagline { text-shadow: 0 2px 12px rgba(24, 15, 12, .84); }
html[data-theme="dark"] .hero__note, html[data-theme="dark"] .hero__copy > p { color: #f0c99c; text-shadow: 0 2px 13px rgba(24, 15, 12, .85); }
html[data-theme="dark"] .icon-btn, html[data-theme="dark"] .cart-icon, html[data-theme="dark"] .hero__quick-actions button,
html[data-theme="dark"] .category-chip, html[data-theme="dark"] .promotion-banner__button,
html[data-theme="dark"] .pwa-install-instruction { color: var(--accent); background: rgba(54, 43, 37, .95); border-color: var(--border-strong); }
html[data-theme="dark"] .account-btn.is-authenticated, html[data-theme="dark"] .account-btn.is-authenticated:hover { color: var(--text-on-accent); background: var(--accent); }
html[data-theme="dark"] .hero__quick-actions .pwa-install-button { color: var(--text-on-accent); background: var(--accent); }
html[data-theme="dark"] main { background-color: var(--background-soft); background-image: linear-gradient(180deg, rgba(43, 34, 30, .88), rgba(43, 34, 30, .96) 500px, var(--background-soft) 940px), var(--hero-image); }
html[data-theme="dark"] .menu-switch { border-color: var(--border); }
html[data-theme="dark"] .menu-switch__button.active { background: var(--accent); box-shadow: var(--shadow-soft); }
html[data-theme="dark"] .category-chip.active { color: var(--accent-hover); background: var(--surface-strong); }
html[data-theme="dark"] .category-chip--promotion { color: var(--accent); background: var(--surface); }
html[data-theme="dark"] .promotion-banner { border-color: var(--border-strong); background: linear-gradient(120deg, var(--surface), var(--surface-secondary)); box-shadow: var(--shadow-soft); }
html[data-theme="dark"] .dish-card, html[data-theme="dark"] .cart-panel { border-color: var(--border); }
html[data-theme="dark"] .dish-card:hover { border-color: var(--border-strong); }
html[data-theme="dark"] .dish-card__promotion-badge { color: #fff1df; background: rgba(119, 45, 38, .94); }
html[data-theme="dark"] .favorite-btn { color: var(--accent); background: rgba(54, 43, 37, .94); border-color: var(--border-strong); }
html[data-theme="dark"] .favorite-btn:hover { background: var(--surface-strong); }
html[data-theme="dark"] .favorite-btn.is-favorite { color: #f1a0a0; }
html[data-theme="dark"] .photo-placeholder { color: var(--text-secondary); background: radial-gradient(circle at 30% 25%, rgba(218, 177, 118, .1), transparent 32%), linear-gradient(135deg, var(--background-soft), var(--background-deep)); }
html[data-theme="dark"] .add-btn, html[data-theme="dark"] .add-btn:hover { background: linear-gradient(135deg, var(--accent-secondary), var(--accent)); }
html[data-theme="dark"] .checkout-action--edit { color: #2b1e16; background: #d5aa67; }
html[data-theme="dark"] .checkout-action--edit:hover { background: #e0bb80; }
html[data-theme="dark"] .checkout-action--menu { color: #f3e8d7; background: #754c45; border-color: var(--border-strong); }
html[data-theme="dark"] .checkout-action--menu:hover { background: #87594e; }
html[data-theme="dark"] .info-section { color: #f3e8d7; background: linear-gradient(135deg, #49302b, #332522); }
html[data-theme="dark"] .info-grid article { border-color: var(--border); background: rgba(244, 220, 189, .05); }
html[data-theme="dark"] .info-grid p { color: #ddcbb7; }
html[data-theme="dark"] footer { background: #1b1513; }
html[data-theme="dark"] .modal__card { border-color: var(--border-strong); }
html[data-theme="dark"] .modal__close { color: var(--accent); background: var(--accent-soft); }
html[data-theme="dark"] .checkout-total, html[data-theme="dark"] .account-order__discount-summary { background: var(--accent-soft); border-color: var(--border); }
html[data-theme="dark"] .form-error, html[data-theme="dark"] .auth-message[data-type="error"],
html[data-theme="dark"] .account-favorites__state[data-type="error"], html[data-theme="dark"] .account-orders__state[data-type="error"] { color: #f2a6a0; }
html[data-theme="dark"] .auth-consent, html[data-theme="dark"] .account-profile,
html[data-theme="dark"] .account-favorites, html[data-theme="dark"] .account-orders { background: var(--surface-secondary); }
html[data-theme="dark"] .order-status { color: #f3dfb4; background: #59482e; }
html[data-theme="dark"] .order-status--confirmed, html[data-theme="dark"] .order-status--preparing { color: #f0c2a1; background: #5d3e32; }
html[data-theme="dark"] .order-status--ready, html[data-theme="dark"] .order-status--completed { color: #b8dfbd; background: #314b39; }
html[data-theme="dark"] .order-status--cancelled { color: #f0b6b7; background: #57363a; }
html[data-theme="dark"] .side-menu { background: linear-gradient(160deg, var(--surface-strong), var(--surface) 68%, var(--background-soft)); border-inline-end-color: var(--border-strong); }
html[data-theme="dark"] .side-menu__theme-toggle, html[data-theme="dark"] .side-menu__row:nth-of-type(even) { background: rgba(218, 177, 118, .06); }
html[data-theme="dark"] .side-menu__theme-toggle:hover { background: var(--accent-soft); }

@media (max-width: 900px) {
  html[data-theme="dark"] .hero__veil { background: linear-gradient(180deg, rgba(27, 20, 17, .9), rgba(27, 20, 17, .65) 47%, rgba(27, 20, 17, .1) 86%); }
}
@media (max-width: 620px) {
  html[data-theme="dark"] .hero__veil { background: linear-gradient(180deg, rgba(27, 20, 17, .94), rgba(27, 20, 17, .75) 42%, rgba(27, 20, 17, .25) 75%); }
}

html[data-text-mode="bold"] body { font-weight: 500; }
html[data-text-mode="large"] { font-size: 115%; }
html[data-text-mode="large"] body { font-size: 18.4px; }
html[data-text-mode="large"] .info-list { padding-inline-start: 20px; }

/* Keep pictograms and fixed-size controls at their original size. */
html[data-text-mode="large"] .icon-btn,
html[data-text-mode="large"] .favorite-btn { font-size: 24.8px; }
html[data-text-mode="large"] .search-wrap button,
html[data-text-mode="large"] .item-modal__controls button { font-size: 22.4px; }
html[data-text-mode="large"] .note-btn { font-size: 18.4px; }
html[data-text-mode="large"] .cart-item > .remove { font-size: 20px; }
html[data-text-mode="large"] .cart-item__controls button { font-size: 16px; }
html[data-text-mode="large"] .promotion-banner__icon { font-size: 25.6px; }
html[data-text-mode="large"] .photo-placeholder span::before { font-size: 38.4px; }
html[data-text-mode="large"] .account-favorite__image .photo-placeholder span::before { font-size: 21.6px; }
html[data-text-mode="large"] .cart-empty span { font-size: 40px; }
html[data-text-mode="large"] .empty-state span { font-size: 48px; }
html[data-text-mode="large"] .info-grid article > span { font-size: 24px; }
html[data-text-mode="large"] .checkout-success__icon { font-size: 28.8px; }
html[data-text-mode="large"] .modal__close { font-size: 23.2px; }
html[data-text-mode="large"] .side-menu__close { font-size: 28px; }
html[data-text-mode="large"] .side-menu__header #menuToggle { font-size: 19.2px; }

@media (max-width: 620px) {
  html[data-text-mode="large"] .icon-btn { font-size: 20px; }
  html[data-text-mode="large"] .favorite-btn { font-size: 21.6px; }
  html[data-text-mode="large"] .promotion-banner__icon { font-size: 21.6px; }
}

/* Hebrew storefront: mirror navigation and reading order, while keeping media and numbers intact. */
html[dir="rtl"] .side-menu {
  transform: translateX(102%);
  box-shadow: -18px 0 48px rgba(48, 25, 16, .17);
}
html[dir="rtl"] body.side-menu-open .side-menu { transform: translateX(0); }
html[dir="rtl"] .about-cook__inner { direction: ltr; }
html[dir="rtl"] .about-cook__content { direction: rtl; }
html[dir="rtl"] :is(.dish-card__body, .cart-panel, .modal__card, .info-section, .contacts-details) { text-align: start; }
html[dir="rtl"] :is(.promotion-banner__copy strong, .promotion-banner__copy span,
  .cart-item__variant, .account-order__details li strong, .account-order__details li small,
  .account-order__notes p) { unicode-bidi: plaintext; }
html[dir="rtl"] :is(.cart-item__price, .cart-item__qty,
  .account-order__details li > b, .account-order__meta > div:last-child strong,
  #mobileCartTotal, #authUserPhone) {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] #authUserPhone { display: inline-block; }
html[dir="rtl"] .directional-arrow { transform: scaleX(-1); }
html[dir="rtl"] .footer__credit a[href^="mailto:"] { display: inline-block; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] input:is([type="tel"], [type="email"], [type="url"], [type="date"], [type="time"], [type="password"]) {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}
html[dir="rtl"] :is(input[type="search"], textarea, select) { text-align: start; }

html[lang="he"] body { font-family: "Segoe UI", Arial, sans-serif; line-height: 1.55; }
html[lang="he"] .brand__name { font-family: "Segoe UI", Arial, sans-serif; font-weight: 600; letter-spacing: normal; }
html[lang="he"] :is(h1, h2, h3, .menu-switch__button, .brand__tagline,
  .about-cook__content blockquote) { font-family: "Segoe UI", Arial, sans-serif; line-height: 1.25; letter-spacing: normal; }
html[lang="he"] .hero__copy > p { font-family: "Segoe UI", Arial, sans-serif; font-weight: 600; }
html[lang="he"] .eyebrow { text-transform: none; letter-spacing: normal; }
html[lang="he"] .dish-card__description { line-height: 1.55; }

@media (min-width: 901px) {
  html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(255,247,227,.72), rgba(255,247,227,.4) 34%, transparent 67%); }
  html[dir="rtl"] .hero__veil { background: linear-gradient(270deg, rgba(255,246,224,.3), transparent 58%); }
  html[data-theme="dark"][dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(27,20,17,.75), rgba(27,20,17,.43) 40%, transparent 73%); }
  html[data-theme="dark"][dir="rtl"] .hero__veil { background: linear-gradient(270deg, rgba(27,20,17,.27), transparent 62%); }
}
@media (min-width: 1181px) {
  html[data-theme="dark"][dir="rtl"] .hero__note { color: #68402a; text-shadow: 0 1px 9px rgba(255,239,211,.6); }
}
