.vasilich-table {
	font-family: var(--e-global-typography-text-font-family, inherit);
	color: var(--e-global-color-text, inherit);
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	background: var(--e-global-color-background, #faf4ee);
	box-sizing: border-box;
	overflow-x: hidden;
}

.vasilich-table__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	row-gap: 32px;
	/* Отступы управляются через настройки Elementor */
	width: 100%;
	box-sizing: border-box;
}

.vasilich-table__header {
	display: grid;
	gap: 16px;
	text-align: center;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.vasilich-table__body {
	display: grid;
	gap: 20px;
}

.vasilich-table__category-tabs-wrapper {
	display: flex;
	justify-content: center;
	background: #f7efe7;
	border-radius: 24px;
	padding: 16px;
	width: 100%;
	position: relative;
	box-shadow: none;
}

.vasilich-table__category-tabs-wrapper--layout-tabs {
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.vasilich-table__title {
	margin: 0;
	text-align: center;
	font-weight: var(--e-global-typography-primary-font-weight, 700);
	font-size: var(--e-global-typography-primary-font-size, 48px);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	color: var(--e-global-color-primary, #563021);
}

.vasilich-table__description {
	margin: 0 auto;
	max-width: 640px;
	text-align: center;
	color: var(--e-global-color-text, rgba(0, 0, 0, 0.65));
	font-size: var(--e-global-typography-text-font-size, 18px);
	font-family: var(--e-global-typography-text-font-family, inherit);
	line-height: var(--e-global-typography-text-line-height, 1.6);
}

.vasilich-table__search {
	display: flex;
	justify-content: center;
	width: 100%;
}

.vasilich-table__search-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
	border-radius: 999px;
	padding: 0 24px;
	min-height: 58px;
	box-shadow: none;
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
	border: none;
}

.vasilich-table__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--e-global-color-text, rgba(111, 58, 30, 0.4));
	font-size: var(--e-global-typography-text-font-size, 18px);
}

.vasilich-table__search-input {
	width: 100%;
	max-width: 100%;
	border: none;
	background: transparent;
	outline: none;
	font-size: var(--e-global-typography-text-font-size, 17px);
	font-family: var(--e-global-typography-text-font-family, inherit);
	flex: 1;
	color: var(--e-global-color-text, #4d2a1a);
}

.vasilich-table input[type="search"] {
	border: none !important;
	box-shadow: none !important;
	background: transparent;
}

.vasilich-table__search-input::placeholder {
	color: rgba(77, 42, 26, 0.45);
}

.vasilich-table__filters {
	display: grid;
	row-gap: 20px;
	justify-items: center;
}

.vasilich-table__filters > * {
	width: 100%;
}

.vasilich-table__search,
.vasilich-table__client-filters {
	width: 100%;
}

.vasilich-table__category-tabs {
	width: 100%;
	overflow-x: auto;
	padding: 0;
	scrollbar-width: thin;
	background: transparent;
}

.vasilich-table__category-tabs--layout-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.vasilich-table__category-tabs--layout-tabs {
	display: flex;
	gap: 24px;
	border-bottom: 2px solid rgba(111, 58, 30, 0.14);
}

.vasilich-table__category-tabs--align-left {
	justify-content: flex-start;
}

.vasilich-table__category-tabs--align-center {
	justify-content: center;
}

.vasilich-table__category-tabs--align-right {
	justify-content: flex-end;
}

/* Responsive alignment будет применяться через inline styles от Elementor */

.vasilich-table__category-tab {
	display: inline-flex;
	align-items: center;
	gap: var(--e-global-spacing-xs, 8px);
	padding: var(--e-global-spacing-sm, 12px) var(--e-global-spacing-md, 24px);
	border: 1px solid transparent;
	border-radius: var(--e-global-border-radius, 16px);
	/* Фон и цвет управляются через настройки Elementor */
	background: var(--e-global-color-background, rgba(255, 255, 255, 0.8));
	color: var(--e-global-color-primary, #6f3a1e);
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	box-shadow: none;
	text-decoration: none !important;
	width: auto;
	min-width: fit-content;
	flex-shrink: 0;
}

.vasilich-table__category-tab:hover,
.vasilich-table__category-tab:focus {
	/* Фон и цвет при наведении управляются через настройки Elementor */
	text-decoration: none !important;
}

.vasilich-table__category-tab--layout-buttons:hover,
.vasilich-table__category-tab--layout-buttons:focus {
	/* Фон и цвет при наведении управляются через настройки Elementor */
	text-decoration: none !important;
}

.vasilich-table__category-tab--layout-buttons.is-active {
	/* Фон активной категории управляется через настройки Elementor */
	color: var(--e-global-color-accent, #fff);
	box-shadow: none;
}

/* Стили для активной категории при наведении управляются через настройки Elementor */

/* Цвет иконки активной категории - перекрываем все возможные стили */
.vasilich-table__category-tab.is-active .vasilich-table__filter-icon {
	color: inherit !important;
}

.vasilich-table__category-tab.is-active .vasilich-table__filter-icon--svg svg,
.vasilich-table__category-tab.is-active .vasilich-table__filter-icon--svg svg * {
	fill: currentColor !important;
	stroke: currentColor !important;
	color: inherit !important;
}

.vasilich-table__category-tab--align-left {
	justify-content: flex-start;
	text-align: left;
}

.vasilich-table__category-tab--align-center {
	justify-content: center;
	text-align: center;
}

.vasilich-table__category-tab--align-right {
	justify-content: flex-end;
	text-align: right;
}

.vasilich-table__category-tab--icon-right {
	flex-direction: row-reverse;
}

.vasilich-table__category-tab--icon-top {
	flex-direction: column;
	align-items: center;
}

.vasilich-table__category-tab--icon-bottom {
	flex-direction: column-reverse;
	align-items: center;
}

.vasilich-table__category-tab--align-left.vasilich-table__category-tab--icon-top,
.vasilich-table__category-tab--align-left.vasilich-table__category-tab--icon-bottom {
	align-items: flex-start;
}

.vasilich-table__category-tab--align-right.vasilich-table__category-tab--icon-top,
.vasilich-table__category-tab--align-right.vasilich-table__category-tab--icon-bottom {
	align-items: flex-end;
}

.vasilich-table__category-tab--icon-top .vasilich-table__category-label,
.vasilich-table__category-tab--icon-bottom .vasilich-table__category-label {
	width: 100%;
}

.vasilich-table__category-tab--icon-none .vasilich-table__filter-icon {
	display: none;
}

.vasilich-table__category-tab--icon-none {
	gap: 0;
}

.vasilich-table__filter-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: inherit;
}

.vasilich-table__filter-icon--svg {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
}

.vasilich-table__filter-icon--svg img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

/* Поддержка изменения цвета SVG через CSS фильтры для изображений */
.vasilich-table__filter-icon--svg img[src$=".svg"] {
	filter: brightness(0) saturate(100%) invert(0);
	transition: filter 0.2s ease;
}

/* Для inline SVG используем fill и currentColor */
.vasilich-table__filter-icon--svg svg {
	fill: currentColor !important;
	color: inherit;
	width: 100%;
	height: 100%;
}

.vasilich-table__filter-icon--svg svg * {
	fill: currentColor !important;
	stroke: currentColor !important;
}

/* Для активной категории - наследуем цвет от родителя */
.vasilich-table__category-tab.is-active .vasilich-table__filter-icon {
	color: inherit !important;
}

.vasilich-table__category-tab.is-active .vasilich-table__filter-icon--svg {
	color: inherit !important;
}

.vasilich-table__category-tab.is-active .vasilich-table__filter-icon--svg svg,
.vasilich-table__category-tab.is-active .vasilich-table__filter-icon--svg svg * {
	fill: currentColor !important;
	stroke: currentColor !important;
	color: inherit !important;
}

.vasilich-table__filter-icon i,
.vasilich-table__filter-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.vasilich-table__client-filters {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.vasilich-table__client-filter {
	padding: var(--e-global-spacing-xs, 10px) var(--e-global-spacing-sm, 22px);
	border-radius: var(--e-global-border-radius, 999px);
	background: var(--e-global-color-background, rgba(111, 58, 30, 0.08));
	border: 1px solid transparent;
	cursor: pointer;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	color: var(--e-global-color-primary, #6f3a1e);
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vasilich-table__client-filter:hover {
	background: rgba(111, 58, 30, 0.12);
}

.vasilich-table__client-filter.is-active {
	background: var(--e-global-color-primary, #6f3a1e);
	color: var(--e-global-color-accent, #fff);
	box-shadow: none;
}

.vasilich-table__categories {
	display: grid;
	gap: 0;
}

.vasilich-table__section {
	border-radius: 12px;
	background: transparent;
	padding: 0;
	box-shadow: none;
	border: none;
}

.vasilich-table__section-header {
	width: 100%;
	display: flex;
	justify-content: space-between; /* По умолчанию, будет перекрыто настройками Elementor */
	align-items: center;
	border: none;
	padding: var(--e-global-spacing-md, 16px) 0;
	background: transparent !important;
	color: inherit !important;
	text-decoration: none !important;
	font-size: var(--e-global-typography-text-font-size, 18px);
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
	color: var(--e-global-color-text, #4d2a1a);
	background: transparent !important;
	overflow: hidden;
	box-sizing: border-box;
}

/* Когда выравнивание не space-between, убираем flex: 1 у левой части */
.vasilich-table__section-header:not([style*="space-between"]) .vasilich-table__section-header-left {
	flex: 0 1 auto !important;
}

.vasilich-table__section-header:hover,
.vasilich-table__section-header:focus {
	background-color: transparent !important;
	color: inherit !important;
	text-decoration: none !important;
}

.vasilich-table__section-header-left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1; /* По умолчанию для space-between */
	min-width: 0;
	overflow: hidden;
}

/* Когда выравнивание не space-between, убираем flex: 1 */
.vasilich-table__section-header[style*="justify-content: flex-start"] .vasilich-table__section-header-left,
.vasilich-table__section-header[style*="justify-content:flex-start"] .vasilich-table__section-header-left,
.vasilich-table__section-header[style*="justify-content: center"] .vasilich-table__section-header-left,
.vasilich-table__section-header[style*="justify-content:center"] .vasilich-table__section-header-left,
.vasilich-table__section-header[style*="justify-content: flex-end"] .vasilich-table__section-header-left,
.vasilich-table__section-header[style*="justify-content:flex-end"] .vasilich-table__section-header-left {
	flex: 0 1 auto !important;
}

.vasilich-table__section-counter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	border-radius: var(--e-global-border-radius, 999px);
	background: var(--e-global-color-background, rgba(111, 58, 30, 0.1));
	color: var(--e-global-color-primary, #6f3a1e);
	font-size: var(--e-global-typography-text-font-size, 13px);
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	font-family: var(--e-global-typography-primary-font-family, inherit);
}

.vasilich-table__section-header-title {
	/* Типографика управляется через настройки Elementor */
	/* Значения по умолчанию только если не заданы в Elementor */
	font-family: var(--e-global-typography-primary-font-family, inherit);
	color: inherit;
	/* font-size и font-weight управляются через настройки Elementor */
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vasilich-table__section-toggle {
	min-width: auto;
	height: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	background: transparent;
	color: var(--e-global-color-text, rgba(111, 58, 30, 0.6));
	transition: color 0.2s ease;
	padding: 0;
	flex-shrink: 0;
	margin-left: 12px;
}

.vasilich-table__section-header:hover .vasilich-table__section-toggle,
.vasilich-table__section-header:focus .vasilich-table__section-toggle {
	background: transparent;
	color: rgba(111, 58, 30, 0.8);
}

.vasilich-table__section-header[aria-expanded="true"] .vasilich-table__section-toggle {
	background: transparent;
	color: rgba(111, 58, 30, 0.8);
}

.vasilich-table__section-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	transition: color 0.2s ease;
	width: 0.75em;
	height: 0.75em;
	flex-shrink: 0;
	font-size: 14px;
}

.vasilich-table__section-toggle-icon svg {
	fill: currentColor;
	width: 0.75em;
	height: 0.75em;
}

.vasilich-table__section-toggle-icon i {
	width: 0.75em;
	height: 0.75em;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.vasilich-table__section-toggle-icon--expanded {
	display: none;
}

.vasilich-table__section-header[aria-expanded="true"] .vasilich-table__section-toggle-icon--collapsed {
	display: none;
}

.vasilich-table__section-header[aria-expanded="true"] .vasilich-table__section-toggle-icon--expanded {
	display: inline-flex;
}

.vasilich-table__section-body {
	padding: 0;
	display: grid;
	gap: 0;
}

.vasilich-table__row {
	display: grid;
	grid-template-columns: minmax(280px, 2fr) repeat(2, minmax(140px, 1fr)) 56px;
	align-items: center;
	background: transparent;
	border-radius: 0;
	padding: var(--e-global-spacing-md, 16px) 0;
	column-gap: var(--e-global-spacing-lg, 32px);
	row-gap: var(--e-global-spacing-sm, 12px);
	box-shadow: none;
	border: none;
	border-bottom: 1px solid var(--e-global-color-border, rgba(111, 58, 30, 0.08));
	transition: background-color 0.2s ease;
}

.vasilich-table__row[data-columns="1"] {
	grid-template-columns: minmax(280px, 2.2fr) minmax(140px, 1fr) 56px;
}

.vasilich-table__row[data-columns="2"] {
	grid-template-columns: minmax(280px, 2.4fr) repeat(2, minmax(140px, 1fr)) 56px;
}

.vasilich-table__row[data-columns="3"] {
	grid-template-columns: minmax(280px, 2.6fr) repeat(3, minmax(120px, 1fr)) 56px;
}

.vasilich-table__row[data-columns="4"] {
	grid-template-columns: minmax(280px, 2.8fr) repeat(4, minmax(110px, 1fr)) 56px;
}

.vasilich-table__row[data-columns="0"] {
	grid-template-columns: minmax(280px, 1fr);
}

.vasilich-table__row:hover {
	background-color: var(--e-global-color-background, rgba(111, 58, 30, 0.02));
}

.vasilich-table__row--header {
	align-items: flex-end;
	row-gap: 0;
	padding: var(--e-global-spacing-sm, 12px) 0;
	background: transparent;
	box-shadow: none;
	border: none;
	border-bottom: 1px solid var(--e-global-color-border, rgba(111, 58, 30, 0.12));
	transform: none;
}

.vasilich-table__row--header .vasilich-table__cell {
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	color: var(--e-global-color-text, rgba(79, 45, 28, 0.7));
	justify-content: flex-end;
}

.vasilich-table__row--header .vasilich-table__cell--summary {
	justify-content: flex-start;
}

.vasilich-table__cell {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.vasilich-table__cell--summary {
	gap: 8px;
	max-width: 520px;
}

.vasilich-table__service-title {
	font-size: var(--e-global-typography-primary-font-size, 18px);
	font-weight: var(--e-global-typography-primary-font-weight, 700);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	color: var(--e-global-color-text, #4d2a1a);
}

.vasilich-table__service-summary {
	font-size: var(--e-global-typography-text-font-size, 15px);
	font-family: var(--e-global-typography-text-font-family, inherit);
	color: var(--e-global-color-text, rgba(0, 0, 0, 0.55));
	line-height: var(--e-global-typography-text-line-height, 1.6);
}

.vasilich-table__cell--action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.vasilich-table__modal-trigger {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(111, 58, 30, 0.16);
	background: rgba(111, 58, 30, 0.1);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(111, 58, 30, 0.75);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vasilich-table__modal-trigger:hover {
	background: rgba(111, 58, 30, 0.16);
	border-color: rgba(111, 58, 30, 0.24);
	color: rgba(111, 58, 30, 0.95);
}

.vasilich-table__modal-trigger-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
	color: inherit;
}

.vasilich-table__modal-trigger-icon svg {
	fill: currentColor;
}

.vasilich-table__cta {
	/* padding управляется через настройки Elementor */
	border-radius: 24px;
	background: #f5e8dd;
	text-align: center;
	display: grid;
	gap: 14px;
	box-shadow: none;
	max-width: 900px;
	margin: 24px auto 0;
	width: 100%;
	box-sizing: border-box;
}

.vasilich-table__cta-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
}

.vasilich-table__cta-description {
	margin: 0;
	color: rgba(0, 0, 0, 0.75);
}

.vasilich-table__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	color: #fff !important;
	background: #6f3a1e !important;
	text-decoration: none !important;
	font-weight: 600;
	justify-self: center;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vasilich-table__cta--button-align-left .vasilich-table__cta-button {
	justify-self: start;
}

.vasilich-table__cta--button-align-right .vasilich-table__cta-button {
	justify-self: end;
}

.vasilich-table__cta-button--width-auto {
	width: auto;
}

.vasilich-table__cta-button--width-full {
	width: 100%;
}

.vasilich-table__cta-button--width-custom {
	width: auto;
}

.vasilich-table__cta-button:hover,
.vasilich-table__cta-button:focus {
	background: #7f4526 !important;
	color: var(--e-global-color-accent, #fff) !important;
	box-shadow: none;
	transform: translateY(-1px);
	text-decoration: none !important;
}

@media (max-width: 1140px) {
	.vasilich-table__row {
		grid-template-columns: minmax(220px, 1.6fr) repeat(auto-fit, minmax(120px, 1fr)) 48px;
	}
}

@media (max-width: 991px) {
	.vasilich-table__category-tabs--layout-buttons {
		grid-auto-flow: row;
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}

	.vasilich-table__category-tabs-wrapper {
		padding: 12px;
	}

	.vasilich-table__inner {
		/* Отступы управляются через настройки Elementor */
	}

	.vasilich-table__row {
		grid-template-columns: minmax(200px, 1fr) repeat(auto-fit, minmax(120px, 1fr));
	}

	.vasilich-table__cell--action {
		align-items: flex-start;
	}
}

/* Дополнительные стили для очень маленьких экранов (360px и меньше) */
/* Только технические стили для предотвращения обрезания - padding управляется через Elementor */
@media (max-width: 360px) {
	.elementor-widget-vasilich-table,
	.elementor-widget-vasilich-table .elementor-widget-container {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* padding и margin управляются через настройки Elementor */
	}

	.vasilich-table {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* padding и margin управляются через настройки Elementor */
	}

	.vasilich-table__inner {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* padding управляется через настройку "Отступы контента" в Elementor */
	}

	.vasilich-table__header,
	.vasilich-table__title,
	.vasilich-table__description {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* padding и margin управляются через настройки Elementor */
	}

	.vasilich-table__category-tabs-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* padding управляется через настройку "Отступы внутри" области категорий в Elementor */
	}

	.vasilich-table__category-tabs,
	.vasilich-table__category-tabs--layout-buttons {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* gap управляется через настройку "Расстояние между элементами" в Elementor */
	}

	.vasilich-table__body,
	.vasilich-table__categories {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* padding и margin управляются через настройки Elementor */
	}

	.vasilich-table__row:not(.vasilich-table__row--header) {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
		/* padding управляется через настройку "Внутренние отступы" карточек секций в Elementor */
	}

	.vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-wrap: break-word !important;
		word-wrap: break-word !important;
		/* padding управляется через настройки Elementor */
	}

	/* Типографика управляется через responsive настройки Elementor */
}

@media (max-width: 767px) {
	/* Контейнер Elementor для виджета - убираем ограничения ширины */
	.elementor-widget-vasilich-table {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	.elementor-widget-vasilich-table .elementor-widget-container {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Выводим виджет на всю ширину экрана */
	.vasilich-table {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		overflow-x: hidden;
	}

	.vasilich-table__inner {
		/* Отступы управляются через настройки Elementor */
		row-gap: 28px;
		max-width: 100% !important;
		width: 100% !important;
		box-sizing: border-box;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.vasilich-table__header {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden;
	}

	.vasilich-table__title {
		font-size: 32px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.vasilich-table__description {
		font-size: 15px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.vasilich-table__search-inner {
		min-height: 52px;
		padding: 0 16px;
	}

	.vasilich-table__category-tabs-wrapper {
		padding: 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		overflow-x: hidden;
	}

	.vasilich-table__category-tabs {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.vasilich-table__filters {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	.vasilich-table__body {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden;
	}

	.vasilich-table__categories {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden;
	}

	/* Значение по умолчанию - будет перекрыто настройками Elementor если заданы */
	.vasilich-table__category-tabs--layout-buttons {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		grid-auto-flow: row !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		gap: 6px !important;
		overflow-x: hidden;
	}

	.vasilich-table__section {
		padding-bottom: 0;
	}

	.vasilich-table__section-header {
		padding: 12px 0;
	}

	.vasilich-table__section-body {
		padding: 0;
	}

	/* Скрываем заголовок таблицы на мобильных */
	.vasilich-table__row--header {
		display: none;
	}

	/* Карточный вид для строк на мобильных - перекрываем все десктопные стили */
	.vasilich-table__row:not(.vasilich-table__row--header),
	.vasilich-table__row[data-columns]:not(.vasilich-table__row--header),
	.vasilich-table__row[data-columns="0"]:not(.vasilich-table__row--header),
	.vasilich-table__row[data-columns="1"]:not(.vasilich-table__row--header),
	.vasilich-table__row[data-columns="2"]:not(.vasilich-table__row--header),
	.vasilich-table__row[data-columns="3"]:not(.vasilich-table__row--header),
	.vasilich-table__row[data-columns="4"]:not(.vasilich-table__row--header),
	.vasilich-table__row[data-columns="5"]:not(.vasilich-table__row--header),
	.vasilich-table__body .vasilich-table__row:not(.vasilich-table__row--header),
	.vasilich-table__categories .vasilich-table__row:not(.vasilich-table__row--header),
	.vasilich-table__body .vasilich-table__row[data-columns]:not(.vasilich-table__row--header),
	.vasilich-table__categories .vasilich-table__row[data-columns]:not(.vasilich-table__row--header) {
		display: grid !important;
		grid-template-columns: 1fr !important;
		padding: 12px !important;
		margin-bottom: 12px !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		border: 1px solid var(--e-global-color-border, rgba(111, 58, 30, 0.12)) !important;
		border-radius: 12px !important;
		background: var(--e-global-color-background, #fff) !important;
		border-bottom: 1px solid var(--e-global-color-border, rgba(111, 58, 30, 0.12)) !important;
		gap: 0 !important;
		column-gap: 0 !important;
		row-gap: 0 !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-x: hidden;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.vasilich-table__row:hover {
		background-color: var(--e-global-color-background, rgba(111, 58, 30, 0.02));
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	}

	/* Ячейка с названием услуги - всегда первая */
	.vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell--summary,
	.vasilich-table__row[data-columns]:not(.vasilich-table__row--header) .vasilich-table__cell--summary,
	.vasilich-table__row[data-columns="0"]:not(.vasilich-table__row--header) .vasilich-table__cell--summary,
	.vasilich-table__row[data-columns="1"]:not(.vasilich-table__row--header) .vasilich-table__cell--summary,
	.vasilich-table__row[data-columns="2"]:not(.vasilich-table__row--header) .vasilich-table__cell--summary,
	.vasilich-table__row[data-columns="3"]:not(.vasilich-table__row--header) .vasilich-table__cell--summary,
	.vasilich-table__row[data-columns="4"]:not(.vasilich-table__row--header) .vasilich-table__cell--summary,
	.vasilich-table__row[data-columns="5"]:not(.vasilich-table__row--header) .vasilich-table__cell--summary {
		max-width: 100% !important;
		width: 100% !important;
		margin-bottom: 12px !important;
		padding-bottom: 12px !important;
		border-bottom: 1px solid var(--e-global-color-border, rgba(111, 58, 30, 0.12)) !important;
		grid-column: 1 / -1 !important;
		box-sizing: border-box !important;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	/* Контейнер для цен - группируем все ценовые ячейки */
	.vasilich-table__row {
		position: relative;
	}

	/* Остальные ячейки - в виде метка: значение, компактно */
	.vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__body .vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__categories .vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action) {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 12px !important;
		padding: 10px 0 !important;
		text-align: left !important;
		border-bottom: 1px solid var(--e-global-color-border, rgba(111, 58, 30, 0.08)) !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.vasilich-table__row .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action):last-of-type {
		border-bottom: none;
	}

	.vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before,
	.vasilich-table__row[data-columns]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before,
	.vasilich-table__row[data-columns="0"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before,
	.vasilich-table__row[data-columns="1"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before,
	.vasilich-table__row[data-columns="2"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before,
	.vasilich-table__row[data-columns="3"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before,
	.vasilich-table__row[data-columns="4"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before,
	.vasilich-table__row[data-columns="5"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action)::before {
		content: attr(data-column-label) !important;
		font-weight: 600 !important;
		color: var(--e-global-color-text, rgba(79, 45, 28, 0.7)) !important;
		font-size: 14px !important;
		flex-shrink: 0 !important;
		display: block !important;
	}

	.vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns="0"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns="1"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns="2"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns="3"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns="4"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action),
	.vasilich-table__row[data-columns="5"]:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action) {
		justify-content: space-between !important;
		text-align: right !important;
		font-weight: 600 !important;
		min-width: 0 !important;
		flex: 1 !important;
		box-sizing: border-box !important;
	}

	.vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action) > * {
		min-width: 0 !important;
		overflow-wrap: break-word !important;
		word-wrap: break-word !important;
	}

	/* Ячейка действия */
	.vasilich-table__row:not(.vasilich-table__row--header) .vasilich-table__cell--action,
	.vasilich-table__row[data-columns]:not(.vasilich-table__row--header) .vasilich-table__cell--action,
	.vasilich-table__row[data-columns="0"]:not(.vasilich-table__row--header) .vasilich-table__cell--action,
	.vasilich-table__row[data-columns="1"]:not(.vasilich-table__row--header) .vasilich-table__cell--action,
	.vasilich-table__row[data-columns="2"]:not(.vasilich-table__row--header) .vasilich-table__cell--action,
	.vasilich-table__row[data-columns="3"]:not(.vasilich-table__row--header) .vasilich-table__cell--action,
	.vasilich-table__row[data-columns="4"]:not(.vasilich-table__row--header) .vasilich-table__cell--action,
	.vasilich-table__row[data-columns="5"]:not(.vasilich-table__row--header) .vasilich-table__cell--action {
		justify-content: flex-start !important;
		margin-top: 12px !important;
		padding-top: 12px !important;
		border-top: 1px solid var(--e-global-color-border, rgba(111, 58, 30, 0.12)) !important;
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.vasilich-table__modal-trigger {
		align-self: flex-start;
	}

	.vasilich-table__cta {
		padding: 28px 20px;
	}
}

.vasilich-table-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.vasilich-table-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.vasilich-table-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 28px;
	max-width: 520px;
	width: calc(100% - 32px);
	z-index: 1;
	display: block;
	box-shadow: none;
}

.vasilich-table-modal__content {
	display: grid;
	gap: 18px;
	padding: 36px;
}

.vasilich-table-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.05);
	border: none;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 0;
}

.vasilich-table-modal__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
}

.vasilich-table-modal__description {
	margin: 0;
	color: rgba(0, 0, 0, 0.7);
	line-height: 1.5;
}

.vasilich-table-modal__columns {
	display: grid;
	gap: 12px;
}

.vasilich-table-modal__column {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-radius: 12px;
	background: rgba(111, 58, 30, 0.08);
}

.vasilich-table-modal__column-title {
	font-weight: 600;
	font-size: 14px;
	color: #4d2a1a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vasilich-table-modal__column-value {
	font-size: 20px;
	font-weight: 700;
	color: #4d2a1a;
}

.vasilich-table-modal__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	background: #6f3a1e !important;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vasilich-table-modal__button:hover,
.vasilich-table-modal__button:focus {
	background: #7f4526 !important;
	color: #fff !important;
	box-shadow: none;
	transform: translateY(-1px);
	text-decoration: none !important;
}

.vasilich-table-modal-open {
	overflow: hidden;
}

[hidden] {
	display: none !important;
}

.vasilich-table__category-panel {
	display: grid;
	gap: 20px;
}

.vasilich-table__category-heading {
	font-size: 28px;
	font-weight: 700;
	color: #6f3a1e;
	margin: 4px 0 20px;
	text-align: left;
}

.vasilich-table__row .vasilich-table__cell:not(.vasilich-table__cell--summary):not(.vasilich-table__cell--action) {
	align-items: center;
	justify-content: flex-end;
	font-weight: var(--e-global-typography-primary-font-weight, 600);
	font-family: var(--e-global-typography-primary-font-family, inherit);
	color: var(--e-global-color-text, #4d2a1a);
	text-align: right;
}

.vasilich-table__section.is-empty {
	display: none;
}

.vasilich-table__category-label {
	font-size: 16px;
	font-weight: 600;
	display: inline-block;
}

.vasilich-table__category-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	margin-left: 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.vasilich-table__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 24px;
	border-radius: 24px;
	background: rgba(0, 0, 0, 0.04);
	color: rgba(0, 0, 0, 0.6);
	font-size: 16px;
	text-align: center;
}

.vasilich-table__category-tab--layout-tabs {
	border-radius: 0;
	padding: 14px 24px;
	background: transparent;
	border-bottom: 3px solid transparent;
	box-shadow: none;
}

.vasilich-table__category-tab--layout-tabs:hover,
.vasilich-table__category-tab--layout-tabs:focus {
	background: transparent !important;
	border-color: rgba(111, 58, 30, 0.3);
	color: inherit !important;
	text-decoration: none !important;
}

.vasilich-table__category-tab--layout-tabs.is-active {
	background: transparent;
	color: #6f3a1e;
	border-color: #6f3a1e;
	box-shadow: none;
}


