

/* Start:/bitrix/templates/main/components/bitrix/news.list/.default/style.css?17919738664432*/
.category-button {
	text-align: center;
	width: 100%;
}

.categories-block .category-button {
	margin-top: 30px;
	flex-shrink: 0;
}

.categories-block .category-item {
	height: 100%;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	text-align: center;
}

.categories-block .category-image {
	flex: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.categories-block .category-image a {
	position: relative;
	display: block;
	max-width: 100%;
	line-height: 0;
}

.categories-block .category-image > a > img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 305px;
	object-fit: contain;
	margin: 0 auto;
	transition: opacity .3s ease, transform .3s ease;
}

/* Только превью 2 кг: убираем прозрачные поля PNG (5 px сверху, 42 px снизу). */
.categories-block .category-image > a > img[src*="u5c793w14g1denby60fg5vcseetynjel.png"] {
	width: 349px;
	height: auto;
	aspect-ratio: 340 / 297;
	object-fit: cover;
	object-position: center 10.64%;
}

.categories-block .category-buy {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-width: 140px;
	height: 46px;
	padding: 0 20px;
	border-radius: 30px;
	background: #FFE314;
	color: #5D0404;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, -50%) translateY(6px);
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease;
}

.categories-block .category-buy .category-buy-arrow {
	display: block;
	width: 18px;
	height: auto;
	flex-shrink: 0;
}

.categories-block .category-item:not(.category-item--no-hover):focus-within .category-image > a > img {
	opacity: .4;
}

.categories-block .category-item:not(.category-item--unavailable):focus-within .category-image > a > img {
	transform: rotate(-3deg);
}

.categories-block .category-item:focus-within .category-buy {
	opacity: 1;
	transform: translate(-50%, -50%);
}

@media (hover: hover) {
	.categories-block .category-item:not(.category-item--no-hover):hover .category-image > a > img {
		opacity: .4;
	}

	.categories-block .category-item:not(.category-item--unavailable):hover .category-image > a > img {
		transform: rotate(-3deg);
	}

	.categories-block .category-item:hover .category-buy {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}

.categories-block .category-button a {
	box-sizing: border-box;
	width: auto;
	min-height: 48px;
	max-width: 100%;
	transition: .3s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	background: #d91f21;
	color: #45190B !important;
	padding: 10px 18px;
	font-weight: bold;
	border-radius: 30px;
	position: relative;
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;
}

.categories-block .category-button a span {
	display: inline;
	text-transform: none;
	font-weight: bold;
	font-family: inherit;
}

.categories-block .category-button a .category-button-content {
	display: block;
}

.categories-block .category-button a .category-title--multiline {
	display: inline-block;
	vertical-align: middle;
	line-height: 14px;
}

.categories-block .category-button a .category-weight {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	min-width: 52px;
	box-sizing: border-box;
	margin-left: 8px;
	padding: 4px 8px;
	border-radius: 20px;
	background: #fff;
	color: #45190B;
	font-size: 12px;
	font-style: italic;
	line-height: 15px;
}

.categories-block .category-button a .category-weight--multiline {
	flex-direction: column;
	min-height: 23px;
	padding: 0 8px;
	line-height: 11px;
}

@media (max-width: 575.98px) {
	.categories-block .category-image > a > img {
		height: auto;
		max-height: 305px;
	}

	.categories-block .category-button a {
		font-size: 14px;
		padding: 10px 12px;
	}

	.categories-block .category-button a .category-weight {
		margin-left: 6px;
	}
}

.category-button a:after {
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	border-radius: 30px;
	background: rgba(0, 0, 0, 0.1);
}

.categories-block .category-item--unavailable .category-button a {
	cursor: default;
}
.categories-block .category-item:hover .category-button a {
	text-decoration: none; }
.categories-block a:hover {
	opacity: 1; }


/* End */
/* /bitrix/templates/main/components/bitrix/news.list/.default/style.css?17919738664432 */
