.pc-shop-wrapper {
	display: flex;
	align-items: flex-start;
	position: relative;
	padding: 0;
}

.pc-filter-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 15px;
}

.pc-filter-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	background: #000000;
	color: #ffffff;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: all 0.2s ease-out;
}

.pc-filter-toggle-btn:hover {
	background: transparent;
	color: #000000;
	border-color: #000000;
}

.pc-filter-toggle-btn.active {
	background: #1f323a;
}

.pc-filter-toggle-btn .pc-toggle-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	position: relative;
	flex-shrink: 0;
}

.pc-filter-toggle-btn .pc-toggle-icon::before,
.pc-filter-toggle-btn .pc-toggle-icon::after {
	content: '';
	position: absolute;
	background: currentColor;
	transition: transform 0.3s ease-out;
}

.pc-filter-toggle-btn .pc-toggle-icon::before {
	top: 4px;
	left: 2px;
	width: 14px;
	height: 2px;
	box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
}

.pc-filter-toggle-btn.active .pc-toggle-icon::before {
	transform: rotate(90deg);
}

.pc-filter-toggle-btn .pc-toggle-icon::after {
	display: none;
}

.pc-filter-toggle-btn .pc-active-count {
	background: #ffffff;
	color: #1f323a;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 10px;
	min-width: 20px;
	text-align: center;
	flex-shrink: 0;
}

.pc-filter-sort-wrap {
	flex-shrink: 0;
}

.pc-filter-sort-wrap .pc-sort-select {
	min-width: 200px;
	padding: 12px 16px;
	border: none;
	border-bottom: 1px solid #dcdcdc;
	border-radius: 0;
	font-size: 14px;
	color: #474747;
	background: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23000' d='M5 5L0 0h10L5 5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
	padding-right: 20px;
	transition: border-color 0.2s ease-out;
}

.pc-filter-sort-wrap .pc-sort-select:focus {
	border-color: #1f323a;
	outline: none;
}

.pc-filter-sort-wrap .pc-sort-select:hover {
	border-color: #1f323a;
}

/* 移动端：过滤控件并排不换行 */
@media only screen and (max-width: 880px) {
	.pc-filter-controls {
		flex-wrap: nowrap;
	}

	.pc-filter-toggle-btn {
		padding: 10px 14px;
		font-size: 12px;
		flex-shrink: 1;
	}

	.pc-filter-sort-wrap {
		flex-shrink: 1;
		min-width: 0;
	}

	.pc-filter-sort-wrap .pc-sort-select {
		min-width: 140px;
		padding: 10px 12px;
		font-size: 12px;
	}
}

.pc-sidebar-filters {
	width: 0;
	overflow: hidden;
	flex-shrink: 0;
	background: #ffffff;
	border: none;
	border-radius: 0;
	transition: width 0.3s ease;
	align-self: flex-start;
	box-shadow: none;
}

.pc-sidebar-filters.visible {
	width: 280px;
	margin-right: 30px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.pc-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: none;
	background: #fafafa;
}

.pc-sidebar-search-wrapper {
	padding: 0 24px 16px;
	background: #fafafa;
	border-bottom: 1px solid #f0f0f0;
}

.pc-search-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.pc-sidebar-search {
	width: 100%;
	padding: 10px 40px 10px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 14px;
	color: #474747;
	background: #ffffff;
	transition: border-color 0.2s ease-out;
	box-sizing: border-box;
	height: 36px;
	line-height: 16px;
}

.pc-sidebar-search:focus {
	outline: none;
	border-color: #1f323a;
}

.pc-sidebar-search::placeholder {
	color: #999999;
}

.pc-search-icon {
	position: absolute;
	right: 14px;
	top: 10px;
	color: #999999;
	pointer-events: none;
	cursor: pointer;
}

.pc-search-icon svg {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: baseline;
}

.pc-search-loading {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #1f323a;
}

.pc-loading-spinner {
	animation: pc-spin 1s linear infinite;
}

@keyframes pc-spin {
	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

.pc-search-loading svg {
	display: block;
}

.pc-sidebar-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.015em;
	color: #000000;
}

.pc-sidebar-close {
	display: none;
	width: 32px;
	height: 32px;
	background: transparent;
	border: 1px solid #dcdcdc;
	border-radius: 0;
	font-size: 18px;
	line-height: 1;
	color: #474747;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease-out;
}

.pc-sidebar-close:hover {
	background: #000000;
	border-color: #000000;
	color: #ffffff;
}

.pc-sidebar-body {
	padding: 0;
	max-height: calc(100vh - 220px);
	overflow-y: auto;
	background: #ffffff;
}

.pc-filter-section {
	border-bottom: 1px solid #f5f5f5;
}

.pc-filter-section:last-child {
	border-bottom: none;
}

.pc-filter-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease-out;
}

.pc-filter-section-header:hover {
	background: #fafafa;
}

.pc-filter-section-header h4 {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.pc-filter-section-header .pc-section-arrow {
	width: 14px;
	height: 14px;
	position: relative;
	transition: transform 0.25s ease-out;
}

.pc-filter-section-header .pc-section-arrow::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 8px;
	height: 8px;
	border-right: 2px solid #000000;
	border-bottom: 2px solid #000000;
	transform: rotate(45deg) translateY(-50%);
}

.pc-filter-section.collapsed .pc-section-arrow {
	transform: rotate(-90deg);
}

.pc-filter-section.collapsed .pc-filter-options {
	display: none;
}

.pc-filter-options {
	padding: 0 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pc-filter-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 0;
	cursor: pointer;
	font-size: 14px;
	color: #474747;
	transition: all 0.15s ease-out;
	border: none;
	background: transparent;
}

.pc-filter-option:hover {
	background: #f5f5f5;
	color: #000000;
}

.pc-filter-option.active {
	background: #f0f4f5;
	color: #1f323a;
	font-weight: 500;
}

.pc-filter-option .pc-option-check {
	width: 16px;
	height: 16px;
	border: 1px solid #dcdcdc;
	border-radius: 0;
	flex-shrink: 0;
	position: relative;
	transition: all 0.2s ease-out;
}

.pc-filter-option:hover .pc-option-check {
	border-color: #1f323a;
}

.pc-filter-option.active .pc-option-check {
	background: #1f323a;
	border-color: #1f323a;
}

.pc-filter-option.active .pc-option-check::after {
	content: '';
	position: absolute;
	top: 1px;
	left: 4px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg);
}

.pc-filter-option .pc-option-count {
	margin-left: auto;
	font-size: 11px;
	color: #999999;
	background: #f5f5f5;
	padding: 2px 7px;
	border-radius: 8px;
}

.pc-filter-option.active .pc-option-count {
	background: #1f323a;
	color: #ffffff;
}

.pc-sidebar-footer {
	padding: 20px 24px;
	border-top: 1px solid #f0f0f0;
	display: flex;
	gap: 12px;
	background: #fafafa;
}

.pc-btn {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #dcdcdc;
	border-radius: 0;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	text-align: center;
	transition: all 0.2s ease-out;
	background: #ffffff;
	color: #474747;
}

.pc-btn:hover {
	border-color: #000000;
	color: #000000;
}

.pc-shop-main {
	flex: 1;
	min-width: 0;
}

.pc-active-filters {
	padding: 15px 24px;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	background: #fafafa;
}

.pc-active-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #f0f4f5;
	border: 1px solid #1f323a;
	border-radius: 0;
	font-size: 12px;
	color: #1f323a;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.pc-active-tag .pc-tag-remove {
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	opacity: 0.6;
	transition: opacity 0.15s ease-out;
}

.pc-active-tag .pc-tag-remove:hover {
	opacity: 1;
}

.pc-no-results {
	text-align: center;
	padding: 60px 20px;
	color: #666666;
	font-size: 14px;
}

.pc-no-results p {
	margin-bottom: 20px;
}

.pc-no-results .pc-btn {
	display: inline-block;
	width: auto;
	min-width: 160px;
	padding: 12px 20px;
	background: #1f323a;
	color: #ffffff;
	border-color: #1f323a;
}

@media (max-width: 1200px) {
	.pc-sidebar-filters.visible {
		width: 260px;
		margin-right: 20px;
	}
}

@media (max-width: 1024px) {
	.pc-sidebar-filters {
		width: 0;
		margin-right: 0;
	}

	.pc-sidebar-filters.visible {
		width: 100%;
		margin-right: 0;
		box-shadow: none;
		border-bottom: 1px solid #f0f0f0;
	}

	.pc-sidebar-body {
		max-height: none;
	}
}

@media (max-width: 768px) {
	.pc-filter-controls {
		margin-bottom: 20px;
	}

	.pc-sidebar-filters {
		position: fixed;
		top: 0;
		left: -340px;
		width: 320px;
		height: 100vh;
		z-index: 10001;
		border-radius: 0;
		border: none;
		transition: left 0.3s ease;
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
		margin-right: 0;
	}

	.pc-sidebar-filters.open {
		left: 0;
	}

	.pc-sidebar-filters.visible {
		width: 320px;
		margin-right: 0;
		box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
		border-bottom: none;
	}

	.pc-sidebar-close {
		display: flex;
	}

	.pc-sidebar-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 10000;
	}

	.pc-sidebar-overlay.active {
		display: block;
	}
}