/* ========== CART PAGE STYLES ========== */
.cart-page {
    padding: 100px 0 3rem;
    min-height: 100vh;
}

.cart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cart-header h1 {
    font-size: 2rem;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* Cart Items */
.cart-items {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
}

.cart-item-icon i {
    font-size: 2rem;
    color: #ff4444;
}

.cart-item-details h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cart-item-details p {
    font-size: 0.7rem;
    color: #aaa;
}

.cart-item-price {
    font-size: 0.8rem;
    color: #ff4444;
    margin-top: 0.2rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    padding: 0.2rem 0.5rem;
}

.qty-btn {
    background: none;
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.qty-btn:hover {
    background: #ff4444;
}

.qty-number {
    min-width: 30px;
    text-align: center;
}

.cart-item-subtotal {
    font-weight: 700;
    color: #ff4444;
    min-width: 70px;
}

.remove-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}

.remove-btn:hover {
    color: #dc3545;
}

/* Cart Summary */
.cart-summary {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff4444;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: 0.3s;
}

.btn-checkout:hover {
    transform: translateY(-2px);
}

.btn-continue {
    display: inline-block;
    margin-top: 1rem;
    color: #ff4444;
    text-decoration: none;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-cart i {
    font-size: 4rem;
    color: #aaa;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }
}
