/* Purchase screens share the compact header and neutral Ascense palette. */
body.asc-purchase{background:#101214!important;color:#f1f2f4}
body.asc-purchase .asc-main{margin-top:0!important}
.asc-purchase .mc-config{--mc-bg:#101214;--mc-panel:#17191c;--mc-line:#34383f;--mc-muted:#b6bbc3;--mc-amber:#ffbb3e}
.asc-cart-heading{margin:0 0 28px}
.asc-cart-heading h1{font-size:clamp(26px,3vw,34px);line-height:1.2;font-weight:750;letter-spacing:-.8px}
.asc-cart-heading p{color:var(--mc-muted);font-size:14px;margin-top:10px;line-height:1.7}
.asc-cart-empty{max-width:680px}
.asc-cart-empty h2{font-size:20px}
.asc-cart-empty p,.asc-cart-account p{color:var(--mc-muted);font-size:14px;line-height:1.7}
.asc-cart-item-heading{display:flex;align-items:center;gap:14px;padding:22px;border-bottom:1px solid var(--mc-line);flex-wrap:wrap}
.asc-cart-item-heading img{object-fit:contain;image-rendering:pixelated;flex:none}
.asc-cart-item-heading>div{flex:1;min-width:140px}
.asc-cart-item-heading span{font-size:11px;color:var(--mc-muted)}
.asc-cart-item-heading h2{display:block;border:0;padding:0;font-size:21px;margin:4px 0 0}
.asc-cart-item-heading>strong{font-size:21px;white-space:nowrap}
.asc-cart-config>div{font-size:13px!important;padding-block:9px}
.asc-cart-renewal{border-top:1px solid var(--mc-line);padding-top:16px;margin-top:16px;color:var(--mc-muted);font-size:12px;line-height:1.7}
.asc-cart-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.asc-purchase-secondary,.asc-purchase-primary,.asc-cart-remove,.asc-cart-quantity button{
display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #454b55;border-radius:6px;background:#25292f;color:#f1f2f4;font-size:12px;font-weight:600;cursor:pointer;line-height:1.5}
.asc-purchase-secondary:hover,.asc-cart-quantity button:hover{background:#30353d;border-color:#737b88}
.asc-purchase-primary{background:#ffbb3e;color:#211609;border-color:#ffbb3e;margin-top:20px}
.asc-cart-remove{background:transparent;color:#e5b6b6;border-color:transparent;font-weight:400}
.asc-cart-remove:hover{background:#39272b}
.asc-cart-quantity{display:flex;align-items:center;gap:12px;margin-right:auto}
.asc-cart-quantity button{min-width:44px}
.asc-cart-coupon{border-block:1px solid var(--mc-line);margin:22px 0 16px;padding:20px 0}
.asc-cart-coupon>label{display:block;font-size:12px;font-weight:600;margin-bottom:12px}
.asc-cart-coupon-row{display:flex;align-items:flex-start;gap:8px}
.asc-cart-coupon-row fieldset{min-width:0;flex:1}
.asc-cart-coupon-row input{background:#101214;border-color:#454b55;min-height:44px;font-size:14px}
.asc-cart-coupon-row button{flex-shrink:0}
.asc-cart-applied{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#a4e6bc;overflow-wrap:anywhere}
.asc-cart-summary .mc-total{margin-top:20px;padding-top:20px}
.asc-cart-checkout{border-top:1px solid var(--mc-line);margin-top:24px;padding-top:20px}
.asc-cart-checkout>div{align-items:flex-start;gap:10px;min-height:44px}
.asc-cart-checkout input[type=checkbox]{flex-shrink:0;margin-top:3px}
.asc-cart-checkout label{margin:0;font-size:12px;line-height:1.7}
.asc-cart-checkout label a{color:#e5e7eb;text-decoration:underline;text-underline-offset:3px}
.asc-cart-checkout .mc-continue{margin-top:18px}
.asc-auth-progress{padding-bottom:0!important;padding-top:8px!important}
.asc-auth-progress .mc-steps{margin-bottom:0}
.asc-purchase form#login,.asc-purchase form#register{margin-top:32px!important;background:#17191c!important;border-color:#34383f!important;gap:16px}
.asc-purchase form#login>div:first-child,.asc-purchase form#register>div:first-child{margin-bottom:12px!important}
.asc-purchase form#login input:not([type=checkbox]),.asc-purchase form#register input:not([type=checkbox]){background:#101214!important;border-color:#454b55!important}
.asc-purchase form#login .bg-primary-700,.asc-purchase form#register .bg-primary-700{background:#25292f}
.asc-invoice>div>div.bg-background-secondary{padding:32px;background:#17191c;border-color:#34383f}
.asc-invoice table{font-size:14px}
.asc-purchase [role=dialog]{background:#17191c;border-color:#34383f;color:#f1f2f4}
.asc-purchase .asc-footer{background:#15171a!important;border-color:#34383f}
.asc-purchase button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){
.asc-cart-item-heading{padding:18px;gap:12px}
.asc-cart-item-heading h2{font-size:19px}
.asc-cart-item-heading>strong{font-size:19px}
.asc-cart-coupon-row input{font-size:16px}
.asc-invoice>div>div.bg-background-secondary{padding:20px}
.asc-purchase form#login .flex.flex-row{flex-wrap:wrap;gap:12px}
.asc-cart-summary .mc-total strong{font-size:28px}
}

.asc-purchase .fixed.inset-0:has(.asc-payment-dialog){z-index:110;background:#000b;backdrop-filter:blur(4px)}
.asc-purchase .px-6.py-4:has(.asc-payment-dialog){max-width:640px;padding:28px;background:#17191c;border:1px solid #34383f;border-radius:12px}
.asc-purchase .px-6.py-4:has(.asc-payment-dialog)>div:first-child{align-items:flex-start;gap:20px}
.asc-purchase .px-6.py-4:has(.asc-payment-dialog) h2{font-size:18px;line-height:1.5}
.asc-purchase .px-6.py-4:has(.asc-payment-dialog)>div:first-child>div{font-size:12px;align-items:center}
.asc-purchase .px-6.py-4:has(.asc-payment-dialog)>div:first-child button{min-width:44px;min-height:44px;display:grid;place-items:center}
.asc-payment-amount{padding:20px 0 24px;margin-bottom:24px;border-bottom:1px solid #34383f}
.asc-payment-amount>span{display:block;font-size:12px;color:#b6bbc3}
.asc-payment-amount>strong{display:block;font-size:34px;line-height:1.3;margin-top:8px}
.asc-payment-amount>p{font-size:13px;line-height:1.7;margin-top:12px;color:#b6bbc3}
@media(max-width:600px){
.asc-purchase .px-6.py-4:has(.asc-payment-dialog){padding:20px}
.asc-purchase .px-6.py-4:has(.asc-payment-dialog)>div:first-child{flex-wrap:wrap;gap:8px}
}
