/* ============ 加森官网全局样式 ============ */
:root {
  --blue: #1d5ce8;
  --blue-dark: #1349bd;
  --blue-light: #e8f0fe;
  --ink: #111827;
  --gray: #6b7280;
  --bg: #f7f8fa;
  --line: #e5e7eb;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 68px; gap: 40px; }
.logo { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; }
.main-nav { display: flex; gap: 32px; margin-left: auto; }
.main-nav a { font-size: 15px; color: #374151; padding: 6px 2px; border-bottom: 2px solid transparent; transition: .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.header-cta { margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: .2s; text-align: center;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 15px 42px; font-size: 17px; }
.btn-danger { background: #dc2626; }
.btn-danger:hover { background: #b91c1c; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- 首页轮播 ---------- */
.hero-carousel { position: relative; background: #0a2456; isolation: isolate; }
.hc-track { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; padding: 88px 0 116px;
  opacity: 0; visibility: hidden; transition: opacity .7s ease; color: #fff;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide.theme-blue {
  background:
    radial-gradient(820px 460px at 82% 12%, rgba(94, 143, 255, .55), transparent 62%),
    linear-gradient(120deg, #071d47 0%, #1349bd 62%, #2168f0 100%);
}
.slide.theme-mint {
  background:
    radial-gradient(760px 440px at 80% 14%, rgba(92, 225, 192, .45), transparent 62%),
    linear-gradient(120deg, #062b26 0%, #0d6b5b 62%, #12a58c 100%);
}
.slide.theme-dark {
  background:
    radial-gradient(760px 440px at 82% 18%, rgba(60, 110, 220, .38), transparent 62%),
    linear-gradient(120deg, #08090d 0%, #141a26 60%, #1d2739 100%);
}
.slide.theme-light {
  background: linear-gradient(120deg, #eef4ff 0%, #fbfdff 55%, #e7f0ff 100%);
  color: var(--ink);
}
.slide.theme-light .slide-eyebrow { background: rgba(29, 92, 232, .1); color: #1349bd; }
.slide.theme-light .slide-art img { filter: drop-shadow(0 24px 40px rgba(21, 61, 143, .16)); }
.slide.theme-light .btn-ghost { color: #1349bd; border-color: rgba(29, 92, 232, .45); }

.slide-inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; }
.slide-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: .6px; padding: 6px 15px;
  border-radius: 999px; background: rgba(255, 255, 255, .16); color: #dbe8ff;
  backdrop-filter: blur(4px);
}
.slide-title {
  margin: 20px 0 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1.18;
  font-weight: 800; letter-spacing: 1.5px;
}
.slide-title .line { display: block; }
.slide-sub { font-size: 17px; line-height: 1.75; max-width: 470px; opacity: .9; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.slide .btn { box-shadow: 0 10px 24px rgba(3, 14, 38, .18); }
.slide.theme-blue .btn, .slide.theme-mint .btn, .slide.theme-dark .btn { background: #fff; color: #1349bd; }
.slide.theme-mint .btn { color: #0a6b5b; }
.slide .btn-ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: none;
}
.slide .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.slide-art img {
  width: 100%; max-width: 430px; margin: 0 auto;
  filter: drop-shadow(0 26px 44px rgba(2, 10, 30, .3));
}
.slide.active .slide-copy > * { animation: slideUp .72s cubic-bezier(.22, .8, .3, 1) both; }
.slide.active .slide-copy > *:nth-child(2) { animation-delay: .06s; }
.slide.active .slide-copy > *:nth-child(3) { animation-delay: .12s; }
.slide.active .slide-copy > *:nth-child(4) { animation-delay: .18s; }
.slide.active .slide-art { animation: artIn .9s cubic-bezier(.22, .8, .3, 1) both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes artIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

.hc-bar {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); color: #fff;
}
.hero-carousel[data-theme="light"] .hc-bar {
  background: rgba(17, 24, 39, .05); border-color: rgba(17, 24, 39, .1); color: #374151;
}
.hc-arrows { display: flex; gap: 6px; }
.hc-arrow {
  width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: inherit; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: .2s; padding-bottom: 3px;
}
.hero-carousel[data-theme="light"] .hc-arrow { background: rgba(17, 24, 39, .07); }
.hc-arrow:hover { background: rgba(255, 255, 255, .34); }
.hero-carousel[data-theme="light"] .hc-arrow:hover { background: rgba(17, 24, 39, .14); }
.hc-dots { display: flex; align-items: center; gap: 8px; }
.hc-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: currentColor; opacity: .35; transition: .3s;
}
.hc-dots button.active { width: 24px; opacity: 1; }
.hc-counter { font-size: 13px; letter-spacing: .5px; opacity: .85; font-variant-numeric: tabular-nums; }
.hc-counter b { font-size: 15px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.active .slide-copy > *, .slide.active .slide-art { animation: none !important; transition: none !important; }
}

/* ---------- 数据条 ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0; gap: 10px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; color: var(--blue); font-weight: 800; }
.stat span { font-size: 14px; color: var(--gray); }

/* ---------- 区块 ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: 1px; }
.section-head p { color: var(--gray); margin-top: 12px; font-size: 16px; }
.section-head .more { display: inline-block; margin-top: 26px; color: var(--blue); font-size: 15px; font-weight: 600; }
.section-head .more:hover { text-decoration: underline; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: .25s; cursor: pointer; display: block;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card .pic { aspect-ratio: 4/3; background: #f3f6fb; overflow: hidden; }
.product-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.product-card .info { padding: 20px 22px 24px; }
.product-card .cat { font-size: 12px; color: var(--blue); background: var(--blue-light); display: inline-block; padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }
.product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.product-card .desc { font-size: 13px; color: var(--gray); min-height: 20px; margin-bottom: 14px; }
.product-card .price-row { display: flex; align-items: baseline; gap: 10px; }
.product-card .price { color: #dc2626; font-size: 22px; font-weight: 800; }
.product-card .price-original { color: #9ca3af; font-size: 13px; text-decoration: line-through; }

/* ---------- 品牌介绍 ---------- */
.about-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  background: linear-gradient(120deg, #0e2f77, #1d5ce8);
  border-radius: 24px; color: #fff; padding: 60px;
}
.about-panel h2 { font-size: 34px; font-weight: 800; margin-bottom: 20px; }
.about-panel p { color: rgba(255,255,255,.85); font-size: 15.5px; margin-bottom: 12px; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-features .f { background: rgba(255,255,255,.1); border-radius: 14px; padding: 22px; }
.about-features .f b { display: block; font-size: 16px; margin-bottom: 6px; }
.about-features .f span { font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: .25s; display: block; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .pic { aspect-ratio: 16/9; background: #eef2f8; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.news-card .info { padding: 20px 22px; }
.news-card .date { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.news-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card p { font-size: 13.5px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 产品列表页 ---------- */
.page-banner { background: linear-gradient(120deg, #0e2f77, #1d5ce8); color: #fff; text-align: center; padding: 60px 0; }
.page-banner h1 { font-size: 36px; font-weight: 800; }
.page-banner p { color: rgba(255,255,255,.8); margin-top: 10px; }
.filter-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 36px 0; }
.filter-tabs button {
  padding: 9px 24px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; color: #374151; cursor: pointer; transition: .2s;
}
.filter-tabs button.active, .filter-tabs button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- 产品详情 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 60px 0 30px; align-items: start; }
.detail-pic { background: #f3f6fb; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.detail-pic img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 30px; font-weight: 800; margin: 8px 0 12px; }
.detail-info .short { color: var(--gray); font-size: 15px; margin-bottom: 24px; }
.detail-price-box { background: #fff5f5; border-radius: 14px; padding: 18px 24px; margin-bottom: 24px; display: flex; align-items: baseline; gap: 14px; }
.detail-price-box .price { color: #dc2626; font-size: 34px; font-weight: 800; }
.detail-price-box .price-original { color: #9ca3af; text-decoration: line-through; font-size: 15px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.qty-row label { color: var(--gray); font-size: 14px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 38px; height: 38px; border: none; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty-stepper button:hover { background: var(--blue-light); color: var(--blue); }
.qty-stepper input { width: 56px; text-align: center; border: none; font-size: 15px; height: 38px; outline: none; }
.detail-tabs { border-top: 1px solid var(--line); margin-top: 20px; }
.detail-tab-btns { display: flex; gap: 8px; }
.detail-tab-btns button { padding: 16px 26px; background: none; border: none; border-bottom: 2.5px solid transparent; font-size: 15.5px; color: var(--gray); cursor: pointer; font-weight: 600; }
.detail-tab-btns button.active { color: var(--blue); border-bottom-color: var(--blue); }
.detail-tab-body { padding: 30px 4px 60px; font-size: 15px; color: #374151; white-space: pre-wrap; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; max-width: 560px; margin: 50px auto; }
.form-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.form-card .tip { color: var(--gray); font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field label .req { color: #dc2626; margin-left: 2px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; outline: none; transition: .2s; font-family: inherit; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,92,232,.12); }
.field textarea { min-height: 110px; resize: vertical; }
.form-error { color: #dc2626; font-size: 13.5px; margin: 10px 0; min-height: 18px; }
.order-summary { background: var(--bg); border-radius: 14px; padding: 18px 22px; margin-bottom: 24px; font-size: 14.5px; }
.order-summary .row { display: flex; justify-content: space-between; margin: 6px 0; }
.order-summary .total { color: #dc2626; font-weight: 800; font-size: 20px; }

/* ---------- 支付页 ---------- */
.pay-box { text-align: center; }
.pay-box .amount { font-size: 40px; color: #dc2626; font-weight: 800; margin: 10px 0 6px; }
.qr-wrap { width: 260px; height: 260px; margin: 26px auto; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.qr-wrap img, .qr-wrap canvas { width: 100%; height: 100%; }
.pay-status { font-size: 15px; color: var(--gray); margin-top: 8px; }
.pay-status.ok { color: #16a34a; font-weight: 700; }
.pay-success-icon { width: 70px; height: 70px; margin: 30px auto 16px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 34px; line-height: 70px; }

/* ---------- 新闻详情 ---------- */
.article { max-width: 820px; margin: 0 auto; padding: 60px 20px; }
.article h1 { font-size: 30px; font-weight: 800; line-height: 1.4; margin: 16px 0 10px; }
.article .meta { color: #9ca3af; font-size: 14px; margin-bottom: 30px; }
.article .cover { border-radius: 16px; margin-bottom: 30px; }
.article .content { font-size: 16px; color: #374151; white-space: pre-wrap; }

/* ---------- 后台 ---------- */
.admin-wrap { max-width: 1150px; margin: 0 auto; padding: 40px 20px 80px; }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 14px; flex-wrap: wrap; }
.admin-tabs button { padding: 10px 26px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14.5px; font-weight: 600; color: #374151; }
.admin-tabs button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.admin-head h2 { font-size: 22px; font-weight: 800; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.data-table th { background: var(--bg); text-align: left; padding: 13px 14px; font-weight: 700; color: #374151; }
.data-table td { padding: 13px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.data-table img.thumb { width: 56px; height: 44px; object-fit: cover; border-radius: 8px; background: #f3f6fb; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.tag.on { background: #dcfce7; color: #15803d; }
.tag.off { background: #f3f4f6; color: #6b7280; }
.tag.paid { background: #dcfce7; color: #15803d; }
.tag.pending { background: #fef3c7; color: #b45309; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions button { padding: 6px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 13px; }
.row-actions button:hover { border-color: var(--blue); color: var(--blue); }
.row-actions .del:hover { border-color: #dc2626; color: #dc2626; }
.modal-mask { position: fixed; inset: 0; background: rgba(17,24,39,.5); z-index: 200; display: flex; align-items: flex-start; justify-content: center; overflow: auto; padding: 40px 16px; }
.modal { background: #fff; border-radius: 20px; width: 640px; max-width: 100%; padding: 34px; }
.modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.modal .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.img-picker { display: flex; align-items: center; gap: 14px; }
.img-picker img.preview { width: 90px; height: 70px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #f3f6fb; }
.img-picker input[type=file] { font-size: 13px; }

/* ---------- 后台：首页轮播管理 ---------- */
.banner-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.banner-card .banner-top { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg); }
.banner-no { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.banner-thumb { width: 76px; height: 58px; flex: none; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.banner-thumb img { width: 100%; height: 100%; object-fit: contain; }
.banner-summary { flex: 1; min-width: 0; }
.banner-summary b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.banner-summary span { display: block; font-size: 12.5px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-edit { display: none; grid-template-columns: 1fr 1fr; gap: 0 18px; padding: 18px 16px 4px; border-top: 1px dashed var(--line); }
.banner-edit .field { margin-bottom: 14px; }
.banner-edit .field.full { grid-column: 1 / -1; }
.banner-edit textarea { min-height: 62px; }
.row-actions button[disabled] { opacity: .35; cursor: not-allowed; }
@media (max-width: 760px) {
  .banner-edit { grid-template-columns: 1fr; }
  .banner-top { flex-wrap: wrap; }
  .banner-summary { flex-basis: 100%; order: 3; }
}

/* ---------- 联系卡片 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-grid > div { text-align: center; background: #f7f8fa; border-radius: 16px; padding: 34px 20px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b0d12; color: #9ca3af; margin-top: 90px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.site-footer img.foot-logo { height: 46px; background: #fff; padding: 7px 12px; border-radius: 10px; margin-bottom: 18px; width: auto; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.site-footer li { list-style: none; margin-bottom: 10px; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.copyright { border-top: 1px solid #1f2430; text-align: center; padding: 20px 0; font-size: 12.5px; color: #4b5563; }

/* ---------- 商品「即将开售」角标 / 展示模式提示 ---------- */
.product-card .pic { position: relative; }
.soon-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: #f59e0b; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.sale-tip { display: flex; align-items: center; gap: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 14px; border-radius: 12px; padding: 12px 16px; margin: 18px 0; }
.sale-tip .icon { font-size: 18px; }

/* ---------- 首页产品分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 32px 30px 26px; transition: .25s; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), #6ea1ff); opacity: 0; transition: .25s;
}
.cat-card:hover { border-color: transparent; transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-card:hover::before { opacity: 1; }
.cat-ic {
  width: 52px; height: 52px; border-radius: 15px; color: var(--blue);
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.cat-card b { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.cat-desc { font-size: 13.5px; color: var(--gray); line-height: 1.7; min-height: 46px; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cat-foot .cnt { font-size: 12.5px; color: var(--gray); background: var(--bg); border-radius: 999px; padding: 3px 12px; }
.cat-foot .cnt.zero { color: #b45309; background: #fef3c7; }
.cat-foot .cat-go { font-size: 13.5px; font-weight: 700; color: var(--blue); }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { padding: 26px 24px; }
  .cat-desc { min-height: 0; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .slide-inner, .about-panel, .detail-wrap { grid-template-columns: 1fr; }
  .slide { padding: 52px 0 100px; }
  .slide-title { margin: 16px 0 14px; font-size: 32px; }
  .slide-sub { font-size: 15.5px; }
  .slide-art img { max-width: 280px; }
  .slide-actions .btn-lg { padding: 12px 26px; font-size: 15px; }
  .hc-bar { bottom: 20px; gap: 14px; padding: 7px 12px; }
  .hc-arrow { width: 28px; height: 28px; font-size: 18px; }
  .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
}
@media (max-width: 560px) {
  .product-grid, .news-grid { grid-template-columns: 1fr; }
  .about-panel { padding: 36px 26px; }
  .form-card { padding: 26px 20px; }
}
