.rtl-woo-cart .card{
    border: unset;
    border-radius: 16px;
}
.rtl-header-right{
    display:flex;
    align-items: center;
    gap:16px;
}
.woocommerce table.shop_table, .woocommerce table.shop_table td{
    border:unset;
    margin: unset;
}

.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 16px;
}
.rtl-woo-cart tr.woocommerce-cart-form__cart-item.cart_item {
    margin-bottom: 24px;
}

.shop_table tr.cart_item td {
    padding: 10px 12px;
    background: #F5F7F8;
}
.shop_table tr.cart_item td .card-td-text,
.shop_table .card-th-text{
    font-size: 14px;
    color: #0A0731B2;
    font-weight: normal !important;
}
.shop_table td.product-name a{
    color:#0A0731;
    font-size: 16px;
    font-weight:500;
}


.shop_table td .woocommerce-Price-amount bdi{
    color: #0A0731;
    font-size: 20px;
    font-weight: 500;
}
.shop_table td .woocommerce-Price-amount bdi .woocommerce-Price-currencySymbol{
    font-size: 14px !important;
    font-weight: normal !important;
    color: var(--color_text_secondary);
}


/* برای اینکه گوشه‌ها گرد شوند */
.shop_table tr.cart_item td:first-child {
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}
.shop_table tr.cart_item td:last-child {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}

.shop_table .product-quantity .quantity .qty{
    text-align: center;
    background: #0A073112;
    border: none;
    outline: none;
    width: 36px;
    border-radius: 6px;
    height: 36px;
}
.shop_table .product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop_table .product-remove a i{
    font-weight:600;
    color: black;
}
.shop_table .product-remove a:hover i{
    color: var(--color-white);
}

/*coupon styles*/
table.shop_table_responsive tr td.actions .coupon{
    background: transparent;
}
.shop_table .coupon{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.shop_table td.actions .coupon input,
.shop_table td.actions .coupon button {
    width: 100% !important;
    border-radius: 12px;
    padding: 12px 20px !important;
    height: 56px;
}
.shop_table td.actions .coupon input{
    background-color: #F5F7F8;
    border: none !important;
}
.shop_table td.actions .coupon button{
    background-color: #686BFF;
    color: var(--color-white);
}
/*update cart styles*/
.woocommerce-cart-form .update-cart-items {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    padding: 10px 10px 0;
    background: #f9fafb;
    border-radius: 16px 16px 0 0;
}
.woocommerce-cart-form .update-cart-items::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -16px;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle 16px at top right, #00000000 98%, #f9fafb);
}
.woocommerce-cart-form .update-cart-items::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -16px;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle 16px at top left, #00000000 98%, #f9fafb);
}
.woocommerce-cart-form .update-cart-items button{
    color: var(--color-white) !important;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(to bottom, #F7BB54, #F59E0B) !important;
    padding: 17px 35px !important;
    border-radius: 10px;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals{
    float: unset;
    width: 100%;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    background: var(--color_accent);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    padding: 20px;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
    background: var(--color_accent);
}

/**** checkout Styles ****/
.woocommerce table.shop_table tbody th{
    border:none;
}
form .rtl-checkout .rtl-checkout-fields label{
    color: #0A0731;
    font-weight:500;
}
form .rtl-checkout .woocommerce-input-wrapper input.input-text{
    border: none;
    background-color: #0A073108;
    border-radius: 12px;
    padding: 12px 16px;
}
table.shop_table.woocommerce-checkout-review-order-table {
    background: #f7f7f9;
    border-radius: 16px;
    margin-bottom: 24px;
}
.woocommerce-checkout #payment{
    background: transparent;
}
.woocommerce-checkout #payment ul.payment_methods{
    border: unset;
    background: #f7f7f9;
    border-radius: 12px;
    margin-bottom: 24px;
}
.woocommerce-checkout #payment div.form-row{
    padding:unset;
}
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order{
    width:100%;
    font-size: 16px;
    font-weight: normal;
    padding: 16px 17px;
    background-color: var(--color_accent);
    border-radius: 12px;
}
@media (min-width: 768px) {
    .shop_table tr.cart_item td:first-child {
        padding-right:24px;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        border-top-left-radius: unset;
    }
    .shop_table tr.cart_item td:last-child {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: unset;
    }
    .shop_table .coupon{
        flex-direction: row;
    }
    .shop_table td.actions .coupon input{
        width: 225px !important;
    }
    .woocommerce-cart-form .update-cart-items {
        left: 5%;
        transform: unset;
    }
    .woocommerce-cart-form .update-cart-items button{
        padding: 17px 72px !important;
    }
    .cart_totals .shop_table tr td{
        float: left;
    }
    .woocommerce-cart .cart-collaterals .cart_totals tr th,
    .woocommerce-cart .cart-collaterals .cart_totals tr td
    {
        border-top: unset;
    }
    /**** checkout Styles ****/
    table.shop_table.woocommerce-checkout-review-order-table td{
        float: left;
    }
    table.shop_table.woocommerce-checkout-review-order-table {
        background: transparent;
        margin-bottom: 24px;
    }

}

/**** Thankyou page styles ****/
.tankyou-page-wrapper, .tankyou-page-wrapper.checkout-filed {
    position: relative;
    background-color: #BBF9E5;
    padding: 54px 0 65px 0;
    border-radius: 16px;
    margin: 30px 0 80px 0;
    overflow: visible;
}
.tankyou-page-wrapper.checkout-filed{
    background-color: #FDEDED;
}
.tankyou-inner {
    font-size: 16px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 10px;
}
.tankyou-inner p.bold-note{
    font-weight: 600;
}
.tankyou-inner p.thin-note{
    font-weight: 300;
}
.checkout-filed .tankyou-inner p.bold-note{
    font-size: 24px;
    font-weight: 500;
    color: var(--color_text_error);
}
.checkout-filed .tankyou-inner p.thin-note{
    font-weight: 400;
}
.tankyou-page-wrapper img {
    position: absolute;
    left: 50%;
    transform: translate(-50% , 50%);
    bottom: 0;
}