
.wp-block-query { display: none}
.wp-block-post {
    width: 22%;
    float: left;
    list-style: none;
    padding: 10px;
    border:2px solid transparent;
    margin-right: 4px;
    border-radius: 10px;
}
.wp-block-post img {height: 240px;
    width: 100%;
    object-fit: cover; }
.image-wrap {
    height: 240px ;  overflow: hidden; border-radius: 10px}
.wp-block-post-template-is-layout-grid { float: left; width: 100%; }
.pages-wrap {
    width: 78%;
    float: right;
    max-width: var(--wp--style--global--wide-size) !important;
}
.pages-wrap-top {
    width: 78%;
    float: right;
    max-width: var(--wp--style--global--wide-size) !important;
}
.pages-wrap-count {
    width: 100%;
    float: right;
    max-width: var(--wp--style--global--wide-size) !important;
}
.wp-block-post.suggested_product { border-color:#e2542e; border-style: dashed;}

.assistant-msg .wp-block-post.suggested_product {width:100%}

.pages-wrap ul { list-style: none; width: 100%; margin: 0 auto; display: flex;
    flex-wrap: wrap;}
.pages-wrap ul li { float: left; padding: 10px;}
.chatwitthus { cursor: pointer; border: 1px solid darkgray; background: lightgrey; border-radius: 4px; padding: 5px;}
.viewfilters {display:none;}
.loader {
    width: 70px;
    margin: 0 auto;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side,#2595E0 90%,#0000);
    background:
            var(--_g) 0%   50%,
            var(--_g) 50%  50%,
            var(--_g) 100% 50%;
    background-size: calc(100%/3) 50%;
    animation: l3 1s infinite linear;
}

.search main { display: none;}
@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}
@media only screen and (max-width: 600px) {
    .wp-block-post { width: 100%;}
    .wp-block-post h5 { height:auto;}
    .sidebar { display: none;}
    .pages-wrap { width: 100%}
    .pages-wrap-top { width: 100%}
    .pages-wrap-count { width: 100%}
    .pages-wrap ul {padding:0;}
    .viewfilters {display:block;float: right;
        cursor: pointer;
        padding: 5px;}
    .sidebar { width: 100%}
}

.elementor-posts-container { display: none}
.elementor-pagination { display: none}

/* Sidebar Styles */
.sidebar {
    width: 15%;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    float: left
}

.facet-section {
    margin-bottom: 20px;
}

.facet-section h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #333;
}

.facet-tags {
    list-style: none;
    padding: 0;
}

.facet-tags li {
    margin-bottom: 5px;
}

.facet-tags li a {
    text-decoration: none;

}

.facet-tags li a:hover {
    text-decoration: underline;
}
.facet-tags span { background: lightblue;}
.facet-tags span a {padding: 5px; text-decoration: none}
.facet-tags span a:focus {outline-width: 0px;
    outline-style: solid; }
.range-slider {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
}

.slider-range {
    position: absolute;
    height: 5px;
    background: #007BFF;
    border-radius: 5px;
}

.slider-thumb {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #007BFF;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.value-label {
    text-align: center;
    margin-top: 35px;
    font-size: 14px;
}










.search-result-chat {
    float: left;
    position: relative;
    width: 100%;
}

.ui_user {
    max-width: 40px;
    margin-bottom: -15px;
    margin-left: 5px;
}

.ai_user {
    max-width: 40px;
    margin-bottom: -15px;
    margin-right: 5px;
}

.subloader { display: inline-block; width:7px; height: 7px; border-radius: 5px; background: #2595E0; margin: 2px;}

.search-result-chat .loader { bottom: 5px; position: static; display: inline-block;}

.powered_by_wrap {
    position: relative;
}

.woocommerce .loader::before { display: none !important; }
.powered_by {
    position: absolute;
    top: -30px;
    z-index: 2;
    right: 33%;
    font-size: 11px;
}
.chatbox {
    width: 350px;
    height: 500px;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
}
.chat-product {
    float: left;
    width: 100%;
    margin: 10px 0 0;
    background: #fff;
    border-radius: 5px;
}
.chat-product-image {
    float: left;
    width: 20%;
    margin: 5px;
}
.chat-product-title {
    float: left;
    width: 70%;
    margin: 5px;
}
.search-result-chat-products .chat-product-title {
    float: left;
    width: 90%;
    margin: 5px;
}
.message.notice {
    clear:both
}
.chat-product-title a {
    text-decoration:none;
}
.chat-product-title strong {
    color: darkblue;
    width: 100%;
    float: left;
}

.block-search input {
    font-size: 16px;
    margin: -30px 0;
    position: absolute;
}
.prehelp {
    background-color: #F2F2F2;
    color: #333;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    border:1px solid #2595E0;
    float: right;
    clear: both;
}
.clear5px {
    clear: both;
    height: 5px;
}
.clear10px {
    clear: both;
    height: 10px;
}

.clear20px {
    clear: both;
    height: 20px;
}
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2595E0;
    color: #FFF;
    padding: 10px 20px;
}
.chat-header .title {
    font-size: 16px;
}
img.emoji {
    max-width: 25px
}
.beta {
    font-size: 10px;
    color:red;
    background:#fff;
    display:inline-block;
    padding: 2px;
    margin: 0 5px;
    border-radius:3px;
}
.close-btn {
    background-color: transparent;
    border: none;
    color: #FFF;
    font-size: 25px;
    cursor: pointer;
}
.close-btn:focus {
    outline: none;
}

.scroll-to-bottom {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    background: #2595E0;
    padding: 5px;
    border-radius: 5px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff; /* Adjust color as needed */
    cursor: pointer;
}

.search-result-chat-products .toolbar .pages {display: block; float: left; margin: 0;}
.page-products .search-result-chat-products .toolbar .limiter {display: block; float: right;}
.search-result-chat-products .toolbar { margin: 0;}

@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}


.chatlog {
    height: 320px;
    padding: 20px;
    overflow-y: scroll;
    scrollbar-width: none;
    border-bottom: 20px solid white;
    font-size: 14px;
}
.chatlog::-webkit-scrollbar {
    display: none;
}
.customer-msg {
    background-color: #F2F2F2;
    color: #333;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    float:right;
    clear: both;
    text-align: right;
}
.assistant-msg {
    background-color: #FFF;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    float:left;
    border: 1px solid #F2F2F2;
    clear: both;
}
.assistant-msg span { font-weight: bold; font-size: 12px;}
.customer-msg span { font-weight: bold; font-size: 12px;}
.chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 30px;
    padding: 20px;
    background-color: #EEE;
}
.chat-input input[type="text"] {
    width: 75%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
}
.chat-input button {
    width: 25%;
    height: 40px;
    background-color: #2595E0;
    color: #FFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Hide chatbox by default */
.chatbox {
    display: none;
}
.hidden {
    display: none;
}
/* Show chatbox when button is clicked */
.chatbox.show {
    display: block;
    transform: translateX(0px);
}
#chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2595E0;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display:none;
}
#chat-button:focus {
    outline: none;
}
#chat-button-search {
    position: absolute;
    bottom: 44px;
    right: 65px;
    color: #FFF;
    border: none;
    cursor: pointer;
    z-index: 999;
    max-width: 40px;
}
.search-result-chat .chat-product {
    width:23%;
    border-radius: 0px;
    margin-right:5px;
    border: 1px solid #FFF;
    min-height: 350px;
}
.chat-product-title a.chat-view-product {
    color: #fff;
    background: #1979c3;
    padding: 7px 15px;
    font-weight: 600;
    height: auto;
    margin-top: 10px;
    border: 1px solid #1979c3;
    float: left;
}
.continue-chat {
    background-color: #2595E0;
    color: #FFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    float: left;
    padding: 5px;
}
.search-result-chat .chat-product-title a.chat-view-product {
    color: #fff;
    background: #1979c3;
    padding: 7px 15px;
    font-weight: 600;
    height: auto;
    margin-top: 10px;
    border: 1px solid #1979c3;
}
.search-result-chat .chat-product:hover{
    box-shadow: 3px 4px 4px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid #bbbbbb;
}


.search-result-chat-products { width: 100%;
    float: left;}

.search-result-chat-products .chat-product {
    width:23%;
    border-radius: 0px;
    margin-right:5px;
    border: 4px solid #FFF;
    min-height: 350px;
}

.related-products .chat-product {
    width:16%;
    border-radius: 0px;
    margin-right:5px;
    border: 1px solid #FFF;
    min-height: 350px;
}

.related-products .chat-product-image { width: 100%}

.search-result-chat-products a.chat-view-product {
    color: #fff;
    background: #1979c3;
    padding: 7px 15px;
    font-weight: 600;
    height: auto;
    margin-top: 10px;
    border: 1px solid #1979c3;
    float: left;
}

.search-result-chat-products .chat-product-title a.chat-view-product {
    color: #fff;
    background: #1979c3;
    padding: 7px 15px;
    font-weight: 600;
    height: auto;
    margin-top: 10px;
    border: 1px solid #1979c3;
}
.search-result-chat-products .chat-product:hover{
    box-shadow: 3px 4px 4px 0 rgba(0, 0, 0, 0.3);
}
.search-result-chat-products .chat-product-image {
    width: 90%;
    margin: 0 auto;
    float: none;
}
.search-product-wrap { width: 100%; float: left;}

.assistant-msg-search {
    width:100%;
    float:left;
    margin-top:10px;
    margin-bottom:20px;
    font-size: 16px;
}
.search-result-chat .chat-product-image {
    width:90%;
    margin:0 auto;
    float:none
}
.search-result-chat .chat-product-title a {
    display:inline-block;
    height:50px;
    color:#333333
}
.search-result-chat .chat-product-title strong {
    color:#333333
}
.page-wrapper .block-search {
    margin:15px 0 0 150px;
    float:left;
    width:500px
}
.switcher-dropdown {
    z-index:2000
}


.search-result-chat-products .chat-product.selected-search { border: 4px dotted #2595E0}


.search-product-wrap .chat-product-title { width: 90%; height: 150px}

.minicart-wrapper {
    margin-top:15px;
}
.newmessage {
    position: absolute;
    background: red;
    color: #fff;
    right: 52px;
    bottom: 58px;
    z-index: 1000;
    border-radius: 10px;
    display: block;
    height: 20px;
    width: 20px;
    font-size: 12px;
    text-align: center;
    line-height: 19px;
    cursor: pointer;
}
@media only screen and (max-width: 600px) {
    a.logo img {
        max-width: 80%
    }
    .search-result-chat-products .chat-product { width: 45%}
    .search-result-chat .chat-product {
        width: 47%
    }
    .block-search input {
        left: 0;
    }
    .block-search .label.active + .control input {
        position: absolute;
    }
    .block-search {
        width: auto;
        margin: 50px 0 45px;
    }
    .block-search .label {
        position: absolute;
        z-index: 10000;
        bottom: 0;
        right: 0;
    }
    .block-search .control {
        border: 0;
    }
    .powered_by {
        top: 2px;
        right: -2%;
    }
    .assistant-msg-search {
        font-size: 15px;
    }
    .search-autocomplete {
        left: 0;
        bottom: -65px
    }
    .sidebar { width: 90%; padding: 10px;}
}
/* Animation for opening the chatbox */
@keyframes slideIn {
    from {
        transform: translateX(400px);
    }
    to {
        transform: translateX(0px);
    }
}
/* Animation for closing the chatbox */
@keyframes slideOut {
    from {
        transform: translateX(0px);
    }
    to {
        transform: translateX(400px);
    }
}
.loadingchat {
    max-width: 50px;
    margin: 0 auto;
    display: block;
    clear:both
}

.wrap_load {
    width: 60px;
    margin: 0 auto;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #2595E0;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 26px;
        left: 26px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 26px;
        left: 26px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 26px;
        left: 26px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 52px;
        height: 52px;
        opacity: 0;
    }
}
.wp-block-search__inside-wrapper { position: relative;}
.autocomplete_products { width: 310px;
    height: auto;
    position: absolute;
    top: 50px;
    background: #fff;
    border: 1px solid lightgray;
    z-index: 10000;
}
.autocomplete_products .wp-block-post.suggested_product { width: 100%; border: none;}
.autocomplete_products .image-wrap {
    height: auto;
    width: 50px;
    float: left;
}

.autocomplete_products .wp-block-post img {  height: auto; }
.autocomplete_products ul { padding:0;}
.autocomplete_products h4 {font-size: 16px;
    margin: 0 5px;
    float: left;
    width: 230px;}

.autocomplete_products p {font-size: 12px; display: none;
    margin: 0 5px;
    float: left;
    width: 230px;}
.autocomplete_products input {border: 1px solid lightgray;
    background: none;
    width: 100%;
    padding: 5px;
    font-weight: bold;
    cursor: pointer;}
