Thanks, now it's getting closer!
The name of the month is now displayed only for the first product within the same month.
But at the same time, it seems that this table row, with the month name - appears under all products - which is obviously not good.
The attached screen shows these lines that I marked with red color (in css).
How do I make this row appear only with the month name?