This is great thank you so much!
I applied the styling to .floating-cart and now, when sqs-custom-cart is hidden, the background color applied to floating cart is displayed. I've tried applying this styling to sqs-custom-cart instead, but it doesn't really work as the cart quantity sits outside of that. Do you have any idea how I can overcome that?