.course-checkout{width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #ebcad8;border-radius:29px;color:var(--ink);background:#fffaf8;box-shadow:0 24px 100px #4c183c38;overflow:auto}
.course-checkout::backdrop{background:#5c324a66;backdrop-filter:blur(5px)}
.checkout-inner{position:relative;padding:31px;background:radial-gradient(ellipse at 100% 0,#f4d7e5 0,transparent 58%),linear-gradient(150deg,#fffdf9,#fff7fa)}
.checkout-inner:before{content:'';position:absolute;top:0;left:28px;right:28px;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#f0d7b4,#c16d94,#efd4c7)}
.checkout-brand{display:flex;align-items:center;gap:8px;color:#ad6b86;font-size:10px;letter-spacing:1.2px;margin:0 35px 17px 0}
.checkout-brand .icon{width:19px;height:19px;color:#ba9665}
.checkout-close{position:absolute;right:18px;top:18px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #ead3dd;border-radius:50%;font-size:24px;line-height:1;background:#fff8;color:#a5748a}
.checkout-close:disabled{opacity:.4;cursor:wait}
.course-checkout h2{font-size:43px;line-height:1.1;letter-spacing:-.8px;margin-bottom:22px}
.checkout-summary{display:flex;gap:17px;align-items:center;margin-bottom:25px;padding:15px;border:1px solid #ecd1de;border-radius:20px;background:#fff9;box-shadow:0 7px 22px #a2657a08}
.checkout-course-image{width:88px;height:102px;border-radius:14px;object-fit:cover;flex:0 0 88px}
.checkout-guide-icon{width:72px;height:88px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#fff9ee,#f1d7e4);border:1px solid #ead2d8;color:#b0768f;flex:0 0 72px}
.checkout-guide-icon>.icon{width:36px;height:36px}
.checkout-course-title{font-family:var(--serif);font-size:27px;line-height:1.05;letter-spacing:-.4px;font-weight:600}
.checkout-course-note{font-size:10px;line-height:1.6;margin-top:7px;color:#947785}
.checkout-course-note.checkout-course-note--access{color:#28734a;font-size:12px;font-weight:600}
.checkout-course-extra{margin-top:5px;font-size:10px;line-height:1.5;color:#947785}
.checkout-price-row{display:flex;flex-wrap:wrap;gap:4px 9px;align-items:baseline;margin-top:9px}
.checkout-price{font-size:19px;font-weight:700;color:#a8436e}
.checkout-former{font-size:10px;color:#aa8b99}
.checkout-form label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}
.checkout-form input{width:100%;min-height:53px;padding:13px 15px;border:1px solid #dcb5c7;border-radius:13px;color:var(--ink);background:#fffdfb;font:16px Manrope,Arial,sans-serif;outline-offset:4px}
.checkout-form input:focus-visible{outline:2px solid #bc7296}
.checkout-options{min-width:0;border:0;padding:0;margin:0 0 15px}.checkout-options legend{font-size:11px;font-weight:600;color:#927382;margin-bottom:8px;padding:0}.checkout-currencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.checkout-payment-options{display:flex;gap:7px}.checkout-form .checkout-choice{position:relative;flex:1;min-width:0;margin:0;font-size:12px;font-weight:500;cursor:pointer}.checkout-choice[hidden]{display:none!important}.checkout-form .checkout-choice input{position:absolute;opacity:0;width:1px;min-height:0;height:1px;padding:0;margin:0;border:0}.checkout-choice>span{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid #e6cfda;border-radius:12px;background:#fff9;color:#937382;transition:background .18s,border-color .18s,color .18s}.checkout-choice input:checked+span{border-color:#b36387;background:linear-gradient(120deg,#fbebf2,#f4dce8);color:#924366;box-shadow:inset 0 0 0 1px #bd7e9a22}.checkout-choice input:focus-visible+span{outline:2px solid #b36387;outline-offset:3px}.checkout-choice input:disabled+span{opacity:.55;cursor:wait}.checkout-choice b{font-size:17px;font-weight:600}.checkout-choice svg{width:19px;height:19px;flex:0 0 19px}.checkout-choice .paypal-mark{font-style:italic}.checkout-methods{margin-bottom:20px}@media(prefers-reduced-motion:reduce){.checkout-choice>span{transition:none}}
.checkout-help{font-size:11px;line-height:1.7;color:#927382;margin:9px 0 20px}
.checkout-form .checkout-submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;padding:14px 10px;border-radius:16px;background:linear-gradient(115deg,#ba557e,#a83c6b);color:#fff;font-size:14px;font-weight:600;letter-spacing:0;border:1px solid #b15179;box-shadow:0 7px 20px #b3527d22}
.checkout-submit:disabled{opacity:.65;cursor:wait}
.checkout-form .checkout-submit.is-loading{gap:10px;opacity:1;cursor:wait}
.checkout-submit.is-loading::before{content:'';width:17px;height:17px;flex:0 0 17px;border:2px solid #ffffff80;border-top-color:#fff;border-radius:50%;animation:checkout-spin .75s linear infinite}
@keyframes checkout-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.checkout-submit.is-loading::before{animation:none}}
.checkout-security{display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.7;color:#987e8b;margin-top:14px}
.checkout-security>.icon{width:14px;height:14px;margin-top:2px;color:#b890aa}
.checkout-contact{display:block;text-align:center;font-size:11px;color:#a05c7c;text-decoration:underline;text-underline-offset:4px;margin-top:19px;min-height:30px;padding-top:6px}
.checkout-message{margin:0 0 16px;padding:11px 13px;background:#f8e5ed;color:#964363;border:1px solid #edc4d7;border-radius:12px;font-size:12px;line-height:1.7}
.checkout-preview{font-size:11px;color:#99637b;background:#f4e5ec;padding:9px 12px;border-radius:11px;line-height:1.6;margin-bottom:18px}
.checkout-result>p{font-size:14px;line-height:1.85;color:#846475;margin-bottom:20px}
.checkout-result>button{min-height:45px;padding:10px 17px;border:1px solid #d6a6bd;border-radius:13px;color:#a74973;background:#fff9;font-size:13px}
.checkout-qr{text-align:center;padding:22px 16px 20px;margin-bottom:18px;border:1px solid #edd1dd;border-radius:20px;background:linear-gradient(145deg,#fff,#fbecf3)}
.checkout-qr[hidden]{display:none}.checkout-qr-frame{display:inline-flex;padding:12px;border-radius:17px;background:#fff;box-shadow:0 5px 22px #8c426a16}.checkout-qr-frame img{width:min(200px,55vw);height:auto;aspect-ratio:1;image-rendering:pixelated}.checkout-qr p{max-width:280px;margin:13px auto 10px;color:#765468;font-size:13px;line-height:1.6}.checkout-qr-link{display:inline-block;color:#a14270;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}
@media(max-width:480px){.checkout-inner{padding:25px 20px}.course-checkout h2{font-size:37px;margin-bottom:19px}.checkout-summary{gap:13px;padding:12px}.checkout-course-image{width:72px;height:98px;flex-basis:72px}.checkout-course-title{font-size:25px}.checkout-course-note{font-size:9px}.checkout-brand{font-size:8px;letter-spacing:.8px}.checkout-price{font-size:18px}}
@media(max-width:360px){.checkout-inner{padding:23px 17px}.checkout-summary{gap:10px}.checkout-course-image{width:61px;flex-basis:61px}.checkout-course-title{font-size:23px}.checkout-former{font-size:9px}.checkout-form .checkout-submit{font-size:12px}}
.checkout-choice-sbp small{display:block;font-size:9px;line-height:1.2;color:#438460;font-weight:700}.checkout-choice-sbp>span{min-height:48px}.checkout-qr .checkout-qr-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 24px;border-radius:13px;background:linear-gradient(115deg,#ba557e,#a83c6b);color:#fff;font-size:13px;font-weight:700;text-decoration:none;box-shadow:0 6px 16px #b3527d26}

.checkout-legal{margin:18px 0 20px;padding:15px 0 0;border-top:1px solid #e9d3df}.checkout-form .checkout-legal-check{display:flex;align-items:flex-start;gap:10px;font-size:11px;font-weight:400;line-height:1.7;margin:0 0 13px;cursor:pointer}.checkout-form .checkout-legal-check input{appearance:auto;width:17px;height:17px;min-height:17px;flex:0 0 17px;padding:0;margin:2px 0 0;accent-color:#a8436e;border-radius:4px}.checkout-legal a,.checkout-paused a{color:#93416b;text-decoration:underline;text-underline-offset:3px}.checkout-legal>p{font-size:10px;line-height:1.7;color:#8a687b;margin:0}.checkout-paused{font-size:12px;line-height:1.7;padding:12px 14px;background:#fbf0e7;border:1px solid #ead9c9;border-radius:13px;margin:0 0 16px;color:#785b49}
