/**
 * VB(A) single-product hero + native summary visual hide (body.vba-hero-product).
 */

/* ── Layout ── */
.vba-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
	border: 1px solid #f4f0e9;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 40px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/*
 * WooCommerce 促销徽章（span.onsale）：挂在 .vba-hero 之后、div.product 直子级，
 * 易被主题/Woo 默认定位顶偏；向左平移与主内容左缘对齐。
 */
body.vba-hero-product div.product > span.onsale,
body.vba-hero-product.woocommerce div.product > span.onsale {
	transform: translateX(-20px);
}

body.vba-hero-product .vba-hero .onsale {
	transform: translateX(-12px);
}

/* 左栏：内容顶对齐，CTA 用 margin-top:auto 贴底与右栏主操作区对齐 */
.vba-hero__left {
	padding: 28px 32px 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 20px;
	border-right: 1px solid #f4f0e9;
	min-height: 0;
}

/* 面包屑 */
.vba-hero__breadcrumb {
	font-size: 11px;
	color: #1f2a49;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.vba-hero__breadcrumb a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.vba-hero__breadcrumb a:hover {
	color: #1f2a49;
	border-bottom-color: #f4f0e9;
}

.vba-hero__breadcrumb-sep {
	font-weight: 400;
}

/* 标题 */
.vba-hero__title {
	font-size: 24px;
	font-weight: 600;
	color: #1f2a49;
	line-height: 1.3;
	margin: 0;
}

/* 副标题 */
.vba-hero__subtitle {
	font-size: 14px;
	color: #1f2a49;
	line-height: 1.7;
	margin: 0;
}

/* 选中变体时替换副标题：与 .vba-hero__subtitle 同字号，允许富文本段落 */
.vba-hero__left .vba-hero__variation-desc {
	margin: 0;
}

.vba-hero__left .vba-hero__variation-desc p {
	margin: 0 0 0.65em;
	font-size: 14px;
	line-height: 1.7;
	color: #1f2a49;
}

.vba-hero__left .vba-hero__variation-desc p:last-child {
	margin-bottom: 0;
}

/* 徽章 */
.vba-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vba-badge {
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 6px;
	border: 1px solid #f4f0e9;
	color: #1f2a49;
	background: #f4f0e9;
}

.vba-badge--accent {
	background: #f4f0e9;
	color: #1f2a49;
	border-color: #b08729;
}

a.vba-badge {
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

a.vba-badge:hover {
	opacity: 0.88;
	border-color: #1f2a49;
}

/* KPI */
.vba-hero__kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 8px;
}

.vba-kpi {
	background: #f4f0e9;
	border: 1px solid #f4f0e9;
	border-radius: 8px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vba-kpi__val {
	font-size: 15px;
	font-weight: 600;
	color: #1f2a49;
	line-height: 1.2;
}

.vba-kpi__label {
	font-size: 11px;
	color: #1f2a49;
}

/* CTA */
.vba-hero__cta {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	margin-top: auto;
	padding-top: 24px;
	width: 100%;
}

.vba-hero__cta > * {
	width: 100% !important;
	flex: none !important;
}

.vba-btn {
	flex: 1;
	height: 46px;
	min-height: 46px;
	padding: 0 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 46px;
	cursor: pointer;
	border: none;
	transition: opacity 0.15s, transform 0.1s;
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.vba-btn:hover {
	opacity: 0.88;
}

.vba-btn:active {
	transform: scale(0.98);
}

.vba-btn--primary,
.vba-btn--secondary {
	height: 46px;
	padding: 0 16px;
	line-height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vba-btn--primary {
	background: #1f2a49;
	color: #fff;
}

.vba-btn--secondary {
	background: #fff;
	color: #1f2a49;
	border: 1px solid #f4f0e9;
}

/* 右栏 */
.vba-hero__right {
	display: flex;
	flex-direction: column;
}

/* 图片区 */
.vba-hero__image {
	flex: 1;
	background: #f4f0e9;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 20px 24px 12px;
	min-height: 0;
}

.vba-hero__img {
	max-width: 100%;
	max-height: 280px;
	width: auto;
	object-fit: contain;
	object-position: top center;
	border-radius: 8px;
}

.vba-hero__img-placeholder {
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 8px;
	background: linear-gradient(135deg, #f4f0e9, #f4f0e9);
}

/* 产品图下方：结构 / 工艺 — 单行标签（无可见标题，见 aria-label） */
.vba-hero__image-notes {
	margin-top: 16px;
	padding: 0 20px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vba-hero__image-tags-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.vba-hero__image-tag {
	flex: 0 0 auto;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 20px;
	background: #f4f0e9;
	color: #1f2a49;
	border: 1px solid #ece5d9;
	line-height: 1.25;
	white-space: nowrap;
}

/* 型号选择器 */
.vba-hero__models {
	border-top: 1px solid #f4f0e9;
	padding: 14px 20px;
}

.vba-hero__models-label {
	font-size: 11px;
	color: #1f2a49;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 8px;
}

.vba-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vba-chip {
	font-size: 12px;
	padding: 5px 12px;
	border-radius: 6px;
	border: 1px solid #f4f0e9;
	color: #1f2a49;
	cursor: pointer;
	background: #fff;
	transition: border-color 0.15s, color 0.15s;
	user-select: none;
}

.vba-chip:hover:not(.vba-chip--disabled) {
	border-color: #1f2a49;
	color: #1f2a49;
}

.vba-chip--active {
	border-color: #1f2a49 !important;
	color: #1f2a49;
	font-weight: 500;
}

.vba-chip--disabled {
	opacity: 0.35;
	cursor: default;
}

/* 价格 */
.vba-hero__price {
	border-top: 1px solid #f4f0e9;
	padding: 14px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vba-hero__price-main {
	margin-top: 0;
	padding-top: 0;
}

.vba-hero__price-main .price {
	font-size: 20px;
	font-weight: 600;
	color: #1f2a49;
	margin-top: 0;
	margin-block-start: 0;
}

.vba-hero__price-note {
	font-size: 11px;
	color: #1f2a49;
}

/* 信任条 */
.vba-hero__trust {
	border-top: 1px solid #f4f0e9;
	background: #f4f0e9;
	padding: 12px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.vba-trust-item {
	font-size: 11px;
	color: #1f2a49;
	display: flex;
	align-items: center;
	gap: 6px;
}

.vba-trust-item::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #f4f0e9;
	flex-shrink: 0;
}

/* ── Demo-3 首屏结构覆写：左信息 + 右上图 + 右下规格/CTA + 底部信任条 ── */
.vba-hero {
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	grid-template-rows: auto auto auto;
}

.vba-hero__left {
	grid-column: 1;
	grid-row: 1;
	border-right: 1px solid #f4f0e9;
	border-bottom: 1px solid #f4f0e9;
	padding: 32px;
}

.vba-hero__right-image {
	grid-column: 2;
	grid-row: 1;
	border-bottom: 1px solid #f4f0e9;
}

.vba-hero__right-specs {
	grid-column: 1;
	grid-row: 2;
	border-right: 1px solid #f4f0e9;
	border-bottom: 1px solid #f4f0e9;
}

.vba-hero__right-cta {
	grid-column: 2;
	grid-row: 2;
	border-bottom: 1px solid #f4f0e9;
	display: flex;
	flex-direction: column;
	padding: 24px;
	gap: 12px;
}

.vba-hero__trust {
	grid-column: 1 / -1;
	grid-row: 3;
	background: #fff;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.vba-trust-item {
	justify-content: center;
	padding: 12px 10px;
	border-right: 1px solid #f4f0e9;
	font-size: 12px;
}

.vba-trust-item:last-child {
	border-right: none;
}

.vba-hero__image {
	min-height: 320px;
	padding: 22px 20px 12px;
	align-items: center;
}

.vba-hero__img {
	max-height: 290px;
}

.vba-hero__models {
	border-top: 0;
	padding: 18px 20px 16px;
	background: linear-gradient(180deg, #fcfbf8 0%, #f7f4ee 100%);
	border-radius: 10px;
	margin: 14px 14px 12px;
	border: 1px solid #ece5d9;
	box-shadow: 0 1px 0 rgba(31, 42, 73, 0.02), 0 6px 18px rgba(31, 42, 73, 0.06);
}

.vba-hero__models-label {
	font-size: 12px;
	color: #1f2a49;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 12px;
	font-weight: 700;
}

.vba-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vba-chip {
	font-size: 13px;
	padding: 9px 16px;
	border-radius: 9px;
	border: 1px solid #d8dce5;
	color: #1f2a49;
	cursor: pointer;
	background: #fff;
	font-weight: 600;
	transition: border-color 0.16s, color 0.16s, box-shadow 0.16s, transform 0.12s, background 0.16s;
	user-select: none;
	box-shadow: 0 1px 2px rgba(31, 42, 73, 0.04);
}

.vba-chip:hover:not(.vba-chip--disabled) {
	border-color: #1f2a49;
	color: #1f2a49;
	background: #f7f9fd;
	box-shadow: 0 4px 12px rgba(31, 42, 73, 0.12);
	transform: translateY(-1px);
}

.vba-chip--active {
	border-color: #1f2a49 !important;
	background: #1f2a49;
	color: #fff;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(31, 42, 73, 0.26);
}

.vba-chip--disabled {
	opacity: 0.35;
	cursor: default;
	box-shadow: none;
}

.vba-hero__variant-copy {
	display: none;
}

.vba-variation-specs {
	margin: 0 14px 14px;
	border: 1px solid #dde3ee;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.vba-variation-specs__table {
	width: 100%;
	border-collapse: collapse;
}

.vba-var-spec-row {
	border-bottom: 1px solid #dde3ee;
}

.vba-var-spec-row:last-child {
	border-bottom: none;
}

.vba-var-spec-k {
	width: 42%;
	padding: 10px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #6b7a90;
	background: #f4f6fa;
	border-right: 1px solid #dde3ee;
}

.vba-var-spec-v {
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 600;
	color: #1f2a49;
}

.vba-hero__variant-detail {
	border-top: 0;
	padding: 0;
}

.vba-hero__price {
	border-top: 0;
	padding: 0;
}

.vba-hero__cta {
	margin-top: 6px;
	padding-top: 0;
}

.vba-kpi {
	padding: 13px 12px;
}

@media (max-width: 768px) {
	.vba-hero {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.vba-hero__left,
	.vba-hero__right-image,
	.vba-hero__right-specs,
	.vba-hero__right-cta,
	.vba-hero__trust {
		grid-column: 1;
		grid-row: auto;
	}

	.vba-hero__left,
	.vba-hero__right-specs {
		border-right: none;
	}

	.vba-hero__trust {
		grid-template-columns: 1fr;
	}

	.vba-trust-item {
		border-right: none;
		border-bottom: 1px solid #f4f0e9;
	}

	.vba-trust-item:last-child {
		border-bottom: none;
	}
}

/* ── 询价弹窗 ── */
.vba-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.vba-modal.is-open {
	display: flex;
}

.vba-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.vba-modal__box {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 36px 32px;
	width: 100%;
	max-width: 480px;
	margin: 20px;
	z-index: 1;
	max-height: 90vh;
	overflow-y: auto;
}

.vba-modal__close {
	position: absolute;
	top: 16px;
	right: 20px;
	background: none;
	border: none;
	font-size: 18px;
	color: #1f2a49;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}

.vba-modal__title {
	font-size: 20px;
	font-weight: 600;
	color: #1f2a49;
	margin: 0 0 6px;
}

.vba-modal__sub {
	font-size: 13px;
	color: #1f2a49;
	margin: 0 0 24px;
}

.vba-modal__form-hint,
.vba-modal__cf7-hint {
	font-size: 13px;
	color: #1f2a49;
	line-height: 1.5;
	margin: 0;
}

/* ── Modal CF7 form skin ── */
.vba-modal .wpcf7 {
	margin: 0;
}

.vba-modal .wpcf7 form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.vba-modal .wpcf7 form > p {
	margin: 0;
}

.vba-modal .wpcf7 form label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	color: #1f2a49;
	margin-bottom: 8px;
	line-height: 1.4;
}

.vba-modal .wpcf7-form-control-wrap {
	display: block;
}

.vba-modal .wpcf7 input[type='text'],
.vba-modal .wpcf7 input[type='email'],
.vba-modal .wpcf7 input[type='tel'],
.vba-modal .wpcf7 input[type='number'],
.vba-modal .wpcf7 select,
.vba-modal .wpcf7 textarea {
	width: 100%;
	border: 1px solid #d8dce5;
	border-radius: 8px;
	background: #fff;
	color: #1f2a49;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vba-modal .wpcf7 input[type='text'],
.vba-modal .wpcf7 input[type='email'],
.vba-modal .wpcf7 input[type='tel'],
.vba-modal .wpcf7 input[type='number'],
.vba-modal .wpcf7 select {
	height: 52px;
	padding: 0 14px;
}

.vba-modal .wpcf7 textarea {
	min-height: 120px;
	padding: 12px 14px;
	resize: vertical;
	line-height: 1.5;
}

.vba-modal .wpcf7 input::placeholder,
.vba-modal .wpcf7 textarea::placeholder {
	color: #8d95a8;
}

.vba-modal .wpcf7 input:focus,
.vba-modal .wpcf7 select:focus,
.vba-modal .wpcf7 textarea:focus {
	outline: none;
	border-color: #1f2a49;
	box-shadow: 0 0 0 3px rgba(31, 42, 73, 0.12);
}

.vba-modal .wpcf7 .wpcf7-submit {
	width: auto;
	min-width: 200px;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	background: #1f2a49;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.1s ease;
}

.vba-modal .wpcf7 .wpcf7-submit:hover {
	opacity: 0.9;
}

.vba-modal .wpcf7 .wpcf7-submit:active {
	transform: scale(0.98);
}

.vba-modal .wpcf7 .wpcf7-spinner {
	margin: 0 0 0 10px;
	vertical-align: middle;
}

.vba-modal .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 12px;
	color: #b42318;
}

.vba-modal .wpcf7 form .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
}

.vba-modal .wpcf7 form.sent .wpcf7-response-output {
	border-color: #2f8f2f;
	background: #f2fbf2;
	color: #1f2a49;
}

.vba-modal .wpcf7 form.invalid .wpcf7-response-output,
.vba-modal .wpcf7 form.unaccepted .wpcf7-response-output,
.vba-modal .wpcf7 form.failed .wpcf7-response-output,
.vba-modal .wpcf7 form.aborted .wpcf7-response-output {
	border-color: #b42318;
	background: #fff5f5;
	color: #1f2a49;
}

/* ── Modal Fluent Forms skin ── */
.vba-modal .fluentform {
	margin: 0;
}

.vba-modal .fluentform .ff-el-group {
	margin-bottom: 14px;
}

.vba-modal .fluentform .ff-el-input--label,
.vba-modal .fluentform .ff-el-is-required.asterisk-left label,
.vba-modal .fluentform .ff-el-is-required.asterisk-right label,
.vba-modal .fluentform label {
	display: block;
	font-size: 15px;
	font-weight: 500;
	color: #1f2a49 !important;
	margin-bottom: 8px;
	line-height: 1.4;
}

.vba-modal .fluentform .ff-el-form-control {
	width: 100%;
	height: 52px;
	padding: 0 14px;
	border: 1px solid #d8dce5 !important;
	border-radius: 8px;
	background: #fff !important;
	color: #1f2a49 !important;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: none !important;
}

.vba-modal .fluentform textarea.ff-el-form-control {
	min-height: 120px;
	height: auto;
	padding: 12px 14px;
	line-height: 1.5;
	resize: vertical;
}

.vba-modal .fluentform .ff-el-form-control::placeholder {
	color: #8d95a8;
}

.vba-modal .fluentform .ff-el-form-control:focus {
	outline: none;
	border-color: #1f2a49 !important;
	box-shadow: 0 0 0 3px rgba(31, 42, 73, 0.12);
}

.vba-modal .fluentform .ff-btn-submit,
.vba-modal .fluentform button.ff-btn,
.vba-modal .fluentform button.ff-btn.ff-btn-submit,
.vba-modal .fluentform .ff-btn.ff-btn-primary,
.vba-modal .fluentform .ff_submit_btn_wrapper .ff-btn {
	width: auto;
	min-width: 200px;
	min-height: 48px;
	padding: 12px 20px;
	border: 0 !important;
	border-radius: 8px !important;
	background: #1f2a49 !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.1s ease;
	box-shadow: none !important;
}

.vba-modal .fluentform .ff-btn-submit:hover,
.vba-modal .fluentform button.ff-btn:hover,
.vba-modal .fluentform .ff-btn.ff-btn-primary:hover {
	opacity: 0.9;
}

.vba-modal .fluentform .ff-btn-submit:active,
.vba-modal .fluentform button.ff-btn:active,
.vba-modal .fluentform .ff-btn.ff-btn-primary:active {
	transform: scale(0.98);
}

/* ── 原生摘要区：视觉隐藏（保留 DOM / 变体逻辑） ── */
body.vba-hero-product div.product div.images,
body.vba-hero-product.woocommerce div.product div.images {
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.vba-hero-product div.product div.summary,
body.vba-hero-product.woocommerce div.product div.summary {
	width: 100% !important;
	float: none !important;
	max-width: 100% !important;
	clear: both;
}

body.vba-hero-product div.product .woocommerce-product-gallery {
	position: absolute !important;
	visibility: hidden !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
}

body.vba-hero-product div.product .summary.entry-summary > h1.product_title,
body.vba-hero-product div.product .summary.entry-summary > .price {
	position: absolute !important;
	visibility: hidden !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
}

/* 原生变体表：芯片接管；保留 DOM 供 WooCommerce JS */
body.vba-hero-product div.product form.variations_form .variations,
body.vba-hero-product.woocommerce div.product form.variations_form .variations {
	display: none !important;
}

/* 变体描述/价格由 WooCommerce 写入后复制到首屏；此处仅隐藏视觉 */
body.vba-hero-product div.product form.variations_form .single_variation_wrap,
body.vba-hero-product.woocommerce div.product form.variations_form .single_variation_wrap {
	position: absolute !important;
	visibility: hidden !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
}

/* 原生加购行：保留在表单内供 programmatic .click()，不在首屏下重复显示 */
body.vba-hero-product div.product form.variations_form .woocommerce-variation-add-to-cart,
body.vba-hero-product.woocommerce div.product form.variations_form .woocommerce-variation-add-to-cart {
	position: absolute !important;
	visibility: hidden !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
}

/* ── 变体详情区（首屏右栏） ── */
.vba-hero__variant-detail {
	border-top: 1px solid #f4f0e9;
	padding: 16px 20px;
	display: none;
	flex-direction: column;
	gap: 12px;
}

.vba-hero__variant-detail.is-visible {
	display: flex;
}

.vba-hero__variant-detail .vba-variant-desc:empty,
.vba-hero__variant-detail .vba-variant-price:empty {
	display: none;
}

.vba-hero__variant-detail.is-visible .vba-variant-desc:not(:empty),
.vba-hero__variant-detail.is-visible .vba-variant-price:not(:empty) {
	display: block;
}

.vba-variant-desc p {
	font-size: 13px;
	color: #1f2a49;
	line-height: 1.6;
	margin: 0 0 0.5rem;
}

.vba-variant-desc p:last-child {
	margin-bottom: 0;
}

/* cursor-02：Сепарация（变体描述下方） */
#vgr-sep-wrap {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	background: #f4f6fa;
	border-radius: 6px;
	border: 1px solid #dde3ee;
	font-size: 13px;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
}

.vgr-sep-label {
	font-weight: 600;
	color: #6b7a90;
	white-space: nowrap;
}

.vgr-sep-value {
	font-weight: 700;
	color: #12233a;
}

/* «Без сепарации»：与「可选」区分色，保证首型号等场景也有明显色相 */
.vgr-sep-value.sep-none {
	color: #0f766e;
	font-weight: 700;
}

.vgr-sep-value.sep-avail {
	color: #2563eb;
	font-weight: 700;
}

.vba-variant-price .price {
	font-size: 22px;
	font-weight: 600;
	color: #1f2a49;
}

.vba-variant-price__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
}

.vba-variant-price__weight {
	font-size: 15px;
	font-weight: 600;
	color: #5c6578;
	white-space: nowrap;
}

.vba-variant-price__weight-sep {
	margin-right: 6px;
	color: #b8c0d0;
	font-weight: 400;
}

.vba-variant-price .woocommerce-Price-amount {
	color: #1f2a49;
}

.vba-hero__price.is-hidden {
	display: none;
}

/* 响应式 */
@media (max-width: 768px) {
	.vba-hero {
		grid-template-columns: 1fr;
	}

	.vba-hero__left {
		border-right: none;
		border-bottom: 1px solid #f4f0e9;
		padding: 24px 20px;
	}

	.vba-hero__kpis {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	}

	.vba-hero__cta {
		flex-direction: column;
		margin-top: 0;
		padding-top: 0;
	}

	.vba-hero__image {
		padding: 16px 16px 10px;
		align-items: flex-start;
	}

	.vba-hero__img {
		max-width: 100%;
		max-height: 240px;
	}
}

@media (max-width: 520px) {
	.vba-hero__kpis {
		grid-template-columns: 1fr;
	}
}

/* ── 材料标签行 ── */
.vba-hero__materials {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 4px;
}

.vba-material {
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 20px;
	background: #f4f0e9;
	color: #1f2a49;
	border: 1px solid #f4f0e9;
	line-height: 1;
}

/* ── 信任条 EXW 备注项 ── */
.vba-trust-item--note {
	font-size: 11px;
	color: #1f2a49;
	font-style: italic;
	margin-left: auto;
	padding-left: 8px;
	border-left: 1px solid #f4f0e9;
}

/* 移动端换行时取消右推 */
@media (max-width: 768px) {
	.vba-trust-item--note {
		margin-left: 0;
		border-left: none;
		width: 100%;
		padding-left: 0;
		padding-top: 4px;
		border-top: 1px solid #f4f0e9;
	}
}

/* ── CTA 按钮下方说明文字 ── */
.vba-cta__note {
	font-size: 12px;
	color: #1f2a49;
	margin: 0;
	padding-top: 8px;
	text-align: center;
	width: 100%;
	line-height: 1.4;
}

/* ══ CTA 层级重构 ══ */

/* 主CTA：询价，全宽黑底（覆盖 .vba-btn 的 height/line-height/flex，避免与 padding 冲突导致文字不垂直居中） */
.vba-btn--main {
	/* 取消 .vba-btn 的 flex:1（页脚区按钮不在 .vba-hero__cta 内时会继承 flex:1，易引发对齐异常） */
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	min-height: 48px;
	padding: 12px 20px;
	line-height: 1.35;
	background: #1f2a49;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	text-align: center;
	transition: opacity 0.15s, transform 0.1s;
	box-sizing: border-box;
}

.vba-btn--main:hover {
	opacity: 0.85;
}

.vba-btn--main:active {
	transform: scale(0.98);
}

/* 付款说明 */
.vba-cta__payment {
	font-size: 12px;
	color: #1f2a49;
	margin: 10px 0 4px;
	text-align: center;
	line-height: 1.5;
	width: 100%;
}

/* 响应承诺 */
.vba-cta__note {
	font-size: 12px;
	color: #1f2a49;
	margin: 0 0 12px;
	text-align: center;
	line-height: 1.4;
	width: 100%;
}

/* ══ 技术参数对比表 ══ */

.vba-specs {
	margin-top: 40px;
	padding: 0 0 48px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: block;
}

.vba-specs__title {
	font-size: 20px;
	font-weight: 600;
	color: #1f2a49;
	margin: 0 0 20px;
}

/* 横向滚动容器（移动端） */
.vba-specs__wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #f4f0e9;
	border-radius: 12px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.vba-specs__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	table-layout: fixed;
	min-width: 560px;
}

/* 表头 */
.vba-specs__th {
	padding: 14px 16px;
	text-align: center;
	font-weight: 600;
	font-size: 13px;
	color: #1f2a49;
	background: #f4f0e9;
	border-bottom: 1px solid #f4f0e9;
	position: relative;
}

.vba-specs__th--param {
	text-align: left;
	width: 28%;
	color: #1f2a49;
	font-weight: 400;
}

/* 热门型号列高亮 */
.vba-specs__th--popular {
	background: #1f2a49;
	color: #fff;
}

.vba-specs__badge {
	display: block;
	font-size: 10px;
	font-weight: 400;
	color: #1f2a49;
	margin-top: 3px;
	letter-spacing: 0.03em;
}

/* 表格单元格 */
.vba-specs__table td {
	padding: 12px 16px;
	text-align: center;
	color: #1f2a49;
	border-bottom: 1px solid #f4f0e9;
	vertical-align: middle;
}

.vba-specs__param {
	text-align: left !important;
	color: #1f2a49;
	font-size: 13px;
}

/* 热门列数据高亮 */
.vba-specs__td--popular {
	background: #f4f0e9;
	font-weight: 600;
	color: #1f2a49 !important;
}

/* 隔行背景 */
.vba-specs__row--alt td {
	background: #f4f0e9;
}

.vba-specs__row--alt .vba-specs__td--popular {
	background: #f4f0e9;
}

/* 合并列（通用参数行） */
.vba-specs__td--full {
	text-align: left !important;
	color: #1f2a49;
	font-size: 13px;
}

/* 最后一行（价格行）加粗 */
.vba-specs__table tbody tr:last-child td {
	font-size: 15px;
	font-weight: 600;
	color: #1f2a49;
	border-bottom: none;
	padding-top: 16px;
	padding-bottom: 16px;
}

.vba-specs__table tbody tr:last-child .vba-specs__param {
	font-size: 13px;
	font-weight: 400;
	color: #1f2a49;
}

/* 表格底部 */
.vba-specs__footer {
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.vba-specs__footnote {
	font-size: 12px;
	color: #1f2a49;
	line-height: 1.6;
	margin: 0;
	flex: 1;
	min-width: 200px;
}

.vba-specs__footer .vba-btn.vba-btn--main {
	width: auto;
	min-width: 240px;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.35;
	min-height: 48px;
}

/* 移动端适配 */
@media (max-width: 768px) {
	.vba-specs__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.vba-specs__footer .vba-btn--main {
		width: 100%;
	}
}

.vba-price__exw {
	font-size: 11px;
	color: #1f2a49;
	font-style: italic;
	margin: 6px 0 0;
	line-height: 1.4;
}

/* 选中型号后隐藏默认区间价格块；精确价格在变体区显示 */
.vba-hero__price.is-hidden {
	display: none;
}

/* ══ 首屏以下：隐藏原生区块（仅 VB(A)，表单仍在 DOM 内） ══ */
body.vba-hero-product .woocommerce-tabs {
	display: none !important;
}

body.vba-hero-product #respond.comment-respond {
	display: none !important;
}

body.vba-hero-product .post-navigation {
	display: none !important;
}

body.vba-hero-product .aethraify-post__header {
	display: none !important;
}

body.vba-hero-product .product_meta {
	display: none !important;
}

body.vba-hero-product .summary.entry-summary {
	display: none !important;
}

/* 参数表区域上下间距（补强） */
body.vba-hero-product .vba-specs {
	margin-top: 48px;
	margin-bottom: 0;
}

body.vba-hero-product .vba-specs__wrap {
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.vba-specs__table tbody tr:last-child td {
	border-bottom: none;
}

/* ══ 内容区通用 ══ */
.vba-content {
	margin-top: 0;
	padding-bottom: 0;
}

.vba-section {
	padding: 48px 0 0;
	border-top: 1px solid #f4f0e9;
	margin-top: 48px;
}

.vba-section:first-child {
	margin-top: 0;
	border-top: none;
}

.vba-section__title {
	font-size: 20px;
	font-weight: 600;
	color: #1f2a49;
	margin: 0 0 24px;
	font-family: 'Inter', sans-serif;
}

/* ══ 双栏正文 ══ */
.vba-section__body--2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

@media (max-width: 768px) {
	.vba-section__body--2col {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.vba-section__video {
	margin-top: 24px;
}

.vba-section__video-inner {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
}

.vba-section__video-inner iframe,
.vba-section__video-inner video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.vba-prose p {
	font-size: 14px;
	color: #1f2a49;
	line-height: 1.75;
	margin: 0 0 12px;
}

.vba-prose p:last-child {
	margin-bottom: 0;
}

/* ══ 应用行业网格 ══ */
.vba-industries {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

@media (max-width: 900px) {
	.vba-industries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.vba-industries {
		grid-template-columns: 1fr;
	}
}

.vba-industry {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 16px;
	border: 1px solid #f4f0e9;
	border-radius: 10px;
	background: #f4f0e9;
}

.vba-industry__icon {
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
	margin-top: 2px;
}

.vba-industry strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1f2a49;
	margin-bottom: 4px;
}

.vba-industry p {
	font-size: 12px;
	color: #1f2a49;
	line-height: 1.6;
	margin: 0;
}

/* ══ 附加配置卡片 ══ */
.vba-options {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

@media (max-width: 768px) {
	.vba-options {
		grid-template-columns: 1fr;
	}
}

.vba-option {
	padding: 16px 20px;
	border: 1px solid #f4f0e9;
	border-radius: 10px;
	background: #fff;
}

.vba-option__name {
	font-size: 13px;
	font-weight: 600;
	color: #1f2a49;
	margin-bottom: 6px;
}

.vba-option__desc {
	font-size: 12px;
	color: #1f2a49;
	line-height: 1.6;
}

/* ══ FAQ accordion ══ */
.vba-faq {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid #f4f0e9;
	border-radius: 12px;
	overflow: hidden;
}

.vba-faq__item {
	border-bottom: 1px solid #f4f0e9;
}

.vba-faq__item:last-child {
	border-bottom: none;
}

.vba-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #1f2a49;
	cursor: pointer;
	list-style: none;
	user-select: none;
	background: #fff;
	transition: background 0.15s;
	gap: 12px;
}

.vba-faq__q::-webkit-details-marker {
	display: none;
}

.vba-faq__q::after {
	content: '+';
	font-size: 18px;
	font-weight: 300;
	color: #1f2a49;
	flex-shrink: 0;
	transition: transform 0.2s;
	line-height: 1;
}

.vba-faq__item[open] .vba-faq__q {
	background: #f4f0e9;
}

.vba-faq__item[open] .vba-faq__q::after {
	content: '−';
}

.vba-faq__q:hover {
	background: #f4f0e9;
}

.vba-faq__a {
	padding: 0 20px 16px;
	background: #f4f0e9;
}

.vba-faq__a p {
	font-size: 13px;
	color: #1f2a49;
	line-height: 1.7;
	margin: 0;
}

/* ══ 底部 CTA 区 ══ */
.vba-section--cta {
	text-align: center;
	background: #f4f0e9;
	border-radius: 12px;
	padding: 48px 40px !important;
	border-top: none !important;
	margin-top: 32px;
}

.vba-cta-final__title {
	font-size: 22px;
	font-weight: 600;
	color: #1f2a49;
	margin: 0 0 10px;
}

.vba-cta-final__sub {
	font-size: 14px;
	color: #1f2a49;
	max-width: 480px;
	margin: 0 auto 24px;
	line-height: 1.7;
}

.vba-cta-final__note {
	font-size: 12px;
	color: #1f2a49;
	margin: 12px 0 0;
}

.vba-section--cta .vba-cta-final__btn {
	/* 勿用 display:block，会覆盖 .vba-btn--main 的 flex 纵向居中 */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 320px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.vba-section--cta {
		padding: 32px 20px !important;
	}

	.vba-section--cta .vba-btn--main,
	.vba-section--cta .vba-cta-final__btn {
		max-width: 100% !important;
	}
}

/* ═══════════════════════════════════════════════════════════════
   强制隐藏 Tab / 评论 / 导航（更高优先级，覆盖主题或 WC 覆盖样式）
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-tabs.wc-tabs-wrapper,
body.vba-hero-product .woocommerce-tabs.wc-tabs-wrapper,
body.vba-hero-product div.product .woocommerce-tabs {
	display: none !important;
}

#respond.comment-respond,
.comment-respond,
body.vba-hero-product #comments,
body.vba-hero-product .woocommerce-Reviews,
body.vba-hero-product #review_form_wrapper {
	display: none !important;
}

nav.post-navigation,
.navigation.post-navigation,
body.vba-hero-product nav.post-navigation,
body.vba-hero-product .post-navigation {
	display: none !important;
}

.aethraify-post__header,
body.vba-hero-product .aethraify-post__header {
	display: none !important;
}

.summary.entry-summary .product_meta,
body.vba-hero-product .product_meta {
	display: none !important;
}

.summary.entry-summary,
body.vba-hero-product .summary.entry-summary,
body.vba-hero-product div.product div.summary {
	display: none !important;
}

/* ══ 首屏 / 变体价格颜色（覆盖 WooCommerce 金色） ══ */

.vba-hero__price-main .price,
.vba-hero__price-main .price .woocommerce-Price-amount,
.vba-hero__price-main ins .woocommerce-Price-amount,
.vba-hero__price-main bdi {
	color: #1f2a49 !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

.vba-hero__price-main p.price {
	margin-top: 0 !important;
	margin-block-start: 0 !important;
	padding-top: 0;
}

.vba-variant-price .price,
.vba-variant-price .price .woocommerce-Price-amount,
.vba-variant-price bdi {
	color: #1f2a49 !important;
	font-size: 22px !important;
	font-weight: 600 !important;
}

/* ══ 与首屏同宽：限制自定义区块与相关产品不超出内容列 ══ */

.vba-specs,
.vba-content,
.related.products {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* ═══════════════════════════════════════════════════════════════
   【一】单品页：强制隐藏评论区与文章导航（命中 postid/product 场景）
   ═══════════════════════════════════════════════════════════════ */

body.woocommerce-page.single-product #respond.comment-respond,
body.postid-347 #respond.comment-respond,
.woocommerce.single-product #respond.comment-respond,
#respond.comment-respond {
	display: none !important;
}

body.woocommerce-page.single-product nav.post-navigation,
body.postid-347 nav.post-navigation,
.aethraify-content nav.post-navigation,
nav.post-navigation {
	display: none !important;
}

body.woocommerce-page .aethraify-post__header,
.aethraify-post__header {
	display: none !important;
}

/* 去掉 form 固定高度，仅增大输入控件高度 */
.vba-modal .wpcf7-form {
	height: auto !important;
	min-height: 0 !important;
}

.vba-modal .wpcf7-form input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.vba-modal .wpcf7-form select {
	height: 52px !important;
	min-height: 52px !important;
	line-height: 52px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   【二】单品页：相关产品区完整样式（覆盖 WooCommerce / 主题默认）
   ═══════════════════════════════════════════════════════════════ */

body.single-product .related.products {
	margin-top: 48px !important;
	padding-top: 40px !important;
	border-top: 1px solid #f4f0e9 !important;
	clear: both !important;
}

body.single-product .related.products > h2 {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #1f2a49 !important;
	margin: 0 0 20px !important;
	padding: 0 !important;
	font-family: 'Inter', sans-serif !important;
	border: none !important;
	background: none !important;
}

body.single-product .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
	gap: 16px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	width: 100% !important;
}

/* 关闭主题/Woo 默认 clearfix 伪元素，避免首个产品前出现额外占位 */
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after,
body.single-product .related.products ul.products li.product::before,
body.single-product .related.products ul.products li.product::after {
	content: none !important;
	display: none !important;
}

body.single-product .related.products ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #f4f0e9 !important;
	border-radius: 10px !important;
	overflow: hidden !important;
	background: #fff !important;
	display: flex !important;
	flex-direction: column !important;
	transition: box-shadow 0.15s !important;
}

body.single-product .related.products ul.products li.product:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex !important;
	flex-direction: column !important;
	text-decoration: none !important;
	flex: 1 !important;
}

body.single-product .related.products ul.products li.product img {
	width: 100% !important;
	height: 180px !important;
	object-fit: contain !important;
	background: #f4f0e9 !important;
	display: block !important;
	padding: 20px !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #1f2a49 !important;
	padding: 10px 14px 6px !important;
	margin: 0 !important;
	line-height: 1.4 !important;
	flex: 1 !important;
}

body.single-product .related.products ul.products li.product a.button {
	display: block !important;
	margin: auto 14px 14px !important;
	padding: 8px 14px !important;
	background: transparent !important;
	color: #1f2a49 !important;
	border: 1px solid #f4f0e9 !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	text-align: center !important;
	text-decoration: none !important;
	transition: border-color 0.15s, color 0.15s !important;
	box-shadow: none !important;
	width: auto !important;
}

body.single-product .related.products ul.products li.product a.button:hover {
	border-color: #1f2a49 !important;
	color: #1f2a49 !important;
	background: transparent !important;
}

@media (max-width: 768px) {
	body.single-product .related.products ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 480px) {
	body.single-product .related.products ul.products {
		grid-template-columns: 1fr !important;
	}
}
