/*
некоторые стили перебиваются в файле
collection-on-main__new-18-11-2021/style.css
этого же компонента.
лучше вносить изменения в оба файла, так как нет гарантии,
что второй шаблон не будет в будущем отличаться от первого
или не переедит на другую страницу
*/
.section-on-main h2 {
	font-weight: 600;
	font-size: 30px;
	line-height: 37px;
	color: #54518F;
	text-transform: uppercase;
	margin: 0;
}


.section-on-main__novelty {
	padding-top: 84px;
	padding-bottom: 73px;
}
.section-on-main__hit {
	padding-top: 64px;
	padding-bottom: 53px;
	background: #F9F9F9;
}

.section-on-main__header {
	display: flex;
	justify-content: center;
	position: relative;
}

a.section-on-main__show-all {
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	color: #575757;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
a.section-on-main__show-all:hover {
	color: #54518F;
}
.section-on-main__novelty .section-on-main__header {
	margin-bottom: 42px;
}
.section-on-main__hit .section-on-main__header {
	margin-bottom: 54px;
}
.section-on-main__novelty {
	position: relative;
	z-index: 2;
}
.section-on-main__hit {
	position: relative;
	z-index: 1;
}

@media (max-width: 1199px) {
	.section-on-main__novelty {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.section-on-main__novelty .section-on-main__header {
		margin-bottom: 30px;
	}
	.section-on-main__hit {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.section-on-main__hit .section-on-main__header{
		margin-bottom: 30px;
	}
	.section-on-main .pag-outer {
		margin-top: 50px;
	}
}

@media (max-width: 991px) {
	.section-on-main .pag-outer{
		margin-top: 30px;
	}
}

@media (max-width: 767px) {
	.section-on-main__novelty,
	.section-on-main__hit{
		padding: 30px 0;
	}

	.section-on-main h2{
		font-size: 23px;
		line-height: 26px;
	}
}

@media (max-width: 575px) {
	a.section-on-main__show-all {
		position: static;
		transform: none;
	}
	.section-on-main h2{
		font-size: 21px;
		line-height: 25px;
	}
	.section-on-main__header {
		align-items: center;
		justify-content: space-between;
	}

}