/* 详情部分 */

.productsDetailImg {
  display: flex;
  width: 1200px;
  margin: 3rem auto 0;
}

.productsDetailBigImg {
  flex: 1;
  height: 58rem;
  width: 100%;
  position: relative;
  margin-right: 2rem;
  padding: 50px;
  background-color: #fff;
  display: flex;
  align-items: center;
}

#current-image {
  width: 100%;
  height: auto;
}

#prev-btn,
#next-btn {
  position: absolute;
  padding: 10px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}
#prev-btn {
  left: 10px;
}
#next-btn {
  right: 10px;
}

.productsDetailMinImg {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thumbnail {
  width: 12rem;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px;
  background-color: #fff;
  display: flex;
  align-items: center;
}

.productsDetailSmallImg {
  height: 12rem;
  display: flex;
  justify-content: flex-start;
}

.productsDetailSmallImg img {
  width: 100%;
  height: auto;
}
.productsDetailText {
  padding: 0 2.2rem;
}

.productsDetailTitle {
  margin-top: 1.2rem;
  font-size: 3.6rem;
  font-weight: 600;
}

.productsDetailTarget {
  line-height: 4.6rem;
  font-size: 2rem;
  font-weight: 300;
}

.productDetailUl {
  margin-top: 2.5rem;
  font-size: 1.8rem;
  font-weight: 300;
  /*padding: 0 20px;*/
}
.productDetailList {
  width: 1200px;
  margin: 6rem auto 0;
  display: flex;
  border-bottom: 1px solid #dfdfdf;
  justify-content: space-between;
  padding: 0 1rem;
}
.productDetailList .page-link {
  background-color: transparent;
  border: none;
  font-size: 2.6rem;
  color: #000;
  background-color: transparent;
  border-color: transparent;
  font-weight: 500;
  position: relative;
}
.productDetailList .page-item.active {
  position: relative;
}

.productDetailList .page-item.active .page-link {
  color: #000;
  background-color: transparent;
  border-color: transparent;
  font-weight: 500;
}
.productDetailList .page-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 2px;
  background-color: #d60110;
}

.productDetailList .page-link:focus {
  box-shadow: none;
}

.productDetailContent .fade {
  display: none;
}

.productDetailContent .active {
  display: block;
}

.productDetailSection {
  width: 1200px;
  margin: 0 auto;
}

.productSection1 {
  display: flex;
  height: 38rem;
  margin: 3rem 0;
}

.section1Left {
  flex: 1;
  padding: 6rem 4.7rem 0;
}

.section1Right {
  width: 64rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.section1Title {
  font-size: 3.4rem;
  font-weight: 500;
  position: relative;
}
.section1Text {
  font-size: 2rem;
  margin-top: 6.2rem;
  font-weight: 300;
}
.redSpot::after {
  content: '';
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d60110;
}

.productSection2 {
  text-align: center;
}

.productSection2Title {
  margin: 0 auto;
  font-size: 3.4rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.productSection2Target {
  width: 60%;
  margin: 0 auto;
  font-size: 1.8rem;
  font-weight: 300;
}

.productSection2Img {
  width: 75%;
}

.productSection3Title {
  line-height: 9.8rem;
  margin-left: 6.8rem;
  font-size: 3.4rem;
  font-weight: 500;
  position: relative;
}

.productSection3TopImg {
  width: 1200px;
  border-radius: 8px;
}

.productSection3Target {
  display: flex;
}

.productSection3TargetLeft {
  padding: 4rem 0 0 6.8rem;
  font-size: 1.8rem;
  font-weight: 250;
  flex: 1;
}
.productSection3TargetRight {
  padding: 3.6rem 0 0 8rem;
  font-size: 3rem;
  flex: 1;
}
.productSection3Card {
  display: flex;
}

.productSection3CardMain {
  flex: 1;
  margin-right: 4.5rem;
  background-color: #fff;
  margin-top: 8rem;
  border-radius: 4px;
}
.productSection3CardMain:last-child {
  margin-right: 0;
}
.productSection3CardMain img {
  width: 100%;
}

.productSection3Tips {
  line-height: 12rem;
  font-size: 1.8rem;
  font-weight: 400;
  padding: 0 2.7rem;
}

.productSection4Title {
  font-size: 3.4rem;
  font-weight: 500;
  text-align: center;
  margin-top: 6.8rem;
  line-height: 10rem;
}

.productSection4Table {
  width: 100%;
/*  border: 1px solid #ddd;*/
  margin-bottom: 8.2rem;
}
.productSection4Table tr td:first-child {
  border-right: 1px solid #fff；
  padding-left: 12px;
  padding: 0 20px;
}

.productSection4Table tr td:nth-child(2) {
  padding-left: 20px;
}

.productSection4Table tr {
  line-height: 5.8rem;
  font-size: 1.4rem;
}

.productSection4Table tbody tr:nth-child(odd) {
  background-color: #f2f3f4;
}
.productSection4Table tbody tr:nth-child(even) {
  background-color: #d1d2d4;
}

.productSection4Table tbody tr:hover {

}

.productSection4Table thead tr {
  background-color: #f15929;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 200;
}


.caseSwiper {
  width: 1000px;
  margin: 0 auto;
}

.caseSwiperMain {
  display: flex;
  height: 50rem;
}
.caseSwiperLeft {
  flex: 1;
  display: flex;
  align-items: center;
}

.caseLeftCare {
  height: 43rem;
  background-color: #fff;
  padding: 2.8rem 6.2rem 0 4.8rem;
  width: 100%;
}
.caseLeftCareTitle {
  line-height: 9.4rem;
  font-size: 3.2rem;
}

.caseLeftCareText {
  font-weight: 300;
  font-size: 1.8rem;
}

.caseLeftLink {
  margin-top: 4.4rem;
}

.caseSwiperRight {
  flex: 1;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 8px;
}

.caseSwiperImg {
  height: 100%;
}

.caseSwiperLeftIcon,
.caseSwiperRightIcon {
  font-size: 4rem;
  color: #000 !important;
  opacity: 1;
}

.caseSwiperLeftIcon:hover,
.caseSwiperRightIcon:hover {
  color: #000 !important;
}

.caseSwiperLeftIcon {
  left: -12rem;
}
.caseSwiperRightIcon {
  right: -12rem;
}
@media all and (min-width: 769px) and (max-width: 1280px) {
  .productsDetailImg {
    width: 720px;
  }
  .productsDetailTitle {
    font-size: 3rem;
  }
  .productsDetailTarget {
    font-size: 1.6rem;
  }
  .productDetailUl {
    font-size: 1.4rem;
  }
  .thumbnail {
    flex: 1;
    width: auto;
  }
  .productDetailList {
    width: 720px;
  }
  .productsDetailBigImg {
    height: auto;
  }

  .productDetailSection {
    width: 720px;
  }
  .productSection1 {
    height: auto;
    flex-direction: column;
  }

  .section1Right {
    height: 300px;
    margin: 0 auto;
  }

  .productSection3TopImg {
    width: 720px;
  }
  .caseSwiper {
    width: 620px;
  }
  .caseSwiperLeftIcon {
    left: -60px;
  }
  .caseSwiperRightIcon {
    right: -60px;
  }

  .caseSwiperMain {
    height: 42rem;
  }

  .caseLeftCare {
    height: 36rem;
  }

  .caseLeftLink {
    margin-top: 2rem;
  }
}

@media all and (max-width: 768px) {
    .tableScroll {
    overflow-x: scroll;
    -ms-overflow-style: none; /* IE10+ */
    scrollbar-width: none; /* Firefox */
    margin-bottom: 8.2rem;

    /* Webkit (Safari/Chrome) */
  }

  .tableScroll::-webkit-scrollbar {
    display: none;
  }

  .productSection4Table {
    width: 680px;
    margin-bottom: 0;
  }

  .productsDetailImg {
    width: 100%;
    flex-direction: column-reverse;
    position: relative;
    padding-bottom: 18rem;
  }
  .productsDetailSmallImg {
    justify-content: flex-start;
    width: 100%;
    position: absolute;
    bottom: 0;
  }

  .productDetailList {
    padding: 0 10px;
    width: 100%;
  }

  .productDetailList .page-link {
    font-size: 10px;
  }
  .productDetailSection {
    padding: 0 10px;
    width: 100%;
  }

  .productSection1 {
    height: auto;
    flex-direction: column;
  }

  .section1Right {
    height: 200px;
    margin: 0 auto;
  }
  .productSection2Target {
    width: 90%;
  }
  .productSection2Img {
    width: 100%;
  }

  .productSection3TopImg {
    width: 100%;
  }

  .productSection3Tips {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 170px;
  }

  .caseSwiper {
    width: 340px;
    padding: 0 20px;
  }
  .caseSwiperLeftIcon {
    left: -50px;
  }
  .caseSwiperRightIcon {
    right: -50px;
  }

  .caseLeftCare {
    padding: 0;
    padding-left: 10px;
    height: 140px;
  }

  .caseSwiperMain {
    height: 160px;
  }

  .caseLeftCareTitle {
    line-height: 40px;
    font-size: 18px;
  }

  .caseLeftCareText {
    display: -webkit-box; /* 使用旧版 WebKit 内核的浏览器（如 Safari） */
    display: -moz-box; /* 使用旧版 Gecko 内核的浏览器（如 Firefox） */
    display: box; /* 使用新版 Flexbox 内核的浏览器 */
    -webkit-line-clamp: 4; /* 设置显示的最大行数 */
    -webkit-box-orient: vertical; /* 设置垂直排列 */
    overflow: hidden; /* 当文本超出容器时进行隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    white-space: normal; /* 允许换行 */
  }
  .link {
    display: none;
  }

  .productDetailList .list-item {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
}
