.card__img-wrap--plot-map {
	position: relative;
}

.plot-map {
	position: relative;
	color: #0f212d;
}

.plot-map__viewport {
	overflow: visible;
}

.plot-map__stage {
	position: relative;
	width: 100%;
}

.plot-map__bg,
.plot-map__svg {
	display: block;
	width: 100%;
	height: auto;
}

.plot-map__svg {
	position: absolute;
	left: 0;
	top: 0;
}

.plot-map__shape {
	fill: #d1dfd3;
	stroke: none;
	cursor: pointer;
}

.plot-map__shape[data-status="Забронирован"] {
	fill: #c5c5c5;
}

.plot-map__shape[data-status="Продан"] {
	fill: #e9c2b0;
}

.plot-map__shape.is-active {
	fill: #00ba1a;
}

@media (hover: hover) {
	.plot-map__shape:hover {
		fill: #00ba1a;
	}
}

.plot-map__labels {
	pointer-events: none;
}

.plot-map__label {
	fill: #0f212d;
	font-family: CeraPro, sans-serif;
	font-size: 40px;
	font-weight: 600;
	text-anchor: middle;
	dominant-baseline: central;
}

.plot-map__label--split {
	font-size: 34px;
}

.plot-map__zoom {
	display: none;
}

.plot-map__tooltip {
	position: fixed;
	z-index: 30;
	box-sizing: border-box;
	width: 263px;
	padding: 14px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(42, 27, 21, 0.3);
	font-size: 16px;
	line-height: 1.2;
}

.plot-map__tooltip.is-link {
	cursor: pointer;
}

.plot-map__tooltip-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.plot-map__tooltip-title {
	font-size: 28px;
	font-weight: 600;
	line-height: 1;
}

.plot-map__close {
	display: flex;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0f212d;
	cursor: pointer;
}

.plot-map__tooltip[hidden],
.plot-map__sketch[hidden],
.plot-map__row[hidden] {
	display: none;
}

.plot-map__sketch {
	display: block;
	width: 235px;
	height: 197px;
	margin-bottom: 10px;
	object-fit: cover;
	background: #f3f3f3;
}

.plot-map__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}

.plot-map__row span:first-child {
	color: rgba(15, 33, 45, 0.7);
}

.plot-map__row span:last-child {
	text-align: right;
}

.plot-map__row.is-status span:first-child {
	display: none;
}

.plot-map__row.is-status span:last-child {
	font-weight: 600;
	text-align: left;
}

.plot-map__price-old {
	display: block;
	color: rgba(15, 33, 45, 0.45);
	font-size: 13px;
	text-decoration: line-through;
}

@media (max-width: 991px) {
	.plot-map__viewport {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.plot-map__stage {
		width: 170%;
	}

	.plot-map__zoom {
		position: absolute;
		top: 12px;
		right: 12px;
		z-index: 2;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.plot-map__zoom-btn {
		width: 32px;
		height: 32px;
		padding: 0;
		border: 0;
		border-radius: 4px;
		background: #fff;
		box-shadow: 0 2px 8px rgba(42, 27, 21, 0.25);
		color: #0f212d;
		font-size: 20px;
		line-height: 32px;
		cursor: pointer;
	}

	.plot-map__tooltip {
		position: absolute;
		left: 50%;
		right: auto;
		bottom: 12px;
		top: auto !important;
		width: min(263px, calc(100% - 24px));
		transform: translateX(-50%);
	}
}
