.mod-vpprime-ajax-search {
    position: relative;
}

.vpprimeajaxsearch-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto !important;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 155px);
    color: var(--body-color, #000000);
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.vpprimeajaxsearch-suggestion-body {
    margin-right: -2px;
    margin-left: 0;
}

.vpprimeajaxsearch-suggestion-body:after,
.vpprimeajaxsearch-suggestion-body:before,
.vpprimeajaxsearch-suggestion-content:after,
.vpprimeajaxsearch-suggestion-content:before {
    display: table;
    content: " ";
}

.vpprimeajaxsearch-suggestion-body:after,
.vpprimeajaxsearch-suggestion-content:after {
    clear: both;
}

.vpprimeajaxsearch-suggestion-header {
    overflow: hidden;
    background-color: #ffffff;
    border-bottom: 1px solid var(--gray-300, #ddd);
    padding: 1.43em;
}

.vpprimeajaxsearch-suggestion-header>h4 {
    display: inline-block;
    margin: 0;
    text-transform: uppercase;
}

.vpprimeajaxsearch-suggestion-header .vpprimeajaxsearch-viewall {
    float: right;
}

.vpprimeajaxsearch-suggestion-footer .vpprimeajaxsearch-viewall {
    padding: 1.43em;
    text-align: center;
    display: block;
}

.vpprimeajaxsearch-suggestion-content {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    background-color: var(--white, #fff);
    border-bottom: 1px solid var(--gray-300, #ddd);
}

.vpprimeajaxsearch-suggestion-footer {
    background-color: var(--white, #fff);
}

.vpprimeajaxsearch-suggestion {
    display: flex;
    padding: 1rem;
    float: left;
    width: 25%;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-300, #ddd);
    border-right: 1px solid var(--gray-300, #ddd);
    margin-bottom: -1px;
}

.searched-product {
    position: relative;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.searched-product-image,
.searched-product-info {
    display: flex;
    padding: 0;
    float: left;
    width: 25%;
}

.searched-product-info {
    padding-left: 20px;
    width: 75%;
}

.searched-product-info-inner {
    width: 100%;
}

.searched-product-title {
    margin-bottom: 0;
    font-weight: bold;
}

.searched-product-title a {
    text-decoration: none;
}

.searched-product-category {
    margin-top: 5px;
}

.searched-product-price {
    margin-top: 10px;
    color: var(--template-primary-color, #333);
    font-weight: bold;
}

.searched-product-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
}

.vpprime-ajax-search-btn-loading-icon {
    display: none !important;
}

.vpprimeajaxsearch-loading .vpprime-ajax-search-btn-loading-icon {
    display: inline-block !important;
}

.vpprimeajaxsearch-loading .vpprime-ajax-search-btn-icon {
    display: none !important;
}

.vpprimeajaxsearch-line-loader .vpprimeajaxsearch-loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 100ms linear;
}

.vpprimeajaxsearch-loading .vpprimeajaxsearch-loader-wrapper {
    opacity: 1;
    visibility: visible;
}

.vpprimeajaxsearch-line-loader .vpprimeajaxsearch-loader {
    height: 3px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #eee;
}

.vpprimeajaxsearch-line-loader .vpprimeajaxsearch-loader:before {
    display: block;
    position: absolute;
    content: " ";
    left: -200px;
    width: 200px;
    height: 3px;
    background-color: #d9534f;
    animation: ajaxsearchloading 2s linear infinite;
}

@keyframes ajaxsearchloading {
    from {
        left: -200px;
        width: 30%;
    }

    50% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    80% {
        left: 50%;
    }

    95% {
        left: 120%;
    }

    to {
        left: 100%;
    }
}