@charset "utf-8";


.product_listbg {
  min-height: 30rem;
  padding: 2rem 0 25rem 0;
  background: url(../images/part5bg.png) repeat-x;
  background-color: #97C1E4;
  background-position: 7rem calc(100% - 8rem);
}

.product_list_heading {
  height: 30rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 0rem;
}

.product_list_heading p {
  font-size: 4rem;
  padding-top: 1rem;
}

/* search start  */
.searchbox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0rem auto 3rem auto;
}

.search-wrapper {
  display: flex;
  width: 100%;
  max-width: 1620px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.search-input {
  flex: 1;
  border: none;
  padding-left: 2rem;
  font-size: 1.8rem;
  color: #211f20;
  outline: none;
  height: 64px;
}

.search-input::placeholder {
  color: #adadad;
}

/* 搜索按钮部分 */
.search-btn {
  background-color: #1e4886;
  color: #fff;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background-color: #15396b;
}

.search-btn i {
  font-size: 1.4rem;
}

/* PC端按钮宽度 */
.search-btn {
  width: 100px;
}

/* search start end  */

/* collections nav  */
/* 外层导航容器 */
.collections {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 2rem;
  padding-top: 1rem;
  gap: 6rem;
  /* PC端间距 */
}

/* 每个链接样式 */
.collections a {
  position: relative;
  text-decoration: none;
  color: #1e4886;
  font-size: 2rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
  /* 给下边框留空间 */
  transition: color 0.2s ease;
}

.collections a:hover {
  color: #15396b;
}

/* active下边框效果 */
.collections a.active::after {
  content: "";
  position: absolute;
  left: 0;
  /* 让线居中，宽度为文字的50% */
  bottom: 0;
  width: 50%;
  height: 2px;
  background-color: #1e4886;
  border-radius: 2px;
}

/* collections nav  */

/* prolist start  */
.proud_list {
  width: 95%;
  display: flex;
  flex-direction: column;
}


/* 三段背景 */
.proud-top {
  background: url("../images/proudtopbg.png") no-repeat center top;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 345 / 22;
  flex-shrink: 0;
}

.proud-mid {
  margin-top: -1px;
  background: url("../images/proudmidbg.png") repeat-y center top;
  background-size: 100% auto;
  width: 100%;
  flex: 1;
  min-height: 100px;
  /* 内容较少时保持基本高度 */
  padding: 0.5rem 1rem;
}

/* 图片外层容器，用于固定比例并居中内容 */
.proud-mid .img-box {
  width: 90%;
  margin: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  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;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.img-box img:hover {
  /* transform: scale(1.05); */
  filter: brightness(1.15) contrast(1.05);
}

/* 价格标签 */
.price_list {
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-color: #f9dd8a;
  padding: 1rem 1rem 1rem 2.5rem;
  font-size: 1.6rem;
  color: #000;
  border-top-left-radius: 25px;
  /* 左上圆角 */
  border-bottom-left-radius: 25px;
  /* 左下圆角 */
  line-height: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 删除价样式 */
.price_list del {
  color: #c4c2b4;
  font-size: 1.4rem;
}


.proud-mid h3 {
  font-size: 4rem;
  margin-bottom: 0;
  padding-right: 10px;
}

.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;
    overflow: hidden;
    position: relative；
  }

  .proud-mid .img-box img {
    height: auto;
    width: 100%;
    display: block;
    margin: auto;
    object-fit: contain;

  }

  .price_list {
    position: absolute;
    right: 0%;
    bottom: 0%;
  }

  .proud-mid p {
    text-align: center;
    padding: 1rem 2rem 0rem 1rem;
  }
}


.proud-bot {
  background: url("../images/proudbotbg.png") no-repeat center bottom;
  background-size: 100% auto;
  width: 100%;
  aspect-ratio: 345 / 15;
  /* 根据下图比例调整 */
  flex-shrink: 0;
  margin-top: -1px;
}

.pdr20 {
  padding-right: 20px;
}

.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 / 15;
  flex-shrink: 0;
}

@media screen and (max-width:1700px) {
  .proud_list p {
    padding-top: 1rem;
  }

  .proud-botbg2 {
    background: #fff url("../images/proud-botbg2.png") no-repeat center bottom;
    aspect-ratio: 458 / 40;
  }
}

@media (max-width: 992px) {

  /* 手机端底部白底太高 */
  .proud-botbg2 {
    background: #fff url("../images/proud-botbg2.png") no-repeat center bottom;
    aspect-ratio: 458 / 49;
  }
}

@media (max-width: 768px) {
  .proud-mid h3 {
    font-size: 3rem;
  }

  /* .pdr20 {
    padding-right: 10px;
    width: 96%;
  } */
}

@media (max-width: 480px) {

  .proud-mid h3 {
    font-size: 2.5rem;
  }

  .proud-mid {
    padding: 0rem 1rem;
  }
}



.prolist {
  padding: 3rem 0;
}

.prolist .proud_list {
  margin: 2.5rem;
}


/*test*/
/* 统一容器安全区与居中布局 */
section.prolist,
.container.prolist {
  padding-left: 4rem;
  padding-right: 4rem;
}

.prolist .row,
.prolist .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  /* 居中所有列/滑块 */
}

/* 所有 proud_list，无论是否带 sawtooth 都生效 */
.prolist .proud_list {
  margin: 2rem 1.5rem;
  flex: 0 0 auto;
  /* 防止被拉伸 */
}

/* 响应式优化 */
@media (max-width: 1700px) {

  section.prolist,
  .container.prolist {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media (max-width: 1200px) {

  section.prolist,
  .container.prolist {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (max-width: 768px) {

  section.prolist,
  .container.prolist {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .prolist .proud_list {
    margin: 1.2rem 0.8rem;
  }
}

/* prolist end */


/* pagination  */

.prolistpage .pagination {
  margin: 3rem auto;
  justify-content: center;
}

.prolistpage .page-link {
  min-width: 60px;
  height: 60px;
  line-height: 58px;
  text-align: center;
  display: inline-block;
  font-size: 1.8rem;
  color: #211f20;
  border: 1px solid rgba(196, 194, 180, 0.3);
  border-radius: 0;
  transition: all 0.3s ease;
}

.prolistpage .page-item.active .page-link {
  background-color: #1e4886;
  color: #fff;
  border-color: #1e4886;
}

.prolistpage .page-link:hover {
  background-color: #f0f0f0;
  color: #1e4886;
}

.prolistpage .page-item.disabled .page-link {
  color: #c4c2b4;
  pointer-events: none;
  background-color: #fff;
  border-color: #ddd;
}

/* pagination  */

@media screen and (min-width:992px) {

  .product_list_heading h2 {
    font-size: 12rem;
  }

  .product_list_heading p {
    font-size: 6rem;
  }

  .search-btn {
    width: 70px;
  }

  .search-input {
    height: 50px;
    padding-left: 1.5rem;
  }


}

@media screen and (max-width: 992px) {

  .product_listbg {
    padding: 0.5rem 0 15rem 0;
    background: url(../images/part5bg_mc.png) repeat-x;
    background-color: #97C1E4;
    background-position: 5rem calc(100% - 6rem);
  }

  .product_list_heading {
    height: 15rem;
  }

  .product_list_heading p {
    padding-top: 0;
    font-size: 3rem;
  }

  /* 价格标签 */
  .price_list {
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    font-size: 1.4rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    line-height: 1.4rem;
    gap: 0.5rem;
  }

  .prolistpage .page-link {
    min-width: 40px;
    height: 40px;
    line-height: 30px;
    font-size: 1.6rem;
  }
}

@media screen and (max-width:768px) {
  .product_list_heading p {
    font-size: 2.4rem;
  }

  .search-input {
    font-size: 1.6rem;
    height: 44px;
  }

  .search-btn {
    width: 50px;
  }

  .collections {
    padding-left: 1rem;
    gap: 1rem;
  }

  .collections a {
    line-height: 2rem;
    font-size: 1.6rem;
  }

}

@media (max-width: 450px) {
  .search-wrapper {
    width: 98%;
  }

  .search-input {
    font-size: 1.4rem;
  }

  .price_list {
    font-size: 1.2rem;
    line-height: 1.2rem;
  }

  .proud-mid p {
    line-height: 1.8rem;
    font-size: 1.2rem;
  }

  .proud-mid .img-box img {
    max-width: 100%;
  }
}