/* ================= מערכת עיצוב - פיצוחי המובחר =================
   בהיר, חם ומזמין. קטלוג מזון חייב להיראות תיאבוני -
   אין מצב כהה, גם אם מערכת ההפעלה מבקשת אותו.
   ============================================================== */
:root {
  color-scheme: light;

  /* רקעים - שמנת חמה, לא לבן קליני */
  --bg: #faf7f1;
  --bg-alt: #f2ece1;
  --card: #ffffff;

  /* טקסט */
  --ink: #251c14;
  --ink-soft: #4c3f33;
  --muted: #857868;
  --line: #e8e0d3;
  --line-soft: #f0eae0;

  /* מותג - אספרסו עמוק */
  --brand: #6b4a2b;
  --brand-dark: #4a3220;
  --brand-light: #a98860;
  --solid: #4a3220;
  --on-solid: #fdfaf5;

  /* כותרת עליונה - בהירה, לא גרדיאנט כהה */
  --header-bg: #ffffff;
  --on-header: #251c14;

  /* דגש - זהב חם */
  --accent: #c08a2e;
  --accent-soft: #f7edd8;
  --accent-ink: #6b4a13;

  /* מצבים */
  --ok: #2f7a4f;
  --ok-soft: #e6f3ec;
  --warn: #a86a10;
  --warn-soft: #fbf0da;
  --danger: #b93a2b;
  --danger-soft: #fbe9e6;
  --info: #2a6488;
  --info-soft: #e6f0f6;

  /* צללים דקים ומדויקים - לא "כרטיס מרחף" בכל מקום */
  --shadow: 0 1px 2px rgba(30, 20, 10, .04), 0 3px 10px rgba(30, 20, 10, .04);
  --shadow-lg: 0 10px 28px rgba(20, 14, 8, .13);

  /* פינות מהודקות - שפה אדריכלית, לא "בועה" מעוגלת */
  --r: 6px;
  --r-sm: 4px;
  --r-lg: 10px;
  --nav-h: 66px;

  --ff: 'Assistant', 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  --ff-display: 'Frank Ruhl Libre', 'Times New Roman', Georgia, serif;
  /* כותרת הגיבור בלבד: דוד - סריף עברי עדין וקלאסי, קו דק, במשקל רגיל */
  --ff-hero: 'David Libre', 'Frank Ruhl Libre', 'Times New Roman', serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  margin: 0 0 .4em; font-weight: 700; line-height: 1.22;
  letter-spacing: -.005em;
}
h1 { font-size: 1.7rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 .7em; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- פריסה ---------- */
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 1380px; margin: 0 auto; padding: 0 18px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; }
.row-between { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 14px; }
.center { text-align: center; }
.hidden { display: none !important; }
.spacer { height: 14px; }

/* ---------- כותרת עליונה ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  color: var(--on-header);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap, .topbar .wrap-wide { display: flex; align-items: center; gap: 10px; padding-block: 13px; }
.topbar a { color: var(--on-header); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(192, 138, 46, .3);
  font-size: 20px; flex: none;
}
.brand small {
  display: block; font-family: var(--ff); font-weight: 500; font-size: .74rem;
  color: var(--muted); letter-spacing: .01em; margin-top: 1px;
}
.icon-btn {
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  cursor: pointer; font-size: 16px; position: relative; flex: none; transition: background .15s;
}
.icon-btn:hover { background: var(--accent-soft); border-color: rgba(192, 138, 46, .4); }
.icon-btn .dot {
  position: absolute; top: -2px; left: -2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--danger); color: #fff; border-radius: 9px; font-size: .64rem;
  display: grid; place-items: center; font-weight: 700; line-height: 1;
  border: 2px solid var(--card);
}

/* ---------- רצועת כשרות ---------- */
.kosher-bar {
  background: transparent; color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: .76rem; padding: 8px 12px;
  display: flex; gap: 7px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.kosher-chip {
  background: transparent; border: 1px solid rgba(192, 138, 46, .45); color: var(--accent-ink);
  border-radius: 999px; padding: 3px 12px; font-size: .72rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  letter-spacing: .01em;
}

/* ---------- כרטיסים ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; box-shadow: var(--shadow);
}
.card.tight { padding: 12px; }
.card-title { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1.02rem; }
.section-title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin: 26px 0 12px; font-family: var(--ff-display); font-weight: 700; font-size: 1.28rem;
}
.section-title .link { font-family: var(--ff); font-size: .84rem; font-weight: 600; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 2px;
}

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; background: var(--solid); color: var(--on-solid);
  border-radius: var(--r-sm); padding: 11px 20px; font-weight: 600; font-size: .94rem;
  cursor: pointer; transition: transform .08s, filter .15s, background .15s; text-decoration: none;
  line-height: 1.2;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-alt); filter: none; }
.btn.soft { background: var(--bg-alt); color: var(--ink); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.ok { background: var(--ok); color: #fff; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.sm { padding: 7px 13px; font-size: .83rem; }
.btn.lg { padding: 15px 24px; font-size: 1.05rem; width: 100%; }
.btn.block { width: 100%; }

/* ---------- טפסים ---------- */
/* כפתור שנראה כמו קישור - "שכחתי סיסמה" וכדומה */
.linkish {
  background: none; border: 0; padding: 6px 2px; min-height: 0;
  color: var(--brand); font: inherit; font-size: .86rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.linkish:hover { color: var(--accent-ink); }
label.field { display: block; margin-bottom: 13px; }
label.field > span { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
input:not(:where([type=checkbox], [type=radio], [type=file], [type=range])),
select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--card); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-light); outline: none;
  box-shadow: 0 0 0 3px rgba(169, 136, 96, .16);
}
textarea { min-height: 78px; resize: vertical; }
.checkline { display: flex; align-items: center; gap: 9px; margin: 10px 0; font-size: .92rem; }
.checkline input { width: 18px; height: 18px; accent-color: var(--brand); }

/* ---------- תגיות ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; background: var(--bg-alt); color: var(--ink-soft);
  border: 1px solid var(--line); white-space: nowrap;
}
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.chip.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.chip.accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.chip.sale { background: var(--danger); color: #fff; border-color: transparent; font-weight: 700; }

/* ---------- ניווט קטגוריות ---------- */
.scroller { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.tab-chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem;
  cursor: pointer; white-space: nowrap; transition: all .15s;
}
.tab-chip:hover { border-color: var(--brand-light); }
.tab-chip.active { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }

/* ---------- מוצרים ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0; display: flex; flex-direction: column; position: relative; overflow: hidden;
  box-shadow: var(--shadow); transition: border-color .18s, transform .18s, box-shadow .18s;
}
.product:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(58, 42, 26, .1); }
.product.in-cart { border-color: var(--brand-light); box-shadow: 0 0 0 2px rgba(169, 136, 96, .22); }
.product .emoji { font-size: 27px; line-height: 1; }
.product .info { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product .pname { font-weight: 600; font-size: .95rem; min-height: 2.5em; line-height: 1.32; }
.product .price {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.22rem; color: var(--ink);
}
.product .price small { font-family: var(--ff); font-weight: 500; font-size: .72rem; color: var(--muted); }
.product .was { text-decoration: line-through; color: var(--muted); font-size: .8rem; }
.product .badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.product .info .stepper, .product .info .add-btn { margin-top: auto; }

/* ---------- מדרגת כמות ---------- */
.stepper { display: flex; align-items: center; gap: 5px; margin-top: auto; }
.stepper button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 18px; font-weight: 600;
  cursor: pointer; display: grid; place-items: center; flex: none; line-height: 1;
  transition: all .15s;
}
.stepper button:hover { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.stepper input {
  flex: 1 1 auto; min-width: 0; width: auto; text-align: center;
  padding: 6px 3px; font-weight: 700; font-size: 1rem; height: 34px;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-alt);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .unit { font-size: .74rem; color: var(--muted); font-weight: 600; flex: none; }
.add-btn { width: 100%; margin-top: auto; }

/* ---------- מארזים ---------- */
.pack {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.pack:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(58, 42, 26, .12); }
.pack .body { padding: 16px 17px 17px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pack .desc { font-size: .89rem; color: var(--ink-soft); line-height: 1.55; }
.pack .items { display: flex; flex-wrap: wrap; gap: 5px; }
.pack .items span {
  background: var(--bg-alt); border-radius: 8px; padding: 3px 9px; font-size: .75rem; color: var(--ink-soft);
}
/*
 * הכפתור "הוספה" צר, אבל אחרי ההוספה במקומו נכנס סטפר (− 1 +) ברוחב
 * 150px, ובכרטיס צר זה דחס את בלוק המחיר למילה-בשורה. עם wrap הסטפר
 * יורד לשורה משלו כשאין מקום, במקום להילחם על אותה שורה.
 */
.pack .foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 10px 12px; margin-top: auto;
}
.pack .foot > .grow { flex: 1 1 150px; }
.pack .foot > .act { flex: 1 1 150px; display: flex; justify-content: flex-end; }
.pack .foot > .act .stepper { width: 100%; max-width: 190px; }
.pack .foot .price { white-space: nowrap; }
.pack .price { font-family: var(--ff-display); }
/* הערת המחיר ליד הסכום - הייתה 10.9px בשורה, מתחת לסף הקריאות בטלפון */
.px-note { font-size: .72rem; font-weight: 600; font-family: var(--ff); color: var(--ink-soft); }

/* ---------- תמונות ---------- */
.ph {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--bg-alt);
  display: grid; place-items: center;
}
/* הסימן החלופי והתמונה חולקים את אותה משבצת - אחרת הגריד מסדר אותם
   בשתי שורות והתמונה נדחפת למטה ונחתכת */
.ph > * { grid-area: 1 / 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.product:hover .ph img, .pack:hover .ph img { transform: scale(1.04); }
.ph .fallback { font-size: 46px; opacity: .45; }
/* כשיש תמונה הסימן החלופי מוסתר; ב-onerror התמונה מוסרת והוא חוזר מעצמו */
.ph:has(img) .fallback { display: none; }
.ph .overlay-badges {
  position: absolute; top: 10px; inset-inline-start: 10px;
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
}
.ph .kosher-seal {
  position: absolute; bottom: 9px; inset-inline-end: 9px;
  background: rgba(255, 255, 255, .94); color: var(--accent-ink);
  border-radius: 999px; padding: 3px 9px; font-size: .62rem; font-weight: 700;
  letter-spacing: .02em; box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  display: inline-flex; align-items: center; gap: 3px; backdrop-filter: blur(4px);
}
.pack .ph { aspect-ratio: 16 / 10; }
.pack .ph::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28, 18, 8, .8) 0%, rgba(28, 18, 8, .28) 44%, rgba(28, 18, 8, 0) 74%);
}
.pack .ph .cap { position: absolute; inset-inline: 16px; bottom: 13px; z-index: 2; color: #fff; }
.pack .ph .cap h3 { margin: 0; font-size: 1.24rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.pack .ph .cap .sub { font-size: .75rem; opacity: .93; }
.pack .ph .badge {
  position: absolute; top: 13px; inset-inline-start: 14px; z-index: 2;
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: 4px 12px; font-size: .71rem; font-weight: 700;
}
.detail-hero { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; }
.detail-hero .ph { aspect-ratio: 4 / 3; }
.pack-strip { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.pack-strip::-webkit-scrollbar { display: none; }
.pack-strip figure { margin: 0; width: 80px; flex: none; text-align: center; }
.pack-strip img, .pack-strip .fb {
  width: 80px; height: 80px; border-radius: 13px; object-fit: cover; display: block;
  background: var(--bg-alt); border: 1px solid var(--line);
}
.pack-strip .fb { display: grid; place-items: center; font-size: 26px; }
.pack-strip figcaption { font-size: .64rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }

/* ---------- סל ---------- */
.cart-bar {
  position: fixed; inset-inline: 0; bottom: var(--nav-h); z-index: 35;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: var(--brand-dark); color: var(--on-solid);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -6px 24px rgba(45, 32, 18, .22);
}
.cart-bar strong { font-family: var(--ff-display); font-size: 1.15rem; }
.cart-bar small { opacity: .8; display: block; font-size: .75rem; }

.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(37, 26, 14, .45); z-index: 60;
  display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(3px);
}
.sheet {
  background: var(--bg); width: 100%; max-width: 720px;
  max-height: 94vh; max-height: 94dvh; overflow-y: auto;
  border-radius: 22px 22px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lg); animation: up .24s cubic-bezier(.2, .8, .3, 1);
}
.sheet.tall { min-height: 90vh; min-height: 90dvh; }
@keyframes up { from { transform: translateY(30px); opacity: .4; } }
.sheet .handle { width: 44px; height: 4px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-title h2 { margin: 0; }
/* חץ החזרה יושב לפני הכותרת, והכותרת תופסת את מה שנשאר */
.sheet-title .sheet-back { flex: 0 0 auto; margin-inline-end: 10px; }
.sheet-title h2 { flex: 1 1 auto; min-width: 0; }

.line-item {
  display: flex; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.line-item:last-child { border-bottom: 0; }
.line-item .nm { font-weight: 600; font-size: .94rem; }
.line-item .sub { font-size: .78rem; color: var(--muted); }
.line-item.cart { flex-wrap: wrap; align-items: flex-start; padding: 14px 0; }
.line-item.cart .qty-row {
  flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 10px;
}
.line-item.cart .qty-row .stepper { width: 172px; margin-top: 0; }
.line-item.cart .qty-row .line-total { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; }

.totals { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; font-size: .92rem; color: var(--ink-soft); }
.totals .grand {
  font-family: var(--ff-display); font-size: 1.28rem; font-weight: 700; color: var(--ink);
  padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line);
}

/* ---------- ניווט תחתון ---------- */
.bottom-nav {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50; height: var(--nav-h);
  background: var(--card); border-top: 1px solid var(--line);
  display: flex; padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav button {
  flex: 1; background: none; border: 0; cursor: pointer; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: .7rem; font-weight: 600; padding: 8px 2px; position: relative; transition: color .15s;
}
.bottom-nav button .ic { display: grid; place-items: center; height: 22px; }
.bottom-nav button .ic svg { width: 22px; height: 22px; stroke-width: 1.7; }
.bottom-nav button.active { color: var(--brand-dark); }
.bottom-nav button.active .ic svg { stroke-width: 2.1; }
.bottom-nav button .dot {
  position: absolute; top: 6px; inset-inline-start: 50%; margin-inline-start: 7px;
  min-width: 17px; height: 17px; padding: 0 5px; background: var(--danger); color: #fff;
  border-radius: 9px; font-size: .62rem; display: grid; place-items: center; font-weight: 700;
  border: 2px solid var(--card);
}

/*
 * מסך רחב: אותו ניווט, אבל כתפריט עליון רגיל בתוך הכותרת. סרגל טאבים
 * בתחתית המסך הוא תבנית של אפליקציית טלפון - על מסך של 1900px ארבעה
 * אייקונים מרוחקים מטרים זה מזה, ומשתמשי דסקטופ לא מצפים לזה בכלל.
 */
@media (min-width: 900px) {
  .topbar .brand.grow { flex: none; }
  .bottom-nav {
    position: static; height: auto; background: transparent; border: 0; padding: 0;
    display: flex; gap: 2px; margin-inline: 28px auto;
  }
  .bottom-nav button {
    flex: none; flex-direction: row; gap: 8px; align-items: center;
    font-size: .92rem; font-weight: 600; color: var(--ink-soft);
    padding: 8px 14px; border-radius: var(--r-sm); min-height: 0;
    transition: background .15s, color .15s;
  }
  .bottom-nav button:hover { background: var(--bg-alt); color: var(--ink); }
  .bottom-nav button.active { background: var(--accent-soft); color: var(--accent-ink); }
  .bottom-nav button .ic { height: 18px; }
  .bottom-nav button .ic svg { width: 18px; height: 18px; }
  .bottom-nav button.active .ic svg { stroke-width: 1.9; }
  .bottom-nav button .dot {
    position: static; margin: 0; min-width: 18px; height: 18px; border: 0;
  }
  /* בלי סרגל תחתון - סל ההזמנה והטוסטים נצמדים לתחתית המסך עצמה */
  .cart-bar { bottom: 0; }
  .toast-host { bottom: 78px; }
}

/* ---------- הזמנות ---------- */
.order-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px; box-shadow: var(--shadow); cursor: pointer; transition: border-color .15s;
}
.order-card:hover { border-color: var(--brand-light); }
.order-no { font-family: var(--ff-display); font-weight: 700; color: var(--ink); }
.status-flow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- צ׳אט ---------- */
.chat {
  display: flex; flex-direction: column; gap: 9px; padding: 10px;
  min-height: 210px; max-height: 46vh; max-height: 46dvh; overflow-y: auto;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-sm);
}
.chat:empty { min-height: 0; }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 15px; font-size: .91rem; line-height: 1.5; }
.msg .meta { font-size: .67rem; opacity: .68; margin-top: 4px; }
.msg.mine { align-self: flex-start; background: var(--solid); color: var(--on-solid); border-bottom-right-radius: 5px; }
.msg.theirs { align-self: flex-end; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat-input { display: flex; gap: 8px; margin-top: 11px; }
.chat-input input {
  flex: 1; min-width: 0; background: var(--card); color: var(--ink); border: 1px solid var(--line);
}
.chat-input input:focus { border-color: var(--brand-light); }

/* ---------- טבלאות ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .89rem; }
th, td { padding: 11px 13px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { background: var(--bg-alt); font-weight: 700; font-size: .78rem; color: var(--muted); position: sticky; top: 0; letter-spacing: .02em; }
tbody tr:hover { background: var(--bg-alt); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: left; font-variant-numeric: tabular-nums; }

/* ---------- מדדים ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(152px, 1fr)); gap: 13px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 15px; box-shadow: var(--shadow); }
.kpi .lbl { font-size: .78rem; color: var(--muted); font-weight: 600; }
.kpi .val { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.kpi .sub { font-size: .74rem; color: var(--muted); }

/* ---------- שונות ---------- */
.empty { text-align: center; padding: 52px 18px; color: var(--muted); }
.empty .ic { font-size: 42px; display: block; margin-bottom: 12px; opacity: .45; }
.toast-host { position: fixed; inset-inline: 0; bottom: calc(var(--nav-h) + 78px); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 7px; pointer-events: none; }
.toast {
  background: var(--ink); color: var(--bg); padding: 11px 19px; border-radius: 999px;
  font-size: .89rem; font-weight: 600; box-shadow: var(--shadow-lg); animation: up .2s ease;
  max-width: 90vw;
}
.toast.ok { background: var(--ok); color: #fff; }
.toast.err { background: var(--danger); color: #fff; }
.loading { display: grid; place-items: center; padding: 54px; color: var(--muted); }
.spin { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.tiny { font-size: .74rem; }
.nowrap { white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--line-soft); margin: 16px 0; }
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- מסך התחברות ---------- */
.auth-page {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center; padding: 24px 16px;
  background:
    radial-gradient(1100px 520px at 50% -10%, var(--accent-soft), transparent 62%),
    var(--bg);
}
.auth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 30px 24px; width: 100%; max-width: 430px; box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-logo .big {
  font-size: 34px; width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(192, 138, 46, .3);
}
/* שורת שיתוף בגיליון פריט: הכתובת + העתקה + וואטסאפ */
.share-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft);
}

/* בלוק החיפוש הדביק בקטלוג - top נקבע ב-JS לגובה הכותרת הדביקה */
.catalog-sticky {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg); padding-top: 12px; padding-bottom: 4px;
}
.filter-panel { margin: 6px 0 12px; }

/* ---------- מחשבון הנחת כמות (דף נחיתה) והדחיפה למדרגה הבאה (סל) ---------- */
.vcalc { margin: clamp(36px, 6vw, 64px) 0; }
.vcalc-box {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; margin-top: 14px; max-width: 640px;
}
.vcalc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.vcalc-input { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.vcalc-input span { flex: 1 1 100%; font-size: .82rem; color: var(--muted); font-weight: 600; }
.vcalc-input input {
  width: 160px; font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-alt);
}
.vcalc-out { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.vcalc-final { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.vcalc-final strong { font-family: var(--ff-display); font-size: 1.9rem; color: var(--brand-dark); }
.vcalc-lines div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: .92rem; color: var(--ink-soft); }
.vcalc-tiers { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tier-nudge {
  display: flex; gap: 8px; align-items: center; margin: 4px 0 6px; padding: 8px 11px;
  background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--r-sm);
  font-size: .86rem; font-weight: 600;
}
.tier-nudge::before { content: '↑'; font-weight: 700; }

/* התחייבות הסוכן - מסך שער בפורטל הסוכן, לפני שרואים לקוחות */
.terms-list { margin: 14px 0 18px; display: flex; flex-direction: column; gap: 10px; text-align: start; }
.terms-item { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.terms-title { font-weight: 700; margin-bottom: 3px; }
.terms-accept {
  align-items: flex-start; gap: 10px; margin: 6px 0 14px; padding: 10px 12px;
  background: var(--accent-soft); border: 1px solid rgba(192, 138, 46, .35); border-radius: var(--r);
  font-size: .9rem; line-height: 1.5; text-align: start;
}
.terms-accept input { margin-top: 3px; flex: none; }

/* הסכמה לשיתוף פרטים עם סוכן מפנה - בולט, לא קבור בין שדות */
.agent-consent {
  background: var(--accent-soft); border: 1px solid rgba(192, 138, 46, .35);
  border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px;
  font-size: .88rem; line-height: 1.5;
}
.agent-consent .checkline { align-items: flex-start; gap: 10px; }
.agent-consent .checkline input { margin-top: 3px; flex: none; }
.agent-consent a { color: var(--accent-ink); }

/* מפריד "או" בין כניסה בסיסמה לכניסה עם Google */
.auth-or {
  display: flex; align-items: center; gap: 12px; margin: 16px 0 12px;
  color: var(--muted); font-size: .8rem;
}
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.gsi-host { display: flex; justify-content: center; min-height: 44px; }

.auth-tabs { display: flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.auth-tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--muted); font-size: .92rem; }
.auth-tabs button.active { background: var(--card); color: var(--brand-dark); box-shadow: var(--shadow); }

/* ---------- ניהול ---------- */
.admin-nav { display: flex; gap: 7px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav button {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); padding: 9px 15px;
  border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 6px; transition: all .15s;
}
.admin-nav button:hover { border-color: var(--brand-light); }
.admin-nav button.active { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.admin-nav button .n {
  background: var(--danger); color: #fff; border-radius: 9px; min-width: 18px; padding: 0 5px;
  font-size: .68rem; font-weight: 700;
}
.admin-body { padding-bottom: 44px; }
.thumb {
  width: 46px; height: 46px; border-radius: 11px; object-fit: cover;
  background: var(--bg-alt); border: 1px solid var(--line); display: block;
}
.thumb-fb { display: grid; place-items: center; font-size: 20px; }
.img-picker { display: flex; gap: 13px; align-items: flex-start; }
.img-picker .prev { width: 106px; height: 106px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); background: var(--bg-alt); flex: none; }

@media (min-width: 760px) {
  .products { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }
  h1 { font-size: 2rem; }
  .section-title { font-size: 1.45rem; }
}
@media (max-width: 420px) {
  .kpi .val { font-size: 1.35rem; }
  .products { gap: 11px; }
}

/* ================= דף נחיתה למבקר חדש ================= */
.hero {
  position: relative; overflow: hidden; border-radius: 24px;
  margin: 18px 0 8px; padding: 34px 24px 30px;
  background: linear-gradient(150deg, #fffdf9 0%, var(--accent-soft) 100%);
  border: 1px solid var(--line);
}
.hero h1 { font-size: 2rem; margin: 8px 0 12px; max-width: 15ch; }
.hero p { color: var(--ink-soft); max-width: 46ch; font-size: 1.02rem; }
.hero .hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero .hero-art {
  position: absolute; inset-inline-start: -70px; bottom: -60px;
  width: 230px; height: 230px; border-radius: 50%; overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .65); opacity: .95; pointer-events: none;
}
.hero .hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .hero { padding: 26px 20px 24px; }
  .hero h1 { font-size: 1.6rem; }
  .hero .hero-art { display: none; }
}
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(192, 138, 46, .28);
}
.stat-row div { text-align: center; }
.stat-row .n { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.stat-row .t { font-size: .74rem; color: var(--muted); }

.cta-band {
  background: var(--brand-dark); color: var(--on-solid);
  border-radius: 22px; padding: 28px 24px; text-align: center; margin: 26px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(253, 250, 245, .82); max-width: 44ch; margin: 0 auto 18px; }

/* ---------- מחיר נעול לאורח ---------- */
.retail-line { font-size: .8rem; color: var(--muted); }
.retail-line b { font-family: var(--ff-display); font-size: 1.12rem; color: var(--ink); font-weight: 700; }
.locked-price {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1px dashed rgba(192, 138, 46, .55); border-radius: var(--r-sm);
  padding: 8px 10px; font-size: .78rem; font-weight: 700; cursor: pointer;
  transition: background .15s;
}
.locked-price:hover { background: #f2e2c2; }
.locked-price svg { width: 14px; height: 14px; flex: none; }
.save-badge {
  background: var(--ok); color: #fff; border-radius: 999px;
  padding: 2px 9px; font-size: .68rem; font-weight: 700;
}
.guest-note {
  background: var(--accent-soft); border: 1px solid rgba(192, 138, 46, .35);
  border-radius: var(--r); padding: 13px 15px; display: flex; gap: 12px;
  align-items: center; margin-bottom: 16px;
}
.guest-note .txt { flex: 1; min-width: 0; font-size: .87rem; color: var(--accent-ink); }

/* ================= דף נחיתה מכירתי ================= */
.lp-hero {
  position: relative; border-radius: 24px; overflow: hidden;
  margin: 16px 0 10px; min-height: 420px;
  display: flex; align-items: flex-end;
}
.lp-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.lp-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 16, 8, .93) 8%, rgba(26, 16, 8, .62) 46%, rgba(26, 16, 8, .28) 100%);
}
.lp-hero .inner { position: relative; z-index: 2; padding: 28px 26px 30px; color: #fff; width: 100%; }
.lp-hero h1 { color: #fff; font-size: 2.25rem; margin: 10px 0 12px; max-width: 17ch; line-height: 1.15; }
.lp-hero p { color: rgba(255, 255, 255, .9); max-width: 48ch; font-size: 1.05rem; }
.lp-hero .eyebrow { color: var(--accent); opacity: 1; }
.lp-seals { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.lp-seal {
  border: 1px solid rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .1);
  border-radius: 999px; padding: 4px 13px; font-size: .76rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(4px);
}
@media (max-width: 700px) {
  .lp-hero { min-height: 380px; }
  .lp-hero h1 { font-size: 1.75rem; }
  .lp-hero .inner { padding: 22px 20px 24px; }
}

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin: 30px 0; }
.lp-split.flip > *:first-child { order: 2; }
.lp-split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); display: block; }
.lp-split h2 { font-size: 1.6rem; }
@media (max-width: 720px) {
  .lp-split { grid-template-columns: 1fr; gap: 14px; }
  .lp-split.flip > *:first-child { order: 0; }
  .lp-split h2 { font-size: 1.35rem; }
}

.lp-points { display: grid; gap: 14px; margin-top: 14px; }
.lp-point { display: flex; gap: 12px; align-items: flex-start; }
.lp-point .mark {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid rgba(192, 138, 46, .35);
}
.lp-point strong { display: block; margin-bottom: 2px; }

.lp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.lp-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }

.lp-kosher {
  background: var(--card); border: 1px solid rgba(192, 138, 46, .4); border-radius: var(--r-lg);
  padding: 26px 24px; text-align: center; margin: 30px 0;
}
.lp-kosher .seals { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.lp-kosher .seal {
  border: 1.5px solid var(--accent); color: var(--accent-ink); border-radius: 12px;
  padding: 12px 20px; font-weight: 700; font-family: var(--ff-display); font-size: 1.02rem;
}

.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid var(--line);
}
.ph .fallback svg { width: 40px; height: 40px; opacity: .35; }

/* ---------- באנר חיסכון ---------- */
.saving-banner {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  background: var(--ok-soft); border: 1px solid rgba(47, 122, 79, .3);
  border-radius: var(--r); padding: 14px 16px; color: var(--ok);
}
.saving-banner .ic { flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ok); color: #fff; display: grid; place-items: center; }
.saving-banner strong { font-family: var(--ff-display); font-size: 1.22rem; display: block; }
.saving-banner .small { color: var(--ink-soft); }

/* ---------- מסך אישור אימייל ---------- */
.verify-box { text-align: center; padding: 10px 4px 20px; }
.verify-box .ic {
  display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid rgba(192, 138, 46, .35);
}
.verify-box .ic.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(47, 122, 79, .3); }
.verify-box p { max-width: 42ch; margin: 0 auto; }

/* ---------- הטבות וקופונים ---------- */
.lp-promo {
  display: inline-flex; align-items: center; gap: 9px; margin: 14px 0 4px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; border-radius: 999px; padding: 8px 16px; font-size: .9rem;
  backdrop-filter: blur(4px);
}
.lp-promo b { color: var(--accent); }
.coupon-box { display: flex; gap: 8px; align-items: center; margin: 14px 0 4px; }
.coupon-box input { flex: 1; min-width: 0; }
.coupon-box.applied {
  background: var(--ok-soft); border: 1px solid rgba(47, 122, 79, .3);
  border-radius: var(--r-sm); padding: 11px 13px; color: var(--ok);
}
.coupon-box.applied .ic { flex: none; display: grid; place-items: center; }
.coupon-box.applied strong { font-size: .95rem; }
.coupon-box.applied .tiny { color: var(--ink-soft); }

/* ---------- מינימום הזמנה ---------- */
.min-order {
  background: var(--warn-soft); border: 1px solid rgba(168, 106, 16, .3);
  border-radius: var(--r); padding: 13px 15px; margin: 14px 0; color: var(--warn);
}
.min-order.ok {
  background: var(--ok-soft); border-color: rgba(47, 122, 79, .3); color: var(--ok);
  display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600;
}
.min-order strong { font-family: var(--ff-display); font-size: 1.06rem; }
.min-bar {
  height: 7px; border-radius: 4px; background: rgba(168, 106, 16, .18);
  margin-top: 9px; overflow: hidden;
}
.min-bar span { display: block; height: 100%; background: var(--warn); border-radius: 4px; transition: width .3s; }

/* ---------- הזמנה חוזרת ---------- */
.repeat-card {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--accent-soft); border: 1px solid rgba(192, 138, 46, .35);
  border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px;
}
.repeat-card strong { font-family: var(--ff-display); font-size: 1.06rem; }

/* ---------- דף בית ללקוח רשום ---------- */
.ch-greet { margin: 22px 0 20px; }
.ch-greet h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0; }
.ch-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.ch-tiles button {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 8px; font-size: .86rem; font-weight: 600; cursor: pointer;
  color: var(--ink); transition: border-color .15s, transform .08s;
}
.ch-tiles button:hover { border-color: var(--brand-light); }
.ch-tiles button:active { transform: scale(.98); }
.ch-tiles .ic { color: var(--accent-ink); }
@media (max-width: 480px) { .ch-tiles button { font-size: .78rem; padding: 13px 6px; } }

/* ==================================================================
   דף נחיתה - ארט דיירקשן
   העיקרון: תמונה עד הקצה, טיפוגרפיה גדולה, ניגודיות כהה, וקצב לא אחיד.
   ================================================================== */

/* יציאה מהמרג'ין של .wrap אל רוחב המסך המלא */
/*
 * רוחב מלא. 100vw כולל את פס הגלילה, ולכן כל רצועה יצאה רחבה ב-15px
 * מהמסך והוסטה הצידה. --vw מוגדר מ-JS לפי clientWidth האמיתי.
 */
.bleed {
  width: var(--vw, 100vw);
  margin-inline: calc(50% - var(--vw, 100vw) / 2);
}

/* ---------- גיבור ---------- */
.hero-full {
  position: relative; min-height: 92vh; min-height: 92dvh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: #1a1008;
}
.hero-full > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/*
 * כיסוי הגיבור.
 * החלק העליון היה שקוף כמעט לגמרי (15%), ולכן התמונה נראתה שטופה
 * והמעבר מהכותרת הלבנה היה חד. עכשיו יש הכהיה גם מלמעלה, שגם מעגנת
 * את הכותרת וגם נותנת לחותמות הכשרות רקע לשבת עליו.
 */
.hero-full::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14, 9, 3, .72) 0%, rgba(14, 9, 3, .30) 22%, transparent 42%),
    linear-gradient(to top, rgba(14, 9, 3, .96) 6%, rgba(14, 9, 3, .74) 34%, rgba(14, 9, 3, .38) 62%, rgba(14, 9, 3, .22) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(192, 138, 46, .18), transparent 60%);
}
.hero-full .inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1000px; margin: 0 auto; padding: 0 20px 8vh; color: #fff;
}
/*
 * חותמות הכשרות.
 * לוגו-בועה לבן על גבי התמונה קרא כמו תג אמון גנרי מתבנית. שורת
 * קרדיט דקה, ישירות על התמונה, קוראת כמו שורת קרדיט אמיתית - מאשרת
 * בלי לצעוק.
 */
.hero-kicker {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
}
.kseal { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .78); }
/*
 * לוגו אמיתי של תעודת כשרות הוא לרוב איור מפורט ורב-גוני - לא קו לבן
 * דק. הוא צריך רקע בהיר קטן וצמוד כדי להיקרא על תמונה כהה, אבל בלי
 * לחזור לבועה הלבנה הגדולה עם צל שהייתה כאן קודם.
 */
/*
 * החותמות הן דיו שחור על שקיפות, ולכן על תמונה כהה הן מוצגות הפוך -
 * כקו לבן, כמו הטבעת נייר-כסף על אריזה - בלי לוחית לבנה שחותכת חור
 * בתמונה. drop-shadow (ולא box-shadow) עוקב אחרי צורת הקו עצמו ומרים
 * אותו מאזורים בהירים בצילום. שתי החותמות מוגבלות לאותה קופסה, כדי
 * שלא ייצאו בגדלים שונים לעין.
 */
/*
 * הגודל נקבע לפי קופסה (רוחב×גובה מקסימלי) ולא לפי גובה בלבד: חותמת
 * העדה החרדית רחבה וחותמת בית יוסף ריבועית, ובגובה שווה הריבועית
 * נראתה קטנה בחצי. בקופסה של 130×86 שתיהן יוצאות בשטח דומה לעין.
 */
.kseal img {
  /* אחרי חיתוך לגבולות הדיו (seed/kosher): 130×84 נותן לשתיהן אותו רוחב - 130×60 ו-130×84 */
  width: auto; height: auto; max-width: 130px; max-height: 84px; object-fit: contain; flex: none;
  background: none; padding: 0; border-radius: 0; box-shadow: none;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, .55)) drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
  opacity: .96;
}
.kseal { gap: 12px; }
@media (max-width: 560px) {
  .kseal img { max-width: 100px; max-height: 66px; }
}
.kseal .mark {
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .5); color: rgba(255, 255, 255, .85);
  font-family: var(--ff-display); font-weight: 700; font-size: .58rem;
}
.kseal .txt { display: contents; }
.kseal .k1 { display: none; }
.kseal .k2 { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker .kseal + .kseal { padding-inline-start: 16px; border-inline-start: 1px solid rgba(255, 255, 255, .3); }
.hero-full h1 {
  font-family: var(--ff-hero); font-weight: 400;
  color: #fff; font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1.08;
  /* דוד רחב יותר מפרנק-רוהל: 16ch כדי ש"פיצוחים שגורמים" יישאר בשורה אחת */
  margin: 0 0 22px; max-width: 16ch; letter-spacing: 0;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .28);
}
/* הדגשה טיפוגרפית (נטוי), לא צבעונית - מבטאת דגש כמו כותרת מגזין, לא תג צבעוני */
.hero-full h1 em { font-style: italic; color: inherit; }
.hero-full .lede {
  color: rgba(255, 255, 255, .82); font-size: clamp(1rem, 2vw, 1.14rem);
  max-width: 40ch; line-height: 1.6; margin-bottom: 30px; font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-glass {
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5);
}
.btn-glass:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hero-promo-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  color: rgba(255, 255, 255, .92);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, .4);
}

/* ---------- רצועת שמות רצה ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--card); padding: 16px 0; margin-block: 0 10px;
}
.marquee-track {
  display: flex; gap: 40px; width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(50%); } }
.marquee span {
  font-family: var(--ff-display); font-size: 1.35rem; color: var(--ink);
  white-space: nowrap; display: flex; align-items: center; gap: 40px; opacity: .82;
}
.marquee span::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none;
}

/* ---------- מקטע עריכתי א-סימטרי ---------- */
.edit-row {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(20px, 5vw, 64px); margin: clamp(56px, 9vw, 110px) 0;
}
.edit-row .shot { position: relative; }
.edit-row .shot img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  border-radius: 4px; box-shadow: 0 30px 70px rgba(45, 32, 18, .22);
}
.edit-row .shot .tag {
  position: absolute; bottom: -18px; inset-inline-start: -14px;
  background: var(--accent); color: #2a1c04; font-weight: 800;
  font-size: .82rem; padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(45, 32, 18, .25);
}
.edit-row h2 { font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.08; margin-bottom: 14px; }
.edit-row p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.7; }
.edit-row.reverse .shot { order: 2; }
@media (max-width: 780px) {
  .edit-row { grid-template-columns: 1fr; gap: 26px; }
  .edit-row.reverse .shot { order: 0; }
  .edit-row .shot .tag { inset-inline-start: 10px; bottom: -14px; }
}

/* ---------- מקטע כהה ---------- */
.dark-band {
  position: relative; overflow: hidden; background: #16100a; color: #fff;
  padding: clamp(64px, 11vw, 130px) 20px;
  /* margin-block ולא margin: קיצור הדרך היה מאפס את המרווחים האופקיים
     ש-.bleed מגדיר, והרצועה יצאה מוסטת הצידה */
  margin-block: clamp(56px, 9vw, 110px);
}
.dark-band > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42;
}
.dark-band::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 30% 40%, rgba(22, 16, 10, .55), rgba(22, 16, 10, .92));
}
.dark-band .inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.dark-band h2 {
  color: #fff; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.04;
  margin-bottom: 18px; max-width: 16ch;
}
.dark-band h2 em { font-style: normal; color: var(--accent); }
.dark-band p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 46ch; line-height: 1.7; }

/* ---------- מספרים גדולים ---------- */
/*
 * שלוש עובדות, לא "לוח מדדים". שורה טיפוגרפית זורמת במקום רשת קופסאות
 * עם ספרות ענקיות - זו הצורה שקוראת מיד כתבנית מחוללת-AI, לא כמותג.
 */
.big-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin: clamp(36px, 6vw, 64px) 0; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center; color: var(--ink-soft); font-size: .92rem;
}
.big-stats span { white-space: nowrap; }
.big-stats b {
  font-family: var(--ff-display); font-weight: 700; color: var(--brand-dark);
  font-size: 1.02rem; margin-inline-end: 3px;
}

/* ---------- רצועת מוצרים אופקית ---------- */
.shelf { display: flex; gap: 14px; overflow-x: auto; padding: 6px 0 18px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf figure {
  margin: 0; flex: none; width: clamp(150px, 40vw, 210px); scroll-snap-align: start;
}
.shelf img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 3px;
  transition: transform .4s ease, box-shadow .4s ease;
}
.shelf figure:hover img { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(45, 32, 18, .2); }
.shelf figcaption { margin-top: 10px; font-weight: 600; font-size: .9rem; }
.shelf .px { font-family: var(--ff-display); color: var(--brand-dark); font-size: 1.02rem; }

/* ---------- כותרת מקטע עריכתית ---------- */
.ed-head { margin: clamp(48px, 8vw, 92px) 0 22px; }
.ed-head .kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--accent-ink);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.ed-head .kicker::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
/* אותה כותרת קטנה, על רקע כהה */
.band-kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.band-kicker::before { content: ''; width: 30px; height: 1px; background: currentColor; }
.ed-head h2 { font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1.06; margin: 0; }
.ed-head .row-between { align-items: flex-end; }

/* ---------- חשיפה בגלילה ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .reveal { transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-full > img { animation: none; }
  .marquee-track { animation: none; }
}
/* דף הבית מתחיל צמוד לכותרת */
#view.flush { padding-top: 0; }
#view.flush .hero-full { margin-top: 0; }
/* 100vw כולל את רוחב פס הגלילה - חוסמים גלישה אופקית בלי לשבור sticky */
html, body { overflow-x: hidden; overflow-x: clip; }

/* ---------- כרטיס מוצר: פחות "קופסה", יותר מוצר ---------- */
.product {
  background: transparent; border: 0; box-shadow: none; border-radius: 0;
}
.product:hover { transform: none; box-shadow: none; }
.product .ph { border-radius: 3px; }
.product.in-cart { box-shadow: none; }
.product.in-cart .ph { box-shadow: 0 0 0 2px var(--brand-dark); border-radius: 3px; }
.product .info { padding: 11px 2px 4px; }
.product .pname { font-size: .92rem; min-height: 2.4em; }
.product .price { font-size: 1.14rem; }
.products { gap: 22px 14px; }
/* המדף וכרטיס המוצר משתמשים באותה שפה */
.shelf figcaption { font-size: .88rem; }

/* ==================================================================
   מובייל: יעדי לחיצה וקריאוּת
   התקן של אפל וגוגל הוא 44px. כפתורים של 32px הם מקור לתסכול באצבע.
   ================================================================== */
@media (hover: none), (max-width: 760px) {
  .btn { padding: 13px 22px; min-height: 46px; }
  .btn.sm { padding: 11px 16px; min-height: 44px; font-size: .87rem; }
  .btn.lg { min-height: 54px; }
  .tab-chip { padding: 12px 18px; min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .stepper button { width: 44px; height: 44px; }
  .stepper input { height: 44px; }
  .locked-price { min-height: 44px; }
  .auth-tabs button { min-height: 44px; }
  .bottom-nav button { min-height: 56px; }
  .admin-nav button { min-height: 44px; padding: 11px 16px; }
  .linkish { min-height: 44px; padding: 12px 2px; font-size: .9rem; }
  /* תיבות סימון ברירת מחדל הן 18px - קטן מדי לאצבע */
  input[type=checkbox], input[type=radio] { width: 22px; height: 22px; }
  label:has(> input[type=checkbox]), label:has(> input[type=radio]) { min-height: 44px; display: flex; align-items: center; gap: 9px; }
  /* אחוזי ההנחה היו 10.9px - מתחת לסף הקריאות */
  .chip { font-size: .8rem; padding: 5px 12px; }
  .chip.sale { font-size: .82rem; }
  /* תגי אחוז ההנחה היו 10.9px - קטן מדי לקריאה באצבע */
  .save-badge { font-size: .78rem; padding: 3px 10px; }
  .ph .kosher-seal { font-size: .7rem; }
  .pack-strip figcaption { font-size: .72rem; }
  .product .price small { font-size: .76rem; }
  .tiny { font-size: .78rem; }
  .px-note { font-size: .78rem; }
  .badge, .pack .ph .badge { font-size: .74rem; }
}

/* מרווח לניווט התחתון בסוף הדף */
#view.flush > section:last-child { margin-bottom: 0; }

/* ==================================================================
   רשת המוצרים בטלפון
   165px מינימום + רווח לא נכנסים ב-343px הפנויים במסך 375, והרשת
   נופלת לעמודה אחת - מוצר וחצי למסך. מצמצמים ריפוד ומינימום.
   ================================================================== */
@media (max-width: 430px) {
  .wrap { padding-inline: 12px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .shelf figure { width: 148px; }
  .grid[style*="280px"], .grid[style*="290px"] { grid-template-columns: 1fr !important; }
}

/* ---------- תיקוני גיבור למובייל ---------- */
.hero-full picture { position: absolute; inset: 0; display: block; }
.hero-full picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-promo-pill { margin: 0 0 18px; }

/* רצועת הכשרות בכותרת כפולה מול הקיקר של הגיבור - בדף הבית מספיק הקיקר */
#view.flush ~ * .kosher-bar,
body:has(#view.flush) .topbar .kosher-bar { display: none; }

@media (max-width: 760px) {
  .hero-full { min-height: 84vh; min-height: 84dvh; }
  .hero-full .inner { padding-bottom: 6vh; }
  .hero-full h1 { margin-bottom: 16px; }
  .hero-full .lede { margin-bottom: 20px; font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}


/* ---------- תקנון ומדיניות פרטיות ---------- */
.legal { max-width: 720px; padding-block: 30px 60px; line-height: 1.75; }
.legal h1 { font-family: var(--ff-display); font-size: clamp(1.7rem, 5vw, 2.3rem); margin: 0 0 22px; }
.legal h2 {
  font-family: var(--ff-display); font-size: 1.15rem; margin: 30px 0 10px;
  padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.legal p { margin: 0 0 13px; color: var(--ink-soft); }
.legal ul { margin: 0 0 15px; padding-inline-start: 20px; color: var(--ink-soft); }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--ink); }
.legal-note {
  margin-top: 30px; padding: 15px 17px; background: var(--bg-alt);
  border-radius: var(--r-sm); font-size: .92rem;
}
.legal-updated { margin-top: 26px; font-size: .82rem; color: var(--muted); }

/* ---------- כותרת תחתונה ---------- */
.site-foot {
  margin-top: 46px; padding: 28px 0 calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--bg-alt);
  font-size: .88rem; color: var(--ink-soft);
}
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 22px 40px; }
.site-foot .col { min-width: 170px; }
.site-foot strong { display: block; color: var(--ink); margin-bottom: 7px; font-size: .92rem; }
.site-foot a { color: var(--ink-soft); text-decoration: none; display: block; padding: 5px 0; }
.site-foot a:hover { color: var(--brand); text-decoration: underline; }
.site-foot .fine { margin-top: 20px; font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) {
  .site-foot { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .site-foot a { padding: 12px 0; }   /* 44px ליעד מגע */
}


/* ---------- ניהול: מסמכים משפטיים וקישורים ---------- */
.legal-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.legal-row {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 14px; background: var(--bg-alt);
}
.legal-row .mode-select {
  min-width: 0; flex: 0 1 auto; font-size: .85rem;
  padding: 6px 9px; height: auto;
}
.legal-row [hidden] { display: none; }
.card-title.sm {
  font-size: .82rem; text-transform: none; letter-spacing: .04em;
  color: var(--muted); margin-bottom: 9px;
}
.extra-link .icon-btn { flex: none; }
@media (max-width: 760px) {
  /* הריפוד המוקטן למעלה הוריד את הבורר מתחת ליעד מגע */
  .legal-row .mode-select { width: 100%; margin-top: 8px; min-height: 44px; padding: 10px 11px; }
  .extra-link { flex-wrap: wrap; }
  .extra-link .lbl, .extra-link .url { flex: 1 1 100%; }
}


/* ---------- ניהול: עורך הטקסטים ---------- */
.content-field { margin-bottom: 15px; }
.content-field:last-child { margin-bottom: 0; }
.cf-label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.content-field textarea {
  width: 100%; resize: vertical; min-height: 68px; line-height: 1.55;
  font-family: inherit;
}

/* ---------- מאמרים ---------- */
.blog-index { padding-bottom: 60px; }
.post-grid {
  display: grid; gap: 22px; margin-top: 8px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.post-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37, 28, 20, .1); }
.post-card .pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .pc-body { padding: 17px 18px 19px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h2 { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.post-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; margin: 0; flex: 1; }
.pc-cat {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  color: var(--accent-ink); text-transform: none;
}
.pc-meta { font-size: .78rem; color: var(--muted); }

.article { max-width: 760px; padding-bottom: 70px; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 22px 0 14px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.1; margin: 6px 0 10px; }
.art-meta { font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.art-cover { width: 100%; border-radius: var(--r); margin-bottom: 24px; display: block; }
.art-lede {
  font-size: 1.1rem; line-height: 1.7; color: var(--ink); font-weight: 500;
  padding-inline-start: 15px; border-inline-start: 3px solid var(--accent); margin-bottom: 26px;
}
.art-body { font-size: 1.02rem; line-height: 1.85; color: var(--ink-soft); }
.art-body h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.25; color: var(--ink);
  margin: 38px 0 12px; padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.art-body h3 { font-size: 1.12rem; color: var(--ink); margin: 26px 0 8px; }
.art-body p { margin: 0 0 15px; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-inline-start: 22px; }
.art-body li { margin-bottom: 8px; }
.art-body strong { color: var(--ink); }
.art-body a { color: var(--brand); text-underline-offset: 3px; }
.art-body blockquote {
  margin: 22px 0; padding: 15px 18px; background: var(--bg-alt);
  border-radius: var(--r-sm); border-inline-start: 3px solid var(--accent);
  color: var(--ink); font-weight: 500;
}
.art-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin: 40px 0 10px; padding: 20px 22px;
  background: var(--accent-soft); border-radius: var(--r);
}
@media (max-width: 560px) {
  .art-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .art-cta .btn { width: 100%; }
}

/* ---------- מסנני קטלוג ---------- */
.filter-panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 14px; margin-bottom: 10px;
}
.filter-panel[hidden] { display: none; }
.fp-block { margin-bottom: 12px; }
.fp-block:last-of-type { margin-bottom: 6px; }
.fp-title { font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip {
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft);
  border-radius: 999px; padding: 7px 13px; font-size: .84rem; font-weight: 600;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip:hover { border-color: var(--brand-light); }
.filter-chip.on { background: var(--solid); color: var(--on-solid); border-color: transparent; }
.filter-chip.danger.on { background: var(--danger, #a1332b); color: #fff; }
@media (max-width: 760px) {
  .filter-chip { min-height: 44px; padding: 10px 15px; }
}

/* ---------- אלרגנים ותזונה בכרטיס המוצר ---------- */
.allergen-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.allergen-tag {
  font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: #fbeceb; color: #8c2f27; border: 1px solid #f0d2cf;
}
.allergen-tag.free { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.allergen-note {
  font-size: .78rem; color: var(--muted); line-height: 1.5;
  background: var(--bg-alt); border-radius: var(--r-sm); padding: 9px 11px; margin-top: 8px;
}
.nutri-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px; margin-top: 10px;
}
.nutri-cell {
  background: var(--bg-alt); border-radius: var(--r-sm); padding: 9px 11px;
}
.nutri-cell .k { font-size: .72rem; color: var(--muted); display: block; }
.nutri-cell .v { font-family: var(--ff-display); font-weight: 700; font-size: 1rem; }

/* ---------- מתכנן ההזמנה ---------- */
.planner {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(22px, 4vw, 38px);
  margin: clamp(40px, 7vw, 78px) 0;
}
.pl-head { margin-bottom: 18px; }
.pl-head .kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--accent-ink);
  display: flex; align-items: center; gap: 10px; margin-bottom: 9px;
}
.pl-head .kicker::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
.pl-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.12; margin: 0 0 10px; }
.pl-head p { color: var(--ink-soft); line-height: 1.65; margin: 0; max-width: 60ch; }

.pl-box { background: var(--card); border-radius: var(--r-sm); padding: 15px; }
.pl-box textarea {
  width: 100%; resize: vertical; min-height: 62px; line-height: 1.6;
  font-family: inherit; font-size: 1rem;
}
.pl-examples { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 13px; }
.pl-chip {
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft);
  border-radius: 999px; padding: 7px 13px; font-size: .82rem; cursor: pointer;
}
.pl-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.pl-chip.on, .pl-chip[aria-pressed="true"] { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }

.pl-ask { background: var(--card); border-radius: var(--r-sm); padding: 16px; margin-top: 14px; }
.pl-ask-title { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; }
.pl-people { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; align-items: center; }
.pl-people input { width: 90px; }

.pl-result { background: var(--card); border-radius: var(--r-sm); padding: 17px; margin-top: 14px; }
.pl-summary {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; flex-wrap: wrap; padding-bottom: 13px; border-bottom: 1px solid var(--line-soft);
}
.pl-occ { font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; }
.pl-total { text-align: end; }
.pl-price { font-family: var(--ff-display); font-weight: 900; font-size: 1.6rem; }
.pl-retail { font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-soft); }
.pl-note {
  margin-top: 11px; padding: 9px 12px; border-radius: var(--r-sm);
  background: var(--bg-alt); font-size: .86rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
}
.pl-note.ok { background: var(--ok-soft); color: var(--ok); }
.pl-note.warn { background: var(--warn-soft); color: var(--warn); }

.pl-items { margin: 14px 0 4px; }
.pl-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.pl-item:last-child { border-bottom: 0; }
.pl-thumb {
  width: 46px; height: 46px; flex: none; border-radius: 8px; overflow: hidden;
  background: var(--bg-alt); display: grid; place-items: center;
}
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pl-thumb.sm { width: 34px; height: 34px; border-radius: 7px; }
.pl-name { font-weight: 600; font-size: .94rem; }
.pl-line { font-family: var(--ff-display); font-weight: 700; white-space: nowrap; }
.pl-item .qty-row { display: flex; align-items: center; gap: 8px; flex: none; }
.pl-item .qty-row .stepper { width: 148px; margin-top: 0; }
.icon-btn.sm { width: 30px; height: 30px; font-size: 13px; }

.pl-add-product { margin-top: 12px; }
.pl-add-product #plProductPicker { margin-top: 10px; }
.pl-add-product input[type="search"] {
  width: 100%; padding: 10px 13px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--bg-alt); font-size: .92rem; color: var(--ink);
}
.pl-product-results { margin-top: 8px; max-height: 260px; overflow-y: auto; }
.pl-pick-row {
  display: flex; align-items: center; gap: 10px; padding: 7px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.pl-pick-row:last-child { border-bottom: 0; }
.pl-allergen-edit { margin: 15px 0; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.pl-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 560px) {
  .pl-actions { flex-direction: column; }
  .pl-actions .btn { width: 100%; }
  .pl-chip { min-height: 44px; padding: 10px 15px; }
  .pl-summary { flex-direction: column; }
  .pl-total { text-align: start; }
}

/* ---------- מארז ידני - מילוי כוסיות ---------- */
.diy-group { margin: 16px 0; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.diy-group:first-of-type { margin-top: 6px; padding-top: 0; border-top: 0; }
.diy-group-title {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: .92rem; margin-bottom: 8px;
}
.diy-progress {
  font-size: .78rem; font-weight: 600; color: var(--warn); font-variant-numeric: tabular-nums;
}
.diy-progress.ok { color: var(--ok); }
.diy-rows { margin-bottom: 6px; }
.diy-row {
  display: flex; align-items: center; gap: 9px; padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.diy-row:last-child { border-bottom: 0; }
.stepper.sm { gap: 4px; margin-top: 0; }
.stepper.sm button { width: 26px; height: 26px; font-size: 14px; }
.stepper.sm span.mono { min-width: 20px; text-align: center; font-weight: 700; }
.diy-add-product { margin-top: 8px; }
.diy-add-product input[type="search"] {
  width: 100%; padding: 9px 12px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--bg-alt); font-size: .9rem; color: var(--ink);
}


/* ---------- בורר תגיות בניהול ---------- */
.pick-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: var(--bg); border-radius: 999px;
  padding: 7px 13px; font-size: .85rem; cursor: pointer; user-select: none;
}
.pick-chip:has(input:checked) {
  background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.pick-chip input { width: 16px; height: 16px; margin: 0; }
@media (max-width: 760px) {
  .pick-chip { min-height: 44px; padding: 10px 15px; }
  .pick-chip input { width: 20px; height: 20px; }
}

/* ---------- תיאור המוצר ---------- */
.prod-desc {
  font-size: .95rem; line-height: 1.7; color: var(--ink-soft); margin: 12px 0;
}
/* בגרסה שמעל התמונה התיאור הוא הדבר הראשון שנקרא, אז הוא מודגש יותר */
.prod-desc.above {
  margin: 0 0 14px; font-size: 1rem; color: var(--ink);
  padding-inline-start: 13px; border-inline-start: 3px solid var(--accent);
}

/* ---------- אינדקס המאמרים ---------- */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.blog-cats .tab-chip { text-decoration: none; }
.blog-cats .tiny { opacity: .6; margin-inline-start: 4px; }
.pager {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line);
}
.pager a { text-decoration: none; }
/* טבלה בתוך מאמר - גוללת לרוחב במקום לדחוף את הדף */
.table-scroll { overflow-x: auto; margin: 18px 0; }
.art-body table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.art-body th, .art-body td {
  padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line-soft);
}
.art-body th { background: var(--bg-alt); font-weight: 700; color: var(--ink); white-space: nowrap; }
.art-body td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- קופסת המארז במאמר ---------- */
.bundle-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  margin: 36px 0 10px;
}
.bx-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.bx-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  color: var(--accent-ink); margin-bottom: 5px;
}
.bx-title { font-size: 1.3rem; margin: 0; line-height: 1.25; }
.bx-total { text-align: end; }
.bx-sum {
  font-family: var(--ff-display); font-weight: 900; font-size: 1.7rem;
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.bx-sub { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.bx-muted { color: var(--ink-soft); }

.bx-scroll { overflow-x: auto; margin: 14px 0 4px; }
.bx-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bx-table th, .bx-table td {
  padding: 9px 10px; text-align: start; border-bottom: 1px solid var(--line-soft);
}
.bx-table th {
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  color: var(--muted); border-bottom-color: var(--line);
}
.bx-table td:first-child { font-weight: 600; }
.bx-table .bx-qty { white-space: nowrap; color: var(--ink-soft); }
.bx-table .bx-money {
  white-space: nowrap; text-align: end;
  font-variant-numeric: tabular-nums; font-weight: 600;
}
.bx-table tfoot td {
  border-bottom: 0; border-top: 2px solid var(--line);
  font-weight: 800; font-family: var(--ff-display);
}
.bx-oos {
  font-size: .68rem; font-weight: 700; color: var(--danger);
  background: var(--danger-soft, #fbeceb); border-radius: 999px; padding: 2px 7px;
}
.bx-note {
  font-size: .82rem; color: var(--warn); background: var(--warn-soft);
  border-radius: var(--r-sm); padding: 8px 11px; margin: 10px 0 0;
}
.bx-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.bx-actions .btn { text-decoration: none; }
.bx-fine { font-size: .78rem; color: var(--muted); margin: 9px 0 0; }
@media (max-width: 560px) {
  .bundle-box { padding: 16px; }
  .bx-total { text-align: start; }
  .bx-actions { flex-direction: column; }
  .bx-actions .btn { width: 100%; text-align: center; }
}

/* ---------- לוח רעיונות ---------- */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button {
  border: 0; background: var(--card); color: var(--ink-soft);
  padding: 8px 15px; font-size: .84rem; font-weight: 600; cursor: pointer;
}
.seg button.on { background: var(--solid); color: var(--on-solid); }

.idea-stats {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px;
}
.is-cell {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 16px; min-width: 130px;
}
.is-cell.sm { min-width: 82px; padding: 9px 13px; }
.is-cell .k { display: block; font-size: .72rem; color: var(--muted); }
.is-cell .v {
  font-family: var(--ff-display); font-weight: 900; font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}
.is-cell.sm .v { font-size: 1.05rem; }
.is-cell .v.ok { color: var(--ok); }

.idea-board {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: 12px; overflow-x: auto; padding-bottom: 10px; align-items: start;
}
.idea-col {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px; min-height: 160px;
  transition: background .15s ease, border-color .15s ease;
}
.idea-col.over { background: var(--accent-soft); border-color: var(--accent); }
.idea-col header { margin-bottom: 10px; }
.idea-col .col-name { font-weight: 700; font-size: .95rem; }
.idea-col .col-sum {
  font-family: var(--ff-display); font-weight: 700; font-size: .95rem;
  color: var(--accent-ink); margin-top: 4px; font-variant-numeric: tabular-nums;
}
.idea-drop { display: flex; flex-direction: column; gap: 9px; min-height: 60px; }

.idea-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 4px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.idea-card:hover { box-shadow: 0 4px 14px rgba(37,28,20,.1); }
.idea-card.dragging { opacity: .45; }
.idea-card .ic-top { display: flex; align-items: flex-start; gap: 7px; }
.idea-card .drag-handle { color: var(--muted); cursor: grab; line-height: 1.2; flex: none; }
.idea-card strong { font-size: .92rem; line-height: 1.35; }
.idea-card .ic-aud { font-size: .76rem; color: var(--muted); }
.idea-card .ic-money {
  font-family: var(--ff-display); font-weight: 900; font-size: 1.1rem;
  font-variant-numeric: tabular-nums; margin-top: 2px;
}
.idea-card .ic-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: .7rem; color: var(--muted); letter-spacing: .02em;
}
.idea-card .ic-calc { font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* מפת עדיפויות */
.matrix { position: relative; padding: 0 0 26px 0; }
.mx-plot {
  position: relative; height: 420px;
  border-inline-start: 2px solid var(--line); border-bottom: 2px solid var(--line);
  margin-inline-start: 26px;
}
.mx-quad { position: absolute; width: 50%; height: 50%; }
.mx-quad span {
  position: absolute; inset-inline-start: 12px; top: 10px;
  font-size: .72rem; color: var(--muted); letter-spacing: .06em;
}
.mx-quad.q1 { inset-inline-start: 0; top: 0; background: var(--ok-soft); opacity: .5; }
.mx-quad.q2 { inset-inline-end: 0; top: 0; }
.mx-quad.q3 { inset-inline-start: 0; bottom: 0; }
.mx-quad.q4 { inset-inline-end: 0; bottom: 0; background: var(--bg-alt); opacity: .6; }
.mx-dot {
  position: absolute; transform: translate(50%, -50%);
  border-radius: 50%; border: 2px solid var(--card);
  background: var(--accent); cursor: pointer; padding: 0;
}
.mx-dot:hover { background: var(--accent-ink); z-index: 3; }
.mx-dot .mx-label {
  position: absolute; inset-inline-start: 50%; top: 100%;
  transform: translateX(50%); white-space: nowrap;
  font-size: .68rem; color: var(--ink-soft); pointer-events: none; margin-top: 3px;
}
.mx-axis-y {
  position: absolute; inset-inline-start: 0; top: 40%;
  writing-mode: vertical-rl; font-size: .74rem; color: var(--muted);
}
.mx-axis-x {
  text-align: center; font-size: .74rem; color: var(--muted); margin-top: 8px;
}

.idea-preview {
  display: flex; gap: 18px; flex-wrap: wrap;
  background: var(--bg-alt); border-radius: var(--r-sm);
  padding: 11px 14px; margin: 0 0 14px; font-size: .88rem;
}
.idea-preview b { font-family: var(--ff-display); font-size: 1.05rem; }
.idea-preview b.ok { color: var(--ok); }
.idea-preview b.danger { color: var(--danger); }

@media (max-width: 760px) {
  .idea-board { grid-auto-columns: 82vw; }
  .seg button { min-height: 44px; }
  .mx-plot { height: 340px; }
  .mx-dot .mx-label { display: none; }
}

/* ---------- שאלות מחקר ---------- */
.q-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.q-group { margin-bottom: 26px; }
.q-group-head {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem;
  padding-bottom: 7px; margin-bottom: 10px; border-bottom: 2px solid var(--line);
}
.q-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; margin-bottom: 8px; cursor: pointer;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.q-row:hover { box-shadow: 0 3px 12px rgba(37,28,20,.08); }
.q-row.overdue { border-inline-start: 3px solid var(--danger); }
.q-main { flex: 1 1 22rem; min-width: 0; }
.q-title { font-weight: 600; line-height: 1.45; }
.q-answer { font-size: .84rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.q-next {
  font-size: .8rem; color: var(--accent-ink); margin-top: 6px;
  display: flex; align-items: center; gap: 5px;
}
.q-side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 5px;
  flex: 0 0 auto; text-align: end;
}
.q-owner { font-size: .8rem; color: var(--ink-soft); }
.q-owner em { color: var(--muted); font-style: normal; }
.q-due { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.q-due.late { color: var(--danger); font-weight: 700; }
.q-due.soon { color: var(--warn); font-weight: 600; }
.q-due.none { opacity: .6; }
.chip.q-answered { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip.q-partial { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.q-active { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.chip.q-parked { opacity: .6; }
.is-cell .v.danger { color: var(--danger); }
.is-cell .v.warn { color: var(--warn); }
@media (max-width: 640px) {
  .q-row { flex-direction: column; }
  .q-side { align-items: flex-start; text-align: start; flex-direction: row; flex-wrap: wrap; gap: 10px; }
}

/* ---------- ניתוח מתחרים ---------- */
/* הודעת מצב מעל הטבלה */
.notice {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 15px; font-size: .88rem; line-height: 1.6;
}
.notice.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.notice.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }

.comp-table th:first-child, .comp-table td:first-child {
  position: sticky; inset-inline-start: 0; background: var(--card); z-index: 1;
  white-space: normal; min-width: 9rem;
}
.comp-table thead th:first-child { background: var(--bg-alt); z-index: 2; }
.comp-table tbody tr:hover td:first-child { background: var(--bg-alt); }

/* תא מחיר של מתחרה - לחיץ לעריכה */
.comp-cell { cursor: pointer; line-height: 1.35; }
.comp-cell:hover { background: var(--brand-soft, var(--bg-alt)); box-shadow: inset 0 0 0 1px var(--line); }
.comp-cell.blank { color: var(--muted); opacity: .45; font-weight: 700; }
.comp-cell.blank:hover { opacity: 1; }

/* פער מולנו: ירוק = אנחנו זולים, אדום = אנחנו יקרים */
.comp-table td.pos { color: var(--ok); font-weight: 700; }
.comp-table td.neg { color: var(--warn); font-weight: 700; }

.warn-txt { color: var(--warn); font-weight: 700; }

/* ---------- שלב A: משלוח ואיסוף, מחיר ל-100 גרם, הבטחה, הוכחה חברתית ---------- */
.fulfill-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.fulfill-row.single { grid-template-columns: 1fr; }
.fulfill-opt {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card);
  transition: border-color .15s, background .15s;
}
.fulfill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.fulfill-opt .ic { color: var(--ink-soft); flex: none; display: grid; place-items: center; }
.fulfill-opt strong { display: block; font-size: .95rem; }
.fulfill-opt .tiny { display: block; color: var(--ink-soft); line-height: 1.35; }
.fulfill-opt.on { border-color: var(--accent); background: var(--accent-soft); }
.fulfill-opt.on .ic { color: var(--accent-ink); }
.per100 { display: block; font-size: .76rem; color: var(--ink-soft); margin-top: 2px; letter-spacing: .01em; }
.spec-link { color: var(--accent-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.spec-link:hover { opacity: .8; }

.promise-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px;
  margin: 18px 0 6px;
}
.promise {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px;
  border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--card);
}
.promise .ic { color: var(--accent-ink); flex: none; display: grid; place-items: center; }
.promise strong { display: block; font-size: .96rem; line-height: 1.3; }
.promise .tiny { margin-top: 2px; }

.lineage { font-size: .92rem; color: var(--ink-soft); margin-top: -4px; margin-bottom: 8px; font-style: italic; }

.proof { margin: 26px 0 10px; padding: 24px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.proof-label { text-align: center; font-family: var(--ff-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 14px; }
.proof-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 36px; }
.proof-logos img { height: 34px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .2s; }
.proof-logos img:hover { filter: none; opacity: 1; }
.proof-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.proof-quotes blockquote { margin: 0; padding: 16px 18px; border-inline-start: 3px solid var(--accent); background: var(--bg-alt); border-radius: var(--r-sm); }
.proof-quotes p { margin: 0 0 8px; font-size: .96rem; line-height: 1.55; }
.proof-quotes footer { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }

.spotlight-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

@media (max-width: 560px) {
  .fulfill-row { grid-template-columns: 1fr; }
  .promise-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .promise { padding: 11px 12px; gap: 9px; }
  .promise strong { font-size: .88rem; }
}

/* ---------- שלב B: הזמנה מהירה, הזמנות קבועות, דוח חודשי, תנאי תשלום ---------- */
.ch-tiles.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 480px) { .ch-tiles.four { grid-template-columns: repeat(2, 1fr); } }
.qo-head { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.qo-head strong { font-family: var(--ff-display); font-size: 1.08rem; }
.qo-list { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.qo-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-bottom: 1px solid var(--line-soft);
}
.qo-row:last-child { border-bottom: 0; }
.qo-row.in-cart { background: var(--accent-soft); }
.qo-name { min-width: 0; }
.qo-name .nm { font-weight: 600; font-size: .95rem; }
.qo-step { display: flex; align-items: center; gap: 6px; flex: none; }
.qo-step .stepper { min-width: 136px; }
.qo-step .add-btn { min-width: 96px; }
.so-card { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 10px; background: var(--card); }
.so-card.paused { opacity: .72; }
.so-card strong { font-family: var(--ff-display); font-size: 1.02rem; }
.stmt-list { display: flex; flex-direction: column; gap: 6px; }
.stmt-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink);
}
.stmt-row:hover { border-color: var(--brand-light); background: var(--bg-alt); }
.credit-req summary { list-style: none; cursor: pointer; }
.credit-req summary::-webkit-details-marker { display: none; }
.qo-step .btn { white-space: nowrap; }

/* ---------- שלב C: מארזי שי לחברות, עמודי קהל יעד, לידים ---------- */
.gift-entry {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; cursor: pointer;
  padding: 14px 16px; margin: 0 0 16px; border: 1px solid rgba(192, 138, 46, .4); border-radius: var(--r);
  background: var(--accent-soft); color: var(--ink); font: inherit;
}
.gift-entry .ic { color: var(--accent-ink); flex: none; display: grid; place-items: center; }
.gift-entry .arr { color: var(--accent-ink); flex: none; }
.gift-entry strong { display: block; font-family: var(--ff-display); font-size: 1.06rem; }
.gift-entry:hover { border-color: var(--accent); }
.gift-line {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 8px 0;
  border: 1px solid rgba(192, 138, 46, .4); border-radius: var(--r-sm); background: var(--accent-soft);
}
.gift-line .ic { color: var(--accent-ink); flex: none; display: grid; place-items: center; }
.gf-head { margin: 22px 0 14px; }
.gf-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 4px 0 8px; }
.gf-head .lede { max-width: 62ch; color: var(--ink-soft); margin: 0; }
.gf-step { margin: 22px 0; }
.gf-step-title { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.gf-step-title .num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  font-family: var(--ff-body, inherit); font-size: .85rem; flex: none;
}
.gf-step-title .small { font-weight: 400; font-family: inherit; }
.gf-custom { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.gf-custom input { width: 84px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font: inherit; }
.gf-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gf-pack {
  display: flex; gap: 10px; align-items: center; text-align: start; padding: 10px; cursor: pointer; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .15s, background .15s;
}
.gf-pack .ph, .gf-pack img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.gf-pack .body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gf-pack .px { font-weight: 700; }
.gf-pack.on { border-color: var(--accent); background: var(--accent-soft); }
.gf-total { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.gf-total strong { font-family: var(--ff-display); font-size: 1.5rem; margin-inline-start: 8px; }
.gf-cta { margin: 22px 0; }
.gf-lead { margin: 30px 0 20px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--bg-alt); }
.gf-logo-prev {
  width: 84px; height: 56px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  display: grid; place-items: center; overflow: hidden; flex: none;
}
.gf-logo-prev img { max-width: 100%; max-height: 100%; }
.pl-lead { margin: 14px 0 6px; padding: 14px 16px; border: 1px solid rgba(192, 138, 46, .4); border-radius: var(--r); background: var(--accent-soft); }
.pl-lead-head strong { display: block; font-family: var(--ff-display); font-size: 1.05rem; }
.pl-lead-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.pl-lead-form input { flex: 1 1 140px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font: inherit; }
.pl-lead-form input[type="date"] { flex: 0 1 160px; }
.segs { margin: 26px 0 10px; }
.segs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.seg-tile {
  display: flex; flex-direction: column; gap: 6px; padding: 14px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .15s, transform .08s;
}
.seg-tile:hover { border-color: var(--brand-light); transform: translateY(-2px); }
.seg-tile .ic { color: var(--accent-ink); }
.seg-tile strong { font-family: var(--ff-display); font-size: 1.02rem; }
.seg-tile .tiny { color: var(--ink-soft); line-height: 1.35; }
.seg-hero { padding: 30px 0 10px; max-width: 70ch; }
.seg-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin: 6px 0 10px; line-height: 1.15; }
.seg-hero .lede { font-size: 1.05rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 560px) {
  .gf-packs { grid-template-columns: 1fr; }
  .segs-grid { grid-template-columns: 1fr 1fr; }
}

.guide-frame { width: 100%; height: calc(100vh - 140px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }


/* ---------- דפי נחיתה לקהלי יעד (/for/<segment>) ---------- */
.lp-hero {
  position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff;
  background-size: cover; background-position: center; isolation: isolate;
}
.lp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(200deg, color-mix(in srgb, var(--seg) 82%, transparent) 0%, color-mix(in srgb, var(--seg2) 92%, transparent) 60%, rgba(20, 12, 6, .92) 100%);
}
.lp-hero .inner { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; padding: 70px 22px 46px; }
.lp-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; letter-spacing: .08em; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 4px 12px; margin-bottom: 14px; }
.lp-hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.1; margin: 0 0 14px; max-width: 18ch; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.lp-hero .lede { font-size: 1.08rem; max-width: 60ch; color: rgba(255,255,255,.9); margin: 0 0 20px; line-height: 1.55; }
.lp-cta { background: #fff; color: var(--seg2, var(--ink)); border-color: #fff; font-weight: 700; }
.lp-cta:hover { background: #fff8ec; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .86rem; color: rgba(255,255,255,.88); }
.lp-trust span { display: inline-flex; align-items: center; gap: 5px; }
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: -26px auto 10px; position: relative; z-index: 1; max-width: 900px; }
.lp-stats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 12px; text-align: center; box-shadow: 0 10px 30px rgba(45, 32, 18, .08); }
.lp-stats b { display: block; font-family: var(--ff-display); font-size: 1.6rem; color: var(--seg); line-height: 1.1; }
.lp-stats span { font-size: .8rem; color: var(--ink-soft); }
.lp-block { margin-block: 44px; }
.lp-head { margin-bottom: 18px; }
.lp-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 4px 0 0; }
.lp-head.light { color: #fff; }
.lp-head.light .kicker { color: rgba(255,255,255,.75); }
.lp-pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lp-pain { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-size: 1rem; line-height: 1.45; }
.lp-pain .x { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--seg) 14%, #fff); color: var(--seg); }
.lp-steps-wrap { padding: 46px 0; background: linear-gradient(135deg, var(--seg) 0%, var(--seg2) 100%); color: #fff; }
.lp-steps-wrap .inner { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.lp-step { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r); padding: 18px; backdrop-filter: blur(2px); }
.lp-step .num { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--seg2); display: grid; place-items: center; font-weight: 700; margin-bottom: 10px; font-family: var(--ff-display); font-size: 1.05rem; }
.lp-step strong { display: block; font-family: var(--ff-display); font-size: 1.12rem; margin-bottom: 6px; }
.lp-step p { margin: 0; color: rgba(255,255,255,.88); font-size: .95rem; line-height: 1.5; }
.lp-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lp-point { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: color-mix(in srgb, var(--seg) 7%, var(--card)); border: 1px solid color-mix(in srgb, var(--seg) 25%, var(--line)); line-height: 1.45; }
.lp-point .ic { flex: none; color: var(--seg); display: grid; place-items: center; margin-top: 2px; }
.lp-faq { display: grid; gap: 8px; max-width: 760px; }
.lp-q { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.lp-q summary { cursor: pointer; padding: 13px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.lp-q summary::-webkit-details-marker { display: none; }
.lp-q summary::after { content: '+'; color: var(--ink-soft); font-weight: 400; }
.lp-q[open] summary::after { content: '−'; }
.lp-q > div { padding: 0 16px 14px; color: var(--ink-soft); line-height: 1.55; }
.lp-final { padding: 56px 0; color: #fff; text-align: center; margin-block: 34px 0; background: linear-gradient(135deg, var(--seg2) 0%, var(--seg) 100%); }
.lp-final .inner { max-width: 720px; margin: 0 auto; padding: 0 22px; }
.lp-final h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 10px; }
.lp-final p { color: rgba(255,255,255,.88); margin: 0 auto; max-width: 52ch; }
.lp-others { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 18px 0 30px; font-size: .9rem; }
.lp-others a { color: var(--accent-ink); }
.seg-tile { --seg: var(--accent); border-top: 3px solid var(--seg); }
.seg-tile .ic { color: var(--seg); }
@media (max-width: 640px) {
  .lp-hero { min-height: 440px; }
  .lp-hero .inner { padding: 50px 16px 32px; }
  .lp-stats { grid-template-columns: 1fr 1fr; margin-top: -18px; }
}

/* ---------- משימות צוות ---------- */
.task-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.task-row:last-child { border-bottom: 0; }
.task-row.done { opacity: .6; }
.task-row.done .task-title strong { text-decoration: line-through; }
.task-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: transparent; display: grid; place-items: center; cursor: pointer; flex: none; margin-top: 2px; }
.task-check:hover { border-color: var(--ok); color: var(--ok); }
.task-check.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.task-title { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 4px; }
/* ציר זמן של לקוח */
.doc-cell { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.doc-last { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.tl-filter button { padding: 6px 12px; font-size: .8rem; }
.tl-group { font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin: 12px 0 4px; }
.tl-group:first-child { margin-top: 0; }
.tl { position: relative; padding-inline-start: 30px; }
.tl::before { content: ''; position: absolute; inset-block: 6px; inset-inline-start: 11px; width: 2px; background: var(--line); }
.tl-item { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.tl-item + .tl-item { border-top: 1px solid var(--line-soft); }
.tl-dot { position: absolute; inset-inline-start: -30px; top: 9px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line); color: var(--ink-soft); }
.tl-note .tl-dot { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.tl-task .tl-dot { border-color: var(--warn); color: var(--warn); }
.tl-mail .tl-dot { border-color: #3b6ea5; color: #3b6ea5; }
.tl-mail-in .tl-dot { border-color: #3b6ea5; color: #fff; background: #3b6ea5; }
.tl-order .tl-dot { border-color: var(--ok); color: var(--ok); }
.tl-credit .tl-dot { border-color: var(--danger); color: var(--danger); }
.tl-main { flex: 1; min-width: 0; }
.tl-head { display: flex; gap: 8px; align-items: baseline; font-size: .76rem; }
.tl-type { font-weight: 700; color: var(--ink-soft); }
.tl-time { color: var(--muted); }
.tl-title { font-weight: 600; margin-top: 1px; overflow-wrap: anywhere; }
.tl-body { white-space: pre-line; font-size: .9rem; color: var(--ink-soft); margin: 3px 0; padding: 6px 10px; border-inline-start: 3px solid var(--line); background: var(--bg-alt); border-radius: var(--r-sm); overflow-wrap: anywhere; }
.tl-body.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tl-more { background: none; border: 0; padding: 0; cursor: pointer; }
.task-summary { white-space: pre-line; font-size: .92rem; color: var(--ink-soft); margin: 4px 0; padding: 6px 10px; border-inline-start: 3px solid var(--line); background: var(--bg-alt); border-radius: var(--r-sm); }
.ok-txt { color: var(--ok); font-weight: 700; }

/* ---------- מחבר המיילים ---------- */
.email-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 14px; align-items: start; }
.email-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #f4efe6; }
@media (max-width: 960px) { .email-layout { grid-template-columns: 1fr; } .email-frame { height: 520px; } }

/* ---------- סרגל ניהול מקובץ ---------- */
.admin-nav { display: flex; flex-direction: column; gap: 6px; overflow: visible; padding: 10px 0 14px; }
.nav-grp { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-grp-label { font-size: .72rem; color: var(--ink-soft); letter-spacing: .06em; min-width: 78px; text-align: start; opacity: .85; }
.nav-grp-items { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-nav button { padding: 7px 13px; font-size: .84rem; }
.admin-nav button.nav-guide { border-color: rgba(192, 138, 46, .5); color: var(--accent-ink); background: var(--accent-soft); }
.admin-nav button.nav-guide.active { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
@media (max-width: 720px) {
  .nav-grp { align-items: flex-start; }
  .nav-grp-label { min-width: 100%; margin: 4px 0 -2px; }
  .admin-nav button { min-height: 38px; padding: 7px 12px; }
}
#view.flush .lp-hero { margin-top: 0; }


/* ---------- דפי נחיתה v3: קעריות בכותרת, רצועת תמונה, מוצרים, מאמרים ---------- */
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 30px; align-items: end; }
.lp-bowls { position: relative; height: 300px; }
.lp-bowl {
  position: absolute; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; cursor: pointer;
  border: 4px solid rgba(255,255,255,.85); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  animation: lp-float 6s ease-in-out infinite; transition: transform .2s;
}
.lp-bowl img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.15); }
.lp-bowl span {
  position: absolute; inset-inline: 0; bottom: 0; padding: 22px 8px 9px; font-size: .74rem; font-weight: 700; color: #fff; text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent);
}
.lp-bowl:hover { transform: scale(1.05); }
.lp-bowl.b1 { right: 6%; top: 0; }
.lp-bowl.b2 { left: 4%; top: 22%; width: 130px; height: 130px; animation-delay: -1.5s; }
.lp-bowl.b3 { right: 30%; bottom: 0; width: 120px; height: 120px; animation-delay: -3s; }
.lp-bowl.b4 { left: 36%; top: 0; width: 96px; height: 96px; animation-delay: -4.5s; }
@keyframes lp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.lp-edit { margin: 40px 0 10px; }
.lp-edit .shot img { border: 6px solid color-mix(in srgb, var(--seg) 20%, #fff); }
.lp-edit .shot .tag { background: var(--seg); }
.lp-showcase { margin-top: 4px; }
.lp-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.lp-article {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .15s, box-shadow .15s;
}
.lp-article:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45, 32, 18, .12); }
.lp-article img, .lp-article .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--accent-soft); }
.lp-article .ph { display: grid; place-items: center; color: var(--accent-ink); }
.lp-article .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.lp-article strong { font-family: var(--ff-display); font-size: 1.05rem; line-height: 1.3; }
.lp-article p { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.lp-dark { margin-top: 40px; }
.lp-dark h2 em { color: color-mix(in srgb, var(--seg) 40%, #f3d9a2); }
.marquee[style*="--seg"] { border-color: color-mix(in srgb, var(--seg) 30%, var(--line)); }
.marquee[style*="--seg"] span::after { color: var(--seg); }
@media (max-width: 860px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .lp-bowls { height: 150px; margin-top: 6px; }
  .lp-bowl { width: 104px; height: 104px; border-width: 3px; }
  .lp-bowl.b1 { right: 2%; top: 8px; }
  .lp-bowl.b2 { left: 2%; top: 20px; width: 96px; height: 96px; }
  .lp-bowl.b3 { right: 32%; bottom: 0; width: 84px; height: 84px; }
  .lp-bowl.b4 { display: none; }
  .lp-bowl span { font-size: .66rem; padding-top: 16px; }
  .lp-edit { margin-top: 26px; }
}
.lp-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 14px; }
@media (max-width: 720px) { .lp-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; } }

/* ---------- דפי נחיתה: מתיחת פנים ---------- */
.lp-seals { margin-bottom: 12px; }
.lp-seals:empty { display: none; }
.lp-cta { box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.lp-pain { border-inline-start: 4px solid var(--seg); }
.lp-final-pct { font-family: var(--ff-display); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; font-weight: 900; color: #fff; margin-bottom: 6px; }
.lp-final-pct span { display: block; font-family: inherit; font-size: .95rem; font-weight: 400; letter-spacing: .06em; opacity: .85; margin-top: 4px; }
.lp-final-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.lp-final-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 22px; font-size: .9rem; color: rgba(255,255,255,.9); }
.lp-final-points span { display: inline-flex; align-items: center; gap: 6px; }

/* חותמות הכשרות בדפי הנחיתה - גדולות יותר מבדף הבית, ומופיעות גם בסיום */
.lp-hero .kseal img { max-width: 150px; max-height: 96px; }
.lp-seals-final { justify-content: center; margin: 24px 0 0; }
.lp-seals-final .kseal { color: rgba(255,255,255,.85); }
@media (max-width: 560px) {
  .lp-hero .kseal img { max-width: 108px; max-height: 70px; }
  .lp-seals { gap: 12px; }
  .lp-seals .k2 { font-size: .62rem; }
}
/* בדפי הנחיתה הלוגו לבדו - השם כבר כתוב עליו; כך שתי החותמות יושבות בשורה אחת גם בנייד */
.lp-seals { flex-wrap: nowrap; gap: 22px; }
.lp-seals .txt, .lp-seals .k2 { display: none; }
.lp-seals .kseal + .kseal { border: 0; padding-inline-start: 0; }
.lp-seals-final { justify-content: center; }
@media (max-width: 560px) { .lp-seals { gap: 16px; } .lp-hero .kseal img { max-width: 120px; max-height: 76px; } }
