/**
 * Стили шапки, преимуществ, мега-меню и футера.
 * Структура как у tece-market.ru, цвета — наша палитра.
 * body.has-mav-header скрывает шапку Astra.
 *
 * @package mav-theme
 */

/* ══════════════════════════════════════════
   ОБЩИЕ ПЕРЕМЕННЫЕ И СБРОС ДЛЯ ШАПКИ
   ══════════════════════════════════════════ */
.mav-header__top,
.mav-header__main,
.mav-header__bottom,
.mav-header-wrapper,
.mav-mega-panels,
.mav-advantages-bar {
	box-sizing: border-box;
}
.mav-header__top *,
.mav-header__main *,
.mav-header__bottom * {
	box-sizing: border-box;
}

/* Контейнер = 1200px, отступы 20px */
.mav-container {
	max-width: 1488px;
	margin: 0 auto;
	padding: 0 25px;
	width: 100%;
}


/* Скрыть шапку Astra когда включена наша */
body.mav-theme.has-mav-header .ast-header-wrap,
body.mav-theme.has-mav-header #masthead {
	display: none !important;
}

@media (max-width: 767px) {
	.mav-container { padding: 0 15px; }
	.mav-hide-mobile { display: none !important; }
}

/* ══════════════════════════════════════════
   ГЛАВНАЯ СТРАНИЦА
   ══════════════════════════════════════════ */
body.mav-theme .mav-front-page#primary{
	margin-top: 0;
}
body.mav-theme .mav-front-page #content,
body.mav-theme .mav-front-page .site-content {
	background: var(--mav-bg);
}

.mav-front-page .mav-hero {
	position: relative;
	margin: 0 0 1.5rem;
	overflow: hidden;
	background-color: #102133;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: var(--mav-shadow);
}

.mav-front-page .mav-hero--has-media {
	background-image: none !important;
}

.mav-front-page .mav-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.mav-front-page .mav-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mav-front-page .mav-hero--has-media::before {
	z-index: 1;
}

.mav-front-page .mav-hero--has-media::after {
	z-index: 2;
}

.mav-front-page .mav-hero--has-media .mav-hero__inner {
	z-index: 3;
}

.mav-front-page .mav-hero::before,
.mav-front-page .mav-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.mav-front-page .mav-hero::before {
	background:
		linear-gradient(90deg, rgba(8, 18, 31, 0.8) 0%, rgba(8, 18, 31, 0.35) 52%, rgba(8, 18, 31, 0.12) 100%),
		radial-gradient(circle at 85% 22%, rgba(255, 255, 255, 0.18) 0%, transparent 30%);
}

.mav-front-page .mav-hero::after {
	background: linear-gradient(180deg, rgba(7, 16, 27, 0.08) 0%, rgba(7, 16, 27, 0.34) 100%);
}

.mav-front-page .mav-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	min-height: 500px;
	padding: 3rem 25px 3.5rem;
}

.mav-front-page .mav-hero__content {
	/* max-width: 960px; */
	padding: 1.75rem 1.75rem 1.5rem;
	/*background: linear-gradient(135deg, rgba(8, 20, 34, 0.78) 0%, rgba(8, 20, 34, 0.48) 100%);*/
	border-left: 4px solid var(--mav-primary);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(3px);
}

.mav-front-page .mav-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 1rem;
	padding: 0.5rem 0.9rem;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mav-front-page .mav-hero__title,
.mav-front-page .mav-hero-title {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.mav-front-page .mav-hero__text {
	/* max-width: 52ch; */
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.05rem;
	line-height: 1.7;
}

.mav-front-page .mav-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin: 0 0 1.4rem;
}

.mav-front-page .mav-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.85rem 1.4rem;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mav-front-page .mav-hero__button:hover {
	transform: translateY(-2px);
}

.mav-front-page .mav-hero__button--primary {
	background: linear-gradient(135deg, #ffffff 0%, #f0f6fb 100%);
	color: var(--mav-heading);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.mav-front-page .mav-hero__button--primary:hover {
	background: #fff;
	color: var(--mav-primary);
}

.mav-front-page .mav-hero__button--secondary {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.26);
	color: #fff;
}

.mav-front-page .mav-hero__button--secondary:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
}

.mav-front-page .mav-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mav-front-page .mav-hero__tag {
	padding: 0.55rem 0.85rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.92rem;
	line-height: 1.3;
}

/* Теплый экспертный вариант hero для главной */
.mav-front-page .mav-hero--warm {
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 2rem;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-shadow: none;
}

.mav-front-page .mav-hero--warm::before {
	background:
		linear-gradient(100deg, rgba(245, 232, 210, 0.42) 0%, rgba(238, 224, 198, 0.28) 38%, rgba(228, 216, 192, 0.14) 72%, rgba(210, 198, 176, 0.06) 100%),
		radial-gradient(circle at 18% 20%, rgba(235, 185, 108, 0.32) 0%, transparent 44%);
}

.mav-front-page .mav-hero--warm::after {
	background: linear-gradient(180deg, rgba(62, 48, 36, 0.04) 0%, rgba(48, 38, 30, 0.18) 100%);
}

.mav-front-page .mav-hero--warm .mav-hero__inner {
	align-items: center;
	min-height: 640px;
	padding-top: 4.5rem;
	padding-bottom: 4.5rem;
}

.mav-front-page .mav-hero--warm .mav-hero__content {
	padding: 2.15rem 2.25rem 2rem;
	background: linear-gradient(132deg, rgba(252, 246, 235, 0.82) 0%, rgba(241, 228, 208, 0.52) 100%);
	border: 1px solid rgba(216, 198, 172, 0.55);
	border-left: 0;
	border-radius: 0;
	box-shadow: 0 20px 44px rgba(62, 48, 36, 0.12);
	backdrop-filter: blur(1.5px);
}

.mav-front-page .mav-hero--warm .mav-hero__eyebrow {
	margin-bottom: 1.1rem;
	background: rgba(233, 181, 97, 0.2);
	border-color: rgba(201, 134, 40, 0.46);
	color: #7a3f0f;
	letter-spacing: 0.08em;
}

.mav-front-page .mav-hero--warm .mav-hero__title,
.mav-front-page .mav-hero--warm .mav-hero-title {
	margin-bottom: 1.1rem;
	color: #2c3d4a;
	font-size: clamp(2rem, 3.3vw, 3.15rem);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.02em;
}

.mav-front-page .mav-hero--warm .mav-hero__text {
	max-width: 62ch;
	margin-bottom: 1.6rem;
	font-size: 1.08rem;
	line-height: 1.72;
	color: #4a4338;
}

.mav-front-page .mav-hero--warm .mav-hero__actions {
	margin-bottom: 1.2rem;
}

.mav-front-page .mav-hero--warm .mav-hero__button {
	border-radius: 0;
	min-height: 50px;
	padding-inline: 1.45rem;
	font-weight: 700;
}

.mav-front-page .mav-hero--warm .mav-hero__button--primary {
	background: linear-gradient(135deg, #ea7a46 0%, #df5f45 100%);
	color: #fff;
	box-shadow: 0 12px 24px rgba(159, 72, 35, 0.28);
}

.mav-front-page .mav-hero--warm .mav-hero__button--primary:hover {
	background: #d8553b;
	color: #fff;
}

.mav-front-page .mav-hero--warm .mav-hero__button--secondary {
	background: rgba(248, 240, 226, 0.72);
	border-color: rgba(154, 132, 98, 0.45);
	color: #3d4f5c;
}

.mav-front-page .mav-hero--warm .mav-hero__button--secondary:hover {
	background: rgba(252, 244, 230, 0.88);
	border-color: rgba(130, 108, 76, 0.5);
	color: #2a3540;
}

.mav-front-page .mav-hero--warm .mav-hero__tags {
	gap: 0.65rem;
}

.mav-front-page .mav-hero--warm .mav-hero__tag {
	padding: 0.5rem 0.8rem;
	background: rgba(250, 242, 228, 0.65);
	border-color: rgba(186, 162, 128, 0.35);
	color: #3d4a42;
	font-size: 0.86rem;
}

.mav-front-page .mav-front-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 20px 3rem;
	background: #fff;
	border-radius: 0;
}

.mav-front-page .mav-front-content {
	margin-bottom: 2.5rem;
}

.mav-front-page .mav-intro-block {
	margin-bottom: 2.5rem;
}

.mav-front-page .mav-intro-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--mav-heading);
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

.mav-front-page .mav-intro-text {
	font-size: 1.1rem;
	line-height: 1.65;
	max-width: 65ch;
	margin-bottom: 1.25rem;
	color: var(--mav-text);
}

.mav-front-page .mav-intro-actions {
	margin: 0 0 2rem 0;
}

.mav-front-page .mav-btn-catalog {
	display: inline-block;
	padding: 0.6rem 1.5rem;
	border-radius: 0;
	font-weight: 600;
}

.mav-front-page .mav-tiles-section {
	margin: 2.5rem 0 3rem;
}

.mav-front-page .mav-tiles-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--mav-heading);
	margin: 0 0 1.5rem 0;
}

.mav-front-page .mav-tiles-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
	list-style: none;
	margin: 0 0 1.5rem 0;
	padding: 0;
}

.mav-front-page .mav-tile-card {
	display: block;
	background: #fff;
	border: 1px solid var(--mav-border);
	border-radius: 0;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	box-shadow: var(--mav-shadow);
}

.mav-front-page .mav-tile-card:hover {
	box-shadow: 0 8px 24px rgba(51, 122, 183, 0.15);
	transform: translateY(-2px);
	border-color: var(--mav-primary);
}

.mav-front-page .mav-tile-card__img {
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--mav-bg);
}

.mav-front-page .mav-tile-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mav-front-page .mav-tile-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8eef3 0%, #dde5ed 100%);
}

.mav-front-page .mav-tile-card__desc {
	padding: 1rem 1.25rem;
	font-weight: 600;
	font-size: 1rem;
	color: var(--mav-heading);
	text-align: center;
}

.mav-front-page .mav-tiles-more {
	margin: 0;
	text-align: center;
	padding-top: 25px;
}

.mav-front-page .mav-tiles-more .button {
	display: inline-block;
	background: transparent !important;
	color: var(--mav-heading, #1a1a1a) !important;
	border: 2px solid var(--mav-heading, #1a1a1a) !important;
	border-radius: 0;
	padding: 0.5rem 1.25rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mav-front-page .mav-tiles-more .button:hover {
	background: var(--mav-heading, #1a1a1a) !important;
	border-color: var(--mav-heading, #1a1a1a) !important;
	color: #fff !important;
}

.mav-front-page .mav-products-section {
	margin: 2.5rem 0 4rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

h2.mav-section-title {
	position: relative;
	padding-bottom: 10px;
}

.mav-front-page .mav-section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--mav-heading);
	margin: 0 0 1.5rem 0;
}

.mav-bestseller-tabs .mav-bestseller-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.mav-bestseller-tabs .mav-bestseller-tab-btn {
	padding: 0.5rem 1rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: #444;
	background: #f0f0f0;
	border: 1px solid #ddd;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.mav-bestseller-tabs .mav-bestseller-tab-btn:hover {
	background: #e8e8e8;
	border-color: #ccc;
}

.mav-bestseller-tabs .mav-bestseller-tab-btn.is-active {
	background: var(--mav-heading, #1a1a1a);
	color: #fff;
	border-color: var(--mav-heading, #1a1a1a);
}

.mav-bestseller-tabs .mav-bestseller-panel {
	display: block;
}

.mav-bestseller-tabs .mav-bestseller-panel[hidden] {
	display: none;
}

.mav-bestseller-tabs .mav-bestseller-empty {
	color: #666;
	margin: 1rem 0;
}

.mav-front-page .mav-front-text-section {
	margin: 0;
	padding: 2.5rem 0 0;
}

.mav-front-page .mav-front-text-inner {
	max-width: var(--mav-content-width);
	margin: 0 auto;
	padding: 2rem 20px 2.5rem;
	background: #fff;
	border-radius: 0;
	box-shadow: var(--mav-shadow);
	border: 1px solid var(--mav-border);
}

.mav-front-page .mav-front-text-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--mav-heading);
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

.mav-front-page .mav-front-text-section .mav-front-content {
	margin-bottom: 0;
}

.mav-front-page .mav-cta-block {
	margin: 3rem 0 0;
	padding: 0;
}

.mav-front-page .mav-cta-inner {
	position: relative;
	max-width: var(--mav-content-width);
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	background: linear-gradient(135deg, var(--mav-primary) 0%, var(--mav-primary-hover) 50%, #1e5a8a 100%);
	border-radius: 0;
	box-shadow: var(--mav-shadow), 0 8px 32px rgba(51, 122, 183, 0.25);
	overflow: hidden;
}

.mav-front-page .mav-cta-inner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
	pointer-events: none;
}

.mav-front-page .mav-cta-content {
	position: relative;
	z-index: 1;
	max-width: 42rem;
}

.mav-front-page .mav-cta-title {
	margin: 0 0 0.75rem 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.mav-front-page .mav-cta-text {
	margin: 0 0 1.5rem 0;
	font-size: 1.1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
}

.mav-front-page .mav-cta-actions {
	margin: 0;
}

.mav-front-page .mav-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.75rem;
	background: #fff;
	color: var(--mav-primary);
	font-weight: 600;
	font-size: 1rem;
	font-family: inherit;
	line-height: inherit;
	text-decoration: none;
	border: none;
	border-radius: 0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.mav-front-page .mav-cta-btn:hover {
	background: var(--mav-mark);
	color: var(--mav-text);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mav-front-page .mav-cta-btn i {
	font-size: 0.9em;
	transition: transform 0.2s ease;
}

.mav-front-page .mav-cta-btn:hover i {
	transform: translateX(4px);
}

.mav-front-page .mav-cta-decoration {
	position: absolute;
	right: 2rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 5rem;
	color: rgba(255, 255, 255, 0.15);
	pointer-events: none;
}

@media (min-width: 768px) {
	.mav-front-page .mav-hero--image .mav-hero__inner {
		padding: 4rem 20px 5rem;
		padding-left: 45px;
	}
	.mav-front-page .mav-hero--warm .mav-hero__inner {
		padding: 4.6rem 25px 4.9rem;
	}
	/* .mav-front-page .mav-hero__title {
		max-width: 22ch;
	} */
	.mav-front-page .mav-hero-title {
		font-size: 2.5rem;
	}
	.mav-front-page .mav-tiles-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
	}
}

@media (min-width: 768px) {
	.mav-front-page .mav-front-text-title {
		font-size: 2rem;
	}
}

@media (min-width: 768px) {
	.mav-front-page .mav-cta-inner {
		padding: 3rem 2.5rem;
	}
	.mav-front-page .mav-cta-title {
		font-size: 2rem;
	}
	.mav-front-page .mav-cta-text {
		font-size: 1.15rem;
	}
	.mav-front-page .mav-cta-decoration {
		font-size: 6.5rem;
		right: 3rem;
	}
}

@media (max-width: 767px) {
	.mav-front-page .mav-hero {
		margin-bottom: 1.25rem;
	}
	.mav-front-page .mav-hero__inner {
		min-height: 420px;
		padding: 1.5rem 20px 2rem;
		align-items: flex-end;
	}
	.mav-front-page .mav-hero__content {
		padding: 1.25rem 1.1rem 1.1rem;
	}
	.mav-front-page .mav-hero__eyebrow {
		font-size: 0.72rem;
		letter-spacing: 0.12em;
	}
	.mav-front-page .mav-hero__title,
	.mav-front-page .mav-hero-title {
		font-size: 1.7rem;
	}
	.mav-front-page .mav-hero__text {
		font-size: 0.98rem;
		line-height: 1.6;
	}
	.mav-front-page .mav-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.mav-front-page .mav-hero__button {
		width: 100%;
	}
	.mav-front-page .mav-hero--warm {
		margin-bottom: 1.5rem;
	}
	.mav-front-page .mav-hero--warm .mav-hero__inner {
		min-height: 510px;
		padding: 1.8rem 20px 2.1rem;
		align-items: flex-end;
	}
	.mav-front-page .mav-hero--warm .mav-hero__content {
		padding: 1.3rem 1.05rem 1.15rem;
	}
	.mav-front-page .mav-hero--warm .mav-hero__title,
	.mav-front-page .mav-hero--warm .mav-hero-title {
		font-size: 1.76rem;
	}
	.mav-front-page .mav-hero--warm .mav-hero__text {
		font-size: 0.98rem;
		line-height: 1.62;
	}
	.mav-front-page .mav-hero--warm .mav-hero__tag {
		font-size: 0.81rem;
		line-height: 1.25;
	}
	.mav-front-page .mav-cta-decoration {
		right: 1rem;
		top: auto;
		bottom: 1rem;
		transform: none;
		font-size: 3rem;
	}
}

/* CTA + форма заявки (шаблон с карточками дочерних страниц) */
.mav-cta-form-block {
	margin: 3rem 0 0;
	padding: 0;
}

.mav-cta-form-inner {
	position: relative;
	max-width: var(--mav-content-width);
	margin: 0 auto;
	padding: 2rem 1.25rem;
	background: linear-gradient(135deg, var(--mav-primary) 0%, var(--mav-primary-hover) 50%, #1e5a8a 100%);
	border-radius: 0;
	box-shadow: var(--mav-shadow), 0 8px 32px rgba(51, 122, 183, 0.25);
	overflow: hidden;
}

.mav-cta-form-inner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(ellipse 70% 80% at 0% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
	pointer-events: none;
}

.mav-cta-form-content {
	position: relative;
	z-index: 1;
}

.mav-cta-form-heading {
	margin: 0 0 0.75rem 0;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.mav-cta-form-text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
}

.mav-cta-form-wrap {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 0;
	padding: 1.75rem 1.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	margin-top: 1.5rem;
}

.mav-cta-form-block .wpcf7-form p {
	margin: 0 0 1rem 0;
}

.mav-cta-form-block .wpcf7-form p:last-of-type {
	margin-bottom: 0;
}

.mav-cta-form-block .wpcf7-form label {
	display: block;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--mav-text);
	margin-bottom: 0.35rem;
}

.mav-cta-form-block .wpcf7-form input[type="text"],
.mav-cta-form-block .wpcf7-form input[type="email"],
.mav-cta-form-block .wpcf7-form input[type="tel"],
.mav-cta-form-block .wpcf7-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.6rem 0.85rem;
	font-size: 1rem;
	border: 1px solid var(--mav-border);
	border-radius: 0;
	background: var(--mav-bg);
	color: var(--mav-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.mav-cta-form-block .wpcf7-form input:focus,
.mav-cta-form-block .wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--mav-primary);
	box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.15);
}

.mav-cta-form-block .wpcf7-form textarea {
	min-height: 100px;
	resize: vertical;
}

.mav-cta-form-block .wpcf7-form input[type="submit"] {
	background: var(--mav-btn-primary) !important;
	color: #fff !important;
	border: none;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.mav-cta-form-block .wpcf7-form input[type="submit"]:hover {
	background: var(--mav-btn-primary-hover) !important;
	transform: translateY(-1px);
}

.mav-cta-form-block .wpcf7-not-valid-tip {
	font-size: 0.85rem;
	color: var(--mav-btn-primary);
	margin-top: 0.25rem;
}

.mav-cta-form-block .wpcf7-response-output {
	margin: 1rem 0 0 0;
	padding: 0.75rem 1rem;
	border-radius: 0;
	font-size: 0.9rem;
}

@media (min-width: 768px) {
	.mav-cta-form-inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		align-items: center;
		padding: 2.5rem 2rem;
		position: relative;
	}
}

@media (min-width: 768px) {
	.mav-cta-form-wrap {
		margin-top: 0;
		padding: 2rem 1.75rem;
	}
}

/* ══════════════════════════════════════════
   HEADER TOP — серый тонкий (телефон/email + nav + search)
   Аналог header__top v2 в tece-market
   ══════════════════════════════════════════ */
	.mav-header__top {
		background: #f5f5f5;
		border-bottom: 1px solid #e8e8e8;
		font-size: 13px;
		color: #444;
		position: relative;
		z-index: 200;
	}
	.mav-header__top-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 38px;
		gap: 1rem;
	}
	/* Левая часть: контакты + виджет */
	.mav-header__top-left {
		display: flex;
		align-items: center;
		gap: 1rem;
		flex-shrink: 0;
	}
	/* Правая часть: навигация + поиск */
	.mav-header__top-right {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		flex: 1 1 auto;
		justify-content: flex-end;
	}

/* Элемент контакта: иконка + ссылка */
.mav-contact-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #444;
	font-size: 13px;
	position: relative;
}
.mav-contact-item > i,
.mav-contact-item > .fa-solid {
	flex-shrink: 0;
	color: var(--mav-primary, #337ab7);
}
.mav-contact-item a {
	color: #444 !important;
	text-decoration: none !important;
	white-space: nowrap;
}
.mav-contact-item a:hover {
	color: var(--mav-primary, #337ab7) !important;
}

/* Телефон: кнопка-стрелка для выпадашки */
.mav-contact-tel .mav-contact-dropdown__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 2px;
	background: none;
	border: none;
	cursor: pointer;
	color: #666;
	transition: transform 0.2s;
}
.mav-contact-tel .mav-contact-dropdown__btn i {
	font-size: 10px;
	line-height: 1;
}
.mav-contact-tel.is-open .mav-contact-dropdown__btn {
	transform: rotate(180deg);
}

/* Выпадающий список контактов */
.mav-contact-dropdown__panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 210px;
	background: #fff;
	border-radius: 0;
	border: 1px solid #e0e0e0;
	box-shadow: 0 6px 20px rgba(0,0,0,0.12);
	z-index: 9999;
	padding: 4px 0;
}
.mav-contact-dropdown__panel[hidden] {
	display: none !important;
}
.mav-contact-dropdown__panel ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.mav-contact-dropdown__panel li {
	margin: 0;
}
.mav-contact-dropdown__panel a {
	display: flex !important;
	align-items: baseline;
	gap: 0.5rem;
	padding: 7px 14px !important;
	color: #333 !important;
	font-size: 13px;
	text-decoration: none !important;
	transition: background 0.15s;
}
.mav-contact-dropdown__panel a:hover {
	background: rgba(51,122,183,0.07);
	color: var(--mav-primary, #337ab7) !important;
}
.mav-contact-dropdown__label {
	color: #888;
	font-size: 12px;
	white-space: nowrap;
}
.mav-contact-dropdown__value {
	color: #222;
	font-weight: 500;
}

/* Виджет в верхней полосе (кнопка «Обратный звонок» и т.п.) */
.mav-header__top-widgets {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.mav-header__top-widgets .widget {
	margin: 0 !important;
	padding: 0 !important;
}
.mav-header__top-widgets .button,
.mav-header__top-widgets a.button,
.mav-header__top-widgets .btn {
	display: inline-block;
	padding: 4px 12px;
	background: var(--mav-primary, #337ab7);
	color: #fff !important;
	border-radius: 0;
	font-size: 12px;
	text-decoration: none !important;
	white-space: nowrap;
}
.mav-header__top-widgets .button:hover,
.mav-header__top-widgets a.button:hover {
	background: var(--mav-primary-hover, #2868a0);
}

/* Навигация верхней полосы (ссылки страниц) */
.mav-header__nav-top {
	display: flex;
	align-items: center;
}
.mav-nav-top-list {
	display: flex !important;
	align-items: center;
	gap: 0 4px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.mav-nav-top-list li {
	margin: 0;
}
.mav-nav-top-list a {
	display: inline-block;
	padding: 6px 8px;
	color: #555 !important;
	font-size: 12px;
	text-decoration: none !important;
	white-space: nowrap;
	border-radius: 0;
}
.mav-nav-top-list a:hover {
	color: var(--mav-primary, #337ab7) !important;
	background: rgba(51,122,183,0.06);
}

/* Поиск в верхней полосе (компактный) */
.mav-search-form--top .mav-search-form__wrap {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 0;
	overflow: hidden;
	background: #fff;
	height: 28px;
}
.mav-search-form--top .mav-search-form__input {
	flex: 1;
	min-width: 140px;
	max-width: 200px;
	padding: 3px 8px;
	border: none;
	font-size: 12px;
	height: 100%;
}
.mav-search-form--top .mav-search-form__input:focus {
	outline: none;
}
.mav-search-form--top .mav-search-form__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 100%;
	padding: 0;
	background: #fff !important;
	border: none !important;
	box-shadow: none !important;
	color: var(--mav-primary, #337ab7) !important;
	cursor: pointer;
	flex-shrink: 0;
}
.mav-search-form--top .mav-search-form__btn:hover {
	background: #fff !important;
	color: var(--mav-primary-hover, #2868a0) !important;
}
.mav-search-form--top .mav-search-form__btn i {
	font-size: 13px;
	line-height: 1;
}
/* ══════════════════════════════════════════
   HEADER MAIN — белый, крупный
   Аналог header__main v2 в tece-market
   ══════════════════════════════════════════ */
.mav-header-wrapper {
	position: relative;
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.mav-header__main {
	background: #fff;
}
.mav-header__main-row {
	display: flex;
	align-items: center;
	min-height: 68px;
	padding: 8px 0;
	gap: 1rem;
}

/* Левый блок: кнопки каталога + логотип */
.mav-header__main-left {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* Кнопка «Каталог товаров» (синяя с гамбургером) */
.mav-catalog-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--mav-primary, #337ab7);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 0;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}
.mav-catalog-btn:hover {
	background: var(--mav-primary-hover, #2868a0);
	color: #fff !important;
}
.mav-catalog-btn i {
	font-style: normal;
}

/* Кнопка «Доп. Каталог» (контурная) */
.mav-dop-catalog-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 12px;
	background: transparent;
	color: var(--mav-text, #433329) !important;
	text-decoration: none !important;
	border-radius: 0;
	border: 1px solid #ddd;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: border-color 0.2s, color 0.2s;
}
.mav-dop-catalog-btn:hover {
	border-color: var(--mav-primary, #337ab7);
	color: var(--mav-primary, #337ab7) !important;
}

/* Гамбургер: 3 линии */
.mav-hamburger {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex-shrink: 0;
}
.mav-hamburger span {
	display: block;
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 0;
}

/* Точки (4 точки 2x2) */
.mav-dots {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
	flex-shrink: 0;
}
.mav-dots span {
	display: block;
	width: 4px;
	height: 4px;
	background: currentColor;
	border-radius: 0;
}

/* Логотип */
.mav-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	color: var(--mav-heading, #337ab7) !important;
	margin-left: 4px;
}
.mav-logo img {
	max-height: 46px;
	width: auto;
	display: block;
}
.mav-logo__text {
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--mav-heading, #337ab7);
}

/* Мобильная кнопка меню (бургер) */
.mav-mobile-menu-toggle {
	border-radius: 0;
	display: none;
	width: 45px;
	height: 45px;
	padding: 0;
	border: 1px solid #d7dbe1;
	background: #fff;
	color: #2e3f51;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
}
.mav-mobile-menu-toggle span {
	display: block;
	width: 16px;
	height: 2px;
	background: currentColor;
}

/* Поиск (растягивается в центре) */
.mav-header__main-search {
	flex: 1 1 auto;
	min-width: 180px;
}
.mav-search-form--main .mav-search-form__wrap {
	display: flex;
	align-items: stretch;
	border: 2px solid var(--mav-primary, #337ab7);
	border-radius: 0;
	overflow: hidden;
	height: 44px;
}
.mav-search-form--main .mav-search-form__input {
	flex: 1;
	min-width: 0;
	padding: 0 14px;
	border: none;
	font-size: 14px;
	color: #333;
}
.mav-search-form--main .mav-search-form__input:focus {
	outline: none;
}
.mav-search-form--main .mav-search-form__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	background: #fff !important;
	border: none !important;
	box-shadow: none !important;
	color: var(--mav-primary, #337ab7) !important;
	cursor: pointer;
	transition: color 0.2s;
	flex-shrink: 0;
}
.mav-search-form--main .mav-search-form__btn:hover {
	background: #fff !important;
	color: var(--mav-primary-hover, #2868a0) !important;
}
.mav-search-form--main .mav-search-form__btn i {
	font-size: 18px;
	line-height: 1;
}

/* Live-search dropdown (main + mobile). */
.mav-search-form[data-mav-live-search] {
	position: relative;
}
.mav-live-search {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 120;
	background: #fff;
	border: 1px solid #d7e0ea;
	box-shadow: 0 10px 24px rgba(22, 52, 82, 0.18);
	max-height: min(60vh, 460px);
	overflow: auto;
}
.mav-live-search__state {
	padding: 12px 14px;
	font-size: 13px;
	color: #42566b;
}
.mav-live-search__state--error {
	color: #9a3819;
}
.mav-live-search__list {
	display: flex;
	flex-direction: column;
}
.mav-live-search__item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	text-decoration: none !important;
	color: #1f2f41 !important;
	border-bottom: 1px solid #edf2f7;
}
.mav-live-search__item:last-child {
	border-bottom: none;
}
.mav-live-search__item:hover,
.mav-live-search__item.is-active {
	background: #f3f8fd;
}
.mav-live-search__thumb-wrap {
	flex: 0 0 52px;
}
.mav-live-search__thumb {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #e5ebf1;
}
.mav-live-search__thumb--empty {
	background: #f2f4f7;
}
.mav-live-search__content {
	display: grid;
	gap: 4px;
	min-width: 0;
}
.mav-live-search__title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #1f2f41;
}
.mav-live-search__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: #5c6f81;
}
.mav-live-search__stock--outofstock {
	color: #9a3819;
	font-weight: 600;
}
.mav-live-search__price {
	font-size: 13px;
	color: var(--mav-price, #9a3819);
}
.mav-live-search__price .price {
	color: inherit;
}
.mav-live-search__price-fallback {
	color: #66798c;
}

/* Правый блок: телефон + иконки + корзина */
.mav-header__main-right {
	display: flex;
	align-items: center;
	gap: 4px 12px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

/* Телефон в main — крупнее */
.mav-header__main-right .mav-contact-tel {
	font-size: 14px;
}
.mav-header__main-right .mav-contact-tel .mav-contact-tel__link {
	font-size: 15px;
	font-weight: 600;
	color: #222 !important;
}
.mav-header__main-right .mav-contact-tel .mav-contact-tel__link:hover {
	color: var(--mav-primary, #337ab7) !important;
}

/* Иконки состояний (сравнение, избранное, просмотренные) */
.mav-user-state {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding: 4px 6px;
	color: #555 !important;
	text-decoration: none !important;
	font-size: 11px;
	border-radius: 0;
	transition: background 0.15s, color 0.15s;
	position: relative;
	min-width: 42px;
}
.mav-user-state:hover {
	background: rgba(51,122,183,0.08);
	color: var(--mav-primary, #337ab7) !important;
}
.mav-user-state i {
	width: 22px;
	height: 22px;
	color: #777;
	flex-shrink: 0;
	transition: color 0.15s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}
.mav-user-state:hover i {
	color: var(--mav-primary, #337ab7);
}
.mav-user-state__qty {
	display: block;
	font-size: 11px;
	line-height: 1;
	color: inherit;
	margin-top: 1px;
}
.mav-user-state__label {
	display: block;
	font-size: 10px;
	white-space: nowrap;
	opacity: 0.8;
}

/* Корзина (синяя кнопка) */
.mav-user-cart {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 14px;
	background: var(--mav-primary, #337ab7);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 0;
	min-width: 56px;
	transition: background 0.2s;
}
.mav-user-cart:hover {
	background: var(--mav-primary-hover, #2868a0);
	color: #fff !important;
}
.mav-user-cart i {
	font-size: 20px;
	line-height: 1;
}
.mav-user-cart__qty {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
.mav-user-cart__label {
	display: block;
	font-size: 10px;
	opacity: 0.95;
}

/* ══════════════════════════════════════════
   HEADER BOTTOM — серый, тонкий
   Аналог header__bottom в tece-market
   ══════════════════════════════════════════ */
.mav-header__bottom {
	background: #f0f2f5;
	border-bottom: 1px solid #e2e4e8;
	padding-top: 2px;
}
.mav-header__bottom-row {
	display: flex;
	align-items: center;
	min-height: 40px;
	gap: 4px;
	flex-wrap: wrap;
}

/* Кнопка каталога в нижней полосе */
.mav-catalog-btn--bottom {
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 0;
}
.mav-dop-catalog-btn--bottom {
	padding: 6px 10px;
	font-size: 13px;
	border-radius: 0;
	border-color: #ccc;
}
.mav-dop-catalog-btn--bottom:hover {
	border-color: var(--mav-primary, #337ab7);
}
.mav-catalog-btn--bottom.is-mega-open,
.mav-dop-catalog-btn--bottom.is-mega-open {
	background: var(--mav-primary, #337ab7);
	color: #fff !important;
	border-color: var(--mav-primary, #337ab7);
	box-shadow: 0 10px 18px rgba(51, 122, 183, 0.24);
}

/* Навигация нижней полосы */
.mav-header__nav-bottom {
	flex: 1 1 auto;
}
.mav-nav-bottom-list {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.mav-nav-bottom-list li {
	margin: 0;
}
.mav-nav-bottom-list a {
	display: inline-block;
	padding: 10px 12px;
	color: #444 !important;
	font-size: 13px;
	text-decoration: none !important;
	white-space: nowrap;
}
.mav-nav-bottom-list a:hover {
	color: var(--mav-primary, #337ab7) !important;
}

/* ══════════════════════════════════════════
   МЕГА-ПАНЕЛИ (открываются JS'ом)
   ══════════════════════════════════════════ */
.mav-mega-panels {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 9999;
	pointer-events: none;
	padding-top: 1px;
}
.mav-mega-panel {
	pointer-events: auto;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	border: 1px solid rgba(51, 122, 183, 0.16);
	border-top: 2px solid rgba(51, 122, 183, 0.42);
	border-radius: 0;
	box-shadow: 0 18px 40px rgba(13, 38, 64, 0.16);
	padding: 18px 0 22px;
	display: none;
}
.mav-mega-panel.is-open {
	display: block;
}
.mav-mega-panel[hidden] {
	display: none !important;
}
/* Сетка ссылок в мега-меню */
.mav-mega-inner {
	display: block;
}
.mav-mega-panel-head {
	margin-bottom: 10px;
}
.mav-mega-panel-kicker {
	display: inline-block;
	margin-bottom: 6px;
	padding: 4px 10px;
	border-radius: 0;
	background: rgba(51, 122, 183, 0.1);
	color: var(--mav-primary, #337ab7);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.mav-mega-panel-title {
	margin: 0 0 4px;
	color: var(--mav-heading, #337ab7);
	font-size: clamp(1rem, 1.1vw, 1.24rem);
	line-height: 1.25;
}
.mav-mega-panel-subtitle {
	margin: 0;
	max-width: 860px;
	color: #5a6776;
	font-size: 13px;
	line-height: 1.45;
}
.mav-mega-panel-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}
.mav-mega-panel-links a {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border: 1px solid rgba(51, 122, 183, 0.25);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.8);
	color: var(--mav-link, #1460a2) !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.mav-mega-panel-links a:hover {
	border-color: rgba(51, 122, 183, 0.55);
	background: #fff;
	color: var(--mav-primary, #337ab7) !important;
}
.mav-mega-item {
	display: flex !important;
	align-items: center;
	gap: 8px;
	padding: 6px 8px !important;
	color: var(--mav-text, #433329) !important;
	text-decoration: none !important;
	font-size: 14px;
	border-radius: 0;
	transition: background 0.15s, color 0.15s;
}
.mav-mega-item:hover {
	background: rgba(51,122,183,0.08);
	color: var(--mav-primary, #337ab7) !important;
}
.mav-mega-cat-img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	border-radius: 0;
	flex-shrink: 0;
	background: #f5f5f5;
}

/* Сетка плиток каталога в мега-меню (одинаковые квадраты, картинка + подпись) */
#mav-mega-catalog .mav-mega-inner,
#mav-mega-services .mav-mega-inner {
	display: block !important;
}
.mav-mega-tiles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	max-width: 100%;
}
.mav-mega-tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 0;
	overflow: hidden;
	text-decoration: none;
	border: 1px solid rgba(51, 122, 183, 0.16);
	background: #eff4fa;
	transition: box-shadow 0.25s ease, transform 0.25s linear, border-color 0.25s ease;
}
.mav-mega-tile:hover {
	box-shadow: 0 16px 24px rgba(20, 56, 90, 0.24);
	transform: translateY(-4px);
	border-color: rgba(51, 122, 183, 0.42);
}
.mav-mega-tile__img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #dbe8f3;
	transition: transform 0.35s ease;
}
.mav-mega-tile:hover .mav-mega-tile__img {
	transform: scale(1.04);
}
.mav-mega-tile__img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 26, 41, 0.75) 0%, rgba(7, 26, 41, 0.1) 58%, rgba(7, 26, 41, 0) 100%);
	pointer-events: none;
}
.mav-mega-tile--no-img .mav-mega-tile__img {
	background: linear-gradient(145deg, #4b87bb 0%, #2f658f 100%);
}
.mav-mega-tile--no-img .mav-mega-tile__img::after {
	background: linear-gradient(to top, rgba(10, 26, 44, 0.68) 0%, rgba(10, 26, 44, 0.1) 70%);
}
.mav-mega-tile__title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.25;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
	background: linear-gradient(180deg, rgba(14, 38, 56, 0) 0%, rgba(14, 38, 56, 0.75) 100%);
	min-height: 50px;
}

/* Мобильный drawer */
.mav-mobile-drawer-overlay,
.mav-mobile-drawer {
	display: none;
}
.mav-mobile-drawer-overlay[hidden],
.mav-mobile-drawer[hidden] {
	display: none !important;
}

body.mav-mobile-nav-open {
	overflow: hidden;
}

/* ══════════════════════════════════════════
   ПОЛОСКА ПРЕИМУЩЕСТВ (под шапкой)
   ══════════════════════════════════════════ */
.mav-advantages-bar {
	background: #fff;
	padding-top: 25px;
	padding-bottom: 25px;
}
.mav-advantages-bar .mav-advantages-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	width: 100%;
}
.mav-advantages-bar .widget_mav_advantage {
	flex: 1 1 20%;
	max-width: 20%;
	min-width: 0;
}

.mav-advantages-bar .mav-advantages-inner .widget{
	margin: 0;
}

/* Карточка преимущества */
a.mav-advantage-item {
	display: flex;
}
.mav-advantage-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	background: #f9f9f9;
	padding: 30px 10px 10px;
	margin: 5px;
	height: 180px;
	color: #20201e;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.2s;
}
.mav-advantage-item:hover {
	background: #edf4f7;
	text-decoration: none;
	color: #20201e;
}
.mav-advantage-item .mav-advantage-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 10px;
	flex-shrink: 0;
	min-height: 45px;
}
.mav-advantage-item .mav-advantage-icon i {
	font-size: 33px;
	line-height: 1;
	color: var(--mav-primary, #337ab7);
}
.mav-advantage-item .mav-advantage-icon img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}
.mav-advantage-item .mav-advantage-emoji {
	font-size: 40px;
	line-height: 1;
}
.mav-advantage-item .mav-advantage-text {
	font-size: 15px;
	line-height: 18px;
	color: #000;
	max-width: 166px;
	margin: 0 auto;
}

/* Адаптив преимуществ */
@media (max-width: 1200px) {
	.mav-advantages-bar .widget_mav_advantage {
		flex: 1 1 25%;
		max-width: 25%;
	}
}
@media (max-width: 900px) {
	.mav-advantages-bar .widget_mav_advantage {
		flex: 1 1 33.3333%;
		max-width: 33.3333%;
	}
}
@media (max-width: 640px) {
	.mav-advantages-bar .widget_mav_advantage {
		flex: 1 1 50%;
		max-width: 50%;
	}
}
@media (max-width: 480px) {
	.mav-advantage-item {
		padding: 6px 10px 10px;
		height: 127px;
	}
	.mav-advantage-item .mav-advantage-icon {
		min-height: 40px;
	}
	.mav-advantage-item .mav-advantage-icon i {
		font-size: 26px;
	}
	.mav-advantage-item .mav-advantage-icon img {
		width: 40px;
		height: 40px;
	}
	.mav-advantage-item .mav-advantage-text {
		font-size: 13px;
		line-height: 16px;
		max-width: 100%;
	}
}

/* ══════════════════════════════════════════
   МЕГА-МЕНЮ из Astra-меню (walker, legacy)
   ══════════════════════════════════════════ */
body.mav-theme .mav-mega-wrap {
	position: absolute !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 100vw !important;
	max-width: 100vw !important;
	top: 100% !important;
	background: #fff !important;
	border-top: 2px solid var(--mav-primary, #337ab7) !important;
	box-shadow: 0 8px 28px rgba(0,0,0,0.12) !important;
	z-index: 9999 !important;
	display: none !important;
	padding: 1.25rem 0 !important;
}
body.mav-theme .main-header-menu > .mav-has-mega:hover .mav-mega-wrap {
	display: block !important;
}
body.mav-theme .mav-mega-inner {
	max-width: var(--mav-content-width);
	margin: 0 auto;
	padding: 0 20px;
	display: block !important;
}
body.mav-theme .mav-mega-inner a {
	text-decoration: none !important;
	transition: color 0.2s ease;
}
body.mav-theme .mav-mega-inner a:hover {
	color: var(--mav-primary, #337ab7) !important;
}

/* Кнопка «Перейти в каталог» в мега-меню — как на главной (outline) */
#mav-mega-catalog .mav-tiles-more,
#mav-mega-services .mav-tiles-more {
	margin: 16px 0 0;
	text-align: center;
}
#mav-mega-catalog .mav-tiles-more .button,
#mav-mega-services .mav-tiles-more .button {
	display: inline-block !important;
	background: var(--mav-primary, #337ab7) !important;
	color: #fff !important;
	border: 1px solid var(--mav-primary, #337ab7) !important;
	border-radius: 0;
	padding: 0.58rem 1.3rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
#mav-mega-catalog .mav-tiles-more .button:hover,
#mav-mega-services .mav-tiles-more .button:hover {
	background: var(--mav-primary-hover, #2868a0) !important;
	border-color: var(--mav-primary-hover, #2868a0) !important;
	transform: translateY(-1px);
}
/* ══════════════════════════════════════════
   ФУТЕР
   ══════════════════════════════════════════ */
/* Кастомный футер mav-footer переопределяет общие стили Astra для footer */
body.mav-theme .ast-small-footer,
body.mav-theme .site-footer,
body.mav-theme footer.ast-small-footer,
body.mav-theme footer.site-footer {
	border-top: none !important;
}
body.mav-theme .site-footer.mav-footer {
	background-color: #eee !important;
	color: #433329 !important;
	padding: 0 !important;
}
body.mav-theme .site-below-footer-wrap,
body.mav-theme .site-below-footer-inner-wrap {
	max-width: var(--mav-content-width);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px;
	padding-right: 20px;
}
body.mav-theme .ast-small-footer .ast-container,
body.mav-theme .site-footer .ast-container {
	max-width: var(--mav-content-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* Кастомный футер mav-footer: 4 колонки — Контакты | Каталог | Монтаж | Подписка и соцсети */
.mav-footer {
	--mav-footer-bg: #eee;
	--mav-footer-text: #433329;
	--mav-footer-heading: #a50e0f;
	--mav-footer-link: #337ab7;
	--mav-footer-link-hover: #2868a0;
	--mav-footer-btn: #d9534f;
	--mav-footer-btn-hover: #c94440;
	background-color: var(--mav-footer-bg);
	color: var(--mav-footer-text);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-sizing: border-box;
}
.mav-footer__inner {
	padding: 2.25rem 0 1.75rem;
}
.mav-footer__container {
	max-width: var(--mav-content-width, 1200px);
	margin: 0 auto;
	padding: 0 20px;
}
.mav-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.mav-footer__grid.mav-footer__grid--cols-2 {
	grid-template-columns: repeat(2, 1fr);
}
.mav-footer__grid.mav-footer__grid--cols-3 {
	grid-template-columns: repeat(3, 1fr);
}
.mav-footer__col {
	margin: 0;
	padding: 0;
	min-width: 0;
}
.mav-footer__title {
	color: var(--mav-footer-heading);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.85rem;
	line-height: 1.3;
}
.mav-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mav-footer__list li {
	margin: 0 0 0.4rem;
}
.mav-footer__list a {
	color: var(--mav-footer-text);
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.45;
	transition: color 0.2s;
}
.mav-footer__list a:hover {
	color: var(--mav-footer-link);
	text-decoration: underline;
}
.mav-footer__legal-info {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--mav-footer-text);
}
.mav-footer__contacts {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
}
.mav-footer__contact-item {
	margin: 0 0 0.5rem;
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
}
.mav-footer__contact-item i {
	flex-shrink: 0;
	width: 1.1em;
	text-align: center;
	color: var(--mav-footer-link);
}
.mav-footer__contact-link,
.mav-footer__contact-text {
	color: var(--mav-footer-text);
	font-size: 0.9rem;
	line-height: 1.45;
	text-decoration: none;
}
.mav-footer__contact-link:hover {
	color: var(--mav-footer-link);
	text-decoration: underline;
}
.mav-footer__contact-text {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.4rem;
}

/* Кнопка «Заказать звонок» */
.mav-footer__callback-wrap {
	margin: 0.75rem 0 0;
}
.mav-footer__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	font-family: inherit;
	line-height: inherit;
	text-decoration: none;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
button.mav-footer__btn {
	-webkit-appearance: none;
	appearance: none;
	text-align: left;
}
.mav-footer__btn-callback {
	background-color: var(--mav-footer-btn);
	color: #fff !important;
}
.mav-footer__btn-callback:hover {
	background-color: var(--mav-footer-btn-hover);
	color: #fff !important;
	text-decoration: none;
}

/* Соцсети (в первой колонке под кнопкой «Заказать звонок») */
.mav-footer__social {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.mav-footer__social li {
	margin: 0;
}
.mav-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0;
	background: var(--mav-footer-link);
	color: #fff !important;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}
.mav-footer__social-link:hover {
	background: var(--mav-footer-link-hover);
	color: #fff !important;
	text-decoration: none;
	transform: scale(1.05);
}
.mav-footer__social-link i {
	font-size: 1.15rem;
}

/* Нижняя полоса: копирайт, юридические ссылки, кнопка «Наверх» */
.mav-footer__bottom {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding: 1rem 0;
	background: rgba(0, 0, 0, 0.03);
}
.mav-footer__bottom-inner {
	max-width: var(--mav-content-width, 1200px);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.mav-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}
.mav-footer__copyright {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--mav-footer-text);
}
.mav-footer__legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}
.mav-footer__legal-link {
	font-size: 0.8125rem;
	color: var(--mav-footer-link);
	text-decoration: none;
}
.mav-footer__legal-link:hover {
	text-decoration: underline;
	color: var(--mav-footer-link-hover);
}
.mav-footer__to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0;
	background: var(--mav-footer-link);
	color: #fff !important;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
	flex-shrink: 0;
}
.mav-footer__to-top:hover {
	background: var(--mav-footer-link-hover);
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-2px);
}
.mav-footer__to-top i {
	font-size: 1rem;
}

/* Футер: планшеты — 2 колонки */
@media (max-width: 991px) {
	.mav-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem 1.5rem;
	}
	.mav-footer__inner {
		padding: 1.75rem 0 1.25rem;
	}
}
/* Футер: мобильные — одна колонка */
@media (max-width: 575px) {
	.mav-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
	.mav-footer__inner {
		padding: 1.5rem 0 1rem;
	}
	.mav-footer__col {
		text-align: left;
	}
	.mav-footer__title {
		margin-bottom: 0.5rem;
	}
	.mav-footer__social {
		margin-top: 0.25rem;
	}
	.mav-footer__bottom {
		padding: 0.75rem 0;
	}
	.mav-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}
	.mav-footer__legal {
		justify-content: center;
	}
	.mav-footer__copyright {
		font-size: 0.75rem;
		text-align: center;
	}
}

/* ══════════════════════════════════════════
   АДАПТИВ
   ══════════════════════════════════════════ */
@media (max-width: 1023px) {
	.mav-header__main-left .mav-dop-catalog-btn { display: none; }
	.mav-header__main-right .mav-contact-tel    { display: none; }
	.mav-header__main-right .mav-user-state__label { display: none; }
}
@media (max-width: 767px) {
	.mav-header__top,
	.mav-header__bottom {
		display: none;
	}
	.mav-header__main-row {
		flex-wrap: nowrap;
		padding: 6px 0;
		gap: 6px;
	}
	.mav-header__main-left {
		gap: 6px;
		flex: 1 1 auto;
	}
	.mav-header__main-search {
		display: none;
	}
	.mav-header__main-right {
		gap: 15px;
		margin-left: auto;
		flex-wrap: nowrap;
		align-items: center;
	}
	.mav-header__main-right .mav-user-state {
		display: none !important;
	}
	.mav-mobile-menu-toggle {
		display: inline-flex;
		flex-shrink: 0;
	}
	.mav-user-cart {
		position: relative;
		min-width: auto;
		padding: 6px 10px;
		flex-direction: column;
		align-items: center;
	}
	.mav-user-cart i {
		font-size: 18px;
	}
	.mav-user-cart__qty {
		font-size: 13px;
		font-weight: 600;
	}
	/* Текст «Корзина» скрыт на мобиле; для скринридеров оставляем доступным */
	.mav-user-cart__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
	.mav-header__bottom-row { min-height: 36px; }
	.mav-mega-inner {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	.mav-mega-panel {
		border-radius: 0;
	}
	.mav-mega-panel-links {
		gap: 6px;
		margin-bottom: 10px;
	}
	.mav-mega-tiles-grid {
		grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
		gap: 8px;
	}
	.mav-mega-tile {
		aspect-ratio: 1;
	}
	.mav-logo img { max-height: 34px; }

	.mav-mobile-drawer-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(12, 21, 30, 0.54);
		z-index: 10030;
	}
	.mav-mobile-drawer {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(88vw, 360px);
		background: #fff;
		z-index: 10040;
		border-right: 1px solid #dbe3ed;
		overflow: hidden;
	}
	.mav-mobile-drawer__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 54px;
		padding: 0 14px;
		border-bottom: 1px solid #e7edf4;
	}
	.mav-mobile-drawer__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
		border: none;
		background: transparent;
		color: #324d68;
		padding: 0;
	}
	.mav-mobile-drawer__body {
		height: calc(100% - 54px);
		overflow-y: auto;
		padding: 12px 14px 20px;
	}
	.mav-search-form--mobile .mav-search-form__wrap {
		display: flex;
		align-items: stretch;
		border: 1px solid #cfd9e5;
		height: 40px;
		overflow: hidden;
		margin-bottom: 12px;
	}
	.mav-search-form--mobile .mav-search-form__input {
		flex: 1;
		border: none;
		padding: 0 10px;
		font-size: 14px;
	}
	.mav-search-form--mobile .mav-search-form__input:focus {
		outline: none;
	}
	.mav-search-form--mobile .mav-search-form__btn {
		width: 42px;
		border: none !important;
		background: #fff !important;
		color: var(--mav-primary, #337ab7) !important;
	}
	.mav-search-form--mobile .mav-live-search {
		position: static;
		margin-top: 6px;
		max-height: 300px;
		box-shadow: 0 8px 18px rgba(22, 52, 82, 0.14);
	}
	.mav-mobile-links-quick {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 12px;
	}
	.mav-mobile-links-quick__item {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 8px 9px;
		border: 1px solid #d7e0ea;
		color: #24415d !important;
		font-size: 12px;
		text-decoration: none !important;
	}
	.mav-mobile-links-quick__item i {
		color: var(--mav-primary, #337ab7);
	}
	.mav-mobile-accordion__trigger {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 12px;
		border: 1px solid #d7e0ea;
		background: #f7fafd;
		color: #233f5a;
		font-size: 14px;
		font-weight: 600;
		margin-bottom: 6px;
	}
	.mav-mobile-accordion__trigger[aria-expanded="true"] i {
		transform: rotate(180deg);
	}
	.mav-mobile-accordion__trigger i {
		transition: transform 0.2s ease;
	}
	.mav-mobile-accordion__panel {
		padding: 2px 0 8px;
	}
	.mav-mobile-menu-list,
	.mav-mobile-nav__list {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.mav-mobile-menu-list li,
	.mav-mobile-nav__list li {
		margin: 0;
	}
	.mav-mobile-menu-list a,
	.mav-mobile-nav__list a {
		display: block;
		padding: 9px 10px;
		border-bottom: 1px solid #edf2f7;
		color: #2b465f !important;
		text-decoration: none !important;
		font-size: 14px;
		line-height: 1.35;
	}
	.mav-mobile-nav {
		margin-top: 8px;
	}
}

/* ══════════════════════════════════════════
   COOKIE CONSENT BANNER
   ══════════════════════════════════════════ */
.mav-cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	padding: 1rem 20px;
	background: #eee;
	color: #433329;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(100%);
	transition: transform 0.3s ease;
	visibility: hidden;
	box-sizing: border-box;
}
.mav-cookie-consent--visible {
	transform: translateY(0);
	visibility: visible;
}
.mav-cookie-consent__inner {
	max-width: 1488px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.mav-cookie-consent__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	flex: 1 1 280px;
}
.mav-cookie-consent__link {
	color: #337ab7;
	text-decoration: underline;
}
.mav-cookie-consent__link:hover {
	color: #2868a0;
}
.mav-cookie-consent__btn {
	padding: 0.5rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #fff;
	background: #d9534f;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s;
	flex-shrink: 0;
}
.mav-cookie-consent__btn:hover {
	background: #c94440;
}
@media (max-width: 575px) {
	.mav-cookie-consent__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
}

/* ══════════════════════════════════════════
   СТРАНИЦА С БОКОВОЙ ПАНЕЛЬЮ (инфо-страницы)
   ══════════════════════════════════════════ */
.ast-plain-container.ast-no-sidebar .mav-page-with-sidebar#primary{margin-top: 0;}
.mav-page-with-sidebar .mav-page-breadcrumbs{margin: 15px 0 25px 0;color:gray;}
.mav-page-with-sidebar .mav-page-breadcrumbs a{color: #222;}
.mav-page-with-sidebar .mav-sidebar-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2.5rem 3rem;
	align-items: start;
	padding-top: 0;
	padding-bottom: 2rem;
}
.mav-sidebar-layout__main {
	min-width: 0;
}
.mav-sidebar-layout__sidebar {
	position: sticky;
	top: 1.5rem;
	padding-top: 35px;
}

/* Блоки сайдбара */
.mav-sidebar-info {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}
.mav-sidebar-info__section {
	background: #fff;
	border: 1px solid var(--mav-border, rgba(51, 122, 183, 0.15));
	border-radius: 0;
	box-shadow: var(--mav-shadow, 0 2px 12px rgba(51, 122, 183, 0.08));
	padding: 1.25rem 1.125rem;
	box-sizing: border-box;
}
.mav-sidebar-info__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--mav-heading, #337ab7);
	margin: 0 0 0.85rem;
	line-height: 1.3;
}

/* УТП — список с иконками */
.mav-sidebar-utp__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mav-sidebar-utp__item {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 0.65rem;
	font-size: 0.875rem;
	line-height: 1.4;
}
.mav-sidebar-utp__item:last-child {
	margin-bottom: 0;
}
.mav-sidebar-utp__icon {
	flex-shrink: 0;
	width: 1.25em;
	text-align: center;
	color: var(--mav-btn-primary, #337ab7);
}
.mav-sidebar-utp__text {
	color: var(--mav-text, #433329);
}

/* Навигация по разделам */
.mav-sidebar-nav__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mav-sidebar-nav__list li {
	margin: 0 0 0.35rem;
}
.mav-sidebar-nav__list a {
	display: block;
	padding: 0.35rem 0;
	font-size: 0.9rem;
	color: var(--mav-text, #433329);
	text-decoration: none;
	transition: color 0.15s;
}
.mav-sidebar-nav__list a:hover,
.mav-sidebar-nav__list a.current {
	color: var(--mav-link, #1460a2);
	font-weight: 500;
}

/* Форма Contact Form 7 в сайдбаре */
.mav-sidebar-form .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 0.75rem;
}
.mav-sidebar-form input[type="text"],
.mav-sidebar-form input[type="email"],
.mav-sidebar-form input[type="tel"],
.mav-sidebar-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem 0.6rem;
	font-size: 0.875rem;
	border: 1px solid var(--mav-border);
	border-radius: 0;
	box-sizing: border-box;
}
.mav-sidebar-form input[type="submit"] {
	margin-top: 0.25rem;
	width: 100%;
}
.mav-sidebar-form__placeholder {
	font-size: 0.8125rem;
	color: #666;
	margin: 0;
}

/* Товары в сайдбаре */
.mav-sidebar-products__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mav-sidebar-products__item {
	margin: 0 0 0.75rem;
	border-bottom: 1px solid var(--mav-border);
}
.mav-sidebar-products__item:last-child {
	margin-bottom: 0;
	border-bottom: none;
}
.mav-sidebar-products__link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	padding: 0.5rem 0;
	text-decoration: none;
	color: var(--mav-text, #433329);
	transition: color 0.15s;
}
.mav-sidebar-products__link:hover {
	color: var(--mav-link, #1460a2);
}
.mav-sidebar-products__img {
	flex-shrink: 0;
}
.mav-sidebar-products__img img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 0;
}
.mav-sidebar-products__title {
	flex: 1 1 140px;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.35;
}
.mav-sidebar-products__price {
	width: 100%;
	font-size: 0.8125rem;
	color: var(--mav-price, #9a3819);
	font-weight: 600;
}
.mav-sidebar-products__more {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
}
.mav-sidebar-products__more a {
	text-decoration: underline;
}

/* Мобильная версия: сайдбар под контентом */
@media (max-width: 1023px) {
	.mav-page-with-sidebar .mav-sidebar-layout {
		grid-template-columns: 1fr;
	}
	.mav-sidebar-layout__sidebar {
		position: static;
	}
}
/* ═══════════════════════════════════════════════════════════════════════
   СТРАНИЦА С БОКОВОЙ ПАНЕЛЬЮ — СОВРЕМЕННЫЙ СТИЛЬ
   ═══════════════════════════════════════════════════════════════════════ */

/* Основная сетка страницы */
.mav-page-with-sidebar .mav-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
    max-width: var(--mav-content-width, 1200px);
    margin: 0 auto;
}

.mav-sidebar-layout__main {
    min-width: 0; /* Предотвращает переполнение */
}

.mav-sidebar-layout__sidebar {
    position: sticky;
    top: 2rem;
}

/* ───────────────────────────────────────────────────────────────────────
   КАРТОЧКИ ДОЧЕРНИХ СТРАНИЦ — современный горизонтальный дизайн
   ─────────────────────────────────────────────────────────────────────── */

.child-pages-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.child-page-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(51, 122, 183, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.child-page-card:hover {
    transform: translateY(-4px);
    border-color: var(--mav-primary, #337ab7);
    box-shadow: 0 20px 30px -10px rgba(51, 122, 183, 0.2);
}

.child-page-card .card-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    min-height: 180px;
}

/* Левая часть с изображением — фиксированная ширина */
.child-page-card .card-image {
    flex: 0 0 240px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.child-page-card .card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.child-page-card:hover .card-image img {
    transform: scale(1.05);
}

/* Правая часть с текстом — занимает оставшееся место */
.child-page-card .card-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.child-page-card .card-title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.75rem;
    color: var(--mav-heading, #1e293b);
    transition: color 0.2s;
}

.child-page-card:hover .card-title {
    color: var(--mav-primary, #337ab7);
}

.child-page-card .card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
    opacity: 0.9;
}

/* Если нет изображения — делаем компактнее */
.child-page-card .card-link:not(:has(.card-image)) .card-content {
    padding-left: 1.5rem;
}

/* ───────────────────────────────────────────────────────────────────────
   БЛОК "НАШИ РАБОТЫ" — плитка (общие стили)
   ─────────────────────────────────────────────────────────────────────── */

.mav-works-tiles {
    margin: 3rem 0;
}

.mav-works-tiles h2 {
    font-size: 1.8rem;
    color: var(--mav-heading);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.mav-works-tiles h2::after,
h2.mav-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--mav-primary);
    border-radius: 0;
}

.mav-works-tiles .mav-single-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.mav-works-tiles .mav-single-work-item {
    background: #fff;
    border: 1px solid var(--mav-border);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mav-works-tiles .mav-single-work-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--mav-shadow);
}

.mav-works-tiles .mav-single-work-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.mav-works-tiles .mav-single-work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mav-works-tiles .mav-single-work-item:hover .mav-single-work-image img {
    transform: scale(1.05);
}

.mav-works-tiles .mav-single-work-item h3 {
    padding: 15px 15px 10px;
    margin: 0;
    font-size: 1.2rem;
}

.mav-works-tiles .mav-single-work-item h3 a {
    color: var(--mav-heading);
    text-decoration: none;
}

.mav-works-tiles .mav-single-work-item h3 a:hover {
    color: var(--mav-link-hover);
}

.mav-works-tiles .mav-single-works-more {
    text-align: center;
}

/* ───────────────────────────────────────────────────────────────────────
   БОКОВАЯ ПАНЕЛЬ — стильные карточки с современным дизайном
   ─────────────────────────────────────────────────────────────────────── */

.mav-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Общий стиль карточек сайдбара */
.mav-sidebar-info__section {
    background: #fff;
    border-radius: 0;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(51, 122, 183, 0.12);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.mav-sidebar-info__section:hover {
    border-color: rgba(51, 122, 183, 0.25);
    box-shadow: 0 12px 28px -12px rgba(51, 122, 183, 0.2);
}

.mav-sidebar-info__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(51, 122, 183, 0.15);
    color: var(--mav-heading, #1e293b);
    letter-spacing: -0.01em;
    position: relative;
}

.mav-sidebar-info__title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--mav-primary, #337ab7);
    border-radius: 0;
}

/* Блок УТП — с иконками */
.mav-sidebar-utp__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mav-sidebar-utp__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mav-sidebar-utp__item:last-child {
    border-bottom: none;
}

.mav-sidebar-utp__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 122, 183, 0.1);
    border-radius: 0;
    color: var(--mav-primary, #337ab7);
    font-size: 0.9rem;
}

.mav-sidebar-utp__text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--mav-text, #2d3748);
}

/* Навигация по разделам */
.mav-sidebar-nav__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mav-sidebar-nav__list li {
    margin: 0 0 0.35rem;
}

.mav-sidebar-nav__list a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: var(--mav-text, #2d3748);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s;
    background: rgba(51, 122, 183, 0.02);
    border: 1px solid transparent;
}

.mav-sidebar-nav__list a:hover {
    background: rgba(51, 122, 183, 0.06);
    border-color: rgba(51, 122, 183, 0.15);
    color: var(--mav-primary, #337ab7);
    transform: translateX(4px);
}

.mav-sidebar-nav__list a.current {
    background: rgba(51, 122, 183, 0.1);
    border-color: rgba(51, 122, 183, 0.25);
    color: var(--mav-primary, #337ab7);
    font-weight: 500;
}

/* Форма заявки */
.mav-sidebar-form input[type="text"],
.mav-sidebar-form input[type="email"],
.mav-sidebar-form input[type="tel"],
.mav-sidebar-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1.5px solid rgba(51, 122, 183, 0.15);
    border-radius: 0;
    background: #fff;
    transition: all 0.2s;
    box-sizing: border-box;
}

.mav-sidebar-form input:focus,
.mav-sidebar-form textarea:focus {
    outline: none;
    border-color: var(--mav-primary, #337ab7);
    box-shadow: 0 0 0 4px rgba(51, 122, 183, 0.1);
}

.mav-sidebar-form input[type="submit"] {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--mav-primary, #337ab7);
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
    box-shadow: 0 8px 16px -8px rgba(51, 122, 183, 0.4);
}

.mav-sidebar-form input[type="submit"]:hover {
    background: var(--mav-primary-hover, #2868a0);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -10px rgba(51, 122, 183, 0.5);
}

/* Карточки товаров в сайдбаре */
.mav-sidebar-products__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mav-sidebar-products__item {
    margin: 0 0 0.75rem;
    transition: all 0.2s;
}

.mav-sidebar-products__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    text-decoration: none;
    color: inherit;
    border-radius: 0;
    background: #fff;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.mav-sidebar-products__link:hover {
    background: rgba(51, 122, 183, 0.02);
    border-color: rgba(51, 122, 183, 0.2);
    transform: translateY(-2px);
}

.mav-sidebar-products__img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 0;
    overflow: hidden;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.mav-sidebar-products__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mav-sidebar-products__info {
    flex: 1;
    min-width: 0;
}

.mav-sidebar-products__title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 0.35rem;
    color: var(--mav-text, #2d3748);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mav-sidebar-products__price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mav-price, #9a3819);
    background: rgba(154, 56, 25, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 0;
    display: inline-block;
}

.mav-sidebar-products__more {
    margin: 1rem 0 0;
    text-align: center;
}

.mav-sidebar-products__more a {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(51, 122, 183, 0.05);
    border: 1px solid rgba(51, 122, 183, 0.2);
    border-radius: 0;
    color: var(--mav-primary, #337ab7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mav-sidebar-products__more a:hover {
    background: var(--mav-primary, #337ab7);
    color: #fff;
    border-color: var(--mav-primary, #337ab7);
}

/* ───────────────────────────────────────────────────────────────────────
   АДАПТИВНОСТЬ
   ─────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .mav-page-with-sidebar .mav-sidebar-layout {
        grid-template-columns: 1fr 300px;
        gap: 1.5rem;
    }
    
    .child-page-card .card-link {
        min-height: 160px;
    }
    
    .child-page-card .card-image {
        flex-basis: 200px;
    }
}

@media (max-width: 768px) {
    .mav-page-with-sidebar .mav-sidebar-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mav-sidebar-layout__sidebar {
        position: static;
    }
    
    .child-page-card .card-link {
        flex-direction: column;
        min-height: auto;
    }
    
    .child-page-card .card-image {
        flex-basis: 180px;
        width: 100%;
        position: relative;
    }
    
    .child-page-card .card-content {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .mav-sidebar-info__section {
        padding: 1.25rem 1rem;
    }
    
    .child-page-card {
        border-radius: 0;
    }
    
    .child-page-card .card-title {
        font-size: 1.2rem;
    }
}
/* ═══════════════════════════════════════════════════════════════════════
   БЛОК УТП С ФОРМОЙ (ДЛЯ СТРАНИЦЫ ТОВАРА)
   Использует переменные из :root
   ═══════════════════════════════════════════════════════════════════════ */

   .mav-utp-block {
    margin: 3rem 0 2rem;
    padding: 0;
    width: 100%;
}

.mav-utp-inner {
    position: relative;
    max-width: var(--mav-content-width, 1488px);
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 60%),
                linear-gradient(135deg, var(--mav-primary) 0%, #4a6cf7 50%, #6d28d9 100%);
    border-radius: 0;
    box-shadow: var(--mav-shadow), 0 10px 40px rgba(51, 122, 183, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Сетка для десктопа */
@media (min-width: 992px) {
    .mav-utp-inner {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3rem;
        align-items: center;
        padding: 25px;
    }
}

/* Левая часть — контент УТП */
.mav-utp-content {
    position: relative;
    z-index: 2;
}

.mav-utp-heading {
    margin: 0 0 1.25rem;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mav-utp-heading span {
    display: block;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-top: 0.5rem;
    text-shadow: none;
}

.mav-utp-text {
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.mav-utp-text strong {
    color: #FFD966;
    font-weight: 700;
}

/* Список преимуществ */
.mav-utp-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.mav-utp-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.mav-utp-list li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 0;
    font-weight: bold;
    color: #FFD966;
    font-size: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.5);
    flex-shrink: 0;
}

/* Бейджи доверия */
.mav-utp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mav-utp-badges span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.mav-utp-badges span::before {
    content: "⭐";
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px gold);
}

/* Правая часть — форма */
.mav-utp-form-wrap {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0;
    padding: 25px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.mav-utp-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mav-utp-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mav-heading);
    margin: 0 0 0.5rem;
}

.mav-utp-form-subtitle {
    font-size: 0.95rem;
    color: var(--mav-text);
    opacity: 0.8;
    margin: 0;
}

/* Стили для формы CF7 внутри блока */
.mav-utp-form-wrap .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mav-utp-form-wrap .wpcf7-form p {
    margin: 0;
}

.mav-utp-form-wrap .wpcf7-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mav-text);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mav-utp-form-wrap .wpcf7-form input[type="text"],
.mav-utp-form-wrap .wpcf7-form input[type="email"],
.mav-utp-form-wrap .wpcf7-form input[type="tel"],
.mav-utp-form-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0;
    background: #fff;
    color: var(--mav-text);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.mav-utp-form-wrap .wpcf7-form textarea {
    border-radius: 0;
    min-height: 80px;
}

.mav-utp-form-wrap .wpcf7-form input:focus,
.mav-utp-form-wrap .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--mav-primary);
    box-shadow: 0 0 0 4px rgba(51, 122, 183, 0.15);
    transform: scale(1.01);
}

.mav-utp-form-wrap .wpcf7-form input[type="submit"], .mav-utp-form-wrap .wpcf7-form button {
    background: linear-gradient(105deg, var(--mav-btn-primary), var(--mav-accent-orange));
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px -5px rgba(217, 83, 79, 0.5);
    width: 100%;
    margin-top: 0.5rem;
}

.mav-utp-form-wrap .wpcf7-form input[type="submit"]:hover, .mav-utp-form-wrap .wpcf7-form button:hover {
    background: linear-gradient(105deg, var(--mav-btn-primary-hover), #fb923c);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(217, 83, 79, 0.6);
}

.mav-utp-form-wrap .wpcf7-form input[type="submit"]:active, .mav-utp-form-wrap .wpcf7-form button:active {
    transform: translateY(0);
}

.mav-utp-form-wrap .wpcf7-spinner {
    display: none;
}

.mav-utp-form-wrap .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 0.8rem 1.2rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    background: #d1e7ff;
    border: 1px solid #9ec5fe;
    color: #084298;
}

.mav-utp-form-note {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    text-align: center;
    color: var(--mav-text);
    opacity: 0.7;
}

.mav-utp-form-note a {
    color: var(--mav-link);
    text-decoration: underline;
}

.mav-utp-form-note a:hover {
    color: var(--mav-link-hover);
}

/* Адаптивность */
@media (max-width: 991px) {
    .mav-utp-inner {
        padding: 2rem 1.5rem;
    }
    
    .mav-utp-heading {
        font-size: 2rem;
    }
    
    .mav-utp-heading span {
        font-size: 1.2rem;
    }
    
    .mav-utp-form-wrap {
        margin-top: 2rem;
        padding: 1.8rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .mav-utp-heading {
        font-size: 1.8rem;
    }
    
    .mav-utp-text {
        font-size: 1rem;
    }
    
    .mav-utp-list li {
        font-size: 0.95rem;
    }
    
    .mav-utp-badges {
        gap: 0.8rem;
    }
    
    .mav-utp-badges span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .mav-utp-inner {
        padding: 1.5rem 1rem;
        border-radius: 0;
    }
    
    .mav-utp-heading {
        font-size: 1.5rem;
    }
    
    .mav-utp-heading span {
        font-size: 1rem;
    }
    
    .mav-utp-form-wrap {
        padding: 1.5rem 1rem;
        border-radius: 0;
    }
    
    .mav-utp-form-title {
        font-size: 1.2rem;
    }
    
    .mav-utp-form-wrap .wpcf7-form input[type="submit"] {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}



.mav-form {
    max-width: 500px;
    margin: 20px 0;
}

.mav-form .mav-field {
    margin-bottom: 15px;
}

.mav-form .mav-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.mav-form .mav-field input[type="text"],
.mav-form .mav-field input[type="email"],
.mav-form .mav-field input[type="tel"],
.mav-form .mav-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    box-sizing: border-box;
}

.mav-form .mav-field textarea {
    min-height: 100px;
    resize: vertical;
}

.mav-form .mav-field button[type="submit"] {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
}

.mav-form .mav-field button[type="submit"]:hover {
    background: #005a87;
}

.mav-form .mav-field button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.mav-form .mav-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 0;
}

.mav-form .mav-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mav-form .mav-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}