.search-result {
    position: absolute;
    right: calc(50% - 600px + 30px);
    top: 65px;
    z-index: 99999999;
    background: #fff;
    display: none;
    box-shadow: 0 0 5px 0px #9f9b9b;
    width: 1150px;
    border-radius: 21px;
}

.search-result-wrapper {
    padding: 15px;
    position: relative;
}

.search-result-wrapper .row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

.search-result-wrapper .row-eq-height [class*="col-"] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-col-left,
.search-col-right {
    width: 100%;
}

.search-col-title {
    position: relative;
    background: #fff;
    width: 100%;
}

.search-col-title h3 {
    margin-right: auto;
    position: relative;
    width: 100%;
    font-family: 'Agrandir';
    font-weight: 800;
    font-size: 18px;
}

.search-col-left .search-col-title h3::after {
    width: 12%;
}

.search-col-title h3::after {
    content: '';
    position: absolute;
    height: 1px;
    background: var(--new-gradient);
    right: 0;
    top: 49%;
    z-index: 0;
}

.popular-search-wrap {
    width: 100%;
}

.popular-search-queries {
    margin-top: 15px;
}

.popular-search-queries>li>a {
    display: block;
    color: #444 !important;
    padding: 8px 8px 8px 25px;
    position: relative;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
}

.popular-search-queries>li>a::before {
    font-family: 'fontawesome';
    content: '\f002';
    position: absolute;
    left: 5px;
    color: #999;
}

.popular-search-queries>li>a::after {
    font-family: 'fontawesome';
    content: '\f062';
    position: absolute;
    right: 5px;
    color: #999;
    transform: rotate(-40deg);
}

#sresult {
    min-width: 100%;
    min-height: 100px;
    max-height: 416px;
    overflow-y: auto;
    margin-top: 20px;
}

#sresult [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

#sresult {
    .product-wrap {
        border: 1px solid #ddd;
        border-radius: 30px;
        overflow: hidden;
        width: 100%;
        background-color: #fff;
        height: 100%;
        margin-bottom: 30px;
        max-width: 350px;
        transition: border 0.3s;
    }

    .product-wrap>a {
        text-decoration: none;
    }

    .product-wrap figure {
        width: 100%;
        height: auto;
        max-height: 350px;
        overflow: hidden;
        min-height: 178px;
    }

    .product-wrap figure>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        height: 178px;
    }

    .product-wrap .content {
        padding: 0;
        text-align: center;
    }

    .product-wrap .content h3 {
        font-family: 'Georgia';
        font-weight: 400;
        font-size: 16px;
        margin: 8px 0;
    }

    .category_name {
        margin-bottom: 5px;
    }

    .product-wrap .content h4 {
        font-size: 15px;
        color: #777;
    }

    .from_price {
        font-family: 'Barbershop-in-Thailand';
        font-size: 16px;
        margin-bottom: 0;
    }

    .min_qty {
        color: #777;
        font-size: 13px;
        margin-bottom: 0;
    }

}



.latest-blogs {
    width: 100%;
}

.latest-blogs .blog-results {
    margin-top: 25px;
}

ul#bresult {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.latest-blogs .blog-results li {
    margin-bottom: 10px;
}

.blog-results li {
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
}

.latest-blogs .blog-results li img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
    height: 130px;
    margin-right: auto;
    margin-left: 0px;
}

.blog-results li .blog-detail {
    text-align: left;
    justify-content: left;
    width: 100%;
}

.blog-results li .blog-detail p:first-child {
    position: relative;
    width: fit-content;
    margin-bottom: 15px;
    font-size: 15px;
}
.blog-results li .blog-detail p:first-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background: var(--new-gradient);
}
.blog-results li .blog-detail p {
    font-family: 'Georgia';
    font-size: 16px;
}

.blog-results li .blog-detail p:nth-child(3) {
    margin-bottom: 2px;
}

.blog-results li .blog-detail p {
    font-family: 'Georgia';
    font-size: 16px;
}

.blog-results li .blog-detail p:last-child {
    color: #777;
    font-size: 15px;
}

@media screen and (min-width:992px) {
    .product-wrap figure {
        height: 100%;
        max-height: 283px;
        min-height: 283px;
    }
}

@media screen and (max-width:576px) {
    .search-result {
        width: 100%;
        right: 0;
        height: 100dvh;
        overflow-y: auto;
        padding-bottom: 2em;
    }
}