Here's some code that I a short while ago wrote. I think that it offers a essential explanation of combining course/ID names with pseudoclasses. A nested & selects the mother or father ingredient in the two SASS and fewer. It isn't really just for pseudo components, it can be used https://www.presta-addons-modules.com/en/free-modules/prestashop-cookie-consent-banner.html