div.title-search-result {
    display: none;
    position: absolute;
    z-index: 205;
    width: 440px !important;
    margin-top: 8px;
    overflow: hidden;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
}


/* ================================
   Search dropdown
================================ */

.search-dropdown {
    width: 100%;
    max-height: 520px;
    overflow-y: auto;
    background: #fff;
}


/* Заголовок категории */

.search-dropdown__category {
    padding: 12px 16px 7px;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.03em;

    background: #fff;
}


/* Список */

.search-dropdown__items {
    width: 100%;
}


/* Карточка результата */

.search-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 72px;
    padding: 8px 14px;

    color: #222;
    text-decoration: none;

    border-bottom: 1px solid #f0f0f0;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.search-dropdown__item:hover,
tr.title-search-selected .search-dropdown__item {
    background: #f7f7f7;
}


/* Картинка */

.search-dropdown__image {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    overflow: hidden;

    background: #f7f7f7;
    border-radius: 8px;
}

.search-dropdown__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    mix-blend-mode: multiply;
}

.search-dropdown__no-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #c1c1c1;
}


/* Текстовая часть */

.search-dropdown__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    flex: 1;
}


/* Название */

.search-dropdown__name {
    display: -webkit-box;
    overflow: hidden;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    color: #222;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-dropdown__item:hover .search-dropdown__name {
    color: #000;
}


/* Подсветка найденной фразы Bitrix */

.search-dropdown__name b {
    color: #9d1717;
    font-weight: 600;
}


/* Цена */

.search-dropdown__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;

    margin-top: 5px;
}

.search-dropdown__current-price {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    color: #9d1717;
}

.search-dropdown__old-price {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    color: #999;

    text-decoration: line-through;
}

.search-dropdown__request-price {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    color: #777;
}


/* Показать все */

.search-dropdown__all {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 13px 16px;

    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;

    color: #333;
    text-decoration: none;

    background: #fafafa;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.search-dropdown__all:hover {
    color: #9d1717;
    background: #f4f4f4;
}

.search-dropdown__all svg {
    flex-shrink: 0;
}


/* ================================
   Scrollbar
================================ */

.search-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.search-dropdown::-webkit-scrollbar {
    width: 5px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}


/* Старый fader больше не нужен */

div.title-search-fader {
    display: none !important;
}


/* ================================
   Mobile
================================ */

@media (max-width: 767px) {

    div.title-search-result {
        width: calc(100vw - 30px) !important;
        max-width: none;
        border-radius: 10px;
    }

    .search-dropdown {
        max-height: 430px;
    }

    .search-dropdown__item {
        min-height: 66px;
        gap: 10px;
        padding: 7px 10px;
    }

    .search-dropdown__image {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .search-dropdown__name {
        font-size: 13px;
    }

    .search-dropdown__current-price {
        font-size: 13px;
    }

    .search-dropdown__category {
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-dropdown__all {
        padding-left: 12px;
        padding-right: 12px;
    }
}