/* ========================================================================
   TEXNORENT — compact header based on the approved reference.
   It has only two desktop rows and never remains fixed while the page scrolls.
   ======================================================================== */

.site-header.tn-header-v2.tn-header-v2--reference {
	--tn-header-bg: #2c2c2c;
	--tn-header-red: #ef1027;
	--tn-header-white: #ffffff;
	--tn-header-line: rgba(255, 255, 255, 0.28);
	position: relative !important;
	z-index: 50;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--tn-header-line);
	background: var(--tn-header-bg);
	color: var(--tn-header-white);
	font-family: "Manrope", Arial, sans-serif;
	isolation: isolate;
}

.tn-header-v2--reference *,
.tn-header-v2--reference *::before,
.tn-header-v2--reference *::after {
	box-sizing: border-box;
}

.tn-header-v2--reference a {
	color: inherit;
	text-decoration: none;
}

/* This is the cause of the tall broken desktop header: it is mobile-only. */
.tn-header-v2--reference .tn-header-v2__mobile-info {
	display: none !important;
}

/* Top service line ------------------------------------------------------- */
.tn-header-v2--reference .tn-header-v2__topbar {
	display: block !important;
	height: 35px;
	border-bottom: 1px solid var(--tn-header-line);
	background: var(--tn-header-bg);
}

.tn-header-v2--reference .tn-header-v2__topbar-inner {
	display: grid !important;
	grid-template-columns: minmax(250px, 1fr) auto auto;
	align-items: center;
	gap: clamp(18px, 2.1vw, 38px);
	min-height: 34px !important;
	height: 34px;
	padding-top: 0;
	padding-bottom: 0;
}

.tn-header-v2--reference .tn-header-v2__address,
.tn-header-v2--reference .tn-header-v2__work-info,
.tn-header-v2--reference .tn-header-v2__quick-links a {
	color: var(--tn-header-white);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.tn-header-v2--reference .tn-header-v2__address {
	display: flex;
	align-items: center;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tn-header-v2--reference .tn-header-v2__address span {
	margin-right: 6px;
	color: var(--tn-header-red);
	font-weight: 800;
	text-transform: uppercase;
}

.tn-header-v2--reference .tn-header-v2__quick-links,
.tn-header-v2--reference .tn-header-v2__work-info {
	display: flex !important;
	align-items: center;
	gap: clamp(12px, 1.25vw, 22px);
}

.tn-header-v2--reference .tn-header-v2__quick-links a {
	display: inline-flex;
	align-items: center;
}

.tn-header-v2--reference .tn-header-v2__quick-links a::before {
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 7px 0 0;
	background: var(--tn-header-red);
	content: "";
}

.tn-header-v2--reference .tn-header-v2__quick-links a:hover,
.tn-header-v2--reference .tn-header-v2__quick-links a:focus-visible,
.tn-header-v2--reference .tn-header-v2__work-info a:hover,
.tn-header-v2--reference .tn-header-v2__work-info a:focus-visible {
	color: var(--tn-header-red);
}

/* Main line -------------------------------------------------------------- */
.tn-header-v2--reference .tn-header-v2__main {
	position: relative;
	height: 52px;
	border: 0;
	border-bottom: 1px solid var(--tn-header-line);
	background: var(--tn-header-bg);
}

.tn-header-v2--reference .tn-header-v2__main-inner {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	grid-template-areas: "brand navigation phone actions";
	align-items: center;
	gap: clamp(12px, 1.05vw, 20px);
	min-height: 51px !important;
	height: 51px;
	padding-top: 0;
	padding-bottom: 0;
}

.tn-header-v2--reference .tn-header-v2__brand {
	grid-area: brand;
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	margin: 0 !important;
	padding: 0;
	line-height: 0;
}

.tn-header-v2--reference .tn-header-v2__brand .custom-logo-link {
	display: block;
	line-height: 0;
}

.tn-header-v2--reference .tn-header-v2__brand img,
.tn-header-v2--reference .tn-header-v2__brand .custom-logo-link img {
	display: block !important;
	width: 128px !important;
	max-width: 128px !important;
	height: auto !important;
	max-height: 31px !important;
	margin: 0 !important;
	object-fit: contain;
}

/* Compact text navigation: no square cells or white blocks. */
.tn-header-v2--reference .tn-header-v2__navigation {
	grid-area: navigation;
	position: static !important;
	display: block !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.tn-header-v2--reference .main-navigation ul.tn-header-v2__navigation-list,
.tn-header-v2--reference ul.tn-header-v2__navigation-list {
	display: flex !important;
	align-items: stretch;
	justify-content: space-between;
	gap: clamp(8px, 0.95vw, 17px);
	width: 100%;
	height: 51px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.tn-header-v2--reference .tn-header-v2__navigation-list > li {
	position: static;
	display: block;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.tn-header-v2--reference .tn-menu-item__row {
	display: flex;
	height: 51px;
}

.tn-header-v2--reference .tn-header-v2__navigation-list > li > a,
.tn-header-v2--reference .tn-menu-item__row > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 51px;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	background: transparent !important;
	color: var(--tn-header-white) !important;
	font-size: 9px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: -0.015em;
	white-space: nowrap;
	text-transform: uppercase;
	transition: border-color 0.18s ease, color 0.18s ease;
}

.tn-header-v2--reference .tn-header-v2__navigation-list > li:hover > a,
.tn-header-v2--reference .tn-header-v2__navigation-list > li:hover > .tn-menu-item__row > a,
.tn-header-v2--reference .tn-header-v2__navigation-list > li:focus-within > a,
.tn-header-v2--reference .tn-header-v2__navigation-list > li:focus-within > .tn-menu-item__row > a,
.tn-header-v2--reference .tn-header-v2__navigation-list > li.current-menu-item > a,
.tn-header-v2--reference .tn-header-v2__navigation-list > li.current-menu-item > .tn-menu-item__row > a,
.tn-header-v2--reference .tn-header-v2__navigation-list > li.current_page_item > a,
.tn-header-v2--reference .tn-header-v2__navigation-list > li.current_page_item > .tn-menu-item__row > a {
	border-bottom-color: var(--tn-header-red) !important;
	background: transparent !important;
	color: var(--tn-header-white) !important;
}

.tn-header-v2--reference .tn-submenu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: var(--tn-header-white);
	cursor: pointer;
}

/* Desktop submenu -------------------------------------------------------- */
.tn-header-v2--reference .tn-submenu {
	position: absolute !important;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 70;
	visibility: hidden;
	border-top: 2px solid var(--tn-header-red);
	border-bottom: 1px solid var(--tn-header-line);
	background: var(--tn-header-bg) !important;
	opacity: 0;
	transform: translateY(-7px);
	pointer-events: none;
	transition: opacity 0.16s ease, transform 0.18s ease, visibility 0.18s ease;
}

.tn-header-v2--reference .tn-menu-item--has-submenu:hover .tn-submenu,
.tn-header-v2--reference .tn-menu-item--has-submenu:focus-within .tn-submenu,
.tn-header-v2--reference .tn-menu-item--has-submenu.is-open .tn-submenu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.tn-header-v2--reference .tn-submenu__panel {
	display: grid;
	grid-template-columns: 185px minmax(0, 1fr);
	gap: 28px;
	width: min(1536px, calc(100% - 64px));
	margin: 0 auto;
	padding: 19px 0 22px;
	background: transparent !important;
}

.tn-header-v2--reference .tn-submenu__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 110px;
	padding: 0 28px 0 0;
	border-right: 1px solid var(--tn-header-line);
	background: transparent !important;
}

.tn-header-v2--reference .tn-submenu__intro > span {
	display: block;
	margin: 0 0 7px;
	color: var(--tn-header-red);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.tn-header-v2--reference .tn-submenu__intro strong {
	display: block;
	margin: 0 0 13px;
	color: var(--tn-header-white);
	font-family: "Oswald", Arial, sans-serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.tn-header-v2--reference .tn-submenu__intro a {
	color: var(--tn-header-white);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.tn-header-v2--reference .tn-submenu__intro a:hover,
.tn-header-v2--reference .tn-submenu__intro a:focus-visible {
	color: var(--tn-header-red);
}

.tn-header-v2--reference .tn-submenu__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-content: start;
	background: transparent !important;
}

.tn-header-v2--reference .tn-submenu__links a {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 9px 13px;
	border: 0 !important;
	border-right: 1px solid var(--tn-header-line) !important;
	border-bottom: 1px solid var(--tn-header-line) !important;
	background: transparent !important;
	box-shadow: inset 0 0 0 transparent;
	color: var(--tn-header-white) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.3;
	text-transform: uppercase;
	transition: background 0.16s ease, box-shadow 0.16s ease;
}

.tn-header-v2--reference .tn-submenu__links a:nth-child(3n) {
	border-right: 0 !important;
}

.tn-header-v2--reference .tn-submenu__links a:hover,
.tn-header-v2--reference .tn-submenu__links a:focus-visible {
	background: rgba(239, 16, 39, 0.14) !important;
	box-shadow: inset 3px 0 0 var(--tn-header-red);
	color: var(--tn-header-white) !important;
}

.tn-header-v2--reference .tn-submenu__links a span {
	flex: 0 0 auto;
	color: var(--tn-header-red);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.16s ease;
}

.tn-header-v2--reference .tn-submenu__links a:hover span,
.tn-header-v2--reference .tn-submenu__links a:focus-visible span {
	transform: translateX(3px);
}

/* Phone, buttons and search --------------------------------------------- */
.tn-header-v2--reference .tn-phone-dropdown {
	grid-area: phone;
	position: relative;
	display: block;
	margin: 0 !important;
	padding: 0;
}

.tn-header-v2--reference .tn-phone-dropdown__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: var(--tn-header-white);
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	list-style: none;
	white-space: nowrap;
	cursor: pointer;
}

.tn-header-v2--reference .tn-phone-dropdown__summary::-webkit-details-marker {
	display: none;
}

.tn-header-v2--reference .tn-phone-dropdown__arrow {
	display: block;
	width: 9px;
	height: 9px;
	margin-top: -5px;
	border-right: 2px solid var(--tn-header-red);
	border-bottom: 2px solid var(--tn-header-red);
	transform: rotate(45deg);
	transition: transform 0.16s ease;
}

.tn-header-v2--reference .tn-phone-dropdown[open] .tn-phone-dropdown__arrow {
	margin-top: 4px;
	transform: rotate(225deg);
}

.tn-header-v2--reference .tn-phone-dropdown__list {
	position: absolute;
	top: calc(100% + 15px);
	right: 0;
	display: grid;
	gap: 2px;
	width: 232px;
	padding: 8px;
	border-top: 2px solid var(--tn-header-red);
	background: var(--tn-header-bg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.tn-header-v2--reference .tn-phone-dropdown[open] .tn-phone-dropdown__list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

@media (hover: hover) and (min-width: 1181px) {
	.tn-header-v2--reference .tn-phone-dropdown:hover .tn-phone-dropdown__list {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}
}

.tn-header-v2--reference .tn-phone-dropdown__list a {
	display: block;
	padding: 10px 12px;
	background: transparent;
	color: var(--tn-header-white);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.tn-header-v2--reference .tn-phone-dropdown__list a:hover,
.tn-header-v2--reference .tn-phone-dropdown__list a:focus-visible {
	background: rgba(239, 16, 39, 0.14);
	box-shadow: inset 3px 0 0 var(--tn-header-red);
}

.tn-header-v2--reference .tn-header-v2__actions {
	grid-area: actions;
	display: flex !important;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 0;
}

.tn-header-v2--reference .tn-header-v2__callback,
.tn-header-v2--reference .tn-header-v2__calculation {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 35px;
	padding: 0 15px;
	border: 1px solid var(--tn-header-white);
	border-radius: 0;
	background: transparent;
	color: var(--tn-header-white) !important;
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	text-transform: uppercase;
	transition: background 0.16s ease, border-color 0.16s ease;
}

.tn-header-v2--reference .tn-header-v2__calculation {
	border-color: var(--tn-header-red);
	background: var(--tn-header-red);
}

.tn-header-v2--reference .tn-header-v2__callback:hover,
.tn-header-v2--reference .tn-header-v2__callback:focus-visible {
	border-color: var(--tn-header-red);
	background: var(--tn-header-red);
}

.tn-header-v2--reference .tn-header-v2__calculation:hover,
.tn-header-v2--reference .tn-header-v2__calculation:focus-visible {
	border-color: var(--tn-header-white);
	background: transparent;
}

.tn-header-v2--reference .tn-header-v2__search,
.tn-header-v2--reference .tn-header-v2__menu-button {
	position: relative;
	display: block;
	flex: 0 0 35px;
	width: 35px;
	height: 35px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--tn-header-white);
	border-radius: 0;
	background: transparent;
	color: var(--tn-header-white);
	cursor: pointer;
	transition: background 0.16s ease, border-color 0.16s ease;
}

.tn-header-v2--reference .tn-header-v2__search span {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 13px;
	height: 13px;
	border: 2px solid var(--tn-header-white);
	border-radius: 50%;
}

.tn-header-v2--reference .tn-header-v2__search span::after {
	position: absolute;
	right: -6px;
	bottom: -4px;
	width: 7px;
	height: 2px;
	background: var(--tn-header-white);
	content: "";
	transform: rotate(-48deg);
}

.tn-header-v2--reference .tn-header-v2__menu-button {
	display: none;
}

.tn-header-v2--reference .tn-header-v2__menu-button span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--tn-header-white);
}

.tn-header-v2--reference .tn-header-v2__search:hover,
.tn-header-v2--reference .tn-header-v2__search:focus-visible,
.tn-header-v2--reference .tn-header-v2__menu-button:hover,
.tn-header-v2--reference .tn-header-v2__menu-button:focus-visible {
	border-color: var(--tn-header-red);
	background: var(--tn-header-red);
}

.tn-header-v2--reference .header-search {
	position: absolute !important;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 80;
	padding: 14px 0;
	border-top: 1px solid var(--tn-header-line);
	border-bottom: 1px solid var(--tn-header-line);
	background: var(--tn-header-bg);
}

.tn-header-v2--reference .header-search[hidden] {
	display: none !important;
}

.tn-header-v2--reference .header-search:not([hidden]) {
	display: block !important;
}

.tn-header-v2--reference .search-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0;
	max-width: 780px;
	margin: 0 auto;
}

.tn-header-v2--reference .search-form input {
	min-height: 42px;
	border: 1px solid var(--tn-header-white);
	border-radius: 0;
	background: var(--tn-header-white);
	color: var(--tn-header-bg);
}

.tn-header-v2--reference .search-form button {
	min-width: 112px;
	border: 1px solid var(--tn-header-red);
	border-radius: 0;
	background: var(--tn-header-red);
	color: var(--tn-header-white);
}

/* Placement and front-page image slot ----------------------------------- */
/* Internal pages: header is a normal separate block, never sticky. */
.site-header.tn-header-v2.tn-header-v2--reference,
body:not(.home) .site-header.tn-header-v2.tn-header-v2--reference {
	position: relative !important;
	top: auto !important;
	background: var(--tn-header-bg);
}

/* Homepage: overlay above hero, but scrolls away together with the page. */
.home .site-header.tn-header-v2.tn-header-v2--reference {
	position: absolute !important;
	top: 0 !important;
	right: 0;
	left: 0;
	background: rgba(44, 44, 44, 0.74);
}

.home .tn-header-v2--reference .tn-header-v2__topbar,
.home .tn-header-v2--reference .tn-header-v2__main {
	background: transparent;
}

/* The customer's hero photo can be assigned to this variable later. */
.home .home-hero {
	--tn-home-hero-background: url("https://egds.ru/wp-content/uploads/2026/09/stone.png");
	background-image: var(--tn-home-hero-background);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.home .home-hero::after {
	background: linear-gradient(
		90deg,
		rgba(44, 44, 44, 0.92) 0%,
		rgba(44, 44, 44, 0.82) 40%,
		rgba(44, 44, 44, 0.34) 68%,
		rgba(44, 44, 44, 0.08) 100%
	);
}

.home .home-hero-layout {
	padding-top: 128px;
}

.tn-header-v2--reference a:focus-visible,
.tn-header-v2--reference button:focus-visible,
.tn-header-v2--reference summary:focus-visible {
	outline: 2px solid var(--tn-header-red);
	outline-offset: 2px;
}

/* Tablet and mobile ------------------------------------------------------ */
@media (max-width: 1180px) {
	.tn-header-v2--reference .tn-header-v2__topbar,
	.tn-header-v2--reference .tn-phone-dropdown,
	.tn-header-v2--reference .tn-header-v2__callback,
	.tn-header-v2--reference .tn-header-v2__calculation {
		display: none !important;
	}

	.tn-header-v2--reference .tn-header-v2__main {
		height: 68px;
	}

	.tn-header-v2--reference .tn-header-v2__main-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "brand actions";
		gap: 10px;
		min-height: 67px !important;
		height: 67px;
	}

	.tn-header-v2--reference .tn-header-v2__brand img,
	.tn-header-v2--reference .tn-header-v2__brand .custom-logo-link img {
		width: 150px !important;
		max-width: 150px !important;
		max-height: 38px !important;
	}

	.tn-header-v2--reference .tn-header-v2__actions {
		gap: 8px;
	}

	.tn-header-v2--reference .tn-header-v2__menu-button {
		display: block;
	}

	.tn-header-v2--reference .tn-header-v2__navigation {
		position: fixed !important;
		top: 68px;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		overflow-x: hidden;
		overflow-y: auto;
		margin: 0 !important;
		padding: 0 0 32px !important;
		border: 0 !important;
		background: var(--tn-header-bg) !important;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		pointer-events: none;
		transition: opacity 0.18s ease, transform 0.2s ease, visibility 0.2s ease;
	}

	.tn-header-v2--reference .tn-header-v2__navigation.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.tn-header-v2--reference .main-navigation ul.tn-header-v2__navigation-list,
	.tn-header-v2--reference ul.tn-header-v2__navigation-list {
		display: block !important;
		height: auto;
	}

	.tn-header-v2--reference .tn-header-v2__navigation-list > li,
	.tn-header-v2--reference .tn-header-v2__navigation-list > li:last-child {
		border-bottom: 1px solid var(--tn-header-line) !important;
	}

	.tn-header-v2--reference .tn-menu-item__row {
		height: 54px;
	}

	.tn-header-v2--reference .tn-header-v2__navigation-list > li > a,
	.tn-header-v2--reference .tn-menu-item__row > a {
		justify-content: flex-start;
		min-height: 54px;
		padding: 0 22px !important;
		border-bottom: 0 !important;
		font-size: 15px !important;
		letter-spacing: 0;
	}

	.tn-header-v2--reference .tn-header-v2__navigation-list > li:hover > a,
	.tn-header-v2--reference .tn-header-v2__navigation-list > li:hover > .tn-menu-item__row > a,
	.tn-header-v2--reference .tn-header-v2__navigation-list > li.current-menu-item > a,
	.tn-header-v2--reference .tn-header-v2__navigation-list > li.current-menu-item > .tn-menu-item__row > a,
	.tn-header-v2--reference .tn-header-v2__navigation-list > li.current_page_item > a,
	.tn-header-v2--reference .tn-header-v2__navigation-list > li.current_page_item > .tn-menu-item__row > a {
		background: rgba(239, 16, 39, 0.14) !important;
		box-shadow: inset 3px 0 0 var(--tn-header-red);
	}

	.tn-header-v2--reference .tn-submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 54px;
		width: 54px;
		border-left: 1px solid var(--tn-header-line);
	}

	.tn-header-v2--reference .tn-submenu-toggle span {
		display: block;
		width: 8px;
		height: 8px;
		margin-top: -4px;
		border-right: 2px solid var(--tn-header-red);
		border-bottom: 2px solid var(--tn-header-red);
		transform: rotate(45deg);
		transition: transform 0.16s ease;
	}

	.tn-header-v2--reference .tn-menu-item--has-submenu .tn-submenu {
		position: static !important;
		display: block;
		max-height: 0;
		overflow: hidden;
		border: 0;
		opacity: 0;
		transform: none;
		visibility: visible;
		pointer-events: none;
		transition: max-height 0.28s ease, opacity 0.18s ease;
	}

	.tn-header-v2--reference .tn-menu-item--has-submenu.is-open .tn-submenu {
		max-height: 1150px;
		opacity: 1;
		pointer-events: auto;
	}

	.tn-header-v2--reference .tn-menu-item--has-submenu.is-open .tn-submenu-toggle span {
		margin-top: 4px;
		transform: rotate(225deg);
	}

	.tn-header-v2--reference .tn-submenu__panel {
		display: block;
		width: 100%;
		margin: 0;
		padding: 20px 22px;
		border-top: 2px solid var(--tn-header-red);
	}

	.tn-header-v2--reference .tn-submenu__intro {
		min-height: 0;
		margin: 0 0 16px;
		padding: 0 0 16px;
		border-right: 0;
		border-bottom: 1px solid var(--tn-header-line);
	}

	.tn-header-v2--reference .tn-submenu__intro strong {
		font-size: 22px;
	}

	.tn-header-v2--reference .tn-submenu__links {
		grid-template-columns: 1fr;
	}

	.tn-header-v2--reference .tn-submenu__links a,
	.tn-header-v2--reference .tn-submenu__links a:nth-child(3n) {
		min-height: 48px;
		padding: 12px 14px;
		border-right: 0 !important;
		font-size: 13px !important;
	}

	.tn-header-v2--reference .tn-header-v2__mobile-info {
		display: grid !important;
		gap: 11px;
		margin: 28px 22px 0;
		padding: 24px 0 0;
		border-top: 1px solid var(--tn-header-line);
	}

	.tn-header-v2--reference .tn-header-v2__mobile-info > a {
		color: var(--tn-header-white);
		font-size: 17px;
		font-weight: 800;
		line-height: 1.25;
	}

	.tn-header-v2--reference .tn-header-v2__mobile-info p {
		margin: 0;
		color: var(--tn-header-white);
		font-size: 14px;
		line-height: 1.45;
	}

	.tn-header-v2--reference .tn-header-v2__mobile-ctas {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 8px;
	}

	.tn-header-v2--reference .tn-header-v2__mobile-ctas a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 0 16px;
		border: 1px solid var(--tn-header-white);
		color: var(--tn-header-white);
		font-size: 12px;
		font-weight: 800;
		text-align: center;
		text-transform: uppercase;
	}

	.tn-header-v2--reference .tn-header-v2__mobile-ctas a:last-child {
		border-color: var(--tn-header-red);
		background: var(--tn-header-red);
	}

	.tn-header-v2--reference .header-search {
		top: 68px;
		padding: 14px;
	}

	.home .home-hero-layout {
		padding-top: 104px;
	}
}

@media (max-width: 460px) {
	.tn-header-v2--reference .tn-header-v2__main-inner {
		gap: 8px;
	}

	.tn-header-v2--reference .tn-header-v2__brand img,
	.tn-header-v2--reference .tn-header-v2__brand .custom-logo-link img {
		width: 132px !important;
		max-width: 132px !important;
		max-height: 34px !important;
	}

	.tn-header-v2--reference .tn-header-v2__search,
	.tn-header-v2--reference .tn-header-v2__menu-button {
		flex-basis: 37px;
		width: 37px;
		height: 37px;
	}

	.tn-header-v2--reference .search-form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	body.admin-bar .home .site-header.tn-header-v2.tn-header-v2--reference {
		top: 46px !important;
	}
}

@media (min-width: 783px) {
	body.admin-bar .home .site-header.tn-header-v2.tn-header-v2--reference {
		top: 32px !important;
	}
}

@media (min-width: 1181px) {
	/* Главное меню */
	.tn-header-v2--reference .tn-header-v2__navigation-list > li > a,
	.tn-header-v2--reference .tn-menu-item__row > a {
		font-size: 11px !important;
	}

	/* Верхняя строка */
	.tn-header-v2--reference .tn-header-v2__address,
	.tn-header-v2--reference .tn-header-v2__work-info,
	.tn-header-v2--reference .tn-header-v2__quick-links a {
		font-size: 11px;
	}

	/* Кнопки */
	.tn-header-v2--reference .tn-header-v2__callback,
	.tn-header-v2--reference .tn-header-v2__calculation {
		font-size: 10px;
	}
}