#menu-category {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9998 !important;
    display: none !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    justify-content: unset !important;
    align-items: unset !important;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin: 0 !important;
}

#menu-category.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

#menu-category .content.category-content {
    max-width: 100% !important;
    margin: 0 auto !important;
}

#btn-menu-category {
    cursor: pointer !important;
}

.categoty-menu-list-item {
    cursor: pointer !important;
}

@media (min-width: 1001px) {
    #menu-category.active {
        position: fixed !important;
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
    }

    #menu-category .content.category-content {
        padding-top: 24px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 24px !important;
        max-height: calc(9 * 64px + 32px + 48px) !important;
        height: auto !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: row !important;
        position: relative !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }


    .categoty-menu-list-wrapper {
        max-height: calc(9 * 64px) !important;
        height: calc(9 * 64px) !important;
        overflow-y: auto !important;
        flex-shrink: 0;
    }

    .top-menu-categ-data-wrap {
        max-height: calc(9 * 64px) !important;
        height: calc(9 * 64px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex: 1;
    }

    .top-menu-categ-data-items-wrap {
        max-height: calc(9 * 64px) !important;
        height: 100% !important;
        overflow-y: auto !important;
    }

    #menu-category .content.category-content {
        position: relative !important;
    }

    .menu-category-close-btn {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        margin: 0 !important;
    }
}

@media (max-width: 1000px) {
    #menu-category {
        height: 100vh;
        top: 0;
    }

    #menu-category .content.category-content {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

body:has(#menu-category.active) > .main:not(#menu-category),
body:has(#menu-category.active) .main > *:not(#menu-category),
body:has(#menu-category.active) .header-menu-fixed:not(#menu-category),
body:has(#menu-category.active) .container:not(#menu-category),
body:has(#menu-category.active) .content:not(#menu-category) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

body:has(#menu-category.active)::before,
body:has(#menu-category.active)::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.categoty-menu-list-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.categoty-menu-list-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.categoty-menu-list-wrapper::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.categoty-menu-list-wrapper::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

.top-menu-categ-data-items-wrap {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.top-menu-categ-data-items-wrap::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.top-menu-categ-data-items-wrap::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.top-menu-categ-data-items-wrap::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

@media (min-width: 1001px) {
    .content.category-content {
        overflow: hidden;
    }
}

.content.category-content > * {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.content.category-content > *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.content.category-content > *::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.content.category-content > *::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

.sub-panel-group {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sub-panel-group::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.sub-panel-group::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.sub-panel-group::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

.top-menu-categ-data-wrap {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top-menu-categ-data-wrap::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.top-menu-categ-data-wrap::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.top-menu-categ-data-wrap::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

.menu-category-close-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    transition: opacity 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
}

.menu-category-close-btn:hover {
    opacity: 0.7 !important;
}

.menu-category-close-btn svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2 !important;
}

.accordion-body .fcs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
}

.accordion-body .top-menu-sub-third {
    display: block !important;
    width: 100% !important;
    max-width: 200px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-wrap: break-word !important;
    line-height: 1.4 !important;
}

@media (min-width: 1001px) {
    .accordion-body {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 8px 16px !important;
        width: 100% !important;
    }
    
    .accordion-body .fcs {
        width: 100% !important;
        max-width: 200px !important;
        min-width: 200px !important;
    }
    
    .accordion-body .top-menu-sub-third {
        max-width: 200px !important;
        width: 100% !important;
    }
}
