.checkout-dialog{padding:0;width:min(960px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:0;background:transparent;color:#f5f5f5;box-shadow:none}
.checkout-dialog::backdrop{background:#000b;backdrop-filter:blur(10px)}
.checkout-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;color:#ddd4c3;background:#2b2821;font-size:24px;z-index:1}
.checkout-layout{display:grid;grid-template-columns:.92fr 1fr;gap:20px;align-items:start}
.checkout-product{padding:32px;background:radial-gradient(ellipse at top,#71501d55,transparent 75%),#121213;border:1px solid #53462c;border-radius:20px;min-width:0}
.checkout-product img{width:100%;height:auto;border-radius:8px;border:1px solid #403b2f}
.checkout-product h2{font:600 27px Sora,sans-serif;margin:28px 0 10px}
.checkout-product p{font-size:12px;line-height:1.8;color:#b4ad9d;margin:0 0 18px}
.checkout-product strong{display:block;font:600 34px Sora,sans-serif;color:#f5be38;margin-bottom:24px}
.checkout-main{padding:44px 28px 24px;background:#171719;border:1px solid #53462c;border-radius:20px;min-width:0}
.checkout-main h3{font:600 24px Sora,sans-serif;margin:0 0 28px}
.checkout-main label{display:flex;flex-direction:column;gap:9px;font-size:12px;margin:20px 0;color:#d5ccba}
.checkout-main input,.checkout-main select{width:100%;min-width:0;min-height:46px;padding:12px;border:1px solid #6a604b;border-radius:9px;background:#101012;color:#f5f5f5;font:14px 'IBM Plex Sans',sans-serif}
.checkout-main p,.checkout-main li{font-size:12px;line-height:1.8;color:#b8b1a3}
.checkout-help{margin:22px 0}
.checkout-main button,.checkout-main a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;border:0;border-radius:999px;background:#f5be38;color:#17130a;font:600 12px 'IBM Plex Sans',sans-serif;margin:10px 0;text-decoration:none}
#checkout-pay{width:100%}
.checkout-main button:disabled{opacity:.5;cursor:wait}
#checkout-message{margin-top:20px;color:#e8cd8e}
#checkout-license{display:block;padding:16px;border:1px solid #65532d;border-radius:9px;background:#100f0c;color:#f5d488;overflow-wrap:anywhere;font:13px/1.8 Consolas,monospace}
.checkout-main ol{padding-left:18px;margin:22px 0}
.checkout-dialog [hidden]{display:none!important}
@media(max-width:650px){.checkout-layout{grid-template-columns:1fr}.checkout-product{padding:30px 24px 20px;border-right:0;border-bottom:1px solid #403a2b}.checkout-product img{max-width:170px}.checkout-product h2{font-size:22px;margin-top:18px}.checkout-product strong{font-size:28px;margin-bottom:10px}.checkout-product>p:last-child{display:none}.checkout-main{padding:25px 24px}.checkout-dialog{width:calc(100% - 24px)}}

.checkout-main #checkout-cancel{display:flex;background:transparent;color:#d4c5a5;border:1px solid #6b5a36;margin-top:18px}.checkout-main #checkout-cancel:hover{background:#2c261b;color:#fff0cf}

.checkout-methods{border:0;padding:0;margin:24px 0 0;min-width:0}
.checkout-methods legend{padding:0;margin-bottom:10px;font-size:12px;color:#d5ccba}
.checkout-main .checkout-method{position:relative;display:flex;flex-direction:row;align-items:center;gap:13px;margin:0;padding:15px 17px;border:1px solid #947537;border-radius:10px;background:#2a2417;cursor:pointer}
.checkout-main .checkout-method input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0;pointer-events:none}
.checkout-method:focus-within{outline:2px solid #ffd978;outline-offset:3px}
.checkout-coin{width:26px;height:26px;flex:none;fill:none;stroke:#f5be38;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.checkout-method>span{font-size:14px;font-weight:600;color:#f3e5c5}
.checkout-method small{display:block;margin-top:3px;font-size:11px;font-weight:400;color:#b7ab90}
.checkout-method-check{width:17px;height:17px;margin-left:auto;fill:none;stroke:#f5be38;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.checkout-main .checkout-method{margin-bottom:10px;background:#121214;border-color:#3d3930}
.checkout-main .checkout-method:has(input:checked){background:#2a2417;border-color:#947537}
.checkout-method:not(:has(input:checked)) .checkout-method-check{opacity:0}
.checkout-method:has(input:disabled){opacity:.55;cursor:not-allowed}
.checkout-steps{display:flex;align-items:center;gap:12px;margin:0 0 30px;font:12px 'IBM Plex Sans',sans-serif;color:#8f8d86}
.checkout-steps i{height:1px;flex:1;background:#373125}
.checkout-steps [aria-current=step]{color:#f5be38}
.checkout-steps .complete{color:#ece2ce}
.checkout-main .checkout-step-description{margin:-15px 0 24px}
.checkout-main #checkout-next{width:100%;gap:10px;margin-top:30px}
.checkout-main #checkout-pay{gap:10px}
.checkout-main .checkout-back{padding:0;min-height:32px;margin:-8px 0 16px;background:transparent;color:#b8b1a3;gap:7px;font-weight:400}
.checkout-back .icon{width:14px;height:14px}
.checkout-assets{padding:0;margin:0;border:0;min-width:0}
.checkout-asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.checkout-main .checkout-asset{position:relative;display:flex;flex-direction:row;align-items:center;gap:11px;margin:0;padding:13px 12px;min-height:65px;border:1px solid #3d3930;border-radius:10px;background:#121214;cursor:pointer;transition:border-color .15s,background .15s}
.checkout-asset img{width:30px;height:30px;flex:none;object-fit:contain}
.checkout-main .checkout-asset input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;padding:0;cursor:pointer}
.checkout-asset strong{display:block;font-size:13px;font-weight:600;color:#eee9dd;line-height:1.3}
.checkout-asset small{display:block;color:#aaa59b;font-size:11px;line-height:1.4;margin-top:3px}
.checkout-asset:has(input:checked){border-color:#c49a38;background:#292317}
.checkout-asset:has(input:checked)::after{content:'';position:absolute;right:10px;top:10px;width:5px;height:5px;border-radius:50%;background:#f5be38}
.checkout-asset:focus-within{outline:2px solid #ffd978;outline-offset:2px}
.checkout-asset:hover{border-color:#947537}
.checkout-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.checkout-main .checkout-asset{transition:none}}
@media(max-width:360px){.checkout-main .checkout-asset{padding:11px 9px;gap:8px}.checkout-asset img{width:26px;height:26px}}

.invoice-coin{display:flex;align-items:center;gap:9px;margin:22px 0 18px}
.invoice-coin img{width:27px;height:27px;object-fit:contain}
.invoice-coin strong{font-size:14px}
.invoice-network{margin-left:auto;padding:5px 10px;border-radius:999px;background:#29251b;color:#e3c67f;font-size:11px}
.invoice-amount{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #393326}
.invoice-amount>div{min-width:0}
.invoice-amount small{display:block;font-size:11px;color:#aaa59b;margin-bottom:7px}
.invoice-amount strong{display:block;font:600 clamp(17px,1.8vw,22px)/1.5 Sora,sans-serif;overflow-wrap:anywhere;color:#f5d488}
.checkout-main .invoice-copy{flex:none;gap:6px;min-height:34px;padding:7px 11px;margin:0;background:#2b261b;color:#e9ce8a;border:1px solid #50432b;font-size:11px}
.invoice-copy .icon{width:13px;height:13px}
.invoice-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;gap:4px;background:#101012;border:1px solid #37332a;border-radius:999px}
.checkout-main .invoice-tabs button{min-height:37px;margin:0;padding:8px 12px;gap:8px;background:transparent;color:#aaa59b;font-weight:500}
.invoice-tabs .icon{width:15px;height:15px}
.checkout-main .invoice-tabs button[aria-selected=true]{background:#302819;color:#f5d488}
.invoice-tabs button:focus-visible,.invoice-copy:focus-visible{outline:2px solid #f5be38;outline-offset:2px}
.invoice-qr-panel{padding:12px 0 0;text-align:center}
.invoice-qr-panel img{display:block;margin:4px auto 8px;width:228px;height:228px;max-width:100%;object-fit:contain;image-rendering:pixelated;border-radius:10px;background:white}
.checkout-main .invoice-qr-panel p{max-width:300px;margin:8px auto 16px;line-height:1.6;font-size:11px}
.invoice-manual-panel{padding:14px 0 5px}
.invoice-address{padding:14px;background:#101012;border:1px solid #48402d;border-radius:10px}
.invoice-address code{display:block;font:13px/1.8 Consolas,monospace;overflow-wrap:anywhere;color:#e8d5a5;margin-bottom:12px;user-select:all}
.checkout-main .invoice-manual-help{font-size:11px}
.checkout-main .invoice-warning{font-size:11px;line-height:1.6;color:#c9baa0;margin:14px 0}
.invoice-state{display:flex;align-items:center;gap:9px;padding-top:16px;border-top:1px solid #393326;font-size:11px;color:#c8c3b7;line-height:1.7}
.invoice-state .icon{width:15px;height:15px;color:#e3bd5b;flex:none}
.invoice-state.detected{padding:24px 0;color:#dbce9e}
.checkout-main .invoice-expiry{font-size:11px;color:#aaa59b;margin:5px 0 0 24px}
.invoice-details{margin-top:16px;font-size:11px;color:#aaa59b}
.invoice-details summary{cursor:pointer;padding:5px 0;min-height:30px}
.invoice-detail-row{position:relative;margin:12px 0}
.invoice-detail-row small{display:block;margin-bottom:6px;color:#aaa59b}
.invoice-detail-row code{display:block;overflow-wrap:anywhere;font:11px/1.7 Consolas,monospace;color:#c6b992}
.checkout-main .invoice-detail-row .invoice-copy{margin-top:8px}
.checkout-payment-actions{display:flex;align-items:center;gap:10px;margin-top:20px;flex-wrap:wrap}
.checkout-main .checkout-payment-actions button{margin:0;font-size:11px;min-height:40px;padding:10px 16px}
.checkout-main .checkout-payment-actions #checkout-cancel{margin:0;border-color:transparent;padding:10px 5px;font-weight:400}
.checkout-main .send-intro{margin:-15px 0 0;line-height:1.7}
#checkout-message:empty{display:none}
@media(max-width:650px){
 .checkout-layout{grid-template-columns:1fr;gap:12px}
 .checkout-product{padding:24px;border:1px solid #53462c;border-radius:18px}
 .checkout-product img{float:right;width:100px;margin:4px 0 8px 16px}
 .checkout-product h2{font-size:18px;margin:0 0 5px;padding-right:12px}
 .checkout-product p{font-size:11px;margin:0 0 8px}
 .checkout-product strong{font-size:24px;margin:10px 0 0}
 .checkout-product::after{content:'';display:block;clear:both}
 .checkout-main{padding:26px 22px 22px;border-radius:18px}
 .checkout-close{right:8px;top:8px;width:30px;height:30px;background:#252116;box-shadow:0 2px 10px #0008}
 .checkout-dialog{width:calc(100% - 24px)}
 .checkout-steps{margin-bottom:24px}
}
@media(max-width:360px){.checkout-product img{width:80px}.checkout-main{padding:24px 18px 20px}.invoice-amount{gap:8px}.checkout-main .invoice-copy{padding:7px 8px}}

.checkout-main .reseller-link{display:flex;align-items:center;justify-content:flex-start;gap:13px;width:100%;min-width:0;padding:15px;margin:0 0 10px;border:1px solid #4b412d;border-radius:12px;background:#121214;color:#f3ecdc;text-align:left;transition:background .15s,border-color .15s}.checkout-main .reseller-link:hover{background:#282217;border-color:#ac8838}.reseller-link>img{width:48px;height:48px;object-fit:contain;flex:none;border-radius:9px;background:#1d1b16;padding:4px}.reseller-link-info{min-width:0;flex:1}.reseller-link-info strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}.reseller-link-info small{display:block;margin-top:5px;font-size:11px;font-weight:400;color:#a9a18e;overflow-wrap:anywhere}.reseller-link>.icon{color:#e6bd5a;width:17px}.checkout-main .checkout-reseller-note,.checkout-main .reseller-empty{font-size:12px;line-height:1.7;color:#b8ae98}.checkout-resellers{margin:24px 0 18px;max-height:420px;overflow:auto;padding:3px}.checkout-main #checkout-reseller-back{padding:0;min-height:32px;margin:-8px 0 16px;background:transparent;color:#b8b1a3;gap:7px;font-weight:400}@media(prefers-reduced-motion:reduce){.checkout-main .reseller-link{transition:none}}
