@charset "UTF-8";
/* ==========================================================================
   从 K711 移植的首页版块样式（首页Banner + 产品分类 + 产品中心）
   仅作用于 .i_banner / .i_agency / .i_product，避免影响 K528 其他版块
   ========================================================================== */

/* 作用域内基础重置（对齐 K711 overall.css） */
.i_banner, .i_banner *,
.i_agency, .i_agency *,
.i_product, .i_product * {
  box-sizing: border-box;
}
.i_banner img,
.i_agency img,
.i_product img {
  display: block;
  border: 0;
}
.i_agency a,
.i_product a {
  display: block;
  color: #333;
  text-decoration: none;
}
.i_agency ul,
.i_agency ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.i_agency b,
.i_agency i,
.i_agency em,
.i_agency p {
  font-style: normal;
  margin: 0;
}

/* 公共容器与标题 */
.i_product .main {
  width: 1400px;
  margin: 0 auto;
}
.i_agency .title01,
.i_product .title01 {
  margin: 60px 0 40px;
}
.i_agency .adminbuy_title,
.i_product .adminbuy_title {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}
.i_agency .adminbuy_title p,
.i_product .adminbuy_title p {
  font-size: 16px;
  font-weight: normal;
  color: #999;
  margin: 0;
}
.i_agency .adminbuy_title2,
.i_product .adminbuy_title2 {
  color: #333;
}
.i_agency .btn01,
.i_product .btn01 {
  display: block;
  width: 120px;
  height: 44px;
  line-height: 44px;
  border-radius: 4px;
  text-align: center;
  transition: all .3s;
}
.i_agency .btn01:hover,
.i_product .btn01:hover {
  transform: scale(0.95);
}

/* ===================== 首页banner ===================== */
.i_banner {
  width: 100%;
  overflow: hidden;
}
.i_banner .ban_swiper {
  width: 1920px;
  position: relative;
  left: 50%;
  margin-left: -960px;
  transition: all .5s;
}
.i_banner .ban_swiper .swiper-slide img {
  width: 100%;
}
.i_banner .ban_swiper .ban_pagination {
  width: auto;
  bottom: 5%;
  left: auto;
  right: 12.5%;
}
.i_banner .ban_swiper .ban_pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 10px;
}
.i_banner .ban_swiper .ban_pagination .swiper-pagination-bullet-active {
  position: relative;
  border-radius: 50%;
  background-color: #c33621;
}
.i_banner .ban_swiper .ban_pagination .swiper-pagination-bullet-active::after {
  content: '';
  display: block;
  width: 27px;
  height: 27px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url(../images/dian01.png) no-repeat center;
  background-size: cover;
}
/* 保留 K528 原 banner 左右翻页按钮样式，定位到视口两侧 */
.i_banner .ban_swiper .swiper-button-prev,
.i_banner .ban_swiper .swiper-button-next {
  color: #34499d;
  --swiper-navigation-size: 44px;
  z-index: 10;
}
.i_banner .ban_swiper .swiper-button-prev {
  left: calc(960px - 50vw + 30px);
  right: auto;
}
.i_banner .ban_swiper .swiper-button-next {
  right: calc(960px - 50vw + 30px);
  left: auto;
}

/* ===================== 产品分类（生产代加工） ===================== */
.i_agency {
  width: 100%;
  overflow: hidden;
}
.i_agency .ag_box {
  width: 1920px;
  position: relative;
  left: 50%;
  margin-left: -960px;
  transition: all .5s;
}
.i_agency .ag_box .ag_swiper .swiper-slide {
  width: 1400px;
  height: 554px;
}
.i_agency .ag_box .ag_swiper .swiper-slide img {
  height: 100%;
  object-fit: cover;
}
.i_agency .ag_box .ag_swiper .swiper-slide-next {
  opacity: .6;
}
.i_agency .ag_box .ag_swiper .swiper-slide-prev {
  opacity: .6;
}
.i_agency .ag_box .ag_swiper .swiper-slide-prev img {
  float: right;
}
.i_agency .ag_box .ag_swiper .swiper-slide-active img {
  float: right;
}
.i_agency .ag_box .ag_text {
  width: 420px;
  height: 100%;
  background: linear-gradient(0deg, #2B2A2F 0%, #3D3E42 100%);
  position: absolute;
  top: 0;
  left: 260px;
  z-index: 10;
}
.i_agency .ag_box .ag_text .ag_text_ul {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.i_agency .ag_box .ag_text .ag_text_ul li {
  height: 33.3%;
  padding: 10% 10% 10% 12%;
  border-bottom: 1px solid #55575C;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .5s;
  cursor: pointer;
}
.i_agency .ag_box .ag_text .ag_text_ul li .li_icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .5s;
}
.i_agency .ag_box .ag_text .ag_text_ul li .li_icon b {
  color: #fff;
  font-size: 1.25vw;
}
.i_agency .ag_box .ag_text .ag_text_ul li .li_icon .li_icon01 {
  display: none;
}
.i_agency .ag_box .ag_text .ag_text_ul li p {
  font-size: 16px;
  color: #fff;
  margin-top: 10%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: none;
}
.i_agency .ag_box .ag_text .ag_text_ul li .li_btn {
  margin-top: 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .5s;
  display: none;
}
.i_agency .ag_box .ag_text .ag_text_ul li .li_btn .li_btn01 {
  background-color: #c33621;
  color: #fff;
}
.i_agency .ag_box .ag_text .ag_text_ul li .li_btn .li_btn02 {
  border: 1px solid #c33621;
  color: #c33621;
}
.i_agency .ag_box .ag_text .ag_text_ul li:last-child {
  border-bottom: 1px solid transparent;
}
.i_agency .ag_box .ag_text .ag_text_ul .ag_active {
  display: block;
  height: auto;
}
.i_agency .ag_box .ag_text .ag_text_ul .ag_active .li_icon .li_icon01 {
  display: block;
}
.i_agency .ag_box .ag_text .ag_text_ul .ag_active .li_icon .li_icon02 {
  display: none;
}
.i_agency .ag_box .ag_text .ag_text_ul .ag_active p {
  display: -webkit-box;
}
.i_agency .ag_box .ag_text .ag_text_ul .ag_active .li_btn {
  display: flex;
}

/* ===================== 产品中心 ===================== */
.i_product .adminbuy_pro {
  overflow: hidden;
}
.i_product .adminbuy_pro a {
  float: left;
  width: 31.33333%;
  margin: 0 0 30px 3%;
  text-align: center;
}
.i_product .adminbuy_pro a:nth-child(1) {
  margin-left: 0;
}
.i_product .adminbuy_pro a:nth-child(4) {
  margin-left: 0;
}
.i_product .adminbuy_pro img {
  width: 100%;
}
.i_product .adminbuy_pro p {
  line-height: 40px;
  font-size: 16px;
}

/* 显隐辅助（PC / 移动） */
@media (min-width: 1000px) {
  .i_agency .tel {
    display: none !important;
  }
}

/* ===================== 响应式 ===================== */
@media screen and (min-width: 1000px) and (max-width: 1500px) {
  .i_agency .ag_box .ag_swiper .swiper-slide {
    width: 1200px;
    height: 480px;
  }
  .i_agency .ag_box .ag_text {
    width: 350px;
    left: 360px;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1440px) {
  .i_product .main {
    width: 90%;
  }
  .i_agency .btn01,
  .i_product .btn01 {
    font-size: 14px !important;
    width: 90px;
    height: 36px;
    line-height: 36px;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1280px) {
  .i_agency .ag_box {
    width: 1400px;
    position: relative;
    left: 50%;
    margin-left: -700px;
    transition: all .5s;
  }
  .i_agency .ag_box .ag_swiper .swiper-slide {
    width: 900px;
    height: 340px;
  }
  .i_agency .ag_box .ag_text {
    width: 300px;
    left: 250px;
  }
  .i_agency .ag_box .ag_text .ag_text_ul li {
    padding: 6% 5% 6% 6%;
  }
  .i_agency .ag_box .ag_text .ag_text_ul li p {
    font-size: 12px;
    margin-top: 6%;
  }
  .i_agency .ag_box .ag_text .ag_text_ul li .li_btn {
    margin-top: 6%;
  }
}

@media screen and (max-width: 999px) {
  .i_agency .pc {
    display: none !important;
  }
  .i_product .main {
    width: 90%;
  }
  .i_agency .title01,
  .i_product .title01 {
    width: 100%;
    margin: 30px 0;
  }
  .i_agency .adminbuy_title,
  .i_product .adminbuy_title {
    font-size: 22px;
  }
  .i_agency .btn01,
  .i_product .btn01 {
    width: auto;
    padding: 0 14px;
    height: 32px;
    line-height: 32px;
    font-size: 13px !important;
  }
  /* 首页banner */
  .i_banner .ban_swiper {
    width: 100%;
    position: relative;
    left: 0;
    margin-left: 0;
    transition: all .5s;
  }
  .i_banner .ban_swiper .ban_pagination {
    right: 5%;
  }
  .i_banner .ban_swiper .swiper-button-prev,
  .i_banner .ban_swiper .swiper-button-next {
    display: none;
  }
  .i_banner .ban_swiper .ban_pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  .i_banner .ban_swiper .ban_pagination .swiper-pagination-bullet-active::after {
    width: 20px;
    height: 20px;
  }
  /* 产品分类 移动端 */
  .i_agency .tel_agency .tag_swiper .swiper-slide > img {
    width: 100%;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide .tag_text {
    background-color: #2F2F34;
    color: #fff;
    padding: 15px;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide .tag_text b {
    display: block;
    font-size: 14px;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide .tag_text p {
    font-size: 12px;
    margin: 10px 0;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide .tag_text .li_btn {
    display: flex;
    align-items: center;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide .tag_text .li_btn .li_btn01 {
    background-color: #c33621;
    color: #fff;
    margin-right: 10px;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide .tag_text .li_btn .li_btn02 {
    color: #c33621;
    border: 1px solid #c33621;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide-next,
  .i_agency .tel_agency .tag_swiper .swiper-slide-prev {
    opacity: .6;
  }
  .i_agency .tel_agency .tag_swiper .swiper-slide-next .tag_text,
  .i_agency .tel_agency .tag_swiper .swiper-slide-prev .tag_text {
    display: none;
  }
}
