/* ===================== תפריט ===================== */
.sheet {
  position: relative; z-index: 5;
  margin-top: -28px; border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--surface-page);
  padding-top: var(--s-6); padding-bottom: var(--s-7);
  scroll-margin-top: calc(var(--topbar-h) + var(--safe-t) - 28px);
}
.sheet:focus { outline: none; }
.sheet__head { display: grid; gap: 6px; justify-items: start; padding-bottom: var(--s-3); }
.sheet__title { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-3xl); line-height: 1.05; color: var(--text); }

/* ---------- פס קטגוריות דביק ---------- */
.catbar {
  position: sticky; top: calc(var(--topbar-h) + var(--safe-t)); z-index: 20;
  background: color-mix(in srgb, var(--surface-page) 94%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}
.catbar.stuck { box-shadow: 0 1px 0 var(--border), 0 10px 22px -16px rgba(60, 35, 20, .45); }
.catbar__track {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  padding-block: 10px; scroll-snap-type: x proximity; scrollbar-width: none;
}
.catbar__track::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; min-height: var(--tap); padding: 0 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font-weight: 700; font-size: var(--fs-s); white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur);
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--border-strong); }
.chip:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.chip[aria-current="true"] { background: var(--selected); border-color: var(--selected); color: var(--on-selected); }

/* ---------- פריסה ---------- */
.menu-layout { display: grid; gap: var(--s-6); padding-top: var(--s-5); align-items: start; }
.menu-list { min-width: 0; display: grid; gap: var(--s-7); }
.cart-aside { display: none; }
@media (min-width: 1024px) {
  .menu-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .cart-aside {
    display: block; position: sticky; top: calc(var(--topbar-h) + var(--safe-t) + 76px);
    max-height: calc(100vh - var(--topbar-h) - 100px); overflow: auto;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); box-shadow: var(--sh-1);
  }
  .cart-aside .cartv { min-height: 0; }
}

.cat { scroll-margin-top: calc(var(--topbar-h) + var(--safe-t) + 70px); }
.cat__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: var(--s-3); padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.cat__title { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-2xl); line-height: 1.1; color: var(--text); }
.cat__count { margin-inline-start: auto; color: var(--text-3); font-size: var(--fs-s); font-weight: 700; }

/* ---------- כרטיס מנה: "שורה עשירה" ---------- */
.items { display: grid; }
.pcard {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  -webkit-tap-highlight-color: transparent;
}
.pcard__body { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.pcard__name { font-size: var(--fs-l); font-weight: 800; line-height: var(--lh-tight); }
/* שם המנה = כפתור שמתפרש על כל הכרטיס */
.pcard__link { all: unset; cursor: pointer; }
.pcard__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); }
.pcard__link:focus-visible::after { box-shadow: var(--focus-ring); }
.pcard:hover .pcard__name { text-decoration: underline; text-decoration-color: var(--action); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pcard__desc { color: var(--text-2); font-size: var(--fs-s); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--price); font-size: var(--fs-l); }
.price--tbd { color: var(--text-2); letter-spacing: .02em; }
.tag { display: inline-block; width: fit-content; margin-top: 2px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--action-soft); color: var(--text); font-size: var(--fs-2xs); font-weight: 800; }

/* "+" עגול בזעפרן — לחיצה אחת. מעל שכבת הלחיצה של הכרטיס */
.add-btn {
  position: relative; z-index: 1; flex: none; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 0 18px;
  border-radius: var(--r-pill); border: 0; background: var(--action); color: var(--on-action); font-weight: 800; font-size: var(--fs-s);
  box-shadow: 0 6px 14px -6px rgba(196, 114, 31, .7);
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur), color var(--dur);
  -webkit-tap-highlight-color: transparent;
}
.add-btn .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.add-btn:hover { background: var(--action-hover); }
.add-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.add-btn:active { transform: scale(.92); }
.add-btn.is-done { background: var(--olive); color: var(--chalk); }
.pcard .add-btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
.pcard .add-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pcard.is-out .pcard__link { cursor: default; }
.pcard.is-out .thumb { filter: grayscale(.85); opacity: .75; }
.pcard.is-out .pcard__name { color: var(--text-2); }
.out-label { position: relative; z-index: 1; font-size: var(--fs-s); font-weight: 700; color: var(--disabled-text); background: var(--disabled-bg); padding: 8px 14px; border-radius: var(--r-pill); }

.thumb {
  position: relative; width: 100%; aspect-ratio: 1; max-width: 100%; border-radius: var(--r-m); overflow: hidden;
  background: var(--surface-sunk); color: var(--text-2); display: grid; place-items: center;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ic { width: 46%; height: 46%; stroke-width: 1.35; }
.thumb--photo { background: var(--coal-2); }
.thumb--photo img { transition: transform .5s var(--ease); }
/* אריח ממותג כשאין צילום: פחם עם זוהר גחלים */
.thumb--brand { background: radial-gradient(110% 90% at 50% 110%, rgba(232, 87, 42, .45) 0%, rgba(28, 23, 20, 0) 60%), var(--coal); color: var(--saffron-glow); }
.thumb--brand .ic { position: relative; z-index: 1; width: 44%; height: 44%; stroke-width: 1.3; }
.thumb__badge {
  position: absolute; top: 6px; right: 6px; z-index: 2; background: var(--sumac); color: var(--chalk);
  font-size: var(--fs-2xs); font-weight: 800; padding: 3px 8px; border-radius: var(--r-pill);
}
.thumb__badge--out { background: var(--coal); }

/* ---------- הכי מזמינים ---------- */
.best { min-width: 0; }
.best__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 300px); gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px;
}
.best__row::-webkit-scrollbar { display: none; }
.bcard { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1); min-width: 0; }
.bcard .thumb { aspect-ratio: 1; border-radius: 0; }
.bcard.is-out .thumb { filter: grayscale(.85); }
.bcard__body { padding: 12px 14px 14px; display: grid; gap: 10px; align-content: space-between; }
.bcard__name { font-size: var(--fs-l); font-weight: 800; line-height: 1.25; }
.bcard__open { all: unset; cursor: pointer; }
.bcard__open:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.bcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.add-btn--l { min-height: var(--tap-l); padding: 0 18px; font-size: var(--fs-m); }
.add-btn:disabled { background: var(--disabled-bg); color: var(--disabled-text); box-shadow: none; cursor: not-allowed; }
@media (min-width: 1024px) { .best__row { margin: 0; padding-inline: 0; grid-auto-columns: 240px; } }
@media (min-width: 1280px) {
  .best__row { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .bcard { max-width: 420px; }
  .bcard:hover .thumb--photo img { transform: scale(1.04); }
}

/* ---------- פתוח / סגור ---------- */
.status {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  padding: 6px 14px; border-radius: var(--r-pill); font-weight: 800; font-size: var(--fs-s);
  background: var(--surface-sunk); color: var(--text);
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); flex: none; }
.status.is-open { background: var(--ok-soft); color: var(--ok-text); }
.status.is-open::before { background: var(--olive); box-shadow: 0 0 0 3px rgba(79, 107, 58, .22); }
.status.is-soon { background: var(--action-soft); color: #5c3410; }
.status.is-soon::before { background: var(--saffron); }
.status.is-closed { background: var(--warn-soft); color: var(--danger-text); }
.status.is-closed::before { background: var(--ember); }
.status--inline { margin: 6px 0 4px; }
.site-notice { padding: 10px 14px; border-radius: var(--r-m); background: var(--coal); color: var(--stone); font-weight: 700; font-size: var(--fs-s); max-width: 60ch; }

@media (min-width: 640px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-5); }
}
/* דסקטופ: רשת כרטיסים עם תמונה גדולה למעלה */
@media (min-width: 1024px) {
  .cat__head { border-bottom-width: 0; padding-bottom: 0; }
  .items { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-4); }
  .pcard {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--r-l);
    background: var(--surface); overflow: hidden; box-shadow: var(--sh-1);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur); max-width: 420px;
  }
  .pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
  .pcard:hover .thumb--photo img { transform: scale(1.04); }
  .pcard .thumb { aspect-ratio: 4 / 3; border-radius: 0; }
  .pcard .thumb--brand .ic { width: 28%; height: 36%; }
  .pcard__body { padding: 16px 18px 18px; }
  .pcard__link::after { border-radius: var(--r-l); }
}

.empty-cat { color: var(--text-2); padding: 12px 0; }

/* מצב טעינה */
.skeleton { display: grid; gap: 14px; }
.skeleton i { display: block; height: 104px; border-radius: var(--r-m); background: linear-gradient(90deg, var(--stone-2) 25%, var(--chalk) 50%, var(--stone-2) 75%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ===================== מידע ===================== */
.info { background: var(--stone-2); padding-block: var(--s-7) var(--s-8); position: relative; z-index: 5; }
.info__title { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-3xl); line-height: 1.05; margin: 10px 0 var(--s-5); }
.info__grid { display: grid; gap: var(--s-4); }
.info__cards { display: grid; gap: var(--s-3); align-items: start; }
@media (min-width: 760px) { .info__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .info__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.icard--hours { grid-row: span 2; }
.hours li.is-today { font-weight: 800; color: var(--accent); }
.hours li.is-today::before { content: "● "; color: var(--action); }
.hours--special { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border-strong); font-size: var(--fs-s); }
.place__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.place__btns .btn { min-height: 44px; padding: 0 16px; font-size: var(--fs-s); }
.place__btns .btn .ic { width: 18px; height: 18px; }

.place__gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(70%, 340px); gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.place__gallery::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .place__gallery { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; padding: 0; overflow: visible; } }
.shot {
  position: relative; display: block; padding: 0; border: 0; border-radius: var(--r-m); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--coal-2); scroll-snap-align: start; cursor: zoom-in; width: 100%;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__cap {
  position: absolute; inset-inline-start: 10px; bottom: 10px; background: rgba(28, 23, 20, .78); color: var(--stone);
  font-weight: 700; font-size: var(--fs-xs); padding: 4px 10px; border-radius: var(--r-pill);
}
.shot--cert { aspect-ratio: 3 / 4; max-width: 200px; margin-top: 10px; background: var(--chalk); border: 1px solid var(--border); }
.shot--cert img { object-fit: contain; }
.icard { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 18px; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh-1); }
.icard__ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--coal); color: var(--saffron-glow); }
.icard__ic .ic { width: 22px; height: 22px; }
.icard__label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; color: var(--text-2); }
.icard__value { font-weight: 700; font-size: var(--fs-l); overflow-wrap: anywhere; }
.icard__value a { text-decoration-color: var(--action); text-underline-offset: 3px; }
.icard__sub { color: var(--text-2); font-size: var(--fs-s); margin-top: 2px; }
.tbd { color: var(--text-3); font-weight: 500; }
.hours { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }
.mapbox {
  grid-column: 1 / -1; min-height: 180px; border-radius: var(--r-l); overflow: hidden; position: relative;
  background-color: #e6d9c5;
  background-image:
    linear-gradient(28deg, transparent 47%, rgba(251, 247, 240, .75) 48%, rgba(251, 247, 240, .75) 52%, transparent 53%),
    linear-gradient(-62deg, transparent 46%, rgba(251, 247, 240, .6) 47%, rgba(251, 247, 240, .6) 51%, transparent 52%),
    linear-gradient(95deg, transparent 48%, rgba(217, 130, 43, .35) 49%, rgba(217, 130, 43, .35) 51%, transparent 52%);
  background-size: 220px 160px, 300px 240px, 180px 280px;
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.mapbox p { font-weight: 700; max-width: 30ch; }
.mapbox .btn { margin-top: 12px; }

.demo-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s-5); font-size: var(--fs-s); color: var(--text-on-dark-2); cursor: pointer; width: fit-content; max-width: 100%; min-height: var(--tap); }
.demo-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.demo-toggle__track { width: 40px; height: 24px; border-radius: 12px; background: rgba(244, 237, 226, .2); position: relative; flex: none; transition: background-color .2s; }
.demo-toggle__track::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--stone); transition: transform .2s var(--ease); }
.demo-toggle input:checked + .demo-toggle__track { background: var(--action); }
.demo-toggle input:checked + .demo-toggle__track::after { transform: translateX(-16px); }
.demo-toggle input:focus-visible + .demo-toggle__track { outline: 3px solid var(--saffron-glow); outline-offset: 2px; }

/* ===================== פס סל צף ===================== */
.cartbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gutter) calc(10px + var(--safe-b));
  background: linear-gradient(to top, var(--surface-page) 55%, rgba(244, 237, 226, 0));
  animation: barIn .35s var(--ease);
}
@keyframes barIn { from { transform: translateY(100%); } }
.cartbar__btn {
  width: 100%; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 0 10px 0 18px; border-radius: var(--r-l); border: 0;
  background: var(--coal); color: var(--stone); font-weight: 800; font-size: var(--fs-l);
  box-shadow: var(--sh-float);
  -webkit-tap-highlight-color: transparent; transition: transform .15s var(--ease);
}
.cartbar__btn:active { transform: scale(.98); }
.cartbar__count { min-width: 34px; height: 34px; border-radius: 10px; background: rgba(244, 237, 226, .14); display: grid; place-items: center; font-size: var(--fs-m); font-variant-numeric: tabular-nums; }
.cartbar__label { flex: 1; text-align: right; }
.cartbar__total { font-variant-numeric: tabular-nums; background: var(--action); color: var(--on-action); padding: 9px 14px; border-radius: var(--r-m); }
.cartbar.bump .cartbar__btn { animation: bump .45s var(--ease); }
@media (min-width: 1024px) { .cartbar { display: none; } }

/* ===================== מידע: פאנל אחד מסודר (v16) ===================== */
.info { padding-block: var(--s-6) var(--s-7); }
.info__title { font-size: var(--fs-2xl); margin-bottom: var(--s-4); }
.ipanel {
  list-style: none; margin: 0; padding: 4px 18px; background: var(--surface); border-radius: var(--r-l);
  border: 1px solid var(--border); box-shadow: var(--sh-1); display: grid;
}
.irow { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.irow:last-child { border-bottom: 0; }
.irow__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-sunk); color: var(--accent); }
.irow__ic .ic { width: 18px; height: 18px; }
.irow__body { min-width: 0; display: grid; gap: 4px; align-content: start; }
.irow__label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; color: var(--text-2); }
.irow__value { font-weight: 700; font-size: var(--fs-m); overflow-wrap: anywhere; }
.irow__value a { color: inherit; text-decoration-color: var(--action); text-underline-offset: 3px; }
.irow__value .status { margin: 0; }
.irow__sub { color: var(--text-2); font-size: var(--fs-s); }
.irow__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ipill {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border); background: var(--chalk); color: var(--text); font-weight: 700; font-size: var(--fs-s); text-decoration: none;
}
.ipill .ic { width: 16px; height: 16px; }
.ipill:hover { border-color: var(--border-strong); }
.ipill--dark { background: var(--coal); border-color: var(--coal); color: var(--stone); }
.ipill:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.ihours > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs-s); font-weight: 700; color: var(--text-2); }
.ihours > summary::-webkit-details-marker { display: none; }
.ihours > summary::after { content: "▾"; font-size: .8em; transition: transform var(--dur); }
.ihours[open] > summary::after { transform: rotate(180deg); }
.ihours > summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
.ihours .hours { max-width: 320px; padding: 4px 0 2px; font-size: var(--fs-s); }
.irow .shot--cert { max-width: 120px; margin-top: 6px; }
@media (min-width: 760px) {
  .ipanel { grid-template-columns: 1fr 1fr; column-gap: 32px; padding: 6px 24px; }
  .irow:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.ipill--icon { width: var(--tap); padding: 0; justify-content: center; }
.ipill--icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ipill--icon .ic { width: 20px; height: 20px; }
/* הבהרות צרכניות ליד התפריט (מע״מ, תמונות, אלרגנים) */
.menu-note { font-size: var(--fs-s); color: var(--text-2); max-width: 62ch; }
.menu-note a { color: var(--accent); font-weight: 700; }
