/*******************************************************
 *                 全局与基础通用样式
 *******************************************************/

/* 消除默认边距与内边距，并统一盒模型 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  a{
    color: #5a5b5c;
  }
  a,
  a:hover {
    text-decoration: none;
    color: #5a5b5c;
  }

  
  /* 页面主体的字体、背景等 */
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #ffffff;
    color: #333;
    font-size: 18px;
  }
  
  /* 可选：限制全局内容的最大宽度 + 居中，
     如果你想让某些部分独立宽度/居中，可以使用 .container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /*******************************************************
   *                      导航栏
   *******************************************************/
  
  /* 导航菜单移动端样式 */
  @media screen and (max-width: 768px) {
    .nav-menu {
      position: fixed;
      top: 120px; /* 导航栏高度 */
      left: 0;
      width: 100%;
      height: calc(100vh - 120px); /* 减去导航栏高度 */
      background: #fff;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 20px;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      overflow-y: auto; /* 允许滚动 */
    }

    .nav-menu.active {
      transform: translateX(0);
    }

    .nav-item {
      width: 100%;
      text-align: center;
      padding: 15px 0;
      border-bottom: 1px solid #eee;
    }

    .nav-item:last-child {
      border-bottom: none;
    }
  }


   
  .navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 120px;
    display: flex;
    justify-content: center;
  }
  
  /* LOGO 区域 */
  .logo {
    height: 120px;
    position: fixed;
    left: 0;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 0 30px;
    z-index: 1001;
  }
  .logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: none;
    max-height: 110px;
  }
  
  /* 导航菜单 */
  .nav-menu {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
    gap: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .nav-item {
    display: block;
    padding: 0 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 20px;
    line-height: 120px;
    position: relative;
    list-style: none;
  }
  
.nav-links{
  list-style: none;
}

  .nav-item:hover {
    color: #007bff;
  }
  
  .nav-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #007bff;
    transition: width 0.3s ease;
  }
  
  .nav-item:hover:after {
    width: 100%;
  }
  
  /*******************************************************
   *                    下拉菜单样式
   *******************************************************/
  .dropdown-content {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 20px);
    top: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: #fff;
    width: 100vw;     /* mega-menu 宽度铺满 */
    visibility: hidden;
    pointer-events: none;
  }
  
  .dropdown:hover .dropdown-content {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  
  /* mega-menu 样式 */
  .mega-menu {
    background: #fff;
    padding: 40px 0;
    width: 100vw;
    /* 修正偏移（防止拉伸页面），看情况可加/减 */
    margin-left: calc((100vw - 100%) / -2);
  }
  
  .menu-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    align-items: flex-start;
    width: 100%;
    position: relative;
  }
  
  .menu-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 200px;
  }
  
  .menu-item {
    color: #333;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
    font-size: 15px;
  }
  .menu-item:hover {
    color: #007bff;
  }
  
  /* mega-menu 右侧预览图 */
  .menu-right {
    width: 400px;
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .menu-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* "联系我们"下拉的图片尺寸可特化 */
  .dropdown:last-child .menu-right {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  .dropdown:last-child .menu-right img {
    object-fit: contain;
  }
  
  /*******************************************************
   *                     移动端菜单
   *******************************************************/
  .mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    position: fixed;
    right: 20px;
    top: 45px;
    z-index: 1002;
    cursor: pointer;
  }
  .mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    transition: all 0.3s ease;
  }
  /* 三道横线变X的动画 */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  /*******************************************************
   *                   响应式 - 导航部分
   *******************************************************/
  @media screen and (max-width: 992px) {
    .mobile-menu-btn {
      display: flex;
    }
    .nav-menu {
      position: fixed;
      top: 120px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 120px);
      background: #fff;
      flex-direction: column;
      gap: 0;
      transition: left 0.3s ease;
      overflow-y: auto;
    }
    .nav-menu.active {
      left: 0;
    }
  
    .nav-item {
      line-height: 60px;
      width: 100%;
      text-align: center;
      padding: 0;
    }
  
    /* 下拉内容在移动端直接展开可见 */
    .dropdown-content {
      position: static;
      transform: none;
      width: 100%;
      visibility: visible;
      pointer-events: auto;
      opacity: 1;
    }
  
    .mega-menu {
      width: 100%;
      margin-left: 0;
    }
  }
  
  @media screen and (max-width: 768px) {
    .logo {
      height: 100px;
      padding: 0 15px;
    }
    .logo img {
      max-height: 90px;
    }
    .navbar {
      height: 100px;
    }
    .mobile-menu-btn {
      top: 35px;
    }
  }
  @media screen and (max-width: 576px) {
    .container {
      padding: 0 15px;
    }
  }
  
  /*******************************************************
   *                     轮播图
   *******************************************************/
  .slider {
    position: relative;
    margin-top: 120px;
    overflow: hidden;
    height: 900px;
  }
  .slides {
    display: flex;
    transition: transform 2s ease;
    height: 100%;
  }
  .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }
  /* 轮播图按钮 */
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    transition: 0.3s ease;
  }
  .prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
  }
  .prev {
    left: 0;
  }
  .next {
    right: 0;
  }
  /* 轮播指示点 */
  .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }
  .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .dot.active {
    background: white;
  }
  /* 轮播图在小屏幕时的高度可适当减小 */
  @media screen and (max-width: 768px) {
    .slider {
      margin-top: 100px;
      height: 400px;
    }
  }
  
  /*******************************************************
   *                    产品展示
   *******************************************************/
  .products {
    padding: 60px 0;
    width: 95%;
    margin: 0 auto;
    
  }
  .products .products-p1 {
    margin-bottom: 30px;
    text-align: left;
    font-size: 30px;
    color: #007bff;
  }
  .products .products-p2 {
    font-weight: 700;
  }
  
  

  /* 重新设计产品展示区域 */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .gallery-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
  }

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

  .img-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
  }

  .img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
  }

  .img-container .info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
    padding: 20px;
  }

  .img-container:hover .info {
    opacity: 1;
  }

  .product-description {
    padding: 15px;
    background: #fff;
  }

  .product-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 10px;
    text-align: center;
    border: none;
    border-bottom: 2px solid #f0f0f0;
  }

  .more-link {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    color: #007bff;
    font-weight: 500;
    border: none;
    border-top: 1px solid #f0f0f0;
    transition: all 0.3s ease;
  }

  .more-link:hover {
    background: #007bff;
    color: #fff;
  }

  @media (max-width: 768px) {
    .gallery {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      padding: 15px;
    }

    .img-container {
      height: 200px;
    }
  }







  
  


  
  /* 小屏幕下可微调 */
  @media (max-width: 400px) {
    .gallery {
      gap: 8px;
    }
  }
  
  /*******************************************************
   *                    关于我们
   *******************************************************/

   .products-p1-1 {
     flex: 1;
    line-height: 1.6;
    padding-left: 4%;
    padding-right: 1;
     width: 1000px;
    font-size: 30px;
    color: #007bff;
  }
  .products-p2-1 {
       flex: 1;
    font-size: 20px;
    line-height: 1.6;
    padding-left: 4%;
    padding-right: 1;
     width: 1000px;
  }

  .about-us {
    background: #f8f9fb;
    padding: 20px 0;
    width: 55%;
    margin: 10 auto;

  }
      
  .about-us .container {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .about-content {
    display: flex;

    background:url(link/backgroundImage.png) no-repeat top ;
    background-size: 100% 100%;

  }
  .about-textIndex {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    padding-left: 4%;
    padding-right: 1;
     width: 1000px;
  }
  
  .about-image img {
    width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }
  @media screen and (max-width: 768px) {
    .about-us .container {
      flex-direction: column;
    }
    .about-image img {
      width: 50%;
    }
  }
  
  /*******************************************************
   *                      页脚
   *******************************************************/
  footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
  }
  
  .footer-left {
    flex: 1;
  }
  .company-name h2 {
    color: #00a0e9;
    font-size: 24px;
  }
  .hotline h3 {
    font-size: 16px;
    font-weight: normal;
   
  }
  .phone {
    font-size: 32px;
    font-weight: bold;
    padding-top: -20%;
    color: #fff;
  }
  
  .footer-right {
    flex: 2;
    display: flex;
    justify-content: space-around;
  }
  .contact-section h3,
  .qr-codes h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .contact-section p {
    margin-bottom: 10px;
    color: #999;
  }
  .qr-container {
    display: flex;
    gap: 30px;
  }
  .qr-item {
    text-align: center;
  }
  .qr-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
  }
  .qr-item p {
    color: #999;
  }
  
  /* 页脚在小屏幕下的布局 */
  @media screen and (max-width: 768px) {
    .footer-right {
      flex-direction: column;
      gap: 30px;
    }
    .qr-container {
      justify-content: center;
    }
  }
  @media screen and (max-width: 576px) {
    .footer-left, .footer-right {
      width: 100%;
    }
    .company-name h2 {
      font-size: 20px;
    }
    .phone {
      font-size: 24px;
    }
  }
  
  /* 添加关于我们页面的样式 */
  .about-page {
    margin-top: 120px;
    padding: 40px 0;
  }
  
  /* 公司简介部分 */
  .company-intro {
    position: relative;
    background: #fff;
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 32px;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
  }
  
  



  .section-title1 {
    font-size: 32px;
    display: inline-block;
    top: -2%;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    position: absolute;
    display: flex;
    left: 50%;
  }
  
 
  
.container1{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}



.container1:hover{

  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-radius: 1%;
  transition: 
  box-shadow 0.5s ease;
  ;
}

  
  .intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
    
  }


  
  .intro-text {
    flex: 1;
   padding-left: 30px;
  }
  
  
  .intro-text p {
    margin-bottom: 22px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    font-size: 18px;
  }
  
  .intro-image {
    flex: 1;
    max-width: 600px;
  }
  
  .intro-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 8px;
    box-shadow: 0 0 1px rrgba(214, 214, 214, 0.1)
    object-fit: cover;
  }
  
  /* 我们的优势部分 */
  .our-advantages {
    background: #f8f9fa;
    padding: 60px 0;
  }
  
  .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
  }
  
  .advantages-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 30px;
    padding: 0 20px;
  }
  
  .advantage-item {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .advantage-item:hover {
    transform: translateY(-5px);
  }
  
  .advantage-icon {
    width: 60%;
    /*height: 120px;*/
    margin: 0 auto 30px;
  }
  
  .advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .advantage-icon img:hover {
    transform: scale(1.1);
  }
  
  .advantage-item h4 {
    color: #007bff;
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .advantage-item p {
    color: #666;
    line-height: 1.6;
  }
  
  /* 响应式调整 */
  @media screen and (max-width: 768px) {
    .intro-content {
      flex-direction: column;
    }
    
    .advantages-grid {
      grid-template-columns: 1fr;
    }
    
    .about-page {
      margin-top: 100px;
    }
    
    .intro-image {
        max-width: 100%;
    }
    
    .intro-image img {
        min-height: 300px;
    }
    
    .advantage-icon {
        width: 100px;
        height: 100px;
    }
  }
  
  /* 图片模态框样式 */
  .modal {
    display: none;
    position: fixed;
    z-index: 1100;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
  }

  .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
  }

  .modal-close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1101;
  }

  .modal-close:hover {
    color: #bbb;
  }

  /* 给可点击图片添加鼠标样式 */
  .zoomable {
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .zoomable:hover {
    opacity: 0.9;
  }

  /* 动画效果 */
  @keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
  }

  .modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  /* 产品理念页面样式 */
  .concept-page {
    margin-top: 120px;
    padding: 40px 0;
  }

  .product-concept {
    background: #fff;
    padding: 60px 0;
  }

  .concept-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .concept-text {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .concept-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    font-size: 16px;
  }

  .concept-text p:last-child {
    margin-bottom: 0;
    text-align: center;
    color: #007bff;
    font-weight: bold;
  }

  /* 响应式调整 */
  @media screen and (max-width: 768px) {
    .concept-page {
      margin-top: 100px;
    }
    
    .concept-text {
      padding: 20px;
    }
    
    .concept-text p {
      font-size: 15px;
    }
  }
  
  /* 产品中心页面样式 */
  .products-banner {
    position: relative;
    margin-top: 120px;
    height: 300px;
    overflow: hidden;
  }

  .products-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
  }

  .banner-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .banner-text p {
    font-size: 24px;
    opacity: 0.9;
  }

  /* 产品展示区域样式 */
  .products-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
  }

  /* 侧边栏样式 */
  .products-sidebar {
    width: 250px;
    flex-shrink: 0;
  }

  .products-sidebar h3 {
    font-size: 20px;
    padding: 15px;
    background: #007bff;
    color: white;
    margin: 0;
    border-radius: 8px 8px 0 0;  /* 上方圆角 */
  }

  .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #eee;
    border-radius: 0 0 8px 8px;  /* 下方圆角 */
    overflow: hidden;  /* 确保子元素不会超出圆角 */
  }

  .category-list li {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    background: #fff;
  }

  .category-list li:last-child {
    border-bottom: none;  /* 移除最后一项的底部边框 */
  }

  .category-list li:hover,
  .category-list li.active {
    background: #f8f9fa;
    color: #007bff;
    padding-left: 25px;  /* 悬停时稍微缩进 */
  }

  /* 移动端适配 */
  @media screen and (max-width: 768px) {
    .category-list {
        border-radius: 8px;  /* 在移动端时四周都是圆角 */
    }

    .category-list li {
        border-radius: 4px;  /* 移动端每个选项都有圆角 */
        margin: 2px;
        border: 1px solid #eee;
    }
  }

  /* 产品列表样式 */
  .products-content {
    flex: 1;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .product-item {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
    overflow: hidden;
  }

  .product-title {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
  }

  .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .product-more {
    display: block;
    padding: 8px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
  }

  .product-more:hover {
    background: #007bff;
    color: white;
  }

  /* 分页控件样式 */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
  }

  .pagination button {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .pagination button:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
  }

  .page-numbers {
    display: flex;
    gap: 5px;
  }

  .page-numbers span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    cursor: pointer;
  }

  .page-numbers span.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
  }

  /* 响应式调整 */
  @media screen and (max-width: 768px) {
    .products-container {
      flex-direction: column;
    }

    .products-sidebar {
      width: 100%;
    }
  }
  
  /* 产品中心页面的响应式样式 */
  @media screen and (max-width: 768px) {
    /* Banner 响应式 */
    .products-banner {
        margin-top: 100px;
        height: 200px;
    }

    .banner-text h1 {
        font-size: 28px;
    }

    .banner-text p {
        font-size: 18px;
    }

    /* 产品展示区域响应式 */
    .products-container {
        flex-direction: column;
        padding: 10px;
        margin: 20px auto;
        gap: 20px;
    }

    /* 侧边栏响应式 */
    .products-sidebar {
        width: 100%;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .category-list li {
        flex: 1;
        min-width: calc(50% - 5px);
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }

    /* 产品网格响应式 */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .product-item {
        padding: 8px;
    }

    .product-title {
        font-size: 14px;
        margin: 8px 0;
    }

    .product-image {
        height: 150px;
    }

    .product-more {
        padding: 6px;
        font-size: 14px;
    }

    /* 分页控件响应式 */
    .pagination {
        margin-top: 20px;
        gap: 5px;
    }

    .pagination button {
        padding: 6px 12px;
        font-size: 14px;
    }

    .page-numbers span {
        padding: 6px 10px;
        font-size: 14px;
    }

    /* 确保移动端点击区域足够大 */
    .category-list li,
    .pagination button,
    .page-numbers span,
    .product-more {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* 更小屏幕的额外调整 */
@media screen and (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .product-image {
        height: 130px;
    }

    .category-list li {
        min-width: calc(50% - 5px);
        font-size: 13px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-numbers {
        order: 2;
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }

    .prev-page {
        order: 1;
    }

    .next-page {
        order: 3;
    }
}

/* 超小屏幕的调整 */
@media screen and (max-width: 320px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 180px;
    }

    .category-list li {
        width: 100%;
        min-width: 100%;
    }
}
  
  /* 鼠标悬停时的放大效果 */
  .product-item:hover .product-image {
    transform: scale(1.1);
  }

  /* 添加图片容器来控制overflow */
  .product-image-container {
    overflow: hidden;
    margin-bottom: 10px;
  }
  

  /* 留言表单样式 */
  .contact-form {
    width: 50%;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }

  .contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
  }

  .containerContact h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    transition: all 0.3s ease;
  }

  .containerContact h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #007bff;
    transition: width 0.3s ease;
  }

  .containerContact h2:hover:after {
    width: 100px;
  }

  .form-group {
    margin-bottom: 25px;
    position: relative;
  }

  .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
  }

  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0,123,255,0.2);
    outline: none;
  }

  .submit-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
  }


  .containerContact h2 {
  
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }


  .containerContact{
    position:relative;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10%;
    min-height: calc(100vh - 300px);

  }

  

  /* 联系我们页面的移动端响应式样式 */
  @media screen and (max-width: 768px) {
    .containerContact {
      width: 90%;

      height: auto;
      margin-top: 100px;
    }

    .contact-form {
      width: 100%;
      padding: 15px;
    }

    .form-group {
      margin-bottom: 15px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 8px;
    }

    .submit-btn {
      width: 100%;
    }

    /* 页脚移动端样式 */
    .containerContactFooter {
      flex-direction: column;
      padding: 20px;
      width: 90%;
      border: none;
      gap: 30px;
    }

    .footer-leftContactFooter {
      width: 100%;
      align-items: center;
      text-align: center;
    }

    .footer-rightContactFooter {
      flex-direction: column;
      width: 100%;
      left: 0;
      align-items: center;
      text-align: center;
    }

    .contact-section,
    .qr-codesContactFooter {
      width: 100%;
      margin-bottom: 20px;
    }

    .qr-container {
      justify-content: center;
    }

    .company-name h2 {
      font-size: 20px;
    }

    .phone {
      font-size: 24px;
    }

    .contact-section p {
      font-size: 14px;
    }
  }

  /* 更小屏幕的额外调整 */
  @media screen and (max-width: 480px) {
    .containerContact {
      padding: 15px;
    }

    .company-name h2 {
      font-size: 18px;
    }

    .phone {
      font-size: 20px;
    }
  }

  


  .containerContactFooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5%;
    align-items: center;
    justify-content: center;
    
  }

  
  .footer-leftContactFooter{
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 20px;

  }

  

  .footer-rightContactFooter {
    display: flex;
    flex-direction: row;
    gap: 20px;
    position: relative;
    left: 20%;
  }

  .contact-section,
  .qr-codesContactFooter {
    flex: 1;
  }




