.checkout-fields{border:1px solid var(--line);border-radius:16px;padding:28px;min-width:0}.checkout-fields h2{font-size:1.1rem}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.checkout-grid label{display:grid;gap:10px;font-size:.78rem}.checkout-grid input,.checkout-grid textarea{width:100%;border:1px solid #e3dce9;border-radius:10px;padding:12px;color:var(--ink);background:#fff}.checkout-grid textarea{line-height:1.9;resize:vertical}.checkout-grid .full-width{grid-column:1/-1}.checkout-confirm{display:flex;align-items:flex-start;gap:8px;font-size:.73rem;line-height:1.9;margin-top:22px}.checkout-confirm input{accent-color:var(--primary);flex-shrink:0}.checkout-line{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line);font-size:.8rem;line-height:1.9}.checkout-line>span{flex:1}.checkout-line strong{font-size:.75rem;white-space:nowrap}.checkout-line small{color:var(--muted)}.checkout-total{border-top:1px solid #ded2e8;padding-top:20px}.cart-summary .checkout-total{font-size:.88rem}.order-history-title{margin-top:30px}.order-history{font-size:.8rem;line-height:2.4;color:var(--muted)}.order-page>h1{overflow-wrap:anywhere}.order-page .checkout-fields>.muted{font-size:.8rem;line-height:2}@media(max-width:640px){.checkout-fields{padding:20px}.checkout-grid{grid-template-columns:1fr;gap:16px}.checkout-grid .full-width{grid-column:auto}.checkout-line{align-items:flex-start;gap:10px;flex-wrap:wrap}}
/* پرداخت یکپارچه؛ اندازه‌ها و ترتیب مطابق راهنمای انتقال فافوشاپ. */
.checkout-page{max-width:1240px;box-sizing:border-box}
.checkout-page [hidden]{display:none!important}
.checkout-page .cart-layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px;direction:rtl}
.checkout-page .checkout-fields{padding:28px;background:var(--store-surface,#fff);border:1px solid var(--line,#e3dce9);border-radius:16px}
.checkout-page .checkout-account-notice{margin:0 0 24px;padding:14px 18px;background:#eef6ef;color:#356b48;border-radius:11px;font-size:.8rem;line-height:1.9}
.checkout-page .checkout-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.checkout-page .checkout-grid>*{min-width:0}
.checkout-page .checkout-name-group{display:grid;gap:12px;min-width:0}
.checkout-page .checkout-phone-group{display:grid;gap:10px;min-width:0}
.checkout-page .checkout-grid label{font-size:.8rem;line-height:1.8;min-width:0}
.checkout-page .checkout-grid input,.checkout-page .checkout-grid select{box-sizing:border-box;width:100%;min-width:0;height:44px;padding:9px 12px;font:inherit;font-size:.85rem;border:1px solid #e3dce9;border-radius:10px;background:#fff;color:var(--ink)}
.checkout-page .checkout-grid select{min-height:43px;cursor:pointer}
.checkout-page .checkout-grid textarea{box-sizing:border-box;min-width:0;font:inherit;font-size:.85rem}
.checkout-page .checkout-otp-row{display:flex;align-items:stretch;gap:8px;min-width:0}
.checkout-page .checkout-otp-row input{flex:1;width:0}
.checkout-page .checkout-otp-row button{flex:0 0 auto;min-height:44px;padding:8px 10px;font-size:.72rem;white-space:nowrap}
.checkout-page .checkout-phone-group>small{font-size:.68rem;color:var(--muted);line-height:1.9}
.checkout-page [data-otp-status]{min-height:1.8em;margin:0;font-size:.75rem;line-height:1.9;color:#356b48;overflow-wrap:anywhere}
.checkout-page .customer-check{margin-top:24px;font-size:.78rem}
.checkout-page .cart-summary{padding:25px;min-width:0}
.checkout-page .checkout-gateways{display:grid;gap:12px;border:1px solid var(--line,#ddd);border-radius:10px;padding:12px;margin-top:18px;min-width:0}
.checkout-page .checkout-gateways legend{font-size:.85rem;padding-inline:5px}
.checkout-page .checkout-gateways label{display:flex;gap:8px;align-items:center;font-size:.78rem;line-height:1.8}
.checkout-page .checkout-gateways input{flex-shrink:0;accent-color:var(--primary)}
.checkout-page .checkout-gateways small{font-size:.68rem;line-height:1.9}
.checkout-page .checkout-gateways .gateway-unavailable{color:var(--muted,#766c7c);cursor:not-allowed}
.checkout-page .checkout-gateways .gateway-pending{display:block;font-weight:normal}
.checkout-page .cart-summary .checkout-shipping-status{display:block;font-size:.72rem;color:var(--muted);line-height:1.9}
.checkout-page [data-checkout-action]{display:block;font-size:.75rem;line-height:1.9;overflow-wrap:anywhere;min-height:1.8em}
.checkout-page [data-checkout-action]:empty{display:none}
.checkout-page button:disabled{opacity:.6;cursor:not-allowed}
.checkout-page input:focus-visible,.checkout-page select:focus-visible,.checkout-page textarea:focus-visible,.checkout-page button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(max-width:950px){.checkout-page .cart-layout{grid-template-columns:minmax(0,1fr)}.checkout-page .cart-summary{max-width:none;width:100%;justify-self:stretch}}
@media(max-width:640px){.checkout-page .checkout-grid{grid-template-columns:minmax(0,1fr);gap:16px}.checkout-page .checkout-fields{padding:20px}.checkout-page .checkout-otp-row{flex-wrap:wrap}.checkout-page .checkout-otp-row input,.checkout-page .checkout-otp-row button{flex:1 0 100%;width:100%;min-height:44px}.checkout-page .checkout-account-notice{padding:12px;font-size:.75rem}.checkout-page .cart-summary{padding:20px}}
