/* Cart Page Styles */
body {
    background-image: url('/images/home-bg.jpg');
    background-size: 100% auto;
    background-attachment: scroll;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
}

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

.cart-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    text-align: center;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    background: rgba(15, 10, 30, 0.5);
    border: 1px solid rgba(48, 161, 231, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-item-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

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

.cart-item-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.cart-item-category {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-item-price {
    font-size: 20px;
    font-weight: 700;
    color: #30a1e7;
    margin-right: 20px;
}

.cart-item-remove {
    background: transparent;
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: rgba(255, 68, 68, 0.1);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #888;
    margin-bottom: 20px;
}

.cart-empty-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cart-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.cart-summary {
    background: rgba(15, 10, 30, 0.7);
    border: 1px solid rgba(48, 161, 231, 0.3);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    margin-left: auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.summary-row.total {
    font-size: 24px;
    font-weight: 700;
    color: #30a1e7;
    padding-top: 15px;
    border-top: 1px solid rgba(48, 161, 231, 0.3);
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 18px;
}

@media (max-width: 768px) {
    body {
        /* Mobile-only: background image 350px height, maintains aspect ratio */
        background-size: auto 350px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-summary {
        max-width: 100%;
    }
}
