/* ALZ accessibility preferences widget 1.0.0 - aleshelzait.co.il
   Part 1: the button and the panel. Part 2: what each setting does (classes on <html>).
   All sizes in px on purpose: the widget itself does not grow with the text-size setting. */

/* ---------- 1. the widget ---------- */
#alz-a11y{font:400 16px/1.4 Assistant,Arial,"Helvetica Neue",Helvetica,sans-serif;color:#1a1a1a;text-transform:none;letter-spacing:normal;text-align:right;direction:rtl}
#alz-a11y *,#alz-a11y *::before,#alz-a11y *::after{box-sizing:border-box}
#alz-a11y button,#alz-a11y a{font:inherit;text-transform:none;letter-spacing:normal;text-decoration:none;white-space:normal;transition:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}

/* position. Mobile (up to 650px): bottom-right corner; the call button sits right above it (set in the site's Additional CSS).
   651px and up: right above the MyPrice badge (150x130, right:20px, bottom:0) - same centre line, 10px gap. */
#alz-a11y-trigger{position:fixed;right:12px;bottom:12px;z-index:2147483640;display:flex;align-items:center;justify-content:center;width:55px;height:55px;margin:0;padding:0;border:2px solid #fff;border-radius:50%;background:#032f1d;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.4);cursor:pointer}
#alz-a11y-trigger:hover,#alz-a11y-trigger:focus{background:#0b4a30;color:#fff}
#alz-a11y-trigger:focus-visible{outline:3px solid #fff;outline-offset:0;box-shadow:0 0 0 6px #0b57d0}
#alz-a11y-trigger svg{display:block;width:30px;height:30px;fill:currentColor}
/* a narrow window on a desktop computer: the MyPrice badge is there too (it is hidden on phones), so stay above it */
@media (max-width:650px){
body:has(> img.step1) #alz-a11y-trigger{bottom:140px}
body:has(> #step2:not([style*="display:none"]):not([style*="display: none"])) #alz-a11y-trigger{bottom:min(390px,calc(100vh - 130px))}
}
@media (min-width:651px){
#alz-a11y-trigger{right:71px;bottom:140px;width:48px;height:48px}
#alz-a11y-trigger svg{width:27px;height:27px}
/* the MyPrice chat box (500x380) is open: stay above it */
body:has(> #step2:not([style*="display:none"]):not([style*="display: none"])) #alz-a11y-trigger{bottom:min(390px,calc(100vh - 58px))}
}

#alz-a11y-panel{position:fixed;inset:auto 12px 12px auto;z-index:2147483647;display:none;width:360px;max-width:calc(100vw - 24px);height:auto;max-height:calc(100vh - 24px);margin:0;padding:14px;overflow:auto;overscroll-behavior:contain;border:2px solid #032f1d;border-radius:14px;background:#fff;color:#1a1a1a;box-shadow:0 8px 30px rgba(0,0,0,.4)}
@supports (height:100dvh){#alz-a11y-panel{max-height:calc(100dvh - 24px)}}
#alz-a11y-panel.alz-a11y-open{display:block}
#alz-a11y-panel:focus{outline:none}
#alz-a11y-panel:focus-visible{outline:3px solid #0b57d0;outline-offset:2px}
@media (max-width:650px){#alz-a11y-panel{inset:auto 8px 8px 8px;width:auto;max-width:none;max-height:calc(100vh - 16px)}
@supports (height:100dvh){#alz-a11y-panel{max-height:calc(100dvh - 16px)}}}

#alz-a11y p{margin:0;padding:0;font:inherit;color:inherit}
.alz-a11y-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
#alz-a11y #alz-a11y-title{font-size:20px;font-weight:700;line-height:1.2}
#alz-a11y #alz-a11y-size-label{margin:0 0 6px;font-weight:700}
.alz-a11y-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 12px}
.alz-a11y-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:0 0 12px}
.alz-a11y-grid button:last-child:nth-child(odd){grid-column:1/-1}
.alz-a11y-foot{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding-top:12px;border-top:1px solid #767676}

#alz-a11y-panel button,#alz-a11y-panel a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:48px;margin:0;padding:6px 8px;border:2px solid #032f1d;border-radius:8px;background:#fff;color:#032f1d;font-size:16px;font-weight:600;line-height:1.25;text-align:center;cursor:pointer}
#alz-a11y-panel button:hover,#alz-a11y-panel a:hover{background:#e3efe6;color:#032f1d}
#alz-a11y-panel button:focus,#alz-a11y-panel a:focus{background:#fff;color:#032f1d}
#alz-a11y-panel button:focus-visible,#alz-a11y-panel a:focus-visible{outline:3px solid #0b57d0;outline-offset:2px}
#alz-a11y-panel button[aria-pressed="true"],#alz-a11y-panel button[aria-pressed="true"]:hover,#alz-a11y-panel button[aria-pressed="true"]:focus{background:#032f1d;color:#fff}
#alz-a11y-panel button[aria-pressed="true"]::before{content:"\2713";font-weight:700}
#alz-a11y-panel button[aria-disabled="true"],#alz-a11y-panel button[aria-disabled="true"]:hover{border-color:#767676;background:#f1f1f1;color:#595959;cursor:default}
#alz-a11y-panel a{text-decoration:underline}
#alz-a11y-panel .alz-a11y-x{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font-size:28px;font-weight:400;line-height:1}
#alz-a11y-live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---------- 2. the settings ---------- */
@media screen{

/* text size: no rule here. The boot script re-states every px/rem font-size and line-height of the site's own
   stylesheets as calc(size * var(--alz-a11y-fs)) in <style id="alz-a11y-fs-css">; the step sets that property on <html>. */

/* high contrast: black background, white text, yellow links. Pictures stay. Other vendors' floating buttons are left alone. */
html.alz-a11y-contrast body,
html.alz-a11y-contrast body *:not(:where(#alz-a11y,#alz-a11y *,#callnowbutton,#step2,#step2 *,.bot-widget-holder,.bot-widget-holder *,.bot--bubble-holder,.bot--bubble-holder *,img,picture,video,canvas,iframe,svg,svg *)){background-color:#000!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
html.alz-a11y-contrast body a:not(:where(#alz-a11y *,#callnowbutton,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)),
html.alz-a11y-contrast body a:not(:where(#alz-a11y *,#callnowbutton,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)) *:not(:where(img,picture,svg,svg *)){color:#ff0!important}
html.alz-a11y-contrast body :is(button,input,select,textarea,.elementor-button):not(:where(#alz-a11y *,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)){box-shadow:inset 0 0 0 1px #fff!important}
html.alz-a11y-contrast body svg:not(:where(#alz-a11y *,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)){fill:#fff!important}
html.alz-a11y-contrast body a svg:not(:where(#alz-a11y *,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)){fill:#ff0!important}
html.alz-a11y-contrast body img:not(:where(.step1,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)){background-color:#fff!important}
html.alz-a11y-contrast body .swiper-pagination-bullet{background-color:#fff!important}

/* greyscale */
html.alz-a11y-mono{filter:grayscale(1)!important}

/* highlight links */
html.alz-a11y-links body a:not(:where(#alz-a11y *,#callnowbutton,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important;outline:2px solid currentColor!important;outline-offset:2px!important}
html.alz-a11y-links body a:not(:where(#alz-a11y *,#callnowbutton,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)):focus-visible{outline:4px solid #0b57d0!important;box-shadow:0 0 0 7px #fff!important}

/* highlight headings */
html.alz-a11y-heads body :is(h1,h2,h3,h4,h5,h6,[role="heading"]):not(:where(#alz-a11y *,#step2 *,.bot-widget-holder *,.bot--bubble-holder *)){outline:3px dashed currentColor!important;outline-offset:4px!important}

/* readable font: a plain system font, icon fonts untouched */
html.alz-a11y-font body,
html.alz-a11y-font body *:not(:where(i,svg,svg *,[class*="fa-"],[class^="eicon"],[class*=" eicon"],[class^="hm "],[class*=" hm-"],.dashicons,#step2,#step2 *,.bot-widget-holder,.bot-widget-holder *,.bot--bubble-holder,.bot--bubble-holder *)){font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;letter-spacing:normal!important}

/* stop animations (default on when the device asks for reduced motion) */
html.alz-a11y-motion *,html.alz-a11y-motion *::before,html.alz-a11y-motion *::after{animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.001ms!important;transition-delay:0s!important;scroll-behavior:auto!important}

/* large cursor */
html.alz-a11y-cursor,html.alz-a11y-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 2v17.5l4.4-4.2 3 6.7 3.2-1.4-3-6.6H19z' fill='%23000' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 10 4,auto!important}
html.alz-a11y-cursor :is(a,button,summary,label,select,[role="button"],[role="link"],[onclick],input[type="submit"],input[type="button"],input[type="checkbox"],input[type="radio"]),
html.alz-a11y-cursor :is(a,button,summary,label,[role="button"],[role="link"]) *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 2.5c-1 0-1.8.8-1.8 1.8v8.3l-1.4-1.3c-.8-.7-2-.6-2.7.2s-.6 2 .2 2.7l5 5.5c.8.9 2 1.4 3.2 1.4h3.7c2.4 0 4.3-1.9 4.3-4.3v-5c0-1-.8-1.8-1.8-1.8-.3 0-.6.1-.9.2-.2-.8-.9-1.4-1.8-1.4-.4 0-.7.1-1 .3-.3-.6-.9-1-1.6-1-.3 0-.6.1-.9.2V4.3c0-1-.8-1.8-1.8-1.8z' fill='%23fff' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 19 5,pointer!important}

}

/* never on paper */
@media print{#alz-a11y{display:none!important}}
