/* ==========================================================================
   康宏胶业官网 - 公开网站样式 (Alibaba 供应商店铺风格)
   zh / en / ru / ar (RTL)
   ========================================================================== */
:root {
  --primary: #ff6a00;          /* Alibaba 橙 */
  --primary-dark: #e05e00;
  --primary-light: #fff3e8;
  --navy: #18233f;
  --navy-2: #1f2c4d;
  --blue: #0f6bff;
  --blue-dark: #0a4fc0;
  --text: #23262f;
  --text-2: #666b78;
  --text-3: #9aa0ad;
  --bg: #ffffff;
  --bg-grey: #f5f6f8;
  --border: #e5e8ee;
  --border-2: #d8dce5;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 10px rgba(24, 35, 63, 0.06);
  --shadow-lg: 0 8px 30px rgba(24, 35, 63, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-ar: "Segoe UI", Tahoma, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}

html[dir="rtl"] body, body[dir="rtl"] { font-family: var(--font-ar); }

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: all .15s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 4px 14px rgba(255,106,0,.35); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--primary-light); color: var(--primary); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-lg { padding: 12px 32px; font-size: 15px; border-radius: 8px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.mt-2 { margin-top: 1rem; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-item { color: rgba(255,255,255,.85); }
.topbar-item:hover { color: #fff; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,.25); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.admin-link { opacity: .7; font-size: 12px; }
.admin-link:hover { opacity: 1; }

/* 语言切换 */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent;
  border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 4px; padding: 3px 10px; font-size: 12px;
}
.lang-btn svg { transition: transform .15s; }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 150px; background: #fff;
  border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-lg); padding: 6px;
  display: none; z-index: 200;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu li a {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px;
  color: var(--text); font-size: 13px;
}
.lang-menu li a:hover { background: var(--bg-grey); color: var(--primary); }
.lang-menu li a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.flag { font-size: 15px; }

/* ---------- 头部 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 16px 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.brand-slogan { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.header-search { flex: 1; max-width: 480px; }
.search-form {
  display: flex; border: 2px solid var(--primary); border-radius: 8px; overflow: hidden; background: #fff;
}
.search-form input { flex: 1; border: none; outline: none; padding: 10px 14px; font-size: 14px; background: transparent; }
.search-form button {
  background: var(--primary); color: #fff; border: none; padding: 0 18px; display: flex; align-items: center;
}
.search-form button:hover { background: var(--primary-dark); }
.header-contact { display: flex; align-items: center; gap: 16px; margin-inline-start: auto; }
.hc-phone { display: flex; flex-direction: column; line-height: 1.3; }
.hc-label { font-size: 11px; color: var(--text-3); }
.hc-phone a { font-size: 16px; font-weight: 700; color: var(--navy); }
.hc-phone a:hover { color: var(--primary); }

/* ---------- 导航 ---------- */
.site-nav { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-list { display: flex; }
.nav-list li a {
  display: block; padding: 14px 22px; color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.nav-list li a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-list li a.active { color: #fff; border-bottom-color: var(--primary); background: rgba(255,255,255,.06); }
.nav-cats { position: relative; }
.nav-cats-btn {
  background: var(--primary); color: #fff; border: none; padding: 14px 20px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.nav-cats-btn:hover { background: var(--primary-dark); }
.nav-cats-menu {
  position: absolute; top: 100%; inset-inline-end: 0; width: 260px; background: #fff; border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-lg); display: none; z-index: 150; overflow: hidden;
}
.nav-cats:hover .nav-cats-menu, .nav-cats:focus-within .nav-cats-menu { display: block; }
.nav-cats-menu li a { display: block; padding: 11px 18px; color: var(--text); font-size: 14px; border-bottom: 1px solid var(--bg-grey); }
.nav-cats-menu li a:hover { background: var(--primary-light); color: var(--primary); padding-inline-start: 22px; }

/* ---------- 轮播 ---------- */
.slider { position: relative; height: 480px; overflow: hidden; background: var(--navy); }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .7s; display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,44,.72), rgba(14,22,44,.28) 60%, rgba(14,22,44,.1)); }
html[dir="rtl"] .slide::before { background: linear-gradient(270deg, rgba(14,22,44,.72), rgba(14,22,44,.28) 60%, rgba(14,22,44,.1)); }
.slide-inner { position: relative; z-index: 2; width: 100%; }
.slide-content { max-width: 620px; color: #fff; }
.slide-content h1 { font-size: 42px; line-height: 1.25; font-weight: 800; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.slide-content p { font-size: 18px; color: rgba(255,255,255,.92); margin-bottom: 26px; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
html[dir="rtl"] .dots { transform: translateX(50%); }
.dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); transition: all .2s; }
.dot.active { background: var(--primary); width: 26px; border-radius: 6px; }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background .15s;
}
.slide-arrow:hover { background: var(--primary); }
.slide-arrow.prev { inset-inline-start: 18px; }
.slide-arrow.next { inset-inline-end: 18px; }

/* ---------- 区块通用 ---------- */
.section { padding: 48px 0; }
.section-grey { background: var(--bg-grey); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; gap: 12px; }
.section-title { font-size: 26px; font-weight: 800; color: var(--navy); position: relative; padding-inline-start: 14px; }
.section-title::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 4px; background: var(--primary); }
.section-more { font-size: 14px; color: var(--text-2); font-weight: 600; }
.section-more:hover { color: var(--primary); }

/* ---------- 公司简介条 ---------- */
.company-strip { padding: 26px 0; }
.company-strip-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.cs-main { display: flex; align-items: center; gap: 20px; padding: 26px; flex-wrap: wrap; }
.cs-logo { width: 92px; height: 92px; border-radius: 10px; border: 1px solid var(--border); padding: 8px; background: #fff; }
.cs-text { flex: 1; min-width: 260px; }
.cs-text h2 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.cs-text p { font-size: 13.5px; color: var(--text-2); }
.cs-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); background: var(--primary-light); }
.stat { padding: 16px 10px; text-align: center; border-inline-end: 1px solid var(--border); }
.stat:last-child { border-inline-end: none; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column; align-items: center; text-align: center; transition: all .2s;
}
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-icon { width: 74px; height: 74px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; }
.cat-icon img { width: 100%; height: 100%; object-fit: contain; }
.cat-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.cat-count { font-size: 12px; color: var(--primary); background: var(--primary-light); padding: 3px 10px; border-radius: 20px; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .2s; color: var(--text);
}
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.pc-img { position: relative; aspect-ratio: 1; background: #fafbfc; display: flex; align-items: center; justify-content: center; padding: 18px; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.badge-featured {
  position: absolute; top: 10px; inset-inline-start: 10px; background: var(--primary); color: #fff;
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pc-model { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: .4px; margin-bottom: 4px; }
.pc-name { font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-summary { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pc-price { color: var(--primary); font-weight: 800; font-size: 14px; }
.pc-moq { font-size: 11.5px; color: var(--text-3); }

/* ---------- 为什么选择我们 ---------- */
.why-section { background: linear-gradient(180deg, #fff 0%, var(--bg-grey) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center;
  transition: all .2s;
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary); }
.why-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--primary-light); }
.why-icon::after { content: ""; display: block; width: 100%; height: 100%; background-size: 60% 60%; background-repeat: no-repeat; background-position: center; }
.why-factory::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V8l7 4V8l7 4v9'/%3E%3C/svg%3E"); }
.why-quality::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E"); }
.why-custom::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E"); }
.why-export::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 010 18M12 3a15 15 0 000 18'/%3E%3C/svg%3E"); }
.why-service::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 0116 0M4 13a8 8 0 0116 0M12 21a3 3 0 01-3-3h6a3 3 0 01-3 3z'/%3E%3C/svg%3E"); }
.why-delivery::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h14v11H1zM15 8h4l4 4v3h-8z'/%3E%3Ccircle cx='6' cy='18.5' r='1.8'/%3E%3Ccircle cx='18' cy='18.5' r='1.8'/%3E%3C/svg%3E"); }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--text-2); }

/* ---------- 认证 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cert-card img { width: 76px; height: 76px; object-fit: contain; }
.cert-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); }
.cert-card p { font-size: 12.5px; color: var(--text-2); }
.cert-lg img { width: 96px; height: 96px; }

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.news-item {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: all .2s; color: var(--text);
}
.news-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.ni-date { flex: 0 0 auto; width: 62px; text-align: center; background: var(--navy); color: #fff; border-radius: 8px; padding: 8px 4px; height: fit-content; }
.ni-day { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.ni-month { font-size: 11px; opacity: .8; }
.ni-body h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ni-body p { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 新闻列表页卡片 */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .2s; color: var(--text);
}
.news-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.nc-img { position: relative; aspect-ratio: 16/7; overflow: hidden; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.news-card:hover .nc-img img { transform: scale(1.04); }
.nc-date { position: absolute; bottom: 10px; inset-inline-start: 10px; background: rgba(24,35,63,.85); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.nc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.nc-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.nc-body p { font-size: 13px; color: var(--text-2); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-more { margin-top: auto; color: var(--primary); font-size: 13px; font-weight: 600; }

/* ---------- CTA 条 ---------- */
.cta-strip { background: linear-gradient(100deg, var(--navy), #2a3a66); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-text h2 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.cta-text p { color: rgba(255,255,255,.8); font-size: 14px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 14px 16px; font-size: 13px; color: var(--text-2); background: var(--bg-grey); border-bottom: 1px solid var(--border); }
.breadcrumb .crumb { color: var(--text-2); }
.breadcrumb .crumb:hover { color: var(--primary); }
.breadcrumb .crumb.current { color: var(--text); font-weight: 600; }
.breadcrumb .crumb-sep { margin: 0 8px; color: var(--text-3); }

/* ---------- 产品列表页 ---------- */
.products-layout { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; }
.cat-sidebar { position: sticky; top: 76px; }
.sidebar-title { font-size: 16px; font-weight: 800; color: #fff; background: var(--navy); padding: 13px 18px; border-radius: var(--radius) var(--radius) 0 0; }
.sidebar-cats { background: #fff; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 8px; }
.sidebar-cats li a { display: block; padding: 10px 14px; color: var(--text); font-size: 14px; border-radius: 6px; }
.sidebar-cats li a:hover { background: var(--bg-grey); color: var(--primary); }
.sidebar-cats li a.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.sidebar-contact { margin-top: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.sidebar-contact h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.sidebar-contact .inquiry-form-box { box-shadow: none; border: none; padding: 0; }
.sidebar-contact .inquiry-info-box { display: none; }
.sidebar-contact .form-grid { grid-template-columns: 1fr; }
.sidebar-contact .inquiry-title { font-size: 15px; }
.sidebar-contact .inquiry-note { display: none; }
.sidebar-contact .form-field { margin-bottom: 8px; }
.sidebar-contact input, .sidebar-contact textarea, .sidebar-contact select { padding: 7px 10px; font-size: 13px; }
.sidebar-contact label { font-size: 12px; }
.sidebar-contact .btn { padding: 8px 10px; font-size: 13px; }

.products-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.products-toolbar h2 { font-size: 20px; font-weight: 800; color: var(--navy); }
.toolbar-count { color: var(--text-3); font-size: 13px; }
.search-tip { background: var(--primary-light); color: var(--primary); font-size: 13px; padding: 8px 14px; border-radius: 6px; margin-bottom: 14px; }
.products-main .product-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; margin-top: 30px; }
.pagination ul { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination a {
  display: inline-flex; min-width: 36px; height: 36px; padding: 0 10px; align-items: center; justify-content: center;
  border: 1px solid var(--border-2); border-radius: 6px; color: var(--text-2); font-size: 14px; background: #fff;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }

/* ---------- 产品详情 ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; }
.pd-gallery { position: sticky; top: 76px; align-self: start; }
.pd-main-img {
  border: 1px solid var(--border); border-radius: var(--radius); background: #fafbfc;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 26px; margin-bottom: 14px;
}
.pd-main-img img { max-height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; }
.pd-thumbs .thumb {
  width: 74px; height: 74px; border: 2px solid var(--border); border-radius: 8px; background: #fafbfc;
  padding: 6px; display: flex; align-items: center; justify-content: center;
}
.pd-thumbs .thumb.active, .pd-thumbs .thumb:hover { border-color: var(--primary); }
.pd-thumbs .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-model-tag {
  display: inline-block; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px; letter-spacing: .5px; margin-bottom: 10px;
}
.pd-title { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.pd-summary { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; }
.pd-key-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.pd-key-list li { display: flex; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.pd-key-list li:last-child { border-bottom: none; }
.pd-key-list li span { width: 130px; color: var(--text-3); font-size: 13px; flex: 0 0 auto; }
.pd-key-list li b { font-size: 14px; color: var(--navy); }
.pd-key-list .pd-price { color: var(--primary); font-size: 20px; font-weight: 800; }
.pd-actions { display: flex; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.pd-contact-mini { background: var(--bg-grey); border-radius: var(--radius); padding: 14px 18px; font-size: 13px; color: var(--text-2); }
.pd-contact-mini li { margin-bottom: 4px; }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.tab {
  background: none; border: none; padding: 12px 26px; font-size: 15px; font-weight: 700; color: var(--text-2);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 12px 18px; border: 1px solid var(--border); text-align: start; font-size: 14px; }
.spec-table th { background: var(--bg-grey); color: var(--navy); font-weight: 700; width: 200px; }
.rich-text p { margin-bottom: 12px; font-size: 14.5px; line-height: 1.9; color: var(--text); }
.rich-text p:last-child { margin-bottom: 0; }

/* ---------- 询盘表单 ---------- */
.inquiry-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start; }
.inquiry-form-box, .inquiry-info-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.inquiry-title { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.inquiry-note { font-size: 12.5px; color: var(--text-3); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--border-2); border-radius: 8px; padding: 10px 13px; outline: none;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,106,0,.12);
}
.inquiry-contact-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.inquiry-contact-list li:last-child { border-bottom: none; }
.ic-icon { font-size: 18px; flex: 0 0 auto; }
.inquiry-contact-list b { font-size: 13px; color: var(--navy); display: block; }
.inquiry-contact-list p { font-size: 13px; color: var(--text-2); }

/* ---------- 页面横幅（关于/新闻/联系） ---------- */
.page-banner { padding: 54px 0; color: #fff; }
.page-banner h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-banner p { font-size: 15px; opacity: .85; }
.page-banner-about { background: linear-gradient(120deg, #1c2a4e, #34518f); }
.page-banner-news { background: linear-gradient(120deg, #20325c, #3d5a9e); }
.page-banner-contact { background: linear-gradient(120deg, #2a1c4e, #6a3d9e); }

/* ---------- 关于页 ---------- */
.about-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; align-items: start; }
.about-h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding-inline-start: 14px; border-inline-start: 4px solid var(--primary); }
.about-contact { margin-top: 22px; background: var(--bg-grey); border-radius: var(--radius); padding: 18px 20px; }
.about-contact h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.about-contact li { font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.about-stats-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 76px; }
.about-stats-box h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats-grid .stat { background: var(--primary-light); border-radius: 8px; border: none; padding: 16px 8px; }
.stats-grid .stat-value { font-size: 20px; }
.about-products { font-size: 13.5px; color: var(--text-2); line-height: 1.8; }

/* 时间线 */
.history { position: relative; padding-inline-start: 30px; }
.history::before { content: ""; position: absolute; inset-inline-start: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border-2); }
.history-item { position: relative; padding-bottom: 26px; display: flex; gap: 18px; }
.history-item:last-child { padding-bottom: 0; }
.hi-year { flex: 0 0 70px; font-size: 17px; font-weight: 800; color: var(--primary); }
.hi-dot { position: absolute; inset-inline-start: -30px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); }
.hi-text { font-size: 14px; color: var(--text-2); padding-top: 2px; }

/* 设备展示 */
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.equip-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; transition: all .2s; }
.equip-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.equip-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.equip-card p { padding: 12px; font-size: 14px; font-weight: 600; color: var(--navy); }

/* ---------- 新闻详情 ---------- */
.news-detail { max-width: 860px; }
.nd-title { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.4; margin-bottom: 12px; }
.nd-meta { display: flex; gap: 20px; color: var(--text-3); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.nd-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.nd-content { line-height: 2; }
.news-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13.5px; }
.news-nav a { color: var(--text-2); max-width: 45%; }
.news-nav a:hover { color: var(--primary); }
.nd-back { margin-top: 22px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 0; }
.nf-code { font-size: 110px; font-weight: 900; color: var(--primary-light); line-height: 1; }
.notfound h1 { font-size: 22px; color: var(--navy); margin-bottom: 24px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding: 44px 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand-name { font-size: 17px; font-weight: 800; color: #fff; }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 10px; color: rgba(255,255,255,.65); }
.footer-certs { display: flex; gap: 10px; margin-top: 14px; }
.footer-certs img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 30px; height: 3px; border-radius: 2px; background: var(--primary); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: rgba(255,255,255,.72); font-size: 13.5px; }
.footer-col ul a:hover { color: var(--primary); }
.footer-contact-list li { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 10px; }
.fc-icon { flex: 0 0 auto; }
.footer-contact-list a { color: rgba(255,255,255,.72); }
.footer-contact-list a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; font-size: 12.5px; color: rgba(255,255,255,.5); flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 999;
  background: var(--navy); color: #fff; padding: 13px 26px; border-radius: 8px; font-size: 14px;
  box-shadow: var(--shadow-lg); opacity: 0; transition: all .3s; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
html[dir="rtl"] .toast { transform: translateX(50%) translateY(20px); }
html[dir="rtl"] .toast.show { transform: translateX(50%) translateY(0); }
.toast.success { background: #16a34a; }
.toast.error { background: #dc2626; }

.empty { text-align: center; color: var(--text-3); padding: 40px 0; font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .products-main .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 14px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-contact { margin-inline-start: auto; }
  .slider { height: 400px; }
  .slide-content h1 { font-size: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .about-layout { grid-template-columns: 1fr; }
  .about-stats-box { position: static; }
  .inquiry-wrap { grid-template-columns: 1fr; }
  .cs-stats { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .news-list { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .slider { height: 340px; }
  .slide-content h1 { font-size: 25px; }
  .slide-content p { font-size: 14px; }
  .product-grid, .products-main .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid, .why-grid, .cert-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-item.phone-hide { display: none; }
  .nav-list li a { padding: 12px 14px; font-size: 14px; }
  .section { padding: 34px 0; }
  .section-title { font-size: 21px; }
  .cs-main { padding: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
}
