.range-card {
  @include media-breakpoint-down(sm) {
    border-bottom: 1px solid $gray-light;
  }

  & + & {
    margin-top: 40px;
  }

  &__title {
    margin-bottom: 10px;
  }

  &__intro {
    margin-bottom: 20px;
    font-size: 1rem;
  }

  &__cta {
    font-size: 1rem;

    .fas,
    .svg-inline--fa.fa-w-16 {
      width: 19px;
      height: 19px;
    }

    a {
      @include media-breakpoint-up(lg) {
        //color: $gray-dark;
        text-decoration: none;
      }
    }
  }

  &__more-link {
    white-space: nowrap;
  }

  &__group {
    position: relative;
    @include media-breakpoint-up(lg) {
      display: flex;
    }
    @include media-breakpoint-up(md) {
      border: 1px solid $gray;
    }
  }

  &__tag {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 5px 30px;
    font-size: 15px;
    background-color: $blue;
    color: $white;

    &.new-range {
      background-color: $green-light;
    }

    &.offer {
      background-color: $red;
      font-size: 1.125rem;
      font-weight: 700;
      padding-top: 3px;
      padding-bottom: 3px;
    }

    &.tag-align-right {
      right: 0;
      left: auto;
    }
  }



  &__slider-holder {
    @include media-breakpoint-only(lg) {
      width: 610px;
    }

    @include media-breakpoint-up(xl) {
      width: 730px;
    }
  }

  &__data-holder {
    @include media-breakpoint-up(lg) {
      flex-basis: 0;
      flex-grow: 1;
      max-width: 100%;
      padding: 20px 30px;
    }
    @include media-breakpoint-only(md) {
      border-top: 1px solid $gray-light;
      display: flex;
      flex-wrap: wrap;
      margin: 0 20px;
      padding: 20px 25px;
    }
    @include media-breakpoint-down(sm) {
      padding: 30px 0;
    }
  }

  &__data-block {
    @mixin bordered {
      border-bottom: 1px solid $gray-light;
      margin-bottom: 10px;
      padding-bottom: 10px;
    }

    @include media-breakpoint-up(lg) {
      &:not(:last-child) {
        @include bordered;
      }
    }
    @include media-breakpoint-only(md) {
      margin: 0 15px;
      width: calc(50% - 30px);

      &_order-3 {
        order: 3;
      }

      &_order-4 {
        order: 4;
      }

      &_order-1,
      &_order-2 {
        @include bordered;
      }
    }
    @include media-breakpoint-down(sm) {
      &:not(:last-child) {
        @include bordered;
      }
    }
  }

  &__data-block-lbl {
    display: block;
    margin: 0;
  }

  &__badges {
    @include badges;
  }

  &__badge {
    @include badge;

    &--clearance {
      background-color: $yellow;
      color: $gray-dark;
    }
  }

  &__price {
    color: $blue-dark;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 46px;
  }

  &__price-info {
    @include additional-text;
    color: $warm-grey;
    padding-left: 30px;
    position: relative;
  }

  &__price-info-icon {
    color: $gray;
    font-size: .875rem;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  &__promo {
    margin: 0;
    padding-left: 30px;
    color: $red;
  }

  &__action-holder {
    padding: 10px 0;
    text-align: center;

    .link-secondary {
      font-weight: 500;
    }
  }

  &__icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    .fa-plus {
      margin: 0 10px;
    }
  }

  &__icon {
    // sass-lint:disable no-important
    background-repeat: no-repeat !important;
    background-size: 100% !important;
    vertical-align: middle;
    display: block;

    &.toilet {
      // sass-lint:disable no-url-domains
      // sass-lint:disable no-url-protocols
      background: url('https://media.wickes.co.uk/is/image/wickes/bathroom-toilet-icon-new?fmt=png-alpha');
      height: 31px;
      width: 25px;
      margin-right: 5px;
    }

    &.tap {
      // sass-lint:disable no-url-domains
      // sass-lint:disable no-url-protocols
      background: url('https://media.wickes.co.uk/is/image/wickes/bathroom-basin-icon-new?fmt=png-alpha');
      height: 35px;
      width: 22px;
    }
  }

  .color-slider-container {
    width: 240px;
    margin-top: 15px;
  }
}
