.payments-checkout {
  margin-left: 0;
  margin-bottom: 10px;

  &__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    flex-wrap: wrap;
    max-width: 240px;
  }

  &__item {
    display: inline-block;
    list-style-type: none;
  }

  &__image {
    height: 30px;
    width: 48px;
  }

  &-klarna {
    display: flex;
    align-items: center;
    height: 30px;
    width: 48px;
  }

  &__title {
    text-align: center;
    color: $blue-dark;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    margin-bottom: 8px;
  }
}

.summary__payment {
  .payments-checkout {
    margin-bottom: 0;
    margin-left: 0;
    flex: 1;

    &__list {
      justify-content: center;
      gap: 12px;

      &--small {
        flex-wrap: wrap;
        padding: 0 25px;
      }
    }

    &__image {
      height: 22px;
      width: 36px;
    }

    &-klarna {
      height: 22px;
      width: 38px;
    }
  }

  .footer-checkout-holder--payways {
    .payments-checkout__list {
      gap: 8px;
    }
  }
}

.basket {
  .summary__payment.footer-checkout {
    .payments-checkout__list--small {
      padding: 0 45px;
    }
  }
}

@include media-breakpoint-up(md) {
  .payments-checkout {
    margin-bottom: 0;
    margin-left: 15px;

    &__list {
      flex-wrap: nowrap;
      max-width: 100%;
    }

    &-klarna {
      height: 30px;
      width: 50px;
    }
  }
}
