/* WC6 product info popup + card packaging lines (STAGING 2026-10-07). Mockups: WC6B_popup.jpg, WC6B_desktop_grid.jpg.
   Palette = WC6 cards: ink #1A1A1A, magenta #DF1A81, green #15803D, hairline #ECE9EE, muted #77727C. */

/* ============================== popup ============================== */
html.b2b-qv-open, html.b2b-qv-open body { overflow: hidden !important; }
.b2b-qv { position: fixed; inset: 0; z-index: 100000; font-family: inherit; color: #1A1A1A; direction: rtl; }
.b2b-qv[hidden] { display: none !important; }
.b2b-qv *, .b2b-qv *::before, .b2b-qv *::after { box-sizing: border-box; }
/* the theme sizes every bare span 18px (style.css span:not(...)): inside the popup spans follow their parent */
:is(.b2b-qv, .b2b-qvi) :is(span, bdi, b, small, em, s, del) { font-size: inherit; font-family: inherit; line-height: inherit; }
.b2b-qv__dim { position: absolute; inset: 0; background: rgba(30, 24, 32, .5); opacity: 0; transition: opacity .18s ease; }
.b2b-qv.is-in .b2b-qv__dim { opacity: 1; }
.b2b-qv__box {
    position: absolute; top: 50%; left: 50%; width: min(1160px, calc(100vw - 48px)); height: min(820px, calc(100vh - 48px));
    transform: translate(-50%, -48%); opacity: 0; transition: transform .2s ease, opacity .18s ease;
    background: #fff; border-radius: 24px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .55);
    display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); overflow: hidden; outline: none;
}
.b2b-qv.is-in .b2b-qv__box { transform: translate(-50%, -50%); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .b2b-qv__box, .b2b-qv__dim { transition: none; } }
.b2b-qv__x {
    position: absolute; top: 18px; left: 18px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0;
    background: #F4F2F5; color: #1A1A1A; display: grid; place-items: center; cursor: pointer; transition: background .15s;
}
.b2b-qv__x:hover { background: #ECE9EE; }
.b2b-qv button:focus-visible, .b2b-qv a:focus-visible, .b2b-qv [tabindex="0"]:focus-visible, .b2b-qv summary:focus-visible { outline: 2px solid #DF1A81; outline-offset: 2px; }

/* gallery (left in RTL) */
.b2b-qv__gal { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.b2b-qv__main { position: relative; flex: 0 1 auto; aspect-ratio: 1 / 1; max-height: 100%; min-height: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px #F0EDF1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.b2b-qv__main img { max-width: 84%; max-height: 86%; width: auto; height: auto; object-fit: contain; }
.b2b-qv__tag { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; z-index: 2; }
.b2b-qv__ths { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.b2b-qv__th { width: 60px; height: 60px; padding: 3px; border-radius: 10px; border: 1px solid #ECE9EE; background: #fff; cursor: pointer; display: grid; place-items: center; }
.b2b-qv__th img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.b2b-qv__th.is-on { border: 1.5px solid #1A1A1A; }

/* the card's corner tag, re-drawn inside the popup (the card CSS is scoped to ul.products) */
.b2b-qv__tag .b2b-ribbon, .b2b-qv__tag .b2b-badge--oos, .b2b-qv__tag .b2bpp-ribbon {
    position: static !important; display: inline-flex !important; align-items: center; gap: 5px; height: 28px; padding: 0 12px;
    border-radius: 0 16px 0 10px; background: #DF1A81; color: #fff; font: 600 13px/1 inherit; font-family: inherit; transform: none !important; inset: auto !important; width: auto !important;
}
.b2b-qv__tag .b2b-tag-i { width: 14px; height: 14px; }
.b2b-qv__tag .b2b-tag-s { display: none; }
.b2b-qv__tag .b2b-ribbon--best { background: #FBF8F2; color: #1A1A1A; box-shadow: inset 0 0 0 1px #D9CFBD; }
.b2b-qv__tag .b2b-ribbon--best .b2b-tag-i { color: #A65E1B; }
.b2b-qv__tag .b2b-ribbon--new { background: #1A1A1A; }
.b2b-qv__tag .b2b-ribbon--back { background: #1E5B3A; }
.b2b-qv__tag .b2b-ribbon--gift { background: #1A1A1A; }
.b2b-qv__tag .b2b-badge--oos { background: #EDEBEE; color: #4A4A4A; }
.b2b-qv__tag .b2b-ribbon--split { padding: 0; overflow: hidden; }
.b2b-qv__tag .b2b-ribbon--split .b2b-ribbon__l { background: #1A1A1A; padding: 0 9px; height: 100%; display: flex; align-items: center; }
.b2b-qv__tag .b2b-ribbon--split .b2b-ribbon__r { background: #DF1A81; padding: 0 9px; height: 100%; display: flex; align-items: center; }
.b2b-qv__tag .b2b-tag-note { font-size: 11.5px; color: #B0105F; font-weight: 600; background: rgba(255,255,255,.9); padding: 1px 8px; border-radius: 0 0 0 8px; }

/* info column (right in RTL) */
.b2b-qv__info { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.b2b-qv__scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 30px 36px 18px 36px; border-inline-start: 1px solid #F4F1F5; scrollbar-width: thin; }
.b2b-qv__brand { font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; color: #DF1A81; margin: 4px 0 0 60px; }
.b2b-qv__t { font-size: 26px !important; line-height: 1.22 !important; font-weight: 700 !important; letter-spacing: -.2px; margin: 6px 0 0 56px !important; color: #1A1A1A !important; outline: none; }
.b2b-qv__what { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 14.5px; color: #5A5560; line-height: 1.45; }
.b2b-qv__what svg { flex: none; margin-top: 2px; color: #4A4A4A; }
.b2b-qv__what b { color: #1A1A1A; font-weight: 700; }
.b2b-qv__what i { font-style: normal; margin: 0 6px; color: #B7B1BC; }
.b2b-qv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 8px; font-size: 13.5px; color: #77727C; }
.b2b-qv__stock { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.b2b-qv__stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.b2b-qv__stock.is-in { color: #15803D; } .b2b-qv__stock.is-in::before { background: #22C55E; box-shadow: 0 0 0 4px #DCFCE7; }
.b2b-qv__stock.is-out { color: #8A8590; } .b2b-qv__stock.is-out::before { background: #B7B1BC; box-shadow: 0 0 0 4px #F1EEF2; }
.b2b-qv__sku bdi { font-variant-numeric: tabular-nums; color: #3A3A3A; }

.b2b-qv__price { margin-top: 18px; }
.b2b-qv__hero { color: #DF1A81; font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.8px; display: flex; align-items: baseline; gap: 4px; }
.b2b-qv__hero .q { font-size: 24px; font-weight: 700; letter-spacing: 0; }
.b2b-qv__pmain { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.6px; display: flex; align-items: baseline; gap: 10px; }
.b2b-qv__pmain.is-sale { color: #DF1A81; }
.b2b-qv__pmain del { font-size: 16px; font-weight: 500; color: #8A8590; letter-spacing: 0; }
.b2b-qv__unitp { font-size: 14px; color: #77727C; font-weight: 600; margin-top: 8px; }
.b2b-qv__ppu { font-size: 13.5px; color: #77727C; margin-top: 4px; }
.b2b-qv__vat { font-size: 12px; color: #8A8590; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.b2b-qv__pts { display: inline-flex; align-items: center; gap: 4px; color: #555; }
.b2b-qv__pts svg { color: #4A4A4A; }
.b2b-qv__deal { margin-top: 10px; display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; color: #3A3A3A; background: #FDF2F8; border-radius: 10px; padding: 8px 12px; }
.b2b-qv__deal svg { color: #DF1A81; flex: none; margin-top: 2px; }
.b2b-qv__deal b { color: #B0105F; }
.b2b-qv__login { height: 46px; padding: 0 22px; border-radius: 23px; border: 0; background: #DF1A81; color: #fff; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }

.b2b-qv__chain { margin-top: 16px; border: 1px solid #ECE9EE; border-radius: 12px; padding: 12px 14px; background: #FCFBF9; }
.b2b-qv__ch { font-size: 11.5px; font-weight: 700; letter-spacing: .4px; color: #77727C; margin-bottom: 10px; }
.b2b-qv__lvs { display: flex; align-items: stretch; gap: 6px; }
.b2b-qv__lv { flex: 1 1 0; min-width: 0; display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid #ECE9EE; border-radius: 10px; padding: 8px 10px; }
.b2b-qv__lv svg { flex: none; color: #4A4A4A; }
.b2b-qv__lv b { display: block; font-size: 12.5px; font-weight: 700; color: #1A1A1A; line-height: 1.3; margin: 0; }
.b2b-qv__lv span { display: block; font-size: 11.5px; color: #555; line-height: 1.35; margin-top: 1px; }
.b2b-qv__lv.is-on { border-color: #1A1A1A; box-shadow: 0 0 0 1px #1A1A1A inset; }
.b2b-qv__ar { align-self: center; color: #B7B1BC; font-size: 15px; flex: none; }
.b2b-qv__lim { margin-top: 10px; font-size: 12.5px; color: #555; display: flex; gap: 5px; align-items: center; }
.b2b-qv__lim svg { color: #4A4A4A; } .b2b-qv__lim b { color: #3A3A3A; }
.b2b-qv__lim.is-solo { margin-top: 14px; }

.b2b-qv__opts { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.b2b-qv__opt { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #ECE9EE; border-radius: 12px; cursor: pointer; transition: border-color .12s, background .12s; background: #fff; }
.b2b-qv__opt:hover { border-color: #D7D2DA; }
.b2b-qv__opt.is-on { border-color: #DF1A81; background: #FFF5FA; box-shadow: 0 0 0 1px #DF1A81 inset; }
.b2b-qv__rd { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #C9C3CD; display: grid; place-items: center; }
.b2b-qv__opt.is-on .b2b-qv__rd { border-color: #DF1A81; }
.b2b-qv__opt.is-on .b2b-qv__rd::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #DF1A81; }
.b2b-qv__ot { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.b2b-qv__ot b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0; }
.b2b-qv__ot small { display: block; font-size: 12.5px; color: #77727C; margin: 2px 0 0; line-height: 1.3; }
.b2b-qv__op { flex: none; text-align: left; line-height: 1.2; }
.b2b-qv__op b { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; }
.b2b-qv__op s { display: block; font-size: 12px; color: #A09AA5; line-height: 1.3; }

.b2b-qv__feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.b2b-qv__feats[data-n="1"], .b2b-qv__feats[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b2b-qv__feats[data-n="3"], .b2b-qv__feats[data-n="5"], .b2b-qv__feats[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b2b-qv__feat { background: #F7F5F8; border-radius: 10px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.b2b-qv__feat i { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #DF1A81; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.b2b-qv__feat b { font-size: 12.5px; font-weight: 700; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.b2b-qv__feat span { font-size: 11px; color: #8A8590; }
.b2b-qv__note { margin-top: 12px; display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: #555; }
.b2b-qv__note svg { color: #DF1A81; }
.b2b-qv__more { margin-top: 14px; border-top: 1px solid #F1EEF2; }
.b2b-qv__more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 15px; font-weight: 700; }
.b2b-qv__more summary::-webkit-details-marker { display: none; }
.b2b-qv__more summary svg { transform: rotate(-90deg); transition: transform .15s; color: #77727C; }
.b2b-qv__more[open] summary svg { transform: rotate(90deg); }
.b2b-qv__desc { font-size: 14px; line-height: 1.6; color: #3A3A3A; padding-bottom: 8px; }
.b2b-qv__desc img { max-width: 100%; height: auto; }
.b2b-qv__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: #DF1A81 !important; font-weight: 700; font-size: 14.5px; text-decoration: none; }

/* sticky bar */
.b2b-qv__stick { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 36px; border-top: 1px solid #F1EEF2; background: #fff; box-shadow: 0 -12px 24px -18px rgba(0,0,0,.18); min-height: 80px; }
.b2b-qv__stick:empty { display: none; }
.b2b-qv__tot { flex: none; line-height: 1.25; min-width: 108px; }
.b2b-qv__tot b { display: block; font-size: 21px; font-weight: 800; line-height: 1.2; }
.b2b-qv__tot span { display: block; font-size: 12.5px; color: #55505A; font-weight: 600; }
.b2b-qv__tot em { display: block; font-style: normal; font-size: 11.5px; color: #8A8590; }
.b2b-qv__add {
    flex: 1 1 auto; height: 52px; border-radius: 26px; border: 0; background: #DF1A81; color: #fff !important; font: 700 17px/1 inherit; font-family: inherit;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s;
}
.b2b-qv__add:hover { background: #C8156F; }
.b2b-qv__add:active { transform: scale(.99); }
.b2b-qv__add.is-done { background: #1A1A1A; }
.b2b-qv__add.is-remove { background: #fff; color: #B0105F !important; box-shadow: inset 0 0 0 1.5px #DF1A81; }
.b2b-qv__add.is-busy { opacity: .75; cursor: progress; }
.b2b-qv__add.is-ghost { background: #F4F2F5; color: #1A1A1A !important; flex: 0 0 auto; padding: 0 22px; }
.b2b-qv__add.is-flash { box-shadow: 0 0 0 4px rgba(34, 197, 94, .3); }
.b2b-qv__oos { flex: 1; font-weight: 700; color: #77727C; }
/* "+ | qty | −" with + on the left, as on the cards */
.b2b-qv__qty { flex: none; display: flex; align-items: center; height: 52px; min-width: 150px; border-radius: 26px; background: #DF1A81; color: #fff; overflow: hidden; }
.b2b-qv__qty button { width: 48px; height: 52px; border: 0; background: transparent; color: #fff; font: 600 22px/1 inherit; font-family: inherit; cursor: pointer; padding: 0; }
.b2b-qv__qty button:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.b2b-qv__qty button:disabled { opacity: .4; cursor: default; }
.b2b-qv__qty output { flex: 1; text-align: center; font-weight: 700; font-size: 16px; line-height: 52px; border-inline: 1px solid rgba(255,255,255,.35); min-width: 44px; font-variant-numeric: tabular-nums; }

/* loading */
.b2b-qv__skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #F4F2F5, #ECE9EE, #F4F2F5); background-size: 200% 100%; animation: b2bqvsk 1.1s linear infinite; margin: 14px 0; width: 60%; }
.b2b-qv__skel i.w { width: 100%; height: 120px; border-radius: 12px; }
@keyframes b2bqvsk { to { background-position: -200% 0; } }

@media (max-width: 1100px) and (min-width: 769px) {
    .b2b-qv__box { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); }
    .b2b-qv__scroll { padding: 26px 26px 16px; }
    .b2b-qv__stick { padding: 12px 26px; }
    .b2b-qv__feats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .b2b-qv__lvs { flex-wrap: wrap; } .b2b-qv__ar { display: none; }
}

/* phones: bottom sheet, photo on top, the bar stays at the bottom of the sheet */
@media (max-width: 768px) {
    .b2b-qv__box {
        top: auto; bottom: 0; left: 0; width: 100%; height: auto; max-height: calc(100dvh - 24px); transform: translateY(24px);
        border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    }
    .b2b-qv.is-in .b2b-qv__box { transform: none; }
    .b2b-qv__gal { order: -1; padding: 14px 14px 0; border: 0; flex: none; }
    .b2b-qv__main { height: 240px; flex: none; }
    .b2b-qv__th { width: 48px; height: 48px; flex: none; }
    .b2b-qv__ths { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 1px 2px; -webkit-overflow-scrolling: touch; } .b2b-qv__ths::-webkit-scrollbar { display: none; }
    .b2b-qv__info { flex: 1 0 auto; }
    .b2b-qv__scroll { overflow: visible; padding: 14px 16px 12px; }
    .b2b-qv__x { top: 22px; left: 22px; width: 38px; height: 38px; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
    .b2b-qv__brand, .b2b-qv__t { margin-left: 0 !important; }
    .b2b-qv__t { font-size: 20px !important; }
    .b2b-qv__hero { font-size: 30px; } .b2b-qv__hero .q { font-size: 19px; }
    .b2b-qv__pmain { font-size: 28px; }
    .b2b-qv__lvs { gap: 3px; } .b2b-qv__lv { flex-direction: column; align-items: flex-start; gap: 4px; padding: 7px 8px; } .b2b-qv__lv svg { width: 16px; height: 16px; } .b2b-qv__ar { font-size: 12px; }
    .b2b-qv__feats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .b2b-qv__stick { position: sticky; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; min-height: 0; flex-wrap: wrap; }
    .b2b-qv__tot { min-width: 0; flex: 1 1 100%; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
    .b2b-qv__tot b { font-size: 19px; display: inline; }
    .b2b-qv__tot span, .b2b-qv__tot em { display: inline; }
    .b2b-qv__add { height: 48px; font-size: 15.5px; }
    .b2b-qv__qty { height: 48px; min-width: 128px; } .b2b-qv__qty button { height: 48px; width: 42px; } .b2b-qv__qty output { line-height: 48px; }
}

/* ============================== catalog cards (WC6 grid mockup) ============================== */
/* packaging lines: unit content / pack / master carton (wc6-pop.php b2b_wc6_card_chain_html) */
html body ul.products li.product .b2b-chain { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; font-size: 12px; line-height: 1.35; color: #77727C; text-align: start; }
html body ul.products li.product .b2b-chain__r { display: flex; align-items: flex-start; gap: 5px; min-width: 0; }
html body ul.products li.product .b2b-chain__r > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body ul.products li.product .b2b-chain__i { flex: none; width: 13px; height: 13px; margin-top: 2px; color: #4A4A4A; }
html body ul.products li.product .b2b-chain b { font-weight: 700; color: #3A3A3A; }
html body ul.products li.product .b2b-chain i { font-style: normal; color: #A09AA5; }
/* the chain replaces the card's own "בקרטון" / "מארז" facts and the content line it already says */
html body ul.products li.product:has(.b2b-chain:not(.is-gift-only)) .b2b-rule--carton,
html body ul.products li.product:has(.b2b-chain:not(.is-gift-only)) .b2b-rule--pack,
html body ul.products li.product:has(.b2b-chain__r--unit) .astra-shop-summary-wrap > .short_description { display: none !important; }
/* the theme's catalog CSS pins the carton fact with high-specificity !important rules: outrank them only where a chain is shown
   (grid: always; list rows: only when the chain carries the unit line, see below) */
html body ul.products.products.products:not(.b2b-list) > li.product.product.product:has(.b2b-chain:not(.is-gift-only)) .b2b-rules .b2b-rule--carton.b2b-rule--carton.b2b-rule--carton,
html body ul.products.products.products:not(.b2b-list) > li.product.product.product:has(.b2b-chain:not(.is-gift-only)) .b2b-rules .b2b-rule--pack.b2b-rule--pack.b2b-rule--pack,
html body ul.products.products.products:not(.b2b-list) > li.product.product.product:has(.b2b-chain:not(.is-gift-only)) .b2b-rules.b2b-rules.b2b-rules[data-count="1"]:not(:has(> :not(.b2b-rule--carton):not(.b2b-rule--pack))),
html body ul.products.products.b2b-list > li.product.product.product:has(.b2b-chain:not(.is-gift-only)):is(:has(.b2b-chain__r--unit), :not(:has(.short_description:not(:empty)))) .b2b-rules .b2b-rule--carton.b2b-rule--carton.b2b-rule--carton,
html body ul.products.products.b2b-list > li.product.product.product:has(.b2b-chain:not(.is-gift-only)):is(:has(.b2b-chain__r--unit), :not(:has(.short_description:not(:empty)))) .b2b-rules .b2b-rule--pack.b2b-rule--pack.b2b-rule--pack,
html body ul.products.products.b2b-list > li.product.product.product:has(.b2b-chain:not(.is-gift-only)):is(:has(.b2b-chain__r--unit), :not(:has(.short_description:not(:empty)))) .b2b-rules.b2b-rules.b2b-rules[data-count="1"]:not(:has(> :not(.b2b-rule--carton):not(.b2b-rule--pack))) { display: none !important; }
/* list rows: the chain takes the description cell (free, the content line is in the chain) as one wrapping line;
   rows whose description is something else keep the classic facts and no chain */
html body ul.products.products.b2b-list > li.product.product.product:is(:has(.b2b-chain__r--unit), :not(:has(.short_description:not(:empty)))) .astra-shop-summary-wrap > .b2b-chain.b2b-chain { grid-area: desc; flex-direction: row; flex-wrap: wrap; gap: 2px 14px; margin: 4px 0 0; align-self: start; min-width: 0; }
html body ul.products.products.b2b-list > li.product.product.product .b2b-chain .b2b-chain__r > span { white-space: normal; overflow: visible; }
html body ul.products.products.b2b-list > li.product.product.product:not(:has(.b2b-chain__r--unit)):has(.short_description:not(:empty)) .astra-shop-summary-wrap > .b2b-chain.b2b-chain { display: none !important; }
/* the gift: grid cards say it under the price (.b2b-giftline), list rows inside the description cell (.b2b-chain__r--gift) */
html body ul.products.products:not(.b2b-list) > li.product.product.product .b2b-chain__r--gift,
html body ul.products.products:not(.b2b-list) > li.product.product.product .b2b-chain.is-gift-only,
html body ul.products.products.b2b-list > li.product.product.product .astra-shop-summary-wrap > .b2b-giftline { display: none !important; }
html body ul.products li.product .b2b-chain__r--gift .b2b-chain__i { color: #DF1A81; }
html body ul.products li.product .b2b-chain__r--gift b { color: #B0105F; }
html body ul.products.products.products:not(.b2b-list) > li.product.product.product .astra-shop-summary-wrap > .b2b-giftline.b2b-giftline { order: 7 !important; }
/* grid: the packaging lines sit under the title / content line and above the price (mockup), whatever the theme's order map */
html body ul.products.products.products:not(.b2b-list) > li.product.product.product .astra-shop-summary-wrap > .b2b-chain.b2b-chain { order: 4 !important; }
html body ul.products.products.products > li.product.product.product:has(.b2b-chain__r--unit) .astra-shop-summary-wrap > .short_description.short_description.short_description { display: none !important; }
/* the theme's global "span { font-size: 18px }" (style.css) must not reach the new card lines */
html body ul.products li.product :is(.b2b-chain, .b2b-giftline, .b2b-limit) :is(span, b, i, bdi) { font-size: inherit; font-family: inherit; line-height: inherit; }

/* gift line under the price */
html body ul.products li.product .b2b-giftline { display: flex; align-items: flex-start; gap: 5px; margin-top: 6px; font-size: 12px; line-height: 1.35; color: #5A5560; text-align: start; }
html body ul.products li.product .b2b-giftline .b2b-tag-i { flex: none; width: 13px; height: 13px; margin-top: 2px; color: #DF1A81; }
html body ul.products li.product .b2b-giftline b { color: #B0105F; font-weight: 700; }

/* per-customer / per-order limit beside the + (grid); hidden where the card already shows the same rule */
html body ul.products li.product .b2b-limit { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #555; white-space: nowrap; }
html body ul.products li.product .b2b-limit svg { color: #4A4A4A; flex: none; }
html body ul.products li.product .b2b-limit b { color: #3A3A3A; }
html body ul.products li.product:has(.b2b-limit) .b2b-rule--customer,
html body ul.products li.product:has(.b2b-limit) .b2b-rule--max { display: none !important; }
html body ul.products:not(.b2b-list) li.product .b2b-limit { position: absolute; right: 14px; bottom: 22px; z-index: 2; pointer-events: none; }
/* list rows keep their own facts cell for the limit (no free grid cell for a second copy) */
html body ul.products.b2b-list li.product .b2b-limit { display: none !important; }
html body ul.products.products.b2b-list > li.product.product.product:has(.b2b-limit) .b2b-rules .b2b-rule--customer.b2b-rule--customer,
html body ul.products.products.b2b-list > li.product.product.product:has(.b2b-limit) .b2b-rules .b2b-rule--max.b2b-rule--max { display: inline-flex !important; }
html body ul.products li.product .b2b-chain i { white-space: nowrap; }
@media (max-width: 768px) {
    html body ul.products li.product .b2b-chain { font-size: 10.5px; gap: 2px; }
    html body ul.products li.product .b2b-chain__i { width: 11px; height: 11px; }
    html body ul.products li.product .b2b-chain__r > span { white-space: normal; overflow: visible; }
    html body ul.products li.product .b2b-giftline { font-size: 10.5px; }
    html body ul.products:not(.b2b-list) li.product .b2b-limit { display: none; }
    html body ul.products li.product:has(.b2b-limit) .b2b-rule--customer,
    html body ul.products li.product:has(.b2b-limit) .b2b-rule--max { display: inline-flex !important; }
}

/* 2026-10-07 (nav) */
.b2b-qv__meta .b2b-qv__link { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 2px; padding: 2px 0; font-size: 13px; font-weight: 600; color: #DF1A81; text-decoration: none; white-space: nowrap; }
.b2b-qv__meta .b2b-qv__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.b2b-qv__meta .b2b-qv__link:focus-visible { outline: 2px solid #DF1A81; outline-offset: 2px; border-radius: 4px; }
.b2b-qv__opt.is-off { opacity: .55; cursor: not-allowed; }
.b2b-qv__opt.is-tier .b2b-qv__ot small { color: #8A1450; }
.b2b-qv__tot em.b2b-qv__maxmsg { display: block; color: #B4235A; font-style: normal; font-size: 12px; font-weight: 600; }
.b2b-qv__tot em.b2b-qv__maxmsg.is-flash { animation: b2bQvShake .35s ease; }
@keyframes b2bQvShake { 0%,100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .b2b-qv__tot em.b2b-qv__maxmsg.is-flash { animation: none; } }
.b2b-qv__qty button.is-max { opacity: .45; }
/* (nav #24) tier rows flash once when the popup is opened from the tier badge / strip */
.b2b-qv .b2b-qv__opt.is-tier.is-hl { animation: b2b-qv-hl 1.6s ease both; }
@keyframes b2b-qv-hl { 0%, 60% { box-shadow: 0 0 0 2px #DF1A81, 0 6px 18px -8px rgba(223, 26, 129, .55); background-color: #FFF3F9; } }
@media (prefers-reduced-motion: reduce) { .b2b-qv .b2b-qv__opt.is-tier.is-hl { animation: none; box-shadow: 0 0 0 2px #DF1A81; } }

/* ============================== (nav #20/#18) product page buy box = the popup's components ============================== */
.b2b-qvi { direction: rtl; color: #1A1A1A; font-family: inherit; width: 100%; text-align: start; }
.b2b-qvi *, .b2b-qvi *::before, .b2b-qvi *::after { box-sizing: border-box; }
.b2b-qvi:not(.is-ready) { min-height: var(--qvi-mh, 0px); }
.b2b-qvi button:focus-visible, .b2b-qvi [tabindex="0"]:focus-visible { outline: 2px solid #DF1A81; outline-offset: 2px; }
.b2b-qvi .b2b-qv__scroll { overflow: visible; padding: 0; border: 0; }
.b2b-qvi .b2b-qv__price { margin-top: 0; }
.b2b-qvi .b2b-qv__oh { margin-top: 18px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #3A3A3A; }
.b2b-qvi .b2b-qv__oh svg { color: #DF1A81; }
.b2b-qvi .b2b-qv__oh + .b2b-qv__opts { margin-top: 8px; }
.b2b-qvi .b2b-qv__opt { min-height: 58px; }
.b2b-qvi .b2b-qv__opt.is-tier:not(.is-off) .b2b-qv__op b { color: #B0105F; }
.b2b-qvi .b2b-qv__stick { position: static; margin-top: 16px; padding: 14px 0 0; border-top: 1px solid #F1EEF2; box-shadow: none; min-height: 0; background: transparent; }
.b2b-qvi .b2b-qv__qty button, .b2b-qvi .b2b-qv__add, .b2b-qvi .b2b-qv__login { box-shadow: none; text-transform: none; letter-spacing: 0; }
.b2b-qvi .b2b-qv__qty button { border-radius: 0 !important; min-height: 0; }
.b2b-qvi .b2b-qv__add.is-remove { box-shadow: inset 0 0 0 1.5px #DF1A81; }
.b2b-qvi .b2b-qv__add.is-flash { box-shadow: 0 0 0 4px rgba(34, 197, 94, .3); }
/* template 25741: the buy row becomes one column holding the box */
body.b2b-pdp-wc6 .elementor-25741 #add-to-cart-wrapper { flex-direction: column !important; align-items: stretch !important; min-height: 0; }
body.b2b-pdp-wc6 .elementor-25741 #add-to-cart-wrapper > .elementor-element-f7f0d19 { width: 100% !important; flex: 1 1 auto; }
body.b2b-pdp-wc6 .elementor-25741 #add-to-cart-wrapper > .elementor-element-0b3c6a5,
body.b2b-pdp-wc6 .elementor-25741 .elementor-element.elementor-element-c95ee2b,
body.b2b-pdp-wc6 .elementor-25741 .elementor-element.elementor-element-6660584 { display: none !important; }
@media (max-width: 767px) {
    .b2b-qvi .b2b-qv__pmain { font-size: 30px; }
    .b2b-qvi .b2b-qv__opt { padding: 9px 12px; gap: 10px; }
    .b2b-qvi .b2b-qv__ot b { font-size: 14px; }
    .b2b-qvi .b2b-qv__stick { flex-wrap: wrap; gap: 8px; padding-top: 12px; }
    .b2b-qvi .b2b-qv__stick.is-fixed {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 9989; margin: 0; flex-wrap: nowrap; gap: 8px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #ECE9EE;
        box-shadow: 0 -4px 16px rgba(28, 27, 31, .08); animation: b2bQviIn .2s ease both;
    }
    body.b2b-ot-has-bar .b2b-qvi .b2b-qv__stick.is-fixed { bottom: calc(var(--b2b-ot-h, 60px) + var(--b2b-ot-safe, 0px)); padding-bottom: 8px; box-shadow: 0 64px 0 0 #fff, 0 -4px 16px rgba(28, 27, 31, .08); }
    .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__tot { flex: 0 1 auto; display: block; min-width: 0; }
    .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__tot b { display: block; font-size: 18px; }
    .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__tot span, .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__tot em:not(.b2b-qv__maxmsg) { display: none; }
    .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__add { height: 46px; font-size: 15px; min-width: 0; }
    .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__qty { height: 46px; min-width: 112px; }
    .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__qty button { height: 46px; width: 38px; }
    .b2b-qvi .b2b-qv__stick.is-fixed .b2b-qv__qty output { line-height: 46px; }
    body.b2bs-open .b2b-qvi .b2b-qv__stick.is-fixed, body.cart-is-open .b2b-qvi .b2b-qv__stick.is-fixed, html.b2b-qv-open .b2b-qvi .b2b-qv__stick.is-fixed { opacity: 0; pointer-events: none; }
}
@keyframes b2bQviIn { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .b2b-qvi .b2b-qv__stick.is-fixed { animation: none; } }

/* 2026-10-08 (Doron): pink + on every option row (same look as the card +); after the first add an in-row stepper.
   Sits at the row's left end, beside the price. The bottom bar (stepper + «הוספה לסל») is unchanged. */
.b2b-qv__oc { flex: none; display: inline-flex; align-items: center; margin-inline-start: 2px; }
.b2b-qv__oc:empty { display: none; }
.b2b-qv__oc button { font-family: inherit; box-shadow: none; text-transform: none; letter-spacing: 0; min-height: 0; }
.b2b-qv__oplus {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin: 0; padding: 0 !important;
    border: 0 !important; border-radius: 50% !important;
    background: #DF1A81 !important; color: #fff !important;
    box-shadow: 0 2px 8px rgba(223, 26, 129, .28) !important;
    cursor: pointer; transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.b2b-qv__oplus:hover { background: #C8156F !important; }
.b2b-qv__oplus:active { transform: scale(.92); }
.b2b-qv__oplus[aria-disabled="true"] { opacity: .4; cursor: default; box-shadow: none !important; }
.b2b-qv__oplus.is-busy, .b2b-qv__ost.is-busy { opacity: .8; }
.b2b-qv__oplus:focus-visible, .b2b-qv__ost button:focus-visible { outline: 2px solid #DF1A81; outline-offset: 2px; }
.b2b-qv__ost {
    display: inline-flex; align-items: center; height: 40px; min-width: 112px;
    border-radius: 20px; background: #DF1A81; color: #fff; overflow: hidden;
    box-shadow: 0 2px 8px rgba(223, 26, 129, .24);
}
.b2b-qv__ost button {
    width: 36px; height: 40px; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; color: #fff !important; font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer;
}
.b2b-qv__ost button:hover { background: rgba(255, 255, 255, .14) !important; }
.b2b-qv__ost button.is-max { opacity: .45; }
.b2b-qv__ost output { flex: 1; min-width: 36px; text-align: center; font-size: 15px; font-weight: 700; line-height: 40px; font-variant-numeric: tabular-nums; border-inline: 1px solid rgba(255, 255, 255, .35); }
@media (max-width: 480px) {
    .b2b-qv__oplus { width: 38px; height: 38px; }
    .b2b-qv__ost { height: 38px; min-width: 104px; } .b2b-qv__ost button { height: 38px; width: 34px; } .b2b-qv__ost output { line-height: 38px; min-width: 32px; }
}
@media (prefers-reduced-motion: reduce) { .b2b-qv__oplus { transition: none; } }

/* 2026-10-08 (Doron): general + in the bottom bar = the card + exactly (44px disc, white "+" 28px; phones 52px / 34px 600);
   after the first add the card stepper (pink pill, − n +) with the same height. */
.b2b-qv__gp { flex: none; display: inline-flex; align-items: center; order: 9; }
.b2b-qv__gp button { font-family: inherit; box-shadow: none; text-transform: none; letter-spacing: 0; min-height: 0; margin: 0; }
.b2b-qv__gplus {
    display: inline-flex; align-items: center; justify-content: center; position: relative;
    width: 44px; height: 44px; min-width: 44px; padding: 0 !important; border: 0 !important; border-radius: 35px !important;
    background: #DF1A81 !important; color: #fff !important; cursor: pointer; transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.b2b-qv__gplus > span { font-family: "Open Sans", Arial, sans-serif; font-size: 28px; font-weight: 400; line-height: 1; color: #fff; pointer-events: none; }
.b2b-qv__gplus:hover { background: #C8156F !important; box-shadow: 0 0 0 6px rgba(223, 26, 129, .14), 0 0 0 1px rgba(223, 26, 129, .25), 0 6px 14px -4px rgba(223, 26, 129, .45) !important; }
.b2b-qv__gplus:active { transform: scale(.92); }
.b2b-qv__gplus[aria-disabled="true"] { opacity: .4; cursor: default; box-shadow: none !important; }
.b2b-qv__gplus.is-busy, .b2b-qv__gst.is-busy { opacity: .8; }
.b2b-qv__gplus:focus-visible, .b2b-qv__gst button:focus-visible { outline: 2px solid #DF1A81; outline-offset: 2px; }
.b2b-qv__gst { display: inline-flex; align-items: center; height: 44px; width: 120px; border-radius: 22px; background: #DF1A81; color: #fff; overflow: hidden; }
.b2b-qv__gst button { flex: 0 0 40px; width: 40px; height: 44px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #fff !important; font-size: 22px; font-weight: 600; line-height: 1; cursor: pointer; }
.b2b-qv__gst button:hover { background: rgba(255, 255, 255, .14) !important; }
.b2b-qv__gst button.is-max { opacity: .45; }
.b2b-qv__gst output { flex: 1; min-width: 0; text-align: center; font-size: 16px; font-weight: 700; line-height: 44px; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
    .b2b-qv__gplus { width: 52px; height: 52px; min-width: 52px; }
    .b2b-qv__gplus > span { font-size: 34px; font-weight: 600; }
    .b2b-qv__stick .b2b-qv__add { min-width: 0; }
    .b2b-qv__gst { height: 52px; width: 136px; border-radius: 26px; }
    .b2b-qv__gst button { flex-basis: 48px; width: 48px; height: 52px; }
    .b2b-qv__gst output { line-height: 52px; }
    /* room for «הוספה לסל» once the + is a stepper: the amount picker and the stepper get a little narrower */
    .b2b-qv__stick.has-gpst .b2b-qv__qty { min-width: 112px; } .b2b-qv__stick.has-gpst .b2b-qv__qty button { width: 36px; }
    .b2b-qv__stick.has-gpst .b2b-qv__gst { width: 120px; } .b2b-qv__stick.has-gpst .b2b-qv__gst button { flex-basis: 40px; width: 40px; }
    .b2b-qv__stick .b2b-qv__add { flex: 1 1 0; padding: 0 8px; gap: 6px; font-size: 15px; white-space: nowrap; overflow: hidden; }
    /* the phone sticky bar (product page) has no room for both steppers: while the option is in the cart the
       amount picker steps aside there (the + stepper sets the cart); it stays in the bar inside the page */
    .b2b-qvi .b2b-qv__stick.is-fixed.has-gpst .b2b-qv__qty { display: none; }
    /* phones, option in the cart: «✓ בסל · N» says what the + stepper already shows -> it steps aside and the amount
       picker takes the room; «עדכון הסל» (picker changed) / «הסרה מהסל» get their own full-width row under them */
    .b2b-qv__stick.is-gpdone .b2b-qv__add { display: none; }
    .b2b-qv__stick.is-gpdone .b2b-qv__qty { flex: 1 1 auto; }
    .b2b-qv__stick.has-gpst:not(.is-gpdone) .b2b-qv__add { flex: 1 1 100%; order: 10; }
}
@media (prefers-reduced-motion: reduce) { .b2b-qv__gplus { transition: none; } }
/* 2026-10-08 (Doron, plus-only bar): «אין דבר כזה הוספה לסל» - the bottom bar (popup + product page) is the total and ONE
   control: the pink + (no number) -> after the first tap the card stepper «− n +». No «הוספה לסל», no amount picker. */
.b2b-qv__stick.is-plusonly { justify-content: space-between; }
.b2b-qv__stick.is-plusonly .b2b-qv__tot { flex: 1 1 auto; min-width: 0; }
.b2b-qv__stick.is-plusonly .b2b-qv__gp { margin-inline-start: auto; }
.b2b-qv__stick.is-plusonly .b2b-qv__gplus { width: 52px; height: 52px; min-width: 52px; }
.b2b-qv__stick.is-plusonly .b2b-qv__gplus > span { font-size: 34px; font-weight: 600; }
.b2b-qv__stick.is-plusonly .b2b-qv__gst { height: 52px; width: 144px; border-radius: 26px; }
.b2b-qv__stick.is-plusonly .b2b-qv__gst button { flex-basis: 48px; width: 48px; height: 52px; }
.b2b-qv__stick.is-plusonly .b2b-qv__gst output { line-height: 52px; font-size: 17px; border-inline: 1px solid rgba(255, 255, 255, .35); }
.b2b-qv__gp.is-flash .b2b-qv__gplus, .b2b-qv__gp.is-flash .b2b-qv__gst { box-shadow: 0 0 0 4px rgba(34, 197, 94, .3) !important; }
@media (max-width: 767px) {
    .b2b-qv__stick.is-plusonly { flex-wrap: nowrap; }
    .b2b-qv__stick.is-plusonly .b2b-qv__tot { flex: 1 1 auto; }
    .b2b-qv__stick.is-plusonly .b2b-qv__gst { width: 136px; }
    .b2b-qvi .b2b-qv__stick.is-plusonly.is-fixed .b2b-qv__tot { flex: 1 1 auto; }
}

/* 2026-10-11 (Doron «פופ אפ מובייל תמונות חתוכות»): phones — the photo frame has a fixed height (240px) but the
   img's max-height:86% did not resolve inside the grid cell, so tall/square photos overflowed and were cut at the
   bottom. The img now fills the frame box and object-fit: contain shows the whole photo (no crop, no layout jump). */
@media (max-width: 768px) {
    .b2b-qv__main { aspect-ratio: auto; }
    .b2b-qv__main img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 10px; box-sizing: border-box; object-fit: contain; object-position: center; background: #fff; }
}
