/* ============ Tokens ============ */
:root {
  color-scheme: light;
  --blue: #1d63b3;          /* כחול התפריט והלוגו */
  --blue-deep: #144b8a;
  --blue-soft: #e7f0fa;
  --yellow: #ffc72c;        /* מכחול צהוב מהתפריט */
  --ink: #16181d;
  --ink-2: #4a5260;
  --line: #e4e7ec;
  --sand: #f4f6f9;
  --paper: #fff;
  --ok: #0f7a43;
  --danger: #b42318;

  --f-display: "Karantina", "Heebo", system-ui, sans-serif;
  --f-body: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r: 12px;
  --r-l: 18px;
  --pill: 999px;
  --tap: 44px;
  --bar-h: 60px;
  --cats-h: 54px;
  --sh: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 14px -4px rgba(16, 24, 40, .12);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --focus: 0 0 0 2px #fff, 0 0 0 4px var(--ink);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + var(--cats-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
button, input, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }

.wrap { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: var(--r); background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* brush: המדבקה הצהובה מהתפריט המודפס */
.brush {
  display: inline-block; background: var(--yellow); color: var(--ink);
  padding: .02em .32em 0; border-radius: 3px 10px 4px 12px / 8px 4px 10px 3px;
  transform: rotate(-1.5deg);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 18px; border: 1.5px solid transparent; border-radius: var(--r);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 56px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--primary[disabled] { background: #9db7d6; cursor: not-allowed; }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--block.btn--lg { justify-content: space-between; padding-inline: 20px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: var(--tap); height: var(--tap);
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--sand); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: .9375rem; text-decoration: none;
}
.pill:hover { border-color: var(--ink-2); }
.pill--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill--icon { width: var(--tap); padding: 0; }
.pill svg { width: 20px; height: 20px; }

.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--pill);
  font-weight: 700; font-size: .875rem; background: var(--sand); color: var(--ink);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #98a1ae; flex: none; }
.status.is-open::before { background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }

/* ============ Top bar ============ */
.bar { position: sticky; top: 0; z-index: 40; height: var(--bar-h); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 50%; }
.brand__name { font-family: var(--f-display); font-size: 1.75rem; line-height: 1; padding-top: .1em; }
.bar__acts { display: flex; gap: 4px; }
.cart-btn__n {
  position: absolute; top: 0; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--pill);
  background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 800; line-height: 20px; text-align: center;
}
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ============ Hero ============ */
.hero { background: var(--blue); color: #fff; overflow: hidden; }
.hero__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px 22px; }
.hero__title { font-family: var(--f-display); font-weight: 700; font-size: 3.75rem; line-height: .85; letter-spacing: .01em; }
.hero__tag { margin-top: 8px; font-family: var(--f-display); font-size: 2rem; line-height: 1.1; }
.hero__meta { margin-top: 14px; }
.hero .status { background: rgba(255, 255, 255, .14); color: #fff; }
.hero__logo { width: 116px; height: 116px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 10px 30px rgba(0, 0, 0, .25); transform: rotate(4deg); }
@media (min-width: 720px) {
  .hero__in { padding-block: 40px 44px; }
  .hero__title { font-size: 6rem; }
  .hero__tag { font-size: 2.75rem; }
  .hero__logo { width: 200px; height: 200px; }
}

/* ============ Category chips ============ */
.cats { position: sticky; top: var(--bar-h); z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.cats__in { display: flex; align-items: center; gap: 6px; height: var(--cats-h); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.cats__in::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill);
  color: var(--ink-2); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s;
}
.chip:hover { color: var(--ink); background: var(--sand); }
.chip[aria-current="true"] { background: var(--ink); color: #fff; }

/* ============ Menu ============ */
.menu .wrap { max-width: 640px; }
.menu { padding-bottom: 24px; }
.cat { padding-top: 28px; }
.cat__title { font-family: var(--f-display); font-weight: 700; font-size: 2.5rem; line-height: 1; margin-bottom: 10px; }

.cols { display: grid; grid-template-columns: 1fr repeat(var(--n), 62px); gap: 6px; padding: 0 0 6px; color: var(--ink-2); font-weight: 700; font-size: .8125rem; text-align: center; }
.items { list-style: none; margin: 0; padding: 0; }
.item { border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }

/* מנה עם עמודות הגשה: לחיצה על מחיר מוסיפה ישר לסל */
.item--cols { display: grid; grid-template-columns: 1fr repeat(var(--n), 62px); gap: 6px; align-items: center; padding: 10px 0; }
.vbtn {
  position: relative; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper);
  font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .1s;
}
.vbtn:hover { border-color: var(--blue); }
.vbtn:active { transform: scale(.95); }
.vbtn.in { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); }

/* מנה רגילה: שם · מחיר · כפתור הוספה */
.item--row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; }
.price { font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plus {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--blue-soft); color: var(--blue); transition: background-color .15s, color .15s, transform .1s;
}
.plus:hover { background: var(--blue); color: #fff; }
.plus:active { transform: scale(.9); }
.plus svg { width: 20px; height: 20px; stroke-width: 2.4; }

.item__head { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.inq { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 800; color: var(--blue-deep); }
.inq__minus {
  display: grid; place-items: center; width: 40px; height: 32px; border: 1.5px solid var(--line); border-radius: var(--pill);
  background: var(--paper); color: var(--ink); cursor: pointer;
}
.inq__minus:hover { border-color: var(--ink-2); }
.inq__minus svg { width: 16px; height: 16px; stroke-width: 2.4; }
.vbtn--out { display: grid; place-items: center; color: var(--ink-2); font-size: .8125rem; font-weight: 700; background: var(--sand); border-style: dashed; cursor: default; }
.cat__addons { margin: -2px 0 10px; color: var(--ink-2); font-size: .875rem; }

/* תוספות (ממרחים / סלטים) בחלון הבחירה */
.legend-hint { font-weight: 500; color: var(--ink-2); font-size: .875rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--pill); font-weight: 700; cursor: pointer; user-select: none;
}
.tag input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tag:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); }
.tag:has(input:checked)::before { content: "✓"; font-weight: 800; }
.tag:has(input:focus-visible) { box-shadow: var(--focus); }
.tag:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.tag__meta { font-weight: 500; font-size: .8125rem; color: var(--ink-2); }
.opt.is-out { opacity: .5; cursor: not-allowed; }
.sheet fieldset { margin-bottom: 18px; }

.item__name { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.item__desc { display: block; color: var(--ink-2); font-size: .875rem; font-weight: 400; }
.qty-dot {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-start: 6px;
  border-radius: var(--pill); background: var(--yellow); color: var(--ink); font-size: .8125rem; font-weight: 800; vertical-align: 2px;
}
.vbtn .qty-dot { position: absolute; top: -9px; inset-inline-end: -7px; margin: 0; min-width: 20px; height: 20px; font-size: .75rem; }

.item--soon { display: flex; justify-content: space-between; align-items: center; min-height: 52px; color: var(--ink-2); }
.soon { font-size: .8125rem; font-weight: 700; padding: 2px 10px; border-radius: var(--pill); background: var(--sand); }

/* ============ Info ============ */
.info { padding-block: 28px 40px; background: var(--sand); }
.info .wrap { max-width: 760px; }
.about { margin-bottom: 14px; color: var(--ink-2); }
.panel { list-style: none; margin: 0; padding: 4px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh); }
.row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: var(--blue); }
.row__ic svg { width: 18px; height: 18px; }
.row__body { display: grid; gap: 6px; min-width: 0; }
.row__label { font-size: .8125rem; font-weight: 800; color: var(--ink-2); }
.row__value { font-weight: 700; overflow-wrap: anywhere; }
.row__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hours-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); cursor: pointer; list-style: none; color: var(--ink-2); font-weight: 700; font-size: .875rem; }
.hours-more > summary::-webkit-details-marker { display: none; }
.hours-more > summary::after { content: "▾"; transition: transform .2s; }
.hours-more[open] > summary::after { transform: rotate(180deg); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; max-width: 320px; margin: 0; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hours dd { margin: 0; text-align: end; color: var(--ink-2); }
.hours .today { color: var(--ink); font-weight: 800; }
.map { margin-top: 8px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; }

.foot { padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); font-size: .875rem; color: var(--ink-2); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
body.has-bar .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ============ Floating cart bar ============ */
.cartbar {
  position: fixed; z-index: 35; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 18px;
  border: 0; border-radius: var(--r-l); background: var(--ink); color: #fff; font-weight: 700; font-size: 1.0625rem; cursor: pointer;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .3); animation: rise .3s var(--ease);
}
.cartbar__n { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--pill); background: var(--yellow); color: var(--ink); font-weight: 800; }
.cartbar__sum { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
@media (min-width: 900px) { .cartbar { inset-inline: auto 24px; width: 340px; } }

/* ============ Dialogs ============ */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--paper); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(16, 24, 40, .45); }
dialog[open], dialog[open]::backdrop { animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 8px; padding-inline-start: 20px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { font-size: 1.25rem; font-weight: 800; }

.sheet { width: 100%; margin: auto 0 0; border-radius: var(--r-l) var(--r-l) 0 0; max-height: 88dvh; }
.sheet[open] { animation: up .25s var(--ease); }
@keyframes up { from { transform: translateY(32px); opacity: 0; } }
.sheet__in { display: flex; flex-direction: column; max-height: 88dvh; }
.sheet__body { padding: 14px 20px; overflow-y: auto; }
.sheet__foot { display: flex; gap: 12px; align-items: center; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 640px) { .sheet { width: min(440px, calc(100% - 32px)); margin: auto; border-radius: var(--r-l); } }

fieldset { margin: 0 0 14px; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.opt {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; margin-bottom: 8px;
  border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.opt:has(input:focus-visible) { box-shadow: var(--focus); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.opt span:first-of-type { flex: 1; font-weight: 700; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: none; color: var(--blue); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.stepper button:hover { background: var(--sand); }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.stepper--sm button { width: 38px; height: 38px; }

.drawer { width: 100%; height: 100%; max-height: 100dvh; margin: 0; inset-inline-start: auto; }
.drawer[open] { animation: up .25s var(--ease); }
.drawer__in { display: flex; flex-direction: column; height: 100%; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.drawer__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; }
[data-cart-hint]:empty { display: none; }
@media (min-width: 640px) {
  .drawer { width: 420px; margin-inline-start: auto; box-shadow: var(--sh); }
  .drawer[open] { animation-name: side; }
  @keyframes side { from { transform: translateX(-28px); opacity: 0; } }
}

.lines { list-style: none; margin: 0; padding: 0; }
.line { padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__top { display: flex; justify-content: space-between; gap: 12px; }
.line__name { font-weight: 700; }
.line__var { color: var(--ink-2); font-size: .875rem; }
.line__price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line__acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.link { min-height: 38px; padding: 0 6px; border: 0; background: none; color: var(--ink-2); font-weight: 700; font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }
.line__note { margin-top: 8px; }
.empty { padding: 56px 0; text-align: center; color: var(--ink-2); display: grid; gap: 14px; justify-items: center; }

/* ============ Toast ============ */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom));
  max-width: calc(100% - 32px); padding: 10px 16px; border-radius: var(--pill);
  background: var(--ink); color: #fff; font-weight: 700; font-size: .9375rem; text-align: center;
  opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ Forms (checkout) ============ */
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9375rem; }
.field .opt-label { color: var(--ink-2); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .875rem; font-weight: 700; }
.err:empty { display: none; }

/* segmented control */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 0; border: 0; border-radius: 14px; background: var(--sand); }
.seg label { position: relative; display: grid; place-items: center; min-height: 48px; border-radius: 10px; font-weight: 700; color: var(--ink-2); cursor: pointer; text-align: center; line-height: 1.2; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--paper); color: var(--ink); box-shadow: var(--sh); }
.seg label:has(input:focus-visible) { box-shadow: var(--focus); }
.seg small { display: block; font-weight: 500; font-size: .75rem; color: var(--ink-2); }

.alert { padding: 12px 14px; border-radius: var(--r); font-weight: 700; }
.alert:empty { display: none; }
.alert--error { background: #fef3f2; color: var(--danger); }
.alert--warn { background: #fff6d9; color: #5c4300; }

/* ============ Checkout / thanks pages ============ */
.page { padding-block: 20px 120px; }
.page .wrap { max-width: 560px; }
.page__title { font-family: var(--f-display); font-size: 2.75rem; line-height: 1; margin-bottom: 16px; }
.block { display: grid; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.block:first-of-type { padding-top: 0; }
.block:last-of-type { border-bottom: 0; }
.block__title { font-weight: 800; font-size: 1.0625rem; }
.two { display: grid; gap: 14px; }
@media (min-width: 520px) { .two { grid-template-columns: 1fr 1fr; } }

.sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sum li { display: flex; justify-content: space-between; gap: 12px; }
.sum .q { color: var(--blue); font-weight: 800; margin-inline-end: 6px; font-variant-numeric: tabular-nums; }
.sum .v { display: block; color: var(--ink-2); font-size: .875rem; }
.sum li > span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.totals { display: grid; gap: 4px; padding-top: 12px; border-top: 1px dashed var(--line); }
.totals div { display: flex; justify-content: space-between; color: var(--ink-2); }
.totals .grand { color: var(--ink); font-weight: 800; font-size: 1.25rem; padding-top: 4px; }

.paybar { position: fixed; z-index: 35; inset-inline: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.paybar__in { max-width: 560px; margin-inline: auto; display: grid; gap: 8px; }

.done { text-align: center; padding-block: 8px 22px; border-bottom: 1px solid var(--line); }
.done__no { font-family: var(--f-display); font-size: 4.5rem; line-height: .9; color: var(--blue); font-variant-numeric: tabular-nums; }
.done__title { font-size: 1.375rem; font-weight: 800; margin-top: 6px; }
.done__eta { margin-top: 6px; color: var(--ink-2); font-weight: 700; }
.done__wait { display: inline-block; margin-top: 10px; }
.page-bar .bar__in a.back { font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 10px 4px; }

/* ============ Motion (כבוי תחת prefers-reduced-motion) ============ */
.fx-dot, .fx-plus { position: fixed; z-index: 70; pointer-events: none; }
.fx-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--blue), 0 6px 14px rgba(16, 24, 40, .25); }
.fx-plus { font-weight: 800; font-size: .9375rem; color: var(--blue-deep); text-shadow: 0 1px 0 #fff; }

@media (prefers-reduced-motion: no-preference) {
  .brush--wait { opacity: 0; transform: rotate(-6deg) scale(.92); }
  .brush--in { animation: stick .55s cubic-bezier(.3, 1.6, .5, 1) forwards; }
  @keyframes stick { 0% { opacity: 0; transform: rotate(-7deg) scale(.9); } 60% { opacity: 1; transform: rotate(.5deg) scale(1.03); } 100% { opacity: 1; transform: rotate(-1.5deg) scale(1); } }
  .hero__tag .brush { animation: stick .6s .15s cubic-bezier(.3, 1.6, .5, 1) both; }
  .hero__logo { animation: pop-in .6s cubic-bezier(.3, 1.4, .5, 1) both; }
  @keyframes pop-in { from { opacity: 0; transform: rotate(-10deg) scale(.85); } }
  .vbtn, .plus, .btn, .tag, .chip { transition: transform .12s, background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
  .vbtn:active, .plus:active, .tag:active { transform: scale(.92); }
  .vbtn:hover { box-shadow: 0 4px 12px -4px rgba(29, 99, 179, .4); transform: translateY(-1px); }
  .vbtn.in .qty-dot, .qty-dot:not([hidden]) { animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
  @keyframes pop { from { transform: scale(.4); } }
  .inq:not([hidden]) { animation: slide-in-x .25s var(--ease); }
  @keyframes slide-in-x { from { opacity: 0; transform: translateX(8px); } }
  .cartbar:active { transform: scale(.98); }
}

/* skeleton בזמן טעינת התפריט */
.skel { display: grid; gap: 12px; padding-top: 28px; }
.skel__title { width: 140px; height: 40px; border-radius: 8px; }
.skel__row { height: 56px; border-radius: 12px; }
.skel__title, .skel__row { background: linear-gradient(90deg, var(--sand) 0%, #eaedf2 40%, var(--sand) 80%); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .skel__title, .skel__row { animation: shimmer 1.4s linear infinite; }
  @keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
}

/* עמוד תודה: וי שמצויר */
.done__check { width: 72px; height: 72px; margin: 0 auto 10px; display: block; }
.done__check circle { fill: #e9f8ef; stroke: #16a34a; stroke-width: 2.5; }
.done__check path { fill: none; stroke: #16a34a; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .done__check circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .5s ease-out forwards; }
  .done__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s .45s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .done__no { animation: pop-in .5s .3s cubic-bezier(.3, 1.4, .5, 1) both; }
}
.confetti { position: fixed; inset: 0; z-index: 70; pointer-events: none; }

/* =====================================================================
   עיצוב האתר ללקוחות (body.site): "שקיעה על הכביש"
   הצבעים מהלוגו: שמיים כחולים של ערב, השמש הכתומה, המכחול הצהוב והקטנוע האדום.
   הממשקים הפנימיים (/orders, /admin) לא מושפעים: כל הערכים כאן תחת .site.
   ניגודיות (WCAG AA): cream מול night 15.8:1 · ink-2 מול night-2 8.6:1 · night מול sun 8.4:1 · yellow מול night 11.1:1
   ===================================================================== */
.site {
  color-scheme: dark;
  --night: #0c1a33;        /* רקע הדף */
  --night-2: #132644;      /* כרטיסים, חלונות */
  --night-3: #1b3358;      /* משטח שקוע, hover */
  --sun: #f7a21b;          /* השמש מהלוגו: פעולה */
  --sun-2: #ffbb3d;
  --red: #c8321f;          /* הקטנוע */
  --cream: #fdf3e1;

  --paper: var(--night-2);
  --sand: var(--night-3);
  --ink: var(--cream);
  --ink-2: #b8c4d8;
  --line: rgba(253, 243, 225, .14);
  --blue: var(--sun);
  --blue-deep: var(--sun-2);
  --blue-soft: rgba(247, 162, 27, .16);
  --ok: #5fd39a;
  --danger: #ff8a78;
  --sh: 0 12px 30px -14px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .03) inset;
  --focus: 0 0 0 2px var(--night), 0 0 0 4px var(--sun-2);
  background: var(--night);
}
.site ::placeholder { color: #8d9bb3; }
.site ::selection { background: var(--sun); color: var(--night); }

/* צבעי טקסט על משטחים בהירים */
.site .brush, .site .qty-dot, .site .cart-btn__n { color: #16181d; }
.site .btn--primary { color: var(--night); background: var(--sun); }
.site .btn--primary:hover { background: var(--sun-2); }
.site .btn--primary[disabled] { background: #3a4a66; color: #c9d2e1; }
.site .btn--ghost { background: transparent; }
.site .pill { background: transparent; }
.site .pill--dark { background: var(--sun); border-color: var(--sun); color: var(--night); }
.site .plus:hover { color: var(--night); }
.site .skip-link, .site .toast { background: var(--cream); color: var(--night); }
.site .fx-plus { color: var(--sun-2); text-shadow: 0 1px 0 var(--night); }
.site .fx-dot { box-shadow: 0 0 0 3px var(--night), 0 6px 14px rgba(0, 0, 0, .5); }
.site .alert--error { background: rgba(255, 138, 120, .12); color: var(--danger); }
.site .alert--warn { background: rgba(255, 199, 44, .12); color: #ffd978; }
.site dialog::backdrop { background: rgba(4, 10, 22, .72); }
.site dialog { border: 1px solid var(--line); }
.site .status { background: rgba(253, 243, 225, .08); }
.site .status.is-open::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(95, 211, 154, .25); }
.site .skel__title, .site .skel__row { background: linear-gradient(90deg, var(--night-2) 0%, var(--night-3) 40%, var(--night-2) 80%); background-size: 200% 100%; }
.site .done__check circle { fill: rgba(95, 211, 154, .12); stroke: var(--ok); }
.site .done__check path { stroke: var(--ok); }
.site .done__no { color: var(--sun-2); }

/* סרגל עליון */
.site .bar { background: rgba(10, 22, 46, .86); border-bottom-color: var(--line); }
.site .brand__name { color: var(--cream); }
.site .brand img { box-shadow: 0 0 0 2px rgba(255, 187, 61, .55); }
.site .icon-btn:hover { background: rgba(253, 243, 225, .08); }

/* ---------- פתיחה ---------- */
.site .hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: 66vh; min-height: 66svh; padding-block: 28px 76px;
  background: linear-gradient(180deg, #081429 0%, #0e2347 48%, #163a6e 100%); color: var(--cream);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* כוכבים קטנים בשמיים */
.hero__bg::before {
  content: ""; position: absolute; inset: 0 0 40% 0; opacity: .55;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 95% 44%, #fff 50%, transparent 51%);
}
.hero__sun, .hero__rays { position: absolute; left: 50%; top: 32%; border-radius: 50%; transform: translate(-50%, -50%); }
.hero__sun {
  width: min(150vw, 980px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 187, 61, .62) 0%, rgba(247, 140, 27, .34) 20%, rgba(200, 50, 31, .14) 40%, transparent 64%);
}
.hero__rays {
  width: 190vmax; aspect-ratio: 1; opacity: .8;
  background: repeating-conic-gradient(from 0deg, rgba(255, 199, 44, .07) 0deg 4deg, transparent 4deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 22%, transparent 46%);
  mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .55) 22%, transparent 46%);
}
/* פסי מהירות: הקטנוע בדרך */
.hero__streaks { position: absolute; inset: 0; overflow: hidden; }
.hero__streaks i {
  position: absolute; left: 0; top: var(--y); width: var(--w); height: var(--h, 2px); border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(253, 243, 225, var(--a, .5)));
}
/* כביש בתחתית: קווי הפרדה שזזים */
.hero__road { position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(4, 10, 22, .55)); }
.hero__road::after {
  content: ""; position: absolute; inset: auto 0 44px 0; height: 4px; opacity: .5;
  background: repeating-linear-gradient(90deg, var(--sun-2) 0 34px, transparent 34px 74px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

.site .hero__in { display: grid; justify-content: stretch; justify-items: center; gap: 8px; text-align: center; padding-block: 0; }
.site .hero__logo {
  width: 136px; height: 136px; border-radius: 50%; transform: none;
  box-shadow: 0 0 0 4px var(--sun-2), 0 0 0 11px rgba(8, 20, 41, .55), 0 22px 50px rgba(0, 0, 0, .55), 0 0 90px rgba(247, 162, 27, .5);
}
.site .hero__title {
  margin-top: 10px; font-size: clamp(4.25rem, 20vw, 8.5rem); line-height: .82; color: #ffc72c;
  text-shadow: 0 5px 0 var(--red), 0 20px 50px rgba(247, 162, 27, .35);
}
.site .hero__tag { margin-top: 6px; font-size: clamp(1.75rem, 7vw, 2.75rem); }
.site .hero__meta { margin-top: 10px; min-height: 30px; }
.site .hero .status { background: rgba(8, 20, 41, .55); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(253, 243, 225, .18); backdrop-filter: blur(6px); }
.site .hero .status:not(.is-open) { color: #ffd3c9; }
.site .hero .status:not(.is-open)::before { background: #ff6a4d; }
.btn--sun {
  background: linear-gradient(180deg, var(--sun-2), var(--sun)); color: var(--night); border-radius: var(--pill);
  box-shadow: 0 12px 28px -10px rgba(247, 162, 27, .85), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--sun:hover { filter: brightness(1.06); }
.btn--xl { min-height: 60px; padding-inline: 40px; font-size: 1.25rem; font-weight: 800; }
.hero__cta { min-width: min(280px, 100%); margin-top: 16px; }
@media (min-width: 720px) {
  .site .hero { min-height: 74vh; min-height: 74svh; }
  .site .hero__logo { width: 180px; height: 180px; }
}
@media (max-height: 640px) and (max-width: 719px) {
  .site .hero__logo { width: 96px; height: 96px; }
  .site .hero { min-height: 0; padding-block: 18px 64px; }
}

/* ---------- התפריט: גיליון שעולה על הפתיחה ---------- */
.sheetbg {
  position: relative; margin-top: -30px; padding-top: 22px; background: var(--night);
  border-radius: 30px 30px 0 0; box-shadow: 0 -14px 34px rgba(0, 0, 0, .4);
}
.menu-title { font-family: var(--f-display); font-size: 2.75rem; line-height: 1; text-align: center; color: var(--sun-2); }
.site .cats { background: rgba(12, 26, 51, .94); border-bottom-color: var(--line); }
.site .chip { border: 1.5px solid rgba(255, 187, 61, .4); color: var(--cream); }
.site .chip:hover { background: rgba(255, 187, 61, .1); color: var(--cream); }
.site .chip[aria-current="true"] { background: var(--sun-2); border-color: var(--sun-2); color: var(--night); }

.site .cat { padding-top: 34px; }
.site .cat__title { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.site .cat__title::before, .site .cat__title::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 187, 61, .5)); }
.site .cat__title::after { transform: scaleX(-1); }
.site .cat__addons { text-align: center; }
.site .items { padding: 4px 16px; background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh); }
.site .cols { padding-inline: 17px; }
.site .vbtn { background: var(--night-3); border-color: transparent; color: var(--cream); }
.site .vbtn:hover { border-color: var(--sun); }
.site .vbtn.in { background: rgba(247, 162, 27, .18); border-color: var(--sun); color: var(--sun-2); }
.site .vbtn--out { background: transparent; border-color: var(--line); }
.site .plus { background: transparent; color: var(--sun-2); box-shadow: inset 0 0 0 1.5px var(--sun); border-radius: 14px; }
.site .plus:hover { background: var(--sun); }
.site .price { color: var(--sun-2); }
.site .soon { background: rgba(253, 243, 225, .08); }
.site .inq { color: var(--sun-2); }
.site .inq__minus { background: transparent; }

/* מידע ופוטר */
.site .info { background: transparent; }
.site .row__ic { background: rgba(247, 162, 27, .14); color: var(--sun-2); }
.site .foot { border-top: 1px solid var(--line); }
.site .foot a { color: var(--ink-2); }
.site .foot a:hover { color: var(--cream); }

/* עגלה צפה */
.site .cartbar { background: var(--sun); color: var(--night); box-shadow: 0 14px 34px -10px rgba(247, 162, 27, .7), 0 6px 20px rgba(0, 0, 0, .45); }
.site .cartbar__n { background: var(--night); color: var(--sun-2); }

/* דפי הזמנה ותודה */
.site .page__title { color: var(--sun-2); }
.site .paybar { background: rgba(10, 22, 46, .94); border-top-color: var(--line); }
.site .seg { background: var(--night-3); }
.site .seg label:has(input:checked) { background: var(--sun); color: var(--night); }
.site .seg label:has(input:checked) small { color: rgba(12, 26, 51, .8); }
.site .field input, .site .field textarea { background: var(--night-3); border-color: transparent; }
.site .field input:focus, .site .field textarea:focus { border-color: var(--sun); box-shadow: 0 0 0 3px rgba(247, 162, 27, .3); }
.site .field [aria-invalid="true"] { border-color: var(--danger); }

/* ---------- תנועה (נעצרת מחוץ למסך, ב"הפחתת תנועה" ובתפריט הנגישות) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__rays { animation: spin 120s linear infinite; }
  .hero__sun { animation: breathe 6s ease-in-out infinite alternate; }
  .hero__road::after { animation: road 1.1s linear infinite; }
  .hero__streaks i { animation: streak var(--d) linear var(--delay) infinite; }
  @keyframes spin { to { transform: translate(-50%, -50%) rotate(1turn); } }
  @keyframes breathe { from { opacity: .82; transform: translate(-50%, -50%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.03); } }
  @keyframes road { to { background-position: -74px 0; } }
  @keyframes streak {
    0% { transform: translateX(-30vw); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(130vw); opacity: 0; }
  }
  /* כניסה */
  .site .hero__title { animation: rise-in .7s .12s cubic-bezier(.2, 1.2, .4, 1) both; }
  .site .hero__meta, .site .hero__cta { animation: rise-in .6s .45s var(--ease) both; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
  .hero__bg { animation: fade 1.2s ease-out both; }
}
[data-hero].is-paused *, [data-hero].is-paused *::before, [data-hero].is-paused *::after { animation-play-state: paused !important; }

/* ---------- תפריט נגישות ---------- */
.a11y-btn { color: var(--ink); }
.a11y-btn svg { fill: currentColor; stroke: none; width: 24px; height: 24px; }
.a11y-panel {
  position: fixed; z-index: 65; top: calc(var(--bar-h) + 8px); inset-inline-end: 12px; width: min(280px, calc(100% - 24px));
  display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.a11y-panel__title { font-weight: 800; font-size: 1.125rem; }
.a11y-panel button {
  display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--line);
  border-radius: var(--r); background: transparent; font-weight: 700; text-align: start; cursor: pointer;
}
.a11y-panel button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.a11y-panel button[aria-pressed="true"]::after { content: "✓"; }
.a11y-panel [data-a11y-reset] { justify-content: center; background: var(--sand); }
.a11y-panel a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--ink); }

html.a11y-big { font-size: 125%; }
html.a11y-big body { font-size: 20px; }
html.a11y-contrast body { --ink-2: var(--ink); --line: currentColor; }
html.a11y-contrast body.site { --night: #000; --night-2: #000; --night-3: #141414; --ink-2: #fff; --cream: #fff; }
html.a11y-contrast .site .hero { background: #000; }
html.a11y-contrast .hero__bg { display: none; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .hero__streaks { display: none; }
html.a11y-readable body, html.a11y-readable body * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .hero__streaks { display: none; } }
@media (min-width: 720px) { .site .cats__in { justify-content: safe center; } }

/* דפי מידע (הצהרת נגישות) */
.legal .wrap { max-width: 680px; display: grid; gap: 12px; }
.legal h2 { margin-top: 14px; font-size: 1.25rem; font-weight: 800; color: var(--sun-2, var(--ink)); }
.legal ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }

/* דפי מידע: פתיח, קישורים */
.legal__lead { font-size: 1.0625rem; color: var(--cream, var(--ink)) !important; font-weight: 500; }
.legal a { color: var(--sun-2, var(--ink)); text-decoration: underline; text-underline-offset: 3px; }
.legal__contact { list-style: none; padding: 0 !important; }
.legal b { color: var(--cream, var(--ink)); }

/* תחתית: קישורים משפטיים ופרטי העסק (חובה בהזמנה מרחוק) */
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 8px; justify-items: center; text-align: center; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; }
.site .foot .foot__links a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(247, 162, 27, .5); text-underline-offset: 4px; }
.foot__biz { display: grid; gap: 2px; margin: 0; line-height: 1.6; }
.foot__copy { margin: 0; font-size: .8125rem; }

/* מתחת לתפריט: אלרגנים ומע"מ */
.menu-notes { display: grid; gap: 4px; padding-block: 8px 24px; font-size: .875rem; color: var(--ink-2); line-height: 1.6; }
.menu-notes p { margin: 0; max-width: 62ch; }
.row__sub { margin: 2px 0 0; font-size: .875rem; color: var(--ink-2); }

/* אישור תקנון בהזמנה */
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 700; line-height: 1.5; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--sun, var(--ink)); cursor: pointer; }
.check a { color: var(--sun-2, var(--ink)); text-decoration: underline; text-underline-offset: 3px; }
.check:has([aria-invalid="true"]) input { outline: 2px solid var(--danger); outline-offset: 2px; }
.consent { display: grid; gap: 4px; }
.consent p { margin: 0; line-height: 1.6; }
body:has([data-form]:not([hidden])) .foot { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }

/* דף 404 */
.notfound .wrap { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: 40px; }
.notfound__logo { border-radius: 50%; box-shadow: 0 0 0 6px rgba(247, 162, 27, .25); }
.notfound p { color: var(--ink-2); }

/* בחירת חובה שלא נבחרה (עם / בלי בצל מטוגן) */
.need { color: var(--danger); font-weight: 800; font-size: .875rem; }
.need:empty { display: none; }
fieldset.is-missing .opt { border-color: var(--danger); }

/* לחיצה כפולה מהירה (למשל שתי מנות) לא עושה זום בטלפון. צביטה להגדלה עדיין עובדת (נגישות) */
html { touch-action: manipulation; }
button, a, label, input, select, textarea, summary, [role="button"] { touch-action: manipulation; }
