/* ==========================================================================
   Shef Pro — design tokens
   העיצוב הוא קרם עם *פסים* כהים, לא ערכת נושא כהה. אזור כהה חייב להכיל
   תמונה או מכשיר; אסור שיכיל שדה קלט, מחיר, או יותר משתי שורות טקסט.
   הסיבה: עברית בלי ניקוד מאבדת את הרווחים שמבדילים ה/ח ו-ד/ר כשהטקסט
   בהיר על כהה, והמתכונים נקראים בטלפון במטבח מואר.
   ========================================================================== */
:root {
  --bg: #faf5ee;
  --bg-deep: #f3ead9;
  --card: #ffffff;
  --ink: #241d19;
  --muted: #6b5b52;          /* היה #8a7a70 — נכשל AA על כל שלושת הרקעים */

  /* --brand הוא צבע *מילוי* בלבד (רקע כפתור/תג, עם טקסט לבן מעליו).
     לטקסט בגודל גוף יש --brand-ink, כי #c2542b נותן 4.21:1 על קרם. */
  --brand: #c2542b;
  --brand-ink: #a8441f;      /* חדש — קישורים וטקסט: 5.51 קרם / 5.98 לבן */
  --brand-dark: #9c3f1c;
  --brand-soft: #fdeee6;
  --olive: #3f5d45;
  --olive-soft: #e9f0ea;
  --green: #256b42;          /* היה #2e7d4f — ישב בדיוק על הסף */
  --wa: #dcf8c6;
  --gold: #d9a441;
  --border: #eee2d8;         /* דקורטיבי בלבד — קצוות כרטיסים */
  --field-border: #9b8069;   /* חדש — גבול נראה לשדות קלט (1.4.11) */
  --focus-ring: #9c3f1c;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(60, 35, 20, 0.08);
  --shadow-lg: 0 18px 50px rgba(60, 35, 20, 0.16);

  /* ---- משטחים כהים (חום-נייטרלי, לא כחלחל — אותה משפחה כמו הקרם) ---- */
  --ink-abyss: #000000;      /* מצע הווידאו בהירו בלבד */
  --ink-surface: #12100e;
  --ink-surface-2: #1c1815;
  --on-dark: #f7f1ea;
  --on-dark-muted: #c9bcb3;
  --accent-lift: #ef8551;    /* --brand מורם לרקע כהה: 8.14:1 */
  --olive-lift: #a9d9ba;
}

/* מיתוג משטח כהה. מוחל עם data-surface="dark" — scope אמיתי במקום
   הסתמכות על סדר הכתיבה בקובץ (הדריסות הקודמות היו באותה ספציפיות
   בדיוק כמו כללי הבסיס, כך שסידור מחדש של הקובץ היה שובר אותן). */
[data-surface="dark"] {
  --ink: var(--on-dark);
  --muted: var(--on-dark-muted);
  --brand-ink: var(--accent-lift);
  --border: rgba(255, 255, 255, 0.14);
  --focus-ring: #ffa477;
  color: var(--ink);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-padding: הסרגל העליון דביק בגובה ~69px, ובלי זה כל עוגן
   בתפריט נוחת עם הכותרת מוסתרת מאחוריו. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  /* Segoe UI קיים רק בווינדוס. בלי חלופה עברית אמיתית, אייפון ואנדרואיד
     נופלים ישר לגנרי עם מטריקות שונות מאוד -> קפיצת פריסה. */
  font-family: 'Assistant', 'Noto Sans Hebrew', 'Arial Hebrew', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  line-height: 1.65;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
/* מרווח אותיות שלילי מקטין גם את *רווח המילים*. באנגלית יש אותיות
   גדולות וזנבות שמסמנים גבול מילה; בעברית הרווח הוא הסימן היחיד.
   לכן שלילי רק בטיפוגרפיית תצוגה גדולה, ורגיל בכל השאר. */
h1, h2, h3, .display { font-family: 'Rubik', 'Assistant', sans-serif; letter-spacing: normal; }
h2, h3 { line-height: 1.3; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header.topbar {
  background: rgba(250, 245, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-size: 1.55rem; font-weight: 800; color: var(--brand); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--ink); }
nav { display: flex; align-items: center; gap: 4px; }
/* padding אנכי: בלי זה גובה שטח הנגיעה יוצא ~24px, מתחת למינימום */
nav a { color: var(--ink); text-decoration: none; margin-inline-start: 16px; padding: 10px 2px; font-weight: 500; font-size: 0.98rem; }
nav a:hover { color: var(--brand-ink); }
nav a.nav-cta {
  background: var(--brand); color: #fff; padding: 8px 20px; border-radius: 999px; font-weight: 700;
}
nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }

/* כותרת עמוד פנימי — בהירה. .hero שמור לפס הכהה עם המנה בלבד. */
.page-head { padding: 54px 20px 26px; }
.page-head h1 { font-size: clamp(1.9rem, 1rem + 2.6vw, 2.7rem); font-weight: 800; line-height: 1.3; }
.page-head h1 em { color: var(--brand-ink); font-style: normal; }
.page-head .sub { font-size: 1.1rem; color: var(--muted); margin-top: 14px; max-width: 620px; }

/* ---------- hero (cinematic dark) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 78px 0 70px;
  background: #000;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
/* clamp: החלק האמצעי חייב איבר rem, אחרת הכותרת ננעלת לרוחב החלון
   ומתעלמת מהגדרת גודל הגופן של המשתמשת (WCAG 1.4.4).
   line-height 1.30 ולא 1.22 — ל' עולה מעל שורת הבסיס ומתנגשת בזנבות
   של ך/ף מהשורה שמעליה בכותרת הנוכחית. */
.hero h1 { font-size: clamp(2rem, 1rem + 3vw, 3.1rem); font-weight: 800; line-height: 1.30; letter-spacing: -0.01em; }
.hero h1 em { color: var(--brand-ink); font-style: normal; }
.hero p.sub { font-size: 1.15rem; color: var(--muted); margin: 18px 0 0; max-width: 560px; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .mini-note { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }
.hero .mini-note b { color: var(--olive); }

/* שכבת המדיה: וידאו/תמונה של מנת הבשר + הצללה לקריאות הטקסט */
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 22% center;
  display: block;
}
/* הטקסט לא יושב על שחור אלא על *סטייק מואר מתחת להצללה*, ושם נמדדת
   הניגודיות האמיתית. עצירת האמצע הועלתה מ-0.45 ל-0.72 כי בטווח הזה
   הפסקה והשורה הקטנה יכולות ליפול על שולי צלחת בהירים. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.90) 34%, rgba(0,0,0,0.72) 62%, rgba(0,0,0,0.30) 100%),
    linear-gradient(to top, rgba(0,0,0,0.80) 0%, transparent 42%);
}
.hero-copy { position: relative; }

/* טיפוגרפיה על רקע כהה. טקסט בהיר על כהה נראה *עבה* יותר (פריחה
   אופטית), ולכן משקל 700 ולא 800 — ב-800 המשיחות של רוביק נסגרות
   זו על זו בעברית. */
[data-surface="dark"] h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
[data-surface="dark"] h2,
[data-surface="dark"] h3 { font-weight: 700; }
[data-surface="dark"] p { letter-spacing: 0.008em; }
[data-surface="dark"] .mini-note b { color: var(--olive-lift); }
[data-surface="dark"] .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
[data-surface="dark"] .btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
/* הכפתור הראשי *לא* מוברק על כהה: לבן על #c2542b נותן 4.57:1 ועובר,
   אבל לבן על גרסה בהירה יותר יורד ל-3.7:1 ונכשל. הנוכחות מגיעה
   מהילה וטבעת, לא ממילוי בהיר. */
[data-surface="dark"] .btn-primary {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 10px 34px rgba(239,133,81,0.32);
}

/* צ'יפים לדוגמה — כפתורים אמיתיים. הם נראו לחיצים ולא היו מחוברים
   לכלום, וזו הנקישה בעלת הכוונה הגבוהה ביותר בדף. */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; list-style: none; padding: 0; }
.chip {
  font: inherit; font-size: 0.95rem; color: inherit;
  background: #fff; border: 1.5px solid var(--field-border); border-radius: 999px;
  padding: 10px 18px; min-height: 44px; cursor: pointer; box-shadow: var(--shadow);
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-1px); }
[data-surface="dark"] .chip {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.40);
  color: #f2e9e2; backdrop-filter: blur(8px); box-shadow: none;
}
[data-surface="dark"] .chip:hover { background: rgba(255,255,255,0.18); border-color: var(--accent-lift); color: #fff; }

/* ---------- hero visual: phone mockup floating over the dish ---------- */
.hero-visual { position: relative; min-height: 430px; }
.food-badge {
  position: absolute; bottom: 8px; inset-inline-end: 0;
  background: rgba(20, 14, 11, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px; padding: 8px 18px;
  font-size: 0.85rem; font-weight: 700; color: #f6ece4;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}

/* מובייל: הטקסט למעלה, המנה נשארת קריאה מתחתיו */
@media (max-width: 919px) {
  .hero { padding: 52px 0 40px; }
  .hero-grid { gap: 26px; }
  .hero-video { object-position: 34% center; }
  .hero-scrim {
    background: linear-gradient(to bottom, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.80) 44%, rgba(0,0,0,0.50) 100%);
  }
  .hero-visual { min-height: 210px; }
  .food-badge {
    top: auto; bottom: 0; right: 50%; transform: translateX(50%);
    white-space: nowrap; font-size: 0.78rem; padding: 7px 14px;
  }
}

/* כשהווידאו לא נטען (מובייל / תנועה מופחתת) — הפוסטר הסטטי ממלא את מקומו */
.hero-media { background: #000 url("assets/hero-dish.jpg") 22% center / cover no-repeat; }
@media (max-width: 919px) { .hero-media { background-position: 34% center; } }

/* ---------- phone / whatsapp mockup ---------- */
.wa-demo { margin-top: 46px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.wa-demo-note { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.phone {
  width: min(280px, 78vw);
  background: #111; border-radius: 38px; padding: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.phone-screen { background: #ece5dd; border-radius: 28px; overflow: hidden; }
.wa-header {
  background: #075e54; color: #fff; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600;
}
.wa-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.wa-body { padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.wa-msg {
  background: #fff; border-radius: 12px; border-top-right-radius: 3px;
  padding: 8px 11px; font-size: 0.78rem; max-width: 92%;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08); line-height: 1.5;
}
.wa-msg.me { background: var(--wa); align-self: flex-end; border-top-right-radius: 12px; border-top-left-radius: 3px; }
.wa-msg b { color: var(--brand-dark); }
.wa-msg .wa-time { display: block; text-align: end; font-size: 0.68rem; color: #6b6b6b; margin-top: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: inherit; font-size: 1.05rem; font-weight: 700;
  padding: 13px 30px; border-radius: 999px; transition: all .15s;
  text-decoration: none;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(194, 84, 43, 0.35); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-ink); border: 2px solid var(--brand-ink); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { filter: brightness(1.1); }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn:disabled { opacity: .5; cursor: wait; transform: none; }

/* ---------- sections ---------- */
.section { padding: 60px 0; }
.section.alt { background: var(--bg-deep); }
.section h2 { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.1rem); font-weight: 800; text-align: center; margin-bottom: 12px; line-height: 1.3; }
.section .section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 38px; font-size: 1.05rem; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card .emoji { font-size: 2.3rem; }
.card h3 { margin: 12px 0 6px; font-size: 1.18rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 0.95rem;
  margin-bottom: 10px;
}

/* home search form */
.opt3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
details.adv { margin: 14px 0 18px; }
details.adv summary {
  cursor: pointer; font-weight: 600; font-size: 0.95rem;
  color: var(--brand-ink); padding: 6px 0; width: fit-content;
}
details.adv[open] summary { margin-bottom: 10px; }
.post-cta { margin-top: 22px; text-align: center; border-color: var(--brand); }
.post-cta .cta-row { justify-content: center; margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.opt-box {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 14px;
}
.opt-box > label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.92rem; }
.opt-box input[type=text] {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--field-border);
  border-radius: 10px; font-family: inherit; font-size: 0.95rem; background: #fff;
}
.opt-box.kosher { display: flex; flex-direction: column; }
.opt-box.kosher .toggle { justify-content: center; }
@media (max-width: 719px) {
  .opt3 { grid-template-columns: 1fr; }
}

/* sources strip */
.sources-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.source-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid var(--field-border); background: #fff; color: var(--muted);
}
.source-pill.on { background: var(--olive-soft); border-color: var(--olive); color: var(--olive); }
.source-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #9d8d80; }
.source-pill.on .dot { background: var(--green); }

/* ---------- forms ---------- */
.form-card { max-width: 440px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
/* fieldset מביא גבול ומרווח ברירת־מחדל מהדפדפן — מנטרלים, הוא כאן
   בשביל הסמנטיקה של קבוצת רדיו/צ'קבוקס ולא בשביל מסגרת */
fieldset.field { border: 0; padding: 0; margin-inline: 0; }
.field input[type=text], .field input[type=tel], .field input[type=email],
.field input[type=password], .field input[type=number], .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--field-border);
  border-radius: 12px; font-family: inherit; font-size: 1rem; background: #fff;
  transition: border-color .15s;
}

/* שדות שתוכנם לטיני נשארים LTR — אחרת ספרות טלפון ומיילים
   מתהפכות תוך כדי הקלדה והסמן קופץ. */
input[type=tel], input[type=email], input[type=password],
input[type=number], input[type=url] { direction: ltr; text-align: start; }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.error-msg { background: #fdecea; color: #b3261e; border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 0.95rem; display: none; }
.ok-msg { background: #e8f5ee; color: var(--green); border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 0.95rem; display: none; }

/* toggles */
.toggles { display: flex; flex-wrap: wrap; gap: 10px; }
.toggle {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--field-border); border-radius: 999px;
  padding: 10px 16px; min-height: 44px; cursor: pointer; background: #fff; user-select: none;
  font-size: 0.95rem; transition: all .15s;
}
.toggle.on, .toggle:has(input:checked) {
  background: var(--brand-soft); border-color: var(--brand);
  color: var(--brand-dark); font-weight: 600;
}
/* display:none היה מוציא כל טוגל מסדר הטאבים ומעץ הנגישות — כולל
   טוגל הכשרות, שהוא דרישה אמיתית לחלק מהקהל. מסתירים ויזואלית
   בלבד, כדי שה-checkbox יישאר מיקוד-בר ומוכרז. */
.toggle input {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.toggle:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* ---------- focus: מחוון אחיד ונראה בכל הדפים ----------
   קודם היה outline:none עם שינוי גוון של 1.5px בלבד — מתחת למינימום
   של 2px, ודלתא של 3.59:1 בין ממוקד ללא-ממוקד. */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- app layout ---------- */
.app-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
@media (min-width: 900px) { .app-grid { grid-template-columns: 390px 1fr; align-items: start; } }
.credits-badge {
  background: var(--brand-soft); color: var(--brand-dark);
  border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 0.95rem;
  white-space: nowrap;
}

/* recipe cards */
.recipe {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; margin-bottom: 18px; box-shadow: var(--shadow);
}
.recipe h3 { color: var(--brand-dark); font-size: 1.35rem; }
.recipe .chef-line {
  display: inline-block; background: var(--olive-soft); color: var(--olive);
  border-radius: 999px; padding: 4px 14px; font-size: 0.92rem; margin-top: 8px;
}
.recipe .chef-line b { font-weight: 800; }
.recipe .meta { color: var(--muted); font-size: 0.9rem; margin: 6px 0 14px; }
.recipe h4 { margin: 16px 0 6px; font-size: 1rem; color: var(--olive); }
.recipe ul, .recipe ol { padding-inline-start: 22px; }
.recipe li { margin-bottom: 4px; }
.recipe .why { background: var(--brand-soft); border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; margin-top: 14px; }
.recipe a { color: var(--brand-ink); }
.badge { display: inline-block; background: var(--gold); color: #3d2a08; border-radius: 6px; padding: 2px 10px; font-size: 0.78rem; font-weight: 700; margin-inline-start: 8px; vertical-align: middle; }

/* loader */
.loader { text-align: center; padding: 40px 0; display: none; }
.loader .pan { font-size: 3rem; animation: shake 1s infinite; display: inline-block; }
@keyframes shake { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.loader p { color: var(--muted); margin-top: 10px; }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 20px 0; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: 1.8rem; font-weight: 800; color: var(--brand-ink); }
.stat .lbl { color: var(--muted); font-size: 0.85rem; }

/* tables */
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 0.92rem; box-shadow: var(--shadow); }
table.data th { background: var(--brand-soft); text-align: start; padding: 10px 12px; }
table.data td { padding: 9px 12px; border-top: 1px solid var(--border); }

/* pricing */
.pricing-highlight { border: 2px solid var(--brand); position: relative; }
.pricing-highlight::before {
  content: 'הכי משתלם'; position: absolute; top: -13px; inset-inline-end: 22px;
  background: var(--brand); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 2px 14px; border-radius: 999px;
}
/* -0.03em על 33.6px זה כמינוס פיקסל שלם, ו-₪ ברוביק הוא גליף רחב —
   הוא היה נוגע בספרה שאחריו. tabular-nums כדי שהמחירים יתיישרו. */
.price { font-size: 2.1rem; font-weight: 800; color: var(--brand-ink); font-family: 'Rubik', sans-serif; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.95rem; color: var(--muted); font-family: 'Assistant', sans-serif; font-weight: 500; letter-spacing: normal; }

/* FAQ */
details.faq {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 22px; margin-bottom: 12px; box-shadow: var(--shadow);
}
details.faq summary { font-weight: 700; cursor: pointer; font-size: 1.02rem; list-style: none; position: relative; padding-inline-end: 26px; }
details.faq summary::after { content: '+'; position: absolute; inset-inline-end: 0; top: 0; color: var(--brand-ink); font-size: 1.3rem; font-weight: 800; transition: transform .15s; }
details.faq[open] summary::after { transform: rotate(45deg); }
/* עברית נקראת הכי טוב ב-55–65 תווים לשורה. בלי התקרה הזאת שאלות
   נפוצות מגיעות ל-85 תווים והמתכון עצמו ל-88 — הטקסטים הארוכים
   ביותר באתר היו גם הרחבים ביותר. */
details.faq p { color: var(--muted); margin-top: 10px; font-size: 0.96rem; max-width: 62ch; }
.recipe li, .recipe > p, .recipe .why { max-width: 62ch; }

/* affiliate banner */
.aff-banner {
  background: linear-gradient(120deg, var(--olive) 0%, #2c4433 100%);
  border-radius: var(--radius); color: #fff; padding: 40px 36px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.aff-banner h2 { text-align: start; margin: 0 0 8px; font-size: 1.6rem; }
.aff-banner p { opacity: 0.85; max-width: 460px; }
.aff-banner .btn { background: #fff; color: var(--olive); }

/* mobile */
@media (max-width: 719px) {
  .hide-mobile { display: none !important; }
  nav a { margin-inline-start: 10px; font-size: 0.92rem; }
  nav a.nav-cta { padding: 7px 14px; }
  .phone { transform: rotate(-1deg); }
  .hero { padding: 40px 0 44px; }
}

footer { text-align: center; color: var(--muted); padding: 44px 0; font-size: 0.9rem; }
footer .logo { font-size: 1.2rem; display: inline-block; margin-bottom: 6px; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 12px; }
.footer-links a { color: var(--muted); text-decoration: underline; padding: 8px 2px; }
.footer-links a:hover { color: var(--brand-ink); }

/* כרטיסי מחיר — כל אחד עם קריאה לפעולה. קודם זה היה מבוי סתום. */
.price-card { text-align: center; display: flex; flex-direction: column; }
.price-card p { flex: 1; }
.price-card .btn { margin-top: 16px; align-self: center; }
.hidden { display: none !important; }

/* טקסט זמין לקורא מסך בלבד */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ==========================================================================
   העדפת תנועה מופחתת
   אנימציית ה-shake על המחבת רצה בלולאה אינסופית עד 60 שניות, על
   האלמנט היחיד שהמשתמשת מסתכלת עליו בזמן ההמתנה — טריגר בחילה
   למי שרגישה לתנועה, בלי שום דרך לעצור.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .loader .pan { animation: none; }
}

/* ---------- שורת התקנה למסך הבית (PWA) ---------- */
.install-bar {
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--card, #fff);
  border: 1px solid var(--border, #eee2d8);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(60, 35, 20, .18);
  transform: translateY(140%);
  transition: transform .25s ease;
}
.install-bar.in { transform: translateY(0); }
.install-bar img { border-radius: 12px; flex: none; }
.install-text { flex: 1; min-width: 180px; display: flex; flex-direction: column; line-height: 1.35; }
.install-text b { font-size: .98rem; }
.install-text span { color: var(--muted, #8a7a70); font-size: .84rem; }
.install-x {
  background: none; border: none; cursor: pointer;
  color: var(--muted, #8a7a70); font-size: 1rem; padding: 6px 8px;
  border-radius: 8px;
}
.install-x:hover { background: var(--bg-deep, #f3ead9); }
.install-ios {
  flex-basis: 100%;
  margin-top: 6px; padding-top: 10px;
  border-top: 1px solid var(--border, #eee2d8);
  font-size: .9rem;
}
.install-ios ol { margin: 8px 0 0; padding-inline-start: 20px; }
.install-ios li { margin-bottom: 4px; }
@media (min-width: 720px) {
  .install-bar { inset-inline: auto 20px; max-width: 440px; }
}
