.category-megamenu.show {
    top: 100% !important;
    left: 50% !important;
    -webkit-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
    position: fixed !important;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
    background: var(--color-body);
    z-index: 10;
    padding: 24px;
    border-radius: 0 0 16px 16px;
    text-align: start;
    -webkit-box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
    margin: 0 !important;
    max-width: 1300px !important
}

@media screen and (min-width: 768px) {
    .category-megamenu.show {
        height: 585px;
        overflow: auto
    }

    /* Chrome, Edge and Safari */
        .category-megamenu.show::-webkit-scrollbar {
            height: 8px;
            width: 8px;
        }

        .category-megamenu.show::-webkit-scrollbar-track {
            border-radius: 4px;
            background-color: var(--color-hr);
        }

            .category-megamenu.show::-webkit-scrollbar-track:hover {
                background-color: var(--color-hr);
            }

            .category-megamenu.show::-webkit-scrollbar-track:active {
                background-color: var(--color-medium-gray-4);
            }

        .category-megamenu.show::-webkit-scrollbar-thumb {
            border-radius: 5px;
            background-color: var(--color-medium-gray-4);
        }

            .category-megamenu.show::-webkit-scrollbar-thumb:hover {
                background-color: var(--color-medium-gray-4);
            }

            .category-megamenu.show::-webkit-scrollbar-thumb:active {
                background-color: var(--color-medium-gray-4);
            }

}

.category-card {
    width: 20%;
    height: 260px;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .category-card {
        width: 50%
    }
}

.box-img-category {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    background: var( --color-bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s all;
    z-index: 3
}

.category-card:hover .box-img-category {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background: var( --color-bg-2);
    transition: .2s all
}

.box-img-category img {
    border-radius: 8px;
    width: 94px !important;
    transition: .2s all
}
@media screen and (max-width: 767px){
    .box-img-category img{
        width: 75px !important
    }
    .box-img-category {
        width: 150px;
        height: 150px;
    }
}

.category-card:hover .box-img-category img {
    width: 50px !important;
    transition: .2s all
}

.category-parent-title {
    margin-top: 5px;
    font-size: 16px;
    color: var(--color-header-text) !important
}
    .category-parent-title a{
        font-weight: 700 !important
    }

    .divider-category {
        width: 100%;
        background: var(--color-hr);
        height: 1px;
        width: 100%;
        margin: 10px 0
    }

.sub-category-box {
    display: flex;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: .2s all;
    height: 0
}

.category-card:hover .sub-category-box {
    visibility: visible;
    opacity: 1;
    transition: .2s all;
    height: fit-content
}

.sub-category-parent-title {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-dark-2-5)
}

.sub-category-box .sub-category-parent-title {
    margin-top: 10px;
    text-align: center !important
}
.sub-category-box .sub-category-parent-title:nth-child(2) {
    margin-top: 0 !important
}
        .sub-category-parent-title:hover {
            text-decoration: unset !important;
            color: var(--color-active) !important
        }

    .category-parent-title a, .divider-category a, .sub-category-parent-title a, .sub-category-parent-title {
        color: var(--color-dark-2-5) !important
    }

