/* ===== Opencart Israel — נגישות (ווידגט + מצבים) ===== */

/* קישור "דלג לתוכן" — מוסתר עד פוקוס מקלדת */
.skip-link{position:fixed;inset-inline-start:1rem;top:-4rem;z-index:100000;background:#1d4ed8;color:#fff;
  padding:.7rem 1.2rem;border-radius:0 0 10px 10px;text-decoration:none;font-weight:600;transition:top .2s}
.skip-link:focus{top:0;outline:3px solid #fbbf24;outline-offset:2px}
#main-content{outline:none}

/* כפתור צף */
.acc-fab{position:fixed;inset-block-end:1.2rem;inset-inline-start:1.2rem;z-index:99998;
  width:3.3rem;height:3.3rem;border-radius:50%;background:#1d4ed8;color:#fff;border:2px solid #fff;
  cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.4);display:flex;align-items:center;justify-content:center;padding:0}
.acc-fab svg{width:1.9rem;height:1.9rem;fill:currentColor}
.acc-fab:hover{background:#1e40af}
.acc-fab:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}

/* פאנל */
.acc-panel{position:fixed;inset-block-end:5.2rem;inset-inline-start:1.2rem;z-index:99999;
  width:310px;max-width:calc(100vw - 2rem);background:#fff;color:#111827;border-radius:16px;
  box-shadow:0 24px 70px rgba(0,0,0,.45);padding:1.1rem;display:none;font-family:Arial,'Helvetica Neue',sans-serif;direction:rtl;text-align:right}
.acc-panel.open{display:block}
.acc-panel h2{font-size:1.1rem;margin:0;color:#111827;font-weight:700}
.acc-panel .acc-sub{font-size:.8rem;color:#6b7280;margin:.15rem 0 .9rem}
.acc-close{position:absolute;inset-block-start:.6rem;inset-inline-end:.7rem;border:none;background:none;
  font-size:1.5rem;line-height:1;cursor:pointer;color:#6b7280}
.acc-close:hover{color:#111827}
.acc-grid{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.acc-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;min-height:5rem;
  padding:.7rem .4rem;border:1.5px solid #e5e7eb;border-radius:12px;background:#f9fafb;color:#1f2937;
  font-size:.82rem;font-weight:500;cursor:pointer;text-align:center;font-family:inherit;line-height:1.3}
.acc-btn svg{width:1.5rem;height:1.5rem}
.acc-btn:hover{background:#eff6ff;border-color:#bfdbfe}
.acc-btn.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.acc-reset{margin-top:.7rem;width:100%;padding:.65rem;border:none;border-radius:12px;background:#dc2626;color:#fff;
  font-size:.88rem;font-weight:600;cursor:pointer;font-family:inherit}
.acc-reset:hover{background:#b91c1c}
.acc-stmt-link{display:block;text-align:center;margin-top:.7rem;font-size:.82rem;color:#1d4ed8;text-decoration:underline}

/* ===== מצבי נגישות (מוחלים על <html>) ===== */
html.acc-fs-1{font-size:112.5%}
html.acc-fs-2{font-size:125%}
html.acc-fs-3{font-size:140%}

html.acc-readable *:not(.acc-fab):not(.acc-fab *):not(.acc-panel):not(.acc-panel *){
  font-family:Arial,'Helvetica Neue',sans-serif !important;letter-spacing:.012em !important}
html.acc-readable p,html.acc-readable li,html.acc-readable span{line-height:1.9 !important}

html.acc-links a:not(.acc-panel a):not(.acc-fab){text-decoration:underline !important}
html.acc-links a:focus,html.acc-links a:hover{outline:2px solid #fbbf24 !important;outline-offset:2px}

html.acc-grayscale{filter:grayscale(100%)}

/* ניגודיות גבוהה — שחור/לבן/צהוב, מלבד הווידגט */
html.acc-contrast,html.acc-contrast body{background:#000 !important}
html.acc-contrast *:not(.acc-fab):not(.acc-fab *):not(.acc-panel):not(.acc-panel *){
  background-color:#000 !important;color:#fff !important;border-color:#fff !important;box-shadow:none !important}
html.acc-contrast a:not(.acc-panel a):not(.acc-fab){color:#ffff00 !important;text-decoration:underline !important}
html.acc-contrast img,html.acc-contrast video{opacity:1 !important}

html.acc-no-motion *,html.acc-no-motion *::before,html.acc-no-motion *::after{
  animation-duration:0s !important;animation-iteration-count:1 !important;transition-duration:0s !important;scroll-behavior:auto !important}

/* תמיד להציג focus ברור בניווט מקלדת */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{
  outline:3px solid #fbbf24 !important;outline-offset:2px}
