I have a question/idea.

I would definitely consult with a Criminal Defense Attorney. Many offer free initial consultations. I think it might be a good idea to plan on retaining the attorney. The money spent would be better than the criminal charges faced.

Let's face it - most of us don't keep receipts for a long time. Do you remember approximately when you purchased the cosmetics especially? And if they may have been on a credit or debit card? There may be a way to trace those back. The items still being in wrappers is not going to look good, and it may still be difficult to prove you had bought them previously, and not stolen them last night. (Just giving you an idea of what a Prosecutor may think).

I assume the can of OFF would likely have been used and not full? If so, mention this to the lawyer.

I also would wonder what shoplifter would steal a flashlight AND take time to put the batteries in? That's another thing to mention to the lawyer.

As for security alarms at the doors: Not all items are tagged, mostly just the high value items, or small items like jewelry.

Good luck.