/**
 * House Types block styles.
 * BEM methodology. Matches provided design structure.
 *
 * @package Harmony
 */

.house-types__card p,
.house-types__card h1,
.house-types__card h2,
.house-types__card h3,
.house-types__card h4,
.house-types__card h5 {
	margin: 0;
}

/* Section */
.house-types {
	width: 100%;
	padding: 120px 0 0;
}

.house-types__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 46px;
}

.house-types__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 32px;
}

.house-types__label {
	display: flex;
	align-items: center;
	gap: 8px;
}

.house-types__label-dot {
	width: 6px;
	height: 6px;
	background-color: var(--green-16ab92);
	flex-shrink: 0;
}

.house-types__label-text {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 15px;
	text-transform: lowercase;
	color: #17ab93;
}

.house-types__title {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 46px;
	line-height: 110%;
	letter-spacing: -0.05em;
	text-transform: uppercase;
	color: var(--black-292929);
	margin-top: 12px;
	margin-bottom: 0;
}

.house-types__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
}

.house-types__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12.5px 16px;
	background-color: var(--white-ffffff);
	border: 1px solid var(--line-dadada);
	font-family: var(--font-family);
	font-size: 14px;
	text-transform: lowercase;
	color: var(--black-292929);
	text-decoration: none;
	cursor: pointer;
	appearance: none;
}

.house-types__filter:hover {
	border-color: var(--green-16ab92);
}

.house-types__filter--active {
	background-color: var(--green-16ab92);
	border-color: var(--green-16ab92);
	color: var(--white-ffffff);
}

/* Slider */
.house-types__slider {
	position: relative;
	overflow: hidden;
}

.house-types__slider-track {
	overflow: visible;
	height: fit-content;
}

.house-types__slider-track .swiper-wrapper {
	align-items: stretch;
}

.house-types__slider-track .swiper-slide {
	height: auto;
	width: 322px;
	flex-shrink: 0;
}

/* Card - generated-class-1 */
.house-types__card {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	max-width: 322px;
	padding: 20px;
	background-color: var(--white-ffffff);
	border: 1px solid var(--line-dadada);
}

/* Card inner - generated-class-2 */
.house-types__card-inner {
	display: flex;
	width: 100%;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	height: auto;
}

/* Card header - generated-class-3 */
.house-types__card-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: auto;
	width: 100%;
}

.house-types__card-title {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 18px;
	text-transform: uppercase;
	color: var(--black-292929);
	margin-right: auto;
	display: block;
}

.house-types__card-tour {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 14px;
	text-align: right;
	color: #17ab93;
	text-decoration: none;
}

/* Plans - generated-class-8, 9 */
.house-types__card-plans {
	width: 100%;
	height: auto;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
}

.house-types__card-plan {
	width: 242px;
	height: 222px;
	background-size: cover;
	background-position: center;
	background-color: var(--bg-f5f5f5);
	transition: all 0.3s ease;
}

.house-types__card:hover .house-types__card-plan{
	transform: scale(1.05);
}

/* Card body - generated-class-10 */
.house-types__card-body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	height: auto;
	align-self: stretch;
}

/* Price wrap - generated-class-11, 12 */
.house-types__card-price-wrap {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	height: auto;
	margin-top: 20px;
	align-self: stretch;
}

.house-types__card-price-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: auto;
	align-self: stretch;
}

.house-types__card-price-label {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 136%;
	text-transform: lowercase;
	color: var(--grey-808080);
}

.house-types__card-price {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 18px;
	line-height: 106%;
	text-align: right;
	color: var(--black-292929);
}

.house-types__card-divider {
	width:100%;
	align-self: stretch;
	height: 0;
	border-top: 1px solid rgba(225, 225, 225, 1);
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Details - generated-class-18 */
.house-types__card-details {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	height: auto;
	gap: 4px;
}

.house-types__card-detail {
	color: var(--grey-808080);
	font-size: 14px;
	font-family: var(--font-family);
	text-align: left;
}

/* Button - generated-class-25, 26, 27 */
.house-types__card-btn-wrap {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: auto;
	margin-top: 10px;
	gap: 0;
	background-color: var(--yellow-ead286);
	text-decoration: none;
}

.house-types__card-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 282px;
	height: 42px;
	gap: 0;
	padding: 12px;
	flex: 1;
	border: 1px solid var(--line-dadada);
	cursor: pointer;
}

.house-types__card-btn-text {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 13px;
	text-transform: uppercase;
	text-align: center;
	color: var(--black-292929);
}

/* Slider nav */
.house-types__slider-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 24px;
}

.house-types__slider-prev,
.house-types__slider-next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background-color: var(--white-ffffff);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: opacity 0.3s;
}

.house-types__slider-prev.swiper-button-lock,
.house-types__slider-next.swiper-button-lock {
	opacity: 0;
	pointer-events: none;
}

.house-types__slider-prev svg,
.house-types__slider-next svg {
	display: block;
}

.house-types__slider-pagination {
	position: relative !important;
}

.house-types__slider-pagination.swiper-pagination-lock {
	display: none;
}

.house-types__slider-pagination .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	border-radius: 0;
	background: var(--black-292929);
opacity: 0.2;
}

.house-types__slider-pagination .swiper-pagination-bullet-active {
	background: var(--black-292929);
	opacity: 1;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
	bottom: 0;
    top: 0;
    left: 0;
    width: fit-content;
}

/* Mobile: 550px and below */
@media (max-width: 769px) {
	.house-types {
		padding: 60px 0 0;
	}

	.house-types__inner {
		padding: 0 14px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 28px;
	}

	.house-types__header {
		width: 100%;
		margin-bottom: 0;
		gap: 8px;
	}

	.house-types__label {
		gap: 6px;
	}

	.house-types__label-text {
		font-size: 14px;
		font-weight: 700;
	}

	.house-types__title {
		font-size: 32px;
		margin-top: 0;
	}

	.house-types__filters {
		width: 100%;
		margin-left: -14px;
		margin-right: -14px;
		margin-bottom: 0;
		/* padding: 0 14px; */
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.house-types__filters::-webkit-scrollbar {
		display: none;
	}

	.house-types__filter {
		flex-shrink: 0;
	}

	.house-types__slider {
		width: 100%;
		margin-left: -14px;
		margin-right: -14px;
	}

	.house-types__card-inner {
		width: 100%;
	}

	.house-types__card {
		max-width: 100%;
		padding: 14px;
	}

	.house-types__card-plans {
		margin-top: 14px;
	}

	.house-types__card-price-wrap {
		margin-top: 10px;
	}

	.house-types__card-btn-wrap {
		margin-top: 10px;
	}

	.house-types__slider-nav {
		margin-top: 0;
	}
}