/* Theme Name: Основа
	Version: 1.1.1 */

/* Локальные вариативные шрифты: один файл на гарнитуру, без внешних запросов. */
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/onest/onest.woff2) format("woff2");
}

@font-face {
	font-family: "Geologica";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url(fonts/geologica/geologica.woff2) format("woff2");
}

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

:root {
	--icon: url(images/icons/black.png);
	--icon2x: url(images/icons/black@2x.png);
	--white-color: #fff;
	--black-color: #000;
	--blue-color-accent: #0676ed;
	--blue-color-ghost: #dcedfe;
	--orange-color-accent: #fa8f38;
	--orange-color-ghost: #feebdc;
	--red-color-accent: #fa3838;
	--red-color-ghost: #fedcdc;
	--green-color-accent: #24AC5C;
	--green-color-ghost: #e2f9eb;
	--gray-color-120: #262626;
	--gray-color-115: #333333;
	--gray-color-110: #404040;
	--gray-color-105: #4d4d4d;
	--gray-color-100: #595959;
	--gray-color-95: #666666;
	--gray-color-90: #737373;
	--gray-color-85: #808080;
	--gray-color-80: #8c8c8c;
	--gray-color-75: #999999;
	--gray-color-70: #a6a6a6;
	--gray-color-65: #b3b3b3;
	--gray-color-60: #bfbfbf;
	--gray-color-55: #cccccc;
	--gray-color-50: #d9d9d9;
	--gray-color-45: #e6e6e6;
	--gray-color-40: #ededed;
	--gray-color-35: #f2f2f2;
	--gray-color-30: #f5f5f5;
	--gray-color-25: #f7f7f7;
	--gray-color-20: #fafafa;
	--transparent-color-20: rgb(0 0 0 / 20%);
	--transparent-color-15: rgb(0 0 0 / 15%);
	--transparent-color-10: rgb(0 0 0 / 10%);
	--transparent-color-5: rgb(0 0 0 / 5%);
	--transparent-color-3: rgb(0 0 0 / 3%);
	--link-visited: #551a8b;
	/* Общий радиус кнопок, полей, карточек и плашек во всех разделах. */
	--radius: 4px;
	--primary-color-accent: #234d3c;
	--primary-color-hover: #193b2d;
	--heading-color: #272720;
	--text-color: #272720;
	--surface: var(--white-color);
	--panel-background: #f2f3f0;
	--ink: #272720;
	--muted: #68685f;
	--line: #d9d8ce;
	--accent: #234d3c;
	--header-height: 72px;
	--header-control-height: 52px;
	--accent-hover: #193b2d;
	--font-family: "Onest", Arial, sans-serif;
	--font-heading: "Geologica", Arial, sans-serif;
	--footer-bg: #18372d;
	--footer-ink: #f4f5ef;
	--footer-muted: #bbcbc2;
	--footer-line: #3e594e;
	--type-note: .875rem;
	--type-ui: 1rem;
	--type-body: 1.125rem;
	--type-subtitle: 1.5rem;
	--type-title: 2rem;
	--type-heading: 3rem;
	--type-display: 4rem;
}

body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
input,
textarea,
p {
	margin: 0;
	padding: 0;
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

fieldset,
img {
	border: 0;
}

img {
	vertical-align: middle;
}

ol,
ul {
	list-style: none;
}

button,
select {
	text-transform: none;
}

body {
	position: relative;
	background-color: var(--white-color);
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	color: var(--text-color);
	font-weight: 400;
	font-family: var(--font-family);
	font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	position: relative;
	font-family: var(--font-heading);
	color: var(--heading-color);
	font-size: 100%;
	font-weight: 600;
	font-variation-settings: "SHRP" 60;
	letter-spacing: -0.02em;
	margin-bottom: 35px;
}

mark {
	background-color: #ffeea4;
	border-radius: var(--radius);
	padding: 4px 2px;
}

strong {
	font-weight: 700;
}

a {
	background-color: transparent;
	color: var(--primary-color-accent);
	text-decoration: none;
	transition: color .5s;
}

a:hover {
	color: var(--primary-color-hover);
}

a:visited {
	color: var(--link-visited);
}

button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.icon:before {
	content: "";
	background-image: var(--icon);
	background-repeat: no-repeat;
	background-size: 240px;
	width: 24px;
	height: 24px;
	display: block;
}

.row {
	font-size: 0;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	padding: 0;
	margin: -1px;
}

.ellipsis {
	max-width: 100%;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.hidden {
	display: none;
}

/* BUTTONS */

.button {
	background-color: transparent;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: visible;
	cursor: pointer;
	user-select: none;
	font-family: inherit;
	color: var(--text-color);
	font-size: inherit;
	-webkit-user-select: none;
	border: none;
	transition: all .5s;
	padding: 0;
}

.button.center {
	margin-left: auto;
	margin-right: auto;
}

.button.fill,
.button.border {
	height: 44px;
	white-space: nowrap;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 500;
	text-align: center;
	border: 1px solid;
	border-radius: var(--radius);
	padding-left: 12px;
	padding-right: 12px;
}

.button.fill.accent {
	background-color: var(--primary-color-accent);
	color: #fff;
	border-color: var(--primary-color-accent);
}

.button.fill.accent:hover {
	background-color: var(--primary-color-hover);
	color: var(--white-color);
	border-color: var(--primary-color-hover);
}

.button.fill.gray {
	background-color: var(--gray-color-100);
	color: var(--white-color);
	border-color: var(--gray-color-100);
}

.button.fill.gray:hover {
	background-color: var(--gray-color-120);
	color: var(--white-color);
	border-color: var(--gray-color-120);
}

.button.fill.neutral {
	background-color: var(--gray-color-35);
	color: var(--text-color);
	border-color: var(--gray-color-35);
}

.button.fill.neutral:hover {
	background-color: var(--gray-color-45);
	color: var(--text-color);
	border-color: var(--gray-color-45);
}

.button.fill.transparent {
	background-color: var(--transparent-color-5);
	color: var(--text-color);
	border-color: transparent;
}

.button.fill.transparent:hover {
	background-color: var(--transparent-color-10);
	color: var(--text-color);
	border-color: transparent;
}

.button.border {
	color: var(--text-color);
	border-color: var(--gray-color-70);
}

.button.border:hover {
	border-color: var(--gray-color-110);
}

.button.icon {
	width: 44px;
	height: 44px;
	border-radius: var(--radius);
}

.button.icon.txt {
	width: auto;
	padding-right: 16px;
}

.button.icon:before {
	flex-shrink: 0;
}

.button.icon.fill:not(.neutral):not(.transparent):before {
	filter: brightness(0) invert(1);
}

.button.icon.txt:before {
	margin-right: 8px;
}

.button .spinner {
	width: 20px;
	height: 20px;
	display: inline-block;
	flex-shrink: 0;
	border-radius: 50%;
	animation: spin 1s ease-in-out infinite;
	margin-right: 10px;
}

.button.icon:has(.spinner)::before {
	content: none;
}

.button.icon:not(.txt) .spinner {
	margin-right: 0;
}

.button.border .spinner,
.button.fill.neutral .spinner {
	border: 2px solid rgb(0 0 0 / 30%);
}

.button.border .spinner,
.button.fill.neutral .spinner {
	border-top-color: var(--gray-color-100);
}

.button.fill.accent .spinner {
	border: 2px solid rgb(255 255 255 / 30%);
	border-top-color: var(--white-color);
}

.button.fill .spinner,
.button.border .spinner {
	margin-right: 8px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.learn-more {
	background-color: transparent;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	cursor: pointer;
	color: var(--text-color);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.02em;
	border: none;
	padding: 0;
}

.learn-more:hover {
	color: var(--text-color);
}

.learn-more:after {
	content: "";
	background-image: var(--icon);
	background-repeat: no-repeat;
	background-size: 240px;
	background-position: -96px -48px;
	width: 24px;
	height: 24px;
	display: inline-block;
	flex-shrink: 0;
	opacity: .9;
	transition: transform 0.3s ease;
	transform: translateY(1px);
	margin-left: 6px;
}

.learn-more:hover:after {
	transform: translate(5px, 1px);
}

/* SCROLLBAR */

.scrollable {
	overflow-x: scroll;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.scrollable::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.scrollbar {
	position: relative;
	background-color: var(--gray-color-35);
	height: 2px;
	border-radius: 2px;
}

.scrollbar .scrollbar-thumb {
	position: absolute;
	background-color: var(--gray-color-80);
	height: 100%;
	border-radius: 2px;
}

/* MAIN */

.main {
	flex: 1 0 auto;
	padding-bottom: 40px;
}

.content {
	flex: 1 0 auto;
}

.messengers {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	column-gap: 6px;
}

.messenger {
	background-color: var(--gray-color-30);
	width: 44px;
	height: 44px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: var(--radius);
	transition: background-color .3s;
}

.messenger:hover {
	background-color: var(--gray-color-45);
}

.messenger:before {
	content: "";
	background-repeat: no-repeat;
	background-size: 22px 22px;
	width: 22px;
	height: 22px;
	display: block;
}

.messenger.whatsapp:before {
	background-image: url(images/messengers/whatsapp-mono.png);
	background-image: image-set( url(images/messengers/whatsapp-mono.png) 1x, url(images/messengers/whatsapp-mono@2x.png) 2x );
}

.messenger.telegram:before {
	background-image: url(images/messengers/telegram-mono.png);
	background-image: image-set( url(images/messengers/telegram-mono.png) 1x, url(images/messengers/telegram-mono@2x.png) 2x );
}

.messenger.max:before {
	background-image: url(images/messengers/max-mono.png);
	background-image: image-set( url(images/messengers/max-mono.png) 1x, url(images/messengers/max-mono@2x.png) 2x );
}

/* BREADCRUMBS */

.breadcrumbs {
	opacity: .5;
	font-family: var(--font-family);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 15px;
}

.breadcrumbs li {
	position: relative;
	display: inline-block;
	color: var(--text-color);
}

.breadcrumbs li:after {
	content: "›";
	display: inline-block;
	margin: 0 5px;
}

.breadcrumbs li:last-child:after {
	content: none;
}

.breadcrumbs li a {
	color: var(--text-color);
}

.breadcrumbs li a:hover {
	color: var(--primary-color-accent);
}

/* TITLE */

.title {
	display: block;
	opacity: .3;
	color: var(--text-color);
	font-size: 16px;
	font-weight: 400;
	text-align: left;
	margin-bottom: 30px;
}

/* COLUMNS */

.columns {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
}

.columns .column {
	flex-shrink: 0;
}

/* THUMBNAIL */

.thumbnail {
	width: 100%;
	display: block;
	margin-bottom: 16px;
}

.thumbnail img,
.thumbnail.no {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius);
}

.thumbnail.no {
	position: relative;
	background-color: var(--gray-color-45);
	padding-top: 66.71%;
}

.thumbnail.no:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-image: var(--icon);
	background-repeat: no-repeat;
	background-size: 240px;
	background-position: 0 -72px;
	width: 24px;
	height: 24px;
	display: block;
	opacity: .8;
	margin-top: -12px;
	margin-left: -12px;
}

/* ARTICLES */

.articles .card {
	position: relative;
	margin-bottom: 50px;
}

.articles .card .name {
	display: block;
	color: var(--text-color);
	font-weight: 700;
}

.articles .card .name:hover {
	color: var(--primary-color-accent);
}

/* ARTICLE */

.article {
	position: relative;
	width: 100%;
	margin-bottom: 50px;
}

.article .introduction {
	line-height: 1.5;
	margin-bottom: 35px;
}

/* CONTACT PAGE */

.contact-page {
	padding-bottom: 80px;
}

.contact-heading {
	max-width: 800px;
	margin-bottom: 48px;
}

.contact-heading h1 {
	margin-bottom: 20px;
}

.contact-heading p,
.contact-call p,
.contact-section-intro p {
	color: #62675f;
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
}

.contact-overview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
	grid-template-areas: "visit map" "call map";
	gap: 32px 64px;
}

.contact-overview--without-map {
	grid-template-areas: "visit call";
}

.contact-visit {
	grid-area: visit;
}

.contact-page h2 {
	font-size: 32px;
	line-height: 1.25;
	margin: 0 0 24px;
}

.contact-visit address {
	font-size: 22px;
	font-style: normal;
	line-height: 1.5;
	margin-bottom: 20px;
}

.contact-hours {
	display: grid;
	gap: 4px;
	font-size: 16px;
	margin: 0 0 24px;
}

.contact-hours > div {
	display: flex;
	gap: 24px;
}

.contact-hours dt {
	width: 56px;
	color: #62675f;
}

.contact-hours dd {
	margin: 0;
}

.contact-route,
.contact-route:visited {
	background: var(--accent);
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: var(--radius);
	padding: 12px 24px;
}

.contact-route:hover {
	background: var(--accent-hover);
	color: #fff;
}

.contact-photo-link {
	min-height: 44px;
	display: flex;
	align-items: center;
	color: var(--ink);
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 4px;
	margin-top: 8px;
}

.contact-map {
	min-width: 0;
	display: flex;
	grid-area: map;
	flex-direction: column;
	margin: 0;
}

.contact-map iframe {
	background: #eef0ec;
	width: 100%;
	min-height: 480px;
	display: block;
	flex: 1;
	border: 0;
	border-radius: var(--radius);
}

.contact-map figcaption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	color: #62675f;
	font-size: 14px;
	padding-top: 12px;
}

.contact-map a {
	min-height: 24px;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.contact-call {
	grid-area: call;
	border-top: 1px solid var(--line);
	padding-top: 28px;
}

.contact-call h2 {
	font-size: 24px;
	margin-bottom: 12px;
}

.contact-phones {
	display: grid;
	gap: 0;
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
}

.contact-phones a,
.contact-phones a:visited {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	color: var(--ink);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -.02em;
}

.contact-phones a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.contact-channels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
}

.contact-email a,
.contact-channels a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	overflow-wrap: anywhere;
	color: var(--ink);
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.contact-landmarks {
	margin-top: 56px;
}

.contact-section-intro {
	max-width: 760px;
	margin-bottom: 32px;
}

.contact-section-intro h2 {
	margin-bottom: 16px;
}

.contact-photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.contact-photos figure {
	min-width: 0;
	margin: 0;
}

.contact-photos figure:only-child {
	max-width: 760px;
	grid-column: 1 / -1;
}

.contact-photos a {
	display: block;
	cursor: zoom-in;
}

.contact-photos img {
	background: #e2e4e1;
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius);
}

.contact-photos figcaption {
	display: grid;
	gap: 8px;
	padding-top: 16px;
}

.contact-photos strong {
	font-size: 18px;
	font-weight: 500;
}

.contact-photos span {
	color: #62675f;
	font-size: 16px;
}

.contact-page a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

/* REQUISITES */

.requisites-content {
	max-width: 960px;
}

.requisites-group {
	margin-bottom: 50px;
}

.requisites-group:last-child {
	margin-bottom: 0;
}

.requisites-group h2 {
	font-size: 28px;
	line-height: 1.4;
	margin-bottom: 16px;
}

.requisites-list {
	border-top: 1px solid var(--gray-color-45);
	margin: 0;
}

.requisites-item {
	display: grid;
	grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
	align-items: start;
	column-gap: 40px;
	border-bottom: 1px solid var(--gray-color-45);
	padding-top: 18px;
	padding-bottom: 18px;
}

.requisites-item dt {
	color: var(--gray-color-95);
	font-size: 16px;
	line-height: 1.5;
}

.requisites-value {
	min-width: 0;
	display: flex;
	align-items: flex-start;
	column-gap: 16px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
	margin: 0;
}

.requisites-text {
	min-width: 0;
	display: block;
	flex: 1;
	overflow-wrap: anywhere;
}

.requisites .copy {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	margin-top: -9px;
	margin-bottom: -9px;
}

.requisites .copy:focus-visible {
	outline: 2px solid var(--primary-color-accent);
	outline-offset: 2px;
}

/* TOC */

.toc .toc-title {
	background-color: transparent;
	display: block;
	cursor: default;
	font-family: inherit;
	color: var(--text-color);
	font-size: 16px;
	font-weight: 400;
	text-align: left;
	border: none;
	padding: 0 2px;
}

.toc .toc-list {
	text-align: left;
	-ms-overflow-style: none;
	scrollbar-width: none;
	margin: 0;
}

.toc .toc-list::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.toc .toc-list li {
	display: block;
	padding: 2px;
	margin: 0;
}

.toc .toc-list li:before {
	content: none;
}

.toc .toc-list li a {
	display: block;
	color: var(--text-color);
	line-height: 1.5;
	padding-left: 2px;
	padding-right: 2px;
}

.toc .toc-list li a.current {
	color: var(--primary-color-accent);
}

.toc .toc-list li a.h3 {
	padding-left: 16px;
}

/* SITEMAP */

.sitemap .item {
	position: relative;
	border: 1px solid var(--gray-color-55);
	border-radius: var(--radius);
	margin-top: 22px;
	margin-bottom: 22px;
}

.sitemap .item a {
	color: var(--text-color);
}

.sitemap .item a:hover {
	color: var(--primary-color-accent);
}

/* TEXT */

.text {
	text-align: left;
}

/* Якорные ссылки оставляют заголовок ниже закреплённой шапки. */
.text h2[id],
.text h3[id] {
	scroll-margin-top: calc(var(--header-height) + 24px);
}

.text img {
	max-width: 100%;
	height: auto;
}

.text p {
	margin-bottom: 35px;
}

.text ul,
.text ol {
	margin: 35px 0;
}

.text ol {
	counter-reset: list;
}

.text ul li,
.text ol li {
	position: relative;
	display: block;
	margin: 15px 0;
}

.text ul li:before {
	content: "—";
	margin-right: 10px;
}

.text ol li:before {
	content: counter(list) ". ";
	counter-increment: list;
}

.text blockquote {
	font-size: 120%;
	line-height: 1.4;
	border-left: 2px solid var(--primary-color-accent);
	padding-left: 30px;
	margin-left: 0;
}

.text .gallery {
	margin-bottom: 35px;
}

.text .youtube-video {
	position: relative;
	height: 0;
	overflow: hidden;
	border-radius: var(--radius);
	padding-bottom: 56.25%;
	margin-bottom: 35px;
}

.text .youtube-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.text .options {
	margin-bottom: 35px;
}

.text .table {
	margin-bottom: 35px;
}

.text .positive-text,
.text .negative-text,
.text .warning-text,
.text .info-text {
	margin-bottom: 35px;
}

/* TABLE */

.text table {
	max-width: 100%;
	display: inline-block;
	overflow-x: auto;
	margin-bottom: 35px;
}

.text table caption {
	font-weight: 500;
	text-align: left;
	margin-bottom: 15px;
}

.text table th {
	vertical-align: bottom;
	font-size: 84%;
	font-weight: 500;
}

.text table th,
.text table td {
	vertical-align: top;
	border: 1px solid var(--gray-color-60);
}

/* COLOR TEXT */

.positive-text,
.negative-text,
.warning-text,
.info-text {
	color: #fff;
	text-align: left;
	line-height: 1.5;
}

.positive-text {
	background-color: var(--green-color-accent);
}

.negative-text {
	background-color: var(--red-color-accent);
}

.warning-text {
	background-color: var(--orange-color-accent);
}

.info-text {
	background-color: var(--blue-color-accent);
}

/* IMAGE */

.article-image {
	position: relative;
	display: block;
	margin-top: 35px;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 35px;
}

.article-image .image-wrapper {
	position: relative;
	display: inline-block;
}

.article-image.width-tiny .image-wrapper {
	max-width: 230px;
}

.article-image.width-small .image-wrapper {
	max-width: 340px;
}

.article-image.width-medium .image-wrapper {
	max-width: 440px;
}

.article-image.width-large .image-wrapper {
	max-width: 540px;
}

.article-image .image-wrapper img {
	z-index: 1;
	position: relative;
	max-width: 100%;
	height: auto;
	display: inline-block;
	vertical-align: bottom;
}

.article-image .caption {
	display: block;
	color: var(--text-color);
	font-size: 82%;
	margin-top: 10px;
}

/* MEDIA INFO */

.media-info {
	z-index: 2;
	position: absolute;
	top: 5px;
	right: 5px;
	background-color: var(--white-color);
	max-width: 310px;
	min-height: 54px;
	display: none;
	color: var(--text-color);
	border-radius: var(--radius);
	padding: 16px 64px 16px 18px;
}

.media-info.show {
	display: block;
}

.media-info .media-author,
.media-info .media-source {
	font-size: 14px;
	line-height: 1.5;
}

.media-info .media-author:before,
.media-info .media-source:before {
	color: var(--gray-color-90);
}

.media-info .media-author:before {
	content: attr(data-author);
}

.media-info .media-source:before {
	content: attr(data-source);
}

.media-info .link {
	background-color: transparent;
	display: inline;
	cursor: pointer;
	font-style: inherit;
	color: var(--primary-color-accent);
	font-size: 15px;
	border: none;
	padding: 0;
}

.media-info .link:hover {
	color: var(--primary-color-hover);
}

.media-info-button {
	z-index: 3;
	position: absolute;
	top: 10px;
	right: 10px;
}

.media-info-button {
	background-color: rgb(255 255 255 / 20%);
}

.media-info-button:before {
	opacity: .8;
}

/* GALLERY */

.gallery {
	margin-left: -10px;
	margin-right: -10px;
}

.gallery .gallery-item {
	width: calc(50% - 20px);
	display: inline-block;
	vertical-align: top;
	margin: 10px;
}

.gallery .gallery-item .image-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	cursor: pointer;
	border-radius: var(--radius);
	padding-top: 75%;
}

.gallery .gallery-item .image-wrapper img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 100%;
	display: block;
}

/* OPTIONS */

.options {
	width: 100%;
}

.options dl {
	position: relative;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: flex-end;
	text-align: left;
	margin-top: 12px;
	margin-bottom: 12px;
}

.options dl:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 7px;
	background: repeat-x radial-gradient(2px circle at 1px 1px,var(--gray-color-90) 50%,transparent 50.2%) 0 0 /6px 2px;
	height: 2px;
}

.options dl dt span,
.options dl dd {
	z-index: 1;
	position: relative;
	background-color: var(--white-color);
}

.options dl dt {
	margin-right: auto;
}

.options dl dt span {
	padding-right: 6px;
}

.options dl dd {
	font-weight: 500;
	padding-left: 6px;
	margin-left: 0;
}

.options dl dd.negative {
	color: var(--red-color-accent);
}

.options dl dd.positive {
	color: var(--green-color-accent);
}

/* RELATED ARTICLE */

.related-article {
	position: relative;
	background-color: var(--gray-color-35);
	width: 100%;
	display: flex;
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: 35px;
}

.related-article .related-article-image {
	width: 100%;
	height: auto;
	flex-shrink: 1;
	overflow: hidden;
}

.related-article .related-article-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.related-article .related-article-content {
	flex-basis: 0;
	flex-shrink: 0;
	flex-grow: 1;
}

.related-article .related-article-content .headline {
	display: block;
	color: var(--heading-color);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
}

.related-article .related-article-content .paragraph {
	display: block;
	color: var(--text-color);
	font-size: 17px;
}

.related-article .related-article-content .learn-more {
	margin-top: 22px;
}

/* HELPFUL */

.helpful {
	margin-top: 50px;
	padding-bottom: 80px;
}

.helpful .helpful-title {
	display: block;
	color: var(--text-color);
	font-size: 18px;
	font-weight: 500;
	text-align: center;
	margin-bottom: 30px;
}

.helpful .helpful-group {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	justify-content: center;
}

.helpful .helpful-group .button {
	margin-left: 10px;
	margin-right: 10px;
}

.helpful .helpful-group .button.voted {
	cursor: default;
	color: #fff;
}

.helpful .helpful-group .button.yes.voted {
	background-color: var(--green-color-accent);
	border-color: var(--green-color-accent);
}

.helpful .helpful-group .button.no.voted {
	background-color: var(--red-color-accent);
	border-color: var(--red-color-accent);
}

.helpful .helpful-group .button.voted:before {
	filter: brightness(0) invert(1);
}

/* FAQ */

.qa {
	text-align: left;
	margin-bottom: 50px;
}

.qa dl {
	border-bottom: 1px solid var(--gray-color-45);
	padding-top: 26px;
	padding-bottom: 26px;
	margin: 0;
}

.qa dl:last-child {
	border-bottom: none;
}

.qa dl dt {
	display: block;
}

.qa dl dt button {
	position: relative;
	background-color: transparent;
	width: 100%;
	display: block;
	cursor: pointer;
	font-family: inherit;
	color: var(--text-color);
	font-size: inherit;
	font-weight: 500;
	text-align: left;
	border: none;
	padding: 0 40px 0 0;
}

.qa dl dt button:after {
	content: "";
	position: absolute;
	top: 4px;
	right: 0;
	background-image: var(--icon);
	background-repeat: no-repeat;
	background-size: 240px;
	background-position: -192px -96px;
	width: 24px;
	height: 24px;
	display: block;
	opacity: .8;
}

.qa dl.active dt button:after {
	background-position: -216px -96px;
}

.qa dl dt button:hover:after {
	opacity: 1;
}

.qa dl dd {
	height: 0;
	overflow: hidden;
	margin: 0;
}

.qa dl dd > * {
	opacity: 0;
	transition: opacity 1.2s;
}

.qa dl.active dd {
	height: auto;
	margin-top: 30px;
}

.qa dl.active dd > * {
	opacity: 1;
}

/* CITATIONS */

.citations {
	margin-top: 60px;
}

.citations .citations-list {
	counter-reset: citations-counter;
	list-style: none;
	padding: 0;
	margin: 0;
}

.citations .citations-list li {
	margin-bottom: 10px;
}

.citations .citations-list li:before {
	content: counter(citations-counter) ". ";
	counter-increment: citations-counter;
}

.citations .citations-list li a:after {
	content: " ↗";
	display: inline-block;
}

/* TABS */

.tabs {
	overflow: visible;
}

.tabs.article-tabs {
	margin-bottom: 35px;
}

.tabs .tablist {
	margin-bottom: 35px;
}

.tabs.article-tabs .tablist {
	z-index: 1000;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background-color: var(--white-color);
}

.tabs .tablist:after {
	z-index: 1;
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	border-bottom: 1px solid var(--gray-color-50);
}

.tabs .tablist .tablist-inner .tab {
	z-index: 2;
	position: relative;
	background-color: transparent;
	display: inline-block;
	opacity: .8;
	cursor: pointer;
	user-select: none;
	font-family: inherit;
	color: var(--text-color);
	font-weight: 500;
	line-height: 1.3;
	-webkit-user-select: none;
	border: none;
	border-bottom: 1px solid transparent;
	padding-left: 0;
	padding-right: 0;
	padding-top: 15px;
	padding-bottom: 15px;
}

.tabs .tablist .tablist-inner .tab:last-child {
	margin-right: 0;
}

.tabs .tablist .tablist-inner .tab:hover {
	opacity: 1;
}

.tabs .tablist .tablist-inner .tab.active {
	opacity: 1;
	cursor: default;
	color: var(--primary-color-accent);
	border-color: var(--primary-color-accent);
}

.tabs .tabpanel {
	position: relative;
	height: 0;
	visibility: hidden;
	overflow: hidden;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.6s ease, height 0.3s ease;
}

.tabs .tabpanel.active {
	height: auto;
	visibility: visible;
	overflow: visible;
	opacity: 1;
	transform: translateY(0);
}

.tabs.article-tabs .tabpanel.active {
	border-bottom: 1px solid var(--gray-color-50);
}

.tabs.article-tabs .tabpanel.active:after {
	content: attr(data-name);
	position: absolute;
	left: 50%;
	bottom: -7px;
	background-color: var(--white-color);
	white-space: nowrap;
	color: var(--gray-color-100);
	font-size: 13px;
	line-height: 15px;
	transform: translateX(-50%);
	padding: 0 10px;
}

/* PAGINATION */

.pagination {
	text-align: center;
	margin-top: 60px;
}

.pagination a,
.pagination span {
	width: 44px;
	height: 44px;
	display: inline-block;
	color: var(--text-color);
	font-size: 15px;
	font-weight: 700;
	line-height: 44px;
	border: none;
	outline: none;
	border-radius: var(--radius);
}

.pagination a:hover {
	background-color: var(--gray-color-45);
	color: var(--text-color);
}

.pagination .current {
	background-color: var(--primary-color-accent);
	color: #fff;
}

/* MODAL */

.modal {
	z-index: 10002;
	position: fixed;
	top: 0;
	right: -100%;
	bottom: 0;
	background-color: rgb(0 0 0 / 80%);
	width: 100%;
	height: 100%;
	visibility: hidden;
	overflow: hidden;
	opacity: 0;
	outline: none;
	transition: opacity 0.2s;
}

.modal.show {
	right: 0;
	visibility: visible;
	opacity: 1;
}

.modal .modal-close {
	z-index: 2;
	position: absolute;
	background-color: var(--gray-color-35);
}

.modal.show .modal-close {
	position: fixed;
}

.modal .side {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: var(--white-color);
	height: 100%;
	min-height: 100%;
	overflow: scroll;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	text-align: left;
	padding-top: 70px;
	padding-bottom: 40px;
}

.modal .side::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.modal .side .tabs .tablist {
	position: relative;
}

.modal .side ul li {
	display: block;
	font-size: 17px;
	font-weight: 400;
	margin-top: 25px;
}

.modal .side ul li a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	color: var(--text-color);
	transition: color .5s;
}

.modal .side ul li a:hover {
	color: var(--primary-color-accent);
}

.modal .side ul li a.icon:before {
	flex-shrink: 0;
	margin-right: 13px;
}

/* NOTICE */

.notice-container {
	z-index: 10003;
	position: fixed;
	right: 15px;
	bottom: 15px;
}

.notice-container .notice {
	position: relative;
	overflow: hidden;
	color: #fff;
	font-size: 16px;
	line-height: 1.3;
	text-align: left;
	border-radius: var(--radius);
	padding: 15px 20px;
	margin-bottom: 10px;
}

.notice-container .notice:last-child {
	margin-bottom: 0;
}

.notice-container .notice.info {
	background-color: var(--blue-color-accent);
}

.notice-container .notice.warning {
	background-color: var(--orange-color-accent);
}

.notice-container .notice.success {
	background-color: var(--green-color-accent);
}

.notice-container .notice.error {
	background-color: var(--red-color-accent);
}

.notice-container .notice output {
	z-index: 2;
	position: relative;
	display: block;
}

.notice-container .notice .notice-progress {
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	background-color: rgb(0 0 0 / 10%);
	width: 100%;
	transition: width 0.1s linear;
}

/* Единая спокойная поверхность; контакты — первый уровень внимания. */
.site-footer {
	background: var(--footer-bg);
	flex: 0 0 auto;
	color: var(--footer-ink);
	font-size: 16px;
	line-height: 1.5;
	padding-top: 56px;
	padding-bottom: 28px;
}

.site-footer a,
.site-footer a:visited {
	color: inherit;
}

.site-footer a:hover {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.site-footer a:focus-visible,
.footer-group-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

.footer-main {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
	grid-template-areas: "identity catalog information visit";
	align-items: start;
	gap: clamp(24px, 3vw, 48px);
	padding-bottom: 44px;
}

.footer-identity {
	grid-area: identity;
}

.footer-brand {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1.2;
}

.footer-about {
	max-width: 29ch;
	color: var(--footer-muted);
	font-size: 16px;
	line-height: 1.6;
	margin-top: 16px;
}

.footer-phones {
	margin-top: 24px;
}

.footer-phones a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.3;
}

.footer-help {
	color: var(--footer-muted);
	font-size: 16px;
	line-height: 1.6;
	margin-top: 12px;
}

.footer-channels {
	margin-top: 16px;
}

.footer-channels ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}

.footer-channels a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-disclaimer {
	max-width: 40ch;
	color: var(--footer-muted);
	font-size: 14px;
	line-height: 1.6;
	margin-top: 40px;
}

.footer-catalog {
	grid-area: catalog;
}

.footer-information {
	display: grid;
	grid-area: information;
	gap: 44px;
}

.footer-group-label,
.footer-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	font-variation-settings: "SHRP" 60;
	line-height: 1.6;
	list-style: none;
}

.footer-group-toggle {
	background: transparent;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	color: inherit;
	font: inherit;
	border: 0;
	padding: 0;
}

.footer-group-indicator {
	display: none;
}

.footer-links {
	margin-top: 12px;
}

.footer-links a,
.footer-links .nav-group {
	min-height: 44px;
	display: flex;
	align-items: center;
	color: var(--footer-ink);
	font-size: 16px;
	line-height: 1.5;
	padding: 8px 0;
}

.footer-links .sub-menu {
	padding-left: 16px;
}

.footer-visit {
	grid-area: visit;
}

.footer-visit address {
	font-size: 18px;
	font-style: normal;
	line-height: 1.6;
	margin-top: 20px;
}

.footer-hours {
	display: grid;
	gap: 4px;
	color: var(--footer-muted);
	font-size: 16px;
	margin-top: 20px;
}

.footer-hours > div {
	display: grid;
	grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
	gap: 12px;
}

.footer-route {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-size: 16px;
	text-decoration: underline;
	text-decoration-color: var(--footer-muted);
	text-underline-offset: 4px;
	margin-top: 10px;
}

/* Одна линия отделяет справочные сведения от основного сценария покупки. */
.footer-bottom {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr) minmax(0, 1.1fr);
	align-items: start;
	gap: 20px clamp(24px, 3vw, 48px);
	color: var(--footer-muted);
	font-size: 14px;
	line-height: 1.6;
	border-top: 1px solid var(--footer-line);
	padding-top: 24px;
}

.footer-seller,
.footer-legal {
	overflow-wrap: anywhere;
}

.footer-seller p + p {
	margin-top: 8px;
}

.footer-legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}

.footer-legal a {
	min-height: 32px;
	display: inline-flex;
	align-items: center;
	padding: 4px 0;
}

.footer-credit {
	padding-top: 4px;
}

.footer-credit p + p {
	margin-top: 4px;
}

.site-footer .footer-credit a {
	color: var(--footer-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* OVERLAY */

.overlay {
	z-index: 10001;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(0 0 0 / 80%);
	width: 100%;
	height: 100%;
}

/* POPUP */

.popup .popup-image,
.popup .popup-video {
	z-index: 1;
	position: fixed;
	top: 50%;
	left: 50%;
	width: auto;
	max-width: 95vw;
	max-height: 95vh;
	display: block;
	transform: translate(-50%, -50%);
}

.popup .popup-video {
	background: #000;
	max-width: calc(100vw - 96px);
	max-height: calc(100dvh - 32px);
}

.popup-media-error {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(80%, 400px);
	color: #fff;
	text-align: center;
	transform: translate(-50%, -50%);
}

.popup-media-error a {
	color: inherit;
	text-decoration: underline;
}

.content-video {
	width: 100%;
	max-height: 80vh;
	display: block;
	margin: 24px 0;
}

.popup .popup-close {
	z-index: 2;
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgb(0 0 0 / 20%);
	cursor: pointer;
}

.popup .popup-close:before {
	filter: invert(1);
}

.popup .popup-prev,
.popup .popup-next {
	z-index: 2;
	position: absolute;
	top: calc(50% - 22px);
	background-color: rgb(0 0 0 / 20%);
	cursor: pointer;
}

.popup .popup-prev {
	left: 0;
}

.popup .popup-next {
	right: 0;
}

.popup .popup-prev:before,
.popup .popup-next:before {
	filter: invert(1);
}

.popup .popup-loader {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	border: 2px solid rgb(255 255 255 / 30%);
	border-top: 2px solid #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* UP */

.up {
	z-index: 9999;
	position: fixed;
	right: 5px;
	bottom: 100px;
	background-color: var(--transparent-color-5);
	opacity: 0;
	transition: opacity 0.4s;
}

.up.show {
	opacity: 1;
}

.up:hover {
	background-color: var(--transparent-color-10);
}

.up:active {
	-webkit-transform: scale(.85);
	-ms-transform: scale(.85);
	transform: scale(.85);
}

/* ICONS */

.icon.icon-search:before {
	background-position: 0 0;
}

.icon.icon-close:before {
	background-position: -24px 0;
}

.icon.icon-navigation:before {
	background-position: -48px 0;
}

.icon.icon-lightning:before {
	background-position: -72px 0;
}

.icon.icon-notification:before {
	background-position: -96px 0;
}

.icon.icon-notification-off:before {
	background-position: -120px 0;
}

.icon.icon-lock:before {
	background-position: -144px 0;
}

.icon.icon-menu:before {
	background-position: -168px 0;
}

.icon.icon-location-pin:before {
	background-position: -192px 0;
}

.icon.icon-printer:before {
	background-position: -216px 0;
}

.icon.icon-sun:before {
	background-position: 0 -24px;
}

.icon.icon-moon:before {
	background-position: -24px -24px;
}

.icon.icon-like:before {
	background-position: -48px -24px;
}

.icon.icon-dislike:before {
	background-position: -72px -24px;
}

.icon.icon-options:before {
	background-position: -96px -24px;
}

.icon.icon-settings:before {
	background-position: -120px -24px;
}

.icon.icon-location:before {
	background-position: -144px -24px;
}

.icon.icon-send:before {
	background-position: -168px -24px;
}

.icon.icon-star:before {
	background-position: -216px -24px;
}

.icon.icon-apps:before {
	background-position: -24px -48px;
}

.icon.icon-arrow-left:before {
	background-position: -48px -48px;
}

.icon.icon-arrow-up:before {
	background-position: -72px -48px;
}

.icon.icon-arrow-right:before {
	background-position: -96px -48px;
}

.icon.icon-arrow-down:before {
	background-position: -120px -48px;
}

.icon.icon-upload:before {
	background-position: -144px -48px;
}

.icon.icon-restart:before {
	background-position: -168px -48px;
}

.icon.icon-sorting:before {
	background-position: -192px -48px;
}

.icon.icon-share:before {
	background-position: -216px -48px;
}

.icon.icon-unavailable:before {
	background-position: 0 -72px;
}

.icon.icon-attention:before {
	background-position: -24px -72px;
}

.icon.icon-check-circle:before {
	background-position: -48px -72px;
}

.icon.icon-close-circle:before {
	background-position: -72px -72px;
}

.icon.icon-clock:before {
	background-position: -96px -72px;
}

.icon.icon-discover:before {
	background-position: -120px -72px;
}

.icon.icon-comment:before {
	background-position: -144px -72px;
}

.icon.icon-heart:before {
	background-position: -192px -72px;
}

.icon.icon-eye:before {
	background-position: -216px -72px;
}

.icon.icon-calendar:before {
	background-position: 0 -96px;
}

.icon.icon-copy:before {
	background-position: -24px -96px;
}

.icon.icon-funnel:before {
	background-position: -72px -96px;
}

.icon.icon-gift:before {
	background-position: -96px -96px;
}

.icon.icon-home:before {
	background-position: -120px -96px;
}

.icon.icon-news:before {
	background-position: -144px -96px;
}

.icon.icon-check:before {
	background-position: -168px -96px;
}

.icon.icon-down:before {
	background-position: -192px -96px;
}

.icon.icon-up:before {
	background-position: -216px -96px;
}

.icon.icon-play-circle:before {
	background-position: 0 -120px;
}

.icon.icon-player-play:before {
	background-position: -24px -120px;
}

.icon.icon-player-previous:before {
	background-position: -48px -120px;
}

.icon.icon-player-next:before {
	background-position: -72px -120px;
}

.icon.icon-player-pause:before {
	background-position: -96px -120px;
}

.icon.icon-player-unmute:before {
	background-position: -120px -120px;
}

.icon.icon-player-mute:before {
	background-position: -144px -120px;
}

.icon.icon-playlist:before {
	background-position: -168px -120px;
}

.icon.icon-music-album:before {
	background-position: -192px -120px;
}

.icon.icon-music-artist:before {
	background-position: -216px -120px;
}

.icon.icon-synchronize:before {
	background-position: 0 -144px;
}

.icon.icon-compare:before {
	background-position: -24px -144px;
}

.icon.icon-calculator:before {
	background-position: -48px -144px;
}

.icon.icon-plus:before {
	background-position: -72px -144px;
}

.icon.icon-minus:before {
	background-position: -96px -144px;
}

.icon.icon-percent:before {
	background-position: -120px -144px;
}

.icon.icon-trend-down:before {
	background-position: -144px -144px;
}

.icon.icon-trend-up:before {
	background-position: -168px -144px;
}

.icon.icon-mouse:before {
	background-position: -192px -144px;
}

.icon.icon-infinity:before {
	background-position: -216px -144px;
}

.icon.icon-arrow-top-right:before {
	background-position: 0 -168px;
}

/* Единый контейнер, шрифт и доступность шапки. */

.container {
	width: 100%;
	max-width: 1322px;
	padding: 0 20px;
	margin: 0 auto;
}

[hidden] {
	display: none !important;
}

:where(.site-header) button,
:where(.site-header) input {
	font: inherit;
}

:where(.site-header) button {
	background: none;
	cursor: pointer;
	color: inherit;
	border: 0;
	border-radius: var(--radius);
	padding: 0;
}

.site-header a,
.site-header a:visited {
	color: inherit;
	transition: none;
}

.site-header button:focus-visible,
.site-header a:focus-visible,
.site-header input:focus-visible,
.site-header summary:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.header-skip {
	z-index: 10001;
	position: fixed;
	top: -100px;
	left: 20px;
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius);
	padding: 12px 20px;
}

.header-skip:focus {
	top: 10px;
}

.site-header {
	z-index: 1000;
	position: sticky;
	top: 0;
	background: #fff;
	font-family: var(--font-family);
	color: var(--ink);
	font-size: 16px;
	line-height: 1.5;
	border-bottom: 1px solid var(--line);
}

.header-row {
	min-height: var(--header-height);
	display: flex;
	align-items: center;
	gap: 24px;
}

.header-brand {
	display: flex;
	flex: 0 1 170px;
	align-items: center;
	gap: 8px;
}

.brand {
	min-height: 44px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	white-space: nowrap;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1.1;
}

.header-tools {
	min-width: 372px;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 12px;
}

.catalog-toggle {
	background: var(--accent);
	width: 130px;
	height: var(--header-control-height);
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: var(--surface);
	font-size: var(--type-ui);
	font-weight: 500;
	line-height: 1.25;
	padding: 0 18px;
}

.catalog-toggle:hover,
.catalog-toggle[aria-expanded="true"] {
	background: var(--accent-hover);
}

.header-search {
	position: relative;
	background: var(--panel-background);
	min-width: 0;
	height: var(--header-control-height);
	display: flex;
	flex: 1 1 220px;
	align-items: center;
	border-radius: var(--radius);
	padding-right: 4px;
}

.header-search:focus-within {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.header-search input {
	background: none;
	width: 100%;
	min-width: 0;
	height: var(--header-control-height);
	color: var(--ink);
	font-size: var(--type-ui);
	line-height: 1.25;
	border: 0;
	border-radius: var(--radius);
	padding: 0 8px 0 16px;
}

.header-search input::placeholder {
	opacity: 1;
	color: var(--muted);
}

.header-search input:focus-visible {
	outline: 0;
}

/* Единые подсказки обеих поисковых форм, поверх содержимого без сдвига шапки. */
.search-suggestions {
	z-index: 60;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: var(--surface);
	width: min(480px, calc(100vw - 40px));
	max-height: min(480px, var(--suggestions-space, 60dvh));
	overflow-y: auto;
	overscroll-behavior: contain;
	color: var(--ink);
	text-align: left;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 12px 28px rgb(0 0 0 / 12%);
	padding: 6px;
}

.search-suggestion {
	min-height: 44px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--ink);
	font-size: var(--type-ui);
	line-height: 1.35;
	text-decoration: none;
	overflow-wrap: anywhere;
	border-radius: var(--radius);
	padding: 10px 12px;
}

.search-suggestion:hover,
.search-suggestion[aria-selected="true"] {
	background: var(--panel-background);
	color: var(--accent);
	text-decoration: none;
}

.search-suggestion-title {
	font-weight: 500;
}

.search-suggestion-detail {
	color: var(--muted);
	font-size: var(--type-note);
}

.search-suggestion-all {
	justify-content: center;
	color: var(--accent);
	border-top: 1px solid var(--line);
	border-radius: 0;
	margin-top: 4px;
}

.search-suggestions-status {
	color: var(--muted);
	font-size: var(--type-note);
	line-height: 1.5;
	padding: 10px 12px;
	margin: 0;
}

.search-suggestions-status:empty {
	display: none;
}

.header-nav {
	flex: 0 0 auto;
	padding: 0 20px;
}

.header-nav-groups {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-nav-group {
	position: relative;
	/* Область наведения непрерывна от кнопки до раскрытого списка. */
	padding: 14px 0;
}

.nav-toggle {
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	font-size: var(--type-body);
}

.nav-toggle[aria-expanded="true"] > .header-icon {
	transform: rotate(180deg);
}

.header-submenu {
	position: absolute;
	top: 100%;
	left: -20px;
	background: #fff;
	width: 260px;
	max-height: calc(100dvh - 96px);
	overflow: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 20px;
}

.header-nav-label {
	display: none;
	font-size: var(--type-body);
	font-weight: 500;
	margin: 0 0 8px;
}

.header-links a,
.header-links .nav-group {
	min-height: 44px;
	display: flex;
	align-items: center;
	overflow-wrap: anywhere;
	font-size: var(--type-ui);
	padding: 8px 0;
}

.header-links .sub-menu {
	padding-left: 16px;
}

.header-links a:hover,
.header-links a[aria-current="page"],
.nav-toggle:hover {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.header-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 40px;
}

.contact-wrap {
	position: relative;
	flex: 0 0 auto;
}

.contact-toggle {
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -.02em;
}

.phone-desktop {
	white-space: nowrap;
}

.contact-toggle > .mobile-phone {
	display: none;
}

.cart-toggle {
	min-height: 44px;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	font-size: var(--type-body);
	border-radius: var(--radius);
}

/* Счётчик привязан к значку и не меняет ширину ссылки при обновлении корзины. */
.cart-icon {
	position: relative;
	width: 32px;
	height: 32px;
	display: flex;
	flex: 0 0 32px;
	align-items: center;
	justify-content: center;
}

.shop-cart-count {
	position: absolute;
	top: -12px;
	right: -8px;
	background: var(--accent);
	min-width: 28px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	border-radius: var(--radius);
	padding: 0 4px;
}

.cart-toggle:hover .cart-word {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.header-icon-button {
	width: 44px;
	height: 44px;
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: var(--radius);
	padding: 0;
}

.header-icon-button:hover {
	background: #eae7de;
}

.header-icon-button.header-menu-toggle {
	display: none;
}

.header-icon {
	background-repeat: no-repeat;
	background-size: 20px 20px;
	width: 20px;
	height: 20px;
	display: inline-block;
	flex: 0 0 20px;
}

.header-icon-search {
	background-image: url(images/header/search.png);
	background-image: image-set(url(images/header/search.png) 1x, url(images/header/search@2x.png) 2x);
}

.header-icon-phone {
	background-image: url(images/header/phone.png);
	background-image: image-set(url(images/header/phone.png) 1x, url(images/header/phone@2x.png) 2x);
}

.header-icon-shopping-cart {
	background-image: url(images/header/shopping-cart.png);
	background-image: image-set(url(images/header/shopping-cart.png) 1x, url(images/header/shopping-cart@2x.png) 2x);
}

.header-icon-chevron-down {
	background-image: url(images/header/chevron-down.png);
	background-image: image-set(url(images/header/chevron-down.png) 1x, url(images/header/chevron-down@2x.png) 2x);
}

.header-icon-x {
	background-image: url(images/header/x.png);
	background-image: image-set(url(images/header/x.png) 1x, url(images/header/x@2x.png) 2x);
}

.header-icon-menu {
	background-image: url(images/header/menu.png);
	background-image: image-set(url(images/header/menu.png) 1x, url(images/header/menu@2x.png) 2x);
}

.header-menu-toggle[aria-expanded="true"] > .header-icon-menu {
	background-image: url(images/header/x.png);
	background-image: image-set(url(images/header/x.png) 1x, url(images/header/x@2x.png) 2x);
}

.header-surface {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 20px 40px #2727200a;
	padding: 24px 28px 28px;
}

.contact-panel {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	width: 440px;
	max-height: calc(100dvh - 96px);
	overflow: auto;
}

.contact-panel::before {
	content: "";
	position: absolute;
	top: -20px;
	left: 0;
	width: 100%;
	height: 20px;
}

.header-panel-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.header-eyebrow {
	color: var(--muted);
	font-size: var(--type-ui);
	line-height: 1.5;
	letter-spacing: 0;
	text-transform: none;
}

.contact-numbers {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
}

.contact-number {
	min-height: 44px;
	display: flex;
	align-items: center;
	font-size: var(--type-subtitle);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -.02em;
	text-align: left;
}

.contact-panel .header-panel-top {
	position: relative;
	padding-right: 40px;
}

.contact-panel .header-panel-top > .header-icon-button {
	position: absolute;
	top: -10px;
	right: -10px;
}

.contact-channels {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}

.contact-channels a {
	min-height: 44px;
	font-size: var(--type-ui);
	text-align: left;
}

.contact-channels a,
.email-link {
	text-decoration: underline;
	text-decoration-color: #b9b9af;
	text-underline-offset: 4px;
}

.contact-number:hover,
.contact-channels a:hover,
.email-link:hover {
	color: var(--accent);
	text-decoration-color: currentColor;
}

.email-link {
	width: 100%;
	min-height: 44px;
	display: block;
	overflow-wrap: anywhere;
	font-size: var(--type-ui);
	line-height: 1.5;
	text-align: left;
}

.contact-panel-details {
	display: grid;
	gap: 16px;
	font-size: var(--type-ui);
	line-height: 1.5;
	border-top: 1px solid var(--line);
	padding-top: 24px;
	margin: 20px 0 0;
}

.contact-panel-details > div {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
}

.contact-panel-details dt {
	color: var(--muted);
}

.contact-panel-details dd {
	margin: 0;
}

.contact-schedule {
	display: grid;
	gap: 4px;
}

.catalog-panel {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--surface);
	width: 100%;
	max-height: calc(100dvh - var(--header-height) - 1px);
	overflow: auto;
	padding: 20px 0 24px;
}

.header-panel-title {
	font-family: var(--font-heading);
	font-size: var(--type-title);
	font-weight: 600;
	font-variation-settings: "SHRP" 60;
	line-height: 1.2;
	letter-spacing: -.035em;
	margin: 0;
}

.catalog-top {
	position: relative;
}

.catalog-close {
	position: absolute;
	top: 0;
	right: 0;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}

.group-items {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	list-style: none;
	padding: 0;
	margin: 0;
}

.group-items > li {
	width: 100%;
}

.catalog-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.group-title,
.group-items a {
	width: 100%;
	min-height: 36px;
	color: var(--ink);
	font-size: var(--type-ui);
	line-height: 1.4;
	text-align: left;
	padding: 6px 0;
}

.group-title a:hover,
.group-items a:hover {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.catalog-group .group-title {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	color: var(--ink);
	font-size: var(--type-body);
	font-weight: 500;
	letter-spacing: -.02em;
	margin-bottom: 4px;
}

.catalog-group:last-child .group-title {
	width: calc(100% - 52px);
}

.group-state {
	display: none;
	font-size: var(--type-ui);
}

.search-result {
	min-height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: var(--type-ui);
	text-align: left;
	border-top: 1px solid var(--line);
	padding: 10px 0;
}

.search-result:hover {
	color: var(--accent);
}

.search-empty {
	color: var(--muted);
	font-size: var(--type-ui);
	line-height: 1.6;
}

.header-text-action {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 30px;
	font-size: var(--type-ui);
	text-align: left;
	border-bottom: 1px solid var(--ink);
}

.header-text-action:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* Общая подложка: меню и подсказки используют одного владельца слоя. */
.focus-layer {
	z-index: var(--focus-layer-z, 999);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--focus-layer-color, rgb(18 32 25 / 34%));
	backdrop-filter: blur(var(--focus-layer-blur, 5px));
}

.focus-layer[hidden] {
	display: none;
}

/* Ссылки и нативные группы заменяют демонстрационные кнопки переходов. */

.catalog-group details {
	width: 100%;
}

.group-title {
	list-style: none;
}

.group-title::-webkit-details-marker {
	display: none;
}

.catalog-group details > .group-title {
	cursor: default;
}

.contact-channels a {
	display: inline-flex;
	align-items: center;
}

.group-items a {
	display: block;
}

.contact-channels:empty {
	display: none;
}

.header-empty {
	font-size: 18px;
	padding: 12px 52px 12px 0;
	margin: 0;
}

/* Поиск по ассортименту использует общую товарную таблицу. */
.search-content h1 {
	margin-bottom: 24px;
}

.catalog-search-form {
	position: relative;
	max-width: 840px;
	display: flex;
	gap: 8px;
}

.catalog-search-form input[type="search"] {
	background: var(--panel-background);
	width: 100%;
	min-width: 0;
	height: 48px;
	font: inherit;
	font-size: var(--type-ui);
	border: 1px solid transparent;
	border-radius: var(--radius);
	padding: 0 16px;
}

.catalog-search-form .listing-action {
	min-width: 88px;
	height: 48px;
	flex-shrink: 0;
	padding: 0 24px;
}

.catalog-search-form .search-suggestions {
	left: 0;
	right: auto;
	width: min(100%, 520px);
}

.catalog-search-hint {
	color: var(--muted);
	font-size: var(--type-note);
	margin: 12px 0 32px;
}

.search-summary {
	color: var(--muted);
	font-size: var(--type-ui);
	overflow-wrap: anywhere;
	margin: 0 0 16px;
}

.catalog-search-empty {
	max-width: 760px;
	margin-top: 40px;
}

.catalog-search-empty h2 {
	font-size: var(--type-subtitle);
}

/* Главная: сначала ассортимент, затем помощь и условия заказа. */
.store-home {
	padding-bottom: 64px;
}

/* Цветовой вариант общей шапки: её геометрия и содержимое остаются исходными. */
.page-template-home:not(.home-hero-past) .site-header {
	background: rgb(12 23 17 / 60%);
	color: #faf5e9;
	border-bottom-color: rgb(250 245 233 / 16%);
}

.page-template-home:not(.home-hero-past) .header-search,
.page-template-home:not(.home-hero-past) .header-menu-toggle {
	background-color: rgb(250 245 233 / 12%);
}

.page-template-home:not(.home-hero-past) .header-search input {
	color: #faf5e9;
}

.page-template-home:not(.home-hero-past) .header-search input::placeholder {
	color: #d5ddd6;
}

.page-template-home:not(.home-hero-past) .header-search .header-icon,
.page-template-home:not(.home-hero-past) .header-menu-toggle .header-icon,
.page-template-home:not(.home-hero-past) .nav-toggle > .header-icon,
.page-template-home:not(.home-hero-past) .contact-toggle > .header-icon,
.page-template-home:not(.home-hero-past) .cart-icon > .header-icon {
	filter: brightness(0) invert(1);
}

.page-template-home:not(.home-hero-past) .header-submenu,
.page-template-home:not(.home-hero-past) .contact-panel,
.page-template-home:not(.home-hero-past) .catalog-panel,
.page-template-home:not(.home-hero-past) .header-nav-groups.container {
	color: var(--ink);
}

.page-template-home:not(.home-hero-past) .nav-toggle:hover {
	color: #d4e7da;
}

.page-template-home:not(.home-hero-past) .header-search .header-icon-button:hover,
.page-template-home:not(.home-hero-past) .header-menu-toggle:hover,
.page-template-home:not(.home-hero-past) .header-action:hover,
.page-template-home:not(.home-hero-past) .header-action[aria-expanded="true"] {
	background-color: rgb(250 245 233 / 20%);
}

.page-template-home:not(.home-hero-past) .site-header :focus-visible {
	outline-color: #9ed1b5;
}

/* Полноширинный первый экран. Все значения компонента ограничены его областью. */
.page-template-home .main {
	margin-top: calc(-1 * (var(--header-height) + 1px));
}

.home-hero {
	position: relative;
	--home-hero-cream: #faf5e9;
	--home-hero-size: clamp(64px, min(6.5vw, 11svh), 128px);
	--home-hero-body: 20px;
	--home-hero-height: max(740px, 100svh);
	--home-hero-motion: 1000ms;
	height: var(--home-hero-height);
	color: var(--home-hero-cream);
	font-family: var(--font-family);
	font-size: var(--type-ui);
	line-height: 1.5;
	margin-bottom: 64px;
}

.home-hero-stage {
	position: relative;
	background: #101b15;
	height: var(--home-hero-height);
	display: flex;
	flex-direction: column;
	overflow: clip;
	isolation: isolate;
}

.home-hero-images {
	z-index: -2;
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.home-hero-images::after {
	z-index: 2;
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(5 12 8 / 12%), transparent 38%, transparent 72%, rgb(5 12 8 / 64%)), linear-gradient(90deg, rgb(5 12 8 / 28%), transparent 68%);
}

.home-hero-frame {
	position: absolute;
	inset: -2%;
	display: block;
	opacity: 0;
	transform: translate3d(1%, 0, 0) scale(1.035);
	transition: opacity var(--home-hero-motion) ease, transform 1800ms cubic-bezier(.2, .65, .3, 1);
}

.home-hero-frame.is-active {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.home-hero-frame img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.home-hero-content {
	z-index: 2;
	position: relative;
	flex: 1;
	padding-top: calc(var(--header-height) + 1px + clamp(96px, 22svh, 170px));
	padding-bottom: 24px;
}

.home-hero h1 {
	position: static;
	max-width: 88%;
	color: var(--home-hero-cream);
	font-family: var(--font-heading);
	font-size: var(--home-hero-size);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -.05em;
	margin: 0;
}

.home-hero-title-line {
	display: block;
}

.home-hero-lead {
	max-width: 540px;
	font-size: var(--home-hero-body);
	font-weight: 400;
	line-height: 1.5;
	margin: 24px 0 32px;
}

.home-hero-lead p {
	margin: 0;
}

.home-hero-lead p + p {
	margin-top: 8px;
}

.home-hero a,
.home-hero a:visited,
.home-hero a:hover {
	color: inherit;
	text-decoration: none;
}

.home-hero a:focus-visible,
.home-hero button:focus-visible {
	outline: 2px solid var(--home-hero-cream);
	outline-offset: 6px;
}

.home-hero-primary {
	background: var(--accent);
	max-width: 100%;
	min-height: 64px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-size: var(--type-ui);
	font-weight: 500;
	border: 0;
	border-radius: var(--radius);
	transition: background 180ms;
	padding: 4px 4px 4px 24px;
}

.home-hero-primary:hover {
	background: var(--accent-hover);
}

.home-hero-action-icon {
	background: rgb(0 0 0 / 16%);
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: var(--radius);
}

/* Повторно используем существующую стрелку Lucide 1x/2x из темы. */
.home-hero-arrow {
	background-image: url(images/ui/arrow-right.png);
	background-image: image-set(url(images/ui/arrow-right.png) 1x, url(images/ui/arrow-right@2x.png) 2x);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
	width: 24px;
	height: 24px;
	display: block;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
	transition: transform 180ms;
}

.home-hero-primary:hover .home-hero-arrow {
	transform: translateX(4px);
}

.home-hero-bottom {
	z-index: 3;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	order: 1;
	gap: 24px;
	padding-top: 24px;
	padding-bottom: 38px;
}

.home-hero-materials {
	display: flex;
	order: -1;
	align-items: center;
	gap: 8px;
}

.home-hero-materials button {
	position: relative;
	background: transparent;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	cursor: pointer;
	color: rgb(250 245 233 / 72%);
	font: inherit;
	font-size: var(--type-ui);
	font-weight: 500;
	border: 0;
	border-radius: 999px;
	transition: color 180ms, background 180ms;
	padding: 10px 18px;
}

.home-hero-materials button:hover,
.home-hero-materials button[aria-pressed="true"] {
	background: rgb(250 245 233 / 6%);
	color: var(--home-hero-cream);
}

.home-hero-materials button[aria-pressed="true"] {
	box-shadow: inset 0 0 0 1px rgb(250 245 233 / 28%);
}

/* Обводка заполняется по тем же часам JS, что переключают слайд. */
.home-hero-materials button[aria-pressed="true"]::before {
	content: "";
	position: absolute;
	inset: 0;
	background: conic-gradient(from 180deg, var(--home-hero-cream) calc(var(--home-hero-progress, 0) * 1turn), transparent 0);
	pointer-events: none;
	border-radius: inherit;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	padding: 1px;
}

.home-hero-pause {
	background: transparent;
	width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	cursor: pointer;
	border: 0;
	border-radius: var(--radius);
	padding: 0;
	margin-left: auto;
}

/* Предоставленные PNG 96px отображаются в 26px; доступное имя действия задаёт кнопка. */
.home-hero-pause::before {
	content: "";
	background-image: url(images/ui/hero-pause.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
	width: 26px;
	height: 26px;
	display: block;
	opacity: .8;
	transition: opacity 180ms;
}

.home-hero-pause.is-paused::before {
	background-image: url(images/ui/hero-play-circle.png);
}

.home-hero-pause:hover::before {
	opacity: 1;
}

.page-template-home #assortment {
	scroll-margin-top: calc(var(--header-height) + 24px);
}

.home-hero.is-motion-reduced {
	--home-hero-motion: 0ms;
}

.home-hero.is-motion-reduced .home-hero-frame,
.home-hero.is-motion-reduced .home-hero-arrow {
	transition: none;
}

.home-hero.is-motion-reduced .home-hero-frame {
	transform: none;
}

.home-hero.is-motion-reduced .home-hero-materials button::before {
	display: none;
}

.home-assortment > h2:not(.visually-hidden) {
	font-size: var(--type-title);
	margin: 0 0 24px;
}

.home-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.home-category {
	min-width: 0;
	padding: 0 0 20px;
}

.home-category-heading {
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.home-category h3 {
	font-size: var(--type-subtitle);
	line-height: 1.3;
	margin: 0;
}

.home-category ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-category li {
	padding: 0;
	margin: 0;
}

.home-category li a {
	min-height: 44px;
	display: flex;
	align-items: center;
	color: var(--ink);
	font-size: var(--type-body);
	line-height: 1.4;
	text-decoration: none;
	padding: 8px 0;
}

.home-category a:hover {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.selection-help {
	position: relative;
	background: var(--panel-background);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	isolation: isolate;
	border-radius: var(--radius);
	padding: 28px 32px;
	margin: 48px 0 56px;
}

.selection-help::before {
	z-index: -1;
	content: "";
	position: absolute;
	inset: 0;
	background-image: url(images/patterns/annual-rings.webp);
	background-image: image-set(
		url(images/patterns/annual-rings.webp) 1x,
		url(images/patterns/annual-rings@2x.webp) 2x
	);
	background-repeat: no-repeat;
	background-size: 768px 512px;
	background-position: 60% 55%;
	pointer-events: none;
	opacity: .10;
	mask-image: linear-gradient(90deg, transparent, #000 35%, #000 75%, transparent);
	border-radius: inherit;
}

.selection-help h2 {
	font-size: var(--type-subtitle);
	margin: 0 0 8px;
}

.selection-help p {
	color: var(--muted);
	font-size: var(--type-ui);
	margin: 0;
}

.selection-help-contact {
	flex-shrink: 0;
}

.selection-help-phone {
	display: block;
	white-space: nowrap;
	font-family: var(--font-heading);
	color: var(--accent);
	font-size: var(--type-subtitle);
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	margin: 0 0 8px;
}

.selection-help-hours {
	display: flex;
	flex-wrap: wrap;
	column-gap: 12px;
}

.selection-help-hours span {
	white-space: nowrap;
}

/* О магазине: опыт точки и условия покупки без разделителей. */
.store-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	align-items: start;
	column-gap: 64px;
	padding: 16px 0;
	margin-top: 64px;
}

.store-story-years {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: var(--accent);
	font-weight: 500;
	margin: 0;
}

.store-story-over {
	font-family: var(--font-family);
	font-size: var(--type-body);
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 4px;
}

.store-story-number {
	font-size: clamp(160px, 16vw, 250px);
	font-weight: 500;
	line-height: .9;
	letter-spacing: -.075em;
	margin-left: -.045em;
}

.store-story-caption {
	overflow-wrap: anywhere;
	font-size: var(--type-subtitle);
	font-weight: 400;
	line-height: 1.3;
	margin-top: 18px;
}

.store-story-content {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 40px;
	overflow-wrap: anywhere;
}

.store-story-name {
	font-size: var(--type-title);
	line-height: 1.25;
	margin: 0 0 24px;
}

.store-story-intro {
	max-width: 620px;
	font-size: var(--type-body);
	line-height: 1.5;
	margin: 0;
}

.store-story-intro p {
	margin: 0 0 12px;
}

.store-story-intro p:last-child {
	margin-bottom: 0;
}

.store-story-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 24px;
	margin: 0;
}

.store-story-services dt {
	font-family: var(--font-heading);
	font-size: var(--type-subtitle);
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 12px;
}

.store-story-services dd {
	color: var(--muted);
	font-size: var(--type-body);
	line-height: 1.5;
	margin: 0;
}

/* Общая высота ленты; ширина каждого кадра определяется его исходными пропорциями. */
.store-story-gallery {
	position: relative;
	min-width: 0;
	grid-column: 1 / -1;
	margin: 40px 0 0;
}

.store-story-photos {
	--store-gallery-height: clamp(480px, 40vw, 600px);
	display: flex;
	align-items: flex-start;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
	list-style: none;
	padding: 6px 0 14px;
	margin: 0;
}

.store-story-photos.is-dragging {
	scroll-snap-type: none;
}

.store-story-photos:focus-visible {
	outline: none;
}

.store-story-photos.has-scroll-controls {
	scrollbar-width: none;
	padding-bottom: 6px;
}

.store-story-photos.has-scroll-controls::-webkit-scrollbar {
	display: none;
}

.store-story-photo {
	min-width: 0;
	flex: 0 0 auto;
	scroll-snap-align: start;
	margin: 0;
}

.store-story-photo-link {
	background: var(--panel-background);
	height: var(--store-gallery-height);
	display: block;
	overflow: hidden;
	cursor: inherit;
	border-radius: var(--radius);
}

.store-story-photo-link:focus-visible {
	outline: none;
}

.store-story-photo img {
	width: auto;
	max-width: none;
	height: 100%;
	display: block;
}

/* Видео находится в общей ленте, файл загружается только после открытия. */
.store-story-video {
	position: relative;
	background: var(--ink);
	color: #fff;
}

.store-story-video::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(rgb(0 0 0 / 70%), transparent 45%);
	pointer-events: none;
}

/* Если обложка не выбрана, кнопка видео сохраняет доступную площадь. */
.store-story-video:not(:has(img)) {
	width: calc(var(--store-gallery-height) * 9 / 16);
}

.store-story-video-play {
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	background: #292929;
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: background-color .2s;
}

.store-story-video-play::before {
	content: '';
	background-image: url(images/video-play-white.png);
	background-image: image-set(
		url(images/video-play-white.png) 1x,
		url(images/video-play-white@2x.png) 2x
	);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	width: 24px;
	height: 24px;
	display: block;
}

.store-story-video:hover .store-story-video-play {
	background: #171717;
}

.store-story-video:focus-visible .store-story-video-play {
	outline: 2px solid #fff;
	outline-offset: 5px;
}

.store-story-video-caption {
	z-index: 1;
	position: absolute;
	top: 24px;
	left: 24px;
	right: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	color: #fff;
	font-size: var(--type-body);
	font-weight: 500;
	line-height: 1.4;
}

.store-story-video-duration {
	flex: none;
	font-size: var(--type-ui);
	font-weight: 400;
}

.store-story-gallery-controls {
	z-index: 1;
	position: absolute;
	right: 16px;
	bottom: 22px;
	display: flex;
	gap: 6px;
}

.store-story-gallery-controls[hidden] {
	display: none;
}

.store-story-gallery-button {
	background: var(--white-color);
	transition: background-color .2s, opacity .2s;
}

.store-story-gallery-button:hover:not(:disabled) {
	background: var(--panel-background);
}

.store-story-gallery-button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.store-story-gallery-button:disabled {
	opacity: .5;
	cursor: default;
}

/* Отзывы: открытые колонки и последовательное раскрытие. */
.home-reviews {
	overflow-anchor: none;
	margin-top: 64px;
}

.home-reviews-heading {
	margin-bottom: 32px;
}

.store-home .shop-other > h2,
.store-home .order-information .order-information-title,
.home-reviews h2 {
	font-size: var(--type-title);
	line-height: 1.25;
}

.home-reviews h2 {
	margin: 0;
}

.home-reviews-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-review {
	min-width: 0;
	display: flex;
	border-top: 1px solid var(--line);
	padding-top: 28px;
	margin: 0;
}

.home-review:only-child {
	max-width: 760px;
	grid-column: 1 / -1;
}

.home-review figure {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin: 0;
}

.home-review blockquote {
	overflow-wrap: anywhere;
	font-size: var(--type-body);
	line-height: 1.5;
	padding: 0;
	margin: 0;
}

.home-review blockquote p {
	margin: 0 0 12px;
}

.home-review blockquote p:last-child {
	margin-bottom: 0;
}

.home-review figcaption {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	column-gap: 16px;
	row-gap: 8px;
	margin-top: auto;
}

.home-review-person {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.home-review-author {
	font-size: var(--type-body);
	font-weight: 500;
	line-height: 1.5;
}

.home-review-date {
	color: var(--muted);
	font-size: var(--type-note);
	line-height: 1.5;
}

.home-review-source,
.home-review-source:visited {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent);
	font-size: var(--type-ui);
	line-height: 1.5;
	text-decoration: none;
}

.home-review-source:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.home-review-source:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
	border-radius: var(--radius);
}

.home-reviews-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 32px;
}

.home-reviews-status {
	color: var(--muted);
	font-size: var(--type-note);
	line-height: 1.5;
	margin: 0;
}

.home-reviews-more {
	background: var(--surface);
	min-height: 48px;
	cursor: pointer;
	color: var(--accent);
	font: inherit;
	font-size: var(--type-ui);
	line-height: 1.5;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 20px;
}

.home-reviews-more:hover {
	background: var(--panel-background);
	border-color: var(--accent);
}

.home-reviews-more:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.home-review:focus {
	outline: none;
}

.home-review:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 6px;
}

/* HERO */

.hero {
	background-color: var(--gray-color-40);
	margin-top: 20px;
}

.hero p {
	opacity: .95;
}

.hero img {
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Сквозные компактные карточки заказа: одно оформление для главной, каталога и товара. */
.order-information .order-information-title {
	font-size: var(--type-subtitle);
	line-height: 1.25;
	margin-bottom: 24px;
}

.order-information-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 272px), 1fr));
	gap: 16px;
}

.order-information-item {
	position: relative;
	background: var(--panel-background);
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	padding: 24px 112px 24px 24px;
}

.order-information .order-information-card-title {
	font-size: var(--type-subtitle);
	line-height: 1.25;
	margin-bottom: 12px;
}

.order-information-copy {
	min-width: 0;
	min-height: 0;
	flex: 1;
	margin-bottom: 12px;
}

.order-information-copy p {
	overflow-wrap: anywhere;
	font-size: var(--type-ui);
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

.order-information-link,
.order-information-link:visited {
	width: fit-content;
	min-height: 44px;
	display: block;
	align-content: center;
	color: var(--accent);
	font-size: var(--type-ui);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	margin-top: auto;
	margin-bottom: 0;
}

.order-information-link:hover {
	text-decoration-thickness: 2px;
}

.order-information-link span {
	margin-left: 6px;
}

.order-information-link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
	border-radius: var(--radius);
}

.order-information-art {
	position: absolute;
	right: -16px;
	bottom: 0;
	width: 128px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	margin: 0;
}

.order-information .order-information-art img {
	width: 100%;
	height: auto;
	display: block;
}

.listing #listing-order-info {
	margin-top: 40px;
}

/* Условия заказа занимают полную ширину под компактной карточкой. */
.shop-product-services {
	margin-top: 48px;
}

.shop-main {
	line-height: 1.5;
	padding-bottom: 80px;
}

.js-shop a:visited {
	color: var(--accent);
}

.js-shop button,
.js-shop input,
.js-shop textarea {
	font: inherit;
}

.js-shop button,
.js-shop summary {
	cursor: pointer;
}

.shop-main :focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.shop-main h1 {
	max-width: 1100px;
	font-size: 48px;
	line-height: 1.15;
	margin: 0 0 36px;
}

.js-shop h2 {
	font-size: 24px;
	line-height: 1.3;
	margin: 0 0 24px;
}

#page-title:focus {
	outline: none;
}

/* Изображение — ориентир; рабочая зона состоит из характеристик и покупки. */
.shop-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr);
	align-items: start;
	gap: 64px;
}

.shop-product-overview {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(160px, .65fr) minmax(0, 1fr);
	align-items: start;
	gap: 32px;
	padding-top: 8px;
}

.shop-gallery {
	min-width: 0;
	text-align: center;
	margin: 0;
}

.shop-gallery-media {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.shop-gallery a {
	display: block;
	cursor: zoom-in;
}

.shop-gallery a:first-child,
.shop-photo-placeholder {
	grid-column: 1 / -1;
}

.shop-gallery img {
	background: transparent;
	width: 100%;
	height: 64px;
	display: block;
	object-fit: contain;
	border-radius: var(--radius);
}

.shop-gallery a:first-child img {
	max-width: 280px;
	height: 260px;
	margin: 0 auto;
}

.shop-gallery figcaption {
	color: var(--muted);
	font-size: 14px;
	margin-top: 8px;
}

.shop-photo-placeholder {
	background: var(--panel-background);
	min-height: 140px;
	display: grid;
	place-items: center;
	color: var(--muted);
	font-size: 16px;
	border-radius: var(--radius);
	padding: 16px;
}

.shop-product-specs {
	min-width: 0;
}

.shop-product-order {
	background: var(--panel-background);
	min-width: 0;
	border-radius: var(--radius);
	padding: 24px;
}

.shop-order-top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	align-items: start;
	gap: 20px 24px;
	margin-bottom: 20px;
}

.shop-order-price {
	min-width: 0;
}

.shop-order-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 16px;
	margin-top: 6px;
}

.shop-variants {
	min-width: 0;
	flex: 0 1 auto;
	margin: 0;
}

.shop-variants legend {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 8px;
}

.shop-delivery legend {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 12px;
}

.shop-variants select {
	background: #fff;
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	font: inherit;
	font-size: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 10px 12px;
}

.shop-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.shop-option {
	position: relative;
	display: block;
	cursor: pointer;
}

.shop-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.shop-option span {
	background: #fff;
	min-width: 70px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 10px 18px;
}

.shop-option input:checked + span {
	background: #eaf0eb;
	color: var(--accent);
	border-color: var(--accent);
}

.shop-option input:focus-visible + span {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.shop-hint {
	color: #62665e;
	font-size: 16px;
	line-height: 1.5;
	margin-top: 12px;
}

.shop-calculation {
	min-width: 0;
}

.shop-price {
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.shop-price-unit {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: normal;
}

#product-rate {
	margin-top: 0;
}

.shop-stock {
	color: var(--accent);
	font-size: 14px;
	font-weight: 400;
}

.shop-quantity-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	align-items: start;
	gap: 12px 24px;
}

.shop-quantity-control {
	min-width: 0;
}

.shop-quantity-row label {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
}

.shop-stepper {
	background: #fff;
	width: 174px;
	height: 48px;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	border: 1px solid #c8cbc2;
	border-radius: var(--radius);
}

.shop-quantity-row .shop-stepper {
	width: 168px;
}

.shop-stepper button {
	background: transparent;
	color: var(--ink);
	font-size: 24px;
	border: 0;
	padding: 0;
}

.shop-stepper input {
	background: transparent;
	width: 100%;
	min-width: 0;
	appearance: textfield;
	color: var(--ink);
	font-size: 18px;
	text-align: center;
	border: 0;
	padding: 0;
}

.shop-stepper input::-webkit-inner-spin-button,
.shop-stepper input::-webkit-outer-spin-button {
	appearance: none;
	margin: 0;
}

.shop-equivalent {
	color: var(--muted);
	font-size: 14px;
	padding-bottom: 12px;
}

.shop-quantity-control .shop-equivalent {
	padding-bottom: 0;
	margin-top: 6px;
}

.shop-volume {
	min-width: 0;
	font-size: 16px;
	margin-top: 28px;
}

.shop-volume summary {
	width: fit-content;
	max-width: 100%;
	min-height: 44px;
	display: block;
	color: var(--accent);
	text-decoration-line: underline;
	text-decoration-style: dashed;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
	list-style: none;
	padding: 10px 0;
}

/* Нативное раскрытие сохраняется; индикатор заменён подчёркиванием действия. */
.shop-volume summary::-webkit-details-marker {
	display: none;
}

.shop-volume summary::marker {
	content: "";
}

.shop-volume summary:hover {
	color: var(--accent-hover);
}

.shop-volume label {
	display: block;
	margin-top: 12px;
}

.shop-volume-input {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.shop-volume-input input {
	width: 130px;
	min-width: 0;
	border: 1px solid #c8cbc2;
	border-radius: var(--radius);
	padding: 10px 12px;
}

.shop-order-footer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	align-items: center;
	gap: 16px 24px;
	border-top: 1px solid var(--line);
	padding-top: 16px;
	margin-top: 16px;
}

.shop-product-total {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.shop-product-total span {
	font-size: 16px;
}

.shop-product-total output {
	font-size: 24px;
	font-weight: 600;
}

.shop-primary,
.js-shop a.shop-primary,
.shop-secondary {
	background: var(--accent);
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	padding: 12px 24px;
}

.shop-primary:hover,
.js-shop a.shop-primary:hover {
	background: var(--accent-hover);
	color: #fff;
}

.shop-secondary {
	background: #fff;
	color: var(--ink);
	border-color: #c8cbc2;
}

#request-submit {
	width: 100%;
	margin-top: 20px;
}

/* Миниатюра подтверждает покупку поверх страницы, не перехватывая клики. */
.shop-cart-flight {
	z-index: 10002;
	position: fixed;
	top: 0;
	left: 0;
	width: 72px;
	height: 72px;
	object-fit: contain;
	pointer-events: none;
	border-radius: var(--radius);
	transform-origin: center;
	will-change: transform, opacity;
	margin: 0;
}

/* Короткая подпись кнопки сохраняет понятный отклик без движения. */
#product-add.is-added {
	background: #e7f0e9;
	color: var(--accent);
}

.shop-cart-help a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.shop-help {
	display: inline-block;
	font-size: 16px;
	text-decoration: none;
	margin-top: 40px;
}

.shop-help span {
	display: block;
	margin-top: 4px;
}

.shop-specifications {
	margin: 0;
}

.shop-specifications > div {
	min-height: 48px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
	font-size: 16px;
	border-bottom: 1px solid var(--line);
	padding: 10px 0;
}

.shop-specifications dt {
	color: #62665e;
}

.shop-specifications dd {
	font-size: 18px;
	text-align: right;
	margin: 0 0 0 auto;
}

.shop-other {
	margin-top: 64px;
}

.store-home .shop-other {
	margin-bottom: 64px;
}

/* Карточки рекомендаций: размер, материал и цена конкретного варианта. */
.shop-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.shop-related-grid > li {
	min-width: 0;
	padding: 0;
	margin: 0;
}

.shop-related {
	height: 100%;
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 16px;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
}

.shop-related:visited {
	color: var(--ink);
}

.shop-related:hover h3 {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.shop-related:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.shop-related-photo {
	width: 80px;
	height: 64px;
	grid-column: 1;
	grid-row: 1;
}

.shop-related-photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	margin: 0;
}

.shop-related-identity {
	min-width: 0;
	grid-column: 2;
}

.shop-related h3 {
	font-size: var(--type-subtitle);
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
}

.shop-related h3 > span,
.shop-related-price > span {
	font-size: var(--type-note);
	font-weight: 400;
	white-space: nowrap;
}

.shop-related h3 > span {
	color: var(--muted);
}

.shop-related-name,
.shop-related-details {
	color: var(--muted);
	font-size: var(--type-note);
	line-height: 1.4;
	margin: 4px 0 0;
}

.shop-related-cost {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	grid-column: 3;
	align-items: center;
	column-gap: 16px;
}

.shop-related-cost > p {
	grid-column: 1;
}

.shop-related-cost::after {
	content: "";
	background-color: var(--accent);
	background-image: url(images/ui/arrow-right.png);
	background-image: image-set(url(images/ui/arrow-right.png) 1x, url(images/ui/arrow-right@2x.png) 2x);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	width: 44px;
	height: 44px;
	display: block;
	grid-column: 2;
	grid-row: 1 / span 2;
	border-radius: var(--radius);
}

.shop-related:hover .shop-related-cost::after,
.shop-related:focus-visible .shop-related-cost::after {
	background-color: var(--accent-hover);
}

.shop-related-price {
	font-size: var(--type-subtitle);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.025em;
	margin: 0;
}

.shop-related-price.is-quote {
	font-size: var(--type-body);
	font-weight: 500;
	letter-spacing: 0;
}

/* Корзина и заявка: один компонент, два шага, нативная модальность. */
.js-shop-cart {
	max-width: 720px;
	line-height: 1.5;
}

.shop-cart-dialog {
	position: fixed;
	top: 0;
	left: auto;
	right: 0;
	bottom: 0;
	background: #fff;
	width: min(640px, 100%);
	max-width: none;
	height: 100dvh;
	max-height: none;
	overflow: hidden;
	color: var(--ink);
	border: 0;
	padding: 0;
	margin: 0;
}

.shop-cart-dialog::backdrop {
	background: rgb(12 24 18 / 60%);
}

.shop-cart-dialog .js-shop-cart {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.shop-cart-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 20px;
	margin-bottom: 24px;
}

.shop-cart-heading h2 {
	font-size: 32px;
	scroll-margin-top: 100px;
	margin: 0;
}

.shop-cart-dialog .shop-cart-heading {
	flex: 0 0 auto;
	padding: 20px 32px;
	margin: 0;
}

.shop-cart-dialog .shop-cart-body {
	min-height: 0;
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	padding: 24px 32px max(32px, env(safe-area-inset-bottom));
}

.shop-cart-steps ol {
	display: flex;
	gap: 28px;
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.shop-cart-steps button {
	background: none;
	min-height: 44px;
	color: #62665e;
	font-size: 16px;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 0;
}

.shop-cart-steps [aria-current="step"] {
	color: var(--accent);
	font-weight: 500;
	border-bottom-color: var(--accent);
}

.shop-cart-steps button:disabled {
	cursor: default;
}

.shop-cart-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	text-align: center;
}

.shop-cart-actions .shop-cart-help {
	text-align: left;
	margin-top: 12px;
}

#cart-request h3 {
	font-size: 24px;
	margin: 20px 0 24px;
}

.js-shop-cart ul {
	list-style: none;
	padding: 0;
}

.js-shop-cart button:focus-visible,
.js-shop-cart a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.js-shop-cart .shop-primary {
	width: 100%;
}

.shop-cart-line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 20px;
	border-top: 1px solid var(--line);
	padding: 28px 0;
}

.shop-cart-product {
	grid-column: 1 / -1;
}

.shop-cart-product a {
	color: var(--ink);
	font-size: 18px;
	font-weight: 500;
}

.shop-cart-product p,
.shop-cart-product > span,
.shop-cart-controls > span {
	display: block;
	color: #62665e;
	font-size: 14px;
	margin-top: 8px;
}

.shop-cart-amount {
	display: flex;
	flex-direction: column;
	align-items: end;
	gap: 8px;
	white-space: nowrap;
}

.shop-cart-amount strong {
	font-size: 18px;
	font-weight: 500;
}

.shop-text-button {
	background: none;
	min-height: 44px;
	color: #62665e;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 4px;
	border: 0;
	padding: 0;
}

.shop-cart-help a {
	white-space: nowrap;
}

.shop-cart-help {
	max-width: 520px;
	color: #62665e;
	font-size: 16px;
	border-top: 1px solid var(--line);
	padding-top: 24px;
}

.shop-summary {
	background: #f3f4f0;
	font-size: 16px;
	border-radius: var(--radius);
	padding: 24px;
	margin: 28px 0 24px;
}

.shop-summary > strong {
	display: block;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.25;
	margin-top: 8px;
}

.shop-field {
	margin-bottom: 20px;
}

.shop-field label {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
}

.shop-field label span {
	color: #62665e;
	font-size: 14px;
}

.shop-field input,
.shop-field textarea {
	background: #fff;
	width: 100%;
	min-height: 48px;
	display: block;
	resize: vertical;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.5;
	border: 1px solid #c8cbc2;
	border-radius: var(--radius);
	padding: 10px 12px;
}

.shop-delivery {
	margin-bottom: 20px;
}

.shop-delivery label {
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-size: 16px;
}

.shop-delivery input,
.shop-consent input {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	accent-color: var(--accent);
	margin: 0;
}

.shop-consent {
	display: flex;
	align-items: start;
	gap: 12px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.5;
}

.shop-consent a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.shop-form-note {
	color: #62665e;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 12px;
}

.shop-error {
	color: #9b2f20;
	font-size: 16px;
	margin-top: 12px;
}

.shop-error:empty {
	display: none;
}

.shop-undo {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
	margin-bottom: 20px;
}

.shop-empty {
	max-width: 640px;
	padding: 48px 0 80px;
}

.shop-empty p {
	color: #62665e;
	margin-bottom: 24px;
}

.shop-success {
	max-width: 820px;
}

.shop-success-number {
	color: var(--accent);
	font-size: 16px;
	margin-bottom: 24px;
}

.shop-receipt {
	border-top: 1px solid var(--line);
	margin-top: 32px;
}

.shop-receipt li {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 16px;
	border-bottom: 1px solid var(--line);
	padding: 20px 0;
}

.shop-receipt strong {
	white-space: nowrap;
	font-weight: 500;
}

.shop-receipt-total {
	font-size: 20px;
	margin-top: 24px;
}

.shop-success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 32px 0 12px;
}

.shop-toast {
	z-index: 1100;
	position: fixed;
	left: 20px;
	bottom: 20px;
	background: #18372d;
	width: max-content;
	max-width: min(540px, calc(100% - 40px));
	color: #fff;
	font-size: 16px;
	border-radius: var(--radius);
	padding: 16px 20px;
}

.shop-toast:empty {
	display: none;
}

/* Отступ от шапки и хлебные крошки наследуют общий стандарт страницы. */
.listing {
	min-width: 0;
	color: var(--ink);
	line-height: 1.5;
	padding-bottom: 56px;
}

.listing-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

/* Радиус элементов листинга задаётся общим стандартом темы. */
.listing-active a,
.listing-options span,
.listing-field select,
.listing-sort select,
.listing-submit,
.listing-action,
.listing-sort button,
.listing-open,
.listing-cancel,
.listing-retry,
.listing-pagination a,
.listing-pagination span,
.listing-empty {
	border-radius: var(--radius);
}

/* Описание категории: читаемая длина строки и отдельные абзацы. */
.listing-description {
	max-width: 80ch;
	font-size: var(--type-body);
}

.listing-description p + p {
	margin-top: 16px;
}

.listing-cart-icon {
	background-image: url(images/header/shopping-cart.png);
	background-image: image-set(url(images/header/shopping-cart.png) 1x, url(images/header/shopping-cart@2x.png) 2x);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	width: 20px;
	height: 20px;
	display: block;
	filter: brightness(0) invert(1);
}

/* Единые строки товаров: параметры, цена и покупка на общих осях. */
.catalog-table {
	width: 100%;
	table-layout: fixed;
	color: var(--ink);
	font-size: var(--type-body);
	line-height: 1.45;
	border-collapse: collapse;
	border: 0;
	margin: 8px 0 32px;
}

.catalog-col-length {
	width: 12%;
}

.catalog-col-grade {
	width: 18%;
}

.catalog-col-price {
	width: 21%;
}

.catalog-col-quantity {
	width: 208px;
}

.catalog-table th,
.catalog-table td {
	background: transparent;
	font-weight: 400;
	text-align: left;
	vertical-align: middle;
	border: 0;
	border-bottom: 1px solid var(--line);
	padding: 12px 16px;
}

.catalog-table thead th {
	color: var(--muted);
	font-size: var(--type-note);
	padding-top: 10px;
	padding-bottom: 10px;
}

.catalog-table-row:hover {
	background: #fafbf9;
}

.catalog-product-identity {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 16px;
}

.catalog-product-identity > div {
	min-width: 0;
	overflow-wrap: anywhere;
}

.catalog-product-photo {
	width: 80px;
	height: 64px;
	display: block;
	flex-shrink: 0;
}

.catalog-product-photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	margin: 0;
}

.catalog-product-link {
	display: inline-block;
	color: var(--ink);
	font-size: var(--type-subtitle);
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.catalog-product-link:visited {
	color: var(--ink);
}

.catalog-product-link:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.catalog-size-unit {
	color: var(--muted);
	font-size: var(--type-note);
	font-weight: 400;
}

.catalog-product-name,
.catalog-stock,
.catalog-secondary-price,
.catalog-volume,
.catalog-choice-details {
	display: block;
	color: var(--muted);
	font-size: var(--type-note);
	line-height: 1.4;
	margin: 4px 0 0;
}

.catalog-stock.is-available {
	color: var(--accent);
}

.catalog-cell-label,
.catalog-mobile-stock,
.catalog-mobile-summary {
	display: none;
}

.catalog-choice {
	min-width: 0;
	display: block;
}

.catalog-table select {
	background-color: var(--surface);
	width: 100%;
	max-width: 148px;
	min-width: 0;
	height: 44px;
	color: var(--ink);
	font-family: inherit;
	font-size: var(--type-ui);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0 26px 0 12px;
}

.catalog-primary-price {
	display: block;
	font-size: var(--type-subtitle);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.025em;
}

.catalog-primary-price.is-quote {
	font-size: var(--type-body);
	font-weight: 500;
	letter-spacing: 0;
}

.catalog-price-unit {
	font-size: var(--type-note);
	font-weight: 400;
	white-space: nowrap;
}

.catalog-purchase-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.catalog-quantity {
	background: var(--surface);
	width: 124px;
	height: 44px;
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.catalog-quantity button {
	background: transparent;
	min-width: 0;
	color: var(--ink);
	font: inherit;
	border: 0;
	padding: 0;
}

.catalog-quantity button:disabled,
.catalog-add:disabled {
	opacity: .45;
	cursor: default;
}

.catalog-quantity input {
	background: transparent;
	width: 100%;
	min-width: 0;
	height: 42px;
	appearance: textfield;
	color: var(--ink);
	font: inherit;
	font-size: var(--type-ui);
	text-align: center;
	border: 0;
	padding: 0;
}

.catalog-quantity input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.catalog-add {
	background: var(--accent);
	width: 44px;
	height: 44px;
	display: grid;
	flex-shrink: 0;
	place-items: center;
	border: 0;
	border-radius: var(--radius);
	padding: 0;
}

.catalog-add:hover:not(:disabled) {
	background: var(--accent-hover);
}

.catalog-product-link.is-name,
.catalog-search-table .catalog-product-link {
	font-size: var(--type-body);
}

.catalog-table-without-length .catalog-col-grade,
.catalog-search-table .catalog-col-grade {
	width: 23%;
}

.catalog-table-without-length select,
.catalog-search-table select {
	max-width: 100%;
}

@media screen and (min-width: 980px) {
	body {
		line-height: 1.75;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		line-height: 1.5;
	}

	h1 {
		left: -3px;
		font-size: 50px;
	}

	h2 {
		left: -2px;
		font-size: 38px;
	}

	h3 {
		left: -1px;
		font-size: 28px;
	}

	.main {
		margin-top: 40px;
	}

	.breadcrumbs {
		line-height: 1.75;
	}

	.articles {
		margin-left: -20px;
		margin-right: -20px;
	}

	.articles .card {
		width: calc(33.3333% - 40px);
		display: inline-block;
		vertical-align: top;
		margin-left: 20px;
		margin-right: 20px;
	}

	.articles .card .thumbnail {
		max-width: 393px;
	}

	.articles .card .name {
		font-size: 18px;
	}

	.article .layout {
		position: relative;
		padding-right: 200px;
	}

	.article .introduction {
		font-size: 127%;
	}

	.toc {
		z-index: 1001;
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 174px;
	}

	.toc .toc-title {
		opacity: .3;
		margin-bottom: 28px;
	}

	.toc .toc-list {
		position: -webkit-sticky;
		position: sticky;
		top: 15px;
		width: 174px;
		max-height: calc(100vh - 97px);
		overflow: scroll;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.toc .toc-list li a {
		font-size: 16px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.sitemap .item {
		padding: 28px 36px;
	}

	.positive-text,
	.negative-text,
	.warning-text,
	.info-text {
		border-radius: var(--radius);
		padding: 36px 48px;
	}

	.text table th,
	.text table td {
		padding: 15px 20px;
	}

	.article-image .image-wrapper img {
		border-radius: var(--radius);
	}

	.related-article {
		flex-direction: row;
	}

	.related-article .related-article-image {
		flex-basis: 44.587%;
	}

	.related-article .related-article-content {
		padding: 36px 48px;
	}

	.related-article .related-article-content .headline {
		font-size: 32px;
	}

	.tabs.article-tabs .tablist {
		margin-left: -48px;
		margin-right: -48px;
		padding-left: 48px;
		padding-right: 48px;
	}

	.tabs.article-tabs .tablist:after {
		left: 48px;
		right: 48px;
	}

	.tabs .tablist .tablist-inner .tab {
		font-size: 18px;
		margin-right: 26px;
	}

	.modal .modal-close {
		top: 15px;
		right: 35px;
	}

	.modal .side {
		width: 600px;
		padding-left: 70px;
		padding-right: 70px;
	}

	.notice-container {
		max-width: 320px;
	}

	.hero {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.hero .columns .column {
		width: 50%;
	}

	.hero .columns .column.left {
		padding-right: 50px;
	}

	.hero .columns .column.right {
		padding-left: 50px;
	}

	.header-search .search-suggestions {
		left: 0;
		right: auto;
	}

	/* Четыре категории на ноутбуке: плавно уплотняем заголовки, сохраняя размер ссылок. */
	.home-category-grid {
		gap: clamp(24px, 2.35vw, 32px);
	}

	.home-category-heading {
		gap: clamp(8px, .9vw, 12px);
	}

	.home-category h3 {
		font-size: clamp(20px, 1.8vw, 24px);
	}

}

@media screen and (min-width: 1360px) {
	h1 {
		left: -4px;
		font-size: 60px;
	}

	.articles {
		margin-left: -25px;
		margin-right: -25px;
	}

	.articles .card {
		width: calc(33.3333% - 50px);
		margin-left: 25px;
		margin-right: 25px;
	}

	.article .layout {
		padding-right: 340px;
	}

	.toc,
	.toc .toc-list {
		width: 260px;
	}

	.toc .toc-list li a {
		font-size: 17px;
	}
}

@media screen and (min-width: 1440px) {
	.container {
		max-width: 1600px;
	}

	.header-row {
		gap: 32px;
	}

	.header-brand {
		flex-basis: 194px;
	}

	.header-nav {
		padding-right: 24px;
		padding-left: 24px;
	}

	.header-nav-groups {
		gap: 24px;
	}

	.header-actions {
		gap: 48px;
	}

	.articles .card .thumbnail {
		max-width: 486px;
	}

	.related-article .related-article-image {
		flex-basis: 38.607%;
	}
}

@media screen and (max-width: 1359px) {
	.header-row {
		gap: 24px;
	}

	.header-brand {
		flex-basis: 160px;
	}

	.header-tools {
		min-width: 320px;
	}

	.header-nav {
		position: absolute;
		top: 100%;
		left: 0;
		background: #fff;
		width: 100%;
		max-height: calc(100dvh - var(--header-height) - 1px);
		overflow: auto;
		padding: 24px 0;
	}

	.header-nav-groups {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: 24px;
	}

	.header-nav-group {
		position: static;
		padding: 0;
	}

	.nav-toggle {
		display: none;
	}

	.header-submenu {
		position: static;
		width: auto;
		max-height: none;
		overflow: visible;
		border: 0;
		padding: 0;
	}

	.header-nav-label {
		display: block;
	}

	.header-actions {
		gap: 24px;
	}

	.header-icon-button.header-menu-toggle {
		background: #f2f3f0;
		display: inline-flex;
	}

	.header-menu-toggle:hover,
	.header-menu-toggle[aria-expanded="true"] {
		background: #eae7de;
	}

	.order-information-item {
		padding: 20px 20px 16px;
	}

	.order-information-link {
		max-width: calc(100% - 88px);
		min-height: 64px;
		align-self: flex-start;
	}

	.order-information-art {
		right: -12px;
		width: 108px;
	}

	.shop-product-grid {
		gap: 40px;
	}

	.shop-product-overview {
		gap: 24px;
	}

	.shop-related {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.shop-related-cost {
		grid-column: 2;
	}

	.shop-cart-product {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 979px) {
	:root {
		--header-height: 64px;
		--header-control-height: 44px;
	}

	.container {
		max-width: 768px;
		padding-right: 40px;
		padding-left: 40px;
	}

	.header-search .search-suggestions {
		width: min(480px, calc(100vw - 220px));
	}

	.page-template-home:not(.home-hero-past) .header-actions .header-action {
		background-color: rgb(250 245 233 / 12%);
	}

	.home-hero {
		--home-hero-height: max(780px, 100svh);
		--home-hero-size: clamp(40px, 6.8vw, 64px);
		margin-bottom: 40px;
	}

	.home-hero-stage {
		position: relative;
	}

	.home-hero-images::after {
		background: linear-gradient(180deg, rgb(5 12 8 / 12%), transparent 48%, transparent 68%, rgb(5 12 8 / 80%));
	}

	.home-hero-frame {
		inset: 0;
		transform: none;
	}

	.home-hero-frame.is-active {
		transform: none;
	}

	.home-hero-frame-material {
		top: 30%;
		mask-image: linear-gradient(180deg, transparent, #000 24%);
	}

	.home-hero-frame-material img {
		object-position: 70% center;
	}

	.home-hero-content {
		padding-top: calc(var(--header-height) + 37px);
	}

	.home-hero h1,
	.home-hero-lead {
		max-width: 440px;
	}

	.home-hero-bottom {
		flex-wrap: wrap;
		gap: 12px;
		padding-bottom: 24px;
	}

	.home-hero-materials {
		width: 100%;
	}

	.home-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.selection-help {
		align-items: flex-start;
		flex-direction: column;
		padding: 24px;
		margin: 40px 0;
	}

	.selection-help::before {
		background-size: 600px 400px;
		background-position: 55% center;
		opacity: .05;
	}

	.selection-help-phone {
		min-height: 44px;
		line-height: 44px;
		margin-bottom: 4px;
	}

	.store-story {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
		column-gap: 40px;
	}

	.store-story-services {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-reviews-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.home-review {
		padding-top: 24px;
	}

	.home-review figure {
		gap: 24px;
	}

	.footer-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas: "identity visit" "catalog information";
		gap: 36px 40px;
	}

	.footer-bottom {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 40px;
	}

	.footer-legal a {
		min-height: 44px;
	}

	.footer-credit {
		grid-column: 2;
	}

	.header-row {
		gap: 20px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.header-brand {
		flex: 0 0 auto;
	}

	.brand {
		font-size: 19px;
	}

	.header-tools {
		min-width: 0;
		gap: 8px;
	}

	.catalog-toggle {
		width: 104px;
		padding: 0 12px;
	}

	.header-search input {
		padding-right: 4px;
		padding-left: 12px;
	}

	.header-actions {
		gap: 8px;
	}

	/* Удобные области нажатия вторичных действий на телефоне и планшете. */
	.header-action {
		background: #f2f3f0;
		width: 44px;
		height: 44px;
		display: flex;
		flex: 0 0 44px;
		align-items: center;
		justify-content: center;
	}

	.header-action:hover,
	.header-action[aria-expanded="true"] {
		background: #eae7de;
	}

	.contact-wrap {
		position: static;
	}

	.contact-toggle > .header-icon-chevron-down,
	.phone-desktop {
		display: none;
	}

	.contact-toggle > .mobile-phone {
		display: inline-block;
	}

	.cart-word {
		display: none;
	}

	.contact-panel {
		top: 100%;
		right: 50%;
		width: min(688px, calc(100vw - 80px));
		max-height: calc(100dvh - var(--header-height) - 1px);
		transform: translateX(50%);
	}

	.contact-panel::before {
		display: none;
	}

	.catalog-panel {
		padding-top: 16px;
	}

	.catalog-top {
		display: none;
	}

	.catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 32px;
	}

	.group-title,
	.group-items a {
		min-height: 44px;
	}

	.catalog-group:last-child .group-title {
		width: 100%;
	}

	body {
		line-height: 1.6;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		line-height: 1.45;
	}

	h1 {
		left: -3px;
		font-size: 44px;
	}

	h2 {
		left: -2px;
		font-size: 36px;
	}

	h3 {
		font-size: 28px;
	}

	.main {
		margin-top: 30px;
	}

	body.menu-open {
		overflow: hidden;
	}

	.messengers {
		order: 3;
		margin-top: 18px;
		margin-left: 0;
	}

	.articles {
		margin-left: -20px;
		margin-right: -20px;
	}

	.articles .card {
		width: calc(50% - 40px);
		display: inline-block;
		vertical-align: top;
		margin-left: 20px;
		margin-right: 20px;
	}

	.articles .card .name {
		font-size: 17px;
	}

	.article .introduction {
		font-size: 113%;
	}

	.contact-overview,
	.contact-overview--without-map {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "visit" "map" "call";
		gap: 32px;
	}

	.contact-overview--without-map {
		grid-template-areas: "visit" "call";
	}

	.contact-map iframe {
		min-height: 400px;
	}

	.contact-photos {
		gap: 24px;
	}

	.requisites-group {
		margin-bottom: 40px;
	}

	.requisites-group h2 {
		font-size: 24px;
	}

	.requisites-item {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 8px;
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.requisites-value {
		column-gap: 12px;
	}

	.toc {
		z-index: 999;
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		background-color: var(--white-color);
		padding: 12px 38px;
		margin-left: -40px;
		margin-right: -40px;
		margin-bottom: 35px;
	}

	.toc.show {
		z-index: 10002;
		padding-bottom: 20px;
	}

	.toc .toc-title {
		position: relative;
		width: 100%;
		cursor: pointer;
		padding-right: 34px;
	}

	.toc.fixed,
	.toc.show {
		box-shadow: 0 9px 6px -4px rgb(0 0 0 / 10%);
	}

	.toc .toc-title:after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		background-image: var(--icon);
		background-repeat: no-repeat;
		background-size: 240px;
		background-position: -120px -48px;
		width: 24px;
		height: 24px;
		display: block;
		opacity: .8;
	}

	.toc.show .toc-title:after {
		background-position: -72px -48px;
	}

	.toc .toc-list {
		display: none;
	}

	.toc.show .toc-list {
		max-height: calc(100vh - 60px);
		display: block;
		margin-top: 30px;
	}

	.toc .toc-list li a {
		font-size: 17px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.sitemap .item {
		padding: 28px 24px 32px;
	}

	.positive-text,
	.negative-text,
	.warning-text,
	.info-text {
		padding: 36px 40px;
		margin-left: -40px;
		margin-right: -40px;
	}

	.text table th,
	.text table td {
		padding: 15px 20px;
	}

	.article-image.full-width .image-wrapper {
		margin-left: -40px;
		margin-right: -40px;
	}

	.related-article {
		flex-direction: row;
	}

	.related-article .related-article-image {
		flex-basis: 50%;
	}

	.related-article .related-article-content {
		padding: 32px 42px;
	}

	.related-article .related-article-content .headline {
		font-size: 24px;
	}

	.tabs.article-tabs .tablist {
		margin-left: -40px;
		margin-right: -40px;
		padding-left: 40px;
		padding-right: 40px;
	}

	.tabs.article-tabs .tablist:after {
		left: 40px;
		right: 40px;
	}

	.tabs .tablist .tablist-inner .tab {
		font-size: 17px;
		margin-right: 22px;
	}

	.modal .modal-close {
		top: 10px;
		right: 5px;
	}

	.modal .side {
		width: 480px;
		padding-left: 35px;
		padding-right: 35px;
	}

	.notice-container {
		max-width: 320px;
	}

	.hero {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.hero .columns .column {
		width: 100%;
	}

	.hero .columns .column.left {
		padding-bottom: 50px;
	}

	.hero .columns .column img {
		width: 100%;
		max-width: 578px;
	}

	.order-information-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.shop-main h1 {
		font-size: 32px;
	}

	.shop-product-grid {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
		gap: 32px;
	}

	.shop-product-overview {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding-top: 0;
	}

	.shop-gallery a:first-child img {
		height: 140px;
	}

	.shop-gallery figcaption {
		display: none;
	}

	.shop-product-order {
		padding: 20px;
	}

	.shop-price {
		font-size: 32px;
	}

	.shop-related {
		grid-template-columns: 64px minmax(0, 1fr);
		align-items: start;
		gap: 12px;
	}

	.shop-related-photo {
		width: 64px;
		height: 56px;
	}

	.shop-related h3,
	.shop-related-price {
		font-size: var(--type-body);
	}

	.catalog-table,
	.catalog-table tbody {
		display: block;
	}

	.catalog-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
		padding: 0;
		margin: -1px;
	}

	.catalog-table colgroup {
		display: none;
	}

	.catalog-table-row {
		align-items: start;
		border-bottom: 1px solid var(--line);
	}

	.catalog-table th,
	.catalog-table td {
		min-width: 0;
		display: block;
		border: 0;
		padding: 0;
	}

	.catalog-product-identity {
		gap: 12px;
	}

	.catalog-table select {
		max-width: 100%;
	}

	/* Поиск сохраняет самостоятельную строку варианта и наличия. */
	.catalog-search-table .catalog-table-row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 176px;
		gap: 12px 16px;
		padding: 20px 0;
	}

	.catalog-search-table .catalog-product-cell {
		grid-column: 1 / -1;
	}

	.catalog-search-table .catalog-grade-cell {
		display: flex;
		grid-column: 1 / -1;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}

	.catalog-search-table .catalog-choice {
		max-width: min(320px, 100%);
		flex: 1 1 100px;
	}

	.catalog-search-table .catalog-product-photo {
		width: 64px;
		height: 56px;
	}

	.catalog-search-table .catalog-product-link,
	.catalog-search-table .catalog-primary-price {
		font-size: var(--type-body);
	}

	.catalog-search-table .catalog-stock {
		margin: 0 0 0 auto;
	}

	.catalog-search-table .catalog-cell-label {
		display: inline;
		color: var(--muted);
		font-size: var(--type-note);
	}

	/* В категории размер главнее цены. При узком экране покупка переносится целиком. */
	.catalog-category-table .catalog-table-row {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 6px 8px;
		padding: 10px 0;
	}

	.catalog-category-table .catalog-table-row.has-choice {
		row-gap: 8px;
		padding: 12px 0;
	}

	.catalog-category-table .catalog-product-cell {
		width: 100%;
		order: 1;
	}

	.catalog-category-table .catalog-product-identity > div {
		flex: 1;
	}

	.catalog-product-heading {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: space-between;
		gap: 4px 8px;
	}

	.catalog-category-table .catalog-product-photo {
		width: 52px;
		height: 48px;
	}

	.catalog-category-table .catalog-product-link {
		font-size: 1.25rem;
		font-weight: 600;
	}

	.catalog-mobile-stock,
	.catalog-mobile-summary {
		display: block;
		color: var(--muted);
		font-size: var(--type-note);
		font-weight: 400;
		line-height: 1.4;
	}

	.catalog-product-heading .catalog-mobile-stock {
		white-space: nowrap;
	}

	.catalog-mobile-summary {
		margin: 4px 0 0;
	}

	.catalog-category-table .catalog-product-name,
	.catalog-category-table .catalog-cell-label,
	.catalog-category-table .catalog-choice-details,
	.catalog-category-table .catalog-stock,
	.catalog-category-table .catalog-length-cell:not(.has-choice),
	.catalog-category-table .catalog-grade-cell:not(.has-choice),
	.catalog-category-table .catalog-secondary-price.is-hint {
		display: none;
	}

	.catalog-category-table .catalog-length-cell.has-choice,
	.catalog-category-table .catalog-grade-cell.has-choice {
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		order: 3;
		gap: 5px;
	}

	.catalog-category-table .catalog-choice {
		width: 100%;
	}

	.catalog-category-table select {
		padding: 0 4px 0 10px;
	}

	.catalog-category-table .catalog-price-cell {
		display: grid;
		flex: 1 0 max-content;
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		align-items: baseline;
		order: 2;
		gap: 4px 8px;
	}

	.catalog-category-table .has-choice .catalog-price-cell {
		width: 100%;
		display: flex;
		flex-basis: 100%;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.catalog-category-table .catalog-primary-price {
		font-size: var(--type-ui);
		font-weight: 500;
		white-space: nowrap;
	}

	.catalog-category-table .catalog-secondary-price {
		margin: 0;
	}

	.catalog-category-table .catalog-quantity-cell {
		width: 184px;
		max-width: 100%;
		flex-shrink: 0;
		order: 4;
		margin-left: auto;
	}

	.catalog-category-table .catalog-quantity {
		width: 132px;
		grid-template-columns: 44px 44px 44px;
		outline: 1px solid var(--line);
		outline-offset: -1px;
		border: 0;
	}

	.catalog-category-table .catalog-quantity button,
	.catalog-category-table .catalog-quantity input {
		height: 44px;
	}

	.catalog-category-table .catalog-volume {
		text-align: right;
		margin-top: 5px;
	}
}

@media screen and (max-width: 640px) {
	:root {
		--header-height: 116px;
	}

	.container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.header-search .search-suggestions {
		width: min(480px, calc(100vw - 70px));
	}

	.home-hero {
		--home-hero-height: max(760px, 100svh);
		--home-hero-body: 16px;
		--home-hero-size: clamp(28px, 7.2vw, 46px);
	}

	.home-hero-content {
		padding-top: calc(var(--header-height) + 31px);
	}

	.home-hero h1 {
		line-height: 1.08;
	}

	.home-hero[data-hero-frame]:not([data-hero-frame="0"]) h1 {
		font-size: calc(var(--home-hero-size) * 1.55);
	}

	.home-hero-city {
		font-size: 1.55em;
		margin-top: 8px;
	}

	.home-hero-lead {
		max-width: 330px;
		margin-top: 20px;
		margin-bottom: 24px;
	}

	.home-hero-primary {
		min-height: 56px;
		gap: 20px;
		padding: 4px 4px 4px 20px;
	}

	.home-hero-action-icon {
		width: 48px;
		height: 48px;
	}

	.home-hero-materials {
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		padding: 4px 0;
	}

	.home-hero-materials::-webkit-scrollbar {
		display: none;
	}

	.home-hero-materials button {
		flex-shrink: 0;
		padding: 10px;
	}

	.home-hero-materials button:focus-visible {
		outline-offset: -4px;
	}

	.home-category-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.home-category {
		padding: 0;
	}

	.home-category-heading {
		min-height: 56px;
		margin-bottom: 8px;
	}

	.selection-help {
		padding: 24px 20px;
	}

	.store-story {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
		padding: 0;
		margin-top: 48px;
	}

	.store-story-years {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 20px;
	}

	.store-story-over {
		grid-column: 1 / -1;
		margin-bottom: 8px;
	}

	.store-story-number {
		font-size: 112px;
	}

	.store-story-caption {
		align-self: center;
		font-size: var(--type-body);
		line-height: 1.5;
		margin-top: 0;
	}

	.store-story-name {
		font-size: var(--type-subtitle);
		margin-bottom: 16px;
	}

	.store-story-gallery {
		margin-top: 0;
	}

	.store-story-photos {
		--store-gallery-height: clamp(320px, 100vw, 480px);
		gap: 12px;
	}

	.home-reviews {
		margin-top: 48px;
	}

	.home-reviews-heading {
		margin-bottom: 24px;
	}

	.store-home .shop-other > h2,
	.store-home .order-information .order-information-title,
	.home-reviews h2 {
		font-size: var(--type-subtitle);
	}

	.home-reviews-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.home-reviews-status {
		text-align: center;
	}

	.site-footer {
		padding-top: 32px;
	}

	.footer-main {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "identity" "visit" "catalog" "information";
		gap: 0;
		padding-bottom: 20px;
	}

	.footer-about {
		max-width: 32ch;
		margin-top: 12px;
	}

	.footer-phones {
		margin-top: 20px;
	}

	.footer-disclaimer {
		margin-top: 24px;
	}

	.footer-information {
		gap: 0;
	}

	.footer-group-toggle {
		min-height: 56px;
		cursor: pointer;
		padding: 12px 0;
	}

	.footer-group-indicator {
		width: 20px;
		display: block;
		flex: 0 0 20px;
		font-family: var(--font-family);
		font-size: 22px;
		font-weight: 400;
		text-align: center;
	}

	.footer-group-indicator::before {
		content: "+";
	}

	.footer-group-toggle[aria-expanded="true"] .footer-group-indicator::before {
		content: "−";
	}

	.footer-links {
		margin-top: 0;
		margin-bottom: 16px;
	}

	.footer-visit {
		margin-top: 32px;
		margin-bottom: 24px;
	}

	.footer-visit address {
		margin-top: 12px;
	}

	.footer-hours {
		margin-top: 12px;
	}

	.footer-bottom {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.footer-credit {
		grid-column: auto;
		padding-top: 0;
	}

	.header-row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 16px;
		padding-top: 8px;
		padding-bottom: 12px;
	}

	.header-brand {
		grid-column: 1;
		grid-row: 1;
	}

	.header-tools {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.header-actions {
		grid-column: 2;
		grid-row: 1;
	}

	.header-surface {
		padding: 17px 22px 24px;
	}

	.contact-panel {
		width: calc(100vw - 40px);
	}

	.contact-channels {
		gap: 0 20px;
	}

	.contact-panel-details > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.header-panel-title {
		font-size: var(--type-subtitle);
	}

	.catalog-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	/* Заливка обозначает всю строку раскрытия, а не только знак справа. */
	.catalog-group details > .group-title {
		background: #f2f3f0;
		min-height: 56px;
		cursor: pointer;
		padding: 12px 16px;
		margin-bottom: 0;
	}

	.catalog-group details > .group-title:hover,
	.catalog-group details[open] > .group-title {
		background: #eae7de;
	}

	.group-state {
		width: 20px;
		display: block;
		flex: 0 0 20px;
		text-align: center;
	}

	.group-items {
		padding: 8px 16px 16px;
	}

	.articles {
		margin-left: -15px;
		margin-right: -15px;
	}

	.articles .card {
		width: calc(50% - 30px);
		margin-left: 15px;
		margin-right: 15px;
	}

	.contact-page {
		padding-bottom: 48px;
	}

	.contact-heading {
		margin-bottom: 32px;
	}

	.contact-page h2 {
		font-size: 24px;
	}

	.contact-visit address {
		font-size: 20px;
	}

	.contact-map iframe {
		min-height: 340px;
	}

	.contact-map figcaption {
		font-size: 16px;
	}

	.contact-map a {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}

	.contact-landmarks {
		margin-top: 48px;
	}

	.contact-photos {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.toc {
		padding-left: 28px;
		padding-right: 28px;
		margin-left: -30px;
		margin-right: -30px;
	}

	.related-article {
		flex-direction: column;
	}

	.related-article .related-article-image {
		flex-basis: 100%;
	}

	.related-article .related-article-content {
		padding: 30px 30px 34px;
	}

	.positive-text,
	.negative-text,
	.warning-text,
	.info-text {
		padding: 36px 30px;
		margin-left: -30px;
		margin-right: -30px;
	}

	.text table th,
	.text table td {
		padding: 10px;
	}

	.article-image.full-width .image-wrapper,
	.article-image.width-768 .image-wrapper,
	.article-image.width-640 .image-wrapper {
		margin-left: -30px;
		margin-right: -30px;
	}

	.tabs.article-tabs .tablist {
		margin-left: -30px;
		margin-right: -30px;
		padding-left: 30px;
		padding-right: 30px;
	}

	.tabs.article-tabs .tablist:after {
		left: 30px;
		right: 30px;
	}

	.group-state::before {
		content: "+";
	}

	.catalog-group details[open] .group-state::before {
		content: "−";
	}

	.order-information .order-information-title {
		font-size: var(--type-subtitle);
		margin-bottom: 20px;
	}

	.order-information-list {
		gap: 12px;
	}

	.order-information-item {
		gap: 12px;
	}

	.order-information .order-information-card-title,
	.order-information-copy {
		margin: 0;
	}

	.shop-main {
		padding-bottom: 48px;
	}

	.shop-main h1 {
		font-size: 32px;
		margin-bottom: 24px;
	}

	.shop-product-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.shop-product-overview {
		grid-template-columns: minmax(0, 1fr) 100px;
		align-items: start;
		gap: 20px;
	}

	.shop-gallery {
		grid-column: 2;
		grid-row: 1;
	}

	.shop-gallery-media {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.shop-gallery a:first-child img {
		height: 112px;
	}

	/* Реальные фотографии остаются читаемыми в компактной ленте. */
	.shop-product-overview--gallery {
		grid-template-columns: minmax(0, 1fr);
	}

	.shop-product-overview--gallery .shop-gallery {
		grid-column: 1;
	}

	.shop-product-overview--gallery .shop-gallery-media {
		display: flex;
		align-items: center;
		overflow-x: auto;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
		padding: 4px;
	}

	.shop-product-overview--gallery .shop-gallery a {
		flex: 0 0 72px;
		scroll-snap-align: start;
	}

	.shop-product-overview--gallery .shop-gallery a:first-child {
		flex-basis: 100px;
	}

	.shop-product-overview--gallery .shop-gallery img,
	.shop-product-overview--gallery .shop-gallery a:first-child img {
		height: 88px;
	}

	.shop-photo-placeholder {
		min-height: 112px;
		font-size: 14px;
		padding: 8px;
	}

	.shop-product-specs {
		grid-column: 1;
		grid-row: 1;
	}

	.shop-product-overview--gallery .shop-product-specs {
		grid-row: 2;
	}

	.shop-product-specs h2 {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.shop-product-order {
		padding: 20px;
	}

	.shop-volume {
		margin-top: 0;
	}

	.shop-order-footer {
		display: flex;
		flex-wrap: wrap;
	}

	.shop-product-total {
		max-width: 100%;
		flex: 1 1 auto;
	}

	.shop-order-footer > .shop-primary {
		flex: 1 1 140px;
	}

	.shop-price {
		font-size: 32px;
}

	.shop-help,
	.shop-specifications .shop-spec-repeated {
		display: none;
	}

	.shop-specifications > div {
		min-height: 36px;
		border: 0;
		padding: 4px 0;
}

	.shop-specifications dt {
		font-size: 14px;
	}

	.shop-specifications dd {
		font-size: 16px;
	}

	.shop-other {
		margin-top: 40px;
	}

	.store-home .shop-other {
		margin-bottom: 40px;
	}

	.shop-related-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.shop-cart-dialog {
		width: 100%;
	}

	.shop-cart-dialog .shop-cart-heading {
		padding: 12px 20px;
	}

	.shop-cart-heading h2 {
		font-size: 24px;
	}

	.shop-cart-dialog .shop-cart-body {
		padding: 16px 20px max(24px, env(safe-area-inset-bottom));
	}

	.shop-summary {
		padding: 20px;
	}

	.shop-cart-product p,
	.shop-cart-product > span,
	.shop-cart-controls > span,
	.shop-text-button {
		font-size: 16px;
	}

	.shop-summary > strong {
		font-size: 28px;
	}

	.shop-empty {
		padding: 20px 0 48px;
	}

	.shop-success-actions {
		flex-direction: column;
	}

}

@media screen and (max-width: 540px) {
	h1 {
		font-size: 38px;
	}

	h2 {
		font-size: 32px;
	}

	h3 {
		font-size: 26px;
	}

	.article-image.width-585 .image-wrapper,
	.article-image.width-540 .image-wrapper {
		margin-left: -30px;
		margin-right: -30px;
	}
}

@media screen and (max-width: 480px) {
	/* * На узком экране телефон переходит под логотип, сохраняя его читаемость. */

	.article-image.width-480 .image-wrapper {
		margin-left: -30px;
		margin-right: -30px;
	}

	.modal .side {
		width: 100%;
	}
}

@media screen and (max-width: 420px) {
	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 28px;
	}

	h3 {
		font-size: 24px;
	}

	.articles {
		margin-left: 0;
		margin-right: 0;
	}

	.articles .card {
		width: 100%;
		display: block;
		margin-left: 0;
		margin-right: 0;
	}

	.toc {
		padding-left: 18px;
		padding-right: 18px;
		margin-left: -20px;
		margin-right: -20px;
	}

	.positive-text,
	.negative-text,
	.warning-text,
	.info-text {
		padding: 36px 20px;
		margin-left: -20px;
		margin-right: -20px;
	}

	.article-image.full-width .image-wrapper,
	.article-image.width-768 .image-wrapper,
	.article-image.width-640 .image-wrapper,
	.article-image.width-585 .image-wrapper,
	.article-image.width-540 .image-wrapper,
	.article-image.width-480 .image-wrapper {
		margin-left: -20px;
		margin-right: -20px;
	}

	.tabs.article-tabs .tablist {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.tabs.article-tabs .tablist:after {
		left: 20px;
		right: 20px;
	}
}

@media screen and (max-width: 360px) {
	.header-row {
		column-gap: 4px;
	}

	.brand {
		font-size: 18px;
	}

	.header-actions {
		gap: 4px;
	}

	.article-image.width-480 .image-wrapper,
	.article-image.width-375 .image-wrapper {
		margin-left: -20px;
		margin-right: -20px;
	}

	.shop-product-overview {
		grid-template-columns: minmax(0, 1fr) 80px;
		gap: 12px;
	}

	.shop-product-order {
		padding: 16px;
	}

	.shop-equivalent {
		padding-bottom: 0;
	}

	.catalog-search-table .catalog-table-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.catalog-search-table .catalog-price-cell,
	.catalog-search-table .catalog-quantity-cell {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 320px) {
	.container {
		padding-right: 15px;
		padding-left: 15px;
	}

	.header-surface {
		padding-right: 18px;
		padding-left: 18px;
	}

	.contact-panel {
		width: calc(100vw - 30px);
	}

	.toc {
		padding-left: 13px;
		padding-right: 13px;
		margin-left: -15px;
		margin-right: -15px;
	}

	.positive-text,
	.negative-text,
	.warning-text,
	.info-text {
		padding: 36px 15px;
		margin-left: -15px;
		margin-right: -15px;
	}

	.article-image.full-width .image-wrapper,
	.article-image.width-768 .image-wrapper,
	.article-image.width-640 .image-wrapper,
	.article-image.width-585 .image-wrapper,
	.article-image.width-540 .image-wrapper,
	.article-image.width-480 .image-wrapper,
	.article-image.width-414 .image-wrapper,
	.article-image.width-375 .image-wrapper {
		margin-left: -15px;
		margin-right: -15px;
	}

	.article-image.full-width .image-wrapper {
		margin-left: -15px;
		margin-right: -15px;
	}

	.tabs.article-tabs .tablist {
		margin-left: -15px;
		margin-right: -15px;
		padding-left: 15px;
		padding-right: 15px;
	}

	.tabs.article-tabs .tablist:after {
		left: 15px;
		right: 15px;
	}

	.notice-container {
		max-width: 290px;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-resolution: 1.5dppx),
only screen and (min-resolution: 144dpi) {
	.icon:before {
		background-image: var(--icon2x);
	}

	.learn-more:after {
		background-image: var(--icon2x);
	}

	.toc .toc-title:after {
		background-image: var(--icon2x);
	}

	.thumbnail.no:after {
		background-image: var(--icon2x);
	}

	.qa dl dt button:after {
		background-image: var(--icon2x);
	}
}
