#thank-you.bc-checkout-thanks[hidden], .bc-checkout-thanks [hidden] { display: none !important; }
#thank-you.bc-checkout-thanks { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; width: 100%; height: 100%; box-sizing: border-box; padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom)); overflow: auto; background: rgba(26, 16, 42, .72); font-family: Poppins, system-ui, sans-serif; color: #241833; text-align: center; isolation: isolate; }
.bc-checkout-thanks *, .bc-checkout-thanks *::before { box-sizing: border-box; }
.bc-thanks-card { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 100%; overflow-y: auto; border: 1px solid #eee4f7; border-radius: 24px; padding: 28px; background: #fff; box-shadow: 0 24px 80px #14092655; animation: bc-thanks-arrive .35s ease-out; }
#thank-you .bc-thanks-close { position: absolute; inset: 9px 9px auto auto; width: 44px; height: 44px; margin: 0; padding: 0; float: none; border: 0; border-radius: 50%; background: transparent; color: #6e607f; font: 28px/1 system-ui, sans-serif; cursor: pointer; }
.bc-thanks-heart { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 22px; background: #fff0f4; color: #ee4967; font: 42px/1 system-ui, sans-serif; transform: rotate(-7deg); }
.bc-thanks-card h2 { margin: 0 0 12px; font-size: clamp(22px, 5.6vw, 28px); font-weight: 750; line-height: 1.2; letter-spacing: -.5px; color: #241833; }
.bc-thanks-card p { float: none; margin: 0; font-size: 14px; line-height: 1.65; color: #6c5f7b; }
.bc-thanks-benefits { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; text-align: left; font-size: 14px; line-height: 1.5; font-weight: 600; }
.bc-thanks-benefits li { display: flex; gap: 10px; align-items: flex-start; }
.bc-thanks-benefits li::before { content: '✓'; display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; color: #19734c; background: #e4f6ed; font: 700 13px/1 system-ui, sans-serif; }
.bc-thanks-actions { display: grid; gap: 10px; }
.bc-thanks-actions a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; border: 1px solid #ded0ed; border-radius: 13px; font-size: 14px; font-weight: 700; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.bc-thanks-actions a.bc-thanks-primary { background: #6230b4; border-color: #6230b4; color: #fff; }
.bc-thanks-actions a.bc-thanks-secondary { background: #f7f2fd; color: #5b2b9c; }
.bc-thanks-actions a[aria-disabled=true] { opacity: .5; cursor: wait; }
.bc-thanks-actions a:hover { filter: brightness(.94); }
.bc-thanks-card a:focus-visible, #thank-you .bc-thanks-close:focus-visible { outline: 3px solid #b59bff; outline-offset: 3px; }
.bc-thanks-card p.bc-thanks-hint { margin: 14px 0 18px; font-size: 12px; }
.bc-thanks-support { display: inline-block; font-size: 12px; color: #5f4979; text-decoration: underline; text-underline-offset: 3px; }
.bc-thanks-preview { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 20px; background: #efe7fa; font-size: 11px; font-weight: 700; color: #603699; }
.bc-thanks-confetti { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.bc-thanks-confetti i { position: absolute; top: -20px; left: var(--left); width: 8px; height: 13px; border-radius: 2px; background: var(--color); opacity: 0; animation: bc-thanks-fall var(--duration) var(--delay) ease-in forwards; }
@keyframes bc-thanks-arrive { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bc-thanks-fall { 5% { opacity: 1; } to { transform: translate(var(--drift), 110vh) rotate(var(--turn)); opacity: 0; } }
@media (max-width: 360px), (max-height: 640px) { .bc-thanks-card { padding: 22px; } .bc-thanks-heart { width: 48px; height: 48px; margin-bottom: 10px; font-size: 32px; } .bc-thanks-benefits { margin: 16px 0; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .bc-thanks-card, .bc-thanks-confetti i { animation: none; } }
