Image copyright Getty Images Image caption The fact that President Trump's limousine is a Cadillac is said to have helped the US carmaker's sales in China

If you're selling Cadillacs in China, it helps that the US president is driven around in one.

Cao Chenyi, the boss of a Cadillac dealership near Shanghai, told me that customers know that Donald Trump's presidential limousine is made by the US carmaker. He says they like the prestige.

But Mr Cao's had a bad year. Demand dropped 30% in 2018. He's had to shut five of the 11 dealerships his family business owned. Almost half, gone.

"The sales on every new vehicle is causing us to lose money. Basically the more we sell the more we lose," he says.

Loss leaders are painful. Mr Cao has been forced to shift excess stock, and quickly. The red Cadillac he drove me around in is currently on sale at half price.

Image caption Cao Chenyi's family have had to close five of their dealerships - these customers did not make a purchase

Nationally, 2018 was a very hard year for the car industry in China, the world's biggest car market.

Just over 22 million new cars were sold last year. But that's a near 6% drop on 2017. The first fall in two decades.

Inside Mr Cao's Cadillac showroom various models are side by side. An SUV at the back has a canoe on its roof rack.

I watched a group of three youngish men come in and sit down for the sales treatment. They didn't buy.

They didn't even have a good look inside the cars. Mr Cao thinks the main reason is a tax cut that has gone away.

"In 2018 the government cancelled the tax subsidy on car purchases, which was a shock to us," he says.

This benefit has been gradually wound down. Others think a credit squeeze has caused the demand for cars to drop.

Image caption Cao Chenyi thinks that the end of a tax credit is the main reason behind falling car sales

After a decade of near doubling its debt - to almost 300% of China's GDP - 2018 was the year that the government tried to deal with the aftermath of a credit crisis. That crisis was centred on peer-to-peer lending, known as P2P.

P2P lenders offer loans to individuals from a pool of funds supplied by other individuals and other businesses, thereby cutting out banks.

Cars and houses

Economist Andy Xie says the previously increasing national debt kept demand high, particularly in the property and car sectors.

"Now the property market has tipped over, and it's affecting a lot of things," he says.

So why is property so important?

"Auto sales are highly correlated to property sales," Mr Xie says.

"When people buy property it seems they buy a car at the same time. So when the property market is not doing well the auto demand is down."

Image copyright Getty Images Image caption The Chinese government is moving to reduce the country's debt level

The collapse of many of the P2P lending platforms is thought to have had a significant impact on both house and car sales, because borrowed money was being used as down payments for both.

Mr Xie says the credit system "used to be lubricated by these guys" and suddenly that has stopped.

"They lent to people who could not pay back. [Borrowers] shifted their debt from one platform to another."

He tells me he's heard statistics suggesting one in four such borrowers "have no ability to pay back".

Slowing economy

China's car industry is also a key driver of industrial output and a barometer of consumer demand.

But growth in China's economy is slowing, and the trade war with the US is starting to bite. Retail sales have slowed to a pace not seen for more than a decade.

A couple of hours away from the car dealership is a tiny hair salon, in the heart of Shanghai's old west side.

Sun Qiang is the owner and haircutter-in-chief. For a few hours I sat and watched him deal with a handful of customers. First up were three women, two of whom had curlers in, and didn't look happy to be there.

Image caption Hairdresser Sun Qiang is saving money to pay for education and healthcare

He told me he'd cut my hair for 40 yuan ($6; £4.50). His place is at the bottom end of what you might call the barometer of China's consumption.

But business isn't dropping off. He is, though, a barber who also cuts women's hair.

When it comes to cars he'd like a Chinese brand SUV. But it's not likely any time soon. He doesn't live that far from work and the buses are good. Plus he doesn't want to borrow.

"I think some car dealers, they want to boost their sales, so they need such consumers who love to pay by loans," he explains.

"But as a traditional Chinese person, I think we should only buy stuff that we can afford."

Global Trade

More from the BBC's series taking an international perspective on trade:

Traditional attitudes

People like Mr Sun are the other problem for China as it contemplates a slowing economy. He is in his mid-40s and has what you might call the traditional Chinese attitude towards borrowing.

He says he's worried about mounting healthcare costs and other possible "emergencies".

"Medical care and education costs us a lot," he says. "That's why we have to save money."

Image copyright Getty Images Image caption Car sales in China may have fallen, but 22 million new cars were still bought in 2018

Just outside the hair salon is a scene of China's changing economy.

Demand may have tanked, but there are still plenty of cars on the streets. Next door is a boutique shop selling high-end women's clothes. There's a pair of Louboutin high heels in the window.

Just down the street I watched as two female construction workers, with their yellow hard hats on, took down some bamboo scaffolding.

China is trying to move from an economy dependent on public investment and exports to domestic consumption.

But that transition has taken a knock.

The slowdown is here. China's car dealers and hairdressers know it. So do this country's leaders.