.filter-item-title {
  color: #000;
  font-weight: 600
}

.filter-value {
  margin: 13px 0 0
}

.filter-value:first-child {
  margin: 0
}

.filter-value-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0
}

.filter-value-checkbox:checked + label {
  color: #d34d70
}

.filter-value-checkbox:checked + label:after {
  opacity: 1
}

.filter-value-checkbox:checked + label:before {
  border-color: #d34d70
}

.filter-value-label {
  margin: 0;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  transition: color 0.2s linear
}

.filter-value-label-color {
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  left: 3px;
  top: 6px;
  background: center no-repeat;
  background-size: cover
}

.filter-value-label:after,
.filter-value-label:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 0;
  top: 1px;
  transition: opacity 0.2s linear
}

.filter-value-label:before {
  border: 1px solid #eee;
  background-color: #f7f8fa
}

.filter-value-label:after {
  width: 10px;
  height: 10px;
  background-color: #d34d70;
  left: 4px;
  top: 5px;
  opacity: 0
}

.filter-sidebar .filter {
 `
}

.filter-sidebar .filter-item {
  margin: 0 0 20px
}

.filter-sidebar .filter-item-title {
  margin: 0 0 10px
}

.filter-sidebar .filter-item-title--content {
  display: none
}

.filter-sidebar .filter-item-count {
  display: none
}

.filter-sidebar .filter-value.is-hidden {
  display: none
}

.filter-sidebar .filter-value-more {
  margin: 0
}

.filter-sidebar .filter-value-more .button span:before {
  content: 'Ещё варианты'
}

.filter-sidebar .filter-value-more .button.is-active span:before {
  content: 'Скрыть варианты'
}

.filter-content {
  position: relative;
  z-index: 5
}

.filter-content .filter {
  margin: 0 0 40px;
  background: #f7f8fa;
  padding: 10px 4px 0 10px
}

.filter-content .filter-item {
  position: relative;
  margin: 0 6px 10px 0;
  display: inline-block;
  vertical-align: middle
}

.filter-content .filter-item-title {
  font-size: 12px;
  padding: 2px 7px;
  border: 2px solid #eee;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s linear
}

.filter-content .filter-item-title--sidebar {
  display: none
}

.filter-content .filter-item-title svg {
  margin-left: 5px;
  transition: transform 0.2s linear
}

.filter-content .filter-item-count {
  overflow: hidden;
  padding: 10px;
  background: #f7f8fa;
  height: 50px
}

.filter-content .filter-item-count p {
  float: left;
  width: 105px;
  font-size: 12px;
  line-height: 14px;
  padding-top: 2px;
  color: #000
}

.filter-content .filter-item-count p span {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  color: #999;
  text-overflow: ellipsis;
  font-size: 10px
}

.filter-content .filter-item-count .button {
  float: right;
  width: 110px
}

.filter-content .filter-item-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 5;
  left: 0;
  top: 100%;
  background: #fff;
  width: 245px;
  transform: translate(0px, 15px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: 0.4s
}

.filter-content .filter-item-content:after,
.filter-content .filter-item-content:before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -19px;
  left: 10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #f7f8fa transparent
}

.filter-content .filter-item-content:after {
  z-index: 1;
  border-bottom-color: #eee;
  top: -20px
}

.filter-content .filter-item.is-open .filter-item-content {
  visibility: visible;
  opacity: 1;
  transform: translate(0px, 5px)
}

.filter-content .filter-item.is-open svg {
  transform: rotate(-180deg)
}

.filter-content .filter-item.is-active .filter-item-title,
.filter-content .filter-item.is-open .filter-item-title,
.filter-content .filter-item:hover .filter-item-title {
  border-color: #3095dd
}

.filter-content .filter-values {
  padding: 10px;
  overflow: auto;
  max-height: 300px;
  position: relative
}

.filter-content .filter-value-more {
  display: none
}

.filter-buttons {
  margin: 0 0 40px
}

.filter-container + .filter-buttons {
  margin: -20px 0 20px
}

@media (min-width: 1025px) {
  .filter-value-label:hover {
    color: #d34d70
  }

  .filter-value-label:hover:after {
    opacity: 0.5
  }
}

@media (max-width: 1024px) {
  .sidebar-filter {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    margin: 0;
    padding: 0
  }

  .filter-container {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s
  }

  .filter-container .filter {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 280px;
    overflow: auto;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
    transform: translate(-110%, 0px);
    transition: 0.4s;
    background: #fff;
    border-style: none
  }

  .filter-container .filter-title {
    position: relative;
    margin: -20px -20px 20px;
    padding: 15px 20px;
    background: #f7f8fa;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000
  }

  .filter-container .filter-title .button {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -16px
  }

  .filter-container .filter-item-reset {
    display: block !important
  }

  .filter-container .filter-item-reset a {
    float: right
  }

  .filter-container .filter-item-reset.d-none a {
    display: none
  }

  .filter-container .filter-shade {
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer
  }

  .filter-container.is-open {
    opacity: 1;
    visibility: visible;
    
  }

  .filter-container.is-open .filter {
    transform: translate(0px, 0px);
    padding: 20px 20px 0px;
  }

  .filter-buttons {
    margin: 0 0 40px
  }
}

.filter-button {
  display: none;
}

@media (max-width: 1024px) {
  .filter-button {
    display: block !important;
  }
}
 

.js-filter-close,
.js-filter-open {
  border-radius: 16px;
  padding: 4px 10px;
}

.js-filter-submit {
  margin-top: -4px;
}

@media (max-width: 355px) {

  .js-filter-open.button--primary {
    background-color: transparent !important;
  }

  .js-filter-open svg {
    color: #d34d70 !important;
  }

  .js-filter-open span {
    display: none;
  }
}
