/* VIVTECH: компактные выпадающие подсказки поиска */
.vt-search-form {
    position: relative;
}

.vt-search-form > .vt-search-suggest {
    display: none;
    position: absolute;
    z-index: 99999;
    top: 100%;
    left: 0;
    right: auto;
    width: 380px !important;
    max-width: min(380px, calc(100vw - 24px)) !important;
    max-height: 280px !important;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 4px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff !important;
    border: 1px solid #d9e1e8;
    border-top: 2px solid #206fb0;
    border-radius: 0 0 7px 7px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
    text-align: left;
}

.vt-search-form > .vt-search-suggest.is-visible {
    display: block;
}

.vt-search-suggest__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 6px 10px;
    box-sizing: border-box;
    border-left: 3px solid transparent;
    color: #404040;
    text-decoration: none;
    background: #fff;
    transition: background .15s ease, border-color .15s ease;
}

.vt-search-suggest__item:hover,
.vt-search-suggest__item:focus,
.vt-search-suggest__item.is-active {
    background: #e7f7ff;
    border-left-color: #206fb0;
    color: #404040;
    text-decoration: none;
    outline: none;
}

.vt-search-suggest__image {
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #fff;
}

.vt-search-suggest__image--empty {
    border: 1px solid #edf0f2;
}

.vt-search-suggest__body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.vt-search-suggest__name {
    color: #404040;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
}

.vt-search-suggest__article {
    color: #777;
    font-size: 10px;
    line-height: 1.25;
}

.vt-search-suggest__all {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: 3px;
    padding: 9px 12px;
    background: #fff;
    border-top: 1px solid #e5ebef;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, .035);
    color: #206fb0;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.vt-search-suggest__all:hover,
.vt-search-suggest__all:focus {
    background: #e7f7ff;
    color: #fd341f;
    text-decoration: none;
    outline: none;
}

.vt-search-suggest__empty {
    padding: 12px;
    color: #777;
    font-size: 12px;
}

@media (max-width: 767px) {
    .vt-search-form > .vt-search-suggest {
        width: min(380px, calc(100vw - 24px)) !important;
        max-height: 55vh !important;
    }
}
