/* BlabTab Shop — digital sandbox catalogue with protected cart actions; physical Coming soon. */
.bt-shop{--bt-ink:#141b30;--bt-subtle:#687188;--bt-line:#e3e5f2;--bt-card:#fff;--bt-surface:#f6f5fc;--bt-accent:#7569ec;background:var(--bt-surface);color:var(--bt-ink);min-height:70vh;padding-bottom:82px}
[data-resolved-theme="dark"] .bt-shop{--bt-ink:#f7f6ff;--bt-subtle:#b9bed2;--bt-line:#363951;--bt-card:#1b2033;--bt-surface:#0e1421;--bt-accent:#ae9aff}
.bt-shop *{box-sizing:border-box}.bt-shop a{color:inherit}.bt-shop-hero{background:radial-gradient(ellipse at 93% 30%,rgba(192,123,238,.24),transparent 55%),linear-gradient(115deg,#141b35,#232244);color:#fff;padding:75px 0 65px}
/* Dark Shop surfaces need their own heading tokens: the shared editorial h1/h2 rules
   set --ed-ink for the surrounding light theme, which becomes unreadable here. */
.bt-shop .bt-shop-hero h1,.bt-shop .bt-shop-final h2{color:#fff}
.bt-shop .bt-shop-hero .bt-shop-lead{color:#e6e3f6}
.bt-shop .bt-shop-hero .bt-shop-alert{color:#f1effa}
.bt-shop .bt-shop-final p:not(.ed-kicker){color:#e2deef}
.bt-shop-hero-grid{display:grid;grid-template-columns:1.35fr 0.65fr;gap:36px;align-items:center}.bt-shop .ed-kicker{color:#a7a9ff;font-weight:800;text-transform:uppercase;letter-spacing:.13em;font-size:.74rem}
.bt-shop-hero h1{font-size:clamp(2.7rem,4.6vw,4.7rem);line-height:1.06;letter-spacing:-.05em;font-weight:800;max-width:730px;margin:13px 0 23px}.bt-shop-lead{font-size:1.11rem;line-height:1.7;color:#dedcf2;max-width:710px}
.bt-shop-chips{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}.bt-shop-chips span{padding:8px 12px;border:1px solid #57577a;border-radius:30px;font-size:.83rem;color:#f2ebff}
.bt-shop-alert{max-width:700px;background:#ffffff10;border:1px solid #aaa5d047;border-radius:14px;padding:16px 18px;color:#e6e5f1;line-height:1.65;font-size:.88rem}
.bt-shop-hero-art{min-height:300px;border-radius:26px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:17px;background:linear-gradient(145deg,#363051,#191c39);border:1px solid #5e5886;box-shadow:0 22px 75px #070b2455}
.bt-shop-hero-art img{width:96px;height:124px;object-fit:contain}.bt-shop-hero-art>span{color:#e6defc;font-weight:800;letter-spacing:.12em;text-align:center;line-height:1.17;font-size:2rem}.bt-shop-dot{color:#e99afc}
.bt-shop-list{padding-top:67px}.bt-shop-section-head{margin-bottom:22px}.bt-shop-section-head h2{font-weight:800;letter-spacing:-.045em;font-size:clamp(2rem,3.5vw,3.4rem);margin:9px 0}.bt-shop-section-head p{color:var(--bt-subtle)}
.bt-shop-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;background:var(--bt-card);border:1px solid var(--bt-line);border-radius:18px;padding:15px;margin-bottom:28px}.bt-shop-filters label{display:flex;flex-direction:column;gap:6px;font-size:.83rem;font-weight:700;color:var(--bt-ink);flex:1;min-width:200px}.bt-shop-filters select,.bt-shop-filters input{height:46px;padding:9px 14px;border:1px solid var(--bt-line);border-radius:11px;background:var(--bt-surface);color:var(--bt-ink);font:inherit;min-width:0;max-width:100%}.bt-shop-filters button{padding:13px 22px;border:0;border-radius:11px;font-weight:700;background:#7769e9;color:white;cursor:pointer}.bt-shop-reset{padding:13px;color:var(--bt-accent)!important;font-weight:700}
.bt-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.bt-shop-card{background:var(--bt-card);border:1px solid var(--bt-line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;min-width:0}.bt-shop-card:hover{transform:translateY(-3px);box-shadow:0 20px 50px #151a3b15}
.bt-shop-card-img{position:relative;display:flex;aspect-ratio:1.12;overflow:hidden;background:linear-gradient(135deg,#171f37,#37366d);justify-content:center;align-items:center;text-decoration:none}.bt-shop-card-img>img{width:100%;height:100%;object-fit:cover}.bt-shop-placeholder{width:100%;height:100%;display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center;color:#e7e1fc;background:radial-gradient(ellipse at 25% 30%,#6351a44e,transparent 70%),linear-gradient(115deg,#151c39,#303155)}.bt-shop-placeholder img{width:60px;height:80px;object-fit:contain}.bt-shop-placeholder>span{font-size:.7rem;letter-spacing:.13em;font-weight:700}.bt-shop-type{position:absolute;bottom:12px;left:12px;font-size:.7rem;font-weight:800;border-radius:99px;background:#f9f7ffed;color:#242040;padding:7px 10px}
.bt-shop-card-copy{padding:22px;display:flex;flex-direction:column;flex:1}.bt-shop-card h3{margin:0 0 12px;font-size:1.18rem;line-height:1.28;letter-spacing:-.015em}.bt-shop-card h3 a{text-decoration:none}.bt-shop-card-copy>p{color:var(--bt-subtle);line-height:1.55;font-size:.89rem;flex:1;margin:0 0 20px}
.bt-shop-card-foot{display:flex;gap:12px;align-items:end;justify-content:space-between;padding-top:15px;border-top:1px solid var(--bt-line)}.bt-shop-card-foot span{display:flex;flex-direction:column;gap:4px}.bt-shop-card-foot small{font-size:.72rem;color:var(--bt-subtle)}.bt-shop-card-foot strong{font-size:1.24rem}.bt-shop-card-foot>a{font-weight:800;color:var(--bt-accent);font-size:.83rem;text-decoration:none;white-space:nowrap}
.bt-shop-empty{border-radius:18px;background:var(--bt-card);padding:32px;border:1px solid var(--bt-line)}.bt-shop-empty a{color:var(--bt-accent)}.bt-shop-final{margin-top:76px}.bt-shop-final>div{padding:42px;border-radius:24px;background:linear-gradient(120deg,#23233e,#3d3057);color:#fff}.bt-shop-final h2{font-size:2.1rem;margin:13px 0}.bt-shop-final p{max-width:780px;line-height:1.7;color:#dad8ea}.bt-shop-final a{color:#c9b9ff;font-weight:800}
.bt-shop-detail{padding-top:28px}.bt-shop-crumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--bt-subtle);margin:0 0 30px;font-size:.9rem}.bt-shop-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:start}.bt-shop-detail-art{background:var(--bt-card);border:1px solid var(--bt-line);border-radius:22px;overflow:hidden;aspect-ratio:1.08;display:flex;align-items:center;justify-content:center}.bt-shop-detail-art>img{width:100%;height:100%;object-fit:contain}.bt-shop-placeholder--large img{width:130px;height:165px}.bt-shop-placeholder--large strong{color:#ded9ef;text-align:center;line-height:1.4;letter-spacing:.16em}
.bt-shop-detail-copy{padding:16px 0}.bt-shop-detail-copy h1{font-size:clamp(2.1rem,4vw,3.7rem);letter-spacing:-.04em;line-height:1.1;margin:12px 0 23px}.bt-shop-detail-lead{color:var(--bt-subtle);font-size:1.05rem;line-height:1.75}.bt-shop-detail-price{display:flex;flex-direction:column;margin:26px 0}.bt-shop-detail-price span{color:var(--bt-subtle);font-size:.85rem}.bt-shop-detail-price strong{font-size:2.1rem}.bt-shop-detail-meta,.bt-shop-purchase-disabled{padding:20px;border:1px solid var(--bt-line);background:var(--bt-card);border-radius:15px;margin:16px 0;line-height:1.55}.bt-shop-detail-meta p,.bt-shop-purchase-disabled p{color:var(--bt-subtle);margin:7px 0 0}.bt-shop-purchase-disabled{border-color:#9580e5;background:color-mix(in srgb,var(--bt-card) 85%,#9b74f2)}.bt-shop-detail-tip{font-size:.88rem;color:var(--bt-subtle)}.bt-shop-variant-list{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.bt-shop-variant-list span{font-size:.8rem;border:1px solid var(--bt-line);border-radius:8px;padding:7px}.bt-shop-back{display:inline-flex;margin-top:24px;color:var(--bt-accent)!important;font-weight:700;text-decoration:none}
@media(max-width:1060px){.bt-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.bt-shop-hero-grid,.bt-shop-detail-grid{grid-template-columns:1fr}.bt-shop-hero-art{min-height:210px}.bt-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bt-shop-hero{padding:48px 0}.bt-shop-detail{padding-top:15px}}@media(max-width:520px){.bt-shop-grid{grid-template-columns:1fr}.bt-shop-hero h1{font-size:2.5rem}.bt-shop-hero-art{min-height:190px}.bt-shop-filters{padding:12px}.bt-shop-filters label{min-width:100%;}.bt-shop-final>div{padding:25px}.bt-shop-detail-copy{padding-top:0}}

/* Digital-first launch presentation. Physical prices/inventory are preserved in Admin. */
.bt-shop-launch-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 22px}
.bt-shop .bt-shop-digital-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:12px 18px;border:1px solid #c9bcff;border-radius:12px;background:#c3b4ff;color:#161532;font-weight:800;font-size:.94rem;line-height:1.4;text-decoration:none}
.bt-shop .bt-shop-digital-link:hover{background:#d3c7ff}
.bt-shop .bt-shop-all-link{display:inline-flex;min-height:44px;align-items:center;padding:10px 4px;color:#f1efff;text-decoration:underline;text-underline-offset:4px;font-weight:700}
.bt-shop .bt-shop-coming-price{font-size:1.03rem;color:var(--bt-ink)}
.bt-shop .bt-shop-detail-digital-link{margin-top:8px}
.bt-shop .bt-shop-launch-actions a:focus-visible,.bt-shop .bt-shop-detail-digital-link:focus-visible{outline:3px solid #f0a7ff;outline-offset:4px}
@media(max-width:520px){.bt-shop-launch-actions{align-items:stretch;flex-direction:column}.bt-shop .bt-shop-digital-link{width:100%;text-align:center}.bt-shop .bt-shop-all-link{justify-content:center}.bt-shop-card-foot{align-items:center}.bt-shop-card-foot>a{white-space:normal;text-align:right}}

/* v0.10.188.18.2: conspicuous availability, clear filter actions, preserved product images. */
.bt-shop .bt-shop-coming-banner{position:absolute;inset:0 0 auto;z-index:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:12px 16px;background:#e7dfff;color:#201737;font-size:.82rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em;line-height:1.4;border-bottom:1px solid #c8b8f2;text-align:center;pointer-events:none}
.bt-shop .bt-shop-card[data-product-type="physical"] .bt-shop-card-img{padding-top:44px;aspect-ratio:auto;height:258px}
.bt-shop .bt-shop-card[data-product-type="physical"] .bt-shop-card-img>img{object-fit:contain}
.bt-shop .bt-shop-card .bt-shop-availability{flex:none;display:flex;gap:8px;align-items:center;font-size:.83rem;line-height:1.5;font-weight:800;color:var(--bt-ink);margin:-2px 0 14px}
.bt-shop .bt-shop-availability::before{content:"";display:block;width:7px;height:7px;border-radius:50%;background:#9580e5;flex-shrink:0}
.bt-shop .bt-shop-detail-art{position:relative}
.bt-shop .bt-shop-detail-art:has(.bt-shop-coming-banner){padding-top:44px}
.bt-shop .bt-shop-availability-block{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:0 0 20px;padding:14px 16px;background:var(--bt-card);border:1px solid #ad99e0;border-radius:12px}
.bt-shop .bt-shop-coming-label{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;background:#e7dfff;color:#201737;border-radius:7px;font-size:.8rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.bt-shop .bt-shop-availability-block p{margin:0;color:var(--bt-ink);font-size:.9rem;font-weight:650;line-height:1.5}
.bt-shop .bt-shop-filter-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.bt-shop .bt-shop-filter-actions .bt-shop-reset{padding:10px 5px;min-height:44px;display:inline-flex;align-items:center;font-size:.85rem;text-decoration:underline;text-underline-offset:4px}
.bt-shop .bt-shop-filters button{min-height:46px;background:#6151d8}
.bt-shop .bt-shop-filters button:hover{background:#5042bb}
.bt-shop .bt-shop-filters a:focus-visible,.bt-shop .bt-shop-filters select:focus-visible,.bt-shop .bt-shop-filters input:focus-visible,.bt-shop .bt-shop-filters button:focus-visible,.bt-shop .bt-shop-card a:focus-visible{outline:3px solid var(--bt-accent);outline-offset:3px}
.bt-shop .bt-shop-card-foot>a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:520px){.bt-shop .bt-shop-filter-actions{width:100%}.bt-shop .bt-shop-filter-actions button{width:100%}.bt-shop .bt-shop-card[data-product-type="physical"] .bt-shop-card-img{height:auto;aspect-ratio:1.05}.bt-shop .bt-shop-availability-block{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.bt-shop .bt-shop-card{transition:none}.bt-shop .bt-shop-card:hover{transform:none}}

/* v0.10.188.18.3: Writer Launch Kit product contents and real-page previews. */
.bt-shop-kit-content{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:32px;margin-top:56px;padding-top:40px;border-top:1px solid var(--bt-line)}
.bt-shop-kit-copy,.bt-shop-kit-format,.bt-shop-kit-previews{min-width:0}
.bt-shop-kit-copy h2,.bt-shop-kit-previews h2{font-size:clamp(1.55rem,3vw,2.1rem);line-height:1.2;margin:8px 0 20px}
.bt-shop-kit-copy h3,.bt-shop-kit-format h3{font-size:1.08rem;line-height:1.4;margin:0 0 14px}
.bt-shop-kit-copy p,.bt-shop-kit-copy li,.bt-shop-kit-format p,.bt-shop-kit-previews p,.bt-shop-kit-previews figcaption{color:var(--bt-subtle);font-size:.98rem;line-height:1.7}
.bt-shop-kit-copy p{margin:16px 0}.bt-shop-kit-copy ul{padding-left:22px;margin:14px 0 22px}.bt-shop-kit-copy li{margin-bottom:12px}
.bt-shop-kit-format{align-self:start;padding:24px;border:1px solid var(--bt-line);border-radius:20px;background:var(--bt-card)}
.bt-shop-kit-format dl{margin:0 0 20px}.bt-shop-kit-format dl div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--bt-line)}
.bt-shop-kit-format dt{font-size:.85rem;color:var(--bt-subtle)}.bt-shop-kit-format dd{margin:0;font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}
.bt-shop-kit-format .bt-shop-digital-link{display:inline-flex;gap:10px;flex-wrap:wrap;margin-top:12px}.bt-shop-kit-format .bt-shop-kit-sample-note{font-size:.8rem}
.bt-shop-kit-previews{margin-top:48px}.bt-shop-kit-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.bt-shop-kit-gallery figure{margin:0;min-width:0}.bt-shop-kit-gallery img{width:100%;height:auto;display:block;border:1px solid var(--bt-line);border-radius:18px}
.bt-shop-kit-gallery--single{grid-template-columns:minmax(0,1fr);max-width:840px}
.bt-shop-kit-gallery a:focus-visible{outline:3px solid var(--bt-accent);outline-offset:4px;border-radius:18px}.bt-shop-kit-gallery figcaption{font-size:.84rem;margin-top:10px}
@media(max-width:760px){.bt-shop-kit-content{grid-template-columns:minmax(0,1fr);margin-top:36px;padding-top:30px;gap:24px}.bt-shop-kit-gallery{grid-template-columns:minmax(0,1fr)}.bt-shop-kit-format{padding:20px}.bt-shop-kit-content .ed-kicker{overflow-wrap:anywhere}}

/* Catalogue cart actions remain ordinary forms when JavaScript is unavailable. */
.bt-shop .bt-shop-cart-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin:0 0 28px;border:1px solid var(--bt-line);border-radius:16px;background:var(--bt-card)}
.bt-shop .bt-shop-cart-summary h2{margin:0 0 6px;font-size:1rem;line-height:1.35;letter-spacing:0;color:var(--bt-ink)}
.bt-shop .bt-shop-cart-summary p{margin:0;font-size:.87rem;line-height:1.6;color:var(--bt-subtle)}
.bt-shop .bt-shop-cart-summary strong{color:var(--bt-ink)}
.bt-shop-cart-separator{padding:0 9px}
.bt-shop .bt-shop-cart-view{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:10px 17px;border:1px solid #c0b3ec;border-radius:10px;text-decoration:none;color:var(--bt-ink);font-size:.87rem;font-weight:800;white-space:nowrap}
.bt-shop .bt-shop-cart-view:hover{background:var(--bt-surface)}
.bt-shop .bt-shop-cart-summary .bt-shop-cart-warning{margin-top:8px;color:var(--bt-ink);font-weight:650}
.bt-shop .bt-shop-card-foot>a{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;flex-shrink:0}
.bt-shop .bt-shop-card-foot>a>span{display:inline}
.bt-shop .bt-shop-add-form,.bt-shop .bt-shop-card-unavailable{margin:18px 0 0}
.bt-shop .bt-shop-cart-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 15px;border:1px solid transparent;border-radius:11px;background:#6151d8;color:#fff;font:inherit;font-size:.91rem;font-weight:800;line-height:1.4;cursor:pointer;text-align:center;transition:background .15s,border-color .15s}
.bt-shop .bt-shop-cart-button:hover:not(:disabled):not([aria-disabled="true"]){background:#5042bb}
.bt-shop .bt-shop-cart-button:disabled,.bt-shop .bt-shop-cart-button[aria-disabled="true"]{cursor:default}
.bt-shop .bt-shop-cart-button:disabled:not(.is-in-cart){background:var(--bt-surface);color:var(--bt-subtle);border-color:var(--bt-line)}
.bt-shop .bt-shop-cart-button.is-in-cart{background:#ece8ff;color:#392a78;border-color:#c6b9ed}
.bt-shop [aria-busy="true"] .bt-shop-cart-button{background:#786bb8;color:#fff}
.bt-shop .bt-shop-add-feedback,.bt-shop .bt-shop-add-error{margin:0;font-size:.83rem;line-height:1.55;overflow-wrap:anywhere}
.bt-shop .bt-shop-add-feedback:not(:empty),.bt-shop .bt-shop-add-error:not(:empty){margin-top:10px}
.bt-shop .bt-shop-add-feedback{color:var(--bt-ink)}
.bt-shop .bt-shop-add-error{color:#9f2440;font-weight:650}
.bt-shop .bt-shop-added-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin-top:5px;color:var(--bt-accent);font-size:.86rem;font-weight:800;text-underline-offset:4px}
.bt-shop .bt-shop-added-link[hidden],.bt-shop .bt-shop-cart-warning[hidden]{display:none}
.bt-shop .bt-shop-cart-button:focus-visible,.bt-shop .bt-shop-cart-view:focus-visible,.bt-shop .bt-shop-added-link:focus-visible{outline:3px solid var(--bt-accent);outline-offset:4px}
.bt-shop .bt-shop-mockup-label{position:absolute;right:12px;bottom:12px;z-index:1;padding:6px 10px;border:1px solid #dcd8e9;border-radius:6px;background:#fffef8ed;color:#373344;font-size:.65rem;font-weight:750;line-height:1.4;letter-spacing:.03em;pointer-events:none}
.bt-shop .bt-shop-detail-figure{margin:0;min-width:0}
.bt-shop .bt-shop-mockup-caption{margin-top:12px;color:var(--bt-subtle);font-size:.83rem;line-height:1.6}
.bt-shop .bt-shop-card[data-product-type="physical"] .bt-shop-card-img{background:var(--bt-card)}
[data-resolved-theme="dark"] .bt-shop .bt-shop-cart-button.is-in-cart{background:#302b4d;color:#e3d9ff;border-color:#6d5d9d}
[data-resolved-theme="dark"] .bt-shop .bt-shop-add-error{color:#ffa5b6}
@media(max-width:520px){.bt-shop .bt-shop-cart-summary{gap:12px;padding:16px;align-items:flex-start;flex-wrap:wrap}.bt-shop .bt-shop-cart-view{flex:1;min-width:112px}.bt-shop .bt-shop-cart-summary>div{flex:1;min-width:145px}}
@media(prefers-reduced-motion:reduce){.bt-shop .bt-shop-cart-button{transition:none}}
