@media (max-width: 768px) {
  .nav-warp {
    /* display: block !important; */
    background: #fff !important;
    position: absolute;
    top: 78px;
    top: 48px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  .nav-warp.active {
    max-height: 280px !important;
    overflow: visible;
    background: #fff !important;
  }
  .nav-warp-first {
    display: block !important;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border-radius: 0;
  }
  .nav-warp-first li {
    display: flex;
    align-items: center;
    height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid #f2f2f2;
    background: #fff !important;
    color: #666;
    font-size: 17px;
    transition: background 0.2s;
    position: relative;
  }
  .nav-warp-first li:last-child {
    /* border-bottom: none; */
  }
  .nav-warp-first li a {
    color: #666 !important;
    flex: 1;
    text-decoration: none;
    font-size: 18px!important;
    padding: 0;
    /* height: 54px; */
    line-height: 45px;
    display: block;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
    background: #fff !important;
  }
  .nav-warp-first li:active, .nav-warp-first li:hover, .nav-warp-first li.active {
    background: #f5f5f5;
  }
  .nav-warp-first li a:active, .nav-warp-first li a:hover {
    color: #E0B58A;
    background: #f5f5f5;
  }
  .nav-warp-first li i {
    color: #bbb;
    font-size: 18px;
    margin-left: 8px;
    transition: color 0.2s;
  }
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 1100;
    cursor: pointer;
  }
  .mobile-nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px 0;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .header {
    position: fixed;
    width: 100%;
    background: #343434;
    z-index: 1200;
    top: 0;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
  }
  .header-inside {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 10px !important;
  }
  .logo img {
    height: 32px !important;
    width: auto !important;
    max-height: 32px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
  .nav-sub-menu {
    position: static;
    background: #181818;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    margin: 0;
    padding: 0 0 0 24px;
    width: 100%;
    z-index: 1201;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    display: block;
  }
  .nav-sub-menu.active {
    max-height: 400px;
    opacity: 1;
    overflow: visible;
    animation: fadeInSubMenu 0.3s;
  }
  @keyframes fadeInSubMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-sub-menu li {
    border-bottom: 1px solid #666;
    padding: 0 0 0 8px;
    height: 48px;
    display: flex;
    align-items: center;
    transition: background 0.2s;
  }
  .nav-sub-menu li:last-child {
    border-bottom: none;
  }
  .nav-sub-menu li a {
    color: #fff;
    font-size: 16px;
    width: 100%;
    text-decoration: none;
    display: block;
    padding: 0 12px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
  }
  .nav-sub-menu li a:hover, .nav-sub-menu li a:active {
    background: #232323;
    color: #E0B58A;
  }
  .nav-warp-first li.active > .nav-sub-menu {
    display: block;
  }
  .nav-sub-menu {
    display: block;
  }
  .nav-warp-first li.active > .nav-sub-menu {
    display: block;
  }
  .menu.flex-center {
    display: none !important;
  }
  #toolbar {
    display: none !important;
  }
}

/* 全屏二级菜单弹层样式 */
.mobile-submenu-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: auto;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  animation: submenuFadeIn 0.25s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
@keyframes submenuFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-submenu-header {
  height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.mobile-submenu-back {
  font-size: 16px;
  color: #666;
  padding: 0 18px 0 12px;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  font-family: 'SanJiJinSongJianTi-Zhong';
}
.mobile-submenu-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  color: #666;
  font-weight: 500;
  letter-spacing: 1px;
  font-family: 'SanJiJinSongJianTi-Zhong';
}
.mobile-submenu-list {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  background: #fff;
}
.mobile-submenu-item {
  list-style: none;
  border-bottom: 1px solid #f2f2f2;
  background: #fff;
  transition: background 0.2s;
}
.mobile-submenu-item:last-child {
  border-bottom: none;
}
.mobile-submenu-item a {
  display: block;
  width: 100%;
  padding: 0 20px;
  height: 54px;
  line-height: 54px;
  color: #666;
  font-size: 17px;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
  font-family: 'SanJiJinSongJianTi-Zhong';
}
.mobile-submenu-item a:active, .mobile-submenu-item a:hover {
  background: #f5f5f5;
  color: #E0B58A;
} 