/* Cart Specific Styles */
.cart-item-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #fff;
    overflow: hidden;
}

.cart-item-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-item-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.summary-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    position: sticky;
    top: 100px;
}

.mobile-checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    border-top: 1px solid #e2e8f0;
}

.quantity-selector {
    max-width: 100px;
}

.category-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}

.item-remove-btn {
    color: #ef4444;
    background: #fee2e2;
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.item-remove-btn:hover {
    background: #fecaca;
    color: #dc2626;
}

.price-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.original-price-text {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-light);
}

/* Custom Scrollbar for Category Sections */
.category-section {
    margin-bottom: 2rem;
}

.category-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 991px) {
    .summary-card {
        position: static;
        margin-top: 2rem;
        margin-bottom: 5rem; /* Space for mobile bar */
    }
    
    .cart-item-img {
        height: 100px;
    }
}
