.header{
           position: fixed;
            top: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 9999;
        }
.banner{
    width: 100%;
}
.banner img{
    width: 100%;
    height: auto;
}
.fproduct-series{
    max-width: 1200px;
    margin: 5px auto;
}
/* 系列标题样式 */
.fsection-title {
  text-align: center;
  font-size: 40px;
  margin: 30px 0;
  font-weight: normal;
}

/* 搜索容器样式 */
.fsearch-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  height: 120px;
}
.fsearch-box{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 82%;
    width: 700px;
    background-color: #eeefef;
    padding: 15px;
    margin: 10px;
    border-radius: 20px;
}
.fsearch-box.fade-in-element.active:hover {
    box-shadow: 0 0 7px #88abc6;
}
.fsearch-input {
  width: 750px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px 0 0 10px;
  font-size: 20px;
  outline: none;
  height: 70px;
  border: none;
}

.fsearch-input::placeholder {
  color: #999;
}

.fsearch-btn {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  color: #666;
  height: 70px;
  border: none;
}
.fsearch-btn img{
    width: 40px;
    height: auto;
}

.fsearch-btn:hover {
  color: #000;
}

/* 产品网格布局样式 */
.fproducts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 单个产品项样式 */
.fproduct-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fproduct-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.fproduct-name {
  text-align: center;
  padding: 20px 10px;
  background-color: #f0f0f0;
  width: 100%;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}
p.fproduct-name.fade-in-element.active:hover {
    box-shadow: 0 0 5px grey;
}
.fproduct-name p{text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
/* 统一的淡入动画类*/
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-in-element.active {
    opacity: 1;
    transform: translateY(0);
}

.prolist ul li{height: 557px;background-position: center!important;background-size: cover!important;/*border-bottom: solid 1px #0066cc;*/color: #fff;display: flex;align-items: center;}
.prolist ul li .con{width: 78%;margin: 0 auto;display: flex;padding: 0 2%}
.prolist ul li:nth-child(even) .con{justify-content: right}
.prolist ul li .item{width: 400px;max-width: 100%}
.prolist ul li .item .title{font-size: 3.2rem;font-weight: bold}
.prolist ul li .item .title2{font-size: 1.7rem;font-weight: bold;margin-top: 10px}
.prolist ul li .item .box{background: #2c2c2d; box-shadow: 0 0 10px #2c2c2d;margin:35px 0 0 30px;padding:20px 25px;box-sizing: border-box; border-radius: 10px;}
.prolist ul li .item .box .t1{font-size: 1.7rem;font-weight: bold;}
.prolist ul li .item .box .t2{font-size: 0.95rem;text-align: justify;margin: 10px 20px 10px 20px;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 6;-webkit-box-orient: vertical;overflow: hidden;}
.prolist ul li .item .box .btn{text-align: right}
.prolist ul li .item .box .btn a{display: inline-block;background: #0060af;padding: 12px 20px;transition: all 0.3s ease; border-radius: 10px; /* 按钮动画 */}
.prolist ul li .item .box .btn a:hover {
    background: #0080e0; /* 按钮颜色变亮 */
    transform: translateY(-1px); /* 按钮轻微上移 */
    box-shadow: 0 0px 8px rgba(0, 96, 175, 0.6); /* 按钮添加阴影 */
}


@media (max-width: 768px) {
  .fsearch-input {
    width: 280px;
  }

  .fproducts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fsection-title {
    font-size: 24px;
  }

  .fsearch-input {
    width: 220px;
    padding: 10px 12px;
  }

  .fproduct-name {
    font-size: 14px;
  }
}


@media (max-width: 374px) {

    .header {
        padding: 8px 15px; 
    }

   
    .fsearch-container {
        height: 80px; 
        margin-bottom: 25px;
    }

    .fsearch-box {
        width: 100%; 
        padding: 10px;
    }

    .fsearch-input {
        width: calc(100% - 60px); 
        height: 50px;
        font-size: 14px;
        padding: 8px 12px;
    }

    .fsearch-btn {
        height: 50px; 
        width: 60px; 
    }

    .fsearch-btn img {
        width: 30px; 
    }

    .fsection-title {
        font-size: 22px;
        margin: 20px 0;
    }

    .fproducts-grid {
        grid-template-columns: 1fr;
        gap: 15px; 
        padding: 0 12px;
    }

    .fproduct-name {
        font-size: 13px;
        padding: 12px 0; 
    }
}

@media (min-width: 375px) and (max-width: 413px) {
    .header {
        padding: 10px 20px;
    }

    .fsearch-container {
        height: 90px;
        margin-bottom: 30px;
    }

    .fsearch-box {
        width: 100%;
        padding: 12px;
    }

    .fsearch-input {
        width: calc(100% - 70px);
        height: 55px;
        font-size: 16px;
        padding: 10px 15px;
    }

    .fsearch-btn {
        height: 55px;
        width: 70px;
    }

    .fsearch-btn img {
        width: 35px;
    }

    .fsection-title {
        font-size: 24px;
        margin: 25px 0;
    }

    .fproducts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 15px;
    }

    .fproduct-name {
        font-size: 14px;
        padding: 15px 0;
    }
}

@media (min-width: 414px) and (max-width: 767px) {
    .header {
        padding: 12px 25px;
    }

    .fsearch-container {
        height: 100px;
        margin-bottom: 35px;
    }

    .fsearch-box {
        width: 90%; 
        margin: 0 auto;
        padding: 15px;
    }

    .fsearch-input {
        width: calc(100% - 80px);
        height: 60px;
        font-size: 18px;
        padding: 10px 15px;
    }

    .fsearch-btn {
        height: 60px;
        width: 80px;
    }

    .fsearch-btn img {
        width: 40px;
    }

    .fsection-title {
        font-size: 26px;
        margin: 30px 0;
    }

    .fproducts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .fproduct-name {
        font-size: 15px;
        padding: 18px 0;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .header {
        padding: 15px 30px;
    }

    .fsearch-container {
        height: 110px;
        margin-bottom: 40px;
    }

    .fsearch-box {
        width: 700px; 
    }

    .fsearch-input {
        width: 600px;
        height: 70px;
        font-size: 19px;
    }

    .fsearch-btn {
        height: 70px;
    }

    .fsearch-btn img {
        width: 45px;
    }

    .fsection-title {
        font-size: 27px;
        margin: 35px 0;
    }

   
    .fproducts-grid {
        grid-template-columns: repeat(1, 1fr); 
        gap: 25px;
        padding: 0 30px;
        max-width: 900px; 
    }

    .fproduct-name {
        font-size: 16px;
        padding: 20px 0;
    }
}


@media (min-width: 1024px) and (max-width: 1200px) {
    .fproducts-grid {
        max-width: 1100px; 
        gap: 22px;
    }
}
