.elementor-1412 .elementor-element.elementor-element-d9beb22{--display:flex;}/* Start custom CSS for dbd_store_cat, class: .elementor-element-f930951 */.htmega-menu-container ul li{
    position: static !important;
}
.htmegamenu-content-wrapper{
    width: 1400px !important;
    max-width: calc(100vw - 50px);
}
.htmegamenu-content-wrapper .e-con-inner{
    max-width: unset;
}
.htmegamenu-content-wrapper.sub-menu{
    background: transparent !important;
    box-shadow: none !important;
    margin-right: 0;
}
.dbd-mega-menu-wrapper{
    display: none !important;
}
.htmega-menu-container .htmega-menu-area ul li:hover .dbd-mega-menu-wrapper{
    display: flex !important;
}
.dbd-mega-menu-wrapper .sub-menu li a{
    border: none !important;
}
.dbd-mega-menu-wrapper { display: flex; direction: rtl; background: #fff; min-height: 400px; border: 1px solid #ddd;box-shadow:0 0 7px #00000022; border-radius: 10px; overflow: hidden; }
.dbd-mega-menu-wrapper ul{
    visibility: visible !important;
    opacity: 1 !important;
}
.dbdcatmega .dbd-sidebar-item img{
    max-height: 35px;
    max-width: 50px;
    margin-left: 13px;
}
.dbdcatmega .mega-box{
    background-position: left bottom;
    background-size: auto 220px;
    background-repeat: no-repeat;
    width: 250px;
    height: auto;
    min-height: 220px;
    box-shadow: 0 0 3px #00000022;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
}
.dbd-mega-menu-wrapper { 
    display: flex; direction: rtl; background: #fff; min-height: 400px;
    position: relative; align-items: stretch; /* برای هم‌ارتفاع شدن */
}

/* اصلاح نوار جانبی */
.dbd-sidebar { width: 250px; flex-shrink: 0; border-left: 1px solid #eee; }
.dbd-sidebar-item { 
    display: flex; align-items: center; padding: 15px 20px; 
    cursor: pointer; transition: 0.3s; background: #fff; border-right: 4px solid transparent;
}
.dbd-sidebar-item:hover, .dbd-sidebar-item.active { 
    background: #fdfdfd; color: #1e3a5f; border-right: 4px solid #1e3a5f;
}

/* اصلاح پنل محتوا - جلوگیری از رفتن به زیر نوار */
.dbd-content-area { 
    flex-grow: 1; padding: 25px; display: flex; 
    background: #f5f5f5;
    height: calc(100vh - 210px);
    overflow-y: auto; /* اگر محتوا زیاد بود اسکرول بخورد */
}
.dbd-content-panel { 
    width: 100%; flex-wrap: wrap; gap: 20px; align-content: flex-start; 
}

/* استایل باکس‌ها */
.mega-box { width: 200px; height: 250px; background-size: cover; border-radius: 10px; position: relative; }
.mega-box-overlay { background: rgba(255,255,255,0.9); height: 100%; padding: 15px; }/* End custom CSS */