

/* Start:/local/templates/maslomart/components/bitrix/news/mm_partners/style.css?17939015136194*/
/* —— Список брендов —— */

/* Крошки → H1 = 8px (макет), H1 → интро = 32px у .new_link */
@media (min-width: 992px) {
	.catalog-page-head:has(.brands-page) .new_link {
		margin-bottom: 32px;
	}

	.catalog-page-head:has(.brands-page) .lead_text {
		margin-top: 0;
	}

	.catalog-page-head:has(.brands-page) .catalog-page-head__breadcrumbs {
		margin-bottom: 8px;
	}
}

@media (max-width: 991px) {
	.catalog-page-head:has(.brands-page) .lead_text {
		margin-top: 0;
	}

	.catalog-page-head:has(.brands-page) .catalog-page-head__breadcrumbs {
		margin-bottom: 0;
	}

	.catalog-page-head:has(.brands-page) .new_link {
		margin-bottom: 0;
	}
}

/* Интро: десктоп 16:24, мобилка 14:20 */
.brands-page__intro {
	width: 100%;
	max-width: 100%;
	margin-bottom: 40px;
	color: var(--neutral-700);
	text-align: left;
}

.brands-page__intro p {
	margin: 0;
	color: var(--neutral-700);
	text-align: left;
}

.brands-page__intro p:empty {
	display: none;
}

@media (min-width: 992px) {
	.brands-page__intro,
	.brands-page__intro p {
		font-size: 16px;
		font-weight: 400;
		line-height: 24px;
	}
}

@media (max-width: 991px) {
	.brands-page__intro {
		margin-bottom: 24px;
	}

	.brands-page__intro,
	.brands-page__intro p {
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
	}
}

/* —— Деталка бренда —— */

/* H1 в шапке уже отрисован до detail.php — скрываем, свой H1 в .brand-detail__title */
body:has(.brand-detail) .catalog-page-head .lead_text {
	display: none;
}

@media (min-width: 992px) {
	body:has(.brand-detail) .catalog-page-head .new_link {
		margin-bottom: 16px;
	}

	body:has(.brand-detail) .catalog-page-head .catalog-page-head__breadcrumbs {
		margin-bottom: 0;
	}
}

@media (max-width: 991px) {
	body:has(.brand-detail) .catalog-page-head .new_link {
		margin-bottom: 0;
	}
}

.brand-detail {
	width: 100%;
}

/* Head: H1 + лого */
.brand-detail__head {
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

.brand-detail__title {
	margin: 0;
	color: var(--Black);
	font-weight: 700;
}

.brand-detail__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid var(--neutral-150);
	border-radius: 16px;
	background-color: var(--White);
}

.brand-detail__logo-img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (min-width: 992px) {
	.brand-detail__head {
		align-items: flex-start;
		justify-content: space-between;
		gap: 24px;
		margin-bottom: 32px;
	}

	.brand-detail__title {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 32px;
		line-height: 40px;
	}

	.brand-detail__logo {
		width: 216px;
		height: 80px;
	}
}

@media (max-width: 991px) {
	.brand-detail__head {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin-bottom: 0;
	}

	.brand-detail__title {
		padding: 0 0 16px;
		font-size: 24px;
		line-height: 32px;
	}

	.brand-detail__logo {
		width: 100%;
		height: 80px;
		margin-bottom: 8px;
	}
}

/* Чипы разделов */
.brand-detail__tags-wrap {
	width: 100%;
	box-sizing: border-box;
}

.brand-detail__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}

/* Чипы как предфильтры каталога (.landings-list__name), без крестика сброса */
.brand-detail__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	gap: 4px;
	height: 32px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background-color: var(--neutral-100);
	color: var(--neutral-700);
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.35s ease, color 0.35s ease;
}

.brand-detail__tag-count {
	color: var(--neutral-400);
	transition: color 0.35s ease;
}

.brand-detail__tag:hover,
.brand-detail__tag:focus-visible {
	background-color: var(--neutral-150);
	color: var(--Black);
	outline: none;
}

.brand-detail__tag--active {
	background-color: var(--yellow-800);
	color: var(--Black);
}

.brand-detail__tag--active .brand-detail__tag-count {
	color: var(--Black);
}

.brand-detail__tag--active:hover,
.brand-detail__tag--active:focus-visible {
	background-color: var(--yellow-800);
	color: var(--Black);
}

/* Owl (MmLkOwl) — как .lk-home__nav / .news-years__track */
.brand-detail__tags.owl-carousel,
.brand-detail__tags.owl-loaded {
	display: block;
	width: 100%;
	max-width: none;
	flex-wrap: nowrap;
	gap: 0;
	overflow: visible;
}

.brand-detail__tags.owl-carousel .owl-stage-outer,
.brand-detail__tags.owl-loaded .owl-stage-outer {
	overflow: hidden;
	width: 100%;
}

.brand-detail__tags.owl-carousel .owl-stage {
	display: flex;
	align-items: center;
}

.brand-detail__tags.owl-carousel .owl-item {
	display: flex;
	float: none;
	width: auto;
}

.brand-detail__tags.owl-carousel .owl-item .brand-detail__tag {
	width: auto;
	flex-shrink: 0;
}

.brand-detail__tags .owl-nav,
.brand-detail__tags .owl-dots {
	display: none;
}

@media (min-width: 992px) {
	.brand-detail__tags-wrap {
		margin-bottom: 40px;
	}

	.brand-detail__tags {
		gap: 8px;
	}
}

@media (max-width: 991px) {
	/*
	 * Карусель MmLkOwl + bleed.
	 * Хак без правого отступа — padding только слева, трек до правого края
	 * (как .lk-home__nav-wrap).
	 */
	.brand-detail__tags-wrap {
		width: calc(100% + 32px);
		max-width: none;
		margin-left: -16px;
		margin-right: -16px;
		margin-bottom: 16px;
		padding: 8px 0 8px 16px;
		box-sizing: border-box;
	}

	.brand-detail__tags {
		flex-wrap: nowrap;
		gap: 8px;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}

	.brand-detail__tags::-webkit-scrollbar {
		display: none;
	}

	.brand-detail__tag {
		flex-shrink: 0;
	}
}

.brand-detail__empty {
	margin: 0;
	color: var(--neutral-500);
}

.brand-detail__products {
	width: 100%;
}

/* End */


/* Start:/local/templates/maslomart/components/bitrix/system.pagenavigation/main/style.css?17939015137505*/
/* Catalog pager — Figma: «Показать ещё» left + pages/«Далее» right */
.catalog-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
	padding: 24px 0 40px;
	box-sizing: border-box;
}

.ajax_load.block > .catalog-pager,
.ajax_load.cur > .catalog-pager {
	width: 100%;
}

.catalog-pager__more.ajax_load_btn,
.ajax_load_btn.catalog-pager__more,
.ajax_load_btn:not(.ajax) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 8px 20px;
	border: 1px solid var(--neutral-200);
	border-radius: 12px;
	background: var(--White);
	box-shadow: none;
	cursor: pointer;
	box-sizing: border-box;
	text-transform: none !important;
	transition: background-color 0.35s ease, border-color 0.35s ease;
}

.catalog-pager__more.ajax_load_btn:hover,
.ajax_load_btn.catalog-pager__more:hover,
.ajax_load_btn:not(.ajax):hover {
	background: var(--neutral-100);
	border-color: var(--neutral-200);
}

.catalog-pager .more_text_ajax,
.ajax_load_btn .more_text_ajax:not(.btn),
.more_text_ajax:not(.btn) {
	padding: 0 !important;
	margin: 0 !important;
	color: var(--Black) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 24px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	background: none !important;
}

.catalog-pager__pages.module-pagination,
.module-pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0 !important;
	text-align: left;
	font-size: 0;
}

.module-pagination .nums {
	display: inline-flex;
	align-items: center;
	gap: 0;
}

.catalog-pager__pages-list {
	display: inline-flex;
	align-items: center;
	gap: 0;
}

.catalog-pager__pages-list > .catalog-pager__sep--m-only {
	display: none;
}

.catalog-pager__pages-list > a,
.catalog-pager__pages-list > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 8px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--Black);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 0.35s ease, color 0.35s ease;
}

.catalog-pager .catalog-pager__pages-list > a,
.catalog-pager .catalog-pager__pages-list > a:hover,
.catalog-pager .catalog-pager__pages-list > a:focus-visible {
	color: var(--Black);
}

.catalog-pager__pages-list > a:hover,
.catalog-pager__pages-list > a:focus-visible {
	background: var(--neutral-100);
}

/* «...» текстом, без старой иконки dots_pagination.svg */
.catalog-pager .catalog-pager__pages-list > .point_sep {
	width: 40px;
	min-width: 40px;
	height: 40px;
	padding: 8px;
	color: var(--Black);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	background: none;
	vertical-align: middle;
	cursor: default;
}

.module-pagination .nums .cur,
.module-pagination .nums span.cur,
.catalog-pager__pages-list .cur,
.catalog-pager__pages-list span.cur {
	width: 40px;
	min-width: 40px;
	padding: 8px;
	border-radius: 12px;
	background: var(--yellow-800);
	color: var(--Black);
}

.catalog-pager .nums > .catalog-pager__next,
.catalog-pager .nums > .catalog-pager__prev {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 90px;
	width: auto;
	height: 40px;
	margin: 0;
	padding: 8px 20px;
	border: 1px solid var(--neutral-200);
	border-radius: 12px;
	background: var(--White);
	color: var(--Black);
	white-space: nowrap;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 0.35s ease, border-color 0.35s ease;
}

.catalog-pager__next:hover,
.catalog-pager__next:focus-visible,
.catalog-pager__prev:hover,
.catalog-pager__prev:focus-visible {
	background: var(--neutral-100);
}

.catalog-pager__arrow .catalog-pager__next-icon,
.catalog-pager__arrow .catalog-pager__prev-icon {
	display: none;
}

.catalog-pager__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 8px;
	border: 1px solid var(--neutral-200);
	border-radius: 12px;
	background: var(--White);
	box-sizing: border-box;
	text-decoration: none;
	transition: background-color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.catalog-pager__arrow img {
	display: block;
	width: 24px;
	height: 24px;
}

.catalog-pager .nums > .catalog-pager__next.catalog-pager__arrow,
.catalog-pager .nums > .catalog-pager__prev.catalog-pager__arrow {
	width: auto;
	min-width: 90px;
	padding: 8px 20px;
}

/* Десктоп (Figma 9658:58486): неактивные «Назад»/«Далее» не показываем */
.catalog-pager .nums > .catalog-pager__arrow--disabled {
	display: none;
}

.module-pagination .flex-direction-nav {
	display: none;
}

@media (max-width: 1080px) {
	.catalog-pager__more.ajax_load_btn,
	.ajax_load_btn.catalog-pager__more,
	.ajax_load_btn:not(.ajax) {
		width: 100%;
	}
	.block .module-pagination, .ajax_load.cur .module-pag {
		width: 100%;
	}
	.module-pagination .nums {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 991px) {
	/* Figma 9658:89954 — column: more full-width, then arrows + pages */
	.catalog-pager {
		flex-direction: column;
		align-items: stretch;
		padding: 8px 0 32px;
		gap: 0;
	}

	.catalog-pager__more.ajax_load_btn,
	.ajax_load_btn.catalog-pager__more,
	.ajax_load_btn:not(.ajax) {
		width: 100%;
		min-width: 0;
		height: 40px;
		margin: 0 0 8px;
		padding: 8px 20px;
	}

	.catalog-pager__pages.module-pagination,
	.module-pagination {
		justify-content: stretch;
		width: 100%;
		padding: 8px 0;
	}

	.module-pagination .nums {
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		flex-wrap: nowrap;
	}

	.catalog-pager__pages-list {
		flex: 0 0 auto;
		justify-content: center;
	}

	/* Figma 9658:89957 — пять ячеек: ±1, «...», последняя */
	.catalog-pager__pages-list:has(> .catalog-pager__page--m) > a:not(.catalog-pager__page--m),
	.catalog-pager__pages-list:has(> .catalog-pager__page--m) > span.cur:not(.catalog-pager__page--m),
	.catalog-pager__pages-list:has(> .catalog-pager__page--m) > .point_sep:not(.point_sep--m) {
		display: none;
	}

	.catalog-pager__pages-list > .catalog-pager__sep--m-only {
		display: inline-flex;
	}

	/* Figma 9658:89957 — ячейка 40×40, padding 10, текст 14/20 */
	.catalog-pager .catalog-pager__pages-list > a,
	.catalog-pager .catalog-pager__pages-list > span,
	.catalog-pager .catalog-pager__pages-list > .point_sep,
	.catalog-pager .nums .catalog-pager__pages-list > span.cur {
		min-width: 40px;
		height: 40px;
		padding: 10px;
		font-size: 14px;
		line-height: 20px;
	}

	.catalog-pager .nums > .catalog-pager__next,
	.catalog-pager .nums > .catalog-pager__next.catalog-pager__arrow,
	.catalog-pager .nums > .catalog-pager__prev,
	.catalog-pager .nums > .catalog-pager__prev.catalog-pager__arrow {
		flex-shrink: 0;
		min-width: 40px;
		width: 40px;
		height: 40px;
		padding: 8px;
	}

	.catalog-pager__next-label,
	.catalog-pager__prev-label {
		display: none;
	}

	.catalog-pager__arrow .catalog-pager__next-icon,
	.catalog-pager__arrow .catalog-pager__prev-icon {
		display: block;
		width: 24px;
		height: 24px;
	}

	.catalog-pager .nums > .catalog-pager__arrow--disabled {
		display: inline-flex;
		opacity: 0.4;
		pointer-events: none;
	}
}

/* End */


/* Start:/local/templates/maslomart/components/bitrix/catalog.section/catalog_block/style.css?179390151314009*/
.catalog-section-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.catalog-section-grid--slider.owl-carousel {
	display: block;
	position: relative;
	width: 100%;
}

.catalog-section-grid--slider.owl-carousel .owl-stage {
	display: flex;
	align-items: stretch;
}

.catalog-section-grid--slider.owl-carousel .owl-item {
	display: flex;
	height: auto;
}

/* Стрелки слайдера каталога (популярное и др.) */
.catalog-section-grid--slider.owl-carousel .owl-nav {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	pointer-events: none;
}

.catalog-section-grid--slider.owl-carousel .owl-nav .owl-prev,
.catalog-section-grid--slider.owl-carousel .owl-nav .owl-next {
	pointer-events: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	padding: 12px;
	margin: 0;
	border: 0;
	border-radius: 80px;
	background: var(--White);
	box-shadow: 0 1px 4px 1px rgba(138, 145, 153, 0.16);
	color: transparent;
	font-size: 0;
	transition: background-color 0.35s ease;
}

.catalog-section-grid--slider.owl-carousel .owl-nav .owl-prev {
	left: -24px;
}

.catalog-section-grid--slider.owl-carousel .owl-nav .owl-next {
	right: -24px;
}

.catalog-section-grid--slider.owl-carousel .owl-nav .owl-prev:hover,
.catalog-section-grid--slider.owl-carousel .owl-nav .owl-prev:focus-visible,
.catalog-section-grid--slider.owl-carousel .owl-nav .owl-next:hover,
.catalog-section-grid--slider.owl-carousel .owl-nav .owl-next:focus-visible {
	background: var(--neutral-070);
}

.catalog-section-grid--slider.owl-carousel .owl-nav .owl-prev img,
.catalog-section-grid--slider.owl-carousel .owl-nav .owl-next img {
	display: block;
	width: 24px;
	height: 24px;
}

@media (max-width: 991px) {
	.catalog-section-grid--slider.owl-carousel .owl-nav {
		display: none;
	}
}

.catalog-section-grid--slider.owl-carousel .catalog-card {
	width: 100%;
	height: 100%;
	justify-content: flex-start;
}

/* Owl тянет все img на 100% — иконки кнопок ломаются */
.catalog-section-grid--slider.owl-carousel .owl-item .catalog-card__actions img,
.catalog-section-grid--slider.owl-carousel .owl-item .catalog-card__qty-btn img,
.catalog-section-grid--slider.owl-carousel .owl-item .catalog-card__fav img,
.catalog-section-grid--slider.owl-carousel .owl-item .catalog-card__compare img {
	width: 24px !important;
	max-width: 24px !important;
	height: 24px !important;
	flex-shrink: 0;
}

.catalog-section-grid--slider.owl-carousel .owl-item .catalog-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/*
 * Слайдер («С этим товаром покупают»): fav/compare поверх фото, как на мобилке.
 * Иконки 24×24; белый фон/скругление — как у мобилки.
 */
@media (min-width: 992px) {
	.catalog-section-grid--slider .catalog-card {
		position: relative;
	}

	.catalog-section-grid--slider .catalog-card__actions {
		position: absolute;
		/* Как padding карточки (20px) — отступ от бордера, не вплотную */
		top: 20px;
		right: 20px;
		z-index: 2;
		flex-direction: column;
		gap: 4px;
		width: auto;
		margin-left: 0;
	}

	/* Белая плашка под иконкой, как на мобилке (иконка остаётся 24×24) */
	.catalog-section-grid--slider .catalog-card .catalog-card__fav,
	.catalog-section-grid--slider .catalog-card .catalog-card__compare {
		width: 32px;
		height: 32px;
		padding: 4px;
		border-radius: 8px;
		background: var(--White);
		box-sizing: border-box;
		/* Не opacity на весь контрол — иначе белый фон становится прозрачным */
		transition: background-color 0.35s ease;
	}

	.catalog-section-grid--slider .catalog-card .catalog-card__fav:hover,
	.catalog-section-grid--slider .catalog-card .catalog-card__fav:focus-visible,
	.catalog-section-grid--slider .catalog-card .catalog-card__compare:hover,
	.catalog-section-grid--slider .catalog-card .catalog-card__compare:focus-visible {
		opacity: 1;
	}

	/* Иконки ушли из ряда — кнопка/каунтер на всю ширину */
	.catalog-section-grid--slider .catalog-card__buttons > .catalog-card__basket.button,
	.catalog-section-grid--slider .catalog-card__qty {
		flex: 1 1 auto;
		width: 100%;
	}

	/* Середина каунтера (− 1 +) растягивается между кнопками */
	.catalog-section-grid--slider .catalog-card__qty-value {
		flex: 1 1 auto;
		width: auto;
		min-width: 40px;
	}
}

/* Узкий десктоп ≤1415: 4 колонки не влезают — 2 карточки в ряд */
@media (max-width: 1415px) and (min-width: 992px) {
	.catalog-section-grid:not(.catalog-section-grid--slider) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.catalog-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	padding: 20px;
	border: 1px solid var(--neutral-150) !important;
	border-radius: 16px;
	background: var(--White);
	box-sizing: border-box;
	box-shadow: none !important;
}

.catalog-card__img-link {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 205px;
	overflow: hidden;
	flex-shrink: 0;
}

.catalog-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.catalog-card__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
	height: 96px;
	color: var(--neutral-800);
	text-decoration: none;
	word-break: break-word;
	transition: color 0.35s ease;
}

.catalog-card__name:hover,
.catalog-card__name:focus-visible {
	color: var(--Black);
}

.catalog-card__rests {
	display: flex;
	align-items: flex-start;
	flex-wrap: nowrap;
	gap: 16px;
	width: 100%;
	min-width: 0;
}

.catalog-card__rest {
	flex-shrink: 0;
	color: var(--Green);
	border-bottom: 1px dotted var(--Green);
	line-height: 16px;
}

.catalog-card__art {
	min-width: 0;
	overflow: hidden;
	color: var(--neutral-400);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.catalog-card__price {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 4px 0;
	width: 100%;
}

.catalog-card__price-primary {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 12px;
}

.catalog-card__price-current {
	color: var(--Black);
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 28px;
}

.catalog-card__price-current.textTitle1 {
	color: var(--Black);
}

.catalog-card__sale {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: stretch;
}

.catalog-card__price-old {
	position: relative;
	color: var(--neutral-400);
	white-space: nowrap;
}

.catalog-card__price-old::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--neutral-400);
}

.catalog-card__sale-label {
	display: inline-flex;
	align-items: center;
	padding: 2px 4px;
	border-radius: 4px;
	background: var(--Red);
	color: var(--White);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	white-space: nowrap;
}

.catalog-card__price-unit {
	color: var(--neutral-500);
}

.catalog-card__buttons {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin-top: auto;
}

.catalog-card__basket {
	color: var(--Black);
	cursor: pointer;
	flex: 1 1 auto;
	width: auto;
	max-width: 100%;
	min-width: 0;
	transition: background-color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.catalog-card__basket[hidden] {
	display: none !important;
}

.catalog-card--busy .catalog-card__basket,
.catalog-card--busy .catalog-card__qty-btn {
	pointer-events: none;
	opacity: 0.7;
	cursor: wait;
}

.catalog-card__buttons > .catalog-card__basket.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex: 0 1 auto;
	width: auto;
	min-width: 0;
	padding: 12px 24px;
	min-height: 48px;
	max-height: 48px;
	height: 48px;
	box-sizing: border-box;
	border-radius: 12px;
	text-transform: none;
	letter-spacing: 0;
}

.catalog-card__qty {
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
	height: 48px;
	padding: 0;
	background: var(--neutral-100);
	border: 1px solid var(--neutral-100);
	border-radius: 12px;
	overflow: hidden;
}

.catalog-card__qty[hidden] {
	display: none !important;
}

.catalog-card__qty-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex-shrink: 0;
	width: 48px;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.35s ease, opacity 0.35s ease;
}

.catalog-card__qty-btn:hover,
.catalog-card__qty-btn:focus-visible {
	background-color: rgba(29, 32, 35, 0.04);
}

.catalog-card__qty-btn:focus-visible {
	outline: 2px solid var(--yellow-800);
	outline-offset: -2px;
}

.catalog-card__qty-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.catalog-card__qty-btn--minus {
	border-right: 1px solid rgba(29, 32, 35, 0.1);
}

.catalog-card__qty-btn--plus {
	border-left: 1px solid rgba(29, 32, 35, 0.1);
}

.catalog-card__qty-btn img {
	display: block;
	width: 24px;
	height: 24px;
}

.catalog-card__qty-value {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	/* Ширина по цифрам, не фиксированные 40px */
	flex: 1 1 auto;
	width: auto;
	min-width: 40px;
	height: 100%;
	min-height: 0;
	padding: 0 8px;
	color: var(--Black);
	text-align: center;
	field-sizing: content;
}

.catalog-card__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

/* Десктоп ≥992: иконки к правому краю карточки */
@media (min-width: 992px) {
	.catalog-card__actions {
		margin-left: auto;
	}
}

.catalog-card__fav,
.catalog-card__compare {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	box-sizing: border-box;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.35s ease;
}

.catalog-card__fav:hover,
.catalog-card__fav:focus-visible,
.catalog-card__compare:hover,
.catalog-card__compare:focus-visible {
	opacity: 0.7;
}

.catalog-card__fav img,
.catalog-card__compare img,
.catalog-card__action-icon {
	display: block;
	width: 24px !important;
	max-width: 24px !important;
	height: 24px !important;
	flex-shrink: 0;
}

.catalog-card__fav .catalog-card__action-icon--on,
.catalog-card__compare .catalog-card__action-icon--on {
	display: none;
}

.catalog-card__fav.added .catalog-card__action-icon--off,
.catalog-card__compare.added .catalog-card__action-icon--off {
	display: none;
}

.catalog-card__fav.added .catalog-card__action-icon--on,
.catalog-card__compare.added .catalog-card__action-icon--on {
	display: block;
}

/* Мобилка ≤991 — Figma Mobile Card/Product */
@media (max-width: 991px) {
	.catalog-section-grid:not(.catalog-section-grid--slider) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.catalog-card {
		position: relative;
		padding: 8px 12px 12px;
		gap: 8px;
		border-radius: 16px;
	}

	.catalog-card__img-link {
		aspect-ratio: auto;
		height: 144px;
		max-height: 144px;
	}

	.catalog-card__name,
	.catalog-card__name.text3 {
		height: 60px;
		font-size: 14px;
		line-height: 20px;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}

	.catalog-card__rest,
	.catalog-card__rest.text4 {
		font-size: 10px;
		font-weight: 500;
		line-height: 16px;
		letter-spacing: 0;
	}

	.catalog-card__art {
		display: none;
	}

	.catalog-card__price {
		padding: 4px 0;
		gap: 0;
	}

	.catalog-card__price-primary {
		gap: 8px;
	}

	.catalog-card__price-current,
	.catalog-card__price-current.textTitle1 {
		font-size: 16px;
		line-height: 24px;
	}

	.catalog-card__price-unit,
	.catalog-card__price-unit.text1 {
		font-size: 10px;
		line-height: 16px;
		letter-spacing: 0;
	}

	.catalog-card__sale-label {
		font-size: 10px;
		line-height: 14px;
	}

	.catalog-card__buttons {
		gap: 0;
	}

	.catalog-card__basket {
		flex: 1;
		width: 100%;
		text-align: center;
		padding: 8px 16px;
		height: 36px;
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		line-height: 20px;
	}

	.catalog-card__buttons > .catalog-card__basket.button {
		width: 100%;
		padding: 8px 16px;
		min-height: 36px;
		max-height: 36px;
		height: 36px;
	}

	.catalog-card__qty {
		width: 100%;
		height: 36px;
		min-height: 36px;
		max-height: 36px;
		padding: 0;
		justify-content: space-between;
	}

	.catalog-card__qty-btn {
		width: 36px;
		height: 100%;
		padding: 0;
	}

	.catalog-card__qty-btn img {
		width: 20px;
		height: 20px;
	}

	.catalog-card__qty-value {
		width: auto;
		min-width: 28px;
		height: 100%;
		padding: 0 4px;
		font-size: 14px;
		line-height: 20px;
	}

	/* Fav/compare — поверх фото */
	.catalog-card__actions {
		position: absolute;
		top: 3px;
		right: 7px;
		z-index: 2;
		flex-direction: column;
		gap: 4px;
		width: auto;
	}

	.catalog-card__fav,
	.catalog-card__compare {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 28px;
		height: 28px;
		padding: 4px;
		border-radius: 8px;
		background: var(--White);
		box-sizing: border-box;
		/* Не opacity на весь контрол — иначе белый фон становится прозрачным */
		transition: background-color 0.35s ease;
	}

	.catalog-card__fav:hover,
	.catalog-card__fav:focus-visible,
	.catalog-card__compare:hover,
	.catalog-card__compare:focus-visible {
		opacity: 1;
	}

	.catalog-card__fav img,
	.catalog-card__compare img {
		width: 20px;
		height: 20px;
	}
}

/* End */
/* /local/templates/maslomart/components/bitrix/news/mm_partners/style.css?17939015136194 */
/* /local/templates/maslomart/components/bitrix/system.pagenavigation/main/style.css?17939015137505 */
/* /local/templates/maslomart/components/bitrix/catalog.section/catalog_block/style.css?179390151314009 */
