
/*手机端导航*/
.mobile-header{
    background-color:#fff;
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.mobile-header-space{
    width: 100%;
    height: 60px;
}
.mobile-logo{float: left; margin:10px 15px; display: inline;}
.mobile-logo img{height:40px;width: auto;}
.mobile-header-icon{
    position: relative;
    width: 60px;
    height:60px;
    float: right;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
    background-color: rgba(255,255,255,1);
    cursor: pointer;
}
.mobile-header-icon span{
    position: absolute;
    left: calc((100% - 25px) / 2);
    top: calc((100% - 1px) / 2);
    width: 25px;
    height: 3px;
    background-color:#000;
    border-radius: 3px;
}
.mobile-header-icon span:nth-child(1){
    transform: translateY(-8px) rotate(0deg);
}
.mobile-header-icon span:nth-child(2){
    transform: translateY(0) rotate(0deg);
}
.mobile-header-icon span:nth-child(3){
    transform: translateY(8px) rotate(0deg);
}


.mobile-header-icon-click span:nth-child(1){
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: clickfirst;
}       
.mobile-header-icon-click span:nth-child(2){
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: clicksecond;
}
.mobile-header-icon-click span:nth-child(3){
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: clicksthird;
}
  


@keyframes clickfirst {
    0% {
        transform: translateY(8px) rotate(0deg);
        
    }
    
    100% {
      transform: translateY(0) rotate(45deg);
    }
}   

@keyframes clicksecond {
    0% {
        transform: translateY(0) rotate(0deg);
        
    }
    
    100% {
      transform: translateX(-999em) rotate(0deg);
    }
}  

@keyframes clicksthird{
    0% {
        transform: translateY(-8px) rotate(0deg);
    }
    
    100% {
      transform: translateY(0) rotate(-45deg);
    }
}   

.mobile-header-icon-out span:nth-child(1){
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: outfirst;
}       
.mobile-header-icon-out span:nth-child(2){
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: outsecond;
}
.mobile-header-icon-out span:nth-child(3){
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: outthird;
}

@keyframes outfirst {
    0% {
      transform: translateY(0) rotate(-45deg);
    }

    100% {
      transform: translateY(-8px) rotate(0deg);
    }
}   


@keyframes outsecond {
    0% {
      transform: translateY(0) rotate(45deg);
    }
    
    100% {
      transform: translateY(0) rotate(0deg);
    }
}

@keyframes outthird {
    0% {
      transform: translateY(0) rotate(45deg);
    }
    
    100% {
      transform: translateY(8px) rotate(0deg);
    }
}

.mobile-nav{
    background-color: rgba(0,0,0,0.9);
    width: 100%;
    position: fixed;
    top: 60px;
    left: 0px;
    display: none;
    z-index: 999;
    bottom: 0px;
    overflow-y: auto;
}

.mobile-nav .lang-box{
    padding: 30px 10% 10px;
    display: flex;
    align-items: center;
    color:#aaa;
    font-size: 14px;
}
.mobile-nav .lang-box img{
    width: auto;
    height: 22px;
    margin-right: 5px;
}

.mobile-nav .lang-box a{
    font-size: 16px;
    line-height: 50px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.5s;
    font-size: 16px;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: ReturnToNormal;
    margin: 0 15px 0 5px;
    font-weight: bold;
}


.mobile-nav .lang-box a:hover,.mobile-nav .lang-box a.now{
    color: var(--theme-color);
    border-bottom: solid 1px rgba(255,255,255,0.2);
}

.mobile-nav .mobile-user-box{
    padding: 15px 10% 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color:#aaa;
    font-size: 16px;
}
.mobile-nav .mobile-user-box a{
  font-size: 16px;
  line-height: 40px;
  text-decoration: none;
  color: var(--theme-color);
  transition: all 0.5s;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: ReturnToNormal;
  margin-left: 15px;
  font-weight: bold;
}
.mobile-ul{
    padding-bottom: 80px;
}
.mobile-ul li{
    padding: 0 10%;
}
.mobile-ul a{
    display: block;
    line-height: 60px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    border-bottom: solid 1px rgba(255,255,255,0.3);
    transition: all 0.5s;
    font-size: 18px;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: ReturnToNormal;
}
.mobile-ul a:hover,.mobile-ul a.curr{
    color: var(--theme-color);
    border-bottom: solid 1px rgba(255,255,255,0.2);
}

.mobile-ul .sub-menu{
    padding: 15px 0;
}
.mobile-ul .sub-menu li a{
    border-bottom: 0;
    font-size: 16px;
    line-height: 36px;
    font-weight: normal;
}

/*手机端商品筛选*/
.shop-filter{
    width:100%;
    display: flex;
    align-items: center;
    height: 42px;
    position: sticky;
    top: 60px;
    z-index: 10;
    background: #fff;
    border-bottom:1px solid #e6e6e6;
}
.shop-filter .item-one{
    flex: auto;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:16px;
    min-width: 19.5%;
}
.shop-filter .item-one .name{
    color: #333;
}
.shop-filter .item-one .icon{
    margin-left:5px;
}
.shop-filter .item-one .icon .icon_top{
    width: 0;
    height: 0;
    display: block;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #cbcbcb;
}
.shop-filter .item-one .icon .icon_bottom{
    width: 0;
    height: 0;
    display: block;
    border-left: 4px solid transparent;  /* 左边透明 */
    border-right: 4px solid transparent; /* 右边透明 */
    border-top: 4px solid #cbcbcb;           /* 上边有颜色，形成倒三角 */
    margin-top: 3px;
}
.shop-filter .item-one .icon .icon_top.on{
    border-bottom-color: #1e50ae;
}
.shop-filter .item-one .icon .icon_bottom.on{
    border-top-color: #1e50ae;
}
.shop-filter .item-one .icon img{
    width: 16px;
    height: auto;
}

.filter-slider{
    background:rgba(0,0,0,.5);
    display: none;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 10%;
    position: fixed;
    left: 0;
    top: 0;
    bottom:0;
    width: 100%;
    z-index: 9100;
}

.filter-slider .slider-main{
    display: none;
    animation: filter_panel_animation .5s linear;
    background-color: #fff;
    height: 100%;
    position: relative;
    border: 1px solid #ebebeb;
}
.filter-slider.open,.filter-slider.open .slider-main{display:block}
.filter-slider .slider-head{
    align-items: center;
    border-bottom:1px solid #e6e6e6;
    color: #333;
    display: flex;
    font-size: 15px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
}
.filter-slider .slider-head .close{
    position: absolute;
    right: 14px;
    cursor: pointer;
}
.filter-slider .slider-head .close img{
    width: 16px;
    height: auto;
}
.filter-slider .slider-body{
    height: calc(100% - 44px);
    overflow-y: auto;
    padding: 0 15px;
}
.filter-slider .filter-item{
    padding: 20px 0;
    border-bottom:1px solid #e6e6e6;
}
.filter-slider .filter-item .filter-title{
    font-size: 18px;
    color: #111;
    font-weight:bold;
}
.filter-slider .filter-item .filter-con{
    padding: 0;
}
.filter-slider .filter-item .category-box{
    padding: 0;
}
@keyframes filter_panel_animation {
  0% {
    transform:translate(100%)
  }
  to {
    transform:translate(0)
  }
}
@keyframes filter_panel_animation_hide {
  0% {
    transform:translate(0)
  }
  to {
    transform:translate(100%)
  }
}
@keyframes filter_panel_wrap_animation_hide {
  to {
    background-color:transparent
  }
}


@-webkit-keyframes ReturnToNormal {
    100% {
      transform: translateX(0%) rotate(0deg);
    }
}

@keyframes ReturnToNormal {
    100% {
      transform: translateX(0%) rotate(0deg);
    }
}

/* 1280px ~ 1025px */
@media (max-width: 1280px) {
    :root {
        --font-size12: 10px;
        --font-size14: 12px;
        --font-size15: 13px;
        --font-size16: 14px;
        --font-size17: 15px;
        --font-size18: 16px;
        --font-size20: 18px;
        --font-size22: 22px;
        --font-size24: 20px;
        --font-size30: 24px;
        --font-size32: 26px;
        --font-size36: 28px;
        --font-size48: 38px;
        --font-size60: 40px;
    }
    .w75{width: 92%;}
    .w80{width: 92%;}
    .main{width: 92%;}
}


/* 1024px ~ 992px */
@media (max-width: 1024px) {
  .copyright{font-size: 14px; padding: 20px 0;}

  .backTop{width: 60px;height: 60px;}
  .backTop img{width: 25px; height: 25px;}
  
  .h5{height:3px;width:100%;clear:both;}
  .h10{height:5px;width:100%;clear:both;}
  .h15{height:8px;width:100%;clear:both;}
  .h20{height:10px;width:100%;clear:both;}
  .h25{height:13px;width:100%;clear:both;}
  .h30{height:15px;width:100%;clear:both;}
  .h40{height:20px;width:100%;clear:both;}
  .h50{height:25px;width:100%;clear:both;}
  .h60{height:30px;width:100%;clear:both;}
  .h70{height:35px;width:100%;clear:both;}
  .h80{height:40px;width:100%;clear:both;}
  .h90{height:45px;width:100%;clear:both;}
  .h100{height:50px;width:100%;clear:both;}

}

/* 991px ~ 321px */
@media (max-width: 991px) {
    :root {
        --font-size12: 12px;
        --font-size14: 14px;
        --font-size15: 15px;
        --font-size16: 16px;
        --font-size17: 17px;
        --font-size18: 16px;
        --font-size20: 16px;
        --font-size22: 20px;
        --font-size24: 24px;
        --font-size30: 24px;
        --font-size32: 24px;
        --font-size36: 28px;
        --font-size48: 30px;
        --font-size60: 40px;
    }
    body{
        font-size: 14px;
    }
    .video-bg{min-height: auto;}
    .video-bg video{height: auto;}
    .banner-video .banner-con{display:none}
    .section{padding:40px 0}
    .section1-list{grid-template-columns: repeat(1, 1fr); gap:20px;}
    .section1-list li .item-one{padding: 30px 30px;}
    .section1-list li .item-one .title{min-height: 30px;}
    .index-section2{background-size: 100% auto !important;  background-position:center top !important; background-repeat:no-repeat}
    .index-section2 .title-box .title {color: #fff;}
    .section2-list li{width: 100%; margin-top:20px;}
    .section2-list li .item-one{padding: 30px 20px;}
    .section2-list li .item-one .desc{height: auto; margin-top: 40px;}
    .section2-list li.on{width: 100%; transform: translateY(0); padding: 0;}
    .index-section3{padding:20px 0;}
    .pic-news-list{grid-template-columns: repeat(1, 1fr);gap: 20px;}
    .pic-news-list li{width:100%}
    .pic-news-list li a{padding:20px;}
    .pic-news-list li a .title{font-size:16px;}
    
    .sub-banner{ height: 150px; }
    .sub-banner .banner-con .item-con{margin-top: 20px; font-size:12px; letter-spacing: 0;}
    .product-channel-section1 .title-box{margin-bottom: 0;}
    .global-tech-innovations{justify-content: flex-start; flex-direction: column;}
    .global-tech-innovations .item-content{width: 100%;order:1}
    .global-tech-innovations .item-pic{width: 100%; margin-left: 0; order:2; margin-top:20px;}
    .global-tech-innovations .item-content .title{text-align:center}
    .global-tech-innovations .item-content .desc{font-size: 15px; margin-top:10px;}
    .product-channel-section1{padding-bottom:0}
    
    .product-cat-list li{width: 100%; padding: 10px 0;}
    .product-cat-list li .name{min-height: 40px; font-size: 16px;}
    .product-cat-list li .sub-cat-list{min-height: auto;}
    .product-cat-list li .sub-cat-list a{font-size: 14px; color:#111; }
    
    .organizations-list{grid-template-columns: repeat(2, 1fr); gap: 20px;}
    .organizations-list li .item-one{padding: 15px;}
    .organizations-list li .item-one .title{text-align:center}
    
    /*公司简介模块*/
    .normal-section{padding: 50px 0 0;}
    .about-info{justify-content: flex-start; flex-direction: column;}
    .about-info .about-info-image{width:100%; margin-bottom: 30px;}
    .about-info .about-info-content{width:100%; padding-left: 0;}
    .about-info .about-info-content .title{text-align:center}
    .tabs-box .tabs-header li{margin: 5px;}
    
    /*联系方式部分*/
    .contact-list{grid-template-columns: repeat(2, 1fr); gap: 20px;}
    .contact-list li .item-one .desc{font-size:14px;}
    .contact-list li img{display:none;}
    .contact-list li .item-one{position:static;}
    .contact-list li .item-one .icon{width:50px; height:50px;border-radius: 50px;}
    .contact-list li .item-one .title{margin-top: 15px;}
    .message-form{padding: 20px;}
    .message-form .form-item{width:100%; padding: 5px 0}
    .message-form .btn-box{padding: 10px 0}
    .message-form .btn-box button{width: 100%;max-width: 100%;}
    
    .article-list{padding:0}
    .article-list .article-item{padding: 20px 0;}
    .article-list .article-item .item-head h3{font-size: 18px;}
    .article-list .article-item:hover{box-shadow: none;border-radius: 0;}
    
    
    /*产品列表*/
    .product-main{padding-top: 0;}
    .product-main .main-box{flex-direction:column}
    .product-main .left-side{display:none;}
    .product-main .product-list-box{min-height:auto;}
    .product-list li{width: 100%;}
    .product-list li .name{height: auto; line-height:1.5; font-size: 18px;}
    .product-list-box .localtion{padding: 20px 0 10px; text-align:center}
    .product-list-box .localtion h3{font-size:16px;}
    .detail-section .abstract{font-size:14px;margin-top:20px;padding: 15px;}
    .detail-section .content{margin-top:20px;}
    
    
    /*用户中心*/
    .user-section{padding: 40px 10px !important;}
    .user-section .login-box, .user-section .register-box{width: 100%; padding:30px; max-width: 100%;}
    
    .user-section .auth-form .form-group{margin-bottom: 15px;}
    .field-tip{min-height:auto !important}
    .user-section .user-card{padding: 20px;}
    .none-data{
        position: static;
        width: 100%;
        left: auto;
        top: auto;
        transform: translate(0, 0);
        height: auto;
        color: #999;
        padding: 30px 0;
    }
    .foot-menus{ flex-wrap: wrap; }
    .copyright{padding: 20px 0 0; font-size: 12px;}
}

/* 确保桌面导航在小屏幕隐藏，移动导航在大屏幕隐藏 */
@media (max-width: 767px) {
    .header, .header-space {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-header, .mobile-header-space {
        display: none !important;
    }
}
