.categories{
	margin-bottom: var(--block-gap, 40px);
}

.categories__slider:not(.owl-carousel){
	display: flex;
	gap: 20px;
	overflow: hidden;
}

.categories__slider:not(.owl-carousel) .categories__item-container{
	flex: 0 0 calc(25% - 15px);
	min-width: 0;
}

.categories__item{
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 15px;
	color: #231f20;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e1e1e1;
	border-radius: 15px;
	-webkit-transition: all 0.15s ease 0s;
	-moz-transition: all 0.15s ease 0s;
	-o-transition: all 0.15s ease 0s;
	transition: all 0.15s ease 0s;
}

.categories__item:link,
.categories__item:visited,
.categories__item:hover{
	color: #231f20;
	text-decoration: none;
}

/* hover карточек разделов в каталоге */
.bx-no-touch .categories__item:hover,
.bx-touch .categories__item:active,
.categories__item:focus-visible{
	position: relative;
	z-index: 202;
	-webkit-box-shadow: 0 0 36px rgba(38,50,56,0.16);
	-moz-box-shadow: 0 0 36px rgba(38,50,56,0.16);
	box-shadow: 0 0 36px rgba(38,50,56,0.16);
}

.categories__item-pic{
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 13px;
}

.categories__item-pic img{
	max-width: 100%;
	max-height: 110px;
	width: auto;
	height: auto;
	-o-object-fit: contain;
	object-fit: contain;
}

.categories__item-title{
	margin-top: auto;
	font-weight: 700;
	font-size: 14px;
	line-height: 136%;
	color: #231f20;
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}


.categories__action{
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
}

.categories__action .btn__r,
.categories__action .btn__r:link,
.categories__action .btn__r:visited,
.categories__action .btn__r:hover,
.categories__action .btn__r:focus,
.categories__action .btn__r:active{
	text-decoration: none;
}

.categories__slider.owl-carousel .owl-stage-outer{
	overflow: hidden;
	padding: 36px 0;
	margin: -36px 0;
}

.categories__slider.owl-carousel .owl-stage{
	display: flex;
}

.categories__slider.owl-carousel .owl-item{
	display: flex;
}

.categories__slider.owl-carousel .owl-item > div{
	width: 100%;
}

.categories__slider.owl-theme .owl-nav{
	margin: 0;
}

/* кнопки прокрутки */
.categories__slider.owl-theme .owl-nav button.owl-next,
.categories__slider.owl-theme .owl-nav button.owl-prev{
	top: 50%;
	margin-top: -17px;
	background: url("../../../../images/section__slider_arrow_outline.svg") 0 0 no-repeat;
	background-size: contain;
}

/* смена заливки при наведении */
.categories__slider.owl-theme .owl-nav button.owl-next:hover,
.categories__slider.owl-theme .owl-nav button.owl-prev:hover,
.categories__slider.owl-theme .owl-nav button.owl-next:focus-visible,
.categories__slider.owl-theme .owl-nav button.owl-prev:focus-visible{
	background-image: url("../../../../images/section__slider_arrow.svg");
}

@media only screen and (max-width: 1024px){
	.categories__item{
		padding: 12px;
		border-radius: 12px;
	}

	.categories__item-pic{
		height: 90px;
		margin-bottom: 10px;
	}

	.categories__item-pic img{
		max-height: 90px;
	}

	.categories__item-title{
		font-size: 14px;
	}

	.bx-no-touch .categories__item:hover,
	.bx-touch .categories__item:active{
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	.categories__slider.owl-theme .owl-nav button.owl-next{
		right: -8px;
	}

	.categories__slider.owl-theme .owl-nav button.owl-prev{
		left: -8px;
	}

	.categories__action{
		justify-content: center;
	}
}
