/* CC-02b Wave 2 - extracted from FRONTEND/07_vendors/vendor-search.html */
/* Custom Animations */

    @keyframes gradient {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* Gradient Text */
    .gradient-text {
        background: linear-gradient(135deg, #ff6b9d, #c084fc, #60a5fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        background-size: 200% 200%;
        animation: gradient 4s ease infinite;
    }

    /* Astro Gradient */
    .gradient-astro {
        background: linear-gradient(135deg, #FFD700, #FFA500, #B87333);
    }

    /* Hero Background */
    .hero-gradient {
        background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(88, 28, 135, 0.8) 50%,
            rgba(15, 23, 42, 0.95) 100%);
    }

    /* Glass Card Effect */
    .glass-card {
        background: rgba(30, 41, 59, 0.8);
        backdrop-filter: blur(1rem);
        border: 0.0625rem solid rgba(255, 255, 255, 0.1);
    }

    /* Modal Styles */

    /* Custom Scrollbar */

    /* Floating Elements */
    .floating-element {
        animation: float 6s ease-in-out infinite;
    }

    .floating-element:nth-child(2) { animation-delay: -2s; }
    .floating-element:nth-child(3) { animation-delay: -4s; }

    /* Heartbeat Animation */
    .heartbeat { animation: heartbeat 1.5s ease-in-out infinite; }

    /* Feature Card Hover */

    /* Button Shine Effect */
    .btn-shine {
        position: relative;
        overflow: hidden;
    }

    .btn-shine::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn-shine:hover::before { left: 100%; }



.search-hero {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: #fff;
    padding: 3.75rem 0;
    text-align: center;
}

.search-hero h1 {
    font-size: 2.625rem;
    margin: 0 0 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin: 0 0 2.5rem;
    opacity: 0.95;
}

.quick-search {
    max-width: 43.75rem;
    margin: 0 auto 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.quick-search input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.quick-search .btn {
    padding: 1rem 2rem;
    background: #fff;
    color: #E74C3C;
}

.quick-search .btn:hover {
    background: #f8f9fa;
}

.popular-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.popular-categories span {
    font-weight: 500;
}

.category-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(255, 255, 255, 0.3);
}

.search-layout {
    display: grid;
    grid-template-columns: 18.75rem 1fr;
    gap: 1.875rem;
    margin: 2.5rem 0;
}

.search-sidebar {
    position: sticky;
    top: 6.25rem;
    height: fit-content;
}

.search-results {
    min-height: 37.5rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 0.125rem solid #E9ECEF;
}

.results-info h2 {
    margin: 0;
    color: #2C3E50;
    font-size: 1.5rem;
}

.results-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 0.0625rem solid #E9ECEF;
    background: #fff;
    border-radius: 0.375rem;
    cursor: pointer;
    color: #7F8C8D;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #E74C3C;
    color: #E74C3C;
}

.view-btn.active {
    background: #E74C3C;
    color: #fff;
    border-color: #E74C3C;
}

#sort-select {
    min-width: 12.5rem;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 1fr;
    }

    .search-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .search-hero h1 {
        font-size: 2rem;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .results-controls {
        width: 100%;
        justify-content: space-between;
    }
}
