/* 页面标题区域 */
.yzg-page-header {
	background: linear-gradient(135deg, var(--yzg-primary-blue) 0%, var(--yzg-primary-blue-dark) 100%);
	background-size: cover;
	background-position: center;
	color: white;
	padding: 80px 0 60px;
	margin-top: 82px;
	text-align: center;
}

.yzg-page-header h1 {
	font-size: 2.8rem;
	margin-bottom: 25px;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.2;
	font-weight: bold;
}

.yzg-page-header p {
	font-size: 1.2rem;
	max-width: 700px;
	margin: 0 auto 30px;
	opacity: 0.9;
	color:white;
}

/* 面包屑导航 */
.yzg-breadcrumb {
	background-color: var(--yzg-light-bg);
	padding: 18px 0;
	border-bottom: 1px solid var(--yzg-border-color);
}

.yzg-breadcrumb ol {
	display: flex;
	list-style: none;
	align-items: center;
	flex-wrap: wrap;
}

.yzg-breadcrumb li {
	margin-right: 10px;
	font-size: 0.95rem;
}

.yzg-breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 10px;
	color: var(--yzg-text-light);
}

.yzg-breadcrumb a {
	color: var(--yzg-text-light);
	text-decoration: none;
	transition: var(--yzg-transition);
}

.yzg-breadcrumb a:hover {
	color: var(--yzg-primary-blue);
}

.yzg-breadcrumb .yzg-current {
	color: var(--yzg-secondary-color);
	font-weight: 600;
}

/* ===== 品牌展示网格 (微调：添加相对定位用于放置详情图标) ===== */
.yzg-product-brands {
	background-color: white;
	padding: 40px 0 20px;

	border-radius: 24px;
	box-shadow: var(--yzg-shadow-light);
}
.yzg-brands-title {
	text-align: center;
	margin-bottom: 30px;
}
.yzg-brands-title h2 {
	font-size: 2rem;
	color: var(--yzg-secondary-color);
	margin-bottom: 10px;
	font-weight: 600;
}
.yzg-brands-title p {
	color: var(--yzg-text-light);
	font-size: 1rem;
}
.yzg-brands-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 25px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.yzg-brand-item {
	position: relative;  /* 为详情图标定位 */
	background-color: white;
	width: 100%;
	height: 170px;       /* 原高度170px，保持 */
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--yzg-shadow-light);
	transition: var(--yzg-transition);
	border: 2px solid transparent; /* 用于高亮，不占用额外空间 */
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	cursor: pointer;      /* 指示可点击筛选 */
}
.yzg-brand-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--yzg-shadow-medium);
	border-color: var(--yzg-primary-blue);
}
/* 品牌选中高亮样式 */
.yzg-brand-item.selected {
	border-color: var(--yzg-secondary-orange);
	box-shadow: 0 8px 20px rgba(241,130,0,0.15);
}
.yzg-brand-logo-container {
	width: 100%;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	padding: 10px;
}
.yzg-brand-logo {
	max-width: 100%;
	max-height: 90px;
	object-fit: contain;
}
.yzg-brand-content {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: 1px solid var(--yzg-border-color);
	background-color: var(--yzg-light-bg);
	padding: 0 5px;
}
.yzg-brand-content h2 {
	font-size: 1rem;
	color: var(--yzg-secondary-color);
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}
/* 详情图标（保留品牌独立页跳转） */
.brand-detail-link {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	background-color: rgba(255,255,255,0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--yzg-primary-blue);
	font-size: 0.9rem;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	text-decoration: none;
	transition: 0.2s;
	z-index: 2;
	border: 1px solid #ddd;
}
.brand-detail-link:hover {
	background-color: var(--yzg-primary-blue);
	color: white;
	border-color: var(--yzg-primary-blue);
}

/* ===== 产品展示区域 (完全还原独立页样式) ===== */
.product-grid-wrapper {
	max-width: 1060px;  /* 与原独立页一致 */
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}
.puyon-independent {
	max-width: 1400px;
	margin: 20px auto 50px;
	padding: 0 20px;
}
.yzg-products-count {
	color: var(--yzg-text-light);
	font-size: 0.95rem;
	margin: 30px 0 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--yzg-border-color);
}
.yzg-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* 原为320px */
	gap: 25px;
}
.yzg-product-card {
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--yzg-shadow-light);
	transition: var(--yzg-transition);
	border: 1px solid var(--yzg-border-color);
	display: none;  /* 默认隐藏，通过JS加show显示 */
	flex-direction: column;
	height: 100%;
}
.yzg-product-card.show {
	display: flex;
}
.yzg-product-card:hover {
	transform: translateY(-10px);
	border-color: var(--yzg-primary-blue);
}
.yzg-product-header {
	background-color: var(--yzg-light-bg);
	padding: 25px 25px 15px;
	text-align: center;
	border-bottom: 1px solid var(--yzg-border-color);
	position: relative;
}
.yzg-product-brand {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: var(--yzg-primary-blue);
	color: white;
	font-size: 0.8rem;
	padding: 3px 10px;
	border-radius: 30px;
	font-weight: 500;
}
.yzg-product-img-container {
	width: 100%;
	height: 180px;        /* 还原180px */
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f9f9f9;
	margin-bottom: 15px;
}
.yzg-product-img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}
.yzg-product-name {
	color: var(--yzg-secondary-color);
	font-size: 1.4rem;
	margin-bottom: 5px;
	font-weight: 600;
}
.yzg-product-type {
	color: var(--yzg-text-light);
	font-size: 0.95rem;
}
.yzg-product-body {
	padding: 20px 25px;
	flex-grow: 1;
}
.yzg-product-features {
	list-style: none;
}
.yzg-product-features li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	font-size: 0.95rem;
}
.yzg-product-features i {
	color: var(--yzg-secondary-orange);
	margin-right: 10px;
	font-size: 0.9rem;
}
.yzg-product-footer {
	padding: 20px 25px;
	border-top: 1px solid var(--yzg-border-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.view-details {
	color: var(--yzg-primary-blue);
	text-decoration: none;
	font-weight: 500;
	transition: var(--yzg-transition);
	font-size: 0.95rem;
}
.view-details i {
	transition: transform 0.2s;
}
.view-details:hover {
	color: var(--yzg-secondary-orange);
}
.view-details:hover i {
	transform: translateX(4px);
}


/* ===== 分类栏 (filter-bar 完全复用独立页风格) ===== */
.filter-bar {
	background: white;
	border-radius: 28px;
	padding: 30px 25px;
	margin: 30px 0 20px;
	box-shadow: var(--yzg-shadow-light);
	border: 1px solid var(--yzg-border-color);
}
.filter-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px 20px;
	margin-bottom: 20px;
}
.filter-row:last-child {
	margin-bottom: 0;
}
.filter-btn {
	padding: 10px 30px;
	border: 1px solid #d0d0d0;
	background-color: #ffffff;
	color: var(--yzg-text-dark);
	font-size: 1rem;
	font-weight: 500;
	border-radius: 40px;
	cursor: pointer;
	transition: all 0.2s ease;
	min-width: 120px;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.filter-btn:hover {
	border-color: var(--yzg-primary-blue);
	color: var(--yzg-primary-blue);
	background-color: #f0f7ff;
}
.filter-btn.active {
	background-color: var(--yzg-primary-blue);
	border-color: var(--yzg-primary-blue);
	color: white;
}
.filter-btn.btn-all {
	background-color: var(--yzg-secondary-orange);
	border-color: var(--yzg-secondary-orange);
	color: white;
	font-weight: 600;
	box-shadow: 0 4px 10px rgba(241,130,0,0.2);
}
.filter-btn.btn-all:hover {
	background-color: var(--yzg-secondary-orange-dark);
	border-color: var(--yzg-secondary-orange-dark);
	transform: translateY(-2px);
}

/* 空状态提示 */
.no-products {
	text-align: center;
	padding: 50px;
	color: var(--yzg-text-light);
	grid-column: 1 / -1;
	font-size: 1.1rem;
}

/* ===== 分页控件样式 ===== */
.yzg-pagination-container {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid var(--yzg-border-color);
}

.yzg-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 20px 0;
}

.yzg-pagination-btn {
	padding: 8px 16px;
	background-color: white;
	border: 1px solid var(--yzg-border-color);
	border-radius: 4px;
	color: var(--yzg-text-dark);
	cursor: pointer;
	transition: var(--yzg-transition);
	font-size: 0.9rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 5px;
}

.yzg-pagination-btn:hover {
	background-color: var(--yzg-primary-blue);
	border-color: var(--yzg-primary-blue);
	color: white;
}

.yzg-pagination-btn:disabled {
	background-color: var(--yzg-light-bg);
	border-color: var(--yzg-border-color);
	color: var(--yzg-text-light);
	cursor: not-allowed;
}

.yzg-pagination-pages {
	display: flex;
	gap: 5px;
	margin: 0 10px;
}

.yzg-pagination-page {
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	background-color: white;
	border: 1px solid var(--yzg-border-color);
	border-radius: 4px;
	color: var(--yzg-text-dark);
	cursor: pointer;
	transition: var(--yzg-transition);
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.yzg-pagination-page:hover {
	background-color: var(--yzg-light-bg);
	border-color: var(--yzg-primary-blue);
}

.yzg-pagination-page.active {
	background-color: var(--yzg-primary-blue);
	border-color: var(--yzg-primary-blue);
	color: white;
}

.yzg-pagination-info {
	margin: 0 15px;
	color: var(--yzg-text-light);
	font-size: 0.9rem;
	white-space: nowrap;
}

.yzg-pagination-jump {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 20px;
	color: var(--yzg-text-light);
	font-size: 0.9rem;
}

.yzg-pagination-input {
	width: 60px;
	padding: 6px 8px;
	border: 1px solid var(--yzg-border-color);
	border-radius: 4px;
	text-align: center;
	font-size: 0.9rem;
}

.yzg-pagination-jump-btn {
	padding: 6px 12px;
	background-color: var(--yzg-primary-blue);
	border: 1px solid var(--yzg-primary-blue);
	border-radius: 4px;
	color: white;
	cursor: pointer;
	transition: var(--yzg-transition);
	font-size: 0.9rem;
}

.yzg-pagination-jump-btn:hover {
	background-color: var(--yzg-primary-blue-dark);
}

/* 响应式调整 - 仅包含页面标题部分 */
@media (max-width: 1200px) {
	.yzg-page-header h1 {
		font-size: 2.5rem;
	}
}

@media (max-width: 992px) {
	.yzg-page-header h1 {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.yzg-page-header {
		padding: 130px 0 60px;
	}
	.yzg-page-header h1 {
		font-size: 1.9rem;
	}
}

@media (max-width: 480px) {
	.yzg-page-header h1 {
		font-size: 1.7rem;
	}
}

@media (max-width: 768px) {
	.filter-btn { min-width: 90px; padding: 8px 18px; }
	.yzg-brands-container { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

	.yzg-pagination {
		flex-direction: column;
		gap: 15px;
	}
	.yzg-pagination-pages {
		order: 3;
		margin-top: 10px;
	}
	.yzg-pagination-info {
		order: 2;
		margin: 0;
	}
	.yzg-pagination-jump {
		order: 4;
		margin-left: 0;
		margin-top: 10px;
	}
	.yzg-pagination-btn {
		order: 1;
	}
}
@media (max-width: 480px) {
	.yzg-pagination-pages {
		flex-wrap: wrap;
		justify-content: center;
	}
	.yzg-pagination-page {
		min-width: 32px;
		height: 32px;
		font-size: 0.85rem;
	}
}