If the Main and A/C are together [a double breaker], move the A/C to another breaker.
there should be room to install another breaker.
There is heat transfer in the double breaker, which will ultimately cause it to fail.
What you are describing is similiar to what happened to me and finally the main stopped working.
Baylee & Shadow [Schnauzers]
2015 Winnebago Vista 36Y
no trees were destroyed sending this, but many electrons were inconvenienced