/* ============================================
   南京胖藤科技有限公司 - 官网样式 v4
   全新布局：首页 / 分类导航 / 产品中心 / 报价 / 详情
   ============================================ */

:root {
  --primary: #0f9d76;
  --primary-dark: #0b7d5e;
  --accent: #1dbf8f;
  --accent-soft: #e8f7f1;
  --dark: #0a1a15;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f6f8f7;
  --card: #ffffff;
  --border: #e6ebe8;
  --shadow: 0 6px 24px rgba(15, 157, 118, .08);
  --shadow-hover: 0 14px 40px rgba(15, 157, 118, .16);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, select { font-family: inherit; }

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-logo { height: 42px; width: auto; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--dark); letter-spacing: .5px; }
.brand-en { font-size: 10px; color: var(--muted); letter-spacing: 2px; font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  border-radius: 8px;
  transition: .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--accent-soft); }

.header-search {
  display: flex;
  align-items: center;
  background: #f3f6f4;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px;
  height: 38px;
  width: 210px;
  transition: .2s;
}
.header-search:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(15,157,118,.1); }
.header-search input { border: 0; background: transparent; outline: none; width: 100%; font-size: 13px; color: var(--text); }
.header-search svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a3d2f 0%, #0f6b50 48%, #0f9d76 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(29,191,143,.35), transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 460px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: #6ef2bd; display: block; box-shadow: 0 0 10px #6ef2bd; }
.hero h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.18; font-weight: 800; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: #8ff0c6; }
.hero-desc { margin-top: 20px; font-size: 16px; line-height: 1.9; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 10px;
  font-size: 14px; font-weight: 700; cursor: pointer; border: 0; transition: .25s;
}
.btn-primary { background: #fff; color: var(--primary-dark); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

.hero-panel {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.hero-panel-title { font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: 1px; margin-bottom: 20px; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-metric {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 18px 16px;
}
.hero-metric strong { display: block; font-size: 30px; font-weight: 800; line-height: 1; color: #fff; }
.hero-metric span { display: block; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.72); }
.hero-panel-note { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section-soft { background: #fff; }
.section-head { margin-bottom: 38px; }
.section-kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  color: var(--primary); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--dark); letter-spacing: -.5px; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 640px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head-row .section-head { margin-bottom: 0; }
.text-link { color: var(--primary); font-size: 14px; font-weight: 700; white-space: nowrap; }
.text-link:hover { color: var(--primary-dark); }

/* ---------- 分类卡片 ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: .28s;
  overflow: hidden;
}
.category-card::after {
  content: ""; position: absolute; right: -28px; bottom: -28px;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--accent-soft); opacity: .7; transition: .28s;
}
.category-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-hover); }
.category-card:hover::after { transform: scale(1.5); opacity: 1; }
.cat-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: var(--accent-soft); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.category-card h3 { font-size: 17px; font-weight: 800; position: relative; z-index: 1; }
.category-card p { margin-top: 6px; font-size: 12px; color: var(--muted); position: relative; z-index: 1; }
.category-card .cat-arrow { position: absolute; right: 20px; top: 24px; color: var(--primary); font-size: 18px; z-index: 1; opacity: 0; transition: .25s; }
.category-card:hover .cat-arrow { opacity: 1; right: 16px; }

/* ---------- 品牌墙 ---------- */
.brand-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; }
.brand-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.brand-strip-label { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.brand-list { display: flex; gap: 46px; align-items: center; flex-wrap: wrap; }
.brand-item { font-size: 21px; font-weight: 800; color: #9aa5a0; letter-spacing: 1px; transition: .2s; }
.brand-item:hover { color: var(--primary); }

/* ---------- 两级分类导航（横向标签） ---------- */
.cat-nav {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; margin-top: 26px; box-shadow: var(--shadow);
}
.cat-nav-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cat-nav-row + .cat-nav-row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.cat-tab, .cat-subtab {
  border: 1px solid var(--border); background: #fff; color: #4b5563;
  border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: .15s; white-space: nowrap; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
}
.cat-tab span, .cat-subtab span { font-size: 11px; opacity: .6; font-weight: 500; }
.cat-tab:hover, .cat-subtab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active, .cat-subtab.active {
  background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700;
}
.cat-tab.active span, .cat-subtab.active span { opacity: .85; }
.cat-nav-secondary::before {
  content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--muted);
  margin-right: 6px; flex: 0 0 auto;
}
.price-filter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.price-filter input {
  width: 78px; height: 34px; border: 1px solid var(--border); border-radius: 7px;
  padding: 0 8px; font-size: 12px; color: var(--text); font-family: inherit; outline: none;
}
.price-filter input:focus { border-color: var(--primary); }
.price-filter span { color: var(--muted); font-size: 12px; }
.price-filter button {
  height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--primary);
  color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.price-filter button:hover { background: var(--primary-dark); }

/* ---------- 产品中心（筛选 + 网格） ---------- */
.catalog-layout { display: grid; grid-template-columns: 244px 1fr; gap: 28px; align-items: start; }

.filter-sidebar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; position: sticky; top: 92px;
}
.filter-title { font-size: 15px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.filter-title::before { content: ""; width: 3px; height: 15px; background: var(--primary); border-radius: 2px; }
.filter-group { margin-bottom: 22px; }
.filter-group h4 { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .5px; margin-bottom: 10px; }
.filter-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 13px;
  color: #4b5563; transition: .15s;
}
.filter-item:hover { background: var(--accent-soft); color: var(--primary); }
.filter-item.active { background: var(--primary); color: #fff; font-weight: 700; }
.filter-item span { font-size: 11px; opacity: .65; }
.filter-sub { padding-left: 12px; }
.filter-sub .filter-item { font-size: 12px; }
.filter-reset {
  width: 100%; height: 36px; border: 1px solid var(--border); background: #fff;
  border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--muted); font-weight: 600;
}
.filter-reset:hover { border-color: var(--primary); color: var(--primary); }

.catalog-toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 20px;
}
.search-box {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px;
  height: 40px; border: 1px solid var(--border); border-radius: 9px; padding: 0 14px; background: #fafcfb;
}
.search-box:focus-within { border-color: var(--primary); background: #fff; }
.search-box input { border: 0; outline: none; background: transparent; width: 100%; font-size: 14px; }
.search-box svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.toolbar-select {
  height: 40px; border: 1px solid var(--border); border-radius: 9px; padding: 0 12px;
  background: #fff; color: var(--text); font-size: 13px; cursor: pointer; outline: none;
}
.result-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.result-count strong { color: var(--primary); font-size: 16px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .28s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.product-thumb {
  display: block; height: 190px; background: #f4f7f5; overflow: hidden; position: relative;
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .4s ease; padding: 12px; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge {
  position: absolute; left: 10px; top: 10px; background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px;
}
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 11px; color: var(--primary); font-weight: 700; background: var(--accent-soft); padding: 3px 8px; border-radius: 4px; align-self: flex-start; }
.product-card h3 { font-size: 14px; line-height: 1.5; font-weight: 700; margin-top: 10px; min-height: 42px; }
.product-card h3 a:hover { color: var(--primary); }
.product-meta { margin-top: 8px; font-size: 11px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--border); }
.product-price { color: #e53935; font-weight: 800; font-size: 19px; }
.product-price small { font-size: 11px; font-weight: 600; margin-left: 2px; }
.product-price.no-price { color: var(--muted); font-size: 13px; font-weight: 600; }
.product-price.inquiry-price { color: #0b7d5e; font-size: 15px; font-weight: 800; background: #e8f6f1; padding: 3px 12px; border-radius: 6px; }
.detail-btn {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700;
  color: var(--primary); padding: 6px 12px; border: 1px solid var(--primary); border-radius: 7px; transition: .2s;
}
.detail-btn:hover { background: var(--primary); color: #fff; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--border);
  background: #fff; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text); transition: .2s;
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state div { font-size: 42px; margin-bottom: 12px; }

/* ---------- 报价精选表 ---------- */
.quote-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.quote-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.quote-table th { background: #f5f9f7; padding: 14px 18px; text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .5px; }
.quote-table td { padding: 14px 18px; border-top: 1px solid var(--border); }
.quote-table tr:hover td { background: #fbfdfc; }
.quote-table .q-name { font-weight: 700; color: var(--dark); }
.quote-table .q-name a:hover { color: var(--primary); }
.quote-table .q-price { color: #e53935; font-weight: 800; font-size: 15px; }
.quote-table .q-tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--primary); font-weight: 700; }

/* ---------- 服务优势 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { text-align: center; padding: 32px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); transition: .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.service-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.service-card h3 { font-size: 16px; font-weight: 800; }
.service-card p { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 400px 1fr; gap: 60px; align-items: center; }
.about-logo-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; box-shadow: var(--shadow); }
.about-logo-box img { width: 100%; max-width: 300px; height: auto; }
.about-text h2 { font-size: 32px; font-weight: 800; color: var(--dark); }
.about-text .about-line { width: 46px; height: 4px; background: var(--primary); border-radius: 2px; margin: 16px 0 20px; }
.about-text p { color: #4b5563; font-size: 15px; line-height: 2; margin-bottom: 14px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.about-point { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.about-point i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-style: normal; flex-shrink: 0; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.contact-item .ci-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.contact-item h4 { font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-item p { font-size: 15px; font-weight: 700; margin-top: 2px; color: var(--dark); }
.inquiry-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.inquiry-form h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.inquiry-form .form-tip { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: #4b5563; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
  font-size: 13px; outline: none; background: #fafcfb; color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); background: #fff; }
.form-field textarea { resize: vertical; min-height: 82px; }
.btn-block { width: 100%; background: var(--primary); color: #fff; }
.btn-block:hover { background: var(--primary-dark); }
.form-msg { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--primary); min-height: 20px; }
.form-msg.error { color: #dc2626; }

/* 询价提交成功卡片 */
.inquiry-success {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; text-align: center;
}
.inquiry-success .success-icon {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--accent-soft); color: var(--primary);
  font-size: 28px; font-weight: 800; line-height: 54px;
}
.inquiry-success h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.inquiry-success > p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.wx-contact {
  display: flex; align-items: center; gap: 18px; text-align: left;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px; margin-bottom: 18px;
}
.wx-qr {
  width: 110px; height: 110px; flex: 0 0 110px; background: #fff;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.wx-qr img { width: 100%; height: 100%; object-fit: contain; }
.wx-info .wx-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.wx-info .wx-phone { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: .5px; margin-bottom: 6px; }
.wx-info .wx-tip { font-size: 12px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 13px; line-height: 1.9; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; margin-bottom: 10px; transition: .2s; }
.footer-col a:hover { color: #6ef2bd; }
.footer-bottom { text-align: center; padding-top: 22px; font-size: 12px; line-height: 1.9; }
.footer-bottom a { color: rgba(255,255,255,.8); }
.footer-bottom a:hover { color: #6ef2bd; }

/* ============================================
   产品详情页
   ============================================ */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; color: #cbd5d0; }

.detail-layout { display: grid; grid-template-columns: 480px 1fr; gap: 44px; margin-top: 34px; align-items: start; }
.detail-gallery-main {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px;
}
.detail-gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs img {
  width: 72px; height: 72px; object-fit: cover; border: 2px solid transparent;
  border-radius: 8px; cursor: pointer; background: #fff; padding: 4px; transition: .2s;
}
.gallery-thumbs img:hover, .gallery-thumbs img.active { border-color: var(--primary); }

.detail-info-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--accent-soft); padding: 5px 12px; border-radius: 5px; }
.detail-info h1 { font-size: 28px; font-weight: 800; line-height: 1.4; color: var(--dark); margin-top: 16px; }
.detail-sub { color: var(--muted); font-size: 13px; margin-top: 10px; display: flex; gap: 18px; flex-wrap: wrap; }
.detail-price-box {
  margin-top: 24px; background: linear-gradient(135deg, #fff5f5, #fff);
  border: 1px solid #ffd9d9; border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.detail-price-box .dp-label { font-size: 12px; color: var(--muted); }
.detail-price-box .dp-value { font-size: 32px; font-weight: 800; color: #e53935; line-height: 1.2; }
.detail-price-box .dp-value small { font-size: 13px; font-weight: 600; }
.detail-price-box .dp-value .price-inquiry { color: #0b7d5e; font-size: 26px; background: #e8f6f1; padding: 4px 16px; border-radius: 8px; }
.detail-desc { margin-top: 22px; }
.detail-desc h3 { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.detail-desc p { color: #4b5563; font-size: 14px; line-height: 1.9; }
.detail-desc .spec-table { margin-top: 4px; }
.detail-desc .spec-table table { width: 100%; border-collapse: collapse; font-size: 13px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.detail-desc .spec-table tr { border-bottom: 1px solid var(--border); }
.detail-desc .spec-table tr:last-child { border-bottom: none; }
.detail-desc .spec-table tr:nth-child(even) { background: #f7faf8; }
.detail-desc .spec-table th { width: 34%; padding: 10px 14px; text-align: left; color: #6b7280; font-weight: 600; background: #f5f9f7; white-space: nowrap; }
.detail-desc .spec-table td { padding: 10px 14px; color: #1f2937; font-weight: 600; line-height: 1.5; }
.detail-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn-primary-lg { height: 50px; padding: 0 30px; background: var(--primary); color: #fff; font-size: 15px; }
.btn-primary-lg:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-lg { height: 50px; padding: 0 30px; background: #fff; color: var(--primary); border: 1px solid var(--primary); font-size: 15px; }
.btn-outline-lg:hover { background: var(--accent-soft); }

.config-section, .gallery-section, .related-section { margin-top: 44px; }
.config-section h2, .gallery-section h2, .related-section h2 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.config-section h2::before, .gallery-section h2::before, .related-section h2::before { content: ""; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }
.config-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.config-table th { background: #f5f9f7; padding: 14px 18px; text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; }
.config-table td { padding: 14px 18px; border-top: 1px solid var(--border); }
.config-table .cfg-price { color: #e53935; font-weight: 800; font-size: 15px; white-space: nowrap; }
.config-table .cfg-code { color: var(--muted); font-size: 12px; font-family: monospace; }

/* 详情图为长图切片，需无缝拼接：整段用一个白底容器包住，图片紧贴相连 */
.detail-gallery-list { display: block; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.detail-gallery-list figure { margin: 0; padding: 0; text-align: center; line-height: 0; font-size: 0; }
.detail-gallery-list img { display: block; width: 100%; height: auto; margin: 0; padding: 0; border-radius: 0; }
.detail-gallery-list figcaption { display: none; }

/* 无真实详情图时生成的信息长图（深色科技风，对齐参考站详情视觉） */
.info-poster { background: linear-gradient(150deg,#0d1a2b 0%,#152238 40%,#0b1626 100%); color:#e8eef7; border-radius:12px; overflow:hidden; }
.info-poster .poster-top { padding:52px 24px 34px; text-align:center; position:relative; }
.info-poster .poster-top::before { content:""; position:absolute; top:0; left:50%; transform:translateX(-50%); width:80%; height:280px; background:radial-gradient(ellipse at top,rgba(29,191,143,.18),transparent 70%); pointer-events:none; }
.info-poster .poster-brand-tag { display:inline-block; position:relative; font-size:13px; letter-spacing:2px; color:#7fe8c4; border:1px solid rgba(29,191,143,.5); padding:5px 18px; border-radius:20px; margin-bottom:20px; }
.info-poster .poster-title { position:relative; font-size:32px; font-weight:800; line-height:1.4; margin-bottom:14px; color:#ffffff; }
.info-poster .poster-cat { position:relative; font-size:14px; color:#9fb3c9; }
.info-poster .poster-price { position:relative; display:inline-block; margin-top:18px; font-size:20px; font-weight:800; color:#ff9d6b; }
.info-poster .poster-hero { background:#fff; margin:0 6%; border-radius:12px; padding:36px; display:flex; align-items:center; justify-content:center; min-height:380px; }
.info-poster .poster-hero img { max-width:100%; max-height:440px; width:auto; height:auto; object-fit:contain; }
.info-poster .poster-features { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:40px 6%; }
.info-poster .poster-features div { background:rgba(255,255,255,.05); border:1px solid rgba(29,191,143,.22); border-radius:10px; padding:20px 8px; text-align:center; }
.info-poster .poster-features b { display:block; font-size:16px; color:#7fe8c4; margin-bottom:8px; }
.info-poster .poster-features span { font-size:12px; color:#93a7bd; }
.info-poster .poster-configs { margin:0 6% 42px; }
.info-poster .poster-configs h3 { font-size:19px; font-weight:800; margin-bottom:18px; padding-left:14px; border-left:4px solid #1dbf8f; }
.info-poster .poster-cfg-row { display:flex; justify-content:space-between; gap:20px; padding:14px 18px; font-size:13px; border-bottom:1px solid rgba(255,255,255,.08); align-items:center; }
.info-poster .poster-cfg-row:nth-child(even) { background:rgba(255,255,255,.03); }
.info-poster .poster-cfg-name { color:#c9d6e5; }
.info-poster .poster-cfg-price { color:#ff9d6b; font-weight:800; white-space:nowrap; }
.info-poster .poster-cfg-more { text-align:center; color:#93a7bd; font-size:12px; padding:16px; }
.info-poster .poster-bottom { text-align:center; padding:34px 24px 42px; background:rgba(0,0,0,.22); border-top:1px solid rgba(29,191,143,.18); }
.info-poster .poster-company { font-size:21px; font-weight:800; letter-spacing:1px; margin-bottom:10px; }
.info-poster .poster-slogan { font-size:13px; color:#93a7bd; margin-bottom:22px; }
.info-poster .poster-contact { display:inline-block; font-size:13px; font-weight:700; color:#06251c; background:#1dbf8f; padding:10px 28px; border-radius:24px; }

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

.not-found { text-align: center; padding: 120px 20px; }
.not-found h1 { font-size: 64px; color: var(--primary); }
.not-found p { margin: 12px 0 24px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .header-search { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel { max-width: 560px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-gallery-main { height: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-logo-box { max-width: 380px; margin: 0 auto; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1240px); }
  .header-inner { height: 62px; gap: 12px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--border); padding: 10px 14px 16px;
    box-shadow: var(--shadow); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 14px; }
  .hero-inner { padding: 52px 0; min-height: auto; }
  .hero h1 { font-size: 34px; }
  .hero-desc { font-size: 14px; }
  .section { padding: 52px 0; }
  .category-grid, .product-grid, .service-grid, .about-points, .contact-grid, .footer-grid, .related-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .detail-gallery-main { height: 300px; }
  .detail-info h1 { font-size: 22px; }
  .quote-table-wrap { overflow-x: auto; }
  .quote-table { min-width: 640px; }
  .config-table { min-width: 560px; display: block; overflow-x: auto; }
  .config-section { overflow-x: auto; }
}
