@charset "utf-8";


.vendor_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);
}

.vendor_list_heading {
  height: 30rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 0rem;
}

.vendor_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  */


/* prolist start  */
.proud_list {
  width: 100%;
  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;
}

.proud-mid p {
  text-align: center;
  padding: 0rem;
}

/* 让 sawtooth 产品的阴影部分不撑开整体宽度 视觉补偿，解决锯齿右侧阴影多了20px的问题 */
.prolist .proud_list.sawtooth {
  margin-right: 0.5rem;
  /* 原本 2.5rem，减去约 2rem 阴影 */
}

/* 非锯齿款稍微调整左边距以对齐 */
.prolist .proud_list:not(.sawtooth) {
  margin-left: 1.5rem;
  /* 原本 2.5rem，微调平衡视觉 */
}



@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: 2.6rem;
    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: 5%;
    bottom: 5%;
  }

  .proud-mid p {
    text-align: center;
    padding: 0rem 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/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 / 35;
  flex-shrink: 0;
}

@media screen and (max-width:1700px) {
  .proud_list p {
    padding-top: 1rem;
  }
}

@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;
  }
}

@media (max-width: 768px) {
  .proud-mid h3 {
    font-size: 3rem;
  }

  .pdr20 {
    padding-right: 10px;
    width: 96%;
  }
}

@media (max-width: 480px) {
  .sawtooth .img-box {
    margin-right: 0.5rem;
  }

  .proud-mid h3 {
    font-size: 2.5rem;
  }

  .proud-mid {
    padding: 0rem 1rem;
  }
}

@media (max-width: 420px) {
  .sawtooth .img-box {
    margin-right: 0.3rem;
  }
}

.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) {

  .vendor_list_heading h2 {
    font-size: 12rem;
  }

  .vendor_list_heading p {
    font-size: 6rem;
  }

  .search-btn {
    width: 70px;
  }

  .search-input {
    height: 50px;
    padding-left: 1.5rem;
  }


}

@media screen and (max-width: 992px) {

  .vendor_listbg {
    padding: 0.5rem 0 15rem 0;
    background: url(../images/part5bg_mc.png) repeat-x;
    background-color: #97C1E4;
    background-position: 5rem calc(100% - 6rem);
  }

  .vendor_list_heading {
    height: 15rem;
  }

  .vendor_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) {
  .vendor_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%;
  }
}