/* ============================================================
   header_footer.css - 公共样式 / 头部导航 / 底部样式
   前缀标识: zs
============================================================ */

/* ----- Reset & Base ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #111111;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----- 清除浮动 ----- */
.cl::after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* ----- 栅格系统 ----- */
.zs-wz {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.zs-md-2 { width: 50%; float: left; padding: 0 15px; }
.zs-md-3 { width: 33.333%; float: left; padding: 0 15px; }
.zs-md-4 { width: 25%; float: left; padding: 0 15px; }
.zs-ml-3 { width: 30%; float: left; padding: 0 15px; }
.zs-mr-7 { width: 70%; float: left; padding: 0 15px; }
.zs-ml-7 { width: 70%; float: left; padding: 0 15px; }
.zs-mr-3 { width: 30%; float: left; padding: 0 15px; }

/* ----- 公共按钮 ----- */
.zs-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  text-align: center;
}

.zs-btn-primary {
  background: #0066FF;
  color: #ffffff;
}

.zs-btn-primary:hover {
  background: #0052cc;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
  transform: translateY(-2px);
}

.zs-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.zs-btn-outline:hover {
  background: #ffffff;
  color: #0066FF;
}

/* ============================================================
   头部导航
============================================================ */
.zs-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.zs-header-transparent {
  background: rgba(0, 0, 0, 0.15);
}

.zs-header-solid {
  background: rgba(35, 25, 60, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.zs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Logo */
.zs-logo {
  flex-shrink: 0;
}

.zs-logo a {
  display: flex;
  align-items: center;
}

.zs-logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

.zs-logo-mobile {
  display: none;
}

/* 主导航 */
.zs-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  margin-left: 40px;
}

.zs-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.zs-nav ul li {
  position: relative;
}

.zs-nav ul li a {
  display: block;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
}

.zs-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zs-nav ul li a:hover::after,
.zs-nav ul li.zs-active a::after {
  width: 60%;
}

.zs-nav ul li.zs-active a {
  font-weight: 700;
}

/* 下拉菜单 */
.zs-nav ul li .zs-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.zs-nav ul li:hover .zs-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zs-dropdown li a {
  padding: 10px 24px;
  font-size: 14px;
  white-space: nowrap;
  color: #333333 !important;
}

.zs-dropdown li a::after {
  display: none;
}

.zs-dropdown li a:hover {
  color: #5B4A9E !important;
  background: #f8f6ff;
}

/* ============================================================
   Product Mega Menu 大型下拉菜单
============================================================ */
.zs-has-mega {
  position: static !important;
}

.zs-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.zs-has-mega:hover .zs-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zs-mega-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px 16px;
}

/* 每行分类 */
.zs-mega-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
}

.zs-mega-row:last-child {
  border-bottom: none;
}

/* 左侧分类名 */
.zs-mega-cat {
  flex-shrink: 0;
  width: 120px;
  padding-top: 6px;
  padding-right: 16px;
}

.zs-mega-cat a {
  font-size: 13px;
  font-weight: 600;
  color: #cc7a00 !important;
  line-height: 1.35;
  transition: color 0.3s ease;
  display: block;
  padding: 0 !important;
}

.zs-mega-cat a::after {
  display: none !important;
}

.zs-mega-cat a:hover {
  color: #e68a00 !important;
}

/* 右侧产品列表 */
.zs-mega-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  flex: 1;
}

.zs-mega-items li {
  list-style: none;
}

.zs-mega-items li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
  padding: 4px 4px 6px;
  border-radius: 6px;
  transition: none;
  text-align: center;
  color: #444444 !important;
  background: transparent !important;
}

.zs-mega-items li a::after {
  display: none !important;
}

.zs-mega-items li a:hover {
  background: transparent !important;
}

.zs-mega-items li a img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 4px;
  display: block;
}

.zs-mega-items li a span {
  font-size: 12px;
  color: #444444;
  line-height: 1.3;
  word-break: break-word;
  transition: color 0.2s ease;
}

.zs-mega-items li a:hover span {
  color: #5B4A9E;
}

/* 头部右侧工具栏 */
.zs-header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* 头部内嵌搜索框 */
.zs-header-search {
  position: relative;
}

.zs-header-search form {
  display: flex;
  align-items: center;
  position: relative;
}

.zs-header-search input {
  width: 180px;
  height: 32px;
  padding: 0 34px 0 14px;
  font-size: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.zs-header-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.zs-header-search input:focus {
  width: 220px;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.zs-header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 0;
  transition: color 0.3s ease;
}

.zs-header-search button:hover {
  color: #ffffff;
}

.zs-header-search button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 语言切换 */
.zs-lang {
  position: relative;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.zs-lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
}

.zs-lang-current svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.zs-lang:hover .zs-lang-current svg {
  transform: rotate(180deg);
}

.zs-lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 120px;
  background: rgba(35, 25, 60, 0.96);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.3s ease;
  padding: 6px 0;
  z-index: 10;
}

.zs-lang:hover .zs-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zs-lang-dropdown li a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: #ffffff;
  transition: background 0.2s ease;
}

.zs-lang-dropdown li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #00D4AA;
}

/* 移动端汉堡菜单 */
.zs-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  gap: 5px;
}

.zs-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.zs-hamburger.zs-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.zs-hamburger.zs-open span:nth-child(2) {
  opacity: 0;
}

.zs-hamburger.zs-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   右侧浮动工具栏（截图中右侧的圆形按钮组）
============================================================ */
.zs-side-tools {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zs-side-tool-item {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zs-side-tool-item:hover {
  transform: scale(1.06);
}

.zs-side-tool-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.zs-side-tool-item .zs-icon-default {
  display: block;
}

.zs-side-tool-item .zs-icon-hover {
  display: none;
}

.zs-side-tool-item:hover .zs-icon-default {
  display: none;
}

.zs-side-tool-item:hover .zs-icon-hover {
  display: block;
}

/* ============================================================
   分享弹窗
============================================================ */
.zs-share-trigger {
  position: relative;
}

.zs-share-popup {
  position: absolute;
  right: 70px;
  top: -20px;
  width: 380px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.zs-share-popup.zs-popup-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.zs-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.zs-share-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1e1440;
}

.zs-share-send {
  padding: 6px 22px;
  background: #5B4A9E;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.zs-share-send:hover {
  background: #4a3b8a;
}

.zs-share-body {
  padding: 18px 20px;
}

.zs-share-field {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
}

.zs-share-field:last-child {
  margin-bottom: 0;
}

.zs-share-field label {
  flex-shrink: 0;
  width: 120px;
  font-size: 13px;
  font-weight: 600;
  color: #1e1440;
  line-height: 36px;
}

.zs-share-field .zs-required {
  color: #e74c3c;
  margin-right: 2px;
}

.zs-share-field input,
.zs-share-field textarea {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  color: #333333;
  outline: none;
  transition: border-color 0.3s ease;
}

.zs-share-field input:focus,
.zs-share-field textarea:focus {
  border-color: #5B4A9E;
}

.zs-share-field input::placeholder,
.zs-share-field textarea::placeholder {
  color: #bbbbbb;
}

.zs-share-field textarea {
  resize: vertical;
  min-height: 70px;
}

/* ============================================================
   左下角客服图标
============================================================ */
.zs-chat-btn {
  position: fixed;
  left: 24px;
  bottom: 30px;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #5B4A9E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(91, 74, 158, 0.4);
  transition: all 0.3s ease;
}

.zs-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(91, 74, 158, 0.5);
}

.zs-chat-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* ============================================================
   页脚
============================================================ */
.zs-footer {
  background: #f5f5f5;
  color: #555555;
  border-top: 1px solid #eeeeee;
}

.zs-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 页脚Logo区 */
.zs-footer-top {
  padding: 24px 0 0;
}

/* 箭头图标 - PC端隐藏 */
.zs-footer-arrow {
  display: none;
}

.zs-footer-logo {
  padding-bottom: 16px;
  border-bottom: 1px solid #eeeeee;
}

.zs-footer-logo img {
  height: 30px;
  width: auto;
}

/* 页脚主体 */
.zs-footer-main {
  padding: 20px 0 24px;
}

.zs-footer-nav {
  display: flex;
  gap: 0;
}

/* 导航列按内容自适应宽度，不随列数变化而被挤压 */
.zs-footer-col {
  flex: 0 0 auto;
  max-width: 220px;
  padding-right: 40px;
}

/* 联系方式列占据剩余空间 */
.zs-footer-col.zs-footer-contact {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  padding-right: 0;
}

.zs-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1e1440;
  margin-bottom: 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.zs-footer-col h4 a {
  color: #1e1440;
  transition: color 0.3s ease;
}

.zs-footer-col h4 a:hover {
  color: #5B4A9E;
}

.zs-footer-col ul li {
  margin-bottom: 4px;
}

.zs-footer-col ul li a,
.zs-footer-col ul li {
  font-size: 14px;
  color: #666666;
  line-height: 2;
  transition: color 0.3s ease;
}

.zs-footer-col ul li a:hover {
  color: #5B4A9E;
}

/* Service Hotline 特殊样式 */
.zs-footer-contact h4 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
}

.zs-footer-hotline-sub {
  font-size: 11px;
  font-weight: 400;
  color: #888888;
}

/* 页脚底部版权 */
.zs-footer-bottom {
  padding: 14px 0;
}

.zs-footer-bottom p {
  font-size: 12px;
  color: #888888;
}

/* 页脚响应式 */
@media screen and (max-width: 768px) {
  .zs-footer-nav {
    flex-direction: column;
    gap: 0;
  }

  .zs-footer-col,
  .zs-footer-col.zs-footer-contact {
    width: 100%;
    max-width: none;
    padding-right: 0;
  }

  .zs-footer-contact h4 {
    flex-direction: column;
  }
}

/* ============================================================
   滚动动画公共类
============================================================ */
.zs-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.zs-fade-in.zs-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式 - 头部
============================================================ */
@media screen and (max-width: 1024px) {
  .zs-nav ul li a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .zs-header-inner {
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  /* 头部简化 - 固定悬浮但不叠banner */
  .zs-header {
    position: fixed;
    background: #f0eff4 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
  }

  .zs-header-transparent,
  .zs-header-solid {
    background: #f0eff4 !important;
  }

  /* body顶部留出头部高度 */
  body {
    padding-top: 50px;
  }

  .zs-header-inner {
    height: 50px;
    padding: 0 15px;
    justify-content: space-between;
    position: relative;
  }

  /* 汉堡菜单放左边 */
  .zs-hamburger {
    display: flex;
    order: -1;
  }

  .zs-hamburger span {
    background: #333333;
  }

  /* 工具栏拆分：汉堡在左，语言在右 */
  .zs-header-tools {
    position: static;
    display: contents;
  }

  /* 移动端logo居中+换彩色版 */
  .zs-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .zs-logo img {
    height: 26px;
  }

  .zs-logo-pc {
    display: none !important;
  }

  .zs-logo-mobile {
    display: block !important;
    filter: none !important;
  }

  /* 头部搜索框隐藏 */
  .zs-header-search {
    display: none;
  }

  /* 语言切换独立到右侧 */
  .zs-lang {
    color: #333333;
    order: 10;
  }

  .zs-lang-current {
    padding: 4px 6px;
  }

  .zs-lang-current svg {
    stroke: #333333;
  }

  /* 禁用PC端hover下拉 */
  .zs-lang:hover .zs-lang-dropdown {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .zs-lang-dropdown {
    display: none !important;
  }

  /* ---- 侧边栏导航 ---- */
  .zs-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    margin-left: 0;
    padding: 0;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .zs-nav.zs-nav-open {
    right: 0;
  }

  /* 侧边栏顶部关闭按钮 */
  .zs-nav-mobile-header {
    display: flex;
    justify-content: flex-end;
    padding: 12px 16px 0;
  }

  .zs-nav-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    border-radius: 50%;
    transition: background 0.2s ease;
  }

  .zs-nav-close:hover {
    background: #f0f0f0;
  }

  /* 侧边栏内搜索框 */
  .zs-nav-mobile-search {
    display: block;
    padding: 10px 20px 16px;
  }

  .zs-nav-mobile-search form {
    display: flex;
    align-items: center;
    position: relative;
  }

  .zs-nav-mobile-search input {
    width: 100%;
    height: 44px;
    padding: 0 50px 0 20px;
    font-size: 14px;
    color: #333333;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 22px;
    outline: none;
    font-family: inherit;
  }

  .zs-nav-mobile-search input::placeholder {
    color: #aaaaaa;
  }

  .zs-nav-mobile-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: #5B4A9E;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
  }

  .zs-nav-mobile-search button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* 侧边栏导航列表 - 只针对顶级导航项 */
  .zs-nav > ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0 0 20px;
    align-items: stretch;
  }

  .zs-nav > ul > li {
    border-bottom: 1px solid #eeeeee;
    margin: 0;
  }

  .zs-nav > ul > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e1440 !important;
    position: relative;
    text-align: left;
    letter-spacing: 0;
  }

  .zs-nav > ul > li > a::after {
    content: "›" !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    transform: none !important;
    font-size: 22px;
    color: #cccccc;
    font-weight: 300;
    left: auto !important;
    bottom: auto !important;
  }

  .zs-nav > ul > li.zs-active > a {
    color: #5B4A9E !important;
    font-weight: 700 !important;
  }

  /* 普通下拉菜单 - 移动端 */
  .zs-nav ul li .zs-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #fafafa;
    border-radius: 0;
    display: none;
    padding: 0;
    flex-direction: column;
  }

  .zs-nav ul li.zs-dropdown-open .zs-dropdown {
    display: flex !important;
  }

  .zs-dropdown li {
    border-bottom: none !important;
    margin: 0 !important;
  }

  .zs-dropdown li a {
    padding: 12px 20px 12px 40px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    justify-content: flex-start !important;
  }

  .zs-dropdown li a::after {
    display: none !important;
    content: none !important;
  }

  /* ---- 移动端Mega Menu ---- */
  .zs-has-mega {
    position: relative !important;
  }

  .zs-mega-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #fafafa;
    display: none;
  }

  .zs-has-mega.zs-dropdown-open .zs-mega-menu {
    display: block !important;
  }

  .zs-has-mega:hover .zs-mega-menu {
    display: none;
  }

  .zs-has-mega.zs-dropdown-open:hover .zs-mega-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }

  .zs-mega-inner {
    padding: 0;
  }

  /* 分类tab - 横向滚动 */
  .zs-mega-row {
    flex-direction: column;
    padding: 0;
    border-bottom: none;
    display: none !important;
  }

  .zs-mega-row.zs-mega-row-active {
    display: flex !important;
  }

  .zs-mega-cat {
    display: none;
  }

  /* 移动端分类tab导航 */
  .zs-mega-tabs {
    display: flex !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 10px 20px 14px !important;
    border-bottom: none;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .zs-mega-tabs::-webkit-scrollbar {
    display: none;
  }

  .zs-mega-tab-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    background: transparent;
    border: 1px solid #d0d0d0;
    border-radius: 22px;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    position: relative;
  }

  .zs-mega-tab-btn.zs-mega-tab-active {
    color: #ffffff;
    background: #3a2d6e;
    border-color: #3a2d6e;
    font-weight: 600;
  }

  .zs-mega-tab-btn.zs-mega-tab-active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: #5B4A9E;
    border-radius: 2px;
  }

  /* 移动端产品网格 - 2列 */
  .zs-mega-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 8px 12px 12px !important;
    flex-wrap: unset !important;
  }

  .zs-mega-items li {
    margin: 0 !important;
    border-bottom: none !important;
    list-style: none;
  }

  .zs-mega-items li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #333333 !important;
  }

  .zs-mega-items li a img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    object-fit: contain;
  }

  .zs-mega-items li a span {
    font-size: 13px !important;
    color: #333333 !important;
    font-weight: 500;
    display: block;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ---- 右侧工具栏隐藏 ---- */
  .zs-side-tools {
    display: none;
  }

  /* ---- 客服按钮调整 ---- */
  .zs-chat-btn {
    width: 40px;
    height: 40px;
    left: 12px;
    bottom: 75px;
  }

  .zs-chat-btn svg {
    width: 20px;
    height: 20px;
  }

  /* ---- 分享弹窗移动端 ---- */
  .zs-share-popup {
    width: 300px;
    right: 50px;
  }

  /* ---- 页脚移动端 ---- */
  .zs-footer {
    padding-bottom: 60px;
  }

  .zs-footer-inner {
    padding: 0 16px;
  }

  .zs-footer-nav {
    flex-direction: column;
    gap: 0;
  }

  .zs-footer-col,
  .zs-footer-col.zs-footer-contact {
    width: 100%;
    max-width: none;
    padding-right: 0;
  }

  /* 手风琴折叠列 */
  .zs-footer-accordion {
    border-bottom: 1px solid #eeeeee;
  }

  .zs-footer-accordion h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 14px 0;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e1440;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .zs-footer-accordion h4 a {
    pointer-events: none;
    flex: 1;
  }

  /* 箭头图标 */
  .zs-footer-arrow {
    display: block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke: #999999;
    transition: transform 0.3s ease;
  }

  .zs-footer-accordion.zs-footer-open .zs-footer-arrow {
    transform: rotate(180deg);
  }

  /* 子菜单默认收起 */
  .zs-footer-accordion ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .zs-footer-accordion.zs-footer-open ul {
    max-height: 300px;
  }

  .zs-footer-col h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .zs-footer-col ul li a,
  .zs-footer-col ul li {
    font-size: 13px;
    line-height: 1.8;
  }

  /* Service Hotline 不折叠，正常显示 */
  .zs-footer-contact {
    padding-top: 16px;
  }

  .zs-footer-contact h4 {
    flex-direction: column;
    cursor: default;
  }

  .zs-footer-hotline-sub {
    font-size: 10px;
  }
}

/* ============================================================
   移动端底部导航栏
============================================================ */
.zs-mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  z-index: 1500;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}

.zs-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: #999999;
  font-size: 10px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
  gap: 2px;
}

.zs-tabbar-item svg {
  width: 22px;
  height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zs-tabbar-item span {
  font-size: 10px;
  line-height: 1;
}

.zs-tabbar-item.zs-tabbar-active {
  color: #5B4A9E;
}

.zs-tabbar-badge {
  position: absolute;
  top: 4px;
  right: 50%;
  margin-right: -18px;
  min-width: 16px;
  height: 16px;
  background: #e74c3c;
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* 移动端遮罩 - 不使用 */
.zs-mobile-overlay {
  display: none;
}

/* 移动端语言弹窗 - 默认隐藏 */
.zs-lang-sheet-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
}

.zs-lang-sheet {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  z-index: 3001;
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.zs-lang-sheet-overlay.zs-sheet-show {
  display: block;
}

.zs-lang-sheet.zs-sheet-show {
  display: block;
  transform: translateY(0);
}

.zs-lang-sheet-item {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.zs-lang-sheet-name {
  font-size: 17px;
  font-weight: 600;
  color: #1e1440;
  margin-bottom: 4px;
}

.zs-lang-sheet-desc {
  font-size: 13px;
  color: #999999;
}

.zs-lang-sheet-active .zs-lang-sheet-name {
  color: #5B4A9E;
}

.zs-lang-sheet-active .zs-lang-sheet-desc {
  color: #5B4A9E;
}

.zs-lang-sheet-check {
  font-size: 16px;
  color: #5B4A9E;
  margin-bottom: 2px;
}

.zs-lang-sheet-cancel {
  padding: 18px 24px;
  text-align: center;
  font-size: 16px;
  color: #666666;
  cursor: pointer;
  border-top: 6px solid #f5f5f5;
}

/* 侧边栏顶部和搜索 - PC端隐藏 */
.zs-nav-mobile-header,
.zs-nav-mobile-search {
  display: none;
}

/* mega tabs只在移动端由JS创建，PC端默认隐藏 */
.zs-mega-tabs {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .zs-mobile-tabbar {
    display: flex;
  }

  body.zs-nav-opened {
    overflow: hidden;
  }

  /* 强制覆盖PC端隐藏 */
  .zs-nav-mobile-header {
    display: flex !important;
  }

  .zs-nav-mobile-search {
    display: block !important;
  }

  .zs-mega-tabs {
    display: flex !important;
  }
}

/* ============================================================
   头部白底版（仅 PC 端 ≥769px，移动端头部样式保持不变）
   背景：白色 / 文字：黑色 / Logo：保持原色（取消反白滤镜）
   说明：滚动时 JS 会在 zs-header-transparent 与 zs-header-solid 之间切换，
         这里两个状态都覆盖，保证滚动前后都是白底。
============================================================ */
@media screen and (min-width: 769px) {
  .zs-header.zs-header-transparent,
  .zs-header.zs-header-solid {
    background: #ffffff;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  }

  /* Logo 恢复原色 */
  .zs-logo img {
    filter: none;
  }

  /* 主导航文字与下划线改黑色（下拉菜单内的链接仍用其自身的 !important 深色样式） */
  .zs-nav ul li a {
    color: #000000;
  }

  .zs-nav ul li a::after {
    background: #000000;
  }

  /* 头部搜索框：白底上使用深色文字和浅灰边框 */
  .zs-header-search input {
    color: #000000;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.2);
  }

  .zs-header-search input::placeholder {
    color: rgba(0, 0, 0, 0.45);
  }

  .zs-header-search input:focus {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.45);
  }

  .zs-header-search button {
    color: rgba(0, 0, 0, 0.6);
  }

  .zs-header-search button:hover {
    color: #000000;
  }

  /* 语言切换文字与箭头改黑色 */
  .zs-lang {
    color: #000000;
  }
}
