.category_page .container {
    max-width: 1190px;
    padding-right: 0px;
    padding-left: 0px;
}

.container2 {
    /*width: 1190px;*/
}

.category_page__filter {
   display: flex;
   margin-bottom: 10px;
}

.category_page__filter__tags {
    margin-bottom: 15px;
}

.category_page__filter__tags .filter-line:first-child:last-child {
    margin-block: 0;
}

@media (max-width: 776px) {
  .category_page__filter:has(.btn-opros-list-mobile:last-child) {
    margin-bottom: 20px;
  }
}

.filter__reset {
  flex-shrink: 0;
  padding-inline: 25px;
  flex: 0 1 33%;
  max-width: calc(33% - 3px);

  background-color: #A0B4C8;
  border-color: #fff;
}

.filter__reset:hover {
  background-color: #C8D2DC;
  border-color: #C8D2DC;
}

.filter__reset._disabled {
    pointer-events: none;
    background-color: #F6F8FA;
    color: #C8D2DC;
}

@media (max-width: 776px) {
  .filter__reset {
    width: 100%;
    max-width: unset;
    flex-basis: 100%;
  }
}

.filter-line .select {
    -webkit-box-flex: 0;
    /*-ms-flex: 0 1 20%;
    -webkit-flex: 0 1 20%;
    flex: 0 1 20%;*/
    -ms-flex: 0 1 33%;
    -webkit-flex: 0 1 33%;
    flex: 0 1 33%;
    cursor: pointer;
    margin: 0 0 0px;
}

.filter-line .select__output {
    /*border: 2px solid #c8d2dc;
    border-radius: 5px;
    padding: 0px 18px;
    //max-width: 230px;
    height: 38px;
    background: #fff;*/


    border: 2px solid #c8d2dc;
    border-radius: 5px;
    /* padding: 0px 18px; */
    /* max-width: 230px; */
    height: 38px;
    background: #fff;
    text-overflow: ellipsis;
    display: block;
    font-weight: 400;
    font-size: 14px;
    color: #5f6469;
    letter-spacing: 0px;
}

.filter-line .select__list > li {
    padding: 12px 20px 7px 16px;
    font-weight: 400;
    font-size: 14px;
    /*color: #00a0ff;*/
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: -0.01px;
}

.filter-line .select__list > li[disabled] {
    color: #c8d2dc;
    pointer-events: none;
}

.category_page__filter .select:not(:first-of-type) {
   position: relative;
   pointer-events: unset;
   z-index: auto;
   opacity: 1;
}

.category_page__filter .filter-line {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 100%;
    -webkit-flex: 0 1 100%;
    flex: 0 1 100%;
    display: flex;
}

.category_page__filter .filter-line .btn-opros-list {
  order: 100;
  margin-left: auto;
}

.category_page__filter.category_page__filter__tags .filter-line {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 100%;
    -webkit-flex: 0 1 100%;
    flex: 0 1 100%;
    display: flex;
}

.select__output:empty:after {
    content: attr(data-placeholder) " ";
    font-weight: 400;
    font-size: 14px;
    color: #5f6469;
    letter-spacing: 0px;
    line-height: 14px;
    display: block;
}

.btn-opros-list {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 33%;
    -webkit-flex: 0 1 33%;
    flex: 0 1 33%;
    cursor: pointer;
    margin: 0 0 0px;

    border-radius: 5px;
    padding: 0px 20px;
    width: 228px;
    height: 38px;
    background: #00a0ff;
    font-weight: 600;
    font-size: 16px;
    line-height: 137%;
}

.btn-opros-list img {
    margin-right: 10px;
}

.btn-opros-list:hover {
   opacity: 1;
}

.filter-line .select.disabled {
    pointer-events: none;
}

.filter-line .disabled .select__output {
    background: #f6f8fa !important;
}

.filter-line .disabled .select__output:empty:after {
    color: #c8d2dc;
}

.filter-line .select.disabled:after {
    color: #b9bec3;
}

.btn-opros-list-mobile, .select_mobile {
    display: none;
}

.select_mobile:after {
    content:url('/assets/templates/img/filtr-icon.svg');
    top: calc(50% - 0.6em);
}

.select--open:after {
    content: "";
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.select_mobile.select--open:after {
    content: url('/assets/templates/img/close-icon.svg');
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.select--open .select__list {
   top: calc(100% - 5px);
   border: 2px solid #c8d2dc;
   border-radius: 5px;
   background-color: #fff;
   border-color: #00a0ff;
   border-top: 0px;
   box-shadow: none;
   -webkit-box-shadow: none;
   border-top-left-radius: 0px;
   border-top-right-radius: 0px;
   /*width: auto;*/
   width: -webkit-fill-available;
   width: -moz-available;
   width: fill-available;
}

.filter-line .select--open .select__output {
   border-color: #00a0ff;
}

.filter-line .select:focus .select__output {
   border-color: #00a0ff;
}

.tag-slider {
  padding-right: 20px;
}

.tags-line {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 10px;
    flex-wrap: wrap;
    max-height: 28px;
    transition: max-height 0.6s ease;
    overflow: hidden;
    row-gap: 10px;
}

.tags-line.swiper-wrapper {
  transition: max-height .6s ease, transform var(--swiper-wrapper-transition-timing-function,initial);
}

.tags-line.open {
    max-height: max-content;
}

.tag {
    border-radius: 5px;
    padding: 0px 10px;
    height: 28px;
    background: #f6f8fa;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.tag.active {
    background: #a0b4c8;
}

.tag.active:after {
    content: url(/assets/templates/img/close_tag.svg);
    display: inline-block;
    font: normal normal 14px / 1 icomoon;
    position: relative;
    top: 2px;
    pointer-events: none;
    color: #5ec1ff;
    z-index: 2;
    -webkit-transition: -webkit-transform .2s ease;
    transition: -webkit-transform .2s ease;
    transition: transform .2s ease;
    transition: transform .2s ease, -webkit-transform .2s ease;
    -o-transition: transform .2s ease;
    margin-left: 8px;
    margin-bottom: 4px;
}

.tag a {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #5f6469;
    text-decoration: none;
    font-family: Inter, sans-serif;
    vertical-align: middle;
}

@media (hover: hover) {
  .tag a:hover {
    color: #a0b4c8;
  }
}

.tag.active a {
    line-height: 100%;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
}


.all_tag {
    display:none;
    border-radius: 5px;
    padding: 0px 10px;
    height: 28px;
    background: #f6f8fa;
    overflow: hidden;
}

@media (hover: hover) {
  .all_tag a:hover {
    color: #5ec1ff;
  }
}


.all_tag a {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #00a0ff;
    text-decoration: none;
    font-family: Inter, sans-serif;
    vertical-align: middle;
}

.all_tag.visible {
    display:block;
}

.filter-line .select__list > li:first-child {
    background-color: #fff;
}

.filter-line .select__list > li:hover {
    background-color: #fff;
    color: #00a0ff;
}

.select:after {
    color: #00a0ff;
}

@media (max-width: 1000px) {
    .filter-line .select {
        max-width: 230px;
    }
}

@media (max-width: 1200px) {
    .category_page .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .container2 {
        /*width: 1190px;*/
    }

    .category_page__filter .filter-line {
        /*flex-wrap: wrap;*/
        row-gap: 10px;
    }

    .filter-line {
        /*margin-right:10px;*/
    }

    .filter-line .select {
        -webkit-flex: 0 1 33%;
        flex: 0 1 33%;
        max-width: calc(33% - 3px);
    }

}

@media (max-width: 998px) {
    .category_page .container {
        padding-right: 30px;
        padding-left: 30px;
    }

    .category_page__filter .filter-line {
        /*flex-wrap: wrap;*/
        row-gap: 10px;
        column-gap: 5px;
    }

    .filter-line .select__output {
        border: 2px solid #c8d2dc;
        border-radius: 5px;
        /*padding: 0px 18px;*/
        /*width: 170px;*/
        height: 38px;
        background: #fff;
    }

    .btn-opros-list:not(.btn-opros-list-mobile) {
        /*max-width: 170px;*/
        max-width: 228px;
        display: flex;
        flex: 0 1 33%;
        max-width: calc(33% - 3px);
    }

    .btn-opros-list img {
        /*display: none;*/
    }

}

@media (max-width: 989px) {
    .category_page__filter .filter-line {
        column-gap: 8px;
        -webkit-flex: 0 1 100%;
        flex: 0 1 100%;
    }
}


@media (max-width: 776px) {

    .category_page__filter:not(.category_page__tags) .btn-opros-list:not(.btn-opros-list-mobile) {
        display: none;
    }

    .btn-opros-list.btn-opros-list-mobile {
        /*max-width: 170px;*/
        max-width: 228px;
        display: flex;
        flex: 0 1 33%;
        max-width: calc(33% - 3px);
    }

    .category_page__filter {
        flex-direction: column;
    }

    .category_page .container {
        padding-right: 27px;
        padding-left: 27px;
    }
    /*
    .category_page__filter:not(.category_page__tags) .btn-opros-list:not(.btn-opros-list-mobile) {
        display: none;
    }*/

    .category_page__filter:not(.category_page__tags) .btn-opros-list-mobile {
       display: flex;
       width: unset;
       max-width: unset;
       flex: 0 1 49%;
       padding: 9px 45px;
    }

    .category_page__filter .filter-line {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 20%;
        -webkit-flex: 0 1 20%;
        flex: 0 1 100%;
        display: flex;
        column-gap: 10px;
        margin-right: 0px;
    }

    .filter-line .select {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 20%;
        -webkit-flex: 0 1 20%;
        flex: 0 1 49%;
        cursor: pointer;
        margin: 0 0 0px;
        max-width: 49%;
    }

    .filter-line .select__output {
        /*width: 248px;*/
        width: 100%;
        /*background-color: #f6f8fa;*/
        background-color: #fff;
        /*border-color: #f6f8fa;*/
        position: relative;
    }

    .filter-line {
       max-width: 100%;
    }

    .btn-opros-list-mobile {
        flex: 0 1 100%;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 20%;
        -webkit-flex: 0 1 20%;
        flex: 0 1 49%;
        cursor: pointer;
        margin: 0 0 0px;
    }
    .btn-opros-list img {
        display: block;
    }

}

@media (max-width: 567px) {
    @media (hover: hover) {
      .all_tag a:hover {
        color: #5ec1ff;
      }

      .tag a:hover {
        color: #5f6469;
      }
    }

    .filter-line .select__output {
        width: 100%;
        background-color: #f6f8fa;
        border-color: #f6f8fa;
        position: relative;
    }

    .tags-line {
        /*max-width: 100%;
        overflow: hidden;*/
/*        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        font-size: 14px;
        position: relative;*/
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        column-gap: 0px;

        flex-wrap: nowrap;

        height: auto;
        overflow: unset;
        overflow: visible !important;
    }

    .tag-slider {
        margin-right: -20px;
    }

    .tag-slider .swiper-slide:not(.all_tag) {
        background-color: #f6f8fa;
        padding: 0px 12px;
        border-radius: 5px;
        white-space: nowrap;
        line-height: 1.4;
        flex-shrink: 0;
        display: inline-flex;
        width: auto; /* Автоширина */
    }

    .tag-slider .swiper-slide:not(.all_tag).active {
      background-color: #a0b4c8;
    }

    .tags-wrapper {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        white-space: nowrap;
        scroll-behavior: smooth;
        cursor: grab;
    }

    .tags-wrapper::-webkit-scrollbar {
        display: none;
    }

    .tags {
        display: flex;
        gap: 10px;
        padding: 10px 0;
        user-select: none;
    }

    .tag {
        background: #eee;
        padding: 8px 12px;
        border-radius: 5px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tag a {
        line-height: 100%;
    }

    .category_page__filter.category_page__tags .btn-opros-list:not(.btn-opros-list-mobile) {
        display: none;
    }

    .category_page__filter:not(.category_page__tags) .btn-opros-list-mobile {
       display: flex;
       width: unset;
       max-width: unset;
       flex: 0 1 100%;
    }

    .category_page__filter.category_page__tags .btn-opros-list-mobile {
       display: flex;
       width: unset;
       max-width: unset;
       /*flex: 0 1 49%;*/
       flex: 0 1 100%;
    }

    .filter-line .select {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 20%;
        -webkit-flex: 0 1 20%;
        flex: 0 1 100%;
        cursor: pointer;
        margin: 0 0 0px;
        max-width: 100%;
    }

    .btn-opros-list-mobile {
        flex: 0 1 100%;
    }

    .btn-opros-list img {
        display: block;
    }

    .select_mobile {
       display: flex;
    }

    .filter-line .select:not(.select_mobile) {
      display: none;
    }

    .tag-slider .swiper-wrapper {
        padding-right: 30px;
    }


    .filter-line .select_mobile .select__output:not(.select__output_mobile) {
        border-left: 2px solid #c8d2dc;
        border-right: 2px solid #c8d2dc;
        border-top: 2px solid #c8d2dc;
        border-bottom: 2px solid #c8d2dc;
        border-radius: 5px 5px 0 0;
    }

    .category_page__filter .filter-line .select__output:not(.select__output_mobile) {
        border-left: 2px solid #c8d2dc;
        border-right: 2px solid #c8d2dc;
        border-top: 2px solid #c8d2dc;
        border-bottom: 2px solid #c8d2dc;
        border-radius: 5px 5px 5px 5px;
        background-color: #ffffff;
    }

    .category_page__filter .filter-line .select--open .select__output:not(.select__output_mobile) {
        border-left: 2px solid #00a0ff;
        border-right: 2px solid #00a0ff;
        border-top: 2px solid #00a0ff;
        border-bottom: 2px solid #00a0ff;
        border-radius: 5px 5px 5px 5px;
        background-color: #ffffff;
    }

    .filter-line .select_mobile.select--open .select__output {
        border-left: 1px solid #c8d2dc;
        border-right: 1px solid #c8d2dc;
        border-top: 1px solid #c8d2dc;
        border-bottom: 1px solid #c8d2dc00;
        border-radius: 5px 5px 0 0;
    }
}

.cryosauna-blocks {
    position: relative;
}

#onload {
    z-index: 1000;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url('../img/loader.gif');
    /*background-position: center center;*/
    background-position: top center;
    background-size: 50px 50px;
    background-repeat: no-repeat;
}
