.cart-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.cart {
    display: flex;
    gap: 20px;
}

.cart-items {
    flex: 2;
}

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

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
    margin-left: 15px;
}

.item-details h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.item-details p {
    color: #888;
}

.item-quantity input {
    width: 50px;
    text-align: center;
}

.item-total p {
    color: #333;
    font-weight: bold;
}

.remove-item {
    background: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

.remove-item:hover {
    background: #e43d3d;
}

.cart-summary {
    flex: 1;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.cart-summary h2 {
    margin-bottom: 20px;
    color: #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.checkout-btn,
.update-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.checkout-btn {
    background: #4CAF50;
    color: #fff;
}

.checkout-btn:hover {
    background: #45a049;
}

.update-btn {
    background: #2196F3;
    color: #fff;
}

.update-btn:hover {
    background: #1e87d6;
}