/* ===========================
   Search Suggestions
=========================== */

.search {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .12);
    display: none;
    max-height: 420px;
    overflow-y: auto;
    z-index: 9999;
}

.search-suggestions .search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    cursor: pointer;
    background: #fff;
    transition: .2s;
}

.search-suggestions .search-item:hover {
    background: #f7f7f7;
}

.search-suggestions .search-item img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
    max-width: 60px;
    min-height: 60px;
    max-height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.search-info {
    flex: 1;
    min-width: 0;
}

.search-title {
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-category {
    margin-top: 4px;
    font-size: 13px;
    color: #777;
}


.search-empty {
    padding: 18px;
    text-align: center;
    color: #888;
}

.search-item.active {
    background: #fff3ec;
}

.search-title mark {
    background: #ffe08a;
    color: #000;
    padding: 0 2px;
    border-radius: 3px;
}

.recent-search i {
    color: #999;
    font-size: 14px;
    width: 20px;
}

.search-group-title {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    background: #f8f8f8;
    border-top: 1px solid #eee;
}