/* Страница отеля /booking/<id> — дизайн в стиле выдачи.
   Manrope для заголовков и цен, Inter для текста, красная цена, зелёный бейдж. */

.hotel-page {
	--hp-ink: #16202B;
	--hp-muted: #6B7A88;
	--hp-line: #E6EBF0;
	--hp-soft: #F5F8FA;
	--hp-brand: #1B4C6B;
	--hp-price: #E12A2A;
	--hp-fast: #0E7C66;
	--hp-fast-soft: #E6F5F1;
}

/* ---------- карточки-секции ---------- */
.hotel-page .detail-property-container {
	background: #fff;
	border: 1px solid #E6EBF0;
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(22, 32, 43, .04);
	padding: 16px 18px;
	margin-top: 14px !important;
}

/* специфичность выше, чем у инлайнового .land-main-cont .hotel-title в шаблоне */
.hotel-page .detail-property-container .hotel-title {
	font-family: Manrope, Inter, sans-serif;
	font-weight: 800;
	font-size: 28px;
	line-height: 1.2;
	color: #16202B;
	letter-spacing: -.01em;
	margin-bottom: 6px;
	display: block;
}

/* ---------- шапка ---------- */
.hp-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.hp-stars i {
	width: 14px; height: 14px; display: inline-block; background: #F4B324;
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.hp-addr {
	display: flex; align-items: center; gap: 6px;
	font-size: 13.5px; color: #6B7A88; margin-bottom: 12px;
}
.hp-addr svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: 0 0 14px; }

.hp-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-tag {
	display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
	border-radius: 7px; font-size: 12.5px; font-weight: 500; font-family: Inter, sans-serif;
}
.hp-tag svg { width: 13px; height: 13px; }
.hp-tag--fast { background: #E6F5F1; color: #0E7C66; }
.hp-tag--fast .bolt { fill: #0E7C66; }
.hp-tag--rating { background: #FFF6E0; color: #8A6100; }
.hp-tag--rating .star { fill: #E8A400; }
.hp-tag--rating b { font-weight: 700; }
.hp-tag--plain { background: #F5F8FA; color: #6B7A88; }

/* ---------- кратко ---------- */
.hp-facts { display: grid; gap: 10px; }
.hp-fact { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: #31414F; }
.hp-fact .ico {
	width: 26px; height: 26px; border-radius: 8px; background: #F5F8FA;
	display: flex; align-items: center; justify-content: center;
}
.hp-fact .ico svg { width: 14px; height: 14px; stroke: #1B4C6B; fill: none; stroke-width: 1.8; }
.hp-fact b { font-weight: 600; color: #16202B; }
.hp-fact .dim { color: #6B7A88; }
.hp-h2 {
	font-family: Manrope, Inter, sans-serif; font-size: 17px; font-weight: 700;
	color: #16202B; margin: 0 0 12px;
}

/* ---------- галерея ---------- */
.hp-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 148px 148px;
	gap: 8px;
	margin-bottom: 4px;
	border-radius: 16px;
	overflow: hidden;
}
.hp-gallery .cell {
	position: relative; background: #F5F8FA; overflow: hidden; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: #9AA9B6; font-size: 13px;
}
.hp-gallery .cell:first-child { grid-row: span 2; }
.hp-gallery .cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-gallery .cell .all {
	position: absolute; right: 10px; bottom: 10px;
	background: rgba(255, 255, 255, .95); color: #16202B; border: 0; border-radius: 8px;
	padding: 7px 12px; font: 600 12.5px/1 Inter, sans-serif; cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
}
.hp-gallery .cell .all:hover { background: #fff; }

/* ---------- панель бронирования ---------- */
.hotel-page .asdasdasd-stick {
	border: 1px solid #E6EBF0;
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(22, 32, 43, .06);
	padding: 16px;
}
.hotel-page .asdasdasd-stick .search-button button,
.hotel-page .asdasdasd-stick .btn-2 {
	background: #E12A2A !important;
	border-color: #E12A2A !important;
	border-radius: 11px !important;
	font-family: Manrope, Inter, sans-serif !important;
	font-weight: 800 !important;
	height: 46px !important;
}
.hotel-page .asdasdasd-stick .search-button button:hover {
	background: #C81F1F !important;
}

/* ---------- номера ---------- */
.hotel-page #category_detail_ > .row,
.hotel-page [id^="category_detail_"] {
	border-radius: 14px;
}
.hotel-page [id^="category_detail_"] {
	border: 1px solid #E6EBF0 !important;
	box-shadow: 0 1px 2px rgba(22, 32, 43, .04);
	transition: border-color .15s, box-shadow .15s;
}
.hotel-page [id^="category_detail_"]:hover {
	border-color: #CFDCE6 !important;
	box-shadow: 0 6px 18px rgba(22, 32, 43, .07);
}
.hotel-page .hotel-desc-col-2 b {
	font-family: Manrope, Inter, sans-serif;
	font-size: 15.5px;
	color: #16202B;
}

/* цена номера — красным */
.hotel-page .price_b b.price_b_b,
.hotel-page .category_price,
.hotel-page .hotel-desc-col-2 .price_b_b {
	color: #E12A2A !important;
	font-variant-numeric: tabular-nums;
}

/* ---------- мобильная нижняя панель ---------- */
.hp-mbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: none; align-items: center; gap: 12px;
	background: #fff; border-top: 1px solid #E6EBF0;
	padding: 10px 14px; box-shadow: 0 -6px 20px rgba(22, 32, 43, .08);
}
.hp-mbar .txt { font-size: 12.5px; color: #6B7A88; line-height: 1.2; }
.hp-mbar .txt b { display: block; font-family: Manrope, Inter, sans-serif; font-size: 14px; color: #16202B; }
.hp-mbar button {
	flex: 1; height: 44px; border: 0; border-radius: 11px; background: #E12A2A; color: #fff;
	font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 15px; cursor: pointer;
}

/* ---------- адаптив ---------- */
@media (max-width: 991px) {
	.hotel-page .detail-property-container .hotel-title { font-size: 24px; }
	.hp-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 110px; }
	.hp-gallery .cell:first-child { grid-column: span 2; grid-row: span 1; }
	/* на планшете оставляем большое фото + 2 маленьких, чтобы сетка была ровно 2 ряда */
	.hp-gallery .cell:nth-child(n+4) { display: none; }
}
@media (max-width: 620px) {
	.hotel-page .detail-property-container { padding: 14px; border-radius: 12px; }
	.hotel-page .detail-property-container .hotel-title { font-size: 21px; }
	.hp-gallery { grid-template-rows: 168px 1fr; }
	.hp-gallery .cell:nth-child(4) { display: none; }
	.hp-mbar { display: flex; }
	.hotel-page { padding-bottom: 72px; }
}
