/* Checkout payment choices and invoices share the shop's restrained plum palette. */
.crypto-discount-badge { display: inline-flex; vertical-align: middle; margin-left: 4px; padding: 3px 6px; border-radius: 6px; background: #edf6ed; color: #2d643a; font-size: 11px; font-weight: 700; white-space: nowrap; }
.crypto-benefit { margin-bottom: 16px; padding: 15px 18px; border: 1px solid #e2ecdf; border-radius: 15px; background: #f4f9f2; }
.crypto-benefit > strong { color: #2d643a; font-size: 15px; }
.crypto-benefit > p { margin-top: 6px; font-size: 12px; line-height: 1.6; color: #586653; }
.crypto-savings-note { margin-block: 12px; color: #2d643a; font-size: 13px; line-height: 1.6; }
.crypto-price-breakdown { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; }
.crypto-price-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; font-size: 13px; color: var(--text-secondary,#746a71); }
.crypto-price-line > :last-child { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.crypto-price-saving { color: #2d643a; }
.crypto-price-total { padding-top: 12px; border-top: 1px solid #e8dfe3; color: var(--text-primary,#362c32); font-weight: 600; }
.crypto-promo-section { margin: 0 0 32px; }
.crypto-promo { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; gap: 22px; align-items: center; padding: 24px 28px; border: 1px solid #e9dfe4; border-radius: 24px; background: linear-gradient(120deg,#f9f2f6,#fff 75%); box-shadow: 0 8px 30px rgba(64,29,44,.035); }
.crypto-promo-badge { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--accent-color,#6c2d43); color: white; font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.crypto-promo-copy h2 { margin: 0; font-size: clamp(18px,2vw,23px); line-height: 1.35; color: var(--text-primary,#362c32); }
.crypto-promo-copy p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-secondary,#746a71); }
.crypto-promo-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 0 12px 12px; color: var(--accent-color,#6c2d43); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.crypto-promo-link span { transition: transform .18s ease; }
.crypto-promo-link:hover span { transform: translateX(4px); }
.crypto-promo-link:focus-visible { outline: 3px solid var(--accent-color,#6c2d43); outline-offset: 4px; border-radius: 5px; }
.order-page .payment-method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.order-page .pay-method { display: grid; grid-template-columns: 18px 1fr; align-content: start; gap: 8px; min-height: 102px; margin: 0; padding: 16px 12px; border: 1px solid var(--border-subtle,#e8dfe3); background: #fff; transition: border-color .18s ease, background .18s ease; }
.order-page .pay-method input { margin: 3px 0 0; }
.pay-method strong { display: block; margin-bottom: 5px; font-size: 14px; line-height: 1.35; }
.pay-method small { display: block; color: var(--text-secondary,#746a71); font-size: 11px; line-height: 1.5; }
.order-page .pay-method.is-selected { border-color: var(--accent-color,#6c2d43); background: #fcf8fa; box-shadow: 0 0 0 1px var(--accent-color,#6c2d43); }
.payment-options-panel { margin-top: 20px; }
.order-page .crypto-currency-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.order-page .crypto-option { display: grid; grid-template-columns: 16px 1fr; gap: 6px; align-items: center; margin: 0; padding: 12px; border: 1px solid #e7dfe3; border-radius: 14px; background: white; cursor: pointer; }
.crypto-option input { margin: 0; accent-color: var(--accent-color); }
.crypto-option strong { display: block; font-size: 15px; }
.crypto-option small { display: block; margin-top: 3px; color: var(--text-secondary); font-size: 11px; }
.order-page .crypto-option.is-selected { border-color: var(--accent-color); background: #fcf8fa; box-shadow: 0 0 0 1px var(--accent-color); }
.crypto-estimate { margin-top: 16px; padding: 20px; border: 1px solid #e8dfe3; border-radius: 18px; background: linear-gradient(135deg,#fcf9fb,#fff); }
.crypto-estimate-head, .invoice-amount-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.crypto-estimate-head > span { color: var(--text-secondary); font-size: 13px; }
.crypto-estimate-head > strong, #invoice-amount { font-size: clamp(20px,4vw,27px); font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.crypto-facts { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px 16px; margin: 16px 0; font-size: 12px; }
.crypto-facts dt { color: var(--text-secondary); }
.crypto-facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.payment-muted { color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.payment-status { margin-block: 10px; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.payment-status.is-error { color: #a12732; }
.payment-maintenance { margin-top: 16px; padding: 18px; border: 1px solid #e7ddd0; border-radius: 16px; background: #fcfaf6; }
.payment-maintenance h3 { margin: 10px 0 8px; font-size: 17px; }
.pay-badge { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #f1e9dd; color: #775936; font-size: 11px; font-weight: 650; }
.payment-invoice { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e8dfe3; }
.payment-invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.payment-invoice-head h3 { font-size: 19px; margin: 0; }
#invoice-state { padding: 6px 10px; border-radius: 999px; background: #f4eff2; color: #6c2d43; font-size: 12px; font-weight: 600; }
#invoice-state[data-state="paid"] { background: #edf7ef; color: #28613a; }
#invoice-state[data-state="submitted"] { background: #eef3fa; color: #35587c; }
.invoice-wallet-grid { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 20px; align-items: start; margin-top: 18px; }
.invoice-qr-box { border: 1px solid #e9e3e6; border-radius: 16px; padding: 10px; background: white; text-align: center; }
#invoice-qr { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.invoice-qr-box p { margin-top: 5px; font-size: 11px; color: var(--text-secondary); }
.invoice-address-label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 12px; }
#invoice-address { display: block; padding: 13px; border-radius: 12px; background: #f7f4f6; color: #362c32; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; user-select: all; }
.invoice-copy-btn { min-height: 38px; margin-top: 10px; padding: 9px 12px; border: 1px solid #e2d6dd; border-radius: 10px; background: #fff; color: var(--accent-color); font-size: 12px; cursor: pointer; }
.invoice-proof { margin-top: 18px; }
.invoice-proof label { font-size: 13px; font-weight: 600; }
.invoice-proof input { margin: 8px 0 10px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 13px; }
.invoice-proof button { min-height: 42px; }
.payment-invoice .order-tools { margin-top: 15px; }
@media (max-width: 650px) {
    .crypto-promo { grid-template-columns: 56px minmax(0,1fr); gap: 14px; padding: 18px; border-radius: 20px; }
    .crypto-promo-badge { width: 56px; height: 56px; border-radius: 17px; font-size: 21px; }
    .crypto-promo-link { grid-column: 2; justify-self: start; padding: 0; }
    .order-page .payment-method-grid { grid-template-columns: 1fr; }
    .order-page .pay-method { min-height: 0; padding: 13px; }
}
@media (max-width: 480px) {
    .order-page .crypto-option { padding: 10px 8px; gap: 4px; }
    .crypto-option strong { font-size: 14px; }
    .crypto-option small { font-size: 10px; }
    .crypto-estimate { padding: 16px; }
    .invoice-wallet-grid { grid-template-columns: 1fr; gap: 14px; }
    .invoice-qr-box { width: 150px; margin-inline: auto; }
    .crypto-facts { gap: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .order-page .pay-method, .crypto-promo-link span { transition: none; }
    .crypto-promo-link:hover span { transform: none; }
}
