/* Brand-colored product tab/sort icons */
.nx-tab__brand-icon,
.nx-sort__brand-icon{
    display:inline-grid;
    place-items:center;
    flex:0 0 auto;
    width:26px;
    height:26px;
    border-radius:8px;
    color:var(--nx-tab-icon) !important;
    background:var(--nx-tab-icon-bg) !important;
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--nx-tab-icon) 12%,transparent);
    transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.nx-tab__brand-icon .nx-icon,
.nx-sort__brand-icon .nx-icon{
    display:block;
    color:inherit !important;
    opacity:1 !important;
    filter:none !important;
}
.nx-tab:hover .nx-tab__brand-icon,
.nx-sort__item:hover .nx-sort__brand-icon{
    transform:translateY(-1px) scale(1.05);
    box-shadow:0 6px 15px -9px var(--nx-tab-icon);
}
.nx-tab.is-active .nx-tab__brand-icon,
.nx-sort__item.is-active .nx-sort__brand-icon{
    background:#fff !important;
    box-shadow:0 5px 16px -8px rgba(0,0,0,.45);
}

/* Active tab/sort icon: white, no brand color */
.nx-tab.is-active .nx-tab__brand-icon,
.nx-sort__item.is-active .nx-sort__brand-icon{
    color:#fff !important;
    background:transparent !important;
    box-shadow:none !important;
}
.nx-tab.is-active .nx-tab__brand-icon .nx-icon,
.nx-sort__item.is-active .nx-sort__brand-icon .nx-icon{
    color:#fff !important;
}
