@font-face{font-family:Vazirmatn;src:url(/assets/vazirmatn.woff2) format("woff2");font-display:swap}
.setup-page{margin:0;background:#0c111b;color:#edf3fb;font-family:Vazirmatn,system-ui,sans-serif;min-height:100vh}
.setup-shell{box-sizing:border-box;max-width:640px;margin:auto;padding:clamp(16px,4vw,32px)}
.setup-shell>header{display:flex;gap:14px;align-items:center;margin-bottom:18px}
.setup-shell h1{font-size:1.55rem;margin:0}
.setup-shell a{color:#b6f290}
.setup-shell .checkout-card{margin-bottom:16px}
.checkout-card,.purchase-item{border:1px solid #344459;border-radius:16px;background:#121c2a;color:#edf3fb}
.checkout-card{padding:16px}
.checkout-card h2,.checkout-card h3{margin:0 0 8px;font-size:1.02rem}
.checkout-card p{color:#aebdd0;font-size:.88rem;line-height:1.8}
.purchase-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr);gap:14px;align-items:start;margin-top:16px}
.modal:has(.purchase-layout){width:min(850px,94vw);max-width:min(850px,94vw)}
.purchase-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;margin-bottom:8px}
.purchase-item img{width:100%;height:55px;object-fit:contain}
.purchase-item strong,.purchase-item bdi{display:block;overflow-wrap:anywhere}
.purchase-item-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.purchase-item-actions button{min-height:40px}
.purchase-total{display:flex;align-items:center;justify-content:space-between;gap:12px}
.purchase-total{border-block:1px solid #344459;padding:10px 0;margin:10px 0}
.checkout-card label{display:block;margin:9px 0}
.checkout-card input:not([type=checkbox]){box-sizing:border-box;width:100%;padding:10px;border:1px solid #60738a;border-radius:9px;background:#0c1420;color:#f2f6fb;font:inherit;margin-top:5px}
.setup-shell button,.setup-shell .checkout-button{font:inherit;display:inline-block;border:1px solid #6a9872;background:#20392f;color:#efffeb;border-radius:10px;padding:9px 14px;margin:5px 0;cursor:pointer}
.setup-shell [hidden]{display:none}
#bot-command{overflow-wrap:anywhere}
@media(max-width:660px){
 .purchase-layout{grid-template-columns:1fr}
 .purchase-item{grid-template-columns:55px minmax(0,1fr)}
 .purchase-item-actions{grid-column:2;justify-content:flex-start}
}
.stock-count{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;margin:6px 0;color:#b9efac}
.stock-count strong{color:#e4f6df}
.setup-flow [hidden]{display:none!important}
.setup-flow .checkout-card{margin-bottom:12px}
.setup-flow .setup-command{overflow-wrap:anywhere}
.setup-flow .setup-icon{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#243e38;color:#b6f290;margin-inline-end:6px}
.setup-flow [data-setup-close]{margin-inline-start:6px}
.setup-dialog{box-sizing:border-box;width:min(530px,calc(100vw - 26px));max-height:85vh;border:1px solid #54705c;border-radius:18px;background:#131d29;color:#edf3fb;padding:18px}
.setup-dialog::backdrop{background:#080c14bb}

.modal.checkout-modal{
 box-sizing:border-box;width:min(920px,100%);max-width:100%;padding:26px;
 background:#101822;border:1px solid #3a4a53;
}
.checkout-flow{color:#eef4fa}
.checkout-title{
 display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;
 margin:0 0 18px;padding-inline-end:38px;
}
.checkout-flow .checkout-title h2{margin:0;font-size:1.4rem}
.checkout-title .text-link{font-size:.83rem;color:#b6f290}
.checkout-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.07fr);gap:14px;align-items:start}
.checkout-main{display:grid;gap:10px;min-width:0}
.checkout-section{min-width:0;padding:15px;border:1px solid #344459;border-radius:14px;background:#141f2c}
.checkout-section h3,.checkout-section legend{margin:0;font-size:1rem;font-weight:700}
.checkout-review h3 span{display:inline-block;margin-inline-start:4px;color:#b6f290;font-size:.8rem}
.checkout-section p,.checkout-section small{font-size:.8rem;color:#bfccdb}
.checkout-flow :is(p,dl){margin:8px 0 0}
.checkout-flow dl>div{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:5px 0}
.checkout-flow dt{color:#bfccdb}
.checkout-flow dd{min-width:0;margin:0;text-align:end;overflow-wrap:anywhere}
.checkout-contact dl{font-size:.83rem}
.checkout-order-list{display:grid;gap:7px;padding:0;margin:13px 0 0;list-style:none}
.checkout-flow .checkout-order-item{
 display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:8px;align-items:center;
 width:100%;min-height:63px;padding:6px;border:1px solid #364758;border-radius:10px;background:#101925;color:inherit;
 font:inherit;font-size:.8rem;text-align:start;
}
.checkout-order-item img{width:54px;height:44px;object-fit:contain}
.checkout-order-item bdi,.checkout-order-item small{display:block;overflow-wrap:anywhere}
.checkout-order-item .checkout-order-price{white-space:normal;text-align:end;font-weight:700}
.checkout-order-price del{display:none}
.checkout-flow #checkout-payable{padding-top:8px;border-top:1px solid #344459;font-size:.85rem}
.checkout-flow .checkout-due{padding-top:10px;font-weight:700;font-size:.95rem}
.checkout-due dd{color:#bcf89a}
.checkout-benefits summary{cursor:pointer;font-size:.87rem;font-weight:700}
.checkout-flow form,.checkout-flow fieldset{margin:0;min-width:0}
.checkout-flow fieldset{border:0;padding:0}
.checkout-methods-list{display:grid;gap:7px;margin-top:10px}
.checkout-flow .checkout-method{
 display:grid;grid-template-columns:18px minmax(0,1fr) 68px;gap:9px;align-items:center;
 min-height:44px;margin:0;padding:7px 10px;border:1px solid #405065;border-radius:9px;
 background:#101925;color:#eef4fa;font-size:.84rem;cursor:pointer;
}
.checkout-method.is-unavailable{cursor:default}
.checkout-method.is-unavailable strong{color:#bfcadb}
.checkout-method small{display:block;line-height:1.5}
.checkout-method img{width:60px;height:24px;object-fit:contain;margin-inline-start:auto}
.checkout-flow .checkout-method input,.checkout-flow .checkout-wallet input{width:16px;height:16px;margin:0;accent-color:#b6f290}
.checkout-flow input:not([type=radio]):not([type=checkbox]){
 box-sizing:border-box;width:100%;min-height:42px;padding:7px 10px;border:1px solid #60738a;border-radius:8px;
 background:#0c1420;color:#f2f6fb;font:inherit;
}
.checkout-flow #checkout-payment-fields{display:grid;gap:7px;margin-top:12px}
.checkout-flow #checkout-payment-fields button[type=submit]{width:100%;justify-content:space-between;gap:10px;font-size:.85rem}
.checkout-flow #checkout-payment-fields label{margin:0;font-size:.8rem}
.checkout-flow #checkout-benefits{margin-top:8px}
.checkout-flow #checkout-benefits .checkout-wallet{display:flex;gap:8px;align-items:center}
.checkout-flow .checkout-payment-error{color:#ffbcb8}
.checkout-flow [hidden]{display:none}
@media(max-width:700px){
 .modal.checkout-modal{padding:17px 12px}
 .checkout-columns{grid-template-columns:minmax(0,1fr);gap:9px}
 .checkout-title{margin-bottom:12px}
 .checkout-section{padding:11px}
}
@media(max-width:350px){
 .checkout-flow .checkout-order-item{grid-template-columns:42px minmax(0,1fr)}
 .checkout-order-item img{width:42px}
 .checkout-order-item .checkout-order-price{grid-column:2;text-align:start}
}

.checkout-method .checkout-logo.zarinpal{width:28px;height:28px}
.checkout-bitcoin{display:grid;place-items:center;width:27px;height:27px;margin-inline-start:auto;border-radius:50%;background:#ffad42;color:#341d06;font:700 19px/1 system-ui,sans-serif}
.checkout-order-names{padding-inline-start:22px;margin:8px 0}

.cart-reservation{display:block;color:#f5cc84;font-size:.76rem;font-variant-numeric:tabular-nums}
