.mst-searchautocomplete__autocomplete {
    display: none !important;
    border: 1px solid #C2C2C2;
    position: absolute;
    top: 3.1rem;
    left: 0;
    box-sizing: border-box;
    background: #fff;
    border-radius: 0 0 1px 1px;
    min-height: 40px;
    z-index: 1000;
    text-align: left;
}

.mst-searchautocomplete__autocomplete._active {
    display: block !important;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__wrapper {

}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__results {
    height: 100%;
    overflow-y: auto;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__results.__all {
    margin-bottom: 0;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__spinner {
    text-align: center;
}

.mst-searchautocomplete__autocomplete._loading .mst-searchautocomplete__spinner {
    display: block;
    text-align: center;
}

.mst-searchautocomplete__spinner span {
    background-image: url(../images/dots-loading-color.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 50px;
    height: 40px;
    display: block;
    background-size: contain;
    margin: 0 auto;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__empty-result {
    background: #efefef;
    text-align: center;
    padding: 8px 10px;
    color: #999;
    font-size: 12px;
    display: block;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__show-all {
    background: #efefef;
    text-align: center;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__show-all a {
    padding: 8px 10px;
    color: #999999;
    font-size: 12px;
    display: block;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__show-all a:hover {
    color: #ec1b23;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__index-title {
    background: #efefef;
    padding: 8px 10px;
    text-align: left;
    font-size: 12px;
    line-height: 12px;
    color: #999999;
    text-transform: uppercase;
    font-weight: 700;
}

.mst-searchautocomplete__autocomplete .mst-searchautocomplete__close {
    display: none;
}

.mst-searchautocomplete__autocomplete ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mst-searchautocomplete__autocomplete ul li {
    margin: 0;
    padding: 7px 10px;
    cursor: pointer;
}

.mst-searchautocomplete__autocomplete ul li.magento_catalog_category {
    background: url("../images/ac_icon_category.png") no-repeat left center;
    background-size: 20px;
    padding-left: 30px !important;
}

.mst-searchautocomplete__autocomplete ul li.magento_search_query {
    background: url("../images/ac_icon_search.png") no-repeat left center;
    background-size: 20px;
    padding-left: 30px !important;
}

.mst-searchautocomplete__autocomplete ul li.magento_catalog_product {
    /*background: url("../images/ac_icon_product.png") no-repeat left center;*/
    background-size: 20px;
    padding-left: 0 !important;
}


.mst-searchautocomplete__autocomplete ul li a.title {
    font-weight: 500;
    margin-bottom: 0;
    color: #333333;
    text-decoration: none;
}

.mst-searchautocomplete__autocomplete ul li._active {

}

.mst-searchautocomplete__autocomplete ul li._active a.title {
    text-decoration: underline;
    color: #005aa9;
}

.mst-searchautocomplete__index.popular .index-title {
    background: none;
    text-align: left;
    color: #999999;
}

.mst-searchautocomplete__index.popular ul li {
    float: left;
    padding: 10px 10px 10px 10px;
    margin: 0;
}

.mst-searchautocomplete__index.popular ul li a {
    font-size: 1.3rem;
    color: #575757;
    font-weight: 600;
}

.mst-searchautocomplete__index.popular ul li:hover {
    background: none;
    cursor: pointer;
}

.mst-searchautocomplete__index.popular ul li:hover a {
    text-decoration: underline;
}

.mst-searchautocomplete__index.magento_catalog_product {
    border-left: 1px solid transparent;
}

.mst-searchautocomplete__item.magento_catalog_product {
    display: flex;
    border-bottom: 1px solid #f6f6f6;
    align-items: center;
    padding: 7px 0;
}

.mst-searchautocomplete__item.magento_catalog_product:last-child {
    border-bottom: none;
}

.mst-searchautocomplete__item.magento_catalog_product .mst-product-image-wrapper {
    height: 8rem;
    width: 8rem;
    margin-right: 1rem;
}

.mst-searchautocomplete__item.magento_catalog_product .mst-product-image-wrapper img {
    height: 8rem;
    max-width: 8rem;
    display: block;
    margin: auto;
    object-fit: contain;
}

.mst-searchautocomplete__item.magento_catalog_product .title {
    display: block;
    margin-bottom: 0;
}

.mst-searchautocomplete__item.magento_catalog_product .title a {
    color: #333333;
    font-size: 13px;
    text-decoration: none;
    font-weight: 400;
}

.mst-searchautocomplete__item.magento_catalog_product .title a:hover {
    text-decoration: underline;
    color: #005aa9;
}

.mst-searchautocomplete__item.magento_catalog_product .title .sku {
    color: #777777;
}

.mst-searchautocomplete__item.magento_catalog_product .meta {
    flex-grow: 1;
    overflow: hidden;
}

.mst-searchautocomplete__item.magento_catalog_product .description {
    font-size: 1.2rem;
    color: #777777;
    height: 3rem;
    line-height: 1.5rem;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.mst-searchautocomplete__item.magento_catalog_product .store > .price {
    display: block;
    font-weight: 600;
    margin-left: 1rem;
    white-space: nowrap;
    font-size: 1.3rem;
}

.mst-searchautocomplete__item.magento_catalog_product .store > .price .price-label {
    margin-right: 1rem;
}

.mst-searchautocomplete__item.magento_catalog_product .product-reviews-summary {
    margin: 0;
}

.mst-searchautocomplete__item.magento_catalog_product .product-reviews-summary .reviews-actions {
    display: none;
}

.mst-searchautocomplete__item.magento_catalog_product .to_cart_message {
    padding: 5px 10px;
    font-size: 1.2rem;
}

.mst-searchautocomplete__item.magento_catalog_product .to_cart_message.error {
    color: #e02b27;
    background: #fae5e5;
}

.mst-searchautocomplete__item.magento_catalog_product .to_cart_message.success {
    color: #006400;
    background: #e5efe5;
}

.mst-searchautocomplete__item.magento_catalog_product .to-cart {
    float: right;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.mst-searchautocomplete__item.magento_catalog_product .inStock {
    color: #76bd76;
}

.mst-searchautocomplete__item.magento_catalog_product .outOfStock {
    color: #a96565;
}

.mst-searchautocomplete__item.magento_catalog_product._active {

}

.mst-searchautocomplete__item.magento_catalog_product._active .title a {
    text-decoration: underline;
}

.mst-searchautocomplete__item.magento_search_query a {
    float: left;
}

.mst-searchautocomplete__item.magento_search_query .num_results {
    float: right;
    color: #777777;
}

.mst-searchautocomplete__item a.title {
    /*word-break: break-word;*/
}

.mst-searchautocomplete__item a.title i {
    color: #777777;
    display: inline-block;
    margin: 0 .5rem;
    font-style: normal;
}

.mst-searchautocomplete__highlight {
    font-weight:600;
    color: #1ba1fc;
}

.mst-searchautocomplete__spinner .spinner-item {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #999999 transparent transparent transparent;
}

.mst-searchautocomplete__spinner .spinner-item.spinner-item-1 {
    animation-delay: -0.45s;
}

.mst-searchautocomplete__spinner .spinner-item.spinner-item-2 {
    animation-delay: -0.3s;
}

.mst-searchautocomplete__spinner .spinner-item.spinner-item-3 {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    .mst-searchautocomplete__autocomplete {
        width: 100%;
        min-width: 480px;
    }

    .mst-searchautocomplete__autocomplete._active {
        display: block !important;
    }

    .mst-searchautocomplete__autocomplete._active.mst-2-cols {
        width: 720px !important;
        position: absolute;
    }

    .mst-searchautocomplete__autocomplete._active.mst-2-cols .mst-searchautocomplete__index {
        clear: left;
        float: left;
        display: block;
        position: relative;
        max-width: 223px;
        width: 223px;
        padding-bottom: 2rem;
        box-sizing: border-box;
    }

    .mst-searchautocomplete__autocomplete._active.mst-2-cols .mst-searchautocomplete__index .mst-searchautocomplete__index-title {
        margin-right: 0;
    }

    .mst-searchautocomplete__autocomplete._active.mst-2-cols div.magento_catalog_product {
        width: 480px;
        max-width: 480px;
        clear: right;
        float: right;
        border-left: 1px solid #f6f6f6;
        border-right: unset;
        padding-bottom: 0;
    }

    .mst-searchautocomplete__autocomplete._active.mst-2-cols .mst-searchautocomplete__show-all {
        clear: both;
    }
}

@media (max-width: 768px) {
    .mst-searchautocomplete__autocomplete .mst-searchautocomplete__close {
        display: block;
        position: absolute;
        right: 6px;
        top: 0;
        font-weight: bold;
        color: #999999;
        font-size: 1.6rem;
        padding: 10px;
        line-height: 1rem;
        cursor: pointer;
    }
}


.block-search .block {
    margin: 0;
}

.block-search .nested {
    display: none;
}