Is it ethical to eat sweets offered by any non shia till 9th rabiulawwal for any happy occasion like passing exam, getting a child, brought from his home country etc. other than tabarukkat/niaz. Also is it ethical to apply perfume while going to office or attar while praying namaz till 9th rabiulawwal or just apply deodorant to avoid bad smell till 9th rabiulawwal

it’s not haram and not necessarily unethical to do so but preferable to maintain the mourning mood up until the end