/**
 * Vendor Detail Page - Enhanced Styling
 * This file contains styles specific to vendor detail pages
 */

/* Vendor Featured Products Section */
.vendor-featured-section {
    padding: 40px 0;
    background: #fff;
}

.vendor-featured-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.vendor-featured-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Sort Controls */
.sort-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sort-label {
    font-size: 14px;
    color: #666;
    margin-right: 8px;
}

.sort-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: #f0f7ff;
}

.sort-btn.active {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

/* Product Grid */
.vendor-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Loading State */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1877f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
    color: #999;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .vendor-featured-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .vendor-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .sort-controls {
        width: 100%;
        overflow-x: auto;
    }
}

