.plp-selected {
  padding: 16px 0 0;
  background-color: $white;

  &.mobile {
    padding-bottom: 16px;

    .container {
      padding-left: 0;
      padding-right: 0;
    }
  }

  &.desktop {
    display: none;
  }

  .container {
    gap: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  &__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
}

.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 34px;
  padding: 5px 12px;
  background-color: $gray-bg;
  color: $gray-dark;
  border: 0;
  border-radius: 4px;
  font-weight: 400;
  font-size: .875rem;
  line-height: 24px;
  cursor: pointer;
  white-space: nowrap;

  &:hover {
    .pf-chip__close {
      color: $squant;
    }
  }

  &:active,
  &:focus,
  &:focus-visible, {
    .pf-chip__close {
      color: $gray-dark;
    }
  }

  &:focus {
    outline: none;
  }

  &:focus-visible {
    outline: 2px solid $blue;
    outline-offset: 2px;
  }

  &__text {
    line-height: 24px;
  }

  &__close {
    color: $warm-grey;
    line-height: 1;
    pointer-events: none;
    font-size: .911rem;
  }
}

.pf-chip .fa,
.pf-chip .fas,
.pf-chip .far {
  color: $warm-grey;
  font-size: 10px;
  line-height: 1;
}

.plp-selected__clear-all {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 34px;
  padding: 5px 12px 5px 19px;
  border-radius: 4px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;

  &:focus {
    outline: none;
  }

  &:focus-visible {
    outline: 2px solid $blue;
    outline-offset: 2px;
  }

  .fa, .fas, .far {
    font-size: .75rem;
  }
}


@include media-breakpoint-up(md) {
  .plp-selected {
    &.desktop {
      display: block;
    }

    &.mobile {
      display: none;
    }
  }
}
