.productfeed-shell {
	--ui-border: rgba(15, 23, 42, 0.10);
	--ui-border-strong: rgba(15, 23, 42, 0.18);
	--ui-bg: linear-gradient(135deg, #f7f1e8 0%, #eef5f3 52%, #f9fbfc 100%);
	--ui-surface: rgba(255, 255, 255, 0.86);
	--ui-surface-strong: #ffffff;
	--ui-text: #16202a;
	--ui-muted: #5f6b76;
	--ui-accent: #1f5c4f;
	--ui-accent-soft: #e4f0ec;
	--ui-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.productfeed-shell .productfeed-toolbar {
	position: relative;
	overflow: visible;
	border: 1px solid var(--ui-border);
	background: var(--ui-bg);
	border-radius: 24px;
	padding: 18px 18px 24px;
	box-shadow: var(--ui-shadow);
	max-width: 885px;
	margin: 0 auto 22px;
}

.productfeed-shell .productfeed-toolbar::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		radial-gradient(circle at top right, rgba(31, 92, 79, 0.10), transparent 32%),
		radial-gradient(circle at bottom left, rgba(191, 138, 77, 0.10), transparent 28%);
	pointer-events: none;
}

.productfeed-shell .productfeed-toolbar-inner {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	align-items: stretch;
}

.productfeed-shell .productfeed-toolbar-toggle {
	display: none;
	width: 100%;
	border: 1px solid var(--ui-border-strong);
	background: rgba(255, 255, 255, 0.92);
	color: var(--ui-text);
	border-radius: 999px;
	padding: 12px 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	margin-bottom: 14px;
	box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.productfeed-shell .productfeed-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
	align-content: flex-start;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	background: var(--ui-surface);
	backdrop-filter: blur(12px);
	border-radius: 18px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.productfeed-shell .productfeed-sort {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 5px 15px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	background: var(--ui-surface);
	backdrop-filter: blur(12px);
	border-radius: 18px;
	min-height: 100%;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.productfeed-shell .productfeed-sort label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	font-weight: 700;
	width: 100%;
}

.productfeed-shell .productfeed-sort-select {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--ui-border-strong);
	background: linear-gradient(180deg, #ffffff, #f8fafb);
	color: var(--ui-text);
	padding: 10px 14px;
	border-radius: 12px;
	font-weight: 600;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.productfeed-shell .productfeed-sort-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ui-muted);
}

.productfeed-shell .productfeed-controls-label {
	width: 100%;
	text-align: left;
	font-weight: 700;
	margin-bottom: 6px;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ui-muted);
}

.productfeed-shell .productfeed-controls .filter-button,
.productfeed-shell .productfeed-more .show-more-products {
	border: 1px solid var(--ui-border-strong);
	background: linear-gradient(180deg, #ffffff, #f5f7f8);
	color: var(--ui-text);
	padding: 10px 15px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 600;
	transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.productfeed-shell .productfeed-controls .filter-button:hover,
.productfeed-shell .productfeed-more .show-more-products:hover,
.productfeed-shell .productfeed-toolbar-toggle:hover {
	transform: translateY(-1px);
	border-color: rgba(31, 92, 79, 0.30);
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.productfeed-shell .productfeed-controls .filter-button.is-active {
	background: linear-gradient(135deg, var(--ui-accent), #2c7a69);
	color: #fff;
	border-color: var(--ui-accent);
	box-shadow: 0 10px 22px rgba(31, 92, 79, 0.24);
}

.productfeed-shell .productfeed-more {
	margin-top: 18px;
	text-align: center;
}

.productfeed-shell .productfeed-empty-message {
	display: none;
	padding: 28px 18px 10px;
	text-align: center;
	color: var(--ui-muted);
	font-weight: 600;
}

.productfeed-shell .productfeed-more .show-more-products {
	padding-inline: 24px;
}

@media (max-width: 768px) {
	.productfeed-shell .productfeed-toolbar {
		padding: 12px;
		border-radius: 18px;
	}

	.productfeed-shell .productfeed-toolbar-toggle {
		display: block;
	}

	.productfeed-shell .productfeed-toolbar-inner {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.productfeed-shell .productfeed-toolbar.is-collapsed .productfeed-toolbar-inner {
		display: none;
	}

	.productfeed-shell .productfeed-toolbar.is-collapsed .productfeed-toolbar-toggle::after {
		content: " +";
	}

	.productfeed-shell .productfeed-toolbar:not(.is-collapsed) .productfeed-toolbar-toggle::after {
		content: " -";
	}

	.productfeed-shell .productfeed-controls,
	.productfeed-shell .productfeed-sort {
		padding: 14px;
		border-radius: 16px;
	}

	.productfeed-shell .productfeed-controls {
		justify-content: center;
	}

	.productfeed-shell .productfeed-controls-label,
	.productfeed-shell .productfeed-sort label {
		text-align: center;
		align-items: center;
	}

	.productfeed-shell .productfeed-sort-select {
		width: 100%;
	}
}
