@charset "UTF-8";
.search-by-json {
    width: 100%;
    position: relative;
}
.search-by-json .d-none {
    display: none !important;
}
.search-by-json .show-hide {
    transition: all .7s;
}
.search-by-json .fast-hide {
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
}
.search-by-json .fast-show {
    opacity: 1;
    visibility: visible;
}
.search-by-json .input {
    position: relative;
    border-radius: 32px;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    border: 1px solid rgb(18 18 18 / 32%);
}
.search-by-json .input input {
    width: 100%;
    outline: none;
    border: none;
    background: transparent;
    padding: 14px 25px 8px 0!important;
    color: #212121;
    font-size: 13px;
    min-width: 245px;
    height: 50px;
    display: block;
    border: 0 !important;
}

.search-by-json .input:has(input:focus) {
    border-color: var(--color2);
}

.search-by-json .input input::placeholder {
    color: #7B7B7B;
    font-size: 12px;
}
.search-by-json .input .empty {
    font-size: 17px;
    position: absolute;
    top: 17px;
    right: 16px;
    cursor: pointer;
    color: #e5436094;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}
.search-by-json .input .empty:hover {
    color: var(--color2);
}
.search-by-json .input .icon {
    cursor: pointer;
    color: #121212;
    font-size: 20px;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.search-by-json .input.active .icon {
    color: var(--color3);
}
.search-by-json .input .icon img {
    width: 20px;
}
.search-by-json .body {
    position: absolute;
    z-index: 99999;
    width: 100%;
    background: #FFF;
    border: 1px solid rgba(78, 54, 70, 0.36);
    border-radius: 6px;
    margin-top: 5px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    left: 0;
    max-height: 95vh;
    overflow: auto;
}
.search-by-json .body .is-search .list-category ul {
    overflow-x: auto;
    text-wrap: nowrap;
    -webkit-overflow-scrolling: auto;
    scrollbar-color: var(--color1) #C2D2E4;
    scrollbar-width: thin !important;
    padding-bottom: 15px;
}
.list-services,
.list-posts,
.list-products {
    overflow: auto;
    max-height: 250px;
    padding-right: 15px;
}
/* width */
.list-services::-webkit-scrollbar,
.list-posts::-webkit-scrollbar,
.list-products::-webkit-scrollbar {
    height: 4px !important;
    width: .3rem !important;
}
/* Track */
.list-services::-webkit-scrollbar-track,
.list-posts::-webkit-scrollbar-track,
.list-products::-webkit-scrollbar-track {
    background: #eae8e4 !important;
    height: 4px !important;
    border-radius: 0.5rem !important;
}
/* Handle */
.list-services::-webkit-scrollbar-thumb,
.list-posts::-webkit-scrollbar-thumb,
.list-products::-webkit-scrollbar-thumb {
    background: var(--color1) !important;
    height: 4px !important;
    border-radius: 0.5rem !important;
}
/* Handle on hover */
.list-services::-webkit-scrollbar-thumb:hover,
.list-posts::-webkit-scrollbar-thumb:hover,
.list-products::-webkit-scrollbar-thumb:hover {
    background: var(--color2);
}
.search-by-json .body .default p {
    text-align: center;
    padding-top: 10px;
    color: #8b8b8b;
}
.search-by-json .body .default .popular,
.search-by-json .body .is-search {
    text-align: left;
}
.search-by-json .body .default .popular .title-popular {
    margin-top: 20px;
    font-size: 15px;
}
.search-by-json .body .default .popular .menu-popular ul {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
}
.search-by-json .body .is-search .list-category ul li {
    margin: 2px .125rem;
    text-align: center;
    display: inline-block;
}
.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a {
    background: #F5F5F5;
    border-radius: 100px;
    font-size: 13px;
    color: #121212;
    padding: 8px 15px;
    transition: 0.4s ease;
}
.search-by-json .body .default .popular .menu-popular ul li a:hover,
.search-by-json .body .is-search .list-category ul li a:hover {
    background: var(--color1);
    color: #fff;
}
.search-by-json .body .not-found {
    color: #e40000;
    font-size: 16px;
    margin: 50px 0;
}
.search-by-json .body .is-search {
    padding: 5px;
}
.search-by-json .body .is-search .category {
    margin-bottom: 10px;
}
.search-by-json .body .is-search .title-posts,
.search-by-json .body .is-search .title-category,
.search-by-json .body .is-search .title-products {
    font-size: 18px;
    text-align: left;
    margin: 5px 0;
    color: #7B7B7B;
}
.search-by-json .body .is-search .item {
    border: 1px solid #E6E6E6;
    display: grid;
    grid-template-columns: 2fr 8fr 1fr;
    padding: 10px;
    align-items: center;
    gap: 15px;
    border-radius: 16px;
    margin: 10px 0;
}
.search-by-json .body .is-search .item:hover {
    border-color: rgb(1 116 190 / 16%);
    color: var(--color2);
}
.search-by-json .body .is-search .item .img {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
}
.search-by-json .item-link {
    color: #fff;
    position: relative;
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    background: var(--color1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: auto;
    transition:0.3s;
}
.search-by-json .body .is-search .item:hover .item-link {
    background: transparent;
    color:var(--color2);
}
.search-by-json .item-link i {
    font-size: 12px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;

}
.search-by-json .body .is-search.item .img img {
    width: 64px;
}
.search-by-json .body .is-search .item .title {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.search-banner {
    border-radius: 50px;
    overflow: hidden;
}
.search-banner img {
    width: 100%;
    border-radius: 6px;
}
#search-by-json-form-mobile {
    display: none;
}
.search-by-json .body {
    width: 100%;
}
.search-by-json .body {
    max-height: 85vh
}
.popup-footer-search {
    position: fixed;
    top: 20%;
    right: 0.5rem;
    left: 0.5rem;
    margin: auto;
    z-index: 9999999;
    width: calc(100% - 2rem);
}

.search-by-json .input {
    border: 1px solid var(--color1);
    background: #fff;
}
.search-by-json .input .icon {
    color: var(--color1);
}
.search-by-json .body .is-search .list-products .item {
    display: grid;
    /* 	grid-template-columns: 2fr 6fr;
        grid-template-rows: repeat(2, auto); */
    gap: 0 10px;
}
.search-by-json .body .is-search .list-products .item .img {
    grid-area: 1 / 1 / 3 / 2;
}
.search-by-json .body .is-search .list-products .item .title {
    grid-area: 1 / 2 / 2 / 3;
}
.search-by-json .body {
    width: 160%;
    max-width: 100%;
    right: 50%;
    transform: translateX(50%);
    left:auto;
}
@media screen and (max-width: 370px) {
    .search-by-json .input input {
        min-width: auto;
    }
}
.search-by-json .body::-webkit-scrollbar {
    width: .5rem;
}
/* Track */
.search-by-json .body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.5rem;
}
/* Handle */
.search-by-json .body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 0.5rem;
}
/* Handle on hover */
.search-by-json .body::-webkit-scrollbar-thumb:hover {
    background: #555;
}
@media screen and (min-width: 992px) {
    #fast-search-body-mobile .products, #fast-search-body-mobile .posts {
        flex: 0 0 48%;
        max-width: 50%;
    }
    #fast-search-body-mobile .category {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .search-by-json .body .is-search {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        justify-content:space-between;
    }
}