/* ========== 顶部导航栏：Logo左+导航居中+语言模块右（核心修改） ========== */
/* ========== 恢复语言模块可见性（放弃复杂定位） ========== */
/* 导航栏外层容器：基础布局，不做复杂定位 */
.top {
  width: 100% !important;
  padding: 10px 30px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Logo：固定在左上角（满足你的要求） */
.logo {
  float: left !important; /* 靠左浮动 */
  margin: 0 !important;
  padding: 0 !important;
}
.logo img {
  height: 54px !important;
  width: auto !important;
}

/* 导航菜单：紧跟Logo右侧，位置适中 */
#index_nav {
  float: left !important;
  margin-left: 350px !important; /* Logo与导航间距 */
  margin-top: 15px !important; /* 垂直对齐微调 */
}

/* 导航菜单项：基础横向排列 */
.ddsmoothmenu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ddsmoothmenu li {
  display: inline-block !important;
  margin: 0 15px !important;
}

/* 语言模块：恢复默认显示（哪怕掉下方，优先可见） */
.x1 {
  display: block !important; /* 强制显示，核心！ */
  float: right !important; /* 靠右浮动 */
  margin-top: 15px !important;
  clear: none !important; /* 取消清除浮动，避免强制换行 */
  /* 以下确保内部元素可见 */
  color: #333 !important;
  font-size: 14px !important;
  z-index: 999 !important;
}

/* 语言模块内部元素：基础样式，确保显示 */
.language-switcher {
  display: block !important;
  height: auto !important;
  width: auto !important;
}
.language-switcher img {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 5px !important;
}



/* ========== 英雄区：缩小图片，露出产品（核心修改） ========== */
/* 英雄区外层容器：保持左右留空，限制最大高度 */
.carousel-container {
  position: relative;
  width: 80% !important; /* 保持原有宽度比例 */
  margin: 0 auto !important;
  max-height: 70vh !important; /* 核心：限制英雄区最大高度为屏幕70%，缩小效果 */
  overflow: hidden !important;
}

/* 轮播容器：适配外层高度限制 */
.swiper.mySwiper {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  height: 100% !important;
}

/* 轮播图片：按容器高度缩放，保持比例 */
.swiper.mySwiper .swiper-slide img {
  width: 100% !important;
  height: 100% !important; /* 适应容器高度 */
  object-fit: cover !important; /* 保持比例，裁剪多余部分（避免拉伸） */
  display: block !important;
  margin: 0 auto !important;
}

/* 轮播容器高度自适应 */
.swiper.mySwiper .swiper-wrapper {
  height: 100% !important;
}

/* 箭头位置调整：适配缩小后的英雄区 */
.custom-prev, .custom-next {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* ========== 产品区：上移露出，不被英雄区遮挡 ========== */
.index-products {
  margin-top: 20px !important; /* 从轮播图下方正常显示，取消上移效果 */
  position: relative !important;
  z-index: 10 !important;
  padding: 30px 0 !important;
}

/* ========== 保留原有其他样式（产品、新品预告等） ========== */
/* 产品列表容器 */
.index-products .box {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important; /* 左右两端对齐，中间自动分配空间 */
  gap: 25px !important; /* 产品之间的固定间隙 */
  padding: 20px 15px !important; /* 左右留少量内边距，避免贴边 */
  max-width: 100% !important; /* 充满页面宽度 */
  width: 100% !important;
  margin: 0 !important; /* 去除自动外边距 */
  box-sizing: border-box !important; /* 确保宽度计算包含内边距 */
}

/* 单个产品项 */
.index-products .box li {
  width: 33.333% !important; /* 三个产品平均分配宽度 */
  min-width: 0 !important; /* 取消最小宽度限制 */
  max-width: none !important;
  border: none !important; /* 强制去除边框 */
  padding: 0 !important;
  margin: 0 !important;
  background: none !important; /* 去除背景色 */
  box-shadow: none !important; /* 去除阴影（如果有的话） */
}

/* 产品图片 */
.product-img-link {
  display: block !important;
  border: none !important;
}
.product-img-link img {
  width: 100% !important; /* 图片宽度充满产品项 */
  height: auto !important; /* 保持原始比例 */
  max-height: 450px !important; /* 大幅提高最大高度，显著放大图片 */
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important; /* 确保图片完整显示不裁剪 */
  padding: 0 !important;
  border: none !important; /* 确保图片本身没有边框 */
}
.product-img-link:hover, .product-img-link:active {
  background: none !important;
  border: none !important;
}

/* 产品标题链接 */
.product-title-link {
  display: block !important;
  text-decoration: none !important;
  margin-top: 30px !important;
}
.product-title-link:hover, .product-title-link:active {
  background: none !important;
  color: #333 !important;
}

/* 产品标题 */
.product-title {
  font-size: 28px !important;
  text-align: center !important;
  margin: 0 !important;
  color: #333 !important;
  font-weight: bold !important; /* 修复原拼写错误（blod→bold） */
}

/* 新品预告横幅 */
.swiper.newProductsSwiper {
  width: 100% !important;
  max-width: none !important;
  margin: 20px 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.swiper.newProductsSwiper .swiper-wrapper {
  height: auto !important;
}
.swiper.newProductsSwiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0 !important;
  margin-right: 0 !important;
}
.swiper.newProductsSwiper .swiper-slide img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.swiper.newProductsSwiper .swiper-button-next,
.swiper.newProductsSwiper .swiper-button-prev {
  display: none !important;
}

/* 固定140%放大效果（改用zoom，同时改变布局+视觉尺寸） */
body {
  zoom: 1; /* Chrome/Edge等支持：整体缩放140%（布局+视觉） */
  margin: 0;
  padding: 0;
  overflow: auto;
}




/* 原始轮播箭头样式（保留） */
.b-img li{ display:block; height:580px; float:left;}
.b-img li a{ display:block; height:580px}
.b-list{ height:50px; padding-top:540px; position:relative; margin:0 auto;z-index:1;}
.b-list span{ display:block;cursor:pointer; width:14px; height:14px; border-radius:50%; background-color:#fff; float:left; margin:0 5px; _margin:0 3px;}
.b-list .spcss{background-color:#fe8610}
.bar-left{ position:absolute; z-index:1; display:block; width:100px; height:100%; left:0px; background:none; top:0px; }
.bar-right{ position:absolute;z-index:1; display:block; width:100px; height:100%; right:0px; background:none; top:0px; }
.bar-left em{ display:block; width:50px; height:100px; background:url(../images/arrow.png) 0px 0px no-repeat; margin:0 auto; margin-top:220px;}
.bar-right em{ display:block; width:50px; height:100px;background:url(../images/arrow.png) -50px 0px no-repeat; margin:0 auto; margin-top:220px; }
.bar-left .emcss{ background-position:0px -100px;}
.bar-right .emcss{ background-position:-50px -100px;}


/* ========== 全屏产品模块（从左到右占满） ========== */
.index-products-fullwidth {
  position: relative !important;
  z-index: 20 !important;
  margin: 20px 0 !important; /* 与轮播图和新品横幅的间距 */
  padding: 0 !important;
  width: 100vw !important; /* 占满屏幕宽度 */
  margin-left: calc(-50vw + 50%) !important; /* 抵消body居中，贴到最左 */
}

/* 产品列表容器 */
.index-products-fullwidth .box {
  display: flex !important;
  flex-wrap: nowrap !important; /* 三个一排不换行 */
  justify-content: space-between !important; /* 左右两端对齐 */
  gap: 25px !important; /* 产品间间隙（可调整） */
  padding: 0 30px !important; /* 左右留30px边距，避免贴屏幕边缘（可删） */
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* 单个产品（平均分配宽度） */
.index-products-fullwidth .box li {
  width: 33.333% !important;
  border: none !important; /* 去除边框 */
  box-shadow: none !important; /* 去除阴影 */
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
}

/* 产品图片（放大且保持比例） */
.index-products-fullwidth .product-img-link img {
  width: 100% !important; /* 充满产品项 */
  height: auto !important; /* 保持比例 */
  max-height: 350px !important; /* 放大图片（数值越大越高） */
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important; /* 完整显示不裁剪 */
  border: none !important;
}

/* 产品标题 */
.index-products-fullwidth .product-title {
  font-size: 24px !important;
  text-align: center !important;
  margin-top: 15px !important;
  color: #333 !important;
}


/* 导航栏容器样式 */
.nav-container {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important; /* 水平居中导航内容 */
  align-items: center !important; /* 垂直居中 */
  padding: 0 20px !important; /* 左右留少量内边距 */
  box-sizing: border-box !important;
}

/* 导航链接容器 */
.nav-links {
  display: flex !important;
  gap: 30px !important; /* 导航项之间的间距 */
  margin: 0 auto !important; /* 确保整体居中 */
}

/* 导航链接样式（保持原有样式基础上添加） */
.nav-links a {
  display: inline-block !important;
  line-height: 80px !important; /* 与导航栏高度一致，确保垂直居中 */
}

/* 纯图片展示模块样式 */
.index-news {
  margin: 30px 0 !important; /* 与上下模块保持间距 */
}

/* 图片容器列表 */
.index-news .box {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px !important; /* 图片之间的间隙 */
  padding: 0 20px !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* 单个图片项 */
.index-news .box li {
  width: 33.333% !important; /* 三个图片平均分配宽度 */
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* 图片样式（与英雄区产品图片保持一致） */
.index-news .box li img {
  width: 100% !important;
  height: auto !important;
  max-height: 300px !important; /* 与英雄区产品图片高度相近 */
  display: block !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  border: none !important;
}

/* 确保标题和描述彻底隐藏 */
.index-news .box li p,
.index-news .box li i,
.index_title.mt70 {
  display: none !important; /* 完全隐藏标题文字 */
}