/* ===================== Reset & Base ===================== */


body {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.2;
  background: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
	padding: 0;   /* ⭐ 关键 */
  margin: 0;    /* ⭐ 关键 */
}

/* ===================== Home Slider ===================== */
.home-slider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* ===================== Categories ===================== */
.category-section {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.category-list {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.category-list li {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-list img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.category-list li:hover img {
  transform: scale(1.05);
}

.img-overlay-text {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
}

/* ===================== Section Title ===================== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.line-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.free-sample {
  font-size: 1rem;
  color: #555;
  letter-spacing: 1px;
}

/* ===================== Popular Products ===================== */
.popular-product {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-item {
  flex: 1 1 calc(25% - 20px); /* PC：4 个一行 */
  background: #fff;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.product-item img {
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.popular-product-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 12px 0;
  color: #222;
  flex-grow: 1;
}

.open-form-btn {
  background: #007BFF;
  color: #fff;
  border: none;
  padding: 8px 10px;
  margin: 0 auto 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  display: inline-block;
  max-width: 140px;
  width: 100%;
}

.open-form-btn:hover {
  background: #0056b3;
}

/* ===================== About Us ===================== */
.about-us {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-us-text {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  color: #333;
  margin-bottom: 20px;
}


.about-us-description {
    max-width: 860px;
    line-height: 1.8;
     font-size: clamp(14px, 1.5vw, 18px);
	margin: 0 auto 40px;
    color: #4F4F4F;
	 font-family: 
    "Helvetica Neue",
    Arial,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;



}

.about-us-description p {
    margin-bottom: 1.2em;
	  text-indent: 2em;
}

.about-us-company{
	color:#1E90FF;
}


.about-us-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-us-block {
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
}

.about-us-block-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.about-us-block-title {
  color: #00b894;
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 10px;
}

.about-us-block-text {
  color: #555;
  font-size: clamp(14px, 1.5vw, 16px);
}

.about-us-button-wrap {
  text-align: center;
  margin-top: 40px;
}
	
	/* About Us Standards 图片单独缩小 */
.about-us-standard-img {
  width: 20%;      /* 根据需要调整百分比 */
  max-width: 200px; /* 限制最大宽度 */
  margin: 0 auto 20px; /* 居中并加下间距 */
  display: block;
}


.view-more {
  display: inline-block;
  padding: 12px 30px;
  background-color: #00b894;
  color: #fff;
  border-radius: 8px;
  transition: background 0.3s;
}

.view-more:hover {
  background-color: #009f7f;
}

/* ===================== Factory Image ===================== */

.our-factory {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
 
}

.slider-factory{
   margin-left:20px !important;
   margin-right:20px !important;
}


/* 外层 */
.slider-factory {
  max-width: 1200px;
  margin: 0 auto 50px;
}

/* 轮播主体 */
.factory-slider {
  position: relative;
  height: 420px;           /* ⭐ PC 高度 */
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

/* slides 容器 */
.factory-slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

/* 单张 */
.factory-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 图片完整展示 */
.factory-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 左右按钮 */
.factory-prev,
.factory-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  z-index: 10;
}

.factory-prev { left: 15px; }
.factory-next { right: 15px; }

.factory-prev:hover,
.factory-next:hover {
  background: rgba(0,0,0,0.7);
}

/* 响应式高度 */
@media (max-width: 767px) {
  .factory-slider {
    height: 220px;
  }
}







/* ===================== Responsive ===================== */

/* 平板 */
@media (min-width: 768px) and (max-width: 1024px) {
  .category-list li {
    flex: 1 1 calc(50% - 20px);
  }

  /* Most Popular：2 个一行 */
  .product-item {
    flex: 1 1 calc(50% - 20px);
  }

  .about-us-content > div {
    flex: 1 1 100%;
  }
   
   .open-form-btn{
       display:none;
  }
}

/* 手机 */
@media (max-width: 767px) {
  /* Categories：一行一个 */
  .category-list li {
    flex: 1 1 100%;
  }

  /* ⭐ Most Popular：手机仍然 2 个一行 */
  .product-item {
    flex: 1 1 calc(50% - 10px);
  }

  /* About Us */
  .about-us-content > div {
    flex: 1 1 100%;
  }

  .line-text {
    font-size: 1.5rem;
  }

  .free-sample {
    font-size: 0.9rem;
  }

   .open-form-btn{
       display:none;
  }
}

/* 手机端隐藏左右箭头 */
@media (max-width: 767px) {
  .factory-prev,
  .factory-next {
    display: none;
  }
}









