/* The subscription page, plan v2 (r225). Loaded on top of autoship.css only while the plan is active for the request
   (botenz-autoship-page.php, which then prints #bzas.bzas-v2); autoship.css itself keeps its bytes. What is here: three
   sizes on show in place of five, the cart gifts' quiet row for a small box, the goal box's row on the box card (six
   jars and the gifts' place), the lines under it, six jars in the personal area's demo, and the two looks of a place
   that differs for an influencer's visitor. */

/* An influencer's visitor (botenz-influencers.php). The page is cached and the same for everyone, so such a place is
   printed twice: data-bz-inf="hide" for everyone else, data-bz-inf="show" for hers, and her script puts the class bz-inf
   on <html>. These two rules repeat that file's own, so that nothing of hers shows where it is missing. */
html:not(.bz-inf) [data-bz-inf="show"]{display:none!important}
html.bz-inf [data-bz-inf="hide"]{display:none!important}
/* her name, in the site's bronze; her script writes it (data-bz-inf-tpl), and without a name there is no pill */
#bzas .bzas-pill{display:inline-block;flex:none;direction:rtl;max-width:8.5em;padding:0 7px;border-radius:999px;background:#9f814f;color:#fff;font:600 10px/16px var(--as-body);font-style:normal;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
#bzas .bzas-pill:empty{display:none}
/* the truck of "משלוח חינם" drives the way the page reads */
#bzas svg.bzas-van{transform:scaleX(-1)}

/* ---------- 2. the discount by box size: the plan shows three sizes (3, 4 and 6) ---------- */
#bzas.bzas-v2 .bzas-ladder{grid-template-columns:repeat(3,1fr)}
/* a narrow phone (320 px): the shelf's six jars stay inside the card. In autoship.css a jar's place is never narrower
   than its picture, so there the row is wider than the card and its end jars stand over the card's edges. */
@media(max-width:340px){
  #bzas.bzas-v2 .bzas-slot{min-width:0}
  #bzas.bzas-v2 .bzas-slot img{height:56px}
  #bzas.bzas-v2 .bzas-slot.bzas-big img{height:66px}
}
/* the cart gifts' row under the box on show. A box that reaches them: the row of before. A box that does not yet: the
   same row, quiet, with the amount each gift comes from (it lights up as the box reaches them). */
#bzas.bzas-v2 .bzas-gifts .bzas-gq{display:grid;font:500 13.5px/1.4 var(--as-body);color:var(--as-muted)}
#bzas.bzas-v2 .bzas-gifts :is(.bzas-gq,.bzas-g2 small)>span{white-space:nowrap}
#bzas.bzas-v2 .bzas-gifts .bzas-g2:has(.bzas-gq){background:none;border:1.5px dashed #d6cfb6}
#bzas.bzas-v2 .bzas-gifts .bzas-g2:has(.bzas-gq) img{opacity:.6}
#bzas.bzas-v2 .bzas-gifts .bzas-g1 b .bzas-pill{margin-inline-start:2px}
@media (prefers-reduced-motion:no-preference){
  /* the gold "מתנה" answers the size that reaches the gifts */
  #bzas.bzas-v2 .bzas-show.bzas-tick .bzas-g2 em{animation:bzaspop .45s cubic-bezier(.3,1.5,.5,1) .1s}
}

/* ---------- 4. the personal area's demo holds the goal box's six jars ---------- */
#bzas.bzas-v2 .bzas-acc-jars{gap:3px}
#bzas.bzas-v2 .bzas-acc-jars li{flex:0 1 46px;min-width:0;width:auto;height:auto;aspect-ratio:46/58}
#bzas.bzas-v2 .bzas-acc-jars img{width:100%;height:100%}

/* ---------- 7. the popular box: the goal box ----------
   Six jars and, at the row's end (on the left), the gifts' place: the recipe book for everyone, and for an influencer's
   visitor also her free pistachio jar between the book and the box's jars. --h is a small jar's height; the 320 g jars
   stand 1.18 times taller. The jars overlap as the stories' savings card's do (.118 of a small jar's height on each
   side), and --h is what the card's width allows: the row is about 4.5 small jars' heights wide, about 5.4 with her
   jar. The row is never lower than a gold tag over a gift needs (4 px over a small jar, 18 px tall). With the spoon
   beside the book (r226) the gifts' place is .23 of a small jar's height wider, and the row with it (--k: 4.75, and
   5.63 with her jar). */
#bzas.bzas-v2 .bzas-ojars{--k:4.52;--h:min(76px,calc((100vw - 72px) / var(--k)));position:relative;height:max(calc(var(--h) * 1.18),calc(var(--h) + 22px))}
html.bz-inf #bzas.bzas-v2 .bzas-ojars{--k:5.4}
#bzas.bzas-v2 .bzas-ojars:has(.bzas-cut){--k:4.75}
html.bz-inf #bzas.bzas-v2 .bzas-ojars:has(.bzas-cut){--k:5.63}
#bzas.bzas-v2 .bzas-ojars>img{margin:0 calc(var(--h) * -.118)}
/* the book's place: the gift's place of before (its glow, its gold tag), as wide as the book. The picture is the site's
   shared one of the book with the spoon (640 × 400), cut along the book's own left edges: without the round badge at
   its left, and with the spoon that stands behind the book's right edge (owner, 15 Nov: the card names the spoon, so
   the picture shows it). What is seen is 358 × 343 px of it, from 262, 33 (the book alone is 276 px wide); --bh is the
   height the book is drawn at. Any other picture is shown whole, in the book's own width. */
#bzas.bzas-v2 .bzas-ojars .bzas-bk{--bh:calc(var(--h) * .96);width:calc(var(--bh) * .8047);margin:0 calc(var(--h) * .09) 0 0}
#bzas.bzas-v2 .bzas-ojars .bzas-bkp{position:absolute;left:0;bottom:0;display:block;width:calc(var(--bh) * .8047);height:var(--bh);filter:drop-shadow(0 8px 8px rgba(56,74,34,.22)) drop-shadow(0 0 8px rgba(230,200,142,.85))}
#bzas.bzas-v2 .bzas-ojars .bzas-bkp img{position:absolute;left:0;top:0;bottom:auto;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:contain;margin:0;transform:none;filter:none}
#bzas.bzas-v2 .bzas-ojars .bzas-cut .bzas-bkp img{left:calc(var(--bh) * -.7638);top:calc(var(--bh) * -.0962);width:calc(var(--bh) * 1.8659);height:calc(var(--bh) * 1.1662);object-fit:fill;
  clip-path:polygon(53.66% 0,41.17% 79%,42.81% 82.5%,42.81% 100%,100% 100%,100% 0)}
#bzas.bzas-v2 .bzas-ojars .bzas-bk.bzas-cut,#bzas.bzas-v2 .bzas-ojars .bzas-cut .bzas-bkp{width:calc(var(--bh) * 1.0437)}
#bzas.bzas-v2 .bzas-ojars .bzas-bk>em{left:50%;transform:translateX(-50%)}
/* her jar's place: its gold "+1 בחינם" and, beside it, her name. With the book in the row, the tags are one row that
   starts at the book's left edge (the book's place and its gap are .8625 of --h wide): the book's "מתנה", then hers. */
#bzas.bzas-v2 .bzas-ojars .bzas-ojf{margin:0 calc(var(--h) * .06) 0 0}
#bzas.bzas-v2 .bzas-pills{position:absolute;left:0;bottom:calc(var(--h) + 4px);display:flex;direction:ltr;align-items:center;gap:3px;white-space:nowrap}
#bzas.bzas-v2 .bzas-ojf.bzas-wbk .bzas-pills{left:calc(var(--h) * -.8625)}
#bzas.bzas-v2 .bzas-ojf.bzas-wbk:has(+.bzas-cut) .bzas-pills{left:calc(var(--h) * -1.092)}
#bzas.bzas-v2 .bzas-pills em{position:static;flex:none}
/* a narrow phone (320 px): a shorter name, so that the row of tags ends before the 320 g jars */
@media(max-width:340px){#bzas.bzas-v2 .bzas-pills .bzas-pill{max-width:5.5em}}
/* under the names: what the box gets, one line each (hers first): the page's own gift line of before, a small picture
   and the words; the truck stands where the small jar stood */
#bzas.bzas-v2 .bzas-perks{display:grid;gap:4px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--as-line)}
#bzas.bzas-v2 .bzas-perkl{display:flex;align-items:center;justify-content:center;gap:8px;font:600 14px/1.35 var(--as-body);color:var(--as-deep)}
#bzas.bzas-v2 .bzas-perkl img{flex:none;width:22px;height:28px;object-fit:contain}
#bzas.bzas-v2 .bzas-perkl svg.bzas-van{width:26px;height:26px;stroke-width:1.9}
/* the terms are a little longer with "כולל משלוח": where they take two lines, the lines are even */
#bzas.bzas-v2 .bzas-terms{text-wrap:balance}
@media (prefers-reduced-motion:no-preference){
  /* the box: its six jars drop in, then the gifts' place (the book, and her jar) */
  #bzas.bzas-js.bzas-v2 .bzas-offer .bzas-bkp{opacity:0}
  #bzas.bzas-js.bzas-v2 .bzas-offer .bzas-bkp img{opacity:1}
  #bzas.bzas-js.bzas-v2 .bzas-offer.bzas-seen .bzas-ojars>img:nth-child(5){animation-delay:.7s}
  #bzas.bzas-js.bzas-v2 .bzas-offer.bzas-seen .bzas-ojars>img:nth-child(6){animation-delay:.8s}
  #bzas.bzas-js.bzas-v2 .bzas-offer.bzas-seen .bzas-bkp{animation:bzasbook .7s cubic-bezier(.3,1.25,.5,1) 1.3s both}
  #bzas.bzas-js.bzas-v2 .bzas-offer.bzas-seen .bzas-bkp img{animation:none}
  #bzas.bzas-js.bzas-v2 .bzas-offer .bzas-bk>em{transform:translateX(-50%) scale(0)}
  #bzas.bzas-js.bzas-v2 .bzas-offer.bzas-seen .bzas-bk>em{animation:bzasbookpop .35s cubic-bezier(.3,1.5,.5,1) 1.9s both}
  #bzas.bzas-js.bzas-v2 .bzas-offer .bzas-pills em{transform:none;animation:none}
  #bzas.bzas-js.bzas-v2 .bzas-offer .bzas-pills{transform:scale(0);transform-origin:20% 100%}
  #bzas.bzas-js.bzas-v2 .bzas-offer.bzas-seen .bzas-pills{animation:bzaspopin .35s cubic-bezier(.3,1.5,.5,1) 2.1s both}
  #bzas.bzas-js.bzas-v2 .bzas-offer.bzas-seen .bzas-ojf img{animation-delay:1.5s}
}
@keyframes bzasbook{from{opacity:0;transform:translateY(-120px) rotate(-14deg)}to{opacity:1;transform:none}}
@keyframes bzasbookpop{from{transform:translateX(-50%) scale(0)}to{transform:translateX(-50%)}}

/* ---------- a computer: "כמה זה בשנה?" names the book and the spoon with their own picture ---------- */
@media(min-width:1025px){
body.bz-d-subs #bzas.bzas-v2 .bzas-dx-gb img{width:64px}
}
