/* 产品筛选列表页 /products/filter/... — 仅 UI，不改数据逻辑 */

.page-products-filter {
	background: #fff;
	padding-bottom: clamp(32px, 5vw, 56px);
	margin-bottom: 0 !important;
}

/*
 * 宽度对齐：外层已是 `.layout-container .app-container`（1220 + 左右 padding），
 * 面包屑里再嵌套一层 `.app-container` 会多出一遍 padding，看起来「上面窄、下面宽」。
 * 筛选区内统一用满宽内容列，不再二次缩进。
 */
.page-products-filter .page-breadcrumb-nav .page-breadcrumb-strip .app-container {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.page-products-filter .content-container {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2vw, 22px);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.page-products-filter #app-filter {
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
}

.page-products-filter [v-cloak] {
	display: none !important;
}

.page-products-filter .filter-horizontal-wrap {
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

.page-products-filter .filter-horizontal-wrap .top-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.page-products-filter .filter-horizontal-wrap .filter-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.page-products-filter .filter-horizontal-wrap .filter-actions .el-button {
	margin: 0;
	min-width: 100px;
	padding: 8px 20px;
	font-size: 14px;
	border-radius: 4px;
	font-weight: 500;
}

.page-products-filter .filter-attrs-row {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 12px;
	gap: 12px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #c1c1c1 #f0f0f0;
}

.page-products-filter .filter-attrs-row::-webkit-scrollbar {
	height: 8px;
}

.page-products-filter .filter-attrs-row::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 4px;
}

.page-products-filter .filter-attrs-row::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 4px;
}

.page-products-filter .filter-horizontal-wrap .attrs-box.filter-attrs-row {
	overflow-y: visible;
}

.page-products-filter .filter-attr-column {
	width: 220px;
	flex-shrink: 0;
	margin: 0;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.page-products-filter .filter-horizontal-wrap .attrs-title {
	padding: 12px;
	font-size: 14px;
	cursor: pointer;
}

.page-products-filter .filter-horizontal-wrap .attrs-title b {
	font-weight: 600;
	color: #222;
}

.page-products-filter .filter-horizontal-wrap .attrs-item.active .attrs-title {
	border-bottom: 1px solid #e8e8e8;
}

.page-products-filter .filter-chevron {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #888;
	transition: transform 0.2s;
}

.page-products-filter .filter-chevron.is-open {
	transform: rotate(180deg);
}

.page-products-filter .filter-horizontal-wrap .attrs-all-box {
	max-height: 300px;
	padding: 0 10px 10px;
	border-top: 1px solid #e8e8e8;
	background: #fff;
	overflow-y: auto;
	scrollbar-width: thin;
}

.page-products-filter .filter-attr-column .el-checkbox-group,
.page-products-filter .filter-attr-column .virtual-scroll-container,
.page-products-filter .filter-attr-column .virtual-scroll-content {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	width: 100%;
}

.page-products-filter .filter-attr-column .el-checkbox {
	display: flex !important;
	align-items: center;
	min-width: 0;
	margin-right: 0 !important;
	width: 100%;
	box-sizing: border-box;
}

.page-products-filter .filter-attr-column .el-checkbox__label {
	color: #333;
	font-size: 13px;
	line-height: 1.45;
	padding-left: 8px;
	flex: 1 1 0;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.page-products-filter .filter-attr-column .el-checkbox__inner {
	width: 14px;
	height: 14px;
	border-radius: 2px;
}

.page-products-filter .filter-attr-column .el-checkbox__input.is-checked .el-checkbox__inner,
.page-products-filter .filter-attr-column .el-checkbox__input.is-indeterminate .el-checkbox__inner {
	background-color: var(--primary-color, #4066b8);
	border-color: var(--primary-color, #4066b8);
}

.page-products-filter .product-list-box {
	width: 100%;
	box-sizing: border-box;
}

.page-products-filter .filter-container .filter-actions .el-button--primary {
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(64, 102, 184, 0.25);
}

.page-products-filter .filter-container .filter-actions .el-button--warning {
	border-radius: 8px;
}

.page-products-filter .filter-page-list-panel {
	border-radius: 12px;
	box-shadow: 0 4px 28px rgba(15, 23, 42, 0.07);
	border: 1px solid rgba(0, 0, 0, 0.05);
	background: #fff;
	padding: clamp(18px, 2.5vw, 28px) !important;
}

.page-products-filter .filter-page-product-head {
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-bottom: clamp(16px, 2vw, 22px);
	padding-bottom: clamp(14px, 2vw, 18px);
	border-bottom: 1px solid #eef2f8;
}

.page-products-filter .filter-page-eyebrow {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8892a6;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.3;
}

.page-products-filter .filter-page-category-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 16px;
	line-height: 1.35;
}

.page-products-filter .filter-page-category-name {
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
}

.page-products-filter .filter-page-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #214c96;
	background: #fff;
	border: 1px solid rgba(64, 102, 184, 0.35);
	border-radius: 999px;
	line-height: 1.2;
}

.page-products-filter .filter-page-product-head .actions {
	display: flex;
	align-items: center;
}

.page-products-filter .filter-page-product-head .actions > div {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	padding: 8px 12px;
	background: #fff;
	border-radius: 10px;
	border: 1px solid #e8ecf4;
	font-size: 13px;
	color: #555;
}

.page-products-filter .filter-page-product-head .actions i {
	margin-left: 0 !important;
	padding: 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.page-products-filter .filter-page-product-head .actions i:hover {
	background-color: #f5f5f5;
}

.page-products-filter .filter-page-product-head .actions i.active {
	color: var(--primary-color, #4066b8) !important;
	background-color: transparent;
	box-shadow: inset 0 0 0 1px rgba(64, 102, 184, 0.35);
}

.page-products-filter .filter-page-pagination {
	margin-top: clamp(12px, 2vw, 20px);
	padding-top: 8px;
}

/* 表格区域：与卡片区统一顶部分隔已在 head 完成；表头略柔化 */
.page-products-filter .app-product-list table {
	border-radius: 8px;
	overflow: hidden;
}

@media (max-width: 991.98px) {
	.page-products-filter .filter-page-product-head {
		flex-direction: column;
		align-items: stretch;
	}

	.page-products-filter .filter-page-product-head .actions > div {
		justify-content: center;
	}

	.page-products-filter .filter-page-list-panel {
		padding: 16px !important;
	}

	.app-filter-container .app-product-list .view-tabel {
		display: none !important;
	}

	.app-filter-container .seemb11-filter-mobile-list {
		display: block !important;
	}

	.app-filter-container .seemb11-filter-mobile-view .view-card-list {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.app-filter-container .seemb11-filter-mobile-card {
		display: flex;
		align-items: flex-start;
		gap: 12px;
		width: 100%;
		padding: 14px 0;
		border-bottom: 1px solid #e8ecf4;
		box-sizing: border-box;
	}

	.app-filter-container .seemb11-filter-mobile-card:last-child {
		border-bottom: none;
	}

	.app-filter-container .seemb11-filter-mobile-card__thumb {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 72px;
		width: 72px;
		height: 72px;
		border: 1px solid #e8e8e8;
		border-radius: 8px;
		overflow: hidden;
		background: #fff;
		text-decoration: none;
	}

	.app-filter-container .seemb11-filter-mobile-card__thumb img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.app-filter-container .seemb11-filter-mobile-card__body {
		flex: 1 1 0;
		min-width: 0;
	}

	.app-filter-container .seemb11-filter-mobile-card__mpn {
		display: block;
		margin-bottom: 6px;
		color: var(--warning-color, #ff6221);
		font-size: 14px;
		font-weight: 700;
		line-height: 1.35;
		text-decoration: none;
		word-break: break-word;
	}

	.app-filter-container .seemb11-filter-mobile-card__maker,
	.app-filter-container .seemb11-filter-mobile-card__package,
	.app-filter-container .seemb11-filter-mobile-card__stock {
		margin-bottom: 4px;
		color: #666;
		font-size: 13px;
		line-height: 1.45;
		word-break: break-word;
	}

	.app-filter-container .seemb11-filter-mobile-card__package span,
	.app-filter-container .seemb11-filter-mobile-card__stock span {
		color: #999;
		margin-right: 4px;
	}

	.app-filter-container .seemb11-filter-mobile-card__price {
		margin-top: 6px;
		color: #333;
		font-size: 14px;
		font-weight: 600;
	}
}
