/*!
 * TG 卡发商城 · 蓝卡（浅色电商风）
 * 结构：变量 → 基础 → 组件 → 页头页脚 → 页面 → 响应式
 */

:root {
	--bg: #f5f7fb;
	--card: #ffffff;
	--line: #e6eaf2;
	--line-2: #d5dce8;
	--text: #101828;
	--text-2: #475467;
	--muted: #8494a9;
	--primary: #2aabee;
	--primary-dark: #1a8fce;
	--primary-soft: #eaf7fe;
	--price: #f04438;
	--green: #12b76a;
	--orange: #f79009;
	--purple: #7a5af8;
	--radius: 12px;
	--radius-lg: 18px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
	--shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 28px -16px rgba(16, 24, 40, 0.18);
	--wrap: 1200px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Roboto, Helvetica, Arial, sans-serif;
	--mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.16s ease; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.3; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--mono); }
button { font-family: inherit; cursor: pointer; }
del { color: var(--muted); }

.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 999; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.main { padding-bottom: 20px; }
.ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; vertical-align: -0.14em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); display: inline-block; }
.dot--green { background: var(--green); }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
	font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px rgba(42, 171, 238, 0.9); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--line { background: #fff; border-color: var(--line-2); color: var(--text-2); }
.btn--line:hover { border-color: var(--primary); color: var(--primary); }
.btn--tg { background: #229ed9; color: #fff; }
.btn--tg:hover { background: #1c8cc2; color: #fff; }
.btn--lg { padding: 13px 24px; font-size: 15px; border-radius: 11px; }
.btn--sm { padding: 7px 13px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn.is-loading { opacity: 0.7; pointer-events: none; }
.mini { background: #f2f5fa; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 12px; color: var(--text-2); }
.mini:hover { color: var(--primary); border-color: var(--primary); }
.text-link { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.text-link:hover { color: var(--primary); }
.text-link .ico { width: 13px; height: 13px; }

/* ---------- 顶部公告 ---------- */
.topbar { background: var(--primary-soft); border-bottom: 1px solid #d8eefb; }
.topbar__inner { display: flex; align-items: center; gap: 12px; padding: 8px 20px; font-size: 13px; }
.topbar__tag { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: var(--primary-dark); background: #fff; border: 1px solid #bce6f9; border-radius: 4px; padding: 1px 7px; }
.topbar__list { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 18px; color: #2f6d8c; overflow: hidden; }
.topbar__list span::before { content: "·"; color: var(--primary); margin-right: 7px; }
.topbar__link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--primary-dark); }

/* ---------- 页头 ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 66px; padding: 0 20px; }

.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.brand__mark .ico { width: 19px; height: 19px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text b { font-size: 15px; font-weight: 700; }
.brand__text i { font-style: normal; font-size: 11px; color: var(--muted); }

.nav { flex: 1 1 auto; }
.nav .menu { display: flex; align-items: center; gap: 2px; }
.nav .menu > li > a { display: inline-block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.nav .menu > li > a:hover { background: #f2f7fb; color: var(--primary); }
.nav .menu > .is-active > a, .nav .current-menu-item > a { color: var(--primary); background: var(--primary-soft); font-weight: 600; }

.header__tools { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.search { display: flex; align-items: center; gap: 6px; background: #f4f7fb; border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; color: var(--muted); }
.search:focus-within { border-color: var(--primary); background: #fff; }
.search input { border: 0; background: none; outline: none; width: 132px; font-size: 13px; color: var(--text); font-family: inherit; }

.burger { display: none; width: 38px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px; }
.burger span { display: block; height: 2px; background: var(--text-2); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger.is-on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-on span:nth-child(2) { opacity: 0; }
.burger.is-on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #eef9ff 0%, #f5f7fb 100%); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding: 52px 20px 58px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--primary-dark); background: #fff; border: 1px solid #cdecfb; border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.hero__title { font-size: clamp(27px, 3.4vw, 42px); line-height: 1.22; margin-bottom: 14px; }
.hero__desc { color: var(--text-2); font-size: 15px; max-width: 540px; margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-2); }
.hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.hero__points .ico { color: var(--primary); }

.hero__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.hero__stat-no { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 6px; }
.hero__stat b { font-size: 14px; font-weight: 700; }
.hero__stat--accent { background: var(--primary); border-color: var(--primary); }
.hero__stat--accent .hero__stat-no, .hero__stat--accent b { color: #fff; }
.hero__cat { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.hero__cat-title { font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.hero__cat-list { display: flex; flex-wrap: wrap; gap: 7px; }
.hero__cat-list a { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-2); background: #f4f7fb; border-radius: 999px; padding: 3px 10px; }
.hero__cat-list a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.hero__cat-list em { font-style: normal; font-size: 11px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 54px 0; }
.section--first { padding-top: 40px; }
.section--tight { padding: 36px 0 54px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-kicker { font-size: 11px; letter-spacing: 0.2em; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.sec-title { font-size: clamp(20px, 2.3vw, 27px); margin: 0; }
.sec-title--sm { font-size: 18px; margin: 26px 0 14px; }
.sec-desc { color: var(--text-2); font-size: 13.5px; margin: 7px 0 0; }
.empty { color: var(--muted); padding: 24px 0; }

/* 分类卡 */
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cat-card { display: flex; align-items: center; gap: 10px; padding: 14px 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color 0.16s ease, transform 0.16s ease; }
.cat-card:hover { border-color: var(--primary); transform: translateY(-2px); color: inherit; }
.cat-card__ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff; flex: 0 0 auto; }
.cat-card__name { font-size: 13.5px; font-weight: 600; }
.cat-card__count { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.cat-card--blue .cat-card__ico { background: #2aabee; }
.cat-card--purple .cat-card__ico { background: #7a5af8; }
.cat-card--red .cat-card__ico { background: #f04438; }
.cat-card--teal .cat-card__ico { background: #12b76a; }
.cat-card--orange .cat-card__ico { background: #f79009; }
.cat-card--indigo .cat-card__ico { background: #6172f3; }
.cat-card--green .cat-card__ico { background: #06aed4; }

/* 商品网格 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; }
.card:hover { border-color: #c3e6f8; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: #f7fafc; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { font-family: var(--mono); font-size: 26px; font-weight: 700; color: #b9c6d6; }
.card__badge { position: absolute; left: 10px; top: 10px; background: var(--price); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.card__off { position: absolute; right: 10px; top: 10px; background: rgba(16, 24, 40, 0.72); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.card__body { display: flex; flex-direction: column; gap: 7px; padding: 14px; flex: 1 1 auto; }
.card__cat { font-size: 11px; color: var(--primary); font-weight: 600; letter-spacing: 0.04em; }
.card__title { font-size: 15px; margin: 0; line-height: 1.45; }
.card__title a:hover { color: var(--primary); }
.card__feats { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.card__feats li::before { content: "·"; color: var(--primary); margin-right: 6px; }
.card__bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.card__price { margin: 0; display: flex; align-items: baseline; gap: 5px; }
.card__price strong { font-size: 20px; font-weight: 800; color: var(--price); letter-spacing: -0.02em; }
.card__from { font-style: normal; font-size: 11.5px; color: var(--muted); }
.card__price del { font-size: 12px; }
.card__stock { margin: 0; font-size: 11.5px; color: var(--muted); }

/* 优势 */
.features { background: #fff; border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdff; }
.feature__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px; }
.feature__ico .ico { width: 18px; height: 18px; }
.feature__ico--blue { background: #e7f6fe; color: var(--primary); }
.feature__ico--green { background: #e7f8ef; color: var(--green); }
.feature__ico--purple { background: #f0edfe; color: var(--purple); }
.feature__ico--orange { background: #fff5e6; color: var(--orange); }
.feature h3 { font-size: 15px; margin-bottom: 5px; }
.feature p { font-size: 13px; color: var(--text-2); margin: 0; }

/* 步骤 */
.steps { background: #fff; border-block: 1px solid var(--line); }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step-list li { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdff; }
.step-no { font-family: var(--mono); font-size: 12px; color: var(--primary); letter-spacing: 0.1em; }
.step-list h3 { font-size: 15px; margin: 9px 0 4px; }
.step-list p { font-size: 13px; color: var(--text-2); margin: 0; }

/* 资讯 */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.n-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.18s ease, transform 0.18s ease; }
.n-card:hover { border-color: #c3e6f8; transform: translateY(-2px); }
.n-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #eef4fa; overflow: hidden; }
.n-card__media img { width: 100%; height: 100%; object-fit: cover; }
.n-card__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; background: linear-gradient(135deg, #eaf7fe, #f4f7fb); }
.n-card__ph em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.n-card__ph b { font-size: 15px; color: var(--text-2); }
.n-card__ph.tone1 { background: linear-gradient(135deg, #f0edfe, #f6f4ff); }
.n-card__ph.tone2 { background: linear-gradient(135deg, #e7f8ef, #f3fbf7); }
.n-card__ph.tone3 { background: linear-gradient(135deg, #fff5e6, #fffaf2); }
.n-card__tag { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 600; color: var(--primary-dark); background: #fff; border: 1px solid #cdecfb; padding: 1px 8px; border-radius: 999px; }
.n-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1 1 auto; }
.n-card__meta { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11.5px; color: var(--muted); }
.n-card__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.n-card__title { font-size: 15px; margin: 0; line-height: 1.45; }
.n-card__title a:hover { color: var(--primary); }
.n-card__desc { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.n-card .text-link { margin-top: auto; padding-top: 4px; }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 30px 32px; border-radius: var(--radius-lg); background: linear-gradient(120deg, #e9f7ff, #f3f0ff); border: 1px solid #cdeafb; }
.cta--flat { margin-top: 28px; }
.cta h2 { font-size: clamp(18px, 2vw, 23px); margin-bottom: 4px; }
.cta p { margin: 0; font-size: 13.5px; color: var(--text-2); }
.cta__actions { display: flex; gap: 9px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding-top: 42px; margin-top: 24px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 28px; }
.footer__brand .brand { margin-bottom: 12px; }
.footer__desc { font-size: 12.5px; color: var(--text-2); max-width: 320px; line-height: 1.8; }
.footer__time { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.footer__social { display: flex; gap: 8px; margin-top: 12px; }
.footer__social a { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); }
.footer__social a:hover { border-color: var(--primary); color: var(--primary); }
.footer__col h4 { font-size: 13px; margin-bottom: 11px; }
.footer__col ul { display: flex; flex-direction: column; gap: 7px; }
.footer__col a { font-size: 12.5px; color: var(--text-2); }
.pays { display: flex; flex-wrap: wrap; gap: 6px; }
.pay { font-size: 11.5px; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-2); background: #fbfdff; }
.pay--usdt { color: #12a37a; border-color: #c9efe3; background: #f2fcfa; }
.pay--alipay { color: #1677ff; border-color: #c9e2ff; background: #f3f8ff; }
.pay--wechat { color: #07a35a; border-color: #c9efdc; background: #f2fcf7; }
.footer__hint { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.footer__hint .ico { color: var(--primary); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-block: 15px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__legal { opacity: 0.8; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text-2); font-size: 15px; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s ease; z-index: 30; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- 面包屑 / 页头 ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 16px 20px 0; font-size: 12px; color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs em { font-style: normal; color: var(--text-2); }
.page-head { padding: 34px 0 22px; }
.page-head__title { font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 7px; }
.page-head__desc { color: var(--text-2); font-size: 14px; max-width: 720px; margin: 0; }

/* 筛选 chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text-2); }
.chip em { font-style: normal; font-size: 11px; color: var(--muted); }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.is-active em { color: rgba(255, 255, 255, 0.8); }

/* ---------- 详情页 ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 30px; padding: 14px 20px 34px; align-items: start; }
.detail__gallery { position: sticky; top: 84px; }
.detail__media { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #f7fafc; display: grid; place-items: center; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__ph { font-family: var(--mono); font-size: 32px; color: #b9c6d6; font-weight: 700; }
.detail__trust { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12px; color: var(--text-2); }
.detail__trust span { display: inline-flex; align-items: center; gap: 5px; }
.detail__trust .ico { color: var(--primary); }

.detail__info { min-width: 0; }
.pill { display: inline-block; font-size: 11.5px; color: var(--primary-dark); background: var(--primary-soft); border: 1px solid #cdecfb; border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.detail__title { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 12px; }
.detail__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.detail__price strong { font-size: 30px; font-weight: 800; color: var(--price); letter-spacing: -0.02em; }
.detail__price em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.detail__price del { font-size: 13px; }
.tag-off { font-size: 11.5px; font-weight: 700; color: var(--price); background: #fff1f0; border: 1px solid #ffd6d2; border-radius: 6px; padding: 1px 7px; }
.detail__stock { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); margin-bottom: 16px; }
.detail__stock .ico { color: var(--green); }
.detail__feats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.detail__feats li { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: var(--text-2); }
.detail__feats .ico { color: var(--green); width: 15px; height: 15px; margin-top: 4px; }

.specs-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.specs-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.specs-label em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.specs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 262px; overflow-y: auto; padding-right: 4px; margin-bottom: 16px; }
.specs__grid::-webkit-scrollbar { width: 5px; }
.specs__grid::-webkit-scrollbar-thumb { background: #dbe3ee; border-radius: 4px; }
.spec { display: block; cursor: pointer; position: relative; }
.spec input { position: absolute; opacity: 0; pointer-events: none; }
.spec__box { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 9px; background: #fbfdff; transition: border-color 0.14s ease, background 0.14s ease; }
.spec__box b { font-size: 12.5px; font-weight: 600; }
.spec__box em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--price); }
.spec__box i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.spec:hover .spec__box { border-color: var(--primary); }
.spec input:checked + .spec__box { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary) inset; }
.spec input:focus-visible + .spec__box { outline: 2px solid var(--primary); outline-offset: 2px; }
.spec.is-out { opacity: 0.45; cursor: not-allowed; }

.field { margin-bottom: 14px; }
.field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field input[type="text"], .field input[type="number"], .field input[type="search"] { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.14s ease, box-shadow 0.14s ease; }
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.14); }
.field input::placeholder { color: var(--muted); }
.hint { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; background: #fff; }
.qty__btn { width: 36px; height: 36px; border: 0; background: #f7fafc; color: var(--text-2); font-size: 16px; line-height: 1; }
.qty__btn:hover { background: var(--primary-soft); color: var(--primary); }
.qty input { width: 56px; height: 36px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--text); font-family: inherit; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pays-opt { display: flex; flex-direction: column; gap: 7px; }
.pay-opt { display: block; cursor: pointer; position: relative; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt__box { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 9px; background: #fbfdff; transition: border-color 0.14s ease, background 0.14s ease; }
.pay-opt__box b { font-size: 13px; font-weight: 600; }
.pay-opt__box em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.pay-opt input:checked + .pay-opt__box { border-color: var(--primary); background: var(--primary-soft); }
.pay-opt input:focus-visible + .pay-opt__box { outline: 2px solid var(--primary); outline-offset: 2px; }

.total { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--line); margin-bottom: 12px; }
.total span { font-size: 13px; color: var(--text-2); }
.total strong { font-size: 23px; font-weight: 800; color: var(--price); letter-spacing: -0.02em; }
.secure { display: flex; align-items: center; gap: 5px; margin: 10px 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }

/* 下单结果 */
.result { margin-top: 16px; padding: 16px; border: 1px solid #cdecfb; border-radius: var(--radius); background: #f6fcff; }
.r-head { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; }
.r-ok { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.r-head b { display: block; font-size: 14px; }
.r-head p { margin: 2px 0 0; font-size: 12px; color: var(--text-2); }
.r-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 12.5px; color: var(--text-2); }
.r-row code { font-size: 12.5px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; word-break: break-all; }
.r-row strong { color: var(--text); font-weight: 600; text-align: right; }
.r-row strong.ok { color: var(--green); }
.r-hint { margin: 9px 0 11px; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.6; color: #8a5300; background: #fff8e8; border: 1px dashed #ffd899; }
.r-note { margin: 9px 0 0; font-size: 11px; color: var(--muted); line-height: 1.6; }
.r-err { margin: 0; font-size: 13px; color: var(--price); }
.cards { display: flex; flex-direction: column; gap: 6px; margin: 11px 0; max-height: 250px; overflow-y: auto; }
.card-line { display: block; font-size: 12px; color: #0f7a4f; background: #fff; border: 1px solid #c9efdc; border-radius: 7px; padding: 6px 9px; word-break: break-all; }

/* 详情正文 */
.detail__body { padding: 0 20px 20px; }
.block { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 22px; }
.block h2 { font-size: 17px; margin-bottom: 12px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.note { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfdff; }
.note h3 { font-size: 13.5px; margin-bottom: 5px; color: var(--primary-dark); }
.note p { margin: 0; font-size: 13px; color: var(--text-2); }
.entry { color: var(--text-2); font-size: 14.5px; line-height: 1.9; max-width: 860px; }
.entry--wide { max-width: 100%; }
.entry h2 { font-size: 19px; margin-top: 1.5em; }
.entry h3 { font-size: 16px; margin-top: 1.3em; }
.entry a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry ul { list-style: disc; padding-left: 1.3em; }
.entry ol { list-style: decimal; padding-left: 1.3em; }
.entry li { margin-bottom: 0.35em; }
.entry blockquote { margin: 1.1em 0; padding: 12px 16px; border-left: 3px solid var(--primary); background: #f4fbff; border-radius: 0 8px 8px 0; }
.entry code { background: #f2f5fa; padding: 1px 5px; border-radius: 4px; font-size: 0.92em; }
.entry img, .entry figure { border-radius: 8px; }
.entry table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 8px 11px; text-align: left; }
.entry th { background: #f7fafc; }

/* ---------- 订单查询 ---------- */
.query { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; padding-bottom: 40px; align-items: start; }
.query__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.query__form .field { margin-bottom: 16px; }
.query__aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.query__aside h2 { font-size: 15px; margin-bottom: 10px; }
.query__aside ul { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.query__aside li { position: relative; padding-left: 14px; font-size: 12.5px; color: var(--text-2); }
.query__aside li::before { content: "·"; position: absolute; left: 3px; color: var(--primary); font-weight: 700; }
.query__aside .btn + .btn { margin-top: 8px; }
.query__time { margin: 10px 0 0; text-align: center; font-size: 11.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding-bottom: 40px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 9px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item[open] { border-color: #cdecfb; background: #fbfdff; }
.faq__item summary { display: flex; align-items: center; gap: 11px; padding: 14px 16px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__no { font-family: var(--mono); font-size: 11.5px; color: var(--primary); flex: 0 0 auto; }
.faq__q { flex: 1 1 auto; font-size: 14px; font-weight: 600; }
.faq__mark { position: relative; width: 13px; height: 13px; flex: 0 0 auto; }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; background: var(--text-2); border-radius: 2px; }
.faq__mark::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq__mark::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq__item[open] .faq__mark::after { transform: scaleY(0); }
.faq__a { padding: 0 16px 14px 39px; }
.faq__a p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.85; }
.faq__aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.faq__aside h2 { font-size: 15px; margin-bottom: 8px; }
.faq__aside p { font-size: 12.5px; color: var(--text-2); }
.faq__aside .btn + .btn { margin-top: 8px; }

/* ---------- 关于 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.02em; }
.stat span { font-size: 12.5px; color: var(--muted); }
.page-body { padding: 6px 20px 44px; max-width: 900px; }

/* ---------- 资讯详情 ---------- */
.news-single { padding-top: 10px; padding-bottom: 20px; }
.news-single__head { max-width: 880px; }
.news-single__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.news-single__meta .pill { margin: 0; }
.news-single__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.news-single__cover { margin: 20px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.news-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }

/* ---------- 列表 / 分页 / 空态 ---------- */
.list { display: flex; flex-direction: column; gap: 12px; }
.list__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.list__meta { margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.list__item h2 { font-size: 17px; margin-bottom: 6px; }
.list__desc { margin: 0 0 8px; font-size: 13.5px; color: var(--text-2); }
.pager { padding: 28px 0 14px; }
.pager .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; color: var(--text-2); }
.pager .page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pager .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager .dots { border: 0; }
.empty-state { padding: 48px 0 64px; text-align: center; }
.empty-state h2 { font-size: 18px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 13.5px; }
.empty-state .btn { margin-top: 10px; }
.result-list { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; }
.result-list a { font-size: 14px; color: var(--text-2); }
.result-list a:hover { color: var(--primary); }
.search-again { display: flex; gap: 8px; margin-top: 12px; max-width: 440px; }
.search-again input { flex: 1 1 auto; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 14px; font-family: inherit; outline: none; }
.search-again input:focus { border-color: var(--primary); }
.search-again--center { margin: 22px auto 0; }

/* ---------- 404 ---------- */
.notfound { padding: 60px 0 80px; }
.notfound__inner { text-align: center; }
.notfound__code { font-family: var(--mono); font-size: clamp(64px, 10vw, 110px); font-weight: 800; line-height: 1; margin: 0 0 8px; color: #dbe9f4; letter-spacing: -0.04em; }
.notfound h1 { font-size: clamp(20px, 2.6vw, 27px); }
.notfound__desc { color: var(--text-2); max-width: 520px; margin: 0 auto 20px; font-size: 14px; }
.notfound__actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }

/* ---------- 品牌兜底封面 ---------- */
.cover-fb { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 46%, transparent 66%), var(--fb); }
.cover-fb img { width: 34%; height: 34%; max-width: 150px; max-height: 150px; }
.cover-fb__mark { font-family: var(--mono); font-size: 26px; font-weight: 700; color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
	.hero__inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px 44px; }
	.hero__panel { grid-template-columns: repeat(4, 1fr); }
	.hero__cat { grid-column: 1 / -1; }
	.detail { grid-template-columns: 1fr; }
	.detail__gallery { position: static; max-width: 420px; }
	.footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 900px) {
	.search { display: none; }
	.burger { display: flex; }
	.nav { position: fixed; left: 0; right: 0; top: 66px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 14px; display: none; box-shadow: var(--shadow); max-height: calc(100vh - 66px); overflow-y: auto; }
	.nav.is-open { display: block; }
	.nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav .menu > li > a { padding: 11px 10px; font-size: 15px; }
	.header__tools .btn--line { display: none; }
	.query, .faq { grid-template-columns: 1fr; }
	.step-list { grid-template-columns: 1fr; }
	.hero__panel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.wrap { padding: 0 15px; }
	.header__inner { padding: 0 15px; gap: 10px; min-height: 62px; }
	.nav { top: 62px; }
	.brand__text i { display: none; }
	.hero__title { font-size: 25px; }
	.hero__points { gap: 10px; font-size: 12px; }
	.section { padding: 38px 0; }
	.sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
	.card__body { padding: 11px; gap: 6px; }
	.card__title { font-size: 13.5px; }
	.card__price strong { font-size: 17px; }
	.card__feats { display: none; }
	.specs__grid { grid-template-columns: 1fr; max-height: 300px; }
	.detail { padding: 10px 15px 26px; }
	.detail__body, .page-body { padding-inline: 15px; }
	.crumbs { padding: 12px 15px 0; }
	.topbar__list { gap: 10px; font-size: 12px; }
	.topbar__link span { display: none; }
	.footer__grid { grid-template-columns: 1fr; }
	.footer__bottom { flex-direction: column; align-items: flex-start; }
	.cta { padding: 22px; }
	.to-top { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
	html { scroll-behavior: auto; }
}

/* ---------- 差异化组件：参数表 / 档位价格表 / 阶梯速览 / 发卡流水 / 排序 / 杂志布局 ---------- */
.table-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 13px; }
.spec-table caption { text-align: left; padding: 11px 14px; font-weight: 700; font-size: 13px; color: var(--text); background: #fbfdff; border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table th[scope="row"] { width: 40%; font-weight: 600; color: var(--text-2); background: #fbfdff; font-size: 12.5px; }
.spec-table thead th { background: #f7fafc; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; }
.spec-table--price tbody tr:hover { background: #f9fcff; }
.spec-table--price td strong { color: var(--price); font-weight: 700; }
.spec-table .off { color: var(--green); font-weight: 700; font-size: 12px; background: #e7f8ef; border-radius: 5px; padding: 1px 6px; }
.spec-table .muted { color: var(--muted); }

.ladder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow-sm); }
.ladder__table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 660px; }
.ladder__table th, .ladder__table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.ladder__table thead th { background: #f7fafc; color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ladder__table tbody tr:last-child th, .ladder__table tbody tr:last-child td { border-bottom: 0; }
.ladder__table tbody tr:hover { background: #f9fcff; }
.ladder__table tbody th { font-weight: 600; font-size: 13px; min-width: 190px; }
.ladder__table tbody th a { color: var(--text); }
.ladder__table tbody th a:hover { color: var(--primary); }
.ladder__table tbody th em { display: block; font-style: normal; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.ladder__table td strong { display: block; color: var(--price); font-weight: 700; font-size: 13.5px; }
.ladder__table td em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 1px; }
.ladder__table td.is-out { opacity: .55; }

.flows { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-sm); }
.flow-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; font-size: 12.5px; }
.flow-row:nth-child(odd) { background: #fbfdff; }
.flow-row__ok { width: 18px; height: 18px; border-radius: 50%; background: #e7f8ef; color: var(--green); display: grid; place-items: center; flex: 0 0 auto; }
.flow-row__ok .ico { width: 11px; height: 11px; }
.flow-row__user { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); min-width: 92px; }
.flow-row__what { flex: 1 1 auto; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-row__qty { color: var(--muted); white-space: nowrap; }
.flow-row__time { color: var(--muted); font-size: 11.5px; white-space: nowrap; min-width: 62px; text-align: right; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); background: #e7f8ef; border: 1px solid #c9efdc; border-radius: 999px; padding: 3px 11px; }
.live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: tgpulse 1.6s ease-in-out infinite; }
@keyframes tgpulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.flow-section { background: #fff; border-block: 1px solid var(--line); }
.ladder-section { background: #fbfdff; }

.sortbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sortbar__count { margin: 0; font-size: 13px; color: var(--text-2); }
.sortbar__count strong { color: var(--text); }
.sortbar__links { display: flex; gap: 4px; flex-wrap: wrap; }
.sortlink { font-size: 12.5px; padding: 5px 11px; border-radius: 7px; color: var(--text-2); border: 1px solid transparent; }
.sortlink:hover { background: #f2f7fb; color: var(--primary); }
.sortlink.is-on { background: var(--primary-soft); color: var(--primary-dark); border-color: #cdecfb; font-weight: 600; }

.news-grid--magazine .n-card--lead { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; }
.news-grid--magazine .n-card--lead .n-card__media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.news-grid--magazine .n-card--lead .n-card__body { justify-content: center; padding: 20px; }
.news-grid--magazine .n-card--lead .n-card__title { font-size: 19px; }
.news-grid--magazine .n-card--lead .n-card__desc { font-size: 13.5px; }

@media (max-width: 1000px) {
	.table-grid { grid-template-columns: 1fr; }
	.news-grid--magazine .n-card--lead { grid-column: span 2; grid-template-columns: 1fr; }
	.news-grid--magazine .n-card--lead .n-card__media { aspect-ratio: 16 / 9; min-height: 0; }
}

@media (max-width: 640px) {
	.news-grid--magazine .n-card--lead { grid-column: auto; }
	.flow-row__user { min-width: 70px; }
	.flow-row__what { font-size: 12px; }
	.sortbar { gap: 8px; }
}