.apartment-selection {
	background-color: #fff;
	overflow-y: auto;

	padding: 0;
}

.selection__container {
	width: 100%;

	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.selection__left-column {
	width: 54%;
	display: flex;
	flex-direction: column;

	padding: 5.8rem 6.4rem;
	padding-right: 8.5rem;

	height: 100%;
	overflow-y: auto;
}

.selection__right-column {
	width: 46%;
	display: flex;
	flex-direction: column;

	height: 100%;

	background-color: #f3f5f5;

	gap: 2.4rem;
}

.selection__header {
	display: flex;
	width: 100%;
	flex-direction: column;

	margin-bottom: 3rem;
}

.selection__header-content {
	display: flex;
	width: 100%;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4rem 10rem;
	line-height: 1.2;
}

.header-content__title-wrapper {
	display: flex;
	flex-direction: column;
}

.title-wrapper__subtitle {
	color: #464c54;
	font-weight: 400;
	font-size: 2rem;
}

.title-wrapper__main-title {
	color: #000;

	font-weight: 400;
	font-size: 6.4rem;
}

.header-content__floor-title {
	color: #000;
	text-align: right;

	font-weight: 500;
	font-size: 3.2rem;
}

.nav-buttons {
	display: flex;
	margin-top: 4rem;
	gap: 1.6rem;

	font-weight: 400;
	font-size: 1.8rem;

	overflow-x: auto;
}

.nav-buttons__btn {
	border-radius: 1.6rem;
	padding: 1rem 3.2rem;

	background-color: #000;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 1.6rem;

	height: 5.7rem;
}

.btn--active {
	pointer-events: none;
}

.btn--inactive {
	background-color: #f3f5f5;
	color: #000;

	cursor: not-allowed;
}

.btn__dot {
	border-radius: 10rem;
	background-color: #fff;
	width: 0.8rem;
	height: 0.8rem;
}

.floor-plan {
	margin-top: auto;
	margin-bottom: auto;

	width: 100%;
	display: flex;
	flex-direction: column;

	font-weight: 500;
	font-size: 1.6rem;
}

.floor-plan__content {
	position: relative;
	padding: 0 0 46.5% 0;
	width: 100%;
}

.floor-plan__image {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
}

.floor-plan__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.floor-plan__svg path {
	user-select: none;
	cursor: pointer;
	transition: 0.3s;
	fill: #2ead37;

	opacity: 0.44;
}

.floor-plan__svg path[data-status='available'] {
	fill: #2ead37;
}

.floor-plan__svg path[data-status='reserved'] {
	fill: #e4e4e4;

	opacity: 1;
	pointer-events: none;
	touch-action: none;
}

.floor-plan__svg path[data-status='sold'] {
	fill: #ed4c4c;
	opacity: 1;
	pointer-events: none;
	touch-action: none;
}

.floor-plan__svg path:hover {
	opacity: 0.8;
}
.floor-plan__svg path.selected {
	pointer-events: none;
	opacity: 0.8;
}

.floor-plan__svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
}

.floor-plan__svg svg {
	width: 100%;
	height: 100%;
}

.floor-plan__legend {
	display: flex;
	width: 100%;
	align-items: start;
	gap: 4rem 7rem;
	justify-content: center;
	flex-wrap: wrap;

	margin-top: 3rem;
}

.relative {
	position: relative;
}

.js-room-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;

	color: #000;

	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;

	border-radius: 50px;
	border: 2px solid #6dc673;
	background: rgba(255, 255, 255, 0.8);

	white-space: nowrap;

	pointer-events: none;
	touch-action: none;
	user-select: none;

	width: 120px;
	height: 48px;
}
.js-room-info strong {
	background: rgba(46, 173, 55, 0.7);
	color: #fff;
	border-radius: 50%;
	font-weight: 500;
	width: 48px;
	height: 48px;
	flex-shrink: 0;

	text-align: center;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;

	margin: -2px;
}
.js-room-info span {
	flex: 1;
	text-align: center;
}

.legend__item {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.item__status {
	border-radius: 50%;
	width: 3rem;
	height: 3rem;
	flex-shrink: 0;
}

.status--available {
	background-color: #2ead37;
}

.status--reserved {
	background-color: #e4e4e4;
}

.status--sold {
	background-color: #ed4c4c;
}

.available .js-room-info {
	border-color: #2ead37;
}
.available .js-room-info strong {
	background: rgba(46, 173, 55, 0.7);
}

.reserved .js-room-info {
	border-color: #e4e4e4;
}
.reserved .js-room-info strong {
	background: rgba(200, 200, 200, 0.7);
	color: #000;
}

.sold .js-room-info {
	border-color: #ed4c4c;
}
.sold .js-room-info strong {
	background: rgba(237, 76, 76, 0.7);
}

.floor-selector {
	align-self: center;
	margin-top: 3rem;
	width: 75.2rem;
	max-width: 100%;
}

.floor-selector__title {
	font: 500 2.4rem var(--font-1);
	text-align: center;
	color: #000;
}

.floor-selector__numbers {
	margin-top: 3rem;
	width: 100%;
	font: 500 2rem var(--font-1);
}

.numbers__number {
	border-radius: 50%;
	width: 4.8rem;
	height: 4.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.number--active {
	background-color: #000;
	color: #fff;
}

.number--inactive {
	background-color: #fff;
	border: 0.1rem solid #000;
	color: #000;
}

.section__nav-header {
	display: flex;
	align-items: stretch;
	width: 100%;

	border-bottom: 1px solid #000;
	background: #fff;
}

.nav-header__tab {
	width: 100%;
	padding: 2.2rem 2rem;
	display: flex;
	align-items: center;
	justify-content: center;

	transition: 0.3s;

	cursor: pointer;

	background-color: #fff;
	color: #000;

	font-weight: 500;
	font-size: 2.4rem;
	line-height: 1.2;
}

.nav-header__tab:hover {
	background-color: #000;
	color: #fff;
}

.nav-header__tab:hover .content__icon svg {
	fill: #fff;
}

.tab--active {
	background-color: #000;
	color: #fff;
	pointer-events: none;
}

.tab__content {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.content__icon {
	width: 4rem;
	height: 4rem;
	border-radius: 0.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.content__icon svg {
	width: 100%;
	height: 100%;
	fill: #000;

	transition: 0.3s;
}

.selection__notice {
	color: #979797;

	text-align: center;
	align-self: center;

	max-width: 36rem;
	width: 100%;
	font: 500 6.4rem/7.7rem var(--font-1);
}

.selection__room {
	display: flex;
	flex-direction: column;
	justify-content: center;

	flex: 1;
}

.selection__actions {
	background-color: #000;

	width: 100%;
	padding: 3.7rem 5.4rem;
	display: flex;
	justify-content: center;
}

.actions__group {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
	width: 100%;
}

.group__action-btn {
	border: 0;
	border-radius: 1.6rem;
	background-color: #f3f5f5;
	padding: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 1rem;
	font: 400 1.8rem/1.6 var(--font-1);
	color: #000;

	cursor: pointer;
	transition: 0.3s;

	flex: auto;
	white-space: nowrap;

	height: 7.2rem;
}

.group__action-btn:hover {
	opacity: 0.8;
}

.action-btn__icon {
	padding: 0.8rem;
	width: 4rem;
	height: 4rem;

	border-radius: 0.8rem;
	overflow: hidden;

	background-color: #000;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.action-btn__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.action-btn__icon svg {
	fill: #fff;
	width: 100%;
	height: 100%;
}

.action-btn__text {
	margin: 0;
}

.selection-room__content {
	display: flex;
	flex-direction: column;

	gap: 2rem;

	padding-left: 5rem;
	padding-right: 6.3rem;
}

.selection-room__content.hidden {
	display: none;
}

.selection-room__location {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.selection-room__section-name {
	font-size: 2rem;
	color: #464c54;
}

.selection-room__floor-number,
.selection-room__apartment-number {
	font-size: 3.2rem;
	font-weight: 500;
	color: #000;
}

.selection-room__preview {
	text-align: center;
}

.selection-room__preview-image {
	max-width: 100%;
	height: 45rem;

	display: flex;
	flex-direction: column;
	align-items: center;

	padding: 4rem 0;
}

.selection-room__preview-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.selection-room__info {
	align-self: center;
}

.info {
	background-color: #fff;
	border-radius: 2rem;

	display: flex;
	align-items: center;

	gap: 5.5rem;
}

.info__stats {
	display: flex;
	gap: 5rem;

	white-space: nowrap;
}

.info__label {
	font-size: 2rem;
	color: #464c54;
	margin-bottom: 0.5rem;
}

.info__value {
	font-size: 3.2rem;
	font-weight: 500;
	color: #000;
}

.info__price {
	background-color: #000;
	border-radius: 1.6rem;
	color: #fff;
	padding: 0.8rem 3.2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: none;
	cursor: pointer;

	max-width: 30.6rem;
	width: 100%;
	height: 7.2rem;

	font-size: 1.8rem;
	transition: 0.3s;

	cursor: pointer;
}

.info__price:hover {
	opacity: 0.8;
}

.hidden {
	display: none;
}

.chessboard-floors path {
	cursor: pointer;
	fill-opacity: 0;
	transition: fill-opacity 0.3s ease;
}

.chessboard-floors path:hover {
	fill-opacity: 0.35;
}

.floor-popup-select-swiper .swiper-slide {
	width: auto;
}

.floor-popup-select-swiper .swiper-slide.swiper-slide-active .js-modal-floor-button {
	pointer-events: none;
	background: #000;
	color: #fff;
}

.floor-popup-select-swiper .js-modal-floor-button {
	border: 1px solid #000;

	width: 4.8rem;
	height: 4.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-shrink: 0;

	color: #000;

	font-size: 2rem;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;

	background: #fff;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
	transition: 0.3s;
}

.floor-popup-select-swiper .js-modal-floor-button:hover {
	background: #000;
	color: #fff;
	opacity: 0.6;
}

.selected-room {
	padding: 4rem;
	padding-top: 5rem;
	padding-bottom: 3.8rem;

	padding-right: 3.8rem;

	background: #f3f5f5;

	color: #000;
}
.selected-room__content {
	display: flex;
	flex-direction: column;

	gap: 4rem;
}

.selected-room__title {
	margin: 0;

	font-size: 3.2rem;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
}

.selected-room__wrapper {
	display: flex;
	flex-direction: column;

	gap: 3rem;
}

.selected-room__label {
	color: #7f868f;
	font-size: 3rem;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
}

.selected-room__image {
	height: 37rem;
	width: 100%;
}
.selected-room__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.selected-room__info {
	align-self: center;

	padding: 2rem 5rem;
}
.selected-room__label--hidden {
	display: none;
	color: #7f868f;

	font-size: 2.67rem;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;

	margin-bottom: 2.67rem;
}
.selected-room__title--hidden {
	margin: 0;
	margin-bottom: 1rem;
	text-align: left;

	font-size: 2.4rem;
	font-style: normal;
	font-weight: 500;
	line-height: 120%;
}

.selection__left-column .section__nav-header {
	display: none;
}

.selection__right-column .nav-header__tab .content__text--hidden {
	display: none;
}

@media screen and (max-width: 1023px) {
	.selected-room__label--hidden {
		display: block;
	}

	.selection__right-column {
		position: fixed;
		top: 0;
		left: 100%;
		z-index: 50;

		transition: 0.3s linear;

		overflow-y: auto;
		height: 100%;

		visibility: hidden;

		gap: 20px;
	}
	.selection__right-column.show {
		left: 0;

		visibility: visible;
	}

	.selection-room__content {
		padding: 0 20px;

		gap: 0;
	}

	.selection-room__info {
		width: 100%;
	}

	.selection-room__section-name {
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 120%;
	}

	.selection-room__floor-number,
	.selection-room__apartment-number {
		font-size: 20px;
		font-style: normal;
		font-weight: 500;
		line-height: 120%;
	}

	.selection__left-column {
		padding: 0;
	}
	.selection__left-column .section__nav-header {
		display: flex;
	}

	.selection__header {
		padding: 0 20px;
		padding-top: 20px;
	}

	.floor-plan {
		padding: 0 20px;
	}
	.floor-selector {
		padding: 0 20px;
		padding-bottom: 40px;
	}
	.info {
		padding: 25px 14.5px;
		border-radius: 20px;
		gap: 20px;

		flex-direction: column;
		align-items: stretch;
	}
	.info .btn {
		width: 100%;
	}

	.selection__room {
		padding-bottom: 20px;
	}

	.info__stats {
		gap: 20px 50px;
	}

	.info__label {
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 120%;
		margin: 0;
	}

	.info__value {
		font-size: 24px;
		font-style: normal;
		font-weight: 500;
		line-height: 120%;
	}

	.actions__group {
		flex-direction: column;

		gap: 20px;
	}

	.group__action-btn {
		border-radius: 16px;
		padding: 10px 15px;
		align-items: center;
		justify-content: flex-start;
		gap: 16px;

		height: 60px;

		gap: 20px;

		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 160%;
		width: 100%;
	}

	.action-btn__icon {
		width: 36px;
		height: 36px;

		padding: 6px;
	}

	.apartment-selection {
		padding: 0;
	}

	.selection__container {
		flex-direction: column;
		height: 100%;

		position: relative;
	}

	.selection__left-column,
	.selection__right-column {
		width: 100%;
	}
	.selection__right-column .nav-header__tab .content__text {
		display: none;
	}
	.selection__right-column .nav-header__tab .content__text--hidden {
		display: block;
	}

	.floor-plan__content-wrapper {
		overflow-x: auto;

		margin: 0 -20px;
	}
	.floor-plan__content {
		width: 596.11px;
		min-width: 596.11px;
		flex-shrink: 0;

		padding: 0 0 80.8% 0;

		margin: 0 20px;
	}

	.title-wrapper__main-title {
		font-size: 4rem;
	}

	.nav-buttons {
		margin: 0 -20px;
		padding: 0 20px;

		margin-top: 20px;

		flex-wrap: nowrap;
		gap: 16px;

		padding-bottom: 10px;
	}

	.nav-buttons__btn {
		width: 153px;
		height: 51px;

		border-radius: 16px;
		padding: 10px 32px;
		gap: 16px;
	}
	.selection__header {
		margin-bottom: 20px;
	}
	.floor-plan__legend {
		justify-content: flex-start;
		gap: 20px;

		margin-top: 28px;
	}
	.legend__item {
		gap: 10px;

		font-size: 14px;
		font-style: normal;
		font-weight: 500;
		line-height: 120%;
	}
	.item__status {
		width: 20px;
		height: 20px;
	}
	.floor-selector__title {
		font-size: 20px;
		font-style: normal;
		font-weight: 500;
		line-height: 120%;
	}
	.floor-selector__numbers {
		margin-top: 20px;
	}
	/* Swiper пише інлайн transform на .swiper-wrapper і margin-right на слайди (spaceBetween): інлайн-стиль вендора перебиває лише !important (два нижче). */
	.floor-selector__numbers .swiper-wrapper {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 16px;

		box-sizing: border-box;
		overflow: hidden;
		transform: none !important;
	}
	.floor-selector__numbers .swiper-wrapper .swiper-slide {
		margin: 0 !important;
	}
	.nav-header__tab {
		font-size: 16px;
		font-style: normal;
		font-weight: 500;
		line-height: 120%;

		min-height: 60px;

		padding: 10px 16px;
	}
	.tab__content {
		gap: 8px;
	}
	.content__icon {
		width: 20px;
		height: 20px;
	}

	.selection__notice {
		font-size: 4rem;
		line-height: 5.3rem;
	}

	.selection__actions {
		padding: 40px 20px;
	}
}

.internal_hero {
	border-bottom-left-radius: 3.2rem;
	border-bottom-right-radius: 3.2rem;
}
.package-item__head {
	background: #fff;
}
.package-item__title span {
	color: #6f7780;
}

.help {
	margin-top: 0;
}

@media screen and (max-width: 1023px) {
	.gallery-btn span + span {
		display: block;
	}
	.propos_form_title {
		text-align: center;
	}
}
