/* „Inne produkty w tej kategorii” na stronie produktu – wygląd dawnego bloku Doofinder */
.cat-products {
	clear: both;
	width: 100%;
	margin: 40px 0 56px;
	font-family: var(--main, 'Montserrat'), 'Montserrat', sans-serif;
}
.cat-products__title {
	margin: 0 0 22px;
	padding: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-align: left;
	color: #1d1d1d;
}
.cat-products__carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}
.cat-products__track {
	--cp-cols: 5;
	--cp-gap: 8px;
	flex: 1;
	min-width: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--cp-cols) - 1) * var(--cp-gap)) / var(--cp-cols));
	gap: var(--cp-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 1px;
}
.cat-products__track::-webkit-scrollbar { display: none; }

.cat-products__card {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e3e3;
	padding: 20px 20px 18px;
	color: #2b2b2b;
	text-decoration: none;
	transition: box-shadow .15s, border-color .15s;
}
.cat-products__card:hover {
	border-color: #cfcfcf;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
	color: #2b2b2b;
}
.cat-products__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	margin-bottom: 18px;
	overflow: hidden;
}
.cat-products__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin: 0;
}
.cat-products__name {
	font-size: 12px;
	line-height: 1.35;
	font-weight: 400;
	color: #333;
	text-transform: none;
	letter-spacing: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cat-products__price {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 700;
	color: #1d1d1d;
}
.cat-products__price * { font-size: inherit !important; line-height: inherit !important; }
.cat-products__price del { font-weight: 400; color: #8a8a8a; margin-right: 4px; }
.cat-products__price ins { text-decoration: none; color: #c0392b; }

.cat-products__nav {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	color: #9a9a9a;
	cursor: pointer;
	box-shadow: none;
}
.cat-products__nav svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.cat-products__nav:hover { color: #333; }
.cat-products__nav.is-disabled { opacity: .3; pointer-events: none; }
.cat-products.is-static .cat-products__nav { visibility: hidden; }

@media (max-width: 1400px) { .cat-products__track { --cp-cols: 4; } }
@media (max-width: 1100px) { .cat-products__track { --cp-cols: 3; } }
@media (max-width: 760px) {
	.cat-products { margin: 28px 0 40px; }
	.cat-products__title { font-size: 16px; margin-bottom: 14px; }
	.cat-products__track { --cp-cols: 2.2; }
	.cat-products__nav { display: none; }
	.cat-products__card { padding: 12px 12px 14px; }
	.cat-products__img { margin-bottom: 12px; }
}
