#live-search {
    width: 100%;
    position: absolute;
    z-index: 1000;
    margin-top: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 2px 2px #ddd;
    left: 0;
    display: none;
    overflow: hidden;
}

#live-search ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#live-search ul li {
    background-color: #fff;
    cursor: pointer;
    min-height: 40px;
    overflow: hidden;
    padding: 0;
}

#live-search ul li:after {
    clear: both;
    content: '';
}

#live-search ul li:nth-child(even) {
    background-color: #fafafa;
}

#live-search ul li:hover {
    background-color: #eee;
}

#live-search ul li a {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 86px;
    padding: 10px 14px;
    box-sizing: border-box;
    gap: 12px;
}

#live-search ul li .cell {
    display: block;
    padding: 0;
    vertical-align: middle;
}

#live-search ul li .livesearch-image {
    width: 72px;
    min-width: 72px;
    text-align: center;
}

#live-search ul li .livesearch-image img {
    max-width: 58px;
    max-height: 58px;
    border-radius: 6px;
}

#live-search ul li .livesearch-info {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 12px;
}

#live-search ul li .livesearch-product-name {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    white-space: normal;
    overflow: visible;
}

#live-search ul li .livesearch-description {
    display: block;
    font-weight: normal;
    font-size: 10px;
    line-height: 14px;
    color: #555;
    margin: 2px 0 0 0;
    white-space: normal;
    overflow: hidden;
}

#live-search ul li .livesearch-product-model,
#live-search ul li .livesearch-product-sku {
    display: block;
    font-weight: normal;
    font-size: 10px;
    line-height: 14px;
    color: #555;
    margin-top: 2px;
}

#live-search ul li .livesearch-price {
    flex: 0 0 145px;
    width: 145px;
    min-width: 145px;
    margin-left: auto;
    padding-right: 18px;
    text-align: right;
    font-weight: bold;
    box-sizing: border-box;
    white-space: nowrap;
}

#live-search ul li .livesearch-price .livesearch-product-price {
    color: #f47a14;
    display: block;
    font-size: 18px;
    line-height: 20px;
}

#live-search ul li .livesearch-price .livesearch-product-special {
    color: #ff0000;
    text-decoration: line-through;
    display: block;
}

#live-search ul li .livesearch-product-price > .livesearch-product-special {
    margin-top: -5px;
}

#live-search ul li.result-heading {
    text-align: center;
    font-weight: 700;
    cursor: auto;
    display: block;
    height: 38px;
    line-height: 38px;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff;
}

#live-search ul li.result-heading:hover {
    background: #fff;
}

#live-search ul li .result-text {
    font-weight: bold;
    text-align: center;
    font-size: 11px;
    line-height: 20px;
    color: #fff;
    background-color: #2098C5;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#live-search ul li .view-all-results:hover {
    border-bottom: 1px dotted;
    color: #fff;
}

#live-search ul li .view-all-results {
    color: #fff;
}


/* Цена и отключение красной подсветки в live-search */
#live-search ul li .livesearch-price,
#live-search ul li .livesearch-price *,
#live-search ul li .livesearch-price .livesearch-product-price {
    color: #f47a14 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

#live-search span[style*="color:red"],
#live-search span[style*="color: red"],
#live-search font[color="red"],
#live-search .livesearch-product-name span,
#live-search .livesearch-product-name font {
    color: inherit !important;
    background: transparent !important;
    font-weight: inherit !important;
}

#live-search ul li .livesearch-product-name {
    color: #1a1a2e !important;
    font-weight: 700 !important;
}


/* =========================================================
   Финальная полировка live-search
   ========================================================= */
#live-search {
    scrollbar-width: thin !important;
    scrollbar-color: #f47a14 #f3f3f3 !important;
}

#live-search::-webkit-scrollbar {
    width: 4px !important;
}

#live-search::-webkit-scrollbar-track {
    background: #f3f3f3 !important;
}

#live-search::-webkit-scrollbar-thumb {
    background: #f47a14 !important;
    border-radius: 8px !important;
}

#live-search ul li a:hover {
    background: #fff7f0 !important;
}

#live-search ul li .livesearch-image img,
#live-search ul li a img {
    border-radius: 8px !important;
    border: 1px solid #eeeeee !important;
    background: #fafafa !important;
    padding: 3px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

#live-search ul li .livesearch-product-name {
    font-weight: 600 !important;
}

#live-search ul li .livesearch-price,
#live-search ul li .livesearch-price *,
#live-search ul li .livesearch-price .livesearch-product-price {
    color: #f47a14 !important;
    font-weight: 700 !important;
}


/* =========================================================
   Live-search: финальный размер цены + популярные инструменты
   ========================================================= */
#live-search ul li .livesearch-price,
#live-search ul li .livesearch-price *,
#live-search ul li .livesearch-price .livesearch-product-price {
    color: #f47a14 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
}

#live-search ul li .livesearch-product-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
}

#live-search ul li.live-search-popular a {
    min-height: 62px !important;
}

#live-search .popular-search-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 8px !important;
    border: 1px solid #eeeeee !important;
    background: #fff7f0 !important;
    color: #f47a14 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

#live-search ul li.live-search-popular .livesearch-price .livesearch-product-price {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
}
