The Portuguese art of pastry has its origins in the many medieval Catholic monasteries spread widely across the country.