

/* Start:/local/templates/mmsh/components/bitrix/news/brands/bitrix/news.detail/brand/style.css?17912960172456*/
#brand-sections {gap: 10px; display: flex; flex-wrap: wrap}
#brand-sections button {background: var(--col-white); color: var(--color-primary); border: none; box-shadow: var(--box-shadow); border-radius: 5px; transition: 250ms; padding: 10px 15px}
#brand-sections button:hover {background: var(--color-primary-hover); color: var(--col-white)}
#brand-sections button.active {background: var(--color-primary); color: var(--col-white)}

.brands-grid {grid-template-columns: repeat(4,1fr); gap: 40px; display: grid; text-align: center;  }
.brands-grid .img {position: relative; height: 0; padding-bottom: 56%; background-position: 50% 50%; background-repeat: no-repeat; background-size: contain}
.brand-detail .section-catalog-main {width: 100%}
.brand-detail .products-wrapper {grid-template-columns: repeat(4,1fr); gap: 20px; display: grid; text-align: center }
.brand-detail  { font-size:114%; font-weight:400; line-height: 114%; }
.brand-detail ul {margin: 0 auto 20px 30px; }
.brand-detail ul li > p { display: inline; margin: 0;  padding: 0; }

.BrandBan { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; padding: 15px; background-color: var(--color-bg-light); }
img.brandLogo { max-height: 120px; max-width: 400px; }
.BrandBan .BBCentr {text-align: center;}

@media (max-width: 1620px) {
	.brand-detail .products-wrapper {grid-template-columns: repeat(3,1fr)}
}
@media (max-width: 1210px) {
	.brand-detail .products-wrapper {grid-template-columns: repeat(2,1fr)}
	.BrandBan { gap: 5px; }
	.BrandBan > *:nth-child(1),
	.BrandBan > *:nth-child(2) {flex: 0 0 100%; text-align: center;}
  
	.BrandBan > *:nth-child(3),
	.BrandBan > *:nth-child(4) {flex: 0 0 calc(50% - 5px); text-align: center; }
}
@media (max-width: 767px) {
	.products-wrapper, .brand-detail .products-wrapper {grid-template-columns: 1fr}
	.BrandBan { flex-direction: column; gap: 5px; }
	img.brandLogo { max-height: 80px; max-width: 90%; }
}

.gallery-brands-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, 220px);
	gap: 20px;
	margin-top: 1.5em;
	margin-bottom: 2em;
}

.gallery-brands-item {
	display: block;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	padding-bottom: 70%;
	border-radius: 10px;
}

@media (max-width: 768px) {
	.gallery-brands-grid {
		grid-template-columns: repeat(auto-fit, 140px);
	}
}

/* End */
/* /local/templates/mmsh/components/bitrix/news/brands/bitrix/news.detail/brand/style.css?17912960172456 */
