@charset "UTF-8";

#search-by-json-form {
    width: 100%;
    height: 100%;
}

.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;
    display: flex;
    align-items: center;
}

.search-by-json .input input {
    outline: none;
    border: none;
    background: transparent;
    color: var(--color1);
    font-size: 13px;
    font-family: var(--main_font);
    width: 100%;
}

.search-by-json .input:has(input:focus) {
    border-color: var(--color2);
}

.search-by-json .input input::placeholder {
    color: var(--color1);
    font-size: 14px;
}

.search-by-json .input .empty {
    position: absolute;
    left: 11px;
    cursor: pointer;
    color: #820808;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-by-json .input .icon {
    cursor: pointer;
    color: var(--color1);
    font-size: 21px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 6px;
}

.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: #FAF7F1;
    margin-top: 32px;
    text-align: center;
    padding: 10px;
    right: 0;
    max-height: 95vh;
    overflow: auto;
}

#search-by-json-form-mobile .search-by-json .body {
    margin-top: 4rem;
    width: 100%;
}

#search-by-json-form-mobile .body .is-search .list-category ul li a {
    min-width: 87px;
}

#search-by-json-form-mobile .products-alls,
#search-by-json-form-mobile .posts-alls {
    gap: 8px;
    font-size: 12px;
}

#search-by-json-form-mobile .search-by-json .body .is-search .item {
    grid-template-columns: 3fr 9fr 0fr;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
    #search-by-json-form-mobile .search-by-json .body .is-search .item {
        grid-template-columns: 2fr 10fr 0fr;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    #search-by-json-form-mobile .search-by-json .body .is-search .item {
        grid-template-columns: 1fr 6fr 0fr;
    }
}

#search-by-json-form-mobile .search-by-json .body .is-search .list-products .item>.info-center {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / 3;
}

#search-by-json-form-mobile .search-by-json .body .is-search .list-posts .item {
    display: grid;
    gap: 0 10px;
}

#search-by-json-form-mobile .search-by-json .body .is-search .list-posts .item .img {
    grid-area: 1 / 1 / 3 / 2;
}

#search-by-json-form-mobile .search-by-json .body .is-search .list-posts .item>.info-center {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / 3;
}

#search-by-json-form-mobile .search-by-json .body .is-search .list-posts .item .excerpt {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.search-by-json .body .is-search .list-category ul {
    padding-bottom: 15px;
}

.list-services,
.list-posts,
.list-products {
    overflow: auto;
    max-height: 250px;
    padding-left: 15px;
}

.search-by-json .body .is-search .list-products .info {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / 3;
}

/* 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: right;
}

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

.search-by-json .body .default .popular .menu-popular ul {
    margin: 10px 0 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
}

.search-by-json .body .is-search .list-category ul li {
    margin: 2px .5rem;
    text-align: center;
    display: inline-block;
}

.search-by-json .body .default .popular .menu-popular ul li {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a {
    font-size: 13px;
    color: #121212;
    padding: 5px;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1A1A1A1F;
    text-align: center;
}

.search-by-json .body .is-search .list-category ul li a {
    padding: 10px 16px;
}

.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: #A71100;
    font-size: 16px;
    margin: 50px 0;
}

.search-by-json .body .is-search .not-found-item {
    color: #A71100;
    font-size: 16px;
    text-align: center;
    padding: 12px 0;
    margin-top: 16px;
}

.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: 15px;
    text-align: right;
    margin: 5px 0;
    color: #151515;
    font-weight: bold;
}

.search-by-json .body .is-search .item {
    display: grid;
    grid-template-columns: 3fr 9fr 0fr;
    padding: 10px 0;
    align-items: center;
    gap: 15px;
    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;
    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;
}

.search-by-json .body .is-search .item:hover .item-link i {
    color: var(--color2);
}

.search-by-json .item-link i {
    font-size: 20px;
    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: 14px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.search-by-json .body .is-search .list-posts .item .title::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--color1);
    display: inline-block;
    margin-left: 8px;
    transition: 0.3s;
}

.search-by-json .body .is-search .list-posts .item:hover .title::before {
    background: var(--color2);
}


.search-by-json .body .is-search .item .price {
    min-height: 2rem;
    font-size: 13px;
    margin-top: 5px;
}

.search-by-json .body .is-search .item .price .price_holder {
    color: var(--color2);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.search-by-json .body .is-search .item .price .price_holder ins {
    text-decoration: none;
}

.search-by-json .body .is-search .item .price .price_holder del {
    font-size: 12px;
}

.search-by-json .body .is-search .item .price .on-sale {
    color: #fff;
    background-color: var(--color1);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.search-banner {
    overflow: hidden;
}

.search-banner img {
    width: 100%;
}

#search-by-json-form-mobile {
    display: none;
}

.search-by-json .body {
    max-height: 85vh;
    width: 100%;
}

.popup-footer-search {
    position: fixed;
    top: 2rem;
    right: 0.5rem;
    left: 0.5rem;
    margin: auto;
    z-index: 9999999;
    width: calc(100% - 2rem);
}

.search-by-json .input input {
    display: block;
}

.search-by-json .body .is-search .list-products .item {
    display: grid;
    gap: 0 10px;
}

.search-by-json .body .is-search .list-products .item .img {
    grid-area: 1 / 1 / 3 / 2;
    max-width: 90px;
}

.search-by-json .body .is-search .list-products .item>.info-center {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / 3;
}

.search-by-json .body .is-search .list-posts .item {
    display: grid;
    gap: 0 10px;
}

.search-by-json .body .is-search .list-posts .item .img {
    grid-area: 1 / 1 / 3 / 2;
}

.search-by-json .body .is-search .list-posts .item>.info-center {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / 3;
}

.search-by-json .body .is-search .list-posts .item .excerpt {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.search-by-json .body {
    width: 200%;
    max-width: 1076px;
}

@media screen and (max-width: 768px) {

    #search-by-json-mobile .input input {
        width: 100%;
        max-width: 100%;
    }

    #search-by-json-mobile .input {
        position: absolute;
        display: flex;
        align-items: center;
        width: 100%;
        background-color: #FAF7F1;
        padding: 0.5rem;
        margin-top: 1.5rem;
    }

    .header-search .icon-search {
        font-size: 1.5rem;
    }
}

.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: 768px) {
    .search-by-json .body .default .popular .menu-popular ul li {
        flex: auto;
        max-width: fit-content;
        min-width: 120px;
    }
}

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