/*
 * Шапка, меню, поиск, форма заявки, подвал и мобильная панель связи. Разметка -- системные блоки 1 (шапка), 3 (форма),
 * 4 (подвал) и 13 (мобильная панель). Палитра сайта: #00349a, #fe9900, #001e29, фон #f1f5fc, шрифт Montserrat.
 */

/* Шапка */
.header-line {
	padding: 6px 0;
	background: #fff;
}
.hdr-tag {
	align-items: center;
	gap: 10px;
}
.hdr-tag-ico {
	flex: none;
	width: 38px;
	height: 38px;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 50%;
	background: #fff3dc;
	stroke: #fe9900;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hdr-dealer {
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: #001e29;
}
.hdr-actions {
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}
a.hdr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 44px;
	padding: 0 20px;
	border: 2px solid #fe9900;
	border-radius: 50px;
	background: #fe9900;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	color: #fff;
	text-decoration: none;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
a.hdr-btn:hover {
	border-color: #00349a;
	background: #00349a;
	color: #fff;
}
a.hdr-btn--ghost {
	border-color: #00349a;
	background: transparent;
	color: #00349a;
}
a.hdr-btn--ghost:hover {
	background: #00349a;
	color: #fff;
}
a.hdr-tg {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	border: 2px solid #d5def2;
	border-radius: 50%;
	transition: border-color .2s ease;
}
a.hdr-tg:hover { border-color: #00349a; }
a.hdr-tg img {
	width: 24px;
	height: 24px;
}
div.header-phone a.hdr-phone2 {
	font-size: 15px;
	font-weight: 600;
}
div.header-phone a.email {
	color: #5b6b76;
}

/* Меню: без точек-разделителей, спокойнее по весу */
.nav > li {
	padding-left: 0;
	background-image: none;
}
.nav > li > a {
	padding-right: 30px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #001e29;
}
.nav > li > a:hover { color: #fe9900; }

/* Поиск по каталогу: тонкая полоса без подписи */
.search-box .themed-container {
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}
.search-box {
	padding: 12px 0;
	border-top: 1px solid #e5ebf8;
	border-bottom: 1px solid #e5ebf8;
	background: #f1f5fc;
}
.search-box .search-text { display: none !important; }
.search-box .search-form {
	flex: 0 0 100%;
	max-width: 100%;
}
.search-form table {
	border-color: #d5def2;
	border-radius: 50px;
}
.search-form input.query {
	padding-left: 20px;
}

/* Форма заявки в подвале */
.footer-bg {
	padding-top: 56px;
}
.ft-form {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 32px 48px;
	align-items: center;
	padding: 36px 44px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(0, 30, 41, .08);
}
p.ft-form-title {
	margin: 0 0 18px;
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	color: #001e29;
}
.ft-form ul.advantages li {
	padding: 4px 0 4px 34px;
}
.ft-form ul.advantages li::before {
	content: '\2713';
	top: 5px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff3dc;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	color: #fe9900;
}
.ft-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.ft-form .forma-call { margin-bottom: 16px; }
.ft-form .forma-call .input-medium {
	box-sizing: border-box;
	width: 100%;
	height: 50px;
	border: 1px solid #d5def2;
	background: #f7f9fd;
}
.ft-form .forma-call .input-medium:focus {
	outline: none;
	border-color: #00349a;
	background: #fff;
}
.ft-form-policy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.ft-form-policy input { margin-top: 2px; }
.ft-form-policy label {
	font-family: 'Montserrat', sans-serif;
	font-size: 12.5px;
	line-height: 1.45;
	color: #5b6b76;
}
.ft-form-policy label a {
	color: #00349a;
}
.ft-form-send { margin: 0; }
.ft-form .forma-call input.button-send,
.ft-form .forma-call input.button-send:hover {
	box-sizing: border-box;
	height: 50px;
	padding: 0 36px;
	font-size: 15px;
}
.ft-form .forma-call input.button-send:hover {
	border-color: #fe9900;
	background: #fe9900;
	box-shadow: none;
	color: #fff;
}

/* Подвал */
.ft-cols { padding-top: 40px; }
div.footer {
	margin-bottom: 24px;
	border-top: 0;
	line-height: 28px !important;
}
div.footer p {
	position: relative;
	margin: 0 0 16px;
	padding-bottom: 10px;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #001e29;
}
div.footer p::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: #fe9900;
}
div.footer a:hover { color: #fe9900; }
div.footer a.phone {
	font-size: 17px;
	color: #001e29;
}
div.footer a.phone:hover { color: #fe9900; }
.ft-social {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}
.ft-social a {
	display: inline-flex;
}
.ft-social img {
	width: 34px;
	height: 34px;
}
.ft-help-text {
	display: block;
	margin-bottom: 14px;
	line-height: 1.55;
	color: #33414a;
}
div.footer a.ft-btn {
	display: block;
	margin-bottom: 10px;
	padding: 12px 20px;
	border: 2px solid #00349a;
	border-radius: 50px;
	background: #00349a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: #fff;
}
div.footer a.ft-btn:hover {
	border-color: #fe9900;
	background: #fe9900;
	color: #fff;
}
div.footer a.ft-btn--ghost {
	background: transparent;
	color: #00349a;
}
.ft-rating {
	display: block;
	margin-top: 14px;
}
.ft-copy {
	margin: 12px 0 0;
	padding: 24px 0 28px;
	border-top: 1px solid #d5dbe7;
	font-family: 'Montserrat', sans-serif;
	font-size: 12.5px;
	line-height: 1.6;
	color: #6b7a86;
}
.ft-copy-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	margin-bottom: 12px;
	font-size: 13px;
	color: #33414a;
}
.ft-copy-row a { color: #00349a; text-decoration: none; }
.ft-copy-row a:hover { color: #fe9900; }
.ft-copy p { margin: 0; max-width: 980px; }

/* Мобильная панель связи */
.mbar { display: none; }

@media (max-width: 991.98px) {
	.ft-form { grid-template-columns: 1fr; padding: 28px 22px; }
	body { padding-bottom: 64px; }
	.mbar {
		position: fixed;
		z-index: 1200;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		gap: 10px;
		padding: 10px 14px;
		border-top: 1px solid #e5ebf8;
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 -6px 20px rgba(0, 30, 41, .10);
	}
	.mbar a {
		flex: 1 1 0;
		padding: 13px 10px;
		border-radius: 50px;
		font-family: 'Montserrat', sans-serif;
		font-size: 14px;
		font-weight: 700;
		text-align: center;
		text-decoration: none;
	}
	.mbar-call {
		border: 2px solid #00349a;
		color: #00349a;
	}
	.mbar-zamer {
		border: 2px solid #fe9900;
		background: #fe9900;
		color: #fff;
	}
}
@media (max-width: 575.98px) {
	.ft-form-row { grid-template-columns: 1fr; gap: 0; }
	p.ft-form-title { font-size: 19px; }
	.ft-form .forma-call input.button-send { width: 100% !important; }
}

/* Кнопка мобильного меню: крупнее для пальца */
div.header-menu div.menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}
div.header-menu div.menu-btn img {
	width: 28px;
	height: auto;
}

/* Мобильная шапка: гибкий ряд «логотип -- телефон -- корзина -- меню» */
div.header-menu div.menu-btn img { display: none; }
div.header-menu div.menu-btn {
	width: 44px;
	height: 44px;
	border: 1px solid #d5def2;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}
div.header-menu div.menu-btn svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: #00349a;
	stroke-width: 2.2;
	stroke-linecap: round;
}
div.header-menu div.menu-btn:hover { opacity: 1; border-color: #00349a; }
@media (max-width: 991.98px) {
	.header-line { padding: 8px 0; }
	.header-line .themed-container { margin-bottom: 0; padding: 0 12px; }
	.header-line .row {
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px;
		margin: 0;
	}
	.header-line .row > * {
		width: auto;
		max-width: none;
		padding: 0;
	}
	.header-line .header-logo { flex: 0 0 auto; }
	.header-line .header-logo img { display: block; width: 96px; height: auto; }
	.header-line .header-phone { flex: 1 1 auto; min-width: 0; }
	.header-line .cart, .header-line .header-menu { flex: 0 0 auto; }
	div.header-phone a.email { display: none; }
	div.header-phone a { font-size: 15px; white-space: nowrap; }
	div.header-phone a.hdr-phone2 { font-size: 13px; }
}
@media (max-width: 400px) {
	.header-line .header-logo img { width: 84px; }
	div.header-phone a { font-size: 14px; }
	div.header-phone a.hdr-phone2 { font-size: 12.5px; }
}

/* Отступ контейнера равен половине отступа колонок сетки (12px): иначе .row вылезает за экран на телефоне */
.container.themed-container {
	padding-left: .75rem;
	padding-right: .75rem;
}
@media (max-width: 991.98px) {
	.mbar a {
		padding: 13px 6px;
		font-size: 13.5px;
		white-space: nowrap;
	}
}

/* Живой поиск: выпадающий список в стиле сайта */
.live-search-dropdown {
	margin-top: 6px;
	overflow: hidden;
	border: 1px solid #d5def2;
	border-radius: 16px;
	box-shadow: 0 14px 34px rgba(0, 30, 41, .16);
}
a.live-search-item { font-family: 'Montserrat', sans-serif; }
