.ga-cat-menu-wrap {
    position: relative;
    display: inline-block;
    direction: rtl;
    font-family: inherit;
    z-index: 9999;
}

.ga-cat-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    /*color: #333;*/
    color: #222;
    /*font-size: 14px;*/
    font-size: 13px;
    /*font-weight: 600;*/
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
}

.ga-cat-trigger-icon {
    font-size: 18px;
}

.ga-mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    /*width: 920px;*/
    width: 1200px;
    min-height: 430px;
    /*min-height: 330px;*/
    background: #fff;
    display: flex;
    border-radius: 0 0 16px 16px;
    /*box-shadow: 0 12px 35px rgba(0,0,0,0.12);*/
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.2s ease;
    overflow: hidden;
    /*border-top: 2px solid #e0a5b9;*/
}

.ga-cat-menu-wrap:hover .ga-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.ga-mega-right {
    width: 230px;
    background: #f7f7f8;
    padding: 10px 0;
    border-left: 1px solid #eee;
}

.ga-parent-cat {
    height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.ga-parent-cat:hover,
.ga-parent-cat.active {
    background: #fff;
    color: #d65b83;
    /*color: #fd3f7e;*/
    font-weight: 600;
}

.ga-parent-icon {
    width: 22px;
    display: inline-flex;
    justify-content: center;
    font-size: 17px;
    color: #d65b83;
    /*color: #fd3f7e;*/
}

.ga-mega-left {
    flex: 1;
    position: relative;
    padding: 22px 26px;
    background: #fff;
}

.ga-sub-panel {
    display: none;
}

.ga-sub-panel.active {
    display: block;
}

.ga-main-cat-title {
    display: inline-block;
    margin-bottom: 22px;
    color: #d65b83;
    /*color: #fd3f7e;*/
    font-size: 15px;
    /*font-weight: 700;*/
    font-weight: 600;
    text-decoration: none;
}

/*.ga-sub-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, 1fr);*/
/*    gap: 26px 32px;*/
/*}*/
/*شروع کد برای پشتر سر هم قرار گرفتن موارد بدون زیرمنو*/
.ga-sub-grid{
    /*columns:4 250px;*/
    /*column-gap:30px;*/
     column-count: 4 !important;
    column-gap: 24px;
}

.ga-sub-column{
    display:inline-block;
    width:100%;
    break-inside:avoid;
    margin-bottom:18px;
}
/*پایان کد برای پشتر سر هم قرار گرفتن موارد بدون زیرمنو*/

.ga-sub-column {
    position: relative;
    padding-right: 14px;
}

.ga-sub-column::before {
    content: "";
    position: absolute;
    right: 0;
    top: 3px;
    width: 2px;
    height: 18px;
    background: #d65b83;
    /*background: #fd3f7e;*/
    border-radius: 4px;
}

.ga-sub-title {
    display: block;
    margin-bottom: 10px;
    color: #222;
    font-size: 14px;
    /*font-weight: 700;*/
    font-weight: 600;
    text-decoration: none;
}

.ga-sub-title:hover {
    color: #d65b83;
}

.ga-sub-link {
    display: block;
    margin: 8px 0;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
}

.ga-sub-link:hover {
    color: #d65b83;
    /*color: #fd3f7e;*/
}

.ga-empty-sub {
    color: #777;
    font-size: 14px;
}

@media (max-width: 992px) {
    .ga-cat-menu-wrap {
        width: 100%;
    }

    .ga-cat-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .ga-mega-menu {
        position: static;
        width: 100%;
        flex-direction: column;
        min-height: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
    }

    .ga-cat-menu-wrap:hover .ga-mega-menu {
        display: flex;
    }

    .ga-mega-right {
        width: 100%;
        border-left: none;
    }

    .ga-sub-grid {
        grid-template-columns: 1fr;
    }
}

/*خودم اضافه کردم برای برداشتن فاصله داخلی بالا*/
.ga-mega-right {
  padding-top: 0px;
}




/*کد اضافه شده برای اسکرول*/
.ga-mega-menu {
    /*max-height: calc(100vh - 120px);*/
    overflow: hidden;
}
.ga-mega-right {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}

.ga-mega-left {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}
.ga-mega-right::-webkit-scrollbar,
.ga-mega-left::-webkit-scrollbar {
    width: 6px;
}

.ga-mega-right::-webkit-scrollbar-track,
.ga-mega-left::-webkit-scrollbar-track {
    background: transparent;
}

.ga-mega-right::-webkit-scrollbar-thumb,
.ga-mega-left::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.ga-mega-right::-webkit-scrollbar-thumb:hover,
.ga-mega-left::-webkit-scrollbar-thumb:hover {
    background: #cfcfcf;
}
.ga-mega-menu,
.ga-mega-right,
.ga-mega-left {
    max-height: calc(100vh - 140px);
    
}
.ga-mega-menu {
    overflow: hidden;
}

.ga-mega-right,
.ga-mega-left {
    overflow-y: auto;
    overflow-x: hidden;
}

/*کد اضافه شده برای اسکرول نخوردن بیرون باکس*/
.ga-mega-right,
.ga-mega-left{
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}






/*کد اضافه شده برای کم کردن ارتفاع باکس*/
.ga-mega-menu {
    min-height: auto !important;
    height: auto !important;
    max-height: calc(100vh - 180px) !important;
    overflow: hidden !important;
}

.ga-mega-right,
.ga-mega-left {
    min-height: auto !important !important;
    height: auto !important;
    /*max-height: calc(100vh - 180px) !important;*/
    max-height: calc(100vh - 220px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/*کد 
اضافه شده برای تبدیل آیکون دسته اصلی به تصویر*/
.ga-parent-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}










/*کد اضافه شده برای اعمال فیلتر روی آیکون برای تغییر رنگ در حالت فعال و غیر فعال*/
/*.ga-parent-icon img {*/
/*    width: 22px;*/
/*    height: 22px;*/
/*    object-fit: contain;*/
/*    display: block;*/
/*    filter: brightness(0) saturate(100%);*/
/*    transition: .2s;*/
/*}*/
.ga-parent-icon img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(92%) contrast(88%);
}

.ga-parent-cat.active .ga-parent-icon img,
.ga-parent-cat:hover .ga-parent-icon img {
    filter: none;
}


.ga-cat-trigger:hover span {
  /*color: #fccfd7;*/
  color: #d65b83;
  /*color: #d98ca5;*/
}



/* شروع کد استایل برای باکس سایه جدید برای باکس منو که خودم از دیجی کالا برداشتم به جای کد سایه قبلی که کامنت شده*/
    .ga-mega-menu, .shadow-\[0_-1px_0_0_rgba\(0\,0\,0\,0\.04\)\] {
  box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
  \}: ;
}
.ga-mega-menu {
  --tw-shadow: 0 1px 1px rgba(0,0,0,0.14),0 4px 8px rgba(0,0,0,0.3);
  --tw-shadow-colored: 0 1px 1px var(--tw-shadow-color),0 4px 8px var(--tw-shadow-color);
}
    
        /*پایان کد استایل برای باکس سایه جدید برای باکس منو که خودم از دیجی کالا برداشتم به جای کد سایه قبلی که کامنت شده*/