/* The book checkout in the Masterclass style (design A, his pick 2026-11-04).
   Only checkout.html loads this file; purchase.css stays as the thank-you page knows it. */
body.ck{background:#0a0a0d;font-size:15px}
body.ck:before{content:"";position:fixed;inset:0;background:radial-gradient(900px 520px at 22% 18%,rgba(220,200,141,.10),transparent 70%);pointer-events:none}
.ck .purchase-header,.ck .sale,.ck .purchase-wrap{position:relative}

/* Top bar */
.ck .purchase-header{max-width:none;padding:18px 36px;border-bottom:1px solid #1d1d22}
.ck .wordmark{display:flex;align-items:center;gap:12px}.ck .wm-mark{width:30px;height:30px;flex:none}
.ck .wordmark b{font:800 15px/1 'Barlow Condensed',var(--sans);letter-spacing:.14em;color:#ece7da}.ck .wordmark span{font-weight:500;margin-top:5px}
.ck .secure{display:inline-flex;align-items:center;gap:8px;border:1px solid #34343b;border-radius:8px;padding:8px 14px;font:700 12px/1 'Barlow Condensed',var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#cfc9bb}
.ck .secure:before{content:none}.ck .secure svg{width:12px;height:12px;color:var(--gold)}

/* The sale bar: the real end of the sale, copies left, and the time left */
.sale{border-bottom:1px solid #1d1d22;background:linear-gradient(180deg,rgba(220,200,141,.07),rgba(220,200,141,.02))}
.sale:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,#8E7538,#F4E4A9,#C5A85F,#79612C)}
.sale-in{max-width:1180px;margin:0 auto;padding:16px 36px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.sale-until{margin:0;text-wrap:balance;font:800 26px/1.1 'Barlow Condensed',var(--sans);letter-spacing:.02em;text-transform:uppercase;color:#f3e3b2}
.sale-copies{margin:6px 0 0;font-size:14px;color:#cfc9bb}
.cd{display:flex;align-items:flex-start;gap:8px;flex:0 0 auto}
.cd span{display:flex;flex-direction:column;align-items:center;min-width:76px;padding:9px 6px 7px;border:1px solid #3a3426;border-radius:10px;background:#0f0f12}
.cd b{font:800 42px/1 'Barlow Condensed',var(--sans);color:var(--gold);font-variant-numeric:tabular-nums}
.cd i{font:700 10.5px/1 'Barlow Condensed',var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#9a8f6e;font-style:normal;margin-top:6px}

/* Two columns: the book on the left, the order card on the right */
.ck .purchase-wrap{width:min(1108px,calc(100% - 72px));padding:26px 0 40px}
.ck .purchase-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:44px}
.ck .ck-side{grid-column:1;grid-row:1;min-width:0}
.ck .back-link{min-height:36px;font-size:13px}
.ck .purchase-heading{margin:10px 0 0}
.ck .purchase-heading .eyebrow{display:inline-flex;gap:8px;align-items:center;border:1px solid #3a3426;border-radius:99px;padding:6px 14px;margin:0;font:700 11px/1 'Barlow Condensed',var(--sans);letter-spacing:.18em;background:rgba(220,200,141,.05)}
.ck .purchase-heading .eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold)}
.ck h1{font:800 64px/.95 'Barlow Condensed',var(--sans);text-transform:uppercase;letter-spacing:.005em;margin:18px 0 10px}.ck h1 em{font-style:normal;color:var(--gold)}
.ck .purchase-heading>p:last-child{font-size:18px;color:#cfc9bb}
/* The mockup's solid pixels sit right of the image's center; this centers the book itself. */
.ck-hero{display:flex;justify-content:center;margin:18px 0 14px}.ck-hero img{width:270px;height:auto;transform:translateX(-10.08%);filter:drop-shadow(0 30px 60px rgba(220,200,141,.18))}
.ck-get{border:1px solid #2b2b31;border-radius:14px;background:rgba(255,255,255,.02);padding:18px 20px}
.ck .bk-includes{margin:0;gap:10px;font-size:15.5px;color:#ece7da}.ck .bk-includes li{padding-left:30px}
.ck .bk-includes li:before{left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--gold);color:#141007;font:800 12px/20px var(--sans);text-align:center}
.ck .bk-facts{font-size:14px;color:#9d978a;margin:12px 0 0 30px}
.ck .bk-voices{border-top:0;padding-top:0;margin-top:22px;gap:14px}
.ck .bk-voices figcaption{font:700 12px/1 'Barlow Condensed',var(--sans);letter-spacing:.18em;color:#9a8f6e}
.ck .bk-voices blockquote{display:flex;gap:12px}.ck .bk-voices blockquote img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid #3a3426;flex:none}
/* The quotes in the page's own sans, upright: the thin serif italic was hard to read (his note 2026-11-05) */
.ck .bk-voices p{font:500 15.5px/1.55 var(--sans);color:#ece7da;margin:0 0 4px}
.ck .bk-voices cite{font-size:12.5px;color:#9d978a}

/* The order card */
.ck .purchase-form{grid-column:2;grid-row:1;align-self:start;background:#121216;border:1px solid #2a2a30;border-radius:18px;padding:24px 22px;box-shadow:0 30px 80px -40px rgba(0,0,0,.8)}
.ck-order{padding-bottom:10px;margin-bottom:16px;border-bottom:1px solid #26262c}.ck-order .eyebrow{margin:0 0 6px}
.ck-order h2{font:700 20px/1.2 var(--sans)}.ck-order #bk-edition{margin:4px 0 0;font-size:14px;color:#cfc9bb}
/* Every edition and bundle in view, no toggle to open first (his ask 2026-11-05) */
#bk-edition-picker{margin-top:14px}#bk-edition-picker .eyebrow{margin:0 0 4px}
.ck .bk-tier{background:#17171c;border-color:#2a2a30;margin:6px 0;padding:11px 12px}.ck .bk-tier[aria-checked=true]{border-color:var(--gold);background:rgba(220,200,141,.08)}
.ck .bk-required{margin-bottom:18px}.ck .billing-same{font-size:13px;color:#cfc9bb;min-height:36px;margin-bottom:6px}
.ck .wallet-checkout{margin-bottom:18px}
.ck .wallet-checkout .eyebrow,.ck .section-title h2{font:700 11px/1.2 'Barlow Condensed',var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#8d877a}
.ck .checkout-divider{font:700 11px/1 'Barlow Condensed',var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#8d877a;margin:18px 0 0}
.ck .checkout-divider:before,.ck .checkout-divider:after{background:#26262c}
.ck .form-section{border-bottom:0;padding-bottom:0;margin-bottom:18px}
.ck .section-title{gap:8px;margin:0 0 8px}
.ck .section-title>span{width:auto;height:auto;border:0;border-radius:0;font:700 11px/1.2 'Barlow Condensed',var(--sans);letter-spacing:.18em;color:var(--gold)}
.ck .section-note{font-size:12.5px;color:#8d877a;margin:6px 0 12px}
.ck .field-row{gap:10px}.ck .field-row label{font-size:13px;color:#cfc9bb}.ck .bk-phone{margin:0 0 10px}
.ck select{display:block;width:100%;min-height:44px;margin-top:5px;padding:11px 38px 11px 14px;background:#1b1b21 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23cfc9bb' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center/12px 8px;border:1px solid #2a2a30;border-radius:8px;color:var(--paper);font:inherit;-webkit-appearance:none;appearance:none}
.ck .bk-addr-pair{display:flex;gap:10px}.ck .bk-addr-pair>label{flex:1;min-width:0}
@media (max-width:480px){.ck .bk-addr-pair{flex-direction:column}}
.ck .bk-addr-check{margin:10px 0 0;font-size:13px;color:var(--muted)}.ck .bk-addr-check[data-state=ok]{color:var(--gold)}.ck .bk-addr-check[data-state=ok]::before{content:'✓ '}
.ck input:not([type=checkbox]){background:#1b1b21;border:1px solid #2a2a30;border-radius:8px;min-height:44px;margin-top:5px}

/* The add-on box, with its picture */
.ck .bk-bumps{border:1.5px dashed #6e5d33;background:rgba(220,200,141,.06);border-radius:12px;padding:12px 14px;margin:4px 0 18px}
.ck .bk-legend{font:700 11px/1 'Barlow Condensed',var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin:0}
.ck .bk-bump{border:0;border-radius:0;padding:0;margin-top:10px;flex-wrap:wrap;align-items:center}
.bk-bump-pic{flex:0 0 100%;display:flex;justify-content:center;margin:0 0 8px;background:radial-gradient(closest-side,rgba(220,200,141,.24),rgba(220,200,141,.06) 60%,transparent)}
.bk-bump-pic img{display:block;height:210px;width:auto;max-width:100%;border-radius:8px;filter:drop-shadow(0 16px 26px rgba(0,0,0,.55))}
.ck .bk-bump + .bk-bump{border-top:1px dashed #6e5d33;margin-top:16px;padding-top:14px}
.bk-bump-tag{flex:0 0 100%;display:flex;justify-content:center;margin:0 0 10px}
.bk-bump-tag b{font:800 12px/1 'Barlow Condensed',var(--sans);letter-spacing:.18em;text-transform:uppercase;color:#141007;background:var(--gold);border-radius:999px;padding:6px 12px}
.ck .bk-bump-sub{font-size:12px;color:#9d978a}.ck .bk-bump-price{font:800 18px/1 'Barlow Condensed',var(--sans);color:var(--gold)}

/* The total is an ordinary line: the countdown carries the big numbers */
.ck-sum{margin:0 0 18px}.ck .summary-extra{font-size:14px;color:#a9a397;margin-top:6px}
.ck .summary-total{border-top:1px solid #26262c;margin-top:10px;padding-top:12px}.ck .summary-total span{font-size:14px;color:#cfc9bb}
.ck .summary-total strong{font:700 16px/1.2 var(--sans);color:#ece7da}
.ck .summary-note{font-size:12.5px;color:#8d877a;margin:6px 0 0}
.ck .pay-button{margin-top:16px;background:var(--gold);border-radius:10px;font:800 18px/1 'Barlow Condensed',var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#141007;box-shadow:0 10px 30px -10px rgba(220,200,141,.5)}
.ck .secure-note,.ck .terms-note{font-size:12px;color:#8d877a}.ck .terms-note a{color:#bdb6a6}

@media(max-width:800px){
.ck .purchase-header{padding:14px 18px}.ck .wm-mark{width:26px;height:26px}.ck .wordmark{gap:10px}.ck .wordmark b{font-size:13px}.ck .secure{padding:7px 10px;font-size:11px}
.sale-in{flex-direction:column;text-align:center;padding:14px 18px 16px;gap:12px}.sale-until{font-size:20px}
.cd{gap:6px}.cd span{min-width:64px;padding:8px 4px 6px}.cd b{font-size:34px}
.ck .purchase-wrap{width:min(580px,calc(100% - 36px));padding-top:16px}
.ck .purchase-grid{grid-template-columns:minmax(0,1fr);gap:22px}.ck .purchase-form{grid-column:1;grid-row:2;padding:20px 16px}
.ck h1{font-size:46px}.ck-hero img{width:210px}.bk-bump-pic img{height:auto;max-height:220px}}

/* Keep the book language beside the existing edition controls. */
.ck .bk-language{display:block;max-width:240px;margin:14px 0 10px;font-size:13px;color:#cfc9bb}
