How does it work with fossil fuels refined in Middle East and delivered to China?"
Because all goods and services are in a value chain.
A 'carbon tax' at the end point of consumption would be like a VAT. If carbon is used in the making of it, then it's X% tax.
That will definitely have an effect on wherever the carbon comes from.
A much, much easier and better form of carbon tax would not be a VAT, but just a tax on the fuel.
So basically just a fuel tax would effectively 'price the carbon in' to products.
If it's a huge tax, then shipping by air because way more expensive, you'll see goods shipped more by sea.
If shipping by sea is too expensive, you'll see goods made more locally.
So it's best to just capture the carbon right at the fuel, and then maybe have a tax for other industrial elements.
" buying the car was aspirational and signified the rite of passage"
It's also practical.