/*
Theme Name: WF Portal Theme
Theme URI: https://example.com/
Author: WF
Description: 企业门户主题（Direction A · 东方木作）。与 wf-portal 插件配套：分级价格、会员中心、询价单。英文单语，zh 域名 301 到主站。
Version: 0.1.0
Requires at least: 6.2
Requires PHP: 8.1
Text Domain: wf-theme
*/

/* ==========================================================================
   0. 设计令牌（设计说明 附录 B）
   ========================================================================== */
:root {
	/* 色 */
	--wf-ink: #161311;
	--wf-ink-soft: rgba(22, 19, 17, 0.72);
	--wf-ink-muted: rgba(22, 19, 17, 0.55);
	--wf-ink-faint: rgba(22, 19, 17, 0.38);
	--wf-paper: #f7f4ef;
	--wf-paper-2: #efe9de;
	--wf-paper-3: #e8e1d5;
	--wf-white: #fffdfa;
	--wf-wood: #8a6b4f;
	--wf-sand: #c9b9a3;
	--wf-sage: #5c6b5d;
	--wf-line: rgba(22, 19, 17, 0.13);
	--wf-line-soft: rgba(22, 19, 17, 0.07);

	/* 字 */
	--wf-serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia,
		"Songti SC", "SimSun", serif;
	--wf-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial,
		"PingFang SC", "Microsoft YaHei", sans-serif;
	--wf-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

	/* 字号 */
	--wf-fs-eyebrow: 9px;
	--wf-fs-small: 10.5px;
	--wf-fs-body: 12.5px;
	--wf-fs-lead: 15px;
	--wf-fs-h2: 30px;
	--wf-fs-h1: 44px;
	--wf-fs-display: 62px;

	/* 间距 / 版心 */
	--wf-gutter: 64px;
	--wf-max: 1440px;
	--wf-space-1: 8px;
	--wf-space-2: 16px;
	--wf-space-3: 24px;
	--wf-space-4: 34px;
	--wf-space-5: 56px;
	--wf-space-6: 80px;
	--wf-space-7: 110px;

	/* 字距 */
	--wf-ls-eyebrow: 0.34em;
	--wf-ls-title: 0.015em;
	--wf-ls-body: 0.01em;
}

/* ==========================================================================
   1. 基础
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--wf-paper);
	color: var(--wf-ink);
	font-family: var(--wf-sans);
	font-size: var(--wf-fs-body);
	line-height: 1.9;
	letter-spacing: var(--wf-ls-body);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	font-family: var(--wf-serif);
	font-weight: 400;
	margin: 0;
	letter-spacing: var(--wf-ls-title);
	line-height: 1.3;
}

h1 {
	font-size: var(--wf-fs-h1);
	line-height: 1.1;
}

h2 {
	font-size: var(--wf-fs-h2);
}

h3 {
	font-size: 19px;
}

p {
	margin: 0 0 1.2em;
}

p:last-child {
	margin-bottom: 0;
}

code {
	font-family: var(--wf-mono);
	font-size: 0.92em;
	background: var(--wf-paper-2);
	padding: 1px 5px;
}

/* 无障碍：跳转链接 */
.wf-skip {
	position: absolute;
	left: -9999px;
}

.wf-skip:focus {
	left: 16px;
	top: 16px;
	z-index: 999;
	background: var(--wf-ink);
	color: var(--wf-paper);
	padding: 10px 16px;
}

/* ==========================================================================
   2. 版式容器
   ========================================================================== */
.wf-wrap {
	width: 100%;
	max-width: var(--wf-max);
	margin: 0 auto;
	padding: 0 var(--wf-gutter);
}

.wf-wrap--narrow {
	max-width: 860px;
}

.wf-section {
	padding: var(--wf-space-7) 0;
}

.wf-section--tint {
	background: var(--wf-paper-2);
}

.wf-eyebrow {
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: var(--wf-ls-eyebrow);
	text-transform: uppercase;
	color: var(--wf-wood);
	margin-bottom: var(--wf-space-3);
}

.wf-lead {
	font-size: var(--wf-fs-body);
	line-height: 2.05;
	color: var(--wf-ink-soft);
	max-width: 60ch;
}

/* ==========================================================================
   3. 站头 / 站尾
   ========================================================================== */
.wf-header {
	display: flex;
	align-items: center;
	height: 88px;
	padding: 0 var(--wf-gutter);
	border-bottom: 1px solid var(--wf-line);
	background: var(--wf-paper);
}

.wf-header__brand {
	font-family: var(--wf-serif);
	font-size: 15px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	line-height: 1;
}

.wf-header__brand small {
	display: block;
	font-family: var(--wf-sans);
	font-size: 7.5px;
	letter-spacing: 0.4em;
	opacity: 0.4;
	margin-top: 6px;
}

.wf-nav {
	margin-left: auto;
	display: flex;
	gap: 38px;
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
}

.wf-nav a {
	color: inherit;
}

.wf-nav .current-menu-item > a,
.wf-nav a[aria-current="page"] {
	color: var(--wf-ink);
	border-bottom: 1px solid var(--wf-ink);
	padding-bottom: 6px;
}

.wf-header__util {
	margin-left: 44px;
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
}

.wf-btn {
	display: inline-block;
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 13px 22px;
	border: 1px solid rgba(22, 19, 17, 0.3);
	color: var(--wf-ink);
	background: transparent;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.wf-btn:hover {
	background: var(--wf-ink);
	border-color: var(--wf-ink);
	color: var(--wf-paper);
}

.wf-btn--solid {
	background: var(--wf-ink);
	border-color: var(--wf-ink);
	color: var(--wf-paper);
}

.wf-btn--solid:hover {
	background: var(--wf-wood);
	border-color: var(--wf-wood);
}

.wf-btn--ghost-light {
	border-color: rgba(247, 244, 239, 0.5);
	color: var(--wf-paper);
}

.wf-btn--sand {
	background: var(--wf-sand);
	border-color: var(--wf-sand);
	color: var(--wf-ink);
}

.wf-footer {
	background: #110e0c;
	color: rgba(247, 244, 239, 0.62);
	padding: var(--wf-space-6) var(--wf-gutter) 0;
}

.wf-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 60px;
}

.wf-footer h5 {
	font-family: var(--wf-sans);
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(247, 244, 239, 0.4);
	margin: 0 0 20px;
	font-weight: 400;
}

.wf-footer a {
	display: block;
	font-size: 11.5px;
	line-height: 2.2;
	color: rgba(247, 244, 239, 0.7);
}

.wf-footer a:hover {
	color: var(--wf-paper);
}

.wf-footer__mark {
	font-family: var(--wf-serif);
	font-size: 19px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wf-paper);
}

.wf-footer__legal {
	margin-top: 54px;
	border-top: 1px solid rgba(247, 244, 239, 0.1);
	padding: 20px 0 24px;
	display: flex;
	justify-content: space-between;
	font-size: 9px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(247, 244, 239, 0.32);
}

/* ==========================================================================
   4. 页面头 / 面包屑
   ========================================================================== */
.wf-page-head {
	padding: 60px 0 34px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 60px;
	border-bottom: 1px solid var(--wf-line);
}

.wf-page-head p {
	max-width: 380px;
	font-size: 11.5px;
	line-height: 1.95;
	color: var(--wf-ink-muted);
}

.wf-breadcrumb {
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
	margin-bottom: 18px;
}

.wf-breadcrumb a {
	color: inherit;
}

/* ==========================================================================
   5. 图片占位（无图时的确定性渐变）
   ========================================================================== */
.wf-tile {
	position: relative;
	overflow: hidden;
	outline: 1px solid rgba(22, 19, 17, 0.07);
	outline-offset: -1px;
	background: var(--wf-paper-3);
}

.wf-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wf-tile__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	font-size: 8.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(247, 244, 239, 0.82);
}

.wf-grain {
	position: absolute;
	inset: 0;
	opacity: 0.45;
	pointer-events: none;
	background: repeating-linear-gradient(
		96deg,
		rgba(255, 255, 255, 0.03) 0 1px,
		rgba(0, 0, 0, 0.05) 1px 3px,
		rgba(255, 255, 255, 0) 3px 7px
	);
}

/* 渐变层必须绝对定位铺满，否则占位图会塌成 0 高度。 */
.wf-g {
	position: absolute;
	inset: 0;
}

.wf-g1 { background: linear-gradient(150deg, #4a3a2c, #2a211a 58%, #1b1511); }
.wf-g2 { background: linear-gradient(200deg, #cbbaa2, #a89478 58%, #8a765c); }
.wf-g3 { background: linear-gradient(140deg, #3f342a, #231d18 58%, #171310); }
.wf-g4 { background: linear-gradient(180deg, #6d7266, #4b5148 58%, #343a33); }
.wf-g5 { background: linear-gradient(160deg, #5a4736, #332820 55%, #1d1713); }
.wf-g6 { background: linear-gradient(120deg, #8a765c, #6b5a44 60%, #4a3d2e); }

/* ==========================================================================
   6. 产品列表
   ========================================================================== */
.wf-filters {
	display: flex;
	flex-wrap: wrap;
	padding: 38px 0 0;
	border-bottom: 1px solid var(--wf-line);
}

.wf-filters a {
	padding-bottom: 16px;
	margin-right: 34px;
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
	border-bottom: 1px solid transparent;
}

.wf-filters a.is-active {
	color: var(--wf-ink);
	border-bottom-color: var(--wf-ink);
}

.wf-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding: var(--wf-space-4) 0 var(--wf-space-6);
}

.wf-card__tile {
	height: 340px;
}

.wf-card__name {
	font-family: var(--wf-serif);
	font-size: 17px;
	line-height: 1.3;
	margin: 18px 0 0;
}

.wf-card__meta {
	margin-top: 6px;
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
}

/* ==========================================================================
   7. 价格块（四种状态）
   ========================================================================== */
.wf-price {
	margin-top: 14px;
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.wf-price__amount {
	font-family: var(--wf-serif);
	font-size: 19px;
	line-height: 1;
}

.wf-price__label {
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wf-wood);
}

.wf-price--locked .wf-price__amount {
	font-family: var(--wf-sans);
	font-size: 11px;
	line-height: 1.6;
	letter-spacing: 0.04em;
	color: var(--wf-ink-muted);
}

.wf-price--locked .wf-price__label {
	color: var(--wf-ink-faint);
}

.wf-price-box {
	margin-top: var(--wf-space-4);
	border: 1px solid var(--wf-line);
	padding: 26px 26px 22px;
	background: var(--wf-white);
}

.wf-price-box__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid var(--wf-line-soft);
}

.wf-price-box__row:last-of-type {
	border-bottom: 0;
}

.wf-price-box__k {
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
}

.wf-price-box__v {
	font-family: var(--wf-serif);
	font-size: 20px;
	line-height: 1;
}

.wf-price-box__v--sm {
	font-family: var(--wf-sans);
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--wf-ink-muted);
}

.wf-price-box__hint {
	margin-top: 16px;
	font-size: 10.5px;
	line-height: 1.9;
	color: var(--wf-wood);
}

.wf-price-box__actions {
	margin-top: 20px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ==========================================================================
   8. 产品详情
   ========================================================================== */
.wf-detail {
	display: grid;
	grid-template-columns: 1fr 520px;
	gap: var(--wf-gutter);
	padding: var(--wf-space-5) 0 var(--wf-space-6);
}

.wf-gallery__main {
	height: 560px;
}

.wf-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-top: 12px;
}

.wf-gallery__thumbs .wf-tile {
	height: 92px;
	cursor: pointer;
}

.wf-info h1 {
	margin-bottom: 16px;
}

.wf-info__intro {
	font-size: var(--wf-fs-body);
	color: var(--wf-ink-soft);
}

.wf-spec {
	margin-top: var(--wf-space-4);
}

.wf-spec h4 {
	font-family: var(--wf-sans);
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
	margin-bottom: 14px;
	font-weight: 400;
}

.wf-spec table {
	width: 100%;
	border-collapse: collapse;
	font-size: 11.5px;
}

.wf-spec td {
	border-bottom: 1px solid var(--wf-line-soft);
	padding: 10px 0;
	color: var(--wf-ink-soft);
}

.wf-spec td:first-child {
	width: 150px;
	color: var(--wf-ink-muted);
}

/* ==========================================================================
   9. 登录 / 注册 / 邀请码 / 账户
   ========================================================================== */
.wf-auth {
	display: grid;
	grid-template-columns: 1fr 620px;
	min-height: 640px;
	border-bottom: 1px solid var(--wf-line);
}

.wf-auth__visual {
	position: relative;
	background: linear-gradient(150deg, #3a2f26, #241d18 45%, #161311);
}

.wf-auth__quote {
	position: absolute;
	left: 56px;
	right: 56px;
	bottom: 56px;
	color: #f2ece2;
}

.wf-auth__quote p {
	font-family: var(--wf-serif);
	font-size: 24px;
	line-height: 1.6;
	margin: 0;
}

.wf-auth__form {
	padding: var(--wf-gutter);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wf-field {
	margin-top: var(--wf-space-3);
}

.wf-field label {
	display: block;
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
	margin-bottom: 9px;
}

.wf-field input,
.wf-field textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid rgba(22, 19, 17, 0.22);
	background: transparent;
	padding: 9px 0;
	font-family: var(--wf-sans);
	font-size: 13px;
	color: var(--wf-ink);
	outline: none;
}

.wf-field input:focus,
.wf-field textarea:focus {
	border-bottom-color: var(--wf-wood);
}

.wf-notice {
	border: 1px solid var(--wf-line);
	background: var(--wf-paper-2);
	padding: 14px 18px;
	font-size: 11.5px;
	color: var(--wf-ink-soft);
	margin-bottom: var(--wf-space-3);
}

.wf-notice--error {
	border-color: rgba(164, 70, 47, 0.35);
	background: rgba(164, 70, 47, 0.06);
	color: #a4462f;
}

.wf-account {
	display: grid;
	grid-template-columns: 260px 1fr;
	min-height: 600px;
}

.wf-account__side {
	border-right: 1px solid var(--wf-line);
	padding: var(--wf-space-5) var(--wf-space-4) var(--wf-space-5) var(--wf-gutter);
}

.wf-account__main {
	padding: var(--wf-space-5) var(--wf-gutter) var(--wf-gutter) 56px;
}

.wf-account__nav {
	list-style: none;
	margin: var(--wf-space-4) 0 0;
	padding: 0;
}

.wf-account__nav a {
	display: block;
	padding: 11px 0;
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
	border-bottom: 1px solid var(--wf-line-soft);
}

.wf-account__nav a.is-active {
	color: var(--wf-ink);
}

.wf-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
	font-size: 11.5px;
}

.wf-table th {
	font-family: var(--wf-sans);
	font-size: 8.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
	text-align: left;
	padding: 14px 10px;
	border-bottom: 1px solid var(--wf-line);
	font-weight: 400;
}

.wf-table td {
	padding: 15px 10px;
	border-bottom: 1px solid var(--wf-line-soft);
	color: var(--wf-ink-soft);
}

.wf-table td.is-num {
	text-align: right;
}

.wf-status {
	display: inline-block;
	font-size: 8.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 4px 9px;
	border: 1px solid rgba(22, 19, 17, 0.2);
	color: var(--wf-ink-muted);
}

.wf-status--ok {
	border-color: rgba(92, 107, 93, 0.5);
	color: var(--wf-sage);
}

.wf-status--wait {
	border-color: rgba(138, 107, 79, 0.45);
	color: var(--wf-wood);
}

/* ==========================================================================
   10. 通用列表（资讯 / 案例）
   ========================================================================== */
.wf-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	padding: var(--wf-space-4) 0 var(--wf-space-6);
}

.wf-post-grid--2 {
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.wf-post-card__tile {
	height: 240px;
}

.wf-post-card__meta {
	margin-top: 16px;
	display: flex;
	gap: 12px;
	font-size: 8.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
}

.wf-post-card h3 {
	margin-top: 10px;
	font-size: 17px;
	line-height: 1.5;
}

.wf-article {
	max-width: 760px;
	margin: 0 auto;
	padding: var(--wf-space-5) 0 var(--wf-space-6);
}

.wf-article__lead {
	font-family: var(--wf-serif);
	font-size: 16px;
	line-height: 1.9;
	color: var(--wf-ink-soft);
	padding-bottom: 26px;
	border-bottom: 1px solid var(--wf-line);
}

.wf-article__body p {
	font-size: 13px;
	line-height: 2.1;
	color: var(--wf-ink-soft);
	margin-top: 22px;
}

.wf-article__body blockquote {
	margin: 34px 0;
	padding-left: 26px;
	border-left: 2px solid var(--wf-wood);
	font-family: var(--wf-serif);
	font-size: 19px;
	line-height: 1.7;
	color: var(--wf-ink-soft);
}

/* ==========================================================================
   11. 深色 CTA 带
   ========================================================================== */
.wf-band {
	background: var(--wf-ink);
	color: var(--wf-paper);
	padding: var(--wf-space-5) var(--wf-gutter);
	display: flex;
	align-items: center;
	gap: 80px;
}

.wf-band h2,
.wf-band h3 {
	font-size: var(--wf-fs-h2);
	line-height: 1.4;
}

.wf-band p {
	margin-top: 18px;
	font-size: 12.5px;
	line-height: 1.95;
	color: rgba(247, 244, 239, 0.62);
	max-width: 560px;
}

.wf-band__actions {
	margin-left: auto;
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* ==========================================================================
   11b. 首页首屏与分类卡
   ========================================================================== */
.wf-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	color: var(--wf-paper);
}

.wf-hero__bg {
	position: absolute;
	inset: 0;
}

.wf-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(12, 10, 9, 0.42) 0%,
		rgba(12, 10, 9, 0.12) 34%,
		rgba(12, 10, 9, 0.62) 100%
	);
}

.wf-hero__inner {
	position: relative;
	z-index: 2;
	padding-top: var(--wf-space-7);
	padding-bottom: 72px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	width: 100%;
}

.wf-hero__index {
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(247, 244, 239, 0.62);
	line-height: 2.4;
	text-align: right;
	white-space: nowrap;
}

.wf-hero__index span {
	opacity: 0.7;
}

.wf-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}

.wf-cat__tile {
	height: 340px;
	position: relative;
}

.wf-cat__name {
	margin-top: 16px;
	font-family: var(--wf-sans);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wf-article h1 {
	margin-bottom: 24px;
}

/* ==========================================================================
   11c. 资讯头条 / 案例 / 联系 / 网站地图
   ========================================================================== */
.wf-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	padding: var(--wf-space-4) 0 var(--wf-space-4);
	align-items: center;
}

.wf-feature__media {
	display: block;
}

.wf-feature__tile {
	height: 420px;
}

.wf-feature h2 {
	font-size: 32px;
	line-height: 1.35;
}

.wf-project-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	padding: var(--wf-space-4) 0 var(--wf-space-6);
}

.wf-project {
	position: relative;
}

.wf-project__tile {
	height: 380px;
}

.wf-project__cap {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 14px;
	border-top: 1px solid var(--wf-line);
	padding-top: 12px;
	gap: 20px;
}

.wf-project__cap b {
	font-family: var(--wf-serif);
	font-size: 15px;
	font-weight: 400;
}

.wf-project__cap i {
	font-style: normal;
	font-size: 8.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
	white-space: nowrap;
}

.wf-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 1px solid rgba(247, 244, 239, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f7f4ef;
	font-size: 11px;
	background: rgba(0, 0, 0, 0.18);
}

.wf-case-hero {
	height: 520px;
	overflow: hidden;
	margin-bottom: var(--wf-space-5);
}

.wf-case-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
	margin-bottom: var(--wf-space-4);
}

.wf-case-head .wf-lead {
	max-width: 340px;
}

.wf-case-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--wf-line);
	border-bottom: 1px solid var(--wf-line);
}

.wf-case-facts > div {
	padding: 20px 0;
	border-right: 1px solid var(--wf-line-soft);
}

.wf-case-facts > div:last-child {
	border-right: 0;
}

.wf-case-facts span {
	display: block;
	font-size: 8.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
	margin-bottom: 8px;
}

.wf-case-facts b {
	font-family: var(--wf-serif);
	font-size: 15px;
	font-weight: 400;
}

.wf-case-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	padding: var(--wf-space-4) 0 var(--wf-space-6);
}

.wf-case-grid__item {
	height: 360px;
	position: relative;
}

.wf-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	padding: var(--wf-space-4) 0 var(--wf-space-6);
}

.wf-kv {
	display: flex;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--wf-line-soft);
	font-size: 11.5px;
}

.wf-kv span:first-child {
	width: 120px;
	flex: 0 0 120px;
	font-size: 8.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
	padding-top: 3px;
}

.wf-kv span:last-child {
	color: var(--wf-ink-soft);
	line-height: 1.7;
}

.wf-socials {
	display: flex;
	gap: 10px;
	margin-top: 26px;
}

.wf-socials a {
	width: 32px;
	height: 32px;
	border: 1px solid rgba(22, 19, 17, 0.16);
	border-radius: 50%;
	display: block;
}

.wf-map {
	margin-top: 26px;
	height: 180px;
	position: relative;
	overflow: hidden;
}

.wf-sitemap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 44px;
	padding: var(--wf-space-4) 0 var(--wf-space-6);
}

.wf-sitemap h5 {
	font-family: var(--wf-sans);
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wf-ink-faint);
	margin: 0 0 18px;
	font-weight: 400;
}

.wf-sitemap a {
	display: block;
	font-family: var(--wf-serif);
	font-size: 13px;
	line-height: 2.2;
	color: var(--wf-ink-soft);
}

.wf-sitemap a:hover {
	color: var(--wf-ink);
}

/* ==========================================================================
   11d. 移动端抽屉导航
   ========================================================================== */
.wf-split {
	display: grid;
	grid-template-columns: 1fr 520px;
	gap: 110px;
	align-items: start;
}

.wf-burger {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	padding: 12px 10px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.wf-burger span {
	display: block;
	height: 1.5px;
	background: var(--wf-ink);
	margin: 5px 0;
}

.wf-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--wf-ink);
	color: var(--wf-paper);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	overflow-y: auto;
}

.wf-drawer.is-open {
	transform: translateX(0);
}

.wf-drawer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px var(--wf-gutter);
	border-bottom: 1px solid rgba(247, 244, 239, 0.14);
	font-family: var(--wf-serif);
	font-size: 14px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.wf-drawer__close {
	background: transparent;
	border: 0;
	color: var(--wf-paper);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.wf-drawer__nav {
	display: flex;
	flex-direction: column;
	padding: 26px var(--wf-gutter);
}

.wf-drawer__nav a {
	font-family: var(--wf-serif);
	font-size: 26px;
	line-height: 1.4;
	padding: 12px 0;
	color: var(--wf-paper);
	border-bottom: 1px solid rgba(247, 244, 239, 0.1);
}

.wf-drawer__nav a[aria-current="page"] {
	color: var(--wf-sand);
}

.wf-drawer__foot {
	margin-top: auto;
	padding: 26px var(--wf-gutter) 40px;
}

body.wf-no-scroll {
	overflow: hidden;
}

/* ==========================================================================
   11e. 产品页咨询
   ========================================================================== */
.wf-enquiry {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	padding: var(--wf-space-5) 0 var(--wf-space-6);
	border-top: 1px solid var(--wf-line);
}

/* ==========================================================================
   11f. 询价清单
   ========================================================================== */
.wf-add-form {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.wf-qty-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
}

.wf-qty {
	width: 82px;
	border: 1px solid rgba(22, 19, 17, 0.22);
	background: var(--wf-white);
	padding: 10px 12px;
	font-family: var(--wf-sans);
	font-size: 12px;
	color: var(--wf-ink);
}

.wf-cart-table td {
	vertical-align: middle;
}

.wf-cart-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--wf-line);
}

.wf-cart-total {
	display: flex;
	align-items: baseline;
	gap: 16px;
	font-size: var(--wf-fs-eyebrow);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
}

.wf-cart-total strong {
	font-family: var(--wf-serif);
	font-size: 22px;
	letter-spacing: 0.02em;
	color: var(--wf-ink);
}

.wf-cart-submit {
	margin-top: var(--wf-space-5);
	padding-top: var(--wf-space-4);
	padding-bottom: var(--wf-space-5);
	border-top: 1px solid var(--wf-line);
}

.wf-link-btn {
	background: none;
	border: 0;
	padding: 0;
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wf-ink-muted);
	cursor: pointer;
	border-bottom: 1px solid rgba(22, 19, 17, 0.25);
}

.wf-cart-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 150;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 14px var(--wf-gutter);
	background: var(--wf-ink);
	color: var(--wf-paper);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body:has(.wf-cart-bar) {
	padding-bottom: 64px;
}

/* ==========================================================================
   12. 响应式（桌面稿 → 移动端推导）
   ========================================================================== */
@media (max-width: 1100px) {
	:root {
		--wf-gutter: 40px;
		--wf-fs-h1: 36px;
		--wf-fs-display: 42px;
		--wf-fs-h2: 26px;
	}

	.wf-product-grid,
	.wf-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.wf-detail {
		grid-template-columns: 1fr;
	}

	.wf-auth {
		grid-template-columns: 1fr;
	}

	.wf-auth__visual {
		min-height: 260px;
	}

	.wf-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.wf-split {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.wf-feature,
	.wf-contact,
	.wf-project-grid,
	.wf-case-grid,
	.wf-case-head {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 720px) {
	:root {
		--wf-gutter: 20px;
		--wf-space-7: 64px;
		--wf-space-6: 48px;
	}

	.wf-header {
		height: 64px;
	}

	/* 移动端：桌面导航与文字入口隐藏，只留汉堡和品牌标识。 */
	.wf-nav,
	.wf-header__util {
		display: none;
	}

	.wf-burger {
		display: block;
	}

	.wf-product-grid,
	.wf-post-grid,
	.wf-post-grid--2 {
		grid-template-columns: 1fr;
	}

	.wf-page-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding-top: 40px;
	}

	.wf-band {
		flex-direction: column;
		align-items: flex-start;
		gap: 26px;
	}

	.wf-band__actions {
		margin-left: 0;
	}

	.wf-account {
		grid-template-columns: 1fr;
	}

	.wf-account__side {
		border-right: 0;
		border-bottom: 1px solid var(--wf-line);
		padding: var(--wf-space-4) var(--wf-gutter);
	}

	.wf-account__main {
		padding: var(--wf-space-4) var(--wf-gutter);
	}

	.wf-gallery__main {
		height: 320px;
	}

	.wf-footer__grid {
		grid-template-columns: 1fr;
	}

	.wf-footer__legal {
		flex-direction: column;
		gap: 8px;
	}

	.wf-table {
		display: block;
		overflow-x: auto;
	}
}
