/* PriceList Module - Reference Style (загружается последним) */
/* Performance Optimized - v10.0 */

/* Prevent horizontal scroll globally when PriceList is active */
body:has(.pricelist-container) {
	overflow-x: hidden;
}

/* Переопределяем родительские ограничения для полной ширины таблицы */
/* Убираем max-width у .center */
.content-inner.center:has(.pricelist-container) {
	max-width: none;
	padding: 0;
}

/* Для старых браузеров без :has() - альтернативный вариант */
.content-inner.center .pricelist-container {
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	width: 100vw;
	max-width: 100vw;
	padding: 20px 30px;
	box-sizing: border-box;
	overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Переопределяем для column-center ONLY when pricelist is inside */
.content .column-center:has(.pricelist-container) {
	padding: 0;
	width: 100%;
}

.content .column-center .pricelist-container {
	margin: 0;
	padding: 20px 30px;
	width: 100%;
}

/* Таблица на всю ширину экрана */
.pricelist-table-wrapper {
	overflow-x: auto;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	contain: layout style paint; /* CSS Containment for better performance */
	max-width: 100%; /* Prevent table from overflowing */
}

/* Заголовок */
.pricelist-header {
	margin-bottom: 20px;
}

.pricelist-note {
	font-size: 14px;
	color: #666;
	font-style: italic;
	margin: 0 0 15px 0;
}

/* Контент - simple wrapper */
.pricelist-container .pricelist-content {
	width: 100%;
}

/* Main container - flexbox for filters and table */
.pricelist-main {
	display: flex;
	width: 100%;
	gap: 20px;
	align-items: flex-start;
	max-width: 100%;
	box-sizing: border-box;
}

/* Фильтры - fixed width 340px */
.pricelist-filters-wrapper {
	flex: 0 0 340px;
	width: 340px;
}

/* Таблица - занимает оставшееся место */
.pricelist-table-area {
	flex: 1;
	min-width: 0;
}

.pricelist-filters {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 0;
}

/* Фильтры в две колонки */
.pricelist-filters-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding: 20px 15px;
	border-bottom: 1px solid #e0e0e0;
}

.pricelist-filter-col {
	display: flex;
	flex-direction: column;
}

.pricelist-filter-group {
	border-bottom: 1px solid #e0e0e0;
	padding: 20px 15px;
}

.pricelist-filter-group:last-child {
	border-bottom: none;
}


.pricelist-filter-label {
	font-weight: 600;
	font-size: 14px;
	color: #333;
	margin-bottom: 12px;
	display: block;
}

.pricelist-filter-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Отключаем автоматическую стилизацию js-selectbox */
.pricelist-custom-styled input[type="checkbox"].-styled,
.pricelist-custom-styled input[type="radio"].-styled {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.pricelist-custom-styled input + label[for] {
	display: none;
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	visibility: hidden;
	pointer-events: none;
}

.pricelist-custom-styled input + label[for]:before,
.pricelist-custom-styled input + label[for]:after {
	display: none;
	content: none;
}

/* Овальные кнопки фильтров - как в референсе */
.pricelist-filter-option {
	position: relative;
	cursor: pointer;
	padding: 0;
	margin: 0;
	display: block;
}

.pricelist-filter-option input[type="radio"],
.pricelist-filter-option input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.pricelist-filter-option span {
	display: block;
	padding: 8px 16px;
	border: 2px solid #ddd;
	border-radius: 20px;
	font-size: 14px;
	text-align: center;
	transition: all 0.2s;
	user-select: none;
	background: #fff;
	color: #333;
}

.pricelist-filter-option:hover span {
	border-color: #999;
}

/* КРАСНЫЙ бордер для выбранных */
.pricelist-filter-option input[type="radio"]:checked + span,
.pricelist-filter-option input[type="checkbox"]:checked + span {
	background-color: #fff;
	border-color: #dc3545;
	border-width: 2px;
	color: #333;
	font-weight: 600;
}

/* Теги списком */
.pricelist-tags-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Теги - с вертикальным скроллом при необходимости */
.pricelist-filter-col .pricelist-tags-list {
	max-height: 490px;
	overflow-y: auto;
}

/* Кнопки фильтров - обновленный дизайн */
.pricelist-filter-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border-top: 1px solid #e0e0e0;
	background: #fafafa;
}

.pricelist-filter-actions .pricelist-btn {
	width: 100%;
}

/* Базовый стиль кнопок - В СТИЛЕ САЙТА (как "Быстрый подбор") */
.pricelist-btn {
	position: relative;
	display: inline-block;
	padding: 13px 36px;
	border: 2px solid #ca3537;
	border-radius: 14px;
	cursor: pointer;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: all 240ms ease-out;
	outline: none;
	overflow: hidden;
	background: #ffffff;
	color: #ca3537;
}

.pricelist-btn:hover {
	box-shadow: 0 5px 15px 0 rgba(97, 37, 37, 0.25), 0 2px 4px 0 rgba(148, 93, 93, 0.2), inset 0 6px 13px -3px rgba(121, 19, 20, 0.6);
	color: #fff;
	background: #ca3537;
	background-image: linear-gradient(0deg, #a92b2d 0%, #ca3537 100%);
}

.pricelist-btn:active {
	box-shadow: inset 0 5px 15px 0 #612525, inset 0 2px 4px 0 #59373733, inset 0 6px 13px -3px #791314f0;
	border-color: #59373733;
}

/* Маленькая кнопка (для "Заказать") */
.pricelist-btn-sm {
	padding: 10px 20px;
	font-size: 13px;
}


.pricelist-info {
	margin-bottom: 15px;
}

.pricelist-info p {
	margin: 0;
	font-size: 14px;
	color: #666;
}

.pricelist-info strong {
	color: #333;
	font-weight: 600;
}

.pricelist-table {
	width: 100%;
	min-width: 700px; /* Minimum width for proper display */
	border-collapse: collapse;
	background: white;
	table-layout: fixed; /* Fixed layout for faster rendering */
}

.pricelist-table thead {
	background-color: #f9f9f9;
	border-bottom: 2px solid #e0e0e0;
}

.pricelist-table th {
	padding: 15px 6px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
	color: #333;
	border-bottom: 2px solid #e0e0e0;
}

/* Колонка фото - фиксированная ширина по размеру изображения + паддинги */
.pricelist-th-photo {
	width: 92px; /* 80px фото + 12px паддинги */
	min-width: 92px;
	max-width: 92px;
}

.pricelist-th-name {
	width: 25%;
}

.pricelist-th-genre {
	width: 45%;
}

.pricelist-th-price {
	width: 20%;
	text-align: right;
	white-space: nowrap;
}

.pricelist-artist-row {
	border-bottom: 1px solid #f0f0f0;
	transition: background-color 0.2s;
}

.pricelist-artist-row:hover {
	background-color: #fafafa;
}

.pricelist-artist-row:last-child {
	border-bottom: none;
}

.pricelist-table td {
	padding: 15px 12px;
	vertical-align: middle;
	font-size: 14px;
	color: #333;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Ячейка с фото - flex для центрирования */
.pricelist-table td:first-child {
	text-align: center;
}

.pricelist-table td:last-child {
	text-align: right;
	white-space: nowrap;
}

/* Изображения артистов - СТРОГО квадратные */
.pricelist-artist-image {
	width: 80px;
	height: 80px;
	max-width: 80px;
	max-height: 80px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
	margin: 0 auto;
	flex-shrink: 0;
}

.pricelist-no-image {
	width: 80px;
	height: 80px;
	max-width: 80px;
	max-height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
	border-radius: 4px;
	color: #999;
	font-size: 11px;
	text-align: center;
	line-height: 1.2;
	margin: 0 auto;
	flex-shrink: 0;
}

/* Имена артистов - ссылки */
.pricelist-artist-link {
	color: #333;
	text-decoration: none;
	transition: color 0.2s;
	display: inline-block;
}

.pricelist-artist-link:hover {
	color: #0085f2;
	text-decoration: none;
}

.pricelist-artist-link strong {
	font-weight: 600;
	font-size: 17px;
}

.pricelist-table td strong {
	font-weight: 600;
	color: #333;
	font-size: 15px;
}

/* Цены */
.pricelist-table td:last-child strong {
	font-weight: 600;
	color: #333;
	white-space: nowrap;
}

/* Двухстрочный гонорар - по умолчанию скрыт перенос */
.price-text br {
	display: none;
}

/* Жанры - по умолчанию показываем все */
.genre-full {
	display: inline;
}

.genre-mobile {
	display: none;
}

/* Пустое состояние */
.pricelist-empty {
	text-align: center;
	padding: 40px 20px;
	color: #999;
}

.pricelist-empty p {
	margin: 5px 0;
	font-size: 14px;
}

/* Пагинация */
.pricelist-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.pricelist-pagination-info {
	padding: 8px 14px;
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

/* Адаптивность */
@media (max-width: 992px) {
	/* На планшетах - фильтры сверху */
	.pricelist-main {
		flex-direction: column;
		gap: 15px;
	}
	
	.pricelist-filters-wrapper {
		flex: none;
		width: 100%;
		max-width: 100%;
		margin-bottom: 15px;
		box-sizing: border-box;
	}
	
	.pricelist-table-area {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	/* Колонки таблицы */
	.pricelist-th-photo {
		width: 82px; /* 70px фото + 12px паддинги */
		min-width: 82px;
		max-width: 82px;
	}
	
	.pricelist-table td:nth-child(2) {
		width: 82px;
		min-width: 82px;
		max-width: 82px;
	}
	
	.pricelist-th-name {
		width: 28%;
	}
	
	.pricelist-th-genre {
		width: 40%;
	}
	
	.pricelist-th-price {
		width: 20%;
	}
	
	.pricelist-artist-image,
	.pricelist-no-image {
		width: 70px;
		height: 70px;
		max-width: 70px;
		max-height: 70px;
	}
}

@media (max-width: 768px) {
	/* Контейнер строго 100% без выхода за края */
	.content-inner.center .pricelist-container {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
	}
	
	.pricelist-table-wrapper {
		overflow-x: auto;
		max-width: 100%;
	}

	.pricelist-artist-image,
	.pricelist-no-image {
		width: 80px;
		height: 80px;
		max-width: 80px;
		max-height: 80px;
	}
	
	/* В мобильной - только первый жанр */
	.genre-full {
		display: none;
	}
	
	.genre-mobile {
		display: inline;
	}

	.pricelist-table {
		font-size: 12px;
		table-layout: fixed;
		width: 100%;
	}

	.pricelist-table th,
	.pricelist-table td {
		padding: 8px 4px;
		word-break: break-word;
	}
	
	/* Колонки для планшетов */
	.pricelist-th-photo {
		width: 92px;
		min-width: 92px;
		max-width: 92px;
	}
	
	.pricelist-table td:nth-child(2) {
		width: 92px;
		min-width: 92px;
		max-width: 92px;
	}
	
	.pricelist-th-name {
		width: 28%;
	}
	
	.pricelist-th-genre {
		width: 15%;
	}
	
	.pricelist-th-price {
		width: auto;
		font-size: 12px;
	}

	.pricelist-filter-label {
		font-size: 13px;
	}

	.pricelist-filter-option span {
		font-size: 13px;
		padding: 6px 12px;
	}
	
	.pricelist-artist-link strong {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	/* Контейнер строго 100% без выхода за края */
	.content-inner.center .pricelist-container {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		padding: 8px 5px;
		box-sizing: border-box;
	}
	
	.pricelist-table-wrapper {
		overflow-x: auto; /* Горизонтальный скролл если что */
		max-width: 100%;
	}

	/* Увеличиваем фото до 60x60 */
	.pricelist-artist-image,
	.pricelist-no-image {
		width: 60px;
		height: 60px;
		max-width: 60px;
		max-height: 60px;
	}

	/* Таблица точно по ширине экрана */
	.pricelist-table {
		font-size: 10px;
		table-layout: fixed;
		width: 100%;
		min-width: 0; /* Убираем min-width */
	}

	/* Минимальные паддинги */
	.pricelist-table th,
	.pricelist-table td {
		padding: 4px 2px;
		word-break: break-word;
		overflow-wrap: break-word;
		font-size: 10px;
		padding-left: 10px;
	}
	
	/* Колонка чекбокса - минимум */
	.pricelist-th-checkbox,
	.pricelist-td-checkbox {
		width: 35px;
		padding: 2px;
	}
	
	/* Колонка фото - фиксированная, 72px */
	.pricelist-th-photo {
		width: 72px; /* 60px фото + 12px паддинги */
		min-width: 72px;
		max-width: 72px;
		padding: 6px;
	}
	
	.pricelist-table td:nth-child(2) {
		width: 72px;
		min-width: 72px;
		max-width: 72px;
		padding: 6px;
	}
	
	/* Имя - гибкая, но ограниченная */
	.pricelist-th-name {
		width: 30%;
		min-width: 60px;
	}
	
	/* Жанр - оставляем видимым в мобильной версии */
	
	/* Цена - расширяем, т.к. включает кнопку */
	.pricelist-th-price {
		width: auto; /* Занимает оставшееся место */
		font-size: 10px;
		padding: 4px 2px;
	}
	
	/* Показываем перенос строки в цене */
	.price-text br {
		display: block;
	}
	
	.pricelist-table td:last-child strong {
		line-height: 1.2;
		white-space: normal;
		font-size: 11px;
	}

	.pricelist-filter-option span {
		padding: 5px 8px;
		font-size: 11px;
	}
	
	.pricelist-artist-link strong {
		font-size: 12px;
	}
	
	/* Текст чекбокса скрываем */
	.pricelist-checkbox-text {
		display: none;
	}
}

/* Чекбоксы для выбора артистов */
.pricelist-th-checkbox {
	width: 150px;
	text-align: center;
}

.pricelist-td-checkbox {
	text-align: center;
	width: 150px;
}

/* Лейбл чекбокса в таблице - ЕДИНЫЙ стиль */
.pricelist-checkbox-label {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 4px;
	transition: background-color 0.2s;
}

.pricelist-checkbox-label:hover {
	background-color: #f5f5f5;
}

/* Чекбоксы артистов - ЕДИНЫЙ стиль */
.pricelist-artist-checkbox {
	margin: 0;
	cursor: pointer;
	width: 18px;
	height: 18px;
	flex-shrink: 0; /* Prevent checkbox from shrinking */
}

/* Коррекция позиции псевдоэлемента для чекбоксов (отмеченных и неотмеченных) */
.pricelist-container [type="checkbox"] + label:before,
.pricelist-table [type="checkbox"] + label:before {
	top: -12px;
}

/* Текст рядом с чекбоксом */
.pricelist-checkbox-text {
	font-size: 12px;
	color: #666;
	user-select: none;
	line-height: 18px; /* Match checkbox height for alignment */
}

/* Чекбокс "Выбрать все" */
.pricelist-select-all {
	cursor: pointer;
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

/* Fallback: показываем нативный чекбокс если стили не применились */
.pricelist-select-all:not(.-styled) {
	display: inline-block;
	opacity: 1;
	position: static;
	appearance: checkbox;
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
}

/* Кнопки действий */
/* Панель с кнопками действий */
.pricelist-actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 4%; 
	margin-bottom: 20px;
	padding: 22px 46px;
	width: 588px;
	height: 98px;
	box-sizing: border-box;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-radius: 8px;
	border: 1px solid #e9ecef;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Кнопки внутри блока действий */
.pricelist-actions .pricelist-btn {
	width: 248px;
	height: 54px;
	padding: 0;
    border-color: #dc3545;
	border-radius: 14px;
	font-size: 22px;
	font-weight: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pricelist-th-actions {
	width: 150px;
	text-align: center;
}

.pricelist-td-actions {
	text-align: center;
	width: 150px;
}

.pricelist-btn-price {
	padding: 6px 12px;
	font-size: 12px;
}

/* Мобильный чекбокс-слайдер - скрыт на десктопе */
.pricelist-mobile-checkbox-slider {
	display: none;
}

/* Скрываем label, создаваемые системой стилизации для мобильных чекбоксов */
.pricelist-mobile-checkbox-slider label[for^="input-id-"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Pop-up форма для заявки */
.pricelist-request-dialog .splash-inner {
	max-width: 600px;
	width: 90%;
	padding: 0;
}

/* Hide specific fields when form is opened from PriceList */
.pricelist-form-mode .budget-range-field {
	display: none !important;
}

.pricelist-form-mode .field .categories {
	display: none !important;
}

.pricelist-form-mode .field:has(.categories) {
	display: none !important;
}

.pricelist-form-mode .tags-field {
	display: none !important;
}

.pricelist-request-popup {
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	position: relative;
}

.pricelist-request-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
	z-index: 10;
}

.pricelist-request-close:hover {
	color: #333;
}

.pricelist-request-close:focus {
	outline: none;
	color: #333;
}

.pricelist-request-popup h3 {
	margin: 0 0 10px 0;
	font-size: 20px;
	font-weight: 600;
	color: #333;
}

.pricelist-request-note {
	margin: 0 0 20px 0;
	font-size: 14px;
	color: #666;
}

.pricelist-form-field-wrapper {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.pricelist-form-field {
	margin-bottom: 15px;
	flex: 1;
}

.pricelist-form-field:last-child {
	margin-bottom: 0;
}

.pricelist-form-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.pricelist-form-label i {
	color: #dc3545;
}

.pricelist-form-field input[type="text"],
.pricelist-form-field input[type="email"],
.pricelist-form-field select,
.pricelist-form-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.pricelist-form-field input[type="text"]:focus,
.pricelist-form-field input[type="email"]:focus,
.pricelist-form-field select:focus,
.pricelist-form-field textarea:focus {
	outline: none;
	border-color: #0085f2;
}

.pricelist-form-field textarea {
	resize: vertical;
	min-height: 80px;
}

.pricelist-form-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.pricelist-form-actions .pricelist-btn {
	flex: 1;
}

/* Адаптивность для pop-up */
@media (max-width: 768px) {
	.pricelist-form-field-wrapper {
		flex-direction: column;
		gap: 0;
	}
	
	.pricelist-request-popup {
		padding: 20px;
	}
	
	.pricelist-form-actions {
		flex-direction: column;
	}
	
	.pricelist-form-actions .pricelist-btn {
		width: 100%;
	}
}

/* Адаптивность для чекбоксов */
@media (max-width: 768px) {
	.pricelist-th-checkbox,
	.pricelist-td-checkbox {
		width: 80px;
	}
	
	.pricelist-checkbox-text {
		display: none;
	}
	
	.pricelist-th-actions,
	.pricelist-td-actions {
		width: 100px;
	}
	
	.pricelist-btn-price {
		padding: 4px 8px;
		font-size: 11px;
	}
	
	/* Адаптивность для блока действий */
	.pricelist-actions {
		position: sticky;
		top: 0;
		z-index: 100;
		width: 100%;
		max-width: 100%;
		height: auto;
		padding: 15px;
		background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}
	
	.pricelist-actions .pricelist-btn {
		width: 100%;
		max-width: 100%;
		height: 54px;
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	/* Первая колонка (чекбоксы) удаляется через JavaScript, CSS не нужен */
	
	/* Скрываем заголовок колонки "Действия" - объединяем с ценой */
	.pricelist-th-actions {
		display: none;
	}
	
	/* Колонка цены расширяется и включает действия */
	.pricelist-th-price {
		width: 30%;
		font-size: 11px;
		text-align: center;
	}
	
	/* Ячейка с ценой теперь вертикальная: цена + кнопка */
	.pricelist-td-actions {
		display: none; /* Скрываем отдельную ячейку с кнопкой */
	}
	
	/* Перестраиваем ячейку цены в вертикальную компоновку */
	/* JavaScript добавит класс pricelist-td-price-mobile к ячейке с ценой */
	.pricelist-table tbody tr td.pricelist-td-price-mobile {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
		padding: 8px 4px;
	}
	
	/* Скрываем кнопку "Заказать" в мобильной версии */
	.pricelist-table tbody tr td .pricelist-btn-price,
	.pricelist-td-actions .pricelist-btn-price {
		display: none !important;
	}
	
	/* Показываем чекбокс-слайдер в ячейке цены для мобильной версии */
	.pricelist-table tbody tr td .pricelist-mobile-checkbox-slider {
		display: block;
		width: 100%;
		max-width: 100px;
		margin: 0 auto;
	}
	
	.pricelist-actions {
		position: sticky;
		top: 60px;
		z-index: 100;
		flex-direction: row;
		width: 100%;
		max-width: 100%;
		height: auto;
		padding: 15px;
		background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}
	
	.pricelist-actions .pricelist-btn {
        width: 154px;
        max-width: 100%;
        height: 44px;
        font-size: 16px;
	}
	
	/* Показываем чекбокс-слайдер в мобильной версии */
	.pricelist-mobile-checkbox-slider {
		display: block !important;
		width: 100%;
		max-width: 100px;
		margin: 0 auto;
		cursor: pointer;
	}
	
	/* Контейнер слайдера - красный фон */
	.pricelist-slider-container {
		position: relative;
		display: block;
		width: 75px;
		height: 28px;
		background-color: #ca3537;
		border-radius: 9px;
		overflow: hidden;
		transition: all 0.3s ease;
		margin:auto;
	}
	
	/* Кнопка "Заказать" - 3/4 ширины контейнера */
	.pricelist-slider-button {
		position: absolute;
		top: 0;
		left: 0;
		width: 75%;
		height: 100%;
		background-color: #ffffff;
		border: 1px solid #ca3537;
		border-radius: 9px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 10px;
		font-weight: 500;
		color: #ca3537;
		transition: all 0.3s ease;
		box-sizing: border-box;
		z-index: 2;
	}
	
	/* Скрываем нативный чекбокс */
	.pricelist-mobile-artist-checkbox {
		position: absolute;
		opacity: 0;
		width: 0;
		height: 0;
		pointer-events: none;
	}
	
	/* Скрываем label, создаваемые системой стилизации */
	.pricelist-mobile-checkbox-slider label[for^="input-id-"] {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		position: absolute !important;
		width: 0 !important;
		height: 0 !important;
		pointer-events: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	/* Отмеченное состояние - кнопка справа */
	.pricelist-mobile-checkbox-slider input:checked ~ .pricelist-slider-container .pricelist-slider-button {
		left: auto;
		right: 0;
	}
}

/* ========================================== */
/* AJAX Loading Styles - Performance Optimized */
/* ========================================== */

/* Loading overlay with GPU acceleration */
.pricelist-table-wrapper {
	position: relative;
	will-change: opacity;
	transition: opacity 0.2s ease;
}

.pricelist-table-wrapper.pricelist-loading::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.85);
	z-index: 100;
	backdrop-filter: blur(2px);
	animation: fadeIn 0.2s ease;
}

/* Spinner - optimized for performance */
.pricelist-table-wrapper.pricelist-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	margin: -25px 0 0 -25px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #0085f2;
	border-radius: 50%;
	z-index: 101;
	animation: spin 0.8s linear infinite;
	will-change: transform;
}

/* Smooth fade animation */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Optimized spinner rotation using transform */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Disable pointer events during loading */
.pricelist-table-wrapper.pricelist-loading {
	pointer-events: none;
	user-select: none;
}

/* Filter disabled state during loading */
.pricelist-filters input[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Smooth transitions for table updates */
.pricelist-table tbody {
	transition: opacity 0.15s ease;
}

/* Pagination smooth state */
.pricelist-pagination {
	transition: opacity 0.2s ease;
}

/* Performance: Use transform instead of position changes */
.pricelist-artist-row {
	transform: translateZ(0);
	will-change: transform;
}

/* Optimize image rendering */
.pricelist-artist-image {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	will-change: transform;
	backface-visibility: hidden;
}

/* Reduce repaints on hover */
.pricelist-btn,
.pricelist-artist-link {
	will-change: background-color, color;
}

/* Mobile optimization */
@media (max-width: 768px) {
	.pricelist-table-wrapper.pricelist-loading::after {
		width: 40px;
		height: 40px;
		margin: -20px 0 0 -20px;
		border-width: 3px;
	}
}
.pricelist-th-checkbox label::before {
    MARGIN: 5px 15px;
}