#fv-search-dropdown {
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#fv-search-dropdown .banner-section img {
    transition: transform 0.3s ease;
}

#fv-search-dropdown .banner-section:hover img {
    transform: scale(1.02);
}

#close-dropdown {
    transition: all 0.2s ease;
}

#close-dropdown:hover {
    color: #111827;
    transform: scale(1.1);
}

#close-dropdown:active {
    transform: scale(0.95);
}

.dropdown-suggestion {
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-suggestion:active {
    transform: scale(0.95);
}

#fv-search-dropdown::-webkit-scrollbar {
    width: 8px;
}

#fv-search-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#fv-search-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

#fv-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Dropdown inner wrapper */
.fv-search-dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.fv-search-dropdown-sections {
    padding: 0.75rem 0;
}

#recent-searches-dropdown,
#popular-searches-dropdown {
    display: inline-block;
    vertical-align: top;
}

.searches-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.searches-section {
    flex: 1;
    min-width: 0;
}

.searches-section-title {
    font-size: 0.938rem;
    color: #374151;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

#recent-searches-list-dropdown {
    gap: 0.5rem;
}

/* Banner mobile */
#fv-search-banner img {
    max-height: 120px;
}

/* Desktop overrides */
@media (min-width: 1024px) {
    .fv-search-dropdown-inner {
        padding: 2rem;
    }

    .fv-search-dropdown-sections {
        padding: 2rem 0;
    }

    .searches-container {
        flex-direction: row;
        gap: 3rem;
    }

    .searches-section {
        min-width: 300px;
    }

    .searches-section-title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    #recent-searches-list-dropdown {
        gap: 0.75rem;
    }

    #fv-search-banner img {
        max-height: 200px;
    }
}
