/* =========================================================
   XINHZ Luxury — Design System
   新中式 · International Luxury Aesthetic
   ========================================================= */

:root {
	/* 色彩令牌 */
	--xhz-ink: #1B1710;
	--xhz-ink-soft: #454036;
	--xhz-muted: #7C7361;
	--xhz-canvas: #F6F1E7;
	--xhz-paper: #FCFAF4;
	--xhz-jade: #1E4A3D;
	--xhz-jade-deep: #12352B;
	--xhz-gold: #A87F3B;
	--xhz-gold-soft: #C9A86A;
	--xhz-line: #E6DEC9;
	--xhz-red: #A63A2B;
	--xhz-white: #FFFFFF;

	/* 字体栈 */
	--xhz-serif: 'Cormorant Garamond', 'Noto Serif SC', 'Noto Serif TC', 'Noto Serif JP', 'Noto Serif KR', 'Noto Serif Thai', Georgia, serif;
	--xhz-sans: 'Jost', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Thai', 'Segoe UI', -apple-system, sans-serif;

	/* 布局 */
	--xhz-radius: 3px;
	--xhz-radius-lg: 10px;
	--xhz-shadow-sm: 0 1px 2px rgba(27, 23, 16, 0.06);
	--xhz-shadow-md: 0 10px 30px -12px rgba(27, 23, 16, 0.18);
	--xhz-shadow-lg: 0 24px 60px -20px rgba(27, 23, 16, 0.28);
	--xhz-container: 1280px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
	background: var(--xhz-canvas);
	color: var(--xhz-ink);
	font-family: var(--xhz-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

/* 泰文需要更大行高 */
body[lang*="th"], html[lang*="th"] body { line-height: 1.9; }

h1, h2, h3, h4, h5 {
	font-family: var(--xhz-serif);
	font-weight: 600;
	color: var(--xhz-ink);
	letter-spacing: 0.005em;
	line-height: 1.18;
}

a { color: var(--xhz-jade); transition: color .25s ease; }
a:hover { color: var(--xhz-gold); }

::selection { background: var(--xhz-jade); color: #fff; }

.xhz-container {
	max-width: var(--xhz-container);
	margin-inline: auto;
	padding-inline: clamp(18px, 4vw, 44px);
}

img { max-width: 100%; }

/* 隐藏 Blocksy 自带页面标题 (首页) */
body.home .hero-section,
body.home .entry-header { display: none !important; }

/* =========================================================
   公告栏
   ========================================================= */
.xhz-announce {
	background: var(--xhz-jade-deep);
	color: #EFE8D8;
	font-size: 12.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.xhz-announce-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding-block: 9px;
	flex-wrap: wrap;
}
.xhz-announce-sep { color: var(--xhz-gold-soft); opacity: .7; }

/* =========================================================
   Header
   ========================================================= */
.xhz-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(252, 250, 244, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--xhz-line);
	transition: box-shadow .3s ease, background .3s ease;
}
.xhz-header.is-stuck { box-shadow: var(--xhz-shadow-md); }

.xhz-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(16px, 3vw, 44px);
	padding-block: 14px;
}

/* 品牌 */
.xhz-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.xhz-seal { display: inline-flex; filter: drop-shadow(0 2px 6px rgba(18, 53, 43, .25)); }
.xhz-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.xhz-brand-name {
	font-family: var(--xhz-serif);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: 0.34em;
	color: var(--xhz-ink);
	margin-right: -0.34em;
}
.xhz-brand-sub {
	font-size: 9.5px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--xhz-gold);
	margin-top: 4px;
}

/* 导航 */
.xhz-nav { justify-self: center; }
.xhz-nav-list {
	display: flex;
	gap: clamp(20px, 2.6vw, 38px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.xhz-nav-list a {
	position: relative;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--xhz-ink);
	text-decoration: none;
	padding-block: 6px;
}
.xhz-nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1.5px;
	background: var(--xhz-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.xhz-nav-list a:hover { color: var(--xhz-jade); }
.xhz-nav-list a:hover::after { transform: scaleX(1); }

/* 操作区 */
.xhz-actions {
	display: flex;
	align-items: center;
	gap: clamp(8px, 1.2vw, 16px);
}
.xhz-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 0;
	color: var(--xhz-ink);
	cursor: pointer;
	text-decoration: none;
	padding: 8px;
	border-radius: 50%;
	transition: color .25s ease, background .25s ease;
}
.xhz-icon-btn:hover { color: var(--xhz-jade); background: rgba(30, 74, 61, 0.07); }
.xhz-icon-label {
	display: none;
	font-size: 12.5px;
	letter-spacing: 0.06em;
}
.xhz-cart-count {
	position: absolute;
	top: 1px;
	right: 0;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--xhz-gold);
	color: #fff;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 600;
}
.xhz-cart-count[data-empty="1"] { display: none; }
.xhz-trigger { display: none; }

/* 语言切换器 */
.xhz-lang { position: relative; }
.xhz-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: 1px solid var(--xhz-line);
	border-radius: 999px;
	padding: 7px 13px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--xhz-ink);
	cursor: pointer;
	transition: border-color .25s ease, background .25s ease;
}
.xhz-lang-btn:hover { border-color: var(--xhz-jade); background: rgba(30, 74, 61, .05); }
.xhz-lang-caret { transition: transform .25s ease; opacity: .6; }
.xhz-lang.open .xhz-lang-caret { transform: rotate(180deg); }
.xhz-lang-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 168px;
	background: var(--xhz-white);
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius-lg);
	box-shadow: var(--xhz-shadow-lg);
	list-style: none;
	margin: 0;
	padding: 6px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: all .25s ease;
	z-index: 600;
}
.xhz-lang.open .xhz-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.xhz-lang-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 9px 12px;
	border-radius: 7px;
	font-size: 13.5px;
	color: var(--xhz-ink);
	text-decoration: none;
}
.xhz-lang-menu a:hover { background: var(--xhz-canvas); color: var(--xhz-jade); }
.xhz-lang-menu .is-active a { font-weight: 600; color: var(--xhz-jade); }
.xhz-lang-check { color: var(--xhz-gold); font-size: 12px; }

/* 移动端抽屉 */
.xhz-drawer { position: fixed; inset: 0; z-index: 900; }
.xhz-drawer[hidden] { display: none; }
.xhz-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(27, 23, 16, 0.45);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .3s ease;
}
.xhz-drawer.showing .xhz-drawer-backdrop { opacity: 1; }
.xhz-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	background: var(--xhz-paper);
	box-shadow: var(--xhz-shadow-lg);
	transform: translateX(100%);
	transition: transform .35s cubic-bezier(.22, .61, .36, 1);
	display: flex;
	flex-direction: column;
	padding: 22px 26px 34px;
}
.xhz-drawer.showing .xhz-drawer-panel { transform: translateX(0); }
.xhz-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--xhz-line);
}
.xhz-drawer-title { font-family: var(--xhz-serif); font-weight: 700; letter-spacing: .3em; font-size: 17px; }
.xhz-drawer-close { background: none; border: 0; cursor: pointer; color: var(--xhz-ink); padding: 8px; }
.xhz-drawer-nav ul { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; }
.xhz-drawer-nav a {
	display: block;
	padding: 13px 4px;
	font-size: 15.5px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--xhz-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--xhz-line);
}
.xhz-drawer-nav a:hover { color: var(--xhz-jade); padding-left: 10px; }
.xhz-drawer-lang .xhz-lang { width: 100%; }
.xhz-drawer-lang .xhz-lang-btn { width: 100%; justify-content: space-between; border-radius: var(--xhz-radius); }
.xhz-drawer-lang .xhz-lang-menu { position: static; display: block; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 1px solid var(--xhz-line); margin-top: 10px; }

/* =========================================================
   通用组件
   ========================================================= */
.xhz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 34px;
	border-radius: var(--xhz-radius);
	font-family: var(--xhz-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all .3s ease;
	line-height: 1.4;
}
.xhz-btn-primary { background: var(--xhz-jade); color: #fff; }
.xhz-btn-primary:hover { background: var(--xhz-jade-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--xhz-shadow-md); }
.xhz-btn-ghost { border-color: var(--xhz-ink); color: var(--xhz-ink); background: transparent; }
.xhz-btn-ghost:hover { background: var(--xhz-ink); color: #fff; transform: translateY(-2px); }
.xhz-btn-gold { background: var(--xhz-gold); color: #fff; }
.xhz-btn-gold:hover { background: #8F6C2F; color: #fff; transform: translateY(-2px); box-shadow: var(--xhz-shadow-md); }

.xhz-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--xhz-gold);
	margin-bottom: 14px;
}
.xhz-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--xhz-gold-soft);
}

/* 滚动浮现 */
.xhz-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1); }
.xhz-reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   首页
   ========================================================= */
body.home .site-main,
body.page-template-default .site-main { padding-top: 0 !important; }

/* 移除 Blocksy 默认 wrapper 空隙 */
.xhz-site .site-main > .ct-container-full { padding-top: 0 !important; }

/* —— Hero —— */
.xhz-hero {
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(201, 168, 106, 0.14), transparent 60%),
		linear-gradient(160deg, #FBF8F1 0%, #F2EADB 100%);
	border-bottom: 1px solid var(--xhz-line);
	overflow: hidden;
	position: relative;
}
.xhz-hero::before {
	content: "";
	position: absolute;
	inset-inline-start: -140px;
	bottom: -180px;
	width: 460px;
	height: 460px;
	border: 1px solid rgba(168, 127, 59, 0.18);
	border-radius: 50%;
	pointer-events: none;
}
.xhz-hero-inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	min-height: min(640px, 78vh);
	padding-block: clamp(40px, 6vw, 80px);
}
.xhz-hero-copy { max-width: 620px; }
.xhz-hero h1 {
	font-size: clamp(2.5rem, 5.2vw, 4.3rem);
	font-weight: 600;
	line-height: 1.08;
	margin-bottom: 22px;
}
.xhz-hero h1 em {
	font-style: italic;
	color: var(--xhz-jade);
}
.xhz-hero p {
	font-size: clamp(15.5px, 1.4vw, 18px);
	color: var(--xhz-muted);
	max-width: 480px;
	margin-bottom: 34px;
	line-height: 1.85;
}
.xhz-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.xhz-hero-meta {
	display: flex;
	gap: 26px;
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid var(--xhz-line);
}
.xhz-hero-meta div { display: flex; flex-direction: column; }
.xhz-hero-meta strong {
	font-family: var(--xhz-serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--xhz-jade);
}
.xhz-hero-meta span {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--xhz-muted);
	margin-top: 4px;
}

/* 月洞门 hero 图 */
.xhz-hero-figure { position: relative; }
.xhz-hero-figure .xhz-moongate {
	width: min(100%, 470px);
	aspect-ratio: 4 / 4.9;
	object-fit: cover;
	border-radius: 999px 999px 12px 12px;
	box-shadow: var(--xhz-shadow-lg);
	border: 1px solid rgba(168, 127, 59, .35);
	display: block;
	margin-inline: auto;
}
.xhz-hero-badge {
	position: absolute;
	bottom: 26px;
	inset-inline-start: -6px;
	background: var(--xhz-paper);
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius-lg);
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: var(--xhz-shadow-md);
}
.xhz-hero-badge .dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--xhz-jade);
	box-shadow: 0 0 0 4px rgba(30, 74, 61, .15);
}
.xhz-hero-badge span { font-size: 12.5px; letter-spacing: .04em; color: var(--xhz-ink-soft); font-weight: 500; }

/* —— USP 条 —— */
.xhz-usps {
	border-bottom: 1px solid var(--xhz-line);
	background: var(--xhz-paper);
}
.xhz-usps-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-block: 0;
}
.xhz-usp {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 18px;
	border-inline-start: 1px solid var(--xhz-line);
}
.xhz-usp:first-child { border-inline-start: 0; }
.xhz-usp svg { color: var(--xhz-gold); flex: none; }
.xhz-usp span { font-size: 13px; letter-spacing: .05em; color: var(--xhz-ink-soft); font-weight: 500; }

/* —— 区块通用 —— */
.xhz-section { padding-block: clamp(56px, 8vw, 104px); }
.xhz-section-head { text-align: center; margin-bottom: clamp(34px, 5vw, 56px); }
.xhz-section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.xhz-section-head p { color: var(--xhz-muted); max-width: 560px; margin-inline: auto; font-size: 15.5px; }

/* —— 分类月洞门 —— */
.xhz-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 2.4vw, 30px);
}
.xhz-cat-tile {
	position: relative;
	text-decoration: none;
	display: block;
	overflow: hidden;
	border-radius: var(--xhz-radius-lg);
}
.xhz-cat-tile img {
	width: 100%;
	aspect-ratio: 3 / 3.8;
	object-fit: cover;
	border-radius: 999px 999px 10px 10px;
	border: 1px solid var(--xhz-line);
	transition: transform .7s cubic-bezier(.22, .61, .36, 1), box-shadow .7s ease;
	display: block;
}
.xhz-cat-tile:hover img { transform: translateY(-6px) scale(1.02); box-shadow: var(--xhz-shadow-md); }
.xhz-cat-tile span {
	display: block;
	text-align: center;
	margin-top: 16px;
	font-family: var(--xhz-serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--xhz-ink);
}
.xhz-cat-tile em {
	display: block;
	text-align: center;
	font-style: normal;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--xhz-gold);
	margin-top: 3px;
}

/* —— 产品卡 —— */
.xhz-products-grid ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(18px, 2.6vw, 34px);
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
.xhz-products-grid ul.products li.product {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--xhz-paper);
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius-lg);
	overflow: hidden;
	transition: transform .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s ease;
	float: none !important;
	width: 100% !important;
	display: flex;
	flex-direction: column;
}
.xhz-products-grid ul.products li.product:hover {
	transform: translateY(-6px);
	box-shadow: var(--xhz-shadow-md);
}
.xhz-products-grid li.product img {
	width: 100% !important;
	aspect-ratio: 3 / 3.7;
	object-fit: cover;
	margin-bottom: 0 !important;
	transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.xhz-products-grid li.product:hover img { transform: scale(1.045); }
.xhz-products-grid li.product .woocommerce-loop-product__title {
	font-family: var(--xhz-serif);
	font-size: 17.5px !important;
	font-weight: 600 !important;
	color: var(--xhz-ink) !important;
	padding: 16px 18px 4px !important;
}
.xhz-products-grid li.product .price {
	padding: 0 18px 8px !important;
	color: var(--xhz-jade) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	margin-bottom: 6px !important;
}
.xhz-products-grid li.product .price del { color: var(--xhz-muted) !important; opacity: .7; }
.xhz-products-grid li.product .price ins { text-decoration: none; }
.xhz-products-grid li.product .button {
	margin: 4px 18px 18px !important;
	background: transparent !important;
	border: 1px solid var(--xhz-jade) !important;
	color: var(--xhz-jade) !important;
	border-radius: var(--xhz-radius) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 11px 16px !important;
	transition: all .3s ease !important;
}
.xhz-products-grid li.product .button:hover,
.xhz-products-grid li.product .button.added {
	background: var(--xhz-jade) !important;
	color: #fff !important;
}
.xhz-products-grid li.product .star-rating { margin-inline: 18px !important; }
.xhz-onsale-badge,
ul.products li.product .onsale {
	background: var(--xhz-red) !important;
	color: #fff !important;
	border-radius: 2px !important;
	font-size: 10.5px !important;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 5px 10px !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	z-index: 2;
	font-weight: 600 !important;
}

/* —— 定制横幅 —— */
.xhz-custom-band {
	background: var(--xhz-jade-deep);
	color: #EFE8D8;
	position: relative;
	overflow: hidden;
}
.xhz-custom-band::before {
	content: "";
	position: absolute;
	inset-inline-end: -160px;
	top: -160px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(201, 168, 106, .22);
	border-radius: 50%;
}
.xhz-custom-band-inner {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 40px;
	align-items: center;
	position: relative;
}
.xhz-custom-band h2 { color: #F5F0E6; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.xhz-custom-band p { color: rgba(239, 232, 216, .75); max-width: 480px; margin-bottom: 26px; }
.xhz-custom-band .xhz-eyebrow { color: var(--xhz-gold-soft); }
.xhz-custom-band .xhz-btn { background: var(--xhz-gold); color: #fff; border-color: var(--xhz-gold); }
.xhz-custom-band .xhz-btn:hover { background: #fff; color: var(--xhz-jade-deep); }
.xhz-band-steps { display: flex; flex-direction: column; gap: 18px; }
.xhz-band-step { display: flex; gap: 16px; align-items: flex-start; }
.xhz-band-step b {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--xhz-gold-soft);
	color: var(--xhz-gold-soft);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--xhz-serif);
	font-size: 16px;
}
.xhz-band-step span { color: rgba(239, 232, 216, .85); font-size: 14px; line-height: 1.6; }

/* —— 工艺 —— */
.xhz-craft-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(18px, 2.6vw, 30px);
	counter-reset: craft;
}
.xhz-craft-item {
	background: var(--xhz-paper);
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius-lg);
	padding: 28px 24px;
	position: relative;
	transition: transform .4s ease, box-shadow .4s ease;
}
.xhz-craft-item:hover { transform: translateY(-4px); box-shadow: var(--xhz-shadow-md); }
.xhz-craft-item::before {
	counter-increment: craft;
	content: "0" counter(craft);
	font-family: var(--xhz-serif);
	font-size: 30px;
	color: var(--xhz-gold);
	display: block;
	margin-bottom: 12px;
}
.xhz-craft-item h3 { font-size: 19px; margin-bottom: 8px; }
.xhz-craft-item p { color: var(--xhz-muted); font-size: 13.8px; line-height: 1.75; margin: 0; }

/* —— 评价 —— */
.xhz-reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(18px, 2.6vw, 30px);
}
.xhz-review {
	background: var(--xhz-paper);
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius-lg);
	padding: 30px 28px;
	margin: 0;
	position: relative;
}
.xhz-review::before {
	content: "“";
	font-family: var(--xhz-serif);
	font-size: 64px;
	line-height: 1;
	color: var(--xhz-gold-soft);
	position: absolute;
	top: 14px;
	inset-inline-start: 22px;
	opacity: .5;
}
.xhz-review .stars { color: var(--xhz-gold); letter-spacing: 3px; font-size: 13px; margin-bottom: 12px; }
.xhz-review p {
	font-size: 14.8px;
	line-height: 1.85;
	color: var(--xhz-ink-soft);
	margin: 0 0 18px;
}
.xhz-review cite {
	font-style: normal;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--xhz-gold);
	font-weight: 600;
}

/* —— 信任条 —— */
.xhz-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
	padding-block: 26px;
	border-top: 1px solid var(--xhz-line);
	color: var(--xhz-muted);
	font-size: 12.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.xhz-trust-sep { color: var(--xhz-gold-soft); }

/* =========================================================
   WooCommerce: 商店页
   ========================================================= */
.woocommerce-products-header__title {
	font-family: var(--xhz-serif);
	font-size: clamp(2rem, 4vw, 3rem);
}
.woocommerce.archive .ct-container-full,
.tax-product_cat .ct-container-full { padding-top: clamp(30px, 5vw, 60px) !important; }

.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-result-count { color: var(--xhz-muted); font-size: 13.5px; }
.woocommerce .woocommerce-ordering select {
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius);
	padding: 9px 14px;
	background: var(--xhz-paper);
}

/* 面包屑 */
.woocommerce-breadcrumb { font-size: 12px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--xhz-muted) !important; }
.woocommerce-breadcrumb a { color: var(--xhz-muted); }
.woocommerce-breadcrumb a:hover { color: var(--xhz-jade); }

/* =========================================================
   单品页
   ========================================================= */
.single-product .ct-container-full { padding-top: clamp(28px, 4.5vw, 54px) !important; }
.product-entry-wrapper { gap: clamp(24px, 3.5vw, 56px) !important; }

.woocommerce-product-gallery { position: sticky; top: 100px; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--xhz-radius-lg); overflow: hidden; border: 1px solid var(--xhz-line); }
.woocommerce-product-gallery img { border-radius: var(--xhz-radius-lg); }
.flex-control-thumbs { display: flex !important; gap: 10px; margin-top: 12px !important; }
.flex-control-thumbs li { width: 72px !important; flex: none; }
.flex-control-thumbs img { border-radius: 7px !important; border: 1px solid var(--xhz-line); opacity: .65; transition: all .3s ease; }
.flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--xhz-gold); box-shadow: 0 0 0 1px var(--xhz-gold); }

.summary h1.product_title {
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	margin-bottom: 10px;
}
.summary .price {
	font-size: 24px !important;
	color: var(--xhz-jade) !important;
	font-weight: 600 !important;
}
.summary .price del { font-size: 17px !important; color: var(--xhz-muted) !important; }
.summary .woocommerce-product-details__short-description {
	color: var(--xhz-muted);
	font-size: 15px;
	line-height: 1.85;
	border-top: 1px solid var(--xhz-line);
	border-bottom: 1px solid var(--xhz-line);
	padding-block: 16px;
	margin-block: 16px;
}

/* 变体选择器 */
table.variations { border: 0 !important; margin-bottom: 8px !important; }
table.variations th, table.variations td { border: 0 !important; padding: 0 0 10px !important; background: none !important; }
table.variations .label label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--xhz-ink-soft);
}
table.variations .label { width: 100%; padding-bottom: 4px !important; display: block; }
table.variations tbody tr { display: flex !important; flex-direction: column; }
table.variations .value { width: 100%; }
.xhz-swatches { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 4px; }
.xhz-swatch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--xhz-line);
	background: var(--xhz-paper);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13px;
	cursor: pointer;
	transition: all .25s ease;
	color: var(--xhz-ink-soft);
	font-family: var(--xhz-sans);
	letter-spacing: .03em;
}
.xhz-swatch:hover { border-color: var(--xhz-jade); color: var(--xhz-jade); }
.xhz-swatch.is-selected {
	border-color: var(--xhz-jade);
	background: var(--xhz-jade);
	color: #fff;
	box-shadow: var(--xhz-shadow-sm);
}
.xhz-swatch .xhz-chip-color {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,.14);
	background-size: cover;
	flex: none;
}
.xhz-swatch.is-selected .xhz-chip-color { border-color: rgba(255,255,255,.75); }
.xhz-swatch.pill-size { min-width: 64px; justify-content: center; }
.xhz-swatches-fallback { display: none !important; }

/* 定制备注 */
.xhz-custom-note { margin-block: 14px; }
.xhz-custom-note label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--xhz-ink-soft);
	margin-bottom: 8px;
}
.xhz-custom-note textarea {
	width: 100%;
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius);
	background: var(--xhz-paper);
	padding: 12px 14px;
	font-size: 14px;
	font-family: var(--xhz-sans);
	color: var(--xhz-ink);
	transition: border-color .25s ease, box-shadow .25s ease;
}
.xhz-custom-note textarea:focus {
	outline: none;
	border-color: var(--xhz-jade);
	box-shadow: 0 0 0 3px rgba(30, 74, 61, .12);
}

/* 数量与加购 */
.summary .single_add_to_cart_button {
	width: 100%;
	background: var(--xhz-jade) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--xhz-radius) !important;
	padding: 17px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	letter-spacing: .2em;
	text-transform: uppercase;
	transition: all .3s ease !important;
}
.summary .single_add_to_cart_button:hover { background: var(--xhz-jade-deep) !important; transform: translateY(-2px); box-shadow: var(--xhz-shadow-md); }
.summary .quantity input {
	border: 1px solid var(--xhz-line) !important;
	border-radius: var(--xhz-radius) !important;
	height: 50px !important;
	background: var(--xhz-paper) !important;
}
.summary .quantity { display: inline-flex !important; margin-inline-end: 10px !important; }
.summary form.cart { display: flex; flex-direction: column; gap: 14px; }
.summary form.cart .variations_button { display: flex; align-items: center; }
.summary .storefront-sticky-add-to-cart__content-price { color: var(--xhz-jade); }
.wc-frontend-single-payment { color: var(--xhz-muted); font-size: 13px; }

/* 变体价格动画 */
.woocommerce-variation-price { animation: xhz-fade .35s ease; }
@keyframes xhz-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* 附加信息 */
.woocommerce-product-attributes { font-size: 14px; }
.woocommerce-product-attributes th {
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: 11.5px;
	color: var(--xhz-muted);
}

/* Tabs */
.woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--xhz-line) !important;
	display: flex !important;
	gap: 26px;
	padding: 0 !important;
	margin-bottom: 30px !important;
}
.woocommerce-tabs ul.tabs li {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
.woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--xhz-gold) !important; }
.woocommerce-tabs ul.tabs li a {
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--xhz-muted) !important;
	padding: 12px 2px !important;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--xhz-jade) !important; }

/* 关联产品 */
.related.products > h2, .upsells > h2 {
	font-family: var(--xhz-serif);
	font-size: 26px;
	margin-bottom: 26px;
}

/* =========================================================
   购物车 / 结账 / 账户
   ========================================================= */
.woocommerce-cart-form table.shop_table {
	border: 1px solid var(--xhz-line) !important;
	border-radius: var(--xhz-radius-lg);
	background: var(--xhz-paper);
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
}
.woocommerce-cart-form table.shop_table th {
	background: var(--xhz-canvas);
	font-size: 11.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--xhz-muted);
	padding: 14px 16px !important;
	border-bottom: 1px solid var(--xhz-line) !important;
}
.woocommerce-cart-form table.shop_table td { padding: 16px !important; border-bottom: 1px solid var(--xhz-line) !important; }
.woocommerce-cart-form table.shop_table img { border-radius: 8px; width: 72px !important; }
.cart_item .product-name a { color: var(--xhz-ink); font-weight: 500; text-decoration: none; }
.cart_item .product-name a:hover { color: var(--xhz-jade); }
.cart_item dl.variation { font-size: 12.5px; color: var(--xhz-muted); margin-top: 4px; }
.cart_item dl.variation dt { font-weight: 600; }

.cart_totals, .woocommerce-checkout-review-order {
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius-lg);
	background: var(--xhz-paper);
	padding: 26px !important;
}
.cart_totals h2, .woocommerce-checkout-review-order h2 { font-size: 21px; margin-bottom: 16px; }
.cart_totals table { border: 0 !important; }
.cart_totals th, .cart_totals td { border-bottom: 1px solid var(--xhz-line) !important; padding: 10px 4px !important; }
.cart_totals .order-total .amount { color: var(--xhz-jade); font-size: 20px; font-weight: 700; }

.woocommerce-checkout #payment {
	background: var(--xhz-paper) !important;
	border: 1px solid var(--xhz-line) !important;
	border-radius: var(--xhz-radius-lg) !important;
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--xhz-line) !important; }
.woocommerce-checkout #payment ul.payment_methods li {
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius);
	padding: 14px 16px !important;
	margin-bottom: 10px;
	background: var(--xhz-white);
	transition: border-color .25s ease;
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--xhz-jade); box-shadow: 0 0 0 1px var(--xhz-jade); }
.woocommerce-checkout #payment div.payment_box {
	background: var(--xhz-canvas) !important;
	border-radius: var(--xhz-radius);
	color: var(--xhz-ink-soft) !important;
	font-size: 13.5px;
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--xhz-canvas) !important; }
#place_order {
	width: 100%;
	background: var(--xhz-gold) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--xhz-radius) !important;
	padding: 17px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	letter-spacing: .2em;
	text-transform: uppercase;
	transition: all .3s ease !important;
}
#place_order:hover { background: #8F6C2F !important; transform: translateY(-2px); box-shadow: var(--xhz-shadow-md); }

/* 表单 */
.woocommerce form .form-row label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--xhz-ink-soft);
	margin-bottom: 6px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	border: 1px solid var(--xhz-line) !important;
	border-radius: var(--xhz-radius) !important;
	background: var(--xhz-paper) !important;
	padding: 12px 14px !important;
	font-size: 14.5px !important;
	color: var(--xhz-ink) !important;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--xhz-jade) !important;
	box-shadow: 0 0 0 3px rgba(30, 74, 61, .12);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--xhz-ink) !important; padding: 0 !important; line-height: 1.5 !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100% !important; }
.select2-dropdown { border-color: var(--xhz-line) !important; border-radius: var(--xhz-radius) !important; }

/* 账户 */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid var(--xhz-line);
	border-radius: var(--xhz-radius-lg);
	overflow: hidden;
	background: var(--xhz-paper);
}
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--xhz-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 14px 18px;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--xhz-ink-soft);
	text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--xhz-jade); color: #fff; }

/* 提示条 */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	border-radius: var(--xhz-radius) !important;
	border: 1px solid var(--xhz-line) !important;
	background: var(--xhz-paper) !important;
	color: var(--xhz-ink-soft) !important;
	font-size: 14px;
	padding: 14px 18px !important;
	border-inline-start: 3px solid var(--xhz-jade) !important;
}
.woocommerce-error { border-inline-start-color: var(--xhz-red) !important; }
.woocommerce-info { border-inline-start-color: var(--xhz-gold) !important; }

/* =========================================================
   页脚
   ========================================================= */
.xhz-footer {
	background: var(--xhz-jade-deep);
	color: #D9D2C0;
	margin-top: clamp(40px, 6vw, 80px);
}
.xhz-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: clamp(28px, 4vw, 64px);
	padding-block: clamp(44px, 6vw, 72px) 40px;
}
.xhz-brand-footer .xhz-brand-name { color: #F5F0E6; }
.xhz-brand-footer .xhz-brand-sub { color: var(--xhz-gold-soft); }
.xhz-footer-desc { font-size: 14px; line-height: 1.85; color: rgba(217, 210, 192, .75); margin-top: 18px; max-width: 320px; }
.xhz-footer-col h4 {
	color: #F5F0E6;
	font-family: var(--xhz-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.xhz-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.xhz-footer-col a {
	color: rgba(217, 210, 192, .8);
	text-decoration: none;
	font-size: 14px;
	transition: color .25s ease, padding-left .25s ease;
}
.xhz-footer-col a:hover { color: var(--xhz-gold-soft); padding-left: 4px; }
.xhz-pay-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.xhz-pay-icons svg { border-radius: 4px; }
.xhz-footer-note { font-size: 12.5px; color: rgba(217, 210, 192, .6); }
.xhz-footer-bottom {
	border-top: 1px solid rgba(217, 210, 192, .16);
	padding-block: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: rgba(217, 210, 192, .55);
	letter-spacing: .06em;
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1080px) {
	.xhz-cats { grid-template-columns: repeat(2, 1fr); }
	.xhz-craft-grid { grid-template-columns: repeat(2, 1fr); }
	.xhz-products-grid ul.products { grid-template-columns: repeat(3, 1fr) !important; }
	.xhz-usps-inner { grid-template-columns: repeat(2, 1fr); }
	.xhz-usp:nth-child(3) { border-inline-start: 0; }
	.xhz-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.xhz-nav { display: none; }
	.xhz-trigger { display: inline-flex; }
	.xhz-header-inner { grid-template-columns: auto 1fr auto; }
	.xhz-hero-inner { grid-template-columns: 1fr; min-height: 0; }
	.xhz-hero-copy { max-width: 100%; }
	.xhz-hero-figure { margin-top: 12px; }
	.xhz-hero-figure .xhz-moongate { width: min(100%, 380px); }
	.xhz-custom-band-inner { grid-template-columns: 1fr; }
	.xhz-products-grid ul.products { grid-template-columns: repeat(2, 1fr) !important; }
	.xhz-reviews-grid { grid-template-columns: 1fr; }
	.xhz-announce { display: none; }
}

@media (max-width: 560px) {
	.xhz-cats { grid-template-columns: 1fr 1fr; }
	.xhz-craft-grid { grid-template-columns: 1fr; }
	.xhz-products-grid ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
	.xhz-usps-inner { grid-template-columns: 1fr; }
	.xhz-usp { border-inline-start: 0; border-top: 1px solid var(--xhz-line); }
	.xhz-usp:first-child { border-top: 0; }
	.xhz-hero-cta .xhz-btn { width: 100%; }
	.xhz-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.xhz-icon-label { display: none; }
	.xhz-hero-meta { gap: 18px; flex-wrap: wrap; }
}

/* =========================================================
   微调
   ========================================================= */
.woocommerce-message .button, .woocommerce-info .button {
	background: var(--xhz-jade) !important;
	color: #fff !important;
	border-radius: var(--xhz-radius) !important;
	font-weight: 600 !important;
}

.woocommerce-store-notice { background: var(--xhz-jade-deep) !important; }

/* 库存提示 */
.stock.in-stock { color: var(--xhz-jade); font-size: 13px; letter-spacing: .06em; }

/* 分页 */
.woocommerce-pagination ul.page-numbers {
	display: flex;
	gap: 8px;
	justify-content: center;
	border: 0 !important;
}
.woocommerce-pagination a, .woocommerce-pagination span {
	border: 1px solid var(--xhz-line) !important;
	border-radius: var(--xhz-radius) !important;
	background: var(--xhz-paper);
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13.5px;
	color: var(--xhz-ink-soft);
}
.woocommerce-pagination span.current { background: var(--xhz-jade) !important; color: #fff !important; border-color: var(--xhz-jade) !important; }

/* 屏幕阅读器 */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute !important; }

/* 移动端语言下拉对齐 */
@media (max-width: 860px) {
	.xhz-lang-menu { right: 0; }
}

/* Print hidden */
@media print {
	.xhz-header, .xhz-footer, .xhz-announce { display: none; }
}
