main {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 32px 0px 100px 0px;
}

.sub_category_box {
    max-width: 800px;
    width: 100%;
    height: 739px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid var(--colors-white-white-600, #e8e8e8);
    background: #fff;
    padding: 5px 0px 5px 10px;
    box-shadow: 0px 4px 20px -6px rgba(0, 0, 0, 0.25);
    direction: rtl;
}

.sub_category_e {
    width: 100%;
    height: calc(100% - 16px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    padding: 16px 50px 0px 50px;
    gap: 8px;
}

.sub_category_e::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    border-radius: 10px;
}

.sub_category_e::-webkit-scrollbar-thumb {
    background-color: #283891;
    border-radius: 10px;
}

.sub_category_title {
    display: flex;
    gap: 8px;
    margin: 24px 0px 32px 0px;
}

.sub_category_title>h4 {
    color: #000;
    text-align: right;
}

.sub_category_title>svg {
    margin-top: 3px;
}

.sub_cat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub_cat_box {
    display: flex;
    /* max-width: 700px; */
    width: 100%;
    min-height: 122px;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    border: 1px solid var(--colors-grey-grey-100, #d7d7d7);
}

.sub_cat_box>div:last-child {
    margin-left: 5px;
}

.sub_cat_info {
    display: flex;
    height: 82.785px;
    align-items: center;
    gap: 17.975px;
    margin-right: 12px;
}

.sub_cat_info>div {
    display: flex;
    flex-direction: column;
}

.sub_cat_info>div>p {
    color: var(--colors-black-black-400, #333);
    text-align: right;
}

.sub_cat_info>img {
    max-width: 80.025px;
    max-height: 82.785px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13.797px;
}

.number_ex {
    display: flex;
    align-items: center;
    gap: 4px;
}

.number_ex>p {
    color: var(--COLORS-ACCENT-accent-700, #949697);
    text-align: right;
}

@media (max-width : 700px) {
    .sub_cat {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sub_cat_box {
        display: flex;
        /* max-width: 700px; */
        width: 100%;
        min-height: 100px;
        justify-content: space-between;
        align-items: center;
        border-radius: 5px;
        border: 1px solid var(--colors-grey-grey-100, #d7d7d7);
    }

    .sub_cat_box>div:last-child {
        margin-left: 5px;
    }

    .sub_cat_info {
        display: flex;
        height: 82.785px;
        align-items: center;
        gap: 17.975px;
        margin-right: 12px;
    }

    .sub_cat_info>div {
        display: flex;
        flex-direction: column;
    }

    .sub_cat_info>div>p {
        font-size: 15px;
        color: var(--colors-black-black-400, #333);
        text-align: right;

    }

    .sub_cat_info>div>.number_ex {
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    .sub_cat_info>div>.number_ex p.BodyMD-r {
        font-size: 12px;
        text-align: right;
        margin: 0px;
        padding: 0px;
    }

    .sub_cat_info>img {
        max-width: 50px;
        max-height: 50px;
        object-fit: cover;
        border-radius: 10px;
    }

    .number_ex {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .number_ex>p {
        color: var(--COLORS-ACCENT-accent-700, #949697);
        text-align: right;
    }

    .arrow-image-icon{
        width: 25px;
    }
}
