/* =========================================================
   EZPOINT · תפריט נגישות (עיצוב הווידג'ט + מצבי ההתאמה)
   ========================================================= */

/* ---------- הווידג'ט ---------- */
.ez-a11y { --a-bg: #121110; --a-line: rgba(229, 193, 110, .28); --a-gold: #e5c16e; --a-text: #f5e9cb; --a-muted: #c9c2b2;
	position: fixed; z-index: 1500; left: 20px; bottom: 20px; direction: rtl; font-family: "Heebo", Arial, sans-serif; }
.ez-a11y *, .ez-a11y *::before, .ez-a11y *::after { box-sizing: border-box; }
.ez-a11y svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.ez-a11y__fab {
	position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--a-line); padding: 0; cursor: pointer;
	display: grid; place-items: center; color: var(--a-gold); background: rgba(18, 17, 16, .9);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8);
	transition: transform .3s cubic-bezier(.22, .9, .3, 1), border-color .3s, background .3s;
}
.ez-a11y__fab svg { width: 26px; height: 26px; }
.ez-a11y__fab:hover { transform: scale(1.06); border-color: rgba(229, 193, 110, .6); }
.ez-a11y__fab.is-active::after { content: ""; position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--a-gold); box-shadow: 0 0 0 2px #121110; }
.ez-a11y.is-open .ez-a11y__fab { background: var(--a-gold); color: #120e06; }

.ez-a11y__panel {
	position: absolute; left: 0; bottom: 64px; width: 320px; max-height: calc(100vh - 110px); overflow-y: auto; padding: 18px;
	border-radius: 22px; background: var(--a-bg); border: 1px solid var(--a-line); color: var(--a-text);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(10px) scale(.98); transform-origin: bottom left;
	transition: opacity .2s, transform .25s cubic-bezier(.22, .9, .3, 1);
}
.ez-a11y.is-open .ez-a11y__panel { opacity: 1; transform: none; }
.ez-a11y__panel[hidden] { display: none; }

.ez-a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ez-a11y__title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--a-text); }
.ez-a11y__close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--a-line); background: transparent; color: var(--a-text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ez-a11y__close svg { width: 16px; height: 16px; }

.ez-a11y__font { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--a-line); font-size: .92rem; }
.ez-a11y__stepper { display: flex; align-items: center; gap: 6px; }
.ez-a11y__stepper button { min-width: 44px; height: 36px; border-radius: 10px; border: 1px solid var(--a-line); background: rgba(245, 233, 203, .04); color: var(--a-text); font: 700 .9rem/1 "Heebo", Arial, sans-serif; cursor: pointer; direction: ltr; }
.ez-a11y__stepper button:disabled { opacity: .35; cursor: default; }
.ez-a11y__level { min-width: 48px; text-align: center; font-size: .82rem; color: var(--a-gold); }

.ez-a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ez-a11y__opt {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px;
	border-radius: 14px; border: 1px solid var(--a-line); background: rgba(245, 233, 203, .03); color: var(--a-text); cursor: pointer;
	font: 500 .85rem/1.25 "Heebo", Arial, sans-serif; text-align: center; transition: background .2s, border-color .2s, color .2s;
}
.ez-a11y__opt svg { color: var(--a-gold); }
.ez-a11y__opt:hover { border-color: rgba(229, 193, 110, .55); }
.ez-a11y__opt[aria-pressed="true"] { background: var(--a-gold); border-color: var(--a-gold); color: #120e06; font-weight: 700; }
.ez-a11y__opt[aria-pressed="true"] svg { color: #120e06; }

.ez-a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--a-line); }
.ez-a11y__reset { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--a-text); font: 500 .88rem "Heebo", Arial, sans-serif; cursor: pointer; padding: 6px 4px; }
.ez-a11y__reset svg { width: 18px; height: 18px; color: var(--a-gold); }
.ez-a11y__statement { color: var(--a-gold) !important; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }

.ez-a11y button:focus-visible, .ez-a11y a:focus-visible { outline: 3px solid var(--a-gold); outline-offset: 2px; }

/* בעמוד הבית: מעל הפס הדביק במובייל */
@media (max-width: 900px) { body.ez-lidor .ez-a11y { bottom: 92px; } }
@media (max-width: 420px) {
	.ez-a11y { left: 12px; }
	.ez-a11y__fab { width: 48px; height: 48px; }
	.ez-a11y__panel { width: calc(100vw - 24px); }
}

/* =========================================================
   מצבי התאמה (מחלקות על <html>)
   ========================================================= */

/* גודל טקסט */
html.a11y-font-1 { font-size: 112.5% !important; }
html.a11y-font-2 { font-size: 125% !important; }
html.a11y-font-3 { font-size: 140% !important; }

/* ניגודיות גבוהה */
html.a11y-contrast { --ez-ink: #000; --ez-ink-2: #000; --ez-bone: #fff; --ez-text: #fff; --ez-bone-72: #fff; --ez-bone-56: #fff; --ez-bone-12: rgba(255, 255, 255, .7); --ez-accent: #ffd84d; --ez-accent-2: #ffd84d; --ez-accent-muted: #ffd84d; --ez-gold-grad: linear-gradient(#ffd84d, #ffd84d); }
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast body *:not(svg):not(svg *):not(img):not(video):not(iframe):not(.ez-a11y *) {
	background-color: transparent; color: #fff !important; text-shadow: none !important; -webkit-text-fill-color: currentColor !important;
	border-color: rgba(255, 255, 255, .7) !important;
}
html.a11y-contrast body section, html.a11y-contrast body header, html.a11y-contrast body footer, html.a11y-contrast body main,
html.a11y-contrast body [class*="glass"], html.a11y-contrast body [class*="card"], html.a11y-contrast .lr-header__bar, html.a11y-contrast .lr-modal__panel, html.a11y-contrast .lr-form-card { background: #000 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.a11y-contrast body a:not(.ez-a11y *) { color: #ffd84d !important; text-decoration: underline !important; }
html.a11y-contrast .lr-btn, html.a11y-contrast .elementor-button { background: #ffd84d !important; color: #000 !important; -webkit-text-fill-color: #000 !important; border: 2px solid #ffd84d !important; text-decoration: none !important; }
html.a11y-contrast .lr-btn--ghost { background: #000 !important; color: #ffd84d !important; -webkit-text-fill-color: #ffd84d !important; }
html.a11y-contrast .lr-btn *, html.a11y-contrast .lr-btn::before { color: inherit !important; -webkit-text-fill-color: inherit !important; background: transparent !important; }
html.a11y-contrast [class*="glow"], html.a11y-contrast .ez-noise::after, html.a11y-contrast .ez-grid-bg, html.a11y-contrast .lr-hero__orb, html.a11y-contrast .lr-hero__ring { display: none !important; }
html.a11y-contrast img { filter: none !important; }

/* גווני אפור */
html.a11y-grayscale { filter: grayscale(1); }

/* הדגשת קישורים */
html.a11y-links a:not(.ez-a11y *) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px !important; outline: 1px dashed currentColor; outline-offset: 2px; }

/* גופן קריא */
html.a11y-readable body, html.a11y-readable body *:not(svg):not(svg *) { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important; letter-spacing: normal !important; font-style: normal !important; }
html.a11y-readable body p, html.a11y-readable body li { font-weight: 400 !important; }

/* ריווח טקסט (WCAG 1.4.12) */
html.a11y-spacing body p, html.a11y-spacing body li, html.a11y-spacing body a, html.a11y-spacing body span, html.a11y-spacing body label, html.a11y-spacing body summary, html.a11y-spacing body h1, html.a11y-spacing body h2, html.a11y-spacing body h3 {
	line-height: 1.8 !important; letter-spacing: .06em !important; word-spacing: .16em !important;
}
html.a11y-spacing body p { margin-bottom: 1em !important; }

/* עצירת אנימציות */
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .ez-reveal, html.a11y-motion .ez-stagger > *, html.a11y-motion .ez-stagger > .e-con-inner > *, html.a11y-motion .ez-words .ez-w,
html.a11y-motion .ez-scrub .ez-w, html.a11y-motion .ez-scale-in { opacity: 1 !important; transform: none !important; }
html.a11y-motion .ez-clip-in { clip-path: none !important; }
html.a11y-motion .ez-draw path, html.a11y-motion .ez-draw line, html.a11y-motion .ez-draw circle, html.a11y-motion .ez-draw polyline { stroke-dashoffset: 0 !important; }
html.a11y-motion .ez-bars > *, html.a11y-motion .lr-road__fill, html.a11y-motion .lr-meter > i { transform: none !important; }
html.a11y-motion .lr-donut .lr-donut__you { stroke-dashoffset: 0 !important; }
html.a11y-motion .ez-marquee-track { transform: none !important; }
html.a11y-motion [data-speed] { transform: 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='M4 2l15 8-6.5 2L10 19z' fill='%23000' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important; }

/* הדגשת פוקוס */
html.a11y-focus *:focus { outline: 3px solid #ffd84d !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px rgba(0, 0, 0, .85) !important; }

/* גובר על סגנונות כפתורים של ערכת העיצוב (Hello) בעמודים הרגילים */
.ez-a11y button { text-transform: none; letter-spacing: normal; box-shadow: none; }
.ez-a11y .ez-a11y__fab:hover, .ez-a11y .ez-a11y__fab:focus { background: rgba(18, 17, 16, .9); color: var(--a-gold); }
.ez-a11y.is-open .ez-a11y__fab, .ez-a11y.is-open .ez-a11y__fab:hover, .ez-a11y.is-open .ez-a11y__fab:focus { background: var(--a-gold); color: #120e06; }
.ez-a11y .ez-a11y__close:hover, .ez-a11y .ez-a11y__close:focus { background: rgba(229, 193, 110, .12); color: var(--a-text); }
.ez-a11y .ez-a11y__opt:hover, .ez-a11y .ez-a11y__opt:focus { background: rgba(245, 233, 203, .07); color: var(--a-text); }
.ez-a11y .ez-a11y__opt[aria-pressed="true"]:hover, .ez-a11y .ez-a11y__opt[aria-pressed="true"]:focus { background: var(--a-gold); color: #120e06; }
.ez-a11y .ez-a11y__stepper button:hover, .ez-a11y .ez-a11y__stepper button:focus { background: rgba(229, 193, 110, .12); color: var(--a-text); }
.ez-a11y .ez-a11y__reset:hover, .ez-a11y .ez-a11y__reset:focus { background: transparent; color: var(--a-gold); }
