/* כפתור נגישות צף, הודעת עוגיות, ואפקטי הנגישות (מחלקות a11y-* על ה-html) */
.a11y-root{position:fixed;z-index:9998;font:16px/1.4 Arial,Helvetica,sans-serif;direction:rtl}
.a11y-pos-tr{top:var(--a11y-y,16px);right:16px}
.a11y-pos-mr{top:calc(50% - 24px);right:16px}
.a11y-pos-br{bottom:calc(var(--a11y-y,16px) + var(--consent-h,0px));right:16px}
.a11y-pos-tl{top:var(--a11y-y,16px);left:16px}
.a11y-pos-ml{top:calc(50% - 24px);left:16px}
.a11y-pos-bl{bottom:calc(var(--a11y-y,16px) + var(--consent-h,0px));left:16px}
.a11y-btn{width:48px;height:48px;border-radius:50%;border:2px solid #fff;background:var(--a11y-bg,#1A1A1A);color:var(--a11y-ink,#fff);display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.a11y-btn:focus-visible,.a11y-tool:focus-visible,.a11y-close:focus-visible,.a11y-reset:focus-visible,.a11y-foot a:focus-visible{outline:3px solid #e6a100;outline-offset:2px}
.a11y-panel{position:fixed;width:300px;max-width:calc(100vw - 16px);max-height:calc(100vh - 32px);overflow:auto;background:#fff;color:#111;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.35);padding:12px;box-sizing:border-box;z-index:9999}
.a11y-panel[hidden]{display:none}
.a11y-pos-tr .a11y-panel{top:var(--a11y-y,16px);right:76px}
.a11y-pos-mr .a11y-panel{top:50%;right:76px;transform:translateY(-50%)}
.a11y-pos-br .a11y-panel{bottom:calc(var(--a11y-y,16px) + var(--consent-h,0px));right:76px}
.a11y-pos-tl .a11y-panel{top:var(--a11y-y,16px);left:76px}
.a11y-pos-ml .a11y-panel{top:50%;left:76px;transform:translateY(-50%)}
.a11y-pos-bl .a11y-panel{bottom:calc(var(--a11y-y,16px) + var(--consent-h,0px));left:76px}
.a11y-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:17px}
.a11y-close{background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:#111;padding:0 6px}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-tool{min-height:44px;padding:6px 8px;border:1px solid #bdbdbd;border-radius:8px;background:#f4f4f4;color:#111;font:14px/1.2 Arial,Helvetica,sans-serif;cursor:pointer}
.a11y-tool[aria-pressed="true"]{background:var(--a11y-bg,#1A1A1A);color:var(--a11y-ink,#fff);border-color:var(--a11y-bg,#1A1A1A)}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;font-size:14px}
.a11y-foot a{color:#0b4fa8}
.a11y-reset{background:none;border:1px solid #888;border-radius:8px;padding:6px 10px;font:14px Arial,Helvetica,sans-serif;cursor:pointer;color:#111}
@media (max-width:520px){
  .a11y-panel{left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;width:auto;max-width:none;transform:none!important;max-height:75vh}
}

/* הודעת עוגיות */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:9997;background:#1f1b19;color:#fff;padding:14px 18px;display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;justify-content:center;font:15px/1.5 Arial,Helvetica,sans-serif;direction:rtl;box-shadow:0 -2px 12px rgba(0,0,0,.3)}
.consent[hidden]{display:none}
.consent p{margin:0;max-width:80ch}
.consent a{color:#fff;text-decoration:underline}
.consent-btns{display:flex;gap:10px}
.consent button{min-height:44px;padding:8px 22px;border-radius:8px;border:2px solid #fff;font:700 15px Arial,Helvetica,sans-serif;cursor:pointer}
.consent-yes{background:#fff;color:#1f1b19}
.consent-no{background:transparent;color:#fff}
.consent button:focus-visible,.consent a:focus-visible{outline:3px solid #e6a100;outline-offset:2px}

/* אפקטי נגישות */
html.a11y-fs-m1{font-size:90%}html.a11y-fs-m1 body{font-size:15px}
html.a11y-fs-1{font-size:112%}html.a11y-fs-1 body{font-size:19px}
html.a11y-fs-2{font-size:125%}html.a11y-fs-2 body{font-size:21px}
html.a11y-fs-3{font-size:140%}html.a11y-fs-3 body{font-size:24px}
html.a11y-gray body>*:not(.a11y-root){filter:grayscale(1)}
html.a11y-invert,html.a11y-invert body{background:#0b0b0b!important}
html.a11y-invert body>*:not(.a11y-root){filter:invert(1) hue-rotate(180deg)}
html.a11y-invert body>*:not(.a11y-root) :is(img,video,picture,iframe){filter:invert(1) hue-rotate(180deg)}
html.a11y-contrast body :not(.a11y-root):not(.a11y-root *){background:#000!important;background-image:none!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-contrast body a:not(.a11y-root a){color:#ff0!important}
html.a11y-light body :not(.a11y-root):not(.a11y-root *){background:#fff!important;background-image:none!important;color:#000!important;border-color:#000!important;box-shadow:none!important;text-shadow:none!important}
html.a11y-light body a:not(.a11y-root a){color:#0000cc!important}
html.a11y-font body :not(.a11y-root):not(.a11y-root *){font-family:Arial,Helvetica,sans-serif!important}
html.a11y-lines body :not(.a11y-root):not(.a11y-root *){line-height:2!important;letter-spacing:.03em!important;word-spacing:.12em!important}
html.a11y-heads body :is(h1,h2,h3,h4,h5,h6):not(.a11y-root *){background:#fff3c4!important;color:#000!important;outline:3px solid #e6a100;outline-offset:2px}
html.a11y-links body a:not(.a11y-root a){background:#ff0!important;color:#000!important;text-decoration:underline!important;outline:2px solid #000}
html.a11y-focus body :focus{outline:4px solid #e6a100!important;outline-offset:3px!important}
html.a11y-anim *,html.a11y-anim *::before,html.a11y-anim *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-noimg body :is(img,picture,video):not(.a11y-root *){visibility:hidden}
html.a11y-noimg body :not(.a11y-root):not(.a11y-root *){background-image:none!important}
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M3 2l7 19 3-8 8-3z' fill='black' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 4 2,auto!important}
@media (prefers-reduced-motion:reduce){.a11y-btn{transition:none}}
html.a11y-contrast,html.a11y-contrast body{background:#000!important;color:#fff!important}
html.a11y-light,html.a11y-light body{background:#fff!important;color:#000!important}

/* גובה שונה בנייד */
@media (max-width:600px){
.a11y-pos-tr,.a11y-pos-tr .a11y-panel,.a11y-pos-tl,.a11y-pos-tl .a11y-panel{top:var(--a11y-ym,16px)}
.a11y-pos-br,.a11y-pos-br .a11y-panel,.a11y-pos-bl,.a11y-pos-bl .a11y-panel{bottom:calc(var(--a11y-ym,16px) + var(--consent-h,0px))}
}

/* כפתור צף: חיוג ווואטסאפ */
.fab-root{position:fixed;z-index:9997;font:16px/1.4 Arial,Helvetica,sans-serif;direction:rtl}
.fab-pos-tr{top:var(--fab-y,16px);right:16px}
.fab-pos-mr{top:calc(50% - 28px);right:16px}
.fab-pos-br{bottom:calc(var(--fab-y,16px) + var(--consent-h,0px));right:16px}
.fab-pos-tl{top:var(--fab-y,16px);left:16px}
.fab-pos-ml{top:calc(50% - 28px);left:16px}
.fab-pos-bl{bottom:calc(var(--fab-y,16px) + var(--consent-h,0px));left:16px}
.fab-btn{width:56px;height:56px;border-radius:50%;border:2px solid #fff;background:var(--fab-bg,#0E7A3A);color:var(--fab-ink,#fff);display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;box-shadow:0 3px 12px rgba(0,0,0,.35);text-decoration:none}
.fab-btn:focus-visible,.fab-item:focus-visible{outline:3px solid #e6a100;outline-offset:2px}
.fab-menu{position:absolute;display:flex;flex-direction:column;gap:8px;min-width:150px}
.fab-menu[hidden]{display:none}
.fab-pos-tr .fab-menu,.fab-pos-tl .fab-menu,.fab-pos-mr .fab-menu,.fab-pos-ml .fab-menu{top:64px}
.fab-pos-br .fab-menu,.fab-pos-bl .fab-menu{bottom:64px}
.fab-pos-tr .fab-menu,.fab-pos-mr .fab-menu,.fab-pos-br .fab-menu{right:0}
.fab-pos-tl .fab-menu,.fab-pos-ml .fab-menu,.fab-pos-bl .fab-menu{left:0}
.fab-item{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:28px;color:#fff;text-decoration:none;font-weight:700;box-shadow:0 3px 12px rgba(0,0,0,.3);background:#0E7A3A}
.fab-item.fab-ph{background:var(--fab-bg,#0E7A3A);color:var(--fab-ink,#fff)}
.fab-item svg{flex:none}
@media (min-width:601px){.fab-show-mobile{display:none}}
@media (max-width:600px){
.fab-show-desktop{display:none}
.fab-pos-tr,.fab-pos-tl{top:var(--fab-ym,16px)}
.fab-pos-br,.fab-pos-bl{bottom:calc(var(--fab-ym,16px) + var(--consent-h,0px))}
}
