/**
 * Product category filter — Finansowy Lis Articles
 */

#produkty {
	scroll-margin-top: 100px;
}

.fl-product-filter-wrap {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.fl-product-filter-wrap::-webkit-scrollbar {
	display: none;
}

.fl-product-filter {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px;
	background: #fdfdfd;
	border: 1px solid #cbd7e3;
	border-radius: 10px;
	max-width: none;
	white-space: nowrap;
	box-sizing: border-box;
}

.fl-product-filter__item {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: #5f7085;
	padding: 12px 20px;
	border-radius: 7px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	flex-shrink: 0;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.fl-product-filter__item:hover {
	color: #001020;
}

.fl-product-filter__item.is-active {
	background: #001020;
	color: #fdfdfd;
}

.fl-product-filter__item:focus-visible {
	outline: 2px solid #001020;
	outline-offset: 2px;
}

.fl-product-filter-empty {
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid #cbd7e3;
	border-radius: 8px;
	background: #f3f6fa;
	color: #5f7085;
	font-size: 14px;
	line-height: 1.5;
}

.fl-product-filter-empty[hidden] {
	display: none !important;
}

.fl-product-card--filtered-out,
.fl-products-grid .fl-product-card--filtered-out,
.fl-products-section .fl-product-card--filtered-out {
	display: none !important;
}

.fl-product-category-data[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.fl-product-filter {
		max-width: none;
	}

	.fl-product-filter__item {
		padding: 10px 16px;
		font-size: 13px;
	}
}
