@charset "UTF-8";

.fast-search-disabled {
    pointer-events: none;
    cursor: default;
}

.fast-search-disabled .input input,
.header-search.fast-search-disabled,
.search-box.fast-search-disabled .header-search {
    cursor: default;
}

#mask.fast-search-mask {
    background: #000000B2;
    z-index: 99998;
}

body.fast-search-scroll-lock {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

html.fast-search-scroll-lock {
    overflow: hidden;
}

body.fast-search-desktop-open .header-top {
    position: relative;
    z-index: 100000;
}

#search-by-json.is-open {
    position: relative;
    z-index: 1;
}

.search-by-json {
    width: 100%;
    position: relative;
    height: 35px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 6.5px 8px;
}

.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(--white);
    font-size: 11px;
    font-family: var(--main_font);
    min-width: 330px;
    font-weight: 400;
}

body:not(.home) .search-by-json .input input {
    color: var(--color2);
}

body:not(.home) .search-by-json .input input::placeholder {
    color: var(--color2);
}

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

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

.search-by-json .input .empty {
    position: absolute;
    left: 0.5rem;
    cursor: pointer;
    color: var(--danger);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.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: 99999999;
    width: 100%;
    background: #FFF;
    margin-top: 5px;
    text-align: center;
    padding: 10px;
    left: 0;
    max-height: 95vh;
    overflow: auto;
    direction: ltr;
}

.search-by-json .body .default,
.search-by-json .body .not-found,
.search-by-json .body .is-search {
    direction: rtl;
}

.search-by-json .body .is-search .list-category ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.list-services,
.list-posts,
.list-products {
    overflow: auto;
    max-height: 400px;
    direction: ltr;
}

.list-services>*,
.list-posts>*,
.list-products>* {
    direction: rtl;
}

/* 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,
.search-by-json .body .is-search .category.popular .title-popular {
    margin-top: 32px;
    font-size: 16px;
    line-height: 2rem;
    margin-bottom: 24px;
    color: var(--text);
}

.search-by-json .body .is-search .category.popular .title-popular {
    margin-top: 0;
}

.search-by-json .body .default .popular .menu-popular ul,
.search-by-json .body .is-search .category.popular .menu-popular ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.search-by-json .body .is-search .list-category ul li,
.search-by-json .body .is-search .category.popular .menu-popular ul li {
    margin: 0;
    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,
.search-by-json .body .is-search .category.popular .menu-popular ul li a {
    background: #F8F8F8;
    font-size: 16px;
    color: var(--text);
    padding: 12px;
    transition: 0.4s ease;
    position: relative;
    background-color: #E9ECF0;
    border-radius: 12px;
    min-width: 130px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-by-json .body .default .popular .menu-popular ul li a:hover,
.search-by-json .body .is-search .list-category ul li a:hover,
.search-by-json .body .is-search .category.popular .menu-popular ul li a:hover {
    background: var(--color2);
    color: var(--white);
}

.search-by-json .body .not-found {
    color: #e40000;
    font-size: 16px;
    margin: 50px 0;
}

.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,
.search-by-json .body .is-search .title-treatment-groups,
.search-by-json .body .is-search .title-industry {
    font-size: 18px;
    text-align: right;
    margin-bottom: 1.5rem;
    color: var(--text);
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 1rem;
}

.search-by-json .body .is-search .title-treatment-groups {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

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

.search-by-json .body .is-search .fast-search-treatment-sw {
    padding: 0 0.25rem;
}

.search-by-json .body .is-search .fast-search-treatment-nav {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
}

.search-by-json .body .is-search .fast-search-treatment-nav .swiper-pagination {
    position: static;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    min-height: 10px;
    opacity: 1 !important;
    visibility: visible !important;
}

.search-by-json .body .is-search .fast-search-treatment-nav .swiper-pagination.swiper-pagination-hidden,
.search-by-json .body .is-search .fast-search-treatment-nav .swiper-pagination.swiper-pagination-lock {
    opacity: 1 !important;
    display: flex !important;
}

.search-by-json .body .is-search .fast-search-treatment-nav .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    border-radius: 5px;
    background-color: #E9F2FB;
    opacity: 1;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.search-by-json .body .is-search .fast-search-treatment-nav .swiper-pagination-bullet-active {
    width: 25px;
    height: 10px;
    border-radius: 5px;
    background-color: #3DA8EA;
    opacity: 1;
}

.search-by-json .body .is-search .fast-search-treatment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 0.75rem;
    background-color: #F8F8F8;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text);
    transition: 0.3s;
}

.search-by-json .body .is-search .fast-search-treatment-item:hover {
    background-color: var(--color2);
    color: var(--white);
}

.search-by-json .body .is-search .fast-search-treatment-item__title {
    font-size: 16px;
    line-height: 2rem;
    color: var(--text);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.search-by-json .body .is-search .fast-search-treatment-item:hover .fast-search-treatment-item__title {
    color: var(--white);
}

.search-by-json .body .is-search .top-title-search {
    margin-bottom: 0.75rem;
}

.search-by-json .body .is-search .fast-search-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 16px;
    margin-bottom: 24px;
    background-color: #F3F8FD;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: background-color 0.3s;
}

.search-by-json .body .is-search .fast-search-product-item:hover,
.search-by-json .body .is-search .fast-search-post-item:hover {
    background-color: #F3F8FD;
    color: inherit;
}

.search-by-json .body .is-search {
    --fast-search-thumb-size: clamp(130px, 38vw, 148px);
}

.search-by-json .body .is-search .fast-search-item-img {
    position: relative;
    flex: 0 0 var(--fast-search-thumb-size);
    width: var(--fast-search-thumb-size);
    max-width: 148px;
    min-width: 130px;
}

.search-by-json .body .is-search .fast-search-item-img img {
    width: 100%;
    height: var(--fast-search-thumb-size);
    min-height: 130px;
    max-height: 148px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid #E8E8E8;
}

.search-by-json .body .is-search .fast-search-product-icon {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: #F3F8FD;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    transition: color 0.3s;
}

.search-by-json .body .is-search .fast-search-product-icon .treatment-group-icon-img {
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
}

.search-by-json .body .is-search .fast-search-product-item:hover .fast-search-product-icon {
    color: var(--text);
}

.search-by-json .body .is-search .fast-search-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    min-width: 0;
    padding: 2px 0;
}

.search-by-json .body .is-search .fast-search-item-titles {
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #E8E8E8;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.search-by-json .body .is-search .fast-search-product-title {
    font-size: 16px;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.3s;
}

.search-by-json .body .is-search .fast-search-product-english {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.3s;
}

.search-by-json .body .is-search .fast-search-product-treatment {
    font-size: 14px;
    line-height: 1.5;
    color: #444343;
}

.search-by-json .body .is-search .fast-search-product-treatment-label {
    color: var(--text);
}

.search-by-json .body .is-search .fast-search-post-date {
    font-size: 12px;
    height: 27px;
    background-color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    padding: 0 7px;
    color: var(--text);
}

.search-by-json .body .is-search .fast-search-post-title {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.search-by-json .body .is-search .list-posts .fast-search-item-link {
    background-color: transparent !important;
    color: #B1B1B1;
    font-size: 14px;
}

.search-by-json .body .is-search .fast-search-item-link {
    margin-top: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #DEEEFF;
    color: var(--color1);
    font-size: 12px;
    line-height: 1;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-by-json .body .is-search .fast-search-product-item:hover .fast-search-product-title,
.search-by-json .body .is-search .fast-search-product-item:hover .fast-search-product-english {
    color: var(--color2);
}

.search-by-json .body .is-search .fast-search-product-item:hover .fast-search-item-link {
    background-color: var(--color2);
    color: var(--white);
}

.search-by-json .body .is-search .fast-search-post-item:hover .fast-search-post-title {
    color: var(--color2);
}

.search-by-json .body .is-search .fast-search-post-item:hover .fast-search-item-link {
    color: var(--color2);
    background-color: #DEEEFF;
}

#fast-search-body-mobile .is-search .title-products,
#fast-search-body-mobile .is-search .title-posts {
    margin-bottom: 1rem;
    padding-bottom: 0;
    border-bottom: none;
}

.search-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.search-banner img {
    width: 100%;
    border-radius: 1rem;
}

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

.popup-footer-search {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    z-index: 9999999;
    padding: 1.5rem 1rem;
    pointer-events: none;
}

.popup-footer-search .fast-search-mobile-popup {
    pointer-events: auto;
    max-width: 630px;
    margin: 0 auto;
}

#search-by-json-mobile.search-by-json {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
}

.fast-search-mobile__header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.fast-search-mobile .input .empty {
    left: 2.5rem;
}

.fast-search-mobile__close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background-color: #F1F2F2;
    color: #000D23;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
}

#search-by-json-mobile .input {
    position: static;
    display: flex;
    align-items: center;
    width: 100%;
    height: 65px;
    padding: 0 0.875rem;
    margin-bottom: 1rem;
    background-color: var(--white);
    border: 1px solid #E8E8E8;
    border-radius: 16px;
}

#search-by-json-mobile .input input {
    display: block;
    flex: 1;
    width: auto;
    min-width: 0;
    color: #000D23;
    font-size: 14px;
}

#search-by-json-mobile .input input::placeholder {
    color: #000D23;
    opacity: 0.6;
}

#search-by-json-mobile .input .icon {
    color: #000D23;
    margin-left: 0;
    margin-right: 0.5rem;
}

#search-by-json-mobile .body {
    position: static;
    z-index: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 0;
    max-height: calc(100vh - 20rem);
    overflow-y: auto;
    overflow-x: hidden;
    background-color: transparent;
    direction: rtl;
    padding-left: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color2) #f1f1f1;
}

#search-by-json-mobile .body .default,
#search-by-json-mobile .body .not-found,
#search-by-json-mobile .body .is-search {
    direction: rtl;
}

#search-by-json-mobile .body .list-products,
#search-by-json-mobile .body .list-posts {
    direction: ltr;
}

#search-by-json-mobile .body .list-products>*,
#search-by-json-mobile .body .list-posts>* {
    direction: rtl;
}

#search-by-json-mobile .body::-webkit-scrollbar {
    width: 4px;
}

#search-by-json-mobile .body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.5rem;
}

#search-by-json-mobile .body::-webkit-scrollbar-thumb {
    background: var(--color2);
    border-radius: 0.5rem;
}

#search-by-json-mobile .body::-webkit-scrollbar-thumb:hover {
    background: var(--color2);
}

#fast-search-body-mobile .is-search {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#fast-search-body-mobile .is-search .treatment-groups,
#fast-search-body-mobile .is-search .products,
#fast-search-body-mobile .is-search .posts {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.header-search .icon-search {
    font-size: 1.125rem;
    cursor: pointer;
}

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

.search-by-json .body .is-search.row {
    align-items: flex-start;
}

.search-by-json .body::-webkit-scrollbar {
    width: .5rem;
}

.search-results .search-box h3 {
    background: var(--color1);
    color: #fff;
    text-align: center;
    padding: 0.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) {
    .search-by-json .body .is-search.row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .search-by-json .input .icon {
        color: var(--white);
        font-size: 1.125rem;
        transition: 0.3s;
    }

    body:not(.home) .search-by-json .input .icon {
        color: var(--color2);
    }
}

@media screen and (min-width: 1200px) {
    .search-by-json .body {
        width: 305%;
        max-width: 872px;
        left: 0;
        right: auto;
        background-color: var(--white);
        padding: 2rem;
        border-radius: 1rem;
        top: 50px;
    }

    .list-products {
        padding-right: 0.5rem;
        margin-left: 1rem;
    }

    .list-posts {
        padding-right: 0.5rem;
    }
}

.fast-search-mobile.search-by-json .body .default .popular .title-popular,
.fast-search-mobile.search-by-json .body .is-search .category.popular .title-popular {
    margin-top: 0rem;
}

@media screen and (max-width: 576px) {
    .search-by-json .body .is-search .fast-search-item-img img {
        max-height: 115px;
    }

    .search-by-json .body .is-search .fast-search-item-img {
        max-width: 115px;
    }
}