.container-main {
	text-align: center;
}

.home-new {
	text-align: center;
	display: flex;
	justify-content: center;
}

.home-new__title {
	position: relative;
	display: inline-block;
	margin: 40px auto 32px;
	padding: 12px 48px;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #4a3f3f;
	background: linear-gradient(to right,
			rgba(255, 255, 255, 0),
			rgba(255, 255, 255, 0.85),
			rgba(255, 255, 255, 0));
}

.home-new__title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 80px;
	height: 2px;
	background: #c9a5a5;
}


.home-new__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 0;
	width: 100%;
	max-width: 1400px;
}

.home-new__item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
	text-decoration: none;
}

.home-new__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity .3s;
	padding: 20px;
}

.home-new__item:hover .home-new__overlay {
	opacity: 1;
}

.home-new__name {
	font-size: 18px;
	margin-bottom: 8px;
}

.home-new__price {
	font-size: 16px;
}

.home-block-responsive-new .home-new__grid {
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

@media (max-width: 768px) {
	.home-new__grid {
		row-gap: 16px;
	}

	.home-new__item {
		border-radius: 8px;
		overflow: hidden;
	}

	.home-new__overlay {
		opacity: 1;
		justify-content: flex-end;
		height: auto;
		inset: auto 0 0 0;
	}
}