/* Search Results Page */

body.search-results .elementor-widget-wp-widget-woocommerce_product_categories,
body.search-results .elementor-widget-woocommerce-archive-description {
    display: none;
}

.elementor-nothing-found.elementor-products-nothing-found {
    margin: 60px 0;
    text-align: center;
}

/* Search bar */
.toggle-search {
    position: relative;
    display: block;
}

.search-wrapper button {
    display: none;
}

.fixed-mobile .search-wrapper button {
    display: block;
    background: #433230;
    border: solid 1px #433230;
    color: #fff;
    padding: 16px;
    font-size: 16px;
}

.fixed-mobile .toggle-search {
    display: inline-block;
    position: relative;
    z-index: 999999;
    padding-bottom: 100px;
    top: 48px;
}

.search-wrapper button {
    z-index: 9;
}

.fixed-mobile .search-wrapper input {
    width: 100%;
    height: 51px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
}

.fixed-mobile .search-wrapper {
    position: fixed;
    display: flex;
    bottom: 68px;
    width: 100%;
    left: 0;
    border-bottom: solid 1px #433230;
}

.toggle-search img {
    width: 18px;
    display: block;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-wrapper input {
    outline: none;
    border: 0;
    border-bottom: 1px solid #433230;
    background: transparent;
}

/* clears the 'X' from Internet Explorer */
input[type=search]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input[type=search]::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

/* clears the 'X' from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

@media only screen and (max-width: 767px) {
    .search-wrapper input {
        background: #fff;
    }
}

/* Waas Search form */

.elementor-popup-modal.search-modal .dialog-message,
#elementor-popup-modal-942084 .dialog-message,
#elementor-popup-modal-942086 .dialog-message,
#elementor-popup-modal-942088 .dialog-message {
    overflow: visible !important;
}

.webko-advanced-search-results {
    position: relative;
    overflow: hidden;
}

.waas-overlay {
    display: none !important;
}

.webko-advanced-search-results a {
    text-decoration: none;
}

.waas-no-results {
    width: 50%;
    float: left;
    padding: 20px;
    font-size: 16px;
}

.waas-right-column {
    width: 35%;
    float: left;
    padding: 20px 0;
    font-size: 16px;
}

.waas-products {
    width: 58%;
    margin-right: 7%;
    float: left;
}

.waas-sub-header {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 10px;
}

.waas-product {
    height: auto;
    width: 100%;
    color: inherit;
    display: flex;
    align-items: center;
    align-content: space-between;
    border-bottom: 1px solid #F3F6F6;
    padding: 0 40px 0 20px;
    transition: .2s all;
}

.waas-product:hover,
.waas-product.active {
    color: #121212 !important;
    background: #f7f7f7;
}

.waas-product-content {
    width: 100%;
    display: flex;
    align-items: center;
}

.waas-product-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 72px);
    font-weight: bold;
    font-size: 16px;
}

.waas-product-price {
    text-align: right;
    line-height: 1.2;
}

.waas-product-price ins {
    color: inherit;
    text-decoration: none;
}

.waas-product-price del {
    font-size: 10px;
    color: initial;
}

.waas-product-price>span {
    color: inherit;
    font-size: 16px;
    font-weight: bold;
}

.waas-product img {
    height: 52px;
    width: 52px;
    vertical-align: middle;
    margin-right: 10px;
}

.waas-product-title {
    vertical-align: middle;
    display: inline-block;
}

.waas-all-posts {
    padding: 5px 0;
}

.waas-all-products {
    padding: 10px 0;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.waas-products {
    padding-right: 15px;
}

.waas-all-products a,
.waas-all-posts a {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    background: #121212;
    padding: 10px 20px;
    border-radius: 100px;
    transition: .2s all;
}

.waas-all-products a:hover,
.waas-all-posts a:hover {
    color: #fff !important;
    ;
    background: #283583 !important;
}

.waas-categories {
    margin-bottom: 15px;
    padding-right: 15px
}

.waas-category {
    display: block;
}

.waas-post {
    display: none !important;
}

.waas-all-products a {
    background: #121212;
    color: #fff !important;
    font-weight: 500;
    padding: 15px 20px;
}

.waas-search-results {
    position: absolute;
    z-index: 99;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: 100%;
    max-width: 100%;
    min-height: 366px;
    background: #fff;
    line-height: 1.5;
    display: none;
}

.waas-search-results.loading:before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -30px 0 0 -30px;
    border: 3px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    border-top: 3px solid #555;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    opacity: .5;
}

.waas-search-results+.waas-overlay {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
    transition-delay: .3s;
    background: #383838;
    left: -100vw;
    top: 80px;
    position: absolute;
    width: 0;
    height: 0;
    z-index: 3;
    display: block;
}

.waas-search-results:not(:empty)+.waas-overlay,
.waas-search-results.loading+.waas-overlay {
    visibility: visible;
    opacity: .2;
    width: 1000vw;
    height: 1000vh;
    transition-delay: 0s;
}

a.waas-category {
    float: left;
    margin-right: 5px;
    font-size: 14px;
    background: #eee;
    padding: 8px 15px;
    border-radius: 100px;
    transition: .2s all;
}

a.waas-category:hover {
    background: #121212;
    color: #fff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

    .waas-products,
    .waas-right-column {
        float: none;
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .waas-right-column,
    .waas-product {
        padding: 10px 2.5%;
    }

    .waas-products,
    .waas-categories {
        padding-right: 0;
    }

    .waas-product {
        height: 65px;
    }

    .waas-product-title,
    .waas-product-price>span {
        font-size: 14px;
    }

    .waas-product img {
        margin-right: 5px;
    }
}

@media screen and (max-width:767px) {
    a.waas-category {
        margin-bottom: 5px;
    }
}

/* Search Popup/overlay Resultats */

.waas-search-results:not(:empty)+.waas-overlay,
.waas-search-results.loading+.waas-overlay {
    opacity: .8;
}

.waas-products {
    width: 100%;
    margin-right: 0;
    padding: 0;
}

.waas-product {
    padding: 5px 20px;
}

.waas-product img {
    border: solid 1px #eee;
}

.waas-product-title {
    font-weight: 400;
    color: #717171;
    font-size: 15px;
    width: 75%;
}

.waas-product-price small.woocommerce-price-suffix {
    font-size: 12px;
}

.waas-product-price>.woocommerce-Price-amount.amount>bdi {
    font-size: 14px;
    color: #717171;
    font-weight: 500;
}

.waas-product-price {
    width: 25%;
}

.waas-right-column {
    width: 100%;
    padding: 20px 20px 20px 20px;
    border-top: solid 1px #eee;
    color: #121212;
    display: flex;
}

.waas-categories {
    flex: 1;
}

.waas-posts {
    display: none !important;
    flex: 2;
}

.search-results .elementor-accordion {
    display: none;
}

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

    .waas-search-results:not(:empty)+.waas-overlay,
    .waas-search-results.loading+.waas-overlay {
        opacity: 0;
        display: none;
    }

    .waas-product {
        padding: 0 25px;
    }

    .waas-products {
        padding-top: 20px;
    }

    .waas-right-column {
        padding: 25px;
    }
}

@media screen and (max-width: 767px) {
    .waas-product {
        padding: 0 10px;
    }

    .waas-right-column {
        padding: 15px 10px;
    }

    .waas-product-content {
        width: 70%;
        display: flex;
        align-items: center;
    }

    .waas-product-price {
        width: 30%;
    }

    .waas-product-title {
        width: 100%;
    }
}

@media screen and (max-width: 415px) {
    .waas-product img {
        width: 30px;
        height: 30px;
    }

    .waas-product-price small.woocommerce-price-suffix {
        font-size: 10px;
    }

    .waas-right-column {
        flex-direction: column;
    }
}

.search-results .product .before-add-to-cart-archive {
    display: flex;
    height: 10px;
    margin-top: 5px;
}

.search-results .product .before-add-to-cart-archive .color-dots {
    bottom: 0;
}