@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;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
}
.search-by-json .input.active {
    border-color: #15264F;
}
.search-by-json .input input {
    width: 100%;
    height: 100%;
    outline: none;
    background: #23316B0A;
    border: none;
    padding: 0 30px 9px 0;
    color: #fff;
    font-size: 13px;
    border-bottom: 1px solid #fff;
    font-family: inherit;
}
.search-by-json .input input::placeholder {
    color: #fff;
    font-size: 12px;
}
.search-by-json .input input:focus {
    border-color: #2DF08A;
}
.woocommerce-error {
    text-align: center;
    color: var(--color2);
    margin: 15px 0 30px;
    font-family: var(--bold_font);
}
.search-by-json .input .empty {
    font-size: 15px;
    position: absolute;
    top: 7px;
    right: 6px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
    transition: 0.4s ease;
}
.search-by-json .input .empty:hover {
    color: #820808;
}
.search-by-json .input > .icon {
    position: absolute;
    right: 6px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
}
.search-by-json .input.active .icon {
    color: #2DF08A;
}
.search-by-json .input .icon img {
    width: 20px;
}
.search-by-json .body {
    position: absolute;
    z-index: 99999;
    width: 100%;
    background: #FEF4EA;
    border: 1px solid rgba(225, 225, 225, 0.36);
    border-radius: 16px;
    margin-top: 5px;
    text-align: center;
    padding: 24px 36px 52px 36px;
    margin-bottom: 10px;
    right: 0;
    mask-image: url('../../../../assets/svg/help.svg');
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    max-height: calc(100vh - 200px);
    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-recipes,
.list-blogs,
.list-products {
    overflow: auto;
    max-height: 250px;
    -webkit-overflow-scrolling: auto;
    scrollbar-color: var(--color1) #C2D2E4;
    scrollbar-width: thin !important;
    padding-right: 15px;
}
/* width */
.list-recipes::-webkit-scrollbar,
.list-blogs::-webkit-scrollbar,
.list-products::-webkit-scrollbar {
    height: 4px !important;
    width: 3px !important;
}

/* Track */
.list-recipes::-webkit-scrollbar-track,
.list-blogs::-webkit-scrollbar-track,
.list-products::-webkit-scrollbar-track {
    background: #eae8e4 !important;
    height: 4px !important;
}

/* Handle */
.list-recipes::-webkit-scrollbar-thumb,
.list-blogs::-webkit-scrollbar-thumb,
.list-products::-webkit-scrollbar-thumb {
    background: rgb(123, 123, 123) !important;
    height: 4px !important;
}

/* Handle on hover */
.list-recipes::-webkit-scrollbar-thumb:hover,
.list-blogs::-webkit-scrollbar-thumb:hover,
.list-products::-webkit-scrollbar-thumb:hover {
    background: var(--color1);
}

.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: 4px;
    font-size: 18px;
    color: #111;
}
.search-by-json .body .default .popular .menu-popular ul {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 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: #C9DED3;

    border-radius: 4px;
    font-size: 14px;
    color: var(--color3);
    padding: 10px 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 {
    box-shadow: 0 2px 4px rgba(7, 90, 53, 0.76);
}
.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 .title-recipes,
.search-by-json .body .is-search .title-blogs,
.search-by-json .body .is-search .title-category,
.search-by-json .body .is-search .title-products {
    font-family: var(--med_font);
    font-size: 18px;
    margin: 15px 0 10px 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search-by-json .body .is-search .item {
    display: grid;
    grid-template-columns: 2fr 8fr 3fr;
    padding: 10px;
    align-items: center;
    gap: 15px;
    border-radius: 16px;
    margin: 10px 0;
    background: #fff;
    mask-image: url('../../../../assets/svg/access.svg');
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}
.search-by-json .body .is-search .item:hover {
    color: inherit;
}
.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: var(--color3);
    font-size: 13px;
    position: relative;
    text-align: left;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-left: 10px;
}
.search-by-json .item-link i {
    font-size: 10px;
}
.search-by-json .body .is-search.item .img img {
    width: 64px;
}
.search-by-json .body .is-search  .item .title {
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.search-by-json .body .is-search .list-products .item .price {
    text-align: left;
    align-items: flex-end;
}
.search-by-json .body .is-search .list-products .item .price .discount {
    display: inline;
    background: #d53343;
    color: #FFF;
    padding: 5px;
    border-radius: 5px;
    margin-left: 5px;
}
.search-by-json .body .is-search .list-products .item .woocommerce-Price-amount bdi {
    font-size: 14px;
}
.search-by-json .body .is-search .list-products .item del .woocommerce-Price-amount bdi {
    font-size: 12px;
}
.search-by-json .body .is-search .list-products .item .woocommerce-Price-currencySymbol {
    font-size: 13px;
    font-weight: normal;
}
.search-by-json .body .is-search .list-products .item del .woocommerce-Price-amount bdi  .woocommerce-Price-currencySymbol {
    font-size: 10px;
    font-weight: normal;
}
.search-banner {
    border-radius: 16px;
    overflow: hidden;
}
.search-banner img {
    width: 100%;
}
.blogs {
    margin-top: 25px;
}
.recipes {
    margin-top: 25px;
}
.more-search {
    color: #DD282E;
    font-size: 12px;
    cursor: pointer;
}
.mobile .search-by-json .body {
    width: 160%;
    max-width: 100%;
    right: 50%;
    transform: translateX(50%);
    max-height: calc(100vh - 200px);
    padding: 10px 20px 20px 20px;
    overflow: auto;
}
.mobile .list-blogs,.mobile .list-products,.mobile .list-recipes {
    max-height: 200px;
}

.mobile #search-by-json-form {
    position: fixed;
    top: 140px;
    right: 50%;
    left: unset;
    margin: auto;
    transform: translateX(50%);
    display: none;
    z-index: 9999999;
    width: 400px;
    max-width: 97%;
}
.mobile #search-by-json-form.active {
    display: block;
}
@media screen and (min-width: 768px){
    .search-by-json .body {
        width: 100%;
    }
}
@media screen and (min-width: 992px){
    .search-by-json .body {
        width: 491px;
    }
    .search-by-json .input input {
        width: 163px;
    }
}
@media screen and (min-width: 1400px){


}
@media screen and (max-width: 992px){

    .search-by-json .input input {
        display: block;
    }
    .search-by-json .input .icon {
         color: var(--color3);
    }

}
@media screen and (max-width: 768px){
}
@media screen and (max-width: 576px){


}
@media screen and (max-width: 370px){
    .search-by-json .input input {
        min-width: 258px;
    }

}