/* 页面主体 */
.page {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* 优化后的 Banner 区域 */
.box_1 {
  /* background: url("/images/banner-8.png") no-repeat center/cover; */
  width: 100%;
  /*display: flex;*/
  /*flex-direction: column;*/
  /*align-items: center;*/
  /*justify-content: center;*/
  /*padding: 2rem 1rem;*/
  height: 800px; /* 默认高度 */
  position: relative;
  overflow: hidden;
}

.bannerImg {
  /*position: absolute;*/
  /*top: 0;*/
  /*left: 0;*/
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 添加半透明覆盖层增强文字可读性 */
/*.box_1::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  right: 0;*/
/*  bottom: 0;*/
/*  background: rgba(0, 0, 0, 0.3);*/
/*  z-index: 0;*/
/*}*/
.box_1 .ct{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.box_1 > * {
  /* position: relative; */
  z-index: 1;
}

/* 搜索框样式 */
.box_3 {
  width: 45.84vw;
  height: auto;
  margin: 0 auto 20px;
}

.box_4 {
  background-color: rgba(248, 248, 248, 1);
  border-radius: 35px;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 15px;
  font-size: 16px;
  color: #222;
  font-family: var(--font-family);
}

.text-wrapper_3 {
  background-color: rgba(250, 208, 44, 1);
  border-radius: 33px;
  height: 50px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.text-wrapper_3:hover {
  background-color: #e6b800;
}

.text_11 {
  font-size: 16px;
  font-family: var(--font-family);
  font-weight: 500;
  color: #222222;
}

.text-wrapper_4 {
  width: auto;
  height: auto;
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  font-family: var(--font-family);
  color: #ffffff;
  text-align: center;
  line-height: 1.5;
  cursor: pointer;
}

/*.text_12 {*/
/*  font-size: 14px;*/
/*  font-family: var(--font-family);*/
/*  color: #ffffff;*/
/*  text-align: center;*/
/*  line-height: 1.5;*/
/*  cursor: pointer;*/
/*}*/

.text-wrapper_4 a {
  color: #ffffff;
  text-decoration: none;
}

.text-wrapper_4 a:hover {
  text-decoration: underline !important;
}

/* 分类区域 */
.box_5 {
  width: 100%;
  height: auto;
  padding: 80px 0 80px 0;
  background: #fff;
  overflow: hidden;
}

.text_13 {
  font-size: 36px;
  font-family: var(--font-family);
  font-weight: 900;
  color: #222222;
  text-align: center;
  margin-bottom: 20px;
}

.text_14 {
  font-size: 16px;
  font-family: var(--font-family);
  color: #222222;
  text-align: center;
  max-width: 1150px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.box_6 {
  width: 86.25rem;
  height: auto;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}

/* 左侧分类栏 */
.block_1 {
  background-color: rgba(245, 245, 245, 1);
  border-radius: 10px;
  width: 240px;
  height: 100%;
  /* padding: 20px 0; */
}

.block_1 ul li a {
  text-decoration: none;
  color: #666666;
}

.text-wrapper_5 {
  background-color: rgba(250, 208, 44, 1);
  border-radius: 10px 10px 0 0;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.text_15 {
  font-size: 18px;
  font-family: var(--font-family);
  font-weight: bold;
  color: #222222;
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-item {
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(229, 229, 229, 1);
  font-size: 15px;
  font-family: var(--font-family);
  color: #666;
}

.category-item:hover {
  background-color: rgba(250, 208, 44, 1);
}

.category-item.active {
  background-color: rgba(250, 208, 44, 1);
  /*color: #222;*/
  /*font-weight: 500;*/
  font-size: 18px;
  font-weight: bold;
}

.category-item.active a {
  color: #222222;
}

/* 右侧产品展示区 */
.block_2 {
  flex: 1;
  height: auto;
}

.text_16 {
  font-size: 18px;
  font-family: var(--font-family);
  font-weight: bold;
  color: #222222;
  margin-bottom: 10px;
}

.box_15 {
  background-color: rgba(229, 229, 229, 1);
  height: 1px;
  margin-bottom: 30px;
}

.box_16 {
  background-color: rgba(250, 208, 44, 1);
  width: 60px;
  height: 3px;
  margin-top: -1px;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  box-shadow: 0px 5px 20px 0px rgba(25, 19, 4, 0.11);
  background-color: rgba(248, 248, 248, 1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  text-decoration: none;
}

.product-card:hover img {
  transform: scale(1.15);
}

/*.product-card:hover {*/
/*  transform: translateY(-10px);*/
/*  box-shadow: 0px 15px 30px rgba(25, 19, 4, 0.2);*/
/*}*/

/*.product-card:hover .product-overlay {*/
/*  opacity: 1;*/
/*}*/

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  /*border-bottom: 1px solid #eee;*/
  background: #FFFFFF;
}

.product-image img {
  width: 250px;
  height: 150px;
  position: relative;
  top: 15%;
  left: 15%;
  transition: 0.5s;
  object-fit: contain;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  font-family: var(--font-family);
  font-weight: 500;
  color: #222;
  text-align: center;
  margin-bottom: 8px;
}

.product-model {
  font-size: 14px;
  font-family: var(--font-family);
  color: #666;
  text-align: center;
  margin-bottom: 15px;
}

.product-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: 15px;
}

.currency {
  font-size: 16px;
  font-family: var(--font-family);
  font-weight: 400;
  color: #fad02c;
}

.price {
  font-size: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  color: #fad02c;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 208, 44, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.add-to-cart {
  background: #222;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.add-to-cart:hover {
  background: #000;
  transform: scale(1.05);
}

.image-text_1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.label_1 {
  width: 30px;
  height: 30px;
}

.text-group_2 {
  font-size: 0.7rem;
  color: #666;
  margin-top: 5px;
}

.image-wrapper_1 {
  width: 9.38vw;
  height: 3.13vw;
  margin: 3.22vw 0 0 26vw;
}

.news-nav-buttons {
  display: flex;
  gap: 15px;
}

.news-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #bfbfbf;
}

.news-btn:hover {
  background: #fad02c;
  transform: translateY(-2px);
}

.arrow-style {
  width: 1.25rem;
}
@media only screen and (max-width:1560px) {
    .box_1{
        height: 600px;
    }
    .box_6{
        width: 1100px;
    }
    .text_14{
        max-width: 950px;
    }
    .text_13{
        font-size: 30px;
    }
    .product-image img{
        width: 180px;
        height: 110px;
    }
    .product-image{
        height: 150px;
    }
    .product-card{
        border-radius: 16px;
    }
}
@media only screen and (max-width:960px) {
    .box_1{
        height: 280px;
    }
    .box_1 .ct{
        top: calc(50% + 8%);
    }
    .box_3{
        width: 100%;
    }
    .box_4{
        height: 40px;
        padding: 0 5px;
    }
    .text-wrapper_3{
        width: 100px;
        height: 30px;
    }
    .text_11{
        font-size: 14px;
    }
    .search-input{
        font-size: 14px;
    }
    .box_5{
        padding: 60px 4%;
    }
    .text_13{
        font-size: 20px;
        margin-bottom: 10px;
    }
    .text_14{
        max-width: 100%;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 30px;
    }
    .box_6{
        gap:unset;
        width: 100%;
        flex-direction: column;
    }
    .block_1{
        width: 100%;
    }
    .category-item{
        font-size: 14px;
    }
    .category-item.active{
        font-size: 16px;
    }
    .block_2{
        margin-top: 30px;
    }
    .image-wrapper_1{
        width: 100%;
        height: auto;
        margin: 20px auto 0;
    }
    .news-nav-buttons{
        margin: 0 auto;
        gap: unset;
    }
    .news-btn:last-of-type{
        margin-left: 15px;
    }
    .products-container{
        display: flex;
        flex-wrap: wrap;
        gap: unset;
    }
    .product-card{
        border-radius: 10px;
        width: calc((100% - 10px) / 2);
        margin-right: 10px;
        margin-bottom: 15px;
        box-shadow: 0px 0px 10px 0px rgb(25 19 4 / 11%);
    }
    .product-card:nth-of-type(2n){
        margin-right: 0px;
    }
    .product-image{
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .product-image img{
        max-width: 80%;
        max-height: 80%;
        width: auto;
        height: auto;
        position: unset;
    }
    .product-model{
        margin-bottom: 10px;
    }
    .product-info{
        padding: 15px 15px 20px 15px;
    }
    .product-title{
        font-size: 14px;
    }
    .currency{
        font-size: 14px;
    }
    .price{
        font-size: 16px;
    }
    .product-price{
        margin-top: 10px;
    }
    .news-btn{
        width: 38px;
        height: 38px;
    }
}
/*@media (max-width: 768px) {*/
/*  .box_6 {*/
/*    flex-direction: column;*/
/*    width: auto;*/
/*  }*/

/*  .image-wrapper_1 {*/
/*    margin: 3.22vw 0 0 36vw;*/
/*  }*/

/*  .block_1 {*/
/*    width: 100%;*/
/*  }*/

/*  .products-container {*/
/*    grid-template-columns: repeat(2, 1fr);*/
/*  }*/

  /* 移动端优化：Banner区域 */
/*  .box_1 {*/
/*    height: auto;*/
/*    min-height: 500px;*/
/*    padding: 2rem 1.5rem;*/
/*    justify-content: flex-start;*/
/*    padding-top: 100px;*/
/*  }*/

/*  .box_1 .box_3 {*/
/*    width: 90%;*/
/*    max-width: 500px;*/
/*  }*/

/*  .box_1 .box_4 {*/
/*    height: 55px;*/
/*  }*/

/*  .box_1 .text-wrapper_3 {*/
/*    height: 45px;*/
/*    width: 100px;*/
/*  }*/

/*  .box_1 .text_11 {*/
/*    font-size: 15px;*/
/*  }*/

/*  .box_1 .text-wrapper_4 {*/
/*    font-size: 13px;*/
/*    padding: 0 15px;*/
/*  }*/
/*}*/
/*@media (max-width: 576px) {*/
/*  .products-container {*/
/*    grid-template-columns: 1fr;*/
/*  }*/

/*  .box_4 {*/
/*    height: 50px;*/
/*  }*/

/*  .text-wrapper_3 {*/
/*    height: 40px;*/
/*    width: 100px;*/
/*  }*/

/*  .news-btn {*/
/*    width: 45px;*/
/*    height: 45px;*/
/*  }*/

  /* 小屏幕移动设备优化 */
/*  .box_1 {*/
/*    min-height: 400px;*/
/*    padding-top: 80px;*/
/*  }*/

/*  .box_1 .box_3 {*/
/*    width: 95%;*/
/*  }*/

/*  .box_1 .box_4 {*/
/*    height: 50px;*/
/*  }*/

/*  .box_1 .text_11 {*/
/*    font-size: 14px;*/
/*  }*/

/*  .box_1 .text_12 {*/
/*    font-size: 12px;*/
/*  }*/
/*}*/
