header {
	margin-bottom: 30px;
}

.main_block {
	display: flex;
	align-items: center;
}

.prices_line {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}

.prices_title {
	display: flex;
	gap: 8px;
	align-items: center;
	position: absolute;
	top: -15px;
	left: 20px;
	color: #000;
	font-size: 24px;
	font-weight: 700;
}
.prices_title_desks .desks-title {
	white-space: nowrap;
}
.not-reserved-desks, .reserved-desks {
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 700;
	width: fit-content;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
}
.not-reserved-desks {
	color: #00FF00;
}
.reserved-desks {
	color: #ff0000;
}
.desk-tooltip {
	position: fixed;
	pointer-events: none;
	background: rgba(26, 26, 26, 0.95);
	color: #fff;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 18px;
	line-height: 1.2;
	box-shadow: 0 8px 24px rgba(0,0,0,0.18);
	opacity: 0;
	transform: translateY(6px) scale(0.98);
	transition: opacity 150ms ease, transform 150ms ease;
	z-index: 9999;
}
.desk-tooltip.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.price_point {
	position: relative;
	height: 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	margin: 20px;
	border: 4px solid #ededed;
	border-radius: 15px;
	padding: 10px;
	font-size: 20px;
}

	.price_point img {
		max-width: 150px;
		border-radius: 15px;
	}

.price_book_link {
	padding: 10px 20px;
	border-radius: 15px;
	background-color: #000;
	cursor: pointer;
	transition: transform 0.2s linear;
	color: #fff;
	text-decoration: none;
}

.price_book_link:hover {
	transform: scale(1.1);
}

/* Для комнат с резервацией делаем кнопку кликабельной поверх overlay */
.price_point[data-room-name] .price_book_link {
	position: relative;
	z-index: 10;
}

/* Красный фон кнопки для зарезервированных комнат */
.price_point[data-room-name]:has(.reserved) .price_book_link {
	background-color: #e74c3c;
}

/* Слои таймера/оверлея поверх карточки */
.timer-display {
	position: absolute;
	z-index: 10;
	top: 10px;
	left: 0;
	right: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 0 8px;
	margin: 0 auto;
	text-align: center;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	color: #e74c3c;
	font-weight: bold;
}

.opct_price {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	border-radius: 15px;
	background-color: #fff;
	opacity: .8;
	z-index: 5;
}

#prices_otaqlar .price_point {
	height: 370px;
	cursor: pointer;
}

#prices_aciq_masalar .price_point .price_img {
	cursor: pointer;
}

.reserved {
	position: absolute;
	font-size: 50px;
	z-index: 6;
	left: 50%;
	top: 48%;
	transform: translate(-50%, -50%);
	color: #000;
	font-weight: 700;
}
.font_ss {
	font-family: sans-serif;
	font-size: 15px;
}

@media (max-width: 1050px) {
	.main_block {
		justify-content: center;
	}

	#prices {
		justify-content: center;
	}

	.prices_line {
		justify-content: center;
	}

	.prices_title {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 700px) {
	.price_point {
		margin: 20px 2px;
	}
}
