/* 产品页面样式 */

.chanpin-hero {
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.chanpin-hero .hero-background {
  background-image: url('../assets/chanpin/chanpin-bg1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 10.80rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-background .container {
  position: absolute;
  top: 160px;
  right: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-family: Smiley Sans;
  font-weight: 400;
  font-size: 0.96rem;
  line-height: 100%;
}

.hero-background .container .title {
  letter-spacing: 0.18rem;
}



.chanpin-subtitle {
  font-size: 0.24rem;
  letter-spacing: 0.04rem;
  font-weight: 400;
  width: 100%;
  text-align: right;
}

.chanpin-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  min-height: 10.80rem;
  gap: 3rem;
}


.chanpin-features {
  margin: 1.5rem 0;
}


.chanpin-features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.features-header {
  color: #fff;
  text-align: center;
  margin-bottom: 0.8rem;
}

.features-subtitle {
  font-size: 0.2rem;
  margin-top: 0.4rem;
}

.features-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.feature-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-image {
  width: 3.19rem;
  height: 3.19rem;
  background-color: #000000;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

.feature-image img {
  width: 3.19rem;
  height: 3.19rem;
  object-fit: cover;
}

.feature-card-title {
  font-size: 0.24rem;
  color: #fff;
}

.feature-card-text {
  font-size: 0.2rem;
  color: #fff;
  font-weight: 100;
}

.chanpin-features-image {
  width: 100%;
  height: 9rem;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0.8rem;
  background-image: url('../assets/chanpin/chanpin-bg2.png');
  background-size: 134%;
  background-position: center;
  background-repeat: no-repeat;
}

/* 产品详情卡片 */
.chanpin-products-section {
  background-color: #000000;
  color: #fff;
  position: relative;
  padding: 2rem 0;
}

.chanpin-products-top {
  background-image: url('assets/shouye/shouye-mask3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 2rem;
  position: absolute;
  top: 1px;
  left: 0;
  z-index: 1;
}

.products-grid {
  display: flex;
  justify-content: center;
  gap: 0.76rem;
  margin-bottom: 0.8rem;
}

.product-card {
  background-color: #E4F0F3;
  border-radius: 0.2rem;
  padding: 0.3rem 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 5.57rem;
}

.product-card-tip {
  font-size: 0.16rem;
  color: #000000;
  font-weight: 500;
  margin-bottom: 0.52rem;
}

.product-card-title {
  font-size: 0.4rem;
  font-weight: 500;
  color: #000000;
  /* margin-bottom: 0.4rem; */
}

.product-specs {
  font-size: 0.24rem;
  color: #000000;
  font-weight: 300;
  /* margin-bottom: 1.5rem; */
}

.product-card-image {
  width: 3rem;
  height: 4rem;
  /* margin-bottom: 1.5rem; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card-description {
  font-size: 0.18rem;
  color: #000000;
  line-height: 1.6;
  text-align: left;
  font-weight: 100;
}

/* 工厂认证部分 */
.chanpin-factory {
  background-color: #000000;
  /* padding: 4rem 0; */
  color: #fff;
  position: relative;
}

.factory-title {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.4rem;
  font-weight: 500;
  color: #000000;
  text-align: center;
  z-index: 1;
  /* margin-bottom: 2rem; */
}

.factory-image {
  width: 100%;
  max-width: 11.96rem;
  height: 11.6rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0.2rem;
}

.factory-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== 移动端响应式样式 ==================== */
@media (max-width: 768px) {

  /* Hero区域移动端 */
  .chanpin-hero .hero-background {
    height: 6rem;
  }

  .hero-background .container {
    top: 1rem;
    right: 0.4rem;
    font-size: 0.48rem;
  }

  .chanpin-subtitle {
    font-size: 0.18rem;
  }

  /* 功能特性区域移动端 - 横向改为纵向 */
  .features-grid {
    flex-direction: column !important;
    gap: 0.6rem !important;
    align-items: center;
  }

  .feature-cards {
    width: 100%;
    max-width: 5rem;
  }

  .feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .feature-image img {
    width: 100%;
    height: 100%;
  }

  .feature-card-title {
    font-size: 0.2rem;
    margin-top: 0.2rem;
  }

  .feature-card-text {
    font-size: 0.16rem;
  }

  .chanpin-features-image {
    height: 5rem;
    margin-top: 0.4rem;
  }

  /* 产品详情卡片 - 横向改为纵向 */
  .products-grid {
    flex-direction: column !important;
    gap: 0.6rem !important;
    align-items: center;
  }

  .product-card {
    width: 100% !important;
    max-width: 5rem;
    padding: 0.4rem 0.5rem;
  }

  .product-card-tip {
    font-size: 0.14rem;
    margin-bottom: 0.3rem;
  }

  .product-card-title {
    font-size: 0.28rem;
  }

  .product-specs {
    font-size: 0.18rem;
  }

  .product-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    margin: 0.3rem 0;
  }

  .product-card-description {
    font-size: 0.16rem;
  }

  /* 工厂认证部分移动端 */
  .factory-title {
    font-size: 0.28rem;
    top: 0.4rem;
  }

  .factory-image {
    height: auto;
    min-height: 6rem;
  }
}