@charset "UTF-8";

.search-by-json {
    width: 100%;
    position: relative;
    /* margin-right: 10%; */
    /* margin-inline: auto;
    margin-top: 3%;
    position: relative; */
}

.search-by-json .d-none {
    display: none !important;
}

.search-by-json .body .is-search .list-category ul {
    padding: 0;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

.search-by-json .list-products {
    display: flex;
    flex-direction: column;
}

.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;
}


.search-by-json .input input {
    width: 100%;
    height: 40px;
    outline: none;
    background-color: #fff;
    border: 1px solid #e9ecef;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: .875rem;
    color: #495057;
    transition: 500ms;
    margin: 0;
}

.search-by-json .input input::placeholder {
    color: #49505780;
}

.search-by-json .input .empty:hover {
    background-color: #f1aeb5;
}

.search-by-json .input .empty {
    font-size: 1.625rem;
    position: absolute;
    top: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    width: 2rem;
    height: 29px;
    border-radius: 0.25rem;
    background-color: #f8d7da;
    left: 3rem;
    border: 1px solid #f1aeb5;
    transition: 500ms;
    color: #58151c;
    line-height: 1;
}

.search-by-json .input .fast-search-icon {
    position: absolute;
    transition: 500ms;
    border: none;
    top: 9px;
    left: 4px;
    padding: 0px 10px;
    cursor: pointer;
    /* width: 100%; */
    height: 40px;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.search-by-json #fast-search-input:focus::placeholder {
    color: transparent;
}

.search-by-json .input .fast-search-icon img {
    width: 1.125rem;
    object-fit: scale-down;
}

.search-by-json .body {
    position: absolute;
    z-index: 99999;
    width: 100%;
    background-color: #fff;
    border: 1px solid #e9ecef;
    box-shadow: 0px -4px 10px 0px #2626260F;
    border-radius: 12px;
    margin-block: 0.25rem;
    text-align: center;
    padding: 10px 8px;
    overflow-y: auto;
    max-height: 400px;
}

.search-by-json .body .default p {
    text-align: center;
    padding-top: .5rem;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.search-by-json .body .default img {
    width: 200px;
    margin-top: 25px;
    opacity: 0.7;
    margin-inline: auto;
    object-fit: scale-down;
    height: 100%;
}

.search-by-json .body .default .popular,
.search-by-json .body .is-search {
    text-align: right;
}

.search-by-json .body .default .popular .title-popular {
    margin-top: 20px;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
}

.menu-popular ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
    margin: 0px;
    gap: 6px;
}

.menu-popular ul li {
    margin-top: 6px !important;
}

.search-by-json .body .default .popular .menu-popular ul li,
.search-by-json .body .is-search .list-category ul li {
    text-align: center;
    display: inline-block;
    margin: 0 .125rem;
}

.search-by-json .body .default .popular .menu-popular ul li:first-child,
.search-by-json .body .is-search .list-category ul li:first-child {
    margin-right: 0;
}

.search-by-json .body .default .popular .menu-popular ul li:last-child,
.search-by-json .body .is-search .list-category ul li:last-child {
    margin-left: 0;
}

.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a {
    display: block;
    background-color: #ECF2FF;
    border-radius: 0.25rem;
    padding: 4px 8px;
    color: #333333;
    transition: 500ms;
    height: 27px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    border-radius: 8px;
}

.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-color: #0048ef;
    color: #fff;
}

.search-by-json .body .not-found {
    font-size: 1rem;
    margin-top: 4rem;
    color: #d53343;
}

.search-by-json .body .is-search {
    padding: 0.25rem;
}

.search-by-json .body .is-search .category {
    margin-bottom: 1.5rem;
}

.search-by-json .body .is-search .title-category,
.search-by-json .body .is-search .title-products {
    font-weight: bold;
    font-size: 1rem;
    color: #495057;
}

.search-by-json .body .is-search .list-products .item:hover {
    background-color: #e2e3e5;

}

.search-by-json .body .is-search .list-products .item {
    transition: 500ms;
    border: 1px solid #e2e3e5;
    background-color: #F5F5F5;
    display: grid;
    grid-template-columns: 4rem 8fr 0fr;
    padding: 10px;
    align-items: center;
    gap: 15px;
    border-radius: 0.25rem;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; */
    /* margin: .5rem 0; */
    margin: 0;
    text-decoration: none;
}

.search-by-json .body .is-search .list-products .item:hover {
    color: inherit;
}

.search-by-json .body .is-search .list-products .item .img {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 0.25rem;
    width: 4rem;
    height: 4rem;
}

.search-by-json .body .is-search .list-products .item .img img {
    width: 100%;
}

.search-by-json .body .is-search .list-products .item .title {
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    text-align: right;
    color: #4F4F4F;
    vertical-align: middle;
    color: #495057;
    padding-left: 2rem;
}

.search-by-json .body .is-search .list-products .item .price {
    line-height: 1.5;
    text-align: left;
    position: relative;
    width: max-content;
    display: flex;
    flex-direction: column;
    margin-right: auto;
    display: flex;
    flex-direction: row;
}

.search-by-json .body .is-search .list-products .item .price .discount {
    display: inline;
    background: #d53343;
    color: #FFF;
    padding: 0.25rem;
    border-radius: .25rem;
    font-size: .75rem;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    left: 106%;
}

.search-by-json .body .is-search .list-products .item .price del {
    font-size: 0.875rem;
    font-weight: bold;
    text-decoration-color: #999;
}

.search-by-json .body .is-search .list-products .item .price ins {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}


.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;
}

.search-by-json .list-products {
    gap: .5rem;
    margin-block: .5rem;
}

#search-by-json-form img {
    user-select: none;
    /* Prevents selection in modern browsers */
    -webkit-user-select: none;
    /* Prevents selection in Safari */
    -moz-user-select: none;
    /* Prevents selection in Firefox */
    -ms-user-select: none;
    /* Prevents selection in Internet Explorer/Edge */
}

#search-by-json-form a {
    text-decoration: none !important;
}


#search-by-json-form .amount bdi {
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
}

#search-by-json-form del .amount bdi {
    font-size: .8125rem;
}


@media (max-width: 1199.98px) {
    .search-by-json .list-products {
        grid-template-columns: 1fr;
    }

    #search-by-json-form .amount bdi {
        color: #495057;
        font-size: 0.875rem;
    }

    #search-by-json-form del .amount bdi {
        font-size: .75rem;
    }

    .search-by-json .body .is-search .list-products .item .price .discount {
        font-size: 10px;
    }

    .search-by-json .body .is-search .list-products .item .price span.woocommerce-Price-currencySymbol {
        font-size: 0.75rem;
    }

}

@media (max-width: 991.98px) {

}

@media (max-width: 767.98px) {
}

@media (max-width: 575.98px) {
    .search-by-json-form {
        width: 100% !important;
    }

    .search-by-json {
        width: 100% !important;
    }

    .search-by-json .body .default p {
        text-align: center;
        padding-top: .5rem;
        color: #495057;
        font-size: .9125rem;
    }

    .search-by-json .body .default img {
        width: 10rem;
        margin-top: 1.5rem;
    }


    .search-by-json .body .is-search .list-products .item .img {
        width: 3rem;
        height: 3rem;
        flex: 0 0 3rem;
    }

    .search-by-json .body .is-search .list-products .item .img {

        padding: 0.25rem;
    }

    .search-by-json .body .is-search .list-products .item {
        display: flex;
        gap: .5rem;
        flex-wrap: wrap;
    }

    .search-by-json .body .is-search .list-products .item .title {
        flex: 0 0 75%;
        padding-left: 0;
    }
}