/*
Theme Name: HYTOCO 山东特科工业设备
Theme URI: https://www.hytoco.com
Author: HYTOCO
Author URI: https://www.hytoco.com
Description: 山东特科工业设备有限公司企业官网主题。支持后台自定义公司信息与首页文案，内置产品自定义文章类型（每款产品独立介绍页），并集成液压扳手/液压油缸智能选型器与全系列规格目录。响应式布局。
Version: 4.8.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hytoco
Tags: business, company, industrial, custom-menu, custom-logo, featured-images, translation-ready, blog
*/

/* ===== 全局重置与变量 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary: #14284a;
  --color-primary-light: #1e3a63;
  --color-accent: #e87722;
  --color-accent-light: #f5913e;
  --color-blue: #2c5f8a;
  --color-dark: #1a1a1a;
  --color-gray-900: #2d2d2d;
  --color-gray-700: #555;
  --color-gray-500: #888;
  --color-gray-300: #ccc;
  --color-gray-100: #f0f0f0;
  --color-gray-50: #f7f7f7;
  --color-white: #ffffff;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-gray-900);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== 导航栏 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  max-width: 180px;
  max-height: 38px;
  object-fit: contain;
  background: transparent !important;
}

.nav-logo img {
  height: 38px;
  width: auto;
  max-height: 38px;
  object-fit: contain;
  background: transparent;
}

.nav-logo-text {
  color: var(--color-gray-900);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  border-left: 1px solid rgba(0,0,0,0.15);
  padding-left: 10px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.site-nav > li {
  position: relative;
}

.site-nav > li > a {
  color: var(--color-gray-900);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  display: block;
  padding: 4px 0;
}

.site-nav > li > a:hover { color: var(--color-accent); }

.site-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.site-nav > li > a:hover::after { width: 100%; }

.site-nav .current-menu-item > a { color: var(--color-accent-light); }

/* 下拉菜单 */
.site-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  padding: 8px 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  list-style: none;
  margin: 0;
}

.site-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--color-gray-700);
  font-size: 14px;
}

.site-nav .sub-menu a:hover { color: var(--color-accent); background: rgba(0,0,0,0.03); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gray-900);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== Hero 区 ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20,40,74,0.88) 0%, rgba(20,40,74,0.65) 50%, rgba(232,119,34,0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}

.hero-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(232,119,34,0.9);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  border-radius: 2px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,119,34,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll svg { width: 28px; height: 28px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 2; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== 统计数据栏 ===== */
.stats {
  background: var(--color-primary);
  padding: 56px 0;
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-blue), var(--color-accent));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
}

.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===== 通用区块 ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto 20px;
}

.section-desc {
  font-size: 16px;
  color: var(--color-gray-700);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== 核心优势 ===== */
.features {
  background: var(--color-gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-white);
  padding: 40px 28px;
  text-align: center;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--color-accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(20,40,74,0.12);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--card-bg, rgba(232,119,34,0.1));
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  fill: var(--card-accent, var(--color-accent));
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-gray-700);
  line-height: 1.7;
}

/* ===== 产品中心（通用卡片） ===== */
.products { background: var(--color-white); }

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

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(20,40,74,0.12);
  border-color: rgba(232,119,34,0.3);
}

.product-image {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--color-gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

/* 首页产品数据卡片 */
.product-card-img {
  height: 240px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-gray-100);
}
.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 24px; }
.product-card-title { font-size: 17px; font-weight: 600; color: var(--color-gray-900); margin-bottom: 10px; }
.product-card-desc { font-size: 14px; color: var(--color-gray-500); line-height: 1.7; margin-bottom: 16px; }
.product-card-link { font-size: 14px; color: var(--color-accent); font-weight: 600; text-decoration: none; }
.product-card-link:hover { text-decoration: underline; }

.product-body { padding: 28px; }

.product-category {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.product-desc {
  font-size: 14px;
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
  transition: var(--transition);
}

.product-link:hover { gap: 12px; }

.product-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ===== 关于我们 ===== */
.about { background: var(--color-gray-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-white);
  padding: 20px;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

.about-content .section-tag { text-align: left; display: block; }
.about-content .section-title { text-align: left; }
.about-content .section-divider { margin: 0 0 20px; }

.about-text {
  font-size: 15px;
  color: var(--color-gray-700);
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-list { margin-bottom: 32px; }

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--color-gray-900);
}

.about-list li svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== 新闻动态 ===== */
.news { background: var(--color-white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 32px rgba(20,40,74,0.08);
}

.news-image {
  height: 180px;
  overflow: hidden;
  background: var(--color-gray-50);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body { padding: 24px; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--color-gray-500);
}

.news-meta span { display: flex; align-items: center; gap: 4px; }
.news-meta svg { width: 14px; height: 14px; fill: currentColor; }

.news-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: var(--transition);
}

.news-card:hover .news-title { color: var(--color-accent); }

.news-excerpt {
  font-size: 14px;
  color: var(--color-gray-700);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CTA 区 ===== */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,119,34,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #0d1a2e;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand .nav-logo img,
.footer-brand .footer-logo {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: transparent !important;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo-hytoco {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
}
.footer-logo-divider {
  display: inline-block;
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.4);
}

.footer-logo-full { height: 46px; width: auto; max-width: 280px; object-fit: contain; background: transparent !important; }
.footer-logo-text {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== 页面顶部横幅（内页） ===== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--color-accent-light); }

/* ===== 产品详情页 ===== */
.single-product { background: var(--color-white); padding: 80px 0; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-gallery {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.product-detail-gallery img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.product-detail-info .product-category { margin-bottom: 10px; }

.product-detail-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.product-detail-desc {
  font-size: 15px;
  color: var(--color-gray-700);
  line-height: 1.9;
  margin-bottom: 30px;
}

.specs-box {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 30px;
}

.specs-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.specs-table { width: 100%; border-collapse: collapse; }

.specs-table th, .specs-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--color-gray-100);
}

.specs-table th {
  width: 160px;
  color: var(--color-gray-700);
  font-weight: 500;
  background: rgba(232,119,34,0.06);
}

.specs-table td { color: var(--color-gray-900); }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }

.product-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.product-cta-contact { width: 100%; font-size: 15px; color: var(--color-gray-700); margin-top: 4px; }
.product-cta-contact a { color: var(--color-accent); font-weight: 600; text-decoration: none; }

.product-detail-content {
  margin-top: 80px;
}

.product-detail-content h2, .product-detail-content h3 {
  color: var(--color-primary);
  margin: 28px 0 16px;
  font-weight: 700;
}

.product-detail-content h2 { font-size: 26px; }
.product-detail-content h3 { font-size: 20px; }

.product-detail-content p {
  font-size: 15px;
  color: var(--color-gray-700);
  line-height: 1.9;
  margin-bottom: 16px;
}

.product-detail-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.product-detail-content ul li {
  font-size: 15px;
  color: var(--color-gray-700);
  line-height: 1.8;
}

/* 相关产品 */
.related-products {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--color-gray-100);
}

.related-products h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 40px;
}

/* ===== 博客/新闻文章 ===== */
.entry-content { background: var(--color-white); }

.entry-content .entry-content-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.entry-content .entry-content-inner h2, 
.entry-content .entry-content-inner h3 {
  color: var(--color-primary);
  margin: 28px 0 16px;
  font-weight: 700;
}

.entry-content .entry-content-inner h2 { font-size: 26px; }
.entry-content .entry-content-inner h3 { font-size: 20px; }

.entry-content .entry-content-inner p {
  font-size: 16px;
  color: var(--color-gray-700);
  line-height: 2;
  margin-bottom: 18px;
}

.entry-content .entry-content-inner img { border-radius: 8px; margin: 24px 0; }

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-gray-100);
  border-radius: 4px;
  font-size: 14px;
  color: var(--color-gray-700);
  transition: var(--transition);
}

.pagination .page-numbers:hover, .pagination .page-numbers.current {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .site-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }

  .nav-toggle { display: block; }
  .nav-logo-text { display: none; }

  .section { padding: 64px 0; }

  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-item:not(:last-child)::after { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .product-cta { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .nav-inner { height: 60px; }
  .nav-logo img { height: 26px; }
  .hero-title { letter-spacing: 1px; }
}

/* ===== 智能选型器页面 ===== */
.selector-page { padding: 60px 0 100px; background: var(--color-gray-50, #f7f8fa); }

.selector-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--color-gray-100, #eee);
}
.selector-tab {
  padding: 12px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-gray-500, #888);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -2px;
}
.selector-tab.active {
  color: var(--color-accent, #e87722);
  border-bottom-color: var(--color-accent, #e87722);
}

.selector-panel { display: none; }
.selector-panel.active { display: block; }

.selector-form {
  background: var(--color-white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}
.form-field select, .form-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-300, #ccc);
  border-radius: 6px;
  font-size: 15px;
  color: var(--color-gray-900);
  background: var(--color-white);
}
.form-field select:focus, .form-field input:focus {
  outline: none;
  border-color: var(--color-accent, #e87722);
}

.result-summary {
  background: var(--color-primary, #14284a);
  color: #fff;
  padding: 20px 24px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.8;
}
.result-summary strong { color: #ffd09a; }

.result-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.result-card {
  position: relative;
  background: var(--color-white);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--color-gray-100, #eee);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.result-card.best {
  border-color: var(--color-accent, #e87722);
  box-shadow: 0 4px 20px rgba(232,119,34,0.15);
}
.best-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--color-accent, #e87722);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 10px;
}
.result-model { font-size: 20px; font-weight: 800; color: var(--color-primary, #14284a); margin-bottom: 4px; }
.result-series { font-size: 13px; color: var(--color-gray-500); margin-bottom: 12px; }
.result-meta { font-size: 13px; color: var(--color-gray-700); margin-bottom: 10px; line-height: 1.7; }
.result-desc { font-size: 13px; color: var(--color-gray-500); line-height: 1.7; margin-bottom: 16px; }
.result-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px dashed rgba(0,0,0,0.08);
}
.result-contact-label {
  font-size: 13px;
  color: var(--color-gray-700);
  font-weight: 600;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.empty-tip {
  grid-column: 1/-1;
  padding: 32px;
  text-align: center;
  background: #fff8f0;
  border-radius: 8px;
  color: var(--color-accent, #e87722);
}
.result-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--color-gray-500);
  line-height: 1.8;
}

/* ===== 产品规格目录页 ===== */
.catalog-page { padding: 60px 0 100px; background: var(--color-white); }
.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-gray-100, #eee);
}
.catalog-nav a {
  padding: 8px 18px;
  border: 1px solid var(--color-gray-300, #ccc);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-gray-700);
  transition: var(--transition);
}
.catalog-nav a:hover { border-color: var(--color-accent, #e87722); color: var(--color-accent, #e87722); }
.catalog-nav-cta { background: var(--color-accent, #e87722); color: #fff !important; border-color: var(--color-accent, #e87722) !important; }

.catalog-h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary, #14284a);
  margin: 48px 0 24px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent, #e87722);
}
.catalog-block { margin-bottom: 40px; }
.catalog-block-head h3 { font-size: 20px; font-weight: 700; color: var(--color-gray-900); margin-bottom: 12px; }
.catalog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  font-size: 12px;
  padding: 4px 12px;
  background: rgba(20,40,74,0.06);
  color: var(--color-primary, #14284a);
  border-radius: 12px;
}
.catalog-desc { font-size: 14px; color: var(--color-gray-500); line-height: 1.8; margin-bottom: 16px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--color-gray-100, #eee); border-radius: 8px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-100, #eee);
}
.spec-table th {
  background: var(--color-primary, #14284a);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.spec-table tbody tr:hover { background: rgba(232,119,34,0.04); }
.spec-table .mono { font-family: 'Courier New', Consolas, monospace; white-space: nowrap; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .result-list { grid-template-columns: 1fr; }
}

/* ===== 目录页 产品图文 ===== */
.catalog-block-head {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-head-text { flex: 1; min-width: 260px; }
.catalog-head-img {
  flex: 0 0 260px;
  max-width: 260px;
}
.catalog-head-img img {
  width: 100%;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.cyl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.cyl-card {
  background: #fff;
  border: 1px solid var(--color-gray-100, #eee);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.cyl-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-2px); }
.cyl-card-img { height: 200px; background: #f7f8fa; display: flex; align-items: center; justify-content: center; }
.cyl-card-img img { max-height: 100%; max-width: 90%; object-fit: contain; }
.cyl-card-body { padding: 20px; }
.cyl-card-body h3 { font-size: 17px; font-weight: 700; color: var(--color-primary, #14284a); margin-bottom: 10px; }
.cyl-card .catalog-desc { font-size: 13px; margin-top: 10px; }

@media (max-width: 768px) {
  .catalog-block-head { flex-direction: column; }
  .catalog-head-img { flex: none; max-width: 100%; width: 100%; }
  .cyl-grid { grid-template-columns: 1fr; }
}
