@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;
}

.empty .icon-close {
    font-size: 0.75rem;
}

.search-wrap {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.search-by-json .input {
    position: relative;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    background-color: #F5F5F5;
}

.search-page .search-area .search-box {
    flex-direction: column;
}

.search-page .search-area .search-box.search-posts {
    margin-top: 4rem !important;
}

.search-by-json .input input {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    background: transparent;
    padding: 0 1rem 0 2.5rem;
    color: #212121;
    font-size: 16px;
    min-width: 245px;
    min-height: 3rem;
	
}

.search-by-json .input:has(input:focus) {
    border-color: var(--color1);
}

.search-by-json .input input::placeholder {
    color: #7B7B7B;
    font-size: 12px;
}

.search-by-json .input .empty {
    font-size: 19px;
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    color: var(--color1);
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-by-json .input .icon {
    cursor: pointer;
    color: var(--color1);
    font-size: 16px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0.75rem;
}

.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: #FFF;
    margin-top: 5px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    left: 0;
    max-height: 95vh;
    overflow: auto;
	box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 48%);
    -webkit-clip-path: inset(0 -100vmax -100vmax -100vmax);
    clip-path: inset(0 -100vmax -100vmax -100vmax);
}

.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;
	text-align:left
}

.products-alls {
    gap: 8px;
    color: var(--color1);
    transition: 0.3s;
    font-size: 15px;
}

.products-alls .icon-direction {
    font-size: 12px;
}

.search-wrap .products-alls:hover {
    color: var(--color2);
    gap: 12px;
}

.search-wrap .posts-alls {
    gap: 8px;
    color: var(--color2);
    transition: 0.3s;
    font-size: 14px;
}

.search-wrap .posts-alls:hover {
    color: var(--color1);
    gap: 12px;
}

.list-services,
.list-posts,
.list-products {
    overflow: auto;
    max-height: 70vh;
    display: flex;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}

/* 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: left;
}

.search-by-json .body .default .popular .title-popular {
    margin-top: 20px;
    font-size: 15px;
    text-align: left;
    font-family: var(--main_bold);
}

.search-by-json .body .default .popular .menu-popular ul {
    margin: 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.search-by-json .body .default .popular .menu-popular ul li {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 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: #F5F5F5;
    font-size: 14px;
    color: var(--color3);
    width: 100%;
    height: 31px;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
	padding:0 0.5rem;  
}

.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: var(--color2);
    color: #fff;
}

.search-by-json .body .not-found {
    color: var(--color2);
    font-size: 16px;
    margin: 50px 0;
}

.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-services,
.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: 18px;
    text-align: left;
    color: #121212;
    font-weight: 600;
    margin-bottom: 10px;
}

.search-by-json .body .is-search .item {
    border: 1px solid #E6E6E6;
    display: grid;
    grid-template-columns: 2fr 8fr ;
    padding: 10px;
    align-items: center;
    gap: 15px;
    min-height: 80px;
}

.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 #fast-search-body-mobile.body .is-search .item .img {
	max-width:60px;
	    grid-row: 1;
    grid-column: 1;
}
#search-by-json-mobile .body .is-search .item {
    grid-template-columns: 1fr 4fr;
    gap: 10px;
    min-height: auto;
	width:100%;
}
#search-by-json-mobile  .body .is-search .search-content{
	grid-row: 1;
    grid-column: 2;
}
#search-by-json-mobile  .body .is-search .search-content_inner{
	grid-row: 2;
    grid-column: 1 / 3;
}
.search-by-json .item-link {
    color: #121212;
    position: relative;
    text-align: left;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-left: 10px;
}

.search-by-json .body .is-search .products .item:hover .item-link i {
    color: var(--color1);
}

.search-content_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-content_inner .size-content {
    display: flex;
    align-items: center;
    gap: 4px;
}
.search-content_inner .size-content .size {
    font-size: 14px;
}
.search-content_inner .size-content .size-count {
    color: #939896;
	font-size:12px;
}

.search-by-json .body .is-search .item:hover .price i {
    color: var(--color2);
}

.search-by-json .price i {
    font-size: 1rem;
    transition: 0.3s;
	color: var(--color1);
}

.search-by-json .body .is-search.item .img img {
    width: 64px;
}

.search-by-json .body .is-search .item .title {
    font-size: 14px;
    line-height: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #121212;
    text-align: left;
    font-family: var(--main_bold);
	 text-transform: capitalize;
}
.search-by-json .body .is-search .search-content .sku,
.search-by-json .body .is-search .search-content .category {
    color: #939896;
    font-size: 12px;
    line-height: 1;
    text-transform: capitalize;
	margin-bottom:0;
}
.search-by-json .body .is-search .search-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.search-by-json .body .is-search .list-products .item .price {
    text-align: left;
    min-height: auto;
}

.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,
.search-banner-sec {
    overflow: hidden;
}

.search-banner-sec img {
    margin-top: 0.75rem;
}

.search-banner img,
.search-banner-sec img {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .desktop .search-by-json .body {
        width: 450%;
        padding: 3rem;
    }

    .desktop .search-by-json .body .default .popular .menu-popular ul li {
        width: max-content;
        flex: auto;
    }

    .desktop .search-by-json .body .default .popular .menu-popular ul {
        margin-bottom: 3.5rem;
    }

    .search-by-json .body {
        max-height: 80vh;
        margin-top: 1.75rem;
    }

    .search-by-json .body .is-search .item {
        width: calc(50% - 0.75rem);
    }
}

@media screen and (min-width: 992px) {
    .popup-footer-search {
        width: 175%;
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .search-by-json .body {
        max-height: 85vh
    }

    #search-by-json-form-mobile {
        display: none;
    }

    #search-by-json-mobile {
        position: fixed;
        top: 2rem;
        right: 2rem;
        left: 2rem;
        margin: auto;
        z-index: 9999999;
        width: calc(100% - 4rem);
    }

    .search-by-json .input input {
        display: block;
    }

    .search-by-json .input {
        border: 1px solid var(--color1);
        background: #fff;
    }

    .search-by-json .input .icon {
        color: var(--color1);
        background-color: transparent;
    }
}

@media screen and (max-width: 768px) {
    .search-by-json .body .is-search .list-products .item {
        display: grid;
        grid-template-columns: 2fr 6fr;
        grid-template-rows: repeat(2, auto);
        gap: 0 10px;
    }

    .search-by-json .body .is-search .list-products .item .img {
        grid-area: 1 / 1 / 3 / 2;
    }

    .search-by-json .body .is-search .list-products .item .title {
        grid-area: 1 / 2 / 2 / 3;
    }

    .search-by-json .body .is-search .list-products .item .price {
        grid-area: 2 / 2 / 3 / 3;
    }
}

@media screen and (max-width: 576px) {
    .search-by-json .body {
        width: 160%;
        max-width: 100%;
        left: -50%;
        transform: translateX(50%);
    }

}

@media screen and (max-width: 370px) {
    .search-by-json .input input {
        min-width: 258px;
    }

}

.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;
}