/* Alteco Site — доповнення до теми alteco: меню, сторінки з Elementor, форми, попапи, категорії. */
:root {
	--ae-green: #52B238;
	--ae-green-d: #42A028;
	--ae-dark: #161D22;
	--ae-grey: #797D7F;
	--ae-orange: #F95024;
	--ae-light: #EAF0F4;
	--ae-line: #DFE3EA;
}

/* ---------- Меню ---------- */
.header__bottom-nav ul li:nth-child(3) a,
.header__bottom-nav ul li:nth-child(3) a:hover {
	color: var(--ae-dark);
	border-bottom-color: #fff;
}
.header__bottom-nav ul li a:hover,
.header__bottom-nav ul li.current-menu-item > a,
.header__bottom-nav ul li.current-menu-ancestor > a {
	border-bottom-color: var(--ae-dark);
}
.header__bottom-nav > div > ul > li,
.header__bottom-nav > ul > li {
	position: relative;
}
.header__bottom-nav > div > ul > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.header__bottom-nav .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s;
}
.header__bottom-nav ul.sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -18px;
	z-index: 50;
	display: block;
	min-width: 260px;
	padding: 12px 0;
	background: #fff;
	border-top: 3px solid var(--ae-green);
	box-shadow: 0 14px 34px rgba(22, 29, 34, .14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.header__bottom-nav ul.sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -15px;
	height: 15px;
}
.header__bottom-nav li:hover > ul.sub-menu,
.header__bottom-nav li:focus-within > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.header__bottom-nav ul.sub-menu li {
	display: block;
}
.header__bottom-nav ul.sub-menu li a {
	display: block;
	padding: 9px 20px;
	border: 0;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
}
.header__bottom-nav ul.sub-menu li a:hover,
.header__bottom-nav ul.sub-menu li.current-menu-item a {
	color: var(--ae-green-d);
	border: 0;
	background: #f4f8f2;
}
.header {
	position: relative;
	z-index: 40;
}

/* Мобільне меню */
.ae-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	visibility: hidden;
}
.ae-drawer.is-open {
	visibility: visible;
}
.ae-drawer__bg {
	position: absolute;
	inset: 0;
	background: rgba(22, 29, 34, .5);
	opacity: 0;
	transition: opacity .25s;
}
.ae-drawer.is-open .ae-drawer__bg {
	opacity: 1;
}
.ae-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	overflow-y: auto;
	padding: 20px 22px 30px;
	background: #fff;
	transform: translateX(100%);
	transition: transform .25s;
}
.ae-drawer.is-open .ae-drawer__panel {
	transform: none;
}
.ae-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	font-weight: 700;
	font-size: 18px;
}
.ae-drawer__x {
	width: 40px;
	height: 40px;
	background: none;
	font-size: 32px;
	line-height: 1;
	color: var(--ae-dark);
}
.ae-drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ae-drawer li {
	border-bottom: 1px solid var(--ae-line);
}
.ae-drawer li a {
	display: block;
	padding: 13px 44px 13px 0;
	font-weight: 700;
	font-size: 16px;
	color: var(--ae-dark);
}
.ae-drawer li {
	position: relative;
}
.ae-drawer .ae-sub-toggle {
	position: absolute;
	top: 4px;
	right: 0;
	width: 40px;
	height: 40px;
	background: none;
}
.ae-drawer .ae-sub-toggle::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border: solid var(--ae-dark);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform .2s;
}
.ae-drawer li.is-open > .ae-sub-toggle::before {
	transform: rotate(-135deg);
}
.ae-drawer .sub-menu {
	display: none;
	padding: 0 0 8px 14px;
}
.ae-drawer li.is-open > .sub-menu {
	display: block;
}
.ae-drawer .sub-menu li {
	border: 0;
}
.ae-drawer .sub-menu a {
	padding: 8px 0;
	font-weight: 600;
	font-size: 15px;
}
.ae-drawer__contacts {
	margin-top: 22px;
	font-size: 15px;
	line-height: 1.9;
}
.ae-drawer__contacts a {
	color: var(--ae-green-d);
	font-weight: 700;
}
html.ae-lock body {
	width: 100%;
}

/* Пошук */
.ae-search {
	position: fixed;
	inset: 0;
	z-index: 1001;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 18vh 16px 0;
	background: rgba(22, 29, 34, .6);
}
.ae-search[hidden] {
	display: none;
}
.ae-search form {
	display: flex;
	width: min(720px, 100%);
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.ae-search input {
	flex: 1;
	min-width: 0;
	padding: 18px 20px;
	border: 0;
	font-size: 18px;
	outline: none;
}
.ae-search button {
	padding: 0 26px;
	background: var(--ae-green);
	color: #fff;
	font-weight: 700;
}

/* Бокове меню прибираємо (ТЗ) — контент на всю ширину */
.page-cl__left {
	display: none !important;
}
.page-cl__wrap {
	display: block;
}
.page-cl__right,
.page-cl__product {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

/* ---------- Хлібні крихти ---------- */
.ae-crumbs {
	padding: 14px 0;
	font-size: 14px;
	color: var(--ae-grey);
}
.ae-crumbs a {
	color: var(--ae-grey);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ae-crumbs a:hover {
	color: var(--ae-green-d);
}
.ae-crumbs__sep {
	margin: 0 8px;
}

/* ---------- Сторінки з Elementor ---------- */
.ae-content {
	color: var(--ae-dark);
	font-size: 17px;
	line-height: 1.65;
}
.ae-content .container {
	width: 100%;
	max-width: 1200px;
}
.ae-sec {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: var(--mh, 0);
	padding: var(--pt, 12px) 0 var(--pb, 12px);
	background-position: center;
	background-size: cover;
}
.ae-sec--bg {
	padding: var(--pt, 60px) 0 var(--pb, 60px);
}
.ae-content > .ae-sec:first-child {
	padding-top: max(var(--pt, 40px), 40px);
}
.ae-content > .ae-sec:last-child {
	padding-bottom: max(var(--pb, 40px), 40px);
}
.ae-dark,
.ae-dark .ae-h,
.ae-dark .ae-text,
.ae-dark .ae-list,
.ae-dark .ae-box__t,
.ae-dark .ae-box__d {
	color: #fff;
}
.ae-dark .ae-text a {
	color: #fff;
}
.ae-row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.ae-row--mid {
	align-items: center;
}
.ae-row > .ae-col {
	flex: 1 1 calc(var(--w) - 30px);
	max-width: var(--w);
	min-width: 0;
}
.ae-box--card {
	height: calc(100% - 18px);
	padding: 36px 26px;
	border: 1px solid #eef0f2;
	border-radius: 5px;
	box-shadow: 0 4px 18px rgba(22, 29, 34, .05);
}
.ae-col--card {
	padding: 26px 20px;
	background: #fff;
	border: 1px solid #eef0f2;
	box-shadow: 0 4px 18px rgba(22, 29, 34, .06);
}
.ae-col--bg {
	padding: 30px;
	background-position: center;
	background-size: cover;
}
.ae-inner {
	margin: 10px 0;
}
.ae-inner--bg {
	padding: 50px 40px;
	background-position: center;
	background-size: cover;
}
.ae-content .ae-h {
	margin: 0 0 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ae-dark);
}
.ae-content .ae-dark .ae-h {
	color: #fff;
}
.ae-content h1.ae-h {
	font-size: clamp(30px, 4vw, 52px);
	font-weight: 600;
}
.ae-content h2.ae-h {
	font-size: clamp(26px, 3vw, 37px);
}
.ae-content h3.ae-h {
	font-size: clamp(22px, 2.4vw, 30px);
}
.ae-content h4.ae-h,
.ae-content h5.ae-h,
.ae-content h6.ae-h {
	font-size: 22px;
}

.ae-text {
	margin: 0 0 16px;
}
.ae-text > *:first-child {
	margin-top: 0;
}
.ae-text > *:last-child {
	margin-bottom: 0;
}
.ae-text p {
	margin: 0 0 14px;
}
.ae-text h2,
.ae-text h3,
.ae-text h4,
.ae-text h5 {
	margin: 22px 0 12px;
	line-height: 1.3;
}
.ae-text h2 { font-size: clamp(24px, 2.6vw, 32px); }
.ae-text h3 { font-size: clamp(21px, 2.2vw, 26px); }
.ae-text h4 { font-size: 20px; }
.ae-text a,
.ae-alert a,
.ae-box__d a {
	color: var(--ae-green-d);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ae-text ul,
.ae-box__d ul {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}
.ae-text ul li,
.ae-box__d ul li {
	position: relative;
	margin-bottom: 8px;
	padding-left: 28px;
}
.ae-text ul li::before,
.ae-box__d ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .35em;
	width: 6px;
	height: 12px;
	border: solid var(--ae-green);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.ae-text ol {
	margin: 0 0 16px;
	padding-left: 22px;
}
.ae-text ol li {
	margin-bottom: 8px;
}
.ae-text blockquote,
.ae-alert {
	margin: 16px 0;
	padding: 22px 26px 22px 30px;
	background: #f4f7f9;
	border-left: 4px solid var(--ae-green);
}
.ae-text table,
.ae-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
.ae-table {
	overflow-x: auto;
	margin: 0 0 20px;
}
.ae-text td,
.ae-text th,
.ae-table td,
.ae-table th {
	padding: 10px 14px;
	border: 1px solid var(--ae-line);
	text-align: left;
	vertical-align: top;
}
.ae-table tr:first-child td,
.ae-table th {
	background: #f4f7f9;
	font-weight: 700;
}
.ae-text img {
	max-width: 100%;
	height: auto;
}
.ae-img {
	margin: 0 0 20px;
}
.ae-img img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.ae-img figcaption {
	margin-top: 8px;
	font-size: 14px;
	color: var(--ae-grey);
	text-align: center;
}
.ae-list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}
.ae-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 9px;
}
.ae-list .ae-ico {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: .2em;
	color: var(--ae-green);
}
.ae-list a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ae-hr {
	margin: 12px 0 22px;
	border: 0;
	border-top: 2px solid var(--ae-green);
}
.ae-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 6px 0 18px;
}
.ae-btns[style*="center"] {
	justify-content: center;
}
.ae-btn,
.ae-content .ae-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 34px;
	background: var(--ae-green);
	border: 0;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s;
}
.ae-btn:hover {
	background: var(--ae-green-d);
	color: #fff;
}
.ae-box {
	position: relative;
	margin: 0 0 18px;
}
.ae-box[style*="center"] .ae-icon,
.ae-box[style*="center"] .ae-icon-img {
	margin-left: auto;
	margin-right: auto;
}
.ae-box .ae-icon,
.ae-box .ae-icon-img {
	display: block;
	margin: 0 0 14px;
}
.ae-box .ae-icon-img {
	max-width: 80px;
	max-height: 80px;
}
.ae-box .ae-icon {
	font-size: 42px;
	color: var(--ae-green);
}
.ae-box .ae-icon svg {
	width: 48px;
	height: 48px;
	fill: currentColor;
}
.ae-box__t {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}
.ae-box__d {
	font-size: 16px;
	line-height: 1.6;
}
.ae-box__more {
	display: inline-block;
	margin-top: 10px;
	color: var(--ae-green-d);
	font-size: 24px;
}
.ae-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 30px;
	margin: 0 0 20px;
}
.ae-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}
.ae-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.ae-card__t {
	margin-top: 12px;
	font-weight: 700;
	text-align: center;
}
.ae-video {
	position: relative;
	margin: 0 0 20px;
	padding-top: 56.25%;
	background: #000;
}
.ae-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.ae-gal {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
	margin: 0 0 20px;
}
.ae-gal img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: opacity .2s;
}
.ae-gal a:hover img {
	opacity: .85;
}
.ae-faq {
	margin: 0 0 20px;
}
.ae-acc {
	border-bottom: 1px solid var(--ae-line);
}
.ae-acc summary {
	position: relative;
	padding: 18px 40px 18px 0;
	font-weight: 700;
	font-size: 18px;
	list-style: none;
	cursor: pointer;
}
.ae-acc summary::-webkit-details-marker {
	display: none;
}
.ae-acc summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 12px;
	font-size: 28px;
	font-weight: 400;
	color: var(--ae-green);
}
.ae-acc[open] summary::after {
	content: "−";
}
.ae-acc__b {
	padding: 0 0 18px;
}
.ae-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}
.ae-tabs__btn {
	flex: 1 1 180px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid var(--ae-green);
	color: var(--ae-green-d);
	font-weight: 700;
	cursor: pointer;
}
.ae-tabs__btn.is-active {
	background: var(--ae-green);
	color: #fff;
}
.ae-tabs__pane {
	display: none;
}
.ae-tabs__pane.is-active {
	display: block;
}
.ae-tabs__pane .ae-sec {
	padding: 0;
}
.ae-tabs__pane .container {
	padding: 0;
	max-width: none;
}
.ae-pie {
	text-align: center;
}
.ae-pie__c {
	display: grid;
	place-items: center;
	width: 150px;
	height: 150px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: conic-gradient(var(--ae-green) calc(var(--p) * 1%), #e6ebe4 0);
}
.ae-pie__c span {
	display: grid;
	place-items: center;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	background: #fff;
	font-size: 30px;
	font-weight: 700;
	color: var(--ae-dark);
}
.ae-counter {
	text-align: center;
}
.ae-counter__n {
	font-size: 56px;
	font-weight: 700;
	color: #c9cdcf;
}
.ae-counter__t {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 13px;
}
.ae-promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}
.ae-promo__img,
.ae-promo__txt {
	flex: 1 1 360px;
}
.ae-promo__img img {
	width: 100%;
	height: auto;
}
.ae-price {
	height: 100%;
	padding: 30px 26px;
	border-top: 6px solid var(--ae-dark);
	box-shadow: 0 6px 24px rgba(22, 29, 34, .08);
	text-align: center;
}
.ae-price__sub {
	color: var(--ae-grey);
	margin-bottom: 10px;
}
.ae-price__v {
	margin: 10px 0 18px;
	font-size: 28px;
	font-weight: 700;
	color: var(--ae-orange);
}
.ae-price .ae-list {
	text-align: left;
}
.ae-sp {
	max-height: 60px;
}
.ae-narrow {
	max-width: 900px;
}
.ae-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}
.ae-map--inline iframe {
	height: 340px;
}
.ae-article {
	max-width: 1000px;
}
.ae-article img,
.ae-article video {
	max-width: 100%;
	height: auto;
}

/* ---------- Форми ---------- */
.ae-formbox {
	max-width: 900px;
	margin: 10px auto 20px;
	padding: 34px;
	background: #f4f7f9;
}
.ae-form__title {
	margin-bottom: 18px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ae-dark);
}
.ae-form__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: -4px 0 18px;
	font-size: 19px;
	line-height: 1.3;
	color: var(--ae-green);
	text-decoration: none;
}
.ae-form__phone:hover {
	color: var(--ae-green-d);
}
.ae-form__phone svg {
	flex: none;
}
.ae-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.ae-form__f {
	display: block;
	margin: 0;
}
.ae-form__f--wide {
	grid-column: 1 / -1;
}
.ae-form input[type=text],
.ae-form input[type=tel],
.ae-form input[type=email],
.ae-form textarea,
.ae-form select {
	display: block;
	width: 100%;
	padding: 15px 16px;
	background: #fff;
	border: 1px solid #cfd6dc;
	border-radius: 0;
	font: inherit;
	font-size: 16px;
	color: var(--ae-dark);
	transition: border-color .2s, box-shadow .2s;
}
.ae-form textarea {
	min-height: 110px;
	resize: vertical;
}
.ae-form input:focus,
.ae-form textarea:focus,
.ae-form select:focus {
	border-color: var(--ae-green);
	box-shadow: 0 0 0 3px rgba(82, 178, 56, .15);
	outline: none;
}
.ae-form .is-invalid {
	border-color: #e23f14 !important;
}
.ae-form__check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ae-grey);
}
.ae-form__check input {
	margin-top: 3px;
}
.ae-form__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: 16px;
}
.ae-form__plane {
	flex: none;
}
.ae-form__btn[disabled] {
	opacity: .6;
	cursor: wait;
}
.ae-form__msg {
	margin-top: 12px;
	font-weight: 600;
}
.ae-form__msg.is-ok {
	color: var(--ae-green-d);
}
.ae-form__msg.is-err {
	color: #e23f14;
}
.ae-form__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}
.ae-form,
.ae-form *,
.ae-calc,
.ae-calc *,
.ae-cards,
.ae-cards * {
	box-sizing: border-box;
}
.ae-form {
	position: relative;
}
.ae-cards > *,
.ae-grid > *,
.ae-calc {
	min-width: 0;
}
.ae-form.is-sent .ae-form__grid,
.ae-form.is-sent .ae-form__btn {
	display: none;
}

/* Форма з теми (part/contact-form.php) — робоча через JS */
#base-contact-form .contact-form__submit button[disabled] {
	opacity: .6;
}

/* ---------- Попапи — як Popup Maker на старому сайті ---------- */
.ae-modal {
	position: fixed;
	inset: 0;
	z-index: 1002;
	display: flex;
	align-items: flex-start;
	padding: 5vh 9px;
	background: rgba(0, 0, 0, .53);
}
.ae-modal[hidden] {
	display: none;
}
.ae-modal__box {
	position: relative;
	width: min(864px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	margin: auto;
	padding: 20px;
	border: 5px solid var(--ae-green);
	background: #fff;
	box-shadow: 0 0 30px #020202;
	color: var(--ae-dark);
	animation: ae-pop .35s ease-out;
}
@keyframes ae-pop {
	from { opacity: 0; }
}
.ae-modal__x {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 26px;
	background: var(--ae-orange);
	box-shadow: 0 0 15px 1px rgba(2, 2, 2, .75);
	font: 300 24px/22px Arial, sans-serif;
	color: #fff;
	text-align: center;
	cursor: pointer;
}
.ae-modal__title {
	margin: 0 0 16px;
	font-family: "Noto Sans", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 36px;
	color: var(--ae-dark);
}
.ae-modal__text {
	margin-bottom: 16px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--ae-dark);
}
.ae-modal .ae-form__grid {
	grid-template-columns: 1fr 1fr;
	gap: 20px 30px;
}
.ae-modal .ae-form__f--wide {
	grid-column: 1 / -1;
}
.ae-modal .ae-form input[type=text],
.ae-modal .ae-form input[type=tel],
.ae-modal .ae-form input[type=email],
.ae-modal .ae-form select {
	height: 46px;
	padding: 10px;
	border: 1px solid #DFE3EA;
	background: #fff;
	box-shadow: 0 15px 15px -14px rgba(0, 0, 0, .01);
	font-size: 16px;
	line-height: 24px;
	letter-spacing: .5px;
}
.ae-modal .ae-form textarea {
	height: 45px;
	min-height: 45px;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid #DFE3EA;
	background: none;
	resize: none;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: .1px;
}
.ae-modal .ae-form input::placeholder,
.ae-modal .ae-form textarea::placeholder {
	color: #A5A8AA;
}
.ae-modal .ae-form__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: auto;
	margin-top: 40px;
	padding: 17px 35px 17px 34px;
	font-family: sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
}
@media (max-width: 767px) {
	.ae-modal .ae-form__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Калькулятор ---------- */
.ae-calc {
	display: grid;
	gap: 14px;
	max-width: 520px;
}
.ae-calc__title {
	font-size: 30px;
	font-weight: 700;
}
.ae-calc__sub {
	color: var(--ae-grey);
	margin-top: -8px;
}
.ae-calc label {
	display: grid;
	gap: 6px;
	font-size: 15px;
}
.ae-calc input,
.ae-calc output {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cfd6dc;
	font: inherit;
	background: #fff;
}
.ae-calc output {
	background: #f4f7f9;
	color: var(--ae-orange);
	font-weight: 700;
}

/* ---------- Категорії ---------- */
.ae-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
}
.ae-cards__item {
	display: flex;
	flex-direction: column;
	color: var(--ae-dark);
	background: #fff;
	box-shadow: 0 6px 24px rgba(22, 29, 34, .07);
	transition: box-shadow .2s, transform .2s;
}
.ae-cards__item:hover {
	box-shadow: 0 12px 34px rgba(22, 29, 34, .14);
	transform: translateY(-3px);
}
.ae-cards__img img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.ae-cards__title {
	padding: 20px 22px 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}
.ae-cards__desc {
	padding: 0 22px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ae-grey);
}
.ae-cards__more {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding: 16px 22px 22px;
	font-weight: 700;
	color: var(--ae-green-d);
}
.ae-cards__more svg {
	width: 26px;
}
.ae-pager .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}
.ae-pager .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	border: 1px solid var(--ae-line);
	font-weight: 700;
}
.ae-pager .page-numbers.current {
	background: var(--ae-green);
	border-color: var(--ae-green);
	color: #fff;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.ae-cards { grid-template-columns: repeat(2, 1fr); }
	.ae-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.ae-row > .ae-col {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.ae-row > .ae-col[style*="--w:25"],
	.ae-row > .ae-col[style*="--w:33"],
	.ae-row > .ae-col[style*="--w:20"],
	.ae-row > .ae-col[style*="--w:16"] {
		flex: 1 1 calc(50% - 15px);
		max-width: calc(50% - 15px);
	}
}
@media (max-width: 600px) {
	.ae-sec { padding: calc(var(--pt, 12px) * .6) 0 calc(var(--pb, 12px) * .6); min-height: 0; }
	.ae-sec--bg { padding: calc(var(--pt, 60px) * .6) 0 calc(var(--pb, 60px) * .6); }
	.ae-content h1.ae-h,
	.ae-content h2.ae-h,
	.ae-content h3.ae-h { font-size: clamp(22px, 7vw, 32px) !important; }
	.ae-inner--bg { padding: 30px 18px; }
	.ae-row > .ae-col,
	.ae-row > .ae-col[style*="--w:25"],
	.ae-row > .ae-col[style*="--w:33"],
	.ae-row > .ae-col[style*="--w:20"],
	.ae-row > .ae-col[style*="--w:16"] {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.ae-content { font-size: 16px; }
	.ae-cards,
	.ae-grid--4 { grid-template-columns: 1fr; }
	.ae-form__grid { grid-template-columns: 1fr; }
	.ae-formbox { padding: 22px 16px; }
	.ae-map iframe { height: 300px; }
	.ae-grid { grid-template-columns: 1fr; }
}

/* ---------- Дрібниці з Elementor ---------- */
.ae-btn--sm,
.ae-content .ae-btn--sm {
	min-height: 38px;
	padding: 8px 20px;
	font-size: 13px;
}
.ae-box__img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto 18px;
}
.ae-box__t a {
	color: inherit;
}
.ae-box__t a:hover {
	color: var(--ae-green-d);
}
.ae-promo--right {
	flex-direction: row-reverse;
}
.ae-promo__sub {
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.ae-text img.alignright {
	float: right;
	max-width: 45%;
	margin: 0 0 16px 24px;
}
.ae-text img.alignleft {
	float: left;
	max-width: 45%;
	margin: 0 24px 16px 0;
}
.ae-text img.aligncenter {
	display: block;
	margin: 0 auto 16px;
}
.ae-text::after {
	content: "";
	display: table;
	clear: both;
}
@media (max-width: 600px) {
	.ae-text img.alignright,
	.ae-text img.alignleft {
		float: none;
		max-width: 100%;
		margin: 0 0 14px;
	}
	.ae-promo--right {
		flex-direction: column;
	}
}

/* ---------- Адаптив: проміжні ширини ---------- */
.ae-content .ae-h,
.ae-text,
.ae-box__t,
.ae-cards__title,
.ae-cards__desc {
	overflow-wrap: break-word;
	hyphens: auto;
}
/* Як на старому сайті: текст статей без переносів по складах, лише перенос довгих слів */
.page-cl__product,
.page-cl__right,
.page-cl__title h1 {
	overflow-wrap: break-word;
}
@media (max-width: 1000px) {
	.footer__wrap {
		flex-wrap: wrap;
		row-gap: 40px;
	}
	.footer__col {
		flex: 1 1 calc(50% - 20px);
	}
	.footer__col-social ul {
		flex-wrap: wrap;
	}
	.page-cl__title h1 {
		font-size: clamp(26px, 5.5vw, 57px);
	}
}
@media (max-width: 700px) {
	.ae-text table {
		display: block;
		overflow-x: auto;
	}
	.ae-content h4.ae-h,
	.ae-content h5.ae-h {
		font-size: 20px !important;
	}
}
@media (max-width: 700px) {
	.page-cl__product table,
	.page-cl__right table {
		display: block;
		overflow-x: auto;
	}
	.page-cl__product img,
	.page-cl__right img {
		max-width: 100%;
		height: auto;
	}
}
@media (max-width: 420px) {
	.page-cl__product-short-buttons {
		display: flex;
		flex-wrap: wrap;
	}
	.page-cl__product-short-buttons button {
		flex: 1 1 100%;
	}
	.page-cl__product-short-info {
		width: 100%;
		min-width: 0;
	}
}
.ae-pager .nav-links {
	flex-wrap: wrap;
}

/* У темі шлях до іконки списків 404 (themes/alteco/img/check.png) — підставляємо свою. */
.page-cl__right ol li::before,
.page-cl__product ol li::before {
	background-image: url(../img/check.png);
}
.ae-acc summary h3 {
	display: inline;
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

/* ---------- Банер cookie (як CookieYes на старому сайті) ---------- */
.ae-cookie {
	position: fixed;
	bottom: 40px;
	left: 40px;
	z-index: 9990;
	width: 440px;
	max-width: calc(100% - 32px);
	font-family: "Open Sans", sans-serif;
}
.ae-cookie[hidden] {
	display: none;
}
.ae-cookie__bar {
	padding: 20px 26px;
	border: 1px solid #F4F4F4;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 -1px 10px rgba(172, 171, 171, .3);
}
.ae-cookie__title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	color: #212121;
}
.ae-cookie__text {
	font-size: 14px;
	line-height: 24px;
	color: #212121;
}
.ae-cookie__text p {
	margin: 0 0 22px;
	overflow-wrap: break-word;
}
.ae-cookie__text p:last-child {
	margin-bottom: 0;
}
.ae-cookie__text a {
	color: #1863DC;
	text-decoration: underline;
	white-space: nowrap;
}
.ae-cookie__btn {
	display: block;
	width: 100%;
	margin-top: 16px;
	padding: 8px;
	border: 2px solid var(--ae-green);
	border-radius: 2px;
	background: var(--ae-green);
	font: 500 14px/24px "Open Sans", sans-serif;
	color: #fff;
	cursor: pointer;
	transition: opacity .3s;
}
.ae-cookie__btn:hover {
	opacity: .8;
}
@media (max-width: 576px) {
	.ae-cookie {
		bottom: 0;
		left: 0;
	}
}
@media (max-width: 440px) {
	.ae-cookie {
		width: 100%;
		max-width: 100%;
	}
	.ae-cookie__bar {
		padding: 20px 24px;
	}
	.ae-cookie__text {
		max-height: 40vh;
		overflow-y: auto;
	}
}

/* ---------- Сторінки, перенесені 1 в 1 (стилі — assets/css/legacy/<сторінка>.css) ---------- */
.ae-legacy {
	overflow-x: clip;
}
.ae-legacy .elementor-invisible {
	visibility: hidden;
}
/* Скасовуємо глобальні правила нової теми (*, h3, ul, table…), яких не було на старому сайті:
   (0,1,0) перебиває тему, а правила старого сайту (.ae-html …) — сильніші. */
.ae-legacy :where(*) {
	font-family: inherit;
}
.ae-legacy :where(h1, h3) {
	margin: revert;
	font-size: revert;
	font-weight: revert;
}
.ae-legacy :where(ul) {
	margin: revert;
	padding: revert;
	list-style: revert;
}
.ae-legacy :where(table) {
	display: table;
	overflow: visible;
	max-width: none;
}
.ae-legacy :where(blockquote, blockquote p) {
	margin: revert;
	padding: revert;
	border: revert;
	font-size: revert;
	line-height: revert;
	color: revert;
}
.ae-legacy :where(button) {
	border-radius: revert;
	border-style: revert;
	border-color: revert;
	border-image: revert;
}
.ae-legacy :where(button, input, optgroup, select, textarea) {
	font-size: revert;
	line-height: revert;
}
.ae-legacy .video_frame iframe,
.ae-legacy .trx_addons_video_player iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
/* «Інші наші проекти» — як related_wrap теми Geya */
.ae-related {
	margin: 85px 0 60px;
}
.ae-related .container {
	width: min(1290px, calc(100% - 100px));
	max-width: none;
	padding: 0;
}
.ae-related__title {
	margin: 0 0 30.6px;
	font-family: sans-serif;
	font-size: 30.6px;
	font-weight: 700;
	line-height: 1.086;
	color: var(--ae-dark);
}
.ae-related__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.ae-related__item {
	display: block;
	overflow: hidden;
	aspect-ratio: 300 / 170;
}
.ae-related__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
	transition: transform .5s;
}
.ae-related__item:hover img,
.ae-related__item:focus-visible img {
	transform: scale(1.07);
}
.ae-lb {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 90px;
	background: rgba(243, 247, 250, .56);
}
.ae-lb[hidden] {
	display: none;
}
.ae-lb__fig {
	margin: 0;
	max-width: 100%;
	border-top: 6px solid #444;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}
.ae-lb__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 160px);
	margin: 0 auto;
	cursor: pointer;
}
.ae-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 11px 16px;
	font-size: 16px;
	line-height: 18px;
	color: var(--ae-dark);
}
.ae-lb__count {
	flex: none;
	font-size: 12px;
}
.ae-lb__arrow {
	position: absolute;
	top: 50%;
	width: 90px;
	height: 110px;
	margin-top: -55px;
	padding: 0;
	border: 0;
	background: none;
	opacity: .65;
	cursor: pointer;
}
.ae-lb__arrow:hover {
	opacity: 1;
}
.ae-lb__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 42px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 42'%3E%3Cpath d='M26 2 3 21l23 19z' fill='none' stroke='%23161D22' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: translate(-50%, -50%);
}
.ae-lb__arrow--prev {
	left: 0;
}
.ae-lb__arrow--next {
	right: 0;
}
.ae-lb__arrow--next::before {
	transform: translate(-50%, -50%) scaleX(-1);
}
@media (max-width: 767px) {
	.ae-lb {
		padding: 40px 6px;
	}
	.ae-lb__arrow {
		width: 50px;
	}
}
@media (max-width: 1023px) {
	.ae-related .container {
		width: calc(100% - 60px);
	}
	.ae-related__list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px) {
	.ae-related {
		margin-top: 40px;
	}
	.ae-related .container {
		width: calc(100% - 40px);
	}
	.ae-related__title {
		margin-bottom: 20px;
		font-size: 20px;
		line-height: 1.2;
	}
	.ae-related__list {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* Обгортки старої теми для тексту статей: лише типографіка, без її сітки й відступів сторінки */
.ae-art .page_content_wrap,
.ae-art .content,
.ae-art .post_item_single {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	background: none !important;
}
.ae-art :where(*) {
	font-family: inherit;
}
.ae-art :where(h1, h3) {
	margin: revert;
	font-size: revert;
	font-weight: revert;
}
.ae-art :where(ul) {
	margin: revert;
	padding: revert;
	list-style: revert;
}
.ae-art :where(table) {
	display: table;
	overflow: visible;
}

/* Характеристики станції (ACF теми) — як список параметрів trx_addons на старому сайті */
.page-cl__product-characteristics-title {
	margin: 33.66px 0 14.6px;
	font-family: sans-serif;
	font-size: 37.4px;
	font-weight: 700;
	line-height: 1.021;
	color: var(--ae-dark);
}
.page-cl__product-characteristics-list {
	max-width: 780px;
}
.page-cl__product-characteristics-item {
	display: block;
	margin: 0 0 17px;
	padding-bottom: 0;
	border-bottom: 2px dotted #DDD;
	font-family: sans-serif;
	font-size: 19px;
	font-weight: 500;
	line-height: 24px;
	color: var(--ae-dark);
}
.page-cl__product-characteristics-name,
.page-cl__product-characteristics-value {
	display: inline;
	font: inherit;
	color: inherit;
}
@media (max-width: 1279px) {
	.page-cl__product-characteristics-title {
		font-size: 36px;
	}
}
@media (max-width: 1023px) {
	.page-cl__product-characteristics-title {
		font-size: 30px;
	}
}
@media (max-width: 767px) {
	.page-cl__product-characteristics-title {
		font-size: 24px;
	}
	.page-cl__product-characteristics-item {
		font-size: 16px;
	}
}

/* Правила нової теми для .page-cl__right / .page-cl__product (буліти-галочки, таблиці, відступи) —
   у тексті статей їх не було, скасовуємо: тут діють стилі старого сайту з legacy/article.css. */
.ae-art p,
.ae-art li,
.ae-art ul li,
.ae-art ol li,
.ae-art ul li span {
	font-weight: revert;
	margin-top: revert;
	padding-top: revert;
	font-size: revert;
	line-height: revert;
	color: revert;
}
.ae-art ul,
.ae-art ol {
	display: revert;
	flex-direction: revert;
	gap: revert;
	margin-top: revert;
	padding-left: revert;
	list-style: revert;
}
.ae-art ul li,
.ae-art ol li {
	display: revert;
	align-items: revert;
	gap: revert;
	margin-bottom: revert;
	padding-left: revert;
}
.ae-art ul li::before,
.ae-art ol li::before {
	content: none;
}
.ae-art a {
	color: revert;
}
.ae-art table,
.ae-art th,
.ae-art td,
.ae-art th strong,
.ae-art td strong {
	width: revert;
	border: revert;
	padding: revert;
	background-color: revert;
	color: revert;
	font-size: revert;
	font-weight: revert;
	text-align: revert;
	vertical-align: revert;
}
.ae-art h2,
.ae-art h3 {
	margin-top: revert;
	font-size: revert;
	font-weight: revert;
}
/* На старому сайті під статтями форми не було — прибираємо форму теми з текстових сторінок. */
.page-cl__right > .contact-form {
	display: none;
}

/* Маркери старої теми (fontello: галочка у списках, лапки в цитаті) у новому дизайні не використовуються —
   малюємо маркери нової теми: крапка для звичайних списків, галочка для trx_addons_list_success. */
.ae-art.ae-html ul[class*="trx_addons_list"] > li::before,
.ae-art.ae-html ul:not([class]) > li::before,
.ae-art.ae-html blockquote::before,
.ae-art.ae-html blockquote[class*="trx_addons_blockquote"]::before {
	content: none;
	font-family: inherit;
}
.ae-art.ae-html ul:not([class]),
.ae-art.ae-html ul[class*="trx_addons_list_dot"],
.ae-art.ae-html ul[class*="trx_addons_list_success"] {
	list-style: none;
	margin: 0 0 1.57em;
	padding-left: 0;
}
.ae-art.ae-html ul:not([class]) > li,
.ae-art.ae-html ul[class*="trx_addons_list_dot"] > li,
.ae-art.ae-html ul[class*="trx_addons_list_success"] > li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
}
.ae-art.ae-html ul:not([class]) > li::before,
.ae-art.ae-html ul[class*="trx_addons_list_dot"] > li::before {
	content: "";
	position: absolute;
	left: 8px;
	top: .6em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--ae-green);
}
.ae-art.ae-html ul[class*="trx_addons_list_success"] > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .3em;
	width: 6px;
	height: 12px;
	border: solid var(--ae-green);
	border-width: 0 2px 2px 0;
	border-radius: 0;
	background: none;
	transform: rotate(45deg);
}
/* Список параметрів (крапкова лінія) маркерів не має — його правила зі старої теми лишаємо. */
.ae-art.ae-html ul.trx_addons_list_parameters,
.ae-art.ae-html ul.trx_addons_list_parameters > li {
	margin: revert;
	padding: revert;
	position: revert;
}
.ae-art.ae-html ul.trx_addons_list_parameters > li::before {
	content: none;
}
.ae-art.ae-html blockquote[class*="trx_addons_blockquote"] {
	padding: 24px 30px;
}

/* Проекти: у старих записах список характеристик мав клас trx_addons_list_parameters (при імпорті загубився),
   а відео було в обгортці [video] шириною 640px. */
.single-projects .ae-art ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
.single-projects .ae-art ul > li {
	margin: 0 0 17px;
	padding: 0 0 0;
	border-bottom: 2px dotted #DDD;
	font-family: sans-serif;
	font-size: 19px;
	font-weight: 500;
	line-height: 24px;
	color: var(--ae-dark);
}
.single-projects .ae-art video {
	width: 640px;
	max-width: 100%;
	height: auto;
	aspect-ratio: auto;
}
@media (max-width: 767px) {
	.single-projects .ae-art ul > li {
		font-size: 16px;
	}
}

/* На старому сайті шрифт заголовків «Noto Sans Avestan» не завантажувався — заголовки йшли системним sans-serif.
   Нова тема його підключає, і цифри/латиниця в заголовках рендеряться іншим шрифтом. */
h1, h2, h3, h4, h5, h6 {
	font-family: sans-serif;
}

/* ================= Шапка й підвал — сітка та розміри як на старому сайті (тема Geya) ================= */
.header .container,
.footer .container {
	width: 100%;
	max-width: 1320px;
	padding-left: 15px;
	padding-right: 15px;
}
.header__top {
	background: #F3F7FA;
}
/* Залипаючий верхній рядок: ховається під час скролу, повертається при зупинці (як на старому сайті). */
.header__top.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	box-shadow: 0 1px 6px rgba(22, 29, 34, .08);
	transition: transform .4s ease;
}
.header__top.is-fixed.is-hidden {
	transform: translateY(-100%);
}
.header__top-spacer {
	height: 0;
}
.header__top-wrap {
	min-height: 67px;
}
.header__top-left {
	gap: 40px;
}
.header__top-messenger {
	padding: 0;
}
.header__top-phone a {
	gap: 8px;
	font-weight: 700;
}
.header__top-worktime {
	gap: 8px;
	margin-left: -9px;
}
.header__top-right {
	gap: 124px;
}
.header__top-language {
	gap: 0;
}
.header__top-language-item {
	display: inline-block;
	padding: 0 12px 1px;
	font-size: 13px;
	line-height: 18px;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.header__top-language-item.active {
	text-decoration: none;
	border-bottom-color: #797D7F;
}
.header__top-social {
	gap: 30px;
}
.header__top-social a {
	display: flex;
	align-items: center;
}
.header__top-social svg {
	width: 17px;
	height: 17px;
}
.header__bottom {
	margin: 0;
}
.header__bottom-wrap {
	min-height: 167px;
	padding-bottom: 28px; /* на старому сайті лого й меню стояли вище центру рядка */
}
.header__logo img {
	width: 140px;
	height: auto;
}
.header__bottom-nav {
	margin-left: auto;
}
.header__bottom-nav ul {
	gap: 0;
}
.header__bottom-nav > div > ul > li > a,
.header__bottom-nav > ul > li > a {
	padding-left: 10px;
	padding-right: 10px;
	font-size: 14px;
}
.header__bottom-icons {
	margin-left: 34px;
	margin-right: 88px;
}
.header__bottom-search button,
.header__bottom-search button svg {
	width: 24px;
	height: 24px;
}
@media (min-width: 1680px) {
	.header__bottom-nav > div > ul > li > a,
	.header__bottom-nav > ul > li > a {
		font-size: 15px;
	}
}
@media (max-width: 1440px) {
	.header .container {
		max-width: none;
	}
}
@media (max-width: 1100px) {
	.header__bottom-icons {
		gap: 42px;
		margin-right: 23px;
	}
	.header__bottom-wrap {
		min-height: 116px;
		padding-bottom: 29px;
	}
}
@media (max-width: 1024px) {
	.header__top-wrap {
		flex-direction: column;
		justify-content: center;
		gap: 24px;
		min-height: 113px;
	}
	.header__top-left {
		justify-content: center;
	}
	.header__top-right {
		justify-content: center;
	}
	.header__top-social {
		display: none;
	}
	.header__top-worktime {
		display: flex;
	}
}
@media (max-width: 767px) {
	.header__top-worktime {
		display: none;
	}
	.header__top-left {
		gap: 30px;
	}
	.header__top-messenger {
		gap: 25px;
	}
	.header .container {
		padding-left: 10px;
		padding-right: 10px;
	}
	.header__logo img {
		width: 150px;
	}
	.header__bottom-icons {
		gap: 20px;
		margin-right: 26px;
	}
}

/* Підвал */
.footer {
	margin-top: 0;
	padding-top: 112px;
	background-color: #171D21;
}
.footer .container {
	width: 1290px;
	max-width: none;
	padding: 0;
}
@media (max-width: 1440px) {
	.footer .container {
		width: calc(100% - 130px);
	}
}
.footer__wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.footer__col-title {
	font-family: sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 25px;
	color: #F3F7FA;
}
.footer__col-content {
	gap: 0;
	margin-top: 28px;
	padding-top: 0;
	font-size: 17px;
	line-height: 28.22px;
	color: #BEC0C4;
}
.footer__col-content + .footer__col-content {
	margin-top: 17px;
}
.footer__col-content a {
	color: #BEC0C4;
}
.footer__col-nav ul {
	margin-top: 26px;
}
.footer__col-nav ul li {
	margin: 0 0 14px;
	line-height: 28.22px;
}
.footer__col-nav ul li a {
	font-size: 17px;
	color: #BEC0C4;
}
.footer__col-social ul {
	gap: 5px;
	margin-top: 35px;
}
.footer__col-social ul li a {
	width: 45px;
	height: 45px;
}
.footer__bottom {
	margin-top: 79px;
	border-top-color: rgba(255, 255, 255, .1);
}
.footer__copyright {
	margin-top: 28px;
	padding-bottom: 28px;
	font-size: 16px;
	line-height: 28.22px;
	color: #BEC0C4;
}
@media (max-width: 1024px) {
	.footer__wrap {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 50px;
	}
}
@media (max-width: 767px) {
	.footer {
		padding-top: 58px;
	}
	.footer .container {
		width: calc(100% - 40px);
	}
	.footer__wrap {
		grid-template-columns: 1fr;
		row-gap: 50px;
		padding-left: 40px;
	}
	.footer__col-title {
		font-size: 18px;
		line-height: 19px;
	}
	.footer__col-content {
		margin-top: 18px;
		font-size: 16px;
		line-height: 26.56px;
	}
	.footer__col-content + .footer__col-content {
		margin-top: 9px;
	}
	.footer__col-nav ul {
		margin-top: 18px;
	}
	.footer__col-nav ul li {
		margin: 0 0 6px;
		line-height: 26.56px;
	}
	.footer__col-social ul {
		margin-top: 22px;
	}
	.footer__col-social ul li a {
		width: 40px;
		height: 40px;
	}
	.footer__bottom {
		margin-top: 45px;
	}
	.footer__copyright {
		margin-top: 14px;
		padding-bottom: 14px;
		font-size: 15px;
		line-height: 21px;
	}
}
/* Меню за ТЗ довше за старе: на вузьких десктопах тиснемо відступи, нижче 1180 — бургер. */
@media (max-width: 1279px) {
	.header__bottom-icons {
		margin-right: 10px;
	}
	.header__bottom-nav > div > ul > li > a,
	.header__bottom-nav > ul > li > a {
		padding-left: 8px;
		padding-right: 8px;
	}
}
@media (max-width: 1180px) {
	.header__bottom-nav {
		display: none;
	}
	.header__bottom-burger {
		display: block;
	}
	.header__bottom-icons {
		gap: 42px;
		margin-left: auto;
		margin-right: 23px;
	}
	.header__bottom-burger button {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		background: none;
	}
}

.scroll {
	display: block;
	height: 0;
	overflow: hidden;
	pointer-events: none;
	scroll-margin-top: var(--ae-header-h, 0px);
}

.ae-legacy .elementskit-accordion .collapse {
	overflow: hidden;
	transition: height .35s ease;
}

/* ---------- 404 (як на старому сайті) ---------- */
.ae-404 {
	padding: clamp(60px, 10vw, 150px) 0 clamp(70px, 10vw, 160px);
	overflow: hidden;
}
.ae-404__box {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}
.ae-404__code,
.ae-404__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: var(--ae-dark);
	letter-spacing: 0;
}
.ae-404__code {
	font-size: clamp(130px, 19vw, 270px);
	line-height: 1;
}
.ae-404__title {
	margin-top: clamp(14px, 2.4vw, 30px);
	font-size: clamp(26px, 3.3vw, 47px);
	line-height: 1.1;
}
.ae-404__text {
	position: relative;
	z-index: 1;
	margin: 18px 0 0;
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.5;
	color: var(--ae-dark);
}
.ae-404__btn {
	position: relative;
	z-index: 1;
	min-width: 180px;
	min-height: 56px;
	padding: 0 40px;
	margin-top: 40px;
}
.ae-404__help {
	position: relative;
	z-index: 1;
	margin: 26px 0 0;
	font-size: 16px;
	color: var(--ae-grey);
}
.ae-404__help a {
	color: var(--ae-green);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.ae-404__help a:hover {
	color: var(--ae-green-d);
}
.ae-404__dots {
	position: absolute;
	top: -80px;
	left: 20%;
	width: 110px;
	height: 110px;
	background: radial-gradient(circle, #E3D5CA 5px, transparent 5.5px) 0 0 / 22px 22px;
}
.ae-404__x {
	position: absolute;
	fill: var(--ae-orange);
}
.ae-404__x--orange {
	top: 0;
	right: 14%;
	width: 60px;
	height: 60px;
}
.ae-404__x--green {
	top: clamp(200px, 27vw, 300px);
	left: 0;
	width: 46px;
	height: 46px;
	fill: var(--ae-green);
}
.ae-404__ring {
	position: absolute;
	bottom: -40px;
	left: 30%;
	width: 126px;
	height: 126px;
	border: 16px solid #F6F3F1;
	border-radius: 50%;
}
@media (max-width: 991px) {
	.ae-404__x--orange { right: 4%; }
	.ae-404__x--green { left: 2%; }
	.ae-404__dots { left: 6%; }
}
@media (max-width: 575px) {
	.ae-404__dots { top: -50px; width: 88px; height: 88px; }
	.ae-404__x--orange { width: 34px; height: 34px; top: -40px; right: 4%; }
	.ae-404__x--green { display: none; }
	.ae-404__ring { bottom: -80px; }
	.ae-404__ring { left: 4%; width: 90px; height: 90px; border-width: 12px; }
}
