We had to tear up our kitchen to remove the mold from a leak. Are the coutertops a whole home expense for my home office deduction, as it was related to the remediation?

I know a kitchen remodel wouldn't be deductible for my home office, but the mopd remediation affected the ait quality of our whole home. So does replacing the counters and cabinets count since we couldn't remove the mold without scraping the old ones?