.nx-shop-cats {
	background: #e3ebfb;
	border-radius: 5px;
	padding: 5px;
}

.nx-shop-cats__head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.nx-shop-cats__title {
	color: #193b7f;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.nx-shop-cats__slider-shell {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 34px minmax(0, 1fr) 34px;
}

.nx-shop-cats__slider-shell.has-fixed-shop-card {
	grid-template-columns: 34px 140px minmax(0, 1fr) 34px;
}

.nx-shop-cats__slider {
	cursor: grab;
	display: flex;
	gap: 5px;
	overflow-x: auto;
	padding: 2px 0;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	user-select: none;
}

.nx-shop-cats__slider::-webkit-scrollbar {
	display: none;
}

.nx-shop-cats__slider.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
}

.nx-shop-cats__nav {
	align-items: center;
	background: #f8fbff;
	border: 1px solid #dbe7fb;
	border-radius: 5px;
	color: #205edf;
	cursor: pointer;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	padding: 0;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
	width: 16px;
}

.nx-shop-cats__nav:hover:not(:disabled) {
	background: #205edf;
	color: #ffffff;
	transform: translateY(-1px);
}

.nx-shop-cats__nav:disabled {
	cursor: default;
	opacity: 0.45;
}

.nx-shop-cats__item {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e6eefb;
	border-radius: 5px;
	box-shadow: 0 14px 28px rgba(29, 76, 168, 0.06);
	color: #173b80;
	display: flex;
	flex: 0 0 calc((100% - 50px) / 6);
	flex-direction: column;
	gap: 5px;
	min-width: 140px;
	padding: 5px;
	scroll-snap-align: start;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nx-shop-cats__item--shop {
	flex: none;
	height: 100%;
	min-width: 140px;
}

.nx-shop-cats__item:hover {
	border-color: #cfe0ff;
	box-shadow: 0 18px 30px rgba(29, 76, 168, 0.12);
	transform: translateY(-3px);
}

.nx-shop-cats__thumb {
	align-items: center;
	background: #f7faff;
	border-radius: 5px;
	display: flex;
	height: 79px;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}

.nx-shop-cats__thumb--shop {
	background: linear-gradient(135deg, #eef4ff 0%, #dbe9ff 100%);
	color: #205edf;
	padding: 18px;
}

.nx-shop-cats__thumb--shop svg {
	display: block;
	height: 58px;
	max-width: 58px;
	width: 58px;
}

.nx-shop-cats__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.nx-shop-cats__name {
	color: #193b7f;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.nx-shop-cats__count {
	color: #6e7f9d;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
}

@media (max-width: 1100px) {
	.nx-shop-cats__item {
		flex-basis: calc((100% - 30px) / 4);
	}
}

@media (max-width: 849px) {
	.nx-shop-cats__slider-shell {
		grid-template-columns: 28px minmax(0, 1fr) 28px;
	}

	.nx-shop-cats__slider-shell.has-fixed-shop-card {
		grid-template-columns: 28px 122px minmax(0, 1fr) 28px;
	}

	.nx-shop-cats__nav {
		height: 28px;
		width: 28px;
	}

	.nx-shop-cats__item {
		flex-basis: calc((100% - 20px) / 3);
		min-width: 122px;
	}
}

@media (max-width: 549px) {
	.nx-shop-cats__item {
		flex-basis: calc((100% - 10px) / 2);
	}

	.nx-shop-cats__slider-shell.has-fixed-shop-card {
		grid-template-columns: 28px 110px minmax(0, 1fr) 28px;
	}

	.nx-shop-cats__item--shop {
		min-width: 110px;
	}

	.nx-shop-cats__thumb--shop {
		padding: 14px;
	}

	.nx-shop-cats__thumb--shop svg {
		height: 46px;
		max-width: 46px;
		width: 46px;
	}
}
