/* ============================================================
   九南科技商城 · 全站全局样式（零售电商版）
   ------------------------------------------------------------
   版心统一为 1400px；垂直留白交给各页 .section，本容器仅作水平约束。
   旧云服务时代样式（banner 背景图 / 旧页脚 / input-search / 旧分页等）
   已随改版移除，残留旧橙 #FF6739 统一收敛到 --mh-primary 令牌。
   ============================================================ */
.section-content {
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* 全局区块节奏：外层 .section 提供垂直留白，页面级文件可按需覆盖 */
.section {
  padding: 56px 0;
}

.section-title .section-desc {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
}


.section-bg {
  color: #fff;
}


.section-bg .section-title .section-desc {
  color: rgba(255, 255, 255, 0.90);
}

.section-p {
  padding: 0 20px;
}

.common-empty {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.common-empty img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.common-empty .des {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.60);
}

.section-w {
  max-width: 100%;
}

.section-title {

  text-align: center;

}

.document .section-content {
  max-width: unset;
}

#header,
header {
  position: sticky;
  top: 0;
  background: var(--mh-bg-page);
  z-index: 888;
}

.nav-shadow {
  top: 0;
  box-shadow: none;
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;

}

.nav-header .nav-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav-header .nav-left .nav-icon img {
  width: 135px;
  height: 30px;
  margin-right: 50px;
}

.nav-menu {
  display: flex;
}

.nav-menu .nav-item {
  color: #333;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 20px;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-menu .nav-item:hover {
  border-bottom: 2px solid var(--mh-primary);
}


.nav-right {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.nav-right .control {
  margin: 0 20px;
  color: #333;
}

.breadcrumb {
  padding-left: 0;
  margin-bottom: 8px;
  background-color: transparent;
}


/* 菜单栏 */
.nav-cont {
  position: absolute;
  top: 72px;
  width: 100%;
  overflow: hidden;
  background: #F7F8FA;
  transition: all .5s;
  height: 0px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.16);
  z-index: 2;
}

.nav-cont .section-content {
  padding: 0;
}

.nav-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 60px 20px;
  position: relative;
  box-sizing: border-box;

}

.nav-content a {
  width: calc(25% - 15px);
}

.nav-cont .nav-cont-menu {
  display: none;

}

.nav-cont .nav-cont-empty {
  display: none !important;
}

.nav-item-box {
  min-width: 335px;
  height: 96px;
  padding: 24px 20px;
  border-radius: 3px;
  background: #fff;
  display: flex;
  cursor: pointer;
  box-shadow: 0px 0px 8px rgba(52, 52, 52, 0.08);
}

.nav-item-box:hover .title {
  color: var(--mh-primary);
}

.nav-item-box img {
  width: 48px;
  height: 48px;
}

.nav-item-box .item-box-title {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-left: 16px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.9);
}

.nav-item-box .item-box-title .desc {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4);
}

.nav-header .login-in {
  cursor: pointer;
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  z-index: 999;
  padding: 0 32px;
}

.nav-header .login-in::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 32px;
  transform: translateY(-50%);
  border-left: 1px solid #E6EAED;
}

.nav-header .login-in:hover .login-menu {
  display: block;
}

.nav-header .login-in .head-img {
  width: 32px;
  height: 32px;
  background: #eee;
  border: 1px solid #E6EAED;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-header .login-in .name {
  display: inline-block;
  max-width: 140px;
}



.nav-header .login-in .login-menu {
  display: none;
  padding: 8px;
  position: absolute;
  top: 72px;
  left: 0;
  width: 157px;
  height: 228px;
  background: #FEFFFF;
  border: 1px solid #DCDCDC;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  opacity: 1;
  border-radius: 3px;
}

.nav-header .login-in .login-menu .login-menu-item {
  cursor: pointer;
  height: 40px;
  padding: 10px 12px;
}

.nav-header .login-in .login-menu .login-menu-item:hover {
  background: var(--mh-accent-light);
  color: var(--mh-primary);
}

.nav-header .login-in .login-menu .login-menu-item .real-name {
  display: inline-block;
  text-align: center;
  border: 1px solid var(--mh-primary);
  color: var(--mh-primary);
  font-size: 12px;
  width: 44px;
  height: 18px;
  border-radius: 3px;
}

.nav-header .login-in .login-menu .login-menu-item .no-real-name {
  border: 1px solid #E34D59;
  color: rgba(227, 77, 89, 1);
}

.no-login,
.login-in {
  margin-left: 20px;
}


/* banner 容器（内容页 Hero 由 css/page.css 提供，此处仅保留占位容器兜底） */
.server-banner {
  background: var(--mh-bg-soft);
}

.server-banner2 {
  background: var(--mh-bg-soft);
}

.server-banner-desc {
  font-size: 16px;
  max-width: 700px;
  margin-top: 20px;
  margin-bottom: 90px;
}

.server-banner-desc2 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* 分页（announce/news-classify 由 JS 注入 ul.pagination，令牌化重样式） */
.jr-page .pagination {
  margin: 0;
  display: flex;
  align-items: center;
}

.jr-page .pagination>li {
  list-style: none;
}

.jr-page .pagination>li a {
  margin: 0 4px;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  padding: 0 10px;
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius-md);
  color: var(--mh-text-2);
  background: var(--mh-bg-card);
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all var(--mh-dur) var(--mh-ease);
}

.jr-page .pagination>li a:hover {
  color: var(--mh-primary);
  border-color: var(--mh-primary);
}

.jr-page .pagination .page-number.active {
  color: #fff;
  border-color: var(--mh-primary);
  background: var(--mh-primary);
}

.jr-page .pagination .page-number.active:hover {
  color: #fff;
}

.jr-page .pagination>li .page-ellipsis {
  border: none;
  background: transparent;
  min-width: auto;
}

.jr-page .pagination>li:first-child>a,
.jr-page .pagination>li:last-child>a {
  border: none;
  background: transparent;
  color: var(--mh-text-2);
}


/* 侧边 */
.aside-tools {
  position: fixed;
  top: 45%;
  right: 0;
  z-index: 3;
}

.aside-tools .tools-list {
  width: 40px;
  background: #FFFFFF;
  box-shadow: 0px 0px 10px rgba(19, 55, 83, 0.08);
  opacity: 1;
  border-radius: 3px 0 0 3px;
}

.aside-tools .tools-list .tools-item {
  position: relative;
}

.aside-tools .tools-list .tools-item img {
  margin: 10px;
  height: 24px;
  width: 24px;
  cursor: pointer;
}

.aside-tools .tools-list .tools-item::before {
  content: '';
  position: absolute;
  background: rgba(230, 234, 237, 1);
  bottom: 0;
  right: 10px;
  width: 16px;
  height: 1px;
}

.aside-tools .tools-list .tools-item:last-child:before {
  content: none;

}

.aside-tools .tools-list .tools-item:hover .tools-box {
  display: block;
}

.aside-tools .tools-list .tools-item .tools-box {
  display: none;
  position: absolute;
  left: -220px;
  top: 0;
  padding-right: 30px;
}

.aside-tools .tools-list .tools-item .tools-box-s {
  padding: 20px;
  width: 190px;
  background: #FFFFFF;
  box-shadow: 0px 0px 10px rgba(19, 55, 83, 0.08);
  opacity: 1;
  border-radius: 3px;
}

.aside-tools .tools-list .tools-item .tools-box h5 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.aside-tools .tools-list .tools-item .tools-box p {
  font-size: 13px;
}

.aside-tools .tools-list .tools-item .tools-box .button {
  font-size: 12px;
  display: inline-block;
  margin-top: 20px;
  padding: 4px 7px;
  border: 1px solid #E6EAED;
  opacity: 1;
  border-radius: 3px;
}

.aside-tools .tools-list .tools-item .tools-box .button:hover {
  border: 1px solid var(--mh-primary);
  color: var(--mh-primary);
}


.flex-none {
  flex-wrap: none !important;
}

#alert-container {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 300px;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#footerRecord .left-info a {
  margin-right: 10px;
}

@media screen and (max-width: 1440px) {
  .nav-content a {
    width: calc(33.33% - 14px);
  }
}