.sh-catalogtitle {
	align-items: end;
	row-gap: 16px;
	column-gap: 16px;
	padding-bottom: 24px;
}

.sh-catalogtitle-heading {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
}

.sh-catalogtitle-block2,
.sh-catalogtitle-block3 {
	display: flex;
	align-items: center;
}

.sh-catalogtitle-block3 {
	justify-content: flex-start;
}

.sh-catalog-sort-label {
	display: block;
	margin: 0 0 6px;
	font-family: 'InterMedium', sans-serif;
	font-size: 11px;
	line-height: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #717883;
}

.catalog-panel-sorting {
	width: 100%;
}

.catalog-sort-wrapper {
	display: flex;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
}

.catalog-sort-select {
	min-width: 224px;
	width: 100%;
	box-sizing: border-box;
}

.sh-catalog-filter-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid #E0E2E8;
	background: #FFFFFF;
	color: #383B47;
	text-decoration: none;
	box-sizing: border-box;
}

.sh-catalog-filter-trigger-text {
	font-family: 'InterMedium', sans-serif;
	font-size: 11px;
	line-height: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #383B47;
}

.sh-catalog-filter-trigger svg {
	flex-shrink: 0;
}

.catalog-footertext {
	background: #FFFFFF;
	padding: 24px 32px;
	margin: 24px 0;
	border-radius: 1px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #383B47;
}

.sh-catalog-root-copy {
	max-width: 720px;
	margin: 0 0 24px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #5C6070;
}

.sh-catalog-root-copy-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sh-catalog-root-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding-bottom: 32px;
}

.sh-catalog-root-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 16 / 11;
	padding: 28px;
	overflow: hidden;
	isolation: isolate;
	background: #1C1917;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 2px;
	color: #FFFFFF;
	text-decoration: none;
	opacity: 0;
	translate: 0 18px;
	animation: shCatalogCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.3s ease,
		box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform, opacity;
}

.sh-catalog-root-card::before,
.sh-catalog-root-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.sh-catalog-root-card::before {
	z-index: -2;
	background-image: var(--sh-catalog-root-image);
	background-position: center;
	background-size: cover;
	transform: scale(1.02);
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sh-catalog-root-card::after {
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(15, 16, 20, 0.74) 82%, rgba(15, 16, 20, 0.94) 100%),
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.sh-catalog-root-card[data-category="appliances"] {
	--sh-catalog-root-image: url("/local/templates/v2025/images/catalog-categories/appliances.webp");
}

.sh-catalog-root-card[data-category="automotive"] {
	--sh-catalog-root-image: url("/local/templates/v2025/images/catalog-categories/automotive.webp");
}

.sh-catalog-root-card[data-category="furniture"] {
	--sh-catalog-root-image: url("/local/templates/v2025/images/catalog-categories/furniture.webp");
}

.sh-catalog-root-card[data-category="zamki"] {
	--sh-catalog-root-image: url("/local/templates/v2025/images/catalog-categories/zamki.webp");
}

.sh-catalog-root-card[data-category="dvernye_ruchki"] {
	--sh-catalog-root-image: url("/local/templates/v2025/images/catalog-categories/dvernye_ruchki.webp");
}

.sh-catalog-root-card[data-category="rasprodazha_dverey"] {
	--sh-catalog-root-image: url("/local/templates/v2025/images/catalog-categories/rasprodazha_dverey.webp");
}

.sh-catalog-root-card:hover {
	transform: translateY(-6px);
	border-color: rgba(204, 173, 34, 0.45);
	box-shadow: 0 30px 60px -20px rgba(20, 21, 25, 0.55);
}

.sh-catalog-root-card:hover::before {
	transform: scale(1.08);
}

.sh-catalog-root-card-title {
	position: relative;
	display: block;
	width: 100%;
	font-family: 'InterMedium', sans-serif;
	font-size: 26px;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: #FFFFFF;
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.5);
	padding-right: 36px;
	transform: translateY(0);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sh-catalog-root-card-title::after {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	margin-top: 14px;
	background: #CCAD22;
	transform-origin: left center;
	transition:
		width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
		background-color 0.3s ease;
}

/* Arrow indicator (→), reveals on hover */
.sh-catalog-root-card-title::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 6px;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'><path d='M5 12h14M13 6l6 6-6 6' stroke='%23F7D94F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
	opacity: 0;
	transform: translateX(-8px);
	transition:
		opacity 0.35s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sh-catalog-root-card:hover .sh-catalog-root-card-title,
.sh-catalog-root-card:focus-visible .sh-catalog-root-card-title {
	transform: translateY(-3px);
}

.sh-catalog-root-card:hover .sh-catalog-root-card-title::after,
.sh-catalog-root-card:focus-visible .sh-catalog-root-card-title::after {
	width: 80px;
	background: #F7D94F;
}

.sh-catalog-root-card:hover .sh-catalog-root-card-title::before,
.sh-catalog-root-card:focus-visible .sh-catalog-root-card-title::before {
	opacity: 1;
	transform: translateX(0);
}

.sh-catalog-root-card:focus-visible {
	outline: 2px solid #CCAD22;
	outline-offset: 3px;
}

.sh-catalog-root-card:nth-child(2) {
	animation-delay: 0.06s;
}

.sh-catalog-root-card:nth-child(3) {
	animation-delay: 0.12s;
}

.sh-catalog-root-card:nth-child(4) {
	animation-delay: 0.18s;
}

.sh-catalog-root-card:nth-child(5) {
	animation-delay: 0.24s;
}

.sh-catalog-root-card:nth-child(6) {
	animation-delay: 0.3s;
}

@keyframes shCatalogCardIn {
	from {
		opacity: 0;
		translate: 0 18px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sh-catalog-root-card {
		opacity: 1;
		translate: 0 0;
		animation: none;
		transition: none;
	}

	.sh-catalog-root-card::before,
	.sh-catalog-root-card-title,
	.sh-catalog-root-card-title::after {
		transition: none;
	}
}

@media (max-width: 1023px) {
	.sh-catalogtitle {
		row-gap: 18px;
		column-gap: 20px;
	}

	.sh-catalogtitle-block2,
	.sh-catalogtitle-block3 {
		align-items: flex-end;
	}

	.catalog-sort-select {
		min-width: 0;
	}

	.sh-catalog-root-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.sh-catalog-root-card {
		aspect-ratio: 4 / 3;
		padding: 24px;
	}

	.sh-catalog-root-card-title {
		font-size: 22px;
	}
}

@media (max-width: 767px) {
	.fullpage.fill-brightgray > .container {
		padding-left: 0;
		padding-right: 0;
	}

	.sh-catalog-root-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 0 16px 24px;
	}

	.sh-catalog-root-card {
		aspect-ratio: 16 / 10;
		padding: 22px;
	}

	.sh-catalog-root-card-title {
		font-size: 20px;
		padding-right: 30px;
	}

	.sh-catalog-root-card-title::before {
		width: 18px;
		height: 18px;
		bottom: 4px;
	}

	.sh-bread {
		margin: 0;
		padding: 0 16px;
	}

	.catalogcontainer {
		margin: 0 -16px;
		padding: 0 16px 24px;
	}

	.sh-catalogtitle {
		row-gap: 10px;
		padding-bottom: 14px;
	}

	.sh-catalogtitle-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.catalog-sort-select {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		white-space: normal;
	}

	.sh-catalogtitle-block2,
	.sh-catalogtitle-block3 {
		width: 100%;
	}

	.sh-catalogtitle-block2 {
		grid-column: 3 / 9;
	}

	.sh-catalogtitle-block3 {
		grid-column: 1 / 3;
	}

	.catalog-sort-wrapper {
		min-height: 38px;
		justify-content: stretch;
		width: 100%;
	}

	.sh-catalog-filter-trigger {
		justify-content: center;
		width: 38px;
		min-width: 38px;
		min-height: 38px;
		padding: 0;
		gap: 0;
	}

	.sh-catalog-sort-label,
	.sh-catalog-filter-trigger-text {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	body.sh-catalog-filter-open {
		overflow: hidden;
	}

	.sh-catalog-root-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.sh-catalog-root-card {
		min-height: 176px;
		padding: 18px;
	}

	.sh-catalog-root-card-title {
		font-size: 20px;
		line-height: 1.18;
	}

	.catalog-filter-mobile {
		display: none;
	}

	.catalog-filter-mobile.is-open {
		display: block !important;
		position: fixed;
		inset: 0;
		z-index: 1500;
		padding: 0 16px 24px;
		background: #F6F6F8;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.catalog-mobile-filter-header {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 20px 0 16px;
		background: #F6F6F8;
		border-bottom: 1px solid #E0E2E8;
	}

	.catalog-mobile-filter-title {
		font-family: 'InterMedium', sans-serif;
		font-size: 12px;
		line-height: 16px;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #383B47;
	}

	.catalog-mobile-filter-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 1px solid #E0E2E8;
		background: #FFFFFF;
		color: #383B47;
	}

	.catalog-mobile-filter-close svg {
		flex-shrink: 0;
	}

	.catalog-filter-mobile.is-open [data-role="filter"] {
		display: block !important;
		width: 100% !important;
		height: auto !important;
	}

	.catalog-filter-mobile.is-open .catalog-smart-filter-content,
	.catalog-filter-mobile.is-open .catalog-smart-filter-content-wrapper {
		display: block !important;
		height: auto !important;
	}

	.sh-catalog-root-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.sh-catalog-root-card {
		min-height: 140px;
		padding: 20px;
	}

	.sh-catalog-root-card-title {
		font-size: 20px;
	}
}
