/* Marketplace Specific Styles */

/* Filter Scroll */
.filter-scroll {
    scrollbar-width: thin;
    scrollbar-color: #6366F1 #334155;
}

.filter-scroll::-webkit-scrollbar {
    height: 6px;
}

.filter-scroll::-webkit-scrollbar-track {
    background: #334155;
    border-radius: 3px;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: #6366F1;
    border-radius: 3px;
}

.filter-scroll::-webkit-scrollbar-thumb:hover {
    background: #8B5CF6;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Favorite Button */
.favorite-btn {
    transition: all 0.2s ease;
}

.favorite-btn.active svg {
    fill: #EF4444;
    stroke: #EF4444;
}

/* View Options */
.view-option {
    transition: all 0.2s ease;
}

.view-option:hover {
    background: #334155;
}

.view-option.active {
    background: #6366F1;
    color: white;
}

/* List View */
.list-view-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.list-view-item:hover {
    transform: translateX(4px);
    border-color: #6366F1;
}

.list-view-item .thumbnail {
    width: 120px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.list-view-item .info {
    flex: 1;
}

.list-view-item .actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .list-view-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .list-view-item .thumbnail {
        width: 100%;
        height: 160px;
    }
    
    .list-view-item .actions {
        width: 100%;
    }
    
    .list-view-item .actions button {
        flex: 1;
    }
}