/* Cart Page Styles */

/* Cart Form */
.woocommerce-cart-form {
    margin-bottom: 30px;
}

/* Order Summary Section */
.ceck-out-right-div {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.page-titel {
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

/* Cart Items */
.items-details {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.items-details:last-child {
    border-bottom: none;
}

/* Product Image */
.pro-img {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 15px;
}

.pro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Title */
.cart-products-titel {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    padding-right: 15px;
}

/* Quantity Controls */
.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    padding: 8px 0;
}

/* Remove Item Button */
.close-bn-ps {
    background: none;
    border: none;
    color: #999;
    padding: 5px;
    transition: color 0.3s;
}

.close-bn-ps:hover {
    color: #dc3545;
}

/* Item Price */
.items-price h2 {
    color: #333;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

/* Order Details Sidebar */
.oder-right-details {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.oder-right-details h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

/* Price Section */
.price-sec-order p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.price-am span {
    font-weight: 500;
    color: #333;
}

.discount-am {
    color: #28a745;
}

.delivery-am {
    color: #666;
}

/* Total Price */
.total-price {
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.total-price p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Coupon Section */
.form-group {
    margin-top: 20px;
}

.new-input {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px 12px;
    margin-right: 10px;
}

.cp-bn {
    background: #666;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    border: none;
    transition: background 0.3s;
}

.cp-bn:hover {
    background: #555;
}

/* Update Cart Button */
.update-cart {
    background: #666;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    width: 100%;
    margin: 15px 0;
    transition: background 0.3s;
}

.update-cart:hover {
    background: #555;
}

/* Checkout Button */
.checkout-bn {
    background: #007bff;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
}

.checkout-bn:hover {
    background: #0056b3;
    color: white;
}

.checkout-bn i {
    margin-left: 10px;
}

/* Cross-sells Section */
.cross-sells {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.cross-sells h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Empty Cart Message */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .oder-right-details {
        margin-top: 30px;
    }

    .items-details .row {
        gap: 20px;
    }

    .pro-img {
        width: 60px;
        height: 60px;
    }

    .cart-products-titel {
        font-size: 14px;
    }

    .items-price h2 {
        font-size: 16px;
    }
} 