@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/onest-cyrillic.woff2") format("woff2");
	unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/onest-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--mt-ink: #101b33;
	--mt-ink-soft: #25324d;
	--mt-blue: #2457d6;
	--mt-blue-dark: #1744b5;
	--mt-blue-pale: #e9efff;
	--mt-vermilion: #f05a43;
	--mt-vermilion-dark: #cf4432;
	--mt-paper: #f4f6fb;
	--mt-white: #ffffff;
	--mt-line: #d8deea;
	--mt-line-dark: #bfc8da;
	--mt-muted: #5d667a;
	--mt-success: #14805e;
	--mt-danger: #b43a35;
	--mt-radius-sm: 8px;
	--mt-radius: 14px;
	--mt-radius-lg: 20px;
	--mt-shadow: 0 14px 36px rgb(16 27 51 / 0.08);
	--mt-container: 1320px;
	--mt-content: 760px;
	--mt-header-height: 78px;
	--mt-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--mt-paper);
	color: var(--mt-ink);
	font-family: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	font-weight: 450;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.menu-open,
body.catalog-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

a {
	color: var(--mt-blue);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--mt-blue-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
[type="button"],
[type="submit"] {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid rgb(36 87 214 / 0.38);
	outline-offset: 3px;
}

::selection {
	background: var(--mt-blue);
	color: var(--mt-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.7em;
	color: var(--mt-ink);
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.15;
	overflow-wrap: break-word;
	word-break: normal;
}

h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
	font-size: clamp(1.45rem, 2.5vw, 2rem);
}

h3 {
	font-size: 1.25rem;
}

p {
	margin: 0 0 1.25rem;
}

ul,
ol {
	margin: 0 0 1.25rem;
	padding-inline-start: 1.4rem;
}

table {
	width: 100%;
	border-collapse: collapse;
}

hr {
	border: 0;
	border-top: 1px solid var(--mt-line);
	margin: 2rem 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--mt-line-dark);
	border-radius: 10px;
	background: var(--mt-white);
	color: var(--mt-ink);
	padding: 0.7rem 0.85rem;
	transition: border-color 160ms var(--mt-ease), box-shadow 160ms var(--mt-ease);
}

textarea {
	min-height: 132px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--mt-blue);
	box-shadow: 0 0 0 3px rgb(36 87 214 / 0.12);
	outline: 0;
}

button,
.button-link,
.wp-element-button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--mt-blue);
	color: var(--mt-white);
	font-weight: 700;
	line-height: 1.2;
	padding: 0.75rem 1.15rem;
	text-decoration: none;
	transition: background-color 160ms var(--mt-ease), border-color 160ms var(--mt-ease), color 160ms var(--mt-ease), transform 160ms var(--mt-ease);
}

button:hover,
.button-link:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
	background: var(--mt-blue-dark);
	color: var(--mt-white);
}

button:active,
.button-link:active {
	transform: translateY(1px);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	border-radius: 8px;
	background: var(--mt-white);
	color: var(--mt-blue);
	padding: 0.75rem 1rem;
	font-weight: 700;
	box-shadow: var(--mt-shadow);
}

.alignwide {
	max-width: min(var(--mt-container), calc(100vw - 2rem));
	margin-inline: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
