The electrical equipment of your vehicle is protected by fuses.
If any lighting device, additional equipment fails, and if the control buttons do not work, check the fuse of the corresponding electrical circuit. If the fuse is blown, the inner conductor of the fuse will melt.
If, after replacement, a new similar fuse blows again, then do not turn on the corresponding electrical equipment of the car. Contact your authorized Mazda dealer immediately for repair.