/* Accessibility toolbar + modes */
.a11y-btn{position:fixed;z-index:9998;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));width:52px;height:52px;border-radius:50%;border:0;background:#1f4fb4;color:#fff;display:grid;place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.25);cursor:pointer}
.a11y-btn:focus-visible,.a11y-panel button:focus-visible,.a11y-panel a:focus-visible{outline:3px solid #ffbf00;outline-offset:2px}
.a11y-panel{position:fixed;z-index:9999;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(82px + env(safe-area-inset-bottom,0px));width:min(290px,calc(100vw - 36px));background:#fff;color:#1d1d1d;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.3);padding:14px;display:flex;flex-direction:column;gap:8px;font:16px/1.4 Assistant,Arial,sans-serif;direction:rtl}
.a11y-panel[hidden]{display:none}
.a11y-head{display:flex;justify-content:space-between;align-items:center;font-size:18px}
.a11y-x{border:0;background:none;font-size:18px;cursor:pointer;color:#1d1d1d;padding:4px 8px}
.a11y-size{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0}
.a11y-size div{display:flex;gap:6px}
.a11y-size button{min-width:44px;height:40px;border-radius:10px;border:1px solid #c9c9c9;background:#f5f5f5;font-weight:700;cursor:pointer;color:#1d1d1d}
.a11y-opt,.a11y-reset{text-align:right;padding:10px 12px;border-radius:10px;border:1px solid #d6d6d6;background:#fafafa;cursor:pointer;font:inherit;color:#1d1d1d}
.a11y-opt[aria-pressed="true"]{background:#1f4fb4;border-color:#1f4fb4;color:#fff}
.a11y-opt[aria-pressed="true"]::before{content:"✓ "}
.a11y-reset{background:none;border-style:dashed}
.a11y-link{text-align:center;color:#1f4fb4;text-decoration:underline;padding-top:4px}

/* keyboard focus is always visible */
:focus-visible{outline:3px solid #1f4fb4;outline-offset:2px}

/* modes */
html.a11y-size-1{font-size:112.5%}
html.a11y-size-2{font-size:125%}
html.a11y-size-3{font-size:140%}
html.a11y-size-1 body,html.a11y-size-1 p,html.a11y-size-1 li,html.a11y-size-1 a,html.a11y-size-1 label,html.a11y-size-1 .woocommerce-loop-product__title{font-size:112.5%}
html.a11y-size-2 body,html.a11y-size-2 p,html.a11y-size-2 li,html.a11y-size-2 a,html.a11y-size-2 label,html.a11y-size-2 .woocommerce-loop-product__title{font-size:125%}
html.a11y-size-3 body,html.a11y-size-3 p,html.a11y-size-3 li,html.a11y-size-3 a,html.a11y-size-3 label,html.a11y-size-3 .woocommerce-loop-product__title{font-size:140%}
html.a11y-gray body>*:not(.a11y-panel):not(.a11y-btn){filter:grayscale(1)}
html.a11y-contrast body,html.a11y-contrast body *:not(.a11y-panel):not(.a11y-panel *):not(.a11y-btn):not(.a11y-btn *){background-color:#000!important;color:#fff!important;border-color:#fff!important;background-image:none!important;text-shadow:none!important;box-shadow:none!important}
html.a11y-contrast body a:not(.a11y-panel a){color:#ffeb3b!important}
html.a11y-contrast img{filter:none!important}
html.a11y-links a:not(.a11y-panel a){text-decoration:underline!important;text-underline-offset:3px;outline:1px dashed currentColor;outline-offset:2px}
html.a11y-font body,html.a11y-font body *:not(svg):not(svg *){font-family:Arial,"Segoe UI",sans-serif!important;letter-spacing:.02em;word-spacing:.08em}
html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
