.highlighted-category {
    white-space: nowrap;
    font-weight: bold;
    color: #1976d2;
}
.suggestion-category-path {
    display: block;
    font-size: 0.95em;
    color: #888;
    margin-top: 2px;
    margin-bottom: 2px;
    word-break: break-all;
}
.suggestion-category-match {
    color: #1976d2;
    font-weight: bold;
}
.suggestion-group > strong {
    display: block;
    padding-bottom: 6px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.08em;
    color: #333;
}
/* Dvouřádkový text v našeptávači */
.suggestion-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
    min-width: 0;
}
.suggestion-text.single-line {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    display: flex;
    margin-left: 10px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggestion-line1 {
    white-space: nowrap;
    display: inline;
    font-weight: bold;
    line-height: 1.2;
}
.suggestion-line2 {
    font-size: 0.95em;
    color: #666;
    line-height: 1.1;
}
/*


form .search_input {
    width: 100%;
    height: 40px;
    font-size: 1.2em;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px;
    box-sizing: border-box;
}

form .search_button_text {
    margin-left: 8px;
    padding: 8px 18px;
    font-size: 1em;
    border: 1px solid #888;
    border-radius: 4px;
    background: #f5f5f5;
    cursor: pointer;
    transition: background 0.2s;
}
form .search_button_text:hover {
    background: #e0e0e0;
}*/

.suggestion-box {
    position: fixed;
    left: 0;
    top: 0;
    width: 600px;
    max-width: none;
    padding: 16px 20px;
    z-index: 2000001;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    max-height: 600px;
    overflow-y: auto;
    margin-top: 0;
    display: none;
    box-sizing: border-box;
}

.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.suggestion-item {
    display: flex;
    width: 100%;
    align-items: center;
    line-height: 1.5;
    padding: 5px 0;
    gap: 8px;
    cursor: pointer;
}
.suggestion-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}
.suggestion-group {
    margin-top: 10px;
}
.suggestion-group ul {
    padding-left: 0;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .suggestion-box {
        width: 100%;
        padding: 12px;
        max-height: min(60vh, 420px);
    }

    .suggestion-item {
        align-items: flex-start;
    }

    .suggestion-line1,
    .suggestion-line2,
    .suggestion-text.single-line {
        white-space: normal;
        word-break: break-word;
    }
}