/* Shop round 2 (built 2026-11-15 from preview/shop.css): the product card used everywhere (shop, home, product page, search).
   Owner picks: card A, chips for 2-3 short sizes, otherwise a pill that opens the sheet; candles S2; sold out O3.
   Loads after fable.css and reuses its colours and .btn. Everything inside a card scales with the card's own width (cqi). */

/* ---------- grid: columns come from the room there is, never from the screen ---------- */
.pgrid{--col:132px;--g:10px;display:grid;gap:var(--g);grid-template-columns:repeat(auto-fill,minmax(min(var(--col),100%),1fr))}
@media(min-width:440px){.pgrid{--col:168px;--g:12px}}
@media(min-width:760px){.pgrid{--col:205px;--g:18px}}
@media(min-width:1200px){.pgrid{--col:228px;--g:20px}}
/* next to the shop side column there is less room */
@media(min-width:1000px) and (max-width:1239px){.shop__main .pgrid{--col:186px;--g:14px}}
.pgrid>[hidden]{display:none!important}
/* the box-builder promo spans two columns; on a very narrow phone there may be only one */
@media(max-width:379px){.pgrid>.tile--promo{grid-column:1/-1}}

/* ---------- the card ---------- */
.pc{position:relative;display:flex;flex-direction:column;min-width:0;container-type:inline-size;border-radius:18px;background:#fff;--flood:var(--honey)}
.pc__pic{position:relative;display:block;aspect-ratio:1;margin:4cqi 4cqi 0;border-radius:12px;overflow:hidden;text-decoration:none}
.pc__pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:transform .3s cubic-bezier(.3,1.5,.5,1)}
.pc--photo .pc__pic>img{object-fit:contain}   /* owner 23.11: every card shows the product's own photo, always whole (the .pc__gal strip keeps its own rule) */
/* owner 16.11: no hexagon behind the mix jars any more (it turned on hover); the jar stands alone, a bit bigger */
@media(hover:hover){
  .pc:not(.pc--gal):hover .pc__pic img{transform:translateY(-2.5%)}
}
.pc.hop .pc__pic img{animation:pc-hop .5s}
@keyframes pc-hop{30%{transform:translateY(-9%) rotate(-5deg)}60%{transform:translateY(0) scale(1.06,.93)}}
.pc__body{display:flex;flex-direction:column;flex:1;gap:1.6cqi;padding:3cqi 5.5cqi 5.5cqi}
.pc__name{font-size:clamp(17px,9.6cqi,26px);line-height:1.15;overflow-wrap:anywhere}
.pc__name a{text-decoration:none}
.pc__what{font-size:clamp(13px,6.3cqi,15px);line-height:1.35;opacity:.86}
.pc__low{display:flex;align-items:center;gap:6px;font:700 clamp(12.5px,6cqi,14px)/1.3 var(--body);color:var(--red-d)}
.pc__low::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 3px rgba(228,0,43,.18)}
.pc__buy{display:grid;grid-template-columns:minmax(0,1fr);gap:2.6cqi;margin-top:auto;padding-top:1.5cqi}
.pc__body>*,.pc__buy>*{min-width:0}
.pc__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;font-size:clamp(12px,5.8cqi,14px);font-variant-numeric:tabular-nums}
.pc__price b{font:700 clamp(21px,10.5cqi,26px)/1.1 var(--display)}
.pc__price s{font-weight:500;font-size:clamp(13px,6.4cqi,16px);opacity:.62;text-decoration-thickness:2px}
.pc--sale .pc__price b{color:var(--red)}
.pc__kg{opacity:.8;flex-basis:100%}
.pc .btn{position:relative;z-index:1;width:100%;min-height:46px;padding:0 6px;font-size:clamp(15px,7.4cqi,17px);border-radius:12px}
.pc .btn.added{background:var(--pine);color:var(--cream)}
/* WooCommerce adds a "view cart" link after the button; FunnelKit's side cart does that job */
.pc .added_to_cart,.psheet .added_to_cart{display:none}

/* candles: height and burning time as two tags (S2) */
.pc__spec{display:flex;flex-wrap:wrap;gap:5px;font:500 clamp(12.5px,6.1cqi,15px)/1.35 var(--body);font-variant-numeric:tabular-nums}
.pc__spec>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.pc__spec svg{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.pc__spec .flame{fill:var(--honey)}
.pc__spec--2>span{padding:.28em .7em .3em .5em;border-radius:999px;background:var(--cream);font-weight:700}
/* owner 16.11: the two candle tags are much smaller on every screen (11.5 px, phones 10.5 px) and sit on one line whenever they fit */
.pc__spec{gap:4px;font-size:11.5px;line-height:1.3}
.pc__spec>span{gap:3px}
.pc__spec svg{width:1em;height:1em;stroke-width:2.4}
.pc__spec--2>span{padding:.2em .6em .22em .4em}
@media(max-width:599px){
  .pc__spec{gap:3px;font-size:10.5px}
  .pc__spec--2>span{padding:.2em .55em .22em .38em}
}

/* stickers: ink outline and a hard shadow, like the drawings */
.pc__badges{position:absolute;z-index:2;top:2.5cqi;left:2.5cqi;right:2.5cqi;display:flex;align-items:flex-start;justify-content:space-between;gap:4px;pointer-events:none}
.bdg{display:inline-grid;place-items:center;padding:.34em .72em .4em;border:2.5px solid var(--ink);border-radius:999px;box-shadow:0 3px 0 var(--ink);font:700 clamp(12px,6.4cqi,15px)/1 var(--display);white-space:nowrap}
.bdg--new{background:var(--honey);color:var(--ink);rotate:-6deg}
.bdg--sale{margin-left:auto;background:var(--red);color:#fff;rotate:5deg;font-variant-numeric:tabular-nums}

/* sizes as chips (two or three short ones) */
.pc__opts{position:relative;z-index:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:5px}
.pc__opts label{position:relative;cursor:pointer;min-width:0}
.pc__opts input{position:absolute;inset:0;opacity:0;margin:0}
.pc__opts span{display:grid;place-items:center;min-height:40px;padding:0 2px;border-radius:10px;background:var(--cream);font:700 clamp(13px,6.6cqi,16px)/1.1 var(--body);white-space:nowrap}
.pc__opts input:checked+span{background:var(--ink);color:var(--cream)}
.pc__opts input:focus-visible+span{outline:3px solid var(--ink);outline-offset:2px}
.pc__opts input:disabled+span{background:none;box-shadow:inset 0 0 0 1.5px rgba(58,30,5,.3);opacity:.5;text-decoration:line-through;cursor:not-allowed}
@media(hover:hover){.pc__opts input:not(:checked):not(:disabled)+span:hover{background:var(--honey)}}

/* one pill that opens the sheet (a real link to the product without JavaScript) */
.pc__pick{position:relative;z-index:1;box-sizing:border-box;display:flex;align-items:center;gap:6px;width:100%;min-height:40px;padding:0 10px 0 12px;border:0;border-radius:10px;background:var(--cream);color:var(--ink);font:700 clamp(13px,6.6cqi,16px)/1.1 var(--body);text-align:left;text-decoration:none}
.pc__pick span{margin-left:auto;font-weight:500;font-size:.86em;opacity:.75;white-space:nowrap}
.pc__pick svg{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.pc__pick:hover{background:var(--honey)}
.pc__pick b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* round close button (sheet and large view) */
.xbtn{flex:none;display:grid;place-items:center;width:40px;height:40px;margin:-4px -4px -4px 0;border:0;border-radius:50%;background:var(--cream);color:var(--ink)}
.xbtn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}
.xbtn:hover{background:var(--honey)}

/* ---------- sold out (O3): yellow-black tape on the photo, photo in full colour ---------- */
.pc--out{background:#fff}
.pc--out .pc__price b{color:rgba(58,30,5,.6)}
/* sold-out sign C (23.11, owner's pick): honey ribbon across the top left corner of the photo. The square scales with the card
   (min 84 px) and is its own container; the word sits in the middle of the ribbon and is sized from the square, so it is never cut. */
.pc__tape{position:absolute;z-index:1;top:0;left:0;width:clamp(84px,46%,150px);aspect-ratio:1;overflow:hidden;pointer-events:none;container-type:inline-size}
.pc__tape b{position:absolute;left:50%;top:50%;width:170%;transform:translate(-50%,-50%) rotate(-45deg) translateY(-50%);display:grid;place-items:center;padding:.62em 0 .68em;background:var(--honey);color:var(--ink);box-shadow:0 0 0 2.5px var(--ink),0 5px 0 rgba(58,30,5,.22);font:700 12.5cqi/1 var(--display);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.pc__more{position:relative;z-index:1;display:grid;place-items:center;min-height:46px;font:700 clamp(15px,7.2cqi,17px)/1 var(--display);text-underline-offset:5px;text-decoration-thickness:2px}

/* ---------- gift sets and candles with more photos: a small strip that plays or swipes ---------- */
.pc--gal .pc__pic{overflow:hidden}
.pc__gal{position:absolute;inset:0;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.pc__gal::-webkit-scrollbar{display:none}
.pc__gal img{position:static;flex:none;width:100%;height:100%;scroll-snap-align:center;object-fit:cover}
@media(hover:hover){.pc__gal{overflow:hidden}}
/* the dots are buttons */
.pc__dots{position:absolute;z-index:2;left:0;right:0;top:calc(96cqi - 30px);display:flex;justify-content:center;gap:0;width:max-content;margin-inline:auto;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.82)}
.pc__dots button{display:grid;place-items:center;width:24px;height:28px;padding:0;border:0;background:none;cursor:pointer}
.pc__dots i{display:block;width:8px;height:8px;border-radius:50%;background:var(--ink);opacity:.3;transition:opacity .2s,width .2s}
.pc__dots i.on{opacity:1;width:18px;border-radius:4px}
@media(hover:hover){.pc__dots button:hover i{opacity:.75}}
/* owner 15.11: the dots stay tiny until the pointer comes near, then they grow so they are easy to click */
.pc__dots{transform:scale(.5);transform-origin:50% 100%;transition:transform .18s cubic-bezier(.3,1.4,.5,1)}
.pc__dots::before{content:"";position:absolute;z-index:-1;inset:-24px -32px -10px}   /* catches the pointer a little before it reaches the small dots */
.pc__dots:hover,.pc__dots:has(:focus-visible){transform:none}   /* keyboard focus grows them too; a mouse click does not keep them big */
/* owner 16.11, computer: same size, sitting a little lower, across the bottom edge of the photo */
@media(hover:hover){.pc__dots{top:calc(96cqi - 21px)}}
/* owner 16.11, phone (pick N1): never on the photo. A thin free band between photo and name on EVERY card keeps the
   names level; tiny dots sit in it. A tap makes them big for a moment so one can be hit, then they shrink back. */
@media(hover:none){
  .pc__body{padding-top:calc(3cqi + 11px)}
  .pc__dots{top:calc(96cqi + 5px);transform:none;transform-origin:50% 0;height:8px;padding:0;align-items:center;background:none;transition:transform .18s,background .18s}
  .pc__dots button{width:9px;height:8px}
  .pc__dots i{width:4px;height:4px}
  .pc__dots i.on{width:9px}
  .pc__dots::before{inset:-8px -30px -12px}
  /* opened after a tap: real sizes, never a stretched copy (iPhones draw a scaled-up small shape blurry; owner 16.11) */
  .pc__dots.big{transform:translateY(-19px);height:20px;padding:0 5px;border-radius:999px;background:#fff;box-shadow:0 0 0 1.5px var(--ink)}
  .pc__dots.big button{width:16px;height:20px}
  .pc__dots.big i{width:6px;height:6px}
  .pc__dots.big i.on{width:13px}
}
@media(prefers-reduced-motion:reduce){.pc__dots{transition:none}}

/* ---------- the sheet: a sheet from the bottom on phones, a small window on big screens ---------- */
.psheet{width:min(100%,460px);max-width:none;max-height:min(88dvh,720px);margin:auto auto 0;padding:0;border:0;border-radius:22px 22px 0 0;background:#fff;color:var(--ink);overflow:hidden}
.psheet[open]{display:flex;flex-direction:column;animation:ps-up .28s cubic-bezier(.2,.9,.3,1)}
.psheet::backdrop{background:rgba(18,12,6,.55)}
@keyframes ps-up{from{transform:translateY(40px);opacity:0}}
.psheet__head{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:14px 14px 10px 16px}
.psheet__head>div{align-self:center;min-width:0}
.psheet__head h3{font-size:22px}
.psheet__head p{font-size:14px;opacity:.8}
.psheet__pic{position:relative;width:104px;height:104px;padding:0;border:0;border-radius:14px;background:var(--cream);overflow:hidden;cursor:zoom-in}
.psheet__pic img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.psheet__pic img.swap{animation:pic-swap .3s}
@keyframes pic-swap{from{opacity:0;scale:.94}}
.psheet__pic span{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--ink)}
.psheet__pic span svg{width:15px;height:15px;fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round}
.psheet__head .psheet__sel{margin-top:6px;font:700 16px/1.25 var(--body);opacity:1;overflow-wrap:anywhere}
.psheet__list{display:grid;gap:6px;padding:4px 16px 12px;overflow:auto;overscroll-behavior:contain}
.srow{position:relative;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;min-height:52px;padding:6px 14px 6px 12px;border-radius:12px;background:var(--cream);cursor:pointer;font-weight:700}
.srow input{position:absolute;opacity:0;inset:0;margin:0}
.srow::before{content:"";width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 2.5px var(--ink)}
.srow:has(input:checked){background:var(--honey)}
.srow:has(input:checked)::before{box-shadow:inset 0 0 0 6px var(--ink)}
.srow:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:2px}
.srow:has(input:disabled){background:none;box-shadow:inset 0 0 0 1.5px rgba(58,30,5,.25);cursor:not-allowed;opacity:.55}
.srow small{display:block;font-weight:500;font-size:13px;opacity:.8}
.srow b{font:700 20px/1 var(--display);font-variant-numeric:tabular-nums;text-align:right}
.srow b s{display:block;font:500 13px var(--body);opacity:.65}
.psheet__foot{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));border-top:2px solid rgba(58,30,5,.1)}
/* scoped to the sheet: fable.css has its own .qty for the product page */
.psheet .qty{display:grid;grid-template-columns:44px 34px 44px;align-items:center;border-radius:12px;background:var(--cream);text-align:center;font:700 18px var(--display)}
.psheet .qty button{width:auto;height:52px;border:0;background:none;color:var(--ink);font:700 24px/1 var(--display)}
@media(min-width:700px){.psheet{width:min(100%,500px);margin:auto;border-radius:22px}.psheet__pic{width:132px;height:132px}}
@media(max-height:480px) and (orientation:landscape){
  .psheet{width:min(100%,720px);max-height:96dvh}
  .psheet__head{padding:8px 12px 6px}
  .psheet__pic{width:56px;height:56px}.psheet__pic span,.psheet__head .psheet__sel{display:none}
  .psheet__list{grid-template-columns:1fr 1fr}.psheet__foot{padding-top:8px}
}

/* ---------- large view of the photos ---------- */
.plight{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:rgba(18,12,6,.94);color:var(--cream);overflow:hidden}
.plight[open]{display:grid;grid-template-rows:minmax(0,1fr) auto}
.plight::backdrop{background:rgba(18,12,6,.6)}
.plight__strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior:contain}
.plight__strip::-webkit-scrollbar{display:none}
.plight figure{flex:none;display:grid;place-items:center;width:100%;height:100%;margin:0;padding:64px 14px 6px;scroll-snap-align:center;box-sizing:border-box;min-height:0}
.plight img{max-width:min(100%,960px);max-height:calc(100dvh - 150px);width:auto;height:auto;object-fit:contain;border-radius:14px;background:#fff}
.plight__cap{padding:10px 60px calc(14px + env(safe-area-inset-bottom));text-align:center;font:700 clamp(15px,2.4vw,19px)/1.3 var(--display)}
.plight .xbtn{color:var(--ink);position:absolute;z-index:2;top:12px;right:12px;width:46px;height:46px;margin:0}
.plight__nav{position:absolute;z-index:2;top:50%;left:10px;translate:0 -50%;display:grid;place-items:center;width:48px;height:48px;border:0;border-radius:50%;background:var(--cream);color:var(--ink)}
.plight__nav--r{left:auto;right:10px}
.plight__nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.plight__nav:hover{background:var(--honey)}
@media(hover:none){.plight__nav{display:none}}
@media(max-height:480px){.plight figure{padding-top:10px}.plight img{max-height:calc(100dvh - 62px)}.plight__cap{padding:6px 60px 8px;font-size:14px}}
@media(max-width:480px){.plight__cap{padding-inline:16px}}

/* ---------- cards inside text pages (search results use .prose from wp.css) ---------- */
.prose .pgrid{margin-top:0}
.prose .pc h3.pc__name{margin-top:0;font-size:clamp(17px,9.6cqi,26px);line-height:1.15}
.prose .pc__name a,.prose .pc a.pc__pic,.prose .pc a.pc__pick{text-decoration:none}
.prose .pc .pc__pic img{height:100%}
.prose .pc--mix .pc__pic img{height:100%}

/* ================= stage 2 (2026-11-15): sold-out divider, side menu, phone category row, delivery meter, Akcijas ================= */

/* "Šobrīd izpārdots": a full-width line before the first sold-out card */
.pgrid__sep{grid-column:1/-1;display:flex;align-items:center;gap:14px;margin-top:18px;font:700 20px/1.2 var(--display)}
.pgrid__sep::after{content:"";flex:1;height:3px;border-radius:2px;background:var(--ink);opacity:.14}
.pgrid__sep span{font:500 15px var(--body);opacity:.7}

/* the shop frame: wider side column than before (the menu now carries the meter and add-ons) */
@media(min-width:1000px){.shop__in{grid-template-columns:minmax(232px,268px) 1fr;gap:36px}}
@media(min-width:1000px) and (max-width:1239px){.shop__in{gap:26px}}

/* category chips on phones and tablets: a row that scrolls sideways and sticks under the header */
.cbar{position:sticky;top:58px;z-index:20;margin-inline:calc(var(--pad)*-1);padding:8px var(--pad);background:var(--cream);display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.cbar::-webkit-scrollbar{display:none}
.cbar a{flex:none;display:flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border-radius:12px;background:#fff;color:var(--ink);font:700 16px/1 var(--display);text-decoration:none;white-space:nowrap}
.cbar a small{font:500 13px var(--body);opacity:.65}
.cbar a.on{background:var(--ink);color:var(--cream)}
.cbar a.sale{color:var(--red)}
.cbar a.sale.on{background:var(--red);color:#fff}
@media(hover:hover){.cbar a:not(.on):hover{background:var(--honey)}}

/* side menu (from 1000 px). Only the aside itself scrolls: no overflow on its parents (pinned box rule) */
.snav{display:none}
@media(min-width:1000px){
  .cbar{display:none}
  .snav{display:grid;gap:14px;position:sticky;top:92px;max-height:calc(100dvh - 104px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 6px 8px 2px}
}
.snav__cats{display:grid;gap:2px}
.snav__cats a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px 0 6px;border-radius:12px;color:var(--ink);font:700 18px/1.1 var(--display);text-decoration:none}
.snav__cats a img,.snav__cats a i,.snav__nopic{flex:none;width:34px;height:34px;object-fit:contain}
.snav__cats a i{display:grid;place-items:center;border-radius:50%;background:var(--red);color:#fff;font:700 15px var(--display);font-style:normal}
.snav__cats a small{margin-left:auto;font:500 14px var(--body);opacity:.6;font-variant-numeric:tabular-nums}
.snav__cats a.on{background:var(--ink);color:var(--cream)}
.snav__cats a.sale{color:var(--red)}
.snav__cats a.sale.on{background:var(--red);color:#fff}
.snav__cats a.sale.on i{background:#fff;color:var(--red)}
.snav__cats a:not(.on):hover{background:#fff}
.sbox{padding:14px 14px 16px;border-radius:16px;background:#fff;font-size:15px}
.sbox h3{font-size:19px;line-height:1.2;margin-bottom:6px}
.sbox--pine{display:grid;gap:4px;background:var(--pine);color:var(--cream);text-decoration:none}
.sbox--pine .jb-bee{width:74px;margin-bottom:4px}
.sbox--pine b{font:700 21px/1.15 var(--display)}
.sbox--pine u{font:700 16px var(--display);text-underline-offset:4px;margin-top:4px}
.snav__links{display:grid;gap:8px;font-size:16px}
.snav__links h3{margin:0}

/* free delivery meter: reads the basket. product.css (loads later) has its own .meter, so these rules are more specific */
.sbox.meter p{margin:0;font-size:15px;font-weight:400}
.sbox.meter b{font-variant-numeric:tabular-nums}
.sbox.meter .meter__bar{position:relative;height:14px;margin:46px 0 8px;border-radius:7px;background:var(--cream);box-shadow:inset 0 0 0 2px var(--ink);overflow:visible}
.sbox.meter .meter__bar i{position:absolute;inset:2px auto 2px 2px;display:block;height:auto;width:calc((100% - 4px) * var(--p,0));min-width:10px;border-radius:5px;background:var(--honey);transition:width .5s cubic-bezier(.3,1.3,.5,1)}
.sbox.meter .meter__bar img{position:absolute;bottom:6px;left:clamp(0px,calc(100% * var(--p,0) - 19px),calc(100% - 38px));width:38px;transition:left .5s cubic-bezier(.3,1.3,.5,1)}
.sbox.meter .meter__ends{display:flex;justify-content:space-between;font-size:13px;opacity:.75}
.sbox.meter.done{background:var(--pine);color:var(--cream)}
.sbox.meter.done .meter__bar{background:var(--pine-d);box-shadow:inset 0 0 0 2px var(--cream)}

/* small things that lift the basket over the line */
.addon{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;padding:5px 0}
.addon+.addon{border-top:2px solid rgba(58,30,5,.08)}
.addon img{width:44px;height:44px;object-fit:contain}
.addon b{display:block;font:700 15px/1.2 var(--body)}
.addon span{font-size:14px;font-variant-numeric:tabular-nums}
.addon button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:var(--ink);color:var(--cream)}
.addon button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.addon button:hover{background:#57300B}
.addon button.added{background:var(--pine)}
.addon .added_to_cart{display:none}

/* jar steps: static, the discount does not exist yet ("Drīzumā") */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:8px 0 0;padding:0;list-style:none;text-align:center;font-size:13px}
.steps li{padding:7px 2px;border-radius:9px;background:var(--cream)}
.steps li b{display:block;font:700 17px/1.2 var(--display);font-variant-numeric:tabular-nums}
.steps li.on{background:var(--ink);color:var(--cream)}

/* phones: the same meter as a thin bar on the bottom edge, only once something is in the basket */
.mbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;padding:8px var(--pad) calc(8px + env(safe-area-inset-bottom));background:var(--honey);box-shadow:0 -3px 0 var(--ink);font-size:14px;line-height:1.3;transform:translateY(110%);transition:transform .35s,visibility .35s;visibility:hidden}
.mbar.show{transform:none;visibility:visible}
.mbar i{grid-column:1;display:block;height:8px;border-radius:4px;background:var(--cream);box-shadow:inset 0 0 0 1.5px var(--ink);overflow:hidden}
.mbar i::after{content:"";display:block;height:100%;width:calc(100% * var(--p,0));background:var(--ink);transition:width .5s}
.mbar a{grid-row:1/3;grid-column:2;display:grid;place-items:center;min-height:44px;padding:0 16px;border-radius:12px;background:var(--ink);color:var(--cream);font:700 16px var(--display);text-decoration:none;white-space:nowrap}
.mbar.done{background:var(--pine);color:var(--cream)}
@media(min-width:1000px){.mbar{display:none}}

/* head band of the sale page */
.phead--sale{background:var(--red);color:#fff}
.phead--sale .lead{color:#fff}

/* ===== slim hero on /veikals, the categories, Akcijas and product search (owner picks 16.11) =====
   Slim band with the garland at half size; the short line under the title shows on every screen; the gift set page keeps
   the same tear-off calendar, small, and its big "Vai saliec pati" block. Only .phead--slim (archive-product.php):
   the box builder and the plain search page keep the tall band. */
.phead--slim{padding:46px 0 12px}
@media(min-width:800px){.phead--slim{padding:50px 0 16px}}
.phead--slim .flakes{display:none}
.phead--slim .garland{width:182%;transform:scale(.55);transform-origin:0 0}
.phead--slim .phead__in{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.phead--slim .phead__in>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 18px;flex:1;min-width:0}
.phead--slim h1{font-size:clamp(24px,3.2vw,38px);line-height:1.1}
.phead--slim .lead{margin:0;font-size:15px;line-height:1.35;max-width:none}
@media(max-width:699px){.phead--slim .lead{flex-basis:100%;font-size:13px;line-height:1.3}}
/* the same calendar, small, inside the band */
.phead--slim .cal{flex:none;margin-left:auto;justify-self:auto;width:78px;box-shadow:3px 3px 0 var(--pine-d)}
.phead--slim .cal::before,.phead--slim .cal::after{top:-5px;width:6px;height:13px}
.phead--slim .cal::before{left:17px}
.phead--slim .cal::after{right:17px}
.phead--slim .cal b{padding:9px 3px 4px;font-size:7.5px;line-height:1.15}
.phead--slim .cal strong{padding-top:3px;font-size:34px}
.phead--slim .cal span{padding-bottom:6px;font-size:11px}
@media(max-width:599px){
  .phead--slim .cal{width:64px}
  .phead--slim .cal b{font-size:6.5px;padding:8px 2px 3px}
  .phead--slim .cal strong{font-size:27px}
  .phead--slim .cal span{font-size:9.5px;padding-bottom:5px}
}
/* text apply 23.11 (owner's notes): gift box tile - the title stays on one line, "Sākt" follows the sentence */
.pgrid>.tile--promo{container-type:inline-size}
.tile--promo b{white-space:nowrap;font-size:min(36px,5cqi)}
.tile--promo span>.btn{display:inline-flex;margin:0 0 0 10px;vertical-align:middle}
