#checkout-dialog{width:480px;max-width:calc(100vw - 28px);padding:34px 30px 24px;border-radius:22px;max-height:calc(100dvh - 32px);overflow:auto}#checkout-dialog>.dialog-close{top:16px;right:17px}#checkout-dialog h2{font-size:21px;line-height:1.4;margin:0;letter-spacing:-.4px}#checkout-dialog .checkout-heading{padding-right:28px;margin-bottom:24px}.checkout-count{font-size:13px;color:var(--muted);margin:7px 0 0}.checkout-price{display:flex;align-items:baseline;justify-content:center;gap:9px;margin:12px 0 4px}.checkout-price strong{font-size:42px;line-height:1.15;letter-spacing:-1.8px;font-weight:650}.checkout-price>span{font-size:19px;font-weight:550;color:var(--muted)}.checkout-network-name{text-align:center;color:var(--muted);font-size:13px;margin:6px 0 24px}.checkout-network{margin:25px 0 14px}.checkout-adjust{font-size:13px;color:var(--muted);margin:10px 0}.checkout-adjust .field{margin-top:16px}.checkout-adjust .amount-options{margin-top:12px}.checkout-shell summary{cursor:pointer;line-height:1.6}.checkout-adult{margin:20px 0 24px;font-size:13px}.checkout-method-heading{font-size:14px;font-weight:600;margin:20px 0 12px}.checkout-methods{margin-top:0;gap:12px}.checkout-methods>.primary,.checkout-methods>.secondary{min-height:98px;flex-direction:column;gap:9px;border-radius:12px;padding:16px 8px;font-size:15px;font-weight:600}.checkout-methods small{font-weight:400;font-size:11px;line-height:1.5;opacity:.8}.wallet-method-label{display:flex;align-items:center;justify-content:center;gap:8px}.checkout-methods .wallet-method-label>span{line-height:1.4}.checkout-methods .metamask-icon,.checkout-methods .tronlink-icon{width:23px;height:23px;flex:0 0 23px}.checkout-shell .commerce-error{font-size:13px;margin:12px 0 0;overflow-wrap:anywhere}.checkout-instruction{text-align:center;line-height:1.6;font-size:14px;margin:0 0 18px}.checkout-qr{display:flex;justify-content:center;background:white;padding:12px}.checkout-qr .qr-code{width:184px;height:184px;max-width:100%;margin:0}.checkout-address{display:flex;align-items:center;gap:10px;background:#f6f5fa;border:1px solid var(--line);border-radius:11px;padding:12px 13px;margin-top:12px}.checkout-address code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:var(--text);letter-spacing:0}.checkout-copy-button{border:0;background:white;color:var(--accent);padding:8px 10px;border-radius:7px;font-size:12px;white-space:nowrap;cursor:pointer}.checkout-network-note{font-size:12px;line-height:1.7;color:var(--muted);margin:13px 0 24px}.checkout-email{border-top:1px solid var(--line);padding:17px 0;color:var(--muted);font-size:12px}.checkout-soon{font-size:10px;display:inline-block;padding:2px 6px;background:#f2f0f8;border-radius:5px;margin-left:8px}.checkout-email .field{margin-top:15px}.checkout-email input:disabled{background:#f7f7f9;color:var(--muted);cursor:not-allowed}.checkout-email p{font-size:12px;line-height:1.6}.checkout-progress{border-top:1px solid var(--line);padding-top:18px}.checkout-status{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.5}.payment-status-dot{width:7px;height:7px;border-radius:50%;background:#8c7ec1;flex:0 0 7px}.checkout-status[data-status=paid] .payment-status-dot{background:#239871}.checkout-status[data-status=invalid_payment] .payment-status-dot,.checkout-status[data-status=underpaid] .payment-status-dot{background:#bc4e61}.checkout-progress-note{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0 13px}.checkout-transaction{font-size:12px;color:var(--muted);margin:14px 0}.checkout-transaction .field{margin:16px 0 10px}.checkout-transaction form>.secondary{font-size:13px;min-height:42px;padding:9px 12px;margin-bottom:12px}.checkout-transaction>a{display:inline-block;margin:8px 0;font-size:12px}.checkout-text-button{display:inline-block;border:0;background:none;padding:6px 0;min-height:32px;color:var(--accent);font-size:12px;line-height:1.5;cursor:pointer;text-align:left}.checkout-change{margin:13px 0 0}.checkout-recovery{border-top:1px solid var(--line);margin-top:19px;padding-top:12px}.checkout-recovery details{font-size:11px;color:var(--muted);margin:3px 0 0}.checkout-recovery details>p{line-height:1.6}.checkout-recovery .recovery-link{display:block;font-size:11px;padding:10px;margin-top:10px;overflow-wrap:anywhere}.checkout-back{color:var(--muted);margin-top:8px}.checkout-wallet-submit{width:100%;min-height:54px;border-radius:12px;margin:5px 0 15px}.checkout-paid-note{font-size:14px;margin:18px 0}.checkout-shell .delivery-list .primary{border-radius:12px}.checkout-order .checkout-heading{margin-bottom:20px}@media(max-width:480px){#checkout-dialog{padding:30px 22px 22px;border-radius:18px}.checkout-methods small{font-size:10px}.checkout-methods>.primary,.checkout-methods>.secondary{font-size:14px}.checkout-price strong{font-size:38px}.checkout-qr .qr-code{width:166px;height:166px}.checkout-address{padding:10px}.checkout-address code{font-size:11px}}@media(prefers-reduced-motion:no-preference){.checkout-status[data-status=confirming] .payment-status-dot{animation:payment-pulse 1.6s ease-in-out infinite}@keyframes payment-pulse{50%{opacity:.35}}}
#checkout-dialog .checkout-order .checkout-heading{margin-bottom:12px}#checkout-dialog .checkout-order .checkout-price{margin:6px 0 2px}#checkout-dialog .checkout-order .checkout-price strong{font-size:34px}#checkout-dialog .checkout-order .checkout-network-name{margin:3px 0 12px}#checkout-dialog .checkout-order .checkout-instruction{margin-bottom:8px}#checkout-dialog .checkout-qr{padding:4px}#checkout-dialog .checkout-qr .qr-code{width:160px;height:160px}#checkout-dialog .checkout-address{margin-top:8px;padding:8px 10px}#checkout-dialog .checkout-copy-button{padding:6px 8px}#checkout-dialog .checkout-network-note{margin:9px 0 14px}#checkout-dialog .checkout-email{padding:11px 0}#checkout-dialog .checkout-progress{padding-top:12px}#checkout-dialog .checkout-progress-note{margin:6px 0 8px}#checkout-dialog .checkout-transaction{margin:8px 0}#checkout-dialog .checkout-change{margin-top:6px}#checkout-dialog .commerce-error:empty{display:none}#checkout-dialog .checkout-recovery{margin-top:12px;padding-top:8px}.checkout-bottom-links{display:flex;justify-content:space-between;gap:16px;align-items:center}.checkout-bottom-links .checkout-back{margin:0}#checkout-dialog .checkout-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#checkout-dialog .checkout-recovery{display:block;margin:12px 0 0;padding:8px 0 0;border:0;border-top:1px solid var(--line);width:100%}#checkout-dialog .checkout-recovery .checkout-text-button{min-height:26px;padding:3px 0}#checkout-dialog .checkout-recovery details{margin:2px 0 0}

#checkout-dialog .checkout-status{justify-content:center;font-size:14px}
#checkout-dialog .checkout-progress-note{text-align:center}
#checkout-dialog .payment-status-dot{background:#d28a20}
#checkout-dialog .checkout-status[data-status=confirming] .payment-status-dot,#checkout-dialog .checkout-status[data-status=transaction_submitted] .payment-status-dot{background:#4084cf}
#checkout-dialog .checkout-status[data-status=paid] .payment-status-dot{background:#239871}
#checkout-dialog .checkout-status[data-status=invalid_payment] .payment-status-dot,#checkout-dialog .checkout-status[data-status=underpaid] .payment-status-dot{background:#bc4e61}
#checkout-dialog .checkout-status[data-status=expired] .payment-status-dot{background:#8a8991}
#checkout-dialog .checkout-recovery summary{color:var(--accent);font-size:13px;padding:5px 0}
#checkout-dialog .checkout-recovery details>p{font-size:12px;color:var(--muted);margin:12px 0;line-height:1.7}
.checkout-recovery-address{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#f6f5fa}
.checkout-recovery-address code{flex:1;min-width:0;overflow-wrap:anywhere;font-size:11px;line-height:1.7;color:var(--text)}

.purchases-shell h3{font-size:14px;font-weight:600;margin:0 0 14px}
.purchases-shell .purchases-saved,.purchases-wallet-history{margin:22px 0}
.purchase-rows{display:grid;gap:8px}
.purchase-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;text-align:left;border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:white;color:var(--text);font-size:14px;line-height:1.5}
.purchase-row:hover{background:#f8f7fc;border-color:#d9d2ee}
.purchase-row>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.purchase-row small{font-size:11px;color:#21815e;white-space:nowrap}
.purchase-row-arrow{color:var(--muted);font-size:21px}
#checkout-dialog .purchase-empty{font-size:13px;text-align:center;color:var(--muted);background:#f7f6fa;border-radius:11px;padding:22px 14px;margin:0}
.purchases-recover,.purchases-wallet{border-top:1px solid var(--line);margin-top:18px;padding-top:16px;color:var(--muted);font-size:13px}
.purchases-shell summary{cursor:pointer;line-height:1.6}
.purchase-link-input{display:flex;align-items:stretch;gap:8px;margin-top:14px}
.purchase-link-input input{flex:1;min-width:0;width:100%;border:1px solid var(--line);border-radius:9px;background:white;padding:11px 12px;font-size:12px}
.purchase-link-input .secondary{width:auto;min-width:64px;min-height:44px;margin:0;padding:10px 12px;font-size:13px}
.purchases-wallet-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.purchases-wallet-choices .secondary{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:64px;margin:0;padding:12px 8px;font-size:13px;line-height:1.4}
.purchases-wallet-choices svg{width:25px;height:25px;flex:0 0 25px}
.purchases-wallet-choices span{text-align:left;font-weight:600}
.purchases-wallet-choices small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}
.purchases-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.purchases-section-heading h3{margin:0}
#checkout-dialog .purchases-wallet-address{font-size:11px;overflow-wrap:anywhere;color:var(--muted);margin:8px 0 16px}

.purchases-shell .purchase-storage-note{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.65;white-space:pre-line}
.purchase-saved-row{display:flex;align-items:center;gap:8px;min-width:0}
.purchase-saved-row .purchase-row{flex:1;min-width:0}
.purchase-remove{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:9px;background:#f6f5f9;color:var(--muted);font-size:22px;line-height:1}
.purchase-remove:hover{background:#fff0f0;color:#b54444}
.purchase-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:14px;font-size:12px;color:var(--muted)}
.purchase-pagination button{width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:8px;background:white;font-size:20px;line-height:1;color:var(--accent)}
.purchase-pagination button:disabled{opacity:.35}
.purchases-shell .purchase-undo{margin:10px 0 0;padding:4px 0;font-size:12px;color:var(--accent)}

/* Manual transfer: one card holding QR + address, a visible network warning and a status pill. */
#checkout-dialog .checkout-order .checkout-network-name{margin:6px 0 16px}
.checkout-network-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 11px;border-radius:999px;background:#edf2fd;color:#2c5bb0;font-size:12px;font-weight:600;line-height:1.6}
.checkout-network-badge::before{content:'';width:7px;height:7px;border-radius:50%;background:#0052ff}
.checkout-network-badge[data-network=tron]{background:#fdeeef;color:#ad313b}.checkout-network-badge[data-network=tron]::before{background:#eb0029}
.checkout-network-badge[data-network=ethereum]{background:#f0f1f8;color:#454b72}.checkout-network-badge[data-network=ethereum]::before{background:#627eea}
.checkout-transfer{background:#f7f6fa;border:1px solid var(--line);border-radius:16px;padding:14px 14px 12px}
#checkout-dialog .checkout-transfer .checkout-instruction{font-size:13px;color:var(--muted);margin:0 0 12px}
#checkout-dialog .checkout-transfer .checkout-qr{width:max-content;margin:0 auto;padding:10px;border-radius:12px;background:white;box-shadow:0 1px 3px rgb(40 30 60/.08)}
#checkout-dialog .checkout-transfer .checkout-qr .qr-code{width:150px;height:150px}
#checkout-dialog .checkout-transfer .checkout-address{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 10px;background:white;margin-top:12px;padding:10px 10px 10px 13px}
.checkout-address-label{grid-column:1/-1;font-size:11px;color:var(--muted);line-height:1.4}
.checkout-address code b{font-weight:700;color:var(--accent)}
#checkout-dialog .checkout-copy-button{min-width:58px;background:var(--accent);color:white;font-weight:600;padding:8px 12px;border-radius:8px;transition:background .15s}
#checkout-dialog .checkout-copy-button.copied{background:#239871}
#checkout-dialog .checkout-network-note{display:flex;gap:9px;align-items:flex-start;background:#fff7e8;border:1px solid #f1ddb2;color:#74500f;border-radius:12px;padding:10px 12px;margin:12px 0 4px;font-size:12px;line-height:1.6}
.checkout-network-note svg{width:16px;height:16px;flex:0 0 16px;margin-top:2px;color:#c98a14}
.checkout-status-line{display:flex;justify-content:center;align-items:center;gap:6px 10px;flex-wrap:wrap}
#checkout-dialog .checkout-status-line .checkout-status{background:#f4f3f8;padding:5px 13px;border-radius:999px}
#checkout-dialog .checkout-status-line .checkout-status[data-status=awaiting_payment]{background:#fcf2e2}
#checkout-dialog .checkout-status-line .checkout-status[data-status=paid]{background:#e8f6ef}
.checkout-expiry{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:no-preference){#checkout-dialog .checkout-status[data-status=awaiting_payment] .payment-status-dot{animation:payment-pulse 1.6s ease-in-out infinite}}
@media(max-width:480px){#checkout-dialog .checkout-transfer .checkout-qr .qr-code{width:138px;height:138px}.checkout-transfer{padding:12px 11px 10px}}

.checkout-network-badge[data-network=bsc]{background:#fdf6e1;color:#7a5a00}.checkout-network-badge[data-network=bsc]::before{background:#f0b90b}

.checkout-fee-hint{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:var(--muted);font-weight:400}

.checkout-methods .wallet-pay[hidden]{display:none}
