/* ==========================================================
   פרי וירק – מאיר אזולאי
   Mobile-first stylesheet
   ========================================================== */

:root {
  --cream: #fbf7ef;
  --paper: #ffffff;
  --ink: #1f2a22;
  --ink-soft: #55615a;
  --line: #e9e2d3;
  --gold: #c9a54c;
  --gold-soft: #f4ead0;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --danger: #c0392b;

  /* track colors – overridden per track */
  --brand: #2f6b3f;
  --brand-dark: #1d4529;
  --brand-soft: #e6f0e4;
  --brand-ink: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(31, 42, 34, .06), 0 2px 8px rgba(31, 42, 34, .05);
  --shadow: 0 10px 30px -10px rgba(31, 42, 34, .25);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Frank Ruhl Libre", "Heebo", Georgia, serif;
  --topbar-h: 104px;
}

body.track-a { --brand: #2f6b3f; --brand-dark: #1d4529; --brand-soft: #e6f0e4; }
body.track-b { --brand: #7a2e45; --brand-dark: #521c2d; --brand-soft: #f5e6ea; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 44px; height: 44px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; color: var(--brand-dark); }
.brand__sub { font-size: .75rem; color: var(--ink-soft); font-weight: 500; letter-spacing: .02em; margin-top: 3px; }
.brand--xl .brand__mark { width: 88px; height: 88px; }
.brand--xl .brand__name { font-size: 2.6rem; color: #fff; }
.brand--xl .brand__sub { font-size: .95rem; color: rgba(255,255,255,.85); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: rgba(255,255,255,.7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.3em;
  border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { font-size: 1.25em; }
.btn--lg { min-height: 54px; font-size: 1.05rem; padding: .7em 1.6em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px -6px var(--brand); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--glass { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.26); }
.btn--ghost { background: transparent; color: var(--brand); border: 1.5px solid currentColor; }
.btn--wa { background: var(--wa); color: #063a1c; }
.btn--wa:hover { background: #1ebe5a; }
.btn--pay { background: var(--ink); color: #fff; }
.btn--pay:hover { background: #000; }
.btn--pay.is-disabled { opacity: .45; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream); display: grid; place-items: center; }
.icon-btn svg { font-size: 1.3rem; }
.icon-btn--light { background: rgba(255,255,255,.9); }

/* ==========================================================
   GATE – kashrut track selection
   ========================================================== */
.gate { position: fixed; inset: 0; z-index: 50; overflow-y: auto; color: #fff; display: flex; }
.gate__bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 32, 20, .78) 0%, rgba(15, 32, 20, .88) 60%, rgba(15, 32, 20, .96) 100%),
    url("assets/img/site/hero.jpg") center / cover no-repeat;
}
.gate__inner { margin: auto; width: 100%; max-width: 860px; padding: 40px 16px calc(32px + env(safe-area-inset-bottom)); text-align: center; display: flex; flex-direction: column; align-items: center; }
.gate__title { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1.2; margin: 28px 0 8px; }
.gate__title span { display: block; font-size: 1.15rem; font-family: var(--font); font-weight: 500; color: var(--gold-soft); margin-top: 6px; }
.gate__lead { margin: 0 0 24px; color: rgba(255,255,255,.8); }
.gate__choices { display: grid; gap: 14px; width: 100%; }
.gate__foot { margin: 26px 0 0; font-size: .9rem; color: rgba(255,255,255,.6); }

.choice {
  --c: #2f6b3f;
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 100%; padding: 22px 20px 18px;
  background: rgba(255,255,255,.97); color: var(--ink);
  border: 0; border-radius: 22px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  border-top: 6px solid var(--c);
  transition: transform .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.choice--b { --c: #7a2e45; }
.choice:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -18px rgba(0,0,0,.7); }
.choice:active { transform: scale(.98); }
.choice__seal { font-size: 2.6rem; color: var(--c); line-height: 0; }
.choice__name { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--c); }
.choice__desc { font-size: .92rem; color: var(--ink-soft); max-width: 30ch; }
.choice__cta { margin-top: 8px; background: var(--c); color: #fff; font-weight: 700; padding: .55em 1.4em; border-radius: 999px; }

/* ==========================================================
   TOP BAR
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { max-width: 1180px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 10px; }
.topbar .brand { margin-inline-end: auto; }
.track-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand); color: #fff; border: 0;
  padding: 7px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  white-space: nowrap;
}
.track-pill__dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.track-pill__icon { font-size: 1rem; opacity: .85; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brand-dark); }
.cart-btn svg { font-size: 1.45rem; }
.cart-btn__count { position: absolute; top: -4px; left: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.94); } }

.subnav { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; max-width: 1180px; margin: 0 auto; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: .88rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.subnav a:hover { color: var(--brand); border-color: var(--brand); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; color: #fff; overflow: hidden; padding: 56px 0 0; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: url("assets/img/site/hero.jpg") center / cover no-repeat; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 55%, var(--brand-dark) 100%); }
.hero__content { max-width: 1180px; margin: 0 auto; padding: 0 16px 36px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); padding: 5px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero__title { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1.08; margin: 16px 0 12px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero__lead { font-size: 1.08rem; max-width: 36ch; margin: 0 0 24px; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn { flex: 1 1 200px; }
.perks { list-style: none; margin: 0; padding: 14px 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--brand-dark); }
.perks li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .78rem; line-height: 1.25; color: rgba(255,255,255,.92); }
.perks svg { font-size: 1.6rem; color: var(--gold); }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 56px 0; }
.section__head { text-align: center; margin-bottom: 26px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--brand); background: var(--brand-soft); padding: 3px 12px; border-radius: 999px; }
.section__title { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1.15; margin: 10px 0 8px; color: var(--ink); }
.section__lead { color: var(--ink-soft); margin: 0 auto; max-width: 52ch; }

/* ---------- Kashrut ---------- */
.kashrut { background: linear-gradient(180deg, var(--brand-soft), var(--cream)); }
.kashrut__grid { display: grid; gap: 26px; align-items: center; }
.kashrut__cert {
  position: relative; display: block; width: 100%; max-width: 340px; margin: 0 auto;
  padding: 10px; background: #fff; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); transform: rotate(-1.5deg);
  transition: transform .25s ease;
}
.kashrut__cert:hover { transform: rotate(0) scale(1.02); }
.kashrut__cert img { width: 100%; height: auto; border-radius: 10px; aspect-ratio: 3/4; object-fit: contain; background: #fffdf7; }
.kashrut__zoom { position: absolute; bottom: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.kashrut__text { text-align: center; }
.kashrut__text > p { color: var(--ink-soft); margin: 0 auto 18px; max-width: 48ch; }
.kashrut__sep { display: flex; gap: 12px; align-items: flex-start; text-align: start; background: #fff; border: 1.5px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 16px; }
.kashrut__sep svg { font-size: 1.8rem; color: var(--brand); margin-top: 2px; }
.kashrut__sep p { margin: 0; font-size: .95rem; }

/* ---------- Catalog ---------- */
.cats {
  position: sticky; top: var(--topbar-h); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 16px; margin-bottom: 18px;
  background: rgba(251, 247, 239, .94); backdrop-filter: blur(10px);
  justify-content: flex-start;
}
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: all .15s ease; }
.cat[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px -4px var(--brand); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid #f0eadc;
  animation: rise .45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.card__media { position: relative; aspect-ratio: 1; background: var(--brand-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #2b2210; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.card--box .card__badge { background: var(--brand); color: #fff; }
.card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-weight: 800; font-size: 1rem; margin: 0; line-height: 1.25; }
.card__desc { font-size: .78rem; color: var(--ink-soft); margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 4px; }
.card__price strong { font-size: 1.2rem; font-weight: 800; color: var(--brand-dark); }
.card__price span { font-size: .78rem; color: var(--ink-soft); }
.card__soldout { position: absolute; inset: 0; background: rgba(255,255,255,.6); display: grid; place-items: center; font-weight: 800; color: var(--ink); }

.add-btn { margin-top: 8px; width: 100%; min-height: 42px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.add-btn svg { font-size: 1.1rem; }
.stepper { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; background: var(--brand-soft); border-radius: 12px; min-height: 42px; padding: 3px; }
.stepper button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #fff; color: var(--brand-dark); font-size: 1.3rem; font-weight: 700; line-height: 1; box-shadow: var(--shadow-sm); }
.stepper output { font-weight: 800; color: var(--brand-dark); font-size: .95rem; text-align: center; }

.grid--boxes .card--box { grid-column: span 2; flex-direction: row; }
.grid--boxes .card--box .card__media { width: 42%; aspect-ratio: auto; min-height: 170px; }
.grid--boxes .card--box .card__desc { -webkit-line-clamp: 4; }

/* ---------- Delivery ---------- */
.delivery { background: #fff; }
.zones { display: grid; gap: 12px; }
.zone { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--cream); position: relative; overflow: hidden; }
.zone::before { content: ""; position: absolute; inset-block: 0; right: 0; width: 5px; background: var(--brand); }
.zone__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.zone__day { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; color: var(--brand-dark); }
.zone__hours { font-size: .85rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 4px; direction: ltr; }
.zone__areas { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.zone__areas li { background: #fff; border: 1px solid var(--line); font-size: .86rem; padding: 3px 11px; border-radius: 999px; }
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.fee { background: var(--brand); color: #fff; border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.fee strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.fee span { font-size: .75rem; opacity: .9; }
.zones__note { text-align: center; color: var(--ink-soft); margin: 18px 0 0; font-size: .95rem; }

/* ---------- Terms ---------- */
.terms__list { counter-reset: t; list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 10px; }
.terms__list li { counter-increment: t; position: relative; background: #fff; border-radius: var(--radius-sm); padding: 12px 16px 12px 16px; padding-inline-start: 52px; box-shadow: var(--shadow-sm); }
.terms__list li::before { content: counter(t); position: absolute; right: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px auto 0; max-width: 760px; }
.step { display: flex; align-items: center; gap: 10px; background: var(--brand-dark); color: #fff; padding: 12px; border-radius: var(--radius-sm); font-size: .88rem; line-height: 1.3; }
.step b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #2b2210; }

/* ---------- About ---------- */
.about { background: #fff; }
.about__grid { display: grid; gap: 24px; align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.about__quote { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--brand); margin: 0 0 10px; }
.about__quote small { font-family: var(--font); font-size: .78rem; color: var(--ink-soft); font-weight: 400; }
.about__text p { color: var(--ink-soft); }
.about__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-dark); color: rgba(255,255,255,.85); padding: 36px 0 calc(120px + env(safe-area-inset-bottom)); text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__track { margin: 0; font-size: .92rem; }
.footer__copy { margin: 0; font-size: .8rem; color: rgba(255,255,255,.6); }

/* ==========================================================
   FLOATING ELEMENTS
   ========================================================== */
.wa-float {
  position: fixed; z-index: 60; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  height: 58px; min-width: 58px; padding: 0 16px;
  border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 24px -6px rgba(18, 140, 75, .65);
  transition: transform .2s ease, bottom .3s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.wa-float svg { font-size: 1.9rem; }
.wa-float__label { display: none; }
.wa-float:hover { transform: translateY(-2px); }
body.has-cart-bar .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }

.cart-bar { position: fixed; z-index: 35; inset-inline: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--cream) 60%, rgba(251,247,239,0)); }
.cart-bar__btn { width: 100%; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 18px; border: 0; border-radius: 18px; background: var(--brand); color: #fff; box-shadow: 0 12px 28px -10px var(--brand-dark); font-size: .95rem; }
.cart-bar__btn strong { font-size: 1.15rem; }
.cart-bar__go { margin-inline-start: auto; font-weight: 700; }

.toast { position: fixed; z-index: 70; left: 50%; top: calc(var(--topbar-h) + 12px); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: all .3s ease; white-space: nowrap; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   DIALOGS
   ========================================================== */
dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(15, 25, 18, .55); backdrop-filter: blur(3px); }

.drawer { margin: 0; margin-inline-start: auto; height: 100dvh; max-height: 100dvh; width: 100%; max-width: 480px; background: var(--cream); }
.drawer[open] { animation: slide .3s ease; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: none; } }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.drawer__track { font-size: .78rem; font-weight: 700; background: var(--brand); color: #fff; padding: 3px 10px; border-radius: 999px; }
.drawer__head .icon-btn { margin-inline-start: auto; }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer__hint { margin: 0; text-align: center; font-size: .78rem; color: var(--ink-soft); }

.cart-empty { text-align: center; padding: 40px 0; color: var(--ink-soft); }
.cart-empty img { margin: 0 auto 10px; opacity: .85; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 8px; box-shadow: var(--shadow-sm); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.cart-item__name { font-weight: 700; line-height: 1.2; }
.cart-item__meta { font-size: .8rem; color: var(--ink-soft); }
.cart-item__total { font-weight: 800; color: var(--brand-dark); text-align: left; }
.cart-item .stepper { grid-column: 2 / 4; margin: 0; min-height: 38px; }
.cart-item .stepper button { width: 32px; height: 32px; }
.cart-summary { margin: 14px 0; background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.cart-summary:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: .95rem; }
.sum-row--total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; font-size: 1.1rem; color: var(--brand-dark); }
.sum-note { font-size: .8rem; color: var(--ink-soft); margin: 6px 0 0; }
.sum-warn { font-size: .85rem; color: var(--danger); font-weight: 700; margin: 6px 0 0; }
.progress { height: 6px; background: var(--brand-soft); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--brand); border-radius: inherit; transition: width .3s ease; }

.order-form { display: grid; gap: 10px; }
.order-form h3 { margin: 6px 0 0; font-size: 1.05rem; }
.order-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.order-form input, .order-form select, .order-form textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  width: 100%; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.order-form .invalid { border-color: var(--danger); }
.form-error { color: var(--danger); font-weight: 700; font-size: .88rem; margin: 0; min-height: 1em; }

.lightbox { background: transparent; max-width: 96vw; max-height: 96dvh; overflow: visible; }
.lightbox img { max-width: 96vw; max-height: 92dvh; border-radius: 12px; background: #fff; }
.lightbox .icon-btn { position: absolute; top: -14px; left: -10px; }

.modal { border-radius: 22px; width: min(92vw, 420px); }
.modal__box { padding: 22px; }
.modal__box h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.4rem; }
.modal__box p { margin: 0 0 18px; color: var(--ink-soft); }
.modal__actions { display: grid; gap: 8px; }

/* ==========================================================
   LARGER SCREENS
   ========================================================== */
@media (min-width: 640px) {
  .gate__choices { grid-template-columns: 1fr 1fr; gap: 18px; }
  .choice { padding: 30px 22px 22px; }
  .gate__title { font-size: 2.4rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .grid--boxes .card--box { grid-column: span 3; }
  .zones { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { flex-direction: column; text-align: center; }
  .wa-float__label { display: inline; }
}
@media (min-width: 900px) {
  :root { --topbar-h: 72px; }
  .topbar__inner { padding: 10px 24px; }
  .topbar { display: flex; flex-wrap: wrap; }
  .topbar__inner { flex: 1; }
  .subnav { order: 0; padding: 0; margin: 0; align-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .subnav a { background: transparent; border-color: transparent; font-size: .95rem; }
  .hero { padding-top: 110px; }
  .hero__content { padding-bottom: 80px; }
  .hero__title { font-size: 4.2rem; }
  .hero__lead { font-size: 1.25rem; }
  .hero__actions .btn { flex: 0 0 auto; }
  .perks { max-width: 1180px; margin: 0 auto; border-radius: 22px 22px 0 0; padding: 18px 24px; }
  .perks li { flex-direction: row; justify-content: center; text-align: start; font-size: .92rem; }
  .perks li br { display: none; }
  .section { padding: 84px 0; }
  .section__title { font-size: 2.6rem; }
  .kashrut__grid { grid-template-columns: 380px 1fr; gap: 56px; }
  .kashrut__text { text-align: start; }
  .kashrut__text > p { margin-inline: 0; }
  .cats { justify-content: center; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .grid--boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--boxes .card--box { grid-column: span 1; }
  .zones { grid-template-columns: repeat(4, 1fr); }
  .fees { max-width: 640px; margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid--boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--boxes .card--box { flex-direction: column; }
  .grid--boxes .card--box .card__media { width: 100%; aspect-ratio: 4/3; min-height: 0; }
}

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

/* catalog groups */
.group + .group { margin-top: 34px; }
.group__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin: 0 0 14px; color: var(--brand-dark); }
.group__title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--line)); }

/* kashrut section without an uploaded certificate */
.kashrut.no-cert .kashrut__grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.kashrut.no-cert .kashrut__text { text-align: center; }
.kashrut.no-cert .kashrut__text > p { margin-inline: auto; }
