/* BROSH Experiences — עיצוב הדפים הציבוריים.
 *
 * ── כיוון ─────────────────────────────────────────────────────────────────
 * רקע לבן נקי, והתמונות הן הגיבור. הכרטיס בלי מסגרת ובלי צל — רק תמונה
 * מעוגלת וטקסט מתחתיה, כמו במרקטפלייסים של תיירות. בריחוף, התמונה הראשית
 * מתחלפת בפריסת 2×2 של ארבע תמונות מהחוויה.
 *
 * הצבעים והפונטים נגזרו מהאתר הקיים (tailwind.config ב-landing.html) כדי
 * שהמרקטפלייס יהיה המשך של הבריכה — אבל הם משמשים כהדגשה בלבד, לא כרקע.
 *
 * CSS רגיל ולא Tailwind מ-CDN: האבחון סימן את ה-CDN כבעיית ביצועים.
 */

.bx {
  --lime: #e0e132;
  --dark: #031e29;
  --ink: #0e3944;
  --muted: #6b7f88;
  --line: #e6ebed;
  --sky-deep: #1e88c4;
  --green: #11bc6d;
  --wa: #25d366;
  --white: #fff;
  --r-img: 14px;
  --r-pill: 999px;

  direction: rtl;
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

.bx *, .bx *::before, .bx *::after { box-sizing: border-box; }
.bx a { color: inherit; text-decoration: none; }
.bx img { max-width: 100%; display: block; }
.bx-wrap { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

.bx h1, .bx h2, .bx h3 {
  font-family: 'Fredoka', 'Heebo', sans-serif;
  color: var(--dark); margin: 0; line-height: 1.15; text-wrap: balance;
}
.bx h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 600; }
.bx h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 600; }

/* ── ראש דף הגילוי ──────────────────────────────────────────────────────── */
.bx-hero { padding: 34px 0 6px; }
.bx-hero p { color: var(--muted); font-size: 1.02rem; margin: 8px 0 0; }

/* ── שורת קטגוריות ──────────────────────────────────────────────────────── */
.bx-cats {
  display: flex; gap: 8px; overflow-x: auto; padding: 20px 0 6px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bx-cats::-webkit-scrollbar { display: none; }
.bx-chip {
  flex: 0 0 auto; padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
  min-height: 40px; display: inline-flex; align-items: center;
  transition: border-color .15s, background .15s;
}
@media (hover: hover) { .bx-chip:hover { border-color: var(--dark); } }
.bx-chip[aria-current="true"] { background: var(--dark); border-color: var(--dark); color: var(--white); }

/* ── רשת ────────────────────────────────────────────────────────────────── */
.bx-grid {
  display: grid; gap: 26px 20px; padding: 22px 0 48px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* ── כרטיס: תמונה מעוגלת + טקסט. בלי מסגרת, בלי צל. ─────────────────────── */
.bx-card { display: block; }
.bx-media {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-img);
  overflow: hidden; background: #f2f6f7;
}
.bx-media img { width: 100%; height: 100%; object-fit: cover; }
.bx-media-empty {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 44px; background: linear-gradient(140deg, #eef7fa, #e2f0f5);
}

/* התמונה הראשית והפסיפס יושבים זה על זה; הריחוף מחליף ביניהם. */
.bx-cover, .bx-mosaic {
  position: absolute; inset: 0;
  transition: opacity .22s ease;
}
.bx-mosaic {
  opacity: 0; display: grid; gap: 3px;
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
}
.bx-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* רק כשיש באמת מספיק תמונות, ורק במכשיר עם עכבר — במגע אין "ריחוף". */
@media (hover: hover) and (pointer: fine) {
  .bx-media.has-mosaic:hover .bx-cover { opacity: 0; }
  .bx-media.has-mosaic:hover .bx-mosaic { opacity: 1; }
}

.bx-badges { position: absolute; inset-inline-start: 10px; top: 10px; display: flex; gap: 6px; z-index: 2; }
.bx-badge {
  padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
  background: var(--white); color: var(--dark); box-shadow: 0 2px 8px rgba(3,30,41,.16);
}
.bx-badge.is-new { background: var(--green); color: var(--white); }
.bx-badge.is-brosh { background: var(--lime); }

.bx-body { padding: 11px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.bx-title { font-size: 15.5px; font-weight: 600; color: var(--dark); line-height: 1.35; }
.bx-meta { font-size: 14px; color: var(--muted); }
.bx-meta span + span::before { content: ' · '; }
.bx-price { font-size: 14px; color: var(--ink); }
.bx-price b { font-weight: 700; color: var(--dark); }

/* ── מצב ריק ────────────────────────────────────────────────────────────── */
.bx-empty {
  text-align: center; padding: 56px 20px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--r-img);
}
.bx-empty span { font-size: 40px; display: block; margin-bottom: 10px; }

/* ── דף חוויה ───────────────────────────────────────────────────────────── */
.bx-single { padding: 22px 0 60px; }
.bx-stage {
  display: grid; gap: 6px; margin-bottom: 24px;
  grid-template-columns: 1fr; border-radius: var(--r-img); overflow: hidden;
}
@media (min-width: 760px) {
  .bx-stage { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .bx-stage > :first-child { grid-row: span 2; }
  .bx-stage > :nth-child(n+4) { display: block; }
}
.bx-stage > * { aspect-ratio: 4 / 3; background: #f2f6f7; }
@media (min-width: 760px) { .bx-stage > :first-child { aspect-ratio: 3 / 2; } }
.bx-stage img { width: 100%; height: 100%; object-fit: cover; }

.bx-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.bx-provider { font-size: 14.5px; color: var(--muted); }
.bx-provider a { color: var(--sky-deep); font-weight: 600; }

.bx-layout { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bx-layout { grid-template-columns: 1fr 330px; align-items: start; } }

.bx-facts {
  display: grid; gap: 18px 14px; margin: 0 0 28px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.bx-fact dt { font-size: 13px; color: var(--muted); margin-bottom: 1px; }
.bx-fact dd { margin: 0; font-weight: 600; color: var(--dark); font-size: 15px; }

.bx-sec { margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.bx-sec:last-child { border-bottom: 0; }
.bx-sec h2 { margin-bottom: 12px; }
.bx-sec p { margin: 0 0 12px; max-width: 66ch; }
.bx-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bx-list li { padding-inline-start: 25px; position: relative; }
.bx-list li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 700; }
.bx-list.is-not li::before { content: '✕'; color: var(--muted); }

/* ── כרטיס הפנייה ───────────────────────────────────────────────────────── */
.bx-book {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 18px; box-shadow: 0 8px 30px -22px rgba(3,30,41,.5);
}
@media (min-width: 900px) { .bx-book { position: sticky; top: 22px; } }
.bx-book .bx-price { font-size: 1.35rem; display: block; margin-bottom: 15px; }

.bx-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 50px; padding: 13px 20px; border: 0;
  border-radius: var(--r-pill); font-family: inherit; font-size: 16px; font-weight: 700;
  cursor: pointer; margin-bottom: 9px;
  transition: filter .15s ease, transform .12s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.bx-btn:active { transform: scale(.98); }
@media (hover: hover) { .bx-btn:hover { filter: brightness(1.05); } }
.bx-btn.is-wa { background: var(--wa); color: var(--white); }
.bx-btn.is-call { background: var(--dark); color: var(--white); }
.bx-btn.is-ghost { background: var(--white); color: var(--dark); border: 1.5px solid var(--line); }
.bx-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 6px 0 0; }

/* ── סרגל תחתון במובייל ─────────────────────────────────────────────────── */
.bx-sticky {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  background: var(--white); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 -6px 24px -14px rgba(3,30,41,.35);
}
.bx-sticky .bx-price { font-size: 1rem; white-space: nowrap; }
.bx-sticky .bx-btn { margin: 0; flex: 1; min-height: 46px; font-size: 15px; }
@media (min-width: 900px) { .bx-sticky { display: none; } }
@media (max-width: 899px) { .bx-single { padding-bottom: 96px; } }

/* ── דף עסק ─────────────────────────────────────────────────────────────── */
.bx-biz-head { display: flex; gap: 16px; align-items: center; margin-bottom: 6px; }
.bx-logo {
  width: 74px; height: 74px; border-radius: 20px; object-fit: cover;
  border: 1px solid var(--line); background: var(--white); flex: 0 0 auto;
}
.bx-contact { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 28px; }
.bx-contact .bx-btn { width: auto; flex: 0 1 auto; min-width: 150px; margin: 0; }

.bx-crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.bx-crumbs a { color: var(--sky-deep); }
.bx-crumbs span { margin: 0 6px; opacity: .55; }

@media (prefers-reduced-motion: reduce) {
  .bx *, .bx *::before, .bx *::after { transition: none !important; animation: none !important; }
}

/* ── פורטל בעלי העסקים ─────────────────────────────────────────────────────
 * אותה שפה כמו הדפים הציבוריים — רקע לבן, בלי מסגרות כבדות — אבל צפוף
 * יותר, כי זה מסך עבודה ולא ויטרינה. הטפסים עובדים גם בלי JavaScript.
 */
.bx-portal {
  --lime: #e0e132;
  --dark: #031e29;
  --ink: #0e3944;
  --muted: #6b7f88;
  --line: #e6ebed;
  --green: #11bc6d;
  --warn: #b8860b;
  --danger: #c0392b;

  direction: rtl;
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}

.bx-portal-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.bx-portal-head h2 { margin: 0; font-size: clamp(22px, 4vw, 30px); font-weight: 800; }

.bx-chip {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: #eef2f4; color: var(--muted);
}
.bx-chip-approved { background: #e4f8ee; color: #0a7a46; }
.bx-chip-pending  { background: #fdf3dd; color: #8a6200; }
.bx-chip-rejected, .bx-chip-suspended { background: #fbe9e7; color: #a5291b; }
.bx-chip-changes  { background: #eaf2fd; color: #17558f; }

.bx-portal-nav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 18px 0 22px; }
.bx-tab {
  padding: 10px 16px; text-decoration: none; color: var(--muted);
  font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.bx-tab:hover { color: var(--ink); }
.bx-tab.is-active { color: var(--ink); border-bottom-color: var(--dark); }

.bx-msg { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.bx-msg-ok  { background: #e4f8ee; color: #0a7a46; }
.bx-msg-err { background: #fbe9e7; color: #a5291b; }
.bx-msg-why { display: block; font-weight: 400; font-size: 14px; opacity: .85; margin-top: 4px; }

.bx-card-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 20px; }
.bx-card-panel h3 { margin: 0 0 14px; font-size: 19px; font-weight: 700; }
.bx-card-panel h4 { margin: 22px 0 10px; font-size: 16px; font-weight: 700; }
.bx-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bx-panel-head h3 { margin: 0; }

.bx-hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.bx-hint-warn { color: var(--warn); }

.bx-steps { list-style: none; margin: 0; padding: 0; }
.bx-steps li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.bx-steps li:last-child { border-bottom: 0; }
.bx-steps li.is-done { color: var(--muted); }
.bx-step-mark { width: 22px; text-align: center; font-weight: 700; color: var(--muted); }
.bx-steps li.is-done .bx-step-mark { color: var(--green); }

.bx-form { display: flex; flex-wrap: wrap; gap: 14px; }
.bx-field { display: flex; flex-direction: column; gap: 5px; flex: 1 1 240px; }
.bx-field-wide { flex-basis: 100%; }
.bx-field > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.bx-field input, .bx-field textarea, .bx-field select {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; font: inherit; color: inherit; background: #fff;
}
.bx-field input:focus, .bx-field textarea:focus, .bx-field select:focus {
  outline: 2px solid var(--dark); outline-offset: 1px; border-color: var(--dark);
}
.bx-actions { flex-basis: 100%; margin-top: 6px; }

.bx-btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px; border: 0;
  background: var(--dark); color: #fff; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.bx-btn:hover { opacity: .9; }
.bx-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.bx-link { color: var(--ink); font-weight: 600; }

.bx-exp-list { list-style: none; margin: 0; padding: 0; }
.bx-exp-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bx-exp-row:last-child { border-bottom: 0; }
.bx-exp-thumb { flex: 0 0 64px; }
.bx-exp-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.bx-exp-noimg {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 64px; height: 64px; border-radius: 10px; background: #f4f7f8;
  color: var(--muted); font-size: 11px;
}
.bx-exp-main { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bx-exp-act { flex: 0 0 auto; }

.bx-thumb img { max-width: 220px; height: auto; border-radius: 12px; display: block; margin-bottom: 8px; }
.bx-media-box { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 6px; }
.bx-media-grid {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
}
.bx-media-grid li { position: relative; }
.bx-media-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.bx-media-flag {
  position: absolute; top: 6px; inset-inline-start: 6px; background: var(--lime);
  color: var(--dark); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.bx-media-grid form { display: flex; gap: 6px; margin-top: 6px; }
.bx-mini {
  flex: 1 1 auto; padding: 4px 8px; font: inherit; font-size: 12px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
}
.bx-mini-danger { color: var(--danger); }
.bx-upload {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px dashed var(--line); border-radius: 12px; padding: 16px; background: #fcfdfd;
}
.bx-upload .bx-hint { flex-basis: 100%; margin: 0; }
.bx-upload input[type=file] { flex: 1 1 200px; min-width: 0; font: inherit; }

.bx-status-box { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }
.bx-portal-gate { text-align: center; padding: 48px 16px; }
.bx-portal-gate h2 { font-size: 24px; font-weight: 800; margin: 0 0 8px; }

@media (max-width: 560px) {
  .bx-exp-row { align-items: flex-start; }
  .bx-exp-act { width: 100%; }
  .bx-exp-act .bx-btn { display: block; text-align: center; }
}

.bx-danger-box { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.bx-danger-box .bx-mini { width: auto; padding: 6px 14px; }

/* ── נייד ──────────────────────────────────────────────────────────────────
 * ג'וני בדק בטלפון, ורוב בעלי העסקים ינהלו משם. שלושה דברים שמשנים בפועל:
 *  · 16px בשדות — ספארי ב-iOS מזום פנימה אוטומטית על שדה קטן מזה, והמשתמש
 *    נשאר עם דף מוגדל שאי אפשר לצאת ממנו בלי לצבוט
 *  · 44px גובה מינימלי לכל דבר שנלחץ — תקן אזור המגע
 *  · לשוניות שנגללות לרוחב במקום להישבר לשתי שורות
 */
@media (max-width: 640px) {
  .bx-portal { padding: 4px 12px 40px; }
  .bx-portal-nav {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bx-portal-nav::-webkit-scrollbar { display: none; }
  .bx-tab { white-space: nowrap; padding: 12px 14px; }
  .bx-card-panel { padding: 16px 14px; border-radius: 14px; }
  .bx-field input, .bx-field textarea, .bx-field select { font-size: 16px; padding: 12px; }
  .bx-btn { width: 100%; text-align: center; padding: 14px 22px; }
  .bx-panel-head .bx-btn { width: auto; padding: 10px 18px; }
  .bx-actions .bx-btn { width: 100%; }
  .bx-media-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .bx-upload { padding: 14px 12px; }
  .bx-upload .bx-btn { width: 100%; }
}

/* אזור מגע: כל כפתור נלחץ מקבל גובה אמיתי, גם המיניים שמתחת לתמונות */
.bx-btn, .bx-mini, .bx-tab { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.bx-media-grid .bx-mini { min-height: 36px; }
.bx-btn:active, .bx-mini:active { transform: scale(.97); }

/* ═══ עמוד הגילוי — מובייל תחילה ═══════════════════════════════════════════
 * דפוסי הדפדוף שאולים מאפליקציות תיירות: חיפוש מעוגל בראש, פס קטגוריות
 * נגלל, ומקטעים שנגללים לרוחב. השפה החזותית היא של ברוש — ליים וכהה על
 * לבן, גופן Heebo — ולא של אף מותג אחר.
 *
 * מובייל תחילה בפועל: הכללים הבסיסיים הם של הטלפון, והמדיה-קוורי מרחיב
 * לשולחן. ההפך היה נותן לטלפון — המכשיר של רוב הגולשים — לרשת את הפשרות.
 */
.bx {
  --pad: 16px;
  background: var(--white);
  padding-bottom: 48px;
}

/* ── ראש העמוד ── */
.bx-top { position: sticky; top: 0; z-index: 20; background: var(--white); padding: 10px var(--pad) 8px; }
.bx-top-row { display: flex; align-items: center; gap: 10px; }
.bx-top-back, .bx-top-filter {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.bx-top-back svg, .bx-top-filter svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.bx-top-filter circle { fill: var(--white); }

.bx-search { flex: 1 1 auto; min-width: 0; position: relative; }
.bx-search input {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); background: var(--white);
  border-radius: 999px; padding: 10px 20px 22px; font: inherit; font-size: 16px; font-weight: 600;
  text-align: center; color: var(--ink);
  box-shadow: 0 2px 10px rgba(3, 30, 41, .07);
}
.bx-search input::placeholder { color: var(--ink); opacity: 1; }
.bx-search input:focus { outline: 2px solid var(--dark); outline-offset: 1px; }
.bx-search-sub {
  position: absolute; inset-inline: 0; bottom: 7px; text-align: center;
  font-size: 12.5px; color: var(--muted); pointer-events: none;
}

/* ── פס הקטגוריות ── */
.bx-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--pad);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.bx-chips::-webkit-scrollbar { display: none; }
.bx-chip {
  flex: 0 0 auto; white-space: nowrap; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--white);
  min-height: 40px; display: inline-flex; align-items: center;
}
.bx-chip.is-on { background: var(--dark); border-color: var(--dark); color: var(--white); }
.bx-chip:active { transform: scale(.97); }

/* ── מקטע נגלל ── */
.bx-rail-wrap { padding: 14px 0 6px; }
.bx-rail-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 0 var(--pad) 12px;
}
.bx-rail-head h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.2px; }
.bx-rail-more {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
}
.bx-rail-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bx-rail {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--pad) 6px;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: none;
}
.bx-rail::-webkit-scrollbar { display: none; }
.bx-rail > .bx-c { flex: 0 0 63%; max-width: 260px; scroll-snap-align: start; }

/* ── כרטיס ── */
.bx-c { position: relative; }
.bx-c-media { position: relative; border-radius: var(--r-img); overflow: hidden; background: #f2f6f7; }
.bx-c-link { display: block; width: 100%; height: 100%; }
.bx-c-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-c-noimg {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 34px;
}
.bx-c--card .bx-c-media { aspect-ratio: 1; }
.bx-c--card .bx-c-body { padding: 10px 2px 0; }

.bx-c-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; }
.bx-c-badge {
  background: rgba(255, 255, 255, .94); color: var(--dark);
  border-radius: 999px; padding: 4px 11px; font-size: 12.5px; font-weight: 700;
  box-shadow: 0 1px 4px rgba(3, 30, 41, .12);
}
.bx-c-badge.is-benefit { background: var(--lime); }
.bx-c-badge.is-hot { background: var(--dark); color: var(--white); }

.bx-c-fav {
  position: absolute; top: 8px; inset-inline-end: 8px;
  width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.bx-c-fav svg {
  width: 24px; height: 24px; fill: rgba(3, 30, 41, .35);
  stroke: #fff; stroke-width: 1.7; stroke-linejoin: round;
  transition: fill .15s ease, transform .15s ease;
}
.bx-c-fav[aria-pressed="true"] svg { fill: #e0245e; }
.bx-c-fav:active svg { transform: scale(.85); }

.bx-c-title {
  display: block; font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--ink);
  text-decoration: none; margin: 0 0 3px;
}
.bx-c-meta, .bx-c-rating, .bx-c-price, .bx-c-near { margin: 0; font-size: 14px; color: var(--muted); }
.bx-c-rating { color: var(--ink); }
.bx-c-price { color: var(--ink); font-weight: 600; margin-top: 2px; }
.bx-c-near { color: var(--sky-deep); font-weight: 600; }

/* שורה אנכית */
.bx-c--row { display: flex; gap: 12px; align-items: flex-start; }
.bx-c--row .bx-c-media { flex: 0 0 118px; aspect-ratio: 1; }
.bx-c--row .bx-c-body { flex: 1 1 auto; min-width: 0; padding-top: 2px; }
.bx-c--row .bx-c-title { font-size: 17px; }
.bx-c--row .bx-c-badge { font-size: 11.5px; padding: 3px 9px; }
.bx-c--row .bx-c-fav { width: 30px; height: 30px; top: 4px; inset-inline-end: 4px; }
.bx-c--row .bx-c-fav svg { width: 19px; height: 19px; }

/* ── רשימה ── */
.bx-list-wrap { padding: 22px var(--pad) 0; }
.bx-list-head { margin: 0 0 14px; font-size: 22px; font-weight: 800; }
.bx-list-head span { color: var(--muted); font-weight: 600; font-size: 17px; }
.bx-list { display: grid; gap: 20px; }
.bx-pages { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 26px 0 0; }

.bx-empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.bx-empty span { font-size: 34px; display: block; margin-bottom: 10px; }
.bx-empty a { color: var(--sky-deep); font-weight: 600; }

/* ── שולחן ── */
@media (min-width: 720px) {
  .bx { --pad: 28px; }
  .bx-top { position: static; padding-top: 22px; }
  .bx-search input { font-size: 17px; }
  .bx-rail > .bx-c { flex-basis: 30%; max-width: 300px; }
  .bx-rail-head h2, .bx-list-head { font-size: 25px; }
  .bx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
}
@media (min-width: 1080px) {
  .bx { --pad: 40px; }
  .bx > * { max-width: 1180px; margin-inline: auto; }
  .bx-rail > .bx-c { flex-basis: 23%; }
  .bx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* הלב נחשף רק אחרי ש-brosh-exp-fav.js רץ. בלי JavaScript אין כפתור מת. */
.bx-c-fav { display: none; }
.bx-has-fav .bx-c-fav { display: inline-flex; }

/* ═══ מסך מלא על רקע לבן ═══════════════════════════════════════════════════
 * ערכת הבלוקים עוטפת את התוכן במיכל צר עם רקע משלה, ולכן העמוד נראה ככרטיס
 * על רקע אפור. מבטלים את המגבלה במקום לשבור החוצה עם 100vw — שובר-רוחב כזה
 * מייצר גלישה אופקית ברגע שיש פס גלילה, וזו בדיוק התקלה שהכי נראית בנייד.
 */
/* קטע WPCode חיצוני (מחוץ לתוסף) מגדיר body{background:var(--ivory)!important}
 * — הרקע הקרם של כל האתר. אנחנו לא נוגעים בו: הוא נכון לשאר הדפים. כדי לנצח
 * !important צריך !important, ולכן העקיפה כאן מכוונת ומוגבלת לעמודים שלנו
 * בלבד, עם ספציפיות גבוהה יותר (body.brosh-exp-full). */
body.brosh-exp-full,
.brosh-exp-full .wp-site-blocks,
.brosh-exp-full main,
.brosh-exp-full .entry-content,
.brosh-exp-full .wp-block-post-content {
  background: #fff !important;
  background-color: #fff !important;
}

.brosh-exp-full .wp-block-post-content,
.brosh-exp-full .entry-content,
.brosh-exp-full .wp-block-group.has-global-padding {
  max-width: none;
  width: auto;
  margin-inline: 0;
  padding-inline: 0;
}
/* בלוקים פנימיים בערכה יורשים לעתים רוחב מוגבל דרך :where() — מאפסים */
.brosh-exp-full .wp-block-post-content > .bx { max-width: none; }

/* ── שבבי קטגוריה עם אייקון ── */
.bx-chip { gap: 7px; }
.bx-chip .bx-icon { flex: 0 0 auto; opacity: .75; }
.bx-chip.is-on .bx-icon { opacity: 1; }
.bx-chip-more { font-weight: 700; }

/* חלון "כל הקטגוריות" — <details> רגיל, עובד בלי JavaScript */
.bx-more { margin: 0 var(--pad) 6px; }
.bx-more > summary {
  list-style: none; cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--ink);
}
.bx-more > summary::-webkit-details-marker { display: none; }
.bx-more > summary::after { content: ' ▾'; color: var(--muted); }
.bx-more[open] > summary::after { content: ' ▴'; }
.bx-more-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px; padding-bottom: 12px;
}
.bx-more-item {
  display: flex; align-items: center; gap: 9px; min-height: 48px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; background: #fff;
}
.bx-more-item .bx-icon { flex: 0 0 auto; opacity: .7; }
.bx-more-item.is-on { border-color: var(--dark); background: #f7fafb; }
.bx-more-item:active { transform: scale(.98); }

.bx-list-sub { margin: -8px 0 18px; color: var(--muted); font-size: 15px; max-width: 46ch; }
