/*
Theme Name: Carflex child
Template:   carflex
Theme URI: https://carflex.themeht.com/
Author: Themeht
Author URI: https://www.themeht.com
Description: carflex - Child Theme
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: carflex
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/

/* =========================
   STICKY HEADER SEPARATION
   Легкое отделение закрепленной шапки от темных блоков
   ========================= */

#header-sticky.fixed-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
	box-shadow:
	0 1px 0 rgba(255, 255, 255, 0.04),
	0 12px 28px rgba(0, 0, 0, 0.34) !important;
}

/* Скрываем разделитель только в этих service-карточках */
body.home .service-item.style-2 .service-desc > .ht-divider {
	display: none !important;
}

/* Колонки с service-карточками растягиваем по высоте */
body.home .row > [class*="col-"]:has(.service-item.style-2) {
	display: flex !important;
}

/* Сама карточка занимает всю высоту колонки */
body.home .row > [class*="col-"]:has(.service-item.style-2) .service-item.style-2 {
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

/* Внутренний текстовый блок растягивается */
body.home .row > [class*="col-"]:has(.service-item.style-2) .service-desc {
	flex: 1 1 auto !important;
	display: flex !important;
	flex-direction: column !important;
}

/* Базово - область под иконку квадратная и по центру */
body.home .service-item.style-2 .service-img-wrap {
	width: min(100%, 220px) !important;
	aspect-ratio: 1 / 1 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	display: flex !important;
	align-items: stretch !important;
	justify-content: stretch !important;
}

/* Красный блок полностью заполняет родительскую область */
body.home .service-item.style-2 .service-icon {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 1 / 1 !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Сама иконка внутри красного квадрата */
body.home .service-item.style-2 .service-icon i {
	font-size: clamp(70px, 18vw, 110px) !important;
	line-height: 1 !important;
	display: block !important;
}

/* От 400px до 767px - 2 колонки */
@media (min-width: 400px) and (max-width: 767.98px) {
	body.home .row > [class*="col-"]:has(.service-item.style-2) {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}

	body.home .service-item.style-2 .service-img-wrap {
		width: 100% !important;
		max-width: none !important;
	}

	body.home .service-item.style-2 .service-icon i {
		font-size: clamp(58px, 13vw, 86px) !important;
	}
}

/* Планшет - 3 колонки */
@media (min-width: 768px) and (max-width: 1024px) {
	body.home .row > [class*="col-"]:has(.service-item.style-2) {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		width: 33.333333% !important;
	}

	body.home .service-item.style-2 .service-img-wrap {
		width: 100% !important;
		max-width: none !important;
	}

	body.home .service-item.style-2 .service-icon i {
		font-size: clamp(64px, 8vw, 100px) !important;
	}
}

/* Мобильный заголовок service-карточек */
@media (max-width: 767.98px) {
	body.home .service-item.style-2 .service-title h4,
	body.home .service-item.style-2 .service-title h4 a {
		font-size: 20px !important;
		line-height: 30px !important;
		text-transform: none !important;
		letter-spacing: normal !important;
	}
}

/* До 399px - одна колонка: немного уменьшаем внутренние отступы */
@media (max-width: 399.98px) {
	body.home .service-item.style-2 .service-desc {
		padding: 18px 16px 20px !important;
	}

	body.home .service-item.style-2 .service-title {
		margin-bottom: 0 !important;
	}
}

/* От 400px до 767px - две колонки: уменьшаем внешние отступы между карточками */
@media (min-width: 400px) and (max-width: 767.98px) {
	body.home .row:has(> [class*="col-"] .service-item.style-2) {
		margin-left: -7px !important;
		margin-right: -7px !important;
		row-gap: 14px !important;
	}

	body.home .row > [class*="col-"]:has(.service-item.style-2) {
		padding-left: 7px !important;
		padding-right: 7px !important;
		margin-bottom: 14px !important;
	}

	body.home .service-item.style-2 .service-desc {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
}

@media (max-width: 399.98px) {
	body.home .service-item.style-2 .service-desc {
		padding-top: 10px !important;
		padding-bottom: 12px !important;
	}

	body.home .service-item.style-2 .service-title {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	body.home .service-item.style-2 .service-title h4 {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.home .service-item.style-2 .service-title h4 a {
		display: inline-block !important;
	}
}

/* Блок брендов авто на главной */
body.home .autobrands {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Если Elementor/Text Editor вдруг добавит лишние p/br */
body.home .autobrands > p {
	display: contents !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.home .autobrands br {
	display: none !important;
}

/* Одна карточка бренда */
body.home .autobrands .autobrand {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	gap: 10px !important;
	min-height: 150px !important;
	padding: 16px 10px !important;
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 12px !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Картинка бренда */
body.home .autobrands .autobrand img {
	display: block !important;
	width: clamp(78px, 24vw, 104px) !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: contain !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

/* Название бренда - мобильные */
body.home .autobrands .autobrand span {
	display: block !important;
	width: 100% !important;
	color: #001a1e !important;
	font-size: clamp(16px, 3.5vw, 18px) !important;
	line-height: 1.25 !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	overflow-wrap: anywhere !important;
}

/* Наведение на ПК */
@media (hover: hover) {
	body.home .autobrands .autobrand:hover {
		transform: translateY(-3px) !important;
		border-color: #e31e24 !important;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10) !important;
	}

	body.home .autobrands .autobrand:hover span {
		color: #e31e24 !important;
	}
}

/* Планшет - 3 колонки */
@media (min-width: 768px) {
	body.home .autobrands {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 18px !important;
	}

	body.home .autobrands .autobrand {
		min-height: 170px !important;
		padding: 18px 14px !important;
		gap: 12px !important;
	}

	body.home .autobrands .autobrand img {
		width: clamp(96px, 13vw, 118px) !important;
	}

	body.home .autobrands .autobrand span {
		font-size: clamp(17px, 1.8vw, 19px) !important;
	}
}

/* ПК - 4 колонки */
@media (min-width: 1025px) {
	body.home .autobrands {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 22px !important;
	}

	body.home .autobrands .autobrand {
		min-height: 190px !important;
		padding: 22px 16px !important;
		gap: 14px !important;
	}

	body.home .autobrands .autobrand img {
		width: clamp(110px, 8vw, 130px) !important;
	}

	body.home .autobrands .autobrand span {
		font-size: clamp(24px, 1.4vw, 26px) !important;
		line-height: 1.18 !important;
	}
}

/* Маленькие мобильные */
@media (max-width: 399.98px) {
	body.home .autobrands {
		gap: 10px !important;
	}

	body.home .autobrands .autobrand {
		min-height: 136px !important;
		padding: 13px 8px !important;
		gap: 8px !important;
	}

	body.home .autobrands .autobrand img {
		width: clamp(70px, 23vw, 86px) !important;
	}

	body.home .autobrands .autobrand span {
		font-size: 16px !important;
		line-height: 1.2 !important;
	}
}

#order-form {
	scroll-margin-top: 36px;
}

html {
	scroll-behavior: smooth;
}


/* =========================
   MOBILE MENU CTA - похожа на кнопку темы
   Стрелка справа в белом квадратике
   ========================= */

/* На ПК скрываем пункт "Залишити заявку" */
@media (min-width: 992px) {
	.navigation-top .main-nav .menu > li.mobile-menu-cta {
		display: none !important;
	}
}

/* В мобильной шторке стилизуем пункт как CTA-кнопку */
@media (max-width: 991.98px) {
	.navigation-top .main-nav .menu > li.mobile-menu-cta {
		display: block !important;
		margin: 20px 18px 8px !important;
		padding: 0 !important;
		border: none !important;
	}

	.navigation-top .main-nav .menu > li.mobile-menu-cta > a {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 58px !important;
		margin: 0 !important;
		padding: 14px 74px 14px 24px !important;
		background: #e31e24 !important;
		color: #ffffff !important;
		border: 1px solid #e31e24 !important;
		border-radius: 8px !important;
		box-shadow: none !important;
		font-size: 14px !important;
		line-height: 1.2 !important;
		font-weight: 800 !important;
		text-align: center !important;
		text-decoration: none !important;
		text-transform: uppercase !important;
		letter-spacing: 0.04em !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease !important;
	}

	/* Белый квадратик справа */
	.navigation-top .main-nav .menu > li.mobile-menu-cta > a::before {
		content: "" !important;
		position: absolute !important;
		top: 50% !important;
		right: 8px !important;
		width: 44px !important;
		height: 42px !important;
		background: #ffffff !important;
		border-radius: 6px !important;
		transform: translateY(-50%) !important;
		pointer-events: none !important;
		transition: transform 0.22s ease, background-color 0.22s ease !important;
	}

	/* Стрелка внутри белого квадратика */
	.navigation-top .main-nav .menu > li.mobile-menu-cta > a::after {
		content: "➝" !important;
		position: absolute !important;
		top: 48% !important;
		right: 21px !important;
		width: auto !important;
		height: auto !important;
		border: none !important;
		color: #e31e24 !important;
		font-size: 24px !important;
		line-height: 1 !important;
		font-weight: 800 !important;
		transform: translateY(-50%) !important;
		pointer-events: none !important;
		transition: right 0.22s ease, color 0.22s ease !important;
	}

	.navigation-top .main-nav .menu > li.mobile-menu-cta > a:hover,
	.navigation-top .main-nav .menu > li.mobile-menu-cta > a:focus {
		background: #ff2b31 !important;
		border-color: #ff2b31 !important;
		color: #ffffff !important;
		text-decoration: none !important;
		transform: translateY(-1px) !important;
	}

	.navigation-top .main-nav .menu > li.mobile-menu-cta > a:hover::before,
	.navigation-top .main-nav .menu > li.mobile-menu-cta > a:focus::before {
		transform: translateY(-50%) translateX(3px) !important;
		background: #ffffff !important;
	}

	.navigation-top .main-nav .menu > li.mobile-menu-cta > a:hover::after,
	.navigation-top .main-nav .menu > li.mobile-menu-cta > a:focus::after {
		right: 18px !important;
		color: #ff2b31 !important;
	}
}


/* =========================
   TEXT MORE DETAILS
   Скрытый текст без JS
   ========================= */

.text-more {
	margin: 0;
	padding: 0;
	color: #555555;
	font-size: 15px;
	line-height: 1.7;
}

/* Убираем стандартный маркер details */
.text-more summary {
	list-style: none;
}

.text-more summary::-webkit-details-marker {
	display: none;
}

/* Ссылка "Показати більше / менше" */
.text-more summary {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	color: #e31e24;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	text-align: right;
	user-select: none;
	transition: color 0.2s ease;
}

.text-more summary:hover,
.text-more summary:focus {
	color: #ff2b31;
	outline: none;
}

/* Текст ссылки */
.text-more .text-more-closed,
.text-more .text-more-open {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
}

/* Закрыто - показываем "Показати більше" */
.text-more .text-more-open {
	display: none;
}

/* Открыто - показываем "Показати менше" */
.text-more[open] .text-more-closed {
	display: none;
}

.text-more[open] .text-more-open {
	display: inline-flex;
}

/* Иконки Font Awesome */
.text-more summary i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
	color: currentColor;
	transform: translateY(1px);
}

/* Контент */
.text-more-content {
	margin: 0;
	padding: 0;
}

/* Абзацы */
.text-more-content p {
	margin: 0 0 14px;
	color: #555555;
	font-size: 15px;
	line-height: 1.7;
}

/* Заголовки h1-h5 внутри этого блока - компактные и одинаковые */
.text-more-content h1,
.text-more-content h2,
.text-more-content h3,
.text-more-content h4,
.text-more-content h5 {
	margin: 22px 0 12px;
	color: #001a1e;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 800;
	text-transform: none;
	letter-spacing: normal;
}

/* Первый заголовок без лишнего верхнего отступа */
.text-more-content h1:first-child,
.text-more-content h2:first-child,
.text-more-content h3:first-child,
.text-more-content h4:first-child,
.text-more-content h5:first-child {
	margin-top: 0;
}

/* Списки */
.text-more-content ul,
.text-more-content ol {
	margin: 0 0 16px 22px;
	padding: 0;
	color: #555555;
	font-size: 15px;
	line-height: 1.7;
}

.text-more-content li {
	margin: 0 0 7px;
}

.text-more-content li:last-child {
	margin-bottom: 0;
}

/* Вложенные списки */
.text-more-content ul ul,
.text-more-content ol ol,
.text-more-content ul ol,
.text-more-content ol ul {
	margin-top: 7px;
	margin-bottom: 7px;
}

/* Ссылки */
.text-more-content a {
	color: #e31e24;
	text-decoration: none;
}

.text-more-content a:hover,
.text-more-content a:focus {
	color: #ff2b31;
	text-decoration: underline;
}

/* Мобильная версия */
@media (max-width: 767.98px) {
	.text-more {
		font-size: 14px;
		line-height: 1.65;
	}

	.text-more summary {
		margin-bottom: 16px;
		font-size: 14px;
	}

	.text-more-content p {
		font-size: 14px;
		line-height: 1.65;
		margin-bottom: 13px;
	}

	.text-more-content h1,
	.text-more-content h2,
	.text-more-content h3,
	.text-more-content h4,
	.text-more-content h5 {
		margin: 20px 0 10px;
		font-size: 18px;
		line-height: 1.3;
	}

	.text-more-content ul,
	.text-more-content ol {
		margin-left: 20px;
		margin-bottom: 14px;
		font-size: 14px;
		line-height: 1.65;
	}

	.text-more-content li {
		margin-bottom: 6px;
	}
}

/* =========================
   CONTACT REQUEST FORM - CLEAN FINAL VERSION
   Форма на странице контактов
   ========================= */

.contact-request-form {
	position: relative !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* CF7 иногда добавляет p/br */
.contact-request-form p {
	margin: 0 !important;
	padding: 0 !important;
}

.contact-request-form br {
	display: none !important;
}

/* Сетка */
.contact-form-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 22px !important;
	row-gap: 28px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	align-items: start !important;
}

/* Поле */
.contact-field {
	position: relative !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.contact-field-full {
	grid-column: 1 / -1 !important;
}

/* CF7 wrap */
.contact-request-form .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Поля */
.contact-request-form .contact-control,
.contact-request-form input[type="text"],
.contact-request-form input[type="email"],
.contact-request-form input[type="tel"],
.contact-request-form select,
.contact-request-form textarea {
	display: block !important;
	width: 100% !important;
	height: 54px !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	background-color: #ffffff !important;
	border: 2px solid rgba(0, 26, 30, 0.26) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #001a1e !important;
	font-size: 16px !important;
	line-height: 50px !important;
	font-weight: 500 !important;
	outline: none !important;
	box-sizing: border-box !important;
	transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
}

/* Select */
.contact-request-form select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	padding-right: 44px !important;
	cursor: pointer !important;
	background-image:
		linear-gradient(45deg, transparent 50%, #001a1e 50%),
		linear-gradient(135deg, #001a1e 50%, transparent 50%) !important;
	background-position:
		calc(100% - 22px) 50%,
		calc(100% - 16px) 50% !important;
	background-size:
		6px 6px,
		6px 6px !important;
	background-repeat: no-repeat !important;
}

.contact-request-form select::-ms-expand {
	display: none !important;
}

/* Placeholder */
.contact-request-form .contact-control::placeholder,
.contact-request-form input::placeholder,
.contact-request-form textarea::placeholder {
	color: rgba(0, 26, 30, 0.48) !important;
	opacity: 1 !important;
}

/* Focus */
.contact-request-form .contact-control:focus,
.contact-request-form input:focus,
.contact-request-form select:focus,
.contact-request-form textarea:focus {
	border-color: #e31e24 !important;
	box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.15) !important;
	background-color: #ffffff !important;
}

/* Textarea */
.contact-request-form textarea,
.contact-request-form .contact-textarea {
	display: block !important;
	width: 100% !important;
	min-height: 132px !important;
	height: 132px !important;
	padding: 14px 16px !important;
	line-height: 1.45 !important;
	resize: vertical !important;
}

/* Ошибочное поле */
.contact-request-form .wpcf7-not-valid {
	border-color: #e31e24 !important;
	box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.13) !important;
}

/* Ошибка под полем */
.contact-request-form .wpcf7-not-valid-tip {
	position: relative !important;
	top: -1px !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 5px 0 0 !important;
	padding: 0 !important;
	color: #e31e24 !important;
	font-size: 13px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	box-sizing: border-box !important;
}

/* Кнопка */
.contact-submit-wrap {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
	width: 100% !important;
	margin: -2px 0 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Если CF7 завернул submit в p */
.contact-submit-wrap p {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Submit */
.contact-request-form input.wpcf7-submit.contact-submit,
.contact-request-form .contact-submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 13px 30px !important;
	background: #e31e24 !important;
	color: #ffffff !important;
	border: 1px solid #e31e24 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	font-weight: 800 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease !important;
}

.contact-request-form input.wpcf7-submit.contact-submit:hover,
.contact-request-form input.wpcf7-submit.contact-submit:focus,
.contact-request-form .contact-submit:hover,
.contact-request-form .contact-submit:focus {
	background: #ff2b31 !important;
	border-color: #ff2b31 !important;
	color: #ffffff !important;
	outline: none !important;
}

/* Spinner */
.contact-submit-wrap .wpcf7-spinner {
	position: static !important;
	display: inline-block !important;
	flex: 0 0 auto !important;
	align-self: center !important;
	margin: 0 !important;
	vertical-align: middle !important;
	transform: none !important;
	background-color: #e31e24 !important;
}

/* Ответ CF7 - только для этой формы */
.wpcf7 .contact-request-form ~ .wpcf7-response-output {
	max-width: none !important;
	margin: 22px 0 0 !important;
	padding: 14px 16px !important;
	background: #ffffff !important;
	border: 2px solid rgba(0, 26, 30, 0.18) !important;
	border-radius: 10px !important;
	color: #001a1e !important;
	font-size: 15px !important;
	line-height: 1.45 !important;
	font-weight: 600 !important;
	box-sizing: border-box !important;
}

/* Ошибка отправки / валидации */
.wpcf7 form.invalid .contact-request-form ~ .wpcf7-response-output,
.wpcf7 form.unaccepted .contact-request-form ~ .wpcf7-response-output,
.wpcf7 form.payment-required .contact-request-form ~ .wpcf7-response-output,
.wpcf7 form.failed .contact-request-form ~ .wpcf7-response-output,
.wpcf7 form.spam .contact-request-form ~ .wpcf7-response-output {
	border-color: #e31e24 !important;
	background: #fffafa !important;
	color: #001a1e !important;
}

/* Успех */
.wpcf7 form.sent .contact-request-form ~ .wpcf7-response-output {
	border-color: rgba(20, 150, 90, 0.85) !important;
	background: #fbfffd !important;
	color: #001a1e !important;
}

/* Планшет */
@media (min-width: 768px) and (max-width: 1024px) {
	.contact-form-grid {
		column-gap: 20px !important;
		row-gap: 27px !important;
	}

	.contact-request-form .wpcf7-not-valid-tip {
		top: -1px !important;
		margin-top: 5px !important;
	}
}

/* Мобилка */
@media (max-width: 767.98px) {
	.contact-form-grid {
		grid-template-columns: 1fr !important;
		column-gap: 0 !important;
		row-gap: 24px !important;
	}

	.contact-request-form .contact-control,
	.contact-request-form input[type="text"],
	.contact-request-form input[type="email"],
	.contact-request-form input[type="tel"],
	.contact-request-form select,
	.contact-request-form textarea {
		height: 52px !important;
		min-height: 52px !important;
		font-size: 15px !important;
		line-height: 48px !important;
		border-radius: 9px !important;
	}

	.contact-request-form textarea,
	.contact-request-form .contact-textarea {
		height: 124px !important;
		min-height: 124px !important;
		line-height: 1.45 !important;
	}

	.contact-request-form .wpcf7-not-valid-tip {
		top: -2px !important;
		margin-top: 5px !important;
		font-size: 13px !important;
		line-height: 1.35 !important;
	}

	.contact-submit-wrap {
		margin-top: -2px !important;
		align-items: center !important;
		justify-content: flex-start !important;
	}

	.contact-request-form input.wpcf7-submit.contact-submit,
	.contact-request-form .contact-submit {
		width: 100% !important;
		min-height: 54px !important;
	}
}

/* Очень узкие */
@media (max-width: 399.98px) {
	.contact-form-grid {
		row-gap: 23px !important;
	}

	.contact-request-form .contact-control,
	.contact-request-form input[type="text"],
	.contact-request-form input[type="email"],
	.contact-request-form input[type="tel"],
	.contact-request-form select,
	.contact-request-form textarea {
		font-size: 14px !important;
	}

	.contact-request-form .wpcf7-not-valid-tip {
		top: -2px !important;
		margin-top: 5px !important;
		font-size: 12px !important;
		line-height: 1.35 !important;
	}
}


/* =========================
   INNER PAGE TITLE FULL WIDTH FIX
   Заголовок внутренних страниц без хлебных крошек
   ========================= */

/* 
   Расширяем только ту Bootstrap-колонку,
   внутри которой находится .theme-breadcrumb-box.
   Обычную сетку сайта не трогаем.
*/
body:not(.home) .row > [class*="col-"]:has(.theme-breadcrumb-box) {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* Сам блок заголовка */
body:not(.home) .theme-breadcrumb-box {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
	box-sizing: border-box !important;
}

/* H1 внутри блока */
body:not(.home) .theme-breadcrumb-box h1 {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-align: left !important;
	white-space: normal !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
	box-sizing: border-box !important;
}

/* Если после удаления крошек в разметке остались пустые элементы */
body:not(.home) .theme-breadcrumb-box .breadcrumb,
body:not(.home) .theme-breadcrumb-box .breadcrumb-wrapper,
body:not(.home) .theme-breadcrumb-box nav,
body:not(.home) .theme-breadcrumb-box ol,
body:not(.home) .theme-breadcrumb-box ul {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* =========================
   HEADER MENU COMPACT LINKS
   1361-1499px: уменьшаем горизонтальный padding пунктов меню
   ========================= */

@media (min-width: 1361px) and (max-width: 1499px) {
	.navigation-top .main-nav .menu > li > a,
	.main-nav > ul > li > a,
	.main-nav .menu > li > a {
		padding: 12px 8px !important;
	}
}