/* ============================================
   响应式样式表 - 宁波贺鑫模塑有限公司
   覆盖所有页面类型的移动端/平板端自适应
   断点: 平板 ≤1199px | 手机 ≤767px
   ============================================ */

/* ========== 移动端菜单按钮 ========== */
.mobile-menu-toggle {
  display: none;
  float: right;
  width: 40px;
  height: 40px;
  margin-top: 20px;
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  z-index: 200;
}
.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #383838;
  margin: 6px auto;
  transition: all 0.3s;
  border-radius: 2px;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   平板端 (768px - 1199px)
   ============================================ */
@media (max-width: 1199px) {
  /* 容器改为流体 */
  .cmain {
    width: 100% !important;
    max-width: 960px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  /* 废除旧的强制宽度 */
  body, header {
    width: 100% !important;
  }

  /* 顶部栏 */
  .HeaderTop .lf {
    font-size: 12px;
  }
  .HeaderTel {
    font-size: 12px;
  }

  /* 导航字间距缩小 */
  .HeaderList ul li a {
    padding: 20px 12px;
    font-size: 14px;
  }
  .HeaderList ul li a .span2 {
    font-size: 10px;
  }

  /* 搜索 */
  .SliderForm {
    width: 250px;
  }

  /* Banner */
  .banner {
    height: 350px;
  }
  .banner ul li {
    background-size: cover !important;
  }
  .NeiBanner {
    height: 250px;
  }

  /* 首页产品轮播 */
  .News .picList li {
    width: 225px;
    margin-right: 6px;
  }
  .News .picList li dl dt {
    width: 225px;
    height: 225px;
  }
  .News .picList li dl dt img,
  .News .picList li dl dt a img {
    width: 225px;
    height: 225px;
  }
  .News .tempWrap {
    width: 100% !important;
  }

  /* 应用服务 */
  .AppList ul li {
    width: 31%;
    margin-right: 3.5%;
  }
  .AppList ul li a {
    width: 100%;
    height: auto;
  }
  .AppList ul li a img {
    width: 100%;
    height: auto;
  }
  .AppList ul li a .ALMed {
    max-width: 90%;
    font-size: 13px;
  }

  /* 关于我们底部 */
  .center ul li {
    width: 48%;
    margin-right: 4%;
  }
  .center ul li a {
    width: 100%;
    height: auto;
  }
  .center ul li a img {
    width: 100%;
    height: auto;
  }
  .CenterMed .txt2 {
    width: 90%;
  }

  /* 新闻列表 */
  .info-listItem {
    width: 280px;
    margin: 0 15px 0 20px;
  }
  .info-listItem-list dt {
    height: 150px;
  }
  .info-listItem-list dt a img {
    width: 280px;
    height: 150px;
  }
  .info-container {
    width: 100%;
  }

  /* 关于我们内页 */
  .WfMainTxt {
    width: 48%;
    height: auto;
  }
  .WfMainImg {
    width: 48%;
    height: auto;
  }
  .WfImg2 {
    width: 48%;
    height: auto;
  }
  .WfTxt2 {
    width: 48%;
    height: auto;
  }

  /* 产品网格 */
  .NProducts ul li {
    width: 225px;
    margin-right: 6px;
  }
  .NProducts ul li a dl dt {
    width: 225px;
    height: 225px;
  }

  /* 资质荣誉 */
  .ACMain ul li {
    width: 210px;
    margin-right: 20px;
  }
  .ACMain ul li a dt {
    width: 210px;
    height: 283px;
  }

  /* 新闻列表页 */
  .ANMain ul li {
    width: 48%;
    margin-right: 4%;
  }
  .ANMain ul li a {
    width: 100%;
  }
  .ANMain ul li a dt {
    width: 100%;
    height: auto;
  }

  /* 应用服务 */
  .AppMain ul li {
    width: 31%;
    margin-right: 3.5%;
  }
  .AppMain ul li a {
    width: 100%;
    height: auto;
  }

  /* 联系我们 */
  .Address ul li {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px;
  }

  /* 表单 */
  .ToMeMain {
    width: 100%;
    max-width: 750px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .TMLebel input {
    width: 100%;
    box-sizing: border-box;
  }
  .TMLebel.lf,
  .TMLebel.rt {
    float: none;
    width: 100%;
  }
  .TMLebel textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .TMBtns {
    width: 100%;
  }

  /* 底部 */
  .FooterTop ul {
    margin-right: 30px;
  }
  .LinkItem {
    float: none;
    clear: both;
    padding-top: 20px;
  }

  /* 浮动客服 */
  #floatDivBoxs {
    display: none;
  }
  #leftArrow {
    display: none;
  }

  /* 服务页图片 */
  .PDThreeImg img {
    width: 30%;
    height: auto;
  }
  .SMTxt img {
    max-width: 100%;
    height: auto;
  }
}

/* ============================================
   手机端 (≤767px)
   ============================================ */
@media (max-width: 767px) {
  /* 容器 */
  .cmain {
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  body, header {
    width: 100% !important;
  }

  /* ===== 顶部栏 - 单行居中 ===== */
  .HeaderTop {
    height: auto;
    line-height: 1.5;
    padding: 8px 15px;
    text-align: center;
  }
  .HeaderTop .lf {
    float: none;
    font-size: 12px;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .headmenu {
    float: none;
    width: auto;
    text-align: center;
  }

  /* ===== 主导航区 ===== */
  .HeaderBot {
    height: auto;
    min-height: 60px;
    position: relative;
  }
  .logo {
    float: left;
    margin-top: 10px;
  }
  .logo img {
    max-height: 40px;
    width: auto;
  }

  /* 显示移动端菜单按钮 */
  .mobile-menu-toggle {
    display: block;
  }

  /* 搜索移到移动端 */
  .search {
    float: right;
    margin-top: 10px;
  }
  .SearchBtn {
    width: 40px;
    height: 40px;
    border-right: none;
    background-size: 20px;
  }
  .SliderForm {
    right: 0;
    top: 50px;
    width: 200px;
    padding: 15px;
    height: auto;
  }

  /* 导航变为下拉菜单 */
  .HeaderList {
    float: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 100;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }
  .HeaderList.open {
    display: block;
  }
  .HeaderList ul li {
    float: none;
    display: block;
    border-bottom: 1px solid #eee;
  }
  .HeaderList ul li a {
    height: auto;
    padding: 12px 20px;
    border-right: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .HeaderList ul li a .span1 {
    font-size: 15px;
  }
  .HeaderList ul li a .span2 {
    font-size: 11px;
  }
  .HeaderList ul li a:before {
    display: none;
  }
  .HeaderList ul li.active a {
    background: #44a8f2;
    color: #fff;
  }
  .HeaderList ul li.active a span {
    color: #fff !important;
  }
  .HeaderList ul li a:hover {
    background: #44a8f2;
    color: #fff;
  }
  .HeaderList ul li a:hover span {
    color: #fff !important;
  }
  .HeaderList ul li a:hover:before {
    height: 0;
  }

  /* ===== Banner ===== */
  .banner {
    height: 200px;
    margin-bottom: 30px;
  }
  .banner ul li {
    background-size: cover !important;
    background-position: center !important;
  }
  .banner .cut {
    width: 30px;
    height: 50px;
    margin-top: -25px;
    background-size: 12px;
    opacity: 0.8;
  }
  .banner .prev {
    left: 10px;
  }
  .banner .next {
    right: 10px;
  }
  .banner .indicator a {
    width: 25px;
    height: 2px;
    margin: 5px;
  }
  .NeiBanner {
    height: 160px;
  }

  /* ===== 标题栏 - 移动端一行显示 ===== */
  .NavTop {
    height: auto !important;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .NavTopTxt {
    float: none;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
    margin-bottom: 0;
  }
  .NavTopTxt span {
    font-size: 18px;
  }
  .NavTopTxt em {
    font-size: 11px;
  }
  .NavTopMore {
    float: none;
    display: inline-block;
    font-size: 12px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .NavTopMore:before {
    right: 35px;
    width: 20px;
  }
  /* 隐藏首页新闻模块的br换行标签 */
  .cmain > br {
    display: none;
  }
  /* 全局移动端文本居中 */
  .cmain, .application, .main {
    text-align: center;
  }
  .cmain img, .application img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* 列表/网格内元素恢复默认对齐 */
  .News .picList, .AppList ul, .NProducts ul, .ACMain ul, .ANMain ul,
  .AppMain ul, .center ul, .Address ul, .info-container-list {
    text-align: left;
  }
  /* 标题类元素保持居中 */
  .NavTopTxt, .NavTopMore, .info-more, .WfTopNav, .AboutNews i,
  .DownUp, .pages, .ProductCon, .SMTxt, .ServiceMain, .PDNav {
    text-align: center;
  }

  /* ===== 首页产品轮播-移动端改为2列网格 ===== */
  /* 彻底禁用SuperSlide的轮播效果，改为静态网格 */
  .News .PartnerScroll {
    overflow: visible !important;
  }
  .News .bds {
    overflow: visible !important;
    width: 100% !important;
  }
  .News .tempWrap {
    width: 100% !important;
    overflow: visible !important;
    position: static !important;
  }
  .News .picList {
    width: 100% !important;
    left: 0 !important;
    position: static !important;
    overflow: visible !important;
    transform: none !important;
    font-size: 0; /* 消除inline-block间隙 */
  }
  .News .picList li {
    float: none !important;
    display: inline-block;
    vertical-align: top;
    width: 48%;
    margin: 0 1% 15px;
    font-size: 14px;
  }
  /* 隐藏SuperSlide克隆的li项（原版6个，克隆项从第7个开始） */
  .News .picList li:nth-child(n+7) {
    display: none !important;
  }
  .News .picList li dl dt {
    width: 100%;
    height: auto;
  }
  .News .picList li dl dt img,
  .News .picList li dl dt a img {
    width: 100%;
    height: auto;
  }
  .News .picList li dl dd {
    font-size: 13px;
    height: 32px;
    line-height: 32px;
    text-align: center;
  }
  /* 隐藏轮播指示器和箭头 */
  .PartnerScroll .prev,
  .PartnerScroll .next,
  .PartnerScroll .hd {
    display: none !important;
  }
  .CloMain .clo {
    padding: 10px;
  }
  .CloMain .clo .span1 {
    font-size: 28px;
  }
  .CloMain .clo .shu {
    height: 40px;
  }
  .CloMain .clo .span2 {
    font-size: 11px;
    line-height: 20px;
    height: 40px;
  }
  .CloMain .clo .span3 {
    width: 100px;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
  }

  /* ===== 应用服务 ===== */
  .application {
    padding: 30px 0;
    margin: 30px 0;
  }
  .AppList ul li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
  .AppList ul li a {
    width: 100%;
    height: auto;
    display: inline-block;
  }
  .AppList ul li a img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ===== 新闻区域 ===== */
  .info-container {
    width: 100% !important;
  }
  .info-container-list {
    padding: 0;
    background: #fff;
    width: 100%;
  }
  .info-container-list:after {
    content: '';
    display: table;
    clear: both;
  }
  .info-listItem {
    width: 100% !important;
    margin: 0 0 25px 0 !important;
    float: none;
    display: block;
  }
  .info-listItem-list {
    margin-bottom: 12px;
  }
  .info-listItem-list dt {
    height: auto;
    margin-bottom: 12px;
  }
  .info-listItem-list dt a img {
    width: 100%;
    height: auto;
  }
  .info-listItem-list dt a span {
    font-size: 14px;
    padding: 0 15px;
    height: 40px;
  }
  .info-listItem-list dd {
    margin-bottom: 6px;
  }
  .info-listItem-list dd a {
    font-size: 13px;
  }
  .info-listItem-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .info-more {
    width: 100% !important;
    text-align: center;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
  }

  /* ===== 关于我们底部 ===== */
  .center ul li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }
  .center ul li a {
    width: 100%;
    height: auto;
    display: inline-block;
  }
  .center ul li a img {
    width: 100%;
    height: auto;
    display: block;
  }
  .CenterMed {
    left: 15px;
    bottom: 15px;
  }
  .CenterMed .txt1 span {
    font-size: 14px;
  }
  .CenterMed .hen {
    margin: 10px 0;
    width: 40px;
  }
  .CenterMed .txt2 {
    width: 90%;
    font-size: 12px;
    line-height: 22px;
    height: 44px;
  }

  /* ===== 内页导航 ===== */
  .NeiNav {
    height: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .NeiNav .cmain {
    font-size: 0;
    padding: 0;
  }
  .NeiNav ul {
    display: inline-block;
    white-space: nowrap;
    padding: 0 10px;
  }
  .NeiNav ul li {
    display: inline-block;
    margin-right: 15px;
    height: 48px;
    vertical-align: top;
  }
  .NeiNav ul li a {
    padding: 8px 0;
    font-size: 13px;
  }
  .NeiNav ul li a .span2 {
    font-size: 10px;
  }
  .NeiNav ul li.sp3 a {
    font-size: 13px;
  }

  /* ===== 关于我们内页 ===== */
  .WfTopNav {
    margin: 25px 0;
  }
  .WfTopNav .txt1 {
    font-size: 20px;
  }
  .WfMainFigure {
    margin-bottom: 20px;
  }
  .WfMainTxt {
    float: none;
    width: 100%;
    height: auto;
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 15px;
  }
  .WfMainImg {
    float: none;
    width: 100%;
    height: auto;
  }
  .WfMainFigure2 {
    padding: 25px 0 50px;
  }
  .WfImg2 {
    float: none;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .WfTxt2 {
    float: none;
    width: 100%;
    height: auto;
    font-size: 13px;
    line-height: 22px;
  }

  /* ===== 产品网格 ===== */
  .NProducts {
    margin-top: 20px;
  }
  .NProducts ul li {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px;
  }
  .NProducts ul li a dl dt {
    width: 100%;
    height: auto;
  }
  .NProducts ul li a dl dt img {
    width: 100%;
    height: auto;
  }
  .NProducts ul li a dl dd {
    font-size: 13px;
    height: 35px;
    line-height: 35px;
    text-align: center;
  }

  /* ===== 资质荣誉 ===== */
  .ACMain {
    margin-top: 20px;
  }
  .ACMain ul li {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px;
  }
  .ACMain ul li a dt {
    width: 100%;
    height: auto;
  }
  .ACMain ul li a dt img {
    width: 100%;
    height: auto;
  }
  .ACMain ul li a dd {
    font-size: 13px;
    margin-top: 8px;
  }

  /* ===== 新闻列表页 ===== */
  .ANMain {
    margin-top: 20px;
  }
  .ANMain ul li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  .ANMain ul li a {
    width: 100%;
    display: inline-block;
  }
  .ANMain ul li a dt {
    width: 100%;
    height: auto;
  }
  .ANMain ul li a dt img {
    width: 100%;
    height: auto;
    display: block;
  }
  .ANMain ul li a dd .span1 {
    font-size: 13px;
    line-height: 35px;
  }
  .ANMain ul li a dd .span2 {
    font-size: 14px;
    height: auto;
  }
  .ANMain ul li a dd .span3 {
    width: 120px;
    height: 32px;
    line-height: 32px;
    margin-top: 10px;
  }

  /* ===== 分页 ===== */
  .pages {
    margin: 25px 0 50px;
  }
  .pages a {
    height: 32px;
    line-height: 34px;
    padding: 0 10px;
    margin-right: 8px;
    font-size: 13px;
  }

  /* ===== 新闻详情页 ===== */
  .AboutNews {
    font-size: 16px;
    margin: 25px 0;
    line-height: 26px;
  }
  .AboutNews i {
    position: static;
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 8px;
    padding-left: 0;
    background: none;
  }
  .AboutNewsTxt {
    font-size: 14px;
    line-height: 26px;
  }
  .AboutNewsTxt img {
    max-width: 100%;
    height: auto;
  }
  .DownUp {
    margin: 25px 0 50px;
    font-size: 13px;
  }
  .DownLf, .UpRt {
    display: block;
    margin-bottom: 10px;
  }

  /* ===== 应用服务内页 ===== */
  .ServiceMain {
    margin: 25px 0 50px;
  }
  .SMKuai {
    height: auto;
    line-height: 24px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .SMKuai em {
    font-size: 14px;
  }
  .SMTxt {
    font-size: 13px;
    line-height: 24px;
  }
  .PDThreeImg img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .SMTxt img {
    max-width: 100%;
    height: auto;
  }

  /* ===== 应用服务图片网格 ===== */
  .AppMain {
    margin-top: 20px;
    padding: 25px 0 50px;
  }
  .AppMain ul li {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 10px;
    text-align: center;
  }
  .AppMain ul li a {
    width: 100%;
    height: auto;
    display: inline-block;
  }
  .AppMain ul li a img {
    width: 100%;
    height: auto;
    display: block;
  }
  .AppMain ul li a i {
    max-width: 85%;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    padding: 0 8px;
    bottom: 5px;
    left: 5px;
  }

  /* ===== 产品详情页 ===== */
  .PDNav {
    margin: 30px 0 20px;
    font-size: 14px;
  }
  .ProductCon {
    margin: 20px 0;
    font-size: 13px;
    line-height: 24px;
  }
  .ToProcuts {
    float: none;
    margin-top: 10px;
  }
  .PRobelem {
    padding: 15px 0;
    margin-bottom: 25px;
  }
  .PRobelem .PDNav span {
    font-size: 18px;
  }
  .CFList {
    font-size: 14px;
    height: auto;
    line-height: 24px;
    padding: 8px 30px 8px 0;
    white-space: normal;
    background-size: 16px;
  }

  /* ===== 联系我们 ===== */
  .Address {
    margin-top: 30px;
  }
  .Address ul li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .Address ul li dt em {
    font-size: 14px;
    padding-left: 45px;
    height: 50px;
    line-height: 50px;
    background-size: 30px;
  }
  .Address ul li dd {
    font-size: 13px;
    line-height: 22px;
  }

  /* 地图 */
  #dituContent {
    height: 300px !important;
  }

  /* 表单 */
  .ToMeMain {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .TMLebel {
    margin-bottom: 15px;
  }
  .TMLebel.lf,
  .TMLebel.rt {
    float: none;
    width: 100%;
  }
  .TMLebel input {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    padding-left: 12px;
    box-sizing: border-box;
  }
  .TMLebel textarea {
    width: 100%;
    height: 100px;
    font-size: 14px;
    padding: 10px 12px;
    box-sizing: border-box;
  }
  .TMBtns {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
  }
  .ToMeForm {
    padding-bottom: 50px;
  }

  /* ===== 底部 - 移动端精简居中 ===== */
  .FooterTop {
    padding: 20px 15px;
    text-align: center;
  }
  .FooterTop .cmain {
    font-size: 0;
    padding: 0;
  }
  /* 隐藏所有导航链接列 */
  .FooterTop > .cmain > ul:not(:last-of-type) {
    display: none;
  }
  /* 只保留公司信息列 */
  .FooterTop > .cmain > ul:last-of-type {
    display: block;
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
  }
  .FooterTop ul li {
    font-size: 13px;
    line-height: 24px;
  }
  .FooterTop ul li.active {
    font-size: 15px;
    font-weight: bold;
    color: #ddd;
  }
  .FooterTop ul li.hen {
    margin: 8px auto 12px;
    width: 40px;
    height: 2px;
  }
  /* 隐藏社交媒体图标 */
  .FooterTop ul.ImgList {
    display: none !important;
  }
  /* 隐藏友情链接 */
  .LinkItem {
    display: none !important;
  }
  /* 底部版权 */
  .FooterBot {
    height: auto;
    line-height: 22px;
    padding: 10px 15px;
    text-align: center;
    font-size: 12px;
  }
  .FooterBot .cmain {
    padding: 0;
  }
  .FooterBot .lf {
    float: none;
    display: block;
    font-size: 12px;
  }
  .FooterBot .rt {
    display: none;
  }

  /* ===== 浮动客服 - 移动端隐藏 ===== */
  #floatDivBoxs {
    display: none !important;
  }
  #leftArrow {
    display: none !important;
  }

  /* ===== 蒙版弹窗 ===== */
  .NJMedPre {
    padding: 0 40px;
    width: 90% !important;
  }
  .NJMedPre dl dt img {
    max-width: 100% !important;
    max-height: 400px !important;
  }
  .zzpre, .zznex {
    width: 20px;
    height: 40px;
    margin-top: -20px;
    background-size: 12px;
  }
  .zzpre {
    left: 5px !important;
  }
  .zznex {
    right: 5px !important;
  }
  .zzclo {
    width: 30px;
    height: 30px;
    background-size: 15px;
  }

  /* ===== 产品详情页蒙版 ===== */
  .ProMed {
    display: none;
  }

  /* ===== 通用辅助 ===== */
  .m60 {
    margin-bottom: 30px;
  }
  img {
    max-width: 100%;
    height: auto;
  }

  /* ===== 视频页 ===== */
  video {
    max-width: 100%;
    height: auto;
  }

  /* ===== sitemap ===== */
  .sitemap-list {
    width: 100%;
  }
}

/* ============================================
   超小屏 (≤374px)
   ============================================ */
@media (max-width: 374px) {
  .News .picList li {
    width: 100%;
    margin-right: 0;
  }
  .NProducts ul li {
    width: 100%;
    margin-right: 0;
  }
  .ACMain ul li {
    width: 100%;
    margin-right: 0;
  }
  .AppMain ul li {
    width: 100%;
    margin-right: 0;
  }
  .banner {
    height: 160px;
  }
  .NeiBanner {
    height: 130px;
  }
}