Class .required dissapears from a field set as required when saved as template

I have various forms on my the website and some combinations of fields are the same across all the forms. First I had a separate instance in each form and then I decided to save the repeating part as a template. When I did, the asterix that indicates required fields for user disappeared. Through the setting “required” is there.

I investigated and noticed that the labels of the required fields in the template do not have class .required. So I had to add asterix using :has

You can see the form here. https://otstape.hpx.com.ua/contact-us/?type=diecutting