/* Bilingual front-end additions on top of the original template */
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, Helvetica, sans-serif; color: #373737; overflow-x: hidden; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* row clearing for the template's floated product grid */
.product .list li:nth-child(4n+1), .related-wrap .list li:nth-child(4n+1) { clear: both; }

/* ---------- language switch: last nav item, same metrics as nav links ---------- */
.g_header { position: relative; }
.g_header .main .nav > li.langbar { float: left; padding: 10px 17px; line-height: 14px; }
.g_header .main .nav > li.langbar a { display: inline; padding: 0; font-size: 14px; color: #373737; vertical-align: middle; }
.g_header .main .nav > li.langbar a:hover { color: #7fb800; }
.g_header .main .nav > li.langbar a.on { color: #fff; font-weight: bold; }
.langbar i { font-style: normal; margin: 0 2px; color: #bfbfbf; }

/* ---------- homepage banner (origin used inline styles) ---------- */
.banners-pc { clear: both; height: 760px; }
.banners-pc .frame { height: 760px; background: no-repeat center center; background-size: cover; }
.banners-mb { display: none; clear: both; height: 420px; }
.banners-mb .frame { height: 420px; background: no-repeat center center; background-size: cover; }
.banners-pc .slick-dots li button:before, .banners-mb .slick-dots li button:before { font-size: 12px; }

/* ---------- category tabs ---------- */
.list1 li a.on, .list1 li a.active { background: #7fb800; border-color: #7fb800; color: #fff; }
.list1 li a:hover { background: #75c52d; border-color: #75c52d; color: #fff; }
.list1 li a { padding: 8px 22px; transition: ease .25s; }
.page-section .cr .list1 li a { border-color: #7fb800; color: #4e4e4e; }
.page-section .cr .list1 li a.on { color: #fff; }

/* ---------- generic buttons ---------- */
a.g_more, button.g_more { display: inline-block; margin: 0 6px; padding: 12px 32px; background: #7fb800; color: #fff; border: 1px solid #7fb800; border-radius: 3px; font-size: 14px; cursor: pointer; transition: ease .25s; }
a.g_more:hover, button.g_more:hover { background: #6aa000; border-color: #6aa000; color: #fff; }
a.g_more.ghost, button.g_more.ghost { background: transparent; color: #7fb800; }
a.g_more.ghost:hover, button.g_more.ghost:hover { background: #7fb800; color: #fff; }

/* ---------- inner page hero ---------- */
.page-hero { height: 230px; background: linear-gradient(rgba(55,55,55,.72), rgba(55,55,55,.72)), url(../img/pz_bj.jpg) no-repeat center center; background-size: cover; }
.page-hero .g_cw { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-hero h2 { font-size: 34px; color: #fff; font-weight: normal; letter-spacing: 1px; }
.page-hero p { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.8); }
.breadcrumb { padding: 16px 10px; font-size: 13px; color: #808080; }
.breadcrumb a { color: #7fb800; }
.breadcrumb .sep { margin: 0 8px; color: #bfbfbf; }
.page-section { padding: 20px 10px 70px; min-height: 380px; }
.page-section .rich-text { max-width: 900px; margin: 25px auto 0; font-size: 15px; line-height: 1.9; color: #5a5a5a; }
.page-section .rich-text h4 { margin: 26px 0 8px; font-size: 19px; color: #7fb800; font-weight: bold; }
.page-section .rich-text p { margin: 0 0 12px; }
.about-map { max-width: 900px; margin: 32px auto 0; text-align: center; }
.about-map img { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; border: 1px solid #eee; border-radius: 4px; }
.about-map figcaption { margin-top: 12px; font-size: 13px; color: #999; }

/* ---------- homepage news ---------- */
.news { padding: 20px 0 70px; background: #f7f7f7; }
.news .g_title h3 { color: #414141; }
.news .g_cw { padding: 0 10px; }
.news-list { display: flex; flex-wrap: wrap; margin-left: -20px; }
.news-list li { float: none; width: 33.333%; padding-left: 20px; margin-bottom: 20px; box-sizing: border-box; }
.news-list .card { display: block; padding: 22px; background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; height: 100%; transition: ease .25s; }
.news-list .card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); border-color: #7fb800; }
.news-list .date { font-size: 12px; color: #7fb800; }
.news-list h4 { margin: 10px 0; font-size: 16px; color: #414141; line-height: 1.5; }
.news-list p { font-size: 13px; line-height: 1.7; color: #808080; }
.empty-tip { padding: 30px 10px; text-align: center; color: #999; }

/* ---------- product detail ---------- */
.detail-main { display: flex; flex-wrap: wrap; margin-left: -30px; }
.detail-photo { width: 55%; padding-left: 30px; box-sizing: border-box; }
.detail-info { width: 45%; padding: 10px 0 0 40px; box-sizing: border-box; }
.detail-photo .detail-slide { text-align: center; }
.detail-photo img { max-width: 100%; max-height: 430px; border: 1px solid #eee; border-radius: 4px; }
.detail-info h3 { font-size: 26px; color: #373737; margin-bottom: 18px; }
.detail-cat { font-size: 14px; color: #808080; margin-bottom: 18px; }
.detail-cat b { color: #7fb800; }
.detail-desc { font-size: 14px; line-height: 1.9; color: #5a5a5a; margin-bottom: 30px; }
.gallery-wrap, .related-wrap { margin-top: 55px; }
.gallery-wrap h4, .related-wrap h4 { font-size: 20px; color: #414141; margin-bottom: 18px; border-left: 4px solid #7fb800; padding-left: 12px; }
.detail-gallery { display: flex; flex-wrap: wrap; margin-left: -12px; }
.detail-gallery img { width: 160px; height: 130px; object-fit: contain; margin: 0 0 12px 12px; border: 1px solid #e6e6e6; border-radius: 3px; background: #fff; cursor: pointer; }
.related-wrap .list li { width: 25%; }

/* ---------- fleet / why grids ---------- */
.team_list .list { margin-left: -20px; }
.team_list .list li { width: 33.333%; padding-left: 20px; margin-bottom: 20px; }
.team_list .list li .pic { height: 220px; background-size: cover; background-position: center; border-radius: 4px; }
.team_list .list li .l1 { padding: 14px 0; text-align: center; font-size: 16px; color: #4e4e4e; }
.why-grid { display: flex; flex-wrap: wrap; margin: 35px 0 0 -20px; }
.why-grid li { float: none; width: 33.333%; padding-left: 20px; margin-bottom: 20px; }
.why-grid .card { padding: 28px 22px; background: #fff; border: 1px solid #e6e6e6; border-top: 3px solid #7fb800; border-radius: 3px; height: 100%; }
.why-grid .num { font-size: 30px; color: #d9edbd; font-family: Arial, sans-serif; font-weight: bold; }
.why-grid h4 { margin: 8px 0 10px; font-size: 17px; color: #414141; }
.why-grid p { font-size: 13px; line-height: 1.8; color: #808080; margin: 0; }

/* ---------- contact ---------- */
.contact-tip { max-width: 900px; margin: 25px auto 30px; font-size: 15px; line-height: 1.9; color: #5a5a5a; text-align: center; }
.contact-cards { display: flex; flex-wrap: wrap; margin-left: -20px; }
.contact-cards li { float: none; width: 33.333%; padding-left: 20px; margin-bottom: 20px; }
.contact-cards .card { padding: 32px 20px; text-align: center; background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; height: 100%; }
.contact-cards .ico { display: inline-block; width: 54px; height: 54px; line-height: 54px; border-radius: 50%; background: #f1f8e6; color: #7fb800; font-size: 22px; }
.contact-cards h4 { margin: 16px 0 8px; font-size: 15px; color: #808080; }
.contact-cards p { font-size: 15px; line-height: 1.7; color: #414141; word-break: break-word; }
.contact-cards a:hover { color: #7fb800; }

/* ---------- message form ---------- */
.msg-form { max-width: 900px; margin: 25px auto 0; padding: 30px; background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; }
.form-grid { display: flex; flex-wrap: wrap; margin-left: -20px; }
.form-row { width: 50%; padding-left: 20px; margin-bottom: 18px; box-sizing: border-box; }
.form-row.full { width: 100%; }
.form-row label { display: block; margin-bottom: 7px; font-size: 14px; color: #4e4e4e; }
.form-row label em { color: #e4393c; font-style: normal; margin-left: 3px; }
.form-row input, .form-row textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; color: #373737; background: #fff; }
.form-row input:focus, .form-row textarea:focus { border-color: #7fb800; }
.form-row .err { border-color: #e4393c; }
.form-actions { text-align: center; padding-top: 10px; }
.form-notice { margin-top: 16px; text-align: center; font-size: 14px; min-height: 20px; }
.form-notice.ok { color: #7fb800; }
.form-notice.err { color: #e4393c; }
.offline-tip { margin-top: 10px; text-align: center; font-size: 12px; color: #999; }

/* ---------- footer tweaks ---------- */
.bottom_b .category ul li p a:hover { color: #7fb800; }
.bottom_c .right { max-width: 55%; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .g_header .main .nav > li.langbar { float: none; margin: 0 40px; padding: 10px 0; }
  .banners-pc { display: none; }
  .banners-mb { display: block; }
  .news-list li, .why-grid li, .contact-cards li, .team_list .list li { width: 50%; }
  .related-wrap .list li, .product .list li { width: 33.333%; }
  .product .list li:nth-child(4n+1), .related-wrap .list li:nth-child(4n+1) { clear: none; }
  .product .list li:nth-child(3n+1), .related-wrap .list li:nth-child(3n+1) { clear: both; }
  .detail-photo, .detail-info { width: 100%; padding-left: 0; }
  .detail-info { padding: 25px 0 0; }
  .bottom_c .right { max-width: none; float: none; text-align: left; }
  .bottom_c .left { float: none; }
  .page-hero { height: 190px; }
  .page-hero h2 { font-size: 26px; }
}
@media (max-width: 667px) {
  .banners-mb { height: 300px; }
  .banners-mb .frame { height: 300px; }
  .news-list li, .why-grid li, .contact-cards li, .team_list .list li { width: 100%; }
  .related-wrap .list li, .product .list li { width: 50%; }
  .product .list li:nth-child(3n+1), .related-wrap .list li:nth-child(3n+1) { clear: none; }
  .product .list li:nth-child(2n+1), .related-wrap .list li:nth-child(2n+1) { clear: both; }
  .form-row { width: 100%; }
  .msg-form { padding: 20px; }
  .page-hero { height: 160px; }
  .page-hero h2 { font-size: 22px; }
  .detail-gallery img { width: 120px; height: 100px; }
}
