/* ---- 28.10.2026: תפריט הנגישות של האתר (a11y.js) — כפתור צף ממש מתחת לסרגל העליון, משמאל; פאנל זכוכית כהה ---- */
.a11y { position: fixed; z-index: 19; top: calc(var(--a11y-top, 76px) + 12px); left: 16px; font-family: Rubik, Assistant, Arial, sans-serif; direction: rtl; }
.a11y-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgb(255 255 255 / 60%); border-radius: 50%; background: rgb(8 8 8 / 74%); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); color: #fff; transition: background-color .2s, border-color .2s, color .2s; }
.a11y-toggle svg { width: 26px; height: 26px; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .a11y-toggle:hover { border-color: var(--pink); } .a11y-option:hover span { color: var(--pink); } }   /* במגע :hover נתקע אחרי לחיצה */
.a11y[data-open] .a11y-toggle { background: var(--pink); border-color: var(--pink); color: #080808; }
.a11y-toggle:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.a11y[data-open] .a11y-toggle:focus-visible { outline-color: #fff; }
.a11y-panel { position: absolute; top: calc(100% + 10px); left: 0; width: min(300px, calc(100vw - 32px)); max-height: calc(100vh - var(--a11y-top, 76px) - 96px); max-height: calc(100svh - var(--a11y-top, 76px) - 96px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 12px; border: 1px solid rgb(255 255 255 / 14%); background: #0e0e0e; box-shadow: 0 24px 60px rgb(0 0 0 / 55%); text-align: start; }
.a11y-title { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: #fff; font-size: 20px; font-weight: 500; line-height: 1.3; }
.a11y-list { margin: 6px 0 0; padding: 0; list-style: none; }
.a11y-option { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 6px 2px; border: 0; background: transparent; color: #f2f2f2; font: 400 17px/1.3 Rubik, Assistant, Arial, sans-serif; text-align: start; }
.a11y-option svg { flex: none; width: 22px; height: 22px; color: #cfcfcf; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a11y-option[aria-pressed="true"] svg { color: var(--pink); }
.a11y-option:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.a11y-option[aria-disabled="true"] { cursor: default; }
.a11y-switch { position: relative; flex: none; width: 42px; height: 24px; margin-inline-start: auto; border: 1px solid #8a8a8a; border-radius: 12px; background: #262626; transition: background-color .2s, border-color .2s; }
.a11y-switch::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #d6d6d6; transition: inset-inline-start .2s, background-color .2s; }
.a11y-option[aria-pressed="true"] .a11y-switch { border-color: var(--pink); background: var(--pink); }
.a11y-option[aria-pressed="true"] .a11y-switch::after { inset-inline-start: 21px; background: #080808; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.a11y-reset, .a11y-statement { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; background: transparent; color: #d8d8d8; font: 400 16px/1.3 Rubik, Assistant, Arial, sans-serif; text-decoration: underline; text-decoration-color: #6a6a6a; text-underline-offset: 4px; }
.a11y-reset:hover, .a11y-statement:hover { color: var(--pink); text-decoration-color: currentColor; }
.a11y-reset:focus-visible, .a11y-statement:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
@media (max-width: 700px) {
  .a11y { top: calc(var(--a11y-top, 76px) + 10px); }
  .a11y-toggle { width: 44px; height: 44px; }
  .a11y-toggle svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-transparency: reduce) { .a11y-toggle { background: #0e0e0e; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* מ-768px: בסרגל העליון ליד "הירשם" (a11y.js ממקם), באותו סגנון כמו כפתורי החשבון */
.a11y[data-docked] { position: absolute; z-index: 1; }
.a11y[data-docked] .a11y-toggle { width: 44px; height: 44px; border-color: #727272; border-radius: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.a11y[data-docked] .a11y-toggle svg { width: 24px; height: 24px; }
.a11y[data-docked][data-open] .a11y-toggle { border-color: var(--pink); background: var(--pink); color: #080808; }
.a11y-hint { margin: 4px 0 0; color: #cfcfcf; font-size: 15px; line-height: 1.5; }
/* Windows High Contrast (forced colors): צבעי רקע נעלמים, אז המתג מצויר בצבעי המערכת */
@media (forced-colors: active) {
  .a11y-switch, .a11y-switch::after { forced-color-adjust: none; }
  .a11y-switch { border-color: CanvasText; background: Canvas; }
  .a11y-switch::after { background: CanvasText; }
  .a11y-option[aria-pressed="true"] .a11y-switch { border-color: Highlight; background: Highlight; }
  .a11y-option[aria-pressed="true"] .a11y-switch::after { background: HighlightText; }
}
/* קישור שמגיעים אליו בטאב נוחת מתחת לכפתור הצף — מוסיפים לו מרווח גלילה */
.recipes-profile { scroll-margin-top: 48px; }

/* ---- עצירת תנועה: כמו העדפת המכשיר — הסרטון, רצועת לפני/אחרי והמסע התלת-ממדי נעצרים דרך window.noiseReducedMotion ---- */
html[data-a11y-motion] { scroll-behavior: auto; }
html[data-a11y-motion] *, html[data-a11y-motion] *::before, html[data-a11y-motion] *::after { animation: none !important; transition: none !important; }
html[data-a11y-motion] .coach-section.reveal-ready [data-reveal] { opacity: 1; transform: none; }

/* ---- ניגודיות גבוהה: טקסט לבן מלא, ורוד בהיר יותר (7.7:1), קווים בהירים, בלי זוהר ורקעים מאחורי טקסט ---- */
html[data-a11y-contrast] { --pink: #ff6fa8; --line: #8a8a8a; --muted: #fff; }
html[data-a11y-contrast] body { background: #000; }
html[data-a11y-contrast] :is(p, li, label, address, figcaption, .studio-story, .step-text, .step-label, .journey-hint, .location-domain, .footer-a11y, .join-note, .join-sub, .recipes-profile, .results-swipe-note, .a11y-reset, .a11y-statement, .a11y-option) { color: #fff; }
html[data-a11y-contrast] :is(.coach-section, .nutrition-section, .join-section, .location-footer) { background: #000; }
html[data-a11y-contrast] :is(.join-ghost, .step-ghost, .journey-space) { display: none !important; }
html[data-a11y-contrast] :is(.is-3d .journey-stage) { background: #000; }
html[data-a11y-contrast] .site-header[data-scrolled]:not([data-menu-open]) { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: #8a8a8a; }
html[data-a11y-contrast] .join-field input { border-bottom-color: #fff; }
html[data-a11y-contrast] :is(.account-button, .location-link) { border-color: #fff; }
html[data-a11y-contrast] :is(.a11y-toggle, .a11y-panel) { background: #000; border-color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* בניגודיות גבוהה הטופס שומר על הסימנים שלו: שגיאה בוורוד בהיר, פוקוס ושדה שגוי בצבע משלהם */
html[data-a11y-contrast] :is(.join-error, .join-status) { color: #ff8fb6; }
html[data-a11y-contrast] .join-field:focus-within label { color: var(--pink); }
html[data-a11y-contrast] .join-field input:focus-visible { border-bottom-color: var(--pink); }
html[data-a11y-contrast] .join-field input[aria-invalid="true"] { border-bottom-color: #ff8fb6; }

/* ---- הדגשת קישורים: קו תחתון עבה לכל קישור טקסט, ומסגרת לקישורים שהם תמונה ---- */
html[data-a11y-links] a:not(.brand):not(.skip-link) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: currentColor; }
html[data-a11y-links] :is(.result-open, .recipe-cover, .recipes-profile-icon) { outline: 2px solid var(--pink); outline-offset: 3px; }
