I have a simple relationship between product and category I came up with this diagram:
I want to be sure that the diagram has a correct cardinality, especially category to category relation.
Almost correct.
Use roles to clearly identify parent/sub-category along with their multiplicities. The hollow diamond makes it a shared aggregation which means the sub-category lives independent of its parent (else you would use a filled diamond).