There is an initially non-adaptive form (customer basket), which has a table layout table , each input / display element has a name form имяКолонки_НомерСтроки .
You need to make an adaptive form design. A new design for desktops has already been done, the problem is in creating a mobile design: it is completely different from the desktop and not tabular.
It is logical to create a separate form and manage the hide / show using hidden-xs / hidden-sm .
I have never done such a thing and I don’t know how to correctly implement the binding of JS to two forms / naming of form elements and so on.