.hd_swiper {
  max-width: 1920px;
  height: 400px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

#swiper-banner {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 0px;
  display: block;
}

#swiper-banner .swiper-wrapper .swiper-slide {
  width: 100% !important;
  height: 400px;
}

.swiper-slide{
    width: 100% !important;
    height: 400px;
}

.swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  
}

.auto-content{
  margin-top: 20px;
  background-color: #fff;
  border-radius: 20px;
  height: 200px;
  margin-bottom: 32px;
  position: relative;
}

  .auto-content-title{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px 24px 18px 24px;
  }

  .auto-content-title .title-icon{
    width: 10px;
    height: 10px;
    background: #fff;
    margin-right: 12px;
    transform:rotate(45deg)
  }

  .auto-content-title .title-text{
    font-size: 20px;
    color: #fff;
    line-height: 23px;
    font-weight: bold;
  }

  .auto-content-border{
    width: 161px;
    height: 2px;
    margin: 0 auto;
    position: absolute;
    top: 57px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient( 90deg, rgba(255,255,255,0) 0%, #FFFFFF 46%, #FFFFFF 53%, rgba(255,255,255,0) 100%);
  }

  .auto-content-main{
    height: 100%;
    border-radius: 20px;
    padding-bottom: 32px;
  }

  .content-box{
    padding: 24px;
    height: 100%;
  }

  .auto-content-main-item{
    display: block;
    max-width: 211px;
    color: #333;
    line-height: 17px;
    text-align: center;
    background: rgba(255,255,255,0.4);
    border-radius: 2px 2px 2px 2px;
    border: 1px solid #D5D7D8;
    white-space: nowrap; /* 防止文本换行 */
    text-overflow: ellipsis; /* 超出宽度显示省略号 */
    overflow: hidden; /* 隐藏溢出的文本 */
    padding: 5px 12px;
    font-size: 14px;
  }

  .auto-content-main-item::first-letter {
    text-transform: uppercase;
  }

  .auto-content-main-item:hover{
    color: #333;
  }



  /* 分类商品推广 */

.index-rec-card {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

.index-rec-card .index-rec-card-hd {
  width: 20%;
}

.index-rec-card .index-rec-card-hd a {
  display: block;
  border-radius: 10px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  position: relative;
  background-color: #37474f;
  padding: 24px;
  box-sizing: border-box;
}

.index-rec-card .index-rec-card-hd .index-rec-card-hd-title {
  display: block;
  padding: 8px 0 24px;
  line-height: 36px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.index-rec-card .index-rec-card-hd .index-rec-card-hd-btn {
  display: block;
  margin: 0 auto;
  width: 160px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 18px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.index-rec-card .index-rec-card-hd .index-rec-card-hd-btn:hover {
  background-color: #e71a41;
  color: #fff;
  border-color: #e71a41;
}

.index-rec-card .index-rec-card-products {
  width: 80%;
  padding: 20px 20px 10px;
}

.index-rec-product-item .index-rec-product-main {
  display: block;
}

.index-rec-product-item .index-rec-product-img {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  background-color: #efefef;
  border: 1px solid #f8f8f8;
  border-radius: 14px;
  overflow: hidden;
  box-sizing: border-box;
}

.index-rec-product-item .index-rec-product-img img {
  transition: transform 0.4s;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.index-rec-product-item .index-rec-product-name {
  margin-top: 10px;
  height: 36px;
  line-height: 18px;
  font-size: 16px;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break: break-word;
  -webkit-line-clamp: 2;
  /* 这里是超出几行省略 */
  overflow: hidden;
  color: #333;
}

.index-rec-product-item .index-rec-product-price {
  margin-top: 8px;
  height: 20px;
  line-height: 20px;
  font-size: 18px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  transition: font-size 0.2s;
}

.index-rec-product-main:hover .index-rec-product-price {
  font-size: 16px;
}

.index-rec-product-item .index-rec-product-moq {
  margin-top: 12px;
  height: 14px;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.index-rec-product-item .index-rec-product-value {
  font-size: 14px;
  color: #207eff;
  transition: font-size 0.2s;
}

.index-rec-product-main:hover .index-rec-product-value {
  font-weight: bold;
  color: #207eff;
  font-size: 18px;
}

.index-rec-product-item .index-rec-product-inquiry-btn {
  display: block;
  width: 100%;
  max-width: 263px;
  margin: 16px 0 0 0;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e71a41;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 400;
  color: #e71a41;
  cursor: pointer;
}

.index-rec-product-item
  .index-rec-product-main:hover
  .index-rec-product-img
  img {
  transform: scale(1.05);
}

.index-rec-product-item .index-rec-product-inquiry-btn:hover {
  background-color: #e71a41;
  color: #fff;
  border-color: #e71a41;
}






