/**
 * Solar43 header - 2 ряда по стайлгайду
 */

.s43-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--s43-white);
	box-shadow: 0 1px 0 rgba(18, 59, 93, 0.06);
}

.s43-header__top {
	background: #fff;
}

.s43-header__top-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 88px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.s43-header__brand {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	max-width: 210px;
	text-decoration: none !important;
	line-height: 1.1;
}

.s43-header__logo-img {
	display: block;
	height: 42px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
}

.s43-header__slogan {
	display: block;
	color: var(--s43-navy);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.3;
}

.s43-header__vsep {
	flex: 0 0 auto;
	align-self: stretch;
	width: 1px;
	margin: 8px 0;
	background: var(--s43-border);
}

.s43-header__tagline {
	flex: 0 1 200px;
	margin: 0;
	color: var(--s43-muted);
	font-size: 13px;
	line-height: 1.35;
	max-width: 200px;
}

.s43-header__meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	flex: 1 1 auto;
	margin-left: auto;
	min-width: 0;
}

.s43-header__meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--s43-navy);
	text-decoration: none !important;
	min-width: 0;
}

.s43-header__meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: var(--s43-navy);
}

.s43-header__meta-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	line-height: 1.2;
}

.s43-header__meta-text strong {
	font-size: 15px;
	font-weight: 700;
	color: var(--s43-navy);
	white-space: nowrap;
}

.s43-header__meta-text small {
	font-size: 12px;
	color: var(--s43-muted);
	white-space: nowrap;
}

.s43-header__meta-item--phone:hover strong,
.s43-header__meta-item--phone:focus strong {
	color: var(--s43-orange);
}

.s43-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	background: var(--s43-orange);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--s43-radius);
	text-decoration: none !important;
	white-space: nowrap;
}

.s43-header__cta:hover,
.s43-header__cta:focus {
	background: #d97810;
	color: #fff !important;
}

.s43-header__cta--block {
	width: 100%;
	margin-top: 16px;
}

.s43-header__burger {
	display: none;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 1px solid var(--s43-border);
	border-radius: var(--s43-radius);
	background: #fff;
	cursor: pointer;
}

.s43-header__burger span {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: var(--s43-navy);
	border-radius: 1px;
}

.s43-header__navrow {
	border-top: 1px solid var(--s43-border);
	background: #fff;
}

.s43-header__navrow-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 52px;
}

.s43-header__nav {
	flex: 1 1 auto;
	min-width: 0;
}

.s43-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.s43-menu a {
	display: inline-block;
	padding: 14px 0;
	color: var(--s43-navy);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.s43-menu a:hover,
.s43-menu a:focus,
.s43-menu .current-menu-item > a {
	color: var(--s43-orange);
}

.s43-header__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	color: var(--s43-navy);
	background: var(--s43-bg);
	border: 1px solid var(--s43-border);
	border-radius: var(--s43-radius);
	text-decoration: none;
}

.s43-header__search:hover,
.s43-header__search:focus {
	color: var(--s43-orange);
	border-color: var(--s43-orange);
}

.s43-header__drawer {
	display: none;
	border-top: 1px solid var(--s43-border);
	background: #fff;
	padding: 16px 0 20px;
}

.s43-header.is-open .s43-header__drawer {
	display: block;
}

.s43-header__drawer-phone {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--s43-navy);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.s43-header__drawer .s43-menu {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.s43-header__drawer .s43-menu a {
	padding: 12px 0;
	border-bottom: 1px solid var(--s43-border);
	white-space: normal;
}

@media (max-width: 1200px) {
	.s43-header__tagline {
		display: none;
	}

	.s43-header__vsep {
		display: none;
	}
}

@media (max-width: 1024px) {
	.s43-header__navrow {
		display: none;
	}

	.s43-header__burger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
	}

	.s43-header__meta {
		gap: 14px;
	}
}

@media (max-width: 760px) {
	.s43-header__meta-item--location {
		display: none;
	}

	.s43-header__top-inner {
		min-height: 72px;
		gap: 12px;
	}

	.s43-header__logo-img {
		height: 36px;
	}

	.s43-header__slogan {
		font-size: 8px;
		max-width: 150px;
	}
}

@media (max-width: 560px) {
	.s43-header__meta-item--phone small {
		display: none;
	}

	.s43-header__cta {
		display: none;
	}

	.s43-header__cta--block {
		display: inline-flex;
	}

	.s43-header__meta-text strong {
		font-size: 13px;
	}
}
