.cart-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.cart-container h1 {
    margin-bottom: 30px;
    color: #333;
}

.empty-cart {
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-cart i {
    color: #ccc;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 20px;
}

.item-details {
    flex-grow: 1;
}

.item-details h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2em;
}

.item-price {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.1em;
    margin: 10px 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.quantity-btn {
    background: #f1f1f1;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:not(:disabled):hover {
    background: #e0e0e0;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity {
    font-size: 1.1em;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.remove-btn:hover {
    background: #ff3242;
}

.item-total {
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
    margin-left: 20px;
    min-width: 120px;
    text-align: right;
}

.cart-summary {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.total-amount {
    font-weight: bold;
    color: #2c3e50;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s;
}

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

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #666;
    text-decoration: none;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
    text-decoration: none;
}