Malls, souks and public buildings
Shoulders and knees covered. This is stated at mall entrances and is genuinely enforced by staff. A light linen shirt and loose trousers or a long skirt is more comfortable in the heat than fitted clothing anyway.
Beaches and hotel pools
Swimwear is fine on the sand and at the pool. It is not fine in the mall, the street, the metro or a restaurant — carry a cover-up and use it before you walk back through the lobby.
Mosques
Women should cover hair, arms and legs; men should cover shoulders and knees. Many mosques, including the large ones open to visitors, lend an abaya or scarf. Shoes come off at the entrance. Avoid visiting during prayer times unless the site is set up for it.
Restaurants and bars
Smarter venues in hotels expect smart-casual in the evening. Beach clubs are their own ecosystem and follow their own dress codes — check before you go.