.header__icon-list li:has(.hidden) {
    display: none;
}