/* ==========================================================
   ESTEEL110 - Cart & Checkout Premium
   WooCommerce Cart / Checkout
========================================================== */


/* پس زمینه صفحات */

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main{


    background:#050505;


    padding:50px 20px;


}



/* باکس‌های اصلی */

.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-checkout-review-order,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields{


    background:

    linear-gradient(
        145deg,
        #171717,
        #090909
    );


    border:1px solid #333;


    border-radius:22px;


    padding:30px;


}



/* عنوان‌ها */

.woocommerce-cart h2,
.woocommerce-checkout h3{


    color:#fff!important;


    font-size:25px;


    font-weight:800;


}



/* جدول سبد خرید */

.woocommerce table.shop_table{


    background:#111!important;


    border:none!important;


    border-radius:15px;


    overflow:hidden;


}



/* سر جدول */

.woocommerce table.shop_table th{


    background:#222!important;


    color:#fff!important;


    padding:18px!important;


}



/* سلول‌ها */

.woocommerce table.shop_table td{


    color:#ccc!important;


    padding:18px!important;


    border-color:#333!important;


}



/* عکس محصول */

.woocommerce-cart table.cart img{


    width:90px;


    border-radius:12px;


}



/* حذف محصول */

.woocommerce a.remove{


    color:#aaa!important;


}



.woocommerce a.remove:hover{


    background:#fff!important;


    color:#000!important;


}



/* ورودی‌ها */

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select{


    background:#0d0d0d!important;


    border:1px solid #333!important;


    border-radius:12px!important;


    color:#fff!important;


    padding:15px!important;


}



.woocommerce input.input-text:focus,
.woocommerce textarea:focus{


    border-color:#aaa!important;


    outline:none;


}



/* خلاصه سفارش */

.cart_totals,
.woocommerce-checkout-review-order{


    color:#ddd;


}



/* جمع کل */

.cart_totals table th,
.cart_totals table td{


    color:#fff!important;


}



/* دکمه‌ها */

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button{


    background:

    linear-gradient(
        135deg,
        #999,
        #222
    )!important;


    color:#fff!important;


    border:none!important;


    border-radius:14px!important;


    padding:15px 25px!important;


    font-weight:800!important;


    transition:.3s;


}



.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover{


    transform:translateY(-3px);


    background:

    linear-gradient(
        135deg,
        #fff,
        #777
    )!important;


    color:#000!important;


}



/* کوپن */

.woocommerce-form-coupon{


    background:#111;


    border:1px solid #333;


    border-radius:18px;


    padding:25px;


}



.woocommerce-form-coupon h2{


    color:#fff;

}



/* پرداخت */

#payment{


    background:#111!important;


    border:1px solid #333;


    border-radius:18px!important;


    padding:20px;


    color:#ccc;


}



#payment label{


    color:#fff!important;


}



/* پیام‌ها */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error{


    background:#111!important;


    color:#ddd!important;


    border-radius:15px!important;


    border-right:4px solid #aaa;


    padding:18px!important;


}



/* موبایل */

@media(max-width:768px){


    .woocommerce-cart-form,
    .cart-collaterals,
    .woocommerce-checkout-review-order,
    .woocommerce-billing-fields,
    .woocommerce-shipping-fields,
    .woocommerce-additional-fields{


        padding:20px;


    }



    .woocommerce table.shop_table td,
    .woocommerce table.shop_table th{


        padding:12px!important;


    }


}
/* =====================================
   ESTEEL110 - Add To Cart Text Center Fix
===================================== */

.single-product .single_add_to_cart_button{

    height:58px!important;

    display:flex!important;

    align-items:center!important;

    justify-content:center!important;

    line-height:1!important;

    padding:0 35px!important;

    text-align:center!important;

}


.single-product .single_add_to_cart_button span{

    line-height:1!important;

}


/* موبایل */

@media(max-width:768px){

.single-product .single_add_to_cart_button{

    height:54px!important;

    width:100%!important;

}

}

/* =====================================
   ESTEEL110 - Cart Buttons Text Align
===================================== */


/* دکمه بروزرسانی سبد خرید و اعمال تخفیف */

.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button{

    height:52px!important;

    min-height:52px!important;

    padding:0 25px!important;

    display:inline-flex!important;

    align-items:center!important;

    justify-content:center!important;

    line-height:1!important;

    white-space:nowrap!important;

}


/* فیلد کد تخفیف */

.woocommerce-cart .coupon{

    display:flex!important;

    align-items:center!important;

    gap:10px!important;

}


.woocommerce-cart .coupon input.input-text{

    height:52px!important;

    border-radius:14px!important;

}


/* موبایل */

@media(max-width:600px){

.woocommerce-cart .coupon{

    flex-direction:column;

    align-items:stretch!important;

}


.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button{

    width:100%!important;

}

}
/* =====================================
   ESTEEL110 - Cart Quantity Box Fix
===================================== */


/* باکس تعداد خرید در سبد خرید */

.woocommerce-cart .quantity{

    display:flex!important;

    align-items:center!important;

    justify-content:center!important;

}


/* خود کادر تعداد */

.woocommerce-cart .quantity .qty{

    width:70px!important;

    height:52px!important;

    background:#111!important;

    color:#fff!important;

    border:1px solid #444!important;

    border-radius:7px!important;

    text-align:center!important;

    font-size:14px!important;

    font-weight:800!important;

    padding:0!important;

}


/* جلوگیری از مخفی شدن اعداد */

.woocommerce-cart .quantity input.qty{

    opacity:1!important;

    visibility:visible!important;

}


/* فلش های تعداد در مرورگر */

.woocommerce-cart .quantity .qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity .qty::-webkit-outer-spin-button{

    opacity:1;

}


/* موبایل */

@media(max-width:600px){

.woocommerce-cart .quantity .qty{

    width:110px!important;

}

}