/* ihuofa.com 爱活发 - 前台样式 */
:root {
  --c-primary: #14508c;
  --c-primary-d: #0e3c6a;
  --c-accent: #e0862c;
  --c-text: #22303e;
  --c-sub: #64748b;
  --c-line: #e5eaf1;
  --c-bg: #f6f8fb;
  --c-card: #ffffff;
  --r: 12px;
  --shadow: 0 2px 16px rgba(20, 60, 106, .07);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--c-text); background: var(--c-bg); line-height: 1.6; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* 头部 */
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 50; }
.topbar { display: flex; align-items: center; gap: 30px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d)); color: #fff; font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.brand-txt strong { display: block; font-size: 19px; letter-spacing: 1px; line-height: 1.2; color: var(--c-primary-d); }
.brand-txt em { font-style: normal; font-size: 11px; color: var(--c-sub); letter-spacing: .5px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.main-nav a { padding: 8px 14px; border-radius: 8px; font-size: 15px; color: #3a4a5a; }
.main-nav a:hover { background: var(--c-bg); color: var(--c-primary); }
.main-nav a.on { background: var(--c-primary); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-primary-d); margin: 5px 0; border-radius: 2px; }

/* Banner */
.hero { background: linear-gradient(120deg, var(--c-primary-d) 0%, var(--c-primary) 60%, #2b6cb0 100%); color: #fff; padding: 64px 0; }
.hero h1 { font-size: 32px; letter-spacing: 1px; }
.hero p { margin-top: 10px; opacity: .88; font-size: 16px; }

/* 区块 */
.sec { padding: 44px 0; }
.sec.alt { background: #fff; }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-head h2 { font-size: 24px; color: var(--c-primary-d); }
.sec-head p { color: var(--c-sub); margin-top: 4px; font-size: 14px; }
.sec-head.with-more { display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
.more { color: var(--c-primary); font-size: 14px; }

/* 人群卡片 */
.crowd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.crowd { background: #fff; border-radius: var(--r); padding: 28px 22px; text-align: center; border: 1px solid var(--c-line); transition: .25s; box-shadow: var(--shadow); }
.crowd:hover { transform: translateY(-4px); border-color: var(--c-primary); }
.crowd-ic { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.crowd-ic svg { width: 28px; height: 28px; }
.crowd.men .crowd-ic { background: #14508c; }
.crowd.women .crowd-ic { background: #b0457c; }
.crowd.elder .crowd-ic { background: #7a6a2f; }
.crowd.kids .crowd-ic { background: #2e8b57; }
.crowd h3 { font-size: 18px; }
.crowd p { color: var(--c-sub); font-size: 13px; margin: 6px 0 10px; min-height: 38px; }
.crowd b { color: var(--c-accent); font-size: 13px; }

/* 产品卡片 */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid.small { grid-template-columns: repeat(4, 1fr); }
.pcard { background: var(--c-card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-line); transition: .25s; }
.pcard:hover { box-shadow: 0 8px 24px rgba(20, 60, 106, .13); transform: translateY(-3px); }
.pcard-img { display: block; position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #eef3f9, #dfe8f2); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
@supports not (aspect-ratio: 1 / 1) { .pcard-img { height: 260px; } }
.pcard-img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 700; color: #b9c7d8; }
.score { position: absolute; right: 8px; bottom: 8px; background: rgba(20, 80, 140, .92); color: #fff; font-size: 13px; padding: 2px 8px; border-radius: 20px; }
.pcard-body { padding: 14px 16px 16px; }
.pcard-body h3 { font-size: 15px; line-height: 1.45; height: 44px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pcard-body h3 a:hover { color: var(--c-primary); }
.pcard-body .brand { color: var(--c-sub); font-size: 12px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { color: var(--c-accent); font-size: 17px; font-weight: 700; }
.btn-line { border: 1px solid var(--c-primary); color: var(--c-primary); font-size: 12px; padding: 4px 10px; border-radius: 6px; }
.btn-line:hover { background: var(--c-primary); color: #fff; }
.flag-top { position: absolute; left: 8px; top: 8px; background: #e0522c; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.flag-rec { position: absolute; left: 8px; top: 8px; background: var(--c-accent); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.pcard-img .flag-top + .score { right: 8px; }

/* 比价区块 */
.cmp-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 20px 22px; margin-top: 22px; }
.cmp-box h2 { font-size: 17px; color: var(--c-primary); margin-bottom: 4px; }
.cmp-box .cmp-sub { color: var(--c-sub); font-size: 13px; margin-bottom: 12px; }
.cmp-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp-tbl th, .cmp-tbl td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.cmp-tbl th { color: var(--c-sub); font-weight: 500; background: #f8fafc; white-space: nowrap; }
.cmp-tbl .cmp-low { color: #d33a2c; font-weight: 700; font-size: 15px; }
.cmp-tbl .cmp-price { color: var(--c-accent); font-weight: 700; }
.cmp-tbl .cmp-tag { display: inline-block; background: #e0522c; color: #fff; font-size: 11px; border-radius: 4px; padding: 0 6px; margin-left: 6px; }
.cmp-mine td { background: #f2f8ff; }
.cmp-btn { border: 1px solid var(--c-primary); color: var(--c-primary); font-size: 12px; padding: 3px 10px; border-radius: 6px; white-space: nowrap; }
.cmp-btn:hover { background: var(--c-primary); color: #fff; }
.cmp-btn.danger { border-color: #d33a2c; color: #d33a2c; margin-left: 6px; }
.cmp-btn.danger:hover { background: #d33a2c; color: #fff; }
.cmp-scroll { overflow-x: auto; }
.cmp-item { color: var(--c-primary); }
.cmp-item:hover { text-decoration: underline; }
.cmp-spread { color: #d33a2c; }

/* 比价系统 */
.compare-page { padding: 26px 0 40px; }
.cmp-intro h2 { color: var(--c-primary-d); font-size: 24px; margin-bottom: 8px; }
.cmp-intro p { color: var(--c-sub); max-width: 720px; }
.cmp-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 26px; }
.cmp-steps li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px 16px; font-size: 13px; color: var(--c-sub); box-shadow: var(--shadow); }
.cmp-steps li b { display: block; color: var(--c-primary); font-size: 15px; margin-bottom: 4px; }
.auth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; }
.auth-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 24px 26px; box-shadow: var(--shadow); }
.auth-card h3 { color: var(--c-primary-d); margin-bottom: 14px; font-size: 18px; }
.auth-card label { display: block; font-size: 13px; color: var(--c-sub); margin-bottom: 12px; }
.auth-card input { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 8px; font-size: 14px; }
.auth-card input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(20, 80, 140, .12); }
.plans-head h2 { color: var(--c-primary-d); font-size: 22px; }
.plans-head p { color: var(--c-sub); font-size: 14px; margin-top: 4px; }
.plan-new { margin: 18px 0; }
.plan-new-form { display: flex; gap: 10px; max-width: 560px; }
.plan-new-form input { flex: 1; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 8px; font-size: 14px; }
.plan-new-form input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(20, 80, 140, .12); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.plan-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); }
.plan-card h3 { font-size: 16px; margin-bottom: 4px; }
.plan-card h3 a { color: var(--c-primary-d); }
.plan-card h3 a:hover { color: var(--c-primary); }
.plan-meta { color: var(--c-sub); font-size: 12px; margin-bottom: 12px; }
.plan-ops { display: flex; gap: 10px; align-items: center; }
.plan-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0 4px; }
.plan-title-row h1 { font-size: 22px; color: var(--c-primary-d); }
.rename-form { display: flex; gap: 8px; }
.rename-form input { padding: 6px 10px; border: 1px solid var(--c-line); border-radius: 6px; font-size: 13px; width: 180px; }
.plan-search { display: flex; gap: 10px; margin-bottom: 14px; }
.plan-search input { flex: 1; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 8px; font-size: 14px; }
.found-list { list-style: none; }
.found-list li { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--c-line); flex-wrap: wrap; }
.found-title { color: var(--c-primary); font-weight: 600; flex: 1; min-width: 200px; }
.found-title:hover { text-decoration: underline; }
.found-meta { color: var(--c-sub); font-size: 12px; }
.found-price { color: var(--c-accent); }
.cmp-add-form { display: inline-flex; gap: 8px; align-items: center; vertical-align: middle; }
.cmp-add-form select { padding: 9px 10px; border: 1px solid var(--c-line); border-radius: 8px; font-size: 13px; max-width: 170px; background: #fff; }
.cmp-join { background: #fff7ed; border: 1px solid var(--c-accent); color: #b4691b; }
.cmp-join:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.btn.sm { padding: 7px 14px; font-size: 13px; }
.btn.danger { color: #d33a2c; border-color: #f3c1bb; }
.btn.danger:hover { background: #d33a2c; border-color: #d33a2c; color: #fff; }
.inline { display: inline; }
.nav-user { color: var(--c-sub); font-size: 13px; padding: 8px 4px; white-space: nowrap; }
.nav-cta { background: var(--c-accent); color: #fff !important; }
@media (max-width: 620px) {
  .cmp-box { padding: 14px 12px; overflow-x: auto; }
}

/* 数据条 */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 18px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); margin: 8px auto; max-width: 1180px; }
.stat-bar div { text-align: center; }
.stat-bar b { display: block; font-size: 26px; color: var(--c-primary-d); }
.stat-bar span { color: var(--c-sub); font-size: 13px; }

/* 资讯卡 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ncard { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; transition: .25s; display: block; }
.ncard:hover { box-shadow: 0 8px 24px rgba(20, 60, 106, .13); transform: translateY(-3px); }
.ncard-img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef3f9, #dfe8f2); position: relative; overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; }
.ncard-img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b9c7d8; font-size: 22px; letter-spacing: 4px; }
.ncard-body { padding: 14px 16px 16px; }
.tag { display: inline-block; background: #eaf2fb; color: var(--c-primary); font-size: 12px; font-style: normal; padding: 1px 8px; border-radius: 10px; margin-bottom: 6px; }
.ncard-body h3 { font-size: 15px; line-height: 1.5; }
.ncard-body p { color: var(--c-sub); font-size: 13px; margin: 6px 0 8px; }
.ncard-body time { color: #9aa9b8; font-size: 12px; }

/* 列表页 */
.list-page, .detail-page, .contact-page { padding: 26px 18px 50px; }
.crumbs { color: var(--c-sub); font-size: 13px; margin-bottom: 16px; }
.crumbs b { color: var(--c-text); }
.crumbs a:hover { color: var(--c-primary); }
.filter-bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 18px; }
.search { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.search input { flex: 1; border: 1px solid var(--c-line); border-radius: 8px; padding: 8px 12px; font-size: 14px; outline: none; }
.search input:focus { border-color: var(--c-primary); }
.search button, .btn { border: 0; cursor: pointer; font-size: 14px; border-radius: 8px; padding: 8px 18px; }
.search button { background: var(--c-primary); color: #fff; }
.sorts { display: flex; gap: 6px; }
.sorts a { padding: 6px 14px; border-radius: 20px; font-size: 13px; color: var(--c-sub); border: 1px solid var(--c-line); }
.sorts a.on, .sorts a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.count-tip { color: var(--c-sub); font-size: 13px; margin-bottom: 12px; }
.empty-tip { background: #fff; border: 1px dashed var(--c-line); color: var(--c-sub); text-align: center; padding: 50px 20px; border-radius: var(--r); }
.empty-page { padding: 80px 18px; text-align: center; color: var(--c-sub); }

/* 分页 */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager b { min-width: 34px; text-align: center; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--c-line); background: #fff; font-size: 13px; font-weight: 400; }
.pager b.on { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* 详情 */
.detail-grid { display: grid; grid-template-columns: 440px 1fr; gap: 34px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 26px; }
.detail-img { border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #eef3f9, #dfe8f2); aspect-ratio: 1 / 1; position: relative; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-img .ph.big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 90px; color: #b9c7d8; font-weight: 700; }
.detail-info h1 { font-size: 24px; line-height: 1.4; color: var(--c-primary-d); }
.tagline { margin-top: 8px; }
.tagline i { font-style: normal; color: var(--c-accent); font-size: 13px; margin-right: 10px; }
.buy-row { display: flex; align-items: baseline; gap: 16px; margin: 16px 0; padding: 14px 16px; background: #fdf7ef; border-radius: 10px; }
.buy-row .price { font-size: 26px; }
.buy-row s { color: var(--c-sub); font-size: 14px; }
.score-line { color: var(--c-sub); font-size: 13px; }
.score-line b { color: var(--c-accent); font-size: 18px; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin: 10px 0 18px; }
.meta div { display: flex; gap: 8px; font-size: 13px; }
.meta dt { color: var(--c-sub); }
.btn { display: inline-block; text-align: center; }
.btn.solid { background: var(--c-accent); color: #fff; padding: 10px 26px; font-size: 15px; }
.btn.solid:hover { background: #c9731d; }
.btn.line { border: 1px solid var(--c-primary); color: var(--c-primary); padding: 9px 22px; }
.btn.line:hover { background: var(--c-primary); color: #fff; }
.detail-sec { padding: 26px 0 0; }
.detail-sec h2 { font-size: 19px; color: var(--c-primary-d); border-left: 4px solid var(--c-accent); padding-left: 12px; margin-bottom: 14px; }
.detail-sec h2 small { color: var(--c-sub); font-size: 13px; font-weight: 400; }
.lead { background: #eef4fb; border-radius: 10px; padding: 14px 18px; color: #33506e; margin-bottom: 12px; }
.rich { color: #384a5c; }
.rev-list { list-style: none; }
.rev-list li { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.rev-head { display: flex; gap: 12px; align-items: center; font-size: 13px; margin-bottom: 6px; flex-wrap: wrap; }
.rev-head .stars { color: #e8a33d; letter-spacing: 2px; }
.plat { font-style: normal; background: #f0f3f8; color: var(--c-sub); padding: 0 8px; border-radius: 8px; font-size: 12px; }
.rev-head time { color: #9aa9b8; margin-left: auto; }
.rev-list p { color: #384a5c; }

/* 文章 */
.article { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 34px 38px; }
.article h1 { font-size: 25px; color: var(--c-primary-d); line-height: 1.45; }
.art-meta { display: flex; gap: 14px; align-items: center; color: var(--c-sub); font-size: 13px; margin: 12px 0 4px; }
.art-back { margin-top: 18px; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; }
.contact-info, .contact-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 28px; }
.contact-info h2, .contact-form h2 { font-size: 19px; color: var(--c-primary-d); margin-bottom: 16px; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 8px 0; border-bottom: 1px dashed var(--c-line); font-size: 14px; }
.contact-info li b { color: var(--c-sub); font-weight: 400; display: inline-block; width: 48px; }
.contact-note { margin-top: 14px; color: var(--c-sub); font-size: 13px; }
.contact-form label { display: block; font-size: 14px; margin-bottom: 12px; color: #3a4a5a; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 5px; border: 1px solid var(--c-line); border-radius: 8px; padding: 9px 12px; font-size: 14px; font-family: inherit; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--c-primary); }
.frm2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alert { border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.alert.ok { background: #e8f6ec; color: #1d7a3e; }
.alert.err { background: #fdecec; color: #b83232; }

/* 页脚 */
.site-footer { background: #14293e; color: #b9c7d6; margin-top: 40px; padding: 40px 0 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 24px; padding-bottom: 26px; }
.foot-brand strong { color: #fff; font-size: 18px; }
.foot-brand p { font-size: 13px; margin-top: 8px; line-height: 1.7; }
.foot-nav h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.foot-nav a, .foot-nav p { display: block; font-size: 13px; padding: 3px 0; color: #8fa3b8; }
.foot-nav a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 14px 18px; font-size: 12px; color: #7d92a8; display: flex; gap: 16px; }
.foot-bottom a { color: #7d92a8; }

/* 侧栏布局（列表/详情页右栏） */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.col-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 80px; }
.sw { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 16px 18px; }
.sw h3 { font-size: 15px; color: var(--c-primary-d); padding-bottom: 10px; border-bottom: 1px solid var(--c-line); margin-bottom: 10px; }
.sw-cats a { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px; border-bottom: 1px dashed var(--c-line); font-size: 14px; }
.sw-cats a:last-child { border-bottom: 0; }
.sw-cats a:hover b { color: var(--c-primary); }
.sw-cats a b { font-weight: 600; }
.sw-cats a span { color: var(--c-sub); font-size: 12px; }
.sw-p { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--c-line); }
.sw-p:last-child { border-bottom: 0; }
.sw-p img, .sw-p .ph { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: linear-gradient(135deg, #eef3f9, #dfe8f2); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #b9c7d8; font-size: 20px; flex-shrink: 0; }
.sw-p-t { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-p-t i { display: block; font-style: normal; color: var(--c-accent); font-size: 12px; margin-top: 2px; }
.sw-a { display: block; padding: 7px 0; border-bottom: 1px dashed var(--c-line); font-size: 13px; line-height: 1.5; }
.sw-a:last-child { border-bottom: 0; }
.sw-a:hover { color: var(--c-primary); }
.sw-a time { display: block; color: #9aa9b8; font-size: 12px; margin-top: 2px; }
.sw-contact { background: linear-gradient(135deg, #14508c, #2b6cb0); border: 0; color: #fff; }
.sw-contact h3 { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
.sw-contact p { font-size: 13px; opacity: .9; margin-bottom: 12px; }
.sw-contact .btn.solid { background: #fff; color: var(--c-primary); width: 100%; text-align: center; padding: 9px 0; }
.col-main .pgrid { grid-template-columns: repeat(3, 1fr); }
.col-main .pgrid.small { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) {
  .cols { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .col-main .pgrid, .col-main .pgrid.small { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .col-main .pgrid, .col-main .pgrid.small { grid-template-columns: 1fr; }
}
/* 响应式 */
@media (max-width: 960px) {
  .crowd-grid, .pgrid, .pgrid.small { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 42px 0; }
  .hero h1 { font-size: 25px; }
}
@media (max-width: 620px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 14px 16px; border-bottom: 1px solid var(--c-line); box-shadow: 0 10px 20px rgba(20, 60, 106, .1); }
  .main-nav.open { display: flex; }
  /* 人群卡 2x2 紧凑（隐藏简介，缩短首页） */
  .crowd-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .crowd { padding: 14px 8px; }
  .crowd-ic { width: 42px; height: 42px; margin-bottom: 6px; }
  .crowd-ic svg { width: 22px; height: 22px; }
  .crowd h3 { font-size: 14px; }
  .crowd p { display: none; }
  .crowd b { font-size: 12px; }
  /* 产品卡一行 2 个，压缩图片高度，缩短首页 */
  .pgrid, .pgrid.small { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard-body { padding: 10px 10px 12px; }
  .pcard-body h3 { font-size: 13px; height: 38px; }
  .news-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar { height: 56px; }
  .meta { grid-template-columns: 1fr; }
  .article { padding: 22px 18px; }
  /* 比价系统窄屏 */
  .auth-grid { grid-template-columns: 1fr; }
  .cmp-steps { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-new-form { flex-direction: column; }
  .cmp-add-form { display: flex; width: 100%; margin-top: 8px; }
  .cmp-add-form select { flex: 1; max-width: none; }
}
