/*
 * Academy — для модалки и пр. везде, где не подключён lf-catalog-pages.css
 * (те же файлы, что в lf-catalog-pages.css / fonts/README.txt).
 */
@font-face {
	font-family: "Academy";
	src: url("/local/templates/eshop_bootstrap_v4/fonts/academy-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Academy";
	src: url("/local/templates/eshop_bootstrap_v4/fonts/academy-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Academy";
	src: url("/local/templates/eshop_bootstrap_v4/fonts/academy-bold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Academy";
	src: url("/local/templates/eshop_bootstrap_v4/fonts/academy-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Academy";
	src: url("/local/templates/eshop_bootstrap_v4/fonts/academy-bolditalic.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* Header — во всю ширину экрана (как у Маркета): полоса edge-to-edge, поля по краям */
/* Выше ожидания Bitrix (BX.ZIndexManager на body, базово от ~1000) — иначе подменю «Ещё» под вуалью каталога */
.lf-header {
	position: relative;
	z-index: 12000;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	--lf-text: #2d2d2d;
	--lf-muted: #5c5c5c;
	--lf-border: #000;
	/* Соцкнопки в шапке — как в Figma (#1256EB, квадрат 48×48, r=8) */
	--lf-vk: #1256eb;
	--lf-tg: #1256eb;
	--lf-chevron-right-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024' fill='none'%3E%3Cpath d='M9%206l6%206-6%206' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--lf-font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	/* Между тел./почтой в ряд; между contacts | soc+звонок | поиск — как от почты до VK */
	--lf-header-block-gap: 28px;
	/* Кнопка .lf-header__tool 48×48, иконка лупы 24×24 по центру — смещение для оптики зазора к почте→VK */
	--lf-header-tool-cell: 48px;
	--lf-header-tool-icon: 24px;
	/* Логотип ↔ кнопка «⋯» (меню разделов) */
	--lf-header-logo-to-more-gap: 8px;
	background: #fff;
	font-family: var(--lf-font-family);
	font-size: 16px;
	color: var(--lf-text);
}

/* Кнопки и поля не наследуют шрифт от предка так же надёжно, как текст — явно Rubik */
.lf-header button,
.lf-header input,
.lf-header select,
.lf-header textarea {
	font-family: var(--lf-font-family);
}

.lf-header__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	/* Горизонтальные поля = --lf-chrome-pad-x на #bx_eshop_wrap (тот же контур, что у подвала). Вертикаль 12px — макет Figma */
	padding: 12px var(--lf-chrome-pad-x, clamp(18px, 3vw, 48px));
	min-height: 95px;
	height: 95px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 28px;
	flex-wrap: wrap;
}

/* Телефон, почта | соцсети+звонок | иконки: один шаг --lf-header-block-gap (как почта → VK) */
.lf-header__right {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: var(--lf-header-block-gap, 28px);
	margin-left: auto;
	flex-shrink: 0;
	min-width: 0;
}

.lf-header__brand-with-menu {
	display: flex;
	align-items: center;
	gap: var(--lf-header-logo-to-more-gap, 8px);
	flex-shrink: 0;
	min-width: 0;
	/* Одна высота с полем поиска (48px), чтобы блок не «провисал» в строке */
	min-height: 48px;
}

.lf-header__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
	min-width: 0;
}

/* Только шапка: в подвале та же разметка .lf-header__brand — без line-height:0 */
.lf-header .lf-header__brand:has(> .lf-header__logo-img) {
	line-height: 0;
	overflow: visible;
}

.lf-header__desktop-menu {
	display: none;
	position: relative;
	flex-shrink: 0;
	flex-direction: column;
	align-items: stretch;
	min-height: 0;
}

.lf-header__more {
	flex: 1 1 auto;
	min-width: 44px;
	min-height: 44px;
	height: auto;
	box-sizing: border-box;
	border: none;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	color: var(--lf-text);
	box-shadow: none;
	transition: color 0.15s ease, opacity 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.lf-header__more:hover {
	border: none;
	box-shadow: none;
	background: transparent;
	color: #000;
	opacity: 1;
}

.lf-header__desktop-menu.is-open .lf-header__more {
	border: none;
	background: transparent;
	box-shadow: none;
	color: var(--lf-text);
}

.lf-header__more:focus {
	outline: none;
}

.lf-header__more:focus-visible {
	outline: 2px solid var(--lf-text);
	outline-offset: 2px;
}

.lf-header__more:active {
	outline: none;
}

.lf-header__more-icon {
	display: block;
	flex-shrink: 0;
	height: 100%;
	width: auto;
	max-width: 22px;
	min-height: 44px;
	opacity: 0.92;
}

.lf-header__more-panel {
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	min-width: 300px;
	max-width: min(360px, calc(100vw - 32px));
	max-height: min(78vh, 520px);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
	padding: 0;
	z-index: 700;
}

.lf-header__more-panel[hidden] {
	display: none !important;
}

/* Выпадающий поиск: карточка как в макете (padding 32, r=16, тень). По бокам — 190px. Чуть заезжает на хедер — как в Figma */
.lf-header__search-dropdown {
	--lf-search-overlap: 16px;
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - var(--lf-search-overlap));
	z-index: 800;
	box-sizing: border-box;
	padding: 8px 190px 24px;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
}

@media (max-width: 1199px) {
	.lf-header__search-dropdown {
		padding-left: var(--lf-chrome-pad-x, clamp(18px, 3vw, 48px));
		padding-right: var(--lf-chrome-pad-x, clamp(18px, 3vw, 48px));
	}
}

.lf-header__search-dropdown[hidden] {
	display: none !important;
}

.lf-header__search-dropdown__inner {
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	height: 208px;
	min-height: 208px;
	max-height: 208px;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	padding: 32px clamp(20px, 3vw, 32px) 32px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.lf-header__search-panel {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.lf-header__search-panel-title {
	margin: 0 0 4px;
	padding: 0;
	border: none;
	flex-shrink: 0;
	font-family: var(--lf-font-family);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.375;
	letter-spacing: 0;
	color: #000000;
}

.lf-header__search-panel-field {
	position: relative;
	width: 100%;
	flex-shrink: 0;
	box-sizing: border-box;
}

/* Инпут как в Figma: 48px, r=8, border Gunmetal 30%, padding 12/16, иконка справа */
.lf-header__search-panel-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	height: 48px;
	min-height: 48px;
	padding: 12px 48px 12px 16px;
	border: 1px solid rgba(64, 64, 66, 0.3);
	border-radius: 8px;
	font-family: var(--lf-font-family);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.375;
	letter-spacing: 0;
	color: var(--lf-text);
	background: #ffffff;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.lf-header__search-panel-input::placeholder {
	color: #9e9e9e;
	opacity: 1;
}

.lf-header__search-panel-field-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	pointer-events: none;
}

.lf-header__search-panel-field-icon svg {
	display: block;
	flex-shrink: 0;
}

.lf-header__search-panel-actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	flex-shrink: 0;
}

.lf-header__search-panel-btn {
	margin: 0;
	padding: 10px 22px;
	border-radius: 6px;
	font-family: var(--lf-font-family);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.375;
	letter-spacing: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	outline: none;
	box-shadow: none;
}

.lf-header__search-panel-btn:focus,
.lf-header__search-panel-btn:focus-visible,
.lf-header__search-panel-btn:active {
	outline: none;
	box-shadow: none;
}

/* «Очистить» — h 48, r 8; обводка как в дизайн-токенах */
.lf-header__search-panel-btn--ghost {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 101px;
	min-width: 101px;
	max-width: 101px;
	height: 48px;
	min-height: 48px;
	padding: 0 14px 0 12px;
	border: 1px solid var(--Black_Base, #000000);
	border-radius: 8px;
	background: #ffffff;
	color: #000000;
	font-weight: 500;
	font-size: 1rem;
	line-height: 22px;
	letter-spacing: 0;
}

.lf-header__search-panel-btn--ghost:hover {
	background: #f7f7f7;
}

/* «Искать» — как Button/Default в Figma: h 48, r 8, padding L12 R14, ширина hug (~81px), Text 16/22/400 */
.lf-header__search-panel-btn--primary {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	min-height: 48px;
	padding: 0 14px 0 12px;
	border: 1px solid var(--Black_Base, #000000);
	border-radius: 8px;
	background: #000000;
	color: #ffffff;
	font-weight: 400;
	font-size: 1rem;
	line-height: 22px;
	letter-spacing: 0;
	box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
}

.lf-header__search-panel-btn--primary:hover {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #ffffff;
	box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
}

.lf-header__search-panel-btn--primary:focus,
.lf-header__search-panel-btn--primary:focus-visible,
.lf-header__search-panel-btn--primary:active {
	box-shadow: 0px 20px 35px 0px rgba(0, 0, 0, 0.15);
}

.lf-header__search {
	flex: 1 1 0;
	min-width: 0;
	max-width: none;
}

.lf-header__search--drawer {
	display: none;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	flex: none;
	margin: 0 0 4px;
}

.lf-header__search-form {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: flex-start;
	min-height: 48px;
	height: 48px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	cursor: text;
}

.lf-header__search-input {
	flex: 1 1 auto;
	align-self: stretch;
	min-width: 0;
	width: auto;
	min-height: 100%;
	height: 48px;
	box-sizing: border-box;
	border: none;
	padding: 0 8px 0 14px;
	font-family: var(--lf-font-family);
	font-size: 15px;
	line-height: 1.25;
	color: var(--lf-text);
	background: transparent;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.lf-header__search-input::-webkit-search-decoration,
.lf-header__search-input::-webkit-search-cancel-button,
.lf-header__search-input::-webkit-search-results-button,
.lf-header__search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.lf-header__search-input::placeholder {
	color: var(--lf-muted);
	opacity: 0.85;
}

.lf-header__search-clear {
	flex: 0 0 0;
	width: 0;
	min-width: 0;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: var(--lf-text);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.lf-header__search-input:not(:placeholder-shown) ~ .lf-header__search-clear {
	flex: 0 0 48px;
	width: 48px;
	min-width: 48px;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.lf-header__search-clear:hover {
	color: #000;
	background: #f3f3f3;
}

.lf-header__search-clear:focus {
	outline: none;
}

.lf-header__search-clear:focus-visible {
	outline: 2px solid var(--lf-text);
	outline-offset: -2px;
}

.lf-header__search-clear .lf-header__icon--clear {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	stroke-width: 2;
}

.lf-header__search-submit {
	width: 48px;
	min-width: 48px;
	flex-shrink: 0;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: var(--lf-text);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.lf-header__search-submit:hover {
	color: #000;
	background: #f3f3f3;
}

.lf-header__search-submit:focus {
	outline: none;
}

.lf-header__search-submit:focus-visible {
	outline: 2px solid var(--lf-text);
	outline-offset: 2px;
}

.lf-header__search-submit .lf-header__icon--search {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	stroke-width: 2;
}

/* Меню «⋯»: единая сетка — одинаковая высота строк, отступы, линии по ширине hover */
.lf-header__nav--popover {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lf-header__nav--popover .lf-header__nav-item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-shrink: 0;
	width: 100%;
	padding: 0;
	margin: 0;
	border-bottom: none;
}

/* Листья: одна строка 40px. Родитель: ссылка + кнопка-шеврон в .lf-header__nav-parent */
.lf-header__nav--popover .lf-header__nav-item:not([data-lf-nav-item]) > .lf-header__nav-link {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	align-self: stretch;
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	margin: 0;
	padding: 0 12px;
	font-family: var(--lf-font-family);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--lf-text);
	text-decoration: none;
	border: none;
	border-radius: 0;
	background-color: transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.lf-header__nav--popover .lf-header__nav-item:not([data-lf-nav-item]):not(:last-child) > .lf-header__nav-link {
	border-bottom: 1px solid #ebebeb;
}

.lf-header__nav--popover .lf-header__nav-parent {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex: 0 0 auto;
	align-self: stretch;
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	margin: 0;
	padding: 0 4px 0 12px;
	gap: 0;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item]:not(:last-child) .lf-header__nav-parent {
	border-bottom: 1px solid #ebebeb;
}

.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item]:not(:last-child) .lf-header__dropdown {
	border-bottom: 1px solid #ebebeb;
}

.lf-header__nav--popover .lf-header__nav-link--parent {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--lf-font-family);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--lf-text);
	text-decoration: none;
	border: none;
	border-radius: 0;
	background-color: transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.lf-header__nav--popover .lf-header__nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}

.lf-header__nav--popover .lf-header__nav-item:hover .lf-header__nav-parent,
.lf-header__nav--popover .lf-header__nav-parent:hover {
	background: #f4f4f4;
}

.lf-header__nav--popover .lf-header__nav-item:hover .lf-header__nav-link--parent,
.lf-header__nav--popover .lf-header__nav-parent:hover .lf-header__nav-link--parent {
	color: #000;
}

.lf-header__nav--popover .lf-header__nav-toggle:focus {
	outline: none;
}

.lf-header__nav--popover .lf-header__nav-toggle:focus-visible {
	outline: 2px solid var(--lf-text);
	outline-offset: -2px;
}

.lf-header__nav--popover .lf-header__nav-item:not([data-lf-nav-item]) > .lf-header__nav-link:hover {
	background: #f4f4f4;
	color: #000;
}

.lf-header__nav--popover .lf-header__chev {
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	margin: 0 0 0 auto;
	border: none;
	background-color: currentColor;
	-webkit-mask-image: var(--lf-chevron-right-mask);
	mask-image: var(--lf-chevron-right-mask);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 18px 18px;
	mask-size: 18px 18px;
	opacity: 0.45;
	transform: rotate(90deg);
	transition: transform 0.2s ease, opacity 0.15s ease;
}

.lf-header__nav--popover .lf-header__nav-toggle .lf-header__chev {
	margin: 0;
}

.lf-header__nav--popover .lf-header__nav-item.is-open-pop .lf-header__chev {
	transform: rotate(-90deg);
	opacity: 0.65;
}

.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item] .lf-header__dropdown {
	display: none !important;
	position: static;
	margin: 0;
	padding: 0;
	min-width: 0;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: #fafafa;
}

.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item].is-open-pop .lf-header__dropdown {
	display: block !important;
	padding: 0;
}

.lf-header__nav--popover .lf-header__dropdown a {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 34px;
	height: 34px;
	max-height: 34px;
	margin: 0;
	padding: 0 12px 0 18px;
	font-family: var(--lf-font-family);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--lf-muted);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border: none;
	border-bottom: 1px solid #efefef;
	background: transparent;
	transition: background-color 0.14s ease, color 0.14s ease;
}

.lf-header__nav--popover .lf-header__dropdown a:last-child {
	border-bottom: none;
}

.lf-header__nav--popover .lf-header__dropdown a:hover,
.lf-header__nav--popover .lf-header__dropdown a:focus-visible {
	background: #f0f0f0;
	color: var(--lf-text);
}

/* Высота как у строки поиска (48px). В SVG декор над «O» — без сдвига надпись визуально ниже телефона/почты */
.lf-header .lf-header__brand .lf-header__logo-img {
	display: block;
	flex-shrink: 0;
	width: auto;
	height: 48px;
	max-height: 48px;
	max-width: min(560px, 92vw) !important;
	object-fit: contain;
	object-position: left center;
	transform: translateY(-6px);
}

.lf-header__logo-mark {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #000;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.02em;
	flex-shrink: 0;
}

.lf-header__brand-text {
	font-weight: 700;
	font-size: 24px;
	letter-spacing: -0.02em;
	line-height: 1;
	white-space: nowrap;
}

.lf-header__nav {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
	flex-shrink: 0;
}

/* Меню «⋯» — тот же класс .lf-header__nav, но вертикальный список без gap шапки */
.lf-header__nav.lf-header__nav--popover {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
}

.lf-header__nav-item {
	position: relative;
	flex-shrink: 0;
}

.lf-header__nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lf-muted);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	white-space: nowrap;
}

.lf-header__nav-link:hover {
	color: #000;
}

.lf-header__chev {
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: -1px;
	opacity: 0.75;
	border: none;
	background-color: currentColor;
	-webkit-mask-image: var(--lf-chevron-right-mask);
	mask-image: var(--lf-chevron-right-mask);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 18px 18px;
	mask-size: 18px 18px;
	transform: rotate(90deg);
}

.lf-header__dropdown {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	margin-top: 10px;
	min-width: 260px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
	padding: 10px 0;
	z-index: 200;
}

.lf-header__nav-item:hover .lf-header__dropdown,
.lf-header__nav-item:focus-within .lf-header__dropdown {
	display: block;
}

.lf-header__dropdown a {
	display: block;
	padding: 12px 20px;
	color: var(--lf-text);
	text-decoration: none;
	font-size: 16px;
}

.lf-header__dropdown a:hover {
	background: #f5f5f5;
}

.lf-header__contacts {
	display: flex;
	align-items: center;
	gap: var(--lf-header-block-gap, 28px);
	flex-wrap: nowrap;
	flex-shrink: 0;
	min-width: 0;
}

.lf-header__contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--lf-text);
	text-decoration: none;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
}

.lf-header__contact:hover {
	color: #000;
}

.lf-header__icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
}

/* Иконки из макета: обводка 2px */
.lf-header__icon--phone,
.lf-header__icon--mail {
	stroke-width: 2;
}

.lf-header__icon--mail {
	width: 24px;
	height: 24px;
}

.lf-header__tool .lf-header__icon--search-tool {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	stroke-width: 2;
}

.lf-header__tool .lf-header__icon--cart {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	stroke-width: 2;
}

.lf-header__tool .lf-header__icon--user {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	stroke-width: 2;
}

.lf-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	flex-shrink: 0;
}

.lf-header__soc {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.lf-header__soc a {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	flex-shrink: 0;
	overflow: visible;
	box-sizing: border-box;
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease;
}

.lf-header__soc-vk {
	background: var(--lf-vk);
}

.lf-header__soc-tg {
	background: var(--lf-tg);
}

.lf-header__soc-custom {
	background: var(--lf-vk);
}

/* Иконки из инфоблока: клетка на сайте 48×48. Заказчику — грузить файл, у которого сама кнопка уже 48×48 (без большого холста Figma); object-fit: contain вписывает файл целиком без обрезки. */
.lf-header__soc a.lf-header__soc--iblock {
	display: inline-block;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 12px;
	box-sizing: border-box;
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
	background: transparent;
	overflow: visible;
	line-height: 0;
	flex-shrink: 0;
	text-decoration: none;
	vertical-align: middle;
}

.lf-header__soc a.lf-header__soc--iblock .lf-header__soc-iblock-img,
.lf-header .lf-header__soc a.lf-header__soc--iblock .lf-header__soc-iblock-img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain;
	object-position: center;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	vertical-align: top;
}

.lf-header__soc-custom .lf-chrome-messenger-fallback {
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

.lf-header__soc a svg {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	fill: #fff;
}

.lf-header__callback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--lf-header-tool-cell, 48px);
	height: var(--lf-header-tool-cell, 48px);
	padding: 0 22px;
	border-radius: 8px;
	background: #000;
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
	color: #fff !important;
	/* Figma Text-l/400, 16_22: Rubik Regular, 16px, line-height 22px, letter-spacing 0, center */
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	line-height: 1.375;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: opacity 0.2s ease;
}

.lf-header__callback:hover {
	opacity: 0.88;
	color: #fff !important;
}

.lf-header__callback:focus {
	outline: none;
}

.lf-header__callback:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15), 0 0 0 2px #000;
}

.lf-header__tools {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.lf-header__tool {
	position: relative;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lf-text);
	text-decoration: none;
	border-radius: 10px;
	flex-shrink: 0;
}

button.lf-header__tool {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	/* Браузерный outline у кнопок не повторяет border-radius и даёт «лесенку» на экране */
	outline: none;
	box-shadow: none;
}

button.lf-header__tool:focus,
button.lf-header__tool:focus-visible,
button.lf-header__tool:active {
	outline: none;
	box-shadow: none;
}

.lf-header__tool:hover {
	background: #f3f3f3;
	color: #000;
}

.lf-header__tool--cart {
	color: #404042;
}

.lf-header__tool--cart:hover {
	background: transparent;
	color: #404042;
}

.lf-header__tool--user {
	color: #404042;
}

.lf-header__tool--user:hover {
	background: transparent;
	color: #404042;
}

.lf-header__tool--search {
	color: #404042;
}

.lf-header__tool--search:hover {
	background: transparent;
	color: #404042;
}

.lf-header__tool .lf-header__icon {
	width: 28px;
	height: 28px;
}

.lf-header__badge {
	position: absolute;
	top: 6px;
	right: 4px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: #e53935;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.lf-header__burger {
	display: none;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	color: #000;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}

/* Иконка в SVG: три rect с одним width — одинаковая длина и толщина; крестик — второй svg */
.lf-header__burger-svg {
	display: block;
	flex-shrink: 0;
	width: 22px;
	height: 16px;
	min-width: 22px;
	max-width: none;
}

.lf-header__burger-svg--close {
	display: none;
}

.lf-header__burger.is-open .lf-header__burger-svg--bars {
	display: none;
}

.lf-header__burger.is-open .lf-header__burger-svg--close {
	display: block;
}

/* Desktop: одна строка, строка тянется на всю ширину между боковыми полями */
@media (min-width: 1200px) {
	.lf-header__inner {
		flex-wrap: nowrap;
		padding-top: 12px;
		padding-bottom: 12px;
		gap: 16px;
	}

	.lf-header__desktop-menu {
		display: flex;
	}

	/* Панель занимает оставшуюся ширину строки — блок контактов/иконок у правого края,
	   с тем же горизонтальным полем, что у .lf-hero__gutter (padding у .lf-header__inner). */
	.lf-header__panel {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex: 1 1 auto;
		min-width: 0;
	}

	.lf-header__nav--drawer {
		display: none !important;
	}

	.lf-header__contacts {
		flex-wrap: nowrap;
		gap: var(--lf-header-block-gap, 28px);
	}

	.lf-header__actions {
		flex-wrap: nowrap;
		gap: 8px;
	}

	/*
	 * Почта → VK: 28px до левого края плитки 48×48.
	 * Звонок → поиск: flex gap тоже 28px, но до штриха лупы добавляется половина (48−24) внутри клетки.
	 * Сдвигаем блок инструментов влево на эту величину — визуально как у почты→VK.
	 */
	.lf-header__tools {
		margin-inline-start: calc((var(--lf-header-tool-cell, 48px) - var(--lf-header-tool-icon, 24px)) / -2);
	}

	.lf-header__search--drawer {
		display: none !important;
	}
}

@media (max-width: 1199px) {
	.lf-header__right {
		margin-left: 0;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: var(--lf-header-block-gap, 28px);
		flex-wrap: wrap;
	}

	.lf-header__inner {
		flex-wrap: nowrap;
		container-type: inline-size;
		container-name: lf-header;
	}

	/* Только строка шапки: не трогаем .lf-header__search в панели — иначе поиск уезжает под меню */
	.lf-header__inner > .lf-header__search--bar {
		order: 2;
	}

	@media (max-width: 700px) {
		.lf-header__search--bar {
			display: none !important;
		}

		.lf-header__search--drawer {
			display: block !important;
		}
	}

	.lf-header__burger {
		display: flex;
		order: 3;
		margin-left: auto;
	}

	.lf-header__brand-with-menu {
		order: 1;
		flex: 0 1 auto;
		min-width: 0;
	}

	.lf-header__panel {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid #e5e5e5;
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
		padding: 20px 24px 24px;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		z-index: 150;
	}

	.lf-header__panel.is-open {
		display: flex;
	}

	.lf-header__nav--drawer {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.lf-header__nav--drawer .lf-header__nav-item {
		width: 100%;
		border-bottom: 1px solid #eee;
		padding: 12px 0;
	}

	.lf-header__nav--drawer .lf-header__nav-parent {
		display: flex;
		flex-direction: row;
		align-items: center;
		width: 100%;
		gap: 4px;
	}

	.lf-header__nav--drawer .lf-header__nav-link--parent {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-start;
		text-align: left;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* Высота строки как у текста (~1rem). rem, не em — иначе при наследовании font-size обводка и бокс «плывут» */
	.lf-header__nav--drawer .lf-header__nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 1.75rem;
		width: 1.75rem;
		height: 1rem;
		min-height: 1rem;
		max-height: 1rem;
		margin: 0;
		padding: 0;
		border: none;
		border-radius: 6px;
		background: transparent;
		color: inherit;
		cursor: pointer;
		line-height: 0;
		-webkit-tap-highlight-color: transparent;
		appearance: none;
		-webkit-appearance: none;
	}

	.lf-header__nav--drawer .lf-header__nav-toggle:focus {
		outline: none;
	}

	/* outline на низкой широкой кнопке с отрицательным offset выглядит криво — кольцо через box-shadow */
	.lf-header__nav--drawer .lf-header__nav-toggle:focus-visible {
		outline: none;
		box-shadow: 0 0 0 2px var(--lf-text);
	}

	.lf-header__nav--drawer .lf-header__nav-toggle .lf-header__chev {
		display: block;
		box-sizing: border-box;
		width: 20px;
		height: 20px;
		margin: 0;
		flex-shrink: 0;
		border: none;
		background-color: currentColor;
		-webkit-mask-image: var(--lf-chevron-right-mask);
		mask-image: var(--lf-chevron-right-mask);
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-size: 18px 18px;
		mask-size: 18px 18px;
		opacity: 0.75;
		transform: rotate(90deg);
		transition: transform 0.2s ease;
	}

	.lf-header__nav--drawer .lf-header__nav-item.is-open-m .lf-header__nav-toggle .lf-header__chev {
		transform: rotate(-90deg);
	}

	.lf-header__nav--drawer .lf-header__nav-item:hover .lf-header__dropdown,
	.lf-header__nav--drawer .lf-header__nav-item:focus-within .lf-header__dropdown {
		display: none !important;
	}

	.lf-header__nav--drawer .lf-header__dropdown {
		position: static;
		display: block;
		margin-top: 8px;
		margin-bottom: 0;
		border: none;
		box-shadow: none;
		padding: 0 0 0 12px;
	}

	.lf-header__nav--drawer .lf-header__nav-item:not(.is-open-m) .lf-header__dropdown {
		display: none !important;
	}

	.lf-header__nav--drawer .lf-header__nav-item.is-open-m .lf-header__dropdown {
		display: block !important;
	}

	.lf-header__contacts {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--lf-header-block-gap, 28px);
		flex-wrap: wrap;
	}

	.lf-header__actions {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 8px;
	}

	.lf-header__tools {
		justify-content: flex-start;
		padding-top: 0;
		border-top: 1px solid #eee;
		width: 100%;
	}
}

@container lf-header (max-width: 720px) {
	.lf-header__search--bar {
		display: none !important;
	}

	.lf-header__search--drawer {
		display: block !important;
	}
}

/*
 * Попап «⋯»: дублируем ключевые размеры с !important (Bootstrap / прочие стили).
 */
.lf-header__more-panel .lf-header__nav.lf-header__nav--popover {
	flex-direction: column !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: none !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item:not([data-lf-nav-item]):not(:last-child) > .lf-header__nav-link {
	border-bottom: 1px solid #ebebeb !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item]:not(:last-child) .lf-header__dropdown {
	border-bottom: 1px solid #ebebeb !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item:not([data-lf-nav-item]) > .lf-header__nav-link {
	display: flex !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	align-self: stretch !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	font-family: var(--lf-font-family) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	color: var(--lf-text) !important;
	text-decoration: none !important;
	border-radius: 0 !important;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	background-color: transparent !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	transition: background-color 0.14s ease, color 0.14s ease !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item:not([data-lf-nav-item]) > .lf-header__nav-link:hover,
.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item:not([data-lf-nav-item]) > .lf-header__nav-link:focus-visible {
	background-color: #f4f4f4 !important;
	color: #000 !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-parent {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	align-self: stretch !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	margin: 0 !important;
	padding: 0 4px 0 12px !important;
	gap: 0 !important;
	transition: background-color 0.14s ease, color 0.14s ease !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item]:not(:last-child) .lf-header__nav-parent {
	border-bottom: 1px solid #ebebeb !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-link--parent {
	display: flex !important;
	flex: 1 1 auto !important;
	align-items: center !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--lf-font-family) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	color: var(--lf-text) !important;
	text-decoration: none !important;
	border-radius: 0 !important;
	border: none !important;
	background-color: transparent !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	transition: background-color 0.14s ease, color 0.14s ease !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item:hover .lf-header__nav-parent,
.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-parent:hover {
	background-color: #f4f4f4 !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item:hover .lf-header__nav-link--parent,
.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-parent:hover .lf-header__nav-link--parent {
	color: #000 !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-toggle {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 36px !important;
	width: 36px !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 4px !important;
	background: transparent !important;
	color: inherit !important;
	cursor: pointer !important;
	-webkit-tap-highlight-color: transparent !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-toggle:focus:not(:focus-visible) {
	outline: none !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-toggle:focus-visible {
	outline: 2px solid var(--lf-text) !important;
	outline-offset: -2px !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__chev {
	margin: 0 0 0 auto !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-toggle .lf-header__chev {
	margin: 0 !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item] .lf-header__dropdown {
	background: #fafafa !important;
	padding: 0 !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__nav-item[data-lf-nav-item].is-open-pop .lf-header__dropdown {
	padding: 0 !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__dropdown a {
	display: flex !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 34px !important;
	height: 34px !important;
	max-height: 34px !important;
	margin: 0 !important;
	padding: 0 12px 0 18px !important;
	font-family: var(--lf-font-family) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: var(--lf-muted) !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	border: none !important;
	border-bottom: 1px solid #efefef !important;
	background: transparent !important;
	transition: background-color 0.14s ease, color 0.14s ease !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__dropdown a:last-child {
	border-bottom: none !important;
}

.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__dropdown a:hover,
.lf-header__more-panel .lf-header__nav.lf-header__nav--popover .lf-header__dropdown a:focus-visible {
	background-color: #f0f0f0 !important;
	color: var(--lf-text) !important;
}

/* Высота страницы: футер у нижнего края окна, без белой полосы под ним */
html {
	height: 100%;
}

body {
	min-height: 100vh;
	margin: 0;
	display: flex;
	flex-direction: column;
}

#panel {
	flex-shrink: 0;
}

#bx_eshop_wrap.bx-wrapper {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
	box-sizing: border-box;
	/* Одна «рейка» для шапки и подвала: полосы на всю ширину обёртки, одинаковые отступы слева/справа */
	--lf-chrome-pad-x: clamp(18px, 3vw, 48px);
}

#bx_eshop_wrap > .lf-header,
#bx_eshop_wrap > .bx-content-section {
	flex-shrink: 0;
}

#bx_eshop_wrap > .workarea {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding-bottom: clamp(24px, 4vw, 40px);
}

/* Компактный зазор под шапкой (вместо py-3): поиск/крошки и «воздух» до workarea */
/* Та же горизонтальная «рейка», что у .lf-header__inner (без узкой колонки Bootstrap .container) */
#bx_eshop_wrap > .container.bx-content-section.lf-after-header {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: var(--lf-chrome-pad-x, clamp(18px, 3vw, 48px));
	padding-right: var(--lf-chrome-pad-x, clamp(18px, 3vw, 48px));
	box-sizing: border-box;
	padding-top: 6px;
	/* «Воздух» между заголовком страницы и контентом workarea (карта, текст и т.д.) */
	padding-bottom: clamp(18px, 2.8vw, 32px);
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header > .row {
	margin-left: 0;
	margin-right: 0;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header > .row.lf-after-header__crumbs {
	margin-bottom: 6px;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header > .row > [class*="col"] {
	padding-left: 0;
	padding-right: 0;
}

/* Крошки и заголовок страницы: Rubik, без «синих» ссылок Bootstrap, линия ссылки только по hover */
#bx_eshop_wrap > .container.bx-content-section.lf-after-header .bx-breadcrumb {
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header .bx-breadcrumb-item-text {
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 400;
	color: #2d2d2d;
	transition: color 0.15s ease;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header .bx-breadcrumb-item-link,
#bx_eshop_wrap > .container.bx-content-section.lf-after-header .bx-breadcrumb-item-link:visited {
	color: #2d2d2d;
	text-decoration: none;
	border-bottom: none;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header .bx-breadcrumb-item-link:hover {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header .bx-breadcrumb-item-link:focus {
	outline: none;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header .bx-breadcrumb-item-link:focus-visible {
	outline: 2px solid #2d2d2d;
	outline-offset: 3px;
	text-decoration: none;
}

#bx_eshop_wrap > .container.bx-content-section.lf-after-header #pagetitle {
	font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 600;
	color: #2d2d2d;
	margin-top: 0;
	margin-bottom: 0;
}

#bx_eshop_wrap > .workarea > .container.bx-content-section {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

#bx_eshop_wrap > .workarea > .container.bx-content-section > .row {
	flex: 1 0 auto;
}

#bx_eshop_wrap > .lf-footer {
	flex-shrink: 0;
}

/*
 * Слот мини-корзины: внутри fixed-блок, в потоке не должен занимать высоту
 * (иначе под тёмным футером остаётся белая полоса от .col).
 */
.lf-mobile-basket-slot {
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	line-height: 0 !important;
}

.lf-mobile-basket-slot > * {
	line-height: normal;
}

/* ——— Модальное окно «Обратный звонок» ——— */
/* Выше .lf-header (z-index: 12000), иначе шапка перекрывает оверлей и крестик */
.lf-callback-modal {
	--lf-cb-text: #111827;
	--lf-cb-muted: #6b7280;
	--lf-cb-border: #e5e7eb;
	--lf-cb-font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--lf-cb-dur: 0.28s;
	--lf-cb-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: fixed;
	inset: 0;
	z-index: 13000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	font-family: var(--lf-cb-font);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity var(--lf-cb-dur) var(--lf-cb-ease),
		visibility 0s linear var(--lf-cb-dur);
}

.lf-callback-modal--open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition:
		opacity var(--lf-cb-dur) var(--lf-cb-ease),
		visibility 0s linear 0s;
}

.lf-callback-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.45);
	cursor: pointer;
	opacity: 0;
	transition: opacity calc(var(--lf-cb-dur) * 0.85) ease-out;
}

.lf-callback-modal--open .lf-callback-modal__backdrop {
	opacity: 1;
}

.lf-callback-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 48px);
	overflow: auto;
	box-sizing: border-box;
	padding: 28px 28px 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
	color: var(--lf-cb-text);
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	transform: translate3d(0, 14px, 0) scale(0.98);
	transform-origin: 50% 50%;
	transition:
		opacity calc(var(--lf-cb-dur) * 0.9) ease-out,
		transform var(--lf-cb-dur) var(--lf-cb-ease);
	will-change: transform, opacity;
}

.lf-callback-modal--open .lf-callback-modal__dialog {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.lf-callback-modal:not(.lf-callback-modal--open) .lf-callback-modal__dialog {
	transition:
		opacity 0.22s ease-in,
		transform 0.24s ease-in;
}

@media (prefers-reduced-motion: reduce) {
	.lf-callback-modal,
	.lf-callback-modal__backdrop,
	.lf-callback-modal__dialog {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.lf-callback-modal:not(.lf-callback-modal--open) .lf-callback-modal__dialog {
		transition-duration: 0.01ms !important;
	}

	.lf-callback-modal__dialog {
		transform: none !important;
	}

	.lf-callback-modal--open .lf-callback-modal__dialog {
		transform: none !important;
	}
}

.lf-callback-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--lf-cb-muted);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.15s ease, background 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.lf-callback-modal__close:hover {
	color: var(--lf-cb-text);
	background: #f3f4f6;
}

.lf-callback-modal__close:focus {
	outline: none;
}

.lf-callback-modal__close:focus-visible {
	outline: 2px solid var(--lf-cb-text);
	outline-offset: 2px;
}

.lf-callback-modal__title {
	margin: 0 36px 10px 0;
	/* Figma Heading/h4: Academy 400, 32px, line-height 100%, letter-spacing 0 */
	font-family: "Academy", Georgia, "Times New Roman", serif;
	font-synthesis: none;
	font-weight: 400;
	font-style: normal;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: 0;
	color: var(--lf-cb-text);
}

.lf-callback-modal__lead {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--lf-cb-muted);
}

.lf-callback-modal__form {
	margin: 0;
}

.lf-callback-modal__field {
	margin-bottom: 18px;
}

.lf-callback-modal__label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--lf-cb-text);
}

.lf-callback-modal__field-error {
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 400;
	color: #dc2626;
}

.lf-callback-modal__field-error[hidden] {
	display: none !important;
}

.lf-callback-modal__input.lf-callback-modal__input--invalid,
.lf-callback-modal__textarea.lf-callback-modal__input--invalid {
	border-color: #f87171;
	box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}

.lf-callback-modal__req {
	color: #dc2626;
	font-weight: 600;
}

.lf-callback-modal__input,
.lf-callback-modal__textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid var(--lf-cb-border);
	border-radius: 10px;
	font-family: var(--lf-cb-font);
	font-size: 15px;
	line-height: 1.35;
	color: var(--lf-cb-text);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lf-callback-modal__input::placeholder,
.lf-callback-modal__textarea::placeholder {
	color: #9ca3af;
}

.lf-callback-modal__input:hover,
.lf-callback-modal__textarea:hover {
	border-color: #d1d5db;
}

.lf-callback-modal__input:focus,
.lf-callback-modal__textarea:focus {
	outline: none;
	border-color: #111827;
	box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.lf-callback-modal__textarea {
	min-height: 100px;
	resize: vertical;
}

/* «Отправить заявку» — Figma: h 48, r 8, fill #000; Text 16/22/400, White; padding L14 R16 */
.lf-callback-modal__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	height: 48px;
	margin-top: 8px;
	padding: 0 16px 0 14px;
	border: none;
	border-radius: 8px;
	background: #000000;
	color: #ffffff !important;
	font-family: var(--lf-cb-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	letter-spacing: 0;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.lf-callback-modal__submit:hover:not(:disabled) {
	background: #1a1a1a;
	opacity: 1;
}

.lf-callback-modal__submit:active:not(:disabled) {
	background: #0d0d0d;
}

.lf-callback-modal__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.lf-callback-modal__submit:focus {
	outline: none;
}

.lf-callback-modal__submit:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.lf-callback-modal__legal {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.45;
	text-align: center;
	color: var(--lf-cb-muted);
}

.lf-callback-modal__legal a {
	color: var(--lf-cb-muted);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.lf-callback-modal__legal a:hover {
	color: var(--lf-cb-text);
}

.lf-callback-modal__msg {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.lf-callback-modal__msg--ok {
	background: #ecfdf5;
	color: #065f46;
}

.lf-callback-modal__msg--err {
	background: #fef2f2;
	color: #991b1b;
}

body.lf-callback-modal-open {
	overflow: hidden;
}

