

/* JW_MOBILE_TOOLBAR_ORDER_V1 */

@media (max-width: 1024px) {

    /* Главная */

    html body .wd-toolbar > .wd-toolbar-home {
        order: 1 !important;
    }

    /* Избранное */

    html body .wd-toolbar > :is(
        .wd-header-wishlist,
        .wd-toolbar-wishlist,
        :has(> a[href*="/wishlist/"])
    ) {
        order: 2 !important;
    }

    /* Корзина */

    html body .wd-toolbar > :is(
        .wd-header-cart,
        .wd-toolbar-cart,
        :has(> a[href*="/cart/"])
    ) {
        order: 3 !important;
    }

    /* Мой аккаунт */

    html body .wd-toolbar > :is(
        .wd-header-my-account,
        .wd-toolbar-account,
        :has(> a[href*="/my-account/"])
    ) {
        order: 4 !important;
    }

    /* Четыре одинаковых секции */

    html body .wd-toolbar.wd-toolbar-label-show
    > .wd-tools-element {
        flex: 1 1 25% !important;
        min-width: 0 !important;
    }

    /* SVG-сердечко вместо квадрата */

    html body .wd-toolbar > :is(
        .wd-header-wishlist,
        .wd-toolbar-wishlist,
        :has(> a[href*="/wishlist/"])
    ) .wd-tools-icon::before {

        content: "" !important;
        display: block !important;

        width: 24px !important;
        height: 24px !important;

        background: #C6FF00 !important;

        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat !important;

        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat !important;

        opacity: 1 !important;
        visibility: visible !important;
        font-family: initial !important;
    }
}

