/*
 Theme Name:   GeneratePress Child - MTU Parts Pro
 Theme URI:    https://www.mtuparts.com/
 Description:  GeneratePress 高级子主题 v3 —— 对标全球一流柴油发动机配件外贸站（参考 mtuengineparts / seamorkmarine / bospower / ims-germany / alfamarinespareparts 等），大图 Hero + 顶部信息条 + OEM 搜索 + 红色询盘 CTA + 认证信任体系 + 真实产品展示。
 Author:       MTU Parts
 Author URI:   https://www.mtuparts.com/
 Template:     generatepress
 Version:      3.0.0
 Text Domain:  generatepress-child
*/

/* ==========================================================================
   1. 设计变量
   ========================================================================== */
:root {
  /* 品牌色板（深海军蓝 + 行业红 CTA） */
  --c-navy-950: #071426;
  --c-navy-900: #0a1a33;
  --c-navy-800: #0e2442;
  --c-navy-700: #133054;
  --c-blue-600: #1d6fe0;
  --c-blue-100: #e8f0fe;
  --c-red-500: #e02020;
  --c-red-600: #c01515;
  --c-gold-500: #f0a93b;

  /* 中性色 */
  --c-text-900: #0f172a;
  --c-text-700: #334155;
  --c-text-600: #475569;
  --c-text-400: #94a3b8;
  --c-bg-50: #f5f7fa;
  --c-line: #e2e8f0;
  --c-white: #ffffff;

  /* 字体 */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* 圆角 / 阴影 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(7, 20, 38, 0.08);
  --shadow-md: 0 10px 30px rgba(7, 20, 38, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 20, 38, 0.18);

  /* 布局 */
  --container: 1200px;
}

/* ==========================================================================
   2. 基础
   ========================================================================== */
body {
  font-family: var(--font-body);
  color: var(--c-text-700);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--c-text-900);
  letter-spacing: -0.02em;
}

a { color: var(--c-blue-600); transition: color 0.2s ease; }
a:hover { color: var(--c-red-500); }

.mt-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mt-section { padding: 96px 0; }

.mt-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-red-500);
  margin-bottom: 16px;
}

.mt-section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 16px;
}

.mt-section-sub {
  font-size: 17px;
  color: var(--c-text-600);
  max-width: 660px;
  line-height: 1.7;
  margin: 0 auto;
}

.mt-center { text-align: center; }

/* ===== 兼容修复：模板直接输出到 #content（GP 桌面端 flex 容器）时，区块强制换行占满整行 ===== */
#content.site-content { flex-wrap: wrap; }
#content.site-content > section,
#content.site-content > .mt-page {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

/* ==========================================================================
   3. 顶部信息条（邮箱 / 电话 / WhatsApp）
   ========================================================================== */
.mt-topbar {
  background: var(--c-navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  padding: 8px 0;
}

.mt-topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mt-topbar a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

.mt-topbar a:hover { color: var(--c-gold-500); }

.mt-topbar svg {
  width: 14px;
  height: 14px;
  stroke: var(--c-gold-500);
}

.mt-topbar .mt-topbar-left,
.mt-topbar .mt-topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   4. 导航栏
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 26, 51, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(7, 20, 38, 0.3);
}

.site-header .inside-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.site-header .site-branding { display: flex; align-items: center; gap: 12px; }

.site-header .main-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--c-white) !important;
}

.site-header .main-title a { color: var(--c-white) !important; }
.site-header .main-title a:hover { color: var(--c-gold-500) !important; }

.site-header .main-title em {
  font-style: normal;
  color: var(--c-red-500);
}

.site-header .site-description {
  color: var(--c-text-400);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 3px;
}

.main-navigation { background: transparent !important; }

.main-navigation .main-nav ul li a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  position: relative;
  transition: color 0.2s ease;
}

.main-navigation .main-nav ul li a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  background: var(--c-red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li a:focus {
  color: var(--c-white) !important;
  background: transparent !important;
}

.main-navigation .main-nav ul li a:hover::after,
.main-navigation .main-nav ul li.current-menu-item > a::after {
  transform: scaleX(1);
}

.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--c-white) !important;
  font-weight: 600;
  background: transparent !important;
}

/* 导航 CTA（菜单项 CSS 类 inquiry-btn） */
.main-navigation .main-nav ul li.inquiry-btn > a {
  background: linear-gradient(135deg, var(--c-red-500), var(--c-red-600));
  color: var(--c-white) !important;
  font-weight: 700;
  border-radius: var(--r-sm);
  padding: 10px 24px;
  margin-left: 12px;
  box-shadow: 0 4px 16px rgba(224, 32, 32, 0.35);
}

.main-navigation .main-nav ul li.inquiry-btn > a::after { display: none; }

.main-navigation .main-nav ul li.inquiry-btn > a:hover {
  background: linear-gradient(135deg, #ec3b3b, var(--c-red-500));
  color: var(--c-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(224, 32, 32, 0.45);
}

.menu-toggle {
  background: transparent !important;
  color: var(--c-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--r-sm);
}

.menu-toggle:hover { background: rgba(255, 255, 255, 0.1) !important; }

/* ==========================================================================
   5. 按钮
   ========================================================================== */
.mt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 34px;
  border-radius: var(--r-sm);
  text-decoration: none !important;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
}

.mt-btn-red {
  background: linear-gradient(135deg, var(--c-red-500), var(--c-red-600));
  color: var(--c-white) !important;
  box-shadow: 0 10px 28px rgba(224, 32, 32, 0.35);
}

.mt-btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(224, 32, 32, 0.45);
  color: var(--c-white) !important;
}

.mt-btn-outline {
  background: transparent;
  color: var(--c-white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.mt-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--c-white);
  color: var(--c-white) !important;
  transform: translateY(-2px);
}

.mt-btn-gold {
  background: linear-gradient(135deg, var(--c-gold-500), #de9720);
  color: var(--c-navy-900) !important;
  box-shadow: 0 10px 28px rgba(240, 169, 59, 0.35);
}

.mt-btn-gold:hover {
  transform: translateY(-2px);
  color: var(--c-navy-900) !important;
}

.mt-btn-dark {
  background: var(--c-navy-900);
  color: var(--c-white) !important;
}

.mt-btn-dark:hover { background: var(--c-navy-700); color: var(--c-white) !important; }

/* ==========================================================================
   6. Hero（全屏大图 + 深色遮罩）
   ========================================================================== */
.mt-hero {
  position: relative;
  background-color: var(--c-navy-900);
  background-image:
    linear-gradient(100deg, rgba(7, 20, 38, 0.94) 0%, rgba(7, 20, 38, 0.78) 45%, rgba(13, 38, 71, 0.55) 100%),
    url("/wp-content/uploads/2026/09/home.jpg");
  background-size: cover;
  background-position: center;
  color: var(--c-white);
  padding: 140px 0 120px;
  overflow: hidden;
}

.mt-hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-hero .mt-eyebrow {
  color: var(--c-white);
  background: rgba(224, 32, 32, 0.85);
  border: none;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.mt-hero h1 {
  color: var(--c-white);
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
}

.mt-hero h1 .mt-highlight {
  color: var(--c-gold-500);
}

.mt-hero p.mt-hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 36px;
}

/* OEM 搜索框 */
.mt-search {
  max-width: 640px;
  margin: 0 auto 40px;
  display: flex;
  background: var(--c-white);
  border-radius: 60px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 20px 50px rgba(7, 20, 38, 0.35);
}

.mt-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text-900);
  background: transparent;
  min-width: 0;
}

.mt-search input[type="search"]::placeholder {
  color: var(--c-text-400);
}

.mt-search button {
  background: linear-gradient(135deg, var(--c-red-500), var(--c-red-600));
  border: none;
  color: var(--c-white);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mt-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(224, 32, 32, 0.4);
}

.mt-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* 信任条 */
.mt-trustbar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.mt-trustbar span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
}

.mt-trustbar svg {
  width: 18px;
  height: 18px;
  color: var(--c-gold-500);
}

/* ==========================================================================
   7. 认证条（ISO / 24h / Worldwide）
   ========================================================================== */
.mt-certbar {
  background: var(--c-navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
}

.mt-certbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.mt-certbar span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.mt-certbar svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-gold-500);
}

.mt-certbar .mt-cert-badge {
  background: rgba(240, 169, 59, 0.15);
  border: 1px solid rgba(240, 169, 59, 0.35);
  color: var(--c-gold-500);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   8. 统计
   ========================================================================== */
.mt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.mt-stat-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mt-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mt-stat-number {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--c-navy-800);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.mt-stat-number em {
  font-style: normal;
  color: var(--c-red-500);
}

.mt-stat-label {
  font-size: 14px;
  color: var(--c-text-600);
  font-weight: 500;
}

/* ==========================================================================
   9. 产品分类卡片（大图背景 + 遮罩）
   ========================================================================== */
.mt-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.mt-cat-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 44px 30px;
  text-decoration: none !important;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--c-navy-800);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mt-cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 38, 0.15) 0%, rgba(7, 20, 38, 0.88) 78%);
  transition: background 0.3s ease;
}

.mt-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mt-cat-card:hover::before {
  background: linear-gradient(180deg, rgba(224, 32, 32, 0.15) 0%, rgba(7, 20, 38, 0.92) 78%);
}

.mt-cat-card > * {
  position: relative;
  z-index: 1;
}

.mt-cat-num {
  position: absolute;
  top: 22px;
  left: 26px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  z-index: 2;
}

.mt-cat-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 0 10px;
}

.mt-cat-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin: 0 0 18px;
}

.mt-cat-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-gold-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   10. 最新产品
   ========================================================================== */
.mt-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.mt-product-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mt-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mt-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-bg-50);
  display: block;
}

.mt-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mt-product-card:hover .mt-card-img img {
  transform: scale(1.05);
}

.mt-card-img .mt-card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-400);
  font-size: 14px;
}

.mt-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mt-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
}

.mt-card-body h3 a {
  color: var(--c-text-900);
  text-decoration: none;
}

.mt-card-body h3 a:hover { color: var(--c-red-500); }

.mt-card-oem {
  font-size: 13px;
  color: var(--c-text-400);
  margin-bottom: 18px;
}

.mt-card-oem strong {
  color: var(--c-text-600);
  font-weight: 600;
}

.mt-card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-red-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mt-card-link:hover { color: var(--c-navy-800); }

/* ==========================================================================
   11. 优势（Why Choose Us）
   ========================================================================== */
.mt-why { background: var(--c-bg-50); }

.mt-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.mt-why-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mt-why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mt-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-navy-800), var(--c-blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.mt-why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-white);
}

.mt-why-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.mt-why-item p {
  font-size: 14.5px;
  color: var(--c-text-600);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   12. 流程
   ========================================================================== */
.mt-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.mt-step {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mt-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mt-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red-500), var(--c-red-600));
  color: var(--c-white);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.mt-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.mt-step p {
  font-size: 14.5px;
  color: var(--c-text-600);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   13. CTA（大图背景）
   ========================================================================== */
.mt-cta {
  position: relative;
  background-color: var(--c-navy-900);
  background-image:
    linear-gradient(105deg, rgba(7, 20, 38, 0.94) 0%, rgba(7, 20, 38, 0.82) 55%, rgba(10, 26, 51, 0.65) 100%),
    url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1920&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  border-radius: var(--r-lg);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.mt-cta-inner {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
}

.mt-cta h3 {
  color: var(--c-white);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  margin: 0 0 14px;
}

.mt-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 32px;
}

/* ==========================================================================
   14. 页脚
   ========================================================================== */
.mt-footer {
  background: var(--c-navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
  margin-top: 96px;
}

.mt-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.mt-footer h4 {
  color: var(--c-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.mt-footer p {
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}

.mt-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mt-footer ul li { margin-bottom: 10px; }

.mt-footer ul li a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mt-footer ul li a:hover { color: var(--c-gold-500); }

.mt-footer .mt-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.mt-footer .mt-footer-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-gold-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.mt-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer {
  background: var(--c-navy-950) !important;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .copyright-bar {
  background: var(--c-navy-950) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  padding: 22px 0;
}

.site-footer .copyright-bar a { color: var(--c-gold-500); }

/* ==========================================================================
   15. 内页通用
   ========================================================================== */
.mt-page-hero {
  position: relative;
  background-color: var(--c-navy-900);
  background-image:
    linear-gradient(100deg, rgba(7, 20, 38, 0.95) 0%, rgba(7, 20, 38, 0.82) 50%, rgba(13, 38, 71, 0.6) 100%),
    url("/wp-content/uploads/2026/09/home.jpg");
  background-size: cover;
  background-position: center;
  color: var(--c-white);
  padding: 76px 0 68px;
  text-align: center;
}

.mt-page-hero h1 {
  color: var(--c-white);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 12px;
}

.mt-page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.mt-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.mt-breadcrumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.mt-breadcrumb a:hover { color: var(--c-gold-500); }

/* 分页 */
.mt-pagination { margin-top: 48px; text-align: center; }

.mt-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 10px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  color: var(--c-text-700);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.mt-pagination .page-numbers.current {
  background: var(--c-red-500);
  border-color: var(--c-red-500);
  color: var(--c-white);
}

.mt-pagination .page-numbers:hover {
  border-color: var(--c-red-500);
  color: var(--c-red-500);
}

/* ==========================================================================
   16. 产品单页
   ========================================================================== */
.mt-product-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}

.mt-product-gallery {
  position: sticky;
  top: 100px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg-50);
}

.mt-product-gallery img { width: 100%; height: auto; display: block; }

.mt-product-gallery .mt-gallery-fallback {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-400);
}

.mt-product-info-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.mt-product-info-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 20px; }

.mt-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
}

.mt-spec-table td {
  padding: 13px 4px;
  border-bottom: 1px solid var(--c-line);
  font-size: 14.5px;
}

.mt-spec-table td:first-child {
  color: var(--c-text-400);
  font-weight: 500;
  width: 42%;
}

.mt-spec-table td:last-child {
  color: var(--c-text-900);
  font-weight: 600;
}

.mt-product-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}

.mt-product-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--c-text-600);
  font-weight: 500;
}

.mt-product-trust svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-blue-600);
}

.mt-product-desc { margin-top: 56px; }
.mt-product-desc h2 { font-size: 24px; font-weight: 800; margin: 0 0 20px; }
.mt-product-desc p { font-size: 15.5px; line-height: 1.8; color: var(--c-text-700); }

/* ==========================================================================
   17. 关于页
   ========================================================================== */
.mt-about-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.mt-about-story h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 18px;
}

.mt-about-story p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text-700);
  margin-bottom: 16px;
}

.mt-about-badge {
  background: linear-gradient(150deg, var(--c-navy-900), var(--c-navy-700));
  border-radius: var(--r-lg);
  padding: 48px 40px;
  color: var(--c-white);
  text-align: center;
}

.mt-about-badge strong {
  display: block;
  font-size: 56px;
  font-weight: 800;
  color: var(--c-red-500);
  line-height: 1;
  margin-bottom: 12px;
}

.mt-about-badge span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.mt-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.mt-feature-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mt-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mt-feature-item h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.mt-feature-item p { font-size: 14.5px; color: var(--c-text-600); line-height: 1.65; margin: 0; }

/* ==========================================================================
   18. 联系页
   ========================================================================== */
.mt-contact-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}

.mt-contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.mt-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--c-text-900);
  margin: 16px 0 6px;
}

.mt-contact-form input[type="text"],
.mt-contact-form input[type="email"],
.mt-contact-form input[type="tel"],
.mt-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text-900);
  background: var(--c-bg-50);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mt-contact-form input:focus,
.mt-contact-form textarea:focus {
  outline: none;
  border-color: var(--c-red-500);
  box-shadow: 0 0 0 3px rgba(224, 32, 32, 0.12);
  background: var(--c-white);
}

.mt-contact-form textarea { min-height: 150px; }

.mt-contact-submit {
  width: 100%;
  margin-top: 24px;
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--c-red-500), var(--c-red-600));
  color: var(--c-white);
  cursor: pointer;
  transition: all 0.25s ease;
}

.mt-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(224, 32, 32, 0.4);
}

.mt-contact-cards { display: flex; flex-direction: column; gap: 20px; }

.mt-contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mt-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mt-contact-card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--c-blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-contact-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-blue-600);
}

.mt-contact-card h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.mt-contact-card p { font-size: 14px; color: var(--c-text-600); margin: 0; line-height: 1.6; }
.mt-contact-card a { color: var(--c-blue-600); text-decoration: none; font-weight: 600; }

/* ==========================================================================
   19. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .mt-cat-grid,
  .mt-why-grid,
  .mt-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mt-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mt-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mt-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mt-product-layout,
  .mt-contact-wrap,
  .mt-about-story {
    grid-template-columns: 1fr;
  }

  .mt-product-gallery { position: static; }

  .mt-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .mt-section { padding: 64px 0; }

  .mt-hero { padding: 90px 0 76px; }

  .mt-cat-grid,
  .mt-why-grid,
  .mt-feature-grid,
  .mt-steps-grid,
  .mt-products-grid,
  .mt-stats-grid {
    grid-template-columns: 1fr;
  }

  .mt-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mt-cta { padding: 52px 24px; }

  .mt-trustbar {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .mt-search {
    flex-direction: column;
    border-radius: var(--r-md);
    padding: 12px;
    gap: 10px;
  }

  .mt-search input[type="search"] {
    padding: 10px 12px;
    background: var(--c-bg-50);
    border-radius: var(--r-sm);
  }

  .mt-search button {
    width: 100%;
    border-radius: var(--r-sm);
  }

  .mt-certbar-inner { gap: 24px; }
}
