Chocolate isn't a magnesium cure.
Cocoa has a little magnesium. That doesn't make a chocolate a treatment for cramps.

Somewhere along the way a tidy story took hold: the chocolate craving before your period is your body asking for magnesium, and a few squares of dark chocolate will top you up. It's a comforting idea. It's also mostly wrong.
The first half is true enough. Real cocoa does contain magnesium, roughly 40 to 60 mg in a serving of a cocoa-forward treat, which is about 15 to 20% of what you need in a day. That's a genuine, pleasant amount.
The second half is where it falls apart. The magnesium doses studied for period symptoms run into the hundreds of milligrams, several times what any reasonable amount of chocolate delivers. To get a dose like that into a treat, you'd have to add a lot of magnesium on purpose. It would taste bitter and metallic, and at that amount it tends to loosen your stomach, the opposite of what you want that week.
The magnesium in cocoa is
a nice extra, not a dose.
So why the craving?
If it isn't a mineral your body is missing, what is it? The more likely reason is the dip in serotonin in the days before your period. Your body reaches for something sweet and comforting that gives a small lift, and chocolate does exactly that. The craving is real. It just isn't a deficiency you can eat your way out of.
So enjoy the little magnesium that comes with real cocoa. If you need a dose that actually helps symptoms, that belongs in a supplement, and it's worth a word with your doctor. That's the line we hold with Cocoon: a treat that answers the craving, and honest that it isn't medicine.