/* Product identity, delivery and totals use the same compact grid throughout checkout. */
.commerce-main .commerce-page .woocommerce .allit-cart-form{padding:22px;min-width:0}
.commerce-main .commerce-page .woocommerce .allit-cart-table{table-layout:fixed;width:100%;margin:0;border:0}
.commerce-main .commerce-page .woocommerce .allit-cart-table thead .product-quantity{width:80px}
.commerce-main .commerce-page .woocommerce .allit-cart-table thead .product-subtotal{width:154px}
.commerce-main .commerce-page .woocommerce .allit-cart-table :is(th,td){padding:18px 8px;overflow-wrap:normal}
.commerce-main .commerce-page .woocommerce .allit-cart-table th{font-size:13px}
.cart-product{display:flex;align-items:flex-start;gap:15px;min-width:0;position:relative;padding-inline-end:28px}
.cart-product-photo{flex:0 0 90px;background:#f7f8fa;border:1px solid #eef0f3;border-radius:12px;padding:7px;aspect-ratio:1;align-self:flex-start}
.commerce-main .commerce-page .woocommerce .cart-product-photo img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;mix-blend-mode:multiply}
.cart-product-info,.checkout-product-info{flex:1;min-width:0}
.cart-product-title{display:block;color:#202631}
.commerce-item-title{display:block;font-size:15px;line-height:1.9;font-weight:600;overflow-wrap:anywhere;text-align:right;font-family:Vazirmatn,Arial,sans-serif}
.commerce-item-original{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-family:Arial,Vazirmatn,sans-serif;font-size:12px;line-height:1.75;font-weight:400;color:#7a8492;margin-top:5px;text-align:right;overflow-wrap:anywhere}
.cart-product .product-remove{position:absolute;inset-inline-end:0;top:0;width:auto!important}
.commerce-main .commerce-page .woocommerce .cart-product a.remove{width:28px;height:28px;background:transparent;border:1px solid #e7e9ee;color:#8993a0!important;font:22px Arial,sans-serif}
.commerce-main .commerce-page .woocommerce .cart-product a.remove:hover{color:#df1836!important;background:#fff2f4;border-color:#f2bcc6}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) dl.variation{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px 9px;margin:12px 0 0;font-size:13px;font-weight:400}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) dl.variation :is(dt,dd){float:none;clear:none;min-width:0;padding:0;margin:0;font-size:13px;line-height:1.9;text-align:right;border:0;overflow-wrap:anywhere}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) dl.variation dt{color:#8b94a1;font-weight:400;white-space:nowrap}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) dl.variation dd{color:#586474}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) dl.variation p{margin:0;font:inherit;line-height:inherit}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) .store-logo{width:55px;height:19px;max-height:19px;object-fit:contain}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) :is(.spec-option,.spec-colorway-label,.cart-option-parts,.spec-value){display:inline;background:none;border:0;box-shadow:none;padding:0;color:inherit;font-size:13px;white-space:normal}
.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) .store-country{font-size:10px}
.commerce-main .commerce-page .woocommerce .allit-cart-table .product-quantity .qty{width:64px;min-height:44px;font-size:16px;background:#fff;border-color:#dfe4eb}
.cart-line-total{display:block;font-size:16px;font-weight:600;line-height:1.9;text-align:left;color:#202631}
.cart-unit-price{display:block;font-size:12px;line-height:1.9;margin-top:5px;color:#8b94a1;white-space:normal}
.commerce-main .commerce-page .woocommerce .woocommerce-Price-amount{white-space:nowrap}
.commerce-main .commerce-page .woocommerce .woocommerce-Price-amount bdi{display:inline-flex;align-items:baseline;gap:4px}
.commerce-main .commerce-page .woocommerce .woocommerce-Price-currencySymbol{font-size:12px;font-weight:400;white-space:nowrap;color:#778292}
.commerce-main .commerce-page .woocommerce .allit-cart-table td.actions{padding-top:20px}
.commerce-main .commerce-page .woocommerce .allit-cart-table td.actions .coupon{padding:12px;background:#fafbfd;border-color:#e7ebf1;margin-bottom:14px}
.commerce-main .commerce-page .woocommerce .cart-collaterals .cart_totals{background:#fff;border-color:#e3e8ef;padding:24px}
.commerce-main .commerce-page .woocommerce .cart_totals table{table-layout:fixed}
.commerce-main .commerce-page .woocommerce .cart_totals table :is(th,td){font-size:14px;padding-block:15px}
.commerce-main .commerce-page .woocommerce :is(.cart_totals,.checkout-order-panel) .woocommerce-shipping-totals{display:block;border-block:1px solid #e8ecf2;margin-block:8px;padding-block:14px;width:100%}
.commerce-main .commerce-page .woocommerce .cart_totals tbody{display:block;width:100%}
.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping){display:flex;align-items:center;justify-content:space-between;gap:12px}
.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping)>th{width:auto;flex:1}
.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping)>td{width:auto}
.commerce-main .commerce-page .woocommerce .woocommerce-shipping-totals>th{position:absolute;clip-path:inset(50%);width:1px!important;height:1px;padding:0!important;overflow:hidden}
.commerce-main .commerce-page .woocommerce .woocommerce-shipping-totals>td{display:block;width:100%;max-width:100%;padding:0;border:0;text-align:right;background:none!important}
.commerce-main .commerce-page .woocommerce .woocommerce-shipping-totals>td:before{display:none!important}
.commerce-main .commerce-page .woocommerce ul.woocommerce-shipping-methods{margin:0;padding:0;list-style:none;text-align:right}
.commerce-main .commerce-page .woocommerce ul.woocommerce-shipping-methods li{display:flex;align-items:flex-start;gap:9px;margin:0 0 8px;padding:12px;background:#f7f9fc;border:1px solid #edf0f5;border-radius:10px;line-height:1.8;text-align:right}
.commerce-main .commerce-page .woocommerce ul.woocommerce-shipping-methods li:last-child{margin-bottom:0}
.commerce-main .commerce-page .woocommerce ul.woocommerce-shipping-methods input[type=radio]{width:17px;height:17px;flex:0 0 17px;margin:5px 0 0;accent-color:#e01c38}
.commerce-main .commerce-page .woocommerce ul.woocommerce-shipping-methods label{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;flex:1;min-width:0;font-size:14px;line-height:1.9;margin:0;font-weight:400}
.commerce-main .commerce-page .woocommerce ul.woocommerce-shipping-methods label .amount{font-size:15px;font-weight:600}
.commerce-main .commerce-page .woocommerce ul#shipping_method.woocommerce-shipping-methods li label{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:8px;font-size:14px}
.commerce-main .commerce-page .woocommerce .woocommerce-shipping-destination{font-size:12px;line-height:2;margin:10px 2px 0;color:#7c8796;text-align:right;overflow-wrap:anywhere}
.commerce-main .commerce-page .woocommerce .woocommerce-shipping-destination strong{font-weight:400;color:#566375}
.commerce-main .commerce-page .woocommerce .shipping-calculator-button{display:inline-flex;align-items:center;min-height:36px;font-size:13px;color:#b7243a;margin-top:4px;text-underline-offset:4px}
.commerce-main .commerce-page .woocommerce .shipping-calculator-form{padding:14px 0 0;margin:0;background:transparent;border:0}
.commerce-main .commerce-page .woocommerce :is(.cart_totals,#order_review) tr.woocommerce-shipping-totals>td{display:block!important;text-align:right!important;width:100%;max-width:none;gap:0}
.commerce-main .commerce-page .woocommerce .woocommerce-shipping-calculator{width:100%;max-width:none;margin:0;text-align:right}
.commerce-main .commerce-page .woocommerce table .product-name :is(.cart-product-meta,.checkout-product-meta) dl.variation{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:5px 10px;margin:14px 0 0}
.commerce-main .commerce-page .woocommerce table .product-name :is(.cart-product-meta,.checkout-product-meta) dl.variation :is(dt,dd){margin:0;float:none;clear:none}
.commerce-main .commerce-page .woocommerce :is(.cart-product-meta,.checkout-product-meta) .allit-store-identity{display:inline-flex;align-items:center;gap:7px}
.commerce-main .commerce-page .woocommerce :is(.cart-product-meta,.checkout-product-meta) .country-name{display:none}
.commerce-main .commerce-page .woocommerce :is(.cart-product-meta,.checkout-product-meta) .store-country{display:inline-flex;align-items:center;min-width:0;gap:0;font-size:10px}
.commerce-main .commerce-page .woocommerce form.il-checkout-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
.commerce-main .commerce-page .woocommerce form.il-checkout-layout > :is(.woocommerce-NoticeGroup,.woocommerce-error,.woocommerce-message,.woocommerce-info){
    grid-column:1 / -1;
    min-width:0;
    overflow-wrap:anywhere;
}
.commerce-main .commerce-page .woocommerce form.il-checkout-layout > .woocommerce-NoticeGroup:empty{display:none}
.commerce-main .commerce-page .woocommerce .checkout-order-panel{background:#fff;padding:24px;border-color:#e3e8ef}
.checkout-product{display:flex;align-items:flex-start;gap:12px;min-width:0}
.checkout-product-photo{flex:0 0 60px;width:60px;aspect-ratio:1;background:#f8f9fb;border-radius:10px;padding:5px}
.commerce-main .commerce-page .woocommerce .checkout-product-photo img{width:100%;height:100%;object-fit:contain;max-width:none;mix-blend-mode:multiply;display:block}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table{table-layout:fixed;border-collapse:collapse;display:block;width:100%}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table :is(tbody,tfoot){display:block;width:100%}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table tbody tr.cart_item{display:block;padding-block:18px;border-bottom:1px solid #e9edf3}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table tbody tr.cart_item>td{display:block;width:100%;border:0;padding:0}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table tbody tr.cart_item>td.product-total{margin-top:12px;padding-inline-start:72px;text-align:left;font-size:16px;font-weight:600}
.checkout-item-count{display:inline-flex;align-items:center;padding:1px 8px;background:#f2f4f8;border-radius:5px;color:#718093;font-size:12px;line-height:1.9;margin-top:7px}
.commerce-main .commerce-page .woocommerce .checkout-product-info dl.variation{margin-top:9px}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table tfoot>tr:not(.shipping){display:flex;justify-content:space-between;align-items:center;gap:14px}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table tfoot>tr:not(.shipping)>:is(th,td){display:block;border:0;width:auto;padding:13px 0;text-align:right;font-size:14px;background:none}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table tfoot>tr.order-total{border-top:1px solid #e3e8ee;margin-top:8px;padding-top:5px}
.commerce-main .commerce-page .woocommerce #order_review table.shop_table tfoot>tr.order-total td{font-size:20px}
.commerce-main .commerce-page .woocommerce #payment{background:none;border-radius:0;margin-top:20px}
.commerce-main .commerce-page .woocommerce #payment ul.payment_methods{padding:0 0 16px}
.commerce-main .commerce-page .woocommerce #payment .place-order{padding:16px 0 0;margin:0}
.commerce-main .commerce-page .woocommerce #payment #place_order{min-height:50px;background:#df1734;border-color:#df1734;color:#fff;width:100%;margin:16px 0 0}
@media(max-width:1100px){.woocommerce-cart .commerce-main .commerce-page>.woocommerce{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.commerce-main .commerce-page .woocommerce .allit-cart-table thead .product-subtotal{width:130px}.cart-product-photo{flex-basis:72px}.cart-product{gap:10px}.commerce-main .commerce-page .woocommerce .allit-cart-form{padding:18px}.commerce-main .commerce-page .woocommerce form.il-checkout-layout{gap:18px}.commerce-main .commerce-page .woocommerce .checkout-order-panel{padding:20px}}
@media(max-width:900px){.woocommerce-cart .commerce-main .commerce-page>.woocommerce{display:block}.commerce-main .commerce-page .woocommerce .cart-collaterals{margin-top:22px}.commerce-main .commerce-page .woocommerce form.il-checkout-layout{grid-template-columns:minmax(0,1fr)}.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping)>th,.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping)>td{display:block}.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping)>td:before{display:none!important}}
@media(max-width:760px){
 .commerce-main .commerce-page .woocommerce .allit-cart-form{padding:18px 14px}.commerce-main .commerce-page .woocommerce .allit-cart-table{display:block}.commerce-main .commerce-page .woocommerce .allit-cart-table tbody{display:block;width:100%}.commerce-main .commerce-page .woocommerce .allit-cart-table thead{display:none}
 .commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,auto);grid-template-areas:none;gap:14px;margin:0;padding:20px 0;border-bottom:1px solid #e7ecf2;background:transparent}
 .commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item:first-child{padding-top:0}.commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item>td{display:block;width:auto;padding:0;border:0;background:transparent!important;text-align:right!important}.commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item>td:before{display:none!important}
 .commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item>.product-name{grid-area:auto;grid-column:1/-1}.commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item>.product-quantity{grid-area:auto;grid-column:1;align-self:center}.commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item>.product-subtotal{grid-area:auto;grid-column:2;align-self:center}.cart-product{padding-inline-end:24px;gap:12px}.cart-product-photo{flex-basis:82px;padding:6px}.commerce-item-title{font-size:15px}.commerce-item-original{font-size:12px}
 .commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item>.product-quantity{display:flex;align-items:center;gap:10px}.commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr.cart_item>.product-quantity:before{content:'تعداد';display:block!important;font-size:13px;color:#8b94a1;font-weight:400;float:none}
 .commerce-main .commerce-page .woocommerce .allit-cart-table .product-quantity .qty{width:62px;min-height:42px}.cart-line-total{font-size:16px}.commerce-main .commerce-page .woocommerce .allit-cart-table tbody>tr:last-of-type{display:block}.commerce-main .commerce-page .woocommerce .allit-cart-table td.actions{display:block;padding:20px 0 0}
 .commerce-main .commerce-page .woocommerce .allit-cart-table td.actions>.button{width:100%;min-width:0}.commerce-main .commerce-page .woocommerce .allit-cart-table td.actions .coupon{padding:10px;gap:8px}.commerce-main .commerce-page .woocommerce .allit-cart-table td.actions .coupon .button{font-size:13px;padding-inline:12px}
 .commerce-main .commerce-page .woocommerce .cart-collaterals .cart_totals,.commerce-main .commerce-page .woocommerce .checkout-order-panel{padding:20px 17px}.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping)>th{display:block}.commerce-main .commerce-page .woocommerce .cart_totals tbody>tr:not(.shipping)>td:before{display:none!important}
 .commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) dl.variation{gap:4px 8px}.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) dl.variation :is(dt,dd){font-size:13px}.commerce-main .commerce-page .woocommerce :is(.cart-product-info,.checkout-product-info,.cart-product-meta,.checkout-product-meta) :is(.spec-option,.spec-colorway-label,.spec-value){font-size:13px}
 .checkout-product{gap:10px}.checkout-product-photo{flex-basis:62px;width:62px}.commerce-main .commerce-page .woocommerce #order_review table.shop_table tbody tr.cart_item>td.product-total{padding-inline-start:0;font-size:17px;margin-top:12px}.commerce-main .commerce-page .woocommerce #order_review table.shop_table tbody tr.cart_item{padding-block:18px}
}
