/* ==================================================
 سبد خرید
================================================== */
.CART-content {
    background: var(--BG-B);
    border: 1px solid white;
    border-left: 0;
    border-right: 0;
    padding: 30px 0;
    margin-top: 40px;
    box-shadow: 0 -10px 20px 0px rgb(0 0 0 / 6%);
}

/* ==================================================
  جدول سبد خرید
================================================== */
table#edd_checkout_cart.ajaxed {
    width: 100%;
}

table#edd_checkout_cart.ajaxed tr {
    display: grid;
    grid-template-columns: 9fr 3fr 1fr;
}

/******* سربرگ *******/
table#edd_checkout_cart.ajaxed thead:nth-child(1) {
    background: var(--BG-A);
}

table#edd_checkout_cart.ajaxed thead:nth-child(1) th {
    padding: 20px;
    text-align: center;
    font-size: 25px;
    font-weight: 100;
    color: var(--A);
    font-family: 'javan';
}

/******* آیتم ها *******/
table#edd_checkout_cart.ajaxed tr.edd_cart_item {
    text-align: center;
    background: var(--BG);
}

table#edd_checkout_cart.ajaxed tr.edd_cart_item td {
    border-bottom: solid var(--BG-border) 1px;
    padding: 20px 5px;
}

/******* آیتم نام محصول ، حذف عکس محصول *******/
table#edd_checkout_cart.ajaxed tr.edd_cart_item .edd_cart_item_name {
    font-weight: 600;
    font-size: 17px;
}

table#edd_checkout_cart.ajaxed tr.edd_cart_item .edd_cart_item_name .edd_cart_item_image {
    display: none;
}

/******* آیتم قیمت *******/
.edd_cart_item_price .edd-price-amount {
    text-align: center;
    color: var(--E);
    font-weight: 600;
    font-size: 25px;
}

.edd_cart_item_price .edd-price-currency {
    margin-right: 10px;
    color: var(--A);
    font-size: 15px;
}

/******* آیتم حذف *******/
table#edd_checkout_cart.ajaxed .edd_cart_actions a.edd_cart_remove_item_btn {
    background-color: var(--M);
    color: var(--F);
    border-radius: 5px;
    padding: 5px 10px;
}

table#edd_checkout_cart.ajaxed .edd_cart_actions a.edd_cart_remove_item_btn:hover {
    background-color: var(--H);
    color: var(--BG);
}

/*----------------------------------
   ریسپانسیو 
----------------------------------*/
@media screen and (max-width: 992px) {
    table#edd_checkout_cart.ajaxed thead:nth-child(1) {
        display: none;
    }

    table#edd_checkout_cart.ajaxed tr {
        grid-template-columns: 1fr;
    }

    table#edd_checkout_cart.ajaxed tr.edd_cart_item .edd_cart_item_name {
        background: var(--BG-C);
        padding: 10px;
    }

    table#edd_checkout_cart.ajaxed td.edd_cart_actions {
        background-color: var(--BG-B);
        text-align: left;
    }

    table#edd_checkout_cart.ajaxed tr.edd_cart_item td:nth-child(3) {
        border-bottom: 0;
    }

    table#edd_checkout_cart.ajaxed .edd_cart_actions a.edd_cart_remove_item_btn {
        padding: 10px 40px;
    }

    table#edd_checkout_cart.ajaxed tr.edd_cart_item td:nth-child(2) {
        text-align: right;
        padding: 10px;
        background-color: var(--BG-D);
    }

    table#edd_checkout_cart.ajaxed tr.edd_cart_item span.edd-price-number {
        font-size: 30px;
    }

    table#edd_checkout_cart.ajaxed tr.edd_cart_item span.edd-price-currency {
        font-size: 17px;
    }

}

/* ==================================================
  بلوک اضافه شده به ادامه جدول سبد خرید
================================================== */
.custom-cart-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.custom-cart-block .custom-total-value {
    width: 100%;
    text-align: center;
    color: var(--E);
    font-weight: 600;
    font-size: 27px;
    background: white;
    margin-top: 10px;
    max-width: 768px;
}

.custom-cart-block .custom-total-value .currency {
    color: var(--A);
    margin-right: 5px;
    font-size: 15px;
    font-weight: 100;
}

.custom-cart-block a.custom-pay-btn {
    margin-top: 20px;
    min-width: 380px;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    color: var(--F);
    border: 1px solid var(--B-border);
    background-color: var(--B);
    font-size: 25px;
    font-weight: 100;
    font-family: javan;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.50);
}

.custom-cart-block a.custom-pay-btn:hover {
    border: 1px solid var(--C-border);
    background-color: var(--C);
}

.custom-cart-block a.custom-pay-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--F);
    background-color: white;
    min-width: 50px;
    min-height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    font-size: 38px;
}

/*----------------------------------
   ریسپانسیو 
----------------------------------*/
@media screen and (max-width: 992px) {
    .custom-cart-block {
        margin-top: 10px;
    }
}

@media screen and (max-width: 430px) {
    .custom-cart-block a.custom-pay-btn {
        min-width: 100%;
    }
}

/* ==================================================
 سبد خرید خالی است
================================================== */
#edd_checkout_wrap {
    margin: 30px 0;
}

#edd_checkout_wrap span.edd_empty_cart {
    text-align: center;
}

#edd_checkout_wrap span.edd_empty_cart p strong {
    color: var(--C);
}