Since the Taliban returned to power, Afghan women have been barred from going on long trips, travelling by plane or entering government buildings unless they are accompanied by a man.
Under the Taliban government's austere interpretation of Islamic law, the "mahram" practice long rooted in Afghan society has become compulsory.
On a recent visit to their former university in Kabul, Mariam and a female friend were stopped from entering the building to collect a transcript.
"In Afghanistan, strict rules define what women are allowed to do, with their proponents claiming they guarantee both the women's and their whole family's, honour"
"At the entrance, the Taliban told us that we needed a mahram," said Mariam, whose name has been changed to protect her identity like other women AFP interviewed.
"But my brother was at work, my friend's brother wasn't old enough and her father had died," she said.
"I saw a guy on the street and he agreed to help us," she said. "We had the courage to pass him off as our brother" to get in.
Under Islam, a mahram is a close male relative — typically a husband, brother, father, son, grandfather or uncle — with whom a woman is not obliged to wear hijab, and who acts as her guardian and protector.
In Afghanistan, strict rules define what women are allowed to do, with their proponents claiming they guarantee both the women's and their whole family's, honour.
The Taliban authorities, in power since 2021, have responded to international criticism by saying that Afghanistan's laws follow Islam and guarantee all citizens' rights under sharia.
"Unfortunately, outside circles have their own sensitivities and present incorrect interpretations based on envy and prejudice," Taliban government spokesman Zabihullah Mujahid told AFP.
"They should respect and value Islamic laws."
'Go home'
In a country where more than 40 years of conflict have left millions of widows, it can be a challenge for many women to actually find a mahram.
"A lot of women don't have a man at home," said Shirin, 25, who is studying for a master's degree online after being banned by the authorities from university.
"Their husband has died, or their son is too young and they find themselves head of the family. How can they have a mahram?"
"Mahram customs have fallen out of practice in much of the Muslim world and are enforced by few governments"
Travelling without a mahram can result in arrest, with rigorous inspections, particularly at checkpoints in towns and rural areas.
Last year, Shirin said Taliban authorities broke up a picnic outing because she and other women members of her family were in a minibus driven by their cousin — the only man, and not a mahram.
One of the men grabbed Shirin's cousin by the collar and told the women, who were in tears, to "go home".
In December 2021, the Taliban government made it compulsory for any woman travelling on any journey longer than 72 kilometres (45 miles) to be accompanied by a mahram.
Then in March 2022, it banned them from flying alone on both domestic and international flights, complicating departures for some women offered scholarships to study at universities abroad.
Mahram customs have fallen out of practice in much of the Muslim world and are enforced by few governments.
'Humiliating'
While women are already excluded from secondary schools, universities, certain jobs, parks and gyms, the mahram policy "is really limiting women to home and indoors" and is "incredibly humiliating", said Sahar Fetrat, of Human Rights Watch.
Khadija, 25, a consultant for women entrepreneurs, noted that in Kabul "the situation is different from the provinces: you can go shopping" without a mahram in the capital.
The practice is, however, strictly enforced in more conservative rural areas.
For 18 months, Khadija made house calls in Kabul with her sister for a vaccination programme, and "had to take a mahram".
Because of the rules, charities and UN agencies pay their female employees an extra salary for the mahram, sometimes up to $40 a day.
Khadija's 32-year-old brother, Ahmad, is the sole mahram for his mother and four sisters — bringing many complications.
"I am the only man of the house," he said. "But I have my own job too, I also have places to be."