@charset "utf-8";


/* scrolling swiper hot products at vendor, product detail, cart page  */
/* swiper slides for best sellers */
.hot_prod {
  padding: 0 0 16rem 0;
  background: url(../images/part5bg.png) repeat-x;
  background-color: #97C1E4;
  background-position: 7rem calc(100% - 8rem);
  overflow: hidden;
  margin-top: -1px;
}

.hot_prod .container-fluid {
  padding-bottom: 8rem;
}

.hot_prod .swiper {
  overflow: visible;
}

.hot_prod .swiper-wrapper {
  display: flex;
  transition-timing-function: linear !important;
  will-change: transform;
}

.hot_prod .swiper-slide {
  flex-shrink: 0;
  margin-right: 20px;
}

.hot_prod .swiper-slide img {
  width: 96%;
  display: block;
  margin-left: -1px;
}

.proud_list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.pdr20 {
  padding-right: 20px;
}

/* 响应式控制可视数量 */
/* scrolling hot products swiper pc  */
@media (min-width: 992px) {
  .mySwiper .swiper-slide {
    flex: 0 0 calc((100% - 3*20px)/4);
    max-width: calc((100% - 3*20px)/4);
    margin-right: 20px;
  }
}

/* scrolling hot products swiper ipad  */
@media (min-width: 768px) and (max-width: 991px) {
  .mySwiper .swiper-slide {
    flex: 0 0 calc((100% - 2*16px)/3);
    max-width: calc((100% - 2*16px)/3);
    margin-right: 16px;
  }
}

@media (max-width:992px) {

  /* 小屏幕1:1图片太靠近右侧 */
  .sawtooth .proud-mid {
    padding-right: 2.5rem;
    padding-left: 1rem;
  }

  /* 手机端底部白底太高 */
  .proud-botbg2 {
    background: #fff url("../images/proud-botbg2.png") no-repeat center bottom;
    aspect-ratio: 458 / 15 !important;
  }

  .proud-mid h3 {
    font-size: 3rem;
  }
}

/* scrolling hot products swiper mobile  */
@media (max-width: 768px) {
  .hot_prod .container-fluid {
    padding-bottom: 5rem;
  }

  .mySwiper .swiper-slide {
    flex: 0 0 calc((100% - 1*12px)/2);
    max-width: calc((100% - 1*12px)/2);
    margin-right: 12px;
  }

  .pdr20 {
    padding-right: 10px;
  }




}

@media (max-width:480px) {


  .sawtooth .img-box {
    margin-right: 0.7rem;
  }
}

/* 三段背景 */
.proud-top {
  background: url("../images/proud-topbg.png") no-repeat center top;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 458 / 31;
  flex-shrink: 0;
}

.proud-mid {
  margin-top: -1px;
  background: url("../images/proud-midbg.png") repeat-y center top;
  background-size: 100% auto;
  width: 100%;
  flex: 1;
  min-height: 100px;
  /* 内容较少时保持基本高度 */
  padding: 1rem 1rem;
}

/* 图片外层容器，用于固定比例并居中内容 */
.proud-mid .img-box {
  width: 90%;
  margin: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-right: 1.5rem; */
  overflow: hidden;
  position: relative;
}

.pbox_bgw .img-box {
  padding-right: 0rem;
}

/* 图片本身：等比例缩放，保持完整显示 */
.proud-mid .img-box img {
  height: auto;
  width: 100%;
  display: block;
  margin: auto;
  object-fit: contain;

}

.proud-mid {
  padding: 0rem 1rem;
}

@media screen and (min-width:992px) {
  .proud-mid h3 {
    font-size: 4rem;
    margin-bottom: 0;
  }

}

.proud-mid p {
  text-align: center;
  padding: 0rem;
}

@media screen and (min-width:1700px) {

  .sawtooth .img-box {
    width: 85%;
    margin: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3rem;
    padding-right: 2rem;
    overflow: hidden;
    position: relative;
  }

  .proud-mid p {
    text-align: center;
    padding: 1rem 2rem 0rem 1rem;
  }
}

@media (min-width:1100px) and (max-width:1690px) {
  .proud-mid .img-box {
    width: 80%;
    margin: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-right: 1.5rem; */
    overflow: hidden;
    position: relative;
  }

  .sawtooth .proud-mid p {
    padding: 1rem 1.5rem 0 1.5rem;
  }
}

.proud-bot {
  background: url("../images/proud-botbg.png") no-repeat center bottom;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 458 / 55;
  /* 根据下图比例调整 */
  flex-shrink: 0;
  margin-top: -1px;
}

.pbox_bgw {
  background: #fff;
}


.proud-botbg2 {
  background: #fff url("../images/proud-botbg2.png") no-repeat center bottom;
  background-size: cover;
  /* 让背景自然充满 */
  width: 100%;
  aspect-ratio: 458 / 55;
  flex-shrink: 0;
}

@media screen and (max-width:1700px) {
  .proud_list p {
    padding-top: 1rem;
  }
}

/* scrolling swiper hot products at vendor, product detail, cart page  */