.searchbar__input-wrap {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;

    max-height: 360px;
    overflow-y: auto;

    background: var(--background-color, #fff);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.search-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    width: 100%;
    padding: 11px 14px;

    color: inherit;
    text-align: left;
    text-decoration: none;

    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.search-suggestion:last-child {
    border-bottom: 0;
}

.search-suggestion:hover,
.search-suggestion--active {
    background: rgba(0, 0, 0, 0.05);
}

.search-suggestion__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-suggestion__name {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion__category {
    margin-top: 3px;
    overflow: hidden;

    color: #777;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion__price {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
}

.search-suggestion--show-all {
    justify-content: flex-start;
    color: #2878d0;
    font-weight: 600;
}

.search-suggestions__empty {
    padding: 16px;
    color: #777;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 600px) {
    .search-suggestions {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        width: auto;
        max-height: 50vh;
        z-index: 3000;
    }
}

.search-suggestion--query {
    justify-content: flex-start;
    gap: 10px;
    color: inherit;
}

.search-suggestion--query i {
    flex: 0 0 auto;
    color: #64748b;
    font-size: 13px;
}

.search-suggestion__query-text {
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-suggestion--query:hover,
.search-suggestion--query.search-suggestion--active {
    background: rgba(40, 120, 208, 0.08);
}

.search-suggestion--query
    + .search-suggestion:not(.search-suggestion--query) {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}