/* Premium Marketplace Styling - Match Homepage Design */

/* Hero and Header Sections */
.marketplace-hero {
    background: #1A1A1A;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.marketplace-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    opacity: 0.1;
    z-index: 1;
}

.marketplace-hero .container {
    position: relative;
    z-index: 2;
}

.marketplace-header {
    background: #1A1A1A;
    padding: 3rem 0;
    border-bottom: 3px solid #FFD700;
    position: relative;
    overflow: hidden;
}

.marketplace-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    opacity: 0.1;
    z-index: 1;
}

.marketplace-header .container {
    position: relative;
    z-index: 2;
}

/* Premium Search Box */
.hero-search-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
    border: 2px solid #FFD700;
    backdrop-filter: blur(10px);
}

/* Category Showcase Cards */
.category-showcase-card {
    background: #2C2C2C !important;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-showcase-card.border-yellow-vibrant {
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.category-showcase-card.border-blue-vibrant {
    border: 2px solid #0066CC;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}

.category-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.category-showcase-card:hover.border-yellow-vibrant {
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.category-showcase-card:hover.border-blue-vibrant {
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.4);
}

.category-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Premium Product Cards */
.premium-product-card {
    background: #2C2C2C;
    border: 2px solid #444;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    position: relative;
}

.premium-product-card:hover {
    transform: translateY(-8px);
    border-color: #FFD700;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
}

.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.premium-product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1A1A1A;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
}

.vendor-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFD700;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid #FFD700;
}

.product-info {
    padding: 1.5rem;
}

.price-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Filter Sidebar */
.filter-sidebar {
    background: #2C2C2C;
    border: 2px solid #444;
    border-radius: 15px;
    padding: 2rem;
    height: fit-content;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.filter-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.filter-section h6 {
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Elements */
.search-input {
    background: #2C2C2C;
    border: 2px solid #666;
    color: #CCCCCC;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.search-input:focus {
    background: #2C2C2C;
    border-color: #FFD700;
    color: #CCCCCC;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.search-input::placeholder {
    color: #999;
}

.sort-select {
    background: #2C2C2C;
    border: 2px solid #666;
    color: #CCCCCC;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    min-width: 200px;
}

.sort-select:focus {
    background: #2C2C2C;
    border-color: #FFD700;
    color: #CCCCCC;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.filter-btn {
    background: transparent;
    border: 2px solid #666;
    color: #CCCCCC;
    border-radius: 25px;
    padding: 8px 16px;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #FFD700;
    border-color: #FFD700;
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Statistics Section */
.marketplace-stats {
    background: #1A1A1A;
    border-top: 3px solid #FFD700;
    padding: 3rem 0;
}

.stat-card {
    background: #2C2C2C;
    border: 2px solid #444;
    border-radius: 15px;
    padding: 2rem;
    text-center;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    border-color: #FFD700;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #CCCCCC;
    font-size: 1.1rem;
    font-weight: 500;
}

.stats-banner {
    background: rgba(42, 42, 42, 0.9);
    border: 2px solid #FFD700;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Breadcrumbs */
.breadcrumb {
    background: rgba(44, 44, 44, 0.8);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #444;
}

.breadcrumb-item {
    color: #CCCCCC;
}

.breadcrumb-item.active {
    color: #FFD700;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #666;
}

/* Results Header */
.results-header {
    background: #2C2C2C;
    border: 2px solid #444;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Vendor Links */
.vendor-link {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.vendor-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Form Controls */
.form-check-input:checked {
    background-color: #FFD700;
    border-color: #FFD700;
}

/* No Products State */
.no-products {
    background: #2C2C2C;
    border: 2px dashed #666;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: #CCCCCC;
}

/* Background Utility Classes */
.bg-darker {
    background: #1A1A1A !important;
}

.bg-dark {
    background: #2C2C2C !important;
}

.text-yellow {
    color: #FFD700 !important;
}

.text-light {
    color: #CCCCCC !important;
}

.text-white {
    color: #FFFFFF !important;
}

.border-yellow-vibrant {
    border-color: #FFD700 !important;
}

.border-blue-vibrant {
    border-color: #0066CC !important;
}

/* Grid Layouts */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .marketplace-hero {
        padding: 3rem 0;
    }
    
    .marketplace-header {
        padding: 2rem 0;
    }
    
    .hero-search-box {
        padding: 1.5rem;
    }
}