This is super frustrating, but it's actually pretty common with Canon Pixma models. The issue usually comes down to your printer losing connection to your WiFi network even though it appears connected. About 60-70% of these "offline" problems are actually WiFi stability issues rather than actual hardware failures, so there's a good chance you can fix this without calling support.
First thing to try: factory reset your printer's WiFi. Go into your printer's settings menu, find the network/WiFi section, and look for "reset network settings" or similar. Then set it up fresh with your WiFi - make sure you're using the 2.4GHz band if your router broadcasts both 2.4 and 5GHz (Canon Pixma's work better on 2.4). While you're at it, check Canon's website for the latest firmware update for your specific model and install it. Firmware updates from the last month or two often patch WiFi connectivity bugs. Also update your printer drivers on your laptop - outdated drivers cause this kind of intermittent offline status pretty regularly.
If that doesn't stick, you might have a WiFi interference issue. Canon Pixmas can be sensitive to interference from microwaves, cordless phones, or being too far from your router - try moving it closer if possible, or at minimum 3-4 feet away from other electronics. Some people also report success disabling IPv6 on their router settings if they have it enabled, since some Pixma firmware versions don't handle IPv6 well. If none of this works after a week or so of testing, reach out to Canon support since it could be a defective WiFi module, but I'd be surprised given that it's only a month old.