/* ── C&J Strength — shared styles (basket, screenshots) ── */
html,body{margin:0}
#cj-root{min-height:100vh}

/* Basket count on the bag icon */
[aria-label="View basket"]{position:relative}
[aria-label="View basket"].cjb-has::after{content:attr(data-n);position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#F6B014;color:#111;font:600 .62rem/17px Oswald,"Arial Narrow",sans-serif;text-align:center;pointer-events:none}

/* Basket drawer */
.cjb{position:fixed;inset:0;z-index:1000;pointer-events:none;font-family:Roboto,Helvetica,sans-serif}
.cjb-scrim{position:absolute;inset:0;background:rgba(5,5,6,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .35s}
.cjb-panel{position:absolute;top:0;right:0;bottom:0;width:min(440px,100%);display:flex;flex-direction:column;background:#0A0A0B;color:#F0ECE4;border-left:1px solid rgba(255,255,255,.08);transform:translateX(102%);transition:transform .5s cubic-bezier(.22,1,.36,1);box-sizing:border-box}
.cjb.on{pointer-events:auto}.cjb.on .cjb-scrim{opacity:1}.cjb.on .cjb-panel{transform:none}
.cjb-head{display:flex;justify-content:space-between;align-items:flex-start;padding:1.6rem 1.6rem 1.2rem;border-bottom:1px solid rgba(255,255,255,.08)}
.cjb-kick{display:block;font:500 .66rem/1 Oswald,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#F6B014}
.cjb-count{display:block;margin-top:.55rem;font:600 1.7rem/1 "Crimson Text",Georgia,serif}
.cjb-close{width:40px;height:40px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#d8d2c7;display:grid;place-items:center;cursor:pointer}
.cjb-close:hover{border-color:#F6B014;color:#F6B014}
.cjb-items{flex:1;overflow:auto;padding:1rem 1.6rem;display:grid;align-content:start;gap:.8rem}
.cjb-item{display:grid;grid-template-columns:64px 1fr auto;gap:1rem;align-items:center;padding:1rem;border-radius:18px;background:#17171b;border:1px solid rgba(255,255,255,.06)}
.cjb-thumb{height:64px;border-radius:12px;background:linear-gradient(160deg,#1f1f24,#0d0d0f);display:grid;place-items:center;align-content:center;gap:.2rem;font:600 .95rem/1 "Crimson Text",serif;color:#F6B014}
.cjb-thumb i{font:500 .5rem/1 Oswald,sans-serif;letter-spacing:.14em;text-transform:uppercase;font-style:normal;color:#A19A90}
.cjb-txt{display:grid;gap:.3rem;min-width:0}
.cjb-txt span{font:500 .6rem/1 Oswald,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#6E6860}
.cjb-txt b{font:600 1.05rem/1.2 "Crimson Text",serif}
.cjb-txt em{font-style:normal;font-size:.78rem;color:#A19A90}
.cjb-right{display:grid;justify-items:end;gap:.45rem}
.cjb-right b{font:600 1rem/1 Oswald,sans-serif}
.cjb-right button{background:none;border:0;padding:0;color:#A19A90;font:500 .62rem/1 Oswald,sans-serif;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.cjb-right button:hover{color:#F6B014}
.cjb-empty{display:grid;gap:.5rem;text-align:center;padding:3.5rem 1rem;color:#A19A90}
.cjb-empty b{font:600 1.4rem/1.1 "Crimson Text",serif;color:#F0ECE4}
.cjb-foot{padding:1.4rem 1.6rem 1.6rem;border-top:1px solid rgba(255,255,255,.08);display:grid;gap:.6rem}
.cjb-total{display:flex;justify-content:space-between;align-items:baseline;font:500 .7rem/1 Oswald,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#A19A90}
.cjb-total b{font:600 1.6rem/1 Oswald,sans-serif;letter-spacing:0;color:#F0ECE4}
.cjb-go{margin-top:.6rem;height:54px;border:0;border-radius:999px;background:#F6B014;color:#111;font:600 .85rem/1 Oswald,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:background .25s}
.cjb-go:hover{background:#d69910}.cjb-go:disabled{opacity:.35;cursor:not-allowed}
.cjb-note{margin:.2rem 0 0;font-size:.78rem;line-height:1.5;color:#6E6860;text-align:center}
.cjb-keep{height:46px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#F0ECE4;font:500 .75rem/1 Oswald,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.cjb-keep:hover{border-color:#F6B014;color:#F6B014}

/* Screenshot slots: the image covers the placeholder once the file is uploaded */
[data-shot]{position:relative}
[data-shot]::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;background:var(--shot) center top/cover no-repeat;pointer-events:none}
/* Photo slots: the photo covers the placeholder (files in /images/) */
[data-photo]{position:relative}
[data-photo]::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;background:var(--photo) center/cover no-repeat;pointer-events:none}
[data-shot="btb-mobile.png"]{--shot:url(/images/backtobest/btb-mobile.png)}
[data-shot="plate-coach-chat.png"]{--shot:url(/images/plate/plate-coach-chat.png)}
[data-shot="plate-meal-plan.png"]{--shot:url(/images/plate/plate-meal-plan.png)}
[data-shot="plate-progress.png"]{--shot:url(/images/plate/plate-progress.png)}
[data-shot="plate-rewards.png"]{--shot:url(/images/plate/plate-rewards.png)}
[data-shot="plate-shopping.png"]{--shot:url(/images/plate/plate-shopping.png)}
[data-shot="plate-today.png"]{--shot:url(/images/plate/plate-today.png)}
[data-shot="ta-alternatives.png"]{--shot:url(/images/training-app/ta-alternatives.png)}
[data-shot="ta-block.png"]{--shot:url(/images/training-app/ta-block.png)}
[data-shot="ta-btb-program.png"]{--shot:url(/images/training-app/ta-btb-program.png)}
[data-shot="ta-calculator.png"]{--shot:url(/images/training-app/ta-calculator.png)}
[data-shot="ta-comeback-pr.png"]{--shot:url(/images/training-app/ta-comeback-pr.png)}
[data-shot="ta-comeback.png"]{--shot:url(/images/training-app/ta-comeback.png)}
[data-shot="ta-comp-attempts.png"]{--shot:url(/images/training-app/ta-comp-attempts.png)}
[data-shot="ta-comp-complete.png"]{--shot:url(/images/training-app/ta-comp-complete.png)}
[data-shot="ta-comp-meetday.png"]{--shot:url(/images/training-app/ta-comp-meetday.png)}
[data-shot="ta-comp-opener.png"]{--shot:url(/images/training-app/ta-comp-opener.png)}
[data-shot="ta-comp-plan.png"]{--shot:url(/images/training-app/ta-comp-plan.png)}
[data-shot="ta-dumbbells.png"]{--shot:url(/images/training-app/ta-dumbbells.png)}
[data-shot="ta-dynamic-island.png"]{--shot:url(/images/training-app/ta-dynamic-island.png)}
[data-shot="ta-exercise-library.png"]{--shot:url(/images/training-app/ta-exercise-library.png)}
[data-shot="ta-group-chat.png"]{--shot:url(/images/training-app/ta-group-chat.png)}
[data-shot="ta-kit-setup.png"]{--shot:url(/images/training-app/ta-kit-setup.png)}
[data-shot="ta-library.png"]{--shot:url(/images/training-app/ta-library.png)}
[data-shot="ta-lock-screen.png"]{--shot:url(/images/training-app/ta-lock-screen.png)}
[data-shot="ta-messaging.png"]{--shot:url(/images/training-app/ta-messaging.png)}
[data-shot="ta-notifications.png"]{--shot:url(/images/training-app/ta-notifications.png)}
[data-shot="ta-offline.png"]{--shot:url(/images/training-app/ta-offline.png)}
[data-shot="ta-plate-loader.png"]{--shot:url(/images/training-app/ta-plate-loader.png)}
[data-shot="ta-program-in-app.png"]{--shot:url(/images/training-app/ta-program-in-app.png)}
[data-shot="ta-program.png"]{--shot:url(/images/training-app/ta-program.png)}
[data-shot="ta-progress.png"]{--shot:url(/images/training-app/ta-progress.png)}
[data-shot="ta-rest-pill.png"]{--shot:url(/images/training-app/ta-rest-pill.png)}
[data-shot="ta-set-card.png"]{--shot:url(/images/training-app/ta-set-card.png)}
[data-shot="ta-settings.png"]{--shot:url(/images/training-app/ta-settings.png)}
[data-shot="ta-superset.png"]{--shot:url(/images/training-app/ta-superset.png)}
[data-shot="ta-technique.png"]{--shot:url(/images/training-app/ta-technique.png)}
[data-shot="ta-widget.png"]{--shot:url(/images/training-app/ta-widget.png)}
