/* Брендовая посадочная MPKM (custom). Селекторы только внутри .mpkm-brand-page / .catalog-section--mpkm-brand / body.page-shop-brand. */

body.page-shop-brand .main .mpkm-brand-page,
body.page-shop-brand .catalog-section--mpkm-brand {
	max-width: 100%;
	box-sizing: border-box;
}

.mpkm-brand-page {
	--mpkm-brand-accent: #335b84;
	--mpkm-brand-accent-dark: #1f3b57;
	--mpkm-brand-accent-soft: #eef3f8;
	--mpkm-brand-yellow: #fecc2f;
	--mpkm-brand-ok: #2f475f;
	--mpkm-brand-ok-bg: #eff4f8;
	--mpkm-brand-warn: #633806;
	--mpkm-brand-warn-bg: #faeeda;
	--mpkm-brand-border: #dbe5ef;
	--mpkm-brand-text: #0f172a;
	--mpkm-brand-hero-edge: rgba(31, 59, 87, 0.1);
	margin-top: 0.5rem;
	margin-bottom: 0;
}

/* Карточка hero - дизайн Kimi: тёмный фон, белый текст */
.mpkm-brand-page__hero-card {
	position: relative;
	isolation: auto;
	background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
	padding: 1.5rem 3.5rem 1.5rem 1.5rem;
	margin-bottom: 0.75rem;
	overflow: visible;
	border-bottom: 0;
}

/* Share: фиксированный угол карточки hero (вне колонки текста) */
.mpkm-brand-page__hero-card-share {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	z-index: 25;
	width: max-content;
	max-width: calc(100% - 1.2rem);
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.mpkm-brand-page__hero-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 28%;
	height: 100%;
	z-index: 0;
	background: linear-gradient(125deg, transparent 22%, rgba(51, 91, 132, 0.03) 55%, rgba(51, 91, 132, 0.06) 100%);
	pointer-events: none;
	opacity: 0.85;
}

.mpkm-brand-page__hero-card::after {
	display: none;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__hero--unified {
	position: relative;
	z-index: 1;
	border-bottom: 0;
	margin-bottom: 0;
	padding-top: 0.2rem;
	padding-bottom: 0.35rem;
	align-items: center;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__hero-logo-slot {
	border: 1px solid #d7e1ee;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 22px rgba(12, 68, 124, 0.1);
	padding: 0.55rem;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-sizing: border-box;
	width: clamp(8.6rem, 21vw, 10.6rem);
	height: clamp(5.05rem, 12vw, 6.65rem);
	max-width: 100%;
	aspect-ratio: auto;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__h1 {
	font-size: clamp(2.2rem, 4vw, 3.15rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #ffffff;
	text-shadow: none;
}

.mpkm-brand-page__hero-card .shop-list-share--brand-hero .shop-list-share__btn {
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	color: #ffffff;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__btn-kp,
.mpkm-brand-page__hero-card .mpkm-brand-page__btn-price {
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem;
	letter-spacing: 0.01em;
	font-weight: 700;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__btn-kp {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	background: #fecc2f;
	color: #1a1a1a;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__btn-kp:hover {
	filter: brightness(1.05);
}

.mpkm-brand-page__hero-card .mpkm-brand-page__btn-price {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.mpkm-brand-page__hero-card .mpkm-brand-page__btn-price:hover {
	background: rgba(255, 255, 255, 0.2);
}

.mpkm-brand-page__hero-card .mpkm-brand-page__hero-logo-slot .mpkm-brand-page__hero-logo-img {
	max-width: 94%;
	max-height: 84%;
	width: auto;
	height: auto;
	margin: 0;
	display: block;
	object-fit: contain;
	object-position: center center;
	transform: none !important;
}

.mpkm-brand-page--slug-mapei .mpkm-brand-page__hero-logo-img,
.mpkm-brand-page--slug-fibarm .mpkm-brand-page__hero-logo-img,
.mpkm-brand-page--slug-carbonwrap .mpkm-brand-page__hero-logo-img,
.mpkm-brand-page--slug-huntsman .mpkm-brand-page__hero-logo-img {
	max-width: 98%;
	max-height: 90%;
}

.mpkm-brand-page--slug-reks .mpkm-brand-page__hero-logo-slot {
	width: clamp(8rem, 18.5vw, 9.4rem);
}

.mpkm-brand-page--slug-reks .mpkm-brand-page__hero-logo-img {
	max-width: 88%;
	max-height: 88%;
	object-position: center 52%;
}

/* Ручной блок «Категории бренда» (только URL из {rewrite}) */
.mpkm-brand-page__manual-cats {
	margin: 0.65rem 0 0.85rem;
	padding: 0.85rem 1rem 0.95rem;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border: 1px solid #c5d4e6;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.mpkm-brand-page__manual-cats-title {
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--mpkm-brand-accent-dark);
	margin: 0 0 0.55rem;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid var(--mpkm-brand-yellow);
}

.mpkm-brand-page__manual-cats-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
}

.mpkm-brand-page__manual-cats-item {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.mpkm-brand-page__manual-cats-link {
	display: inline-block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--mpkm-brand-accent-dark);
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	border-radius: 8px;
	border: 1px solid #b9cbe0;
	background: #fff;
	transition: background 0.12s, border-color 0.12s;
}

.mpkm-brand-page__manual-cats-link:hover {
	background: var(--mpkm-brand-accent-soft);
	border-color: var(--mpkm-brand-accent);
}

.mpkm-brand-page__manual-cats-rewrite {
	display: block;
	font-size: 0.62rem;
	color: #94a3b8;
	word-break: break-all;
	margin-top: 0.15rem;
	max-width: 18rem;
}

.mpkm-brand-page__badge--in-hero {
	margin-top: 0.35rem;
	font-size: 0.62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff !important;
	background: linear-gradient(90deg, var(--mpkm-brand-accent-dark), var(--mpkm-brand-accent)) !important;
	border: 0 !important;
	padding: 0.32rem 0.75rem;
	border-radius: 5px;
	box-shadow: 0 1px 6px rgba(12, 68, 124, 0.2);
}

.catalog-section--mpkm-brand {
	margin-top: 0;
}

body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav {
	position: sticky;
	top: 12px;
}

.mpkm-brand-page__listing {
	min-width: 0;
	margin: 0 0 0.75rem;
}

/* Левая колонка Категории бренда - стиль Kimi */
.mpkm-brand-page__aside-nav {
	position: sticky;
	top: 10px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

body.page-shop-brand .mpkm-brand-page__aside-nav-body {
	max-height: none;
	overflow: visible;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

@media (max-width: 900px) {
	body.page-shop-brand .mpkm-brand-page__aside-nav-body {
		max-height: none;
	}
}

.mpkm-brand-page__aside-nav-title,
.mpkm-brand-page__aside-nav-summary {
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	color: #111827;
	margin: 0;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #e5e7eb;
	background: #f9fafb;
}

.mpkm-brand-page__aside-nav-list {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

.mpkm-brand-page__aside-nav-item {
	margin: 0;
	padding: 0;
}

.mpkm-brand-page__aside-nav-link {
	display: block;
	padding: 0.6rem 1rem 0.6rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: #374151;
	text-decoration: none;
	line-height: 1.4;
	position: relative;
	transition: all 0.15s ease;
}

.mpkm-brand-page__aside-nav-link::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: transparent;
	transition: background 0.15s ease;
}

.mpkm-brand-page__aside-nav-link:hover {
	color: #111827;
	background: #f3f4f6;
}

.mpkm-brand-page__aside-nav-link:hover::before {
	background: #fecc2f;
}

.mpkm-brand-page__aside-nav-link--active,
.mpkm-brand-page__aside-nav-link--active:hover {
	color: #111827;
	background: #fef3c7;
	font-weight: 500;
}

.mpkm-brand-page__aside-nav-link--active::before,
.mpkm-brand-page__aside-nav-link--active:hover::before {
	background: #fecc2f;
}

/* Accordion для mobile */
details.mpkm-brand-sidebar__cats--accordion > .mpkm-brand-page__aside-nav-summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

details.mpkm-brand-sidebar__cats--accordion > .mpkm-brand-page__aside-nav-summary::-webkit-details-marker {
	display: none;
}

details.mpkm-brand-sidebar__cats--accordion > .mpkm-brand-page__aside-nav-summary::after {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid #6b7280;
	border-bottom: 2px solid #6b7280;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

details.mpkm-brand-sidebar__cats--accordion[open] > .mpkm-brand-page__aside-nav-summary::after {
	transform: rotate(-135deg);
}

@media (min-width: 901px) {
	details.mpkm-brand-sidebar__cats--accordion > .mpkm-brand-page__aside-nav-summary {
		cursor: default;
	}

	details.mpkm-brand-sidebar__cats--accordion > .mpkm-brand-page__aside-nav-summary::after {
		display: none;
	}
}

/* Группировка категорий как в Kimi */
.mpkm-brand-cat-group {
	margin-bottom: 1rem;
}

.mpkm-brand-cat-group:last-child {
	margin-bottom: 0;
}

.mpkm-brand-cat-group__title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #111827;
	padding: 0.5rem 0.75rem 0.5rem 1rem;
	margin: 0 0 0.25rem 0;
	border-left: 3px solid #fecc2f;
	background: #f8fafc;
	border-radius: 0 6px 6px 0;
}

.mpkm-brand-cat-group__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0 0.75rem;
}

.mpkm-brand-cat-group__item {
	margin: 0;
	padding: 0;
}

.mpkm-brand-cat-group__link {
	display: block;
	padding: 0.35rem 0.75rem 0.35rem 0.5rem;
	font-size: 0.9rem;
	font-weight: 400;
	color: #4b5563;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.15s ease;
	line-height: 1.4;
}

.mpkm-brand-cat-group__link:hover {
	color: #1f2937;
	background: #f3f4f6;
	padding-left: 0.75rem;
}

@media (max-width: 900px) {
	.mpkm-brand-cat-group {
		margin-bottom: 0.75rem;
	}

	.mpkm-brand-cat-group__title {
		font-size: 0.9rem;
		padding: 0.4rem 0.5rem 0.4rem 0.75rem;
	}

	.mpkm-brand-cat-group__list {
		padding-left: 0.5rem;
	}

	.mpkm-brand-cat-group__link {
		font-size: 0.85rem;
		padding: 0.3rem 0.5rem;
	}
}

.mpkm-brand-tradehead {
	margin: 0 0 0.55rem;
	padding: 0.5rem 0 0.55rem;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	border-bottom: 0;
}

.mpkm-brand-tradehead > .mpkm-brand-toolbar-unified {
	width: 100%;
	flex: 1 1 100%;
	min-width: 0;
}

@media (min-width: 901px) {
	.mpkm-brand-tradehead {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.45rem;
	}

	.mpkm-brand-tradehead .mpkm-brand-material-tags {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
		border-bottom: 0 !important;
	}

	.mpkm-brand-tradehead .mpkm-brand-sortbar {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		margin-left: 0;
		padding-top: 0.28rem;
		border-top: 0;
	}
}

.mpkm-brand-tradehead .mpkm-brand-material-tags {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.mpkm-brand-tradehead .mpkm-brand-sortbar {
	margin-bottom: 0;
	padding: 0.3rem 0 0;
	border-bottom: 0;
}

.mpkm-brand-tradehead .mpkm-brand-material-tags__list {
	gap: 0.5rem 0.6rem;
}

.mpkm-brand-tradehead .mpkm-brand-material-tags__chip {
	padding: 0.55rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 600;
}

@media (min-width: 901px) {
	.mpkm-brand-tradehead .mpkm-brand-sortbar__inner {
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.5rem 1rem;
	}

	.mpkm-brand-tradehead .mpkm-brand-sortbar__pills {
		flex: 1 1 auto;
		min-width: 0;
	}

	.mpkm-brand-tradehead .mpkm-brand-sortbar__pill--popular {
		font-weight: 800;
		border-width: 2px;
	}
}

/* Материалы + сортировка (без «на странице») */
.mpkm-brand-toolbar-unified {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem 0.5rem;
	margin: 0 0 0.45rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

@media (max-width: 900px) {
	.mpkm-brand-toolbar-unified {
		padding: 0;
		gap: 0.32rem;
	}
}

/* Плоская панель над товарами — без «коробки» */
.mpkm-brand-toolbar-unified--surface {
	background: rgba(252, 252, 253, 0.96);
	box-shadow: none;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 10px;
	padding: 0.38rem 0.48rem 0.44rem;
	gap: 0.32rem;
}

.mpkm-brand-toolbar-unified .mpkm-brand-material-tags--compact {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 0.28rem 0.42rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.mpkm-brand-toolbar-unified .mpkm-brand-material-tags--compact .mpkm-brand-material-tags__head {
	margin: 0;
	flex: 0 0 auto;
	opacity: 0.88;
}

.mpkm-brand-toolbar-unified .mpkm-brand-material-tags__list--primary {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.mpkm-brand-toolbar-unified .mpkm-brand-material-tags__toggle {
	margin-top: 0 !important;
	align-self: center;
}

.mpkm-brand-toolbar-unified__materials {
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
}

/* Десктоп: два полных ряда — материалы не сжимаются в «столбик», сортировка не уезжает в узкую колонку */
@media (min-width: 901px) {
	.mpkm-brand-toolbar-unified {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}

	.mpkm-brand-toolbar-unified__materials {
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		order: 1;
	}

	.mpkm-brand-toolbar-unified__controls {
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		order: 2;
		margin-left: 0;
		padding-left: 0;
		border-left: 0;
		padding-top: 0.32rem;
		margin-top: 0.05rem;
		border-top: 0;
	}
}

@media (max-width: 900px) {
	.mpkm-brand-toolbar-unified__controls {
		padding-left: 0;
		border-left: 0;
		padding-top: 0.28rem;
		border-top: 0;
		width: 100%;
	}
}

.mpkm-brand-toolbar-unified .mpkm-brand-material-tags {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.mpkm-brand-toolbar-unified .mpkm-brand-sortbar {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.mpkm-brand-sortbar__hint {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
	line-height: 1.35;
}

.mpkm-brand-sortbar__count {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.2;
	color: #64748b;
	white-space: nowrap;
	padding-left: 0.35rem;
}

@media (max-width: 900px) {
	.mpkm-brand-sortbar__count {
		width: auto;
		margin: 0;
		padding-left: 0.3rem;
		font-size: 0.84rem;
	}
}

.mpkm-brand-page__aside-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.12rem 0;
}

.mpkm-brand-page__aside-nav-item {
	border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.mpkm-brand-page__aside-nav-item:last-child {
	border-bottom: 0;
}

.mpkm-brand-page__aside-nav-link {
	display: block;
	padding: 0.34rem 0.28rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: #475569;
	text-decoration: none;
	border-radius: 8px;
	line-height: 1.45;
}

.mpkm-brand-page__aside-nav-link:hover {
	background: #e8f2fc;
	color: var(--mpkm-brand-accent-dark);
	box-shadow: inset 3px 0 0 var(--mpkm-brand-accent);
}

.mpkm-brand-page__catalog-main {
	min-width: 0;
}

.mpkm-brand-page__catalog-main .js_shop_list.is-loading {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

/* Фильтр бренда: классы mpkm-bfv2, файл /custom/mpkm/css/mpkm-brand-filter.css */

@media (max-width: 900px) {
	body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav {
		position: static;
		padding: 0.5rem 0.48rem 0.52rem;
	}

	body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav-link {
		padding: 0.52rem 0.42rem;
		border-radius: 8px;
	}

	.mpkm-brand-page__aside-nav-item {
		border-bottom-color: rgba(241, 245, 249, 0.95);
	}

	details.mpkm-brand-sidebar__cats--accordion .mpkm-brand-page__aside-nav-summary {
		margin-bottom: 0.2rem;
	}
}

/* ========== A — Hero (идентичность + статус/тезис/преимущества из админки) ========== */
.mpkm-brand-page__hero--unified {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.85rem 1.15rem;
	padding: 0.5rem 0 0.75rem;
	margin-bottom: 0;
	border-bottom: 0;
}

.mpkm-brand-page__hero-headrow {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

.mpkm-brand-page__hero-main {
	position: relative;
	min-width: 0;
}

.mpkm-brand-page__hero-topbar {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 0.15rem;
	padding-right: 0;
	min-height: 0;
}

.mpkm-brand-page__hero-share--topcorner {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	z-index: 6;
	width: max-content;
	max-width: min(100%, calc(100% - 0.5rem));
	padding: 0.12rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow: 0 1px 5px rgba(15, 23, 42, 0.06);
	backdrop-filter: blur(6px);
}

.mpkm-brand-page__hero-headrow-text {
	min-width: 0;
	flex: 1 1 auto;
}

.mpkm-brand-page__hero-share {
	position: relative;
	z-index: 5;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.12rem;
	margin-top: 0.15rem;
}

.mpkm-brand-page__hero-share-label {
	font-size: 0.52rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.11em;
	color: #64748b;
	white-space: nowrap;
}

.mpkm-brand-page__hero-logo {
	flex-shrink: 0;
	align-self: center;
}

/* Квадратный слот логотипа: одинаковая геометрия для всех брендов */
.mpkm-brand-page__hero-logo-slot {
	--mpkm-brand-logo-slot-w: clamp(7.75rem, 18vw, 9.6rem);
	--mpkm-brand-logo-slot-h: clamp(4.6rem, 10.5vw, 6rem);
	position: relative;
	box-sizing: border-box;
	width: var(--mpkm-brand-logo-slot-w);
	height: var(--mpkm-brand-logo-slot-h);
	max-width: var(--mpkm-brand-logo-slot-w);
	max-height: var(--mpkm-brand-logo-slot-h);
	flex-shrink: 0;
	display: grid;
	place-items: center;
	padding: 0;
	background: #fff;
	border: 1px solid #d7e1ee;
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(15, 23, 42, 0.05);
	overflow: hidden;
}

.mpkm-brand-page__hero-logo-slot--placeholder {
	border-style: dashed;
	background: #f8fafc;
	color: #64748b;
	font-size: clamp(1.35rem, 5vw, 2rem);
	font-weight: 800;
}

.mpkm-brand-page__hero-logo-ph {
	line-height: 1;
}

.mpkm-brand-page__hero-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 94%;
	max-height: 84%;
	margin: 0;
	object-fit: contain;
	object-position: center center;
	transform: none !important;
	flex-shrink: 0;
}

.mpkm-brand-page__h1 {
	font-size: clamp(1.55rem, 3.2vw, 2.2rem);
	font-weight: 800;
	color: var(--mpkm-brand-text);
	margin: 0;
	line-height: 1.1;
	letter-spacing: -0.038em;
}

.mpkm-brand-page__hero-count {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #475569;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__hero-count {
	font-size: 1rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0;
}

.mpkm-brand-page__hero-card .mpkm-brand-page__hero-thesis {
	font-size: 1.05rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
	max-width: 48rem;
	line-height: 1.5;
}

.mpkm-brand-page__hero .mpkm-brand-page__badge {
	margin-top: 0.45rem;
	margin-bottom: 0;
}

.mpkm-brand-page__hero-thesis {
	margin: 0.45rem 0 0;
	font-size: 1.02rem;
	line-height: 1.42;
	color: #1e293b;
	max-width: 46rem;
	font-weight: 500;
}

.mpkm-brand-page__hero-benefits {
	margin: 0.55rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	max-width: 48rem;
}

@media (max-width: 560px) {
	.mpkm-brand-page__hero-benefits {
		flex-direction: column;
		gap: 0.25rem;
	}
}

.mpkm-brand-page__hero-benefits li {
	position: relative;
	padding-left: 1.2rem;
	font-size: 0.9rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.85);
}

.mpkm-brand-page__hero-benefits li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent;
	opacity: 1;
	color: #fecc2f;
	font-weight: 700;
	font-size: 0.95rem;
}

.mpkm-brand-page__hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.65rem;
	margin-top: 0.55rem;
}

.mpkm-brand-page__hero-card-share .shop-list-share__btn,
.mpkm-brand-page__hero-share .shop-list-share__btn {
	opacity: 0.92;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 10px;
	border: 1px solid rgba(148, 163, 184, 0.45);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mpkm-brand-page__hero-card-share .shop-list-share__btn svg,
.mpkm-brand-page__hero-share .shop-list-share__btn svg {
	width: 1.15rem;
	height: 1.15rem;
}

/* Шаринг в углу карточки (перебиваем mpkm-fixes) */
.mpkm-brand-page__hero-card .shop-list-share--brand-hero {
	position: relative;
	z-index: 8;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	width: auto;
	max-width: 100%;
}

body.page-shop-brand .mpkm-brand-page__hero-card .shop-list-share--brand-hero .shop-list-share__btn {
	width: 2.4rem;
	height: 2.4rem;
	min-width: 2.4rem;
	min-height: 2.4rem;
	padding: 0;
	border-radius: 10px;
}

@media (max-width: 640px) {
	body.page-shop-brand .mpkm-brand-page__hero-card .shop-list-share--brand-hero .shop-list-share__btn {
		width: 2.65rem;
		height: 2.65rem;
		min-width: 2.65rem;
		min-height: 2.65rem;
		border-width: 2px;
		border-color: rgba(24, 95, 165, 0.38);
	}
}

.mpkm-brand-page__hero-card .shop-list-share--brand-hero .shop-list-share__dropdown {
	position: absolute;
	top: auto;
	bottom: calc(100% + 8px);
	right: 0;
	left: auto;
	min-width: 11.5rem;
	max-width: min(17.5rem, calc(100vw - 1.5rem));
	margin: 0;
	z-index: 120;
	border-radius: 10px;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
	background: #fff;
	border: 1px solid rgba(148, 163, 184, 0.4);
}

/* JS (hero): fixed — не режется overflow hero, не наезжает на объекты */
.mpkm-brand-page__hero-card .shop-list-share--brand-hero .shop-list-share__dropdown.shop-list-share__dropdown--fixed {
	position: fixed !important;
	min-width: 11rem;
}

@media (max-width: 560px) {
	.mpkm-brand-page__hero-card .shop-list-share--brand-hero .shop-list-share__dropdown {
		bottom: calc(100% + 8px);
		right: 0;
	}
}

.mpkm-brand-page__badge {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0.22rem 0.65rem;
	border-radius: 999px;
	margin-bottom: 0;
	letter-spacing: 0.02em;
	text-transform: none;
}

.mpkm-brand-page__badge--distributor,
.mpkm-brand-page__badge--partner {
	background: var(--mpkm-brand-accent-soft);
	color: #0c447c;
	border: 1px solid #85b7eb;
}

.mpkm-brand-page__badge--supply {
	background: var(--mpkm-brand-warn-bg);
	color: var(--mpkm-brand-warn);
	border: 1px solid #e7c48a;
}

.mpkm-brand-page__badge--engineering {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #cbd5e1;
}

.mpkm-brand-page__btn-kp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.98rem;
	font-weight: 800;
	padding: 0.72rem 1.35rem;
	border-radius: 10px;
	background: linear-gradient(180deg, #ffd95a 0%, #fecc2f 100%);
	color: #1a1a1a;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 6px 16px rgba(254, 204, 47, 0.34);
}

.mpkm-brand-page__btn-kp:hover {
	filter: brightness(0.98);
}

.mpkm-brand-page__btn-price {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.94rem;
	font-weight: 700;
	padding: 0.62rem 1.18rem;
	border-radius: 10px;
	background: var(--mpkm-brand-ok-bg);
	color: var(--mpkm-brand-ok);
	border: 1px solid #c6d5e3;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.mpkm-brand-page__btn-price:hover {
	filter: brightness(0.98);
}

/* ========== C — CTA (Kimi дизайн) ========== */
.mpkm-brand-page__block-b {
	display: flex;
	align-items: center;
	gap: 1rem;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin: 0 0 0.75rem;
}

.mpkm-brand-page__cta-band.mpkm-brand-page__block-b {
	background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
	border: 1px solid #d1d9e0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mpkm-brand-page__cta-band .mpkm-brand-page__block-b-icon {
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
	box-shadow: 0 2px 8px rgba(75, 85, 99, 0.2);
}

.mpkm-brand-page__cta-band .mpkm-brand-page__block-b-text strong {
	color: #1a202c;
	font-weight: 600;
}

.mpkm-brand-page__cta-band .mpkm-brand-page__block-b-text span {
	color: #4a5568;
}

.mpkm-brand-page__cta-band .mpkm-brand-page__btn-cta {
	background: #fecc2f;
	color: #1a1a1a;
	border: none;
	box-shadow: 0 2px 8px rgba(254, 204, 47, 0.3);
}

.mpkm-brand-page__cta-band .mpkm-brand-page__btn-cta:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.mpkm-brand-page__block-b-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 10px;
	background: var(--mpkm-brand-accent);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mpkm-brand-page__block-b-icon svg {
	width: 1.5rem;
	height: 1.5rem;
	fill: #fff;
}

.mpkm-brand-page__block-b-text {
	flex: 1 1 200px;
	min-width: 0;
}

.mpkm-brand-page__block-b-text strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 0.15rem;
	line-height: 1.4;
}

.mpkm-brand-page__block-b-text span {
	font-size: 0.9rem;
	line-height: 1.45;
}

.mpkm-brand-page__btn-cta {
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.65rem 1.25rem;
	border-radius: 8px;
	background: var(--mpkm-brand-accent);
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	border: 0;
	cursor: pointer;
	transition: all 0.15s ease;
}

@media (max-width: 640px) {
	.mpkm-brand-page__cta-band.mpkm-brand-page__block-b {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
		padding: 1rem;
	}

	.mpkm-brand-page__cta-band .mpkm-brand-page__btn-cta {
		white-space: normal;
		text-align: center;
		width: 100%;
		line-height: 1.35;
		padding: 0.75rem 1rem;
	}
}

/* ========== D — Объекты (Kimi стиль) ========== */
/* Инженерное сопровождение — над блоком объектов */
.mpkm-brand-page__engineering-lead {
	margin: 0.5rem 0 0.65rem;
	padding: 0.65rem 0.85rem;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.5;
	color: #4a5568;
	background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.mpkm-brand-page__engineering-lead strong {
	color: #1a202c;
	font-weight: 600;
}

@media (max-width: 640px) {
	.mpkm-brand-page__engineering-lead {
		font-size: 0.85rem;
		padding: 0.55rem 0.7rem;
		margin-bottom: 0.55rem;
	}
}

.mpkm-brand-page__objects {
	margin: 0 0 0.5rem;
}

.mpkm-brand-page__objects--under-hero {
	margin-top: 0.15rem;
	margin-bottom: 0.5rem;
}

@media (max-width: 560px) {
	.mpkm-brand-page__objects--under-hero {
		margin-bottom: 0.35rem;
	}

	.mpkm-brand-page__objects-grid {
		gap: 0.5rem;
	}

	.mpkm-brand-page__obj-body {
		padding: 0.52rem 0.62rem 0.62rem;
		min-height: 0;
	}
}

.mpkm-brand-page__objects--full {
	margin-bottom: 0.65rem;
}

.mpkm-brand-page__objects-title {
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	margin: 0 0 0.65rem;
}

.mpkm-brand-page__objects-grid {
	display: grid;
	gap: 0.75rem;
	align-items: start;
	grid-auto-rows: auto;
}

/* Ровно витрина 1–3 карточки: на широком экране до 3 колонок */
.mpkm-brand-page__objects-grid--n3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mpkm-brand-page__objects-grid--n2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.mpkm-brand-page__objects-grid--n1 {
	grid-template-columns: minmax(0, 18rem);
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 720px) {
	.mpkm-brand-page__objects-grid--n1,
	.mpkm-brand-page__objects-grid--n2,
	.mpkm-brand-page__objects-grid--n3 {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.65rem;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 0.2rem;
		margin-left: 0;
		margin-right: 0;
		max-width: none;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.mpkm-brand-page__objects-grid--n1 .mpkm-brand-page__obj-card,
	.mpkm-brand-page__objects-grid--n2 .mpkm-brand-page__obj-card,
	.mpkm-brand-page__objects-grid--n3 .mpkm-brand-page__obj-card {
		flex: 0 0 min(86vw, 17.5rem);
		scroll-snap-align: start;
		max-width: none;
	}
}

.mpkm-brand-page__obj-card {
	/* Kimi стиль карточек объектов */
	position: relative;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: grid;
	grid-template-rows: auto auto;
	min-height: 0;
	height: auto;
	align-self: start;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.mpkm-brand-page__obj-card::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: 10px;
	border: 4px solid #fecc2f;
	border-radius: 10px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.16s ease;
	z-index: 3;
}

.mpkm-brand-page__obj-card--link:hover {
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	border-color: #fecc2f;
	background: #ffffff;
}

.mpkm-brand-page__obj-card--link:hover::after,
.mpkm-brand-page__obj-card--link:focus-visible::after {
	opacity: 1;
}

.mpkm-brand-page__obj-card--link:hover .mpkm-brand-page__obj-thumb-wrap::after {
	display: none;
}

.mpkm-brand-page__obj-card--link {
	display: grid;
	grid-template-rows: auto auto;
	min-height: 0;
	height: auto;
	align-self: start;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.mpkm-brand-page__obj-card--link:hover,
.mpkm-brand-page__obj-card--link:focus-visible {
	color: inherit;
	text-decoration: none;
}

.mpkm-brand-page__obj-thumb-wrap {
	display: block;
	position: relative;
	z-index: auto;
	height: 10.25rem;
	overflow: hidden;
	flex-shrink: 0;
	border-bottom: 1px solid #bdc3c7;
	box-sizing: border-box;
}

.mpkm-brand-page__obj-thumb {
	position: relative;
	height: 10.25rem;
	min-height: 10.25rem;
	max-height: 10.25rem;
	background: #fff;
	border-bottom: 0;
	overflow: hidden;
}

.mpkm-brand-page__obj-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.mpkm-brand-page__obj-thumb-wrap--placeholder .mpkm-brand-page__obj-thumb {
	background: linear-gradient(135deg, #e8ecf1 0%, #f1f5f9 45%, #e2e8f0 100%);
}

.mpkm-brand-page__obj-thumb-wrap--placeholder .mpkm-brand-page__obj-thumb img {
	object-fit: contain;
	object-position: center;
	padding: 0.5rem;
	opacity: 0.55;
	filter: grayscale(0.25);
}

.mpkm-brand-page__obj-body {
	padding: 0.65rem 0.75rem 0.72rem;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-height: 0;
	height: auto;
	justify-content: flex-start;
	background: #fff;
	position: relative;
	z-index: auto;
	box-sizing: border-box;
}

/* Теги материалов бренда (над сеткой товаров) */
.mpkm-brand-material-tags {
	margin: 0 0 0.5rem;
	padding: 0 0 0.35rem;
	border-bottom: 0;
}

.mpkm-brand-material-tags__head {
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	margin: 0 0 0.5rem;
}


.mpkm-brand-material-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.46rem 0.56rem;
}

@media (max-width: 560px) {
	.mpkm-brand-material-tags:not(:has(.mpkm-brand-material-tags__toggle)) .mpkm-brand-material-tags__list--primary {
		max-height: none;
		overflow: visible;
	}

	.mpkm-brand-toolbar-unified .mpkm-brand-material-tags__list--primary {
		max-height: none;
		overflow: visible;
	}
}

.mpkm-brand-material-tags__list--extra {
	margin-top: 0.35rem;
}

.mpkm-brand-material-tags__list--extra[hidden] {
	display: none !important;
}

.mpkm-brand-material-tags__list--extra:not([hidden]) {
	display: flex;
	flex-wrap: wrap;
	gap: 0.46rem 0.56rem;
}

.mpkm-brand-material-tags__toggle {
	margin-top: 0.45rem;
	display: inline-flex;
	align-items: center;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #ffffff;
	color: #334155;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	padding: 0.62rem 1.02rem;
	text-decoration: none;
}

/* Чипы материалов и сортировка в одном размерном языке */
body.page-shop-brand .mpkm-brand-toolbar-unified .mpkm-brand-sortbar__pill,
body.page-shop-brand .mpkm-brand-toolbar-unified .mpkm-brand-material-tags__chip,
body.page-shop-brand .mpkm-brand-toolbar-unified .mpkm-brand-material-tags__toggle {
	min-height: 42px;
	padding: 0.58rem 1rem;
	font-size: 0.95rem;
	border-radius: 999px;
	line-height: 1.2;
}

.mpkm-brand-material-tags__toggle:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #0f172a;
}

.mpkm-brand-material-tags__toggle-label--less[hidden],
.mpkm-brand-material-tags__toggle-label--more[hidden] {
	display: none;
}

.mpkm-brand-material-tags__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.56rem;
	padding: 0.72rem 1.08rem;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.2;
	color: #2d3748;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #ffffff;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.15s ease;
}

button.mpkm-brand-material-tags__chip,
a.mpkm-brand-material-tags__chip {
	-webkit-appearance: none;
	appearance: none;
	text-align: center;
	box-sizing: border-box;
}

a.mpkm-brand-material-tags__chip:visited {
	color: inherit;
}

.mpkm-brand-material-tags__chip:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #1a202c;
}

.mpkm-brand-material-tags__chip--active {
	border-color: #1f2937;
	background: #1f2937;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(31, 41, 55, 0.22);
	font-weight: 600;
}

.mpkm-brand-material-tags__chip-text {
	display: inline-block;
}

.mpkm-brand-material-tags__chip-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.55rem;
	padding: 0.12rem 0.42rem;
	border-radius: 999px;
	font-size: 0.72em;
	font-weight: 700;
	line-height: 1.2;
	background: #f1f5f9;
	color: #475569;
}

.mpkm-brand-material-tags__chip--active .mpkm-brand-material-tags__chip-count {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

/* Brand chips readability: active state must stay white on dark */
body.page-shop-brand .mpkm-brand-material-tags a.active,
body.page-shop-brand .mpkm-brand-material-tags a.is-active,
body.page-shop-brand .mpkm-brand-material-tags a.selected,
body.page-shop-brand .mpkm-brand-material-tags a[aria-current="true"],
body.page-shop-brand .mpkm-brand-material-tags .active,
body.page-shop-brand .mpkm-brand-material-tags .is-active,
body.page-shop-brand .mpkm-brand-material-tags .selected,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-material-tags__chip--active,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-material-tags__link--active,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-chip--active {
	color: #fff !important;
}

body.page-shop-brand .mpkm-brand-material-tags a.active *,
body.page-shop-brand .mpkm-brand-material-tags a.is-active *,
body.page-shop-brand .mpkm-brand-material-tags a.selected *,
body.page-shop-brand .mpkm-brand-material-tags a[aria-current="true"] *,
body.page-shop-brand .mpkm-brand-material-tags .active *,
body.page-shop-brand .mpkm-brand-material-tags .is-active *,
body.page-shop-brand .mpkm-brand-material-tags .selected *,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-material-tags__chip--active *,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-material-tags__link--active *,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-chip--active * {
	color: #fff !important;
}

body.page-shop-brand .mpkm-brand-material-tags a.active .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags a.is-active .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags a.selected .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags a[aria-current="true"] .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags .active .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags .is-active .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags .selected .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-material-tags__chip--active .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-material-tags__link--active .mpkm-brand-material-tags__chip-count,
body.page-shop-brand .mpkm-brand-material-tags .mpkm-brand-chip--active .mpkm-brand-material-tags__chip-count {
	background: rgba(255, 255, 255, .16) !important;
	color: #fff !important;
}

@media (max-width: 640px) {
	.mpkm-brand-material-tags__chip {
		font-size: 0.88rem;
		padding: 0.52rem 0.78rem;
		gap: 0.35rem;
	}

	.mpkm-brand-material-tags__note {
		font-size: 0.68rem;
	}

	body.page-shop-brand .mpkm-brand-toolbar-unified--surface .mpkm-brand-material-tags__list--primary {
		gap: 0.3rem 0.4rem;
	}

	body.page-shop-brand .mpkm-brand-toolbar-unified .mpkm-brand-sortbar__pill,
	body.page-shop-brand .mpkm-brand-toolbar-unified .mpkm-brand-material-tags__chip,
	body.page-shop-brand .mpkm-brand-toolbar-unified .mpkm-brand-material-tags__toggle {
		min-height: 38px;
		padding: 0.5rem 0.78rem;
		font-size: 0.88rem;
	}
}

.mpkm-brand-page__obj-title {
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 0.92rem;
	margin: 0;
	line-height: 1.28;
	color: #0f172a;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	flex: 0 0 auto;
	min-height: calc(1.28em * 2);
	max-height: calc(1.28em * 2);
	word-break: break-word;
	overflow-wrap: anywhere;
}

.mpkm-brand-page__obj-card--link:hover .mpkm-brand-page__obj-title,
.mpkm-brand-page__obj-card--link:focus-visible .mpkm-brand-page__obj-title {
	color: #0f172a;
	text-decoration: none;
}

.mpkm-brand-page__obj-meta {
	font-size: 0.78rem;
	color: #64748b;
	margin: 0;
	margin-top: 0;
	padding-top: 0;
	line-height: 1.35;
	display: block;
	flex: 0 0 auto;
	min-height: 1.35em;
}

.mpkm-brand-page__obj-more {
	display: block;
	text-align: right;
	font-size: 0.88rem;
	font-weight: 600;
	margin-top: 0.5rem;
	color: var(--mpkm-brand-accent);
	text-decoration: none;
}

.mpkm-brand-page__obj-more:hover {
	text-decoration: underline;
}

/* ========== Сетка каталога v3: слева категории | справа фильтр + товары ========== */
.mpkm-brand-page__layout-2col {
	display: grid;
	grid-template-columns: minmax(248px, 278px) minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	gap: 0.85rem 1.15rem;
	align-items: start;
	margin: 0 0 1rem;
}

.mpkm-brand-page__layout-2col > .mpkm-brand-page__cat-nav {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: start;
}

.mpkm-brand-page__layout-2col > .mpkm-brand-page__col-main {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.mpkm-brand-page__layout-single {
	margin: 0 0 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.mpkm-brand-page__products-wrap {
	min-width: 0;
}

/* Левая колонка категорий */
.mpkm-brand-page__cat-nav {
	position: sticky;
	top: 88px;
	list-style: none;
	background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
	border: 1px solid #b9cbe0;
	border-radius: 10px;
	padding: 0.65rem 0.65rem 0.55rem;
	box-shadow: 0 4px 18px rgba(12, 52, 92, 0.08), inset 0 1px 0 #fff;
}

.mpkm-brand-page__cat-nav > summary::-webkit-details-marker {
	display: none;
}

.mpkm-brand-page__cat-nav-toggle {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--mpkm-brand-accent-dark);
	padding: 0.65rem 0.85rem;
	margin: -0.65rem -0.65rem 0.5rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid #c5d4e6;
	user-select: none;
}

.mpkm-brand-page__cat-nav-toggle::after {
	content: "";
	flex-shrink: 0;
	width: 0.45em;
	height: 0.45em;
	border-right: 2px solid var(--mpkm-brand-accent);
	border-bottom: 2px solid var(--mpkm-brand-accent);
	transform: rotate(45deg);
	transition: transform 0.15s;
}

.mpkm-brand-page__cat-nav[open] > .mpkm-brand-page__cat-nav-toggle::after {
	transform: rotate(-135deg);
}

@media (min-width: 901px) {
	.mpkm-brand-page__cat-nav-toggle {
		display: none;
	}
}

.mpkm-brand-page__cat-nav-title-desktop {
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--mpkm-brand-accent-dark);
	margin: 0 0 0.35rem;
	padding: 0.45rem 0.55rem 0.55rem;
	border-bottom: 2px solid var(--mpkm-brand-accent);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 8px 8px 0 0;
}

.mpkm-brand-page__cat-nav-hint {
	font-size: 0.62rem;
	line-height: 1.35;
	color: #6b7a8f;
	margin: -0.1rem 0 0.45rem;
	font-weight: 500;
}

.mpkm-brand-page__cat-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mpkm-brand-page__cat-nav-item {
	border-bottom: 1px solid #e2e8f0;
}

.mpkm-brand-page__cat-nav-item:last-child {
	border-bottom: 0;
}

.mpkm-brand-page__cat-nav-link {
	display: block;
	padding: 0.45rem 0.45rem 0.45rem 0.55rem;
	text-decoration: none;
	color: #1e293b;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
	border-radius: 8px;
	transition: background 0.12s, color 0.12s, box-shadow 0.12s;
}

.mpkm-brand-page__cat-nav-link:hover {
	background: #e8f2fc;
	color: var(--mpkm-brand-accent-dark);
	box-shadow: inset 3px 0 0 var(--mpkm-brand-accent);
}

.mpkm-brand-page__cat-nav-link--current {
	background: #e8f2fc;
	color: var(--mpkm-brand-accent-dark);
	box-shadow: inset 3px 0 0 var(--mpkm-brand-accent);
}

.mpkm-brand-page__cat-nav-link--all {
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--mpkm-brand-accent-dark);
	background: linear-gradient(90deg, rgba(254, 204, 47, 0.22), rgba(254, 204, 47, 0.04));
	margin-bottom: 0.1rem;
}

.mpkm-brand-page__cat-nav-link--all:hover {
	background: linear-gradient(90deg, rgba(254, 204, 47, 0.35), rgba(230, 241, 251, 0.9));
}

.mpkm-brand-page__cat-nav-count {
	display: block;
	font-size: 0.72rem;
	font-weight: 400;
	color: #64748b;
	margin-top: 0.1rem;
}

.mpkm-brand-page__cat-nav-path {
	display: block;
	font-size: 0.58rem;
	color: #94a3b8;
	word-break: break-all;
	margin-top: 0.1rem;
	line-height: 1.3;
}

/* Технический фильтр: базовые стили в /custom/mpkm/css/mpkm-brand-filter.css */

/* Нижняя витрина (фильтр + товары): не тянуть оформление старого каталога / NSV */
body.page-shop-brand .catalog-section--mpkm-brand .filter,
body.page-shop-brand .catalog-section--mpkm-brand .settings-d,
body.page-shop-brand .catalog-section--mpkm-brand .setting-d_sort,
body.page-shop-brand .catalog-section--mpkm-brand .setting-d_views,
body.page-shop-brand .catalog-section--mpkm-brand .setting-d_filter,
body.page-shop-brand .catalog-section--mpkm-brand .shop_search,
body.page-shop-brand .catalog-section--mpkm-brand #filternsv,
body.page-shop-brand .catalog-section--mpkm-brand form.js_shop_search_form,
body.page-shop-brand .catalog-section--mpkm-brand .filter__items-per-page,
body.page-shop-brand .catalog-section--mpkm-brand .js-select-nastr {
	display: none !important;
}

body.page-shop-brand .mpkm-brand-page__shop-stack {
	isolation: auto;
	padding-top: 0.1rem;
}

body.page-shop-brand .mpkm-brand-page__products-wrap {
	margin-top: 0.45rem;
}

/* Карточки товаров: одинаковая высота, футер карточки внизу */
body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .grid4__item.pr-block__item {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-height: 0;
	height: auto;
}

/* Микроразметка не участвует в flex-раскладке карточки */
body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__item > meta[itemprop="position"],
body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__item > div[itemscope] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: auto;
	gap: 14px 14px;
	align-items: start;
	align-content: start;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	min-height: 0 !important;
}

/* Мало товаров — без «полотна» пустой сетки */
body.page-shop-brand .mpkm-brand-page__products-wrap {
	min-height: 0;
}

body.page-shop-brand .catalog-section--mpkm-brand .js_shop_list {
	min-height: 0 !important;
}

@media (max-width: 900px) {
	body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__info {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__item > form.js_shop_form.pr-block__tocart {
	margin-top: auto;
	width: 100%;
	align-self: stretch;
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__presents__table {
	margin-top: auto;
	min-height: 3.15rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__pic {
	flex-shrink: 0;
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__title {
	min-height: 2.64em;
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	line-height: 1.28;
}

body.page-shop-brand .catalog-section--mpkm-brand .js-catalog__list .pr-block__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	line-height: 1.35;
	min-height: 0;
	max-height: 4.05em;
}

/* Левая колонка Категории бренда - Kimi стиль */
body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	padding: 0.75rem;
}

body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav-title,
body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav-summary {
	color: #1a202c;
	font-size: 0.9rem;
	font-weight: 600;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 0.6rem;
	margin-bottom: 0.6rem;
}

body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav-link {
	font-size: 0.95rem;
	font-weight: 500;
	color: #2d3748;
	padding: 0.6rem 0.5rem;
	border-bottom: 1px solid #f1f5f9;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.45;
	border-radius: 6px;
	transition: all 0.12s ease;
}

body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav-link:hover {
	background: #f7fafc;
	color: #1a202c;
	box-shadow: inset 2px 0 0 #fecc2f;
}

.mpkm-brand-page__nsv-wrap {
	margin: 0;
	padding: 0.55rem 0.85rem 0.75rem;
	background: transparent;
	border: 0;
}

.mpkm-brand-page__nsv-wrap--technical {
	opacity: 0.97;
}

.catalog-section--mpkm-brand .mpkm-brand-page__nsv-wrap #filternsv,
.catalog-section--mpkm-brand .mpkm-brand-page__nsv-wrap .shop_search,
.catalog-section--mpkm-brand .mpkm-brand-page__nsv-wrap form.js_shop_search_form {
	margin-top: 0;
}

.catalog-section--mpkm-brand .mpkm-brand-page__nsv-wrap .shop-search.loaded-nsv > h3.margin-bottom-15:first-child {
	font-size: 0.82rem !important;
	color: #64748b !important;
	margin-top: 0 !important;
	margin-bottom: 0.5rem !important;
	font-weight: 600 !important;
}

.catalog-section--mpkm-brand .mpkm-brand-page__nsv-wrap .wrap_filter_block.width-100:first-of-type {
	margin-top: 0.15rem;
}

.catalog-section--mpkm-brand .mpkm-brand-page__nsv-wrap .shop_search_param,
.catalog-section--mpkm-brand .mpkm-brand-page__nsv-wrap .js_shop_search_param {
	font-size: 0.88rem;
}

.catalog-section--mpkm-brand .js_shop_list {
	margin-top: 0.25rem;
}

.side-nav .menu__item.mpkm-brand-menu__skip {
	display: none;
}

.side-nav .menu__item > a.mpkm-brand-menu__muted {
	pointer-events: none;
	color: #64748b;
	cursor: default;
	text-decoration: none;
}

body.page-shop-brand aside.aside-left > section.side-product {
	display: none !important;
}

@media (max-width: 900px) {
	.mpkm-brand-page__layout-2col {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}

	.mpkm-brand-page__layout-2col > .mpkm-brand-page__cat-nav {
		position: static;
		width: 100%;
		max-width: none;
		order: 1;
	}

	.mpkm-brand-page__layout-2col > .mpkm-brand-page__col-main {
		width: 100%;
		order: 2;
	}
}

@media (max-width: 640px) {
	.mpkm-brand-page__hero-card {
		padding: 1rem 1.25rem;
		margin-bottom: 0.65rem;
		border-radius: 12px;
	}

	.mpkm-brand-page__hero-card-share {
		top: 0.65rem;
		right: 0.65rem;
	}

	.mpkm-brand-page__hero--unified {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.85rem;
		padding-bottom: 0.25rem;
	}

	.mpkm-brand-page__hero-logo {
		justify-self: center;
	}

	.mpkm-brand-page__hero-logo-slot {
		--mpkm-brand-logo-slot-w: clamp(7rem, 48vw, 8rem);
		--mpkm-brand-logo-slot-h: clamp(4.2rem, 28vw, 5rem);
	}

	.mpkm-brand-page__hero-card .mpkm-brand-page__hero-logo-slot {
		padding: 0.4rem;
		border-radius: 12px;
	}

	.mpkm-brand-page__hero-card .mpkm-brand-page__h1 {
		font-size: clamp(1.6rem, 7vw, 2rem);
		text-align: center;
	}

	.mpkm-brand-page__hero-card .mpkm-brand-page__hero-count {
		font-size: 0.9rem;
		text-align: center;
	}

	.mpkm-brand-page__hero-thesis {
		font-size: 0.9rem;
		margin-top: 0.5rem;
		line-height: 1.45;
		text-align: center;
	}

	.mpkm-brand-page__hero-benefits {
		justify-content: center;
	}

	.mpkm-brand-page__hero-benefits li {
		font-size: 0.85rem;
		text-align: center;
		padding-left: 0;
	}

	.mpkm-brand-page__hero-benefits li::before {
		position: static;
		display: inline-block;
		margin-right: 0.35rem;
	}

	.mpkm-brand-page__hero-actions {
		width: 100%;
		margin-top: 0.75rem;
		flex-direction: column;
		gap: 0.5rem;
	}

	.mpkm-brand-page__hero-card .mpkm-brand-page__btn-kp,
	.mpkm-brand-page__hero-card .mpkm-brand-page__btn-price {
		flex: none;
		width: 100%;
		min-width: auto;
		padding: 0.85rem 1rem;
	}

	.mpkm-brand-page__hero-benefits li:nth-child(n + 4) {
		display: none;
	}

	.mpkm-brand-page__objects-grid .mpkm-brand-page__obj-thumb-wrap {
		height: 8rem;
		border-radius: 10px 10px 0 0;
	}

	.mpkm-brand-page__objects-grid .mpkm-brand-page__obj-thumb {
		height: 8rem;
		min-height: 8rem;
		max-height: 8rem;
		border-radius: 10px 10px 0 0;
	}

	.mpkm-brand-page__obj-card {
		min-height: 0;
		border-radius: 10px;
	}

	.mpkm-brand-page__obj-body {
		padding: 0.75rem;
	}

	.mpkm-brand-page__obj-title {
		font-size: 0.9rem;
	}

	body.page-shop-brand .aside-left--mpkm-brand .mpkm-brand-page__aside-nav {
		padding: 0.65rem;
	}

}

/* Mobile: контент каталога выше левой колонки — быстрее доступ к товарам */
@media (max-width: 1220px) {
	body.page-shop-brand .content__table {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	body.page-shop-brand .content__table .main {
		display: block;
		width: 100% !important;
		order: -1;
		padding-left: 0 !important;
	}

	body.page-shop-brand .content__table .aside-left.aside-left--mpkm-brand {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		order: 1;
	}
}

.mpkm-brand-material-tags__bucket {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.45rem;
	margin-bottom: 0.35rem;
}

/* Левая колонка: читаемая ширина, без «техничной полоски» */
@media (min-width: 1221px) {
	body.page-shop-brand .content__table .aside-left.aside-left--mpkm-brand {
		width: 252px !important;
		max-width: 252px !important;
		min-width: 236px !important;
	}
}

/* Нет превью объектов — завершённый блок-переход вместо «дыры» */
.mpkm-brand-page__objects-fallback {
	margin: 0 0 0.9rem;
	padding: 0.95rem 1.1rem;
	border-radius: 14px;
	border: 1px solid rgba(24, 95, 165, 0.14);
	background: linear-gradient(125deg, #f6fafc 0%, #ffffff 55%, #f8fafc 100%);
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

.mpkm-brand-page__objects-fallback-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem 1.25rem;
}

.mpkm-brand-page__objects-fallback-visual {
	color: var(--mpkm-brand-accent-dark);
	flex-shrink: 0;
	padding: 0.35rem;
	border-radius: 12px;
	background: linear-gradient(145deg, #e8f2fc 0%, #fff 100%);
	border: 1px solid rgba(24, 95, 165, 0.12);
}

.mpkm-brand-page__objects-fallback-copy {
	min-width: 0;
}

.mpkm-brand-page__objects-fallback-title {
	margin: 0;
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #64748b;
}

.mpkm-brand-page__objects-fallback-sub {
	margin: 0.25rem 0 0;
	font-family: 'Cuprum', 'Roboto', sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--mpkm-brand-text);
	line-height: 1.2;
}

.mpkm-brand-page__objects-fallback-text {
	margin: 0.45rem 0 0;
	font-size: 0.86rem;
	line-height: 1.45;
	color: #475569;
	max-width: 40rem;
}

.mpkm-brand-page__objects-fallback-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.65rem;
	padding: 0.5rem 1.15rem;
	border-radius: 10px;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	color: #fff;
	border: 0;
	background: linear-gradient(180deg, #f6a623 0%, #e87700 100%);
	box-shadow: 0 4px 14px rgba(232, 119, 0, 0.35);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.mpkm-brand-page__objects-fallback-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(232, 119, 0, 0.45);
	color: #fff;
}

@media (max-width: 520px) {
	.mpkm-brand-page__objects-fallback-inner {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.mpkm-brand-page__objects-fallback-visual {
		justify-self: start;
	}
}

@media (max-width: 640px) {
	.mpkm-brand-page__hero-benefits li:nth-child(n + 3) {
		display: none;
	}

	.mpkm-brand-page__hero-card .mpkm-brand-page__h1 {
		font-size: clamp(1.45rem, 6.2vw, 1.85rem);
	}

	.mpkm-brand-page__obj-thumb {
		aspect-ratio: 16 / 9;
	}
}

/* SEO-блок: О бренде (Kimi стиль) */
.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold {
	margin: 1rem 0;
	border: 0;
	padding: 0;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	border-color: #d1d5db;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum::-webkit-details-marker {
	display: none;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum-text {
	font-size: 1rem;
	font-weight: 600;
	color: #111827;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: #6b7280;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum:hover .mpkm-brand-page__seo-fold-sum-btn {
	color: #374151;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum-btn::after {
	content: "↓";
	font-size: 1rem;
	transition: transform 0.15s ease;
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold[open] .mpkm-brand-page__seo-fold-sum-btn::after {
	content: "↑";
}

.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-body {
	padding: 1.25rem;
	border: 1px solid #e5e7eb;
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: #ffffff;
	margin-top: -6px;
}

@media (max-width: 640px) {
	.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-sum {
		padding: 0.85rem 1rem;
		font-size: 0.95rem;
	}

	.catalog-section--mpkm-brand .mpkm-brand-page__seo-fold-body {
		padding: 1rem;
	}
}

/* Ширина как у всего сайта: канон в main.css — [class*="__center"]{width:1220px;padding:0 20px}. Не расширять бренд-страницу. */

/* Тoolbar: подпись «Материалы» не загромождает витрину */
.mpkm-brand-toolbar-unified .mpkm-brand-material-tags--compact {
	position: relative;
}

.mpkm-brand-toolbar-unified .mpkm-brand-material-tags__head {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Мобильное меню: шторка и шапка выше витрины бренда; затемнение под шапкой */
body.page-shop-brand .popups__overlay {
	z-index: 16000 !important;
}

body.page-shop-brand .mobile-side-container {
	z-index: 16001 !important;
}

body.page-shop-brand .header_mobile-top__center {
	z-index: 16002 !important;
}

body.page-shop-brand .main,
body.page-shop-brand .catalog-section--mpkm-brand {
	overflow-x: visible;
}

body.page-shop-brand .mpkm-brand-page,
body.page-shop-brand .mpkm-brand-page__hero-card,
body.page-shop-brand .mpkm-brand-page__objects,
body.page-shop-brand .mpkm-brand-page__shop-stack,
body.page-shop-brand .mpkm-brand-page__catalog-main {
	position: relative;
	z-index: 1;
}

body.page-shop-brand .header,
body.page-shop-brand .menu.mainmenu,
body.page-shop-brand .menu__items.menu__popup,
body.page-shop-brand .js-catalog-menu {
	z-index: 17000 !important;
}

/* Final hard overrides: object cards must hover as one clickable block */
body.page-shop-brand .mpkm-brand-page .mpkm-brand-page__obj-card {
	border-radius: 0 !important;
	border: 1px solid #bdc3c7 !important;
	box-shadow: none !important;
	transition: none !important;
	background: transparent !important;
}

body.page-shop-brand .mpkm-brand-page .mpkm-brand-page__obj-card.mpkm-brand-page__obj-card--link:hover,
body.page-shop-brand .mpkm-brand-page .mpkm-brand-page__obj-card.mpkm-brand-page__obj-card--link:focus-visible {
	transform: none !important;
	border-color: #bdc3c7 !important;
	box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 5px #fecc2f !important;
}

