/* נגישות: דילוג לתוכן, טקסט לקוראי מסך, תפריט נגישות ומצבי התצוגה שלו */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;top:8px;right:8px;z-index:1000;background:#0B1F3A;color:#fff;padding:12px 18px;border-radius:12px;font-weight:700;text-decoration:underline;transform:translateY(-200%)}
.skip:focus{transform:none;outline:3px solid #FFD84A;outline-offset:2px}
main:focus{outline:0}

.a11y-btn{position:fixed;bottom:16px;left:16px;z-index:900;width:56px;height:56px;border-radius:50%;border:3px solid #fff;background:#0B1F3A;color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.35);padding:0}
.a11y-btn svg{width:32px;height:32px;fill:currentColor}
.a11y-btn:focus-visible,.a11y-panel button:focus-visible,.a11y-panel a:focus-visible{outline:3px solid #FFD84A;outline-offset:2px}
.a11y-panel{position:fixed;bottom:84px;left:16px;z-index:900;width:min(300px,calc(100vw - 32px));max-height:calc(100vh - 110px);overflow:auto;background:#fff;color:#0B1F3A;border:2px solid #0B1F3A;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.35);padding:14px;font-family:Arial,sans-serif;font-size:17px;line-height:1.4;direction:rtl;text-align:right}
.a11y-panel[hidden]{display:none}
.a11y-panel .ttl{font-size:20px;font-weight:700;margin:0 0 10px}
.a11y-panel ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.a11y-panel button{width:100%;min-height:46px;font:inherit;font-weight:700;color:#0B1F3A;background:#fff;border:2px solid #0B1F3A;border-radius:12px;padding:8px 12px;cursor:pointer;text-align:right;display:flex;justify-content:space-between;align-items:center;gap:8px}
.a11y-panel button[aria-pressed="true"]{background:#0B1F3A;color:#fff}
.a11y-panel button .state{font-weight:400;font-size:15px}
.a11y-panel a{display:block;margin-top:12px;color:#0B1F3A;font-weight:700;text-decoration:underline;text-align:center;padding:6px}
@media print{.a11y-btn,.a11y-panel,.skip{display:none}}

/* הגדלת טקסט */
:root.a11y-zoom1 .wrap{zoom:1.15}
:root.a11y-zoom2 .wrap{zoom:1.3}
/* הפוטר יוצא לשולי הדף ב-16px; מקטינים את היציאה ביחס להגדלה כדי שלא תיווצר גלילה לצדדים */
:root.a11y-zoom1 footer{margin-left:calc(-16px / 1.15);margin-right:calc(-16px / 1.15)}
:root.a11y-zoom2 footer{margin-left:calc(-16px / 1.3);margin-right:calc(-16px / 1.3)}

/* ניגודיות גבוהה (הסקריפט קובע גם data-theme="light" כדי לבטל מצב כהה) */
:root.a11y-contrast[data-theme="light"]{
  --bg:#FFFFFF; --bg2:#FFFFFF; --ink:#000000; --muted:#1A1A1A; --card:#FFFFFF; --field:#FFFFFF; --plate:#FFFFFF;
  --teal:#005B5C; --teal-deep:#003F40; --teal-text:#003F40; --teal-hover:#002A2B;
  --line:#000000; --field-line:#000000; --mint:#FFFFFF; --sand:#FFFFFF; --sky:#FFFFFF;
  --yellow:#FFE600; --on-yellow:#000000; --err:#8B0000; --shadow:none; color-scheme:light}
:root.a11y-contrast .track,:root.a11y-contrast .price,:root.a11y-contrast .times li{border:2px solid #000}
:root.a11y-contrast .track.on{border-width:5px}
:root.a11y-contrast .photo{background:#000}
:root.a11y-contrast .btn.wa{background:#0A5C3A}
:root.a11y-contrast .btn{box-shadow:none}

/* הדגשת קישורים וכפתורים */
:root.a11y-links a{text-decoration:underline!important;text-decoration-thickness:3px!important;outline:2px solid currentColor;outline-offset:2px}
:root.a11y-links .btn,:root.a11y-links .track{outline:3px solid var(--ink);outline-offset:2px}

/* גופן קריא */
:root.a11y-font{--f-display:Arial,Helvetica,sans-serif; --f-body:Arial,Helvetica,sans-serif}
:root.a11y-font body{letter-spacing:.02em;word-spacing:.08em;line-height:1.7}

/* עצירת אנימציות ותנועה */
:root.a11y-still{scroll-behavior:auto}
:root.a11y-still *,:root.a11y-still *::before,:root.a11y-still *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
:root.a11y-still .track:hover{transform:none}
