/* Product Designer - Product Selector Specific Styles */

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card .bg-gradient-to-br {
    transition: all 0.3s ease;
}

.product-card:hover .bg-gradient-to-br {
    filter: brightness(1.1);
}

/* Category Scroll */
.category-scroll {
    scrollbar-width: thin;
    scrollbar-color: #6366F1 #334155;
}

.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: #334155;
    border-radius: 3px;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: #6366F1;
    border-radius: 3px;
}

.category-scroll::-webkit-scrollbar-thumb:hover {
    background: #8B5CF6;
}

/* Category Filter Buttons */
.category-filter {
    transition: all 0.2s ease;
}

.category-filter:hover {
    transform: translateY(-2px);
}

.category-filter.active {
    background: linear-gradient(to right, #6366F1, #8B5CF6);
    color: white;
    border-color: transparent;
}

/* Product Tags */
.product-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #0F172A;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #94A3B8;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: #6366F1;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    z-index: 10;
}

/* Best Seller Badge */
.bestseller-badge {
    background: #10B981;
}

/* Hot Badge */
.hot-badge {
    background: #EF4444;
}

/* New Badge */
.new-badge {
    background: #F59E0B;
}

/* Loading Animation */
@keyframes cardPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.product-card.loading {
    animation: cardPulse 1.5s ease-in-out infinite;
    pointer-events: none;
}

/* Grid Layout Transitions */
#products-grid {
    transition: opacity 0.3s ease;
}

#products-grid.filtering {
    opacity: 0.5;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 1rem;
}

.empty-state svg {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: #334155;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #94A3B8;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 640px) {
    .product-card .text-lg {
        font-size: 1rem;
    }
    
    .product-card .text-sm {
        font-size: 0.875rem;
    }
    
    .category-filter {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}