  @font-face {
  font-family: 'Montserrat-Regular'; /* 自定义名称，唯一标识 */
  src: url('/img/css/Montserrat-Regular.otf') format('opentype'); /* 路径指向otf文件，格式声明为opentype */
  font-weight: normal; /* 根据字体实际属性设置（常规/粗体等） */
  font-style: normal; /* 常规/斜体等 */
}

/* 定义第二个otf字体 */
@font-face {
  font-family: 'Montserrat-ExtraBold'; /* 另一个唯一名称 */
  src: url('/img/css/Montserrat-ExtraBold.otf') format('opentype'); /* 指向第二个otf文件 */
  font-weight: bold; /* 假设第二个字体是粗体 */
  font-style: normal;
}
/* 基础样式重置 */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Montserrat-Regular', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      overflow-x: hidden;
    }
    
    a {
    font-family: 'Montserrat-Regular', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    color: inherit;
}
    
    ul {
      list-style: none;
    }
    
    img {
      max-width: 100%;
      display: block;
    }
    
    .container {
      width: 100%;
      max-width: 1560px;
      margin: 0 auto;
      padding: 0 20px;
    }
     /* 按钮样式 */
    .learn-more {
      display: inline-block;
      background: #769D70;
      color: white;
      padding: 10px 20px;
      font-weight: 500;
      transition: background 0.3s;
      border: none;
      cursor: pointer;
    }
    
    .learn-more:hover {
      background: #2980b9;
    }
  .about-container  {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px;
    }
   
    /* About页面Banner样式 */
.about-banner {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 400px; /* 最小高度 */
  background-size: cover; /* 保持原有背景图适配方式 */
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(96 137 90 / 30%);
}

.about-banner-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: auto;
  width: 90%;
  padding: 40px 30px;
  text-align: center;
  color: white;
      background: rgb(218 218 218 / 30%);
    backdrop-filter: blur(8px);
    border-radius: 16px;
}

.about-banner-content h1 {
  font-family: 'Montserrat-ExtraBold'; 
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.about-banner-content p {
  font-family: 'Montserrat-Regular'
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.95;
    letter-spacing: -0.03em;
  color: #FFFFFF;
}

/* 左移动画 */
.animate-from-left {
  transform: translateX(-20%);
  opacity: 0;
  animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .about-banner {
    height: 50vh;
    min-height: 350px;
    background-attachment: scroll;
  }
  
  .about-banner-content {
    padding: 30px 20px;
  }
  
  .about-banner-content h1 {
    font-size: 32px;
  }
  
  .about-banner-content p {
    font-size: 16px;
  }
  
  .animate-from-left {
    transform: translateX(-10%);
  }
}
/* 为什么选择我们板块 */
.why-choose-us {
  padding: 100px 0;
  background-color: #f8f9fa;
}

/* 大标题样式 */
.section-main-title {
  font-family: 'Montserrat-ExtraBold'; 
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: #1C1C1C;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 80px;
  position: relative;
  padding-bottom: 5px;
}

.section-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 3px;
  background-color: #769D70;
}

/* 网格布局 */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 20px;
}

/* 单个理由项 */
.reason-item {
  background: white;
  padding: 35px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  /* 初始隐藏，通过JS触发动画 */
}

.reason-header {
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  gap: 15px; /* 序号与标题间距 */
  margin-bottom: 15px; /* 与描述文字的间距 */
}

.reason-number {
  font-size: 22px;
  font-weight: bold;
  color: #769D70;
  min-width: 30px; /* 固定宽度，确保标题对齐 */
}

.reason-title {
  font-family: 'Montserrat-Regular'
  font-size: 20px;
  color: #1C1C1C;
  margin: 0; /* 清除默认margin，避免影响对齐 */
  transition: color 0.3s ease;
}
/* 描述文字 */
.reason-desc {
  font-family: 'Montserrat-Regular'
  font-size: 16px;
  line-height: 1.65;
  color: #1C1C1C;
}

/* 悬停效果 */
.reason-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.reason-item:hover .reason-title {
  color: #769D70;
}

/* 动画类：从下方滑入并显示 */
.reason-item.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* 定义滑入动画 */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式调整 */
@media (max-width: 992px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-main-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .why-choose-us {
    padding: 80px 0;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .section-main-title {
    font-size: 24px;
    margin-bottom: 50px;
  }
  
  .reason-item {
    padding: 25px;
  }
}
/* 固定背景板块核心样式 */
.fixed-bg-feature {
  position: relative;
  padding: 160px 0; /* 垂直方向充足空间 */
  min-height: 500px; /* 确保最小高度 */
  background-image: url('/img/p2-2.webp'); /* 固定背景图 */
  background-attachment: fixed; /* 背景固定不滚动 */
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 半透明覆盖层 */
.fixed-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 内容容器 - 白色细线框 */
.fixed-bg-content {
  position: relative; /* 确保在覆盖层上方 */
  z-index: 2;
  max-width: 1280px; /* 限制最大宽度 */
  margin: auto;
  width: 90%; /* 小屏幕自适应 */
  padding: 50px 40px;
  text-align: center;
  color: white;
  background: rgb(218 218 218 / 30%);
    backdrop-filter: blur(8px);
    border-radius: 16px;
}

/* 标题样式 */
.fixed-bg-content h2 {
  font-family: 'Montserrat-ExtraBold'; 
  font-size: 2rem;
  margin-bottom: 25px;
  line-height: 1.3;
}

/* 描述文字样式 */
.fixed-bg-content p {
  font-family: 'Montserrat-Regular'
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.03em;
  margin-bottom: 35px;
  opacity: 0.95; /* 轻微透明，与标题形成层次 */
}

/* 按钮样式 */
.fixed-bg-btn {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 12px 30px;
  transition: all 0.3s ease;
}

.fixed-bg-btn:hover {
  background-color: white;
  color: #1e293b;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .fixed-bg-feature {
    padding: 120px 0;
    min-height: 400px;
    background-attachment: scroll; /* 移动端取消固定背景，避免兼容性问题 */
  }
  
  .fixed-bg-content {
    padding: 35px 25px;
  }
  
  .fixed-bg-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .fixed-bg-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }
}
/* Our Facility 板块基础样式 */
.our-facility {
  padding: 100px 0;
  background-color: #f9f9f9;
}

/* 标题与描述区域 */
.facility-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.facility-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin: 20px 0 30px;
}

   /* 容器样式 */
    .image-gallery {
      max-width: 1200px;
      margin: 0 auto;
    }

   

    /* 图片网格容器 */
    .image-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2.5rem; /* 增大间距，提升层次感 */
      justify-content: center;
    }

    /* 单个图片卡片 */
    .image-card {
      flex: 1;
      min-width: 280px;
      max-width: calc(33.333% - 2.5rem);
      /* 移除卡片背景色，文字部分无背景 */
    }

    /* 图片容器 - 大圆角设置 */
    .image-wrapper {
      position: relative;
      width: 100%;
      padding-top: 75%; /* 4:3 比例 */
      overflow: hidden;
      border-radius: 20px; /* 大圆角效果 */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 图片阴影 */
      margin-bottom: 1rem; /* 图片与文字间距 */
    }

    /* 图片样式 */
    .image-wrapper img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    /* 卡片内容（标题+描述）- 无背景色 */
    .card-content {
      padding: 0 0.5rem; /* 仅保留少量内边距 */
    }

    .card-title {
           font-family: 'Montserrat-ExtraBold';
    font-size: 1rem;
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
      color: #1C1C1C;
      line-height: 1.3;
    }

    .card-desc {
      
      font-size: 0.95rem;
      color: #1C1C1C;
      line-height: 1.6;
    }

    /* 悬停动效 */
    .image-card:hover .image-wrapper img {
      transform: scale(1.08); /* 图片放大效果增强 */
    }

    .image-card:hover .card-title {
      color: #769D70; /* 标题颜色变化，增强交互反馈 */
    }

    /* 响应式调整 */
    @media (max-width: 900px) {
      .image-card {
        max-width: calc(50% - 2.5rem);
      }
    }

    @media (max-width: 600px) {
      .image-card {
        max-width: 100%;
        min-width: auto;
      }

      .gallery-title h2 {
        font-size: 1.6rem;
      }

      .image-wrapper {
        border-radius: 16px; /* 小屏幕圆角略减小 */
      }
    }

/* 产品分类板块基础样式 */
.product-categories {
  padding: 100px 0;
  background-color: #ffffff;
}

/* 标题样式 */
.section-title {
  text-align: center;
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: #769D70;
}

 /* 分类容器样式 */
        .categories-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }
        
        /* 分类项通用样式 */
        .category-item {
            border-radius: 30px;
            overflow: hidden;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            background-color: #fff;
            border: 1px solid #eee;
        }
        
        .category-item:hover {
            transform: translateY(-5px);
        }
        
        /* 分类标题样式 */
        .category-title {
              padding: 2.8rem 0;
    font-family: 'Montserrat-ExtraBold';
    text-align: center;
    font-size: 1.5rem;
    color: #1C1C1C;
    font-weight: 600;
        }
        
        /* 分类图片样式 */
        .category-image {
            width: 96%;
            margin: auto;
            object-fit: cover;
            display: block;
        }
        
        /* 查看全部特殊项样式 */
        .view-all {
               display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(90deg, #60895a 0%, #a7c7a3 100%);
    color: white;
    text-align: center;
    padding: 1rem;
        }
        
        .view-all .category-title {
            color: white;
            margin-bottom: 1rem;
        }
        
        .view-all-text {
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        /* 响应式设计 - 屏幕小于768px时每行两列 */
        @media (max-width: 768px) {
            .categories-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        /* 更小屏幕优化 */
        @media (max-width: 480px) {
            .categories-container {
                gap: 1rem;
            }
            
            .category-title {
                font-size: 1rem;
                padding: 0.8rem;
            }
            
            .category-image {
                height: 160px;
            }
        }

/* 响应式调整 */
@media (max-width: 768px) {
  .product-categories {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }
  
  .category-img {
    height: 250px;
  }
}
/* 当前位置（面包屑导航） */
.breadcrumb {
  font-size: 14px;
  color: #666;    
  margin: 10px 0 10px 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #769D70;
}

.breadcrumb span {
  margin: 0 8px;
  color: #aaa;
}

.breadcrumb .current {
  color: #769D70;
  font-weight: 500;
  margin-right: 0;
}
.pcontainer {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      gap: 30px;
    }
    
 /* 侧边栏样式 */
    .sidebar {
      width: 280px;
      background-color: #fff;
      border-radius: 24px;
      padding: 25px 0px;
      box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
      flex-shrink: 0;
    }

    .sidebar-title {
        font-family: 'Montserrat-ExtraBold'; 
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 25px;
      color: #1C1C1C;
      text-align: center;
    padding-bottom: 15px;
    border-bottom: 5px solid #769D70;
    }

    .pcategory-list {
      list-style: none;
    }

    .pcategory-item {
      margin-bottom: 5px;
      margin-left: 20px;
    }

    .pcategory-link {
      display: block;
      padding: 2px 15px;
      border-radius: 12px;
      color: #1C1C1C;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 1rem;
      position: relative;
      overflow: hidden;
    }

    .pcategory-link::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      transform: translateX(-10px);
      transition: transform 0.3s ease;
    }

    .pcategory-link:hover,
    .pcategory-link.active {
      color: #769D70;
      font-family: 'Montserrat-ExtraBold';
    font-size: large;
    }

    .pcategory-link:hover::after,
    .pcategory-link.active::after {
      transform: translateX(0);
    }

    .pcategory-link i {
      margin-right: 10px;
      width: 20px;
      text-align: center;
    }

    /* 产品区域样式 */
    .product-section {
      flex-grow: 1;
    }

    .section-header {
      margin-bottom: 25px;
    }

    .section-title {
      font-size: 1.8rem;
      color: #2d3436;
      font-weight: 600;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 25px;
    }

    .product-card {
      background-color: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .product-image-container {
      height: 273px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      position: relative;
    }

    .product-image {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      transition: transform 0.3s ease;
    }

    .product-card:hover .product-image {
      transform: scale(1.05);
    }

    /* 修改分隔线样式，使其贯穿左右 */
    .divider {
      height: 3px;
      background-color: #769D70;
      width: 100%; /* 改为100%宽度 */
      margin: 0; /* 移除自动外边距 */
    }

    .product-info {
      padding: 20px 15px;
      text-align: left;
    }

    .product-title {
      font-family: 'Montserrat-ExtraBold'; 
      font-size: 1rem;
      color: #769D70;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .product-card:hover .product-title {
      color: #769D70;
    }

    /* 响应式设计 */
    @media (max-width: 1200px) {
      .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        margin: 20px;
      }
    }

    @media (max-width: 992px) {
       .pcontainer {
    display: contents;
         }
      .sidebar {
        width: 100%;
        height: 100%;
        margin: 20px;
      }

      .category-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 10px;
      }

      .category-item {
        flex-shrink: 0;
        margin-bottom: 0;
      }
    }

    @media (max-width: 768px) {
        
      .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                margin: 20px;
      }

      .product-image-container {
        height: 160px;
      }
    }

    @media (max-width: 576px) {

      .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
                margin: 20px;
      }

      .section-title {
        font-size: 1.5rem;
      }
    }
/* 翻页容器 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 60px 0;
  padding: 0 15px;
}

/* 上一页/下一页按钮 */
.pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: white;
  border: 1px solid #e1e4e8;
  border-radius: 4px;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-btn i {
  font-size: 14px;
}

.pagination-btn:hover {
  background-color: #f8f9fa;
  border-color: #769D70;
  color: #769D70;
}

.pagination-btn:disabled,
.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 页码列表 */
.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 单个页码 */
.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #e1e4e8;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.page-number:hover {
  border-color: #769D70;
  color: #769D70;
}

/* 当前页码 */
.page-number.current {
  background-color: #769D70;
  border-color: #769D70;
  color: white;
  font-weight: 600;
}

.page-number.current:hover {
  background-color: #2980b9;
}

/* 省略号 */
.ellipsis {
  color: #999;
  padding: 0 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .pagination {
    gap: 10px;
  }
  
  .pagination-btn span {
    display: none; /* 小屏幕隐藏文字，只保留图标 */
  }
  
  .pagination-btn {
    padding: 10px 15px;
  }
  
  .pagination-btn i {
    font-size: 16px;
  }
  
  /* 小屏幕只显示当前页前后2个页码 */
  .pagination-numbers li:not(.current):not(:nth-child(2)):not(:nth-last-child(2)) {
    display: none;
  }
  
  .pagination-numbers li.ellipsis {
    display: none;
  }
}
/* 产品详情板块基础样式 */
.product-detail {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background-color: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* 左侧图片展示区 */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 主图样式 */
.main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.02);
}

/* 缩略图容器 */
.thumbnail-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* 缩略图导航按钮 */
.thumb-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumb-nav:hover {
  background-color: #f5f5f5;
  color: #769D70;
  border-color: #769D70;
}

/* 缩略图滚动区 */
.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 5px 0;
  scroll-behavior: smooth;
  flex-grow: 1;
}

.thumbnails::-webkit-scrollbar {
  height: 6px;
}

.thumbnails::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 3px;
}

/* 单个缩略图 */
.thumbnail-item {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-item.active,
.thumbnail-item:hover {
  border-color: #769D70;
}

/* 右侧产品信息区 */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.product-detail-title {
  font-size: 28px;
  color: #2c3e50;
  line-height: 1.3;
  margin: 0;
}

.product-model {
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.info-label {
  font-weight: 600;
  color: #666;
}

.info-value {
  color: #333;
}

/* 规格列表 */
.product-specs h3,
.product-description h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 15px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specs-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-label {
  font-weight: 500;
  color: #555;
  min-width: 120px;
}

.spec-value {
  color: #333;
}

/* 描述文字 */
.product-description p {
  color: #666;
  line-height: 1.7;
  max-width: 600px;
}

/* 操作按钮 */
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background-color: #769D70;
  color: white;
  font-weight: 500;
  border-radius: 4px;
  margin-top: 20px;
  transition: all 0.3s ease;
  width: fit-content;
}

.action-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .detail-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }
  
  .product-detail-title {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .thumbnail-item {
    width: 60px;
    height: 60px;
  }
  
  .action-button {
    width: 100%;
  }
  
  .spec-label {
    min-width: 100px;
  }
}
/* 相关产品板块基础样式 */
.related-items {
  padding: 60px 0;
  background-color: white;
}

/* 居左标题 */
.related-title {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  text-align: left;
}

/* 产品列表容器 - 核心自适应布局 */
.related-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* 自动计算列数 */
  gap: 30px; /* 统一间距 */
  padding: 0 10px;
}

/* 单个相关产品 */
.related-product {
      background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-product:hover {
  transform: translateY(-5px);
}

/* 产品图片 */
.related-product-img {
  width: 100%;
  height: 220px; /* 固定图片高度，确保网格整齐 */
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.related-product-img img {
max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s 
ease;
}

.related-product:hover .related-product-img img {
  transform: scale(1.05);
}

/* 产品标题 */
.related-product-title {
  font-size: 16px;
  color: #2c3e50;
  text-align: left;
  margin: 0;
  line-height: 1.4;
  /* 标题最多2行 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 产品描述 */
.related-product-desc {
  font-size: 14px;
  color: #666;
  text-align: left;
  margin: 0;
  line-height: 1.5;
  /* 描述最多2行 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1; /* 填充剩余空间，保持底部对齐 */
}

/* 响应式断点调整 */
/* 大屏幕（≥1200px）- 5列 */
@media (min-width: 1200px) {
  .related-products {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 中大屏幕（992px-1199px）- 4列 */
@media (max-width: 1199px) and (min-width: 992px) {
  .related-products {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 平板屏幕（768px-991px）- 3列 */
@media (max-width: 991px) and (min-width: 768px) {
  .related-products {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .related-product-img {
    height: 200px;
  }
}

/* 小平板/大手机（576px-767px）- 2列 */
@media (max-width: 767px) and (min-width: 576px) {
  .related-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .related-product-img {
    height: 180px;
  }
}

/* 手机屏幕（<576px）- 1列 */
@media (max-width: 575px) {
  .related-items {
    padding: 40px 0;
  }
  
  .related-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .related-products {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .related-product {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #f5f5f5;
    border-radius: 6px;
  }
  
  .related-product-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }
  
  .related-product-title {
    font-size: 15px;
  }
  
  .related-product-desc {
    font-size: 13px;
  }
}
/* Contact板块基础样式 */
.contact-section {
  padding: 80px 0;
  background-color: #ffffff;
  overflow: hidden; /* 隐藏动画元素初始状态 */
}

/* 标题样式 */
.section-title {
  font-size: 32px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: #769D70;
}

/* 主要内容容器 */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}


 /* 图片展示容器 */
    .factory-gallery {
      background-color: #769D70; /* 绿色背景 */
      padding: 1.5rem;
    }

    /* 图片网格布局 */
    .gallery-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
    }

    /* 图片样式 - 基础设置 */
    .gallery-img {
      width: calc(25% - 0.75rem);
      aspect-ratio: 4/4;
      border-radius: 30px;
      object-fit: cover;
      opacity: 0; /* 初始透明，用于加载动画 */
      transform: scale(0.95); /* 初始缩放，用于加载动画 */
      transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 统一过渡效果 */
      cursor: pointer; /* 鼠标指针提示可交互 */
    }

    /* 加载完成动画 */
    .gallery-img.loaded {
      opacity: 1;
      transform: scale(1);
    }

    /* 鼠标悬停效果 */
    .gallery-img:hover {
      transform: scale(1.05); /* 轻微放大 */
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 增强阴影 */
      z-index: 10; /* 悬停时置于上层 */
    }

    /* 响应式调整 */
    @media (max-width: 768px) {
      .gallery-img {
        width: calc(50% - 0.5rem);
      }
    }


/* 工厂参观板块基础样式 */
.factory-tour {
  padding: 80px 0;
}
/* 标题样式 - 居中加粗 */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background-color: #769D70;
}

/* 内容容器 - 核心宽度比例调整 */
.tour-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 视频占2/3，文字占1/3 */
  align-items: flex-start; /* 顶部对齐，避免视频拉伸 */
  background: #f8f9fa;
  border-radius: 0 16px 16px 0;
}


    .video-wrapper {
  position: relative; /* 容器设为相对定位，作为子元素的定位基准 */
  padding-top: 56.25%; /* 16:9 比例 */
  width: 100%;
  /* 移除背景色，避免显示空白 */
  background-color: transparent;
  overflow: hidden;
}

/* 封面容器：绝对定位，覆盖整个视频区域 */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 与视频容器等高 */
  cursor: pointer;
  z-index: 2; /* 封面层级高于视频，确保初始可见 */
  background-color: #f0f0f0; /* 封面图加载前显示浅灰色 */
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 封面图铺满容器 */
}

/* 视频元素：绝对定位，与封面重叠 */
#aboutVideo {
  position: absolute; /* 关键：让视频与封面在同一位置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* 默认隐藏视频 */
  z-index: 1; /* 视频层级低于封面，初始不显示 */
}

/* 点击后隐藏封面（完全移除，不是变白色） */
.video-placeholder.hidden {
  display: none !important; /* 彻底隐藏封面容器，不是仅变背景 */
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #769D70;
  color: white;
  border: none;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-left: 5px; /* 修正播放图标居中 */
}

.play-button:hover {
  background-color: #60895A;
  transform: translate(-50%, -50%) scale(1.1);
}

/* 点击后隐藏封面和播放按钮 */
.video-placeholder.hidden {
  display: none;
}
.hidden {
  display: none;
}

/* 文字介绍区域（1/3宽度） */
.tour-info {
  padding: 30px 25px 0px 30px;
}

.tour-subtitle {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 25px;
  line-height: 1.3;
}

.tour-details {
  color: #555;
  line-height: 1.8;
}

.tour-details > p {
  margin-bottom: 30px;
  font-size: 16px;
}

/* 参观步骤列表 */
.tour-steps {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tour-steps li {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.tour-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-number {
  font-size: 18px;
  font-weight: 700;
  color: #769D70;
  min-width: 30px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 5px;
}

.step-content p {
  margin: 0;
  color: #666;
  font-size: 15px;
}

/* 注意事项和按钮 */
.tour-note {
  font-style: italic;
  color: #666;
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 2px solid #769D70;
}

.tour-cta {
  display: inline-block;
  padding: 12px 30px;
  background-color: #769D70;
  color: white;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tour-cta:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .tour-content {
    gap: 30px;
  }
  
  .step-content h4 {
    font-size: 17px;
  }
}

@media (max-width: 992px) {
  /* 中等屏幕切换为1:1上下布局 */
  .tour-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .factory-tour {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .tour-subtitle {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-button i {
    font-size: 20px;
  }
  
  .tour-cta {
    width: 100%;
    text-align: center;
  }
}
/* 数据统计板块基础样式 */
.stats-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

/* 标题样式 */
.section-title {
  font-size: 32px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: #769D70;
}

/* 数据网格布局 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* 单个数据项 */
.stat-item {
  background-color: white;
  padding: 40px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

/* 数据数字样式 */
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #769D70;
  margin-bottom: 15px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

/* 数据标签样式 */
.stat-label {
  font-size: 18px;
  color: #2c3e50;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* 装饰元素 */
.stat-item::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background-color: rgba(52, 152, 219, 0.05);
  border-radius: 50%;
  z-index: 1;
}

/* 动画元素初始状态 */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.animated {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .stat-label {
    font-size: 16px;
  }
  
  .stat-item {
    padding: 30px 15px;
  }
}
/* 生产线板块基础样式 */
/* 车间展示容器 */
    .workshop-gallery {
      background-color: #f5f5f5;
      padding: 2rem;
    }

    /* 行容器样式 */
    .flgallery-row {
      display: flex;
      gap: 1rem;
      margin-bottom: 1rem;
      width: 100%;
    }

    /* 第一行图片比例 2:2:1 */
    .row-1 .img-1,
    .row-1 .img-2 {
      flex: 2; /* 占2份宽度 */
    }
    .row-1 .img-3 {
      flex: 1; /* 占1份宽度 */
    }

    /* 第二行图片比例 1:1:1 */
    .row-2 .img {
      flex: 1; /* 平均分配宽度 */
    }

    /* 通用图片样式 */
    .flgallery-img {
      height: 350px; /* 固定高度 */
      border-radius: 0px;
      object-fit: cover; /* 保持比例填充容器 */
      cursor: pointer;
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(10px);
    }

    /* 加载动画 */
    .flgallery-img.loaded {
      opacity: 1;
      transform: translateY(0);
    }

    /* 悬停效果 */
    .flgallery-img:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    /* 响应式调整 - 手机端改为单列 */
    @media (max-width: 768px) {
      .flgallery-row {
        flex-direction: column;
      }
      .flgallery-img {
        height: 180px;
        width: 100%;
      }
    }
 /* 信息部分 - 三列布局 */
    .contact-info {
      display: flex;
      gap: 2rem;
      margin-bottom: 4rem;
    }

    .info-item {
      flex: 1;
      text-align: center;
      padding: 2rem 1rem;
      border-radius: 8px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .info-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .info-icon {
      font-size: 2.5rem;
      color: #2c3e50;
      margin-bottom: 1rem;
      transition: color 0.3s ease;
    }

    .info-item:hover .info-icon {
      color: #769D70;
    }

    .info-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #2c3e50;
    }

    .info-text {
      line-height: 1.65;
    }

    /* 留言板和地图区域 - 两列布局 */
    .contact-form-map {
      display: flex;
    }

    .form-container, .map-container {
      flex: 1;
    }

    .csection-title {
         font-family: 'Montserrat-ExtraBold'; 
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 2rem;
      color: #1C1C1C;
      position: relative;
      padding-bottom: 0.8rem;
    }

    .csection-title::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 3px;
      background-color: #769D70;
    }

    /* 留言板样式 */
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      background-color: white;
      padding: 2rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .form-label {
      font-weight: 500;
      color: #2c3e50;
    }

    .form-input, .form-textarea {
      padding: 0.5rem 1rem;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 1rem;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .form-input:focus, .form-textarea:focus {
      outline: none;
      border-color: #769D70;
      box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    }

    .form-textarea {
      min-height: 150px;
      resize: vertical;
    }

    .submit-btn {
      background-color: #769D70;
      color: white;
      border: none;
      padding: 1rem;
      border-radius: 4px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .submit-btn:hover {
      background-color: #60895A;
      transform: translateY(-2px);
    }

    .submit-btn:active {
      transform: translateY(0);
    }

    /* 地图样式 */
    .map-container {
      height: fit-content;
    }

    .map-wrapper {
      height: 430px;
      background-color: white;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      position: relative;
    }

    .map-placeholder {
      width: 100%;
      height: 100%;
      background-color: #eaecee;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #7f8c8d;
      background-size: cover;
      background-position: center;
      transition: transform 0.5s ease;
    }

    .map-wrapper:hover .map-placeholder {
      transform: scale(1.02);
    }

    /* 响应式设计 */
    @media (max-width: 992px) {
      .contact-form-map {
        flex-direction: column;
      }
      
      .map-wrapper {
        height: 350px;
      }
    }

    @media (max-width: 768px) {
      .contact-info {
        flex-direction: column;
        gap: 1.5rem;
      }
      
      .info-item {
        padding: 1.5rem 1rem;
      }
      
      .section-title {
        font-size: 1.5rem;
      }
    }

    @media (max-width: 480px) {
      .contact-section {
        padding: 2rem 1rem;
      }
      
      .contact-form {
        padding: 1.5rem;
      }
    }