/**
 * 猫秀广告官网 — 全站样式
 * 设计基因（与定稿卡/视觉体系总纲一致）：
 *  品牌红 #E02020（深压 #B81515）只做点睛，禁大面积铺底
 *  暖纸白 #FAF9F6 底色、暖灰阶文字、藏青黑夜色、禁纯黑
 *  8px 栅格、圆角 8/14/22 三档、留白 > 发丝线 > 浅底 > 柔和投影
 *  正文阿里巴巴普惠体 / 标题优设标题黑 / 数字 IBM Plex Mono
 */

/* 字体：WOFF2 子集优先（全站用字约 520 字，223KB），老浏览器回落完整 TTF。
   WOFF2 未包含的生僻字自动回落到系统字体，不会掉字。 */
@font-face {
	font-family: "Alibaba PuHuiTi";
	src: url("../fonts/Alibaba-PuHuiTi-Regular.woff2") format("woff2"),
	     url("../fonts/Alibaba-PuHuiTi-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Alibaba PuHuiTi";
	src: url("../fonts/Alibaba-PuHuiTi-Medium.woff2") format("woff2"),
	     url("../fonts/Alibaba-PuHuiTi-Medium.ttf") format("truetype");
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Alibaba PuHuiTi";
	src: url("../fonts/Alibaba-PuHuiTi-Bold.woff2") format("woff2"),
	     url("../fonts/Alibaba-PuHuiTi-Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "优设标题黑";
	src: url("../fonts/youshe-hei.woff2") format("woff2"),
	     url("../fonts/youshe-hei.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2"),
	     url("../fonts/IBMPlexMono-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}

:root {
	--red: #E02020;
	--red-deep: #B81515;
	--paper: #FAF9F6;
	--white: #FFFFFF;
	--ink: #1B1C20;
	--ink-2: #3D3F46;
	--ink-3: #83868E;
	--night: #0C0E13;
	--line: rgba(27, 28, 32, 0.08);
	--line-strong: rgba(27, 28, 32, 0.16);
	--r-s: 8px;
	--r-m: 14px;
	--r-l: 22px;
	--font-body: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
	--font-title: "优设标题黑", "Alibaba PuHuiTi", "PingFang SC", sans-serif;
	--font-num: "IBM Plex Mono", Consolas, monospace;
	--shadow: 0 8px 24px rgba(12, 14, 19, 0.08);
	--shadow-lift: 0 16px 40px rgba(12, 14, 19, 0.14);
	--container: 1200px;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-2);
	background: var(--paper);
	word-break: break-word;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 0.5em; }

h1, .h1 { font-family: var(--font-title); font-size: 52px; font-weight: 400; letter-spacing: 0.01em; }
h2, .h2 { font-family: var(--font-title); font-size: 38px; font-weight: 400; }
h3, .h3 { font-size: 30px; font-weight: 700; }
h4 { font-size: 20px; font-weight: 700; }
small, .text-sm { font-size: 14px; }
.num { font-family: var(--font-num); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99; background: var(--white); padding: 8px 16px; border-radius: var(--r-s); }

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 32px;
	border-radius: var(--r-s);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); color: var(--white); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-lg { padding: 16px 44px; font-size: 18px; }

/* ---------- 头部 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 249, 246, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
	font-family: var(--font-title);
	font-size: 22px;
	color: var(--white);
	background: var(--red);
	padding: 2px 10px;
	border-radius: var(--r-s);
}
.brand-name { font-weight: 700; color: var(--ink); font-size: 18px; }

/* 书法字 Logo（红色字标 + 黑色行书，透明底） */
.brand .custom-logo,
.brand .brand-logo {
	height: 48px;
	width: auto;
	max-height: 56px;
	display: block;
}
.brand .custom-logo-link { display: block; line-height: 0; }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a {
	display: block;
	padding: 8px 11px;
	font-size: 15px;
	white-space: nowrap;
	color: var(--ink-2);
	border-radius: var(--r-s);
}
.nav-list > li > a:hover { color: var(--ink); background: rgba(27, 28, 32, 0.04); }
/* 二级下拉 */
.nav-list li { position: relative; }
.nav-list li > ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 160px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	box-shadow: var(--shadow);
	padding: 8px;
	list-style: none;
	margin: 0;
	z-index: 60;
}
.nav-list li:hover > ul { display: block; }
.nav-list li > ul a { display: block; padding: 8px 12px; font-size: 15px; border-radius: var(--r-s); }
.nav-list li > ul a:hover { background: var(--paper); color: var(--red); }
.header-cta { white-space: nowrap; flex-shrink: 0; }

.nav-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 72vh;
	display: flex;
	align-items: center;
	background: var(--night) center / cover no-repeat;
	color: var(--white);
}
.hero-overlay { position: absolute; inset: 0; background: rgba(12, 14, 19, 0.45); }
.hero-inner { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero-title { font-family: var(--font-title); font-size: 80px; font-weight: 400; color: var(--white); margin-bottom: 16px; letter-spacing: 0.02em; }
.hero-sub { font-size: 26px; color: rgba(255, 255, 255, 0.85); margin: 0 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-title { margin: 0 0 40px; }
.section-head .section-title { margin: 0; }
.section-link { font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.section-link:hover { color: var(--red); }

/* ---------- 业务大卡 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.biz-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.25s, box-shadow 0.25s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); color: inherit; }
.biz-card-img { height: 320px; background: var(--night) center / cover no-repeat; }
.biz-card-body { padding: 32px; }
.biz-card-body h3 { margin: 0 0 8px; font-size: 30px; }
.biz-card-body p { margin: 0 0 16px; color: var(--ink-3); }
.biz-card-more { color: var(--red); font-size: 15px; font-weight: 500; }

/* ---------- 通用卡片栅格（案例/知识/商城共用，Sony 式陈列） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	overflow: hidden;
	transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--paper), var(--white)); }
.card-body { padding: 20px 24px 24px; }
.card-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.card-excerpt { font-size: 15px; margin: 0 0 8px; color: var(--ink-3); }
.card-meta { font-size: 13px; color: var(--ink-3); margin: 0; }

/* ---------- 商城入口横幅 ---------- */
.shop-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 48px 56px;
	background: var(--night);
	border-radius: var(--r-l);
	color: var(--white);
	flex-wrap: wrap;
}
.shop-banner:hover { color: var(--white); }
.shop-banner-title { font-family: var(--font-title); font-size: 38px; font-weight: 400; color: var(--white); margin: 0 0 8px; }
.shop-banner p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 17px; }

/* ---------- CTA 带 ---------- */
.cta-band { background: var(--night); padding: 96px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-title); font-size: 38px; font-weight: 400; color: var(--white); margin: 0 0 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.7); }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.9fr 0.85fr 0.85fr 0.95fr 1.25fr; gap: 32px; padding: 72px 24px 48px; }
.footer-logo { display: inline-block; line-height: 0; margin: 0 0 18px; }
.footer-logo img { display: block; height: 50px; width: auto; max-width: 100%; }
.footer-tag { line-height: 1.8; margin: 0; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 15px; }
.site-footer a:hover { color: var(--white); }
.footer-contact li { line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 24px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer-bottom p { margin: 4px 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- 正文排版（关于/知识详情） ---------- */
.page-section { padding-top: 72px; }
.page-title { margin-bottom: 40px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; background: var(--white); border-radius: var(--r-s); overflow: hidden; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.prose th { background: var(--paper); color: var(--ink); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose blockquote { margin: 1.6em 0; padding: 16px 24px; border-left: 3px solid var(--red); background: var(--white); border-radius: 0 var(--r-s) var(--r-s) 0; }
.prose img { border-radius: var(--r-m); }

/* ---------- 业务栏目页（门头/文化墙） ---------- */
.category-band { padding: 64px 0; }
.category-band-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.term-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	padding: 28px;
	transition: transform 0.25s, box-shadow 0.25s;
}
.term-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.term-card h3 { font-size: 22px; margin: 0 0 8px; }
.term-card p { margin: 0; font-size: 15px; color: var(--ink-3); }
.term-card .term-count { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--red); font-weight: 500; }
.selling-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.selling-point { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 28px; }
.selling-point h3 { font-size: 20px; margin: 0 0 8px; }
.selling-point p { margin: 0; font-size: 15px; color: var(--ink-3); }
.selling-point .num-big { font-family: var(--font-num); color: var(--red); font-size: 26px; display: block; margin-bottom: 8px; }

/* ---------- 报价器 ---------- */
.baojia-form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	padding: 48px;
	box-shadow: var(--shadow);
	max-width: 760px;
	margin: 0 auto;
}
.form-row { margin-bottom: 24px; }
.form-row label { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.form-row .hint { font-weight: 400; color: var(--ink-3); font-size: 13px; margin-left: 8px; }
.baojia-form select,
.baojia-form input[type="number"],
.baojia-form input[type="text"],
.baojia-form input[type="tel"],
.baojia-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-s);
	font-family: inherit;
	font-size: 16px;
	background: var(--paper);
	color: var(--ink);
}
.baojia-form input:focus, .baojia-form select:focus, .baojia-form textarea:focus {
	outline: 2px solid var(--red);
	outline-offset: 1px;
	border-color: transparent;
}
.dim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.baojia-result {
	margin-top: 32px;
	padding: 32px;
	border-radius: var(--r-m);
	background: var(--night);
	color: var(--white);
	text-align: center;
}
.baojia-result .price {
	font-family: var(--font-num);
	font-size: 48px;
	color: var(--red);
	background: none;
}
.baojia-result .price-note { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin-top: 8px; }
.baojia-result .price-unset { color: rgba(255, 255, 255, 0.85); font-size: 18px; }

/* ---------- 预约表单提交结果 ---------- */
.form-notice { padding: 20px 28px; border-radius: var(--r-m); margin-bottom: 40px; font-weight: 500; }
.form-notice-ok { background: #F0FAF4; color: #1F7A3D; border: 1px solid #BFE5CC; }
.form-notice-err { background: #FDF1F1; color: var(--red-deep); border: 1px solid #F3CACA; }

/* ---------- WooCommerce 商城 ---------- */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products li.product {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	overflow: hidden;
	padding: 0;
	margin: 0;
	width: 100%;
	float: none;
	transition: transform 0.25s, box-shadow 0.25s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { color: inherit; display: block; }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; transition: transform 0.3s; }
.woocommerce ul.products li.product:hover img { transform: scale(1.03); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
	padding: 16px 20px 4px;
}
.woocommerce ul.products li.product .price {
	font-family: var(--font-num);
	color: var(--red);
	font-size: 20px;
	padding: 4px 20px 20px;
	margin: 0;
}
.woocommerce ul.products li.product .price del { color: var(--ink-3); opacity: 0.6; font-size: 14px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; font-weight: 400; }
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--red);
	color: var(--white);
	border-radius: var(--r-s);
	font-family: inherit;
	font-weight: 500;
	padding: 10px 20px;
	transition: background 0.2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--red-deep); color: var(--white); }
.woocommerce .woocommerce-message { border-top-color: var(--red); }
.woocommerce span.onsale { background: var(--red); font-family: var(--font-num); }
.woocommerce div.product p.price { font-family: var(--font-num); color: var(--red); font-size: 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--red); border-bottom: 2px solid var(--red); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 32px; }
.contact-card h3 { margin-top: 0; }
.contact-map { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--ink-3); }

/* ---------- 分页 ---------- */
.pagination { margin-top: 48px; text-align: center; }
.pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 4px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-s);
	font-family: var(--font-num);
	font-size: 15px;
}
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

.empty-note { color: var(--ink-3); text-align: center; padding: 64px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
	.header-inner { gap: 16px; }
	.nav-list > li > a { padding: 8px 8px; font-size: 14px; }
	.header-cta { font-size: 14px; padding-left: 14px; padding-right: 14px; }
}

@media (max-width: 1024px) {
	.card-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero-title { font-size: 60px; }
	h1, .h1 { font-size: 44px; }
}
@media (max-width: 768px) {
	.section { padding: 56px 0; }
	.brand .custom-logo, .brand .brand-logo { height: 38px; }
	.header-cta { display: none; }
	.hero { min-height: 60vh; }
	.hero-title { font-size: 44px; }
	.hero-sub { font-size: 20px; }
	.biz-grid { grid-template-columns: 1fr; }
	.category-band-inner { grid-template-columns: 1fr; }
	.selling-points { grid-template-columns: 1fr; }
	.card-grid, .card-grid-3 { grid-template-columns: 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.contact-grid { grid-template-columns: 1fr; }
	.baojia-form { padding: 28px 20px; }
	.shop-banner { padding: 32px 24px; }
	h1, .h1 { font-size: 38px; }
	h2, .h2, .shop-banner-title, .cta-band h2 { font-size: 30px; }
	h3, .h3 { font-size: 24px; }

	/* 移动端抽屉导航 */
	.nav-toggle { display: block; margin-left: auto; }
	.primary-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		padding: 16px 24px 24px;
	}
	.site-header.nav-open .primary-nav { display: block; }
	.primary-nav .nav-list { flex-direction: column; gap: 0; }
	.primary-nav .nav-list li > a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.primary-nav .nav-list li > ul { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: none; }
	.header-cta { display: none; }
	.site-header.nav-open .header-cta { display: none; }
	.footer-grid { grid-template-columns: 1fr; padding-top: 48px; gap: 32px; }
	.footer-bottom { padding: 20px 24px; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- 无障碍：焦点可见 ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 2px;
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
	* { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- 案例筛选标签 / 案例详情 ---------- */
.filter-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
	display: inline-block;
	padding: 8px 20px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 15px;
	color: var(--ink-2);
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip-active { background: var(--red); border-color: var(--red); color: var(--white); }
.chip-active:hover { color: var(--white); }
.chip-sm { padding: 4px 14px; font-size: 13px; margin-right: 8px; }
.case-tags { margin: -24px 0 32px; }
.case-hero { margin: 0 0 32px; border-radius: var(--r-l); overflow: hidden; }
.case-hero img { width: 100%; }
.case-cta { margin-top: 48px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); text-align: center; }
.case-cta p { color: var(--ink); font-weight: 700; margin: 0 0 16px; }
.section-note { margin-top: 32px; color: var(--ink-3); font-size: 15px; }

/* ---------- Logo 尺寸兜底（防止插件样式覆盖导致溢出） ---------- */
.site-header .brand img.custom-logo,
.site-header .brand img.brand-logo {
	display: block;
	width: auto !important;
	height: 46px !important;
	max-width: 240px;
	max-height: none;
}
.site-header .brand { min-width: 0; }

@media (max-width: 768px) {
	.site-header .brand img.custom-logo,
	.site-header .brand img.brand-logo {
		height: 34px !important;
		max-width: 150px;
	}
	/* 手机端主标题：避免「门头牌匾 · 室内文化墙」被切掉尾巴 */
	.hero-title { font-size: 31px; line-height: 1.4; letter-spacing: 0; }
	.hero-sub { font-size: 17px; }
}

/* ---------- Logo 尺寸兜底（防止插件样式覆盖导致溢出） ---------- */
.site-header .brand img.custom-logo,
.site-header .brand img.brand-logo {
	display: block;
	width: auto !important;
	height: 46px !important;
	max-width: 240px;
	max-height: none;
}
.site-header .brand { min-width: 0; }

@media (max-width: 768px) {
	.site-header .brand img.custom-logo,
	.site-header .brand img.brand-logo {
		height: 34px !important;
		max-width: 150px;
	}
	/* 手机端主标题：避免「门头牌匾 · 室内文化墙」被切掉尾巴 */
	.hero-title { font-size: 31px; line-height: 1.4; letter-spacing: 0; }
	.hero-sub { font-size: 17px; }
	/* 页脚 Logo */
	.footer-logo img { height: 36px; }
}


/* ---------- 文章详情页（门头知识） ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--red); }

.article-title { font-size: 34px; line-height: 1.35; margin-bottom: 16px; }
.article-meta { font-size: 14px; color: var(--ink-3); margin-bottom: 40px; }
.article-meta a { color: var(--ink-3); }
.article-meta a:hover { color: var(--red); }

.article-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	margin-top: 48px; padding: 28px 32px;
	background: var(--night); border-radius: var(--r-m);
}
.article-cta-text h2 { font-family: var(--font-title); font-size: 24px; font-weight: 400; color: var(--white); margin: 0 0 6px; }
.article-cta-text p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.article-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.article-cta .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.article-cta .btn-ghost:hover { border-color: var(--white); }

.article-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-related-title { font-size: 20px; margin: 0 0 16px; }
.article-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.article-related li a {
	display: block; padding: 14px 20px; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--r-s);
	color: var(--ink); font-size: 15px; transition: border-color .2s;
}
.article-related li a:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 768px) {
	.article-title { font-size: 25px; }
	.article-cta { padding: 24px; }
}

/* 表格横向滚动容器（手机端不挤压列宽） */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; }
.table-scroll table { margin: 0; min-width: 560px; }
@media (max-width: 768px) {
	.prose .table-scroll table { min-width: 520px; }
}

/* 表格横向滚动容器（手机端不挤压列宽） */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; }
.table-scroll table { margin: 0; min-width: 560px; }
@media (max-width: 768px) {
	.prose .table-scroll table { min-width: 520px; }
}

/* ================================================================
   v1.1 UI 改版（2026-11-05）
   目标：首屏有画面、层级更清楚、卡片去黑块、手机端有固定操作条
   规则：品牌红只做点睛；8px 栅格；圆角 8/14/22；留白 > 线 > 底 > 影
   ================================================================ */

:root {
	/* 正文灰阶提亮（原 #83868E 在暖纸白上仅 3.4:1，不达 WCAG AA） */
	--ink-3: #6C6F78;
	--shadow: 0 8px 24px rgba(12, 14, 19, 0.06);
	--shadow-lift: 0 20px 44px rgba(12, 14, 19, 0.13);
}

/* ---------- 页头 ---------- */
.header-inner { height: 76px; gap: 32px; }
.nav-list > li > a { padding: 9px 13px; letter-spacing: 0.02em; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(12, 14, 19, 0.07); }

.nav-backdrop {
	position: fixed; inset: 0; z-index: 40;
	background: rgba(12, 14, 19, 0.45);
	opacity: 0; pointer-events: none;
	transition: opacity 0.25s;
}
.site-header.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* ---------- 首屏 ---------- */
.hero {
	min-height: 78vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--night);
	overflow: hidden;
}
.hero-bg {
	position: absolute; inset: 0;
	background: var(--night) center / cover no-repeat;
	transform: scale(1.03);
}
.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(12, 14, 19, 0.94) 0%, rgba(12, 14, 19, 0.78) 42%, rgba(12, 14, 19, 0.42) 100%);
}
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 88px; max-width: 1200px; }

.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 28px;
	font-family: var(--font-num);
	font-size: 13px; letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.7);
}
.hero-eyebrow .dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--red); box-shadow: 0 0 0 4px rgba(224, 32, 32, 0.2);
}
.hero-title {
	font-size: 80px; line-height: 1.08; letter-spacing: 0.02em;
	margin: 0 0 20px; color: var(--white);
}
.hero-sub { font-size: 26px; color: rgba(255, 255, 255, 0.88); margin: 0 0 18px; }
.hero-lead {
	font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, 0.62);
	max-width: 30em; margin: 0 0 40px;
}

.hero-foot { position: relative; background: rgba(12, 14, 19, 0.3); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-foot-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 24px; }
.hero-stat { display: flex; flex-direction: column; gap: 8px; }
.hero-stat-k { font-family: var(--font-num); font-size: 12px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.45); }
.hero-stat-v { font-size: 16px; color: rgba(255, 255, 255, 0.92); line-height: 1.5; }

/* ---------- 信任条 ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 24px; }
.trust-item:last-child { border-right: 0; }
.trust-k { font-family: var(--font-num); font-size: 13px; color: var(--red); letter-spacing: 0.06em; }
.trust-t { font-size: 16px; color: var(--ink); }

/* ---------- 区块小标签 ---------- */
.section-eyebrow {
	margin: 0 0 12px;
	font-family: var(--font-num);
	font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--red);
}
.section-head { align-items: flex-end; }
.section-title { margin: 0; }
.section-head .section-title { font-size: 52px; line-height: 1.16; }
.section-head + * { margin-top: 40px; }

/* ---------- 业务大卡（去黑块，图+说明分离） ---------- */
.biz-card {
	background: transparent; border: 0; box-shadow: none;
	border-radius: var(--r-l); overflow: visible;
}
.biz-card:hover { transform: none; box-shadow: none; }
.biz-card-img {
	position: relative; height: auto; aspect-ratio: 3 / 2;
	background: #0E1015; border-radius: var(--r-l); overflow: hidden;
}
.biz-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.biz-card:hover .biz-card-img img { transform: scale(1.045); }
.biz-card-arrow {
	position: absolute; right: 20px; bottom: 20px;
	width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, 0.94); color: var(--ink);
	font-size: 18px; line-height: 1;
	transition: background 0.25s, color 0.25s, transform 0.25s;
}
.biz-card:hover .biz-card-arrow { background: var(--red); color: var(--white); transform: rotate(-45deg); }
.biz-card-body { padding: 26px 4px 0; }
.biz-card-body h3 { font-size: 38px; margin: 0 0 10px; }
.biz-card-body p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-3); max-width: 30em; }

/* ---------- 工艺四步 ---------- */
.steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line-strong);
}
.step { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step-num { display: block; margin-bottom: 18px; font-family: var(--font-num); font-size: 14px; color: var(--red); letter-spacing: 0.08em; }
.step h3 { font-size: 26px; margin: 0 0 10px; }
.step p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-3); }

/* ---------- 卡片细节 ---------- */
.card { transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card-img--text {
	aspect-ratio: 16 / 10; display: flex; align-items: flex-end;
	padding: 24px; background: linear-gradient(135deg, #171A21 0%, #0C0E13 100%);
}
.card-img--text span { font-family: var(--font-title); font-size: 24px; line-height: 1.35; color: rgba(255, 255, 255, 0.92); }

/* ---------- 商城横幅 ---------- */
.shop-banner {
	position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 48px 56px; background: var(--night); border-radius: var(--r-l);
}
.shop-banner::after {
	content: ""; position: absolute; right: -80px; top: -80px;
	width: 300px; height: 300px; border-radius: 50%;
	background: radial-gradient(circle, rgba(224, 32, 32, 0.32) 0%, rgba(224, 32, 32, 0) 70%);
}
.shop-banner-body { position: relative; z-index: 1; }
.shop-banner-title { font-size: 38px; line-height: 1.2; color: var(--white); margin: 0 0 12px; }
.shop-banner p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 16px; }
.shop-banner .section-eyebrow { color: rgba(255, 255, 255, 0.45); }
.shop-banner .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- 页脚补充 ---------- */
.footer-area { margin: 14px 0 0; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }

/* ---------- 手机端固定操作条 ---------- */
.mobile-bar { display: none; }

/* ---------- 断点 ---------- */
@media (max-width: 1024px) {
	.hero-title { font-size: 52px; }
	.section-head .section-title { font-size: 38px; }
	.biz-card-body h3 { font-size: 30px; }
	.step { padding-right: 20px; }
	.step + .step { padding-left: 20px; }
	.step h3 { font-size: 22px; }
}

@media (max-width: 768px) {
	.header-inner { height: 64px; gap: 16px; }
	.site-header .primary-nav {
		position: fixed; top: 64px; left: 0; right: 0;
		max-height: calc(100vh - 64px); overflow-y: auto;
		background: var(--paper); z-index: 45;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 40px rgba(12, 14, 19, 0.12);
	}

	.hero { min-height: auto; }
	.hero-bg { background-position: 62% center; }
	.hero-overlay { background: linear-gradient(180deg, rgba(12, 14, 19, 0.55) 0%, rgba(12, 14, 19, 0.86) 55%, rgba(12, 14, 19, 0.95) 100%); }
	.hero-inner { padding: 64px 0 44px; }
	.hero-eyebrow { font-size: 12px; margin-bottom: 18px; }
	.hero-title { font-size: 38px; line-height: 1.2; margin-bottom: 14px; }
	.hero-sub { font-size: 19px; margin-bottom: 14px; }
	.hero-lead { font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
	.hero-actions { gap: 12px; }
	.hero-actions .btn { flex: 1; padding: 14px 20px; font-size: 16px; }
	.hero-foot-inner { grid-template-columns: 1fr; gap: 0; padding: 0 24px 20px; }
	.hero-stat {
		flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px;
		padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	.hero-stat:last-child { border-bottom: 0; padding-bottom: 4px; }
	.hero-stat-v { font-size: 15px; text-align: right; }

	.trust-bar-inner { grid-template-columns: 1fr 1fr; }
	.trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 16px; }
	.trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
	.trust-item:nth-last-child(-n+2) { border-bottom: 0; }
	.trust-item:first-child { padding-left: 16px; }
	.trust-t { font-size: 15px; }

	.section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.section-head .section-title { font-size: 30px; }

	.biz-card-img { aspect-ratio: 16 / 10; }
	.biz-card-body { padding: 20px 2px 0; }
	.biz-card-body h3 { font-size: 26px; }
	.biz-card-arrow { width: 38px; height: 38px; right: 14px; bottom: 14px; font-size: 16px; }

	.steps { grid-template-columns: 1fr; border-top: 0; }
	.step, .step + .step { padding: 22px 0; border-right: 0; border-top: 1px solid var(--line); }
	.step-num { margin-bottom: 10px; }
	.step h3 { font-size: 22px; }

	.shop-banner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 24px; }
	.shop-banner-title { font-size: 28px; }
	.shop-banner .btn { width: 100%; }

	.card-img--text span { font-size: 20px; }

	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(250, 249, 246, 0.96);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--line);
	}
	.mobile-bar-btn {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		height: 48px; border-radius: var(--r-s);
		border: 1px solid var(--line-strong); background: var(--white);
		font-size: 16px; font-weight: 500; color: var(--ink);
	}
	.mobile-bar-btn--primary { background: var(--red); border-color: var(--red); color: var(--white); }
	.mobile-bar-btn:active { transform: scale(0.985); }
	body { padding-bottom: 78px; }
}

/* ---------- 首屏：左文案 + 右实景图（替代全黑大图） ---------- */
.hero {
	position: relative;
	display: block;
	min-height: 0;
	overflow: hidden;
	background:
		radial-gradient(120% 85% at 84% 12%, #1C2029 0%, #0E1117 46%, #0A0C11 100%);
}
.hero-glow {
	position: absolute; right: -8%; top: -18%;
	width: 58%; height: 130%; pointer-events: none;
	background: radial-gradient(circle, rgba(224, 32, 32, 0.18) 0%, rgba(224, 32, 32, 0) 62%);
}
.hero-grid {
	position: relative;
	display: grid; grid-template-columns: 1.04fr 0.96fr;
	gap: 64px; align-items: center;
	padding: 88px 24px 72px;
}
.hero-copy { max-width: 560px; }
.hero-visual { margin: 0; position: relative; }
.hero-visual img {
	display: block; width: 100%; height: auto;
	border-radius: var(--r-l);
	box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero .hero-title { font-size: 80px; }
.hero .hero-lead { max-width: 26em; }

@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px 48px; }
	.hero-copy { max-width: 100%; }
	.hero .hero-title { font-size: 52px; }
	.hero-visual img { border-radius: var(--r-m); }
}

@media (max-width: 768px) {
	.hero-grid { gap: 28px; padding: 40px 20px 28px; }
	.hero .hero-title { font-size: 38px; }
	.hero .hero-sub { font-size: 19px; }
	.hero .hero-lead { font-size: 15px; margin-bottom: 26px; }
	.hero-visual img { box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5); }
}

/* 首屏标题分两行 + 文案列宽微调 */
.hero-title-line { display: block; }
.hero-copy { max-width: 600px; }
.hero .hero-lead { max-width: 25em; }

@media (max-width: 768px) {
	.hero-copy { max-width: 100%; }
	.hero .hero-lead { max-width: 100%; }
}

/* 首屏标题分两行 + 文案列宽微调 */
.hero-title-line { display: block; }
.hero-copy { max-width: 600px; }
.hero .hero-lead { max-width: 25em; }

@media (max-width: 768px) {
	.hero-copy { max-width: 100%; }
	.hero .hero-lead { max-width: 100%; }
}

/* ---------- 页面导语 ---------- */
.page-lead { max-width: 44em; font-size: 17px; line-height: 1.8; color: var(--ink-3); margin: -16px 0 40px; }

/* ---------- 空状态 ---------- */
.empty-state {
	padding: 64px 40px; text-align: center;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
}
.empty-state-k { margin: 0 0 16px; font-family: var(--font-num); font-size: 12px; letter-spacing: 0.18em; color: var(--red); }
.empty-state h2 { margin: 0 0 14px; font-size: 38px; line-height: 1.25; }
.empty-state p { max-width: 36em; margin: 0 auto 28px; color: var(--ink-3); line-height: 1.85; }
.empty-state-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.err-wrap { padding: 112px 0 96px; }
.err-code { font-family: var(--font-num); font-size: 112px; line-height: 1; color: var(--red); margin: 0 0 24px; }
.err-title { font-size: 52px; margin: 0 0 16px; }
.err-desc { color: var(--ink-3); margin: 0 0 32px; font-size: 17px; }
.err-links { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.err-search { max-width: 420px; }
.err-search input[type="search"] {
	width: 100%; padding: 14px 18px; font-size: 16px; color: var(--ink);
	background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-s);
}
.err-popular { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.err-popular h2 { font-size: 20px; margin: 0 0 16px; }
.err-popular ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.err-popular li a { color: var(--ink-2); }
.err-popular li a:hover { color: var(--red); }

@media (max-width: 768px) {
	.err-wrap { padding: 64px 0 56px; }
	.err-code { font-size: 80px; margin-bottom: 18px; }
	.err-title { font-size: 30px; }
	.empty-state { padding: 40px 20px; }
	.empty-state h2 { font-size: 26px; }
}

/* 屏幕阅读器专用文本 */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ================================================================
   报价器（与小程序同一套算法）
   ================================================================ */
.calc { margin-top: 8px; }

.calc-tabs {
	display: flex; gap: 8px; flex-wrap: wrap;
	margin-bottom: 28px; padding-bottom: 2px;
}
.calc-tab {
	appearance: none; cursor: pointer;
	padding: 11px 20px; border-radius: 999px;
	border: 1px solid var(--line-strong); background: var(--white);
	font-family: inherit; font-size: 15px; color: var(--ink-2);
	transition: background .2s, color .2s, border-color .2s;
}
.calc-tab:hover { border-color: var(--ink-3); color: var(--ink); }
.calc-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.calc-grid {
	display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
	gap: 36px; align-items: start;
}

.calc-hint { margin: 0 0 20px; font-size: 14px; color: var(--ink-3); }

.calc-group { padding: 22px 0; border-top: 1px solid var(--line); }
.calc-group:first-of-type { border-top: 0; padding-top: 0; }
.calc-group-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.calc-group-title {
	display: block; margin-bottom: 14px;
	font-family: var(--font-num); font-size: 12px; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--red);
}
.calc-group-head .calc-group-title { margin-bottom: 0; }

.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.calc-row:last-child { margin-bottom: 0; }

.calc-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-3); }
.calc-field-wide { grid-column: 1 / -1; }
.calc-field select,
.calc-field input {
	width: 100%; height: 46px; padding: 0 12px;
	border: 1px solid var(--line-strong); border-radius: var(--r-s);
	background: var(--white); color: var(--ink);
	font-family: inherit; font-size: 15px;
}
.calc-field select:focus,
.calc-field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(224, 32, 32, 0.12); }

.calc-line {
	display: grid; grid-template-columns: 1.5fr 0.8fr 0.9fr 34px;
	gap: 10px; align-items: end; margin-bottom: 12px;
}
.calc-line-2 { grid-template-columns: 1fr 1fr 34px; }
.calc-del {
	width: 34px; height: 46px; cursor: pointer;
	border: 1px solid var(--line-strong); border-radius: var(--r-s);
	background: var(--white); color: var(--ink-3); font-size: 18px; line-height: 1;
}
.calc-del:hover { border-color: var(--red); color: var(--red); }

.calc-add {
	appearance: none; cursor: pointer; background: none;
	border: 1px dashed var(--line-strong); border-radius: 999px;
	padding: 6px 14px; font-family: inherit; font-size: 13px; color: var(--ink-2);
}
.calc-add:hover { border-color: var(--red); color: var(--red); }

/* 分段选择（精度/宽幅档位） */
.calc-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-seg-btn {
	appearance: none; cursor: pointer;
	padding: 10px 16px; border-radius: var(--r-s);
	border: 1px solid var(--line-strong); background: var(--white);
	font-family: inherit; font-size: 14px; color: var(--ink-2);
}
.calc-seg-btn.is-active { background: var(--red); border-color: var(--red); color: var(--white); }

/* 结果卡 */
.calc-result {
	position: sticky; top: 96px;
	padding: 28px; border-radius: var(--r-l);
	background: var(--night); color: var(--white);
}
.calc-result-k {
	margin: 0 0 10px; font-family: var(--font-num); font-size: 12px;
	letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.45);
}
.calc-total {
	margin: 0 0 22px; font-family: var(--font-num); font-weight: 600;
	font-size: 44px; line-height: 1.1; color: var(--white); letter-spacing: -0.02em;
}
.calc-detail { list-style: none; margin: 0 0 20px; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.calc-detail li {
	display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
	padding: 7px 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.72);
}
.calc-detail li b { font-family: var(--font-num); font-weight: 500; color: var(--white); white-space: nowrap; }
.calc-detail-empty { color: rgba(255, 255, 255, 0.45) !important; }
.calc-result-note { margin: 0 0 20px; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, 0.4); }
.calc-actions { display: grid; gap: 10px; }
.calc-actions .btn { width: 100%; text-align: center; }
.calc-actions .btn-ghost { border-color: rgba(255, 255, 255, 0.32); color: var(--white); }
.calc-actions .btn-ghost:hover { border-color: var(--white); }

/* 口径说明 */
.calc-foot { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.calc-foot p { margin: 0 0 10px; font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.calc-foot strong { color: var(--ink); font-weight: 500; }

@media (max-width: 1024px) {
	.calc-grid { grid-template-columns: 1fr; gap: 28px; }
	.calc-result { position: static; }
	.calc-total { font-size: 38px; }
}

@media (max-width: 768px) {
	.calc-tabs { gap: 6px; margin-bottom: 20px; }
	.calc-tab { padding: 9px 15px; font-size: 14px; }
	.calc-row { grid-template-columns: 1fr; }
	.calc-line,
	.calc-line-2 { grid-template-columns: 1fr 1fr 40px; gap: 10px; }
	.calc-line .calc-field:first-child { grid-column: 1 / -1; }
	.calc-del { width: 40px; height: 46px; grid-column: auto; align-self: end; }
	.calc-result { padding: 22px; }
	.calc-total { font-size: 34px; }
}

/* ---------- 正文配图 ---------- */
.prose-figure { margin: 2em 0; }
.prose-figure img { width: 100%; height: auto; border-radius: var(--r-m); display: block; }
.prose-figure figcaption {
	margin-top: 10px; font-size: 13px; line-height: 1.7;
	color: var(--ink-3); text-align: center;
}
@media (max-width: 768px) {
	.prose-figure { margin: 1.6em 0; }
	.prose-figure img { border-radius: var(--r-s); }
}

/* ============================================================
 * 第二轮迭代（2026-11-05 P0/P1/P2）：首屏电话、服务承诺、案例元数据、FAQ、夜景带
 * ============================================================ */

/* ---------- 首屏电话直拨 ---------- */
.hero-phone { margin: 18px 0 0; font-size: 15px; display: flex; align-items: baseline; gap: 10px; }
.hero-phone-k { color: var(--ink-3); }
.hero-phone a { font-family: var(--font-num); font-size: 17px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.hero-phone a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- 服务承诺四格 ---------- */
.promise-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line-strong);
}
.promise-item { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); }
.promise-item + .promise-item { padding-left: 28px; }
.promise-item:last-child { border-right: 0; }
.promise-num { display: block; margin-bottom: 18px; font-family: var(--font-num); font-size: 14px; color: var(--red); letter-spacing: 0.08em; }
.promise-item h3 { font-size: 24px; margin: 0 0 10px; }
.promise-item p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-3); }

/* ---------- 案例卡元数据行 ---------- */
.card-meta--meta { margin-top: 6px; color: var(--ink-2); }
.card-meta--meta::before { content: ""; display: inline-block; width: 10px; height: 2px; margin-right: 8px; vertical-align: 4px; background: var(--red); }

/* ---------- 案例详情：材料/工期条 ---------- */
.prose ul.case-meta {
	list-style: none; margin: 0 0 20px; padding: 16px 20px;
	display: flex; flex-wrap: wrap; gap: 8px 32px;
	background: rgba(27, 28, 32, 0.03);
	border-left: 3px solid var(--red); border-radius: 0 var(--r-s) var(--r-s) 0;
}
.prose ul.case-meta li { font-size: 14px; color: var(--ink-2); margin: 0; }
.prose ul.case-meta li strong { font-weight: 500; color: var(--ink-3); margin-right: 6px; }

/* ---------- FAQ 页 ---------- */
.faq-lead { margin: 0 0 28px; font-size: 16px; line-height: 1.8; color: var(--ink-3); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex; align-items: baseline; gap: 14px;
	padding: 18px 4px; cursor: pointer; list-style: none;
	font-size: 17px; font-weight: 500; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+"; margin-left: auto; flex-shrink: 0;
	font-family: var(--font-num); font-size: 18px; color: var(--ink-3);
}
.faq-item[open] summary::after { content: "−"; color: var(--red); }
.faq-item[open] summary { color: var(--red-deep); }
.faq-q-num { font-family: var(--font-num); font-size: 13px; color: var(--red); letter-spacing: 0.06em; }
.faq-a { padding: 0 4px 20px 47px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.faq-a a { color: var(--red-deep); }

/* ---------- 断点（本轮组件） ---------- */
@media (max-width: 1024px) {
	.promise-grid { grid-template-columns: repeat(2, 1fr); }
	.promise-item { border-bottom: 1px solid var(--line); }
	.promise-item:nth-child(even) { border-right: 0; }
	.promise-item + .promise-item { padding-left: 20px; }
}
@media (max-width: 768px) {
	.hero-phone { margin-top: 14px; }
	.promise-grid { grid-template-columns: 1fr; }
	.promise-item { border-right: 0; padding: 22px 0 6px; }
	.promise-item + .promise-item { padding-left: 0; }
	.faq-item summary { font-size: 16px; }
	.faq-a { padding-left: 4px; }
	.prose ul.case-meta { flex-direction: column; gap: 6px; }
}

/* ---------- 夜景实拍带（深底特色带，与案例带做区隔） ---------- */
.section--night { background: var(--night); }
.section--night .section-eyebrow { color: rgba(255, 255, 255, 0.45); }
.section--night .section-title { color: var(--white); }
.section--night .section-link { color: rgba(255, 255, 255, 0.72); }
.section--night .section-link:hover { color: var(--white); }
.night-lead { margin: -8px 0 32px; max-width: 44em; font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, 0.55); }
.night-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.night-grid .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.night-grid .card-title { color: var(--white); }
.night-grid .card-meta { color: rgba(255, 255, 255, 0.45); }
.night-grid .card-meta--meta { color: rgba(255, 255, 255, 0.68); }
.night-grid .card:hover { border-color: rgba(255, 255, 255, 0.24); }
@media (max-width: 768px) {
	.night-grid { grid-template-columns: 1fr; gap: 18px; }
	.night-lead { margin-bottom: 22px; }
}

/* ---------- 夜景实拍带（深底特色带，与案例带做区隔） ---------- */
.section--night { background: var(--night); }
.section--night .section-eyebrow { color: rgba(255, 255, 255, 0.45); }
.section--night .section-title { color: var(--white); }
.section--night .section-link { color: rgba(255, 255, 255, 0.72); }
.section--night .section-link:hover { color: var(--white); }
.night-lead { margin: -8px 0 32px; max-width: 44em; font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, 0.55); }
.night-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.night-grid .card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.night-grid .card-title { color: var(--white); }
.night-grid .card-meta { color: rgba(255, 255, 255, 0.45); }
.night-grid .card-meta--meta { color: rgba(255, 255, 255, 0.68); }
.night-grid .card:hover { border-color: rgba(255, 255, 255, 0.24); }
@media (max-width: 768px) {
	.night-grid { grid-template-columns: 1fr; gap: 18px; }
	.night-lead { margin-bottom: 22px; }
}

/* ============================================================
 * 第三轮（2026-11-06）：质保注脚、现场实录、微信留资二维码
 * ============================================================ */

/* ---------- 服务承诺注脚 ---------- */
.promise-note { margin: 24px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-3); }

/* ---------- 现场实录 ---------- */
.scene-lead { margin: -8px 0 34px; max-width: 46em; font-size: 15px; line-height: 1.85; color: var(--ink-3); }
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.scene-item { margin: 0; }
.scene-item img { width: 100%; height: auto; display: block; border-radius: var(--r-s); background: #E8E9EC; }
.scene-item figcaption { position: relative; padding: 18px 0 0 46px; }
.scene-num {
	position: absolute; left: 0; top: 21px;
	font-family: var(--font-num); font-size: 13px; color: var(--red); letter-spacing: 0.08em;
}
.scene-item h3 { margin: 0 0 8px; font-size: 19px; }
.scene-item p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink-3); }

/* ---------- 页脚微信二维码 ---------- */
.footer-wx { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.footer-wx img { width: 96px; height: 96px; padding: 5px; background: #fff; border-radius: 4px; flex-shrink: 0; }
.footer-wx p { margin: 0; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, 0.58); }

/* ---------- 报价器结果卡微信入口 ---------- */
.calc-wx {
	margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
	display: flex; align-items: center; gap: 12px;
}
.calc-wx img { width: 88px; height: 88px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 4px; flex-shrink: 0; }
.calc-wx p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--ink-3); }

/* ---------- 断点 ---------- */
@media (max-width: 768px) {
	.scene-grid { grid-template-columns: 1fr; gap: 26px; }
	.scene-lead { margin-bottom: 24px; }
	.footer-wx { margin-top: 18px; }
	.footer-wx img { width: 84px; height: 84px; }
	.calc-wx img { width: 76px; height: 76px; }
}

/* ============================================================
 * 第四轮（2026-11-06）：首屏主图改实拍方图 + 项目署名
 * 原主图是 3D 渲染概念图，改真实项目夜景；1:1 是竖排招牌的自然画幅
 * ============================================================ */
.hero-visual { max-width: 580px; margin-left: auto; }
.hero-visual img {
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	object-position: 52% 46%;
}
.hero-cap {
	margin: 18px 0 0;
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
	font-family: var(--font-num);
	font-size: 12px; letter-spacing: 0.06em; line-height: 1.6;
	color: rgba(255, 255, 255, 0.48);
}
.hero-cap span + span { position: relative; padding-left: 17px; }
.hero-cap span + span::before {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 9px; height: 1px; background: rgba(255, 255, 255, 0.32);
}

@media (max-width: 1024px) {
	.hero-visual { max-width: 100%; margin: 0; }
}
@media (max-width: 768px) {
	.hero-cap { margin-top: 14px; font-size: 11px; }
}

/* 业务卡图片加一道极细内描边：浅底上给图片收边，细节更"做过" */
.biz-card-img::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(27, 28, 32, 0.08);
	pointer-events: none;
}

/* ---------- 图片 WebP 协商 ----------
   <picture> 只负责挑选格式，不参与布局。用 display:contents 让它不产生盒子，
   <img> 仍然按原选择器（.hero-visual img / .biz-card-img img / .scene-item img）排版。 */
picture { display: contents; }

/* ------------------------------------------------------------------------- *
 * 加入猫秀（安装工 / 业务员 / 会员）—— 首页三卡 + 内页三段
 * ------------------------------------------------------------------------- */

/* 首页三卡 */
.join-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.join-card {
	display: flex; flex-direction: column;
	padding: 32px 30px 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	color: inherit;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.join-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; border-color: var(--line-strong); }
.join-card-k {
	margin: 0 0 14px;
	font-family: var(--font-num);
	font-size: 12px; letter-spacing: 0.14em;
	color: var(--red);
}
.join-card h3 { font-family: var(--font-title); font-size: 26px; font-weight: 400; line-height: 1.35; margin: 0 0 12px; color: var(--ink); }
.join-card p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--ink-3); }
.join-card-more {
	margin-top: auto; padding-top: 22px;
	font-size: 15px; color: var(--red);
}
.join-card--member { background: #FCF8F5; border-color: rgba(224, 32, 32, 0.16); }

/* 内页：加入猫秀 */
.join-hero { padding-bottom: 24px; }
.join-block { padding: 72px 0; border-top: 1px solid var(--line); }
.join-block--alt { background: var(--white); }
.join-block-inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.join-num {
	margin: 0 0 12px;
	font-family: var(--font-num);
	font-size: 13px; letter-spacing: 0.16em;
	color: var(--red);
}
.join-title { font-family: var(--font-title); font-size: 40px; font-weight: 400; line-height: 1.28; margin: 0 0 14px; color: var(--ink); }
.join-lead { margin: 0 0 32px; font-size: 17px; line-height: 1.8; color: var(--ink-3); max-width: 34em; }

.join-list { margin: 0; }
.join-list > div {
	display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
}
.join-list > div:first-child { border-top: 0; padding-top: 0; }
.join-list dt { font-size: 15px; color: var(--ink); font-weight: 700; }
.join-list dd { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-2); }

.join-block-side { position: sticky; top: 104px; }
.join-side-note { margin: 20px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.join-side-note a { color: var(--red); }

/* 小程序码 */
.qr-box {
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	padding: 24px 24px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
}
.join-block--alt .qr-box { background: var(--paper); }
.qr-box img { display: block; width: 200px; height: 200px; border-radius: 6px; }
.qr-cap { font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em; }
.qr-box--fallback { justify-content: center; min-height: 240px; gap: 6px; border-style: dashed; }
.qr-fallback-title { font-size: 13px; color: var(--ink-3); }
.qr-fallback-name { font-family: var(--font-title); font-size: 28px; color: var(--ink); letter-spacing: 0.04em; }

/* 底部兜底 */
.join-end { background: var(--night); border-top: 0; }
.join-end-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.join-end h2 { font-family: var(--font-title); font-size: 36px; font-weight: 400; color: var(--white); margin: 0 0 8px; }
.join-end p { margin: 0; color: rgba(255, 255, 255, 0.68); }
.join-end-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1024px) {
	.join-block-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.join-block-side { position: static; }
	.qr-box { max-width: 320px; }
	.join-cards { grid-template-columns: 1fr 1fr; }
	.join-card--member { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
	.join-cards { grid-template-columns: 1fr; }
	.join-card--member { grid-column: auto; }
	.join-block { padding: 48px 0; }
	.join-title { font-size: 30px; }
	.join-list > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.join-end h2 { font-size: 28px; }
	.qr-box { max-width: 100%; }
	.qr-box img { width: 180px; height: 180px; }
}

/* ---------- 导航断点修正（2026-11-08）----------
   栏目增到 9 个后，769–1080 之间横排会挤爆并顶出横向滚动条，
   这里把抽屉导航的起点从 768 提到 1080，保留右上「免费上门量尺」按钮。 */
@media (max-width: 1080px) and (min-width: 769px) {
	.nav-toggle { display: block; margin-left: auto; }
	.primary-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		padding: 16px 24px 24px;
	}
	.site-header.nav-open .primary-nav { display: block; }
	.primary-nav .nav-list { flex-direction: column; gap: 0; }
	.primary-nav .nav-list li > a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.primary-nav .nav-list li > ul { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: none; }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- 加入猫秀：单列断点下「二维码 + 电话」并排（2026-11-08）----------
   码上线后，1024 以下会把侧栏落到正文下方；原来码卡独占一行、右下留大片空白，
   这里改成码卡在左、电话说明在右，640 以下再叠回竖排。 */
@media (max-width: 1024px) {
	.join-block-side { display: flex; align-items: center; gap: 28px; }
	.join-block-side .qr-box { flex: 0 0 auto; max-width: 300px; }
	.join-block-side .join-side-note { margin: 0; max-width: 26em; }
}
@media (max-width: 640px) {
	.join-block-side { flex-direction: column; align-items: stretch; gap: 16px; }
	.join-block-side .qr-box { max-width: 100%; }
	.join-block-side .join-side-note { margin: 0; }
}

/* ==========================================================================
   商城（门头配料商城）2026-11-08
   落地页 / 分类页 / 商品详情 / 购物车 / 结算
   ========================================================================== */

.shop-section { padding-top: 56px; }

/* ---------- 首屏 ---------- */
.shop-hero {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 56px;
	align-items: end;
	padding-bottom: 56px;
	border-bottom: 1px solid var(--line);
}
.section-eyebrow {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
	font-weight: 700;
	margin: 0 0 16px;
}
.section-eyebrow a { color: var(--red); }
.shop-hero-title {
	font-family: var(--font-title);
	font-size: 56px;
	line-height: 1.12;
	margin: 0 0 20px;
	color: var(--ink);
}
.shop-hero-lead { font-size: 17px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.shop-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.shop-hero-side {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	padding: 28px;
}
.shop-stat { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.shop-stat:last-of-type { border-bottom: 0; }
.shop-stat-n { font-size: 34px; color: var(--ink); line-height: 1; }
.shop-stat-k { font-size: 14px; color: var(--ink-3); }
.shop-stat-note { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.6; }

/* ---------- 通用区块 ---------- */
.shop-block { padding: 64px 0; border-bottom: 1px solid var(--line); }
.shop-block:last-child { border-bottom: 0; }
.shop-block--alt { background: transparent; }
.shop-block-sub { font-size: 15px; color: var(--ink-3); margin: 8px 0 0; max-width: 52em; }
.shop-block-sub strong { color: var(--ink); }

/* ---------- 三档诚意金 ---------- */
.deposit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deposit-card {
	display: block;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	padding: 32px 28px;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.deposit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); color: inherit; }
.deposit-k { font-size: 15px; color: var(--ink-3); margin: 0 0 10px; }
.deposit-price { font-size: 44px; color: var(--red); line-height: 1; margin: 0 0 16px; }
.deposit-price small { font-size: 16px; margin-left: 4px; color: var(--ink-3); }
.deposit-desc { font-size: 15px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.65; }
.deposit-more { font-size: 14px; color: var(--red); font-weight: 500; }
.deposit-note { font-size: 13px; color: var(--ink-3); margin: 22px 0 0; }

/* ---------- 分类导航 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	overflow: hidden;
	transition: transform 0.25s, box-shadow 0.25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: inherit; }
.cat-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-img--empty { background: linear-gradient(135deg, #F2F1ED, var(--white)); }
.cat-card-body { display: block; padding: 18px 20px 22px; }
.cat-card-name { display: block; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cat-card-desc { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.6; margin-bottom: 12px; }
.cat-card-count { display: block; font-size: 13px; color: var(--red); }

/* ---------- 下单四步 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 28px 24px; }
.step-no { font-size: 13px; color: var(--red); letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.7; }

/* ---------- 配送与结算 ---------- */
.ship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ship-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 28px; }
.ship-card h3 { font-size: 19px; margin: 0 0 14px; }
.ship-card ul { margin: 0; padding-left: 18px; }
.ship-card li { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; line-height: 1.65; }
.ship-card strong { color: var(--ink); }

/* ---------- 商城常见问题 ---------- */
.faq-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.faq-mini details {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	padding: 18px 22px;
}
.faq-mini summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 16px; list-style: none; }
.faq-mini summary::-webkit-details-marker { display: none; }
.faq-mini summary::before { content: "＋"; color: var(--red); margin-right: 10px; font-weight: 400; }
.faq-mini details[open] summary::before { content: "－"; }
.faq-mini p { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.faq-mini a { color: var(--red); }

/* ---------- 分类页页头 ---------- */
.shop-cat-head {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 48px;
	align-items: center;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--line);
}
.shop-cat-head .page-title { margin-bottom: 12px; }
.shop-cat-head-img { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); }
.shop-cat-head-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-cat-count { font-size: 14px; color: var(--ink-3); margin: 0; }
.shop-cat-foot { display: flex; gap: 14px; justify-content: space-between; padding-top: 40px; }

/* ---------- 商品卡片补充：单位与询价 ---------- */
.woocommerce ul.products li.product .price .mx-unit {
	font-size: 13px;
	color: var(--ink-3);
	margin-left: 2px;
}
.woocommerce ul.products li.product .price .mx-inquiry {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink-3);
	letter-spacing: 0.04em;
}
.woocommerce ul.products li.product .button {
	margin: 0 20px 20px;
	display: inline-block;
}
.woocommerce ul.products li.product .added_to_cart { display: inline-block; margin: 0 20px 20px; font-size: 14px; color: var(--ink-3); }

/* ---------- 商品详情 ---------- */
.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.woocommerce div.product .woocommerce-product-gallery__wrapper { border-radius: var(--r-m); overflow: hidden; background: var(--white); }
.woocommerce div.product .summary { margin: 0 !important; float: none !important; width: 100% !important; }
.woocommerce div.product .product_title { font-family: var(--font-title); font-size: 38px; margin: 0 0 16px; }
.woocommerce div.product p.price { font-size: 36px; margin: 0 0 6px; }
.woocommerce div.product p.price .mx-unit { font-size: 15px; color: var(--ink-3); font-family: var(--font-body); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-2); font-size: 16px; margin: 16px 0 24px; }
.woocommerce div.product form.cart { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.woocommerce div.product form.cart .quantity .qty {
	width: 92px;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-s);
	font-family: var(--font-num);
	font-size: 16px;
	background: var(--white);
}
.woocommerce div.product form.cart .button { padding: 14px 32px; font-size: 16px; }
.woocommerce div.product .variations { border-collapse: collapse; margin-bottom: 8px; }
.woocommerce div.product .variations th,
.woocommerce div.product .variations td { padding: 6px 12px 6px 0; text-align: left; vertical-align: middle; }
.woocommerce div.product .variations label { font-weight: 700; color: var(--ink); font-size: 15px; }
.woocommerce div.product .variations select {
	padding: 10px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-s);
	background: var(--white);
	font-family: inherit;
	font-size: 15px;
	min-width: 180px;
}
.woocommerce div.product .single_variation_wrap .woocommerce-variation-price { margin-bottom: 12px; }
.woocommerce div.product .single_variation_wrap .woocommerce-variation-price .price { font-size: 24px; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.woocommerce div.product .product_meta a { color: var(--ink-3); }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .up-sells,
.woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 24px !important; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	margin: 0 24px 0 0 !important;
	padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 8px 0 !important; font-weight: 700; color: var(--ink-3); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--font-title); font-size: 24px; margin-bottom: 12px; }
.woocommerce div.product .woocommerce-tabs .panel p { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.woocommerce div.product .related h2,
.woocommerce div.product .up-sells h2 { font-family: var(--font-title); font-size: 28px; margin: 0 0 24px; }

/* 询价商品：详情页行动区 */
.mx-inquiry-box {
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 3px solid var(--red);
	border-radius: 0 var(--r-s) var(--r-s) 0;
	padding: 20px 24px;
	margin: 24px 0;
}
.mx-inquiry-box p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.mx-inquiry-box .mx-inquiry-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 通知条 ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--r-s);
	border-top: 0;
	padding: 16px 20px 16px 48px;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: none;
	font-size: 15px;
	position: relative;
}
.woocommerce-message { border-left: 3px solid #1F7A3D; }
.woocommerce-info { border-left: 3px solid var(--ink-3); }
.woocommerce-error { border-left: 3px solid var(--red); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { left: 16px; top: 16px; }

/* ---------- 购物车与结算 ---------- */
.shop-page-wide .container-narrow { max-width: var(--container); }
.woocommerce table.shop_table {
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--white);
}
.woocommerce table.shop_table th {
	background: var(--paper);
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
}
.woocommerce table.shop_table td {
	padding: 16px;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
	vertical-align: middle;
}
.woocommerce table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce table.shop_table .product-thumbnail img { width: 72px; border-radius: var(--r-s); }
.woocommerce table.shop_table .product-name a { font-weight: 700; color: var(--ink); }
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal { font-family: var(--font-num); }
.woocommerce table.shop_table .quantity .qty { width: 76px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-s); font-family: var(--font-num); }
.woocommerce table.shop_table a.remove { color: var(--ink-3) !important; background: transparent !important; }
.woocommerce table.shop_table a.remove:hover { color: var(--red) !important; }

.woocommerce .cart_totals,
.woocommerce #order_review,
.woocommerce .woocommerce-checkout-review-order {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	padding: 8px 24px 20px;
}
.woocommerce .cart_totals h2 { font-family: var(--font-title); font-size: 24px; margin: 16px 0; }
.woocommerce .cart-collaterals { margin-top: 32px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; padding: 16px; font-size: 17px; }

.woocommerce form .form-row { margin-bottom: 18px; }
.woocommerce form .form-row label { font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-s);
	background: var(--white);
	font-family: inherit;
	font-size: 15px;
	width: 100%;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--ink); outline: none; }

.woocommerce #payment { background: transparent; border-radius: 0; }
.woocommerce #payment ul.payment_methods { border-bottom: 1px solid var(--line); padding: 16px 0; }
.woocommerce #payment ul.payment_methods li { margin-bottom: 10px; }
.woocommerce #payment div.payment_box { background: var(--paper); border-radius: var(--r-s); font-size: 14px; color: var(--ink-2); }
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce #place_order { padding: 16px 40px; font-size: 17px; }

.woocommerce ul.order_details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
.woocommerce .woocommerce-order { max-width: 820px; }
.woocommerce .woocommerce-thankyou-order-received { font-family: var(--font-title); font-size: 30px; color: var(--ink); }
.woocommerce-checkout h3 { font-size: 22px; margin: 32px 0 16px; }

/* ---------- 商品栅格：数量多时收紧间距 ---------- */
.woocommerce ul.products li.product .woocommerce-loop-product__title { line-height: 1.45; }

/* ---------- 商城响应式 ---------- */
@media (max-width: 1024px) {
	.shop-hero { grid-template-columns: 1fr; gap: 32px; align-items: start; }
	.shop-hero-title { font-size: 44px; }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.ship-grid { grid-template-columns: 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
	.shop-cat-head { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
	.shop-hero-title { font-size: 34px; }
	.deposit-grid { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.steps { grid-template-columns: 1fr; }
	.faq-mini { grid-template-columns: 1fr; }
	.woocommerce div.product .product_title { font-size: 28px; }
	.shop-cat-foot { flex-direction: column; }
	.woocommerce table.shop_table thead { display: none; }
	.woocommerce table.shop_table td { display: block; border: 0; padding: 6px 16px; }
	.woocommerce table.shop_table tr { display: block; border-bottom: 1px solid var(--line); padding: 12px 0; }
}

/* ---------- 头部购物车 ---------- */
.header-cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 14px;
	color: var(--ink-2);
	white-space: nowrap;
	flex-shrink: 0;
	transition: border-color 0.2s, color 0.2s;
}
.header-cart:hover { border-color: var(--ink); color: var(--ink); }
.header-cart-n { color: var(--ink-3); font-size: 13px; }
.header-cart.has-items { border-color: var(--red); color: var(--red); }
.header-cart.has-items .header-cart-n { color: var(--red); }

/* ---------- 结算页提示 ---------- */
.mx-checkout-note {
	background: var(--paper);
	border-left: 3px solid var(--ink-3);
	border-radius: 0 var(--r-s) var(--r-s) 0;
	padding: 14px 18px;
	font-size: 14px;
	color: var(--ink-2);
	margin: 0 0 20px;
	line-height: 1.7;
}

@media (max-width: 768px) {
	.header-cart { padding: 6px 10px; font-size: 13px; }
	.header-cart-k { display: none; }
}

/* ---------- 商品卡片（自定义版式：有图 / 无图两种） ---------- */
.woocommerce ul.products li.mx-card {
	display: flex;
	flex-direction: column;
	padding: 0;
	background: var(--white);
}
.mx-card-link { display: flex; flex-direction: column; flex: 1 1 auto; color: inherit; }
.mx-card-link:hover { color: inherit; }
.mx-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.mx-card-media img { width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform 0.3s; }
.woocommerce ul.products li.mx-card:hover .mx-card-media img { transform: scale(1.03); }
.mx-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 22px 6px; }
.mx-card--list .mx-card-body { padding-top: 24px; }
.mx-card-cat {
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--ink-3);
	margin-bottom: 10px;
	text-transform: none;
}
.mx-card-name { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: 12px; }
.mx-card-price { margin-top: auto; font-family: var(--font-num); color: var(--red); font-size: 22px; line-height: 1.3; }
.mx-card-price .mx-unit { font-size: 13px; color: var(--ink-3); font-family: var(--font-body); }
.mx-card-price .mx-inquiry { font-family: var(--font-body); font-size: 15px; color: var(--ink-3); letter-spacing: 0.06em; }
.mx-card-price del { font-size: 14px; color: var(--ink-3); }
.mx-card-unit { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.mx-card-actions { padding: 14px 22px 20px; }
.woocommerce ul.products li.mx-card .button,
.woocommerce ul.products li.mx-card .added_to_cart {
	margin: 0;
	display: block;
	width: 100%;
	text-align: center;
	padding: 11px 16px;
	font-size: 15px;
}
.woocommerce ul.products li.mx-card .added_to_cart { color: var(--ink-3); }

/* 分类卡无实拍时的文字瓷砖 */
.cat-card-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-family: var(--font-title);
	font-size: 26px;
	letter-spacing: 0.08em;
	color: rgba(27, 28, 32, 0.16);
	background:
		repeating-linear-gradient(135deg, rgba(27, 28, 32, 0.035) 0 1px, transparent 1px 12px),
		var(--white);
}

/* 无图商品详情：不显示占位图框，正文直接铺满 */
.shop-single--noimg .woocommerce div.product { grid-template-columns: minmax(0, 760px); }
.shop-single--noimg .woocommerce-product-gallery { display: none !important; }

/* 详情页 Tab 面板里重复的标题不再重复出现 */
.woocommerce div.product .woocommerce-Tabs-panel > h2:first-child { display: none; }

/* 未选规格时按钮是禁用态，别用 WooCommerce 默认灰紫 */
.woocommerce div.product form.cart .button.disabled,
.woocommerce div.product form.cart .button:disabled,
.woocommerce .button.disabled,
.woocommerce .button:disabled {
	background: var(--ink-3) !important;
	color: var(--white) !important;
	opacity: 0.7;
	cursor: not-allowed;
}

/* 无图商品详情：不显示占位图框，正文直接铺满 */
.shop-single--noimg .woocommerce div.product { grid-template-columns: minmax(0, 760px); }
.shop-single--noimg .woocommerce-product-gallery { display: none !important; }

/* 详情页 Tab 面板里重复的标题不再重复出现 */
.woocommerce div.product .woocommerce-Tabs-panel > h2:first-child { display: none; }

/* 未选规格时按钮是禁用态，别用 WooCommerce 默认灰紫 */
.woocommerce div.product form.cart .button.disabled,
.woocommerce div.product form.cart .button:disabled,
.woocommerce .button.disabled,
.woocommerce .button:disabled {
	background: var(--ink-3) !important;
	color: var(--white) !important;
	opacity: 0.7;
	cursor: not-allowed;
}

/* ---------- 结算/购物车：主色统一为品牌红，表格两栏排布 ---------- */
.woocommerce a.checkout-button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce #place_order,
.woocommerce #place_order.button.alt {
	background: var(--red) !important;
	color: var(--white) !important;
	border-radius: var(--r-s);
}
.woocommerce a.checkout-button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce #place_order:hover {
	background: var(--red-deep) !important;
	color: var(--white) !important;
}
.woocommerce .blockUI.blockOverlay { background: rgba(250, 249, 246, 0.55) !important; }
.woocommerce .woocommerce-billing-fields__field-wrapper,
.woocommerce .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.woocommerce .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce .woocommerce-shipping-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.woocommerce .woocommerce-billing-fields h3,
.woocommerce .woocommerce-shipping-fields h3,
.woocommerce #order_review_heading { font-family: var(--font-title); font-size: 26px; margin: 8px 0 20px; }
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register { border: 1px solid var(--line); border-radius: var(--r-m); }
.woocommerce .woocommerce-checkout #payment ul.payment_methods li label { font-size: 15px; color: var(--ink); }
.woocommerce .woocommerce-checkout #payment { background: transparent; }
.woocommerce .woocommerce-checkout #payment div.form-row { padding: 20px 0 0; }
@media (max-width: 768px) {
	.woocommerce .woocommerce-billing-fields__field-wrapper,
	.woocommerce .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* ---------- 结算/购物车：主色统一为品牌红，表格两栏排布 ---------- */
.woocommerce a.checkout-button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce #place_order,
.woocommerce #place_order.button.alt {
	background: var(--red) !important;
	color: var(--white) !important;
	border-radius: var(--r-s);
}
.woocommerce a.checkout-button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce #place_order:hover {
	background: var(--red-deep) !important;
	color: var(--white) !important;
}
.woocommerce .blockUI.blockOverlay { background: rgba(250, 249, 246, 0.55) !important; }
.woocommerce .woocommerce-billing-fields__field-wrapper,
.woocommerce .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.woocommerce .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce .woocommerce-shipping-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.woocommerce .woocommerce-billing-fields h3,
.woocommerce .woocommerce-shipping-fields h3,
.woocommerce #order_review_heading { font-family: var(--font-title); font-size: 26px; margin: 8px 0 20px; }
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register { border: 1px solid var(--line); border-radius: var(--r-m); }
.woocommerce .woocommerce-checkout #payment ul.payment_methods li label { font-size: 15px; color: var(--ink); }
.woocommerce .woocommerce-checkout #payment { background: transparent; }
.woocommerce .woocommerce-checkout #payment div.form-row { padding: 20px 0 0; }
@media (max-width: 768px) {
	.woocommerce .woocommerce-billing-fields__field-wrapper,
	.woocommerce .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
}

/* WooCommerce 自带的 clearfix 伪元素在 grid 下会变成一个真实网格项，
   把每行商品整体挤后一格。这里直接关掉，排版才对齐。 */
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }

/* WooCommerce 自带的 clearfix 伪元素在 grid 下会变成一个真实网格项，
   把每行商品整体挤后一格。这里直接关掉，排版才对齐。 */
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }

/* 商品栅格：不同卡片高度不一，顶部对齐即可；价格紧跟名称，别用 margin-top:auto
   把价格顶到卡底——那会在有图卡撑高整行时留下大片空白。 */
.woocommerce ul.products { align-items: start; }
.mx-card-price { margin-top: 0; }
.mx-card-body { padding-bottom: 2px; }
.mx-card-media { aspect-ratio: 3 / 2; }

/* 商品栅格：不同卡片高度不一，顶部对齐即可；价格紧跟名称，别用 margin-top:auto
   把价格顶到卡底——那会在有图卡撑高整行时留下大片空白。 */
.woocommerce ul.products { align-items: start; }
.mx-card-price { margin-top: 0; }
.mx-card-body { padding-bottom: 2px; }
.mx-card-media { aspect-ratio: 3 / 2; }

/* ---------- 头部：导航 9 项 + 购物车 + CTA 在 1200 容器里会挤爆，
   收紧导航间距，窄屏时把右侧 CTA 让出来（导航里已有「免费上门量尺」） ---------- */
.header-inner { gap: 16px; }
.nav-list > li > a { padding: 8px 8px; font-size: 14px; }
.header-cart { padding: 7px 12px; }
@media (max-width: 1500px) {
	.header-cta { display: none; }
}

/* ---------- 头部：导航 9 项 + 购物车 + CTA 在 1200 容器里会挤爆，
   收紧导航间距，窄屏时把右侧 CTA 让出来（导航里已有「免费上门量尺」） ---------- */
.header-inner { gap: 16px; }
.nav-list > li > a { padding: 8px 8px; font-size: 14px; }
.header-cart { padding: 7px 12px; }
@media (max-width: 1500px) {
	.header-cta { display: none; }
}
