@mixin widget_price_filter {
  .price_slider {
    margin-bottom: rem-calc(24);
  }

  .price_slider_amount {
    text-align: left;

    .price_label {
      display: inline-block;
      font-size: 13px;
      padding-top: rem-calc(1);

      span {
        display: inline-block;
      }
    }

    .button {
      float: right;
      width: auto;
      padding: 0;
      margin: 0;
      font-size: rem-calc(11);
      background: none;
      color: v(site-heading-color);
      line-height: inherit;
      text-transform: uppercase;
      text-decoration: underline;

      &:hover {
        opacity: 0.7;
      }
    }
  }

  .ui-slider {
    position: relative;
    text-align: left;
    margin-left: 8px;
    margin-right: 8px;
  }

  .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 12px;
    height: 12px;
    background-color: inherit;
    border-radius: 50px;
    cursor: ew-resize;
    outline: none;
    top: -6px;
    border-width: 0;
    background-color: v(site-accent-color);
    margin-left: -8px;
  }

  .ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    display: block;
    border: 0;
    border-radius: 1em;
  }

  .price_slider_wrapper .ui-widget-content {
    border: 0;
    position: relative;
    background-color: v(site-border-color);
    z-index: 0;

    &:before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: -8px;
      width: 8px;
      height: 3px;
      border-top-left-radius: 10px;
      border-bottom-left-radius: 10px;
    }

    &:after {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      right: -8px;
      width: 8px;
      height: 3px;
      border-top-right-radius: 10px;
      border-bottom-right-radius: 10px;
    }
  }

  .ui-slider-horizontal {
    height: 3px;
  }

  .ui-slider-horizontal .ui-slider-range {
    top: -1px;
    height: 100%;
    background-color: v(site-accent-color);
  }
}