/* æ¸…é™¤é»˜è®¤æ ·å¼ */

* {
    margin: 0;
    padding: 0;
    outline: none;
}

html,
body {
    font-family:  "Microsoft YaHei","-apple-system", "Arial", "BlinkMacSystemFont", "Helvetica Neue", "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", "sans-serif";
    font-size: 14px;
    min-height: 100%;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    width: 100%;
}

html {
    font-size: 62.5%;
    /*10 Ã· 16 Ã— 100% = 62.5%*/
}

.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    vertical-align: bottom;
    border: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

em {
    font-style: normal;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 400;
}

/* éšè—æ»šåŠ¨æ¡ */

.hiddenScroll::-webkit-scrollbar {
    display: none
}

/* æ»šåŠ¨æ¡æ ·å¼ */

.scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.1);
}

/*æ¸…é™¤æµ®åŠ¨*/

.clearfix:before,
.clearfix:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    clear: both;
}

a {
    color: inherit;
    text-decoration: none;
    border: none;
    font-size: inherit;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -moz-user-focus: none;
}

::selection {
    background: #633910;
    color: #FFF
}

::-moz-selection {
    background: #633910;
    color: #FFF
}

.red_ {
    display: inline-block;
    vertical-align: middle;
    width: 0.0375rem;
    height: 0.135rem;
    background-color: #EA222D;
    transition: all 1s;
}

/* å“åº”å­—ä½“ */

@media screen and (min-width: 1280px) {
    html {
        font-size: 88.8889px;
    }
}

@media screen and (min-width: 1440px) {
    html {
        font-size: 100px;
    }
}

@media screen and (min-width: 1680px) {
    html {
        font-size: 116.667px;
    }
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 133.333px;
    }
}

@media screen and (min-width: 2560px) {
    html {
        font-size: 177.778px;
    }
}

@media screen and (min-width: 3200px) {
    html {
        font-size: 222.222px;
    }
}

@media screen and (min-width: 3840px) {
    html {
        font-size: 266.667px;
    }
}

/* é¡µå¤´é¡µè„šçš„æ ·å¼ */

.header_p {
    width: 100%;
    height: 0.6525rem;
    color: #FFF;
    position: fixed;
    top: 0;
    z-index: 999;
    transition: all 0.5s;
}

.jianbian {
    width: 100%;
    height: 0.66rem;
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.4) 1%, rgba(0, 0, 0, 0));
    position: fixed;
    top: 0;
    z-index: 10;
}

.menu1,
.menu2,
.menu3,
.menu4,
.menu5 {
    position: absolute;
    top: 0.64rem;
    left: 0;
    display: none;
    background-color: #fff;
    color: #333;
    box-shadow: 0px 10px 15px rgb(0 0 0 / 2%);
}

.menu1,
.menu3,
.menu4,
.menu5 {
    display: none;
    width: 100%;
    height: auto;
}


.menu .box-left {
  float: left;
  width: 60%;
}
.menu .box-left .img {
  width: 100%;
}
.menu .box-left .img img {
  width: 100%;
}
.menu .box-left .text {
  position: absolute;
  top: 1rem;
  left: 1.935rem;
  z-index:3;
}
.menu .box-left .text .title {
  font-size: 0.51rem;
  font-weight: bold;
  line-height: 0.51rem;
  letter-spacing: -0.0225px;
  color: #f0f0f0;
}
.menu .box-left .text .p {
  width: 4.68rem;
  margin-top: 0.45rem;
  font-size: 0.135rem;
  line-height: 0.27rem;
  letter-spacing: -0.0075rem;
  color: #ffffff;
}
.menu .box-left .text .button {
  margin-top: 0.45rem;
  font-size: 0.135rem;
  line-height: 0.135rem;
  color: #fff;
}
.menu .box-left .text .button img {
  height: 0.135rem;
  margin-left: 0.12rem;
}
.menu .box-right {
  float: left;
  width: 40%;
  background-color: white;
}
.menu .box-right .list {
  width: 100%;
  margin-top: 0.285rem;
  position: relative;
  overflow: hidden;
}
.menu .box-right .list .item-bg {
  content: "";
  width: 100%;
  height: 0.525rem;
  background-color: #ea222d;
  position: absolute;
  left: 0;
  top: -0.525rem;
  z-index: 1;
  transition: 0.5s;
}
.menu .box-right .list .item {
  width: 100%;
  position: relative;
  z-index: 2;
}
.menu .box-left .img{
  position: relative;
}
.menu .box-left .img  i {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: url(../img/p_h.png) left top repeat;
}
.menu .box-right .list .item a {
  width: 100%;
  height: 0.525rem;
  display: block;
  line-height: 0.525rem;
  transition: 0.5s;
}
.menu .box-right .list .item a span {
  display: block;
  text-align: left;
  font-size: 0.18rem;
  line-height: 0.525rem;
  color: #000000;
  padding-left: 0.9225rem;
  position: relative;
  transition: 0.5s;
}
.menu .box-right .list .item a span img {
  height: 0.17rem;
  vertical-align: middle;
  margin-left: 0.45rem;
}
.menu .box-right .list .item a span::after {
  content: "";
  width: 0.0225rem;
  height: 0.18rem;
  background-color: #ea222d;
  position: absolute;
  top: 0.1725rem;
  left: 0.6225rem;
}
.menu .box-right .list .item:hover a span {
  color: white;
}

.menu2 {
    width: 100%;
    height: 3.825rem;
    /* display: block; */
    text-align: left;
    overflow: hidden;
}

.menu2>.menu_main {
    padding-top: 0.555rem;
    box-sizing: border-box;
    width: 11.7453rem;
    height: 100%;
    margin-left: 1.95rem;
    display: flex;
    justify-content: space-between;
}

.menu2>.menu_main>.intro {
    width: 3.0226rem;
    height: 100%;
    border-right: 1px solid #EDEDED;
    flex-shrink: 0;
}

.menu2>.menu_main>.intro>.title {
    line-height: 0.39rem;
    height: 0.39rem;
    font-size: 0.39rem;
     
    font-weight: bold;
    color: #333333;
}

.menu2>.menu_main>.intro>p:last-child {
    margin-top: 0.2325rem;
    font-size: 0.135rem;
     
    font-weight: 400;
    line-height: 0.2rem;
    color: #333333;
}

.menu2>.menu_main>.menu_nav {
    width: 5.1001rem;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-shrink: 0;
}

.menu2>.menu_main>.menu_nav li {
    width: 100%;
    height: 0.135rem;
    line-height: 0.135rem;
    margin-bottom: 0.2rem;
    font-size: 0.135rem;
     
    font-weight: 400;
    overflow: hidden;
    transition: all 0.5s;
    position: relative;
    text-indent: 1.5em;
}

.menu2>.menu_main>.menu_nav li>.red_ {
    margin-right: 0.1575rem;
    position: absolute;
    top: 0.5rem;
    left: 0rem;
    transition: all 0.5s;
}

.menu2>.menu_main>.menu_nav li:hover .red_ {
    top: 0rem;
}

.menu2>.menu_main>.menu_nav li:hover {
    color: #EA222D;
}

.menu2>.menu_main>.box {
    width: 3.6226rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: flex-start;
    flex-shrink: 0;
}

.menu2>.menu_main>.box .tbox {
    width: 3.6226rem;
    height: 1.305rem;
    padding: 0.3525rem 0.2775rem;
    margin-bottom: 0.225rem;
    box-sizing: border-box;
    background: url(../img/index_menu2back.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    position: relative;
}

.menu2>.menu_main>.box .tbox p {
    height: 0.18rem;
    font-size: 0.18rem;
     
    font-weight: bold;
    color: #FFFFFF;
}

.menu2>.menu_main>.box .tbox .a {
    width: 20%;
    display: block;
    margin-top: 0.2475rem;
    height: 0.12rem;
    line-height: 0.1rem;
    padding-left: 0.09rem;
    border-left: 0.0375rem solid #ea222d;
    font-size: 0.12rem;
     
    font-weight: 400;
    color: #FFFFFF;
    transition: all 0.5s;
    position: relative;
    z-index: 1;
}

.menu2>.menu_main>.box .tbox a:hover {
    color: #ea222d;
}

.menu2>.menu_main>.box .lbox {
    width: 1.305rem;
    height: 1.305rem;
    background-color: #EA222D;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu2>.menu_main>.box .lbox span {
    height: 0.15rem;
    font-size: 0.15rem;
     
    font-weight: bold;
    color: #FFFFFF;
}

.menu2>.menu_main>.box .lbox span:last-child {
    margin-top: 0.18rem;
    width: 0.345rem;
    height: 0.33rem;
    background: url(../img/index_menu2icon.png) no-repeat;
    background-size: contain;
}

.menu2>.menu_main>.box .rbox {
    width: 2.0925rem;
    height: 1.305rem;
    padding: 0.33rem 0.3rem;
    box-sizing: border-box;
    background-color: #F3F3F3;
}

.menu2>.menu_main>.box .rbox p {
    height: 0.15rem;
    font-size: 0.15rem;
     
    font-weight: bold;
    color: #2A2A2A;
}

.menu2>.menu_main>.box .rbox span {
    display: block;
    margin-top: 0.225rem;
    font-size: 0.225rem;
    font-family: Arial;
    font-weight: bold;
    color: #EA222D;
}

.header {
    width: 100%;
    height: 0.66rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    position: fixed;
    z-index: 999;
}


.header .logo {
    width: 3.35rem;
    height: 0.35rem;
    margin: 0.15rem 0.10rem 0.15rem 0.69rem;
}
.header  .tit { 
    font-size: 0.18rem;
    font-weight: 500;
    line-height: 0.6rem;   
   float: left;
}
.header>ul {
    height: 0.66rem;
    padding: 0.27rem 0;
    float: right;
    box-sizing: border-box;
    display: flex;
    /* color: #fff; */
}

.header>ul>li {
    height: 100%;
    font-size: 0.138rem;
    text-align: center;
    color: #fff;
    transition: all 0.5s;
}

.header>ul>li>a {
    font-size: 0.138rem;
    font-weight: 600;
}

.header>ul>li>.li_bot {
    position: relative;
    top: 0.24rem;
    width: 0%;
    height: 3px;
    background-color: #ea222d;
    transition: all 0.5s;
}

.header_p .headerNav:hover .li_bot {
    width: 100%;
}

.header>ul>li:nth-of-type(1),
.header>ul>li:nth-of-type(2),
.header>ul>li:nth-of-type(3),
.header>ul>li:nth-of-type(4),
.header>ul>li:nth-of-type(5) {
    margin: 0 0.3rem;
    padding-bottom: 0.27rem;
     
    font-weight: 400;
    line-height: 0.12rem;
    transition: all 0.5s;
}
.header>ul>li:nth-of-type(6) {
    margin: 0 0.3rem;
    padding-bottom: 0.27rem;
     
    font-weight: 400;
    line-height: 0.12rem;
    transition: all 0.5s;
}
.header>ul>li:nth-of-type(7) {
    margin-right: 0.22rem;
    line-height: 0.12rem;
    color: #B2B2B2;
}

.header>ul>.glass {
    cursor: pointer;
    width: 0.14rem;
    height: 0.15rem;
    margin-right: 0.28rem;
    background: url(../img/fangdajing.png) no-repeat;
    background-size: contain;
    transition: all 0.5s;
}

.header>ul>.phone {
    width: 0.13rem;
    height: 0.15rem;
    background: url(../img/headerphone.png) no-repeat;
    margin-right: 0.09rem;
    background-size: contain;
    transition: all 0.5s;
}

.header>ul>li:last-of-type {
    width: 0.89rem;
    height: 0.48rem;
    font-size: 0.11rem;
     
    font-weight: 400;
    line-height: 0.16rem;
    margin-right: 0.70rem;
}

.header_p>.box_bot {
    position: relative;
    top: 0.662rem;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.header_p .search_box {
    width: 100%;
    height: 0.6525rem;
    line-height: 0.6525rem;
    text-align: center;
    background-color: #fff;
    color: #333;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.header_p .search_box>.close {
    width: 0.12rem;
    height: 0.12rem;
    cursor: pointer;
    vertical-align: middle;
}

.header_p .search_box>.search {
    width: 0.15rem;
    height: 0.15rem;
    cursor: pointer;
    vertical-align: middle;
}

.header_p .search_box>.inp {
    box-sizing: border-box;
    width: 40%;
    height: 0.35rem;
    border: 1px solid #797979;
    padding: 0 0.2rem;
    margin: 0 0.1rem;
    vertical-align: middle;
}


.header_p_active {
    background-color: #fff;
}

.header_p>.header_bot {
    border-bottom: 1px solid rgba(183, 183, 183, 0.2);
}

.header_p .header_nav_black {
    color: #333;
}

.header_p .header_nav_red {
    color: #EA222D;
}

.header_p ul>.glass_active {
    background-image: url(../img/c_fangdajing.png);
}

.header_p ul>.phone_active {
    background-image: url(../img/c_headerphone.png);
}
.header_p_active1 {
    background-color: #fff;
    
}

.header_p_active1>.header_bot1 {
    border-bottom: 1px solid rgba(183, 183, 183, 0.2);
}

.header_p_active1 .header_nav_black1 {
    color: #333;
}

.header_p_active1 .header_nav_red1 {
    color: #EA222D;
}

.header_p_active1 ul>.glass_active1 {
    background-image: url(../img/c_fangdajing.png);
}

.language-box {
    position: relative;
  }
  .language-box .language {
    cursor: pointer;
    position: relative;
  }
  .language-box .language .icon {
    display: block;
    float: left;
  }
  .language-box .language .icon i {
    font-size: 0.15rem;
    color: white;
    transition: 0.5s;
  }
  .language-box .language .text {
    display: block;
    font-size: 0.12rem;
    color: #ffffff;
    float: left;
    margin-left: 0.0975rem;
    transition: 0.5s;
  }
  .language-box .language .arrow {
    display: block;
    float: left;
    margin-left: 0.0675rem;
  }
  .language-box .language .arrow i {
    font-size: 0.12rem;
    line-height: 0.17rem;
    color: white;
    transition: 0.5s;
  }
  .language-box .down-box {
    width: 2.4rem;
    position: absolute;
    top: 0.38rem;
    right: -0.5rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
  }
  .language-box .down-box .box-right {
    width: 100%;
    height: 1.0801rem;
    margin: 0 auto;
    position: relative;
    overflow-y: scroll;
  }
  .language-box .down-box .box-right .row {
    padding: 0.1rem 0;
  }
  .language-box .down-box .box-right .row .item {
    padding: 0.12rem 0.3rem;
    box-sizing: border-box;
    width: 100%;
    transition: all 0.5s;
  }
  .language-box .down-box .box-right .row .item a {
    font-size: 0.135rem;
    line-height: 0.18rem;
    color: #333333;
    text-align: left;
    transition: all 0.5s;
  }
  .language-box .down-box .box-right .row .item:hover {
    background-color: #f4f4f4;
  }
  .language-box .down-box .box-right .row .item:hover a {
    color: #ea222d;
  }
  .language-black .language .icon i,
  .language-black .language .arrow i,
  .language-black .language .text {
      color: #333;
  }

.footer {
    width: 100%;
    position: relative;
    z-index: 1;
    background: #181819;
    border-top: 6px solid #ce000c;
}

.footer>.bottom {
    padding-left:2rem;
    padding-right:2rem;
    margin: 0 auto;
     color: rgba(255, 255, 255, .6);
    font-size: 0.12rem;
   text-align: left;
   line-height: 0.28rem;
   padding-bottom:0.2rem;
   height:2.4rem;
   padding-top:0.4rem;
   
}
.footer>.bottom .bottoml{
    float: left;
    width: 25%;
}
.footer>.bottom .bottomm{
    float: left;
      width: 40%;
}
.footer>.bottom .bottomr{
    float: right;
      width: 30%;
}
.footer>.bottom ul{
    float: left;
    display:block;
    text-align: left;
    width: 50%;
}
.footer>.bottom ul li{
    list-style:disc;
    margin-left:0.5rem;
    line-height: 0.28rem;
    color: rgba(255, 255, 255, .6);
}

.footer .phone {
    border-bottom: 0.01rem solid #E6E6E6;
}

.footer .phone>div {
    float: left;
    padding: 0.48rem 0 0.33rem;
}

.footer .phone>div:nth-of-type(1),
.footer .phone>div:nth-of-type(2),
.footer .phone>div:nth-of-type(3) {
    margin-right: 0.15rem;
}


.footer .phone>div>span {
    display: inline-block;
    vertical-align: top;
    margin-top: 0.15rem;
    width: 0.28rem;
    height: 0.25rem;
    background: url(../img/footerkefu.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 0.15rem;
}

.footer .phone>div>ul {
    display: inline-block;
}

.footer .phone>div>ul>li:nth-child(1) {
    width: 100%;
    height: 0.14rem;
    font-size: 0.13rem;
     
    font-weight: bold;
    color: #333333;
    line-height: 0.24rem;
    margin-bottom: 0.13rem;
}

.footer .phone>div>ul>li:nth-child(1)>.red_ {
    vertical-align: vertical;
}

.footer .phone>div>ul>li:nth-child(2) {
    width: 100%;
    height: 0.15rem;
    font-size: 0.15rem;
    font-family: Arial;
    font-weight: 400;
    color: #767676;
    line-height: 0.24rem;
}

.footer>.bottom>.phone {
    height: 1.33rem;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    width: 10.5rem;
}

.footer>.bottom>ul {
    height: 0.75rem;
    width: 10.5rem;
    margin: 0 auto;
}

.footer>.bottom>ul>li {
    display: inline-block;
    height: 0.12rem;
    font-size: 0.11rem;
     
    font-weight: 400;
    color: #646464;
    line-height: 0.24rem;
    margin: 0.29rem 0 0.32rem;
    transition: all 0.5s;
}
.footer>.bottom>ul>li>a:hover {
    text-decoration: underline;
}

.footer>.bottom>ul>li:nth-child(1) {
    width: 100%;
}

.footer>.top>div>ul:nth-of-type(1)>li:hover,
.footer>.top>div>ul:nth-of-type(2)>li:hover,
.footer>.top>div>ul:nth-of-type(3)>li:hover,
.footer>.top>div>ul:nth-of-type(4)>li:hover,
.footer>.top>div>ul:nth-of-type(5)>li:hover {
    color: #EA222D;
}
footer .links {
    margin-top: 0.2rem;
    width: 1.995rem;
    height: 0.48rem;
    background-color: #F5F4F4;
    border: 0.015rem solid #ddd;
    position: relative;
  }
  footer .links .text-show {
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  footer .links .text-show .text {
    font-size: 0.1125rem;
    line-height: 0.48rem;
    color: #767676;
    float: left;
    padding-left: 0.165rem;
  }
  footer .links .text-show i {
    width: 0.075rem;
    float: right;
    color: #767676;
    padding-right: 0.165rem;
    margin-top: 0.2175rem;
  }
  footer .links .link {
    width: 100%;
    background-color: #F5F4F4;
    border: 0.015rem solid #ddd;
    position: absolute;
    left: -0.015rem;
    bottom: 0.48rem;
    display: none;
  }
  footer .links .link ul {
    width: 100%;
  }
  footer .links .link ul li {
    width: 100%;
  }
  footer .links .link ul li:nth-of-type(1) {
      height: auto;
      margin: 0;
      font-weight: normal;
      line-height: 0.27rem;
  }
  footer .links .link ul li a {
    display: block;
    width: calc(100% - 0.165rem);
    padding-left: 0.165rem;
    font-size: 0.1125rem;
    line-height: 0.27rem;
    color: #5e5d5d;
  }
  footer .links .link ul li:hover a {
    background-color: #ea222d;
    color: white;
  }


.ky {
    visibility: hidden;
}



.in_banner {
    width: 100%;
    height: 5rem;
    overflow: hidden;
    position: relative;
    position: fixed;
    z-index: 1;
}
.in_banner  i {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: url(../img/p_h.png) left top repeat;
}
.in_banner>img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: -100%;
    right: -100%;
    margin: auto;
    height: 100%;
    transition: all 1s;
}

.in_banner:hover>img {
    transform: scale(1.1);
}

.in_banner .in_banner_text {
    position: absolute;
    top: 2.1825rem;
    left: 1.9575rem;
    z-index:3
}

.in_banner .in_banner_text>h1 {
    height: 0.5rem;
    font-size: 0.39rem;
     
    font-weight: bold;
    color: #FFFFFF;
}

.in_banner .in_banner_text>p {
    height: 0.2rem;
    font-size: 0.135rem;
     
    font-weight: 400;
    color: #FFFFFF;
    margin-top: 0.2325rem;
}

.header_m,
.footer_m {
    display: none;
}

.in_banner_bot {
    width: 100%;
    height: 3.9rem;
    overflow: hidden;
    position: relative;
}
.productlisttop {
  width: 100%;
  height: 4.5rem;
  position: relative;
}
.productlisttop .bg {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.productlisttop .bg img {
  height: 100%;
  position: absolute;
  top: 0;
  left: -500px;
  right: -500px;
  margin: auto;
  display: none;
}
.productlisttop .bg img:first-child {
  display: block;
}

.productlisttop .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.productlisttop .mask i {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: url(../img/p_h.png) left top repeat;
}

.productlisttop .title-box {
  position: absolute;
  bottom: 0.725rem;
  left: 1rem;
  z-index: 3;
  display:flex;
  justify-content: flex-start;
}
.productlisttop .title-box 
dl{
  padding:0;
  margin:0;
  margin-right:0.4rem;
  position: relative;
  padding-left:0.2rem;
}
.productlisttop .title-box 
dl:after{
  content: "";
  width: 0.12rem;
  height: 0.12rem;
  background-color:  rgba(255, 255, 255, 0.5);
  position: absolute;
  left:0rem;
  top: 0.048rem;
}
.productlisttop .title-box 
dl dt{
  font-size: 0.12rem;
  color: rgba(255, 255, 255, 0.9);
  clear: both;
  display: block;
  line-height: 0.20rem;
}
.productlisttop .title-box 
dl dd{
  font-size: 0.20rem;
  color: rgba(255, 255, 255, 0.95);
  clear: both;
  display: block;
  line-height: 0.35rem;
}
.productlisttop .title-box .title {
  font-size: 0.39rem;
  font-weight: bold;
  line-height: 0.39rem;
  color: #ffffff;
  text-align: center;
}
.productlisttop .title-box .p {
  font-size: 0.135rem;
  line-height: 0.135rem;
  color: #ffffff;
  margin-top: 0.225rem;
  text-align: center;
}

.content .box {
  width: 100%;
 
}
.content .box .nav {
  padding-left: 0.865rem;
   height: 0.45rem;

   border-bottom: solid 1px #e6e6e6;
}
.content .box .nav nav ul{
   display: flex;
}
.content .box .nav nav ul::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  float: none;
  clear: both;
}
.content .box .nav nav ul li {
  font-size: 0.12rem;
   color: #333;
   line-height: 0.45rem;


}
.content .box .nav nav ul li .home {
    font-size:0;
  width: 0.16rem;
  height: 0.16rem;
  background:url(../img/home.png) no-repeat;
  background-size: contain;
  background-position: center center;
  display: inline-block;
  margin-right: 0.05rem;
  vertical-align: middle;
  margin-top: -0.04rem;
}

.content .box .nav nav ul li a {
     line-height: 0.16rem;
     color: #333;
}
.content .box .nav nav ul li:nth-of-type(2n) {
  margin: 0 0.135rem  0 0.135rem;
}
.content .box .nav nav ul li:last-of-type a {
    color: #333;
}
/* 主容器布局优化 */
.main_father {
    padding: 0.5rem 1rem;
    background-color: #fff; /* 浅灰背景，突出卡片 */
}
.zizhicase{
    padding: 0.5rem 0rem;
}
.main {
    min-width: 1200px;
    margin: 0 auto;
}
/* 列表网格布局 */
.qyfclist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* 响应式网格，最小宽度280px */
    gap: 60px; /* 卡片间距 */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 单个卡片样式 */
.qyfclist li {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 轻微阴影 */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 使用贝塞尔曲线使动画更平滑 */
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative; /* 用于伪元素定位 */
    border: 1px solid transparent; /* 预留边框位置防止抖动 */
}

.qyfclist li:hover {
    transform: translateY(-8px); /* 悬停上浮效果更明显 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* 阴影更深更扩散 */
    border-color: #eaeaea; /* 悬停时显示极淡边框 */
}

/* 添加底部品牌色条特效 (假设品牌色为红色，可根据实际logo颜色调整) */
.qyfclist li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #d92424; /* 品牌红色 */
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
    z-index: 10;
}

.qyfclist li:hover::after {
    transform: scaleX(1);
}

/* 链接包裹层 */
.qyfclist li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 图片容器 */
.qimga {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 保持 4:3 比例 */
    overflow: hidden;
    background-color: #eee;
}

.qimga img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* 延长图片过渡时间，更优雅 */
}

.qyfclist li:hover .qimga img {
    transform: scale(1.1); /* 悬停时图片放大比例增加 */
}

/* 标题文字样式 */
.qimga span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 15px;
    /* 增强渐变遮罩，确保文字清晰 */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    box-sizing: border-box;
    z-index: 2;
    transition: background 0.3s ease;
}

.qyfclist li:hover .qimga span {
    /* 悬停时遮罩稍微变深，突出文字 */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
}
/* --- 轮播图模块样式 --- */

/* 外层容器：限制宽度，居中，增加上下间距 */
.product-carousel-section {
  width: 100%;
  max-width: 12rem; /* 限制最大宽度，防止在大屏上过宽，可根据设计稿调整 */
  margin: 0rem auto;
  padding: 0 0.2rem; /* 两侧留白，防止贴边 */
  box-sizing: border-box;
}

/* 顶部标题美化 */
.carousel-header {
  text-align: center;
  margin-bottom: 0.3rem;
  position: relative;
}

.carousel-header h3 {
  font-size: 0.24rem;
  color: #333;
  font-weight: bold;
  margin: 0;
  display: inline-block;
  position: relative;
  z-index: 2;
  background: #fff; /* 遮挡住下方的线条中间部分 */
  padding: 0 0.15rem;
}
.carousel-header h3.h3 {
      background: #fff; /* 遮挡住下方的线条中间部分 */
}
.header-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #e6e6e6;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
}

/* Swiper 容器 */
.product-swiper {
  width: 100%;
  padding-bottom: 0.4rem; /* 给分页器留位置 */
  overflow: hidden; /* 隐藏溢出内容 */
  position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* 单个幻灯片 */
.product-swiper .swiper-slide {
  height: auto;
  background: #fff;
  transition: all 0.3s ease;
}

/* 链接包裹层 */
.product-swiper .swiper-slide a {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid #eee; /* 轻微边框 */
  border-radius: 4px;
}

/* 图片容器：保持 357/459 ≈ 0.779 的比例 */
.product-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  /* 方法1：使用 aspect-ratio (现代浏览器支持) */
  aspect-ratio: 357 / 459; 
  object-fit: cover;
}

/* 如果浏览器不支持 aspect-ratio，可以使用下面的 padding  hack (可选) */

.product-swiper .swiper-slide .img-box {
  position: relative;
  width: 100%;
  padding-top: 128.85%;  (459/357 * 100%)
}
 .product-swiper .swiper-slide:hover .zoom-icon {
        opacity: 1;
    }
.product-swiper .swiper-slide .img-box img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}


/* 幻灯片底部文字 (可选) */
.slide-title {
  padding: 0.1rem;
  text-align: center;
  font-size: 0.14rem;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 悬停效果 */
.product-swiper .swiper-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 自定义导航箭头样式 */
.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
  color: #ccc; /* 品牌红 */
  width: 0.4rem;
  height: 0.8rem;
  background-color:#ce000c;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}
.product-swiper .swiper-button-next:hover,
.product-swiper .swiper-button-prev:hover {
  color: #fff; /* 品牌红 */
  width: 0.4rem;
  height: 0.8rem;
  background-color:red;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-swiper .swiper-button-next::after,
.product-swiper .swiper-button-prev::after {
  font-size: 0.18rem;
  font-weight: bold;
}


/* 联系页面整体布局 */
.contact-page-content .box {
    padding: 0.5rem 0;
}

.contact-layout {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: #fff;
    padding-left: 0.5rem;
    padding-right: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    min-height: 4rem; /* 保证最小高度 */
}

/* 左侧联系信息 */
.contact-info-left {
    width: 40%;
    padding: 0.4rem;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-left .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.3rem;
}

.contact-info-left .info-item:last-child {
    margin-bottom: 0;
}

.contact-info-left .icon-box {
    width: 0.4rem;
    height: 0.4rem;
    line-height: 0.4rem;
    text-align: center;
    background-color: #ea222d; /* 品牌红 */
    color: #fff;
    border-radius: 50%;
    margin-right: 0.15rem;
    flex-shrink: 0;
}

.contact-info-left .icon-box i {
    font-size: 0.18rem;
}

.contact-info-left .text-box h4 {
    font-size: 0.16rem;
    color: #333;
    font-weight: bold;
    margin: 0 0 0.05rem 0;
}

.contact-info-left .text-box p {
    font-size: 0.14rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* 右侧地图 */
.contact-map-right {
    width: 58%; /* 留出2%作为间距 */
    min-height: 4rem;
    background-color: #eee;
}

.contact-map-right iframe {
    width: 100%;
    height: 100%;
    display: block;
}





.leftx {
  width: 1.86501rem;
  margin-left: 0.69rem;
  padding-left: 0.6rem;
  float: left;
  position: relative;
  z-index: 100;
  background:url(../img/in_01_lbgx.png) left top no-repeat;
  margin-top: 1.01rem;
  background-size: 0.5rem 4rem;
}
.leftx .left_title {
  width: 1.86501rem;
  height: 0.51rem;
  margin: 0 auto;
  background:url(../img/cplb_titlex.png) left top no-repeat;
  background-size: 100% 100%;

}
.leftx .left_category {
    width: 100%;
    min-height: 0.1rem;
    margin: 0 auto;
    background: #dc0004;
}
.leftx .left_category li {
    width: 100%;
    height:0.5rem;
    line-height: 0.5rem;
    text-align: center;
    border-bottom: solid 1px #fff;
    position: relative;
}
.leftx .left_category li span {
    display: block;
    width: 0.2rem;
    height: 0.18rem;
    position: absolute;
    left: 48%;
    bottom: -0.14rem;
    background: url(../img/fenlei_icon.png) no-repeat;
    background-size: 0.08rem 0.08rem;
    z-index: 999;
}
.leftx .left_category li a {
    color: #fff;
    font-size: 14px;
    display: block;
}
.leftx .left-box .button {
  width: 100%;
  height: 0.465rem;
  background-color: #f5f5f5;
  border: solid 1px #f5f5f5;
  font-size: 0.12rem;
  font-weight: bold;
  line-height: 0.465rem;
  color: #ea222d;
  cursor: pointer;
  text-align: center;
  margin-top: 0.495rem;
  transition: 0.5s;
  position: relative;
}
.leftx .left-box .button:hover {
  background-color: #ea222d;
  color: white;
}
.leftx .left-box .condition-box {
  width: 100%;
  margin-top: 0.44rem;
  /* display: none; */
}
.leftx .left-box .condition-box .title {
  font-size: 0.15rem;
  line-height: 0.15rem;
  letter-spacing: 0px;
  color: #333333;
}
.leftx .left-box .condition-box .line {
  width: 100%;
  height: 2px;
  background-color: #ea222d;
  margin-top: 0.1725rem;
}
.leftx .left-box .condition-box .condition {
  width: 100%;
  margin-top: 0.255rem;
}
.leftx .left-box .condition-box .condition .item {
  width: 100%;
  margin-bottom: 0.1rem;
  /* display: none; */
}
.leftx .left-box .condition-box .condition .item::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  float: none;
  clear: both;
}
.leftx .left-box .condition-box .condition .item .close {
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background-color: #f5f5f5;
  float: left;
  cursor: pointer;
}
.leftx .left-box .condition-box .condition .item .close img {
  width: 0.06rem;
  height: 0.06rem;
  display: block;
  margin: 0 auto;
  padding-top: 0.06rem;
}
.leftx .left-box .condition-box .condition .item .text {
  float: left;
  font-size: 0.12rem;
  line-height: 0.18rem;
  color: #333333;
  margin-left: 0.1425rem;
}


.right {
  display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
}
.jianbiany{
      clear: both;
    display: block;
    padding-top: 0.8rem;
}
.jianbianx{
    clear: both;
    display: block;
    padding-bottom: 0.5rem;
}

.right .videocon {
    width: 90%;
    margin-left:5%;
    margin-right:5%;
    max-width: 1000px; /* PC端限制最大宽度，防止视频过宽难看，可根据设计稿调整 */
    margin: 0 auto;    /* 确保在 flex 容器中也能居中 */
    position: relative;
    border-radius: 4px;     /* 轻微圆角 */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 增加立体感 */
}

/* 3. 视频标签样式 - 关键部分 */
.right .videocon video {
    width: 100%;
    height: auto;       /* 保持宽高比 */
    display: block;     /* 消除底部间隙 */
    object-fit: contain; /* 确保视频完整显示，不留黑边或裁剪 */
}


/* --- 视频列表样式 --- */


.video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-item {
    width: calc(33.333% - 14px); /* 每行3个，根据需求调整 */
    cursor: pointer;
    transition: transform 0.3s ease;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 180px; /* 固定高度 */
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumb img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: background 0.3s ease;
}

.video-item:hover .play-icon {
    background: #d92323; /* 主题红色 */
}

.video-title {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .video-item {
        width: calc(50% - 10px); /* 手机端每行2个 */
    }
    .video-thumb {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .video-item {
        width: 100%; /* 小屏幕每行1个 */
    }
}

/* --- 视频弹窗样式 --- */
.video-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* 黑色半透明背景 */
    align-items: center;
    justify-content: center;
}

.video-modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: auto;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.modal-content video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #d92323;
}

.modal-title {
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
}

/* --- 产品案例栏目样式 --- */
.product-case-section {
  width: 100%;
  max-width: 12rem; /* 限制最大宽度，防止在大屏上过宽，可根据设计稿调整 */
  margin: 0rem auto;
  padding: 0 0.2rem; /* 两侧留白，防止贴边 */
  box-sizing: border-box;
    position: relative;
}

 .product-case-section .swiper-button-next,
 .product-case-section .swiper-button-prev {
  color: #ccc; /* 品牌红 */
  width: 0.4rem;
  height: 0.8rem;
  background-color:#ce000c;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}
 .product-case-section .swiper-button-next:hover,
 .product-case-section .swiper-button-prev:hover {
  color: #fff; /* 品牌红 */
  width: 0.4rem;
  height: 0.8rem;
  background-color:red;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
 .product-case-section .swiper-button-next::after,
 .product-case-section .swiper-button-prev::after {
  font-size: 0.18rem;
  font-weight: bold;
}
    .case-swiper {
        width: 100%;
        padding: 10px 5px 40px 5px; /* 左右留一点边距防止阴影被切 */
        box-sizing: border-box;
        overflow: hidden;
    }

    .case-item {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
        cursor: pointer;
        height: auto;
        /* 防止Flex子项被压缩变形 */
        flex-shrink: 0; 
        width: 100%; 
    }

    .case-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .case-img-box {
        position: relative;
        width: 100%;
        /* 使用 padding-bottom 实现固定宽高比 (例如 4:3 = 75%, 16:9 = 56.25%) */
        padding-bottom: 75%; 
        height: 0;
        overflow: hidden;
        background-color: #f0f0f0;
    }

    .case-img-box img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 保持图片比例填充，不拉伸 */
        transition: transform 0.5s ease;
    }

    .case-item:hover .case-img-box img {
        transform: scale(1.1);
    }

    /* 放大镜图标 */
    .zoom-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 24px;
        opacity: 0;
        transition: opacity 0.3s ease;
        background: rgba(0,0,0,0.3);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        z-index: 2;
    }

    .case-item:hover .zoom-icon {
        opacity: 1;
    }

    .case-title {
        padding: 15px 10px;
        text-align: center;
        font-size: 14px;
        color: #333;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }

    /* --- 图片弹窗 (Lightbox) 样式 --- */
    .image-modal {
        display: none; 
        position: fixed; 
        z-index: 9999; 
        padding-top: 60px; 
        left: 0;
        top: 0;
        width: 100%; 
        height: 100%; 
        overflow: auto; 
        background-color: rgba(0,0,0,0.9); 
        backdrop-filter: blur(5px);
    }

    .modal-content {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 80vh;
        animation-name: zoom;
        animation-duration: 0.6s;
        object-fit: contain;
    }

    @keyframes zoom {
        from {transform:scale(0)} 
        to {transform:scale(1)}
    }

    .close-modal {
        position: absolute;
        top: 20px;
        right: 35px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
        cursor: pointer;
        z-index: 10000;
    }

    .close-modal:hover {
        color: #bbb;
    }

    #caption {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 700px;
        text-align: center;
        color: #ccc;
        padding: 10px 0;
    }

/* 案例列表容器布局 */
/* 案例列表总容器 */
.case-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 两端对齐，中间留空 */
    padding: 0.51rem 0.75rem;
    gap: 30px; /* 行与列之间的间距 */
}

/* 单个案例行容器 (每排2个) */
.case-row {
    width: calc(50% - 15px); /* 减去gap的一半，确保一行正好两个 */
    display: flex;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 0; /* 由gap控制间距 */
    align-items: stretch; /* 让左右高度一致 */
}

.case-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* 左侧图片区域 - 参考 .right .list .item .img */
.case-left {
    width: 40%; /* 图片占比，可根据需要调整，例如 30%-50% */
    height: 2.20501rem; /* 参考高度 */
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.case-left img {
    transition: transform 0.5s ease; /* 参考 transition: 0.5s */
    height: 100%;
    width: auto;
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 50%; /* 配合 transform 实现居中 */
    transform: translateX(-50%); /* 初始居中 */
    object-fit: cover; /* 确保图片覆盖容器 */
}

/* 悬停时图片轻微放大或移动效果 (可选，增加交互感) */
.case-row:hover .case-left img {
    transform: translateX(-50%) scale(1.05);
}

/* 右侧文字区域 - 参考 .right .list .item .text */
.case-right {
    width: 60%; /* 剩余宽度 */
    padding-left: 0.36rem; /* 参考 margin-left: 0.36rem */
    padding-right: 0.36rem; /* 参考 margin-right: 0.36rem */
    box-sizing: border-box;
}

/* 标题 - 参考 .title */
.case-title {
    font-size: 0.165rem;
    font-weight: bold;
    line-height: 1.4; /* 适当增加行高以美观 */
    color: #333333;
    margin-top: 0;
    margin-bottom: 0.225rem; /* 参考 .line 的 margin-top 前间距 */
    transition: color 0.5s;
}

/* 分隔线 - 参考 .line */
.case-line {
    width: 100%;
    height: 1px;
    background-color: #afafaf;
    opacity: 0.4;
    margin-top: 0;
    margin-bottom: 0.1875rem; /* 参考 .p 的 margin-top */
}

/* 描述文字 - 参考 .p */
.case-desc {
    margin-top: 0;
    font-size: 0.12rem;
    line-height: 1.6; /* 适当增加行高 */
    color: #9a9a9a;
    margin-bottom: 0.2rem;
}

.case-desc span {
    color: #333333;
    transition: color 0.5s;
}

/* 按钮区域 - 之前定义的 case-btn 样式 */
.case-btn-container {
    margin-top: 0.2rem;
}
/* 按钮样式 */
/* 基础按钮样式 */
.case-btn {
    display: inline-block;
    position: relative;
    padding: 0 0.2rem; /* 初始内边距 */
    height: 0.36rem;
    line-height: 0.36rem;
    font-size: 0.14rem;
    color: #ea222d; /* 初始文字颜色为红色 */
    border: 1px solid #ea222d;
    background-color: transparent;
    transition: all 0.5s ease;
    color: #fff;
    background-color: #ea222d;
    overflow: hidden; /* 确保伪元素不溢出 */
    text-decoration: none;
    margin-top: 0.2rem; /* 根据布局调整间距 */
}

/* 使用 ::before 伪元素实现背景滑入效果 */
.case-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0; /* 初始宽度为0 */
    height: 100%;
    background-color: #ea222d;
    z-index: -1; /* 放在文字后面 */
    transition: width 0.5s ease;
}

/* 悬停状态 */
.case-btn:hover {
    color: #fff; /* 悬停时文字变白 */
    padding-left: 0.3rem; /* 悬停时增加左内边距，产生文字右移效果 */
    border-color: #ea222d;
}

.case-btn:hover::before {
    width: 100%; /* 悬停时背景填满 */
}

/* 图标样式调整 */
.case-btn i {
    margin-left: 0.05rem;
    transition: transform 0.5s ease;
}

.case-btn:hover i {
    transform: translateX(0.05rem); /* 图标轻微右移 */
}

/*案例详情*/

/* =========================================
   案例详情页 - 富文本通用样式 (方案二)
   ========================================= */

.rich-text-wrapper {
    max-width: 12rem;
    margin: 0 auto;
    padding: 0.4rem 0.2rem;
    font-family: "Microsoft YaHei", sans-serif;
    color: #666;
    line-height: 1.8;
    font-size: 0.14rem;
}

/* 1. 图片处理 */
.rich-text-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.2rem auto;
    border-radius: 0.04rem;
}

/* 顶部大图特殊处理 */
.rich-text-wrapper .rt-banner-img {
    width: 100%;
    height: 4rem; /* 固定高度，裁剪模式 */
    object-fit: cover;
    margin-bottom: 0.4rem;
}

/* 内容中的小图 */
.rich-text-wrapper .rt-content-img {
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 2. 标题处理 */
.rich-text-wrapper h2 {
    font-size: 0.24rem;
    color: #333;
    font-weight: bold;
    margin: 0.3rem 0 0.2rem;
    padding-left: 0.15rem;
    border-left: 0.04rem solid #ea222d; /* 品牌红竖线 */
    line-height: 1.4;
}

.rich-text-wrapper strong {
    clear: both;
    display: block;
    font-size: 0.18rem;
    color: #333;
    font-weight: bold;
    margin: 0.3rem 0 0.15rem;
    position: relative;
}

/* 3. 简介文字 */
.rich-text-wrapper .rt-intro {
    font-size: 0.15rem;
    color: #555;
    background-color: #f9f9f9;
    padding: 0.2rem;
    border-radius: 0.04rem;
    margin-bottom: 0.3rem;
    border-left: 2px solid #ddd;
}

/* 4. 参数表格美化 (核心部分) */
.rich-text-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.2rem 0 0.4rem;
    background-color: #fff;
    border: 1px solid #eee;
    font-size: 0.13rem;
}

.rich-text-wrapper table td,
.rich-text-wrapper table th {
    border: 1px solid #eee;
    padding: 0.12rem 0.15rem;
    text-align: left;
}

/* 表格第一列（标签列）样式 */
.rich-text-wrapper table td:first-child,
.rich-text-wrapper table th:first-child {
    background-color: #f5f5f5;
    color: #888;
    width: 25%; /* 固定标签宽度 */
    font-weight: normal;
}

/* 表格第二列（数值列）样式 */
.rich-text-wrapper table td:last-child,
.rich-text-wrapper table th:last-child {
    color: #333;
    font-weight: 500;
}

/* 表头样式 (用于复杂参数) */
.rich-text-wrapper table thead th {
    background-color: #ea222d;
    color: #fff;
    border-color: #ea222d;
    text-align: center;
}

/* 5. 分隔线 */
.rich-text-wrapper hr.rt-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    margin: 0.6rem 0;
}

/* 6. 段落间距 */
.rich-text-wrapper p {
    margin-bottom: 0.15rem;
    text-align: justify; /* 两端对齐更整齐 */
}

/* =========================================
   移动端适配
   ========================================= */
@media (max-width: 768px) {
    .rich-text-wrapper {
        padding: 0.2rem 0.15rem;
    }
    
    .rich-text-wrapper .rt-banner-img {
        height: 2.2rem;
    }
    
    .rich-text-wrapper h2 {
        font-size: 0.2rem;
    }
    
    /* 手机端表格字体稍小，防止溢出 */
    .rich-text-wrapper table.rt-specs-table {
        font-size: 0.12rem;
    }
    
    .rich-text-wrapper table.rt-specs-table td,
    .rich-text-wrapper table.rt-specs-table th {
        padding: 0.08rem;
    }
}

/* 移动端适配：手机端变为单列，上下结构 */
@media (max-width: 768px) {
    .case-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 两端对齐，中间留空 */
    padding: 0.5rem 0.5rem;
    gap: 30px; /* 行与列之间的间距 */
}
    .case-row {
        width: 100%;
        flex-direction: column; /* 上下排列 */
    }

    .case-left {
        width: 100%;
        height: 200px;
    }

    .case-right {
        width: 100%;
        padding: 20px;
    }
}

    /* --- 响应式适配 --- */
    @media screen and (max-width: 1024px) {
        .case-title {
            font-size: 13px;
        }
    }

    @media screen and (max-width: 768px) {
        .product-case-section {
            padding: 20px 0;
        }
        .case-img-box {
            padding-bottom: 75%; /* 手机端保持比例 */
        }
        .case-title {
            font-size: 12px;
            padding: 8px 5px;
        }
        .modal-content {
            max-width: 95%;
        }
        .close-modal {
            top: 10px;
            right: 20px;
            font-size: 30px;
        }
    }

/* 手机端适配调整 */
@media screen and (max-width: 768px) {
    .case-img-box {
        height: 150px;
    }
    .case-title {
        font-size: 12px;
        padding: 10px 5px;
    }
    .modal-content {
        max-width: 95%;
    }
}


/* 移动端适配 */
@media screen and (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-info-left,
    .contact-map-right {
        width: 100%;
    }

    .contact-info-left {
        padding: 0.3rem;
    }

    
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .product-carousel-section {
    max-width: 100%;
    padding: 0 0.15rem;
  }
  
  .carousel-header h3 {
    font-size: 0.18rem;
  }
  
  /* 手机上隐藏箭头，改用手指滑动，节省空间 */
  .product-swiper .swiper-button-next,
  .product-swiper .swiper-button-prev {
    display: none;
  }
  
  .slide-title {
    font-size: 0.12rem;
    padding: 0.05rem;
  }
}
/* 移动端适配 */
/* =========================================
   平板端适配 (768px - 1024px)
   ========================================= */
@media screen and (max-width: 1024px) {
    /* 1. 解除主容器的最小宽度限制，允许内容自适应 */
    .main {
        min-width: auto;
        width: 100%;
        padding: 0 0.2rem; /* 增加两侧内边距，防止贴边 */
        box-sizing: border-box;
    }
   .videocon {
        max-width: 90%; /* 平板上稍微留点边距 */
    }
    
    /* 如果之前隐藏了左侧栏，确保右侧占满 */
    .right {
        padding: 0.2rem;
    }
    .leftx {
        display: none;
    }
    /* 2. 调整父容器内边距 */
    .main_father {
        padding: 0.3rem 0; /* 减小上下内边距 */
    }
    .contact-info-left .text-box h4 {
    font-size: 0.20rem;
    color: #333;
    font-weight: bold;
    margin: 0 0 0.05rem 0;
}

.contact-info-left .text-box p {
    font-size: 0.18rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.contact-map-right {  
        height: 6rem; /* 手机端地图高度 */
    }
    /* 3. 调整网格布局：平板显示 2 列或 3 列 */
    .qyfclist {
        grid-template-columns: repeat(2, 1fr); /* 强制2列，或者使用 repeat(auto-fill, minmax(200px, 1fr)) */
        gap: 20px; /* 减小间距 */
    }
}

/* =========================================
   手机端适配 (< 768px)
   ========================================= */
@media screen and (max-width: 768px) {
    /* 1. 进一步减小主容器内边距 */
    .main {
        padding: 0 0.15rem;
    }

    .main_father {
        padding: 0.2rem 0;
    }

    /* 2. 手机端网格布局：默认2列，极小屏幕1列 */
    .qyfclist {
        grid-template-columns: repeat(2, 1fr); /* 手机横屏或大屏手机显示2列 */
        gap: 10px; /* 更紧凑的间距 */
    }

    /* 3. 优化卡片内部文字大小，防止换行或溢出 */
    .qimga span {
        font-size: 12px; /* 减小字体 */
        padding: 8px 5px; /* 减小内边距 */
        line-height: 1.2;
    }
    
    /* 4. 确保图片比例在移动端正常显示 */
    .qimga {
        padding-top: 75%; /* 保持 4:3 比例，可根据设计图调整为 100% (1:1) */
    }
}

/* =========================================
   超小屏幕手机适配 (< 480px)
   ========================================= */
@media screen and (max-width: 480px) {
    .qyfclist {
        grid-template-columns: 1fr; /* 单列显示，大图模式 */
        gap: 15px;
    }
    
    /* 单列模式下，图片可以稍微高一点，或者保持比例 */
    .qimga {
        padding-top: 60%; 
    }
}
@media screen and (max-width:1024px) {
    .content .box .nav {
  padding-left: 5%;}
  .productlisttop .title-box {
    left: 5%;
  }
    .header_p,
    .jianbian,
    .header_m {
        display: block;
        width: 100%;
        height: 1.2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        color: #FFF;
        /* background-color: #fff; */
        position: fixed;
        top: 0;
        z-index: 999;
    }
      .header_p,
    .jianbian {
        display: none !important; /* 使用 !important 确保覆盖之前的固定定位样式，或者直接设 none */
    }
    .header_m .m_jb {
        width: 100%;
        height: 1.2rem;
        background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.4) 1%, rgba(0, 0, 0, 0));
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
    }
    .head_top {
        width: 100%;
        height: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.5s;
    }
    .head_top img {
        height: 0.5rem;
    }
    .head_top .head_right {
        width: 1.3rem;
        height: 100%;
        display: inline-flex;
        justify-content: space-between;
        align-items: center;
    }
    .head_top i {
        font-size: 0.5rem;
        color: #fff;
        transition: all 0.5s;
    }
    .m_search {
        width: 100%;
        height: 100%;
        background-color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
        padding: 0.3rem 0;
        box-sizing: border-box;
        /* display: flex;
        justify-content: center;
        align-items: center; */
        display: none;
    }
    .m_search input {
        font-size: 0.3rem;
        margin: 0 0.2rem;
        height: 0.35rem;
        border: 1px solid #797979;
        padding: 0.1rem 0.3rem;
    }
    .m_search i {
        vertical-align: sub;
        color: #333;
        font-size: 0.5rem;
    }
    .head_top_active {
        background-color: #fff;
    }
    .head_top .i_active {
        color: rgb(75, 75, 75);
    }
    .mhead_li {
        width: 100%;
        height: 100vh;
        background-color: #fff;
        color: #333;
        font-size: 0.3rem;
        font-weight: 500;
        display: none;
    }
    .mhead_li>.li_left {
        float: left;
        flex-shrink: 0;
        width: 40%;
        height: 100%;
    }
    .mhead_li>.li_right {
        float: right;
        flex-shrink: 0;
        width: 60%;
        height: 100%;
        background-color: rgb(246, 246, 246);
        overflow: scroll;
    }
    .mhead_li>.li_right ul {
        display: none;
    }
    .mhead_li>.li_right .ul_active {
        display: block;
        overflow: scroll;
    }
    .mhead_li>.li_right a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .mhead_li>.li_right li:nth-of-type(1) a {
        font-size: 0.35rem;
        font-weight: bold;
        border-bottom: 1px solid #ddd;
    }
    .mhead_li li {
        width: 100%;
        height: 1.5rem;
        line-height: 1.5rem;
        padding-left: 0.4rem;
        box-sizing: border-box;
    }
    .mhead_li .li_right li{
        height: 1.2rem;
        line-height: 1.2rem;
    }
    .mhead_li .li_left .li_active {
        background-color: rgb(246, 246, 246);
        color: #ea222d;
    }
    .footer {
        display: none;
    }
    .footer_m {
        display: block;
        width: 100%;
        position: relative;
        z-index: 3;
           background: #181819;
    border-top: 6px solid #ce000c;
    }
    .botright{
         width: 1.5rem;
        float: left;
        margin-left: 0.5rem;
        margin-right: 0.25rem;
    }
    .mfoot_nav {
        width: 90%;
        margin: auto;
        padding-top: 0.4rem;
         
    }
    .mfoot_nav>.foot {
        width: 100%;
        padding: 0.4rem 0;
        box-sizing: border-box;
        border-bottom: 0.02rem solid #E6E6E6;
        position: relative;
    }
    .mfoot_nav .one {
        font-size: 0.3rem;
        color: #000;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .mfoot_nav .one i {
        font-size: 0.5rem;
        color: #646464;
        transition: all 0.5s;
    }
    .mfoot_nav .one .i_rotate {
        transform: rotate(180deg);
    }
    .mfoot_nav>div>ul {
        display: none;
    }
    .mfoot_nav>.foot>ul {
        margin-top: 0.3rem;
        border-top: 0.02rem solid #E6E6E6;
        width: 100%;
        font-size: 0.3rem;
        color: #767676;
    }
    .mfoot_nav>.foot li {
        padding: 0.2rem 0;
    }
    .mfoot_nav>.foot li a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .mfoot_adress {
        text-align: center;
        font-size: 0.3rem;
        color: #333;
         
    }
    .mfoot_adress li:nth-child(1) {
        margin: 0.3rem;
        margin-top: 0.5rem;
    }
    .mfoot_adress li:nth-child(1) img {
        width: 40%;
    }
    .mfoot_adress li:nth-child(2) {
        font-weight: bold;
    }
    .mfoot_adress li:nth-child(3),
    .mfoot_adress li:nth-child(4) {
        color: #767676;
        margin: 0.2rem 0;
    }
    .mfoot_adress .links {
        margin: 0 auto;
        margin-top: 0.2rem;
        width: 50%;
        height: 0.8rem;
        background-color: #F5F4F4;
        border: 0.015rem solid #ddd;
        position: relative;
        margin-bottom: 0.5rem;
    }
    .mfoot_adress .links .link {
    width: 100%;
    background-color: #F5F4F4;
    border: 0.015rem solid #ddd;
    position: absolute;
    left: -0.015rem;
    bottom: 0.8rem;
    display: none;
    }
    .mfoot_adress .links .text-show {
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    .mfoot_adress .links .text-show i {
        width: auto;
        float: none;
        margin: 0;
    }
    .mfoot_adress .links .text-show .text {
    font-size: 0.3rem;
    color: #767676;
    float: none;
    padding-left: 0.165rem;
    }
    .mfoot_adress .links .link ul li a {
    display: block;
    width: 100%;
    padding-left: 0;
    font-size: 0.25rem;
    line-height: 0.5rem;
    color: #5e5d5d;
    }
    .mfoot_adress .links .link ul li {
        margin: 0;
        font-weight: normal;
    }
    .footer_m .phone {
        width: 100%;
        margin: auto;
        text-align: left;
    }
    .footer_m .phone ul {
        margin-top: 0.5rem;
    }
    .footer_m .phone ul:last-of-type {
        margin-bottom: 0.5rem;
    }
    .footer_m .phone li:nth-child(1) {
        font-size: 0.3rem;
        font-weight: bold;
         
        color: #333;
    }
    .footer_m .phone li:nth-child(2) {
        margin-top: 0.1rem;
        font-size: 0.3rem;
        font-family: Arial;
        color: #767676;
    }
    .footer_m .phone .bot {
        margin-top: 0.3rem;
        padding: 0.3rem;
        font-size: 0.2663rem;
        line-height: 0.4rem;
        color: rgba(255, 255, 255, 0.6);
    }
    .in_banner {
        height: 5rem;
    }
    .in_banner .in_banner_text {
        position: absolute;
        top: 3.2rem;
        left: 0.8rem;
    }
    .in_banner .in_banner_text>h1 {
        height: 0.5rem;
        font-size: 0.5rem;
    }
    .in_banner .in_banner_text>p {
        height: 0.2rem;
        font-size: 0.25rem;
    }
    .in_banner_bot {
        height: 5rem;
    }
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-50px, 0, 0);
        transform: translate3d(-50px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-50px, 0, 0);
        -ms-transform: translate3d(-50px, 0, 0);
        transform: translate3d(-50px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(50px, 0, 0);
        transform: translate3d(50px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(50px, 0, 0);
        -ms-transform: translate3d(50px, 0, 0);
        transform: translate3d(50px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        -ms-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}