/**
 * CART PAGE STYLES
 * Layout and cart items only - Order Summary is in cart-sidebar.css
 */

.cart-page {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
    background: #f8f9fa;
}

.cart-header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 20px;
}

.cart-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #1c1824;
    margin: 0;
}

.cart-header p {
    color: #666;
    margin-top: 5px;
}

.cart-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    align-items: center;
}

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

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1c1824;
    margin-bottom: 4px;
}

.item-price {
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-form {
    display: flex;
    align-items: center;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.qty-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.qty-display {
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    font-size: 1rem;
    color: #1c1824;
    padding: 0 5px;
}

.remove-btn {
    background: none;
    color: #dc2626;
    border: none;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

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

.item-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c1824;
    min-width: 80px;
    text-align: right;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-cart h2 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.empty-cart p {
    color: #666;
    margin-bottom: 25px;
}

.shop-btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.shop-btn:hover {
    background: #5a6fd6;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .item-controls {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .item-total {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
}