/**
 * HoReCa design system — один файл, каскад сверху вниз:
 * section.horeca-order → серая поверхность (.horeca-order__inner) → белые панели (карточки).
 *
 * Утилиты: .horeca-content-column .horeca-stack-block .horeca-section-shell
 *           .horeca-panel .horeca-surface-panel .horeca-link-accent .horeca-crumb-trail
 */

/* ——— Утилиты ——— */
.horeca-content-column {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

.horeca-stack-block {
	margin: 1.15rem 0 1.25rem !important;
}

.horeca-content-column.horeca-stack-block {
	margin-left: auto !important;
	margin-right: auto !important;
}

.horeca-panel {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 0.7rem 1rem;
	background: var(--hc-bg, #f5f5f5);
	border: 1px solid var(--hc-border, #e0e0e0);
	border-radius: var(--hc-radius-panel, 12px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	font-family: var(--hc-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
}

.horeca-panel--center {
	text-align: center;
}

.horeca-surface-panel {
	background: var(--hc-bg-panel, #fff) !important;
	border: 1px solid var(--hc-border, #e0e0e0) !important;
	border-radius: var(--hc-radius-panel, 12px) !important;
	box-shadow: var(--hc-shadow, 0 2px 12px rgba(0, 0, 0, 0.08));
}

.horeca-link-accent {
	color: var(--hc-text, #000);
	font-family: var(--hc-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--hc-accent, #f2e34c);
	text-underline-offset: 2px;
	text-decoration-thickness: 3px;
}

.horeca-link-accent:hover,
.horeca-link-accent:focus-visible {
	color: #333;
}

.horeca-link-accent--sm {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.45;
	text-underline-offset: 3px;
}

.horeca-crumb-trail {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.2rem 0.15rem;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	float: none !important;
	background: none !important;
}

.horeca-crumb-trail > li {
	display: inline-flex;
	align-items: center;
	float: none !important;
	max-width: 100%;
}

.horeca-crumb-trail > li + li::before {
	content: "/" !important;
	padding: 0 0.4rem !important;
	color: #c4c7ce !important;
	font-size: 13px !important;
	font-weight: 400 !important;
}

.horeca-crumb-trail > li + li::after {
	display: none !important;
	content: none !important;
}

.horeca-crumb-trail > li.active,
.horeca-crumb-trail__current {
	font-weight: 600 !important;
	font-size: 14px !important;
	color: var(--hc-body, #444) !important;
}

/* Пилот: компактные короткие подписи в крошках */
.horeca-breadcrumbs--short.horeca-panel {
	padding: 0.55rem 0.85rem;
}

.horeca-breadcrumbs--short .horeca-link-accent--sm {
	font-size: 14px;
	line-height: 1.35;
}

.horeca-breadcrumbs--short .horeca-crumb-trail {
	gap: 0.1rem 0.1rem;
}

.horeca-breadcrumbs--short .horeca-crumb-trail > li + li::before {
	padding: 0 0.3rem !important;
}

@media (min-width: 900px) {
	.horeca-panel {
		padding: 0.75rem 1.15rem;
	}
}

@media (max-width: 479px) {
	.horeca-panel {
		padding: 0.6rem 0.65rem;
		border-radius: 10px;
	}
}

/* ——— Токены и оболочка секции ——— */
.horeca-section-shell,
.horeca-content-block,
section.horeca-order {
	--hc-radius: 16px;
	--hc-radius-panel: 12px;
	--hc-bg: #f5f5f5;
	--hc-bg-panel: #ffffff;
	--hc-border: #e0e0e0;
	--hc-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	--hc-text: #000000;
	--hc-muted: #8b8e97;
	--hc-body: #444444;
	--hc-accent: #f2e34c;
	--hc-accent-hover: #e6d63f;
	--hc-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ho-bg: var(--hc-bg);
	--ho-surface: var(--hc-bg-panel);
	--ho-text: var(--hc-text);
	--ho-muted: var(--hc-muted);
	--ho-accent: var(--hc-accent);
	--ho-accent-hover: var(--hc-accent-hover);
	--ho-line: var(--hc-border);
	--ho-shadow: var(--hc-shadow);
	--ho-radius: var(--hc-radius);

	margin: 1.15rem 0 1.25rem !important;
	border-radius: var(--hc-radius) !important;
	overflow: hidden !important;
	background: var(--hc-bg) !important;
	border: 1px solid var(--hc-border) !important;
	font-family: var(--hc-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--hc-text);
}

/* Themler: .bd-contentlayout-offset section { margin: 0 -20px } ломает скругление */
.bd-postcontent-10 section.horeca-order,
.bd-postcontent-9 section.horeca-order,
.bd-tagstyles .bd-contentlayout-offset section.horeca-order,
.bd-contentlayout-offset section.horeca-order,
.horeca-main--with-sidebars .horeca-main__content section.horeca-order,
.horeca-post__content section.horeca-order,
.bd-sheetstyles .bd-contentlayout-offset section.horeca-order {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.horeca-content-block.bd-no-margins,
section.horeca-order.bd-no-margins {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

section.horeca-related {
	margin: 2rem 0 2.5rem;
}

.horeca-content-block *,
.horeca-content-block *::before,
.horeca-content-block *::after,
section.horeca-order *,
section.horeca-order *::before,
section.horeca-order *::after {
	box-sizing: border-box;
}

/* ——— Колонка 1140px: утилита + прямые дети postcontent + внутренности секций ——— */
.horeca-content-column,
.horeca-content-block > .horeca-content-block__surface,
.horeca-content-block > .horeca-order__inner,
section.horeca-order > .horeca-order__inner,
.bd-postcontent-10 > :is(section.horeca-content-block, section.horeca-hub-catalog),
.bd-postcontent-9 > :is(section.horeca-content-block, section.horeca-hub-catalog),
[class*="bd-postcontent"].entry-content > :is(section.horeca-content-block, section.horeca-hub-catalog) {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

.horeca-content-block > .horeca-content-block__surface,
.horeca-content-block > .horeca-order__inner,
section.horeca-order > .horeca-order__inner {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible;
}

.horeca-stack-block.horeca-content-column {
	margin: 1.15rem auto 1.25rem;
}

/* ——— Белые панели ——— */
.horeca-surface-panel,
section.horeca-order .horeca-content-block__panel,
section.horeca-order article.horeca-order__card,
section.horeca-order .horeca-order__card,
section.horeca-order .horeca-material__card,
section.horeca-order .horeca-faq__item,
section.horeca-order .horeca-product__description,
section.horeca-order .horeca-product__geo,
.horeca-content-block .horeca-content-block__panel,
.horeca-content-block .horeca-order__card,
.horeca-content-block .horeca-material__card,
.horeca-content-block .horeca-faq__item {
	background: var(--hc-bg-panel) !important;
	border: 1px solid var(--hc-border) !important;
	border-radius: var(--hc-radius-panel) !important;
	box-shadow: var(--hc-shadow);
}

/* ——— Заголовки блоков ——— */
section.horeca-order .horeca-order__header {
	width: 100%;
	text-align: center;
	margin-bottom: 0.25rem;
}

section.horeca-order .horeca-order__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	color: var(--hc-muted);
}

section.horeca-order .horeca-order__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--hc-text);
}

section.horeca-order .horeca-order__lead {
	margin: 0 0 1.25rem;
	font-size: 17px;
	line-height: 1.55;
	color: var(--hc-body);
}

section.horeca-order .horeca-order__text,
section.horeca-order .horeca-order__lead,
section.horeca-order .horeca-faq__lead,
section.horeca-order p.horeca-order__text {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	max-width: none;
}

section.horeca-material .horeca-order__title a {
	color: var(--hc-text);
	text-decoration: underline;
	text-decoration-color: var(--hc-accent);
	text-underline-offset: 3px;
}

/* ——— Сетка материалов (общая) ——— */
section.horeca-order .horeca-material__grid {
	list-style: none !important;
	margin: 1rem auto 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	width: 100%;
	max-width: 1140px;
}

section.horeca-order .horeca-material__grid::marker,
section.horeca-order .horeca-material__item::marker {
	content: none;
}

section.horeca-order .horeca-material__item {
	list-style: none !important;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.bd-tagstyles section.horeca-order ul.horeca-material__grid > li::before,
.bd-tagstyles section.horeca-order ul.horeca-material__grid > li::after,
section.horeca-order .horeca-material__item::before,
section.horeca-order .horeca-material__item::after {
	content: none !important;
	display: none !important;
}

section.horeca-material .horeca-material__grid {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 600px) {
	section.horeca-material .horeca-material__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	section.horeca-material .horeca-material__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.1rem;
	}
}

/* ——— Карточка материала (layout; цвета — панель выше) ——— */
section.horeca-order .horeca-material__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none !important;
	color: var(--hc-text) !important;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

section.horeca-order .horeca-material__card:hover {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
	border-color: #d5d5d5;
	transform: translateY(-2px);
}

section.horeca-order .horeca-material__thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	width: 100%;
	min-height: 10rem;
	padding: 0.85rem;
	background: var(--hc-bg-panel);
	border-bottom: 1px solid var(--hc-border);
	overflow: hidden;
}

section.horeca-order .horeca-material__thumb::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	height: 25%;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0) 0%,
		rgba(15, 23, 42, 0.45) 50%,
		rgba(15, 23, 42, 0.82) 100%
	);
}

section.horeca-order .horeca-material__price-from {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding: 0 0.5rem 0.55rem;
	pointer-events: none;
}

section.horeca-order .horeca-material__price-from-inner {
	display: inline-flex;
	align-items: baseline;
	gap: 0.3rem;
	padding: 0.45rem 0.95rem 0.5rem;
	font-family: var(--hc-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 16px;
	line-height: 1;
	white-space: nowrap;
	background: linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.9));
	border: 1px solid rgba(253, 224, 71, 0.45);
	border-radius: 999px;
	box-shadow:
		0 6px 18px rgba(0, 0, 0, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}

section.horeca-order .horeca-material__price-from-prefix {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(253, 224, 71, 0.92);
}

section.horeca-order .horeca-material__price-from-amount {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fde047;
	text-decoration: underline;
	text-decoration-color: #fbbf24;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.9),
		0 0 14px rgba(250, 204, 21, 0.35);
}

section.horeca-order .horeca-material__price-from-unit {
	font-size: 16px;
	font-weight: 700;
	color: #facc15;
	text-decoration: underline;
	text-underline-offset: 2px;
}

section.horeca-order .horeca-material__card:hover .horeca-material__price-from-inner {
	transform: translateY(-2px) scale(1.04);
	border-color: rgba(253, 224, 71, 0.75);
	box-shadow:
		0 10px 24px rgba(0, 0, 0, 0.42),
		0 0 22px rgba(250, 204, 21, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

section.horeca-order .horeca-material__thumb img,
section.horeca-order .horeca-material__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 220px;
	object-fit: contain;
	margin: 0 auto;
}

/* Только material: legacy a3 placeholder (native lazy-load после фазы 2). */
section.horeca-order .horeca-material__thumb img[src*="lazy_placeholder"] {
	display: none;
}

/* Stackable → Spectra migration: card shell without stk-* CSS. */
.horeca-migrated-card figure img,
.horeca-migrated-card .stk-block-card__image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

section.horeca-order .horeca-material__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 0.9rem 1rem 1rem;
}

section.horeca-order .horeca-material__name {
	margin: 0 0 0.35rem;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--hc-text);
}

section.horeca-order:not(.horeca-related) .horeca-material__name {
	text-decoration: underline;
	text-decoration-color: var(--hc-accent);
	text-underline-offset: 3px;
}

section.horeca-order .horeca-material__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--hc-body);
}

/* ——— «Другие изделия» — сетка и legacy-hide ——— */
section.horeca-related .horeca-order__header {
	text-align: center;
}

section.horeca-related .horeca-material__name {
	text-decoration: none;
}

section.horeca-related .horeca-material__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	justify-content: stretch;
	width: 100%;
	max-width: none;
}

@media (min-width: 640px) {
	section.horeca-related .horeca-material__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	section.horeca-related .horeca-material__grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

.page-list-ext:has(+ section.horeca-related) {
	display: none !important;
}

/* ——— FAQ ——— */
.horeca-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.horeca-faq__item[open] {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.horeca-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1.1rem;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--hc-text);
	cursor: pointer;
	list-style: none;
}

.horeca-faq__question::-webkit-details-marker {
	display: none;
}

.horeca-faq__question::after {
	content: "+";
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--hc-accent);
	font-size: 1.25rem;
	font-weight: 700;
}

.horeca-faq__item[open] > .horeca-faq__question::after {
	content: "−";
}

.horeca-faq__question:hover {
	background: rgba(242, 227, 76, 0.12);
}

.horeca-faq__answer {
	padding: 0 1.1rem 1rem;
	border-top: 1px solid var(--hc-border);
}

.horeca-faq__answer p {
	margin: 0.85rem 0 0;
	padding: 0;
	background: transparent !important;
	border: none !important;
	font-size: 15px;
	line-height: 1.55;
	color: var(--hc-body);
}

.horeca-faq__answer a {
	color: var(--hc-text);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--hc-accent);
}

.horeca-faq__answer a:hover {
	color: #333;
}

/* ——— Типографика контента (без серых плашек на каждый абзац; скругление только у section.horeca-order) ——— */
.horeca-content-column.horeca-prose,
.bd-postcontent.bd-tagstyles,
.bd-postcontent-10.bd-tagstyles,
[class*="bd-postcontent"].bd-tagstyles.entry-content,
.bd-tagstyles.entry-content.bd-postcontent {
	--hc-body: #444444;
	--hc-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	font-family: var(--hc-font);
	font-size: 17px;
	line-height: 1.55;
	color: var(--hc-body);
}

.bd-postcontent-10.bd-tagstyles > p.horeca-prose-plain,
[class*="bd-postcontent"].bd-tagstyles.entry-content > p.horeca-prose-plain {
	margin: 0;
	padding: 0;
}

/* Intro: 17px; карточки таймлайна — 14px (как на /brelki-kluchi/) */
section.horeca-order .horeca-intro__content,
section.horeca-order .horeca-intro__content p,
section.horeca-order .horeca-intro__content ul,
section.horeca-order .horeca-intro__content ol,
section.horeca-order .horeca-intro__content li,
section.horeca-order .horeca-intro__content .horeca-order__text,
section.horeca-order .horeca-order__lead {
	max-width: none;
	margin: 0 0 0.65rem;
	padding: 0;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none;
	font-family: var(--hc-font);
	font-size: 17px;
	line-height: 1.55;
	color: var(--hc-body, #444444) !important;
}

section.horeca-order .horeca-order__card .horeca-order__text,
section.horeca-order .horeca-order__timeline .horeca-order__text,
section.horeca-order .horeca-material__text {
	font-family: var(--hc-font);
	font-size: 14px;
	line-height: 1.55;
	color: var(--hc-body, #444444) !important;
}

.horeca-content-block .horeca-order__text {
	max-width: none;
	padding: 0;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none;
}

section.horeca-intro .horeca-order__title {
	text-align: center;
}

section.horeca-intro .horeca-intro__content {
	overflow: hidden;
}

section.horeca-intro .horeca-intro__content::after {
	content: "";
	display: table;
	clear: both;
}

section.horeca-intro .horeca-intro__media {
	float: left;
	width: min(42%, 280px);
	max-width: 280px;
	margin: 0 1.15rem 0.5rem 0;
}

section.horeca-intro .horeca-intro__hero {
	margin: 0;
	overflow: visible;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

section.horeca-intro .horeca-intro__hero-stage,
section.horeca-order .horeca-product__hero-stage {
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	cursor: zoom-in;
	aspect-ratio: 1 / 1;
}

section.horeca-intro .horeca-intro__hero-img,
section.horeca-order .horeca-product__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin: 0;
	border-radius: 0;
	transition: transform 0.12s ease-out;
	transform-origin: center center;
	will-change: transform;
	/* Yandex Browser: не показывать «Поиск по картинке» на img (события на hero-stage). */
	pointer-events: none;
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
}

section.horeca-intro .horeca-intro__thumbs {
	display: flex;
	gap: 0.4rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

section.horeca-intro .horeca-intro__thumbs > li {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

section.horeca-intro .horeca-intro__thumb-btn {
	width: 100%;
	aspect-ratio: 1 / 1;
	min-width: 0;
	padding: 0 !important;
	border: 2px solid #e0e0e0 !important;
	border-radius: 8px;
	overflow: hidden;
	background: #fff !important;
	background-image: none !important;
	color: inherit !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bd-postcontent.bd-tagstyles section.horeca-intro .horeca-intro__thumb-btn,
.bd-postcontent.bd-tagstyles section.horeca-intro .horeca-intro__thumb-btn:link,
.bd-postcontent.bd-tagstyles section.horeca-intro .horeca-intro__thumb-btn:visited,
.bd-postcontent.bd-tagstyles section.horeca-intro .horeca-intro__thumb-btn:hover,
.bd-postcontent.bd-tagstyles section.horeca-intro .horeca-intro__thumb-btn:focus,
.bd-postcontent.bd-tagstyles section.horeca-intro .horeca-intro__thumb-btn:active {
	background-color: #fff !important;
	background-image: none !important;
	color: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block;
	width: 100%;
}

section.horeca-intro .horeca-intro__thumb-btn:hover,
section.horeca-intro .horeca-intro__thumb-btn.is-active {
	border-color: #f2e34c;
	box-shadow: 0 0 0 1px rgba(242, 227, 76, 0.35);
}

section.horeca-intro .horeca-intro__thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
}

section.horeca-intro .horeca-intro__hero-stage picture,
section.horeca-intro .horeca-intro__thumb-btn picture,
section.horeca-order .horeca-product__hero-stage picture {
	display: block;
	line-height: 0;
}

section.horeca-intro .horeca-intro__hero-stage picture img,
section.horeca-intro .horeca-intro__thumb-btn picture img,
section.horeca-order .horeca-product__hero-stage picture img {
	width: 100%;
	height: auto;
	pointer-events: none;
	-webkit-user-drag: none;
	user-drag: none;
	user-select: none;
}

@media (max-width: 640px) {
	section.horeca-intro .horeca-intro__media {
		float: none;
		width: min(100%, 280px);
		max-width: 280px;
		margin: 0 auto 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	section.horeca-intro .horeca-intro__hero-img,
	section.horeca-order .horeca-product__hero-img {
		transition: none;
	}

	section.horeca-intro .horeca-intro__hero-stage {
		cursor: default;
	}
}

section.horeca-intro .horeca-intro__content > :last-child {
	margin-bottom: 0;
}

/* Главная: один каталог, без legacy [fluid] inline-block */
body.horeca-front-catalog [class*="additional-class-"] {
	margin: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	transform: none !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-top: 0 !important;
	background: transparent !important;
}

/* Главная: плитка хабов (material grid) */
section.horeca-front-catalog .horeca-hub-catalog__viewport {
	display: block !important;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
}

section.horeca-front-catalog .horeca-hub-catalog__viewport > .horeca-material__grid {
	display: grid !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1rem;
}

section.horeca-front-catalog .horeca-material__item {
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	float: none !important;
}

section.horeca-front-catalog .horeca-material__card {
	width: 100% !important;
	max-width: none !important;
}

section.horeca-front-catalog .horeca-material__name {
	text-decoration: underline;
	text-decoration-color: var(--hc-accent);
	text-underline-offset: 3px;
}

@media (min-width: 600px) {
	section.horeca-front-catalog .horeca-hub-catalog__viewport > .horeca-material__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	section.horeca-front-catalog .horeca-hub-catalog__viewport > .horeca-material__grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 1.1rem;
	}
}

body.horeca-front-catalog .bd-postcontent-9.bd-tagstyles h2,
body.horeca-front-catalog .bd-postcontent-10.bd-tagstyles h2,
body.horeca-front-catalog .bd-postcontent-9.bd-tagstyles h3,
body.horeca-front-catalog .bd-postcontent-10.bd-tagstyles h3,
body.horeca-site-styled .bd-postcontent-9.bd-tagstyles h2,
body.horeca-site-styled .bd-postcontent-9.bd-tagstyles h3 {
	font-family: var(--hc-font);
}

body.horeca-front-catalog .horeca-blog--front .horeca-post__content.entry-content {
	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

body.horeca-front-catalog .horeca-blog--front .entry-content > section.horeca-order,
body.horeca-front-catalog .horeca-blog--front .entry-content > section.horeca-content-block {
	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.horeca-main__content .entry-content.horeca-post__content {
		margin-left: 0;
		margin-right: 0;
		padding-left: var(--horeca-shell-gutter, 15px);
		padding-right: var(--horeca-shell-gutter, 15px);
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Карточка товара: один gutter (shell), без второго слоя от entry-content */
	.horeca-main__content .entry-content.horeca-post__content:has(#horeca-product) {
		padding-left: 0;
		padding-right: 0;
	}

	.horeca-blog--front > .horeca-post > section.horeca-order {
		margin-left: var(--horeca-shell-gutter, 15px);
		margin-right: var(--horeca-shell-gutter, 15px);
		width: auto;
		max-width: none;
		box-sizing: border-box;
	}

	.horeca-content-block > .horeca-content-block__surface,
	.horeca-content-block > .horeca-order__inner,
	section.horeca-order > .horeca-order__inner,
	[class*="bd-postcontent"].entry-content > :is(section.horeca-content-block, section.horeca-hub-catalog) {
		width: 100%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	section.horeca-front-catalog .horeca-hub-catalog__viewport,
	section.horeca-order .horeca-material__grid {
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	section.horeca-material.horeca-order {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 899px) {
	section.horeca-order.horeca-product > .horeca-order__inner {
		padding: 0.55rem 0.45rem 0.75rem;
	}

	section.horeca-order.horeca-product .horeca-content-block__panel {
		padding: 0.75rem 0.55rem;
		margin-bottom: 1rem;
	}
}

@media (max-width: 479px) {
	.horeca-content-block,
	section.horeca-order {
		--hc-radius: 12px;
	}

	.horeca-faq__question {
		font-size: 15px;
		padding: 0.85rem 0.9rem;
	}

	.horeca-faq__answer {
		padding: 0 0.9rem 0.9rem;
	}
}

/* Legacy: крошки в post_content сидят в узком .bd-layoutbox-3 — растягиваем до колонки 1140px */
.horeca-post__content .bd-layoutbox-3:has(> .bd-container-inner > [class*="bd-breadcrumbs-"]),
[class*="bd-postcontent"].entry-content .bd-layoutbox-3:has(> .bd-container-inner > [class*="bd-breadcrumbs-"]) {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.horeca-post__content .bd-layoutbox-3:has([class*="bd-breadcrumbs-"]) > .bd-container-inner,
[class*="bd-postcontent"].entry-content .bd-layoutbox-3:has([class*="bd-breadcrumbs-"]) > .bd-container-inner {
	width: 100% !important;
	max-width: 1140px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Legacy Themler: плашка и список через те же утилиты, что в теме */
[class*="bd-breadcrumbs-"] {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

[class*="bd-breadcrumbs-"] > .bd-container-inner {
	display: block !important;
	width: 100% !important;
	max-width: 1140px !important;
	margin: 1.15rem auto 1.25rem !important;
	padding: 0.7rem 1rem !important;
	background: var(--hc-bg, #f5f5f5) !important;
	border: 1px solid var(--hc-border, #e0e0e0) !important;
	border-radius: var(--hc-radius-panel, 12px) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	font-family: var(--hc-font, "Helvetica Neue", Helvetica, Arial, sans-serif);
	text-align: center;
}

[class*="bd-breadcrumbs-"] .breadcrumb {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.2rem 0.15rem;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	float: none !important;
	background: none !important;
}

[class*="bd-breadcrumbs-"] .breadcrumb > li {
	display: inline-flex;
	align-items: center;
	float: none !important;
	max-width: 100%;
}

[class*="bd-breadcrumbs-"] .breadcrumb a,
[class*="bd-breadcrumbs-"] [class*="bd-breadcrumbslink-"] a {
	font-weight: 600 !important;
	font-size: 14px !important;
	line-height: 1.45;
	color: var(--hc-text, #000) !important;
	text-decoration: underline;
	text-decoration-color: var(--hc-accent, #f2e34c);
	text-underline-offset: 3px;
	text-decoration-thickness: 3px;
}

[class*="bd-breadcrumbs-"] .breadcrumb a:hover {
	color: #333 !important;
}

[class*="bd-breadcrumbs-"] .breadcrumb > li.active,
[class*="bd-breadcrumbs-"] [class*="bd-breadcrumbstext-"] span {
	font-weight: 600 !important;
	font-size: 14px !important;
	color: var(--hc-body, #444) !important;
}

[class*="bd-breadcrumbs-"] .breadcrumb > li + li::before {
	content: "/" !important;
	padding: 0 0.4rem !important;
	color: #c4c7ce !important;
	font-size: 13px !important;
	font-weight: 400 !important;
}

[class*="bd-breadcrumbs-"] .breadcrumb > li + li::after {
	display: none !important;
	content: none !important;
}

@media (min-width: 900px) {
	[class*="bd-breadcrumbs-"] > .bd-container-inner {
		padding: 0.75rem 1.15rem !important;
	}
}

@media (max-width: 479px) {
	[class*="bd-breadcrumbs-"] > .bd-container-inner {
		padding: 0.6rem 0.65rem !important;
		border-radius: 10px !important;
	}
}

/* Ссылки в тексте — .horeca-link-accent (+ legacy postcontent без класса) */
.horeca-link-accent,
section.horeca-order .horeca-intro__content a,
section.horeca-order .horeca-order__lead a,
section.horeca-order .horeca-order__text a,
section.horeca-order .horeca-order__email,
.bd-postcontent.bd-tagstyles a:not(.horeca-material__card):not(.horeca-order__cta-btn):not(.wp-block-button__link),
.bd-postcontent-9.bd-tagstyles a:not(.horeca-material__card):not(.horeca-order__cta-btn):not(.wp-block-button__link),
.bd-postcontent-10.bd-tagstyles a:not(.horeca-material__card):not(.horeca-order__cta-btn):not(.wp-block-button__link),
[class*="bd-postcontent"].bd-tagstyles.entry-content a:not(.horeca-material__card):not(.horeca-order__cta-btn):not(.wp-block-button__link),
.bd-tagstyles.entry-content a:not(.horeca-material__card):not(.horeca-order__cta-btn):not(.wp-block-button__link) {
	color: var(--hc-text);
	font-family: var(--hc-font);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--hc-accent);
	text-underline-offset: 2px;
	text-decoration-thickness: 3px;
}

.horeca-link-accent:hover,
.horeca-link-accent:focus-visible,
section.horeca-order .horeca-intro__content a:hover,
section.horeca-order .horeca-order__text a:hover,
.bd-postcontent.bd-tagstyles a:hover:not(.horeca-material__card):not(.horeca-order__cta-btn),
.bd-postcontent-9.bd-tagstyles a:hover:not(.horeca-material__card):not(.horeca-order__cta-btn),
.bd-postcontent-10.bd-tagstyles a:hover:not(.horeca-material__card):not(.horeca-order__cta-btn),
[class*="bd-postcontent"].bd-tagstyles.entry-content a:hover:not(.horeca-material__card):not(.horeca-order__cta-btn),
.bd-tagstyles.entry-content a:hover:not(.horeca-material__card):not(.horeca-order__cta-btn) {
	color: #333;
}

/* Заголовки h2/h3 темы Themler не ломают хаб */
body.horeca-site-styled .bd-postcontent-10.bd-tagstyles h2,
body.horeca-site-styled .bd-postcontent-10.bd-tagstyles h3 {
	font-family: var(--hc-font);
}

body.horeca-site-styled section.horeca-order .horeca-order__title,
body.horeca-site-styled section.horeca-order .horeca-order__title a {
	font-family: var(--hc-font);
	color: var(--hc-text);
}

body.horeca-site-styled section.horeca-intro .horeca-intro__content strong {
	font-weight: 700;
	color: var(--hc-text);
}

/* Хаб: отложенная отрисовка блоков ниже первого экрана */
body.horeca-brelki-hub #brelki-derevo,
body.horeca-brelki-hub #brelki-plastic {
	content-visibility: auto;
	contain-intrinsic-size: auto 520px;
}

/* BWS Gallery Plugin (print_gllr): единая сетка вместо 6 рядов с float и inline 252px */
body.horeca-site-styled .gallery_box_single {
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	margin: 1.75rem 0 2rem !important;
	padding: 1.15rem 1rem 1.25rem;
	box-sizing: border-box;
	background: var(--hc-bg, #f5f5f5);
	border: 1px solid var(--hc-border, #e0e0e0);
	border-radius: var(--hc-radius, 16px);
	overflow: hidden;
	clear: both;
}

body.horeca-site-styled .gallery_box_single .gallery.gllr_grid,
body.horeca-site-styled .gallery_box_single .gallery.clearfix {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	flex-direction: unset !important;
}

@media (min-width: 640px) {
	body.horeca-site-styled .gallery_box_single .gallery.gllr_grid,
	body.horeca-site-styled .gallery_box_single .gallery.clearfix {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	body.horeca-site-styled .gallery_box_single .gallery.gllr_grid,
	body.horeca-site-styled .gallery_box_single .gallery.clearfix {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Схлопываем ряды BWS — все .gllr_image_block в одной сетке */
body.horeca-site-styled .gallery.gllr_grid .gllr_image_row,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block,
body.horeca-site-styled .gallery_box_single .gallery.gllr_grid {
	list-style: none !important;
}

.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid li::before,
.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid li::after,
.bd-tagstyles body.horeca-site-styled .gallery_box_single li::before,
.bd-tagstyles body.horeca-site-styled .gallery_box_single li::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_row::before,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_row::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block::before,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block::after {
	content: none !important;
	display: none !important;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_row {
	display: contents;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_block {
	float: none !important;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0 !important;
	padding: 0;
	background: var(--hc-bg-panel, #fff);
	border: 1px solid var(--hc-border, #e0e0e0);
	border-radius: 12px;
	overflow: hidden;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_block > p {
	display: contents !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a {
	display: grid !important;
	grid-template-rows: minmax(11rem, 1fr) auto;
	align-items: center;
	justify-items: center;
	width: 100%;
	min-height: 0;
	padding: 0;
	box-sizing: border-box;
	position: static !important;
	color: inherit !important;
	border: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	background-color: #fff;
	background-image: none;
}

.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a,
.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a:link,
.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a:visited,
.bd-postcontent.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a,
.bd-postcontent.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a:link,
.bd-postcontent.bd-tagstyles body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a:visited {
	background-color: #fff !important;
	background-image: none !important;
	color: inherit !important;
	text-decoration: none !important;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title]:not([title=""])::after {
	content: attr(title);
	grid-row: 2;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.55rem 0.65rem 0.7rem;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	color: var(--hc-text, #222);
	background: var(--hc-bg-panel, #fff);
	border-top: 1px solid var(--hc-border, #e0e0e0);
	box-sizing: border-box;
}

/* EXIF/имя файла вместо подписи — не показывать в сетке */
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title*="2021 "]:not([title=""])::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title*="2020 "]:not([title=""])::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title*="2022 "]:not([title=""])::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title*="2023 "]:not([title=""])::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title*="2024 "]:not([title=""])::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title*="2025 "]:not([title=""])::after,
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block a[title*="2026 "]:not([title=""])::after {
	content: none;
	display: none;
	padding: 0;
	border: none;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_block img {
	grid-row: 1;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: calc(100% - 1.3rem) !important;
	max-height: min(240px, 100%) !important;
	object-fit: contain !important;
	margin: 0 auto !important;
	padding: 0.65rem;
	border: none !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_block img[width],
body.horeca-site-styled .gallery.gllr_grid .gllr_image_block img[height] {
	width: auto !important;
	height: auto !important;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_single_image_text,
body.horeca-site-styled .gallery.gllr_grid .gllr_single_image_text_under {
	width: 100% !important;
	margin: 0;
	padding: 0.55rem 0.65rem 0.7rem;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	color: var(--hc-text, #222);
	background: var(--hc-bg-panel, #fff);
	border: 1px solid var(--hc-border, #e0e0e0);
	border-top: none;
	border-radius: 0 0 12px 12px;
	box-sizing: border-box;
}

body.horeca-site-styled .gallery.gllr_grid .gllr_image_row > .clear,
body.horeca-site-styled .gallery.gllr_grid .gllr_clear {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.horeca-legal h2 {
	margin: 1.75rem 0 0.75rem;
	font-size: 1.15rem;
	line-height: 1.35;
}

.horeca-legal h2:first-child {
	margin-top: 0;
}

.horeca-legal ul {
	margin: 0.5rem 0 1rem;
	padding-left: 1.35rem;
}

.horeca-legal li {
	margin-bottom: 0.35rem;
}

.horeca-legal code {
	font-size: 0.92em;
}
