.decors {
	--menu-width: 480px;
	display: grid;
	grid-template: 1fr / 1fr;
	aspect-ratio: 2560 / 1700;
	width: 100%;
}

.decor-type {
	grid-row: 1 / 1;
	grid-column: 1 / 1;
	display: flex;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.decor-type.active {
	pointer-events: auto;
	opacity: 1;
}

.decors-images {
	display: grid;
	grid-template: 1fr / 1fr;
	width: calc(100% - var(--menu-width));
}

.decor-image {
	grid-row: 1 / 1;
	grid-column: 1 / 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.decor-image.active {
	opacity: 1;
}

.decors-menu {
	width: var(--menu-width);
	box-sizing: border-box;
	background-color: #ffffff;
	padding: 60px;
}

.decor-types-menu {
	display: flex;
	justify-items: stretch;
	margin-bottom: 40px;
}

.decor-types-menu a {
	width: 100%;
	text-align: center;
	line-height: 60px;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--red);
	border: 1px solid var(--red);
	background-color: #ffffff;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.decor-types-menu a.active {
	color: #ffffff;
	background-color: var(--red);
}

.decor-type-items {
	display: none;
}

.decor-type-items.active {
	display: block;
}

.decor-type-subname {
	display: block;
	text-transform: uppercase;
	margin-bottom: 32px;
}

.decor-standard-name {
	margin-bottom: 1em;
}

.decor-standard-type {
	margin-bottom: 25px;
}

.decor-standard-type-decors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: max-content;
	row-gap: 18px;
	column-gap: 24px;
}

.decor-thumbnail {
	position: relative;
	width: 100%;
	height: 100%;
}

.decor-thumbnail:before {
	position: absolute;
	display: block;
	content: " ";
	width: 100%;
	height: 100%;
	background-image: url("../../../img/red-check.svg");
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.decor-thumbnail.active:before {
	opacity: 1;
}

.decor-thumbnail-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 1480px)
{
	.decors {
		--menu-width: 380px;
	}

	.decors-menu {
		padding-left: 30px;
		padding-right: 30px;
		padding-bottom: 30px;
	}
}

@media screen and (max-width: 1150px)
{
	.decors {
		--menu-width: 300px;
	}

	.decor-types-menu {
		flex-wrap: wrap;
	}

	.decor-types-menu a {
		width: 100%;
		line-height: 40px;
		font-size: 1em;
	}

	.decor-standard-type-decors {
		row-gap: 15px;
		column-gap: 15px;
	}

	.decors-menu {
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 20px;
	}

	.decor-types-menu {
		margin-bottom: 1em;
	}

	.decor-type-subname {
		margin-bottom: 1em;
	}
}

@media screen and (max-width: 880px)
{
	.decor-types-menu {
		flex-wrap: nowrap;
	}

	.decor-types-menu a {
		line-height: 50px;
	}

	.decor-type {
		flex-direction: column;
	}

	.decors-images {
		width: 100%;
		order: 2;
	}

	.decors-menu {
		width: 100%;
		order: 1;
	}

	.decor-standard-type-decors {
		grid-template-columns: repeat(5, 1fr);
	}
}
