You’ve added an element in your child theme that looks like this:
<div class="wooarchive">
...
</div>
You should remove that, and add it as a Hook Element to the generate_before_main_content
hook.
Right now it’s added inside a flex element, which is why the layout is wrong.