.shtory-hero {
	padding:48px;
	margin:0 auto;
	display:flex;
	flex-direction:column;
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	border-radius:48px;
	gap:48px;
}

.shtory-hero.kovrolin.depth-level-2  {
	min-height:427px;
	gap:16px;
}

.page__layout:has(.shtory-hero) {
	background-color:#fff;
}
.header+.main:has(.shtory-hero) {
	padding-top: 140px;
}

#bx-panel.bx-panel-folded + .page__layout .header+.main:has(.shtory-hero) {
	padding-top: 101px;
}
@media (max-width: 755px) {
	.header+.main:has(.shtory-hero),
    #bx-panel.bx-panel-folded + .page__layout .header+.main {
        padding-top: 17px !important;
    }
}


.breadcrumbs:has(+ .shtory-hero) {
	padding:16px 0 24px;
	margin:0 auto;
	width:1328px;
	max-width:calc(100% - 16px);
	display:flex;
	flex-wrap:wrap;
	align-items:baseline;
	gap:.5em;
}
.breadcrumbs:has(+ .shtory-hero) li {
	margin-bottom:0;
}

.shtory-hero h1 {
	font-weight: 700;
	font-size: 68px;
	line-height: 110%;
	color: #090E1C;
	padding:0;
	margin:0;
}
.shtory-hero.kovrolin h1 {
	width:944px;
	max-width:100%;
}

.shtory-hero-description {
	font-size: 18px;
	line-height: 120%;
	color: #464646;
}

.shtory-hero-button {
	margin-top:16px;
}


.shtory-hero-button .button {
	cursor:pointer;
}

.shtory-hero-list {
	display:flex;
	flex-wrap:wrap;
	align-items:stretch;
	--gap-x:12px;
	--gap-y:12px;
	gap:var(--gap-y) var(--gap-x);
	margin-top:32px;
}
.shtory-hero.kovrolin.depth-level-2 .shtory-hero-list,
.shtory-hero.kovrolin.depth-level-3 .shtory-hero-list {
	flex-wrap:nowrap;
	overflow:auto;
	scrollbar-width:none;
	@media (max-width:1280px) {
		width:calc(100% + 48px);
	}
	@media (max-width:360px) {
		--gap-x:8px;
		width:calc(100% + 24px);
	}
}
	
.shtory-hero-list-item {
	flex: 0 0 auto;
	width:calc((100% - 2 * var(--gap-x)) / 3);
	padding: 32px;
	gap: 24px;
	background: rgba(255, 255, 255, 0.61);
	border: 1px solid rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(5px);
	border-radius: 30px;
	display:flex;
	flex-direction:column;
	gap:24px;
}
.shtory-hero.kovrolin .shtory-hero-list-item {
	padding: 15px 20px;
	gap: 16px;
	flex-direction:row;
	align-items: center;
}
.shtory-hero.kovrolin.depth-level-2 .shtory-hero-list-item,
.shtory-hero.kovrolin.depth-level-3 .shtory-hero-list-item {
	width:calc((100% - 3 * var(--gap-x)) / 4);
	@media (max-width:1280px) {
		width:283px;
	}
}


.shtory-hero-list-item .svg-icon {
	flex: 0 0 auto;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	align-self: flex-start;
}
.shtory-hero.kovrolin .shtory-hero-list-item .svg-icon {
	align-self: center;
}
.shtory-hero-list-item .svg-icon svg {
	content:"";
	flex: 0 0 auto;
	max-width:42px;
	max-height:42px;
	object-fit:scale-down;
}

.shtory-hero-list-item .info {
	display:flex;
	flex-direction:column;
	gap:12px;
}
.shtory-hero-list-item .info-title {
	font-weight: 500;
	font-size: 18px;
	line-height: 110%;
	color: #343434;
}
.shtory-hero.kovrolin .shtory-hero-list-item .info-title {
	font-size: 15px;
	line-height: 1.2;
}
.shtory-hero-list-item .info-text {
	font-size: 15px;
	line-height: 120%;
	color: #464646;
}
.shtory-hero-list-item .info-text:empty {
	display:none;
}


@media (max-width:768px) {
	.breadcrumbs:has(+ .shtory-hero) {
		padding:16px 0 42px;
	}
	.shtory-hero {
		padding:24px;
		width:100%;
		gap:16px;
		border-radius:24px;
	}
	.chekhly-na-antikrazhnye-vorota .shtory-hero {
		min-height:417px;
		padding-bottom:6px;
	}
	.shtory-hero h1 {
		font-size: 32px;
	}
	.shtory-hero-description {
		font-size: 15px;
	}
	.shtory-hero-button {
		margin-top:16px;
		margin-bottom:32px;
	}
	.chekhly-na-antikrazhnye-vorota .shtory-hero .shtory-hero-button {
		margin:0;
	}

	.shtory-hero-list {
		flex-wrap: nowrap;
		gap: 8px;
		margin-left: -24px;
		margin-right: -24px;
		overflow: auto;
		padding-left: 24px;
		padding-right: 24px;
		scrollbar-width: none;

		&::-webkit-scrollbar {
			display: none;
			height: 0;
			width: 0;
		}
	}
	.shtory-hero.kovrolin .shtory-hero-list {
		align-items:flex-end;
	}
	.shtory-hero-list-item {
		width:278px;
		padding: 15px;
		gap: 12px;
		border-radius: 15px;
	}
	.shtory-hero.kovrolin .shtory-hero-list-item {
		width:326px;
		gap: 16px;
		border-radius: 30px;
	}
	
	.shtory-hero-list-item .icon:before {
		width:24px;
		height:24px;
	}
	.shtory-hero-list-item .icon.icon2:before {
		width:15px;
	}
	.shtory-hero-list-item .icon.icon3:before {
		height:24px;
	}
	.shtory-hero-list-item .info {
		gap:6px;
	}
	.shtory-hero-list-item .info-title {
		font-size: 15px;
		line-height: 120%;
	}
}

.shtory-hero-button .button.large {
	padding: 15px 24px;
	font-weight: 700;
}
.chekhly-na-antikrazhnye-vorota .button.large {
	font-size:18px;
	font-weight: 400;
}

@media (max-width: 1920px) {
    .have-questions-section-2025 {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 755px) {
	.shtory-hero-button .button.large {
		height:48px;
		font-size: 15px;
	}
    .catalog-popular-2025_list.swiper-container {
        max-width: calc(100% + 47px) !important;
    }
}

@media (max-width: 480px) {
	.shtory-hero-button .button.large {
		width:100%;
		text-align: center;
        justify-content: center;
	}
	.chekhly-na-antikrazhnye-vorota .button.large {
		width:auto;
		font-weight: 700;
	}

	.shtory-hero.kovrolin .shtory-hero-list-item {
		width:280px;
	}
}

