For everybody
{
const children = Array.from($el.children)
const children_products = children.filter((child) => child.classList.contains("filter__product"))
let order = 0
for (let i = 0; i < children_products.length; i++) {
if (children_products[i].dataset.show == "false") {
children_products[i].style.display = "none"
} else {
children_products[i].style.display = ""
children_products[i].style.order = order
order++
}
}
const children_promos = children.filter((child) => child.classList.contains("filter__promo"))
for (let i = 0; i < children_promos.length; i++) {
const index = children.indexOf(children_promos[i])
if (index > -1) {
const next_children_products = children.filter((child) => child.classList.contains("filter__product") && child.dataset.show != "false" && parseInt(child.style.order) > parseInt(children_promos[i].style.order))
if (next_children_products.length > 0) {
children_promos[i].style.display = ""
} else {
children_promos[i].style.display = ""
}
} else {
console.error("Element not found!")
}
}
}, 5)
'
>


Golden Hour Recovery Cream
An incredibly nourishing, yet fast-absorbing face cream.
An incredibly nourishing, yet fast-absorbing face cream.
Rated 4.5 out of 5 stars
4.5 Stars (5,941 Reviews)
Select option for Golden Hour Recovery Cream
1.57 FL OZ


Brighten Up Vitamin C Serum
A concentrated, corrective serum for even-toned, radiant skin.
A concentrated, corrective serum for even-toned, radiant skin.
Rated 4.4 out of 5 stars
4.4 Stars (1,581 Reviews)
Select option for Brighten Up Vitamin C Serum
1 FL OZ


Force Field SPF 30
Pure protection on every level, in a silky-smooth, sheer formula.
Pure protection on every level, in a silky-smooth, sheer formula.
Rated 4.5 out of 5 stars
4.5 Stars (360 Reviews)
Select option for Force Field SPF 30
1.7 FL OZ


Fantastic Face Wash
A super fresh foaming face wash for clean, balanced skin.
A super fresh foaming face wash for clean, balanced skin.
Rated 4.7 out of 5 stars
4.7 Stars (1,629 Reviews)
Select option for Fantastic Face Wash


Fortifying Gel Moisturizer
A soothing gel moisturizer to calm, clarify, and hydrate skin.
A soothing gel moisturizer to calm, clarify, and hydrate skin.
Rated 4.5 out of 5 stars
4.5 Stars (204 Reviews)
Select option for Fortifying Gel Moisturizer
1.6 FL OZ


Essential Face Tonic
The multitasker that cleanses, exfoliates, soothes, & hydrates.
The multitasker that cleanses, exfoliates, soothes, & hydrates.
Rated 4.8 out of 5 stars
4.8 Stars (401 Reviews)
Select option for Essential Face Tonic