/**
 * HCN 产品中心 / 产品详情 — 工业制造企业风格
 */

.hcn-product-page {
  --hcn-primary: #FF131C;
  --hcn-primary-dark: #c40e15;
  --hcn-accent: #FAB337;
  --hcn-navy: #0C182F;
  --hcn-navy-light: #162a45;
  --hcn-text: #1a2332;
  --hcn-text-light: #5a6478;
  --hcn-bg: #f4f6f9;
  --hcn-bg-soft: #eef1f6;
  --hcn-white: #fff;
  --hcn-border: #e2e8f0;
  --hcn-shadow: 0 4px 24px rgba(12, 24, 47, 0.08);
  --hcn-shadow-hover: 0 12px 40px rgba(12, 24, 47, 0.14);
  --hcn-radius: 10px;
  --hcn-radius-lg: 16px;
}

.hcn-product-page h1,
.hcn-product-page h2,
.hcn-product-page h3,
.hcn-product-page h4 {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.hcn-product-archive,
.hcn-product-single {
  padding: 0 0 80px;
  color: var(--hcn-text);
  background: var(--hcn-bg);
}

.hcn-product-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- 页面 Hero ---------- */
.hcn-page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  margin-bottom: 0;
  background: var(--hcn-navy);
  color: var(--hcn-white);
}

.hcn-page-hero--compact {
  padding: 36px 0 40px;
}

.hcn-page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 19, 28, 0.12) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.02) 20px,
      rgba(255, 255, 255, 0.02) 21px
    );
  pointer-events: none;
}

.hcn-page-hero-inner {
  position: relative;
  z-index: 1;
}

.hcn-product-breadcrumb {
  margin: 0 0 20px;
  font-size: 13px;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hcn-product-breadcrumb a {
  color: var(--hcn-white);
  text-decoration: none;
  transition: color 0.2s;
}

.hcn-product-breadcrumb a:hover {
  color: var(--hcn-accent);
}

.hcn-bc-sep {
  opacity: 0.4;
}

.hcn-bc-current {
  color: var(--hcn-accent);
  font-weight: 500;
}

.hcn-page-hero-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--hcn-accent);
}

.hcn-page-hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--hcn-white);
  padding: 0;
}

.hcn-page-hero-title mark {
  background: transparent;
  color: var(--hcn-accent);
}

.hcn-page-hero-title--single {
  font-size: clamp(24px, 3vw, 34px);
}

.hcn-page-hero-desc {
  margin: 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.85;
}

.hcn-page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hcn-stat-item {
  min-width: 120px;
  padding: 16px 24px;
  border-radius: var(--hcn-radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.hcn-stat-item strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--hcn-accent);
  line-height: 1.2;
}

.hcn-stat-item span {
  font-size: 13px;
  opacity: 0.8;
}

.hcn-product-single-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--hcn-primary);
  color: var(--hcn-white);
}

/* ---------- 列表页 Hero ---------- */
.hcn-archive-hero {
  position: relative;
  padding: 44px 0 48px;
  background: linear-gradient(135deg, var(--hcn-navy) 0%, var(--hcn-navy-light) 100%);
  color: var(--hcn-white);
}

.hcn-archive-hero .hcn-product-breadcrumb {
  margin-bottom: 16px;
}

.hcn-archive-hero .hcn-product-breadcrumb a {
  color: var(--hcn-white);
}

.hcn-archive-hero .hcn-product-breadcrumb a:hover {
  color: var(--hcn-accent);
}

.hcn-archive-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--hcn-white);
  padding: 0;
}

.hcn-archive-title mark {
  background: transparent;
  color: var(--hcn-accent);
}

.hcn-archive-desc {
  margin: 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.88;
}

/* ---------- 列表工具栏 ---------- */
.hcn-product-archive-body {
  padding-top: 36px;
}

.hcn-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.hcn-archive-count {
  margin: 0;
  font-size: 15px;
  color: var(--hcn-text-light);
}

.hcn-archive-count strong {
  color: var(--hcn-primary);
  font-size: 20px;
}

.hcn-archive-hotline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hcn-archive-hotline a {
  font-size: 14px;
  font-weight: 600;
  color: var(--hcn-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hcn-archive-hotline a:hover {
  color: var(--hcn-primary-dark);
}

/* ---------- 产品列表（首页 plan 风格） ---------- */
.hcn-product-grid--plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.hcn-plan-card {
  background: var(--hcn-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(12, 24, 47, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hcn-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(12, 24, 47, 0.12);
}

.hcn-plan-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hcn-plan-card-media {
  position: relative;
  background: linear-gradient(180deg, #f8f9fb 0%, #eef1f6 100%);
  padding: 24px 20px 36px;
  text-align: center;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hcn-plan-card-media img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.hcn-plan-card:hover .hcn-plan-card-media img {
  transform: scale(1.04);
}

.hcn-plan-card-badge {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  padding: 4px 18px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--hcn-primary);
  color: var(--hcn-white);
  box-shadow: 0 4px 12px rgba(255, 19, 28, 0.25);
}

.hcn-plan-card-body {
  padding: 28px 22px 24px;
  text-align: center;
}

.hcn-plan-card-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hcn-text);
  padding: 0;
  transition: color 0.2s;
}

.hcn-plan-card:hover .hcn-plan-card-title {
  color: var(--hcn-primary);
}

.hcn-plan-card-excerpt {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hcn-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hcn-plan-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hcn-primary);
}

.hcn-plan-card-btn i {
  font-size: 16px;
  transition: transform 0.2s;
}

.hcn-plan-card:hover .hcn-plan-card-btn i {
  transform: translateX(3px);
}

.hcn-product-empty {
  text-align: center;
  padding: 64px 28px;
  border-radius: var(--hcn-radius-lg);
  border: 2px dashed var(--hcn-border);
  background: var(--hcn-white);
  color: var(--hcn-text-light);
}

.hcn-empty-icon {
  font-size: 48px;
  color: var(--hcn-primary);
  opacity: 0.4;
  margin-bottom: 16px;
}

/* ---------- 列表底部 CTA ---------- */
.hcn-archive-cta {
  margin-top: 48px;
  border-radius: var(--hcn-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--hcn-navy) 0%, var(--hcn-navy-light) 100%);
}

.hcn-archive-cta-inner {
  padding: 40px 32px;
  text-align: center;
  color: var(--hcn-white);
}

.hcn-archive-cta-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--hcn-white);
  padding: 0;
}

.hcn-archive-cta-inner p {
  margin: 0 0 24px;
  font-size: 15px;
  opacity: 0.85;
}

.hcn-archive-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- 详情布局 ---------- */
.hcn-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding-top: 36px;
}

.hcn-single-main {
  min-width: 0;
}

.hcn-product-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 32px;
  padding: 28px;
  border-radius: var(--hcn-radius-lg);
  background: var(--hcn-white);
  border: 1px solid var(--hcn-border);
  box-shadow: var(--hcn-shadow);
  align-items: start;
}

.hcn-product-main-image {
  border-radius: var(--hcn-radius);
  overflow: hidden;
  background: var(--hcn-bg-soft);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 12px;
}

.hcn-product-main-image--empty {
  color: var(--hcn-text-light);
  font-size: 15px;
}

.hcn-product-main-image--empty i {
  font-size: 40px;
  opacity: 0.3;
}

.hcn-product-main-image img {
  display: block;
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
}

.hcn-product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hcn-product-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--hcn-white);
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s;
}

.hcn-product-thumb:hover,
.hcn-product-thumb.is-active {
  border-color: var(--hcn-primary);
  box-shadow: 0 0 0 2px rgba(255, 19, 28, 0.15);
}

.hcn-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hcn-product-summary-label {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hcn-primary);
  color: var(--hcn-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hcn-product-summary-label i {
  color: var(--hcn-primary);
  font-size: 16px;
}

.hcn-product-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--hcn-text-light);
  max-height: 400px;
  overflow-y: auto;
}

.hcn-product-desc-empty {
  color: var(--hcn-text-light);
  font-size: 15px;
}

.hcn-richtext p {
  margin: 0 0 1em;
}

/* ---------- 侧边栏 ---------- */
.hcn-single-sidebar {
  position: relative;
}

.hcn-sidebar-card {
  padding: 28px 24px;
  border-radius: var(--hcn-radius-lg);
  background: var(--hcn-white);
  border: 1px solid var(--hcn-border);
  box-shadow: var(--hcn-shadow);
}

.hcn-sidebar-card--sticky {
  position: sticky;
  top: 100px;
}

.hcn-sidebar-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--hcn-text);
  padding: 0;
}

.hcn-sidebar-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hcn-text-light);
}

.hcn-sidebar-contacts {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.hcn-sidebar-contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--hcn-border);
}

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

.hcn-sidebar-contacts i {
  color: var(--hcn-primary);
  width: 16px;
  text-align: center;
}

.hcn-sidebar-contacts a {
  color: var(--hcn-text);
  text-decoration: none;
}

.hcn-sidebar-contacts a:hover {
  color: var(--hcn-primary);
}

.hcn-sidebar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hcn-border);
}

.hcn-sidebar-badges span {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: var(--hcn-bg-soft);
  color: var(--hcn-text-light);
}

.hcn-product-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- 内容区块 ---------- */
.hcn-product-section {
  padding: 32px;
  margin-bottom: 24px;
  border-radius: var(--hcn-radius-lg);
  background: var(--hcn-white);
  border: 1px solid var(--hcn-border);
  box-shadow: var(--hcn-shadow);
}

.hcn-product-section--soft {
  background: var(--hcn-bg-soft);
  border-color: transparent;
}

.hcn-section-head {
  text-align: center;
  margin-bottom: 28px;
}

.hcn-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--hcn-primary);
  margin-bottom: 8px;
}

.hcn-product-section-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  padding: 0;
  color: var(--hcn-text);
}

.hcn-product-section-title mark {
  background: transparent;
  color: var(--hcn-accent);
}

.hcn-product-section-hint {
  text-align: center;
  margin: 0;
  font-size: 14px;
  color: var(--hcn-text-light);
}

.hcn-spec-scroll-hint {
  display: none;
}

.hcn-spec-desktop {
  display: block;
}

.hcn-spec-mobile {
  display: none;
}

.hcn-spec-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--hcn-radius);
  border: 1px solid var(--hcn-border);
}

.hcn-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--hcn-white);
  table-layout: auto;
}

.hcn-spec-table th,
.hcn-spec-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--hcn-border);
  word-break: break-word;
}

.hcn-spec-table thead th {
  background: var(--hcn-navy);
  color: var(--hcn-white);
  font-weight: 600;
  font-size: 14px;
}

.hcn-spec-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  background: var(--hcn-bg-soft);
  color: var(--hcn-text);
  min-width: 140px;
  max-width: 220px;
}

.hcn-spec-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.hcn-spec-table tbody tr:hover td,
.hcn-spec-table tbody tr:hover th[scope="row"] {
  background: #f0f4f8;
}

/* 移动端规格卡片 */
.hcn-spec-model-card {
  margin-bottom: 16px;
  padding: 0;
  border-radius: var(--hcn-radius);
  overflow: hidden;
  border: 1px solid var(--hcn-border);
  background: var(--hcn-white);
}

.hcn-spec-model-card:last-child {
  margin-bottom: 0;
}

.hcn-spec-model-name {
  margin: 0;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--hcn-white);
  background: var(--hcn-navy);
}

.hcn-spec-dl {
  margin: 0;
  padding: 0;
}

.hcn-spec-dl-row {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-bottom: 1px solid var(--hcn-border);
}

.hcn-spec-dl-row:last-child {
  border-bottom: none;
}

.hcn-spec-dl-row:nth-child(even) {
  background: #fafbfc;
}

.hcn-spec-dl-row dt {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hcn-text-light);
}

.hcn-spec-dl-row dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--hcn-text);
  line-height: 1.5;
  word-break: break-word;
}

.hcn-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hcn-feature-card {
  position: relative;
  padding: 24px 24px 24px 28px;
  border-radius: var(--hcn-radius);
  background: var(--hcn-bg-soft);
  border-left: 4px solid var(--hcn-primary);
  transition: box-shadow 0.25s;
}

.hcn-feature-card:hover {
  box-shadow: var(--hcn-shadow);
}

.hcn-feature-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 28px;
  font-weight: 800;
  color: rgba(255, 19, 28, 0.1);
  line-height: 1;
}

.hcn-feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--hcn-text);
  padding: 0;
}

.hcn-feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hcn-text-light);
}

.hcn-product-prose {
  max-width: 860px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.85;
  color: var(--hcn-text-light);
}

.hcn-video-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--hcn-radius);
  overflow: hidden;
  box-shadow: var(--hcn-shadow);
}

.hcn-video-cover-link {
  position: relative;
  display: block;
}

.hcn-video-cover-link img {
  width: 100%;
  display: block;
}

.hcn-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--hcn-primary);
  color: var(--hcn-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(255, 19, 28, 0.4);
  transition: transform 0.2s;
}

.hcn-video-cover-link:hover .hcn-video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.hcn-video-wrap iframe,
.hcn-video-wrap video,
.hcn-video-native {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

.hcn-video-heading {
  text-align: center;
  margin: 0 0 8px;
  font-size: 17px;
}

.hcn-video-desc {
  text-align: center;
  margin: 0 0 20px;
  color: var(--hcn-text-light);
  font-size: 14px;
}

/* ---------- 按钮 ---------- */
.hcn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.hcn-btn-block {
  width: 100%;
  box-sizing: border-box;
}

.hcn-btn-primary {
  background: var(--hcn-primary);
  color: var(--hcn-white) !important;
  border-color: var(--hcn-primary);
}

.hcn-btn-primary:hover {
  background: var(--hcn-primary-dark);
  border-color: var(--hcn-primary-dark);
  color: var(--hcn-white) !important;
}

.hcn-btn-outline {
  border-color: var(--hcn-navy);
  color: var(--hcn-navy) !important;
  background: transparent;
}

.hcn-btn-outline:hover {
  background: var(--hcn-navy);
  color: var(--hcn-white) !important;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hcn-product-grid--plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hcn-single-layout {
    grid-template-columns: 1fr;
  }
  .hcn-sidebar-card--sticky {
    position: static;
  }
  .hcn-product-hero-panel {
    grid-template-columns: 1fr;
  }
  .hcn-product-desc {
    max-height: none;
  }
}

@media (max-width: 781px) {
  .hcn-spec-desktop {
    display: none;
  }

  .hcn-spec-mobile {
    display: block;
  }

  .hcn-page-hero-stats {
    gap: 10px;
  }
  .hcn-stat-item {
    flex: 1;
    min-width: 90px;
    padding: 12px 16px;
  }
  .hcn-stat-item strong {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .hcn-product-grid--plan {
    grid-template-columns: 1fr;
  }
  .hcn-plan-card-media {
    min-height: 200px;
    padding: 20px 16px 32px;
  }
  .hcn-plan-card-media img {
    max-height: 180px;
  }
  .hcn-features-grid {
    grid-template-columns: 1fr;
  }
  .hcn-product-section,
  .hcn-product-hero-panel {
    padding: 18px 16px;
  }
  .hcn-archive-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 联系表单 ---------- */
.hcn-contact-form-wrap {
  margin-top: 16px;
}

.hcn-form-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.hcn-form-notice--success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.hcn-form-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.hcn-form-notice:focus {
  outline: 2px solid rgba(255, 19, 28, 0.35);
  outline-offset: 2px;
}

.hcn-field-error-msg {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #dc2626;
}

.hcn-form-field input.hcn-field-error,
.hcn-form-field textarea.hcn-field-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.hcn-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hcn-contact-form .hcn-form-row {
  margin-bottom: 16px;
}

.hcn-contact-form .hcn-form-row--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hcn-form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hcn-text);
}

.hcn-form-field .required {
  color: var(--hcn-primary);
}

.hcn-form-field input,
.hcn-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hcn-border);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hcn-form-field input:focus,
.hcn-form-field textarea:focus {
  outline: none;
  border-color: var(--hcn-primary);
  box-shadow: 0 0 0 3px rgba(255, 19, 28, 0.12);
}

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

.hcn-form-actions {
  margin-top: 8px;
}

.hcn-form-privacy {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--hcn-text-light);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .hcn-contact-form .hcn-form-row--2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   工业机具站专属样式（与物流站视觉区分，SEO 结构不变）
   ========================================================== */
.hcn-product-page--machinery {
  --hcn-primary: #df0a0a;
  --hcn-primary-dark: #b00808;
  --hcn-accent: #e8a317;
  --hcn-navy: #1a1f2e;
  --hcn-navy-light: #2a3142;
  --hcn-bg: #f0f2f6;
  --hcn-bg-soft: #e8ebf0;
  --hcn-radius: 12px;
  --hcn-radius-lg: 18px;
}

/* ---------- 列表页 Hero ---------- */
.hcn-archive-hero--machinery {
  padding: 52px 0 56px;
  background: linear-gradient(120deg, #1a1f2e 0%, #2d3548 55%, #1a1f2e 100%);
  border-bottom: 4px solid var(--hcn-primary);
}

.hcn-archive-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
  background-size: 48px 84px;
  pointer-events: none;
}

.hcn-archive-hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hcn-archive-hero-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(223, 10, 10, 0.2);
  color: #ffb4b4;
}

.hcn-archive-hero-hotline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
  padding: 18px 22px;
  border-radius: var(--hcn-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hcn-archive-hero-hotline-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--hcn-accent);
}

.hcn-archive-hero-hotline a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hcn-archive-hero-hotline a:hover {
  color: var(--hcn-accent);
}

.hcn-archive-title mark {
  color: #ff6b6b;
}

/* ---------- 横向产品卡片（区别于物流站居中卡片） ---------- */
.hcn-product-grid--machinery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hcn-machinery-card {
  background: var(--hcn-white);
  border-radius: var(--hcn-radius-lg);
  border: 1px solid var(--hcn-border);
  box-shadow: 0 2px 16px rgba(26, 31, 46, 0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.hcn-machinery-card:hover {
  border-color: rgba(223, 10, 10, 0.25);
  box-shadow: 0 8px 32px rgba(26, 31, 46, 0.1);
}

.hcn-machinery-card-link {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.hcn-machinery-card-media {
  background: linear-gradient(135deg, #f5f6f8 0%, #e8ebf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 200px;
  border-right: 1px solid var(--hcn-border);
}

.hcn-machinery-card-media img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hcn-machinery-card:hover .hcn-machinery-card-media img {
  transform: scale(1.05);
}

.hcn-machinery-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hcn-machinery-card-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hcn-primary);
  background: rgba(223, 10, 10, 0.08);
}

.hcn-machinery-card-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--hcn-navy);
  padding: 0;
}

.hcn-machinery-card:hover .hcn-machinery-card-title {
  color: var(--hcn-primary);
}

.hcn-machinery-card-excerpt {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hcn-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hcn-machinery-card-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--hcn-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hcn-archive-cta--machinery {
  border-radius: var(--hcn-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #1a1f2e 0%, #323a4d 100%);
}

/* ---------- 详情页 ---------- */
.hcn-page-hero--machinery {
  background: #1a1f2e;
  border-bottom: 3px solid var(--hcn-primary);
}

.hcn-page-hero--machinery .hcn-page-hero-bg {
  background:
    linear-gradient(90deg, rgba(223, 10, 10, 0.15) 0%, transparent 40%),
    repeating-linear-gradient(-45deg, transparent, transparent 16px, rgba(255, 255, 255, 0.02) 16px, rgba(255, 255, 255, 0.02) 17px);
}

.hcn-product-page--machinery .hcn-product-single-tag {
  border-radius: 4px;
  background: var(--hcn-primary);
}

.hcn-product-page--machinery .hcn-single-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
}

.hcn-product-page--machinery .hcn-product-hero-panel {
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.hcn-product-page--machinery .hcn-product-main-image {
  border-radius: var(--hcn-radius-lg);
  border: 1px solid var(--hcn-border);
  background: #fff;
  min-height: 360px;
}

.hcn-product-page--machinery .hcn-product-main-image img {
  max-height: 420px;
}

.hcn-product-page--machinery .hcn-product-hero-summary {
  padding: 28px 32px;
  border-radius: var(--hcn-radius-lg);
  background: #fff;
  border: 1px solid var(--hcn-border);
  border-left: 4px solid var(--hcn-primary);
  box-shadow: 0 4px 20px rgba(26, 31, 46, 0.06);
}

.hcn-product-page--machinery .hcn-product-summary-label {
  border-bottom-color: var(--hcn-primary);
}

.hcn-product-page--machinery .hcn-product-section {
  border-radius: var(--hcn-radius-lg);
  border: 1px solid var(--hcn-border);
  background: #fff;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(26, 31, 46, 0.04);
}

.hcn-product-page--machinery .hcn-section-label {
  color: var(--hcn-primary);
  letter-spacing: 0.08em;
}

.hcn-product-page--machinery .hcn-product-section-title mark {
  color: var(--hcn-primary);
  background: transparent;
}

.hcn-product-page--machinery .hcn-spec-table thead th {
  background: #1a1f2e;
  color: #fff;
}

.hcn-product-page--machinery .hcn-spec-table tbody th {
  background: var(--hcn-bg-soft);
}

.hcn-product-page--machinery .hcn-sidebar-card {
  border-radius: var(--hcn-radius-lg);
  border-top: 4px solid var(--hcn-primary);
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
}

.hcn-product-page--machinery .hcn-sidebar-badges span {
  background: rgba(223, 10, 10, 0.08);
  color: var(--hcn-primary);
  border-radius: 4px;
}

.hcn-product-page--machinery .hcn-btn-primary {
  background: var(--hcn-primary);
  border-color: var(--hcn-primary);
}

.hcn-product-page--machinery .hcn-btn-primary:hover {
  background: var(--hcn-primary-dark);
}

@media (max-width: 991px) {
  .hcn-machinery-card-link {
    grid-template-columns: 1fr;
  }

  .hcn-machinery-card-media {
    border-right: none;
    border-bottom: 1px solid var(--hcn-border);
    min-height: 180px;
  }

  .hcn-archive-hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hcn-product-page--machinery .hcn-single-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hcn-machinery-card-body {
    padding: 20px;
  }

  .hcn-machinery-card-title {
    font-size: 18px;
  }
}

