/* Local Phosphor regular SVGs. Keep legacy markup, listeners and accessible names. */
@supports (mask-image: url("phosphor/user.svg")) or (-webkit-mask-image: url("phosphor/user.svg")) {
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .fa-tachometer-alt { --nsc-icon: url("phosphor/gauge.svg"); }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .fa-file-text { --nsc-icon: url("phosphor/file-text.svg"); }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .fa-life-ring { --nsc-icon: url("phosphor/lifebuoy.svg"); }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .fa-user { --nsc-icon: url("phosphor/user.svg"); }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .fa-users { --nsc-icon: url("phosphor/users.svg"); }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .fa-sign-out-alt { --nsc-icon: url("phosphor/sign-out.svg"); }
    body.nsc-design-2026 .responsive-menu-toggle .icon-menu-fine { --nsc-icon: url("phosphor/list.svg"); }
    body.nsc-design-2026 #mfn-rev-slider .icon-right { --nsc-icon: url("phosphor/arrow-right.svg"); }

    body.nsc-design-2026 .woocommerce-MyAccount-navigation :is(.fa-tachometer-alt, .fa-file-text, .fa-life-ring, .fa-user, .fa-users, .fa-sign-out-alt),
    body.nsc-design-2026 .responsive-menu-toggle .icon-menu-fine,
    body.nsc-design-2026 #mfn-rev-slider .icon-right {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px;
        vertical-align: middle;
        line-height: 1 !important;
    }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation :is(.fa-tachometer-alt, .fa-file-text, .fa-life-ring, .fa-user, .fa-users, .fa-sign-out-alt)::before,
    body.nsc-design-2026 .responsive-menu-toggle .icon-menu-fine::before,
    body.nsc-design-2026 #mfn-rev-slider .icon-right::before {
        content: "" !important;
        display: block;
        margin: 0 !important;
        width: 24px !important;
        height: 24px !important;
        background: currentColor;
        -webkit-mask: var(--nsc-icon) center / contain no-repeat;
        mask: var(--nsc-icon) center / contain no-repeat;
    }

    body.nsc-design-2026 #Wrapper #Content .woocommerce-MyAccount-navigation ul > li > a > i,
    body.nsc-design-2026 #Wrapper #Content .woocommerce-MyAccount-navigation ul > li > a > i::before {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        flex: 0 0 24px !important;
    }
    body.nsc-design-2026 .nsc-header-search-icon::before {
        content: "";
        display: block;
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px;
        background: currentColor;
        -webkit-mask: url("phosphor/magnifying-glass.svg") center / contain no-repeat;
        mask: url("phosphor/magnifying-glass.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 #Wrapper .nsc-header-search-icon > svg { display: none !important; }
    body.nsc-design-2026 .nsc-search-dialog .nsc-search-submit {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }
    body.nsc-design-2026 .nsc-search-dialog .nsc-search-submit::before {
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        background: currentColor;
        -webkit-mask: url("phosphor/magnifying-glass.svg") center / contain no-repeat;
        mask: url("phosphor/magnifying-glass.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 .nsc-search-dialog .nsc-search-submit > svg { display: none !important; }
    body.nsc-design-2026.nsc-account-workspace #Wrapper #Content .woocommerce-MyAccount-navigation ul > li > a > i {
        transform: none !important;
        top: auto !important;
    }
    @media (max-width: 767px) {
        body.nsc-design-2026:not(.nsc-account-workspace) #Wrapper #Content .woocommerce-MyAccount-navigation ul > li > a {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
        }
        body.nsc-design-2026:not(.nsc-account-workspace) #Wrapper #Content .woocommerce-MyAccount-navigation ul > li > a > i {
            position: static !important;
            transform: none !important;
            float: none !important;
            order: 0 !important;
            margin: 0 !important;
        }
        body.nsc-design-2026:not(.nsc-account-workspace) #Wrapper #Content .woocommerce-MyAccount-navigation ul > li > a > span {
            order: 1 !important;
        }
    }

    body.nsc-design-2026 .nsc-favorite-button__icon { --nsc-icon: url("phosphor/heart.svg"); }
    body.nsc-design-2026 .nsc-favorite-button[aria-pressed="true"] .nsc-favorite-button__icon { --nsc-icon: url("phosphor/heart-fill.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-arrow { --nsc-icon: url("phosphor/caret-right.svg"); }
    body.nsc-design-2026 :is(.nsc-favorite-button__icon, .nsc-custom-catalog-arrow) {
        display: inline-block !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 0 !important;
        background: currentColor;
        vertical-align: middle;
        -webkit-mask: var(--nsc-icon) center / contain no-repeat;
        mask: var(--nsc-icon) center / contain no-repeat;
    }

    body.nsc-design-2026 .nsc-rma-plus-button { --nsc-icon: url("phosphor/plus.svg"); }
    body.nsc-design-2026 .nsc-rma-plus-button[aria-expanded="true"] { --nsc-icon: url("phosphor/minus.svg"); }
    body.nsc-design-2026 :is(.nsc-quote-close, .nsc-quote-remove, .nsc-rma-detail-dialog__close, .nsc-search-close, .nsc-whatsapp-close, #Side_slide .icon_close) { --nsc-icon: url("phosphor/x.svg"); }
    body.nsc-design-2026 :is(.nsc-rma-plus-button, .nsc-quote-close, .nsc-quote-remove, .nsc-rma-detail-dialog__close, .nsc-search-close, .nsc-whatsapp-close, #Side_slide .icon_close) {
        font-size: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    body.nsc-design-2026 :is(.nsc-rma-plus-button, .nsc-quote-close, .nsc-quote-remove, .nsc-rma-detail-dialog__close, .nsc-search-close, .nsc-whatsapp-close, #Side_slide .icon_close)::before {
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        background: currentColor;
        -webkit-mask: var(--nsc-icon) center / contain no-repeat;
        mask: var(--nsc-icon) center / contain no-repeat;
    }
    body.nsc-design-2026 .nsc-whatsapp-close > svg,
    body.nsc-design-2026 #Side_slide .icon_close > i { display: none !important; }

    body.nsc-design-2026 .nsc-account-menu-toggle__hint::after {
        content: "" !important;
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-left: 4px;
        vertical-align: middle;
        background: currentColor;
        -webkit-mask: url("phosphor/caret-down.svg") center / contain no-repeat;
        mask: url("phosphor/caret-down.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 [aria-expanded="true"] > .nsc-account-menu-toggle__hint::after {
        -webkit-mask-image: url("phosphor/caret-up.svg");
        mask-image: url("phosphor/caret-up.svg");
    }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .wcmamtx_upload_avatar::before {
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        background: currentColor;
        -webkit-mask: url("phosphor/camera.svg") center / contain no-repeat;
        mask: url("phosphor/camera.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 #Wrapper #Content .woocommerce-MyAccount-navigation .wcmamtx_camera_icon { display: none !important; }
    body.nsc-design-2026 .woocommerce-MyAccount-navigation .fa-refresh::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        vertical-align: middle;
        background: currentColor;
        -webkit-mask: url("phosphor/arrows-clockwise.svg") center / contain no-repeat;
        mask: url("phosphor/arrows-clockwise.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 #mfn-rev-slider .tparrows::before {
        content: "" !important;
        background: currentColor;
        -webkit-mask: url("phosphor/caret-left.svg") center / 24px 24px no-repeat;
        mask: url("phosphor/caret-left.svg") center / 24px 24px no-repeat;
    }
    body.nsc-design-2026 #mfn-rev-slider .tparrows.tp-rightarrow::before {
        -webkit-mask-image: url("phosphor/caret-right.svg");
        mask-image: url("phosphor/caret-right.svg");
    }

    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/acessos/"] { --nsc-category-icon: url("phosphor/key.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/cctv/"] { --nsc-category-icon: url("phosphor/security-camera.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/comunicadores/"] { --nsc-category-icon: url("phosphor/broadcast.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/emergencia/"] { --nsc-category-icon: url("phosphor/sign-out.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/gas/"] { --nsc-category-icon: url("phosphor/wind.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/incendio/"] { --nsc-category-icon: url("phosphor/fire.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/intrusao/"] { --nsc-category-icon: url("phosphor/shield-check.svg"); }
    body.nsc-design-2026 .nsc-custom-catalog-card-category[href*="/categoria-produto/pa-va/"] { --nsc-category-icon: url("phosphor/megaphone.svg"); }
    /* Only the eight mapped categories; unknown categories retain their own image. */
    body.nsc-design-2026 .nsc-custom-catalog-card-category:is([href*="/categoria-produto/acessos/"], [href*="/categoria-produto/cctv/"], [href*="/categoria-produto/comunicadores/"], [href*="/categoria-produto/emergencia/"], [href*="/categoria-produto/gas/"], [href*="/categoria-produto/incendio/"], [href*="/categoria-produto/intrusao/"], [href*="/categoria-produto/pa-va/"]) .nsc-custom-catalog-image::before {
        content: "";
        display: block;
        width: 80px;
        height: 80px;
        background: currentColor;
        -webkit-mask: var(--nsc-category-icon) center / contain no-repeat;
        mask: var(--nsc-category-icon) center / contain no-repeat;
    }
    body.nsc-design-2026 #Wrapper .nsc-custom-catalog-card-category:is([href*="/categoria-produto/acessos/"], [href*="/categoria-produto/cctv/"], [href*="/categoria-produto/comunicadores/"], [href*="/categoria-produto/emergencia/"], [href*="/categoria-produto/gas/"], [href*="/categoria-produto/incendio/"], [href*="/categoria-produto/intrusao/"], [href*="/categoria-produto/pa-va/"]) .nsc-category-line-icon { display: none !important; }

    body.nsc-design-2026 #Footer :is(#custom_html-4, #custom_html-5) li {
        display: block;
    }
    body.nsc-design-2026 #Footer :is(#custom_html-4, #custom_html-5) li > a { min-width: 0; position: relative; padding-left: 34px; }
    body.nsc-design-2026 #Footer :is(#custom_html-4, #custom_html-5) li > span:first-child {
        display: none !important;
    }
    /* The marker belongs to its link, so a hidden link cannot leave an orphan arrow. */
    body.nsc-design-2026 #Footer :is(#custom_html-4, #custom_html-5) li > a[href]:not(:empty)::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 24px;
        height: 24px;
        background: var(--nsc-red);
        -webkit-mask: url("phosphor/arrow-right.svg") center / contain no-repeat;
        mask: url("phosphor/arrow-right.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 .nsc-custom-catalog-pagination a.nsc-page-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0;
    }
    body.nsc-design-2026 .nsc-custom-catalog-pagination a.nsc-page-icon::before {
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        background: currentColor;
        -webkit-mask: url("phosphor/caret-right.svg") center / contain no-repeat;
        mask: url("phosphor/caret-right.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 .nsc-custom-catalog-pagination a.nsc-page-icon.prev::before {
        -webkit-mask-image: url("phosphor/caret-left.svg");
        mask-image: url("phosphor/caret-left.svg");
    }
    body.nsc-design-2026 #Wrapper .nsc-custom-category-toggle > span {
        width: 24px !important;
        height: 24px !important;
        font-size: 0 !important;
        background: currentColor;
        -webkit-mask: url("phosphor/plus.svg") center / contain no-repeat;
        mask: url("phosphor/plus.svg") center / contain no-repeat;
    }
    body.nsc-design-2026 #Wrapper .nsc-custom-category-toggle[aria-expanded="true"] > span {
        -webkit-mask-image: url("phosphor/minus.svg");
        mask-image: url("phosphor/minus.svg");
    }
}
