before starting USB-3 cable DIY
you may give a short extension cable in combination with your U connector a chance
as indicated here in Phase I Heat issue solved by separating SATA HAT and Pi
I could imagine those 30 cm extension could match that requirements
female part surface should be plastic and thickness not exceed 9.2 mm
Otherwise those will work for sure but are 1m long
