/* ==========================================================================
   Figma Make 视觉优化版（2026-11-14）
   --------------------------------------------------------------------------
   来源：客户用 Figma Make 做的首页设计稿（src.zip 的 App.tsx / index.css）。
   字体 Manrope（标题）+ DM Sans（正文），橙 #c93d17、墨绿 #252c27、纸面 #faf9f6。

   与 design-industrial.css 的关系：本层提供骨架，industrial 层叠在上面换配色与内页版式。
   本层与 design-industrial.css 同时加载，后者覆盖配色与内页版式。
   ========================================================================== */

/* 0. 字体：自托管 latin 子集 */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/dm-sans-400.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/dm-sans-500.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/dm-sans-600.woff2") format("woff2");
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/manrope-500.woff2") format("woff2");
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/manrope-600.woff2") format("woff2");
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/manrope-700.woff2") format("woff2");
}

/* 1. 设计变量：覆盖主题变量，商店/博客/产品页也跟着换 */
body.design-figma {
	--ink: #242724;
	--ink-2: #252c27;
	--ink-3: #1c2623;
	--paper: #faf9f6;
	--accent: #c93d17;
	--accent-dark: #a93212;

	--text: #242724;
	--text-muted: #5f6558;
	--on-dark: #b9c1b3;
	--on-dark-soft: rgba(185, 193, 179, 0.9);
	--on-dark-faint: rgba(185, 193, 179, 0.55);

	--rule: #dedfd7;
	--rule-dark: rgba(255, 255, 255, 0.18);

	--shell: 1328px;
	--gutter: 56px;

	--font-display: "Manrope", "Segoe UI", "Microsoft YaHei", sans-serif;
	--font-body: "DM Sans", "Segoe UI", "Microsoft YaHei", sans-serif;

	--steel-navy: #242724;
	--steel-navy-dark: #1c2623;
	--steel-accent: #c93d17;
	--steel-accent-dark: #a93212;
	--steel-text: #242724;
	--steel-muted: #5f6558;
	--steel-border: #dedfd7;
	--steel-surface-alt: #faf9f6;
	--steel-radius: 2px;

	/* 内页标题带：用交付包的仓库实拍，不再是原来的车间图 */
	--band-photo:
		linear-gradient(90deg, rgba(10, 16, 18, 0.9) 0%, rgba(10, 16, 18, 0.74) 45%, rgba(10, 16, 18, 0.4) 100%),
		linear-gradient(180deg, rgba(10, 16, 18, 0.3) 0%, rgba(10, 16, 18, 0.75) 100%),
		url("../img/band-warehouse.jpg");
}

body.design-figma {
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--text);
	background: var(--paper);
}

body.design-figma h1,
body.design-figma h2,
body.design-figma h3,
body.design-figma h4,
body.design-figma .entry-content h1,
body.design-figma .entry-content h2,
body.design-figma .entry-content h3 {
	font-family: var(--font-display);
	font-weight: 500;
	text-transform: none;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

/* 2. 页眉：首页透明压在图上是白字，其余页面保持浅色实底 */
body.design-figma .site-header,
body.design-figma .site-header .ast-primary-header-bar,
body.design-figma .site-header .site-primary-header-wrap {
	background: rgba(250, 249, 246, 0.96) !important;
	border-bottom: 1px solid var(--rule) !important;
}

body.design-figma.home .site-header.steel-header--over,
body.design-figma.home .site-header.steel-header--over .ast-primary-header-bar,
body.design-figma.home .site-header.steel-header--over .site-primary-header-wrap {
	background: transparent !important;
	border-bottom-color: rgba(255, 255, 255, 0.18) !important;
}

body.design-figma.home .site-header.steel-header--over {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* 品牌：文字字标 + 三道斜杠标记，替代原来的 svg 背景 */
body.design-figma .site-title,
body.design-figma .site-title a {
	display: inline-flex;
	align-items: center;
	width: auto;
	height: auto;
	background: none;
	overflow: visible;
	text-indent: 0;
	font-family: var(--font-display);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
	color: var(--ink) !important;
	text-decoration: none;
}

body.design-figma .site-title a::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-right: 9px;
	transform: skew(-18deg);
	background:
		linear-gradient(var(--accent), var(--accent)) 0 50% / 5px 20px no-repeat,
		linear-gradient(var(--accent), var(--accent)) 8px 50% / 5px 20px no-repeat,
		linear-gradient(var(--accent), var(--accent)) 16px 50% / 5px 20px no-repeat;
}

body.design-figma .site-title a::after {
	content: ".";
	color: var(--accent);
	margin-left: 2px;
}

body.design-figma.home .site-header.steel-header--over .site-title a,
body.design-figma.home .site-header.steel-header--over .main-header-menu > .menu-item > .menu-link { color: #fff !important; }

/* 下拉面板是纸白底，子项必须始终深色 —— 上面那条透明态规则不能漏进来 */
body.design-figma .main-header-menu .sub-menu .menu-link,
body.design-figma.home .site-header.steel-header--over .main-header-menu .sub-menu .menu-link {
	color: var(--ink) !important;
}

body.design-figma .main-header-menu .sub-menu .menu-link:hover,
body.design-figma.home .site-header.steel-header--over .main-header-menu .sub-menu .menu-link:hover {
	background: #f0eee8;
	color: var(--accent) !important;
}

body.design-figma .main-header-menu .menu-link {
	color: var(--ink) !important;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

body.design-figma .main-header-menu > .menu-item > .menu-link {
	height: 72px !important;
	line-height: 72px !important;
	padding: 0 15px !important;
}

body.design-figma.home .site-header.steel-header--over .main-header-menu .menu-link:hover {
	color: var(--accent) !important;
}

/* 页眉右侧的询价按钮：描边样式 */
/* 询价按钮：实心橙，浅底和透明页眉上都一样，保证一眼能看到 */
body.design-figma .main-header-menu .steel-nav-cta > .menu-link,
body.design-figma.home .site-header.steel-header--over .main-header-menu .steel-nav-cta > .menu-link {
	height: auto !important;
	line-height: 1 !important;
	padding: 13px 18px !important;
	background: var(--accent) !important;
	border: 1px solid var(--accent) !important;
	color: #fffdf7 !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

body.design-figma .main-header-menu .steel-nav-cta > .menu-link:hover,
body.design-figma.home .site-header.steel-header--over .main-header-menu .steel-nav-cta > .menu-link:hover {
	background: var(--accent-dark) !important;
	border-color: var(--accent-dark) !important;
	color: #fffdf7 !important;
}

/* 下拉：纸面面板 */
body.design-figma .main-header-menu .sub-menu {
	background: var(--paper) !important;
	border: 1px solid var(--rule) !important;
	box-shadow: 0 10px 35px rgba(35, 39, 35, 0.08);
	min-width: 260px;
}

body.design-figma .main-header-menu .sub-menu .menu-link {
	color: var(--ink) !important;
	font-size: 12px;
	line-height: 1.5 !important;
	height: auto !important;
	padding: 10px 14px !important;
}

body.design-figma .main-header-menu .sub-menu .menu-link:hover {
	background: #f0eee8;
	color: var(--accent) !important;
}

body.design-figma .ast-mobile-header-wrap .ast-primary-header-bar,
body.design-figma .ast-mobile-header-content,
body.design-figma .ast-header-break-point .main-header-bar-navigation {
	background: var(--paper) !important;
}

body.design-figma .menu-toggle .ast-mobile-svg { fill: var(--ink) !important; }
body.design-figma.home .site-header.steel-header--over .menu-toggle .ast-mobile-svg { fill: #fff !important; }

/* 3. 首页容器 */
/* 首页各段必须通栏 —— 它们直接放在 entry-content 里，不拉满就是两边露白 */
body.design-figma { overflow-x: hidden; }

body.design-figma .fig > section {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.fig .fig-container {
	width: calc(100% - 112px);
	max-width: 1328px;
	margin-inline: auto;
}

.fig-eyebrow,
.fig-num {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1.7px;
	text-transform: uppercase;
}

.fig-eyebrow { color: var(--on-dark); }
.fig-eyebrow > span { width: 17px; height: 2px; background: var(--accent); }

.fig-num { color: var(--accent); margin-bottom: 20px; }

.fig a,
.fig a:hover,
.fig a:focus { text-decoration: none !important; }

.fig-link {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	color: inherit;
	text-decoration: none;
}

.fig-link:hover { color: var(--accent); }

.fig-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding: 17px 23px;
	background: var(--accent);
	color: var(--white, #fffdf7);
	font-size: 13px;
	font-weight: 500;
	border: 1px solid transparent;
	border-radius: 2px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.fig-btn:hover { background: var(--accent-dark); transform: translateY(-2px); color: #fff; }

.fig-btn--outline {
	background: rgba(21, 32, 28, 0.2);
	border-color: rgba(255, 253, 247, 0.8);
	color: #fffdf7;
}

.fig-btn--outline:hover { background: #fffdf7; border-color: #fffdf7; color: var(--ink); }

.fig .fig-btn--light { background: #fffdf7; color: var(--ink); }
.fig .fig-btn--light:hover { background: #ecebdc; color: var(--ink); }

.fig-i { flex-shrink: 0; }

/* 4. 首屏 */
.fig-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: 152px;
	background: #1c2623;
	color: #fffdf7;
}

.fig-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 44%;
}

.fig-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(0deg, rgba(17, 29, 26, 0.92), rgba(17, 29, 26, 0) 53%, rgba(17, 29, 26, 0.3)),
		linear-gradient(90deg, rgba(17, 29, 26, 0.94) 0%, rgba(17, 29, 26, 0.8) 43%, rgba(17, 29, 26, 0.55) 100%);
}

.fig-hero > .fig-container {
	display: flex;
	flex-direction: column;
	min-height: clamp(600px, calc(100svh - 152px), 800px);
}

.fig-hero__grid {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 270px;
	gap: 54px;
	padding-top: 56px;
	padding-bottom: 75px;
	align-items: end;
}

.fig-hero h1 {
	margin: 0;
	font-size: clamp(46px, 4.75vw, 72px);
	line-height: 1.13;
	letter-spacing: -0.045em;
	font-weight: 500;
	color: #fffdf7;
}

.fig-hero h1 span { color: #f0a07a; }

.fig-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }

.fig-hero__aside { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.3); margin-bottom: 4px; }
.fig-hero__aside p { margin: 0; font-size: 14px; line-height: 1.85; color: #b9c1b3; }

.fig-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding: 30px 0 35px;
}

.fig-stat { display: flex; gap: 21px; border-right: 1px solid rgba(255, 255, 255, 0.19); padding-left: 35px; }
.fig-stat:first-child { padding-left: 0; }
.fig-stat:last-child { border-right: 0; }

.fig-stat strong {
	display: block;
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 500;
	letter-spacing: -1.8px;
	line-height: 1.2;
	color: #fffdf7;
}

.fig-stat small { font-size: 23px; }
.fig-stat__label { display: block; margin-top: 6px; font-size: 12px; color: #b9c1b3; }

/* 5. 通用版块 */
.fig-space { padding-block: 64px; }

.fig-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 35px;
	margin-bottom: 42px;
}

.fig-head h2 {
	margin: 0;
	font-size: 32px;
	line-height: 1.24;
	font-weight: 500;
	letter-spacing: -0.04em;
}

.fig-head p { margin: 17px 0 0; font-size: 15px; line-height: 1.9; color: var(--text-muted); }

.fig-head > .fig-link { border-bottom: 1px solid #b5b8ac; padding-bottom: 10px; margin-bottom: 4px; }

/* 6. 产品 */
.fig-products { background: #fff; border-top: 1px solid var(--rule); }

.fig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }

.fig-card { border-bottom: 1px solid var(--rule); padding-bottom: 20px; text-decoration: none; color: inherit; }

.fig-card__img { position: relative; aspect-ratio: 1.2; border-radius: 2px; overflow: hidden; background: #eeefeb; }
.fig-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.fig-card:hover .fig-card__img img { transform: scale(1.055); }

.fig-card__copy { padding: 17px 0 4px; }
.fig-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fig-card__row h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.fig-card__arrow { display: grid; place-items: center; color: var(--text-muted); transition: color 0.2s, transform 0.2s; }
.fig-card:hover .fig-card__arrow { color: var(--accent); transform: translate(2px, -2px); }
.fig-card__copy p { margin: 7px 0 0; font-size: 14px; line-height: 1.8; color: var(--text-muted); }

/* 7. 市场 */
.fig-markets { background: #252c27; color: #fffdf7; }
.fig-markets h2,
.fig-markets h3 { color: #fffdf7; }
.fig-markets .fig-num { color: #f0a07a; }
.fig-markets .fig-head p { color: #b9c1b3; }
.fig-markets .fig-head h2 span { color: #f0a07a; }
.fig-markets .fig-head > .fig-link { border-color: #64705f; }
.fig-markets .fig-link:hover { color: #f0a07a; }

.fig-market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 48px; }

.fig-market { border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.01); padding: 28px; }

.fig-market__top { display: flex; align-items: center; justify-content: space-between; }
.fig-market__top .fig-i { color: #b9c1b3; }

.fig-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #b9c1b3; }

.fig-market h3 { margin: 23px 0 0; font-size: 25px; font-weight: 500; letter-spacing: -0.03em; }

.fig-ports { margin: 11px 0 0; min-height: 70px; font-size: 14px; line-height: 1.8; color: #b9c1b3; }

.fig-market ul { margin: 0; padding: 23px 0 0; border-top: 1px solid #414d40; list-style: none; display: grid; gap: 18px; }
.fig-market li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.85; color: #b9c1b3; }
.fig-market li::before { content: ""; position: absolute; left: 0; top: 10px; width: 3px; height: 3px; border-radius: 50%; background: #b9c1b3; }

/* 8. 质量带 */
.fig-quality { background: #eeeee7; border-bottom: 1px solid var(--rule); padding-block: 54px; }
.fig-quality__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.fig-quality article { padding: 0 25px; border-right: 1px solid #d7d9ce; }
.fig-quality article:first-child { padding-left: 0; }
.fig-quality article:last-child { border-right: 0; padding-right: 0; }

.fig-quality__label { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.fig-quality h3 { margin: 18px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.fig-quality p { margin: 11px 0 0; font-size: 14px; line-height: 1.85; color: var(--text-muted); }

/* 9. 指南 */
.fig-guides { background: var(--paper); }
.fig-guide-list { border-top: 1px solid var(--rule); margin-top: 43px; }

.fig-guide-list > a {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 30px 0;
	border-bottom: 1px solid var(--rule);
	text-decoration: none;
	color: inherit;
	transition: background 0.2s, color 0.2s;
}

.fig-guide-list > a:hover { color: var(--accent); background: rgba(239, 239, 231, 0.42); }
.fig-guide-list h3 { flex: 1; margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.fig-guide__arrow { width: 37px; height: 37px; border: 1px solid #d8dcd0; border-radius: 50%; display: grid; place-items: center; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.fig-guide-list > a:hover .fig-guide__arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 10. 询盘带 */
.fig-enquiry { background: var(--accent); color: #fffdf7; padding-block: 68px; }
.fig-enquiry__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.fig-enquiry h2 { margin: 0; font-size: 36px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.27; color: #fffdf7; }
.fig-enquiry p { margin: 19px 0 0; font-size: 14px; line-height: 1.9; color: #fffdf7; }
.fig-enquiry__actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fig-enquiry .fig-link:hover { color: var(--ink); }

/* 11. 页脚：纸面浅色 */
body.design-figma .steel-footer-main,
body.design-figma .site-footer {
	background: #f3f3ec !important;
	color: var(--text);
}

body.design-figma .steel-footer-grid { display: grid; grid-template-columns: 1.1fr 1.8fr 0.8fr 1.1fr; gap: 38px; padding: 61px 0 50px; }
body.design-figma .steel-footer-brand-name {
	display: inline-flex;
	align-items: center;
	width: auto;
	height: auto;
	margin: 0;
	background: none;
	overflow: visible;
	text-indent: 0;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--ink);
}

body.design-figma .steel-footer-brand-name::before {
	content: "";
	width: 18px;
	height: 18px;
	margin-right: 8px;
	transform: skew(-18deg);
	background:
		linear-gradient(var(--accent), var(--accent)) 0 50% / 4px 16px no-repeat,
		linear-gradient(var(--accent), var(--accent)) 7px 50% / 4px 16px no-repeat,
		linear-gradient(var(--accent), var(--accent)) 14px 50% / 4px 16px no-repeat;
}

body.design-figma .steel-footer-brand-name::after {
	content: ".";
	color: var(--accent);
	margin-left: 1px;
}
body.design-figma .steel-footer-intro { margin-top: 19px; max-width: 215px; font-size: 12px; line-height: 1.9; color: var(--text-muted); }
body.design-figma .steel-footer-heading { margin: 0 0 23px; font-size: 12px; font-weight: 600; color: var(--ink); }
body.design-figma .steel-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; }
body.design-figma .steel-footer-list a,
body.design-figma .steel-footer-address { display: block; padding: 6px 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); text-decoration: none; }
body.design-figma .steel-footer-list a:hover { color: var(--accent); }

body.design-figma .site-footer .ast-container { max-width: 1328px; }
body.design-figma .site-footer .site-below-footer-wrap,
body.design-figma .site-footer .ast-builder-footer-grid-columns { background: #f3f3ec !important; }
body.design-figma .site-footer .ast-footer-copyright,
body.design-figma .site-footer .ast-footer-copyright a { color: var(--text-muted) !important; font-size: 12px; }

/* 11.3 按钮与价格：Figma 版是常规大小写、DM Sans 13px */
body.design-figma .wp-block-button .wp-block-button__link,
body.design-figma .wp-element-button,
body.design-figma .steel-inquiry-btn,
body.design-figma .steel-loop-inquiry {
	padding: 14px 22px;
	border-radius: 2px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

body.design-figma .steel-price,
body.design-figma .steel-price-value {
	font-size: 18px;
	line-height: 1.35;
	text-transform: none;
}

/* 11.4 商店/分类卡片：和首页产品卡同一套字体 */
body.design-figma ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-transform: none;
}

body.design-figma ul.products li.product .woocommerce-loop-category__title,
body.design-figma .woocommerce-breadcrumb,
body.design-figma .woocommerce-result-count,
body.design-figma .woocommerce-ordering select {
	font-family: var(--font-body);
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
}

/* 内页标题带与正文之间不留白 —— 版块自带上下留白 */
body.design-figma .entry-header:not([class*="ast-blog-meta"]) {
	margin-bottom: 0;
}

/* 内页正文与标题带之间留出呼吸空间（联系页/关于页等纯文字页曾直接顶在图上） */
body.design-figma:not(.home) .entry-content {
	padding-top: 64px;
}

body.design-figma .entry-content:has(> .fig) {
	padding-top: 0;
}

/* 11.5 内页标题带：Manrope、不转大写、字号收一档 */
body.design-figma:not(.home) .entry-header:not([class*="ast-blog-meta"]) .entry-title,
body.design-figma:not(.home) .entry-header:not([class*="ast-blog-meta"]) .entry-title a,
body.design-figma .steel-page-band__title,
body.design-figma .woocommerce-products-header .page-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.04em;
	text-transform: none;
	color: #fffdf7;
}

/* 11.6 无标题带的页面（产品详情 / 购物车 / 结算 / 账户）也要浅色页眉，
   steel.css 里这几页被强制成深色实底，浅色设计下会看不见字 */
body.design-figma.single-product .site-header,
body.design-figma.single-product .site-header.steel-header--over,
body.design-figma.woocommerce-cart .site-header,
body.design-figma.woocommerce-checkout .site-header,
body.design-figma.woocommerce-account .site-header,
body.design-figma.woocommerce-cart .site-header.steel-header--over,
body.design-figma.woocommerce-checkout .site-header.steel-header--over,
body.design-figma.woocommerce-account .site-header.steel-header--over {
	background: rgba(250, 249, 246, 0.96) !important;
}

body.design-figma.single-product .site-header .ast-primary-header-bar,
body.design-figma.single-product .site-header .site-primary-header-wrap,
body.design-figma.woocommerce-cart .site-header .ast-primary-header-bar,
body.design-figma.woocommerce-checkout .site-header .ast-primary-header-bar,
body.design-figma.woocommerce-account .site-header .ast-primary-header-bar,
body.design-figma.single-product .site-header.steel-header--over .ast-primary-header-bar,
body.design-figma.woocommerce-cart .site-header.steel-header--over .ast-primary-header-bar,
body.design-figma.woocommerce-checkout .site-header.steel-header--over .ast-primary-header-bar,
body.design-figma.woocommerce-account .site-header.steel-header--over .ast-primary-header-bar {
	background: rgba(250, 249, 246, 0.96) !important;
	border-bottom-color: var(--rule);
}

/* 11.7 最小字号 12px、移动端点击区 44px（方案第 3 节） */
body.design-figma .steel-price-prefix,
body.design-figma .steel-eyebrow,
body.design-figma .fig-num,
body.design-figma .fig-stat__label {
	font-size: 12px;
}

@media (max-width: 760px) {
	body.design-figma .main-header-menu .menu-link,
	body.design-figma .steel-footer-list a,
	body.design-figma .steel-footer-address {
		min-height: 44px;
		display: flex;
		align-items: center;
	}
}

/* 11.8 产品页 Key facts（MOQ / 条款 / 标准 / 锌层） */
body.design-figma .key-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0 18px;
	margin: 20px 0 24px;
	padding: 14px 0;
	list-style: none;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

body.design-figma .key-facts li { padding: 6px 0; }

body.design-figma .key-facts span {
	display: block;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-muted);
}

body.design-figma .key-facts strong {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

/* 11.9 404 与感谢页 */
body.design-figma .fig-404__title { font-size: clamp(34px, 4vw, 56px); margin: 0 0 12px; }
body.design-figma .fig-404__intro { font-size: 16px; color: var(--text-muted); max-width: 46ch; }

body.design-figma .fig-search { display: flex; gap: 10px; margin: 26px 0 34px; max-width: 560px; }
body.design-figma .fig-search input {
	flex: 1;
	padding: 14px 16px;
	border: 1px solid var(--rule);
	background: #fff;
	font-size: 15px;
	color: var(--ink);
}
body.design-figma .fig-search button {
	padding: 14px 22px;
	border: 0;
	background: var(--accent);
	color: #fffdf7;
	font-size: 14px;
	cursor: pointer;
}

body.design-figma .fig-404__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}
body.design-figma .fig-404__cards a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
}
body.design-figma .fig-404__cards a:hover { background: #f0eee8; }
body.design-figma .fig-404__cards span { font-family: monospace; font-size: 12px; color: var(--accent); }
body.design-figma .fig-404__cards strong { font-size: 16px; font-weight: 600; }

body.design-figma .fig-steps { counter-reset: step; list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 16px; max-width: 60ch; }
body.design-figma .fig-steps li { padding-left: 40px; position: relative; font-size: 16px; line-height: 1.7; }
body.design-figma .fig-steps li::before {
	counter-increment: step;
	content: "0" counter(step);
	position: absolute;
	left: 0;
	top: 2px;
	font-family: monospace;
	font-size: 12px;
	color: var(--accent);
}

@media (max-width: 760px) {
	body.design-figma .fig-404__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 11.10 产品画廊比例统一（方案第 3 节 CSS 补丁） */
body.design-figma .woocommerce-product-gallery__image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

/* 11.11 动效：版块入场、首屏推近、按钮扫光（和原设计同一套节奏） */
@media (prefers-reduced-motion: no-preference) {
	.js-reveal .fig > section > .fig-container > * {
		opacity: 0;
		transform: translateY(26px);
		transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
			transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.js-reveal .fig > section.is-in > .fig-container > * {
		opacity: 1;
		transform: none;
	}

	.js-reveal .fig > section.is-in > .fig-container > *:nth-child(2) { transition-delay: 0.08s; }
	.js-reveal .fig > section.is-in > .fig-container > *:nth-child(3) { transition-delay: 0.16s; }
	.js-reveal .fig > section.is-in > .fig-container > *:nth-child(4) { transition-delay: 0.24s; }

	/* 首屏大图缓慢推近 */
	.fig-hero__bg {
		animation: figHeroZoom 18s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}

	/* 按钮悬停扫光 */
	.fig-btn {
		position: relative;
		overflow: hidden;
	}

	.fig-btn::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(255, 255, 255, 0.18);
		transform: translateX(-101%);
		transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
		pointer-events: none;
	}

	.fig-btn:hover::before {
		transform: translateX(0);
	}
}

@keyframes figHeroZoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

/* 12. 响应式 */
@media (max-width: 1200px) {
	.fig .fig-container { width: calc(100% - 80px); }
	.fig-hero__grid { grid-template-columns: 1fr 235px; gap: 35px; }
	.fig-stat { padding-left: 24px; gap: 15px; }
	body.design-figma .steel-footer-grid { gap: 24px; grid-template-columns: 1fr 1.6fr 0.8fr 1fr; }
}

@media (max-width: 1000px) {
	.fig .fig-container { width: calc(100% - 64px); }
	.fig-hero__grid { grid-template-columns: 1fr 210px; gap: 25px; }
	.fig-head h2 { font-size: 33px; }
	.fig-guide-list h3 { font-size: 18px; }
}

@media (max-width: 760px) {
	.fig .fig-container { width: calc(100% - 40px); }
	.fig-hero { padding-top: 120px; }
	.fig-hero > .fig-container { min-height: max(610px, calc(100svh - 120px)); }
	.fig-hero__grid { display: block; padding-top: 26px; padding-bottom: 40px; }
	.fig-hero h1 { font-size: clamp(37px, 6.8vw, 53px); letter-spacing: -0.04em; line-height: 1.15; }
	.fig-hero__aside { margin-top: 30px; border-top: 0; padding-top: 0; }
	.fig-stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; padding-block: 24px; }
	.fig-stat:nth-child(2) { border-right: 0; }
	.fig-stat:nth-child(3) { padding-left: 0; }
	.fig-stat strong { font-size: 29px; letter-spacing: -1px; white-space: nowrap; }
	.fig-stat small { font-size: 17px; }
	.fig-space { padding-block: 48px; }
	.fig-head { flex-wrap: wrap; align-items: start; gap: 20px; margin-bottom: 29px; }
	.fig-head h2 { font-size: 26px; }
	.fig-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 15px; }
	.fig-market-grid { grid-template-columns: 1fr; gap: 35px; margin-top: 30px; }
	.fig-market { padding: 22px 18px; }
	.fig-ports { min-height: 0; }
	.fig-quality { padding-block: 35px; }
	.fig-quality__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
	.fig-quality article { padding-inline: 20px; }
	.fig-quality article:nth-child(2) { padding-right: 0; border-right: 0; }
	.fig-quality article:nth-child(3) { padding-left: 0; }
	.fig-guide-list > a { padding-block: 23px; gap: 12px; }
	.fig-guide-list h3 { font-size: 16px; line-height: 1.5; }
	.fig-guide__arrow { width: 30px; height: 30px; flex-shrink: 0; }
	.fig-enquiry { padding-block: 44px; }
	.fig-enquiry__inner { display: block; }
	.fig-enquiry h2 { font-size: 30px; }
	.fig-enquiry__actions { margin-top: 30px; align-items: flex-start; }
	body.design-figma .steel-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 25px; padding: 40px 0 35px; }
	body.design-figma .steel-footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
	.fig-hero__actions { flex-direction: column; align-items: stretch; }
	.fig-hero__actions .fig-btn { width: 100%; }
	.fig-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. 手机端底部悬浮条（WhatsApp + 询盘）
   宽屏不显示；窄屏固定在视口底部，内容区留出同等高度的 padding-bottom，
   避免遮住页脚最后一行链接。
   -------------------------------------------------------------------------- */
.steel-mobile-bar { display: none; }

@media (max-width: 760px) {
	body.design-figma { padding-bottom: 60px; }

	.steel-mobile-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		height: 56px;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
	}

	.steel-mobile-bar a {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		font-family: var(--font-body);
		font-size: 13px;
		font-weight: 600;
		text-decoration: none;
	}

	.steel-mobile-bar__wa {
		background: #1ebe5d;
		color: #fff;
	}

	.steel-mobile-bar__quote {
		background: var(--accent);
		color: #fffdf7;
	}

	/* Astra 自带的"回到顶部"圆钮默认贴底，和悬浮条叠在一起，顶上去让出位置 */
	body.design-figma #ast-scroll-top {
		bottom: 68px !important;
	}
}
