/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Mageplaza.com license that is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_Search
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */
.autocomplete-suggestion span.mps-add-to-cart {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    padding: unset;
    background: url("images/btn-add-to-cart.svg") no-repeat;
    border: unset;
}

.autocomplete-suggestion span.mps-add-to-cart:hover {
    background: url("images/btn-add-to-cart-hover.svg") no-repeat;
}

.autocomplete-suggestion span.mps-add-to-cart.loading {
    background: url("images/btn-add-to-cart-loader.svg") no-repeat;
}

.trending-title {
    display: block;
    padding: 10px 0 0 5px;
    font-weight: 600;
}

.suggestions-title {
    display: block;
    padding: 10px 0 0 5px;
    font-weight: 600;
}

.mp-search-trending {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 5px 0 5px;
}

.top-key {
    display: inline-flex;
    align-items: center;
    height: 26px;
    background-color: #F1F1F1;
    margin: 0 5px 10px 0;
    padding: 5px;
    border-radius: 18px;
}
.top-key .key {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px 0 5px;
}
.top-key:hover {
    background-color: #D9D9D9;
    cursor: pointer;
}
.icon-trending {
    background: url("images/icon-trending.svg") no-repeat;
    width: 26px;
    height: 26px;
}

.parent-category {
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    .autocomplete-suggestions {
        z-index: 99 !important;
    }
    .autocomplete-suggestions {
        max-height: 457px !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #search_mini_form.two-columns {
        width: 532px !important;
    }
    .autocomplete-suggestions.two-columns {
        display: flex;
        flex-wrap: wrap;
        width: 530px !important;
    }
    .autocomplete-suggestions {
        max-height: 408px !important;
        width: 95.5% !important;
    }
    .autocomplete-suggestions.two-columns .autocomplete-suggestion {
        width: 47.75%;
    }
    .mp-search .minisearch .actions {
        right: 125px;
        top: 0;
    }
}

@media only screen and (min-width: 1025px) {
    #search_mini_form.two-columns {
        width: 564px !important;
    }
    .autocomplete-suggestions {
        max-height: 408px !important;
        width: 95.5% !important;
    }
    .autocomplete-suggestions.two-columns {
        display: flex;
        flex-wrap: wrap;
        width: 562px !important;
    }
    .autocomplete-suggestions.two-columns .autocomplete-suggestion {
        width: 47.75%;
    }
    .mp-search .minisearch .actions {
        right: 125px;
        top: 0;
    }
}
