/*导航栏*/

.OM_Menu .sp-menu-full.container{
position: fixed !important;
    top: var(--header-height, 72px) !important; /* 根据实际header高度调整 */
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - var(--header-height, 72px)) !important;
    margin: 0 !important;
    transform: none !important;
    overflow-y: auto;
    background: white;
    z-index: 9999;
    max-width: none !important; /* 覆盖容器限制 */
    padding: 0px;
    /* 突破容器约束 */
    box-shadow: none !important;
    border-radius: 0 !important;
  
}

.OM_Menu .sp-menu-full .sp-module-content{
    border-bottom: 1px solid #dadada;
    padding-bottom: 20px;
    margin-bottom: 30px; 
}

#sp-header .sp-megamenu-parent .OM_Menu .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge){
  font-size: 13px !important;
}

#ifpimg .sppb-addon-content img{
  border-radius:10px !important;
}

#sp-header .sp-megamenu-parent .OM_Menu.sp-menu-item .sp-dropdown .sp-menu-item{
  width: 120px !important;
}

#sp-header .sp-megamenu-parent .OM_Menu .sp-mega-group .sp-mega-group-child img{
  width: 100px !important;
}

.OM_Menu .sp-mega-group .sp-mega-group-child{flex-wrap: wrap;}
.OM_Menu .sp-mega-group .sp-mega-group-child .image-title{   display: block !important; text-align: center;}


.OM_Menu .sp-menu-full.container .sp-dropdown-inner{
  padding: 30px 5% 30px 5% !important;
}
.sp-megamenu-parent {
    position: static !important; /* 解除定位限制 */
}


/* 让二级菜单在悬停一级菜单时显示 */
.nav-one-li:hover .nav-two {
    display: block !important;
}

/* 让三级菜单在悬停二级菜单项时显示 */
.nav-two-a:hover + .nav-three {
    display: block !important;
}

/* 让 nav-three 里的图片和文字整齐排列 */
.nav-three {
    position: absolute;
    left: 100%;
    top: 0;
    width: 300px; /* 调整适合你的宽度 */
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    display: none; /* 默认隐藏 */
}

/* 让 nav-three 图片的显示更美观 */
.nav-three-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
