It doesn't matter if you didn't think you were close to her, she was still your grandmother. Perhaps you are also mourning for the relationship that you wish you could have had.
I'm so sorry for your loss. Dealing with the death of family is hard no matter how close you were. I was a blubbering mess when my fil died and we were not especially close either. Big hugs to you