/* ============================================
   广州伟芳机械设备有限公司 - 现代工业风企业站点样式
   设计方向：深色头部 + 大留白 + 精致卡片 + 微动效
   ============================================ */

/* ---------- 设计令牌 / Design Tokens ---------- */
:root {
  /* 品牌色 - 工业深橙红 */
  --brand: #c73e1d;
  --brand-dark: #a33014;
  --brand-light: #e85d3a;

  /* 辅助色 */
  --accent-blue: #2563eb;
  --accent-teal: #0d9488;

  /* 中性色 */
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;

  /* 背景 */
  --bg-body: #ffffff;
  --bg-section: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-elevated: #1e293b;

  /* 边框 */
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* 阴影 - 柔和层级 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-brand: 0 10px 30px -5px rgba(199, 62, 29, 0.35);

  /* 圆角 */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* 过渡 */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-display: var(--font-sans);
}

/* ---------- 重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--bg-body);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ---------- 工具类 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.bg-light {
  background: var(--bg-section);
}

.bg-dark {
  background: var(--bg-dark);
  color: #fff;
}

.text-center {
  text-align: center;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -5px rgba(199, 62, 29, 0.45);
}

/* ---------- 按钮 loading（防重复点击，与后台一致） ---------- */
.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
  cursor: not-allowed;
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--brand);
}

.btn-white:hover {
  background: var(--ink-100);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* ---------- 顶部信息栏 ---------- */
.topbar {
  background: var(--ink-900);
  color: var(--ink-400);
  font-size: 13px;
  padding: 10px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  gap: 24px;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-right {
  display: flex;
  gap: 20px;
}

.topbar-right a {
  color: var(--ink-400);
}

.topbar-right a:hover {
  color: #fff;
}

/* ---------- 头部 ---------- */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-main {
  padding: 18px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 48px;
  height: 48px;
  background: var(--brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-text h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.logo-text p {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.4;
  margin-top: 2px;
}

.header-search {
  display: flex;
  flex: 1;
  max-width: 420px;
}

.header-search input {
  flex: 1;
  padding: 11px 18px;
  border: 1.5px solid var(--ink-200);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  font-size: 14px;
  color: var(--ink-700);
  background: var(--ink-50);
  transition: var(--transition);
}

.header-search input:focus {
  border-color: var(--brand);
  background: #fff;
}

.header-search input::placeholder {
  color: var(--ink-400);
}

.header-search button {
  padding: 0 20px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.header-search button:hover {
  background: var(--brand-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.phone-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-block i {
  width: 40px;
  height: 40px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.phone-block .phone-text {
  line-height: 1.3;
}

.phone-block .phone-label {
  font-size: 12px;
  color: var(--ink-500);
}

.phone-block .phone-number {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

/* ---------- 导航 ---------- */
.nav {
  background: var(--ink-900);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav ul {
  display: flex;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 14px 20px;
  color: var(--ink-400);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.nav a:hover {
  color: #fff;
}

.nav a.active {
  color: #fff;
  background: var(--ink-800);
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px 2px 0 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-400);
  font-size: 13px;
}

.nav-contact i {
  color: var(--brand-light);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 16px 0;
  background: var(--ink-50);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb a {
  color: var(--ink-500);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb span.sep {
  margin: 0 10px;
  color: var(--ink-300);
}

.breadcrumb span.current {
  color: var(--ink-700);
  font-weight: 500;
}

/* ---------- 页面标题 ---------- */
.page-title {
  padding: 64px 0;
  background: var(--ink-900);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(199, 62, 29, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-title h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  letter-spacing: -0.02em;
}

.page-title p {
  font-size: 16px;
  color: var(--ink-400);
  position: relative;
}

/* ---------- 轮播图 ---------- */
.banner {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--ink-900);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 60%, rgba(15,23,42,0.2) 100%);
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
  color: #fff;
  z-index: 10;
}

.banner-content-inner {
  max-width: 600px;
}

.banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.banner-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.banner-content h3 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.banner-content p {
  font-size: 18px;
  color: var(--ink-300);
  margin-bottom: 32px;
  line-height: 1.7;
}

.banner-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dots span {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
}

.banner-dots span.active {
  background: var(--brand);
  width: 48px;
}

/* ---------- 快速入口 ---------- */
.quick-entry {
  padding: 60px 0;
  background: #fff;
  margin-top: -40px;
  position: relative;
  z-index: 20;
}

.quick-entry .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.entry-item {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.entry-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: var(--transition-slow);
}

.entry-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.entry-item:hover::before {
  transform: scaleX(1);
}

.entry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--ink-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 24px;
  transition: var(--transition);
}

.entry-item:hover .entry-icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}

.entry-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-900);
}

.entry-item p {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

.entry-item a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.entry-item a:hover {
  gap: 10px;
}

.entry-item a i {
  font-size: 11px;
  transition: var(--transition);
}

/* ---------- 区块标题 ---------- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(199, 62, 29, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title p {
  color: var(--ink-500);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-img {
  height: 220px;
  overflow: hidden;
  background: var(--ink-100);
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: #fff;
  letter-spacing: 0.03em;
  z-index: 5;
}

.tag.hot {
  background: var(--brand);
}

.tag.new {
  background: var(--accent-blue);
}

.tag.sale {
  background: var(--accent-teal);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.product-info .spec {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 14px;
}

.product-info .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.product-info .price .current {
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
}

.product-info .price .original {
  color: var(--ink-400);
  font-size: 14px;
  text-decoration: line-through;
}

.product-info .btn {
  width: 100%;
}

/* ---------- 分类菜单 ---------- */
.category-menu {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.category-menu h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-900);
}

.category-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-menu a {
  padding: 8px 16px;
  background: var(--ink-50);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-600);
  transition: var(--transition);
}

.category-menu a:hover,
.category-menu a.active {
  background: var(--brand);
  color: #fff;
}

/* ---------- 筛选栏 ---------- */
.filter-bar {
  background: #fff;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
}

.filter-bar label {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 14px;
}

.filter-bar select {
  padding: 10px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  outline: none;
  min-width: 140px;
  font-size: 14px;
  color: var(--ink-700);
  background: var(--ink-50);
  cursor: pointer;
  transition: var(--transition);
}

.filter-bar select:focus {
  border-color: var(--brand);
  background: #fff;
}

.filter-bar input[type="text"] {
  padding: 10px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  outline: none;
  font-size: 14px;
  color: var(--ink-700);
  background: #fff;
  transition: var(--transition);
}

.filter-bar input[type="text"]:focus {
  border-color: var(--brand);
  background: #fff;
}

/* ---------- 列表页布局 ---------- */
.main-content {
  display: flex;
  gap: 24px;
  margin-bottom: 60px;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.content {
  flex: 1;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- 侧边栏 ---------- */
.sidebar-box {
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.sidebar-box h4 {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--ink-900);
}

.sidebar-box ul {
  padding: 12px 20px;
}

.sidebar-box li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-box li:last-child {
  border-bottom: none;
}

.sidebar-box a {
  font-size: 14px;
  color: var(--ink-600);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-box a:hover {
  color: var(--brand);
}

.sidebar-box a span.count {
  font-size: 12px;
  color: var(--ink-400);
  background: var(--ink-50);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.contact-list-compact {
  padding: 20px;
}

.contact-list-compact p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-600);
}

.contact-list-compact i {
  width: 32px;
  height: 32px;
  background: var(--ink-50);
  color: var(--brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

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

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-600);
  transition: var(--transition);
}

.pagination a:hover,
.pagination span.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* 省略号与禁用态：不显示为按钮 */
.pagination span.ellipsis,
.pagination span.disabled {
  background: transparent;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

.pagination a.disabled {
  opacity: .5;
  cursor: default;
  pointer-events: none;
}

/* 分页条：左 总量/区间 · 中 每页条数 · 右 页码 */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 48px 0 0;
}
.page-info { color: var(--ink-500); font-size: 14px; }
.page-size { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-600); font-size: 14px; }
.page-size-select { padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; background: var(--ink-50); color: var(--ink-700); cursor: pointer; transition: var(--transition); }
.page-size-select:focus { outline: none; border-color: var(--brand); background: #fff; }

/* ---------- 详情页 ---------- */
.detail-container {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.detail-main {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
}

.detail-gallery {
  width: 520px;
  flex-shrink: 0;
}

.detail-gallery .main-img {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-100);
  margin-bottom: 16px;
}

.detail-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery .thumb-list {
  display: flex;
  gap: 12px;
}

.detail-gallery .thumb-list img {
  width: 88px;
  height: 66px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  object-fit: cover;
  transition: var(--transition);
}

.detail-gallery .thumb-list img.active,
.detail-gallery .thumb-list img:hover {
  border-color: var(--brand);
}

.detail-info {
  flex: 1;
}

.detail-info h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.detail-info .price {
  font-size: 32px;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.detail-info .meta {
  color: var(--ink-500);
  margin-bottom: 20px;
  font-size: 14px;
}

.detail-info .meta span {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-info .desc {
  color: var(--ink-600);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 15px;
}

.detail-action {
  display: flex;
  gap: 12px;
}

.detail-action .btn {
  padding: 14px 36px;
  font-size: 15px;
}

.detail-content {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.detail-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 20px;
}

.detail-content p {
  line-height: 1.8;
  color: var(--ink-600);
  margin-bottom: 16px;
}

/* 富文本渲染排版（th:utext 输出，服务端已净化） */
.detail-content img,
.detail-info .desc img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 12px 0;
  display: block;
}
.detail-content ul,
.detail-content ol,
.detail-info .desc ul,
.detail-info .desc ol {
  margin: 0 0 16px 22px;
  color: var(--ink-600);
  line-height: 1.8;
}
.detail-content li,
.detail-info .desc li {
  margin-bottom: 6px;
}
.detail-content h1,
.detail-content h2,
.detail-content h3,
.detail-content h4,
.detail-info .desc h1,
.detail-info .desc h2,
.detail-info .desc h3,
.detail-info .desc h4 {
  color: var(--ink-900);
  font-weight: 700;
  margin: 18px 0 12px;
  line-height: 1.5;
}
.detail-content h1 { font-size: 24px; }
.detail-content h2 { font-size: 21px; }
.detail-content h3 { font-size: 18px; }
.detail-content h4 { font-size: 16px; }
.detail-content blockquote,
.detail-info .desc blockquote {
  border-left: 4px solid var(--brand);
  background: var(--bg-soft);
  padding: 10px 16px;
  margin: 0 0 16px;
  color: var(--ink-600);
}
.detail-content table,
.detail-info .desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}
.detail-content th,
.detail-content td,
.detail-info .desc th,
.detail-info .desc td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
.detail-content th,
.detail-info .desc th {
  background: var(--bg-soft);
  font-weight: 600;
}
.detail-content a,
.detail-info .desc a {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* ---------- 参数表格 ---------- */
.params-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.params-table th,
.params-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  font-size: 14px;
}

.params-table th {
  background: var(--ink-50);
  width: 160px;
  font-weight: 600;
  color: var(--ink-700);
}

.params-table td {
  color: var(--ink-600);
}

.params-table tr:last-child th,
.params-table tr:last-child td {
  border-bottom: none;
}

/* ---------- 新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition-slow);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.news-img {
  height: 180px;
  overflow: hidden;
  background: var(--ink-100);
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-img img {
  transform: scale(1.08);
}

.news-content {
  padding: 20px;
}

.news-content .news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-400);
  margin-bottom: 10px;
}

.news-content h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-content h3 a {
  color: var(--ink-900);
}

.news-content h3 a:hover {
  color: var(--brand);
}

.news-content p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新闻列表 */
.news-list {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.news-item {
  display: flex;
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  gap: 20px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: var(--ink-50);
}

.news-item .img-box {
  width: 200px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ink-100);
}

.news-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-item:hover .img-box img {
  transform: scale(1.05);
}

.news-item .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-item h3 a {
  color: var(--ink-900);
}

.news-item h3 a:hover {
  color: var(--brand);
}

.news-item .desc {
  color: var(--ink-500);
  margin-bottom: 10px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .meta {
  font-size: 13px;
  color: var(--ink-400);
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- 关于我们首页区域 ---------- */
.about-home {
  display: flex;
  gap: 56px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
}

.about-img {
  flex: 0 0 460px;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-100);
}

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

.about-text {
  flex: 1;
}

.about-text .section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(199, 62, 29, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--ink-900);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--ink-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 28px 0;
}

.about-stats .stat-item {
  text-align: left;
  padding: 0;
  min-width: auto;
}

.about-stats .stat-item h3 {
  font-size: 36px;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.about-stats .stat-item p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- 案例卡片 ---------- */
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition-slow);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.case-card .img-box {
  height: 260px;
  overflow: hidden;
  background: var(--ink-100);
}

.case-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover .img-box img {
  transform: scale(1.08);
}

.case-card .info {
  padding: 24px;
}

.case-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-900);
}

.case-card p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 联系方式页 ---------- */
.contact-container {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}

.contact-info-panel {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand);
  color: var(--ink-900);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item .icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--ink-50);
  color: var(--brand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.info-item .text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.info-item .text p {
  color: var(--ink-600);
  font-size: 14px;
  line-height: 1.5;
}

.info-item .text .highlight {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
}

.hours-badge {
  background: var(--ink-50);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-600);
}

.contact-form-panel {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.contact-form-panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand);
  color: var(--ink-900);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-700);
}

.form-group label .required {
  color: var(--brand);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius);
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink-700);
  background: var(--ink-50);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- 字数限制计数器（参考 Element Plus show-word-limit） ---------- */
.word-limit-wrap {
  position: relative;
  display: block;
}

.word-limit {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 12px;
  line-height: 1;
  color: #909399;
  background: #fff;
  padding: 0 2px 0 4px;
  pointer-events: none;
  user-select: none;
}

.word-limit.is-over {
  color: #f56c6c;
}

/* 单行 input：计数在框内右侧垂直居中 */
.word-limit-wrap > input + .word-limit {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.word-limit-wrap > input,
.word-limit-wrap > textarea {
  padding-right: 56px;
}

.form-group button[type="submit"] {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

.map-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.map-panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink-900);
}

.map-placeholder {
  height: 360px;
  background: var(--ink-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}

.map-placeholder .map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.map-placeholder .map-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius);
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-placeholder .map-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.map-placeholder .map-icon {
  font-size: 48px;
}

.map-placeholder .map-text {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.map-placeholder .map-hint {
  font-size: 14px;
  opacity: 0.9;
}

/* ---------- 关于我们页 ---------- */
.about-intro {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.about-intro h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink-900);
}

.about-intro p {
  line-height: 1.8;
  color: var(--ink-600);
  margin-bottom: 16px;
}

.service-cards {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.service-card {
  flex: 1;
  min-width: 240px;
  text-align: center;
  padding: 36px 24px;
  background: var(--ink-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.service-card:hover {
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card i {
  font-size: 40px;
  color: var(--brand);
  margin-bottom: 16px;
}

.service-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-900);
}

.service-card p {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.7;
  margin: 0;
}

/* 时间线 */
.timeline {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--border);
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-year {
  width: 80px;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
}

.timeline-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 侧边悬浮 ---------- */
.sidebar-float {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  position: relative;
  font-size: 18px;
  transition: var(--transition);
}

.sidebar-float a:hover {
  background: var(--brand-dark);
  transform: scale(1.1);
}

.sidebar-float a .tip {
  position: absolute;
  right: 60px;
  background: var(--ink-900);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.sidebar-float a:hover .tip {
  opacity: 1;
  visibility: visible;
}

/* ---------- 底部 ---------- */
.footer {
  background: var(--ink-900);
  color: var(--ink-400);
}

.footer-main {
  padding: 64px 0 48px;
}

.footer-main .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo-img {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.footer-col ul li a {
  color: var(--ink-400);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #fff;
}

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

.footer-contact-list li i {
  width: 28px;
  height: 28px;
  background: var(--ink-800);
  color: var(--brand-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-500);
  border-top: 1px solid var(--ink-800);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-entry .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-home {
    flex-direction: column;
    padding: 32px;
  }

  .about-img {
    flex: none;
    width: 100%;
    height: 260px;
  }

  .footer-main .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-main .container {
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    width: 100%;
    max-width: none;
    margin-top: 12px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .detail-main {
    flex-direction: column;
  }

  .detail-gallery {
    width: 100%;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info-panel {
    width: 100%;
  }

  .banner {
    height: 420px;
  }

  .banner-content h3 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .nav .container {
    flex-wrap: wrap;
    padding: 8px 20px;
    position: relative;
  }

  .nav-toggle {
    display: block;
    order: 1;
    margin-left: auto;
  }

  .nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    order: 3;
    margin-top: 8px;
    background: var(--ink-800);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .nav ul.active {
    display: flex;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav a.active {
    background: var(--brand);
  }

  .nav a.active::after {
    display: none;
  }

  .nav-contact {
    display: none;
  }

  .banner {
    height: 360px;
  }

  .banner-content h3 {
    font-size: 26px;
  }

  .banner-content p {
    font-size: 15px;
  }

  .quick-entry .container {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-list,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .service-cards {
    flex-direction: column;
  }

  .footer-main .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-title h2 {
    font-size: 28px;
  }

  .sidebar-float {
    bottom: 20px;
    right: 12px;
  }

  .sidebar-float a {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  /* 头部移动端优化 */
  .header-main {
    padding: 12px 0;
  }

  .header-main .container {
    gap: 12px;
  }

  .logo-mark,
  .logo-img {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .logo-text h1 {
    font-size: 18px;
  }

  .logo-text p {
    font-size: 11px;
  }

  .phone-block i {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .phone-block .phone-number {
    font-size: 15px;
  }

  /* 面包屑 */
  .breadcrumb {
    padding: 12px 0;
    font-size: 13px;
  }

  /* 页面标题 */
  .page-title {
    padding: 40px 0;
  }

  .page-title h2 {
    font-size: 24px;
  }

  .page-title p {
    font-size: 14px;
  }

  /* 筛选栏 */
  .filter-bar {
    padding: 14px 16px;
    gap: 12px;
  }

  .filter-bar label {
    font-size: 13px;
  }

  .filter-bar select {
    padding: 8px 12px;
    min-width: 120px;
    font-size: 13px;
  }

  .filter-bar input[type="text"] {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* 产品卡片 */
  .product-img {
    height: 200px;
  }

  .product-info {
    padding: 16px;
  }

  .product-info h3 {
    font-size: 15px;
  }

  .product-info .price .current {
    font-size: 18px;
  }

  /* 新闻列表 */
  .news-item {
    flex-direction: column;
    padding: 16px;
    gap: 14px;
  }

  .news-item .img-box {
    width: 100%;
    height: 180px;
  }

  .news-item h3 {
    font-size: 16px;
  }

  .news-item .desc {
    font-size: 13px;
  }

  /* 案例卡片 */
  .case-card .img-box {
    height: 200px;
  }

  .case-card .info {
    padding: 18px;
  }

  /* 详情页 */
  .detail-container {
    padding: 24px;
  }

  .detail-main {
    gap: 24px;
  }

  .detail-gallery .main-img {
    height: 280px;
  }

  .detail-gallery .thumb-list img {
    width: 64px;
    height: 48px;
  }

  .detail-info h1 {
    font-size: 20px;
  }

  .detail-info .price {
    font-size: 24px;
  }

  .detail-info .meta {
    font-size: 13px;
  }

  .detail-info .meta span {
    display: block;
    margin-bottom: 6px;
  }

  .detail-info .desc {
    font-size: 14px;
  }

  .detail-action {
    flex-direction: column;
    gap: 10px;
  }

  .detail-action .btn {
    width: 100%;
  }

  .detail-content {
    padding-top: 24px;
  }

  .detail-content h3 {
    font-size: 18px;
  }

  /* 参数表格 */
  .params-table th,
  .params-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .params-table th {
    width: 120px;
  }

  /* 新闻详情 */
  .news-detail h1 {
    font-size: 22px;
  }

  .news-meta-bar {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }

  .article-content h2 {
    font-size: 18px;
    margin: 28px 0 12px;
  }

  .highlight-box {
    padding: 16px;
  }

  /* 关于我们 */
  .about-home {
    padding: 24px;
    gap: 24px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-stats .stat-item h3 {
    font-size: 28px;
  }

  .about-intro {
    padding: 24px;
  }

  .timeline {
    padding: 24px;
  }

  .timeline-item {
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .timeline-year {
    width: 60px;
    font-size: 16px;
  }

  /* 联系页面 */
  .contact-card {
    padding: 24px;
  }

  .contact-form-panel {
    padding: 24px;
  }

  .map-panel {
    padding: 24px;
  }

  .map-placeholder {
    height: 240px;
  }

  /* 分页 */
  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  /* 区块标题 */
  .section-title h2 {
    font-size: 22px;
  }

  .section-title p {
    font-size: 14px;
  }

  /* 快速入口 */
  .entry-item {
    padding: 24px 16px;
  }

  .entry-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  /* Banner */
  .banner {
    height: 320px;
  }

  .banner-content h3 {
    font-size: 22px;
  }

  .banner-content p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .banner-tag {
    font-size: 11px;
    padding: 4px 12px;
  }

  /* 按钮 */
  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  .header-main .container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark,
  .logo-img {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .logo-text h1 {
    font-size: 16px;
  }

  .logo-text p {
    display: none;
  }

  .header-search {
    order: 3;
    width: 100%;
    max-width: none;
    margin-top: 4px;
  }

  .header-search input {
    padding: 9px 14px;
    font-size: 13px;
  }

  .header-search button {
    padding: 0 16px;
  }

  .phone-block {
    gap: 8px;
  }

  .phone-block i {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .phone-block .phone-label {
    display: none;
  }

  .phone-block .phone-number {
    font-size: 14px;
  }

  .banner {
    height: 260px;
  }

  .banner-content h3 {
    font-size: 18px;
  }

  .banner-content p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .banner-tag {
    font-size: 10px;
    padding: 3px 10px;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 14px;
  }

  .section {
    padding: 36px 0;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .product-img {
    height: 180px;
  }

  .product-info {
    padding: 14px;
  }

  .product-info h3 {
    font-size: 14px;
  }

  .detail-gallery .main-img {
    height: 220px;
  }

  .detail-gallery .thumb-list img {
    width: 52px;
    height: 40px;
  }

  .detail-info h1 {
    font-size: 18px;
  }

  .detail-info .price {
    font-size: 20px;
  }

  .news-detail h1 {
    font-size: 20px;
  }

  .article-content h2 {
    font-size: 16px;
  }

  .page-title h2 {
    font-size: 20px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar select {
    width: 100%;
  }

  .container {
    padding: 0 16px;
  }
}

/* ---------- 新闻详情 ---------- */
.news-detail h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.news-meta-bar {
  display: flex;
  gap: 20px;
  color: var(--ink-400);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.news-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-content {
  line-height: 1.9;
  color: var(--ink-600);
  font-size: 15px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}

.highlight-box {
  background: var(--ink-50);
  border-left: 4px solid var(--brand);
  padding: 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 32px;
}

.highlight-box p {
  margin: 0;
  color: var(--ink-700);
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ---------- 搜索结果页 ---------- */
.search-overview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.search-overview .search-form {
  flex: 1;
  min-width: 280px;
  display: flex;
}

.search-overview .search-form input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--ink-200);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  outline: none;
  font-size: 14px;
  color: var(--ink-700);
  background: var(--ink-50);
  transition: var(--transition);
}

.search-overview .search-form input:focus {
  border-color: var(--brand);
  background: #fff;
}

.search-overview .search-form button {
  padding: 0 22px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.search-overview .search-form button:hover {
  background: var(--brand-dark);
}

.search-overview .search-count {
  font-size: 14px;
  color: var(--ink-600);
  white-space: nowrap;
}

.search-overview .search-count strong {
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
}

.search-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-500);
}

.search-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.search-legend .dot.machine {
  background: var(--brand);
}

.search-legend .dot.parts {
  background: var(--accent-blue);
}

/* 结果卡片上的类型标签（整机 / 配件） */
.result-type-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: #fff;
  letter-spacing: 0.03em;
}

.result-type-tag.machine {
  background: var(--brand);
}

.result-type-tag.parts {
  background: var(--accent-blue);
}

/* 空状态 */
.search-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--ink-500);
}

.search-empty i {
  font-size: 54px;
  color: var(--ink-300);
  margin-bottom: 18px;
}

.search-empty h3 {
  font-size: 22px;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.search-empty p {
  margin-bottom: 22px;
  font-size: 15px;
}

.search-empty .btn {
  margin: 0 6px;
}
