/* استایل‌های سفارشی سبد خرید */
.cart-page-container {
    padding: 50px 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.product-thumbnail img {
    width: 80px;
    height: auto;
}

.product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.product-price, .product-subtotal {
    font-weight: 500;
}

.product-quantity .quantity {
    display: flex;
    align-items: center;
}

.product-quantity input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 5px;
}

.product-remove a {
    color: #e74c3c;
    font-size: 20px;
    text-decoration: none;
}

.actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px 0;
}

.coupon {
    display: flex;
    align-items: center;
}

.coupon input {
    margin-right: 10px;
    padding: 8px 12px;
    border: 1px solid #ddd;
}

button.button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.button:hover {
    background-color: #45a049;
}

.cart_totals {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.cart_totals h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.cart_totals .shop_table > div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart_totals .order-total {
    font-weight: bold;
    font-size: 18px;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout a {
    display: block;
    width: 100%;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.wc-proceed-to-checkout a:hover {
    background-color: #45a049;
}

/* استایل‌های واکنش‌گرا */
@media (max-width: 768px) {
    .cart-item {
        flex-wrap: wrap;
        position: relative;
        padding-bottom: 30px;
    }
    
    .cart-item > div {
        margin-bottom: 10px;
    }
    
    .product-thumbnail {
        width: 30%;
    }
    
    .product-name {
        width: 70%;
    }
    
    .product-price, .product-quantity, .product-subtotal {
        width: 33.33%;
        text-align: center;
    }
    
    .product-remove {
        position: absolute;
        bottom: 10px;
        right: 0;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .coupon {
        margin-bottom: 15px;
    }
}