.houses__slider {
	margin-top: 30px;
}

.b-catalog-house-elements-blocks {
	display: flex;
	/* grid-template-columns: repeat(3, 1fr); */
	width: 100%;
	flex-wrap: wrap;
	gap: 30px;
}

.b-catalog-house-elements-blocks .b-catalog-house-elements-blocks_item {
	display: flex;
	flex-direction: column;
	width: calc(33.33% - 20px);
}

.new-products .main-block-title {
	padding: 0 16px;
}

.catalog__elements .b-catalog-house-elements-blocks_item a {
	border-bottom: none;
}

.catalog__elements .b-catalog-house-elements-blocks_item {
	position: relative;
	display: flex;
	flex-direction: column;
}

.catalog__elements.catalog__elements--list .b-catalog-house-elements-blocks_item {
	flex-direction: row;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--site-separator-color);
}

.catalog__elements_name a {
	font-size: 18px;
	font-weight: 500;
	line-height: 22.5px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.catalog__elements_pic {
	position: relative;
	padding-bottom: 64px;
	border-radius: var(--site-border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--site-bg-tetriary-color);
	padding-top: 50px;
	border-bottom: none;
}

.catalog__elements_pic .catalog__elements_pic_holder {
	position: relative;
	display: block !important;
	width: 240px;
	max-width: 100%;
	height: 250px;
	border-radius: var(--site-border-radius);
	overflow: hidden;
	/*padding-top: calc(100%);*/
}

.catalog__elements_pic .dots {
	display: flex;
	gap: 11px;
	width: 56%;
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
}

.catalog__elements_pic .dots .dots-item {
	width: 100%;
	height: 5px;
	border-radius: 1px;
	background-color: #dddfe1;
	cursor: pointer;
}

.catalog__elements_pic .dots .dots-item.active {
	background: var(--site-accent-color);
}

.catalog__elements_pic_holder {
	position: relative;
	width: 250px;
	height: 250px;
	overflow: hidden;
	border-radius: 8px;
}

.catalog__elements_pic img {
	position: absolute;
	left: 0;
	top: 0;
	width: 240px;
	height: 224px;
	object-fit: cover;
	object-position: center;
	vertical-align: top;
	flex-shrink: 0;
	transition: opacity 0.2s;
	top: 50%;
	height: auto;
	transform: translateY(-50%);
}

.catalog__elements_pic .catalog__elements_pic_holder,
.catalog__elements_pic img {
	width: 390px;
}

.catalog__elements_pic img {
	height: auto;
}

.catalog__elements_pic-dots {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.catalog__elements_pic-dots-item {
	display: flex;
	background: transparent;
	width: 4px;
	height: 4px;
	transition: border-color 0.3s;
	width: 100%;
	height: 100%;
}

.bottom-content_wrapper {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	justify-content: flex-start;
	background-color: #f4f4f4;
	height: fit-content;
	padding: 38px 32px 43px;
}

.page-holder .bottom-content_wrapper a.house-element_name,
.page-holder .bottom-content_wrapper a.house-element_name:visited {
	font-family: "Roboto-Black", sans-serif;
	font-size: 24px;
	font-weight: 900;
	line-height: 24px;
	letter-spacing: -0.01em;
	text-align: left;
	margin-bottom: 30px;
	color: var(--site-dark-color);
}

.house-element_descript {
	font-size: 16px;
	font-weight: 400;
	line-height: 18.4px;
	text-align: left;
}

.house-house-elements_price-wrapper {
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0.4px;
	text-align: left;
	margin-top: 19px;
	margin-bottom: 21px;
}

.house-elements_price {
	font-family: "Roboto", sans-serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 38.4px;
	letter-spacing: -0.01em;
	text-align: left;
}

.house-elements_buttons-wrapper {
	display: flex;
	height: fit-content;
	margin-top: auto;
	justify-content: space-between;
	gap: 15px;
}

.house-elements_button__more {
	display: flex;
	background-color: #ffffff;
	text-transform: uppercase;
	border-radius: 50px;
	position: relative;
	width: 190px;
	height: 60px;
}

.page-holder .house-elements_buttons-wrapper a {
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: absolute;
	border-radius: 50px;
}

.house-elements_button__more > a {
	color: #373c41;
}

.house-elements_button__rent {
	display: flex;
	position: relative;
	background-color: var(--blue_hover, #014e89);
	text-transform: uppercase;
	border-radius: 50px;
	width: 182px;
	height: 60px;
	cursor: pointer;
}

.house-elements_button__rent > a {
	color: #fff !important;
}

.house-elements_button__rent > a:hover {
	background-color: #003c69;
}

.houses__slider.swiper-container-horizontal > .swiper-scrollbar {
	/*position: absolute;*/
	/*left: 0;*/
	/*bottom: -20px;*/
	z-index: 50;
	height: 5px;
	width: 100%;
	margin-top: 20px;
}

.button-container {
	display: flex;
	justify-content: center;
}

.custom-button {
	margin: 30px auto 0;
	display: block;
	width: 100%;
	max-width: 450px;
	text-transform: uppercase;
}

.catalog__elements_pic.mobile-slider {
	display: none;
	overflow: hidden;
	min-height: 170px;
}

.catalog__elements_pic_holder.swiper-wrapper {
	display: flex !important;
	overflow: visible !important;
}

.catalog__elements_pic.mobile-slider .swiper-pagination {
	display: flex;
	justify-content: space-between;
	width: 100%;
	position: absolute;
	bottom: 10px;
	left: 0;
	margin: 0 0px;
	padding: 0 10px;
}

.catalog__elements_pic.mobile-slider .swiper-pagination-bullet {
	width: 100%;
	height: 5px;
	background: #e7e7e7;
	flex: 1;
	margin: 0 5px;
}

.catalog__elements_pic.mobile-slider.swiper-container-horizontal
	> .swiper-pagination-bullets
	.swiper-pagination-bullet {
	margin: 0 5px;
}

.catalog__elements_pic.mobile-slider .swiper-pagination-bullet-active {
	background-color: var(--site-accent-color);
}

.catalog__elements_pic.mobile-slider .swiper-pagination-bullet-active::before {
	border: none;
}

.catalog__elements_pic.mobile-slider .swiper-slide {
	display: flex;
}

@media (max-width: 1024px) {
	.b-catalog-house-elements-blocks .b-catalog-house-elements-blocks_item {
		width: calc(50% - 15px);
	}
}
@media (max-width: 670px) {
	.houses__slider {
		margin-top: 20px;
	}

	.b-catalog-house-elements-blocks {
		gap: 20px 10px;
	}

	.catalog__elements_pic.mobile-slider {
		display: block;
		width: 100%;
	}

	.catalog__elements_pic.mobile-slider .catalog__elements_pic_holder,
	.catalog__elements_pic.mobile-slider img {
		width: auto;
	}

	.catalog__elements_pic {
		display: none;
	}

	.catalog__elements_pic img {
		position: static;
		object-fit: contain;
		transform: none;
	}

	.b-catalog-house-elements-blocks .b-catalog-house-elements-blocks_item {
		width: calc(50% - 5px);
	}

	.catalog__elements_pic .catalog__elements_pic_holder {
		height: 170px;
	}

	.catalog__elements_pic .dots {
		gap: 5px;
		bottom: 10px;
	}

	.catalog__elements_pic .dots .dots-item {
		height: 2px;
	}

	.catalog__elements_pic {
		padding-top: 0;
		padding-bottom: 10px;
	}

	.bottom-content_wrapper {
		padding: 20px 10px;
	}

	.page-holder .bottom-content_wrapper a.house-element_name,
	.page-holder .bottom-content_wrapper a.house-element_name:visited {
		font-size: 15px;
		font-weight: 700;
		line-height: 17.25px;
		text-align: left;
		margin-bottom: 10px;
		font-family: "Roboto", sans-serif;
	}

	.house-element_descript {
		font-size: 11px;
		font-weight: 400;
		line-height: 12.65px;
		text-align: left;
	}

	.house-house-elements_price-wrapper {
		font-size: 15px;
		font-weight: 700;
		line-height: 17.25px;
		text-align: left;
		margin-top: 10px;
		font-family: "Roboto", sans-serif;
	}

	.house-elements_price {
		font-size: 15px;
		font-weight: 700;
		line-height: 17.25px;
		text-align: left;
	}

	.house-elements_buttons-wrapper {
		flex-direction: column;
		gap: 10px;
	}

	.house-elements_button__more {
		width: 100%;
		height: 50px;
	}

	.house-elements_button__rent {
		width: 100%;
		height: 50px;
	}

	.page-holder .house-elements_buttons-wrapper a {
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		position: absolute;
		text-transform: capitalize;
	}

	.page-holder .house-elements_button__more > a {
		color: #373c41;
	}

	.custom-button {
		margin: 30px auto 0;
		display: block;
		width: 100%;
		max-width: 450px;
		text-transform: math-auto;
	}
}
