.top-header .header-right .search-box { position: relative; }

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    display: none;
    width: min(420px, 80vw);
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.search-suggestions.is-visible { display: block; }

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f1f1;
    color: #1a1a2e;
    text-decoration: none;
}

.search-suggestion:last-child { border-bottom: 0; }

.search-suggestion:hover,
.search-suggestion:focus {
    background: #f0f8f8;
    color: #007b8a;
}

.search-suggestion i {
    width: 20px;
    color: #007b8a;
    text-align: center;
}

.search-suggestion-content { min-width: 0; }

.search-suggestion-title {
    display: block;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion-meta {
    display: block;
    color: #888;
    font-size: 12px;
}

.search-empty {
    padding: 14px;
    color: #777;
    font-size: 13px;
}

.translate-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.translate-controls select {
    padding: 7px 9px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #fff;
    color: #1a1a2e;
    font-size: 12px;
}

@media (max-width: 768px) {
    .top-header .header-right {
        gap: 10px;
    }

    .translate-controls select {
        max-width: 118px;
    }
}

@media (max-width: 480px) {
    .search-suggestions {
        right: auto;
        left: 0;
        width: min(420px, calc(100vw - 30px));
    }
}
