/* Bag drawer v4, final (evopure-bag-v4.php; 19 Nov 2026, seven rounds with Haseeb). Every value from one closed set, measured against Seed,
   Ritual and AG1: type 12/16, 14/20, 16/24, 20/28 (DM Sans; Neue Haas Display for the title); weights 400 / 500 / 600 (600 for the product names,
   the Total and the saving); spacing 4 / 8 / 12 / 16 / 24 / 32. Colour: charcoal for text, navy for anything secondary (no grey text anywhere),
   one control fill, one tint for the offer. Square, with the site's top-right corner on tiles and on a chosen or pressed control.
   No rules or shadows: spacing, and one grey bottom zone. Everything is scoped #evo-bag .b4 so the older bag styles (bag-v3, cart.css) never reach it. */
#evo-bag .b4{--n:#1D293B;--c:#2B2B2B;--fill:#F3F4F6;--tint:#EEF2F6;--sig:8px;--dm:"DM Sans","Helvetica Neue",Arial,sans-serif;--nh:"neue-haas-grotesk-display","Helvetica Neue",Arial,sans-serif;--px:32px;
	display:flex;flex-direction:column;height:100%;background:#fff;color:var(--c);font:400 14px/20px var(--dm)}
body.evo-v3 .evo-bag__panel:has(.b4){width:min(480px,100vw)!important}
#evo-bag .b4 :is(p,span,b,s,h3,a,button,dt,dd){letter-spacing:0}
#evo-bag .b4 :is(p,h3,dl,dt,dd){margin:0}
#evo-bag .b4 button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}

/* the navy strip: the progress */
#evo-bag .b4-strip{flex:none;padding:12px var(--px);background:var(--n);color:#fff}
#evo-bag .b4-strip p{font:400 14px/20px var(--dm);color:#fff}#evo-bag .b4-strip b{font-weight:600!important;color:#fff}
#evo-bag .b4-strip__bar{position:relative;display:block;height:4px;margin-top:8px;background:rgba(255,255,255,.25);border-radius:2px;overflow:hidden}
#evo-bag .b4-strip__bar i{position:absolute;left:0;top:0;bottom:0;background:#fff;border-radius:2px;transition:width 420ms cubic-bezier(.2,.7,.2,1)}

/* the header: "Your bag" as checkout sets it, and the X */
#evo-bag .b4 .b4-hd{flex:none;display:flex;align-items:center;justify-content:space-between;padding:12px var(--px)!important;margin:0!important;border:0!important;background:#fff!important}
#evo-bag .b4 .b4-t{font:300 20px/28px var(--nh)!important;letter-spacing:-.2px!important;color:var(--n)!important}#evo-bag .b4 .b4-t b{font-weight:600!important}
#evo-bag .b4 .b4-x{display:grid;place-items:center;width:40px;height:40px;margin:0 -10px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:var(--c)!important;box-shadow:none!important;transition:border-radius 120ms ease}
#evo-bag .b4 .b4-x:active{border-radius:0 var(--sig) 0 0!important}

/* the scroll */
#evo-bag .b4 .b4-sc{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:0 0 24px!important;margin:0!important;background:#fff!important}
#evo-bag .b4 .b4e-list{padding:8px var(--px) 0}
#evo-bag .b4 .b4g-g+.b4g-g{margin-top:16px}
/* a group's label (Ritual): sentence case, then a thin navy line running on to the drawer's edge; the only line in the drawer */
#evo-bag .b4 .b4g-gh{display:flex;align-items:center;gap:12px;padding:8px 0 4px}
#evo-bag .b4 .b4g-gl{flex:none;font:500 16px/24px var(--dm);color:var(--n)}
#evo-bag .b4 .b4g-gh i{flex:1;height:1px;background:rgba(29,41,59,.2)}

/* a line: the packshot locked to the text. Row 1 name | price (24), row 2 need and descriptor | stepper (32), row 3 the switch (32): 104 */
#evo-bag .b4 .b4e-it{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:16px!important;padding:12px 0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
#evo-bag .b4 .b4e-it__img{display:block;width:104px;height:104px;overflow:hidden;background:transparent;border-radius:0 var(--sig) 0 0}
#evo-bag .b4 .b4e-it__img img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
#evo-bag .b4 .b4e-it.is-gift .b4e-it__img{background:var(--fill)}#evo-bag .b4 .b4e-it.is-gift .b4e-it__img img.is-seal{width:62%;height:62%;margin:19%;object-fit:contain}
#evo-bag .b4 .b4e-it__b{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;align-content:start;min-width:0;min-height:104px}
#evo-bag .b4 .b4e-it__top{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;gap:12px}
#evo-bag .b4 .b4e-it__n{margin:0;font:600 16px/24px var(--dm)!important;color:var(--c)!important}#evo-bag .b4 .b4e-it__n span{font-weight:400}
#evo-bag .b4 .b4e-it__p{flex:none;white-space:nowrap;font:500 14px/24px var(--dm);color:var(--c)}#evo-bag .b4 .b4e-it__p b{font-weight:500!important}
#evo-bag .b4 .b4e-it__p s{margin-right:6px;font:400 14px/24px var(--dm);color:var(--n)}
#evo-bag .b4 .b4e-it__m{grid-column:1;grid-row:2;align-self:start;min-height:32px;margin-top:8px;font:400 12px/16px var(--dm);color:var(--n)}
#evo-bag .b4 .b4e-it__m span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#evo-bag .b4 .b4f-need{font-weight:500}
#evo-bag .b4 .b4e-it__ft{display:contents}#evo-bag .b4 .b4e-it__ft>span{display:none}
#evo-bag .b4 .b4e-it__st{grid-column:2;grid-row:2;align-self:start;justify-self:end;margin-top:8px}
#evo-bag .b4 .b4e-it__plan{grid-column:1/-1;grid-row:3;margin-top:8px}
/* the plan switch: the site's one switch, evopure-blog/switch.css (.evo-sw), mapped onto .b4e-sw */
#evo-bag .b4 .b4e-sw{width:100%;box-sizing:border-box}
/* the stepper: a square fill, a bin at 1 */
#evo-bag .b4 .b4e-qty{display:inline-flex;align-items:center;height:28px;padding:0 2px;background:rgba(29,41,59,.05);border:0!important;border-radius:0;box-shadow:none!important}      /* calmer (Haseeb, 19 Nov): the switch's own track colour, 28px */
#evo-bag .b4 .b4e-qty button{width:24px;height:24px;display:grid;place-items:center;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--c)!important;font:400 16px/1 var(--dm)!important;transition:border-radius 120ms ease}
#evo-bag .b4 .b4e-qty button:active{border-radius:0 var(--sig) 0 0!important}
#evo-bag .b4 .b4e-qty span{min-width:24px;text-align:center;font:500 14px/20px var(--dm);color:var(--c)}

/* the offer block (AG1's "Special offer"), in the scroll: the one tint */
#evo-bag .b4 .b4g-of{margin:24px var(--px) 0;padding:16px;background:var(--tint)}
#evo-bag .b4 .b4g-of h3{margin:0 0 8px;font:600 14px/20px var(--dm)!important;color:var(--c)!important;text-transform:none!important;letter-spacing:0!important}
#evo-bag .b4 .b4g-of div{display:flex;justify-content:space-between;gap:16px;padding:2px 0}
#evo-bag .b4 .b4g-of dt,#evo-bag .b4 .b4g-of dd{font:400 14px/20px var(--dm);color:var(--c)}#evo-bag .b4 .b4g-of dd{font-weight:500;white-space:nowrap}
#evo-bag .b4 .b4g-of .b4g-of__t{margin-top:4px;padding-top:6px}#evo-bag .b4 .b4g-of .b4g-of__t :is(dt,dd){font-weight:600}#evo-bag .b4--coral .b4g-of__t dd{color:#D8573A}

/* the add cards: white cards on the grey; in the scroll (--s) or pinned in the footer's grey zone (--p) */
#evo-bag .b4 .b4e-recs{padding:16px 0;background:var(--fill)}
#evo-bag .b4 .b4e-recs--s{margin-top:24px}
#evo-bag .b4 .b4e-h{margin:0 var(--px) 8px!important;font:600 14px/20px var(--dm)!important;color:var(--c)!important}
#evo-bag .b4 .b4e-row{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 var(--px);scroll-padding:0 var(--px);scrollbar-width:none}#evo-bag .b4 .b4e-row::-webkit-scrollbar{display:none}
#evo-bag .b4 .b4e-rc{flex:0 0 304px;scroll-snap-align:start;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;background:#fff;border-radius:0 var(--sig) 0 0}
#evo-bag .b4 .b4e-rc__img{width:72px;height:72px;overflow:hidden;background:transparent}
#evo-bag .b4 .b4e-rc__img img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}#evo-bag .b4 .b4e-rc__img img.is-scene{object-fit:cover;mix-blend-mode:normal}
#evo-bag .b4 .b4e-rc__why{margin-bottom:4px;font:500 12px/16px var(--dm);color:var(--n)}
#evo-bag .b4 .b4e-rc__b{min-width:0}#evo-bag .b4 .b4e-rc__n{font:600 14px/20px var(--dm);color:var(--c);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#evo-bag .b4 .b4e-rc__d{font:400 12px/16px var(--dm);color:var(--n);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#evo-bag .b4 .b4e-rc__p{font:400 14px/20px var(--dm);color:var(--c)}#evo-bag .b4 .b4e-rc__p s{color:var(--n)}#evo-bag .b4 .b4e-rc__p b{font-weight:500!important}
#evo-bag .b4 .b4e-rc__add,#evo-bag .b4 .b4e-rc__add:is(:hover,:focus-visible,:active){height:32px;padding:0 14px!important;border:0!important;border-radius:0!important;background:var(--fill)!important;color:var(--c)!important;box-shadow:none!important;font:500 14px/20px var(--dm)!important;text-transform:none!important;letter-spacing:0!important;transition:border-radius 120ms ease}
#evo-bag .b4 .b4e-rc__add:active{border-radius:0 var(--sig) 0 0!important}
#evo-bag .b4 .b4-ft .b4e-recs--p{margin:-16px calc(-1 * var(--px)) 0;padding:16px 0;background:none}
/* which card row shows: auto = pinned on screens 740px tall and up (390x844, 430x932, laptops), in the scroll below that (375x667) */
#evo-bag .b4--cards-scroll .b4e-recs--p,#evo-bag .b4--cards-pin .b4e-recs--s{display:none!important}
@media (min-height:740px){#evo-bag .b4--cards-auto .b4e-recs--s{display:none!important}}
@media (max-height:739.98px){#evo-bag .b4--cards-auto .b4e-recs--p{display:none!important}}

/* the footer: one grey zone (no rule above it); a bold Total, two small lines, Checkout */
#evo-bag .b4 .b4-ft{position:relative;z-index:1;flex:none;padding:16px var(--px) 24px!important;margin:0!important;border:0!important;background:var(--fill)!important;box-shadow:0 -10px 24px -12px rgba(29,41,59,.22)!important}      /* Seed's soft shadow at the edge (Haseeb, 19 Nov), not a wash */
#evo-bag .b4 .b4g-tot{display:flex;justify-content:space-between;align-items:baseline;font:600 16px/24px var(--dm);color:var(--c)}#evo-bag .b4 .b4g-tot b{font-weight:600!important}
#evo-bag .b4 .b4g-ship{font:400 12px/16px var(--dm);color:var(--n)}
#evo-bag .b4 .b4g-sv{display:flex;justify-content:space-between;margin-top:4px;font:600 14px/20px var(--dm);color:var(--c)}#evo-bag .b4 .b4g-sv b{font-weight:600!important}
#evo-bag .b4--coral .b4g-sv b{color:#D8573A!important}      /* evo_bag4_save = coral: the saving figure in the offer coral */
#evo-bag .b4 a.b4e-go{--evo-cta-h:48px;position:relative;display:flex!important;align-items:center;justify-content:center;width:100%;height:48px;min-height:48px!important;margin:12px 0 0!important;padding:0 48px!important;background:var(--n)!important;color:#fff!important;border:1px solid var(--n)!important;border-radius:0!important;box-shadow:none!important;font:500 16px/24px var(--dm)!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;transition:border-radius .2s ease,background-color .2s ease,color .2s ease}
#evo-bag .b4 a.b4e-go::after{display:none!important}
/* the label: the site's caps (default) */
#evo-bag .b4--caps a.b4e-go{font-family:var(--e-global-typography-subheadcaps-font-family),sans-serif!important;font-weight:var(--evo-caps-w,500)!important;font-size:12px!important;line-height:16px!important;letter-spacing:.16em!important;text-transform:uppercase!important}
/* the hover: the site's standard (default: the corner rounds, the fill goes to a navy outline, the arrow slides in; chrome.css's .evo-btn,
   restated because the drawer turns the base rule off) or none (evo_bag4_hover = none: the corner rounds only while pressed) */
#evo-bag .b4:not(.b4--hov) a.b4e-go:is(:hover,:focus-visible){background:var(--n)!important;color:#fff!important}
#evo-bag .b4:not(.b4--hov) a.b4e-go:active{border-radius:0 var(--sig) 0 0!important;background:var(--n)!important;color:#fff!important}
#evo-bag .b4--hov a.b4e-go:is(:hover,:focus-visible,:active){border-radius:0 var(--sig) 0 0!important;background:transparent!important;color:var(--n)!important}
#evo-bag .b4--hov a.b4e-go:is(:hover,:focus-visible,:active,:not(:hover))::after{display:block!important;content:"";position:absolute;right:16px;top:50%;width:18px;height:18px;margin-top:-9px;background:currentColor;-webkit-mask:var(--evo-ico-arrow) center/18px 18px no-repeat;mask:var(--evo-ico-arrow) center/18px 18px no-repeat;opacity:0;transform:translateX(-8px);transition:opacity .2s ease,transform .2s ease}
#evo-bag .b4--hov a.b4e-go:is(:hover,:focus-visible,:active)::after{opacity:1;transform:none}
#evo-bag .b4 :is(.b4e-sw button,.b4e-qty button,.b4e-rc__add,a.b4e-go,.b4-x):focus-visible{outline:2px solid var(--n)!important;outline-offset:2px}

/* phones */
@media (max-width:767px){
	#evo-bag .b4{--px:16px}
	#evo-bag .b4 .b4-hd{padding:8px var(--px)!important}
	#evo-bag .b4 .b4-ft{padding:16px var(--px) calc(24px + env(safe-area-inset-bottom,0px))!important}
	#evo-bag .b4 .b4e-rc{flex-basis:296px}
}
/* phones: a 96px image with 4px row gaps (24 + 4 + 32 + 4 + 32 = 96), so a name at 600 and both prices share a row ("Reishi Mushroom" needs 133 +
   8 + 97); at 380 and under the line shows today's price only (the saving is in the offer block and the footer) */
@media (max-width:767px){
	#evo-bag .b4 .b4e-it{grid-template-columns:96px minmax(0,1fr)!important;gap:12px!important}
	#evo-bag .b4 .b4e-it__img{width:96px;height:96px}#evo-bag .b4 .b4e-it__b{min-height:96px}#evo-bag .b4 .b4e-it__top{gap:8px}
	#evo-bag .b4 .b4e-it__m,#evo-bag .b4 .b4e-it__st,#evo-bag .b4 .b4e-it__plan{margin-top:4px}
}
@media (max-width:380px){#evo-bag .b4 .b4e-it__p s{display:none}}
/* the descriptor and its strength: one line, the strength never cut (only the words before it may shorten) */
#evo-bag .b4 .b4e-it__m span.evo-ds{display:flex!important;gap:4px;white-space:nowrap;overflow:visible}
#evo-bag .b4 .b4e-it__m .evo-ds__d{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#evo-bag .b4 .b4e-it__m .evo-ds__s{display:block;flex:none;overflow:visible}
/* QA M15 (19 Nov): the descriptor and strength wrap to a second line rather than shortening; the strength still never breaks inside itself */
#evo-bag .b4 .b4e-it__m span.b4f-desc,#evo-bag .b4 .b4e-it__m span.evo-ds{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
#evo-bag .b4 .b4e-it__m .evo-ds__d{display:inline!important;white-space:normal!important;overflow:visible!important}
#evo-bag .b4 .b4e-it__m .evo-ds__s{display:inline!important;white-space:nowrap!important;margin-left:4px}
