/* ===== CHECKOUT SHEET (PayPal, Venmo, card, Pay Later) ===== */
.co-open { cursor: pointer; width: 100%; background: none; font: inherit; }
button.price-btn.co-open { font-family: var(--body); font-weight: 600; font-size: 0.875rem; }
.price-card.featured .price-btn.co-open { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.price-card.featured .price-btn.co-open:hover { background: var(--ink-80); color: var(--flame); }
.cp-pay { display: block; width: 100%; text-align: center; font-family: var(--body); font-weight: 600; font-size: 0.9375rem; padding: 1.05rem 1.5rem; border-radius: 100px; background: var(--flame); color: var(--ink); border: 1.5px solid var(--flame); cursor: pointer; transition: background 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo); }
.cp-pay:hover { background: transparent; color: var(--flame); }
.cp-pay[hidden], .co-open[hidden] { display: none; }
.co-open:focus-visible, .co-x:focus-visible, .co-done-actions a:focus-visible, .co-done-actions button:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }

.co-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 13, 20, 0.86); display: flex; align-items: center; justify-content: center; padding: 1.25rem; opacity: 0; transition: opacity 0.3s var(--ease-out-expo); cursor: auto; }
.co-overlay.on { opacity: 1; }
.co-overlay[hidden] { display: none; }
.co-sheet { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 2.5rem); max-height: calc(100dvh - 2.5rem); overflow-y: auto; overscroll-behavior: contain; background: var(--ink-95); color: var(--bone); border: 1px solid var(--rule-dark); border-top: 4px solid var(--flame); border-radius: 16px; padding: 2rem 1.75rem 1.5rem; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); transform: translateY(14px); transition: transform 0.45s var(--ease-out-expo); }
.co-overlay.on .co-sheet { transform: none; }
.co-sheet * { cursor: auto; }
.co-sheet button, .co-sheet a { cursor: pointer; }
.co-x { position: absolute; top: 0.9rem; right: 0.9rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule-dark); background: transparent; color: var(--bone-warm); display: grid; place-items: center; transition: border-color 0.3s, color 0.3s; }
.co-x:hover { border-color: var(--flame); color: var(--bone); }
.co-x svg { width: 16px; height: 16px; }

.co-eyebrow { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--flame); margin-bottom: 0.6rem; padding-right: 3rem; }
.co-sheet h3 { font-family: var(--display); font-weight: 700; font-size: 1.65rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--bone); padding-right: 2.5rem; }
.co-price { display: flex; align-items: baseline; gap: 0.4rem; margin: 1rem 0 0.35rem; }
.co-fig { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; color: var(--bone); }
.co-per { font-family: var(--mono); font-size: 0.85rem; color: var(--flame); }
.co-note { font-size: 0.92rem; line-height: 1.55; color: var(--bone-warm); opacity: 0.8; margin-bottom: 1.25rem; }

.co-box { position: relative; background: transparent; border: 0; border-top: 1px solid var(--rule-dark); color: var(--bone); color-scheme: light; border-radius: 0; padding: 1.1rem 0 0; }
.co-box-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--body); font-weight: 700; font-size: 0.95rem; margin-bottom: 1rem; color: var(--bone); }
.co-box-head span { display: flex; align-items: center; gap: 0.35rem; font-weight: 400; font-size: 0.85rem; color: var(--bone-warm); opacity: 0.8; }
.co-box-head svg { width: 14px; height: 14px; }
.co-buttons { min-height: 110px; }
.co-loading { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--bone-warm); text-align: center; padding: 2.4rem 0 2.6rem; }
.co-loading::before { content: ''; display: block; width: 22px; height: 22px; margin: 0 auto 0.8rem; border-radius: 50%; border: 2px solid rgba(244, 240, 230, 0.15); border-top-color: var(--flame); animation: coSpin 0.8s linear infinite; }
@keyframes coSpin { to { transform: rotate(360deg); } }
.co-msg { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.5; padding: 0.75rem 0.9rem; border-radius: 10px; background: rgba(244, 113, 37, 0.12); border: 1px solid var(--rule-flame); color: var(--bone); }
.co-msg[hidden] { display: none; }
.co-fine { margin-top: 1rem; font-size: 0.8rem; line-height: 1.55; color: var(--bone-warm); opacity: 0.65; text-align: center; }

.co-done { text-align: center; padding-top: 0.5rem; }
.co-done[hidden], .co-pay[hidden] { display: none; }
.co-check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: rgba(244, 113, 37, 0.14); border: 1px solid var(--rule-flame); color: var(--flame); }
.co-check svg { width: 30px; height: 30px; }
.co-done h3 { padding: 0; margin-bottom: 0.8rem; }
.co-done p { font-size: 0.95rem; line-height: 1.6; color: var(--bone-warm); margin-bottom: 0.7rem; }
.co-ref { display: inline-block; font-family: var(--mono); font-size: 0.8rem; background: rgba(244, 240, 230, 0.06); border: 1px solid var(--rule-dark); padding: 0.6rem 0.9rem; border-radius: 8px; margin: 0.4rem 0 1.2rem; word-break: break-all; color: var(--bone); }
.co-done-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }
.co-done-actions a, .co-done-actions button { display: block; text-align: center; text-decoration: none; font-family: var(--body); font-weight: 600; font-size: 0.95rem; padding: 0.95rem 1.25rem; border-radius: 100px; transition: all 0.3s var(--ease-out-expo); }
.co-done-actions a { background: var(--flame); color: var(--ink); border: 1.5px solid var(--flame); }
.co-done-actions a:hover { background: transparent; color: var(--flame); }
.co-done-actions button { background: transparent; color: var(--bone-warm); border: 1px solid var(--rule-dark); }
.co-done-actions button:hover { border-color: var(--bone-warm); color: var(--bone); }

@media (max-width: 560px) {
  .co-overlay { align-items: flex-end; padding: 0; }
  .co-sheet { max-width: none; border-radius: 18px 18px 0 0; max-height: 92vh; max-height: 92dvh; padding: 1.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translateY(40px); }
  .co-fig { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .co-overlay, .co-sheet { transition: none; }
  .co-loading::before { animation: none; }
}
.cp-tier:not(.featured) .cp-pay { background: transparent; color: var(--flame); }
.cp-tier:not(.featured) .cp-pay:hover { background: var(--flame); color: var(--ink); }

/* checkout sheet: summary row */
.co-summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1rem; margin: 0 0 1rem; border-radius: 12px; background: rgba(244, 113, 37, 0.08); border: 1px solid rgba(244, 113, 37, 0.22); font-size: 0.85rem; color: var(--bone-warm); }
.co-summary b { font-family: var(--mono); font-weight: 500; color: var(--bone); letter-spacing: 0.02em; }
