/* shell-live.css — LIVE compatibility layer for the new shell (loaded last in the shell css group).
   The live site still prints old theme / plugin CSS on pages that use the new shell; these rules undo the bits that leak
   into kit components. Everything is scoped to body.hm-new (new-shell pages only). */

/* 1. the old theme forces Heebo with !important on body, button, input, textarea (speed snippet). New-shell pages use the
      kit faces (Almoni body / Tzar display); the few kit controls that use the display face are restored after it. */
body.hm-new{font-family:var(--body)!important}
body.hm-new button,body.hm-new input,body.hm-new textarea,body.hm-new select{font-family:var(--body)!important}
body.hm-new .hm-a11y-fs button,body.hm-new .pg-range-v input,body.hm-new .pg-sr-price input{font-family:var(--disp)!important}

/* 2. generic old-theme class names that collide with kit classes */
body.hm-new .hm-hlink.club{width:auto}
body.hm-new .hm-hlink.club{float:none;margin:0;text-align:inherit}
/* 3. old element rules with higher specificity than the kit base (storefront input[type=search], child theme header{}) */
body.hm-new [data-hm-search] input,body.hm-new .hm-sx input{color:var(--ink)}
body.hm-new header.hm-header{left:auto;width:auto;z-index:50!important}
body.hm-new header.hm-header:not(.scrolled){box-shadow:none}
/* 4. Storefront / child-theme element defaults that the kit base does not cover, inside kit components only.
      :where() keeps these at element specificity, so every kit class rule still wins. */
:where(body.hm-new) :where(.hm-topbar,#hmHeader,#hmFooter,#hmDrawer,.hm-sx,.hm-sx-panel,.hm-auth,.hmc-drawer,.hmc-pop,.hm-cc,.hm-ccs,.hm-favs,.hm-toast,.hm-a11y,.hm-a11y-p,.hm-me-menu,.hm-me-bar) :is(h1,h2,h3,h4,h5,h6){color:inherit;clear:none}
:where(body.hm-new) :where(.hm-topbar,#hmHeader,#hmFooter,#hmDrawer,.hm-sx,.hm-sx-panel,.hm-auth,.hmc-drawer,.hmc-pop,.hm-cc,.hm-ccs,.hm-favs,.hm-toast,.hm-a11y,.hm-a11y-p,.hm-me-menu,.hm-me-bar) :is(form,h6,table,dl,dd,blockquote){margin:0}
:where(body.hm-new) :where(#hmDrawer,.hm-sx,.hm-auth,.hmc-drawer,.hmc-pop,.hm-cc,.hm-ccs,.hm-favs) header{position:static;top:auto;left:auto;width:auto;box-shadow:none}
body.hm-new :is(.hm-topbar,#hmHeader,#hmFooter,#hmDrawer,.hm-sx,.hm-sx-panel,.hm-auth,.hmc-drawer,.hmc-pop,.hm-cc,.hm-ccs,.hm-favs,.hm-a11y-p,.hm-me-menu) :is(input,textarea,select){color:inherit}
body.hm-new .hm-search input:focus{background:#fff}
body.hm-new .hm-auth-f input:focus{background:#fff}
body.hm-new .hm-sx-mform input{background-color:#fff}
:where(body.hm-new) :where(.hm-topbar,#hmHeader,#hmFooter,#hmDrawer,.hm-sx,.hm-sx-panel,.hm-auth,.hmc-drawer,.hmc-pop,.hm-cc,.hm-ccs,.hm-favs,.hm-toast,.hm-a11y,.hm-a11y-p,.hm-me-menu,.hm-me-bar) :is(b,strong){font-weight:bolder}
/* 5. old floating widgets (Join.chat WhatsApp bubble z 9000, category filter tab #hmf-fab z 99998) sit above the kit overlays;
      hide them only while a kit overlay/sheet is open (the kit locks page scroll on <html> or adds a *-lock class). */
html[style*="overflow: hidden"] body.hm-new :is(.joinchat,#hmf-fab),
html:is(.hm-auth-lock,.hmc-lock,.hm-sx-lock,.hm-me-lock) body.hm-new :is(.joinchat,#hmf-fab),
html:has(#hmDrawer.on,.hm-sx.on,.hm-auth.on,.hmc-drawer.on,.hmc-pop.on,.hm-ccs.on,.hm-a11y-p.on) body.hm-new :is(.joinchat,#hmf-fab){visibility:hidden!important;pointer-events:none!important}
/* 6. storefront: button::after, .button::after {display:none} kills kit pseudo-element UI (a11y toggle dots, qty hit-areas,
      cart-drawer link arrows). Restore the UA default inside kit components; kit rules that set display still win. */
:where(body.hm-new) :where(.hm-topbar,#hmHeader,#hmFooter,#hmDrawer,.hm-sx,.hm-sx-panel,.hm-auth,.hmc-drawer,.hmc-pop,.hm-cc,.hm-ccs,.hm-favs,.hm-toast,.hm-a11y,.hm-a11y-p,.hm-me-menu,.hm-me-bar) button::after{display:revert}
/* 7. local SEO links row (server-rendered by footer.php, moved above the copyright row by shell-live.js) */
body.hm-new .hm-flocal{max-width:1320px;margin:0 auto;padding:18px 20px;font-size:14.5px;line-height:1.9;color:rgba(246,241,233,.66);background:var(--night,#141414)}
body.hm-new .hm-footer .hm-flocal{max-width:none;margin:28px 0 0;padding:20px 0 0;background:none;border-top:1px solid rgba(246,241,233,.12)}
body.hm-new .hm-flocal b{font-weight:700;color:rgba(246,241,233,.82)}
body.hm-new .hm-flocal a{color:inherit;text-decoration:none}
body.hm-new .hm-flocal a:hover,body.hm-new .hm-flocal a:focus-visible{color:#fff;text-decoration:underline}
body.hm-new .hm-footer .hm-flocal+.f-bot{margin-top:20px}

/* 8. old fixed widgets re-layered into the kit's z-scale (kit: page bars ≤90 · a11y 94 · cookie bar 95 · drawers/sheets 100–150).
      The old plugins print them at 9000–99999, so they were drawn over the kit drawer, cart, search and auth sheets.
      - NINJA PDP buy bar .npdp-sticky (z 9990): a page bottom bar → 90, and shell-live.js registers it with HM.dock so the
        a11y button and the cookie bar ride above it (as with the kit's own .pd-bar).
      - category filter: off-canvas #hmf-side (z 99999, peeks at the screen edge at 621–820px) and its tab #hmf-fab (99998).
        Closed: below the header; open: above the header (50) and below every kit overlay.
      - Join.chat (9000) and storefront's (never shown) sticky add-to-cart (99998). */
body.hm-new .npdp-sticky{z-index:90!important}
body.hm-new .storefront-sticky-add-to-cart{z-index:49!important}
body.hm-new #hmf-side,body.hm-new #hmf .hmf-side{z-index:40!important}
body.hm-new #hmf-side.open,body.hm-new #hmf .hmf-side.open{z-index:99!important}
body.hm-new #hmf-fab{z-index:92!important}
body.hm-new .joinchat{z-index:93!important}
html:has(#hmDrawer.on,.hm-drawer.on,.hm-sx.on,.hm-auth.on,.hmc-drawer.on,.hmc-pop.on,.hm-ccs.on,.hm-a11y-p.on,.hm-favs.on) body.hm-new :is(.npdp-sticky,#hmf-side:not(.open),#hmf .hmf-side:not(.open)){visibility:hidden!important;pointer-events:none!important}
/* 9. Join.chat bubble: the kit a11y button owns the bottom-right corner on desktop (prototype). The bubble rides above it,
      and above the page's bottom bar (--hm-dock) and the cookie bar (--hm-cc-h), exactly like the a11y button does.
      Phones: the a11y button sits bottom-left by default, so the bubble only clears the bars. */
body.hm-new .joinchat{translate:0 calc(-1 * (var(--hm-dock,0px) + var(--hm-cc-h,0px)));transition:translate .3s var(--out,ease)}
@media (min-width:721px){body.hm-new .joinchat{translate:0 calc(-1 * (var(--hm-dock,0px) + var(--hm-cc-h,0px) + 64px))}}
/* 10. no live brands index yet: "לכל היקבים / המותגים", "יקבים ומותגים" (drawer, footer, search) carry #hm-nobrands (live.js) */
body.hm-new a[href$="#hm-nobrands"],body.hm-new li:has(>a[href$="#hm-nobrands"]),body.hm-new .hm-dcat:has(>a[href$="#hm-nobrands"]){display:none!important}
/*     in the mega brands column the row keeps its space (panel height = prototype), it is just not shown or focusable */
body.hm-new .hm-mbr a.all[href$="#hm-nobrands"]{display:block!important;visibility:hidden!important}
/* 11. NINJA club popup: moved to the theme module hm/inc/club.php (+ club.css / club.js), printed only on pages where the
      popup can show. Nothing here on purpose. */
/* 12. the child theme hides ::placeholder on a focused input (opacity:0); the kit keeps the hint visible while typing starts */
body.hm-new :is(#hmHeader,#hmDrawer,.hm-sx,.hm-sx-panel,.hm-auth,.hm-favs) input:focus::placeholder{opacity:1!important}
