.main-top-box {
  padding: 100px 0 120px 0;
  background-image: url("../images/products-top-background-img.png");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}
.main-top-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: -1;
}
.main-top-text-box > h2 {
  color: white;
  text-align: center;
  font-weight: 600;
  font-size: 50px;
}
.main-top-text-box > p {
  color: white;
  font-size: 20px;
  text-align: center;
  margin: 20px 0 40px 0;
}
.main-top-text-box > h5 {
  text-align: center;
  color: #ff4d47;
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
}
.main-box {
  overflow: hidden;
	background: #ffffff;
}
.main-crumbs-box {
  margin-top: 40px !important;
  margin-bottom: 120px;
  display: flex;
  align-items: center;
}
.main-crumbs-box > img {
  width: 20px;
  margin-right: 10px;
}
.main-crumbs-box p {
  margin-bottom: 0 !important;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  border: 1px solid rgb(220, 220, 220);
  border-radius: 5px;
}

.max-img {
  padding: 100px 0;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: cover;
}
/* 改为白底黑字 */
body {
  background: #fff !important;  /* 白色背景 */
  color: #000 !important;       /* 黑色文字 */
}

.swiper {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: auto;
  width: 100%;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
  padding-top: 20px !important;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide img {
  display: block;
  width: 80%;
  height: 100%;
  object-fit: cover;
}

.main-left-text-box {
  margin-top: 50px;
}
.main-left-text-box p {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgb(220, 220, 220);
}
.main-left-text-box p > img {
  width: 28px;
  margin-right: 20px;
}

.main-right-text-box {
  margin-left: 50px !important;
}
.main-right-text-box h3 {
  font-weight: 600;
  line-height: 40px;
  font-size: 30px;
}
.main-right-text-box > p:nth-child(2) {
  line-height: 30px;
  margin: 40px 0;
}
.main-right-text-box > p:nth-child(4),
.main-right-text-box > p:nth-child(6),
.main-right-text-box > p:nth-child(7) {
  font-size: 18px;
  font-weight: 600;
}
.main-right-text-box > p:nth-child(4) > span {
  text-decoration: line-through;
}
.main-right-text-box > p:nth-child(6) > span {
  color: #ff4d47;
}
.main-right-specifications-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 40px 0 10px 0;
}
.main-right-specifications-box button {
  border: 1 solid black;
  background-color: white;
  margin-right: 20px;
  margin-bottom: 10px;
  padding: 10px 25px;
}
.specifications-active {
  background-color: black !important;
  color: white;
}

.quantity-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.quantity-btn {
  width: 30px;
  height: 40px;
  border: none;
  background-color: #fff;
  cursor: pointer;
  font-size: 16px;
  outline: none;
}

.quantity-btn:hover {
  background-color: #f5f5f5;
}

.quantity-input {
  width: 40px;
  height: 40px;
  text-align: center;
  border: none;
  font-size: 16px;
  outline: none;
}

.main-right-cart-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.main-right-cart-box > button:last-child {
  margin-left: 20px;
  width: 100%;
  background-color: #ff4d47;
  color: white;
  border: 0;
  height: 40px;
}
.main-right-login > span {
  text-decoration: underline;
}
.main-right-login > span > span {
  color: #ff4d47;
}
.main-right-parameter-box {
  width: 100%;
  background-color: rgb(234, 234, 234);
  margin-top: 40px;
}
.main-right-parameter-box h5 {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-bottom: 1px solid #ddd !important;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 16px;
}
.main-right-parameter-box h5 > img {
  width: 15px;
}
.main-right-parameter-box table {
  width: 100%;
}
.main-right-parameter-box table > tbody {
  display: block;
}
.main-right-parameter-box table tr {
  border-bottom: 1px solid #ddd !important;
  display: flex !important;
}
.main-right-parameter-box table tr:nth-child(odd) {
  background-color: rgb(247, 247, 247);
}
.main-right-parameter-box table tr td,
.main-right-parameter-box table tr th {
  width: 28%;
  padding: 18px 0;
}
.main-right-parameter-box table tr td:nth-child(2),
.main-right-parameter-box table tr th:nth-child(2) {
  width: 16%;
}
.main-right-parameter-box table tr > td:nth-child(3),
.main-right-parameter-box table tr > td:nth-child(4),
.main-right-parameter-box table tr > th:nth-child(3),
.main-right-parameter-box table tr > th:nth-child(4) {
  text-align: center;
}
.main-right-parameter-box table tr > td:nth-child(1),
.main-right-parameter-box table tr > th:nth-child(1) {
  padding-left: 20px;
}
.main-right-parameter-box table tr > td:last-child,
.main-right-parameter-box table tr > th:last-child {
  padding-right: 20px;
}

.main-details-box {
  margin-top: 100px !important;
}
.main-details-list-box {
  display: flex;
  align-items: center;
}
.main-details-list-box button {
  background-color: black;
  border: 0;
  width: 20%;
  color: white;
  font-weight: 600;
  font-size: 24px;
  padding: 18px 0;
}
.details-list-active {
  background-color: #ff4d47 !important;
}
.Specifications-box {
  padding: 20px 0;
  line-height: 30px;
}
.technical-parameters-box h3 {
  padding: 18px 0;
  font-size: 26px;
  text-align: center;
  background-color: rgb(221, 221, 221);
  font-weight: 600;
}
.technical-parameters-box table {
  width: 100%;
  background-color: rgb(234, 234, 234);
  margin-top: 30px;
}
.technical-parameters-box table tr td {
  padding: 18px 40px;
}
.technical-parameters-box table tr {
  border-bottom: 1px solid white;
}
.technical-parameters-box table tr:nth-child(odd) {
  background-color: rgb(247, 247, 247);
}
.technical-parameters-box table tr td:nth-child(1) {
  width: 30%;
}
.technical-parameters-box table tr td:last-child {
  width: 70%;
}
.installation-process-box {
  padding: 80px 0;
  line-height: 30px;
}
.installation-process-box h3 {
  padding: 18px 0;
  font-size: 26px;
  text-align: center;
  background-color: rgb(221, 221, 221);
  font-weight: 600;
}
.installation-process-list-box {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 25px;
}
.installation-process-list-box p {
  /*margin-left: 40px;*/
  margin-top: 15px;
}
.installation-process-list {
  width: 30%;
  margin-bottom: 50px;
}
.installation-process-list div {
  display: flex;
  align-items: center;
}
.installation-process-list div > img {
  width: 20px;
  margin-right: 20px;
}
.installation-process-list div > h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}
.faq-box {
  padding-bottom: 80px;
  line-height: 30px;
}
.faq-box h3 {
  padding: 18px 0;
  font-size: 26px;
  text-align: center;
  background-color: rgb(221, 221, 221);
  font-weight: 600;
}
.faq-list-box {
  margin-top: 40px;
}
.faq-list {
  display: flex;
  justify-content: space-between;
}
.faq-list > h4 {
  font-size: 20px;
  font-weight: 600;
}
.faq-list > span {
  font-weight: 900;
  font-size: 25px;
}
.faqIcon2 {
  display: none;
  margin-right: 12px;
}
.faq {
  display: none;
  margin-top: 20px;
}
.faq-text-box {
  margin-top: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #ddd;
}
.warranty-and-service-box {
  padding-bottom: 80px;
  line-height: 30px;
}
.warranty-and-service-box h3 {
  padding: 18px 0;
  font-size: 26px;
  text-align: center;
  background-color: rgb(221, 221, 221);
  font-weight: 600;
}
.warranty-and-service-box ul {
  padding-left: 1rem;
  margin-top: 40px;
}
.warranty-and-service-box ul li {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 500;
}
.related-products-box {
  margin-top: 60px !important;
  margin-bottom: 150px;
}
.related-products-box h2 {
  font-weight: 600;
  text-align: center;
}
.Box {
  position: relative;
  margin-top: 40px;
}

.Box .content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.Box h2 {
  text-align: center;
  margin-bottom: 35px;
  padding-top: 50px;
}

.Box .Box_con {
  position: relative;
}

.Box .Box_con .btn {
  display: block;
  width: 41px;
  height: 41px;
  position: absolute;
  top: 120%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  background-color: rgb(242, 242, 242) !important;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.Box .Box_con .btnl {
  left: 46%;
}

.Box .Box_con .btnr {
  right: 46%;
}

.Box .Box_con .btnl:hover {
  background-color: #ff4d47 !important;
  color: white;
}

.Box .Box_con .btnr:hover {
  background-color: #ff4d47 !important;
  color: white;
}

.Box .Box_con .conbox {
  position: relative;
  overflow: hidden;
}

.Box .Box_con .conbox ul {
  position: relative;
  list-style: none;
  padding-left: 0;
  display: flex;
  transition: transform 0.5s ease;
}

.Box .Box_con .conbox ul li {
  height: auto;
  overflow: hidden;
  padding: 0 10px;
  flex-shrink: 0; /* 防止项目缩小 */
  text-align: center;
}

.Box .Box_con .conbox ul li div {
  border-radius: 10px;
  background-color: rgb(242, 242, 242);
  padding: 50px 0;
}

.Box .Box_con .conbox ul li > p:nth-child(2) {
  margin: 20px 0 10px 0;
}

.Box .Box_con .conbox ul li > p:nth-child(3) {
  color: #ff4d47;
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 600;
}

.Box .Box_con .conbox ul li div img {
  display: block;
  width: 75%;
  height: auto;
  margin: 0 auto;
  transition: all 0.5s;
}

/* .Box .Box_con .conbox ul li:hover img {
  transform: scale(1.05);
} */

.Box .BoxSwitch {
  margin-top: 30px;
  text-align: center;
}

.Box .BoxSwitch span {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 3px;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.Box .BoxSwitch span.cur {
  background: red;
}

.wishlist-button-container.product-page,.vehicle-fitment-box{
  margin-left: 50px !important;
}

.stock-line{
  color: black !important;
  margin-bottom: 2rem;
}
.main-right-login{
  color: black !important;
  padding: 7px 0 !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
}
.main-right-login > span{
  color: #ff4d47;
}
.grade-btn{
  border-radius: 0 !important;
}

/* 响应式样式 - 控制每行显示数量 */
@media (min-width: 1024px) {
  .Box .Box_con .conbox ul li {
    width: 25%; /* 电脑端一行4个 */
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .Box .Box_con .conbox ul li {
    width: 33.333%; /* 平板端一行3个 */
  }
  .main-crumbs-box {
    margin-bottom: 80px;
  }
  .main-right-text-box,.wishlist-button-container.product-page,.vehicle-fitment-box {
    margin-left: 0 !important;
  }
  .main-details-list-box button {
    width: 49.9%;
    margin-bottom: 2px;
    font-size: 2vw;
  }
  .main-details-list-box {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .quantity-input,
  .quantity-btn,
  .main-right-cart-box > button:last-child {
    height: 60px;
  }
  .installation-process-list {
    width: 46%;
  }
  .Box .Box_con .btnl {
    left: 42%;
  }
  .Box .Box_con .btnr {
    right: 42%;
  }
}

@media (max-width: 767px) {
  .Box .Box_con .conbox ul li {
    width: 50%; /* 手机端一行2个 */
  }

  .Box .Box_con .btn {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 580px) {
  .main-top-box {
    padding: 50px 0 50px 0;
  }
  .main-top-text-box > h5 {
    font-size: 18px;
    line-height: 35px;
  }
  .main-crumbs-box {
    flex-wrap: wrap;
    margin-bottom: 40px;
  }
  .main-crumbs-box p,
  .main-crumbs-box a {
    line-height: 40px;
  }
  .max-img {
    padding: 60px 0;
  }
  .swiper-slide {
    padding: 20px 0;
  }
  .main-left-text-box p {
    font-size: 16px;
  }
  .main-left-text-box p > img {
    width: 24px;
  }
  .main-right-text-box,.wishlist-button-container.product-page,.vehicle-fitment-box {
    margin-left: 0 !important;
  }
  .main-details-list-box button {
    width: 49.8%;
    margin-bottom: 2px;
    font-size: 3.5vw;
  }
  .main-details-list-box {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .main-details-box {
    margin-top: 50px !important;
  }
  .installation-process-list {
    width: 100%;
  }
  .installation-process-box {
    padding: 50px 0;
  }
  .warranty-and-service-box {
    padding-bottom: 50px;
  }
  .Box .Box_con .btnr {
    right: 38%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .Box .Box_con .btnl {
    left: 38%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .table-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* 优化移动端滚动体验 */
    margin-top: 30px; /* 保持原有的顶部间距 */
  }
  .technical-parameters-box table {
    min-width: 800px; /* 确保表格有足够宽度触发滚动 */
  }

  .technical-parameters-box table tr td {
    padding: 12px 20px; /* 减小移动端内边距，节省空间 */
    font-size: 14px; /* 适配小屏幕字体 */
  }
  .table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* 优化移动端滑动体验 */
    margin: 0; /* 移除默认外边距 */
  }
  #mainTable {
    min-width: 600px; /* 最小宽度，根据内容调整 */
    width: 100%;
  }
  #mainTable tr th,
  #mainTable tr td {
    padding: 12px 15px; /* 适当减小内边距 */
    font-size: 14px; /* 调整字体大小适配手机 */
  }

  /* 表头样式强化，突出区分 */
  #mainTable tr th {
    background-color: #f0f0f0;
    font-weight: bold;
  }
  .main-top-text-box > h2{
    font-size: 30px;
  }
}
@media (max-width: 1536px) {
  .main-details-list-box button {
    font-size: 1.56vw;
  }
}
.installation-process-list-box div{
    width: 450px!important;
}

