/* המשמח · SALE MODE styles (kit/sale.js). Everything is scoped to html.hm-sale-on / .hm-sale-* so switching off leaves nothing.
   Colours: --sale (brand red), --sale-gold (hairlines/digits), --sale-night (banner background) — set from HM.SALES. */
html.hm-sale-on{--sale:#A31D2B;--sale-gold:#D9BC8C;--sale-night:#1F1714}

/* ---------- top bar: gentle accent shift (deep wine → brand red) + the sale item first ---------- */
html.hm-sale-on .hm-topbar{background:linear-gradient(90deg,#7E1420,var(--sale) 38%,var(--sale) 62%,#7E1420);box-shadow:inset 0 -1px 0 rgba(217,188,140,.55)}
html.hm-sale-on .hm-topbar .hm-joy-hol,html.hm-sale-on .hm-topbar .hm-joy-hold{display:none}
.hm-sale-tb{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:#fff}
.hm-sale-tb b{font-weight:900}
.hm-sale-tb .s{font-weight:700;opacity:.95}
.hm-sale-tb .hm-sale-cd{display:inline-block;min-width:4.2em;color:var(--sale-gold);font-weight:900;font-variant-numeric:tabular-nums}
.hm-sale-tb .hm-joy-men{width:26px;height:16px;flex:none}
.hm-topbar .hm-sale-tbd{width:4px;height:4px;border-radius:50%;background:#fff;opacity:.6}
.hm-sale-tb:hover b{text-decoration:underline}
@media (max-width:860px){html.hm-sale-on .hm-topbar .x1,html.hm-sale-on .hm-topbar .tb-call{display:none!important}}
@media (max-width:420px){.hm-sale-tb{gap:5px}.hm-sale-tb .hm-joy-men{width:20px;height:13px}.hm-sale-tb .hm-sale-cd{min-width:0}}

/* ---------- slim strip under the menu (all pages) ---------- */
.hm-sale-strip{background:linear-gradient(180deg,#FBF4EA,#F6ECDD);border-bottom:1px solid rgba(191,156,99,.45);color:var(--ink,#141414);font-size:14px}
.hm-sale-strip .in{display:flex;align-items:center;gap:18px;min-height:40px;flex-wrap:wrap;padding-block:4px}
.hm-sale-strip a{color:inherit;text-decoration:none}
.hm-sale-strip .lead{display:inline-flex;align-items:center;gap:8px;min-width:0}
.hm-sale-strip .lead b{font-weight:900;color:var(--sale);white-space:nowrap}
.hm-sale-strip .lead .t{font-weight:700;opacity:.8;white-space:nowrap}
.hm-sale-strip .lead .tm{display:none;font-weight:700;opacity:.75;white-space:nowrap}
.hm-sale-strip .hm-joy-men{width:28px;height:17px;flex:none}
.hm-sale-strip .dl{display:flex;gap:6px;flex-wrap:wrap}
.hm-sale-strip .dl a{font-weight:900;font-size:13px;border:1px solid rgba(163,29,43,.28);background:#fff;border-radius:999px;padding:3px 10px;white-space:nowrap;transition:background .2s,color .2s}
.hm-sale-strip .dl a:hover{background:var(--sale);color:#fff;border-color:var(--sale)}
.hm-sale-strip .end{font-weight:700;opacity:.8;white-space:nowrap;margin-inline-start:auto}
.hm-sale-strip .end .hm-sale-cd,.hm-sale-cat .hm-sale-cd,.hm-mdeals .hm-sale-cd,.hm-sale-pdl .hm-sale-cd,.hm-sale-rem .hm-sale-cd{font-weight:900;font-variant-numeric:tabular-nums}
.hm-sale-strip .go{font-weight:900;color:var(--sale);white-space:nowrap}
.hm-sale-strip .go:hover{text-decoration:underline}
@media (max-width:1180px){.hm-sale-strip .dl,.hm-sale-strip .lead .t{display:none}.hm-sale-strip .lead .tm{display:inline}}
@media (max-width:860px){
 .hm-sale-strip{font-size:13px}
 .hm-sale-strip .in{min-height:34px;gap:10px;flex-wrap:nowrap}
 .hm-sale-strip .end{display:none}
 .hm-sale-strip .lead{flex:1 1 auto;overflow:hidden}
 .hm-sale-strip .lead .tm{overflow:hidden;text-overflow:ellipsis}
 .hm-sale-strip .go{font-size:13px}
}
@media (max-width:400px){.hm-sale-strip .go{font-size:0}.hm-sale-strip .go span{font-size:16px}.hm-sale-strip .hm-joy-men{width:22px;height:14px}}

/* ---------- main nav: "מבצעים" highlight ---------- */
.hm-it.hm-sale-nav>a{position:relative}
.hm-sale-navt{display:inline-block;margin-inline-start:6px;padding:1px 7px 2px;border-radius:999px;background:linear-gradient(180deg,#2c2723,#141414);color:#EBD3A6;font-size:11.5px;font-weight:900;line-height:1.35;vertical-align:2px;box-shadow:inset 0 0 0 1px rgba(217,188,140,.55)}
.hm-it.hm-sale-nav>a::after{background:linear-gradient(90deg,var(--sale),var(--sale-gold),var(--sale))}
/* mega panel: the wide campaign tile (3 columns → 16 cells, no orphan in the last row) */
.hm-mdeals .hm-sale-mt{grid-column:span 3}
.hm-mdeals .hm-sale-mt img{object-position:30% 60%}
.hm-mdeals .hm-sale-mt::after{background:linear-gradient(270deg,rgba(31,23,20,.92) 0%,rgba(31,23,20,.75) 45%,rgba(31,23,20,.05) 85%)}
.hm-mdeals .hm-sale-mt .k{display:inline-flex;align-items:center;gap:8px;color:#EBD3A6;font-weight:900;font-size:13px;margin-bottom:4px}
.hm-mdeals .hm-sale-mt .k .hm-joy-men{width:28px;height:17px}
.hm-mdeals .hm-sale-mt b{font-size:40px}
.hm-mdeals .hm-sale-mt small{margin-top:4px}
.hm-mdeals .hm-sale-mt small bdi{color:#fff;font-weight:900}
.hm-sale-mtag{position:absolute;z-index:3;top:10px;left:10px;background:linear-gradient(180deg,#2c2723,#141414);color:#EBD3A6;font-size:11.5px;font-weight:900;border-radius:999px;padding:2px 9px;box-shadow:inset 0 0 0 1px rgba(217,188,140,.55)}
@media (max-width:1100px){.hm-mdeals .hm-sale-mt{grid-column:span 2}}
/* drawer: secondary button under the red "מבצעים" one (cream, so it does not compete) */
.hm-sale-dbtn{display:flex;align-items:center;gap:12px;padding:10px 14px;margin:0 0 8px;border-radius:16px;background:#F6EEE2;border:1px solid rgba(191,156,99,.5);color:var(--ink,#141414);text-decoration:none}
.hm-sale-dbtn .hm-joy-men{width:32px;height:20px;flex:none}
.hm-sale-dbtn span{display:flex;flex-direction:column;line-height:1.25}
.hm-sale-dbtn b{font-weight:900;font-size:17px;color:var(--sale)}
.hm-sale-dbtn small{font-weight:700;font-size:13px;opacity:.75}
.hm-sale-dbtn>svg:last-child{width:20px;height:20px;margin-inline-start:auto;flex:none}

/* ---------- homepage hero: slide 1 takeover ---------- */
#pvHero .hm-sale-slide .stext .kick{background:var(--sale)}
#pvHero .hm-sale-clock{display:flex;align-items:center;gap:12px;margin:14px 0 4px;flex-wrap:wrap}
.hm-sale-clock .l{font-weight:900;font-size:14px;color:var(--ink,#141414)}
.hm-sale-clock .c{display:inline-flex;gap:6px;direction:rtl}
.hm-sale-clock .c>span{display:flex;flex-direction:column;align-items:center;min-width:52px;padding:6px 4px 5px;border-radius:12px;background:var(--sale-night);box-shadow:inset 0 0 0 1px rgba(217,188,140,.45)}
.hm-sale-clock .c b{font-family:var(--disp,inherit);font-weight:700;font-size:26px;line-height:1;color:#EBD3A6;font-variant-numeric:tabular-nums}
.hm-sale-clock .c small{font-size:11px;font-weight:700;color:rgba(255,255,255,.75);margin-top:2px}
@media (max-width:600px){
 #pvHero .hm-sale-clock{margin:10px 0 2px;gap:8px}
 .hm-sale-clock .l{font-size:13px;width:100%}
 .hm-sale-clock .c>span{min-width:44px;padding:5px 3px 4px;border-radius:10px}
 .hm-sale-clock .c b{font-size:21px}
}

/* ---------- category-top banner ---------- */
.hm-sale-cat{position:relative;margin:16px 0 18px;border-radius:22px;overflow:hidden;background:radial-gradient(120% 140% at 15% 50%,#3a2a22 0%,var(--sale-night) 55%,#140e0c 100%);box-shadow:inset 0 0 0 1px rgba(217,188,140,.35)}
.hm-sale-cat .in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:150px;padding:18px 28px;color:#fff;text-decoration:none}
.hm-sale-cat .tx{display:flex;flex-direction:column;gap:6px;min-width:0}
.hm-sale-cat .k{display:inline-flex;align-items:center;gap:8px;color:#EBD3A6;font-weight:900;font-size:13.5px}
.hm-sale-cat .k .hm-joy-men{width:30px;height:18px}
.hm-sale-cat b{font-family:var(--disp,inherit);font-weight:700;font-size:32px;line-height:1.08}
.hm-sale-cat .dl{display:flex;flex-wrap:wrap;gap:6px}
.hm-sale-cat .dl bdi{font-weight:900;font-size:13.5px;border-radius:999px;padding:3px 11px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(217,188,140,.5);color:#fff}
.hm-sale-cat .ft{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:2px}
.hm-sale-cat .end{font-size:14px;font-weight:700;color:rgba(255,255,255,.82)}
.hm-sale-cat .end .hm-sale-cd{color:#EBD3A6}
.hm-sale-cat .go{display:inline-flex;align-items:center;gap:6px;background:var(--sale);color:#fff;font-weight:900;font-size:15px;border-radius:999px;padding:8px 18px;transition:background .2s}
.hm-sale-cat .in:hover .go{background:#8A1824}
.hm-sale-cat .bt{display:flex;align-items:flex-end;gap:2px;height:150px;flex:none;padding-inline-end:10px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.45))}
.hm-sale-cat .bt img{height:134px;width:auto;max-width:72px;object-fit:contain}
.hm-sale-cat .bt img:nth-child(2){height:146px;max-width:80px}
.hm-sale-cat .x{position:absolute;top:8px;left:10px;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.1);color:#fff;font-size:20px;line-height:1;cursor:pointer}
.hm-sale-cat .x:hover{background:rgba(255,255,255,.22)}
@media (max-width:760px){
 .hm-sale-cat{margin:2px 0 12px;border-radius:16px}
 .hm-sale-cat .in{min-height:0;padding:10px 12px 10px 8px;gap:8px;align-items:center}
 .hm-sale-cat .tx{gap:4px}
 .hm-sale-cat b{font-size:18px}
 .hm-sale-cat .k{font-size:12px}
 .hm-sale-cat .k .hm-joy-men{width:24px;height:15px}
 .hm-sale-cat .dl{display:none}
 .hm-sale-cat .ft{gap:8px 12px}
 .hm-sale-cat .end{font-size:12.5px}
 .hm-sale-cat .go{font-size:13.5px;padding:6px 13px}
 .hm-sale-cat .bt{height:auto;align-items:center;padding:0;margin-inline-end:18px}
 .hm-sale-cat .bt img{height:78px;max-width:32px}
 .hm-sale-cat .bt img:nth-child(2){height:84px;max-width:36px}
 .hm-sale-cat .bt img:nth-child(3){display:none}
 .hm-sale-cat .x{top:4px;left:4px;width:26px;height:26px;font-size:17px}
 .hm-sale-cat .bt{margin-inline-end:22px}
}

/* ---------- deals hub hero (deals.html) ---------- */
.hm-sale-hub{position:relative;overflow:hidden;background:var(--sale-night);color:#fff;isolation:isolate}
.hm-sale-hub .bg{position:absolute;inset:0;z-index:-1}
.hm-sale-hub .bg img{width:100%;height:100%;object-fit:cover;object-position:25% 55%}
.hm-sale-hub .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(31,23,20,.97) 0%,rgba(31,23,20,.9) 42%,rgba(31,23,20,.35) 75%,rgba(31,23,20,.15) 100%)}
.hm-sale-hub .in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:36px;align-items:center;padding-block:44px}
.hm-sale-hub .hd{max-width:520px}
.hm-sale-hub .k{display:inline-flex;align-items:center;gap:10px;color:#EBD3A6;font-weight:900;font-size:15px}
.hm-sale-hub .k .hm-joy-men{width:36px;height:22px}
.hm-sale-hub h2{font-family:var(--disp,inherit);font-weight:700;font-size:56px;line-height:1;margin:8px 0 10px;color:#fff}
.hm-sale-hub p{font-size:17px;line-height:1.55;color:rgba(255,255,255,.88);margin:0}
.hm-sale-hub .hm-sale-clock{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}
.hm-sale-hub .hm-sale-clock .l{color:#fff}
.hm-sale-hub .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hm-sale-hub .dc{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.96);color:var(--ink,#141414);text-decoration:none;box-shadow:0 10px 26px rgba(0,0,0,.25);transition:transform .25s,box-shadow .25s}
.hm-sale-hub .dc:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.32)}
.hm-sale-hub .dc .ph{display:flex;align-items:flex-end;gap:0;height:96px;flex:none;width:70px;justify-content:center}
.hm-sale-hub .dc .ph img{height:92px;width:auto;max-width:36px;object-fit:contain}
.hm-sale-hub .dc .ph img+img{margin-inline-start:-6px;height:84px}
.hm-sale-hub .dc .t{display:flex;flex-direction:column;gap:2px;min-width:0}
.hm-sale-hub .dc b{font-family:var(--disp,inherit);font-weight:700;font-size:28px;line-height:1;color:var(--sale)}
.hm-sale-hub .dc small{font-size:13.5px;font-weight:700;color:#4a4542;line-height:1.3}
.hm-sale-hub .dc .go{font-size:13px;font-weight:900;margin-top:4px}
@media (max-width:900px){
 .hm-sale-hub .in{grid-template-columns:1fr;gap:18px;padding-block:22px 24px}
 .hm-sale-hub .bg img{object-position:20% 50%}
 .hm-sale-hub .bg::after{background:linear-gradient(180deg,rgba(31,23,20,.55) 0%,rgba(31,23,20,.92) 38%,rgba(31,23,20,.98) 100%)}
 .hm-sale-hub h2{font-size:34px;margin:4px 0 6px}
 .hm-sale-hub p{font-size:14.5px;line-height:1.45}
 .hm-sale-hub .hm-sale-clock{margin-top:10px;gap:8px}
 .hm-sale-hub .hm-sale-clock .l{width:auto;font-size:13px}
 .hm-sale-hub .hm-sale-clock .c>span{min-width:40px;padding:4px 2px}
 .hm-sale-hub .hm-sale-clock .c b{font-size:19px}
 .hm-sale-hub .cards{gap:8px}
 .hm-sale-hub .dc{flex-direction:column;align-items:stretch;gap:4px;padding:10px 10px 12px;border-radius:14px;text-align:start}
 .hm-sale-hub .dc{flex-direction:row;align-items:center;gap:8px;padding:8px}
 .hm-sale-hub .dc .ph{width:40px;height:62px}
 .hm-sale-hub .dc .ph img{height:60px;max-width:22px}.hm-sale-hub .dc .ph img+img{height:54px;margin-inline-start:-4px}
 .hm-sale-hub .dc b{font-size:21px}
 .hm-sale-hub .dc small{font-size:12.5px}
 .hm-sale-hub .dc .go{display:none}
}

/* ---------- PDP line ---------- */
.hm-sale-pdl{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 10px;margin:10px 0 4px;padding:9px 14px;border-radius:14px;background:#FBF4EA;border:1px solid rgba(191,156,99,.5);font-size:14.5px;line-height:1.35}
.hm-sale-pdl .hm-joy-men{width:30px;height:18px;flex:none}
.hm-sale-pdl b{font-weight:900}
.hm-sale-pdl a{font-weight:900;color:var(--sale);white-space:nowrap}
@media (max-width:600px){.hm-sale-pdl{grid-template-columns:auto 1fr;font-size:14px}.hm-sale-pdl a{grid-column:2}}
.hm-sale-pdl a:hover{text-decoration:underline}

/* ---------- cart / checkout: one calm reminder line + tags ---------- */
.hm-sale-rem{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:9px 12px;border-radius:12px;background:#FBF6EE;color:#4a4542;font-size:13.5px;font-weight:700;line-height:1.35}
.hm-sale-rem svg{width:16px;height:16px;flex:none;opacity:.75}
.hm-sale-gtag{display:inline-block;margin-inline-start:8px;padding:1px 8px 2px;border-radius:999px;background:linear-gradient(180deg,#2c2723,#141414);color:#EBD3A6;font-size:11.5px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(217,188,140,.55)}
@media (prefers-reduced-motion:reduce){.hm-sale-hub .dc,.hm-sale-cat .go{transition:none}}

/* ---------- mobile: ONE sale element before the first product (review 2026-12-04 §5 new-4/still-5) ----------
   top bar + the slim strip only; the dark category banner is desktop-only (it pushed the first card below the fold). */
@media (max-width:760px){.hm-sale-cat{display:none!important}}
