/**
 * Внутренние страницы: контейнер как на главной, крошки, совместимость с legacy.
 */

#conten > .block-4.page-about {
	padding-top: 24px;
	padding-bottom: 40px;
}

#conten > .block-4 > .container,
#conten .block-4 .container {
	width: 100%;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

#conten #content {
	width: 100%;
	max-width: 100%;
}

#conten #content > .container {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.page-about .page-content__title {
	margin: 12px 0 20px;
	font-family: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
}

/* Крошки — горизонтально */
.bx-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0 0 12px;
	padding: 0;
	clear: both;
}

.bx-breadcrumb > div[style*='clear'] {
	display: none !important;
}

.bx-breadcrumb-item {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto !important;
	flex-shrink: 0 !important;
	width: auto !important;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	white-space: nowrap;
	font-size: 13px;
	line-height: 1.4;
	color: #5c6878;
}

.bx-breadcrumb-item a {
	display: inline !important;
	width: auto !important;
	white-space: nowrap;
	color: #1766d2;
	text-decoration: none;
}

.bx-breadcrumb-item a:hover,
.bx-breadcrumb-item a:focus {
	text-decoration: underline;
}

.bx-breadcrumb-item .fa-angle-right {
	margin: 0 2px;
	font-size: 12px;
	color: #98a2b0;
}

.bx-breadcrumb .bx-breadcrumb-item span {
	white-space: nowrap !important;
}

.bx-breadcrumb-item > span:last-child {
	color: #394454;
}

/* Bootstrap-сетка внутри шаблона */
#conten .row::before,
#conten .row::after {
	display: table;
	content: ' ';
}

/* Карточка товара: галерея Bitrix (если component style.css не срабатывает) */
#conten .tornado-asg-product .product-item-detail-slider-container:not(.popup) .product-item-detail-slider-block {
	position: relative !important;
	box-sizing: border-box;
	padding-top: 100% !important;
	height: 0 !important;
	overflow: hidden;
}

#conten .tornado-asg-product .product-item-detail-slider-images-container {
	position: absolute !important;
	inset: 0;
}

#conten .tornado-asg-product .product-item-detail-slider-image {
	position: absolute !important;
	inset: 0;
	text-align: center;
	opacity: 0;
	transition: opacity 250ms linear;
}

#conten .tornado-asg-product .product-item-detail-slider-image.active {
	opacity: 1;
	z-index: 10;
}

#conten .tornado-asg-product .product-item-detail-slider-image img {
	position: absolute !important;
	top: 50%;
	left: 50%;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
}

/* Статьи / новости */
#conten .news-detail,
#conten #content .news-detail {
	margin-top: 24px;
	margin-bottom: 30px;
}

#conten .news-detail_cnt {
	overflow: hidden;
}

#conten div.news-detail img.detail_picture {
	display: inline-block;
	max-width: 100%;
	height: auto;
	margin: 0 20px 10px 0;
}

#conten #content .thumb-pad-3 .thumbnail,
#conten #content .box.box-4 {
	margin-bottom: 20px;
}

#conten .thumbnail {
	float: left;
	max-width: 100%;
	margin-bottom: 16px;
}

#conten .box.box-4 {
	margin-bottom: 20px;
}

@media (max-width: 767px) {
	#conten > .block-4 > .container {
		padding-left: 16px;
		padding-right: 16px;
	}
}