/* Product page buying steps and the Bliss family swiper (2026-11-24 PT).
   One question at a time: which tin, then once or autoship. The original form stays in the page,
   hidden, so the cart keeps working exactly as before. The gallery preview (?layout=b) is untouched. */

/* ---------- the family swiper ---------- */
html:not(.pdp-b) .ganache-still:has(.bliss-swiper) .still-head,
html:not(.pdp-b) .ganache-still:has(.bliss-swiper) .tin-lagoon{display:none}
.pdp-b .bliss-swiper{display:none}
.bliss-swiper{position:relative;width:100%;max-width:640px;margin:0 auto;--h:clamp(220px,60vw,420px)}
.bs-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none;overscroll-behavior-x:contain}
.bs-track::-webkit-scrollbar{display:none}
.bs-track:focus-visible{box-shadow:0 0 0 2px rgba(230,201,162,.7);border-radius:14px}
.bs-slide{flex:0 0 100%;scroll-snap-align:center;scroll-snap-stop:always;margin:0;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:calc(var(--h) + 9.5rem);padding:0 1rem}
.bs-slide .still-name{font-size:clamp(2.6rem,9vw,4.4rem)}
.bs-tin{display:block;margin:auto auto 0;width:auto;max-width:92%;object-fit:contain;filter:drop-shadow(0 26px 24px rgba(0,0,0,.45)) drop-shadow(0 4px 6px rgba(0,0,0,.25))}
.bs-tin-16{height:var(--h)}
.bs-tin-8{height:calc(var(--h)*.84)}
.bs-tin-2{height:calc(var(--h)*.6)}
.bs-size{margin:.9rem 0 0;font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(247,240,227,.72)}
/* a soft floor shadow under each tin */
.bs-slide{position:relative}
.bs-slide::after{content:"";position:absolute;left:50%;bottom:2.1rem;width:min(56vw,330px);height:30px;translate:-50% 0;z-index:-1;border-radius:50%;background:radial-gradient(ellipse at center,rgba(0,0,0,.5),rgba(0,0,0,0) 70%);filter:blur(2px)}
.bs-arrow{position:absolute;top:calc(50% + 1rem);translate:0 -50%;width:44px;height:44px;border-radius:50%;border:1px solid rgba(230,201,162,.5);background:rgba(11,36,33,.5);color:#f7f0e3;font:300 1.6rem/1 var(--display-font,Georgia,serif);display:grid;place-items:center;padding:0 0 3px;cursor:pointer;transition:background .2s ease,border-color .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.bs-arrow:hover{background:rgba(11,36,33,.78);border-color:#e6c9a2}
.bs-arrow:focus-visible{outline:2px solid #e6c9a2;outline-offset:2px}
.bs-prev{left:.25rem}.bs-next{right:.25rem}
.bs-dots{display:flex;justify-content:center;gap:.55rem;margin-top:1.1rem}
.bs-dot{width:28px;height:28px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
.bs-dot::before{content:"";width:8px;height:8px;border-radius:99px;background:rgba(247,240,227,.38);transition:width .3s ease,background .3s ease}
.bs-dot[aria-current="true"]::before{width:26px;background:#e6c9a2}
.bs-dot:focus-visible{outline:2px solid #e6c9a2;outline-offset:1px;border-radius:99px}
@media(max-width:600px){.bs-arrow{display:none}}
@media(min-width:901px){.bliss-swiper{--h:min(38vh,360px)}.bs-slide{min-height:calc(var(--h) + 10rem)}.bs-size{font-size:.8rem;color:rgba(247,240,227,.85)}}

/* ---------- the buying steps ---------- */
.has-chooser .purchase-fields,.has-chooser .purchase-total,.has-chooser #bliss-add{display:none!important}
.has-chooser .tin-pick{display:none!important}
.bliss-buy{margin:1.6rem 0 1.2rem;color:var(--ink,#15312d)}
.bb-step{margin:0 0 1.7rem}
.bb-q{display:flex;align-items:center;gap:.7rem;margin:0 0 .9rem;font-family:var(--display-font,'Cormorant Garamond',Georgia,serif);font-weight:500;font-size:clamp(1.55rem,4.6vw,1.95rem);line-height:1.1;color:var(--deep,#0c2422)}
.bb-q-sm{font-size:clamp(1.25rem,3.8vw,1.45rem);margin-bottom:.7rem}
.bb-n{flex:0 0 auto;width:1.7rem;height:1.7rem;border-radius:50%;display:grid;place-items:center;font:600 .78rem/1 var(--body-font,'DM Sans',sans-serif);background:var(--deep,#0c2422);color:var(--foam,#f0ede1)}
.bb-tiles{display:grid;gap:.7rem}
.bb-fam{grid-template-columns:repeat(3,minmax(0,1fr))}
.bb-how{grid-template-columns:repeat(2,minmax(0,1fr))}
.bb-row{display:flex;flex-wrap:wrap;gap:.55rem}
.bb-tile{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.2rem;padding:1rem .6rem .95rem;border-radius:16px;border:1.5px solid rgba(21,49,45,.16);background:#fbf9f3;color:inherit;font:inherit;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease}
.bb-tile:hover{border-color:rgba(21,49,45,.4)}
.bb-tile.is-on{border-color:var(--deep,#0c2422);background:#fff;box-shadow:0 0 0 1px var(--deep,#0c2422),0 10px 26px rgba(12,36,34,.1)}
.bb-tile:focus-visible,.bb-chip:focus-visible,.bb-pill:focus-visible,.bb-step-ctl button:focus-visible{outline:2px solid var(--copper,#ce9b76);outline-offset:3px}
.bb-art{height:74px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:.35rem}
.bb-art img{display:block;width:auto;object-fit:contain;filter:drop-shadow(0 6px 6px rgba(0,0,0,.18))}
.bb-t16{height:74px}.bb-t8{height:60px}
.bb-art-trio img{height:38px;margin:0 -7px}
.bb-art-trio img:nth-child(2){height:44px;position:relative;z-index:1}
.bb-name{font-family:var(--display-font,'Cormorant Garamond',Georgia,serif);font-weight:600;font-size:1.28rem;line-height:1.05;color:var(--deep,#0c2422)}
.bb-sub{font-size:.76rem;line-height:1.35;color:rgba(21,49,45,.68)}
.bb-price{margin-top:auto;padding-top:.3rem;font-weight:600;font-size:.95rem}
.bb-big{font-family:var(--display-font,'Cormorant Garamond',Georgia,serif);font-weight:600;font-size:1.7rem;line-height:1.1;color:var(--deep,#0c2422)}
.bb-tag{position:absolute;top:-.62rem;left:50%;translate:-50% 0;white-space:nowrap;padding:.22rem .6rem;border-radius:99px;font-size:.64rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:var(--copper,#ce9b76);color:var(--deep,#0c2422)}
.bb-tag-save{background:var(--deep,#0c2422);color:var(--foam,#f0ede1)}
.bb-tag:empty{display:none}
.bb-bf{margin-top:.45rem;padding:.4rem .55rem;border-radius:10px;font-size:.74rem;line-height:1.35;font-weight:600;background:rgba(97,53,47,.1);color:var(--wine,#61352f)}
.bb-bf[hidden]{display:none}
.bb-plan{padding-top:1.2rem}
.bb-chip{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;flex:1 1 0;min-width:0;padding:.75rem .85rem;border-radius:14px;border:1.5px solid rgba(21,49,45,.16);background:#fbf9f3;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}
.bb-chip b{font-size:.98rem;color:var(--deep,#0c2422)}
.bb-chip i{font-family:var(--display-font,'Cormorant Garamond',Georgia,serif);font-size:1rem;line-height:1.2;color:rgba(21,49,45,.8)}
.bb-chip span{font-size:.74rem;color:rgba(21,49,45,.66)}
.bb-chip:hover{border-color:rgba(21,49,45,.4)}
.bb-chip.is-on{border-color:var(--deep,#0c2422);background:#fff;box-shadow:0 0 0 1px var(--deep,#0c2422)}
.bb-sets[hidden],.bb-every[hidden]{display:none}
.bb-every{margin-top:1rem;padding:1rem;border-radius:16px;background:rgba(21,49,45,.05)}
.bb-label{margin:0 0 .55rem;font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(21,49,45,.7)}
.bb-pill{min-height:40px;padding:.45rem .9rem;border-radius:99px;border:1.5px solid rgba(21,49,45,.2);background:#fbf9f3;color:var(--deep,#0c2422);font:inherit;font-size:.84rem;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.bb-pill.is-on{background:var(--deep,#0c2422);border-color:var(--deep,#0c2422);color:var(--foam,#f0ede1)}
.bb-then{margin:.75rem 0 0;font-size:.84rem;line-height:1.45;color:rgba(21,49,45,.78)}
.bb-qty{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.2rem 0 0}
.bb-qty .bb-label{margin:0}
.bb-step-ctl{display:flex;align-items:center;border:1.5px solid rgba(21,49,45,.2);border-radius:99px;background:#fbf9f3}
.bb-step-ctl button{width:44px;height:42px;border:0;background:none;font:400 1.3rem/1 var(--body-font,sans-serif);color:var(--deep,#0c2422);cursor:pointer;border-radius:99px}
.bb-step-ctl button:disabled{opacity:.3;cursor:default}
.bb-q-val{min-width:2rem;text-align:center;font-weight:600}
@media(max-width:420px){.bb-fam{gap:.5rem}.bb-tile{padding:.9rem .35rem .85rem}.bb-name{font-size:1.12rem}.bb-sub{font-size:.7rem}.bb-t16{height:66px}.bb-t8{height:54px}.bb-art{height:66px}.bb-tag{font-size:.58rem;padding:.2rem .45rem}}
@media(max-width:360px){.bb-row .bb-chip{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.bs-track{scroll-behavior:auto}.bb-tile,.bb-chip,.bb-pill,.bs-dot::before{transition:none}}

/* the in-page buy row, Apple-style */
.bb-buy-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.4rem;padding-top:1.3rem;border-top:1px solid rgba(21,49,45,.14)}
.bb-sum{flex:1 1 auto;display:flex;flex-direction:column;gap:.15rem;min-width:0}
.bb-sum-price{font-size:.9rem;color:rgba(21,49,45,.75)}
.bb-sum-price b{font-family:var(--display-font,'Cormorant Garamond',Georgia,serif);font-size:2rem;font-weight:600;line-height:1;color:var(--deep,#0c2422);margin-right:.25rem}
.bb-sum-note{font-size:.78rem;color:rgba(21,49,45,.62)}
.bb-add-inline{min-height:54px;padding:0 2rem;font-size:.95rem}

/* ---------- the bar that follows you down the page ---------- */
body.bb-on .cart-bar{display:none!important}
.bb-bar{position:fixed;left:0;right:0;bottom:0;z-index:480;translate:0 110%;transition:translate .35s cubic-bezier(.2,.8,.2,1);pointer-events:none}
body.bb-bar-on .bb-bar{translate:0 0;pointer-events:auto}
.bb-bar-in{box-sizing:border-box;width:100%;display:flex;align-items:center;gap:1rem;max-width:1100px;margin:0 auto;padding:.75rem 1.1rem calc(.75rem + env(safe-area-inset-bottom));background:rgba(251,249,243,.94);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);border-top:1px solid rgba(21,49,45,.12);box-shadow:0 -10px 30px rgba(12,36,34,.1)}
@media(min-width:1101px){.bb-bar-in{border:1px solid rgba(21,49,45,.12);border-bottom:0;border-radius:18px 18px 0 0}}
.bb-bar-sum{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.1rem}
.bb-bar-what{font-size:.8rem;line-height:1.3;color:rgba(21,49,45,.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bb-bar-price{font-size:.82rem;color:rgba(21,49,45,.75)}
.bb-bar-price b{font-family:var(--display-font,'Cormorant Garamond',Georgia,serif);font-size:1.35rem;font-weight:600;color:var(--deep,#0c2422);margin-right:.2rem}
.bb-add{flex:0 0 auto;min-height:48px;padding:0 1.6rem;border-radius:99px;font-weight:600;white-space:nowrap;transition:background .25s ease,color .25s ease}
.bb-add.is-done{background:var(--deep,#0c2422)!important;color:var(--foam,#f0ede1)!important}
.bb-bag{box-sizing:border-box;display:block;width:100%;max-width:1100px;margin:0 auto;padding:.5rem 1rem;border:0;background:var(--deep,#0c2422);color:var(--foam,#f0ede1);font:inherit;font-size:.8rem;letter-spacing:.02em;cursor:pointer;text-align:center}
.bb-bag[hidden]{display:none}
.bb-bar .bb-bag{order:-1}
.bb-bar{display:flex;flex-direction:column}
@media(max-width:420px){.bb-add{padding:0 1.15rem}.bb-bar-in{gap:.7rem}}
/* lift the radio button above the bar while it shows */
body.bb-bar-on .radio-launch{bottom:calc(92px + env(safe-area-inset-bottom));transition:bottom .35s ease}
body.bb-bar-on:has(.bb-bag:not([hidden])) .radio-launch{bottom:calc(126px + env(safe-area-inset-bottom))}
/* leave room at the very bottom of the page so the footer is not hidden under the bar */
body.bb-on{padding-bottom:96px}
@media(prefers-reduced-motion:reduce){.bb-bar{transition:none}}

/* ---------- three facts, not eight ---------- */
.has-chooser .ganache-facts span:not(:nth-child(1)):not(:nth-child(3)):not(:nth-child(7)){display:none}

/* Product page headline, Andie's pick B (2026-11-24 PT): the line leads, the name sits small above it. */
body.product-page .ganache-copy h1{font-family:var(--body-font,'DM Sans',sans-serif);font-size:.8rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;line-height:1.5;color:#8a5a3a;margin:0 0 .4rem}
body.product-page .ganache-copy h1 br{display:none}
body.product-page .ganache-copy h1 em{font-style:normal;font-weight:inherit;font-family:inherit;letter-spacing:inherit;color:inherit;margin-left:.3em}
body.product-page .ganache-copy .food-line{border:0;padding:0;margin:.2rem 0 1.4rem;font-size:clamp(3.4rem,5.4vw,6rem)}
body.product-page .ganache-copy .food-line em{color:#b5774b}

/* Kai F2/F3/F1 fixes (2026-11-24 PT): hidden bar fully out of reach; radio sits right whether or not the cart bar flag is set; refusal note. */
body.bb-on:not(.bb-bar-on) .bb-bar{visibility:hidden;transition:translate .35s cubic-bezier(.2,.8,.2,1),visibility 0s linear .35s}
body.bb-on.has-cart-bar:not(.bb-bar-on) .radio-launch{bottom:10px!important}
body.bb-on.has-cart-bar.bb-bar-on .radio-launch{bottom:calc(92px + env(safe-area-inset-bottom))!important}
body.bb-on.has-cart-bar.bb-bar-on:has(.bb-bag:not([hidden])) .radio-launch{bottom:calc(126px + env(safe-area-inset-bottom))!important}
.bb-note{margin:.6rem 0 0;font-size:.92rem;line-height:1.45;color:#9a3f24}
.bb-note:empty{display:none}

/* 2026-11-25 Andie: tags fit their tile, proof and The Tease beside the buy button */
.bb-fam .bb-tag{white-space:normal;max-width:calc(100% - 10px);width:max-content;text-align:center;line-height:1.15}
@media (max-width:520px){.bb-fam .bb-tag{font-size:.55rem;letter-spacing:.04em;padding:.22rem .5rem;top:-.85rem}}
.has-chooser .tease-note{display:none}
.bb-proof{margin-top:1rem}
.bb-tease-line{display:flex;align-items:center;gap:.7rem;margin:0 0 1rem;padding:.65rem .85rem;border:1px dashed rgba(166,95,61,.45);border-radius:14px;background:#fffdf8;font-size:.86rem;line-height:1.45;color:#2b4744}
.bb-tease-line img{flex:0 0 40px;width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 4px 6px rgba(61,42,28,.25))}
.bb-tease-line.is-in{border-style:solid;border-color:#c98e6b;background:#fff7ee}
.bb-trust{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.45rem .9rem}
.bb-trust li{position:relative;padding-left:1.15rem;font-size:.78rem;line-height:1.35;color:rgba(21,49,45,.78)}
.bb-trust li::before{content:'';position:absolute;left:0;top:.28rem;width:.55rem;height:.3rem;border-left:2px solid #a65f3d;border-bottom:2px solid #a65f3d;transform:rotate(-45deg)}
.bb-why{display:inline-block;margin-top:.9rem;font-size:.86rem;color:#a65f3d;text-decoration:underline;text-underline-offset:3px}
.bb-auto-price s{font-size:.6em;opacity:.5;margin-right:.15em;font-weight:400}
.bb-preview{margin:0 0 1.2rem;padding:.7rem .9rem;border-radius:12px;background:#15312d;color:#f7f3ea;font-size:.84rem;line-height:1.4}
.bb-add[disabled]{opacity:.55;cursor:not-allowed}
.bb-raw{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:.9rem;margin:1rem 0 .4rem;padding:.75rem .9rem;background:#fffdf8;border:1px solid #e3d3b8;border-radius:16px;box-shadow:0 10px 22px -18px #3d2a1c}
.bb-raw-img img{display:block;width:72px;height:72px;object-fit:cover;border-radius:12px}
.bb-raw-text{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.bb-raw-kick{font:italic 500 .95rem/1.2 'Cormorant Garamond',Georgia,serif;color:#a65f3d}
.bb-raw-name{font:600 1.25rem/1.1 'Cormorant Garamond',Georgia,serif;color:#15312d}
.bb-raw-sub{font-size:.76rem;line-height:1.35;color:rgba(21,49,45,.7)}
.bb-raw-side{display:flex;flex-direction:column;align-items:flex-end;gap:.3rem}
.bb-raw-price{font-weight:600;color:#15312d}
.bb-raw-tag{padding:.2rem .5rem;border-radius:99px;background:#15312d;color:#f7f3ea;font-size:.6rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.bb-raw-notify{grid-column:1/-1;display:block;width:100%;border:0;cursor:pointer;font-family:inherit;margin-top:.2rem;padding:.7rem 1rem;border-radius:12px;background:linear-gradient(135deg,#a65f3d,#c27445 55%,#d08a59);color:#fffaf0;text-align:center;font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;box-shadow:0 8px 16px -10px #7a3f24}
.bb-raw-notify:hover,.bb-raw-notify:focus-visible{filter:brightness(1.06)}
@media (max-width:440px){.bb-raw{grid-template-columns:64px 1fr;gap:.7rem}.bb-raw-img img{width:64px;height:64px}.bb-raw-side{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}}
/* 2026-11-25: four tiles; Bliss in the Raw is a tile like the others */
.bb-fam{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:600px){.bb-fam{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.3rem}}
.bb-hint{font-size:.7rem;font-weight:600;letter-spacing:.04em;color:#a65f3d}
.bb-art-raw img{height:66px;width:66px;object-fit:cover;border-radius:12px}


.bb-tile-raw.is-peek{border-style:solid;border-color:#a65f3d;background:#fff}
.bb-tag-oos{background:#15312d;color:#f7f3ea}
.bb-raw-panel{margin-top:.8rem;padding:1rem 1.1rem;border:1px solid #e3d3b8;border-radius:16px;background:#fffdf8}
.bb-raw-panel .bb-raw-kick{margin:0 0 .3rem;font:italic 500 1.05rem/1.2 'Cormorant Garamond',Georgia,serif;color:#a65f3d}
.bb-raw-copy{margin:0 0 .8rem;font-size:.86rem;line-height:1.5;color:#2b4744}
@media (max-width:600px){.bb-sets .bb-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
.bb-notify-cta{margin-top:.45rem;padding:.4rem .6rem;border-radius:99px;background:linear-gradient(135deg,#a65f3d,#c27445 55%,#d08a59);color:#fffaf0;font-size:.62rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;line-height:1.2}
.bb-tile-raw .bb-price{margin-top:.3rem}
.bb-story{margin:.85rem .2rem 0;font:italic 400 1.12rem/1.5 'Cormorant Garamond',Georgia,serif;color:#1b3a3f}
.bb-story:empty{display:none}
