/*
Theme Name: NX Ferroalloy Theme
Theme URI: https://nxferroalloy.com/
Author: NX Ferroalloy
Author URI: https://nxferroalloy.com/
Description: Custom WordPress theme for NX Ferroalloy.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: jsc-theme
*/

/* ========== CSS Variables ========== */
:root {
  --color: #c99428;
  --hovercolor: #111111;
  --fontcolor: #000000;
  --headercolor: #FFFFFF;
  --footercolor: #DDDDDD;
  --introcolor: #555555;
  --fontfamily: 'Lato', 'Open Sans', 'Roboto', Arial, sans-serif;
}

/* ========== Reset ========== */
*,
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
div,
p {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  overflow-x: hidden;
}

body {
  margin: 0 auto;
  font-size: 16px;
  color: var(--fontcolor);
  line-height: 1.6;
  font-family: var(--fontfamily);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: capitalize;
  font-weight: 600;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--fontcolor);
  transition: color .2s ease;
}

a:hover {
  color: var(--color);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

input,
textarea {
  border: 0;
  outline: 0;
  font-family: inherit;
}

button {
  border: 0;
  outline: 0;
  cursor: pointer;
  font-family: inherit;
}

button:active {
  transform: scale(0.95);
}

.l-wrap {
  margin: 0 auto;
  max-width: 1680px;
  padding: 0 20px;
}

/* ========== Header Wrapper ========== */
.head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

/* ========== Top Bar ========== */
.head-top {
  height: 45px;
  background: var(--hovercolor);
  position: relative;
}

.head-top .l-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.head-top .head-contact {
  color: var(--headercolor);
  display: flex;
  align-items: center;
}

.head-top .head-contact a {
  color: var(--headercolor);
  margin-right: 60px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.head-top .head-contact a:hover {
  color: var(--color);
}

.head-top .head-contact a::before {
  content: "\260E";
  margin-right: 5px;
  color: var(--color);
}

.head-top .head-contact .head-mail::before {
  content: "\2709";
}

/* ========== Header Main ========== */
.head-main {
  z-index: 2;
  position: relative;
  background: transparent;
}

.head-main .l-wrap {
  height: 110px;
  display: flex;
  align-items: center;
  transition: height .3s ease;
}

.head-logo img {
  width: auto;
  max-width: 200px;
  max-height: 60px;
}

.head-nav {
  height: 110px;
  margin-left: auto;
}

.head-nav>ul {
  display: flex;
  height: 100%;
}

.head-nav>ul {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.head-nav>ul>li {
  margin: 0 10px;
  height: 100%;
  position: relative;
}

.quote-btn {
  background: var(--color);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all .3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.quote-btn:hover {
  background: #b88420;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.head-nav>ul>li>a {
  font-weight: 600;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-size: 15px;
  color: #fff;
}

.head-nav>ul>li>a.inmenu_1,
.head-nav>ul>li.current-menu-item>a,
.head-nav>ul>li>a:hover {
  color: var(--color);
}

/* 有二级菜单的一级菜单加向下箭头 */
.head-nav>ul>li.menu-item-has-children>a::after {
  content: '▾';
  margin-left: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .3s ease;
}

.head-nav>ul>li.menu-item-has-children:hover>a::after {
  transform: rotate(180deg);
}

.head-nav .submenu,
.head-nav ul.sub-menu {
  display: block;
  position: absolute;
  top: calc(100% - 5px);
  left: 0;
  min-width: 220px;
  z-index: 99;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  border-radius: 4px;
}

.head-nav .submenu a,
.head-nav ul.sub-menu a {
  padding: 12px 20px;
  display: block;
  white-space: nowrap;
  color: #333;
  font-size: 14px;
  transition: all .2s ease;
}

.head-nav .submenu a:hover,
.head-nav ul.sub-menu a:hover {
  background: rgba(201, 148, 40, 0.1);
  color: var(--color);
  padding-left: 24px;
}

.head-nav>ul>li:hover>.submenu,
.head-nav>ul>li:hover>ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-btn {
  display: none;
  cursor: pointer;
  width: 55px;
  height: 55px;
  background-color: var(--color);
  position: relative;
}

.nav-btn span {
  display: block;
  position: absolute;
  border-radius: 999px;
  background: #fff;
  left: 15px;
  width: 25px;
  height: 2px;
}

.nav-btn span:nth-child(1) {
  top: 18px;
}

.nav-btn span:nth-child(2) {
  top: 26px;
}

.nav-btn span:nth-child(3) {
  top: 34px;
}

/* Fixed header on scroll */
.head.is-fixed .head-main {
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
}

.head.is-fixed .head-top {
  display: none;
}

.head.is-fixed .head-main .l-wrap {
  height: 80px;
}

.head.is-fixed .head-nav {
  height: 80px;
}

.head.is-fixed .head-nav>ul>li>a {
  color: var(--fontcolor);
}

.head.is-fixed .head-nav>ul>li.current-menu-item>a {
  color: var(--color);
}

.admin-bar .head.is-fixed .head-main {
  top: 32px;
}

/* Fortis Logo 样式 */

.fortis-logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-dark {
  display: none;
}

.head.is-fixed .logo-white {
  display: none;
}

.head.is-fixed .logo-dark {
  display: block;
}

.head.is-fixed .fortis-logo-text {
  color: var(--fontcolor);
}

/* Header 右侧额外图标（搜索+语言） */
.nav-extra {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quote-btn {
  background: var(--color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all .3s ease;
  white-space: nowrap;
}

.quote-btn:hover {
  background: #b88420;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}


.nav-extra .nav-icon {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color .2s ease;
}

.nav-extra .nav-icon:hover {
  color: var(--color);
}

.nav-extra .lang-icon {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 4px 8px;
  border-radius: 3px;
}

.nav-extra .lang-icon ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-extra .lang-icon ul li {
  display: inline;
}

.nav-extra .lang-icon ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-extra .lang-icon ul li.current-lang a {
  color: var(--color);
}

.nav-extra .lang-icon ul li a:hover {
  color: var(--color);
}

.head.is-fixed .nav-extra .nav-icon {
  color: var(--fontcolor);
}

.head.is-fixed .nav-extra .lang-icon {
  border-color: rgba(0, 0, 0, .2);
}

.nav-extra .nav-btn {
  margin-left: 5px;
}


.head.is-fixed .search-icon-img {
  filter: brightness(0);
}

/* 桌面端：导航菜单和extra并排 */
.head-nav {
  display: flex;
  align-items: center;
}

@media(min-width:1081px) {
  .head-nav>ul {
    height: 100%;
    align-items: center;
  }
}

/* ========== Hero Swiper ========== */
#home-swiper {
  position: relative;
}

#home-swiper .swiper-slide {
  position: relative;
}

#home-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
}

#home-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: .95;
  width: 12px;
  height: 12px;
}

#home-swiper .swiper-pagination-bullet-active {
  background: var(--color);
}

#home-swiper .swiper-next,
#home-swiper .swiper-prev {
  cursor: pointer;
  position: absolute;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  margin-top: -25px;
  z-index: 9;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  transition: background .3s ease;
}

#home-swiper .swiper-next:hover,
#home-swiper .swiper-prev:hover {
  background: var(--color);
}

#home-swiper .swiper-next {
  right: 0;
}

#home-swiper .swiper-prev {
  left: 0;
}

/* ===== 页头导航宽度自适应 =====
   原因：.head-main > .l-wrap 是 flex + 默认 nowrap，logo(100px) + 导航(1397px) = 1497px，
   超过 1440 视口的内容区宽度（1392px），把 header 撑出视口——这是首页横向溢出的真实来源，
   与 #home-swiper 无关（swiper 的超宽 slide 被自身 overflow:hidden 正常裁掉）。
   做法：1261–1600 之间按视口连续缩放菜单间距与字号，1600 以上恢复原值，宽屏观感完全不变。 */
@media (min-width: 1261px) and (max-width: 1600px) {
  .head-nav > ul > li,
  #menu-primary > li {
    margin-left: clamp(1px, 0.36vw, 10px);
    margin-right: clamp(1px, 0.36vw, 10px);
  }

  .head-nav > ul > li > a {
    font-size: clamp(11.5px, 0.9vw, 15px);
  }
}

/* ===== 横向入场动画收口 =====
   AOS 的 fade-left / fade-right 初始位移是 translateX(±100px)。元素在滚入视口前，
   会把所在的 #about / #ind 撑出视口，实测稳定多出 80px——这是页头修好之后
   剩下的那部分横向溢出，与布局宽度计算无关。
   用 overflow-x: clip 只裁掉动画溢出部分：不创建滚动容器，不影响后代 position:sticky/fixed，
   动画本身的滑入过程仍然可见。 */
#about,
#ind {
  overflow-x: clip;
}

/* Banner text overlay */
.banner-text {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 500px;
  z-index: 5;
}

.banner-text .p1 {
  font-size: 32px;
  font-weight: 900;
  -webkit-text-stroke: 0.8px var(--color);
  color: var(--color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0;
  animation: slideUp .8s .3s forwards;
}

.banner-text .p2 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideUp .8s .5s forwards;
}

.banner-text .p2 span {
  color: var(--color);
  font-weight: 700;
}

.banner-text .p3 a {
  display: inline-block;
  padding: 12px 36px;
  background: var(--color);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background .3s ease;
  opacity: 0;
  animation: slideUp .8s .7s forwards;
}

.banner-text .p3 a:hover {
  background: #fff;
  color: var(--color);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Banner 文字位置微调 */
#home-swiper .banner-text {
  left: 8%;
  max-width: 520px;
}

/* ========== About Section ========== */
#about {
  padding: 80px 0;
}

#about .l-wrap {
  display: flex;
  align-items: center;
}

#about .about-img,
#about .about-con {
  width: 50%;
}

#about .about-con {
  padding-left: 80px;
}

#about .about-con .title {
  color: var(--color);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 16px;
  text-transform: uppercase;
}

#about .about-con h1,
#about .about-con h3 {
  font-size: 32px;
  text-transform: uppercase;
  margin: 32px 0 20px;
  line-height: 1.3;
}

#about .about-con h1 span,
#about .about-con h3 span {
  color: var(--color);
}

#about .about-con .con {
  color: var(--introcolor);
  line-height: 1.7;
  margin-bottom: 30px;
}

#about .about-con ul {
  margin: 30px 0 40px;
  padding-left: 30px;
  position: relative;
}

#about .about-con ul li {
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

#about .about-con ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color);
  position: absolute;
  top: 10px;
  left: 0;
}

#about .about-img {
  position: relative;
}

#about .about-img img {
  display: block;
  width: 90%;
  border-radius: 4px;
}

#about .about-img .img-deco {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color);
  top: -29px;
  right: -40px;
  z-index: -1;
}

.more-btn {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid var(--color);
  background: var(--color);
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all .3s ease;
}

.more-btn:hover {
  background: #fff;
  color: var(--color);
}

/* About 板块布局：左图右文 */
section .about-img {
  float: left !important;
  width: 48% !important;
  position: relative;
  margin-right: 4%;
  margin-top: -20px;
  box-sizing: border-box;
}

section .about-img::before {
  display: none !important;
}

section .about-img img {
  width: 90% !important;
  border-radius: 6px;
  display: block;
}

section .about-con {
  overflow: hidden !important;
}

section .about-con h1,
section .about-con h3 {
  font-size: 32px;
  text-transform: uppercase;
  margin: 32px 0 20px;
  line-height: 1.3;
}

section .about-con h1 span,
section .about-con h3 span {
  color: var(--color);
}

section .about-con .con {
  color: var(--introcolor);
  line-height: 1.6;
  margin-bottom: 25px;
}

section .about-con ul {
  margin: 25px 0 30px;
  padding-left: 0;
  list-style: none;
}

section .about-con ul li {
  line-height: 1.7;
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
  color: #444;
}

section .about-con ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color);
  position: absolute;
  left: 0;
  top: 9px;
}

@media(max-width:1080px) {
  section .about-img {
    float: none !important;
    width: 100% !important;
    margin-right: 0;
    margin-bottom: 30px;
  }

  section .about-con h1,
  section .about-con h3 {
    font-size: 24px;
    margin: 24px 0 18px;
  }
}

/* ========== Stats Section ========== */
#ind {
  display: flex;
  padding: 80px 0;
  overflow: hidden;
  background: var(--hovercolor);
}

#ind>div {
  flex: 1;
}

#ind .ind-wrap {
  padding: 60px 80px;
}

#ind .ind-l {
  z-index: 1;
}

#ind .ind-l h2,
#ind .ind-l h3 {
  margin: 30px 0 15px;
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
}

#ind .ind-l .con {
  margin-bottom: 40px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
}

#ind .adv-icon {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

#ind .adv-icon>li {
  box-sizing: border-box;
  margin-bottom: 25px;
  padding: 0 15px;
  width: 50%;
}

#ind .adv-icon .icon-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-radius: 4px;
}

#ind .adv-icon .icon-img {
  margin-right: 20px;
  width: 50px;
  height: 50px;
  background: var(--color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

#ind .adv-icon .num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

#ind .adv-icon .text {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

#ind .ind-r {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

#ind .ind-r .video-box {
  width: 100%;
  aspect-ratio: 16/9;
  background: #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#ind .ind-r .video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}

#ind .ind-r .play-btn {
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: transform .3s ease;
}

#ind .ind-r .play-btn:hover {
  transform: scale(1.1);
}

/* ========== Products Section ========== */
#product {
  padding: 80px 0;
}

.main-part {
  text-align: center;
  text-transform: uppercase;
  font-size: 35px;
  margin: 35px 0 10px;
}

.main-title {
  text-align: center;
  color: var(--introcolor);
  margin-bottom: 40px;
  font-size: 16px;
}

#product .pro-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

#product .pro-list>li {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

#product .pro-item {
  padding: 15px;
  border: 1px solid #eee;
  transition: border .3s ease;
  background: #fff;
}

#product .pro-item:hover {
  border-color: var(--color);
}

#product .pro-item:hover .pro-img img {
  transform: scale(1.05);
}

#product .pro-img {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

#product .pro-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

#product .pro-name {
  margin: 15px 0 10px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 48px;
}

#product .pro-more {
  width: 100%;
  display: block;
  color: var(--fontcolor);
  font-size: 14px;
  background: #f2f2f2;
  text-align: center;
  text-transform: uppercase;
  transition: all .3s ease;
}

#product .pro-more:hover {
  color: #fff;
  background: var(--color);
}

#product .product-more {
  text-align: center;
  margin-top: 20px;
}

/* ========== Application Section ========== */
#appli {
  background: #f6f6f6;
  padding: 80px 0;
}

#appli h2,
#appli h3 {
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
  margin: 35px 0 40px;
}

#sol-swiper {
  padding-bottom: 50px;
}

#sol-swiper .swiper-slide {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

#sol-swiper .sol-l,
#sol-swiper .sol-r {
  flex: 1;
}

#sol-swiper .sol-l img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
}

#sol-swiper .sol-r-wrap {
  padding: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#sol-swiper .sol-title {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

#sol-swiper .sol-con {
  color: var(--introcolor);
  line-height: 1.6;
  margin-bottom: 25px;
}

#sol-swiper .swiper-pagination-bullet {
  background: var(--color);
}

#sol-swiper .sol-r-wrap .more-btn {
  align-self: flex-start;
}

/* ========== News Section ========== */
#new {
  padding: 80px 0;
}

#new .new-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -20px;
}

#new .new-list>li {
  width: 33.333%;
  padding: 0 20px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

#new .new-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

#new .new-list>li {
  width: 33.333%;
  padding: 0 15px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

/* News 卡片：上下布局（图片在上，文字在下） */
#new .new-item {
  display: flex;
  flex-direction: column;
  border: none;
  padding: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: all .3s ease;
}

#new .new-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transform: translateY(-3px);
}

#new .new-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: block;
}

#new .new-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

#new .new-item:hover .new-img img {
  transform: scale(1.05);
}

#new .new-content {
  padding: 20px;
}

#new .new-meta {
  margin-bottom: 10px;
}

#new .new-date {
  font-size: 13px;
  color: var(--color);
  font-weight: 500;
}

#new .new-title {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: var(--fontcolor);
  line-height: 1.4;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 48px;
}

#new .new-title:hover {
  color: var(--color);
}

#new .new-excerpt {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#new .new-intro {
  color: var(--introcolor);
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 15px;
}

#new .new-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .3s ease;
  margin: 0 15px 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

#new .new-more::after {
  content: '›';
  font-size: 18px;
  font-weight: 700;
}

#new .new-more:hover {
  letter-spacing: 1px;
}

/* 2026-11-17：列表项文字区（.new-info）此前没有内边距，卡片贴边 */
#new .new-info {
  padding: 18px 20px 6px;
  display: flex;
  flex-direction: column;
}

/* ========== Contact Form Section ========== */
.home-contact {
  position: relative;
  background: url('/wp-content/uploads/2026/10/contact-bg.webp') center center / cover no-repeat, #1a1a1a;
  padding: 50px 0;
  color: #fff;
}

.home-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 0;
}

.home-contact .l-wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
}

.home-contact .main-part {
  color: #fff;
  font-size: 32px;
  margin: 32px 0 35px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.contact-form,
.home-contact .l-wrap {
  max-width: 1600px;
  margin: 0 auto;
}

.home-contact .form-item {
  float: left;
  width: 48%;
  margin-bottom: 18px;
}

.home-contact .form-item:nth-child(even) {
  margin-right: 0;
  margin-left: 4%;
}

.home-contact .form-item.full {
  float: none;
  width: 100%;
  margin-left: 0;
}

.home-contact .form-item {
  width: 48%;
  margin-bottom: 20px;
}

.home-contact .form-item label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #fff !important;
  font-weight: 500;
}

.home-contact .form-item input,
.home-contact .form-item textarea {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #333;
  font-size: 15px;
  border-radius: 2px;
  transition: border .3s ease;
}

.home-contact .form-item input::placeholder,
.home-contact .form-item textarea::placeholder {
  color: #999;
  opacity: 1;
}

.home-contact .form-item.full {
  width: 100%;
}

.home-contact .form-item textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn,
.home-contact .btn {
  width: 100%;
  text-align: center;
  margin-top: 15px;
  overflow: hidden;
}

.contact-form .btn button,
.home-contact .btn button {
  padding: 12px 60px;
  background: var(--color);
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: background .3s ease;
  cursor: pointer;
  border: 0;
}

.contact-form .btn button:hover,
.home-contact .btn button:hover {
  background: #fff;
  color: var(--color);
}

/* ========== New Contact Section ========== */
.contact-section {
  padding: 80px 0;
  background: #f9f9f9;
}

.contact-section .contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-section .contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--fontcolor);
  margin-bottom: 15px;
}

.contact-section .contact-intro {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-section .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-section .contact-item .icon {
  width: 50px;
  height: 50px;
  background: var(--color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-section .contact-item .icon i {
  font-size: 20px;
}

.contact-section .contact-item .con h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--fontcolor);
  margin-bottom: 6px;
}

.contact-section .contact-item .con p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.contact-section .contact-item .con a {
  color: var(--color);
  text-decoration: none;
}

.contact-section .social-links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}

.contact-section .social-item {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .3s ease;
}

.contact-section .social-item:hover {
  background: var(--color);
  color: #fff;
  transform: translateY(-2px);
}

.contact-section .contact-form-wrap {
  background: #fff;
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .06);
}

.contact-section .contact-form-wrap h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--fontcolor);
  margin-bottom: 15px;
}

.contact-section .contact-form-wrap>p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-section .form-item {
  margin: 0;
}

.contact-section .form-item label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--fontcolor);
  margin-bottom: 8px;
}

.contact-section .form-item input,
.contact-section .form-item textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  color: var(--fontcolor);
  transition: all .3s ease;
  background: #fff;
  box-sizing: border-box;
  height: 48px;
}

.contact-section .form-item textarea {
  height: 140px;
  resize: vertical;
}

.contact-section .form-item input::placeholder,
.contact-section .form-item textarea::placeholder {
  color: #aaa;
}

.contact-section .form-item input:focus,
.contact-section .form-item textarea:focus {
  outline: none;
  border-color: var(--color);
  box-shadow: 0 0 0 3px rgba(201, 148, 40, .1);
}

.contact-section .form-item.full {
  margin-bottom: 25px;
}

.contact-section .form-submit button {
  width: 100%;
  background: var(--color);
  color: #fff;
  border: 0;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all .3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-section .form-submit button:hover {
  background: #b88420;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}

.contact-section .map-section {
  margin-top: 60px;
  grid-column: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .06);
}

@media (max-width: 992px) {
  .contact-section .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-section .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-section .contact-form-wrap {
    padding: 25px;
  }
}

/* ========== News Page ========== */
.news-page-header {
  text-align: center;
  padding: 60px 0 40px;
}

.news-page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--fontcolor);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
}

.news-page-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color);
}

.news-page-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 60px;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: all .3s ease;
  position: relative;
}

.news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transform: translateY(-3px);
}

.news-card-img {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 25px;
}

.news-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #888;
}

.news-card-meta i {
  color: var(--color);
  margin-right: 5px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-card-title a {
  color: var(--fontcolor);
  text-decoration: none;
}

.news-card-title a:hover {
  color: var(--color);
}

/* 整卡可点：把标题链接的点击热区扩展到整张卡片。
   page.php / search.php / tag.php 的标题是 <h3><a>...</a></h3>，
   archive.php 用的是 .news-card-title，两种结构都覆盖。
   桌面端与移动端通用。 */
.news-card h3 a::after,
.news-card .news-card-title a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.news-card-excerpt {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin: 0 0 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 博客列表摘要：统一最多两行，超出由浏览器自动省略 */
.post-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}



/* Blog 左右布局 */
.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-bottom: 60px;
}


.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}




















/* 产品详情页布局 */
.product-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 60px 0;
}


.product-sidebar .sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}






.product-content {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* 产品页顶部模块：左主图（单图）+ 右标题/简述/按钮 */
.product-top {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  align-items: flex-start;
  margin-bottom: 35px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.product-gallery {
  width: 35%;
  flex-shrink: 0;
}

.product-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-top-title {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--fontcolor);
  margin: 0 0 15px;
}

.product-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.product-desc p {
  margin: 0 0 10px;
}

.product-top-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-top-btns a {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
}

.product-top-btns .btn-primary {
  background: var(--color);
  color: #fff;
}

.product-top-btns .btn-primary:hover {
  background: #b07f1f;
  color: #fff;
}

.product-top-btns .btn-ghost {
  border: 1px solid var(--color);
  color: var(--color);
  background: transparent;
}

.product-top-btns .btn-ghost:hover {
  background: var(--color);
  color: #fff;
}

@media (max-width: 992px) {
  .product-top {
    flex-direction: column;
  }

  .product-gallery {
    width: 100%;
  }

  .product-info {
    width: 100%;
  }
}

.product-content h2,
.product-content h3 {
  color: var(--fontcolor);
  margin-top: 30px;
  margin-bottom: 15px;
}

.product-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.product-content table th,
.product-content table td {
  border: 1px solid #e5e5e5;
  padding: 12px;
  text-align: center;
}

.product-content table th {
  background: #f8f8f8;
  font-weight: 600;
}

@media (max-width: 992px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-top {
    grid-template-columns: 1fr;
  }
}

/* 产品页询盘表单 */



.inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.inquiry-form .form-item {
  display: flex;
  flex-direction: column;
}

.inquiry-form .form-item.full {
  margin-bottom: 20px;
}


.inquiry-form input,

.inquiry-form input:focus,


.submit-btn {
  background: var(--color);
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all .3s ease;
}

.submit-btn:hover {
  background: var(--hovercolor);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 148, 40, .3);
}

/* 上一条下一条 */

.prev-post,


.prev-post:hover,

.prev-post img,

.nav-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}


/* 相关产品 */







@media (max-width: 768px) {
  .inquiry-form .form-row {
    grid-template-columns: 1fr;
  }


}

/* 产品分类页独立布局，不和blog样式冲突 */
.category-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-bottom: 60px;
}


.category-sidebar .sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}







.category-sidebar .category-list a:hover,







.category-main {
  min-width: 0;
}

.category-main h1,
.category-main h2.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--fontcolor);
  margin: 0 0 25px;
}

.category-main h2 {
  font-size: 24px;
  color: var(--color);
  margin: 30px 0 15px;
}

.category-main p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* 产品分类页全宽底部内容 */


/* Composition三栏 */








/* Using Method */





/* Factors影响因素 */










/* Application卡片图标 - 去掉 */


/* 证书模块一行6张 */




/* Precautions下面4个卡片加图标 */






/* Our Factory图片缩小 */

/* FAQ手风琴 */









/* CTA询盘模块 */





/* 底部产品介绍段落 */




/* Storage左图右文 */











/* Certifications证书墙 */





/* Our Factory左右布局 */






/* 产品分类页产品列表 */








.category-products {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}



.product-grid-2col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, .06);
  transition: all .3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}

.product-card-img {
  height: 300px;
  overflow: hidden;
  background: #f8f8f8;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-info {
  padding: 20px;
  text-align: center;
}

.product-card-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--fontcolor);
  margin: 0;
  transition: color .3s ease;
}

.product-card:hover .product-card-info h3 {
  color: var(--color);
}

@media (max-width: 768px) {
  .product-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Blog 单篇文章样式 */

.new-date {
  font-size: 14px;
  color: #888;
}

.new-date i {
  color: var(--color);
  margin-right: 5px;
}




.new-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--fontcolor);
  line-height: 1.3;
  margin: 0 0 25px;
}








.pagelink-item.next {
  text-align: right;
  flex-direction: row-reverse;
}






@media (max-width: 768px) {
  .new-title {
    font-size: 24px;
  }


}

.blog-main .news-list-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding-bottom: 0;
}

.no-posts {
  text-align: center;
  padding: 60px 0;
  font-size: 16px;
  color: #666;
}

@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-main .news-list-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 992px) {
  .news-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-list-grid {
    grid-template-columns: 1fr;
  }

  .news-page-title {
    font-size: 28px;
  }
}

/* ========== Partners ========== */
.part {
  padding: 60px 0;
  background: #fafafa;
}

.part-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
}

.part-swiper .swiper-slide img {
  max-height: 50px;
  opacity: .6;
  transition: opacity .3s ease;
}

.part-swiper .swiper-slide:hover img {
  opacity: 1;
}

/* 客户logo走马灯轮播（无缝滚动） */
.b-gallery {
  overflow: hidden;
  padding: 30px 0;
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.b-gallery .swiper-slide {
  width: auto;
  height: 90px;
  display: flex;
  align-items: center;
}

.b-gallery .gallery-item {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 35px;
}

.b-gallery .gallery-item img {
  max-height: 80px;
  max-width: 200px;
  object-fit: contain;
  opacity: .9;
  transition: opacity .3s ease, transform .3s ease;
}

.b-gallery .gallery-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media(max-width:768px) {
  .b-gallery .swiper-slide {
    height: 60px;
  }

  .b-gallery .gallery-item {
    height: 45px;
    padding: 0 12px;
  }

  .b-gallery .gallery-item img {
    max-height: 35px;
    max-width: 110px;
  }
}

/* ========== Inner Banner ========== */
.inner-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #333;
  padding-top: 100px;
  box-sizing: border-box;
}

.inner-banner>img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.inner-banner .banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding-top: 60px;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

.inner-banner h1 {
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.inner-banner .breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

.inner-banner .breadcrumb a {
  color: rgba(255, 255, 255, .8);
}

.inner-banner .breadcrumb a:hover {
  color: var(--color);
}

.inner-banner .breadcrumb span {
  color: var(--color);
}

@media(max-width:1080px) {
  .inner-banner h1 {
    font-size: 26px;
  }
}

/* ========== Product Detail ========== */
.btn-primary {
  background: var(--color);
  color: #fff;
}

.btn-primary:hover {
  background: var(--hovercolor);
  color: #fff;
}

/* ========== Content Section (shared by product & article) ========== */
/* 统一内容区容器：上下 margin 60px，左右 0（对齐原站 common-main） */
.page-content {
  margin: 30px 0;
}

@media(max-width:768px) {
  .page-content {
    margin: 40px 0;
  }
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--color);
}

.content-section h3 {
  font-size: 20px;
  margin: 25px 0 12px;
  color: #333;
}

.content-section p {
  color: #444;
  line-height: 1.9;
  margin-bottom: 15px;
}

.content-section ul {
  margin: 15px 0;
  padding-left: 25px;
}

.content-section ul li {
  padding: 6px 0;
  position: relative;
  list-style: none;
  color: #333;
}

.content-section ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color);
  position: absolute;
  left: -20px;
  top: 14px;
  border-radius: 50%;
}

/* ========== Spec Table ========== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: center;
  border: 1px solid #ddd;
  font-size: 14px;
}

.spec-table th {
  background: #eeeeee;
  color: #333;
  font-weight: 600;
}

.spec-table tr:nth-child(even) {
  background: #eeeeee;
}

/* ========== App Grid ========== */
.app-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 20px -10px;
}

.app-grid .app-name {
  width: 33.333%;
  padding: 0 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

.app-grid .app-name:has(img) {
  width: auto;
  padding: 0;
}




.app-item .app-name {
  font-weight: 600;
  font-size: 15px;
}

/* ========== Why Us ========== */


/* ========== Hot Tags ========== */
.hot-tags {
  padding: 20px 0;
  border-top: 1px solid #eee;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.hot-tags .tags-label {
  font-weight: 600;
  margin-right: 5px;
  color: #333;
}

.hot-tags a {
  display: inline;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  margin: 0;
  color: #c99428;
}

.hot-tags a:hover {
  background: transparent;
  color: #a67a1f;
  text-decoration: underline;
}

/* ========== Page Nav ========== */
.page-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 30px 0;
}

.page-nav .prev,
.page-nav .next {
  max-width: 45%;
}

.page-nav .nav-label {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.page-nav a {
  font-weight: 600;
  color: var(--fontcolor);
}

.page-nav a:hover {
  color: var(--color);
}

/* ========== Related Products ========== */




.related-card .card-inner {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  transition: all .3s ease;
}

.related-card .card-inner:hover {
  border-color: var(--color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
  transform: translateY(-3px);
}

.related-card .pro-img {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  margin-bottom: 12px;
}

.related-card .pro-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card .pro-name {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  min-height: 44px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* ========== Inquiry Section ========== */
.inquiry-section {
  background: linear-gradient(135deg, #f8f8f8, #eeeeee);
  padding: 50px 0;
  margin-top: 40px;
}

.inquiry-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.inquiry-section .sub {
  text-align: center;
  color: var(--introcolor);
  margin-bottom: 30px;
}


.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--fontfamily);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--color);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background .3s ease;
}

.submit-btn:hover {
  background: var(--hovercolor);
}

/* ========== Article ========== */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #eee;
}

.article-header .meta {
  display: flex;
  gap: 20px;
  color: var(--introcolor);
  font-size: 14px;
  margin-bottom: 15px;
}

.article-header .meta span {
  display: flex;
  align-items: center;
}

.article-header h1 {
  font-size: 32px;
  line-height: 1.4;
  text-transform: none;
}

.article-body {
  line-height: 1.9;
  color: #333;
}

.article-body h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--color);
  padding-left: 15px;
  border-left: 4px solid var(--color);
}

.article-body h3 {
  font-size: 20px;
  margin: 25px 0 12px;
}

.article-body p {
  margin-bottom: 15px;
  color: var(--introcolor);
}

.article-body ul {
  margin: 15px 0;
  padding-left: 25px;
}

.article-body ul li {
  padding: 5px 0;
  position: relative;
  list-style: none;
}

.article-body ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color);
  position: absolute;
  left: -20px;
  top: 14px;
  border-radius: 50%;
}

.article-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 20px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.article-body th,
.article-body td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #eee;
  font-size: 14px;
}

.article-body th {
  background: var(--color);
  color: #fff;
}

.article-body tr:nth-child(even) {
  background: #f9f9f9;
}

/* ========== CTA Box ========== */

.cta-box h2,




/* ========== Gallery ========== */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

/* 前6张：3列小图 */
.gallery-item {
  flex: 1 1 30%;
  min-width: 250px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* 后4张：2列大图，尺寸更大 */
.gallery-item:nth-child(n+7) {
  flex: 1 1 48%;
}

.gallery-item:nth-child(n+7) img {
  height: 360px;
}

.gallery-item p {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--introcolor);
}

/* ========== Category / Listing ========== */
.category-intro {
  padding: 60px 0 30px;
}

.category-intro h2 {
  font-size: 28px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color);
  display: inline-block;
}

.category-intro p {
  color: var(--introcolor);
  line-height: 1.6;
  margin-bottom: 15px;
}

.product-list-section {
  padding: 30px 0 60px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.product-card {
  width: 20%;
  /* padding: 0 15px; */
  margin-bottom: 30px;
  box-sizing: border-box;
}

.product-card .card-inner {
  border: 1px solid #eee;
  padding: 15px;
  background: #fff;
  transition: all .3s ease;
  height: 100%;
}

.product-card .card-inner:hover {
  border-color: var(--color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  transform: translateY(-3px);
}

.product-card .card-inner:hover img {
  transform: scale(1.05);
}

.product-card .pro-img {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  margin-bottom: 15px;
  background: #f9f9f9;
}

.product-card .pro-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.product-card .pro-name {
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  min-height: 48px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-card .pro-more {
  display: block;
  text-align: center;
  padding: 10px;
  background: #f2f2f2;
  color: var(--fontcolor);
  font-size: 14px;
  text-transform: uppercase;
  transition: all .3s ease;
}

.product-card .pro-more:hover {
  background: var(--color);
  color: #fff;
}








.seo-content th,











/* ========== Footer ========== */
footer {
  background: var(--hovercolor);
  color: var(--footercolor);
}

.foot-main .l-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 0 40px;
  align-items: flex-start;
}

.foot-item {
  width: 25%;
  padding: 0 clamp(10px, 2vw, 25px);
  box-sizing: border-box;
}

/* 桌面端加宽Hot Recommended、收窄Quick Navigation；平板/手机以下跟随默认50%/100% */
@media (min-width: 1081px) {
  .foot-item.foot-cate {
    width: 20%;
  }

  .foot-item.foot-hot {
    width: 30%;
  }
}

.foot-title {
  position: relative;
  margin-bottom: 25px;
  padding-bottom: 12px;
  text-transform: uppercase;
  font-size: 18px;
  color: #fff;
  min-height: 45px;
  display: flex;
  align-items: center;
}

.foot-title:after {
  display: block;
  position: absolute;
  left: 0;
  top: 100%;
  width: 40px;
  height: 2px;
  background: var(--color);
  content: "";
}

.foot-title img {
  max-width: 180px;
}

.fortis-logo-img.foot-logo {
  height: 40px;
  width: auto;
}

.foot-intro {
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.foot-link ul {
  display: flex;
  gap: 10px;
}

.foot-link .social-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  transition: transform .3s ease;
}

.foot-link .social-item:hover {
  transform: scale(1.1);
}

.foot-link .lk {
  background: #0A66C2;
}

.foot-link .you {
  background: #FF0000;
}

.foot-cate li {
  width: 100%;
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}

.foot-cate li:after {
  position: absolute;
  left: 0;
  content: ">";
  color: var(--color);
}

.foot-cate a {
  color: var(--footercolor);
  font-size: 14px;
  white-space: nowrap;
}

.foot-cate a:hover {
  color: var(--color);
}

/* Hot Recommended 链接基础样式 */
.foot-hot li {
  width: 100%;
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}

.foot-hot li:after {
  position: absolute;
  left: 0;
  content: ">";
  color: var(--color);
}

.foot-hot a {
  color: var(--footercolor);
  font-size: 14px;
  text-decoration: none;
  transition: color .3s ease;
}

.foot-hot a:hover {
  color: var(--color);
}

.foot-contact li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.foot-contact .icon {
  width: 40px !important;
  height: 40px !important;
  background: rgba(255, 255, 255, .1) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  border-radius: 2px !important;
  font-size: 16px;
  color: #fff;
}

.foot-contact .con {
  font-size: 14px !important;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8) !important;
  font-weight: normal !important;
}

.foot-contact .con a {
  color: rgba(255, 255, 255, .8) !important;
  font-size: 14px !important;
  font-weight: normal !important;
}

.foot-contact .con a:hover {
  color: var(--color) !important;
}

.foot-right {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.foot-right .l-wrap {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ========== 右侧滚动条主题色 ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b88420;
}

/* ========== 右侧浮动联系栏 ========== */
.side-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  z-index: 995;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, .1);
  transition: transform .4s ease;
}

.side-contact.show {
  transform: translateY(-50%) translateX(0);
}

.side-contact .side-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  padding: 14px 4px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
  transition: all .3s ease;
}

.side-contact .side-item:last-child {
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
}

.side-contact .side-item:first-child {
  border-radius: 4px 4px 0 0;
}

.side-contact .side-item:hover {
  background: var(--color);
  color: #fff;
}

.side-contact .side-icon {
  font-size: 20px;
  margin-bottom: 4px;
  line-height: 1;
}

.side-contact .side-label {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

@media(max-width:1080px) {
  .side-contact {
    display: none;
  }
}

/* ========== Mobile Bottom Bar ========== */
.bottom-btn {
  position: fixed;
  display: none;
  padding: 0 4vw;
  box-sizing: border-box;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 996;
  background: #fff;
  border-top: 1px solid #f1f1f1;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-btn .btn-item {
  flex: 1;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 第 3 项原本是空的「回顶」占位（#mobileTop 没有 JS 绑定），隐藏后四个按钮平分宽度 */
.bottom-btn .btn-item:nth-child(3) {
  display: none;
}

.bottom-btn .btn-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  font-size: 11px;
  text-transform: capitalize;
}

/* 底部栏图标改为内联 SVG，替代原 emoji 字符（emoji 跨平台渲染不一致且无法统一着色） */
.bottom-btn .bb-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  stroke: var(--color);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.bottom-btn .btn-item a::before,
.bottom-btn .btn-item .top-btn::before {
  content: none;
}

.top-btn {
  cursor: pointer;
  display: none;
  width: 50px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  z-index: 99;
  transition: all .3s ease;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.top-btn:hover {
  background: #b88420;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
}

.top-btn.show {
  display: flex;
}

/* ========== Responsive ========== */
@media (max-width: 1470px) {
  .l-wrap {
    max-width: 1500px;
  }

  #about .about-con {
    padding-left: 50px;
  }

  #ind .ind-wrap {
    padding: 40px;
  }
}

@media (max-width: 1080px) {
  .head-nav {
    height: auto;
    display: flex;
    align-items: center;
  }

  .head-nav .nav-btn {
    display: block;
  }

  .head-nav>ul {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: block;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transition: all .3s ease;
  }

  .head-nav.is-active>ul {
    opacity: 1;
    max-height: 100vh;
    overflow-y: auto;
  }

  .head-nav>ul>li {
    margin: 0 20px;
    height: auto;
    border-bottom: 1px solid #eee;
  }

  .head-nav>ul>li>a {
    display: block;
    text-align: left;
    line-height: 50px;
    height: 50px;
    color: var(--fontcolor);
  }

  .head-nav .submenu,
  .head-nav ul.sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #f9f9f9;
  }

  .head-nav>ul>li.open .submenu,
  .head-nav>ul>li.open>ul.sub-menu {
    display: block;
  }

  .head-main .l-wrap {
    height: 70px;
  }

  .head-top {
    display: none;
  }

  .banner-text .p2 {
    font-size: 22px;
  }

  #about .l-wrap {
    display: block;
  }

  #about .about-img,
  #about .about-con {
    width: 100%;
  }

  #about .about-img {
    margin-bottom: 40px;
  }

  #about .about-con {
    padding-left: 0;
  }

  #ind {
    flex-direction: column-reverse;
  }

  #ind .ind-r {
    padding: 20px;
  }

  #product .pro-list>li {
    width: 50%;
  }

  #sol-swiper .swiper-slide {
    flex-direction: column;
  }

  #new .new-list>li {
    width: 50%;
  }

  .foot-item {
    width: 50%;
    margin-bottom: 30px;
  }


  .product-card {
    width: 50%;
  }
}

/* ===== 1081–1260：导航横向排布物理上放不下，提前切换为折叠菜单 =====
   实测：1200 视口下即便把字号压到 11.5px、间距压到 1px，仍缺 10px；
   1081 视口下缺 121px。靠缩小字号无法解决，因此把 header 的折叠断点从 1080 上移到 1260。
   本段只接管 header 相关样式；首页内容布局的断点仍是 1080，不受影响。 */
@media (min-width: 1081px) and (max-width: 1260px) {
  .head-nav {
    height: auto;
    display: flex;
    align-items: center;
  }

  .head-nav .nav-btn {
    display: block;
  }

  .head-nav>ul {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: block;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transition: all .3s ease;
  }

  .head-nav.is-active>ul {
    opacity: 1;
    max-height: 100vh;
    overflow-y: auto;
  }

  .head-nav>ul>li {
    margin: 0 20px;
    height: auto;
    border-bottom: 1px solid #eee;
  }

  .head-nav>ul>li>a {
    display: block;
    text-align: left;
    line-height: 50px;
    height: 50px;
    color: var(--fontcolor);
    font-size: 15px;
  }

  .head-nav .submenu,
  .head-nav ul.sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    background: #f9f9f9;
  }

  .head-nav>ul>li.open .submenu,
  .head-nav>ul>li.open>ul.sub-menu {
    display: block;
  }

  .head-main .l-wrap {
    height: 70px;
  }

  .head-top {
    display: none;
  }
}

@media (max-width: 768px) {
  main {
    margin-top: 70px;
  }

  .head-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 997;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
    background: #fff;
  }

  .head-main .l-wrap {
    height: 60px;
  }

  .head-logo img {
    max-width: 150px;
    max-height: 45px;
  }

  .banner-text {
    left: 5%;
    right: 5%;
    max-width: none;
  }

  .banner-text .p1 {
    font-size: 22px;
  }

  .banner-text .p2 {
    font-size: 18px;
  }

  .banner-text .p3 a {
    padding: 10px 28px;
    font-size: 12px;
  }

  #home-swiper .swiper-slide img {
    min-height: 300px;
  }

  #home-swiper .swiper-next,
  #home-swiper .swiper-prev {
    width: 36px;
    height: 36px;
  }

  .main-part {
    font-size: 24px;
    margin-top: 24px;
  }

  #about,
  #product,
  #appli,
  #new {
    padding: 50px 0;
  }

  #about .about-con h1,
  #about .about-con h3 {
    font-size: 22px;
    margin: 22px 0 18px;
  }

  #ind .ind-l h2,
  #ind .ind-l h3 {
    font-size: 22px;
    margin-top: 22px;
  }

  #ind .adv-icon>li {
    width: 100%;
  }

  #product .pro-list>li {
    width: 50%;
    padding: 0 8px;
    margin-bottom: 16px;
  }

  #product .pro-list {
    margin: 0 -8px;
  }

  #product .pro-name {
    font-size: 14px;
    min-height: 40px;
  }

  #sol-swiper .sol-r-wrap {
    padding: 25px;
  }

  #sol-swiper .sol-title {
    font-size: 18px;
  }

  #new .new-list > li {
    width: 100%;
  }

  /* 2026-11-17：单列时去掉负边距，否则卡片会溢出版心、右侧标题被截断 */
  #new .new-list {
    margin: 0;
  }

  #new .new-list > li {
    padding: 0;
  }

  .form-item {
    width: 100%;
  }

  .foot-item {
    width: 100%;
  }

  .foot-main .l-wrap {
    padding: 40px 0 20px;
  }

  .bottom-btn {
    display: flex;
  }

  footer {
    margin-bottom: 60px;
  }

  .top-btn {
    display: none !important;
  }

  .inner-banner {
    height: 220px;
    padding-top: 70px;
  }

  .inner-banner h1 {
    font-size: 24px;
  }


  .product-info h2 {
    font-size: 22px;
  }

  .content-section h2 {
    font-size: 20px;
  }


  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .category-intro {
    padding: 30px 0 15px;
  }

  .category-intro h2 {
    font-size: 22px;
  }

  .product-card {
    width: 50%;
    padding: 0 8px;
    margin-bottom: 16px;
  }

  .product-grid {
    margin: 0 -8px;
  }

  .product-card .pro-name {
    font-size: 14px;
    min-height: 40px;
  }


  .article-header h1 {
    font-size: 24px;
  }
}

/* ========== WordPress Adaptations ========== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 600;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  height: auto;
  z-index: 100000;
}

.wp-post-image {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

.aligncenter {
  display: block;
  margin: 20px auto;
}

.alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: 100%;
}

.wp-caption {
  margin-bottom: 20px;
}

.wp-caption-text {
  font-size: 13px;
  color: var(--introcolor);
  text-align: center;
  margin-top: 8px;
}

.sticky {
  position: relative;
}


.bypostauthor {
  display: inline;
}

.wp-block-image {
  margin: 20px 0;
}

/* ========== About Us: Our Mission (原站布局) ========== */
.mission-wrap {
  padding: 60px 0 80px;
  background: #fafafa;
}

.mission-wrap .mission-title {
  text-align: center;
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mission-wrap .mission-sub {
  text-align: center;
  color: var(--introcolor);
  margin-bottom: 50px;
}

.mission-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 50px;
}

.mission-item .mission-text {
  flex: 1;
}

.mission-item .mission-text p {
  color: var(--introcolor);
  line-height: 1.6;
  margin-bottom: 18px;
}

.mission-item .mission-img {
  flex: 1;
}

.mission-item .mission-img img {
  display: block;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.mission-item.rev .mission-img {
  order: 2;
}

.mission-item.rev .mission-text {
  order: 1;
}

@media(max-width:768px) {
  .mission-item {
    flex-direction: column;
    gap: 30px;
  }

  .mission-item.rev .mission-img {
    order: 0;
  }

  .mission-item.rev .mission-text {
    order: 1;
  }

  .mission-wrap .mission-title {
    font-size: 24px;
  }
}

/* List/archive/404 fallback */
.loop-list {
  padding: 40px 0 60px;
}

.loop-list .post-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.loop-list .post-item h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.loop-list .post-item h2 a {
  color: var(--fontcolor);
}

.loop-list .post-item h2 a:hover {
  color: var(--color);
}

.loop-list .post-meta {
  font-size: 13px;
  color: var(--introcolor);
  margin-bottom: 10px;
}


.error-404 {
  padding: 80px 0;
  text-align: center;
}

.error-404 h1 {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--color);
}

/* ========== About 子页 tab 导航（原站布局） ========== */
.tab {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 0 10px;
}

.tab .tab-item {
  padding: 15px 50px;
  margin: 0 15px 15px 0;
  background: #F4F4F4;
  color: var(--fontcolor);
  font-weight: 600;
  text-decoration: none;
}

.tab .tab-item:hover {
  background: var(--color);
  color: #fff;
}

.tab .tab-item.is-current {
  background-color: var(--color);
  position: relative;
  color: #FFFFFF;
}

.tab .tab-item.is-current:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -5px);
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #FFF;
}

@media(max-width:768px) {
  .tab {
    justify-content: space-between;
  }

  .tab .tab-item {
    width: calc(50% - 1vw);
    margin: 0 2vw 2vw 0;
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tab .tab-item:nth-of-type(2n) {
    margin-right: 0;
  }
}

/* ========== 重建布局补充样式（原站复刻 2026-10-27） ========== */

/* 两栏布局容器（产品页/分类页/新闻页通用） */
.products-layout,
.news-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.products-layout>.sidebar,
.news-layout>.sidebar {
  flex: 0 0 300px;
  width: 300px;
}

.products-layout>.main-content,
.news-layout>.main-content {
  flex: 1;
  min-width: 0;
}


/* 通用侧栏（产品/分类/新闻页） */
.sidebar-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 22px 20px;
  margin-bottom: 25px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fontcolor);
  padding-bottom: 12px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color);
}

.sidebar-cate li {
  border-bottom: 1px dashed #eee;
}

.sidebar-cate li a {
  display: block;
  padding: 10px 0;
  color: var(--fontcolor);
  font-size: 15px;
  transition: all .2s ease;
}

.sidebar-cate li a:hover {
  color: var(--color);
  padding-left: 10px;
}

.sidebar-newlist li {
  border-bottom: 1px dashed #eee;
}

.sidebar-newlist li:last-child {
  border-bottom: 0;
}

.sidebar-newlist li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: var(--fontcolor);
  font-size: 14px;
  line-height: 1.5;
}

.sidebar-newlist li a:hover {
  color: var(--color);
}

.siderbar-search {
  display: flex;
}

.siderbar-search .search-input {
  flex: 1;
  height: 40px;
  border: 1px solid #eee;
  padding: 0 12px;
  font-size: 14px;
  color: var(--fontcolor);
}

.siderbar-search button {
  width: 40px;
  height: 40px;
  background: var(--color);
  color: #fff;
  font-size: 16px;
}

.sidebar-prolist li {
  border-bottom: 1px dashed #eee;
}

.sidebar-prolist li:last-child {
  border-bottom: 0;
}

.sidebar-prolist .pro-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.sidebar-prolist .pro-img {
  width: 60px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-prolist .pro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-prolist .pro-info a {
  font-size: 14px;
  color: var(--fontcolor);
  line-height: 1.4;
}

.sidebar-prolist .pro-info a:hover {
  color: var(--color);
}

.sidebar-widget {
  margin-bottom: 25px;
}

.sidebar-widget h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color);
}

.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}

.sidebar-widget ul li:last-child {
  border-bottom: 0;
}

.sidebar-widget ul li a {
  color: var(--fontcolor);
}

.sidebar-widget ul li a:hover {
  color: var(--color);
}






/* 分类页正文区 */








/* 画廊说明文字 */
.gallery-caption {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--introcolor);
}

.content-img {
  text-align: center;
  margin: 15px 0;
}

/* 拆分后的文字样式 */





/* 统一所有大标题样式 */

.fullwidth-bottom-content h5::before,
.product-card .btn::before {
  font-family: FontAwesome;
  content: "\f00c";
  margin-right: 6px;
}


/* Certificate页面的gallery：覆盖生产基地的布局，4列宽度60% */
.page-id-15 .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 80%;
  margin: 20px auto;
}

.page-id-15 .gallery-item {
  flex: unset;
  min-width: unset;
}

.page-id-15 .gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
}

@media (max-width: 992px) {
  .page-id-15 .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }
}

/* 产品页统一两栏布局：侧边栏+内容 */
.product-layout {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}


.product-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 992px) {
  .product-layout {
    flex-direction: column;
  }

}

/* 产品页新侧边栏样式 */
.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-item {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c99428;
  color: #222;
}

.sidebar-newcate {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-newcate li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.sidebar-newcate li:last-child {
  border-bottom: none;
}

.sidebar-newcate a {
  color: #333;
  text-decoration: none;
  transition: all .2s;
}

.sidebar-newcate a:hover {
  color: #c99428;
  padding-left: 5px;
}

.siderbar-search {
  display: flex;
  gap: 0;
}

.search-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 6px 0 0 6px;
  outline: none;
  font-size: 14px;
}

.siderbar-search button {
  background: #c99428;
  color: #fff;
  border: none;
  padding: 0 15px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

.sidebar-prolist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pro-item {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.pro-item:last-child {
  border-bottom: none;
}

.pro-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.pro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-info a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.pro-info a:hover {
  color: #c99428;
}

.btn-primary {
  background: #c99428;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

/* 产品页布局对齐 */
.product-layout {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 30px 20px !important;
  gap: 30px;
  align-items: flex-start;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.product-content {
  flex: 1;
  min-width: 0;
}

/* 产品页布局修正 */
.product-layout {
  max-width: 1680px !important;
  margin: 0 auto !important;
  padding: 30px 20px !important;
  gap: 30px;
  align-items: flex-start;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  position: static !important;
  /* 取消粘性固定 */
}

.product-content {
  flex: 1;
  min-width: 0;
}


/* 产品分类页卡片样式 */
.category-products .product-grid-2col {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.category-products {
  width: 100%;
}

.category-products .product-card {
  width: calc(25% - 18px);
}

.category-products .product-card>a {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: all .3s ease;
}

.category-products .product-card>a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.category-products .product-card-img {
  overflow: hidden;
  background: #f5f5f5;
}

.category-products .product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-products .product-card-info {
  padding: 20px 20px 0;
  text-align: center;
}

.category-products .product-card-info h3 {
  margin: 0 0 15px;
  font-size: 17px;
  font-weight: 600;
  color: #222;
}

.category-products .view-more-btn {
  display: block;
  background: #c99428;
  color: #fff;
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background .3s ease;
}

.category-products .product-card>a:hover .view-more-btn {
  background: #b07f1f;
}

/* 移动端响应式 */
@media(max-width: 768px) {
  .head-top {
    display: none;
  }

  .head-main .l-wrap {
    height: 70px;
  }

  .head-logo img {
    max-height: 40px;
  }

  .head-nav ul#menu-primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    height: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
  }

  .head-nav ul#menu-primary.active {
    display: flex;
  }

  .head-nav ul#menu-primary li {
    margin: 0;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
  }

  .head-nav ul#menu-primary li a {
    color: #333 !important;
    padding: 12px 20px;
    display: block;
    height: auto;
    justify-content: flex-start;
  }

  .head-nav .sub-menu {
    position: static;
    box-shadow: none;
    background: #f8f8f8;
  }

  .nav-btn {
    display: block !important;
  }

  .quote-btn {
    display: none;
  }

  .l-wrap {
    padding: 0 15px !important;
  }

  .category-layout {
    flex-direction: column;
  }


  .category-main {
    width: 100% !important;
  }

  /* 两列时扣掉 gap，否则 50%+50% 加间距会横向溢出 */
  .category-products .product-card {
    width: calc(50% - 12px);
  }

  .product-layout {
    flex-direction: column !important;
  }

  /* 移动端隐藏全部侧栏（分类页 / 文章页 / 产品详情 / 搜索结果） */
  .sidebar,
  .category-sidebar,
  .product-sidebar,
  .blog-sidebar {
    display: none !important;
  }

  .product-content {
    width: 100% !important;
  }

  .inner-banner {
    height: 220px !important;
    padding-top: 80px !important;
  }

  .inner-banner h1 {
    font-size: 24px !important;
  }

  .related-products .simple-product-card {
    width: calc(50% - 10px) !important;
  }
}

/* 移动端补充 */
@media(max-width:768px) {
  .logo-white {
    display: none !important;
  }

  .logo-dark {
    display: block !important;
  }

  .news-list-grid,

  .blog-layout,
  .category-layout {
    flex-direction: column !important;
  }

}

/* 移动端隐藏产品页侧边栏 */
@media(max-width:768px) {
  .product-layout .sidebar {
    display: none !important;
  }

  .product-layout .product-content {
    width: 100% !important;
  }
}

/* 移动端隐藏blog页面侧边栏 */
@media(max-width:768px) {
  .blog-layout .blog-sidebar {
    display: none !important;
  }

  .blog-layout .blog-main {
    width: 100% !important;
  }
}

/* 移动端去掉产品页白色包裹盒子 */
@media(max-width:768px) {
  .product-content {
    background: transparent !important;
    padding: 0 15px !important;
    box-shadow: none !important;
    border: none !important;
  }
}

/* 移动端隐藏产品页内部旧白色卡片和重复询盘按钮 */
@media(max-width:768px) {

  .product-content .pro-detail-box,
  .product-content .product-detail-card,
  .product-content .pro-info {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .product-content .send-inquiry,
  .product-content .get-quote,
  .product-content .inquiry-btns {
    display: none !important;
  }
}

/* 移动端首页news模块单列 */
@media(max-width:768px) {

  .home-news,
  .news-grid,
  .blog-grid,
  .news-section,
  #news {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }

  .home-news>*,
  .news-grid>*,
}

/* 移动端首页只显示2张news卡片 */
@media(max-width:768px) {

  .home-news>*: nth-child(n+3),
    .news-grid>*:nth-child(n+3),
}

/* === 统一最终样式（清理后） === */
/* 首页产品卡片 */
.pro-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  list-style: none;
  padding: 0;
}

.pro-list>li {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.pro-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pro-item .pro-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f5f5f5;
}

.pro-item .pro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pro-item .pro-name {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  min-height: 44px;
}

.pro-item .pro-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  color: #333;
  padding: 10px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all .3s ease;
  min-height: 38px;
}

.pro-item .pro-more:hover {
  background: #c99428;
  color: #fff;
}

/* Footer四列布局（已整合至上方4340区域，此处不重复定义） */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.contact-item .icon {
  color: #c99428;
  font-size: 16px;
  margin-top: 3px;
}

.contact-item .con {
  flex: 1;
}

/* 产品卡片hover悬浮效果 */
.pro-item {
  transition: all 0.3s ease;
}

.pro-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pro-item:hover .pro-more {
  background: #c99428;
  color: #fff !important;
}

/* 产品规格表浅灰隔行样式 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.spec-table th,
.spec-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #eee;
}

.spec-table tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.spec-table th {
  background-color: #f5f5f5;
  font-weight: 600;
}

/* 移动端小屏幕隐藏侧边栏 */
@media (max-width: 768px) {

  .sidebar,
  .category-sidebar,
  .blog-sidebar,

  .category-layout,
  .blog-layout,
  .product-layout {
    display: block !important;
  }

  .pro-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 全局产品内容样式 - 强制生效 */
.product-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
}

.product-content table td,
.product-content table th {
  padding: 12px 15px !important;
  border: 1px solid #eee !important;
}

.product-content table tr:nth-child(odd) {
  background-color: #f5f5f5 !important;
}

.product-content p img {
  display: inline-block !important;
  width: 23% !important;
  margin: 0 1% 10px 0 !important;
  border-radius: 4px !important;
  border: 1px solid #eee !important;
}

/* 强制产品正文所有图片一行横向排列，不管被什么标签包裹 */
.product-content img {
  max-width: 100% !important;
  height: auto !important;
}

.product-content p,
.product-content div,
.product-content figure {
  overflow: hidden;
}

.product-content p img,
.product-content div img,
.product-content figure img {
  width: 23% !important;
  margin: 0 1% 10px 0 !important;
  float: left !important;
  display: block !important;
}

/* product-top主图不受正文多图规则影响：独占整列、不浮动 */
.product-top .product-gallery img {
  width: 100% !important;
  height: auto !important;
  float: none !important;
  margin: 0 !important;
  display: block !important;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

/* 自动适配产品图片画廊：3张一行，4张一行，图注自动对齐 */
.product-content .gallery,
.product-content .wp-block-gallery {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1%;
  margin: 20px 0;
}

.product-content .gallery-item,
.product-content .blocks-gallery-item {
  width: 32% !important;
  margin: 0 0 15px 0 !important;
  text-align: center;
}

.product-content .gallery-columns-4 .gallery-item,
.product-content .blocks-gallery-grid.columns-4 .blocks-gallery-item {
  width: 24% !important;
}

.product-content .gallery-columns-2 .gallery-item,
.product-content .blocks-gallery-grid.columns-2 .blocks-gallery-item {
  width: 49% !important;
}

.product-content .gallery-caption,
.product-content .blocks-gallery-item figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

/* 单张产品主图保持全宽，只有画廊组里的图才横向排列 */
.product-content p>img:only-child {
  width: 100% !important;
  float: none !important;
}

/* 产品正文h3标题统一样式 */
.product-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #c99428;
}

.product-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin: 30px 0 15px 0;
}

/* Hot Recommended 两列布局：grid按列填充，列宽贴合内容，两列紧贴 */
.foot-hot .foot-wrap ul {
  display: grid;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  column-gap: clamp(24px, 4vw, 40px);
}

.foot-hot .foot-wrap li {
  width: fit-content;
  max-width: 100%;
  break-inside: avoid;
}

.foot-hot .foot-wrap li a {
  white-space: nowrap;
}

/* 视口变窄时热销品适配：缩字号防溢出、gap随宽度自适应 */
@media (max-width: 1200px) {
  .foot-hot .foot-wrap li a {
    font-size: 12px;
  }

  .foot-hot .foot-wrap li {
    padding-left: 12px;
  }

  .foot-hot .foot-wrap ul {
    column-gap: 20px;
  }
}

/* 分页样式 */
/* ===== 公共产品网格样式 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.product-card-img {
  width: calc(100% - 30px);
  margin: 15px 15px 0;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
  border: 2px solid #c99428;
  display: block;
  position: relative;
}

.product-card-img img,

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}


.product-card-img-placeholder .title {
  font-size: 16px;
  letter-spacing: 2px;
}







/* ===== 统一样式分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  color: #666;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover:not(.current) {
  border-color: #c99428;
  color: #c99428;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 148, 40, 0.15);
}

.pagination .page-numbers.current {
  background: #c99428;
  color: #fff;
  border-color: #c99428;
  box-shadow: 0 4px 12px rgba(201, 148, 40, 0.3);
}

.pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: #999;
  cursor: default;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-weight: 600;
}

.pagination .page-info {
  display: inline-block;
  margin-left: 10px;
  padding: 10px 15px;
  color: #999;
  font-size: 14px;
}

/* ---------- 文章分享模块（沿用 contact 页圆形图标样式） ---------- */
.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0 0;
}

.post-share .post-share-label {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.post-share .social-links {
  display: flex;
  gap: 12px;
}

.post-share .social-item {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .3s ease;
}

.post-share .social-item:hover {
  background: #c99428;
  color: #fff;
  transform: translateY(-2px);
}
/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.post-tags a {
  display: inline-block;
  padding: 7px 16px;
  background: #f0f0f0;
  color: #444;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all .3s ease;
}

.post-tags a:hover {
  background: #c99428;
  color: #fff;
}

/* ========== CF7 Inquiry Form (Home Contact) ========== */
.home-contact .wpcf7 {
  width: 100%;
}

.home-contact .wpcf7-form .form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.home-contact .wpcf7-form .form-item {
  float: none;
  width: 48%;
  margin: 0 0 20px;
  box-sizing: border-box;
}

.home-contact .wpcf7-form .form-item.full {
  width: 100%;
}

.home-contact .wpcf7-form .form-item label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

.home-contact .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

.home-contact .wpcf7-form .form-item input[type="text"],
.home-contact .wpcf7-form .form-item input[type="email"],
.home-contact .wpcf7-form .form-item input[type="tel"],
.home-contact .wpcf7-form .form-item textarea {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #333;
  font-size: 15px;
  border-radius: 2px;
  box-sizing: border-box;
  transition: border .3s ease;
}

.home-contact .wpcf7-form .form-item textarea {
  min-height: 120px;
  resize: vertical;
}

.home-contact .wpcf7-form .form-item input::placeholder,
.home-contact .wpcf7-form .form-item textarea::placeholder {
  color: #999;
  opacity: 1;
}

.home-contact .wpcf7-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 5px;
}

.home-contact .wpcf7-form input[type="submit"] {
  padding: 12px 60px;
  background: var(--color);
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.home-contact .wpcf7-form input[type="submit"]:hover {
  background: #fff;
  color: var(--color);
}

.home-contact .wpcf7-response-output {
  clear: both;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 15px;
}

.home-contact .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #4caf50;
  color: #b7f5bd;
}

.home-contact .wpcf7-response-output.wpcf7-mail-sent-ng,
.home-contact .wpcf7-response-output.wpcf7-validation-errors {
  border-color: #e57373;
  color: #ffc9c9;
}

.home-contact .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #ffc9c9;
  font-size: 13px;
}

.home-contact .wpcf7-form input.wpcf7-not-valid {
  border-color: #e57373 !important;
}

.home-contact .wpcf7-spinner {
  display: none;
}
@media screen and (max-width: 768px) {
  .home-contact .wpcf7-form .form-item {
    width: 100%;
  }

  .home-contact .wpcf7-form .form-item textarea {
    min-height: 140px;
  }

  .home-contact .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 14px 0;
  }

  .home-contact .wpcf7-form .btn {
    margin-top: 8px;
  }

  .home-contact .wpcf7-response-output {
    font-size: 14px;
  }
}

/* ========== CF7 Inquiry Form (Contact Page) ========== */
.contact-section .wpcf7 {
  margin: 0;
}

.contact-section .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-section .wpcf7-form .form-item input[type="submit"],
.contact-section .wpcf7-form .form-submit input[type="submit"] {
  width: 100%;
  background: var(--color);
  color: #fff;
  border: 0;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all .3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-appearance: none;
  appearance: none;
}

.contact-section .wpcf7-form .form-item input[type="submit"]:hover,
.contact-section .wpcf7-form .form-submit input[type="submit"]:hover {
  background: #b88420;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
}

.contact-section .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.6;
}

.contact-section .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #4caf50;
  color: #2e7d32;
  background: #f1f8f1;
}

.contact-section .wpcf7-response-output.wpcf7-mail-sent-ng,
.contact-section .wpcf7-response-output.wpcf7-validation-errors {
  border-color: #e57373;
  color: #c62828;
  background: #fdf3f3;
}

.contact-section .wpcf7-not-valid-tip {
  color: #c62828;
  font-size: 12px;
  margin-top: 4px;
}

.contact-section .wpcf7-form .wpcf7-not-valid {
  border-color: #e57373;
}

.contact-section .wpcf7-spinner {
  display: none;
}
/* === 移动端总收口（置于文件末尾，确保不被前面任何规则覆盖） === */
@media screen and (max-width: 768px) {

  /* 1.1 产品规格表：移动端压缩，避免 6 列表格撑破容器（390 宽下原为 388px 超出）
     列多时靠固定布局 + 收窄内边距 + 小字号压进容器，超长词强制断行 */
  html body .spec-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
  }
  html body .spec-table th,
  html body .spec-table td {
    padding: 7px 5px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    text-align: center !important;
  }
  html body .spec-table th:first-child,
  html body .spec-table td:first-child {
    width: 30%;
  }

  /* 1.2 Footer 上下内边距：本文件 @media(max-width:768px) 里的
     `.l-wrap{padding:0 15px !important}` 用简写把 .foot-main .l-wrap 的上下
     padding 一并清零（实测 0/15/0/15），导致 footer 内的 logo 紧贴黑色背景
     顶部、距顶 0px。此处只对 footer 补回上下内边距，不改那条通用规则，
     其余区块的 .l-wrap 上下仍为 0，桌面端完全不受影响。 */
  footer .foot-main .l-wrap {
    padding-top: 32px !important;
    padding-bottom: 20px !important;
  }

  /* 同一根因也把版权行 .foot-right .l-wrap 的 20px 上下清零（实测 0/15/0/15），
     导致版权文字紧贴分隔线与底部工具栏。此处一并补回，桌面端不受影响。 */
  footer .foot-right .l-wrap {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  /* 1. 隐藏全部侧栏：分类页 / 文章页 / 产品详情页 / 搜索结果页 */
  html body aside.sidebar,
  html body .sidebar,
  html body .category-sidebar,
  html body .product-sidebar,
  html body .blog-sidebar {
    display: none !important;
  }

  /* 2. 双栏容器改为单栏，主内容占满可用宽度 */
  html body .category-layout,
  html body .blog-layout,
  html body .product-layout,
  html body .products-layout,
  html body .news-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body .category-main,
  html body .blog-main,
  html body .product-content,
  html body .products-main,
  html body .news-main {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  /* 3. 产品卡片改单列（选择器需比 .category-products .product-card 更具体，否则 !important 也压不过） */
  html body .category-products .product-grid-2col {
    display: block !important;
    width: 100% !important;
  }

  html body .category-products .product-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
  }

  /* 4. 正文里的图片与长串不撑破容器 */
  html body .page-content img,
  html body .product-content img,
  html body .category-main img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 5. 产品列表在移动端改单列：原规则是两列固定宽度 + 负外边距，比父容器宽 30px 造成溢出 */
  html body .pro-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 20px !important;
  }

  html body .pro-list > li,
  html body .pro-list > .pro-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* 6. 产品详情页 / 文章列表 / 联系页的内部溢出收口 */
  html body .content-section,
  html body .page-nav,
  html body .news-card,
  html body .contact-layout,
  html body .contact-section,
  html body .contact-main,
  html body .product-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* 内容块内部一律不超出所在容器 */
  html body .content-section img,
  html body .page-nav img,
  html body .news-card img,
  html body .contact-section img,
  html body .product-info img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 链接与文本长串强制断行，避免撑破容器 */
  html body .content-section,
  html body .news-card,
  html body .page-nav,
  html body .contact-section {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* 联系页表单两列改单列 */
  html body .contact-layout {
    display: block !important;
  }

  /* 7. 产品详情页：PREVIOUS / NEXT 产品导航叠放，不再并排挤压 */
  html body .page-nav {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body .page-nav > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body .page-nav img,
  html body .page-nav .nav-thumb {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 8. You Might Also Like 卡片：五张并排挤成单张 62px，改为两列。
     2026-11-17 修正：原规则 `> div > div` 命中的是每张卡片的**外层 div**，
     于是每张卡各自变成一个两列网格、只占半行，实际排成 5 行 + 右侧大片留白。
     改为对准内层容器 .related-grid（functions.php 的 related_products 短代码里加了该 class）。 */
  html body .related-products-section .related-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  html body .related-products-section .related-grid > div {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body .related-products-section {
    padding: 40px 0 !important;
  }

  html body .related-products-section a.simple-product-card,
  html body .related-products-section a.simple-product-card > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  /* 9. 联系页内部（地图 iframe / 表单）不超出容器 */
  html body .contact-layout *,
  html body .contact-layout > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .contact-layout iframe,
  html body .contact-section iframe {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 10. 首页 about 图片区原宽超出容器 40px */
  html body .about-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body .about-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* 10b. 联系页：flex 子项默认 min-width:auto，长地址文本会把容器撑破，这里放开 */
  html body .contact-item,
  html body .contact-info,
  html body .contact-info *,
  html body .contact-intro,
  html body .contact-form-wrap,
  html body .contact-form-wrap * {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }

  html body .contact-item {
    flex-wrap: wrap !important;
  }

  /* 12. 列表卡片（Blog / 搜索 / Tag）：模板里 news-card 是内联 display:flex，
     图片容器固定 280px 宽，390 屏上文字区只剩约 60px，标题只能逐字换行。
     移动端统一改为「上图下文」的竖排卡片。 */
  html body .news-card {
    display: block !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 8px !important;
  }

  /* 图片容器：通栏、固定高度 */
  html body .news-card > div:first-child,
  html body .news-card .news-card-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 190px !important;
    flex-shrink: 0 !important;
    display: block !important;
  }

  html body .news-card > div:first-child img,
  html body .news-card .news-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* 文字区：通栏、内边距收紧 */
  html body .news-card > div:last-child,
  html body .news-card .news-card-body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  /* 标题：恢复 16px，正常按词换行 */
  html body .news-card h3,
  html body .news-card .news-card-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin: 0 0 8px !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  /* 摘要：最多三行，超出省略 */
  html body .news-card .post-excerpt,
  html body .news-card .news-card-excerpt {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* 日期行 */
  html body .news-card-meta,
  html body .news-card > div:last-child > div:first-child {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* 卡片间距收紧 */
  html body .news-list-grid {
    gap: 18px !important;
  }

  /* 13. 博客单篇：single.php 用 <table> 做两列布局，第二格是固定 280px 的侧栏。
     移动端侧栏内容虽然已隐藏，但这个 280px 单元格仍占着表格宽度，正文只拿到
     剩下的部分，右侧于是空出一大块。移动端改为单列堆叠并丢掉侧栏单元格。
     限定 > .container > table 这条链，避免误伤正文里的内容表格。 */
  html body .single-blog-page {
    padding: 30px 0 !important;
  }

  html body .single-blog-page .container {
    max-width: 100% !important;
    padding: 0 15px !important;
    margin: 0 auto !important;
  }

  html body .single-blog-page > .container > table,
  html body .single-blog-page > .container > table > tbody {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-spacing: 0 !important;
  }

  /* 浏览器会把 <tr> 自动包进 <tbody>，所以两条链都要写，
     否则单元格仍是表格布局、宽度由表格算法决定，正文只分到一小块。 */
  html body .single-blog-page > .container > table > tr,
  html body .single-blog-page > .container > table > tbody > tr {
    display: block !important;
    width: 100% !important;
  }

  html body .single-blog-page > .container > table > tr > td,
  html body .single-blog-page > .container > table > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 第二格是侧栏，移动端整格去掉 */
  html body .single-blog-page > .container > table > tr > td:last-child,
  html body .single-blog-page > .container > table > tbody > tr > td:last-child {
    display: none !important;
  }

  /* 正文内的图片、宽表格不许撑破容器 */
  html body .single-blog-page .article-body img {
    max-width: 100% !important;
    height: auto !important;
  }

  html body .single-blog-page .article-body table {
    display: block !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  /* 上下篇导航：单列堆叠 */
  html body .single-blog-page .post-navigation {
    flex-direction: column !important;
    gap: 15px !important;
  }

  html body .single-blog-page .post-navigation > div {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 14. 内页 hero（除首页外所有页面共用 jsc_inner_banner 生成的 .inner-banner）：
     标题是全大写，banner-content 是纵向 flex + align-items:center，标题宽度会
     按内容撑开而不受屏幕约束，外层又 overflow:hidden，长标题（如文章名）就被
     居中裁掉首尾。这里把标题限宽、允许换行，并适当缩小字号。
     首页走的是 #home-swiper 的另一套结构，不受本规则影响；桌面端也不受影响。 */
  html body .inner-banner h1 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    padding: 0 12px !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  /* 标题换行后可能变两行，给 banner 留出余量，避免压到面包屑 */
  html body .inner-banner {
    height: auto !important;
    min-height: 220px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body .inner-banner .banner-content {
    position: relative !important;
    height: auto !important;
    min-height: 220px !important;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
    box-sizing: border-box !important;
  }

  /* 11. 兜底：移动端不允许横向滚动，杜绝任何残留溢出造成的左右拖动 */
  html body {
    overflow-x: hidden !important;
  }
}

/* ===== 2026-11-17 上线前修正 A：隐私政策页正文版面 =====
   现象：page.php 的普通页分支把 the_content() 直接放进 .page-content，
   没有 .l-wrap，实测电脑端正文左右顶到屏幕边、段间距为 0；
   手机端段落 x=0、宽 390，文字贴着屏边。
   只作用于 body.page-id-1074（隐私政策），其它页面零影响；
   回滚＝删除本段。 */
body.page-id-1074 .page-content {
  max-width: 900px !important;
  margin: 40px auto !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}
body.page-id-1074 .page-content p {
  line-height: 1.8 !important;
  margin: 0 0 14px !important;
}
body.page-id-1074 .page-content h2 {
  margin: 28px 0 12px !important;
  font-size: 22px !important;
  line-height: 1.35 !important;
}
body.page-id-1074 .page-content h2:first-child {
  margin-top: 0 !important;
}
body.page-id-1074 .page-content ul li {
  margin-bottom: 6px !important;
  line-height: 1.8 !important;
}

/* ===== 2026-11-17 上线前修正 B：手机端首页 hero 抢位 =====
   现象：390 宽下文本块 x=31、宽 339（右缘 370），右侧翻页箭头占 354–390，
   硬重叠 16px；副标题 18px 在 339 宽内折成 3 行，视觉上糊成一片。
   做法：文本块收进安全区（右侧让出箭头），字号降一档；桌面端不触发。
   回滚＝删除本段。 */
@media (max-width: 768px) {
  html body #home-swiper .banner-text {
    left: 20px !important;
    width: calc(100% - 100px) !important;
    max-width: none !important;
  }
  html body #home-swiper .banner-text .p1 {
    font-size: 20px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }
  html body #home-swiper .banner-text .p2 {
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 16px !important;
  }
  html body #home-swiper .banner-text .p3 a {
    font-size: 12px !important;
    line-height: 1.4 !important;
    padding: 9px 20px !important;
  }
}

/* ===== 2026-11-17 上线前修正 C：产品列表第 4 列贴右边缘 =====
   现象：产品列表用的内联网格（inline display:grid）继承了老规则
   `.pro-list { margin: 0 -15px }`（style.css L4809，本是给 li 的 15px 内边距做补偿的），
   但产品页的卡片不是 li，没有内边距，于是网格整体向右多出 15px ——
   实测 1432 视口下第 4 列右缘落在 1427（距屏幕边只有 5px），左边却从 315 开始，视觉偏右。
   只作用在「inline 写死 grid-template-columns」的列表（产品页 / 分类页），
   首页那个 flex 版 .pro-list 不受影响；手机端该规则本来就把 margin 归零，也不受影响。
   回滚＝删除本段。 */
html body .pro-list[style*="grid-template-columns"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===== 2026-11-17 上线前修正 D：相关推荐从 5 张改成 6 张 =====
   手机端两列 × 3 行正好排满；桌面端原按 20% 宽度排，6 张会变成「5 张 + 1 张掉行」，
   这里把桌面端每张改成 1/6 宽（1200 容器 + 15px 间距算出来是 calc(16.6667% - 12.5px)），
   6 张排成一行。手机端（≤768px）由前面的两条规则接管，不受影响。
   回滚＝删除本段（并把 single-product.php 的 posts_per_page 改回 5）。 */
@media (min-width: 769px) {
  html body .related-products-section .related-grid > div {
    width: calc(16.6667% - 12.5px) !important;
  }
}
