:root {
	--economles-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--economles-color-primary: #373737;
	--economles-color-secondary: #54595f;
	--economles-color-text: #7a7a7a;
	--economles-color-accent: #ff9d4b;
	--economles-color-accent-soft: #ffbc7d;
	--economles-color-tab-bg: #f1f2f3;
}

body.economles-home-template {
	font-family: var(--economles-font);
	margin: 0;
	color: var(--economles-color-primary);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.economles-home {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.economles-home > .economles-wrap {
	flex: 1 0 auto;
}

.economles-site-footer {
	margin-top: auto;
}

body.economles-home-template a {
	color: inherit;
	text-decoration: none;
}

body.economles-home-template a:hover {
	text-decoration: underline;
}

.economles-wrap {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 12px 24px;
	box-sizing: border-box;
}

.economles-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
	padding: 12px 0;
}

.economles-header__logo {
	flex: 0 0 21%;
	max-width: 21%;
	min-width: 130px;
}

.economles-header__logo img {
	display: block;
	width: 130px;
	height: 130px;
	object-fit: contain;
}

.economles-header__contacts {
	flex: 1 1 200px;
	text-align: right;
}

.economles-contact {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--economles-color-primary);
}

.economles-contact--phone {
	margin-bottom: 0;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.2;
}

.economles-contact--address {
	font-size: 18px;
	margin-bottom: 0;
}

.economles-layout {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	align-items: flex-start;
	margin-top: 8px;
	width: 100%;
}

.economles-nav {
	flex: 0 0 240px;
	width: 240px;
	max-width: 240px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 0;
	box-sizing: border-box;
}

.economles-nav__link {
	display: block;
	width: 100%;
	padding: 12px;
	border-radius: 10px;
	background: var(--economles-color-tab-bg);
	color: var(--economles-color-secondary);
	font-family: var(--economles-font);
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	line-height: normal;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.15s ease, color 0.15s ease;
}

.economles-nav__link:hover {
	background: var(--economles-color-accent);
	color: #fff;
	text-decoration: none;
}

.economles-nav__link:focus-visible {
	outline: 2px solid var(--economles-color-accent);
	outline-offset: 2px;
}

.economles-nav__link.is-current,
.economles-nav__link.is-current:hover {
	background: var(--economles-color-accent);
	color: #fff;
}

.economles-layout__content {
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	box-sizing: border-box;
}

.economles-layout__content:focus {
	outline: none;
}

.economles-banner {
	margin: 0;
}

.economles-banner img {
	display: block;
	width: 100%;
	height: auto;
}

.economles-tablepress {
	overflow-x: auto;
	font-family: var(--economles-font);
}

.economles-tablepress .tablepress {
	width: 100%;
	table-layout: auto;
	font-family: var(--economles-font);
	font-size: 13px;
	font-weight: 400;
	--text-color: #111;
}

.economles-tablepress .tablepress thead th,
.economles-tablepress .tablepress tfoot th {
	font-family: var(--economles-font);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.economles-tablepress .tablepress tbody td {
	font-family: var(--economles-font);
	font-size: 13px;
	font-weight: 400;
	color: #111;
}

.economles-map-wrap {
	margin-top: 16px;
	margin-bottom: 10px;
	padding-bottom: 0;
	flex: 0 0 auto;
}

.economles-map {
	width: 100%;
	height: 400px;
	border-radius: 4px;
	overflow: hidden;
	background: #e8eef5;
	position: relative;
}

.economles-map-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px;
	text-align: center;
}

.economles-map-fallback a {
	color: #0b4590;
	font-weight: 600;
}

.economles-footer-bar {
	min-height: 100px;
	background: #0b4590;
}

@media (max-width: 900px) {
	.economles-wrap {
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
	}

	.economles-header__logo {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.economles-header__contacts {
		text-align: left;
	}

	.economles-layout {
		flex-direction: column;
	}

	.economles-nav {
		flex: none;
		width: 100%;
		max-width: none;
		flex-direction: column;
		gap: 3px;
		padding: 0;
		overflow: visible;
	}

	.economles-nav__link {
		width: 100%;
		max-width: none;
		min-height: 44px;
		display: flex;
		align-items: center;
	}

	.economles-layout__content {
		flex: none;
		width: 100%;
	}

	.economles-tablepress .tablepress {
		min-width: 640px;
	}

	.economles-map {
		height: 280px;
	}

	.economles-footer-bar {
		min-height: 48px;
	}
}

@media (max-width: 900px) and (hover: none) {
	.economles-tablepress {
		box-shadow: inset -12px 0 12px -12px rgba(0, 0, 0, 0.12);
	}
}

@media (max-width: 480px) {
	.economles-header__logo img {
		width: 105px;
		height: 105px;
	}

	.economles-contact--phone {
		font-size: 26px;
	}

	.economles-contact {
		font-size: 15px;
	}

	.economles-contact--address {
		font-size: 14px;
	}

	.economles-tablepress .tablepress,
	.economles-tablepress .tablepress tbody td {
		font-size: 12px;
	}

	.economles-tablepress .tablepress thead th,
	.economles-tablepress .tablepress tfoot th {
		font-size: 12px;
	}
}
