@charset "UTF-8";

.search-container {
    position: absolute;
    right: 0;
    width: 100%;
    max-width: 1060px;
    height: 600px;
    padding: 2rem;
    border-radius: 1rem;
    background-color: #fff;
    top: 6rem;
    z-index: 9;
    display: none;
}



.search-by-json {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #ECECEC;
    padding-bottom: 2rem;
}

.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;
    width: 100%;
    max-width: 660px;
    margin-inline: auto;

}



.search-by-json .input input {
    width: 100%;
    background-color: #0B26500D;
    border: 1px solid #0B26500D;
    border-radius: 0.5rem;
    padding: 0.25rem 3rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #0B2650;
    height: 2.75rem;
    transition: border-color 0.5s;
}

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

.search-by-json .input input:focus {
    border-color: #0B2650;
}



.search-by-json .input .empty {
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    background-color: #f8d7da;
    border: 1px solid #f1aeb5;
    transition: 500ms;
    color: #58151c;
    right: .5rem;
    text-align: center;
    line-height: .5825;
    transform: translateY(-50%);
}

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

.search-by-json .input i.icon-search {
    position: absolute;
    top: 50%;
    font-size: 1.125rem;
    color: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    left: 1.25rem;
}


.search-by-json .body {
    position: absolute;
    z-index: 99999;
    width: 100%;
    overflow-y: auto;
    height: 440px;
    top: calc(100% + 1rem);
}

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



.search-by-json .body .default .popular {
    margin-top: .375rem;
}

.search-by-json .body .default .popular .title-popular {
    font-size: 1.375rem;
    color: #0B2650;
    line-height: 2;
}

.search-by-json .body .default .popular .menu-popular ul {
    margin: .5rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.search-by-json .body .default .popular .menu-popular ul li {
    display: inline-block;
}

.search-by-json .body .default .popular .menu-popular ul li:first-child {
    margin-left: 0;
}

.search-by-json .body .default .popular .menu-popular ul li:last-child {
    margin-right: 0;
}

.search-by-json .body .default .popular .menu-popular ul li a {
    display: block;
    background-color: #fff;
    padding: 0.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: 1px solid #0B26501F;
    color: #0B2650;
    font-size: 1rem;
    line-height: 1.5;
    transition: 0.5s;
}

.search-by-json .body .default .popular .menu-popular ul li a:hover {
    background-color: #0B26501F;
}

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

.search-by-json .body .is-search .products {
    float: left;
    padding-right: 0.5rem;
    width: 50%;
}

.search-by-json .body .is-search .services {
    float: left;
    padding-inline: .5rem;
    width: 50%;
}

.search-by-json .body .is-search .title-products {
    font-size: 1.375rem;
    color: #0B2650;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

}

.search-by-json .body .is-search .list-products .item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    border: 1px solid #0B265020;
    padding: 0.5rem;
}

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

.search-by-json .body .is-search .list-products .item .context i {
    margin-left: auto;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: .75rem;
    color: #0B265080;
}

.search-by-json .body .is-search .services .list-products .item .context {
    justify-content: center;

}

.search-by-json .body .is-search .list-products .item .context {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-by-json .body .is-search .list-products .item .img {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .75rem;
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
}

.search-by-json .body .is-search .services .list-products .item .excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-size: 1rem;
    line-height: 2;
    color: #0B2650;
}

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

.search-by-json .body .is-search .list-products .item .img img {
    width: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
}

.search-by-json .body .is-search .list-products .item .time {
    background-color: #0B265014;
    font-size: 0.8125rem;
    text-align: center;
    width: 5rem;
    border-radius: .375rem;
    margin-bottom: .5rem;
    color: #0B2650;
}

.search-by-json .body .is-search .list-products .item .title {
    color: #0B2650;
    font-size: 1.125rem;
    display: block;
    line-height: 1.5;
}


.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 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-block: .75rem;
}

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





.search--banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 4rem;
}

.search--banner img {
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.search--banner:hover img {
    transform: scale(1.05);
}

#mask2 {
    position: fixed;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    inset: 0;
    display: none;
}



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

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






@media (max-width:767.98px) {
    .search-container {
        top: 4.5rem;
    }

    .search-container {
        padding: 1rem;
    }

    .search--banner {
        margin-top: 2rem;
    }

    .search-container {
        height: 444px;
    }

    .search-by-json .body {
        height: 320px;
    }

    .search-by-json .body .is-search .products,
    .search-by-json .body .is-search .services {
        float: unset;
        padding: unset;
        margin-block: 1rem;
        width: 100%;
        padding-right: 1rem;
    }

    .search-by-json .body .is-search .services .list-products .iccccon {
        display: none;
    }

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




@media (max-width:575.98px) {
    .search-by-json .body .is-search .list-products .item .img {
        width: 5rem;
        height: 5rem;
    }

    .search-container {
        padding: 0.5rem;
    }

    .search-by-json .body .is-search .products,
    .search-by-json .body .is-search .services {
        padding-right: 0.5rem;
    }
}