/* ============ WXZBot 前台样式（还原原站紫色商务风） ============ */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #f5f3ff;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-hero: #f3f4f6;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(17, 24, 39, .06);
  --shadow-lg: 0 12px 32px rgba(124, 58, 237, .18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1150px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 9px; background: var(--primary);
  color: #fff; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
/* 图片格式 LOGO：高度与文字方块一致，宽度自适应，后台可随时替换图片 */
.brand-logo-img {
  display: block; height: 36px; width: auto; max-width: 180px;
  object-fit: contain; border-radius: 6px;
}
.brand-name { font-size: 19px; font-weight: 700; }
.main-nav a {
  margin-left: 28px; font-size: 15px; color: var(--muted); transition: color .2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--primary); font-weight: 600; }

/* 一级栏目 + 二级下拉（栏目名称与子栏目在后台「栏目管理」维护） */
@media (min-width: 961px) {
  .main-nav { display: flex; align-items: center; flex-wrap: wrap; }
  .main-nav > .nav-item { position: relative; display: flex; align-items: center; }
  .main-nav > .nav-item > a {
    margin-left: 28px; display: inline-flex; align-items: center; gap: 5px;
    white-space: nowrap; padding: 6px 0;
  }
  .nav-caret { font-size: 10px; opacity: .6; transition: transform .2s; }
  .nav-item.has-children:hover .nav-caret,
  .nav-item.has-children:focus-within .nav-caret { transform: rotate(180deg); }
  .nav-dropdown {
    position: absolute; top: 100%; left: 24px; min-width: 180px;
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .14); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .18s, transform .18s, visibility .18s; z-index: 120;
  }
  .main-nav > .nav-item.has-children:hover > .nav-dropdown,
  .main-nav > .nav-item.has-children:focus-within > .nav-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  .nav-dropdown a {
    display: block; margin: 0; padding: 9px 12px; border-radius: 7px;
    font-size: 14px; color: var(--muted); white-space: nowrap;
    transition: background .15s, color .15s;
  }
  .nav-dropdown a:hover, .nav-dropdown a.active { background: #f3f4f6; color: var(--primary); }
}
.nav-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--text); cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 10px; font-size: 15px; font-weight: 500;
  border: none; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-lg); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- 首屏 ---------- */
.hero { background: var(--bg-hero); padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-text h1 { font-size: 40px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.hero-text p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; }
.hero-img img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; height: 360px; object-fit: cover; }

/* ---------- 通用板块 ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--muted); }
.hl { color: var(--primary); }

/* 图标块 */
.icon-chip {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--primary-light); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 19px;
}
.icon-chip.icon-lg { width: 56px; height: 56px; font-size: 23px; }
.icon-center { width: 52px; height: 52px; border-radius: 50%; }
.color-purple { background: var(--primary-light); color: var(--primary); }
.color-blue   { background: #eff6ff; color: #2563eb; }
.color-green  { background: #ecfdf5; color: #059669; }
.color-orange { background: #fff7ed; color: #ea580c; }
.color-violet { background: #eef2ff; color: #4f46e5; }
.color-pink   { background: #fdf2f8; color: #db2777; }

/* 业务卡片（首页） */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd6fe; }
.service-card h3 { font-size: 18px; margin: 16px 0 8px; }
.service-card p { color: var(--muted); font-size: 14px; }

/* 优势 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.adv-item { text-align: center; }
.adv-icon {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, #a78bfa, var(--primary)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: var(--shadow-lg);
}
.adv-item h3 { font-size: 17px; margin-bottom: 6px; }
.adv-item p { color: var(--muted); font-size: 14px; }

/* 图文分栏 */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.split-text p { color: var(--muted); margin-bottom: 14px; }
.split-img img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; height: 380px; object-fit: cover; }
.future-img img { box-shadow: var(--shadow-lg); }
.link-arrow { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { color: var(--primary-dark); }

/* 客户反馈 */
.testimonial-wrap { max-width: 760px; margin: 0 auto; text-align: center; position: relative; padding-top: 40px; }
.quote-mark { color: var(--primary); font-size: 42px; opacity: .9; }
.testimonial-slides { position: relative; min-height: 170px; }
.testimonial-slide { display: none; }
.testimonial-slide.current { display: block; animation: fadein .4s ease; }
.testimonial-slide blockquote { font-size: 18px; color: var(--text); margin: 22px 0 18px; }
.testimonial-slide figcaption strong { display: block; font-size: 15px; }
.testimonial-slide figcaption span { color: var(--muted); font-size: 13px; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: #d1d5db; cursor: pointer; transition: all .2s; }
.dots button.on { background: var(--primary); width: 22px; border-radius: 6px; }

/* 数据统计 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
.stat b { display: block; font-size: 30px; color: var(--primary); font-weight: 800; }
.stat span { color: var(--muted); font-size: 13px; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-thumb { display: block; height: 220px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-body { padding: 22px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tag { background: var(--primary-light); color: var(--primary); font-size: 12px; padding: 3px 10px; border-radius: 99px; }
.news-meta time { color: var(--muted); font-size: 13px; }
.news-body h3 { font-size: 17px; margin-bottom: 8px; }
.news-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* ---------- 子页面标题区 ---------- */
.page-hero { background: var(--bg-hero); padding: 64px 0; text-align: center; }
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 760px; margin: 0 auto; }

/* 特色业务行 */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--border);
}
.svc-row:last-child { border-bottom: none; }
.svc-row.reverse .svc-info { order: 2; }
.svc-row.reverse .svc-img { order: 1; }
.svc-info h2 { font-size: 26px; font-weight: 800; margin: 18px 0 10px; }
.svc-desc { color: var(--muted); margin-bottom: 18px; }
.check-list { list-style: none; margin-bottom: 22px; }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; color: #374151; }
.check-list i { color: #10b981; font-size: 13px; }
.svc-img img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; height: 340px; object-fit: cover; }

/* CTA */
.cta-banner { background: linear-gradient(120deg, #8b5cf6, var(--primary)); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.cta-inner p { opacity: .9; }

/* 价值观 */
.culture-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; transition: all .25s; }
.culture-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.culture-card h3 { font-size: 17px; margin: 16px 0 8px; }
.culture-card p { color: var(--muted); font-size: 14px; }

/* 团队 */
.team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo { height: 240px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 20px; }
.team-body h3 { font-size: 17px; }
.team-role { color: var(--primary); font-size: 13px; font-weight: 600; display: block; margin: 4px 0 8px; }
.team-body p { color: var(--muted); font-size: 13px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { color: var(--muted); font-size: 14px; }
.map-section { margin-top: 8px; }
.map-section-title { font-size: 16px; font-weight: 700; margin: 4px 0 6px; }
.map-section-desc { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.map-box {
  height: 200px; background: #f3f4f6; border-radius: 12px; margin-top: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--border); position: relative; overflow: hidden; padding: 0;
}
/* 真地图：iframe 嵌入或后台上传的地图图片铺满整个容器 */
.map-box.is-embed, .map-box.is-image { display: block; }
.map-frame { display: block; width: 100%; height: 100%; border: 0; }
.map-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-box.is-image a { display: block; height: 100%; }
.map-tip { font-size: 12px; color: var(--muted); }
.map-nav {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  padding: 8px 14px; border-radius: 8px; background: var(--primary-light);
  color: var(--primary); font-size: 13px; font-weight: 600;
}
.map-nav:hover { background: #ede9fe; }
.map-pin { color: var(--primary); font-size: 26px; animation: bob 2s ease-in-out infinite; }
.map-label { background: #fff; border: 1px solid var(--border); padding: 2px 10px; border-radius: 6px; font-size: 12px; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.contact-form { background: #fff; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 9px;
  font-size: 14px; font-family: inherit; transition: border-color .2s; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, .12); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { margin-top: 22px; }
.form-success {
  background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0;
  padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--muted); transition: transform .2s; font-size: 13px; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 18px; color: var(--muted); font-size: 14px; }

/* 新闻工具栏 */
.news-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 14px; }
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-tab { padding: 7px 18px; border-radius: 99px; font-size: 14px; color: var(--muted); border: 1px solid var(--border); transition: all .2s; }
.cat-tab:hover { color: var(--primary); }
.cat-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-box { display: flex; }
.search-box input {
  border: 1px solid var(--border); border-right: none; border-radius: 9px 0 0 9px;
  padding: 8px 14px; font-size: 14px; width: 200px; font-family: inherit;
}
.search-box input:focus { outline: none; border-color: var(--primary); }
.search-box button { border: 1px solid var(--border); background: #fff; border-radius: 0 9px 9px 0; padding: 0 14px; cursor: pointer; color: var(--muted); }

/* 新闻详情 */
.article-wrap { max-width: 820px; }
.article-title { font-size: 28px; font-weight: 800; margin-bottom: 20px; }
.article-img { border-radius: 14px; margin-bottom: 24px; }
.article-p { color: #374151; margin-bottom: 16px; font-size: 15px; }
.article-foot { margin-top: 36px; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border); background: #fff; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-contact p { color: var(--muted); font-size: 14px; display: flex; gap: 10px; margin-bottom: 10px; }
.footer-contact i { color: var(--primary); margin-top: 4px; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 8px; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; color: var(--muted); margin: 0;
}
.social-row a:hover { background: var(--primary-light); color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 18px 0; color: var(--muted); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid, .split-grid, .svc-row, .contact-grid { grid-template-columns: 1fr; }
  .svc-row.reverse .svc-info { order: 1; }
  .svc-row.reverse .svc-img { order: 2; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav a { display: block; margin: 10px 0; }
  /* 手机端下拉改为静态展开，直接可见，无需二次点击 */
  .main-nav > .nav-item { display: block; }
  .nav-dropdown {
    position: static; left: 0; min-width: 0; opacity: 1; visibility: visible;
    transform: none; border: 0; box-shadow: none; background: transparent;
    padding: 0 0 6px 14px;
  }
  .nav-dropdown a { margin: 6px 0; padding: 6px 0; }
  .nav-caret { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .card-grid, .adv-grid, .news-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 30px; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ============ 产品中心 ============ */
.page-hero-sm { padding: 26px 0 30px; }
.page-hero-sm h1 { font-size: 30px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 10px; opacity: .6; }
.breadcrumb span { color: var(--primary); font-weight: 600; }

/* 筛选栏：分类一行、工具一行，避免全部挤在一行 */
.prod-filter { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; background: #f9fafb; border: 1px solid var(--border); border-radius: var(--radius); }
.prod-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.prod-cat { padding: 8px 16px; border-radius: 999px; background: #fff; color: #4b5563; font-size: 14px; font-weight: 500; border: 1px solid var(--border); transition: background .18s, color .18s, border-color .18s; }
.prod-cat:hover { border-color: var(--primary); color: var(--primary); }
.prod-cat.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.prod-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--border); }
.prod-orders { display: flex; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 3px; }
.prod-orders a { padding: 7px 14px; font-size: 13px; color: var(--muted); border-radius: 6px; }
.prod-orders a.on { background: var(--primary); color: #fff; font-weight: 600; }
.prod-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.prod-search input { border: 0; outline: 0; padding: 9px 12px; font-size: 13px; width: 210px; }
.prod-search button { border: 0; background: var(--primary); color: #fff; padding: 10px 14px; cursor: pointer; }
.prod-search button:hover { background: #6d28d9; }
.prod-count { color: var(--muted); font-size: 13px; margin: 18px 0 20px; }
.prod-count b { color: var(--primary); font-size: 15px; }

/* 产品网格卡片：桌面固定 3 列；每页 9 款 = 3 行 */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; display: flex; flex-direction: column; min-width: 0; }
.product-card:hover { transform: translateY(-4px); border-color: #d8c9fb; box-shadow: 0 14px 32px rgba(17,24,39,.10); }
.product-thumb { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f4f6; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.prod-badge { position: absolute; top: 12px; left: 12px; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 5px; letter-spacing: .5px; }
.prod-badge.hot { background: #dc2626; }
.prod-badge.new { background: #7c3aed; left: auto; right: 12px; }
.product-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.product-cat { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.product-card h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card h3 a { color: #111827; }
.product-card h3 a:hover { color: var(--primary); }
.product-summary { color: var(--muted); font-size: 13px; line-height: 1.7; min-height: 44px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--border); padding-top: 12px; }
.product-price { color: #dc2626; font-size: 17px; font-weight: 700; }
.product-more { font-size: 13px; color: var(--primary); font-weight: 600; white-space: nowrap; }
.product-more i { font-size: 11px; }

/* 空状态与分页 */
.prod-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.prod-empty i { font-size: 46px; color: #d1d5db; display: block; margin-bottom: 14px; }
.prod-empty p { margin-bottom: 18px; }
.prod-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.prod-pager a { min-width: 34px; text-align: center; padding: 7px 11px; border: 1px solid var(--border); border-radius: 7px; font-size: 13px; color: #4b5563; }
.prod-pager a:hover { border-color: var(--primary); color: var(--primary); }
.prod-pager a.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 详情页 */
.prod-detail-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.prod-main-img { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #f3f4f6; aspect-ratio: 4 / 3; }
.prod-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.prod-thumb { width: 84px; height: 63px; border: 2px solid transparent; border-radius: 9px; overflow: hidden; padding: 0; background: #f3f4f6; cursor: pointer; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-thumb.on, .prod-thumb:hover { border-color: var(--primary); }
.prod-intro-cat { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.prod-intro h2 { font-size: 28px; margin-bottom: 8px; }
.prod-model { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.prod-model b { color: #374151; }
.prod-price-big { color: #dc2626; font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.prod-intro-summary { color: #4b5563; line-height: 1.9; margin-bottom: 18px; }
.prod-spec-brief { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; margin: 0 0 22px; }
.prod-spec-brief li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--border); padding-bottom: 7px; font-size: 13px; }
.prod-spec-brief span { color: var(--muted); }
.prod-spec-brief b { color: #111827; font-weight: 600; text-align: right; }
.prod-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.prod-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.prod-meta .tag-hot, .prod-meta .tag-new { font-size: 11px; font-weight: 700; color: #fff; padding: 2px 9px; border-radius: 5px; }
.prod-meta .tag-hot { background: #dc2626; }
.prod-meta .tag-new { background: #7c3aed; }

/* 详情 tab */
.prod-tabs { margin-top: 46px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.prod-tab-nav { display: flex; gap: 0; background: #f9fafb; border-bottom: 1px solid var(--border); }
.prod-tab-nav button { border: 0; background: transparent; padding: 14px 26px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.prod-tab-nav button.on { color: var(--primary); border-bottom-color: var(--primary); background: #fff; }
.prod-tab-panel { display: none; padding: 26px 30px; line-height: 2; color: #374151; }
.prod-tab-panel.on { display: block; }
.prod-none { color: var(--muted); }
.prod-spec-table { width: 100%; border-collapse: collapse; }
.prod-spec-table th, .prod-spec-table td { border: 1px solid var(--border); padding: 11px 16px; font-size: 14px; text-align: left; }
.prod-spec-table th { width: 26%; background: #f9fafb; color: #4b5563; font-weight: 600; }
.prod-prev-next { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; font-size: 14px; flex-wrap: wrap; }
.prod-prev-next a { color: var(--primary); }
.prod-prev-next .disabled { color: #9ca3af; }
.prod-related { margin-top: 56px; }
.prod-related .section-head { margin-bottom: 20px; }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-detail-head { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .prod-tools { flex-direction: column; align-items: stretch; }
  .prod-search input { width: 100%; flex: 1; }
  .prod-spec-brief { grid-template-columns: 1fr; }
  .prod-tab-nav button { padding: 12px 16px; font-size: 14px; }
  .prod-tab-panel { padding: 20px 18px; }
}
.home-products-more { text-align: center; margin-top: 32px; }
