.custom-cart-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 20px;
}

.custom-cart-summary {
    width:453px ;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    background: #F0F0F1;
    border: 0 !important;
    border-radius: 12px !important;
}
.custom-cart-container input[type=text]{
border: 0 !important;
border-radius: 12px  !important;
}
#coupon-code{
    background-color: #F0F0F1;
    color:#A3A5A7 ;
}

.custom-cart-summary h3 {
    margin-bottom: 30px;
    color: #172B4D;
    font-size: 28px;
    font-weight: 900;
}
.custom-cart-summary span{
    color:#44546F ;
    font-size:18px ;
    font-weight: 400;
}
.custom-price-row {
    border-bottom: 1px solid #A3A5A7 ;
    padding-bottom: 12px;
}
.custom-price-row bdi {
    color: #172B4D !important;
    font-weight: 400 !important;
}
.custom-price-row,
.custom-price-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

 .custom-price-total strong{
    color: #172B4D;
    font-weight: 900;
}
.custom-price-total bdi{
    color: #172B4D !important;
    font-weight: 900 !important;
}

.custom-checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background:#172B4D ;
    color: #fff !important;
    text-decoration: none;
    border-radius: 12px;
    margin-top: 30px;
}

.custom-checkout-button:hover{
    color: #fff !important;
}

.custom-cart-items {
    width: 65%;
}

.custom-cart-item {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    align-items: center;
}

.custom-cart-item-image{
    margin-left: 20px;
}

.custom-cart-item-image img {
 width: 120px;
 height: 120px;

}
.custom-cart-item-details .items{
    display: flex;
    justify-content: space-between;
}
.custom-cart-item-details {
    flex: 1;
    padding: 0 10px;
}
.custom-cart-item-details h4{
    color: #172B4D;
    margin-bottom: 20px;
    font-family: 24px;
}
.woocommerce-Price-amount bdi {
    color: #172B4D;
    font-weight: 900;
}
.custom-cart-qty {
    display: flex;
    align-items: center;
    gap: 5px;
}
.qty-plus , .qty-minus {
    width: 35px !important;
    height: 35px !important;
    border-radius: 8px !important;
    padding: 10px !important;
    border: solid 1px #172B4D !important;
}
.qty-plus::before , .qty-minus::before{
    background-color: none !important;
}
.qty-display{
    margin: 0 5px ;
}
.remove-item{
    border: 0 !important; 
    background-color: none !important;
    margin-right: 10px;
    background-color: white !important;
}
.custom-cart-item-details [type=button] [type=submit]{
    background-color: white !important;
}
.remove-item img{
    width: 25px;
}
.remove-item:hover{
background-color: white !important;
}
.qty-plus:hover , .qty-minus:hover{
background-color: white !important;
}
.custom-cart-qty input{
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px;
    padding: 5px;
    color: black;
}
.custom-cart-qty button {
    background: none;
    border: 1px solid #ccc;
}

.custom-cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.applied-coupons{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.coupon-form{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
}
.remove-coupon{
    margin-right: 10px;
    font-size: 16px !important;
    padding: 0 10px !important;
}
.applied-coupons h4{
    font-size: 16px ;
}
#apply-coupon{
    font-size: 16px !important;
    padding: 0 5px !important;
}
.custom-cart-coupon {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 10px;
    margin-top: 30px;
}

.custom-cart-coupon input {
    flex: 1;
}

.custom-cart-coupon button {
    background-color: #CECECE ;
    color: #A3A5A7 ;
    border: 0 !important;
    border-radius: 12px  !important;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
}

.custom-cart-coupon button:hover{
    background-color: #CECECE;
    color: #A3A5A7;
}

.custom-cart-coupon button:enabled {
    background: #172B4D;
    color: #fff;
}
.custom-cart-coupon button:enabled:hover {
    background: #172B4D;
    color: #fff;
}
.custom-cart-qty button{
    line-height: 0px !important;
}
/* استایل‌های ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .custom-cart-container {
        flex-direction: column-reverse;
        gap: 15px;
        padding: 20px !important;
    }
    
    .custom-cart-summary,
    .custom-cart-items {
        width: 100%;
    }
    
    .custom-cart-item {
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
    }
    
    .custom-cart-item-image {
        margin-left: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .custom-cart-item-details .items {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .custom-cart-item-actions {
        align-items: flex-start;
    }
    
    .coupon-form {
        flex-direction: column;
    }
    
    #apply-coupon {
        width: 100%;
    }
    
    .applied-coupons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .custom-cart-qty {
        justify-content: flex-start;
    }
    
    .custom-price-row,
    .custom-price-total {
        flex-direction: row !important;
        gap: 5px;
    }
}