[id^="asm-pro-main-results-"] {
    max-height: 590px;
    overflow-y: auto;
    text-align: center;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info-title{
    color: #333;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info-title strong{
    color: #4dc1b5;
    font-weight: bold !important;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info-title:hover,
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info-title:hover strong,
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-badge a:hover span{
    color: #4dc1b5;
    text-decoration: none;
    cursor: pointer;
}
[id^="asm-pro-main-results-"] .asm-pro-main-badge{
    background-color: #178ddd;
    color: #fff;
    font-size: 14px;
    padding: 2px 15px;
    border-radius: 15px 0 15px 0;
}
#asm-pro-main-suggestions {
    font-family: inherit;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 0;
    max-height: 100vh;
    overflow-y: auto;
}
#asm-pro-main-suggestions > div {
    margin-bottom: 0;
}
#asm-pro-main-suggestions .asm-pro-main-title-suggestion {
    color: #333;
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 0 0;
}
#asm-pro-main-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
#asm-pro-main-suggestions li {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 4px;
    margin-left: 0;
    margin-bottom: 5px;
    position: relative;
}
#asm-pro-main-suggestions li:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 20px;
}
#asm-pro-main-suggestions li .search-count {
    position: absolute;
    top: 20%;
    right: 2%;
    background-color: #f59794;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    width: 45px;
    height: 40px;
    line-height: 30px;
    text-align: center;
    border-radius: 100%;
    -webkit-box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .3);
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .3);
    padding: 5px;
}
#asm-pro-main-suggestions li img {
    width: 70px !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 10px;
}
#asm-pro-main-suggestions li a {
    color: #333;
    font-size: 15px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    line-height: 1.4;
    padding-left: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    width: 140px;
}
#asm-pro-main-suggestions li a:hover {
    color: #f17222;
    text-decoration: none;
    cursor: pointer;
}
.asm-pro-main-search-input-row{
    width: 100%;
    display: flex;
    position: relative;
    border: 1px solid rgb(221, 221, 227);
    border-radius: 8px;
    -webkit-box-align: center;
    align-items: center;
    padding: 2px;
    margin-bottom: 10px;
}
.asm-pro-main-search-input-row .asm-pro-main-icon-search{
    width: 20px;
    height: 20px;
    margin: 0 0 0 8px;
}
.asm-pro-main-search-input-row input[id^="asm-pro-main-search-input-"]{
    border: 0;
    padding: 0 8px !important;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    height: 43px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    flex: 1 1 0;
    outline: none;
    margin-bottom: 0 !important;
    box-shadow: none !important;
}
.asm-pro-main-searches-keywords,
.asm-pro-main-searches-trending,
.asm-pro-main-searches-featured-categories{
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    font-size: 15px;
    line-height: 24px;
    padding: 0 0 3px;
    margin: 0 0 10px;
    border-bottom: 1px solid #ddd;
}
.asm-pro-main-searches-trending,
.asm-pro-main-searches-featured-categories{
    padding-top: 10px;
}
.asm-pro-main-searches-keywords img,
.asm-pro-main-popular-searches img,
.asm-pro-main-searches-featured-categories img{
    width: 24px;
    height: 24px;
    margin-right: 8px;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 2px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
    max-width: 100%;
    justify-content: space-between;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 99px;
    vertical-align: middle;
    margin-right: 10px;
    border: 1px solid #ddd;
    max-width: 100%;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-content {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-title {
    flex: 1;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-badge {
    display: inline-block;
    background-color: #178ddd;
    color: #fff;
    font-size: 14px;
    padding: 2px 15px;
    border-radius: 15px 0 15px 0;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-price {
    font-size: 16px;
    font-weight: bold;
    color: #e60000;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-price del {
    font-size: 14px;
    color: #999;
    margin-right: 8px;
}
[id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .discount {
    color: red;
    font-weight: bold;
    font-size: 14px;
}
.asm-pro-main-summary .asm-pro-main-summary-result{
    background-color: #fff;
    color: #333;
    font-size: 18px;
    text-align: left;
    border: 2px dotted #dddde3;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
}
.asm-pro-main-summary .asm-pro-main-summary-result span{
    background-color: #178ddd;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
    border-radius: 50%;
    text-align: center;
    padding: 5px 10px;
}
[id^="asm-pro-main-results-"] .asm-pro-main-no-more-results {
    background-color: #f9f9f9;
    color: #085991;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 20px;
}
[id^="asm-pro-main-load-more-btn-"]{
    text-align: center;
}
[id^="asm-pro-main-load-more-btn-"] button[id^="load-more-btn-"]{
    background-color: #4dc1b5;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: normal;
    line-height: normal;
    min-height: 2.2em;
    border-radius: 30px;
    padding: 5px 30px;
    margin: 10px 0 0;
}
[id^="asm-pro-main-load-more-btn-"] button[id^="load-more-btn-"]:hover{
    background-color: #333;
}
@media (max-width: 850px) {
    [id^="asm-pro-main-close-"]{
        right: 0 !important;
    }
    [id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info {
        display: flex;
        align-items: stretch;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
    }
    [id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-title {
        flex: 1;
    }
    [id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-content {
        flex: auto;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .asm-pro-main-searches-featured-categories{
        padding-top: 10px;
    }
    #asm-pro-main-suggestions ul {
        grid-template-columns: repeat(2, 1fr);
    }
    #asm-pro-main-suggestions li img {
        width: 50px !important;
    }
    #asm-pro-main-suggestions li a {
        width: 95px;
    }
}
@media (max-width: 499px) {
    #asm-pro-main-suggestions {
        max-height: 75vh;
    }
    [id^="asm-pro-main-results-"] {
        max-height: 60vh;
        overflow-y: auto;
        text-align: center;
    }
    [id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-thumbnail{
        width: auto;
        height: 40px;
        object-fit: cover;
        border-radius: 10px;
    }
    [id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info .asm-pro-main-price .woocommerce-Price-amount.amount {
        font-size: 18px;
    }
    .asm-pro-main-summary .asm-pro-main-summary-result,
    [id^="asm-pro-main-results-"] .asm-pro-main-result .asm-pro-main-info-title{
        font-size: 16px;
    }
    #asm-pro-main-suggestions li .search-count{
        font-size: 14px;
        width: 30px;
        height: 30px;
        line-height: 22px;
    }
}
@media (max-width: 414px) {
    #asm-pro-main-suggestions li a {
        width: 80px;
    }
}
@media (max-width: 375px) {
    .asm-pro-main-searches-trending{
        padding-top: 5px;
    }
    #asm-pro-main-suggestions ul {
        grid-template-columns: repeat(1, 1fr);
    }
    #asm-pro-main-suggestions li img {
        width: 60px !important;
    }
    #asm-pro-main-suggestions li a {
        width: 206px;
        font-size: 16px;
    }
}
@media (max-width: 360px) {
    #asm-pro-main-suggestions li a {
        width: 185px;
        font-size: 15px;
    }
}