/* =====================================================================
   המשמח · accessibility menu (kit/a11y.css) — owner: A11Y builder
   Israeli Equal Rights regs (תקנה 35) / IS 5568 (WCAG 2.0 AA): a discreet button,
   bottom-right corner, always ABOVE page bottom bars (--hm-dock) and the cookie bar (--hm-cc-h).
   Classes on <html>: hm-fs1 | hm-fs2 · hm-a11y-contrast · hm-a11y-links · hm-a11y-font · hm-still
   ===================================================================== */
.hm-a11y{position:fixed;z-index:94;right:16px;bottom:calc(var(--hm-dock,0px) + var(--hm-cc-h,0px) + 16px);width:48px;height:48px;border-radius:50%;border:0;padding:0;cursor:pointer;
 background:var(--night,#141414);color:#fff;display:grid;place-items:center;box-shadow:0 10px 26px rgba(20,20,20,.28),inset 0 0 0 2px rgba(217,188,140,.55);transition:transform .25s var(--out,ease),bottom .3s var(--out,ease),background .2s}
.hm-a11y:hover{transform:scale(1.06);background:#2a2624}
.hm-a11y svg{width:28px;height:28px;fill:currentColor}
.hm-a11y:focus-visible,.hm-a11y-p :focus-visible{outline:3px solid var(--red,#A31D2B);outline-offset:3px}
.hm-a11y .dot{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--stone,#D9BC8C);box-shadow:0 0 0 2px var(--night,#141414);display:none}
html.hm-a11y-any .hm-a11y .dot{display:block}

.hm-a11y-p{position:fixed;z-index:115;right:16px;bottom:calc(var(--hm-dock,0px) + var(--hm-cc-h,0px) + 74px);width:360px;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--hm-dock,0px) - var(--hm-cc-h,0px) - 100px);overflow:auto;
 background:var(--paper,#fdfbf8);color:var(--ink,#191716);border-radius:26px;padding:22px 20px 18px;box-shadow:0 30px 70px -10px rgba(20,18,17,.38),0 0 0 1px rgba(26,23,21,.06);
 visibility:hidden;opacity:0;transform:translateY(12px) scale(.98);transform-origin:bottom right;transition:opacity .25s,transform .4s var(--out,ease),visibility 0s .4s;font-family:var(--body)}
.hm-a11y-p.on{visibility:visible;opacity:1;transform:none;transition:opacity .25s,transform .4s var(--out,ease),visibility 0s}
.hm-a11y-p .hd{display:flex;align-items:center;gap:12px;margin-bottom:4px}
.hm-a11y-p .hd .ico{width:40px;height:40px;border-radius:50%;background:var(--night);color:#fff;display:grid;place-items:center;flex:none;box-shadow:inset 0 0 0 2px rgba(217,188,140,.55)}
.hm-a11y-p .hd .ico svg{width:24px;height:24px;fill:currentColor}
.hm-a11y-p h2{font-family:var(--disp);font-weight:900;font-size:34px;line-height:.9;margin:0;flex:1}
.hm-a11y-p .x{width:38px;height:38px;border-radius:50%;border:0;background:var(--tile,#F6F1E9);display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.hm-a11y-p .x svg{width:15px;height:15px}
.hm-a11y-p .sub{font-size:13.5px;color:var(--muted,#6b635d);margin:4px 0 14px}
.hm-a11y-p .lbl{font-weight:700;font-size:14px;margin:0 0 8px;display:block}
.hm-a11y-fs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:var(--tile,#F6F1E9);border-radius:16px;padding:5px;margin-bottom:12px}
.hm-a11y-fs button{height:48px;border-radius:12px;border:0;background:none;cursor:pointer;font-family:var(--disp);font-weight:900;color:var(--ink);display:flex;align-items:baseline;justify-content:center;gap:5px;line-height:1}
.hm-a11y-fs button small{font-family:var(--body);font-weight:700;font-size:12px;color:var(--muted)}
.hm-a11y-fs button[data-fs="0"] b{font-size:20px}.hm-a11y-fs button[data-fs="1"] b{font-size:25px}.hm-a11y-fs button[data-fs="2"] b{font-size:30px}
.hm-a11y-fs button[aria-pressed="true"]{background:#fff;box-shadow:0 2px 10px rgba(26,23,21,.12),inset 0 0 0 1.5px var(--ink)}
.hm-a11y-g{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hm-a11y-g button{min-height:84px;border-radius:16px;border:0;background:#fff;box-shadow:inset 0 0 0 1px var(--line,#ebe5dc);cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;padding:12px 14px;
 text-align:start;font:inherit;font-weight:700;font-size:14.5px;color:var(--ink);transition:box-shadow .2s,background .2s;position:relative}
.hm-a11y-g button:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.hm-a11y-g button svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hm-a11y-g button::after{content:"";position:absolute;top:12px;left:12px;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #cfc6bb;background:#fff}
.hm-a11y-g button[aria-pressed="true"]{background:var(--night,#141414);color:#fff;box-shadow:none}
.hm-a11y-g button[aria-pressed="true"]::after{background:var(--stone,#D9BC8C) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:none}
.hm-a11y-p .ft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line,#ebe5dc)}
.hm-a11y-p .rst{height:40px;padding:0 16px;border-radius:999px;border:0;background:none;box-shadow:inset 0 0 0 1.5px var(--ink);font:inherit;font-weight:700;font-size:14px;cursor:pointer;color:var(--ink)}
.hm-a11y-p .rst:hover{background:var(--ink);color:#fff}
.hm-a11y-p .ft a{font-weight:700;font-size:14px;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--stone-dk,#BF9C63)}
.hm-a11y-p .ft a:hover{color:var(--red)}
.hm-footer .hm-a11y-fl{display:inline-flex;align-items:center;gap:6px}

@media (max-width:860px){
 .hm-a11y{right:10px;width:44px;height:44px;bottom:calc(var(--hm-dock,0px) + var(--hm-cc-h,0px) + 12px)}
 .hm-a11y svg{width:26px;height:26px}
 .hm-a11y-p{right:8px;left:8px;width:auto;max-width:none;bottom:calc(var(--hm-dock,0px) + var(--hm-cc-h,0px) + 64px);border-radius:24px;padding:18px 16px 14px}
 .hm-a11y-g button{min-height:74px}
}
@media (prefers-reduced-motion:reduce){.hm-a11y,.hm-a11y-p{transition:none!important}}

/* skip link (kit header renders <a class="hm-skip">): hidden until it gets keyboard focus */
.hm-skip{position:fixed;top:10px;right:10px;z-index:200;background:var(--night,#141414);color:#fff;font-weight:700;padding:10px 18px;border-radius:999px;transform:translateY(-160%);transition:transform .2s}
.hm-skip:focus,.hm-skip:focus-visible{transform:none;outline:3px solid var(--stone,#D9BC8C);outline-offset:2px}

/* =================== the settings themselves =================== */
/* text size: the content scales (header stays compact and usable); 3 steps */
html.hm-fs1 :is(main,#main,#hmFooter,.hm-cc-in,.hm-ccs-dlg){zoom:1.12}
html.hm-fs2 :is(main,#main,#hmFooter,.hm-cc-in,.hm-ccs-dlg){zoom:1.25}
html.hm-fs1 main main,html.hm-fs2 main main,html.hm-fs1 main #main,html.hm-fs2 main #main{zoom:1}
html.hm-fs1 .hm-hdr,html.hm-fs1 .hm-header{font-size:105%}
html.hm-fs2 .hm-hdr,html.hm-fs2 .hm-header{font-size:110%}

/* high contrast: darker text and lines, white surfaces, deep red, visible borders */
html.hm-a11y-contrast{--muted:#2e2926;--muted2:#4a433e;--line:#5f5751;--tile:#ffffff;--tile2:#f3f3f3;--tile-h:#f3f3f3;--wash:#ffffff;--plate:#ffffff;--paper:#ffffff;--red:#8c0f1d;--red-h:#6e0a16;--stone:#f0d9a8;--ink:#000;--cream:#fff}
html.hm-a11y-contrast body{color:#000;background:#fff}
html.hm-a11y-contrast :is(p,li,small,span,label,dd,dt,td,th){color:inherit}
html.hm-a11y-contrast :is(.hm-btn.line,.hm-chip,input,select,textarea,.hm-qty){box-shadow:inset 0 0 0 2px #000!important}
html.hm-a11y-contrast .hm-card::before,html.hm-a11y-contrast .card::before{box-shadow:inset 0 0 0 1.5px #000}
html.hm-a11y-contrast .hm-night,html.hm-a11y-contrast .night{background:#000!important;color:#fff}
html.hm-a11y-contrast .hm-night :is(p,li,a,span,small),html.hm-a11y-contrast .hm-footer :is(p,li,a,span,small,button){color:#fff!important}
html.hm-a11y-contrast img{filter:contrast(1.05)}
html.hm-a11y-contrast :focus-visible{outline:3px solid #000!important;outline-offset:2px;box-shadow:0 0 0 6px #ffd84d!important}

/* highlight links: every link is underlined and outlined, so it can't be missed */
html.hm-a11y-links a[href]:not(.hm-a11y-skip){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important;outline:2px dashed #c47f00;outline-offset:2px;border-radius:3px}
html.hm-a11y-links a[href]:hover,html.hm-a11y-links a[href]:focus-visible{background:#fff1b8!important;color:#000!important;outline-style:solid}

/* readable font: a plain, wide, high x-height system sans everywhere (incl. the display headlines) */
html.hm-a11y-font,html.hm-a11y-font body,html.hm-a11y-font :is(h1,h2,h3,h4,h5,p,a,li,span,b,strong,em,small,button,input,select,textarea,label,div,td,th,bdi){font-family:"Segoe UI",Arial,"Noto Sans Hebrew","Helvetica Neue",sans-serif!important;letter-spacing:.01em!important}
html.hm-a11y-font :is(h1,h2,h3,h4,.hm-h1,.hm-sec-h h2,.tz,b,strong){font-weight:700!important}
html.hm-a11y-font :is(h1,h2,h3,.hm-h1,.hm-sec-h){line-height:1.1!important}
html.hm-a11y-font p,html.hm-a11y-font li{line-height:1.65!important}

/* stop animations: the same as the reduced-motion preference (a11y.js also copies every
   @media (prefers-reduced-motion:reduce) rule of the page while this is on) */
html.hm-still *,html.hm-still *::before,html.hm-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.hm-still :is(.hm-rv,.rv,.cascade .card,.cascade .qt,.hm-cascade>*){opacity:1!important;transform:none!important}
html.hm-still .ln>span{transform:none!important}
html.hm-still video:not([controls]){display:none!important}
html.hm-still .hm-joy-cf{display:none!important}

/* ================= review fixes (2026-12-04) · S3 ================= */
/* The button rides above page bottom bars and the cookie bar with `translate` (composited: no layout shift, no CLS),
   not by animating `bottom`. When the cookie bar docks at the top (cart / checkout) it is not counted. */
.hm-a11y{--hm-a11y-lift:calc(var(--hm-dock,0px) + var(--hm-cc-h,0px));bottom:16px;translate:0 calc(-1 * var(--hm-a11y-lift));transition:transform .25s var(--out,ease),translate .3s var(--out,ease),background .2s}
html:has(.hm-cc.top) .hm-a11y,html:has(.hm-cc.top) .hm-a11y-p{--hm-a11y-lift:var(--hm-dock,0px)}
.hm-a11y-p{--hm-a11y-lift:calc(var(--hm-dock,0px) + var(--hm-cc-h,0px));bottom:calc(var(--hm-a11y-lift) + 74px)}
@media (max-width:720px){
 /* phones: a smaller 40px button in the LEFT corner (RTL labels, prices and form fields are right-aligned), tucked low */
 .hm-a11y{right:auto;left:8px;width:40px;height:40px;bottom:calc(8px + env(safe-area-inset-bottom));box-shadow:0 6px 16px rgba(20,20,20,.24),inset 0 0 0 2px rgba(217,188,140,.55)}
 .hm-a11y svg{width:23px;height:23px}
 .hm-a11y .dot{left:auto;right:1px;top:1px;width:10px;height:10px}
 .hm-a11y-p{bottom:calc(var(--hm-a11y-lift) + 58px);transform-origin:bottom left}
}
@media (prefers-reduced-motion:reduce){.hm-a11y{transition:none!important}}

/* phones: collision dodge (kit/a11y.js place()) — bottom-left by default, bottom-right when the left is busy,
   tucked into a 10px edge tab when both are busy. The X move is a transform (no layout, no CLS). */
@media (max-width:720px){
 .hm-a11y{transition:transform .28s var(--out,ease),translate .3s var(--out,ease),opacity .2s,background .2s}
 .hm-a11y.side-r{left:auto;right:8px}
 .hm-a11y.tuck{transform:translateX(-38px);opacity:.92;border-radius:0 12px 12px 0}
 .hm-a11y.side-r.tuck{transform:translateX(38px);border-radius:12px 0 0 12px}
 .hm-a11y.tuck svg{opacity:0}
 .hm-a11y-p.side-r{transform-origin:bottom right}
}
