@charset "utf-8";
/* CSS Document */
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "fira sans", sans-serif;
  font-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-position: top;
  background-color: #f2f2f2;
}
#top {
  height: 70px;
  background-color: #436ace;
}
#top1 {
  height: 90px;
  color: #000;
}
.topn {
  width: 1200px;
  height: 70px;
  margin: 0 auto;
  background-color: #436ace;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  padding-left: 20px;
}
#logo {
  width: 416px;
  height: 60px;
  margin-top: 5px;
  line-height: 60px;
  float: left;
  font-size: 30px;
}
.nav {
  height: 70px;
  float: right;
  display: flex;
  gap: 35px;
  line-height: 70px;
}
.nav a {
  font-weight: normal;
}
#banner {
  height: 456px;
  background-image: url(../images/20240115-171621.jpeg);
  background-position: center;
  background-repeat: no-repeat;
}

.a1:link {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}
.a1:visited {
  text-decoration: none;
  color: #fff;
}
.a1:hover {
  text-decoration: underline;
  color: #fff;
}
.a1:active {
  text-decoration: none;
  color: #fff;
}

.a2:link {
  text-decoration: none;
  color: #fff;
}
.a2:visited {
  text-decoration: none;
  color: #fff;
}
.a2:hover {
  text-decoration: underline;
  color: #fff;
}
.a2:active {
  text-decoration: none;
  color: #fff;
}

.a4:link {
  text-decoration: none;
  color: #000;
  font-size: 18px;
}
.a4:visited {
  text-decoration: none;
  color: #000;
}
.a4:hover {
  text-decoration: underline;
  color: #000;
}
.a4:active {
  text-decoration: none;
  color: #000;
}

.a3:link {
  text-decoration: none;
  color: #000;
}
.a3:visited {
  text-decoration: none;
  color: #000;
}
.a3:hover {
  text-decoration: underline;
  color: #000;
}
.a3:active {
  text-decoration: none;
  color: #fff;
}

.a5:link {
  text-decoration: none;
  color: #318ee4;
  font-size: 16px;
}
.a5:visited {
  text-decoration: none;
  color: #318ee4;
  font-size: 16px;
}
.a5:hover {
  text-decoration: underline;
  color: #318ee4;
  font-size: 16px;
}
.a5:active {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.dz {
  width: 100px;
  height: 70px;
  float: right;
  line-height: 70px;
  text-align: center;
  color: #fff;
}
#ss {
  width: 650px;
  height: 80px;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 300px;
}
#gg {
  height: 168px;
  background-image: url(../image/gg.jpg);
  background-position: center;
  background-repeat: no-repeat;
}
.chanpin {
  /* height: 1120px; */
  background-color: #f2f2f2;
}
.cp {
  width: 1200px;
  height: 760px;
  margin: 0 auto;
  background-color: #fff;
}
.xw01 {
  width: 1200px;
  height: 360px;
  margin: 0 auto;
  background-color: #fff;
  margin-bottom: 25px;
}
.cpbt {
  width: 1200px;
  height: 60px;
  margin: 0 auto;
  font-size: 22px;
  font-weight: bold;
  line-height: 60px;
  text-indent: 50px;
  background-color: #436ace;
  color: white;
}

.tu {
  height: 310px;
  margin-top: 10px;
  line-height: 33px;
}
.xw {
  height: 280px;
  margin-top: 15px;
}
.gg1 {
  height: 365px;
  background-image: url(../image/gg1.jpg);
  background-position: center;
  background-repeat: no-repeat;
}
#bom1 {
  height: 61px;
  background-color: #e6e6e6;
  text-align: center;
  line-height: 61px;
}

#bottom {
  height: 115px;
  background-color: #333333;
  color: #fff;
}
#bottom a,
#bom1 a {
  margin-right: 20px;
}
.bomm {
  width: 1400px;
  height: 95px;
  margin: 0 auto;
}
.boms {
  width: 430px;
  height: 60px;
  float: left;
  margin-left: 60px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 26px;
  color: #999999;
}
.brt {
  width: 400px;
  height: 60px;
  float: right;
  line-height: 30px;
  color: #999999;
  margin-top: 22px;
  font-size: 14px;
}

#banner01 {
  height: 260px;
  background-image: url(../images/20240115-171613.jpeg);
  background-position: center;
  background-repeat: no-repeat;
}

#login {
  width: 350px;
  height: 320px;
  background-color: #fff;
  font-size: 14px;
  margin: 0 auto;
  margin-top: 20px;
  border: 1px #cccccc solid;
}
.lbt {
  width: 350px;
  height: 40px;
  margin: 0 auto;
  margin-top: 10px;
  border-bottom: 1px dashed #ccc;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  font-weight: bold;
}
.dl01 {
  width: 310px;
  height: 30px;
  margin: 0 auto;
  margin-top: 30px;
}
.jm {
  width: 380px;
  height: 30px;
  margin: 0 auto;
  margin-top: 30px;
  font-size: 12px;
  line-height: 30px;
}
.jm01 {
  width: 220px;
  height: 30px;
  float: left;
  line-height: 30px;
}
.jm02 {
  width: 100px;
  float: left;
  color: #930;
  height: 30px;
  line-height: 30px;
  margin-left: 80px;
}
.jm03 {
  width: 300px;
  height: 30px;
  float: left;
  line-height: 30px;
}
.s01 {
  width: 240px;
  height: 24px;
  color: #666;
}
.s02 {
  width: 130px;
  height: 24px;
  color: #666;
}
.btn01 {
  width: 164px;
  height: 38px;
  margin: 0 auto;
  margin-top: 30px;
}
.ts01 {
  width: 170px;
  height: 30px;
  margin: 0 auto;
  margin-top: 20px;
}
#zhuce {
  width: 380px;
  height: 460px;
  background-color: #fff;
  font-size: 15px;
  margin: 0 auto;
  border: 1px #cccccc solid;
  margin-top: 20px;
}

.yp01 {
  width: 286px;
  height: 305px;
  float: left;
  border: 1px #dadada solid;
  font-size: 14px;
  margin-left: 6px;
}
.yp02 {
  width: 286px;
  height: 305px;
  float: left;
  border: 1px #dadada solid;
  font-size: 14px;
  margin-left: 12px;
}
.f1 {
  font-size: 20px;
  font-weight: bold;
}

.hyjg {
  width: 937px;
  height: 137px;
  margin: 0 auto;
}
.hy01 {
  width: 169px;
  height: 137px;
  float: left;
}
.hy02 {
  width: 169px;
  height: 137px;
  float: left;
  margin-left: 23px;
}
.zbtn {
  width: 200px;
  height: 50px;
  margin: 0 auto;
  margin-top: 60px;
}
.js {
  width: 460px;
  height: 100px;
  margin: 0 auto;
  margin-top: 40px;
  text-align: center;
}

/* 汉堡菜单按钮 - PC端隐藏 */
.mobile-menu-toggle {
  display: none;
}

/* 移动端适配样式 */
@media screen and (max-width: 768px) {
  /* 移除最小宽度限制 */
  html,
  body {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }
  
  /* 覆盖所有固定宽度容器 */
  .topn,
  .cp,
  .cpbt,
  .xw01,
  .bomm,
  .container_12,
  #top,
  #banner,
  #banner01,
  .chanpin,
  .tu {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  
  /* 顶部导航栏 - 固定定位 */
  #top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    min-height: 60px;
    z-index: 1000;
    margin: 0;
    background-color: #436ace;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .topn {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 15px !important;
    height: auto !important;
    position: relative;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #436ace;
  }
  
  /* 为固定头部预留空间，避免内容被遮挡 */
  body {
    padding-top: 60px !important;
  }
  
  /* Banner需要添加顶部间距 */
  #banner {
    margin-top: 60px !important;
  }
  
  #banner01 {
    margin-top: 60px !important;
  }
  
  /* 内容区域也需要调整，避免被固定头部遮挡 */
  .chanpin {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .chanpin > div:first-child {
    height: 10px !important;
  }
  
  #logo {
    width: auto;
    font-size: 16px;
    text-align: left;
    margin: 0;
    line-height: 40px;
    float: none;
    flex: 1;
  }
  
  /* 汉堡菜单按钮 */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
  }
  
  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
  
  /* 导航菜单 - 默认完全隐藏，覆盖所有PC端样式 */
  .topn .nav,
  #top .nav,
  .nav {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    background-color: #436ace !important;
    flex-direction: column !important;
    gap: 0 !important;
    line-height: normal !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    z-index: 998;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .topn .nav.active,
  #top .nav.active,
  .nav.active {
    height: auto !important;
    max-height: 500px !important;
    padding: 10px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .nav a {
    display: block;
    text-align: left;
    font-size: 16px;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
  }
  
  .nav a:last-child {
    border-bottom: none;
  }
  
  .nav a:active,
  .nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* 菜单打开时禁止背景滚动 */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Banner - 添加顶部间距避免被固定头部遮挡 */
  #banner {
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-top: 60px !important;
    width: 100%;
    position: relative;
  }
  
  #banner01 {
    height: 150px;
    background-size: cover;
    background-position: center;
    margin-top: 60px !important;
    width: 100%;
    position: relative;
  }
  
  /* 确保所有主要内容区域都有正确的顶部间距 */
  .chanpin {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* 详情页内容也需要调整 */
  .chanpin .cp {
    margin-top: 0 !important;
  }
  
  /* 产品区域 */
  .chanpin {
    padding: 15px 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0;
  }
  
  .chanpin > div:first-child {
    height: 10px !important;
  }
  
  .cp {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0;
    margin: 0 !important;
    box-sizing: border-box;
  }
  
  .cpbt {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 18px;
    text-indent: 15px;
    padding: 15px;
    margin: 0 !important;
    box-sizing: border-box;
  }
  
  .xw01 {
    margin: 0 auto 15px !important;
  }
  
  .tu {
    height: auto !important;
    padding: 15px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  /* 产品列表 - 移动端单列显示 */
  .tu > .grid_3,
  .tu .grid_3,
  .container_12 .grid_3,
  .grid_3 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box;
    clear: both;
  }
  
  .product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }
  
  .product:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }
  
  .product .prev {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }
  
  .product .prev a {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 0 !important;
  }
  
  .product .prev img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
  }
  
  .product .sale {
    position: absolute;
    z-index: 10;
    width: 60px !important;
    height: auto !important;
    max-width: 60px !important;
  }
  
  .product h3.title {
    font-size: 14px;
    padding: 10px;
    height: auto;
    min-height: auto;
    line-height: 1.4;
    word-wrap: break-word;
  }
  
  .product .cart {
    padding: 10px;
  }
  
  .product .cart .price {
    width: 100%;
    text-align: center;
    border-right: none;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
  }
  
  .product .cart .more12 {
    display: inline-block;
    padding: 8px 20px;
    background-color: #436ace;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: rgba(67, 106, 206, 0.3);
  }
  
  .product .cart .more12:active {
    background-color: #3555a0;
  }
  
  /* 底部导航 */
  #bom1 {
    height: auto;
    padding: 15px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  #bom1 a {
    display: inline-block;
    margin: 0;
    padding: 8px 15px;
    font-size: 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  /* 底部信息 */
  #bottom {
    height: auto;
    padding: 20px 15px;
  }
  
  .bomm {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto;
    padding: 0;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  
  /* 确保所有容器不会超出屏幕 */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* 覆盖 style_pc.css 中的固定宽度 */
  .container_12 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  
  /* 确保没有元素导致水平滚动 */
  body > * {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .boms {
    width: 100%;
    float: none;
    margin: 15px 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
  }
  
  .brt {
    width: 100%;
    float: none;
    margin: 15px 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
  }
  
  .brt dl {
    margin: 0;
  }
  
  .brt a {
    word-break: break-all;
  }
  
  /* 登录注册表单 */
  #cscms_user {
    width: 100%;
    padding: 15px 10px;
    box-sizing: border-box;
  }
  
  #cscms_user .login,
  #cscms_user .login-other {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
    border: 1px solid #ddd;
    padding: 20px 15px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #fff;
  }
  
  #cscms_user .login {
    border-bottom: 1px solid #ddd;
    border-right: none;
  }
  
  .login-other {
    border-left: 1px solid #ddd;
    border-top: none;
    margin-top: 0;
  }
  
  .think-form {
    padding: 10px;
  }
  
  .think-form table.bd {
    width: 100%;
    border-spacing: 0;
  }
  
  .think-form th {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 0 5px 0;
    font-weight: 600;
  }
  
  .think-form td {
    display: block;
    width: 100%;
    padding: 0 0 15px 0;
  }
  
  .think-form .text,
  .think-form .verify {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px; /* 防止iOS自动缩放 */
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-appearance: none;
  }
  
  .think-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
  }
  
  .think-form .submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    -webkit-tap-highlight-color: rgba(52, 143, 212, 0.3);
  }
  
  .think-form .submit:active {
    opacity: 0.8;
  }
  
  /* 关于我们页面 */
  .tu table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .tu table tbody {
    display: block;
    width: 100%;
  }
  
  .tu table tr {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .tu table td {
    display: block;
    width: 100% !important;
    padding: 15px 10px;
    text-align: center;
  }
  
  .tu table td img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  .tu table td p {
    text-align: left;
    line-height: 1.8;
    font-size: 14px;
    margin: 10px 0;
  }
  
  /* 详情页 */
  .details_main,
  .details_main .details_m1 {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    padding-top: 10px !important;
  }
  
  .details_main .position {
    width: 100% !important;
    padding: 0 10px;
    margin-top: 60px !important;
  }
  
  /* 详情页内容区域 */
  .chanpin[style*="height"] {
    margin-top: 0 !important;
    padding-top: 10px !important;
  }
  
  .m1L,
  .m1R,
  .details_main .details_m1 .m1L,
  .details_main .details_m1 .m1R {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }
  
  .l_pic {
    width: 100%;
    text-align: center;
  }
  
  .l_pic img,
  .l_pic .zoomPad img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .r_title {
    margin-top: 20px;
  }
  
  .r_rows {
    width: 100%;
    padding: 10px;
  }
  
  .r_rows p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 10px 0;
  }
  
  .r_rows span {
    font-size: 14px !important;
  }
  
  .list_pic {
    width: 100%;
    margin: 10px 0;
  }
}

/* 小屏幕手机适配 */
@media screen and (max-width: 480px) {
  #logo {
    font-size: 16px;
  }
  
  .nav a {
    font-size: 14px;
  }
  
  .cpbt {
    font-size: 16px;
  }
  
  .product h3.title {
    font-size: 13px;
  }
  
  .boms,
  .brt {
    font-size: 11px;
  }
}
