/* Cart Page Styles */
.cart-section {
    padding: 100px 0;
    background: #f9f9f9;
    min-height: 70vh;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.empty-cart i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h3 {
    color: #666;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #888;
    margin-bottom: 30px;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-items {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    margin-bottom: 5px;
    color: #333;
}

.item-price {
    color: #D32F2F;
    font-weight: 600;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    font-weight: 600;
}

.item-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #D32F2F;
    min-width: 80px;
    text-align: right;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.remove-btn:hover {
    color: #cc0000;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.clear-cart-btn {
    background: none;
    border: 2px solid #ff4444;
    color: #ff4444;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.clear-cart-btn:hover {
    background: #ff4444;
    color: white;
}

.continue-shopping {
    color: #D32F2F;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: #333;
}

.summary-details {
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.summary-row.total {
    border-bottom: none;
    font-size: 1.3rem;
    padding-top: 15px;
}

.checkout-btn {
    display: block;
    width: 100%;
    background: #D32F2F;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    background: #B71C1C;
}

.payment-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 576px) {
    .cart-section {
        padding: 80px 0;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .clear-cart-btn, .continue-shopping {
        justify-content: center;
    }
}