.aa-Panel .aa-PanelLayout {
    padding-bottom: 0;
}

.aa-Panel .aa-PanelLayout section .aa-SourceNoResults {
    padding: 0 10px;
}

.aa-Panel .aa-PanelLayout section .aa-SourceHeader {
    color: rgb(0, 0, 0);
    font-size: 1em;
    font-weight: normal;
    padding: 4px 10px;
}

.aa-Panel.productColumn2 section:nth-child(2) .aa-List {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
}

.aa-Panel .algoliasearch-autocomplete-price {
    font-size: 16px;
    color: #000000;
    height: auto;
}

.aa-Panel .algoliasearch-autocomplete-price .price_prefix {
    color: #666;
    font-size: 0.8rem;
    margin-right: 3px;
}

.aa-Panel .algoliasearch-autocomplete-hit .info {
    margin-left: 90px;
}

.aa-Panel .algoliasearch-autocomplete-hit .thumb {
    height: 100px;
}

.aa-Panel .algoliasearch-autocomplete-hit .thumb img {
    width: 80px;
}

@media (min-width: 992px) {
    .aa-Panel {
        min-width: 550px !important;
    }

    .aa-Panel.productColumn2 .aa-PanelLayout section:nth-child(2),
    .aa-Panel.productColumn1 .aa-PanelLayout section:nth-child(1) {
        border-left: none;
        min-width: 300px !important;
        margin-left: 10px !important;
    }
}

@media (min-width: 769px) {
    #algoliaAutocomplete {
        margin-right: 20px;
        padding-left: 0;
    }

    #autocomplete-products-footer {
        display: none;
    }

    .aa-Panel.productColumn2 section:nth-child(2) .aa-List li {
        margin-bottom: 0;
    }
}

@media (max-width: 990px) {
    #algoliaAutocomplete {
        width: 100%;
        position: relative;
        top: 0;
        right: 0;
        margin-top: 11px;
    }
}

@media (max-width: 768px) {
    .aa-Panel {
        position: fixed;
        top: 175px !important;
        height: 500px;
        overflow: scroll;
    }

    .aa-Panel .aa-PanelLayout .aa-Source[data-autocomplete-source-id="products"] {
        order: 1
    }

    .aa-Panel .aa-PanelLayout .aa-Source[data-autocomplete-source-id="querySuggestionsPlugin"] {
        order: 2
    }

    .aa-Panel .aa-PanelLayout .aa-Source[data-autocomplete-source-id="categories"] {
        order: 3
    }

    .aa-Panel .aa-List {
        margin-bottom: 0;
    }
}
