/* 4. 关键 CSS - 同步加载，防止 FOUC，优先渲染首屏 */
[x-cloak] {
	display: none !important;
}


body {
	top: 0 !important;
	position: relative !important;
	overflow-x: hidden;
}

::selection {
	background-color: var(--color-brand-cyan);
	/* 使用变量驱动颜色 */
	color: #ffffff;
}


.translated-ltr,
.translated-rtl {
	margin-top: 0 !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.skiptranslate>iframe,
.goog-te-spinner-pos {
	display: none !important;
}

#google_translate_element,
#google_translate_element_mobile {
	display: none !important;
}

.gt-select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px solid rgb(203 213 225);
	border-radius: 6px;
	padding: 4px 28px 4px 10px;
	font-size: 13px;
	font-weight: 500;
	color: rgb(100 116 139);
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	transition: border-color 0.2s, color 0.2s;
}

.gt-select:hover,
.gt-select:focus {
	border-color: #0027A7;
	color: #0027A7;
	outline: none;
}

.fa-solid,
.fa-regular,
.fa-brands,
.fas,
.far,
.fab {
	font-display: swap;
}


.bg-image {
	background-clip: padding-box;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: top center;
	background-blend-mode: normal;
}



#article-body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1f2937;
	/* Slate 800 */
	line-height: 1.8;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}

#article-body p {
	margin-bottom: 1.6em;
}

#article-body h2 {
	font-family: inherit;
	color: #111827;
	/* Slate 900 */
	font-weight: 700;
	font-size: 24px;
	margin-top: 2.5em;
	margin-bottom: 1.25em;
	padding-left: 1rem;
	border-left: 5px solid #1c4295;
	line-height: 1.3;
}

#article-body h3 {
	font-weight: 700;
	font-size: 20px;
	color: #111827;
	margin-top: 2em;
	margin-bottom: 0.8em;
}

#article-body strong {
	color: #111827;
	font-weight: 700;
}

#article-body ul,
#article-body ol {
	margin-bottom: 1.6em;
	padding-left: 1.5rem;
}

#article-body li {
	margin-bottom: 0.6em;
	list-style-type: disc;
}

#article-body ol li {
	list-style-type: decimal;
}

#article-body img {
	border-radius: 12px;
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
	width: 100% !important;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

#article-body figcaption {
	text-align: center;
	color: #94a3b8;
	/* Slate 400 */
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 2.5rem;
	font-style: italic;
}

#article-body figcaption::before {
	content: "▲";
	font-size: 10px;
	margin-right: 6px;
	color: #cbd5e1;
	/* Slate 300 */
	vertical-align: middle;
}

#article-body a {
	color: #1c4295;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	font-weight: 500;
	transition: all 0.2s;
}

#article-body a:hover {
	color: #2563eb;
	text-decoration-thickness: 2px;
}

#article-body table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 2.5rem 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.5;
	box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
	/* 像图片一样轻盈的阴影 */
}

#article-body thead {
	background-color: #f8fafc;
}

#article-body th,
#article-body td {
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	padding: 8px 12px;
	text-align: left;
}

/* 优化单元格边框交界处 */
#article-body th:last-child,
#article-body td:last-child {
	border-right: 0;
}

#article-body tbody tr:last-child td {
	border-bottom: 0;
}

#article-body th {
	font-weight: 700;
	color: #111827;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.05em;
}

#article-body tbody tr:hover {
	background-color: rgba(241, 245, 249, 0.5);
}

#article-body tbody td {
	color: #4b5563;
	/* Slate 600 */
}

/* TOC Active State Hack for better visibility */
.toc-link.bg-blue-50\/50 {
	border-left: 3px solid #1c4295 !important;
}

/* Product category tree */
.product-category-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 280px;
	overflow: hidden;
	background: #eef2ff;
}

.product-category-hero-background,
.product-category-hero-overlay {
	position: absolute;
	inset: 0;
}

.product-category-hero-background img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-category-hero-background-mobile {
	display: none;
}

.product-category-hero-overlay {
	background: rgba(15, 23, 42, 0.64);
}

.product-category-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(240px, 2fr);
	align-items: center;
	gap: 2.5rem;
	width: 100%;
	max-width: 80rem;
	min-height: 280px;
	margin: 0 auto;
	padding: 1.5rem;
}

.product-category-hero-inner.has-no-image {
	grid-template-columns: minmax(0, 52rem);
}

.product-category-hero-copy {
	min-width: 0;
}

.product-category-hero-copy h1 {
	margin: 0;
	font-family: var(--font-display, inherit);
	font-size: clamp(2.1rem, 4vw, 3.5rem);
	font-weight: 750;
	line-height: 1.06;
	letter-spacing: -0.035em;
	color: #0f172a;
}

.product-category-hero-copy p {
	max-width: 42rem;
	margin: 0.8rem 0 0;
	font-size: clamp(0.95rem, 1.4vw, 1.125rem);
	line-height: 1.55;
	color: #64748b;
}

.product-category-hero.is-dark .product-category-hero-copy h1 {
	color: #fff;
}

.product-category-hero.is-dark .product-category-hero-copy p {
	color: #cbd5e1;
}

.product-category-hero-tag {
	display: inline-flex;
	margin-bottom: 0.75rem;
	padding: 0.3rem 0.65rem;
	border: 1px solid #dbeafe;
	border-radius: 999px;
	background: #eff6ff;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0027a7;
}

.product-category-hero-media {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 230px;
	min-width: 0;
}

.product-category-hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right center;
}

.section.product-catalog-section {
	padding-top: 2rem;
}

.product-menu-dropdown {
	min-width: 16rem;
}

.product-menu-dropdown a {
	white-space: nowrap;
}

.group:focus-within > .product-menu-dropdown {
	display: block;
}

.product-tree-mobile {
	display: block;
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}

.product-tree-mobile > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.95rem 1rem;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 700;
	color: #0f172a;
	list-style: none;
}

.product-tree-mobile > summary::-webkit-details-marker {
	display: none;
}

.product-tree-mobile > summary svg {
	width: 1rem;
	height: 1rem;
	transition: transform 180ms ease;
}

.product-tree-mobile[open] > summary svg {
	transform: rotate(180deg);
}

.product-tree-mobile .product-tree-card {
	border: 0;
	border-top: 1px solid #e2e8f0;
	border-radius: 0;
}

.product-tree-desktop {
	display: none;
}

.product-tree-heading {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #94a3b8;
}

.product-tree-card {
	padding: 0.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.product-tree-root,
.product-tree-link {
	min-width: 0;
	color: #475569;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease;
}

.product-tree-root {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.7rem 0.75rem;
	border-radius: 9px;
	font-size: 0.875rem;
	font-weight: 700;
}

.product-tree-root:hover,
.product-tree-root.is-active {
	color: #0027a7;
	background: #eff6ff;
}

.product-tree-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.45rem;
	height: 1.45rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #e2e8f0;
	font-size: 0.6875rem;
	color: #64748b;
}

.product-tree-root.is-active .product-tree-count {
	background: #dbeafe;
	color: #0027a7;
}

.product-tree-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-tree-card > .product-tree-list {
	margin-top: 0.35rem;
	padding-top: 0.35rem;
	border-top: 1px solid #f1f5f9;
}

.product-tree-children {
	margin-left: 0.9rem;
	padding-left: 0.3rem;
	border-left: 1px solid #e2e8f0;
}

.product-tree-row {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	min-width: 0;
}

.product-tree-link {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex: 1;
	min-width: 0;
	padding: 0.58rem 0.45rem;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.35;
}

.product-tree-link span:last-child {
	overflow-wrap: anywhere;
}

.product-tree-link:hover {
	color: #0027a7;
	background: #f8fafc;
}

.product-tree-link.is-active {
	color: #0027a7;
	background: #eff6ff;
	font-weight: 700;
}

.product-tree-dot {
	width: 0.35rem;
	height: 0.35rem;
	flex: 0 0 auto;
	border-radius: 999px;
	background: #cbd5e1;
}

.product-tree-link:hover .product-tree-dot,
.product-tree-link.is-active .product-tree-dot {
	background: #0027a7;
}

.product-tree-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	flex: 0 0 auto;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
}

.product-tree-toggle:hover,
.product-tree-toggle:focus-visible {
	background: #f1f5f9;
	color: #0027a7;
	outline: none;
}

.product-tree-toggle svg {
	width: 0.9rem;
	height: 0.9rem;
	transition: transform 180ms ease;
}

.product-tree-toggle svg.is-open {
	transform: rotate(90deg);
}

@media (min-width: 1024px) {
	.product-tree-mobile {
		display: none;
	}

	.product-tree-desktop {
		display: block;
		width: 18rem;
		flex: 0 0 18rem;
	}

	.product-tree-sticky {
		position: sticky;
		top: 7rem;
		max-height: calc(100vh - 8.5rem);
		overflow-y: auto;
		padding-right: 0.25rem;
		scrollbar-width: thin;
		scrollbar-color: #cbd5e1 transparent;
	}
}

@media (max-width: 767px) {
	.product-category-hero,
	.product-category-hero-inner {
		min-height: 220px;
	}

	.product-category-hero-inner {
		display: flex;
		align-items: center;
		padding: 1.5rem 1.25rem;
	}

	.product-category-hero-copy h1 {
		font-size: clamp(2rem, 10vw, 2.65rem);
	}

	.product-category-hero-copy p {
		font-size: 0.9375rem;
	}

	.product-category-hero-media {
		display: none;
	}

	.product-category-hero-background-desktop {
		display: none;
	}

	.product-category-hero-background-mobile {
		display: block;
	}

	.section.product-catalog-section {
		padding-top: 1.5rem;
	}
}
