.oneset-related-categories {
	clear: both;
	margin: 32px 0;
}

.oneset-related-categories__title {
	margin: 0 0 16px;
	font-size: 24px;
	line-height: 1.25;
}

.oneset-related-categories__grid {
	display: grid;
	grid-template-columns: repeat(var(--oneset-related-columns, 4), minmax(0, 1fr));
	gap: 14px;
}

.oneset-related-categories__item {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 12px;
	padding: 12px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.oneset-related-categories__item:hover,
.oneset-related-categories__item:focus {
	border-color: rgba(0, 0, 0, .22);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
	color: inherit;
	text-decoration: none;
	transform: translateY(-1px);
}

.oneset-related-categories__thumb {
	display: flex;
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 6px;
	background: #f4f5f6;
}

.oneset-related-categories__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oneset-related-categories__placeholder {
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: #5d666f;
}

.oneset-related-categories__name {
	min-width: 0;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
	.oneset-related-categories__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.oneset-related-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.oneset-related-categories__grid {
		grid-template-columns: 1fr;
	}
}
