[x-cloak] {
    display: none !important;
}

.mobile-category-component {
    display: none;
}

@media (max-width: 991.98px) {
    .mobile-category-component {
        display: block;
    }

    .mobile-category-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1046;
        background: rgba(15, 19, 25, .66);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

    .mobile-category-drawer.mit-m-category {
        position: fixed;
        inset: 0 auto 0 0;
        left: 0;
        z-index: 1047;
        display: flex;
        flex-direction: column;
        width: min(342px, calc(100vw - 26px));
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        background: #f6f7f9;
        border-radius: 0 20px 20px 0;
        box-shadow: 20px 0 50px rgba(15, 19, 25, .24);
        transform: translateX(-105%);
        transition: transform .28s cubic-bezier(.22, 1, .36, 1);
        will-change: transform;
    }

    .mobile-category-drawer.mit-m-category.active {
        left: 0;
        transform: translateX(0);
    }

    .mobile-category-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 auto;
        min-height: 78px;
        padding: 15px 15px 14px 17px;
        background: #fff;
        border-bottom: 1px solid #e7eaed;
    }

    .mobile-category-heading {
        display: flex;
        align-items: center;
        gap: 11px;
        min-width: 0;
    }

    .mobile-category-heading-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 43px;
        width: 43px;
        height: 43px;
        color: #20242b;
        font-size: 15px;
        background: #ffad27;
        border-radius: 12px;
    }

    .mobile-category-heading > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
        line-height: 1.15;
    }

    .mobile-category-heading small {
        margin-bottom: 3px;
        color: #9299a3;
        font-size: 10px;
        font-weight: 750;
        letter-spacing: .09em;
        text-transform: uppercase;
    }

    .mobile-category-heading h2 {
        margin: 0;
        color: #20242b;
        font-size: 18px;
        font-weight: 750;
        line-height: 1.2;
    }

    .mobile-category-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 0;
        color: #39404a;
        font-size: 15px;
        background: #f1f3f5;
        border: 1px solid #e4e7ea;
        border-radius: 50%;
    }

    .mobile-category-close:hover,
    .mobile-category-close:focus-visible {
        color: #fff;
        background: #20242b;
        border-color: #20242b;
        outline: none;
    }

    .mobile-category-search {
        position: relative;
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        height: 48px;
        margin: 13px 13px 10px;
        background: #fff;
        border: 1px solid #e1e5e9;
        border-radius: 12px;
        box-shadow: 0 5px 14px rgba(25, 30, 37, .05);
    }

    .mobile-category-search > i {
        flex: 0 0 auto;
        margin-left: 14px;
        color: #a06812;
        font-size: 13px;
    }

    .mobile-category-search input {
        flex: 1 1 auto;
        min-width: 0;
        height: 46px;
        padding: 0 9px 0 10px;
        color: #303640;
        font-size: 16px;
        background: transparent;
        border: 0;
        outline: none;
    }

    .mobile-category-search input::placeholder {
        color: #9299a3;
        opacity: 1;
    }

    .mobile-category-search:focus-within {
        border-color: #f4a31f;
        box-shadow: 0 0 0 3px rgba(245, 166, 35, .12);
    }

    .mobile-category-search button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        margin-right: 7px;
        padding: 0;
        color: #69717c;
        font-size: 11px;
        background: #f0f2f4;
        border: 0;
        border-radius: 9px;
    }

    .mobile-category-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 0 12px calc(24px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-color: #c9ced4 transparent;
        scrollbar-width: thin;
    }

    .mobile-category-body::-webkit-scrollbar {
        width: 4px;
    }

    .mobile-category-body::-webkit-scrollbar-thumb {
        background: #c9ced4;
        border-radius: 10px;
    }

    .mobile-category-section-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 4px 5px 9px;
    }

    .mobile-category-section-heading span {
        color: #7c848e;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .mobile-category-section-heading small {
        color: #9a5b00;
        font-size: 10px;
        font-weight: 700;
    }

    .mobile-category-groups {
        display: flex;
        flex-direction: column;
        gap: 7px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-category-empty {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin: 22px 8px;
        padding: 22px 14px;
        color: #717984;
        text-align: center;
        background: #fff;
        border: 1px dashed #dfe3e7;
        border-radius: 13px;
    }

    .mobile-category-empty > i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin-bottom: 9px;
        color: #b56a00;
        background: #fff0d5;
        border-radius: 12px;
    }

    .mobile-category-empty strong {
        color: #343a43;
        font-size: 14px;
    }

    .mobile-category-empty span {
        margin-top: 4px;
        font-size: 11px;
    }

    .mobile-category-group {
        overflow: hidden;
        background: #fff;
        border: 1px solid #e5e8ec;
        border-radius: 13px;
        box-shadow: 0 4px 12px rgba(25, 30, 37, .035);
    }

    .mobile-category-parent-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 42px;
        align-items: stretch;
        min-height: 58px;
    }

    .mobile-category-parent-link {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-width: 0;
        padding: 8px 4px 8px 9px;
        color: #303640;
        text-decoration: none;
    }

    .mobile-category-parent-link:hover,
    .mobile-category-parent-link:focus-visible,
    .mobile-category-parent-link.is-active {
        color: #a66100;
        outline: none;
    }

    .mobile-category-parent-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        color: #bd7000;
        font-size: 12px;
        background: #fff0d6;
        border-radius: 10px;
    }

    .mobile-category-group:nth-child(3n + 2) .mobile-category-parent-icon {
        color: #27755a;
        background: #e8f6f0;
    }

    .mobile-category-group:nth-child(3n) .mobile-category-parent-icon {
        color: #4f63a4;
        background: #edf0fb;
    }

    .mobile-category-parent-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        line-height: 1.2;
    }

    .mobile-category-parent-copy strong {
        overflow: hidden;
        color: inherit;
        font-size: 14px;
        font-weight: 720;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-category-parent-copy small {
        margin-top: 4px;
        color: #9299a3;
        font-size: 10px;
        font-weight: 600;
    }

    .mobile-category-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        min-height: 100%;
        padding: 0;
        color: #8b939d;
        font-size: 11px;
        background: transparent;
        border: 0;
        border-left: 1px solid #eef0f2;
    }

    .mobile-category-toggle:hover,
    .mobile-category-toggle:focus-visible {
        color: #20242b;
        background: #fff3df;
        outline: none;
    }

    .mobile-category-toggle i {
        transition: transform .2s ease;
    }

    .mobile-category-toggle i.is-rotated {
        transform: rotate(180deg);
    }

    .mobile-category-children {
        padding: 7px 8px 9px 56px;
        background: #fafbfc;
        border-top: 1px solid #eceff2;
    }

    .mobile-category-children > ul,
    .mobile-category-grandchildren {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-category-child + .mobile-category-child {
        border-top: 1px dashed #e6e9ec;
    }

    .mobile-category-child-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-height: 37px;
    }

    .mobile-category-child-row > a {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        padding: 7px 4px;
        color: #565e68;
        font-size: 13px;
        font-weight: 580;
        line-height: 1.3;
        text-decoration: none;
    }

    .mobile-category-child-row > a i {
        flex: 0 0 auto;
        color: #d18410;
        font-size: 8px;
    }

    .mobile-category-child-row > a:hover,
    .mobile-category-child-row > a:focus-visible {
        color: #a66100;
        outline: none;
    }

    .mobile-category-child-row > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        color: #858d97;
        font-size: 9px;
        background: transparent;
        border: 0;
        border-radius: 8px;
    }

    .mobile-category-child-row > button:hover,
    .mobile-category-child-row > button:focus-visible {
        color: #20242b;
        background: #fff0d6;
        outline: none;
    }

    .mobile-category-child-row > button i {
        transition: transform .2s ease;
    }

    .mobile-category-child-row > button i.is-rotated {
        transform: rotate(45deg);
    }

    .mobile-category-grandchildren {
        padding: 2px 4px 7px 17px;
    }

    .mobile-category-grandchildren a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px 0;
        color: #737b85;
        font-size: 12px;
        line-height: 1.3;
        text-decoration: none;
    }

    .mobile-category-grandchildren a span {
        flex: 0 0 5px;
        width: 5px;
        height: 5px;
        background: #f1a023;
        border-radius: 50%;
    }

    .mobile-category-support {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr) 12px;
        align-items: center;
        gap: 10px;
        margin-top: 13px;
        padding: 11px;
        color: #fff;
        text-decoration: none;
        background: #20242b;
        border-radius: 13px;
    }

    .mobile-category-support > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        color: #20242b;
        background: #ffad27;
        border-radius: 10px;
    }

    .mobile-category-support > div {
        display: flex;
        min-width: 0;
        flex-direction: column;
        line-height: 1.2;
    }

    .mobile-category-support strong {
        font-size: 12px;
        font-weight: 720;
    }

    .mobile-category-support small {
        margin-top: 3px;
        color: #c5cad1;
        font-size: 10px;
    }

    .mobile-category-support > i {
        color: #c5cad1;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-category-drawer.mit-m-category,
    .mobile-category-toggle i,
    .mobile-category-child-row > button i {
        transition: none;
    }
}
