:root {
	--primary: #C61C29;
	--secondary: #5b636a;
	--secondary-dark: #141516;
	--secondary-light: #939aa0;
	--primary-rgb: 198, 28, 41;
	--secondary-rgb: 91, 99, 106;
	--primary-dark: #a41722;
	--primary-dark-rgb: 164, 23, 34;
	--smooth: all .25s linear;
	--light: #eee;
}

body {
	font-family: "franklin-gothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
}

i,
em {
	font-weight: 400;
	font-style: italic;
}

.fw-bold,
b,
strong {
	font-weight: 600 !important;
	font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-style: normal;
}

main a {
	text-decoration: none;
	color: var(--primary-dark);
}

.bg-primary {
	--bs-bg-opacity: 1;
	background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-primary {
	--bs-bg-opacity: 1;
	background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-secondary {
	--bs-bg-opacity: 1;
	background-color: rgba(var(--secondary-rgb), var(--bs-bg-opacity)) !important;
}

.text-primary {
	color: var(--primary) !important;
}

.text-secondary {
	color: var(--secondary) !important;
}

.top-links {
	text-decoration: none;
	color: var(--secondary-dark);
	display: flex;
	align-items: center;
	padding-right: calc(1rem + 2vw);
	font-size: 12pt;
	white-space: nowrap;
}

.top-links:last-child {
	padding-right: 0;
}

.top-links span {
	display: inline-block;
	margin-right: .25rem;
}

.header-main {
	background-color: var(--bs-light);
}

.logos {
	display: flex;
	align-items: center;
	gap: 15px;
	/* расстояние между лого */
	max-width: 400px;

}

.logos img {
	height: 1.8vw;
	/* фиксируем высоту для аккуратности */
	width: auto;
}

.logo.active {
	background: white;
}

.logo {
	position: relative;
	padding: .5rem;
	text-decoration: none;
	color: black;
}

.logo.active::before {
	position: absolute;
	top: 0;
	left: -10px;
	width: 10px;
	height: 100%;
	display: block;
	content: "";
	background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.logo.active::after {
	position: absolute;
	top: 0;
	right: -10px;
	width: 10px;
	height: 100%;
	display: block;
	content: "";
	background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
}

.products-type {
	position: relative;
	width: 100%;
	display: block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 10pt;
	font-weight: 500;
}

/* Правая группа элементов */
.header-right-group {
	gap: 30px;
	/* расстояние между меню и кнопкой Configurator */
}

/* Сброс стилей списка меню, чтобы они шли в строку */
.nav-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
}

/* Кнопка */
.button {
	background-color: var(--primary);
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 2px;
	letter-spacing: 1px;
	transition: var(--smooth);
	border: none;
	cursor: pointer;
}

.button:disabled {
	background-color: var(--secondary);
	color: white;
}

.button:hover {
	background-color: var(--primary-dark);
	color: #fff !important;
	transition: var(--smooth);
}

.mode-menu:not(.active) {
	display: none;
}

@media (max-width: 767.98px) {
	.header-top .d-flex {
		justify-content: center;
	}

	.top-links {
		width: 20%;
		padding-right: 0;
		justify-content: center;
		font-size: 10pt;
		flex-direction: column;
		text-align: center;

	}

	/* Если иконка и текст в строку не влезают в 20%, можно скрыть текст на мобилках */
	/* .top-links { font-size: 0; } .top-links .bi { font-size: 14pt; } */
}

/*меню*/


.nav-menu-list .cat-item .cat-link {
	color: black;
	text-decoration: none;
	display: inline-block;
	padding: calc(.25rem + 1vw) calc(1rem + 1vw);
}

.cat-item:has(.sub-menu-grid)>a::before {
	content: '\F282';
	font-size: 10px;
	margin-right: 5px;
	vertical-align: middle;
	font-family: 'bootstrap-icons';
	transform: translateY(-.25rem);
}

.cat-item:has(.sub-menu-grid):hover>a::before {
	transform: rotate(180deg) translateY(.15rem);
	display: inline-block;
}

.nav-menu-list>li.cat-item.menu-open>a::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #fff;
}


.sub-menu-grid.depth-1 {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.sub-menu-grid.depth-0 .prod-link.mega-link {
	text-decoration: none;
	color: var(--primary);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.sub-menu-grid.depth-1 {
	margin-bottom: 1rem;
}

.sub-menu-grid.depth-1 .prod-link.mega-link {
	text-decoration: none;
	color: var(--secondary);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: initial;
	transition: var(--smooth);
}

.sub-menu-grid.depth-1 .prod-link.mega-link:hover {
	color: var(--secondary-light);
	transition: var(--smooth);
}

.sub-menu-grid.depth-0 {
	position: absolute;
	left: 50%;
	margin: 0;
	transform: translateX(-50%);
	width: calc(100vw - 1rem);
	background: #fff;
	display: none;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	padding: 2rem 0;
	border-top: 1px solid #eee;
	list-style-type: none;
	overflow: hidden;
}

.cat-item:hover .sub-menu-grid.depth-0 {
	display: flex;
	justify-content: center;
}

.masonry-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	width: 100%;
	max-width: 1440px;
	/* Чтобы на больших экранах не расползалось */
	margin: 0 auto;
	max-height: 80vh;
	overflow-y: auto;
}

.masonry-wrapper>.prod-item {
	width: calc((100% - (4 * 30px)) / 5);
	min-width: 250px;
	margin-bottom: 2rem;
	list-style: none;
}

.prod-item.masonry-brick {
	/* расчет на 5 колонок: 100% минус 4 гэпа по 30px, делить на 5 */
	width: calc((100% - (5 * 30px)) / 6);
	min-width: 180px;
	/* Чтобы колонки не становились слишком узкими */
	display: block;
	list-style: none;
	margin-bottom: 1.5rem;
	vertical-align: top;
}

/* Внутренние списки (твои старые стили) */
.sub-menu-grid.depth-1 {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0 0;
}

@media (max-width: 1600px) {
	.masonry-wrapper>.prod-item {
		width: calc((100% - (4 * 30px)) / 5);
		/* 5 в ряд */
	}
}

@media (max-width: 1200px) {
	.masonry-wrapper>.prod-item {
		width: calc((100% - (4 * 30px)) / 5);
		/* 5 в ряд */
	}
}

.img-menu-wrapper {
	position: relative;
	height: 5rem;
	margin-bottom: .5rem;
	overflow: hidden;
}

.img-menu-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.menu-cat-description {
	position: relative;
}

.menu-cat-description::after {
	content: attr(data-desc);
	display: block;
	font-size: 12px;
	line-height: 1.2;
	color: var(--bs-gray-600);
	margin-top: 5px;
	margin-bottom: 10px;
	font-weight: 300;
}

.logo:not(.active) img {
	filter: grayscale(10);
}

.site-header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	transition: background 0.3s ease;
}

.main-video-banner {
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	z-index: 1;
}

.video-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.bg-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-foreground {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.bg-video-yt {
	width: 100vw;
	height: 56.25vw;
	/* 16:9 */
	min-height: 100vh;
	min-width: 177.77vh;
	/* 16:9 наоборот */
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}

.site-header:not(.meridian-header-scrolled) .top-link,
.site-header:not(.meridian-header-scrolled) .top-links {
	color: white;
}

.site-header:not(.meridian-header-scrolled) .top-links:hover,
.site-header:not(.meridian-header-scrolled) .top-links:hover .top-link {
	color: #bbbbbb;
}

.site-header:not(.meridian-header-scrolled) .header-main .sub-menu-grid.depth-0 {
	background: rgba(255, 255, 255, 1);
	overflow-y: auto;
	max-height: 85vh;
}

.site-header:not(.meridian-header-scrolled) .header-main .logo.active {
	background: transparent;
	border-right: 1px solid white;
	border-left: 1px solid white;
	background: rgba(255, 255, 255, .85);
}

.site-header:not(.meridian-header-scrolled) .header-main .products-type {
	color: white;
}

.site-header:not(.meridian-header-scrolled) .header-main .nav-menu-list .cat-item .cat-link {
	color: white;
}

.site-header:not(.meridian-header-scrolled) .header-main .logo:not(.active) img {
	filter: brightness(100);
}

.site-header:not(.meridian-header-scrolled) .header-main .sub-menu-grid.depth-1 .prod-link.mega-link {
	color: #000;
}

.site-header:not(.meridian-header-scrolled) .header-main .menu-cat-description::after {
	color: #000;
}

.site-header:not(.meridian-header-scrolled) .header-main {
	background: transparent;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
}

.meridian-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

#meridian-back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 2000;
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 50%;
	background-color: var(--primary);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease, background-color 0.3s;
}

#meridian-back-to-top:hover {
	background-color: var(--primary-dark);
	transition: opacity 0.3s ease, background-color 0.3s;
}

body {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: transparent;
	background: none;
	margin: 0;
	padding: 0;
}

body:before {
	content: "";
	position: fixed;
	/* Именно fixed, чтобы тень не уезжала при скролле */
	top: 0;
	left: 0;
	width: 100%;
	height: 10px;
	/* Высота самой тени */
	z-index: 1500;
	/* Должна быть выше хедера (z-index: 1000) или чуть ниже, смотря какой эффект нужен */

	/* Самый важный блок: градиент от черного к прозрачному */
	background: linear-gradient(to bottom,
			rgba(0, 0, 0, 0.15) 0%,
			rgba(0, 0, 0, 0) 100%);

	/* Чтобы тень не мешала кликать по ссылкам в меню */
	pointer-events: none;
}

.site-footer {
	background: var(--secondary);
	border-top: 1px solid #ddd;
}

.banner-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

.banner-title {
	position: absolute;
	z-index: 10;
	color: white;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	text-align: center;
	font-size: calc(1.5rem + 3vw);
}

.meridian-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.meridian-list li a {
	color: white;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
	margin-bottom: .5rem;
}

.meridian-list li a:hover {
	color: #bbbbbb;
	text-decoration: none;
	transition: color 0.3s ease;
}

.meridian-logo-footer,
.wgi-logo {
	max-width: 140px;
}

.brand-logos {
	min-width: 100px;
}

.site-header:not(.meridian-header-scrolled) .header-main .logo.active .products-type {
	color: black;
}

/* blocks */
.meridian-equipment-explorer {
	background-color: #fff;
}

h1 {
	font-size: calc(1.5rem + 1vw);
	font-weight: 500;
}

h2 {
	font-size: calc(1rem + 1vw);
	font-weight: 500;
}

h3 {
	font-size: calc(.25rem + .75vw);
	font-weight: 500;
}

main h1,
main h2,
main h3 {
	margin-top: 3vh;
	margin-bottom: 1vh;
}

.sub-category-list {
	list-style-type: initial;
}

.sub-category-list-item a {
	display: block;
	margin-bottom: .5rem;
	color: black;
	text-decoration: none;
	transition: var(--smooth);
}

.sub-category-list-item a:hover {
	color: var(--secondary);
	transition: var(--smooth);
}

.meridian-equipment-card {
	border-bottom: 2px solid var(--secondary-light);
}

.advertising-section {
	background: var(--bs-gray-200);
}

.meridian-equipment-card .card-image-wrapper {
	position: relative;
	margin-bottom: 2.5rem;
}

.meridian-equipment-card .hover-element-for-image {
	width: 0;
	height: 40px;
	background: var(--primary);
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-25%) translateY(20px);
	transition: var(--smooth);
}

.meridian-equipment-card:hover .hover-element-for-image {
	width: 60%;
	transition: var(--smooth);
}

.meridian-equipment-card:hover {
	border-color: var(--primary);
}

/*PROMOS*/
/* Базовые отступы для всех секций */
.promo-section {
	margin: 0;
	/* Между секциями отступа нет */
	background: var(--bs-gray-100);
	padding: 1rem 0;
}

/* Только у самой первой секции есть отступ сверху */
.promo-section:first-of-type {
	margin-top: 2.5rem;
}

/* Только у самой последней секции есть отступ снизу */
.promo-section:last-of-type {
	margin-bottom: 2.5rem;
}

/* ЛОГИКА СВОПА (Четные секции) */
/*
@media (min-width: 768px) {
	.promo-section:nth-of-type(even) .promo-row {
		flex-direction: row-reverse;
	}


	.promo-section:nth-of-type(even) .promo-content-wrapper {
		transform: translateX(4rem);
		box-shadow: 3px -3px 3px rgba(0, 0, 0, .15);
		border-left: 1px solid #fafafa;
		border-right: none;
	}
}
*/
/**/
@media (min-width: 768px) {
	.site-header:not(.meridian-header-scrolled) .main-logotype {
		filter: brightness(100) grayscale(10);
	}
	.logo {
		position: relative;
	}
	.logo img {
		opacity: 0;
		transform: translateY(1rem);
		width: 120px;
	}
	.logo img + span {
		transform: translateY(-0.65vw);
		font-size: calc(1vw +.8px);
		color: var(--secondary)
	}
	.logo.active img + span {
		color: var(--primary)
	}

/* Базовая настройка строки */
	.promo-row {
		display: flex;
		flex-direction: row;
	}

	/* Применяем реверс только если есть класс .is-even */
	.promo-section.is-even .promo-row {
		flex-direction: row-reverse;
	}

	/* Стили контента для четных */
	.promo-section.is-even .promo-content-wrapper {
		transform: translateX(4rem);
		box-shadow: 3px -3px 3px rgba(0, 0, 0, .15);
		border-left: 1px solid #fafafa;
		border-right: none;
	}
}
/**/
.promo-image-wrapper {
	max-height: 35rem;
	overflow: hidden;
}

.promo-image-wrapper iframe {
	min-height: 28rem;
	width: 100%;
}

.promo-img {
	width: auto;
	height: 100%;
	display: block;
	/* Убирает лишние зазоры снизу */
	object-fit: cover;
	object-position: center;
	/* Центрирует изображение по обеим осям */
}


.promo-content-wrapper {
	background: white;
	padding: 4rem 6rem;
	transform: translateX(-8rem);
	/* По умолчанию наезд влево */
	width: calc(100% + 4rem);
	box-shadow: -3px -3px 3px rgba(0, 0, 0, .15);
	border: 1px solid #fafafa;
	position: relative;
	z-index: 10;
}

/* Структурные классы (Flexbox) */

.promo-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.promo-media-column {
	width: 100%;
}

.promo-info-column {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 768px) {
	.promo-media-column {
		flex: 0 0 58.333333%;
		max-width: 58.333333%;
	}

	.promo-info-column {
		flex: 0 0 41.666667%;
		max-width: 41.666667%;
	}
}

/* Мобильная адаптация */
@media (max-width: 767px) {
	.promo-content-wrapper {
		transform: none !important;
		width: 100% !important;
		padding: 2rem;
	}

	.promo-section {
		margin: 1.25rem 0;
		/* На мобилках лучше оставить небольшие зазоры */
	}
}

.main-video-banner:before {
	content: "";
	width: 100%;
	height: 15vh;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
	display: block;
	top: 0;
	left: 0;
	z-index: 6;
	position: absolute;
	pointer-events: none;
}

.video-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 250px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
	z-index: 5;
	pointer-events: none;
}

.sub-menu-grid.depth-0 {
	padding: calc(1rem + 1vw) 1vw;
}

@media all and (max-width: 1300px) {
	.nav-menu-list .cat-item .cat-link {
		padding: calc(0.9rem + 1vw) calc(.125rem + .5vw);
		font-size: calc(1rem - 0.1vw);
	}

	.sub-menu-grid.depth-0 {
		padding: calc(1rem + 1vw) 1vw;
	}

	.site-header:before {
		content: "";
		width: 100%;
		height: 15vh;
		background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 82%, rgba(0, 0, 0, 0) 100%);
		display: block;
		top: 0;
		left: 0;
		z-index: 1;
		position: absolute;
		pointer-events: none;
	}
}

@media all and (max-width: 1460px) and (min-width: 1301px) {
	.sub-menu-grid.depth-0 {
		padding: calc(1rem + 1vw);
	}

	.nav-menu-list .cat-item .cat-link {
		padding: calc(0.9rem + 1vw) calc(.25rem + 1vw)
	}
}

.meridian-social-list {
	position: relative;
	list-style-type: none;
	max-width: 300px;
	margin: auto;
	padding: 0 1rem 1rem 1rem;
	transform: translateY(1px);
}

.meridian-social-list::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 5px;
	background-color: var(--primary);
	display: block;
}

/* Стили иконок */
.meridian-social-list li a {
	color: var(--bs-gray-700);
	font-size: 1.25rem;
	transition: opacity 0.2s ease;
	text-decoration: none;
}

.meridian-social-list li a:hover {
	opacity: 0.7;
	color: #001d4a;
}

.meridian-social-list i::before {
	display: block;
}

.main-headline-for-the-page {
	position: relative;
	height: 40vh;
	min-height: 500px;
	overflow: hidden;
}

.main-headline-for-the-page::before {
	background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, 0) 100%);
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.main-headline-for-the-page img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.main-headline-for-the-page .container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

.main-headline-for-the-page .container h1 {
	color: white;
	font-size: calc(2.5rem + 1vw);
	max-width: 85%;
}

.w-lg-auto {
	width: auto !important;
	min-width: 140px;
}


/* Эффект при наведении на строку (как у table-hover) */
.job-item-row:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

/* Убираем лишние отступы у колонок на мобилках для плотности */
@media (max-width: 991px) {
	.job-item-row {
		margin-left: 0;
		margin-right: 0;
	}
}

.contact-spa-container {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	background: #f4f4f4;
	font-family: sans-serif;
}

.info-panel {
	width: 350px;
	padding: 20px;
	background: #fff;
	z-index: 10;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
	max-height: 800px;
	overflow-y: auto;
}

#map-canvas {
	flex: 1;
	min-width: 300px;
	height: 800px;
}

.details-card {
	margin-top: 20px;
	padding: 15px;
	border-radius: 4px;
	background: #f9f9f9;
	border-left: 4px solid #cc0000;
}

.status-open {
	color: #28a745;
	font-weight: bold;
}

.status-warning {
	color: #ffc107;
	font-weight: bold;
}

.status-closed {
	color: #dc3545;
	font-weight: bold;
}

.filters select {
	width: 100%;
	margin-bottom: 10px;
	padding: 8px;
	border: 1px solid #ddd;
}

.promo-content {
	font-size: 0.9em;
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

@media (max-width: 768px) {
	.info-panel {
		width: 100%;
		order: 2;
	}

	#map-canvas {
		order: 1;
		height: 400px !important;
	}
}

/* 1. Базовая настройка родителя */
main {
	position: relative;
}

/* 2. Создаем перекрывающий слой */
main::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.15);
	/* Цвет и плотность затемнения */
	backdrop-filter: grayscale(0.2) brightness(0.7);
	/* Опционально: эффект фильтра через слой */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 50;
	/* Слой выше обычных секций */
	pointer-events: none;
	/* Чтобы слой не мешал кликам в обычном состоянии */
}

/* 3. Исключаем заголовок: поднимаем его выше слоя затемнения */
main .main-headline-for-the-page {
	position: relative;
	z-index: 60;
	/* Выше чем main::before */
}

/* 4. Настраиваем остальные секции (для плавности) */
main section:not(.main-headline-for-the-page) {
	transition: opacity 0.3s ease;
}

/* 5. ТРИГГЕР: Активация при наведении на .cat-item */
body:has(.cat-item:hover) main::before {
	opacity: 1;
	visibility: visible;
}

/* 6. Опционально: делаем остальные секции чуть прозрачнее под слоем */
body:has(.cat-item:hover) main section:not(.main-headline-for-the-page) {
	opacity: 0.4;
	pointer-events: none;
}

@media all and (max-width: 1400px) {
	.menu-cat-description {
		display: none;
	}
}

.img-menu-wrapper+a.prod-link.mega-link {
	cursor: default;
}

#dealers-list-dynamic-section tr {
	cursor: pointer;
}

#dealers-list-dynamic-section td:nth-child(1),
#dealers-list-dynamic-section th:nth-child(1) {
	width: 20%;
}

#dealers-list-dynamic-section td:nth-child(2),
#dealers-list-dynamic-section th:nth-child(2) {
	width: 30%;
}

#dealers-list-dynamic-section td:nth-child(3),
#dealers-list-dynamic-section th:nth-child(3) {
	width: 10%;
}

#dealers-list-dynamic-section td:nth-child(4),
#dealers-list-dynamic-section th:nth-child(4) {
	width: 40%;
}

.pagination {
	--bs-pagination-padding-x: 0.75rem;
	--bs-pagination-padding-y: 0.375rem;
	--bs-pagination-font-size: 1rem;
	--bs-pagination-color: var(--primary);
	--bs-pagination-bg: var(--bs-body-bg);
	--bs-pagination-border-width: var(--bs-border-width);
	--bs-pagination-border-color: var(--bs-border-color);
	--bs-pagination-border-radius: var(--bs-border-radius);
	--bs-pagination-hover-color: var(--primary-dark);
	--bs-pagination-hover-bg: var(--bs-tertiary-bg);
	--bs-pagination-hover-border-color: var(--bs-border-color);
	--bs-pagination-focus-color: var(--bs-link-hover-color);
	--bs-pagination-focus-bg: var(--bs-secondary-bg);
	--bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
	--bs-pagination-active-color: #fff;
	--bs-pagination-active-bg: #0d6efd;
	--bs-pagination-active-border-color: #0d6efd;
	--bs-pagination-disabled-color: var(--bs-secondary-color);
	--bs-pagination-disabled-bg: var(--bs-secondary-bg);
	--bs-pagination-disabled-border-color: var(--bs-border-color);
	display: flex;
	padding-left: 0;
	list-style: none;
}

.active>.page-link,
.page-link.active {
	z-index: 3;
	color: var(--bs-pagination-active-color);
	background-color: var(--primary);
	border-color: var(--primary-dark);
}

.card-header {
	display: flex;
	align-items: top;
	gap: 1rem;
	width: 100%;
}

.card-header-image {
	flex: 0 0 100px;
	width: 100px;
}

.card-header-image img {
	width: 100%;
	height: auto;
	display: block;
}

.card-header-text {
	flex: 1;
	min-width: 0;
}

.meridian-concept-card {
	position: relative;
	border-radius: 0.4rem;
	padding: 2rem;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	background-color: white;
	border: 1px solid var(--bs-gray-200);
}

.meridian-concept-card::before {
	content: attr(data-letter);
	position: absolute;
	top: -40px;
	right: -40px;
	font-size: 500px;
	font-weight: 900;
	line-height: 0.8;
	color: var(--bs-gray-100);
	z-index: 1;
	pointer-events: none;
	user-select: none;
	font-family: inherit;
}

.meridian-concept-card .card-content {
	position: relative;
	z-index: 2;
}

.meridian-concept-card .card-badge {
	color: var(--secondary);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.meridian-concept-card .card-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 1rem 0;
	color: #000;
}

.meridian-concept-card .card-description {
	color: var(--secondary);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 24px 0;
}

.meridian-concept-card .card-description p:last-child {
	margin-bottom: 0;
}

.meridian-concept-card .card-divider {
	border: 0;
	height: 1px;
	background-color: var(--secondary);
	margin: 0 0 1rem 0;
}

.meridian-concept-card .card-meta-grid {
	display: flex;
	gap: 40px;
}

.meridian-concept-card .meta-block {
	display: flex;
	flex-direction: column;
}

.meridian-concept-card .meta-link {
	color: var(--primary);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: transform 0.2s ease, color 0.2s ease;
	display: inline-block;
}

@media (max-width: 768px) {
	.meridian-concept-card {
		padding: 1.5rem;
	}

	.meridian-concept-card::before {
		font-size: 200px;
		top: -10px;
		right: -10px;
	}

	.meridian-concept-card .card-title {
		font-size: 22px;
	}

	.meridian-concept-card .card-meta-grid {
		flex-direction: column;
		gap: 15px;
	}
}

.timeline-container {
	max-width: 100%;
	background: white;
	position: relative;
}

.timeline-header {
	margin-bottom: 2rem;
}

.timeline-nav-wrapper {
	position: relative;
	margin-bottom: 60px;
	padding: 0 40px;
}

.timeline-track {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 1;
	height: 90px;
}

.timeline-track::before {
	content: '';
	position: absolute;
	top: 25px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: var(--bs-gray-200);
	z-index: -1;
}

.timeline-track-progress {
	position: absolute;
	top: 25px;
	left: 0;
	height: 2px;
	background-color: var(--primary);
	z-index: -1;
	transition: var(--smooth);
}

.timeline-point {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	position: relative;
	transition: var(--smooth);
}

.timeline-point:hover .timeline-point-marker {
	background-color: var(--bs-gray-200);
}

.timeline-point-marker {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: white;
	border: 2px solid var(--bs-gray-200);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: var(--smooth);
}

.timeline-point.active .timeline-point-marker {
	border-color: var(--primary);
	background-color: var(--primary);
	box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
	color: white;
}

.timeline-point-marker {
	font-size: 18px;
}

.timeline-point-year {
	margin-top: 12px;
	font-weight: 500;
	color: var(--secondary);
	transition: var(--transition);
}

.timeline-point.active .timeline-point-year {
	color: var(--primary);
	font-weight: 700;
}

.timeline-details {
	display: flex;
	gap: 40px;
	padding: 40px;
	background: var(--bg-white);
	border-radius: 12px;
	border: 1px solid var(--bs-gray-200);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	display: none;
}

.timeline-details.visible {
	display: flex;
	opacity: 1;
	transform: translateY(0);
}

.details-icon {
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background-color: var(--bs-gray-100);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
}


.details-content {
	flex-grow: 1;
}

.details-year {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 8px;
	display: block;
}

.details-title {
	font-size: 2rem;
	margin: 0 0 16px 0;
	color: var(--secondary);
}

.details-description {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--secondary);
	margin: 0;
}

@media (max-width: 768px) {
	.timeline-track {
		overflow-x: auto;
		padding-bottom: 20px;
		justify-content: flex-start;
		gap: 40px;
	}

	.timeline-track::before,
	.timeline-track-progress {
		display: none;
	}

	.timeline-details {
		flex-direction: column;
		text-align: center;
		padding: 30px 20px;
	}

	.details-icon {
		margin: 0 auto;
	}
}

.timeline-point.pass .timeline-point-marker {
	color: var(--primary);
	border-color: var(--primary);
}

.bottom-search-panel {
	position: fixed;
	bottom: -100%;
	/* Скрыта за пределами экрана внизу */
	left: 0;
	width: 100%;
	z-index: 99999;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
	transition: bottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bottom-search-panel.is-visible {
	bottom: 0;
}

/* Затемнение фона при открытом поиске (опционально) */
body.search-panel-active::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99998;
	transition: opacity 0.3s;
}

body:not(.search-panel-active)::after {
	opacity: 0;
	pointer-events: none;
}

mark.local-search-highlight {
	background-color: var(--primary);
	color: #000;
	padding: 0 2px;
	border-radius: 2px;
}

.d-none {
	display: none !important;
}

main h2.accordion-header {
	margin: 0;
}

.model-row {
	cursor: pointer;
}

html,
html * {
	scrollbar-width: thin;
	scrollbar-color: var(--primary) var(--secondary-dark);
}

/* configurator */

.custom-switch-wrapper {
	min-height: 40px;
	border-radius: 20px !important;
	transform: translateY(-1.3rem);
}

.theme-switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 15px;
}

.theme-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--primary);
	transition: .4s;
	width: 30px;
}

.slider.round {
	border-radius: 20px;
}

.slider.round:before {
	border-radius: 50%;
}

.slider:before {
	position: absolute;
	content: "";
	height: 10px;
	width: 10px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
}

input:checked+.slider {
	background-color: var(--primary);
}

input:checked+.slider:before {
	transform: translateX(14px);
}

.text-active {
	color: var(--primary) !important;
	transition: color 0.3s ease;
}

/* Product List Accordion Styles */
.product-list-item {
	border: none;
	border-bottom: 1px solid #eee;
	transition: all 0.2s;
}

.product-list-item:last-child {
	border-bottom: none;
}

.product-list-item.active {
	background-color: var(--primary) !important;
	color: white !important;
	border-color: var(--primary);
}

.vanilla-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 8px;
}

.vanilla-carousel-inner {
	display: flex;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.vanilla-carousel-item {
	flex: 0 0 100%;
	width: 100%;
	min-height: 250px;
	box-sizing: border-box;
}

.vanilla-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.3);
	color: white;
	border: none;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s;
}

.vanilla-btn:hover {
	background: rgba(0, 0, 0, 0.7);
}

.vanilla-prev {
	left: 8px;
}

.vanilla-next {
	right: 8px;
}

.vanilla-dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 10;
}

.vanilla-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.5);
	padding: 0;
	cursor: pointer;
	transition: background 0.3s;
}

.vanilla-dot.active {
	background: var(--primary);
	border-color: var(--primary);
}

.blueprint-svg.detailed-drawing {
	width: 100%;
	max-width: 200px;
	height: 100%;
	max-height: 250px;
	opacity: 1;
	transition: transform 0.3s ease;
}

.blueprint-plate {
	border-radius: 6px;
	box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

.FeaturesOptionsLists .form-check-input {
	width: 1.1em;
	height: 1.1em;
	margin-top: 0.2em;
	cursor: pointer;
}

.form-check-input:disabled {
	opacity: 1;
	background-color: var(--primary);
	border-color: var(--primary);
}

.form-check-input:disabled~.form-check-label {
	opacity: 1 !important;
	color: #212529;
}

.table-primary {
	background-color: rgba(26, 115, 232, 0.1) !important;
	color: var(--primary) !important;
}

.text-nowrap {
	white-space: nowrap;
}

.CTA-btn {
	transition: transform 0.2s, box-shadow 0.2s;
	max-width: 240px;
}

@media print {

	#middle-empty,
	#summary-empty,
	.CTA-btn,
	.product-list-item:not(.active),
	.accordion-button {
		display: none !important;
	}

	.configurator {
		background: white !important;
	}

	.card,
	.container-fluid {
		border: none !important;
		box-shadow: none !important;
	}

	.col-lg-3,
	.col-lg-6,
	.col-lg-3 {
		width: 100% !important;
		flex: 0 0 100%;
		max-width: 100%;
		page-break-inside: avoid;
	}
}


/* Modal Styles Only */
.quote-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
}

.quote-modal-content {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	width: 100%;
	max-width: 650px;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	max-height: 90vh;
	overflow-y: auto;
}

.quote-modal-close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	background: none;
	border: none;
	font-size: 2rem;
	line-height: 1;
	color: #999;
	cursor: pointer;
	transition: color 0.2s;
}

.quote-modal-close:hover {
	color: #000;
}

.quote-modal.d-none {
	display: none !important;
}

/**/
form .gform-body label {
	font-size: .85rem;
	margin-bottom: .4rem;
	font-weight: 500;
}

form .gform-body legend {
	font-weight: 600;
	font-size: .85rem;
	margin-bottom: .4rem;
}

form .gform-body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
form .gform-body textarea,
form .gform-body select {
	padding: 0.4rem;
	font-size: 1rem;
	font-family: inherit;
	color: #000;
	background-color: white;
	border: 1px solid var(--light);
	background-color: var(--bs-gray-100);
	border-radius: 0;
	outline: none;
	box-shadow: inset 0 0 0 transparent;
	transition: var(--smooth);
	margin-bottom: 2rem;
	width: 100%;
	display: block;
}

form .gform-body input:not([type="checkbox"]):not([type="radio"]):focus,
form .gform-body textarea:focus,
form .gform-body select:focus {
	border-color: var(--secondary);
	box-shadow: 0 0 0.25rem var(--primary);
}

form .gform-body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):disabled {
	background: var(--light);
	color: var(--secondary);
	font-style: italic;
}

.gfield_visibility_hidden,
.admin-hidden-markup {
	display: none;
}

.gfield_required {
	display: inline-block;
	margin-left: .15rem;
	color: var(--primary);
	transform: translateY(-0.2rem);
	font-size: .85rem;
}

.quote-modal-content h3 {
	margin-top: 0;
}

.configurator .card table tr {
	cursor: pointer;
}

.form-check-input:checked {
	background-color: var(--primary);
	border-color: var(--primary);
}

.gform-footer {
	display: block;
	margin: 2rem 0;
	padding-top: 2rem;
	border-top: 1px solid var(--light);
}

/* Контейнер-обертка */
.ginput_container_fileupload {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 20px;
	border: 2px dashed #d1d5db;
	border-radius: 8px;
	background-color: #f9fafb;
	transition: all 0.3s ease;
	text-align: center;
}

/* Эффект при наведении */
.ginput_container_fileupload:hover {
	border-color: #6366f1;
	background-color: #f3f4f6;
}

/* Стилизация самого инпута: делаем его невидимым, но растягиваем на весь блок */
.ginput_container_fileupload input[type="file"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

/* Описание типов файлов и размера (Accepted file types...) */
.ginput_container_fileupload .gform_fileupload_rules {
	display: block;
	font-size: 14px;
	color: #6b7280;
	margin-top: 10px;
	order: 2;
	/* Спускаем вниз */
}

/* Добавляем текст "Upload a File" через псевдоэлемент, так как в HTML его нет */
.ginput_container_fileupload::before {
	content: 'Upload a File';
	display: block;
	font-weight: bold;
	font-size: 1.1rem;
	color: #1f2937;
	margin-bottom: 5px;
	order: 1;
}

/* Добавляем иконку облака */
.ginput_container_fileupload::after {
	content: '';
	display: block;
	width: 48px;
	height: 48px;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%239ca3af"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"/></svg>') no-repeat center;
	order: 0;
	margin-bottom: 10px;
}

/* Скрываем скрытый инпут MAX_FILE_SIZE, чтобы не мешал флексу */
.ginput_container_fileupload input[type="hidden"] {
	display: none;
}

@media all and (min-width:1024px) {
	.ginput_complex {
		display: flex;
		gap: 1rem;
		flex-wrap: wrap;
	}

	.ginput_complex div.gform-grid-col {
		flex: 1;
	}

	.gfield:not(.gfield--type-name) .ginput_complex span.gform-grid-col {
		flex: 1 1 calc((100% - 2rem) / 3);
		max-width: calc((100% - 2rem) / 3);
	}

	.gfield.gfield--type-name .ginput_complex span.gform-grid-col {
		flex: 1 1 calc((100% - 1rem) / 2);
		max-width: calc((100% - 1rem) / 2);
	}
	
	
}

.search-icon {
	position: absolute;
	top: 0.7rem;
	left: 1.3rem;
	transform: translateY(-.1rem);
}

.search-control {
	padding-left: 2rem !important;
}


.button-small {
	max-height: 39px;
	line-height: 1;
}

/* products */
/*
.benefits-and-advantages ul {
	list-style: none;
	padding: 0;
}

.benefits-advantages ul li {
	opacity: 0; 
	transform: translateX(-30px);
	margin-bottom: 15px;
	padding: 15px;
	background-color: #f9f9f9;
	border-left: 4px solid var(--primary);
}

.benefits-advantages ul li svg {
	width: 18px;
	margin-right: .25rem;
	flex-shrink: 0;
}*/

.border-meridian {
	--bs-border-color: var(--primary);
}

.meridian-header-scrolled {
	box-shadow: 0 0 .5rem rgba(0, 0, 0, .25);
}


/* table widget */

.gform_confirmation_message {
	text-align: center;
	padding: 3rem 1rem;
	width: 100%;
	font-weight: 500;
	font-size: 24px;
	color: var(--primary);
	margin-top: 3rem;
}

.widget-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 1rem;
	background: var(--light);
	border-radius: .4rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 1.5rem;
}

.widget-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.filter-group {
	display: flex;
	align-items: baseline;
	gap: 1rem;
}

.widget-container select {
	padding: 8px 12px;
	border: 1px solid var(--light);
	border-radius: 4px;
	background: white;
	font-size: 14px;
	cursor: pointer;
}

.table-responsive {
	overflow-x: auto;
}

table.bin-table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	font-size: 14px;
}

table.bin-table th,
table.bin-table td {
	padding: 12px;
	text-align: right;
	border-bottom: 1px solid var(--light);
}

table.bin-table th:first-child,
table.bin-table td:first-child {
	text-align: left;
}

table.bin-table th {
	background: var(--secondary);
	font-weight: 600;
	color: white;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

table.bin-table th:hover {
	background: var(--secondary-dark);
}

table.bin-table tr:hover {
	background: var(--light);
}


.tabs-widget-container {
	font-family: system-ui, -apple-system, sans-serif;
	max-width: 100%;
	margin: 20px auto;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tabs-nav {
	display: flex;
	background: #f3f4f6;
	border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
	padding: 12px 24px;
	border: none;
	background: none;
	cursor: pointer;
	font-weight: 600;
	color: #000;
	border-right: 1px solid #e5e7eb;
	white-space: nowrap;
	transition: all 0.2s;
	margin-bottom: -1px;
}

.tab-btn:hover {
	background: #f9fafb;
}

.tab-btn.active {
	background: #fff;
	color: #111827;
}

body.single-meridian_product .tabs-content-wrapper .tab-content {
	display: none;
	padding: 20px;
}


body.single-meridian_product .tabs-content-wrapper .tab-content.active {
	display: block;
}

table.bin-table th.active {
	background-color: var(--primary);
}

table.bin-table th.active.desc {
	background-color: var(--primary-dark);
}

.product-image {
	z-index: 99;
	position: relative;
	filter: drop-shadow(.1rem .1rem .4rem rgba(0, 0, 0, 0.25));
}

.img-shadow {
	filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5));
}

/* Базовые стили сетки (оставь из прошлого ответа) */
.pricing-style-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin: 40px 0;
	font-family: inherit;
}

.pricing-style-grid:has(.full-col) {
	grid-template-columns: 1fr;
}

@media (max-width: 768px) {
	.pricing-style-grid {
		grid-template-columns: 1fr;
	}
}

.pricing-col {
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.pricing-col:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-col h2 {
	margin: 0;
	padding: 40px 20px;
	color: #ffffff;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.col-standard h2 {
	background-color: var(--primary);
	min-height: 8.5rem;
}

.col-options h2 {
	background-color: var(--secondary);
	min-height: 8.5rem;
}

.col-additional-options h2 {
	background-color: var(--secondary);
	min-height: 8.5rem;
}

/* Общие списки */
.pricing-col ul:not(.nav) {
	list-style: none;
	margin: 0;
	padding: 0;
	flex-grow: 1;
	border: 1px solid #f0f0f0;
	border-top: none;
}

.pricing-col li:not(.nav-item) {
	padding: 14px 20px;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
	transition: background-color 0.2s ease;
}

.pricing-col li:last-child {
	border-bottom: none;
}

.pricing-col .nav-tabs .nav-link {
	border-left: none;
	border-right: none;
	border-top: none;
}

/* -----------------------------------
   1. ИНТЕРАКТИВНЫЕ ОПЦИИ (ЧЕКБОКСЫ)
----------------------------------- */
.option-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	width: 100%;
	color: #4a4a4a;
	font-size: 0.95rem;
	line-height: 1.4;
	user-select: none;
}

/* Скрываем стандартный чекбокс */
.option-checkbox {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Кастомный чекбокс (квадрат) */
.custom-check {
	height: 20px;
	width: 20px;
	background-color: #eee;
	border: 2px solid #ddd;
	border-radius: 4px;
	margin-right: 15px;
	position: relative;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

/* Наведение на строку опции */
.option-label:hover .custom-check {
	background-color: #fce8e9;
	border-color: #ED1C24;
}

/* Состояние "Выбрано" */
.option-checkbox:checked~.custom-check {
	background-color: #ED1C24;
	border-color: #ED1C24;
}

/* Галочка внутри выбранного чекбокса */
.option-checkbox:checked~.custom-check:after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Подсветка строки при выборе */
.interactive-options li:has(.option-checkbox:checked) {
	background-color: rgba(237, 28, 36, 0.05);
}

/* -----------------------------------
   2. СТАНДАРТНЫЕ ФИЧИ И ТУЛТИПЫ
----------------------------------- */
.col-standard li {
	display: flex;
	align-items: flex-start;
	color: #4a4a4a;
	font-size: 0.95rem;
	line-height: 1.4;
}

/* Статическая галочка для стандарта */
.col-standard li::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 15px;
	margin-top: 2px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300AEEF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

/* Всплывающая подсказка на CSS */
.tooltip-item {
	cursor: help;
}

.tooltip-item::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(10px);
	background-color: #333;
	color: #fff;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 0.8rem;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	z-index: 10;
	pointer-events: none;
}

.tooltip-item:hover::after {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(-5px);
}

/* Счетчик в заголовке */
.selected-count {
	font-size: 0.8rem;
	font-weight: 400;
	opacity: 0.8;
	text-transform: none;
	letter-spacing: normal;
}

@media al and (min-width: 768px) {
	.products-images:has(.product-image) {
		position: relative;
		background-color: var(--light);
	}
}

body.page-template-template-configurator div.form-check:has(input[type="radio"]) {
	min-width: 100px;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
	color: var(--bs-btn-active-color);
	background-color: var(--primary);
	border-color: var(--bs-primary-dark);
}

.border-primary {
	border-color: rgba(var(--primary-rgb), var(--bs-border-opacity)) !important;
}

.FeaturesOptionsLists:has(#common-options-wrapper.d-none) #std-features-wrapper {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

#tables-container {
	width: 100%;
	max-width: 100vw;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}

#tables-container table {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
}

.mobile-hamburger-btn {
	background-color: transparent;
	background: none;
	padding: .25rem;
	margin: 0;
	border: 1px solid white;
	width: 40px;
	height: 40px;
	color: white;
	font-size: 24px;
	line-height: 1.2rem;
	border-radius: 2px;
	display: none;
}

.product-type-navigation {
	margin: 0;
	padding: 0;
	display: none;
}

.cat-link.mega-link.current {
	font-weight: 600 !important;
}

.sub-prod-item.current-item .prod-link.current {
	font-weight: 600 !important;
}

.image-products {
	height: 10rem;
	position: relative;
}

.image-products img.meridian-logotype {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 75%;
}

.image-products img.product-thumbnail {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* Сокращенная запись центрирования */
	width: 40%;
	filter: drop-shadow(.1rem .1rem .4rem rgba(0, 0, 0, 0.25));
	transition: all 0.3s ease;
}

.image-products:hover img.product-thumbnail {
	filter: drop-shadow(.1rem .1rem .4rem rgba(0, 0, 0, 0.33));
	transform: translate(-50%, -50%) scale(1.15);
	/* Сохраняем центрирование и добавляем зум */
}

@media all and (max-width:1560px) {
	.nav-menu-list .cat-item .cat-link {
		color: black;
		text-decoration: none;
		display: inline-block;
		padding: calc(.25rem + 1vw) calc(.1rem + 1vw);
	}
}

@media all and (max-width:1368px) {
	.nav-menu-list .cat-item .cat-link {
		color: black;
		text-decoration: none;
		display: inline-block;
		padding: calc(.25rem + 1vw) calc(.1rem + .1vw);
	}

	.main-headline-for-the-page .container {
		transform: translateX(-50%) translateY(-40%);
	}
}

@media all and (max-width:1300px) {
	.site-header .header-top {
		position: relative;
		z-index: 999;
	}

	.site-header.meridian-header-scrolled .header-top {
		background: white;
	}

	.site-header .header-main {
		position: relative;
		z-index: 999;
	}
}

.logo-mobile {
	display: none;
}

@media (max-width: 1200px) {
	.logo-mobile {
		display: block;
		width: 120px;
		position: absolute;
		clear: none;
		top: .25rem;
		left: 1rem;
	}

	.header-top .w-100 {
		width: calc(100% - 120px) !important;
		margin: 0 0 0 auto;
	}

	.site-header:not(.meridian-header-scrolled) .logo-mobile {
		filter: grayscale(10) brightness(100);
	}

	.site-header:not(.meridian-header-scrolled) .header-main .sub-menu-grid.depth-1 .prod-link.mega-link {
		color: #000;
		display: block;
		padding: .5rem .1rem;
	}

	.header-right-group {
		width: 100%;
		display: block !important;
		text-align: right;
		position: relative;
	}

	.logos {
		display: none;
	}

	.header-right {
		margin-right: 0;
		margin-left: auto;
		display: inline-block;
		position: relative;
		top: 1rem;
	}

	.mobile-hamburger-btn {
		display: block;
		float: left;
		margin: .5rem 0;
	}

	.meridian-header-scrolled .mobile-hamburger-btn {
		border-color: var(--secondary);
		color: var(--secondary);
	}

	.main-navigation {
		display: none;
	}

	.mobile-hamburger-btn.active+.main-navigation:has(.mode-menu.active) {
		display: block;
		position: absolute;
		top: 100%;
		width: 100%;
		background: white;
		border: 1px solid #ddd;
		padding: 0;
		overflow: auto;
		height: calc(100vh - 10rem);
		text-align: left;
	}

	.img-menu-wrapper {
		display: none;
	}

	.sub-menu-grid.depth-0 {
		transform: none;
		left: 0;
	}

	.nav-menu-list {
		display: block !Important;
	}

	.product-type-navigation {
		display: flex;
		flex-wrap: nowrap;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.product-type-navigation li {
		flex: 0 0 50%;
		max-width: 50%;
		box-sizing: border-box;
	}

	.product-type-navigation li a {
		display: block;
		width: 100%;
		text-align: center;
		background: var(--light);
		padding: .25rem;
		text-decoration: none;
		color: black;
	}

	.product-type-navigation li a.active {
		background: var(--secondary);
		color: white;
	}

	.site-header:not(.meridian-header-scrolled) .header-main .nav-menu-list .cat-item .cat-link {
		color: #000000;
		font-weight: 600;
		font-size: 1.5rem;
		line-height: 1;
		padding: 1rem .5rem;
	}

	.cat-item:has(.sub-menu-grid):hover>a::before,
	.cat-item:has(.sub-menu-grid)>a::before {
		display: none;
		opacity: 0;
	}

	.sub-menu-grid.depth-0 {
		display: block;
		width: 100%;
		overflow: hidden;
		max-height: unset;
		position: relative;
		box-shadow: none;
		border: none;
		border-top: 1px solid var(--light);
	}

	.masonry-wrapper {
		max-height: initial;
		gap: 1vh;
	}

	.masonry-wrapper>.prod-item {
		height: auto;
		width: calc((100% - (4 * 30px)) / 3);
	}

	html:has(.mobile-hamburger-btn.active) {
		overflow: hidden;
	}

	.cat-item {
		border-bottom: 1px solid var(--light);
	}

	.cat-item:hover .sub-menu-grid.depth-0 {
		display: block !important;
	}

	.site-header:not(.meridian-header-scrolled) .header-main .sub-menu-grid.depth-0 {
		max-height: unset;
		padding-top: 0;
	}
}

@media (max-width: 768px) {
	.logo-mobile {
		margin-top: .5rem;
	}
}

@media (max-width: 960px) {
	.masonry-wrapper>.prod-item {
		height: auto;
		width: calc((100% - (4 * 30px)) / 2);
	}
}

@media (max-width: 640px) {
	.masonry-wrapper>.prod-item {
		height: auto;
		width: calc((100% - (4 * 30px)) / 2);
		margin: 0;
	}
}

@media (max-width: 560px) {
	.top-links {
		padding: 0 .25rem;
		width: 33.33%;
	}

	.top-links .bi {
		display: none;
	}

	.logo-mobile {
		margin-top: 0;
		width: 100px;
	}

	.header-top .w-100 {
		width: calc(100% - 100px) !important;
		margin: 0 0 0 auto;
	}

	#trigger-bottom-search {
		display: none;
	}
}

/* Оверлей */
#slide-panel-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

#slide-panel-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

/* Выезжающая панель */
#slide-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 400px;
	height: 100vh;
	background-color: #ffffff;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	transform: translateX(100%);
	transition: transform 0.3s ease-in-out;
	overflow-y: auto;
	padding: 20px;
}

#slide-panel.is-open {
	transform: translateX(0);
}

/* Кнопка закрытия */
#slide-panel-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	position: absolute;
	top: 15px;
	right: 20px;
	color: #333;
	padding: 0;
	line-height: 1;
}

#slide-panel-close:hover {
	color: #000;
}

.slide-panel-content {
	margin-top: 40px;
}

#slide-panel form label,
#slide-panel form select,
#slide-panel form input {
	width: 100%;
}

#modelCommonFeaturesTabs .nav-link,
#modelFeaturesTabs .nav-link {
	color: black;
}

.col-additional-features h2 {
	background-color: var(--primary);
	min-height: 8.5rem;
}

.interactive-options li.extra-model-features:has(.option-checkbox:checked) {
	background-color: rgba(120, 120, 120, 0.05);
}


/* --- ОСНОВНАЯ СЕТКА (4 колонки) --- */
.blog-media-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

/* --- ОБЕРТКИ КАРТИНОК --- */
.img-wrapper {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Идеально обрезает и центрирует любые форматы */
	display: block;
}

/* --- РАСПОЛОЖЕНИЕ ЭЛЕМЕНТОВ НА DESKTOP --- */

/* Картинка 1: занимает 2-ю колонку (25% ширины, выровнена вправо) и 1-ю строку */
.item-img-1 {
	grid-column: 2 / 3;
	grid-row: 1 / 2;
}

/* Заголовок: занимает 1 и 2 колонку (50% ширины) и 2-ю строку */
.item-title {
	grid-column: 1 / 3;
	grid-row: 2 / 3;
	display: flex;
	align-items: flex-end;
	/* Прижимает текст к нижнему краю */
	padding-top: 15px;
}

.item-title a {
	text-decoration: none;
}

/* Картинка 2: занимает 3 и 4 колонку (50% ширины) и 1-ю строку */
.item-img-2 {
	grid-column: 3 / 5;
	grid-row: 1 / 2;
	aspect-ratio: 16 / 9;
	/* Задает высоту верхней строки для идеального выравнивания */
}

/* Картинка 3: занимает 3 и 4 колонку и 2-ю строку */
.item-img-3 {
	grid-column: 3 / 5;
	grid-row: 2 / 3;
	aspect-ratio: 16 / 9;
	/* Задает высоту нижней строки */
}

/* Если Картинки 3 нет, Картинка 2 растягивается на обе строки */
.blog-media-grid.has-2-imgs .item-img-2 {
	grid-row: 1 / 3;
	aspect-ratio: auto;
}

/* Добавляем пропорцию для Картинки 1, чтобы сетка не ломалась, если нет 3-й картинки */
.blog-media-grid.has-2-imgs .item-img-1 {
	aspect-ratio: 3 / 4;
}

/* Текст: занимает все 4 колонки и идет с новой строки (ниже картинок) */
.blog-text {
	grid-column: 1 / -1;
	grid-row: 3 / 4;
	column-count: 2;
	column-gap: 30px;
	margin-top: 20px;
}

/* --- АДАПТИВ (Планшеты и Мобильные, до 768px) --- */
@media (max-width: 768px) {

	/* Переключаем Grid на Flexbox для легкого изменения порядка (Order) */
	.blog-media-grid {
		display: flex;
		flex-direction: column;
		gap: 0;
		/* Зазоры будем делать через margin */
	}

	/* Убираем жесткие пропорции высоты на мобильных */
	.item-img-1,
	.item-img-2,
	.item-img-3 {
		aspect-ratio: 16 / 9 !important;
		/* Все картинки на телефоне одинаковых пропорций */
	}

	/* 1. Картинка 1 (сверху) */
	.item-img-1 {
		order: 1;
	}

	/* 2. Заголовок (под Картинкой 1) */
	.item-title {
		order: 2;
		padding: 15px 0 25px 0;
	}

	/* 3. Текст (Идет ДО остальных картинок) */
	.blog-text {
		order: 3;
		column-count: 1;
		/* В один столбец */
		margin-top: 0;
	}

	/* 4. Картинка 2 (Уходит вниз) */
	.item-img-2 {
		order: 4;
		margin-top: 30px;
	}

	/* 5. Картинка 3 (В самом низу) */
	.item-img-3 {
		order: 5;
		margin-top: 20px;
	}
}

.blog-text h1,
.blog-text h2,
.blog-text h3,
.blog-text h4,
.blog-text h5,
.blog-text h6 {
	break-after: avoid;
	page-break-after: avoid;
	/* Фоллбэк для старых браузеров */
	-webkit-column-break-after: avoid;
	/* Для Safari/iOS */
	margin-bottom: 15px;
	/* Убедись, что есть небольшой отступ снизу */
}

.blog-text h2 {
	font-size: calc(1rem + .5vw);
}

.video-img {
	height: 47rem;
	width: auto;
	max-width: initial;
	transform: translateY(-6rem);
}

.fl_hover_effect .col-3 {
	border-top-left-radius: .4rem;
	border-bottom-left-radius: .4rem;
	overflow: hidden;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, .05);
	transition: var(--smooth);
}

.fl_hover_effect .col-9 {
	border-top-right-radius: .4rem;
	border-bottom-right-radius: .4rem;
	overflow: hidden;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, .05);
	transition: var(--smooth);
}

.fl_hover_effect:hover .col-3,
.fl_hover_effect:hover .col-9 {
	box-shadow: 3px 3px 5px rgba(0, 0, 0, .15);
}

#StandardFeatures h3 {
	padding: 0 1.25rem;
	margin-bottom: 0;
}

#accordionFAQ .accordion-button[aria-expanded="false"] {
	background-color: rgba(var(--primary-rgb), 0) !Important;
	color: black;
}

#accordionFAQ .accordion-button[aria-expanded="true"] {
	background-color: rgba(var(--primary-rgb), 1) !Important;
	color: white;
}

#accordionFAQ .accordion-button[aria-expanded="true"]::after {
	filter: brightness(100);
}


@media all and (max-width: 1740px) {
	.nav-menu-list .cat-item .cat-link {
		padding-left: 1vw;
		padding-right: 1vw;
	}
	.logos img {
		height: 1.5vw;
		width: auto;
	}
}

@media all and (max-width: 1540px) {
	#menu-industrial .cat-item:nth-child(1){
		display: none;
	}
}

@media all and (max-width: 1410px) {
	#menu-industrial .cat-item:nth-child(1){
		display: none;
	}
}

.bin-table tbody tr {
	cursor: pointer;
}

.gform_submission_error {
    font-size: 14px !important;
    background: red;
    padding: 1rem;
    color: white;
}
#field_3_8 {
	display: none;
}

.accordion-button {
	font-weight: 500;
}

.interactive-options p {
	font-weight: 500;
	display: block; 
	margin: .5rem 1rem;
	color: var(--primary);
}

#modelFeaturesTabContent h3,
#modelCommonFeaturesTabContent h3 {
	color: var(--primary);
}