/* 弹窗 */
.popup {
  background: rgba(0, 0, 0, .5);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s;
}

.popup .popup-content {
  width: 1000px;
  height: 600px;
  background: #fff;
  margin: 0 auto;
  position: relative;
}

.popup .swiper-slide {
  position: relative;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.popup .swiper-slide img {
  width: auto;
  height: auto;
  width: 100%;
  height: 100%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
  object-fit: contain;
}

.popup .gallery-top {
  height: 350px !important;
  width: 600px !important;
  position: relative;
  margin: 0 auto;
  margin-top: 50px;
}

.popup .gallery-thumbs {
  width: 700px;
  height: 120px !important;
  box-sizing: border-box;
  padding: 10px 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.popup .gallery-thumbs .swiper-slide {
  height: 120px !important;
  opacity: 0.4;
  background-size: 100% 100%;
  cursor: pointer;
}

.popup .gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.popup .gallery-top .swiper-button-next.swiper-button-white,
.popup .gallery-top .swiper-button-prev.swiper-button-white {
  color: #023555;
  border-radius: 50%;
  border: 2px solid #023555;
  height: 45px !important;
  width: 45px !important;
  background-color: #fff !important;
}

.popup .gallery-thumbs .swiper-button-next.swiper-button-white,
.popup .gallery-thumbs .swiper-button-prev.swiper-button-white {
  color: #fff;
  background-color: rgba(0, 0, 0, .2) !important;
  height: 110px;
  top: 32px;

}

.popup .gallery-thumbs .swiper-button-next.swiper-button-white {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.popup .gallery-thumbs .swiper-button-prev.swiper-button-white {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.popup .gallery-top .swiper-button-next,
.popup .gallery-top .swiper-button-prev {
  width: calc(var(--swiper-navigation-size)/ 70 * 30);
  top: calc(50% + 10px);
  /*right: -200px !important;*/
}

.popup .gallery-top .swiper-button-prev,
.popup .swiper-container-rtl .swiper-button-next {
  /*left: -200px !important;*/
  /*background-color: #fff !important;*/
}
.popup .swiper-button-next{
     /*background-color: #fff !important;*/
}
.popup .gallery-thumbs .swiper-button-next.swiper-button-white {
  right: 0;
}

.popup .gallery-thumbs .swiper-button-prev.swiper-button-white {
  left: 0;
}

.popup .swiper-button-next:after,
.popup .swiper-button-prev:after {
  font-size: 26px !important;
  font-weight: 600;
  color: #000 !important;
}

.popup .swiper_bottom {
  display: flex;
  align-items: center;
  margin-top: 40px;
  justify-content: center;

}

.popup .swiper_bottom .popup_detail {
  margin-left: 25px;
}

.popup .swiper_bottom .popup_detail h2 {
  margin-bottom: 10px;
}

.popup .swiper_bottom .popup_detail p {
  color: #999999;
  font-size: 14px;
  line-height: 24px;
}

.popup .popup_close {
  width: 35px;
  height: 35px;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}




.ProdcutDetail {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  margin-top: 90px;
}

.seach-box {
  display: flex;
  justify-content: end;
  padding: 0 20px;
  padding-top: 40px;
  width: calc(100% - 50px);
}

.seach-box .seach-content {
  display: flex;
  align-items: center;
  position: relative;
}

.seach-box img {
  width: 15px;
  height: 15px;
  position: absolute;
  left: 10px;
}

.seach-box input {
  height: 44px;
  width: 100%;
  min-width: 300px;
  max-width: 400px;
  outline: none;
  border: 0;
  border: 1px solid #B0B0B0;
  padding: 12px;
  font-size: 16px;
  padding-left: 35px;
}

.seach-box .btns {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding:0 10px;
  font-size: 18px;
  margin-left: 5px;
  height: 44px;
  line-height: 44px;
}

.ProductDetail {
  display: block;
  padding: 0 10px;
  width: calc(100% - 20px);
  margin: 0 auto;
  margin-top: 20px;
  padding-top: 20px;
}

.ProductDetail .ProductDetail-left {
  padding: 10px;
  margin: 10px 0;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  border: 0;
  flex-wrap: wrap;
}

.ProductDetail .ProductDetail-left .left-item {
  padding: 10px 5px;
  max-width: 86px;
  min-width: 86px;
  cursor: pointer;
  text-align: center;
  margin-bottom: 10px;
}
.ProductDetail .ProductDetail-left .left-item a{
    color: #000;
    text-decoration: none;
}
.actProductDetail {
  color: #fff !important;
  background-color: #000;
}
.actProductDetail a{
 color: #fff !important;
}

.ProductDetail .ProductDetail-right {
   flex: 1; 
}

.ProductDetail .ProductDetail-right .ProductDetail-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.ProductDetail .ProductDetail-right .ProductDetail-content .content-item {
  width: 165px;
  border: 1px solid #999999;
  margin: 10px;
  cursor: pointer;
}

.ProductDetail .ProductDetail-right .ProductDetail-content .content-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.ProductDetail .ProductDetail-right .ProductDetail-content .content-item .name {
  padding: 10px 5px;
  text-align: center;
  word-wrap: break-word;
}

@media screen and (max-width:820px) {
    .ProductDetail{
        margin-top: 0px;
        padding-top: 0px;
    }
  .ProductDetail .ProductDetail-right .ProductDetail-content .content-item {
    margin: 10px 8px;
  }

  .seach-box {
    width: calc(100% - 40px);
  }


  .popup .gallery-top {
    width: 100% !important;
  }

  .popup .gallery-thumbs {
    width: 100% !important;
  }
}

@media screen and (max-width:500px) {
    .popup .swiper_bottom{
        margin-top: 20px;
    }
  .seach-box input {
    max-width: 100%;
    min-width: calc(100% - 120px);
  }

  .popup .gallery-thumbs {
    height: 70px !important;
    padding:0;
  }

  .popup .gallery-thumbs .swiper-slide {
    height: 70px !important;
  }

  .popup .gallery-thumbs .swiper-button-next.swiper-button-white, .popup .gallery-thumbs .swiper-button-prev.swiper-button-white{
    height: 70px !important;
    top: 20px;
  }
  .popup .popup-content{
    height: 510px;
  }
  
  .ProductDetail .ProductDetail-right .ProductDetail-content .content-item {
    width: calc(100% / 2 - 20px);
  }
}

@media screen and (max-width:1300px) {
    .ProductDetail .ProductDetail-right .ProductDetail-content {
      justify-content: center;
    }

  .seach-box {
    justify-content: center;
  }

  .popup .popup-content {
    width: calc(100% - 40px);
    margin: 0 20px;
  }
}