/*
Theme Name: Industry Production Child
Theme URI: https://example.com
Description: Production Factory 子主题，在此做样式与 PHP 定制；父主题升级时保留你的修改。
Author: IndustryTest
Template: production-factory
Version: 1.9.1
Requires at least: 6.0
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: industry-production-child
*/

/* 全局覆盖写在下方，或使用 theme.json 调整配色与版式。 */

/* --- 顶栏固定：滚动时导航始终显示 --- */
:root {
	--pf-header-height: 88px;
}

.pf-site-header,
.wp-site-blocks > .header-box-upper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	background-color: var(--wp--preset--color--thirdaccent, #415A77);
	box-shadow: none;
}

.pf-site-header .header-box-upper {
	background-color: var(--wp--preset--color--thirdaccent, #415A77);
}

.pf-site-header::after,
.wp-site-blocks > .header-box-upper::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background-color: var(--wp--preset--color--thirdaccent, #415A77);
	pointer-events: none;
}

.header-box-upper,
.header-box-upper .wp-block-group,
.header-box-upper .wp-block-columns,
.header-box-upper .wp-block-column,
.header-actions-with-lang,
.pf-site-header-nav,
.pf-footer-nav,
.footer-content,
.copyright-text {
	border-bottom: 0 !important;
}

.header-box-upper a,
.header-box-upper a:hover,
.header-box-upper a:focus,
.header-box-upper a:active,
.pf-site-header-nav .wp-block-navigation-item__content,
.pf-site-header-nav .wp-block-navigation-item__content:hover,
.pf-site-header-nav .wp-block-navigation-item__content:focus,
.pf-site-header-nav .wp-block-navigation-item__content:active,
.pf-footer-nav .wp-block-navigation-item__content,
.pf-footer-nav .wp-block-navigation-item__content:hover,
.pf-footer-nav .wp-block-navigation-item__content:focus,
.pf-footer-nav .wp-block-navigation-item__content:active,
.footer-content a,
.footer-content a:hover,
.footer-content a:focus,
.footer-content a:active,
.copyright-text a,
.copyright-text a:hover,
.copyright-text a:focus,
.copyright-text a:active {
	text-decoration: none !important;
	text-decoration-line: none !important;
	box-shadow: none !important;
}

.header-box-upper a:focus-visible,
.footer-content a:focus-visible,
.copyright-text a:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.6);
	outline-offset: 3px;
	border-radius: 4px;
}

.pf-site-header-nav .wp-block-navigation-item__content,
.pf-footer-nav .wp-block-navigation-item__content,
.header-logo .wp-block-site-title a,
.footer-content .wp-block-site-title a,
.footer-content p a,
.copyright-text p a {
	transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.pf-site-header-nav .wp-block-navigation-item__content:hover,
.pf-site-header-nav .wp-block-navigation-item__content:focus,
.header-logo .wp-block-site-title a:hover,
.header-logo .wp-block-site-title a:focus {
	opacity: 0.88;
}

.pf-footer-nav .wp-block-navigation-item__content:hover,
.pf-footer-nav .wp-block-navigation-item__content:focus,
.footer-content p a:hover,
.footer-content p a:focus,
.copyright-text p a:hover,
.copyright-text p a:focus {
	color: #fff !important;
	opacity: 0.88;
}

/* 为固定顶栏预留高度，避免正文被遮挡 */
.wp-site-blocks {
	padding-top: var(--pf-header-height);
}

body:not(.home) .wp-site-blocks main {
	padding-top: 0;
}

/* 首页各大区块直接相邻显示，避免不同背景之间露出白色缝隙 */
.home .wp-block-post-content.is-layout-flow > * + * {
	margin-block-start: 0 !important;
}

body.admin-bar .pf-site-header,
body.admin-bar .wp-site-blocks > .header-box-upper {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .pf-site-header,
	body.admin-bar .wp-site-blocks > .header-box-upper {
		top: 46px;
	}
}

/* --- 顶栏 Polylang 中英文切换 --- */
.header-actions-with-lang {
	align-items: center;
	gap: 0.75rem 1.25rem;
	flex-wrap: nowrap;
}

.pf-lang-switcher {
	flex-shrink: 0;
	margin-left: 0.25rem;
}

.pf-lang-switcher__list {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 4px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.12);
}

.pf-lang-switcher__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	padding: 0.4rem 0.65rem;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.92) !important;
	background: transparent;
	border: none;
	cursor: default;
	transition: background-color 0.2s ease, color 0.2s ease;
}

a.pf-lang-switcher__link {
	cursor: pointer;
}

a.pf-lang-switcher__link:hover,
a.pf-lang-switcher__link:focus {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.14);
}

.pf-lang-switcher__link.is-active {
	color: #0f172a !important;
	background: #fff;
}

.pf-lang-switcher__link+.pf-lang-switcher__link {
	border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.pf-lang-switcher__link.is-active+.pf-lang-switcher__link,
.pf-lang-switcher__link+.pf-lang-switcher__link.is-active {
	border-left-color: rgba(15, 23, 42, 0.12);
}

@media (max-width: 781px) {
	.header-inner-menu .header-actions-with-lang {
		justify-content: flex-end;
		padding-right: var(--wp--preset--spacing--20, 1rem);
	}

	.pf-lang-switcher {
		order: 2;
		margin-left: 0.5rem;
	}
}

/* --- 核心流程区块：白底；仅标题条 .searvice-heading 为黄色（与中文版一致） --- */
.wp-block-group.pf-process-section.production-factory-service-section,
.production-factory-service-section.pf-process-section {
	background-color: var(--wp--preset--color--background, #ffffff) !important;
}

/* 若整块误设为 secaccent，仍强制白底 */
.wp-block-group.pf-process-section.production-factory-service-section.has-secaccent-background-color {
	background-color: var(--wp--preset--color--background, #ffffff) !important;
}

.wp-block-group.pf-process-section.production-factory-service-section {
	overflow: visible;
}

/* 黄色标题条左缘贴齐页面（突破 80% 内容区缩进，宽度仍随标题） */
.wp-block-group.pf-process-section .searvice-heading.has-secaccent-background-color {
	background-color: var(--wp--preset--color--secaccent) !important;
	width: fit-content;
	max-width: fit-content;
	margin-left: calc(50% - 50vw) !important;
	margin-right: 0 !important;
	padding-left: max(1.25rem, 10vw) !important;
	padding-right: 70px !important;
	box-sizing: border-box;
}

.wp-block-group.pf-process-section .pf-production-process-query,
.wp-block-group.pf-process-section>.wp-block-group:not(.searvice-heading) {
	background-color: transparent !important;
}

/* --- 生产流程：四列网格；卡片/26px 蓝黄斜条沿用父主题 .production-factory-service-section --- */
.production-factory-service-section .pf-production-process-query>ul,
.production-factory-service-section .pf-production-process-query .wp-block-post-template,
.production-factory-service-section .pf-production-process-query .pf-process-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	max-width: 100%;
}

.production-factory-service-section .pf-production-process-query>ul>li,
.production-factory-service-section .pf-production-process-query .wp-block-post {
	min-width: 0;
	max-width: 100%;
}

/* 四列内图片为正方形；勿 overflow:hidden，以免裁切上下 26px 斜条 */
.production-factory-service-section.pf-process-section .pf-production-process-query .blog-post-img,
.production-factory-service-section .pf-production-process-query .blog-post-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	overflow: visible;
	position: relative;
	background-color: #a7a7a744;
}

.production-factory-service-section.pf-process-section .pf-production-process-query .blog-post-img img,
.production-factory-service-section .pf-production-process-query .blog-post-img img,
.production-factory-service-section .pf-production-process-query .wp-post-image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: cover;
}

/* 若旧缓存仍带 owl 结构，强制展开为网格 */
.pf-production-process-query .owl-stage-outer,
.pf-production-process-query .owl-stage {
	display: contents !important;
}

@media (max-width: 1200px) {

	.production-factory-service-section .pf-production-process-query>ul,
	.production-factory-service-section .pf-production-process-query .wp-block-post-template,
	.production-factory-service-section .pf-production-process-query .pf-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 600px) {

	.production-factory-service-section .pf-production-process-query>ul,
	.production-factory-service-section .pf-production-process-query .wp-block-post-template,
	.production-factory-service-section .pf-production-process-query .pf-process-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* --- 旧版静态四列（若仍存在） --- */
.production-factory-service-section .pf-process-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.production-factory-service-section .pf-process-step-item {
	margin-top: 0;
	padding-right: 25px;
	border: none;
}

.production-factory-service-section .pf-process-step-item .blog-post-img::before,
.production-factory-service-section .pf-process-step-item .blog-post-img::after {
	height: 26px;
	background-color: var(--wp--preset--color--thirdaccent);
}

.production-factory-service-section .pf-process-step-item:hover .blog-post-img::before,
.production-factory-service-section .pf-process-step-item:hover .blog-post-img::after {
	background-color: var(--wp--preset--color--secaccent);
	width: 90%;
	transition: ease-in 0.5s;
}

@media (max-width: 1200px) {
	.production-factory-service-section .pf-process-steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.production-factory-service-section .pf-process-steps-grid {
		grid-template-columns: 1fr;
	}
}

/* --- 首页产品轮播（原 Testimonials 区块） --- */
.pf-product-showcase-section .pf-product-swiper {
	overflow: hidden;
	position: relative;
	min-height: 340px;
}

.pf-product-showcase-section .testimonials-slider {
	margin-top: var(--wp--preset--spacing--40, 2rem) !important;
	margin-bottom: var(--wp--preset--spacing--40, 2rem) !important;
}

.pf-product-showcase-section .testimonials-slider .swiper-slide {
	transform: none !important;
	min-height: 300px;
	height: auto;
}

.pf-product-showcase-section .testimonials-slider-block {
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	border-radius: 0 !important;
}

.pf-product-showcase-section .testimonials-slider-block:hover {
	background-color: transparent !important;
}

.pf-product-showcase-section .testimonials-slider-block:hover .testimonial-author-name,
.pf-product-showcase-section .testimonials-slider-block:hover .pf-product-slide__title-text {
	color: var(--wp--preset--color--accent, #0f172a) !important;
}

.pf-product-showcase-section .pf-product-slide__figure {
	margin: 0;
	padding: 0;
	text-align: center;
}

.pf-product-showcase-section .pf-product-slide__figure img {
	margin: 0;
}

.pf-product-showcase-section .pf-product-slide__media {
	display: block;
	line-height: 0;
	padding: 0;
}

.pf-product-showcase-section .pf-product-slide {
	cursor: default;
}

.pf-product-showcase-section .pf-product-slide__img {
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 260px;
	max-height: 280px;
	object-fit: contain;
	margin: 0;
	display: block;
}

.pf-product-showcase-section .pf-product-slide__title {
	font-size: 0.9375rem !important;
	line-height: 1.35;
	margin-top: 0.75rem !important;
}

.pf-product-showcase-section .pf-product-slide__title-text {
	color: inherit;
	text-decoration: none;
	cursor: default;
}

.pf-product-showcase-section .pf-product-slide-empty {
	padding: 2rem 1rem;
	color: var(--wp--preset--color--accent);
}

.pf-product-showcase-section .testimonials-slider-block p {
	display: none;
}

/* --- 首页 Testimonials：卡片等高，姓名与职位底部对齐 --- */
.testimonials-section:not(.pf-product-showcase-section) .testimonials-slider .swiper-slide {
	display: flex;
	height: auto !important;
	align-self: stretch;
}

.testimonials-section:not(.pf-product-showcase-section) .testimonials-slider-block {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
}

.testimonials-section:not(.pf-product-showcase-section) .testimonials-slider-block > p:first-of-type {
	flex: 1 1 auto;
}

.testimonials-section:not(.pf-product-showcase-section) .testimonials-slider-block .testimonial-author-name {
	margin-top: auto !important;
}

/* --- 隐藏顶栏 WooCommerce 用户/账户图标 --- */
header .wp-block-woocommerce-customer-account,
header .wc-block-customer-account,
header .header-icon,
.header-inner-menu .wp-block-woocommerce-customer-account,
.header-actions-with-lang .wp-block-woocommerce-customer-account {
	display: none !important;
}

/* --- 首页三栏资讯卡片（home-insights-trio） --- */
.pf-child-insights-section {
	background-color: #e8edf4;
	background-image: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
		radial-gradient(ellipse 100% 60% at 80% 100%, rgba(255, 255, 255, 0.35) 0%, transparent 50%);
}

.pf-child-insights-columns {
	gap: 1.75rem 1.75rem !important;
	align-items: stretch !important;
}

.pf-child-insights-columns>.wp-block-column {
	display: flex;
	flex-direction: column;
}

.pf-child-insight-card {
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

/* 固定上半高度：整幅图铺满；亮窗用 ::after + box-shadow「整区压暗、中间挖空」 */
.pf-child-insight-card__hero-wrap {
	--pf-hero-h: 320px;
	position: relative;
	isolation: isolate;
	flex: 0 0 var(--pf-hero-h);
	width: 100%;
	height: var(--pf-hero-h);
	min-height: var(--pf-hero-h);
	max-height: var(--pf-hero-h);
	overflow: hidden;
	border-radius: 4px 4px 0 0;
}

/* Cover 铺满；不启用 WP 自带 dim，由 ::after 统一压暗 */
.pf-child-insight-card__hero-wrap>.wp-block-cover.pf-child-insight-card__cover {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	min-height: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding-top: 1.5rem !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	padding-bottom: 0.75rem !important;
	border: none;
	border-radius: 0;
	z-index: 0;
}

.pf-child-insight-card__hero-wrap .wp-block-cover__background {
	opacity: 0 !important;
}

.pf-child-insight-card__hero-wrap .wp-block-cover__image-background {
	object-fit: cover;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

/*
 * 图2：中间「亮窗」透明见原图，白边；窗外 50vmax 扩散 = 整区半透明蓝灰蒙层。
 * 窗体本身无填充，clip-path 为异形/镜像/中矩三列区分。
 */
.pf-child-insight-card__hero-wrap--w1::after,
.pf-child-insight-card__hero-wrap--w2::after,
.pf-child-insight-card__hero-wrap--w3::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 56%;
	transform: translate(-50%, -50%);
	width: min(68%, 230px);
	height: min(46%, 148px);
	pointer-events: none;
	z-index: 1;
	box-shadow:
		0 0 0 2px rgba(255, 255, 255, 0.95),
		0 0 0 50vmax rgba(11, 42, 66, 0.76);
}

/* 左：左上 + 右下切角 */
.pf-child-insight-card__hero-wrap--w1::after {
	clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 14%);
}

/* 中：圆角矩形窗（无图时占位同形） */
.pf-child-insight-card__hero-wrap--w2::after {
	clip-path: inset(8% 10% 14% 10% round 4px);
}

/* 右：与左列镜像切角 */
.pf-child-insight-card__hero-wrap--w3::after {
	clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 12% 100%, 0 88%);
}

.pf-child-insight-card__hero-wrap.is-placeholder::after {
	box-shadow:
		0 0 0 2px rgba(255, 255, 255, 0.88),
		0 0 0 50vmax rgba(6, 18, 32, 0.84);
}

.pf-child-insight-card__hero-wrap .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.pf-child-insight-card__subtitle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.pf-child-insight-card__subtitle::before,
.pf-child-insight-card__subtitle::after {
	content: "";
	display: inline-block;
	width: 28px;
	max-width: 22%;
	height: 1px;
	background: rgba(255, 255, 255, 0.88);
	vertical-align: middle;
}

/* 下半：参考图白底 */
.pf-child-insight-card__body {
	flex: 1 1 auto;
	min-height: 15.5rem;
	background-color: #ffffff;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0 0 4px 4px;
}

.pf-child-insight-card__title {
	color: #0f172a !important;
	margin-top: 0;
	margin-bottom: 0;
}

.pf-child-insight-card__date {
	color: #64748b !important;
	margin: 0;
}

.pf-child-insight-card__excerpt {
	color: #334155 !important;
	margin: 0;
}

.pf-child-insight-card__more {
	margin: 0;
}

.pf-child-insight-card__more a {
	color: #0f172a !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 600;
}

.pf-child-insight-card__more a:hover {
	color: var(--wp--preset--color--accent, #c2410c) !important;
}

@media (max-width: 781px) {
	.pf-child-insights-columns {
		flex-direction: column !important;
	}

	.pf-child-insights-columns .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* --- 联系我们页（Contact Form 7）--- */
.pf-contact-page main .wp-block-post-content {
	max-width: 44rem;
	margin-left: auto;
	margin-right: auto;
}

.pf-contact-page .wp-block-post-content>.wp-block-heading,
.pf-contact-page .wp-block-post-content>h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-contact-page .wp-block-post-content>p {
	margin-top: 0;
	margin-bottom: 2.25rem;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #64748b;
}

.pf-contact-page .wpcf7 {
	margin-top: 0;
	padding: 2rem 2.25rem;
	background: #fff;
	border: 1px solid rgba(27, 38, 59, 0.1);
	border-radius: 12px;
	box-shadow: 0 14px 40px rgba(27, 38, 59, 0.08);
}

.pf-contact-page .wpcf7 form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.pf-contact-page .wpcf7 form>p {
	margin: 0 0 1.35rem;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-contact-page .wpcf7 form>p:last-of-type {
	margin-bottom: 0;
}

.pf-contact-page .wpcf7 input[type="email"],
.pf-contact-page .wpcf7 input[type="text"],
.pf-contact-page .wpcf7 input[type="tel"],
.pf-contact-page .wpcf7 input[type="url"],
.pf-contact-page .wpcf7 textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-top: 0.5rem;
	padding: 0.85rem 1rem;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #0f172a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pf-contact-page .wpcf7 textarea {
	min-height: 9.5rem;
	resize: vertical;
}

.pf-contact-page .wpcf7 input[type="email"]:focus,
.pf-contact-page .wpcf7 input[type="text"]:focus,
.pf-contact-page .wpcf7 input[type="tel"]:focus,
.pf-contact-page .wpcf7 input[type="url"]:focus,
.pf-contact-page .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--thirdaccent, #415a77);
	box-shadow: 0 0 0 3px rgba(65, 90, 119, 0.18);
}

.pf-contact-page .wpcf7 .wpcf7-not-valid {
	background: #fff5f5;
	border-color: #f87171;
}

.pf-contact-page .wpcf7 .wpcf7-not-valid:focus {
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

.pf-contact-page .wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #dc2626;
}

.pf-contact-page .wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 9rem;
	margin-top: 0.35rem;
	padding: 0.9rem 2.25rem;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: var(--wp--preset--color--thirdaccent, #415a77);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.pf-contact-page .wpcf7 input[type="submit"]:hover,
.pf-contact-page .wpcf7 input[type="submit"]:focus {
	background: var(--wp--preset--color--accent, #1b263b);
	box-shadow: 0 8px 20px rgba(27, 38, 59, 0.18);
}

.pf-contact-page .wpcf7 input[type="submit"]:active {
	transform: translateY(1px);
}

.pf-contact-page .wpcf7 .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.85rem 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
	border-radius: 8px;
}

.pf-contact-page .wpcf7 form.sent .wpcf7-response-output {
	color: #166534;
	background: #f0fdf4;
	border: 1px solid #86efac;
}

.pf-contact-page .wpcf7 form.invalid .wpcf7-response-output,
.pf-contact-page .wpcf7 form.unaccepted .wpcf7-response-output,
.pf-contact-page .wpcf7 form.failed .wpcf7-response-output {
	color: #b91c1c;
	background: #fef2f2;
	border: 1px solid #fca5a5;
}

.pf-contact-page .wpcf7 .wpcf7-spinner {
	margin-left: 0.75rem;
}

@media (max-width: 781px) {
	.pf-contact-page .wpcf7 {
		padding: 1.35rem 1.15rem;
	}

	.pf-contact-page .wpcf7 input[type="submit"] {
		width: 100%;
	}
}

/* --- 资质认证：独立页 + 首页预览 --- */
.pf-certifications-section {
	background: var(--wp--preset--color--background, #ffffff);
}

.pf-certifications-section__title,
.pf-certifications-preview__title {
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-certifications-section__subtitle,
.pf-certifications-preview__subtitle {
	margin-top: 0;
	color: #64748b;
}

.pf-certifications-grid,
.pf-certifications-preview__grid {
	align-items: stretch;
}

.pf-certifications-grid>.wp-block-column {
	display: flex;
	flex-direction: column;
}

.pf-cert-card {
	display: flex !important;
	flex-direction: column !important;
	flex: 1;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: #fff;
	border: 1px solid rgba(27, 38, 59, 0.1);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(27, 38, 59, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pf-cert-card:hover {
	box-shadow: 0 16px 40px rgba(27, 38, 59, 0.1);
	transform: translateY(-2px);
}

.pf-cert-card__thumb {
	margin: 0;
	background: #f1f5f9;
}

.pf-cert-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top center;
}

.pf-cert-card__thumb a {
	display: block;
}

.pf-cert-card__body {
	display: flex !important;
	flex-direction: column !important;
	flex: 1;
	min-height: 0;
}

.pf-cert-card__title {
	margin: 0;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-cert-card__desc {
	margin: 0;
	color: #64748b;
	flex: 1;
	min-height: 3.1em;
}

.pf-cert-card__actions {
	margin-top: auto !important;
	padding-top: 16px;
	gap: 0.5rem;
}

.pf-cert-card__actions .wp-block-button__link {
	font-size: 0.8125rem;
	padding: 0.55rem 1rem;
	border-radius: 6px;
}

.pf-cert-card__btn-view .wp-block-button__link {
	background: var(--wp--preset--color--thirdaccent, #415a77);
	color: #fff;
}

.pf-cert-card__btn-view .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent, #1b263b);
}

.pf-cert-preview-card {
	background: #fff;
	border: 1px solid rgba(27, 38, 59, 0.08);
	border-radius: 10px;
	padding: 16px;
	height: 100%;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pf-cert-preview-card:hover {
	box-shadow: 0 8px 24px rgba(27, 38, 59, 0.08);
	transform: translateY(-2px);
}

.pf-cert-preview-card__thumb {
	margin: 0 0 12px;
}

.pf-cert-preview-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top center;
	border-radius: 6px;
}

.pf-cert-preview-card__label {
	margin: 0;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-certifications-preview__more {
	margin-bottom: 0;
}

.pf-certifications-preview__more a {
	color: var(--wp--preset--color--thirdaccent, #415a77);
	text-decoration: none;
}

.pf-certifications-preview__more a:hover {
	color: var(--wp--preset--color--accent, #1b263b);
	text-decoration: underline;
}

.pf-certifications-page main .wp-block-post-content>.pf-certifications-section:first-child {
	padding-top: 48px;
}

/* --- About Us 独立页面 --- */
.pf-about-page .pf-about-page-layout {
	margin-top: 0;
	margin-bottom: 0;
}

.pf-page-hero.pf-about-page-hero {
	background:
		linear-gradient(120deg, rgba(65, 90, 119, 0.96), rgba(27, 38, 59, 0.98)),
		radial-gradient(circle at top right, rgba(255, 183, 3, 0.16), transparent 34%);
	color: #fff;
}

.pf-page-hero__breadcrumb {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
}

.pf-page-hero__breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.pf-page-hero__breadcrumb a:hover {
	color: var(--wp--preset--color--secaccent, #ffb703);
}

.pf-page-hero__eyebrow {
	margin: 0;
	color: var(--wp--preset--color--secaccent, #ffb703);
}

.pf-page-hero__title,
.pf-about-page__headline,
.pf-about-page__feature-title {
	color: #fff;
}

.pf-page-hero__subtitle {
	margin: 0;
	max-width: 720px;
	color: rgba(255, 255, 255, 0.84);
}

.pf-about-page-section {
	background: #fff;
}

.pf-about-page__intro {
	align-items: stretch !important;
}

.pf-about-page__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pf-about-page__headline {
	margin: 0;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-about-page__lead {
	margin: 0;
	color: #64748b;
}

.pf-about-page__actions .wp-block-button__link {
	padding: 0.95rem 1.45rem;
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pf-about-page__btn--primary .wp-block-button__link {
	background: var(--wp--preset--color--thirdaccent, #415a77);
	color: #fff;
}

.pf-about-page__btn--secondary .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--thirdaccent, #415a77);
	border: 1px solid rgba(65, 90, 119, 0.26);
}

.pf-about-page__actions .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.pf-about-page__video-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 18px;
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(65, 90, 119, 0.95), rgba(15, 23, 42, 0.98)),
		radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 42%);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
	overflow: hidden;
}

.pf-about-page__video-card::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	pointer-events: none;
}

.pf-about-page__video-player {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #0f172a;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
}

.pf-about-page__video-player video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	background: #0f172a;
}

.pf-about-page__stats {
	align-items: stretch !important;
}

.pf-about-page__stat {
	height: 100%;
	padding: 22px 20px;
	border: 1px solid #d7e0ea;
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fafc, #eef3f8);
}

.pf-about-page__stat-value {
	margin: 0;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-about-page__stat-label {
	margin: 0;
	color: #64748b;
}

.pf-about-page__feature-card {
	height: 100%;
	padding: 28px 26px;
	border: 1px solid #dce6f0;
	border-radius: 16px;
	background: #f8fafc;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pf-about-page__feature-tag {
	margin: 0;
	color: var(--wp--preset--color--thirdaccent, #415a77);
}

.pf-about-page__feature-title {
	margin: 0;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-about-page__feature-desc {
	margin: 0;
	color: #64748b;
}

@media (max-width: 781px) {

	.pf-certifications-grid,
	.pf-certifications-preview__grid {
		flex-direction: column !important;
	}

	.pf-certifications-grid>.wp-block-column,
	.pf-certifications-preview__grid>.wp-block-column {
		flex-basis: 100% !important;
	}

	.pf-cert-card__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.pf-cert-card__actions .wp-block-button {
		width: 100%;
	}

	.pf-about-page__intro,
	.pf-about-page__stats,
	.pf-about-page__features {
		flex-direction: column !important;
	}

	.pf-about-page__video-card {
		min-height: 0;
	}
}

/* ========== 首页产品中心（Woo 分类卡片） ========== */
.pf-home-cats-section .pf-home-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.pf-home-cat-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e2e8f0;
	background: #fff;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pf-home-cat-card:hover,
.pf-home-cat-card:focus {
	border-color: var(--wp--preset--color--thirdaccent, #415a77);
	box-shadow: 0 8px 24px rgba(65, 90, 119, 0.12);
	color: inherit;
}

.pf-home-cat-card__media {
	display: block;
	height: 180px;
	background: linear-gradient(145deg, #dbe3ee, #64748b);
	overflow: hidden;
}

.pf-home-cat-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.pf-home-cat-card:hover .pf-home-cat-card__img {
	transform: scale(1.04);
}

.pf-home-cat-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.875rem;
	font-weight: 600;
}

.pf-home-cat-card__name {
	display: block;
	padding: 16px;
	text-align: center;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--wp--preset--color--accent, #1b263b);
	background: #fff;
}

.pf-home-cats-more {
	text-align: center;
	margin-top: 28px;
}

.pf-home-cats-more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wp--preset--color--thirdaccent, #415a77);
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--thirdaccent, #415a77);
	border-radius: 4px;
	padding: 12px 28px;
	font-size: 0.875rem;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pf-home-cats-more a:hover {
	background: var(--wp--preset--color--thirdaccent, #415a77);
	color: #fff;
}

.pf-home-cats-empty {
	color: #64748b;
	padding: 24px 12px;
}

/* ========== 首页行业应用 ========== */
.pf-industry-section .pf-industry-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.pf-industry-tile {
	position: relative;
	min-height: 168px;
	overflow: hidden;
	background: #475569;
}

.pf-industry-tile__media {
	position: absolute;
	inset: 0;
}

.pf-industry-tile__media--empty {
	background: linear-gradient(160deg, #64748b, #334155);
}

.pf-industry-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pf-industry-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.78), transparent 55%);
	pointer-events: none;
}

.pf-industry-tile__name {
	position: absolute;
	left: 16px;
	bottom: 14px;
	z-index: 1;
	color: #fff;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 1rem;
	font-weight: 700;
}

.pf-industry-empty {
	color: #64748b;
	padding: 24px 12px;
}

/* ========== 商品分类归档页 ========== */
.pf-cat-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	padding: 56px 24px;
	background-color: var(--wp--preset--color--accent, #1b263b);
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
}

.pf-cat-hero.has-image {
	min-height: 280px;
}

.pf-cat-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.78));
	pointer-events: none;
}

.pf-cat-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.pf-cat-hero__title {
	margin: 0 0 12px;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
}

.pf-cat-hero__breadcrumb {
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
}

.pf-cat-hero__breadcrumb a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.pf-cat-hero__breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.pf-cat-hero__sep {
	margin: 0 0.4em;
	opacity: 0.7;
}

.pf-cat-archive {
	padding-left: var(--wp--preset--spacing--40, 1.5rem);
	padding-right: var(--wp--preset--spacing--40, 1.5rem);
}

.pf-cat-archive__layout {
	align-items: flex-start !important;
}

.pf-cat-sidebar {
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	overflow: hidden;
}

.pf-cat-sidebar__head {
	padding: 14px 18px;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent, #1b263b);
	background: #e8edf4;
	border-bottom: 1px solid #e2e8f0;
}

.pf-cat-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pf-cat-sidebar__item {
	margin: 0;
	border-bottom: 1px solid #e2e8f0;
}

.pf-cat-sidebar__item:last-child {
	border-bottom: 0;
}

.pf-cat-sidebar__item a {
	display: block;
	padding: 12px 18px;
	font-size: 0.875rem;
	color: var(--wp--preset--color--accent, #1b263b);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.pf-cat-sidebar__item a:hover,
.pf-cat-sidebar__item.is-active a {
	background: #fff;
	color: var(--wp--preset--color--thirdaccent, #415a77);
	font-weight: 600;
}

.pf-cat-intro {
	margin-bottom: 28px;
}

.pf-cat-intro__media {
	margin-bottom: 16px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	background: #f1f5f9;
}

.pf-cat-intro__media img {
	display: block;
	width: 100%;
	max-height: 320px;
	object-fit: cover;
}

.pf-cat-intro__desc {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: #475569;
}

.pf-cat-intro__desc p:last-child {
	margin-bottom: 0;
}

.pf-cat-archive__toolbar {
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 0.8125rem;
	color: #64748b;
}

.pf-cat-archive__toolbar .woocommerce-result-count,
.pf-cat-archive__toolbar .wp-block-woocommerce-product-results-count {
	margin: 0;
}

.pf-cat-product-collection .wc-block-product-template,
.pf-cat-product-collection ul.wc-block-product-template {
	gap: 20px !important;
}

.pf-cat-product-card {
	height: 100%;
	border: 1px solid #e2e8f0;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pf-cat-product-card:hover {
	border-color: var(--wp--preset--color--thirdaccent, #415a77);
	box-shadow: 0 8px 24px rgba(65, 90, 119, 0.12);
}

.pf-cat-product-card .wc-block-components-product-image,
.pf-cat-product-card .wp-block-woocommerce-product-image {
	margin: 0 !important;
	aspect-ratio: 4 / 3;
	background: #f1f5f9;
	overflow: hidden;
}

.pf-cat-product-card .wc-block-components-product-image img,
.pf-cat-product-card .wp-block-woocommerce-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.pf-cat-product-card:hover .wc-block-components-product-image img,
.pf-cat-product-card:hover .wp-block-woocommerce-product-image img {
	transform: scale(1.04);
}

.pf-cat-product-card__title,
.pf-cat-product-card .wp-block-post-title {
	margin: 0 !important;
	padding: 14px 16px 6px;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	line-height: 1.4;
}

.pf-cat-product-card__title a,
.pf-cat-product-card .wp-block-post-title a {
	color: var(--wp--preset--color--accent, #1b263b);
	text-decoration: none;
}

.pf-cat-product-card__title a::after,
.pf-cat-product-card .wp-block-post-title a::after {
	content: "View details →";
	display: block;
	margin-top: 6px;
	margin-bottom: 14px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--thirdaccent, #415a77);
}

html[lang^="zh"] .pf-cat-product-card__title a::after,
html[lang^="zh"] .pf-cat-product-card .wp-block-post-title a::after,
body.pll-lang-zh .pf-cat-product-card__title a::after,
body.pll-lang-zh .pf-cat-product-card .wp-block-post-title a::after {
	content: "查看详情 →";
}

/* 目录模式：分类页不显示价格 */
.pf-product-cat-archive .wc-block-components-product-price,
.pf-product-cat-archive .wp-block-woocommerce-product-price {
	display: none !important;
}

.pf-cat-pagination {
	margin-top: 32px;
}

/* 隐藏排序 / 结果计数（商店 + 分类） */
.pf-product-cat-archive .wp-block-woocommerce-catalog-sorting,
.pf-product-cat-archive .woocommerce-ordering,
.pf-product-shop-archive .wp-block-woocommerce-catalog-sorting,
.pf-product-shop-archive .woocommerce-ordering,
.pf-product-cat-archive .wp-block-woocommerce-product-results-count,
.pf-product-cat-archive .woocommerce-result-count,
.pf-product-shop-archive .wp-block-woocommerce-product-results-count,
.pf-product-shop-archive .woocommerce-result-count {
	display: none !important;
}

/* ========== 产品详情页 ========== */
.pf-product-hero {
	min-height: 180px;
	padding: 48px 24px;
}

.pf-product-detail {
	padding-left: var(--wp--preset--spacing--40, 1.5rem);
	padding-right: var(--wp--preset--spacing--40, 1.5rem);
	padding-bottom: 64px;
}

.pf-product-detail__top {
	align-items: flex-start !important;
}

.pf-product-detail__gallery {
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	padding: 12px;
}

.pf-product-detail__gallery .woocommerce-product-gallery,
.pf-product-detail__gallery .wc-block-components-product-gallery {
	margin: 0 !important;
}

.pf-product-eyebrow {
	margin: 0 0 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--thirdaccent, #415a77);
}

.pf-product-eyebrow a {
	color: inherit;
	text-decoration: none;
}

.pf-product-eyebrow a:hover {
	text-decoration: underline;
}

.pf-product-detail__title,
.pf-product-detail__info .wp-block-post-title {
	margin: 0 0 16px !important;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
	font-weight: 700 !important;
	line-height: 1.3;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-product-detail__summary,
.pf-product-detail__info .wp-block-woocommerce-product-summary {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: #475569;
	margin-bottom: 24px;
}

.pf-product-inquiry {
	margin: 28px 0 0;
}

.pf-product-inquiry__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1b263b !important;
	background: var(--wp--preset--color--secaccent, #f0c419);
	border: 1px solid var(--wp--preset--color--secaccent, #f0c419);
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pf-product-inquiry__btn:hover {
	background: #1b263b;
	border-color: #1b263b;
	color: #fff !important;
}

.pf-product-detail__tabs {
	margin-top: 8px;
	padding-top: 32px;
	border-top: 1px solid #e2e8f0;
}

.pf-product-detail__tabs .wc-tabs,
.pf-product-detail__tabs .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 8px;
	border-bottom: 1px solid #e2e8f0;
	padding: 0;
	margin: 0 0 20px;
	list-style: none;
}

.pf-product-detail__tabs .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent !important;
}

.pf-product-detail__tabs .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 10px 16px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.pf-product-detail__tabs .woocommerce-tabs ul.tabs li.active a,
.pf-product-detail__tabs .woocommerce-tabs ul.tabs li a:hover {
	color: var(--wp--preset--color--accent, #1b263b);
	border-bottom-color: var(--wp--preset--color--secaccent, #f0c419);
}

.pf-product-related__heading {
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: var(--wp--preset--color--accent, #1b263b);
}

.pf-product-related .wc-block-product-template,
.pf-product-related ul.wc-block-product-template {
	gap: 16px !important;
}

.pf-product-related .pf-cat-product-card {
	max-width: 240px;
	margin: 0 auto;
}

.pf-product-related .pf-cat-product-card .wc-block-components-product-image,
.pf-product-related .pf-cat-product-card .wp-block-woocommerce-product-image {
	aspect-ratio: 16 / 10;
}

.pf-product-related .pf-cat-product-card__title,
.pf-product-related .pf-cat-product-card .wp-block-post-title {
	padding: 12px 12px 4px;
	font-size: 0.875rem !important;
}

.pf-product-related .pf-cat-product-card__title a::after,
.pf-product-related .pf-cat-product-card .wp-block-post-title a::after {
	margin-top: 4px;
	margin-bottom: 12px;
	font-size: 0.6875rem;
}

.pf-single-product .wc-block-components-product-price,
.pf-single-product .wp-block-woocommerce-product-price,
.pf-single-product .wc-block-components-product-rating,
.pf-single-product .wp-block-woocommerce-product-rating,
.pf-single-product .wp-block-woocommerce-add-to-cart-form,
.pf-single-product .single_add_to_cart_button {
	display: none !important;
}

/* --- 首页 About Us 热门产品 --- */
.about-us-col02 {
	display: flex;
	flex-direction: column;
}

.pf-about-hot-products {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pf-about-hot-products__label {
	margin: 0 0 12px;
	color: #fff;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.pf-about-hot-products__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.pf-about-hot-products__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	text-decoration: none !important;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pf-about-hot-products__item:hover,
.pf-about-hot-products__item:focus {
	transform: translateY(-2px);
	border-color: rgba(255, 183, 3, 0.55);
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.24);
}

.pf-about-hot-products__thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: linear-gradient(145deg, #dbe3ee, #94a3b8);
	overflow: hidden;
}

.pf-about-hot-products__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pf-about-hot-products__name {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.3em;
	padding: 0.55rem 0.45rem 0.65rem;
	text-align: center;
	color: #1b263b;
	font-family: var(--wp--preset--font-family--montserrat, Montserrat, sans-serif);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.35;
}

@media (max-width: 1200px) {

	.pf-about-hot-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {

	.pf-home-cats-section .pf-home-cat-grid,
	.pf-industry-section .pf-industry-grid {
		grid-template-columns: 1fr 1fr;
	}

	.pf-cat-archive__layout,
	.pf-product-detail__top {
		flex-direction: column !important;
	}

	.pf-cat-archive__sidebar {
		flex-basis: 100% !important;
		width: 100% !important;
	}

	.pf-about-hot-products {
		margin-top: 24px;
	}

	.pf-about-hot-products__label {
		text-align: center;
	}

	.pf-about-hot-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pf-product-related .pf-cat-product-card {
		max-width: none;
	}
}

@media (max-width: 480px) {

	.pf-home-cats-section .pf-home-cat-grid,
	.pf-industry-section .pf-industry-grid {
		grid-template-columns: 1fr;
	}

	.pf-cat-hero {
		min-height: 180px;
		padding: 40px 16px;
	}

	.pf-about-hot-products__grid {
		grid-template-columns: 1fr;
	}
}
