Blending tool for connected one line logo (like infinity logo but two point overlapped)

Hi I'm working on a logo like this.
It is one line logo, but overlapping part is a bit tricky. There are two vertical lines, what I want to do is the right one is behind, the left one if front of horizontal line. I found tutorials for one line object that have two both end. But my design is no end. How to connect it naturally?
I tried two pathes separate. but both end point would be visible.
It should not be that gradient 3d texture. Could be plain gradient colour like this
Thank you in advance!

