/* Кастомные стили KVS-темы поверх style.css (вёрстка xfree).
   Здесь: пагинация, load-more, мелкие доводки. style.css вёрстки не трогаем. */

/* --- Load more --- */
.load-more {
	display: flex;
	justify-content: center;
	margin: 24px 0;
}
.load-more .x-button {
	min-width: 200px;
	justify-content: center;
	cursor: pointer;
}

/* --- Номерная пагинация --- */
.pagination {
	display: flex;
	justify-content: center;
	margin: 24px 0;
}
.pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.pagination li a,
.pagination li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border-radius: 18px;
	background: #f2f2f2;
	color: #262626;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s;
}
.pagination li a:hover {
	background: #e5e5e5;
}
.pagination li.page-current span {
	background: #7e1fe0;
	color: #fff;
}
.pagination li.disabled span {
	opacity: 0.4;
}
.pagination li.jump a {
	background: transparent;
}
[data-theme="dark"] .pagination li a,
[data-theme="dark"] .pagination li span {
	background: #2b2b2b;
	color: #ededed;
}
[data-theme="dark"] .pagination li a:hover {
	background: #3a3a3a;
}
[data-theme="dark"] .pagination li.page-current span {
	background: #7e1fe0;
	color: #fff;
}

/* --- Дропдаун сортировки: ссылки без подчёркивания --- */
.dropdown .text a {
	color: inherit;
	text-decoration: none;
	display: block;
}

/* --- Пустой список --- */
.empty-content {
	width: 100%;
	padding: 48px 0;
	text-align: center;
	color: #8b8b8b;
}

/* --- Страница 404 --- */
.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 48px 16px 40px;
	text-align: center;
}
.error-404__code {
	font-size: 96px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, #7e1fe0, #e91d62);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.error-404__title {
	font-size: 20px;
	font-weight: 600;
}
.error-404__text {
	max-width: 420px;
	color: #8b8b8b;
	font-size: 14px;
	line-height: 1.5;
}
.error-404 .x-button {
	margin-top: 8px;
	cursor: pointer;
}

/* --- SEO-текст под сеткой --- */
.page-content__data > p.text {
	margin: 24px 0 8px;
	color: #8b8b8b;
	font-size: 13px;
	line-height: 1.5;
}
