@mixin widget_layered_nav {
  @include widget_links_list;

  .woocommerce-widget-layered-nav-list {
    &.add_scroll {
      max-height: 130px;
      overflow-y: scroll;
      margin-bottom: rem-calc(24);

      &::-webkit-scrollbar {
        width: 2px;
      }
    }

    .wc-layered-nav-term {
      @include widget_layered_nav_checkbox;

      > a {
        display: inline-block;
        vertical-align: middle;
        font-size: rem-calc(14);
        margin-right: rem-calc(5);
      }

      > .count {
        text-align: right;
        margin-left: auto;
      }
    }
  }

  .woocommerce-widget-layered-nav-dropdown {
    ul {
      li {
        height: 35px;
        line-height: 2.5;
        margin-top: 5px;
        margin-right: 5px;
        margin-bottom: 0;
      }

      .select2-selection__clear {
        margin-top: 0;
      }
    }
  }
}
