/* Search Autocomplete Styles */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-list .suggestion-header {
    padding: 8px 10px;
    font-size: 0.85em;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item a .info { display: flex; flex-direction: column; }
.search-result-item a .meta { font-size: 0.85em; color: #777; margin-top: 4px; }

.search-result-item.selected a { background: #f1f5f9; }

.search-results-dropdown .no-results { padding: 12px; text-align: center; color: #444; }
.search-results-dropdown .fallback-cats { display:flex; gap:8px; justify-content:center; padding:8px; flex-wrap:wrap; }
.search-results-dropdown .fallback-cats a { background:#f3f4f6; padding:6px 8px; border-radius:16px; text-decoration:none; color:#333; font-size:0.9em; }

.search-results-dropdown mark { background: #ffe58a; padding: 0 2px; border-radius: 2px; }

.search-results-list .see-all { padding: 8px 10px; border-top: 1px solid #eee; font-size:0.9em; color:#2563eb; text-align:center; cursor:pointer; }

.search-result-item:last-child a {
    border-bottom: none;
}

.search-result-item a:hover {
    background-color: #f8f9fa;
}
