.container{
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}

.hero_section .hero__items{
    max-width: 50%;
    position: relative;
    display: block;
}

.slick-track{
    display: flex !important;

}

.rating{
    display: flex;
    align-items: center;
}
.rating .rating__num{
    margin-left: 10px;
}
.rating .star__box__default, .rating .star__box__active{
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
}

.rating .star__box{
    position: relative;
    display: block;
    max-width: 145px;
    width: 100%;
}
.rating .star__box__default{
    /*position: relative;*/
    /*background-image: url('../img/star-transparent.svg');*/

    /*width: 100%;*/
    /*padding-top: 15%;*/
    position: relative;
    background-image: url('../img/star-transparent.svg');

    width: 145px;
    padding-top: 20px;
}
.rating .star__box__active{
    /*position: absolute;*/
    /*z-index: 1;*/
    /*background-image: url('../img/star-fill.svg');*/
    /*height: 100%;*/
    /*left: 1px;*/
    /*top: 0;*/
    /*bottom: 0;*/

    position: absolute;
    z-index: 1;
    background-image: url('../img/star-fill.svg');
    height: 20px;
    left: 0;
    top: 0;
}

/* -------- products ---------- */
.products__body{
    display: flex;
}
.products {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 32px) !important;
    margin: -16px !important;
}

.products .product {
    width: calc(100% / 4  - 32px) !important;
    margin: 16px !important;
}

.header .products {
    margin: 0 -16px !important;
}

.header .products .product {
    width: calc(100% / 4  - 32px) !important;
    margin: 16px !important;
}
.category_filters .products .product {
    width: calc(100% / 4  - 32px) !important;
    margin: 16px !important;
}

.products .product {
    width: calc(100% / 3  - 32px) !important;
    margin: 16px !important;
}

.catalog__wrapper.hide-filter  .products .product{
    width: calc(100% / 4  - 32px) !important;

}

.products__filter__wrapper  {
    min-width: 340px;
    max-width: 340px;
    padding-right: 32px;
}
.products__filter__wrapper.hide {
    display: none;
}
.products__header{
    margin-bottom: 32px;
}

.filter__labels li{
    position: relative;

}
.filter__labels li span{
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block;
    cursor: pointer;
}
.filter__labels li span::after{
    content: '';
    background-image: url('../img/close.svg');
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    display: inline-block;

}
.search__wrapper{
    padding-left: 0 !important;
    position: relative;
    display: flex;
    width: 100%;
}
.search__wrapper .search{
    padding-right: 80px !important;

}
.not-empty .search__clear{
    visibility: visible;
    opacity: 1;
}
.search__clear{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    transform: translateY(-50%);
    right: 28px;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.search__clear svg{
    width: 100%;
    height: 100%;

}
.open .search__category__clear{
    visibility: visible;
    opacity: 1;
}
.search__category__clear{
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    transform: translateY(-50%);
    right: 60px;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.search-field{
    padding-right: 90px !important;
}



input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

input[type="search"]::-webkit-search-clear-button {
    display: none;
}

input[type="search"]::-ms-clear {
    display: none;
}

input[type="search"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.product_wrapper .products input.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.loading::after {
    top: 0.18em;
    right: 1.3em;
}

@media (max-width: 990px) {
    .products .product {
        width: calc(100% / 2  - 32px) !important;
    }

    .catalog__wrapper.hide-filter  .products .product {
        width: calc(100% / 2 - 32px) !important;
    }
}

@media (max-width: 800px) {
    .products__body .right .products {
        padding: 0 8px;
        margin: -8px -16px !important;
    }

    .products::before, .products::after {
        position: absolute;
    }

    .products .product {
        width: calc(100% / 2  - 16px) !important;
        margin: 8px !important;
    }

    .catalog__wrapper.hide-filter  .products .product {
        width: calc(100% / 2 - 16px) !important;
    }
    .search__clear{

        right: 57px;
    }
    .search__wrapper .search{
        padding-right: 90px !important;

    }
    .search__category__clear {

        right: 118px;

    }


    .header .products {
        display: flex;
        flex-direction: column;
        row-gap: 16px;
        width: 100% !important;
        margin: 16px 0 0 0 !important
    }

    .header .products .product {
        width: 100% !important;
        margin: 0!important;
    }

    .category_filters .products .product,
    .category_filters .search_results_cat .products .product {
        width: 100% !important;
        margin: 0!important;
    }

    .category_filters .products {
        display: flex;
        flex-direction: column;
        row-gap: 16px;
        width: 100% !important;
        margin: 16px 0 0 0 !important
    }

    .category_filters .products::before, .category_filters .products::after {
        position: absolute;
    }
}

