/*
 * Trang trong: đầu trang con, danh sách phòng, chi tiết phòng, gửi yêu cầu đặt phòng, trang chính sách, 404.
 */

/* min-width: 0 để nội dung rộng (bảng cuộn ngang) không nới cả trang khi main là mục grid/flex. */
.vh-main {
	display: block;
	min-width: 0;
	min-height: 50vh;
}

/* ---------- Đầu trang con ---------- */
.vh-page-hero {
	padding-block: 4px clamp(40px, 6vw, 56px);
	background: var(--vh-color-surface);
}

.vh-page-hero .vh-h1 {
	margin-top: 4px;
}

.vh-page-hero__meta {
	max-width: 62ch;
	margin-top: 8px;
}

.vh-page-hero .vh-small {
	margin-top: 4px;
}

/* ---------- Danh sách phòng ---------- */
.vh-rooms__bar {
	position: relative;
	margin-top: -24px;
}

.vh-rooms__bar-card {
	padding: var(--vh-card-pad);
}

.vh-rooms {
	padding-block: 24px clamp(40px, 8vw, 64px);
}

.vh-filter {
	display: flex;
	gap: 8px;
	margin: 0 calc(-1 * var(--vh-page-pad)) 12px;
	padding: 4px var(--vh-page-pad) 8px;
	overflow-x: auto;
	scrollbar-width: none;
}

.vh-filter::-webkit-scrollbar {
	display: none;
}

.vh-no-js .vh-filter {
	display: none;
}

.vh-filter .vh-chip {
	flex: none;
}

.vh-rooms__item {
	display: flex;
	min-width: 0;
}

.vh-rooms__item > * {
	flex: 1;
	min-width: 0;
}

.vh-empty {
	display: grid;
	justify-items: center;
	gap: 12px;
	margin-top: 8px;
	padding: 32px 20px;
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-surface);
	color: var(--vh-color-muted);
	text-align: center;
}

.vh-empty .vh-i {
	color: var(--vh-color-primary);
}

.vh-help {
	padding-bottom: clamp(40px, 8vw, 64px);
}

.vh-help__card {
	display: grid;
	gap: 16px;
	padding: var(--vh-card-pad);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-surface);
}

.vh-help__text {
	display: grid;
	gap: 4px;
}

.vh-help__actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
}

@media (min-width: 768px) {
	.vh-help__card {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		padding: 28px 32px;
	}

	.vh-help__actions {
		display: flex;
	}

	.vh-help__actions .vh-btn {
		min-width: 140px;
	}
}

/* ---------- Chi tiết phòng (room-detail/gallery-top) ---------- */
.vh-room {
	display: grid;
	grid-template-areas: "gallery" "head" "aside" "body";
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding-bottom: clamp(40px, 8vw, 64px);
}

.vh-room__gallery {
	grid-area: gallery;
	/* Điện thoại: ảnh tràn mép cho lớn. */
	margin-inline: calc(-1 * var(--vh-page-pad));
}

.vh-room-gallery .vh-img,
.vh-room-gallery .vh-ph {
	width: 100%;
}

/* Bộ đếm "1/8" nằm trên ảnh: lớp phủ .70 (chữ trắng 5,56:1 trên mọi điểm ảnh). */
.vh-room-gallery .vh-carousel__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	padding: 2px 10px;
	border-radius: var(--vh-radius-chip);
	background: rgb(var(--vh-color-overlay) / 0.7);
	color: var(--vh-white);
	font-size: 0.8125rem;
	font-weight: var(--vh-fw-medium);
	line-height: 1.6;
}

.vh-room__head {
	display: grid;
	gap: 10px;
	grid-area: head;
}

.vh-room__flags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-room__flags:empty {
	display: none;
}

.vh-room__aside {
	grid-area: aside;
	min-width: 0;
}

.vh-room__body {
	display: grid;
	gap: 32px;
	grid-area: body;
	min-width: 0;
}

.vh-room__block {
	display: grid;
	gap: 14px;
}

.vh-room__desc {
	display: grid;
	gap: 0.9em;
	max-width: 68ch;
}

@media (min-width: 768px) {
	.vh-room__gallery {
		margin-inline: 0;
	}

	.vh-room-gallery .vh-carousel__track,
	.vh-room-gallery--single {
		overflow: hidden;
		border-radius: var(--vh-radius-media);
	}

	.vh-room-gallery .vh-carousel__track {
		overflow-x: auto;
	}
}

@media (min-width: 1024px) {
	.vh-room {
		grid-template-areas:
			"gallery aside"
			"head aside"
			"body aside";
		grid-template-columns: minmax(0, 1fr) 360px;
		grid-template-rows: auto auto 1fr;
		column-gap: 40px;
	}

	.vh-room__aside {
		position: sticky;
		top: calc(var(--vh-top-h, var(--vh-header-h)) + 16px);
		align-self: start;
	}
}

/* 4 ô thông số 2×2 */
.vh-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-tile {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 12px;
	padding: 14px;
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-surface);
}

.vh-tile .vh-i {
	grid-row: 1 / span 2;
	color: var(--vh-color-primary);
}

.vh-tile__k {
	color: var(--vh-color-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.vh-tile__v {
	font-weight: var(--vh-fw-medium);
	line-height: 1.35;
}

@media (max-width: 379px) {
	.vh-tile {
		grid-template-columns: minmax(0, 1fr);
	}

	.vh-tile .vh-i {
		grid-row: auto;
		margin-bottom: 6px;
	}
}

/* Tiện nghi chia nhóm */
.vh-room-amen {
	display: grid;
	gap: 24px;
}

@media (min-width: 640px) {
	.vh-room-amen {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}

.vh-room-amen__h {
	margin-bottom: 12px;
	font-family: var(--vh-font-body);
	font-size: 1rem;
	font-weight: var(--vh-fw-bold);
}

.vh-room-amen .vh-chip {
	min-height: 24px;
	padding: 0 8px;
	font-size: 0.75rem;
}

/* Hộp "Lưu ý" viền màu chính */
.vh-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 2px solid var(--vh-color-primary);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-bg);
}

.vh-note > .vh-i {
	color: var(--vh-color-primary);
}

.vh-note__t {
	margin-bottom: 2px;
	font-weight: var(--vh-fw-bold);
}

/* Ghi chú gọn trên nút gửi (web mẫu: yêu cầu không được gửi, không được lưu). */
.vh-note--info {
	gap: 10px;
	padding: 12px 14px;
	border-width: 1px;
	border-color: var(--vh-color-accent-ink);
	background: var(--vh-color-accent);
	font-size: var(--vh-fs-small);
	line-height: 1.5;
}

.vh-note--info > .vh-i {
	flex: none;
	margin-top: 1px;
	color: var(--vh-color-accent-ink);
}

/* Thẻ đặt nhanh */
.vh-book-card {
	display: grid;
	gap: 14px;
	padding: var(--vh-card-pad);
	border: 1px solid var(--vh-color-border);
}

.vh-book-card__title {
	font-weight: var(--vh-fw-bold);
}

.vh-book-card__alt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 16px;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-book-card__alt a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	font-weight: var(--vh-fw-medium);
}

/* Hỏi qua Zalo */
.vh-ask {
	display: grid;
	gap: 14px;
	padding: var(--vh-card-pad);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-surface);
}

.vh-ask > div {
	display: grid;
	gap: 4px;
}

@media (min-width: 640px) {
	.vh-ask {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

/* Phòng khác */
.vh-others {
	padding-block: clamp(40px, 8vw, 64px);
	background: var(--vh-color-surface);
}

.vh-others__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 20px;
}

/* ---------- Gửi yêu cầu đặt phòng ---------- */
.vh-req {
	display: grid;
	gap: 24px;
	padding-block: 24px clamp(40px, 8vw, 64px);
}

.vh-req__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.vh-req__form {
	display: grid;
	gap: 28px;
	padding: var(--vh-card-pad);
	border: 1px solid var(--vh-color-border);
}

.vh-req__submit {
	display: grid;
	gap: 8px;
}

.vh-req__aside {
	display: grid;
	gap: 16px;
	align-content: start;
	min-width: 0;
}

.vh-req__sum,
.vh-req__help {
	display: grid;
	gap: 12px;
	padding: var(--vh-card-pad);
	border: 1px solid var(--vh-color-border);
}

.vh-req__help-name {
	font-weight: var(--vh-fw-bold);
}

.vh-sum {
	display: grid;
	gap: 10px;
	margin: 0;
}

.vh-sum > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--vh-color-border);
}

.vh-sum dt {
	color: var(--vh-color-muted);
}

.vh-sum dd {
	margin: 0;
	font-weight: var(--vh-fw-medium);
	text-align: right;
}

@media (min-width: 768px) {
	.vh-req__form {
		padding: 32px;
	}
}

@media (min-width: 1024px) {
	.vh-req__grid {
		grid-template-columns: minmax(0, 1fr) 360px;
		align-items: start;
		column-gap: 40px;
	}

	.vh-req__aside {
		position: sticky;
		top: calc(var(--vh-top-h, var(--vh-header-h)) + 16px);
	}
}

/* ---------- Trang chính sách, bài đọc dài (680–720px) ---------- */
.vh-doc {
	padding-block: 4px clamp(48px, 8vw, 80px);
}

.vh-doc__title {
	margin-top: 4px;
}

.vh-doc__meta {
	margin: 8px 0 28px;
}

.vh-doc__body {
	line-height: 1.75;
}

.vh-doc__body > * + * {
	margin-top: 1em;
}

.vh-doc__body h2 {
	margin-top: 2em;
	font-size: calc(var(--vh-fs-h3) * 1.1);
	font-weight: var(--vh-fw-bold);
	line-height: 1.35;
}

.vh-doc__body h3 {
	margin-top: 1.6em;
	font-size: 1.0625rem;
	font-weight: var(--vh-fw-bold);
	line-height: 1.4;
}

.vh-doc__body h2 + *,
.vh-doc__body h3 + * {
	margin-top: 0.5em;
}

.vh-doc__body ul,
.vh-doc__body ol {
	padding-left: 1.4em;
}

.vh-doc__body li + li {
	margin-top: 0.4em;
}

.vh-doc__body a {
	text-decoration: underline;
}

.vh-doc__body strong {
	font-weight: var(--vh-fw-bold);
}

.vh-doc__body blockquote {
	padding: 4px 0 4px 16px;
	border-left: 4px solid var(--vh-color-primary);
	color: var(--vh-color-muted);
}

.vh-doc__body table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	font-size: var(--vh-fs-small);
	line-height: 1.5;
}

.vh-doc__body th,
.vh-doc__body td {
	padding: 8px 10px;
	border: 1px solid var(--vh-color-border);
	text-align: left;
	vertical-align: top;
}

.vh-doc__body th {
	background: var(--vh-color-surface);
	font-weight: var(--vh-fw-medium);
}

.vh-doc__body img {
	border-radius: var(--vh-radius-media);
}

.vh-doc__body hr {
	margin-block: 2em;
	border: 0;
	border-top: 1px solid var(--vh-color-border);
}

.vh-list-posts {
	display: grid;
	gap: 24px;
	margin: 24px 0;
}

.vh-list-posts__item {
	display: grid;
	gap: 4px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--vh-color-border);
}

.vh-list-posts__item a {
	color: var(--vh-color-text);
	text-decoration: none;
}

.vh-list-posts__item a:hover {
	color: var(--vh-color-primary);
	text-decoration: underline;
}

/* ---------- 404 ---------- */
.vh-404 {
	display: grid;
	justify-items: center;
	gap: 16px;
	padding-block: clamp(48px, 12vw, 112px);
	text-align: center;
}

/* Số 404 chỉ trang trí (aria-hidden). */
.vh-404__code {
	color: var(--vh-color-accent);
	font-family: var(--vh-font-heading);
	font-size: clamp(4.5rem, 20vw, 8rem);
	font-weight: var(--vh-fw-heading);
	line-height: 1;
}

.vh-404__text {
	max-width: 52ch;
}

.vh-404__actions {
	justify-content: center;
	margin-top: 8px;
}

/* =====================================================================
 * Biến thể theo mẫu (preset.chrome.rooms_page / room_detail). Mini Gọn không dùng lớp nào dưới đây.
 * ===================================================================== */

/* ---------- Đầu trang /phong/ có ảnh khung (rooms_page.hero = image) ---------- */
.vh-page-hero__media {
	position: relative;
	overflow: hidden;
	margin: 4px calc(-1 * var(--vh-page-pad)) 20px;
	aspect-ratio: 3 / 2;
	background: var(--vh-color-surface);
}

.vh-page-hero__media > .vh-img,
.vh-page-hero__media > .vh-ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: var(--vh-media-filter, none);
}

.vh-page-hero__lead {
	max-width: 62ch;
	margin-top: 8px;
}

@media (min-width: 768px) {
	.vh-page-hero__media {
		margin-inline: 0;
		aspect-ratio: 21 / 9;
		border-radius: var(--vh-radius-media);
	}
}

/* ---------- Danh sách phòng: tab nhóm, chip, sắp xếp, Lưới / Danh sách ---------- */
.vh-rl__controls {
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.vh-rl__tabs,
.vh-rl__chips {
	display: flex;
	margin: 0 calc(-1 * var(--vh-page-pad));
	padding: 0 var(--vh-page-pad);
	overflow-x: auto;
	scrollbar-width: none;
}

.vh-rl__tabs::-webkit-scrollbar,
.vh-rl__chips::-webkit-scrollbar {
	display: none;
}

.vh-rl__tabs {
	gap: 4px;
	border-bottom: 1px solid var(--vh-color-border);
}

.vh-rl__chips {
	gap: 8px;
	padding-block: 4px;
}

.vh-rl__chip {
	flex: none;
}

.vh-rl__tab {
	position: relative;
	flex: none;
	min-height: 48px;
	padding: 12px 14px;
	border: 0;
	background: none;
	color: var(--vh-color-muted);
	font-family: var(--vh-font-ui, var(--vh-font-body));
	font-size: var(--vh-fs-body);
	font-weight: var(--vh-fw-medium);
	line-height: 1.4;
	cursor: pointer;
}

.vh-rl__tab:hover {
	color: var(--vh-color-text);
}

/* Dải tab cuộn ngang cắt phần ngoài: vòng focus vẽ vào trong. */
.vh-rl__tab:focus-visible,
.vh-rl__view:focus-visible {
	outline-offset: -3px;
}

.vh-rl__tab[aria-pressed="true"] {
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-bold);
}

.vh-rl__tab[aria-pressed="true"]::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: -1px;
	left: 14px;
	height: 3px;
	background: var(--vh-color-primary);
}

.vh-rl__count {
	color: var(--vh-color-muted);
	font-weight: var(--vh-fw-body);
	font-variant-numeric: tabular-nums;
}

.vh-rl__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

.vh-rl__sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vh-rl__sort .vh-input {
	width: auto;
	min-height: 44px;
}

.vh-rl__tool-l {
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-rl__views {
	display: inline-flex;
	border: 1px solid var(--vh-color-border-strong);
	border-radius: var(--vh-radius-button);
}

.vh-rl__view {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 14px;
	border: 0;
	border-radius: calc(var(--vh-radius-button) - 1px);
	background: var(--vh-color-bg);
	color: var(--vh-color-text);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
	cursor: pointer;
}

.vh-rl__view[aria-pressed="true"] {
	background: var(--vh-color-text);
	color: var(--vh-color-bg);
}

.vh-rl__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--vh-card-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.vh-rl--list-index.vh-rl--view-list .vh-rl__list {
	gap: 0;
}

.vh-rl__item,
.vh-rl__v {
	display: flex;
	min-width: 0;
}

.vh-rl__v,
.vh-rl__v > * {
	flex: 1;
	min-width: 0;
}

/* Hai kiểu thẻ in sẵn, chỉ hiện kiểu đang chọn (ảnh lazy của kiểu ẩn không tải). */
.vh-rl--view-grid .vh-rl__v--list,
.vh-rl--view-list .vh-rl__v--grid {
	display: none;
}

@media (min-width: 640px) {
	.vh-rl--view-grid .vh-rl__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.vh-rl--view-grid .vh-rl__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.vh-rl__group + .vh-rl__group {
	margin-top: clamp(32px, 5vw, 48px);
}

/* rooms_page.card_frame = none: thẻ không khung (viền, nền, bóng), hàng ngăn bằng đường kẻ mảnh. */
.vh-rl.vh-rl--frame-none .vh-room-card {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.vh-rl.vh-rl--frame-none .vh-room-card .vh-room-card__media {
	overflow: hidden;
	border-radius: var(--vh-radius-media);
}

.vh-rl.vh-rl--frame-none .vh-room-card .vh-room-card__body {
	padding: 1rem 0 0;
}

.vh-rl--frame-none.vh-rl--view-list .vh-rl__item + .vh-rl__item {
	padding-top: var(--vh-card-gap);
	border-top: 1px solid var(--vh-color-border);
}

@media (min-width: 1024px) {
	.vh-rl.vh-rl--frame-none .vh-room-card.vh-room-card--row .vh-room-card__body {
		padding: 0 0 0 clamp(24px, 3vw, 48px);
	}
}

/* Dải giá đoàn (B3) dưới danh sách phòng. */
.vh-rooms__group {
	padding-bottom: clamp(40px, 8vw, 64px);
}

.vh-rooms__group > .vh-rc-group {
	margin-top: 0;
}

.vh-rl__group-h {
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--vh-color-border-strong);
	font-family: var(--vh-font-ui, var(--vh-font-body));
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-bold);
	letter-spacing: var(--vh-ls-label, 0.08em);
	line-height: 1.4;
	text-transform: var(--vh-label-transform, uppercase);
}

/* ---------- Bảng so sánh hạng phòng: cột tên dính, cuộn ngang trên điện thoại ---------- */
/* id="so-sanh" là đích link từ trang chủ: chừa chỗ cho đầu trang dính khi nhảy tới. */
.vh-compare-sec {
	min-width: 0;
	padding-bottom: clamp(40px, 8vw, 64px);
	scroll-margin-top: calc(var(--vh-top-h, var(--vh-header-h, 64px)) + 16px);
}

.vh-compare-sec:focus {
	outline: none;
}

.vh-compare-sec > .vh-h2 {
	margin-bottom: 16px;
}

/*
 * position: relative giữ chữ ẩn (.vh-sr, tuyệt đối) trong khung cuộn, không làm trang cuộn ngang.
 * contain: inline-size: bề rộng tối thiểu của bảng (640px) không đẩy khung và các tổ tiên rộng ra; khung tự cuộn.
 */
.vh-compare {
	position: relative;
	max-width: 100%;
	min-width: 0;
	contain: inline-size;
	overflow-x: auto;
	border: 1px solid var(--vh-color-border);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-bg);
}

.vh-compare__table {
	width: 100%;
	min-width: 640px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: var(--vh-fs-small);
	line-height: 1.45;
}

.vh-compare__table th,
.vh-compare__table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--vh-color-border);
	text-align: left;
	vertical-align: top;
}

.vh-compare__table tbody tr:last-child > * {
	border-bottom: 0;
}

.vh-compare__table thead th {
	background: var(--vh-color-surface);
	font-weight: var(--vh-fw-medium);
	white-space: nowrap;
}

.vh-compare__table th:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 150px;
	max-width: 220px;
	background: var(--vh-color-bg);
	box-shadow: 1px 0 0 var(--vh-color-border);
	font-weight: var(--vh-fw-medium);
}

.vh-compare__table thead th:first-child {
	z-index: 2;
	background: var(--vh-color-surface);
}

.vh-compare__table th a {
	color: var(--vh-color-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vh-compare__table td {
	min-width: 8.5em;
}

.vh-compare__table td.vh-compare__mark {
	min-width: 5.5em;
}

.vh-compare__mark .vh-i {
	color: var(--vh-color-success);
}

.vh-compare__price {
	font-weight: var(--vh-fw-bold);
	white-space: nowrap;
}

.vh-compare__note {
	margin-top: 8px;
}

/* ---------- Chi tiết phòng: nhãn nhỏ, câu chuyện, bảng thông số chấm dẫn ---------- */
.vh-room__eyebrow {
	margin-bottom: -4px;
}

/* Nghiêng mặc định; mẫu có font nhấn không có mặt nghiêng thật (vd mono) đặt --vh-story-style: normal để khỏi nghiêng giả. */
.vh-rd-story__text {
	max-width: 62ch;
	font-family: var(--vh-font-accent, var(--vh-font-heading));
	font-size: var(--vh-fs-lead);
	font-style: var(--vh-story-style, italic);
	line-height: 1.6;
}

.vh-rd-specs {
	display: grid;
	margin: 0;
}

.vh-rd-specs__row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding-block: 9px;
}

.vh-rd-specs dt {
	display: flex;
	flex: 1;
	align-items: baseline;
	gap: 8px;
	color: var(--vh-color-muted);
}

.vh-rd-specs dt::after {
	content: "";
	flex: 1;
	min-width: 24px;
	border-bottom: 1px dotted var(--vh-color-border-strong);
}

.vh-rd-specs dd {
	max-width: 60%;
	margin: 0;
	font-weight: var(--vh-fw-medium);
	text-align: right;
}

/* ---------- Ảnh ghép 1+2 / 1+4 (gallery = mosaic); điện thoại vẫn là ảnh vuốt ---------- */
.vh-rd-mosaic__open,
.vh-rd-mosaic__more {
	display: none;
}

.vh-rd-mosaic .vh-carousel__slide,
.vh-rd-framed .vh-carousel__slide {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.vh-rd-mosaic .vh-carousel__slide > .vh-img,
.vh-rd-mosaic .vh-carousel__slide > .vh-ph,
.vh-rd-framed .vh-carousel__slide > .vh-img,
.vh-rd-framed .vh-carousel__slide > .vh-ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 768px) {
	.vh-rd-mosaic .vh-carousel__track {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		grid-template-rows: repeat(2, minmax(0, 1fr));
		gap: 8px;
		aspect-ratio: 16 / 9;
		overflow: hidden;
		scroll-snap-type: none;
	}

	.vh-rd-mosaic--5 .vh-carousel__track {
		grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
		aspect-ratio: 2 / 1;
	}

	.vh-rd-mosaic .vh-carousel__slide {
		aspect-ratio: auto;
	}

	.vh-rd-mosaic .vh-carousel__slide:first-child {
		grid-row: 1 / span 2;
	}

	.vh-rd-mosaic--3 .vh-carousel__slide:nth-child(n + 4),
	.vh-rd-mosaic--5 .vh-carousel__slide:nth-child(n + 6) {
		display: none;
	}

	.vh-rd-mosaic .vh-carousel__btn,
	.vh-rd-mosaic .vh-carousel__count {
		display: none;
	}

	/* Cả ô ảnh là nút mở xem ảnh lớn; vòng focus đôi vẽ vào trong ô (ô cắt phần tràn). */
	.vh-rd-mosaic__open {
		position: absolute;
		inset: 0;
		z-index: 1;
		display: block;
		width: 100%;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: zoom-in;
	}

	.vh-rd-mosaic__open:hover {
		background: rgb(var(--vh-color-overlay) / 0.12);
	}

	.vh-rd-mosaic__open.vh-on-photo:focus-visible {
		outline-offset: -5px;
		box-shadow: inset 0 0 0 2px var(--vh-color-focus-on-deep);
	}

	.vh-rd-mosaic__more {
		position: absolute;
		right: 16px;
		bottom: 16px;
		z-index: 2;
		display: inline-flex;
		background: var(--vh-color-bg);
		color: var(--vh-color-text);
		box-shadow: var(--vh-shadow-card);
	}
}

/* Xem ảnh lớn: toàn màn hình nền đậm, ảnh giữ tỷ lệ gốc. */
.vh-sheet.vh-rd-sheet {
	align-items: stretch;
	padding: 0;
}

.vh-rd-sheet .vh-rd-sheet__panel {
	--vh-ring: var(--vh-color-focus-on-deep);
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	padding: 0 0 env(safe-area-inset-bottom, 0px);
	border-radius: 0;
	background: var(--vh-color-deep);
	color: var(--vh-color-on-deep);
}

.vh-rd-sheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 8px 8px 20px;
}

.vh-rd-sheet__title {
	font-size: 1rem;
	font-weight: var(--vh-fw-medium);
	line-height: 1.4;
}

.vh-rd-sheet__close {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
}

.vh-rd-sheet__carousel {
	display: flex;
	flex: 1;
	min-height: 0;
}

.vh-rd-sheet__track {
	flex: 1;
}

.vh-rd-sheet__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 16px;
}

.vh-rd-sheet__fig {
	display: grid;
	gap: 8px;
	width: 100%;
	margin: 0;
}

.vh-rd-sheet__fig > .vh-img {
	max-height: calc(100vh - 140px);
	max-height: calc(100dvh - 140px);
	object-fit: contain;
	background: transparent;
}

.vh-rd-sheet__cap {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 0 20px;
	color: var(--vh-color-muted-on-deep);
	font-size: var(--vh-fs-small);
}

/* ---------- Khung 16:9 + dải ảnh nhỏ (gallery = framed) ---------- */
.vh-rd-frame::after {
	content: "";
	position: absolute;
	inset: var(--vh-media-frame-inset, 10px);
	z-index: 1;
	border: 1px solid var(--vh-media-frame-color, var(--vh-white));
	pointer-events: none;
}

.vh-rd-thumbs {
	display: none;
}

@media (min-width: 768px) {
	.vh-rd-framed .vh-carousel__slide {
		aspect-ratio: 16 / 9;
	}

	.vh-rd-thumbs {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
		gap: 8px;
		margin: 8px 0 0;
		padding: 0;
		list-style: none;
	}

	.vh-rd-thumbs__btn {
		display: block;
		width: 100%;
		padding: 0;
		border: 0;
		border-radius: calc(var(--vh-radius-media) / 2);
		overflow: hidden;
		background: none;
		opacity: 0.72;
		cursor: pointer;
	}

	.vh-rd-thumbs__btn:hover,
	.vh-rd-thumbs__btn[aria-current="true"] {
		opacity: 1;
	}

	.vh-rd-thumbs__btn[aria-current="true"] {
		box-shadow: inset 0 0 0 3px var(--vh-color-primary);
	}

	.vh-rd-thumbs__btn .vh-img,
	.vh-rd-thumbs__btn .vh-ph {
		display: block;
		pointer-events: none;
	}

	.vh-rd-thumbs__btn .vh-ph {
		padding: 4px;
	}

	.vh-rd-thumbs__btn .vh-ph__label,
	.vh-rd-thumbs__btn .vh-ph__tag {
		display: none;
	}
}

/* ---------- Ảnh xếp dọc + thông tin dính (layout = split-scroll) ---------- */
.vh-rd-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding-bottom: clamp(32px, 6vw, 48px);
}

.vh-rd-split__media {
	margin-inline: calc(-1 * var(--vh-page-pad));
}

.vh-rd-split__sticky {
	display: grid;
	gap: 20px;
}

/* Khối đầu, thẻ đặt mang grid-area của bố cục gallery-top: bỏ đi để không sinh cột ngầm trong cột dính. */
.vh-rd-split__sticky > * {
	grid-area: auto;
}

.vh-rd-split .vh-room__aside {
	position: static;
}

.vh-rd-fig {
	display: grid;
	gap: 8px;
	margin: 0;
}

.vh-rd-stack .vh-rd-fig > .vh-img {
	aspect-ratio: 4 / 5;
}

.vh-rd-fig__cap {
	color: var(--vh-color-muted);
	font-family: var(--vh-font-ui, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.vh-rd-fig__n {
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-bold);
}

.vh-rd-stack .vh-rd-fig__cap {
	display: none;
}

@media (min-width: 768px) {
	.vh-rd-split__media {
		margin-inline: 0;
	}

	.vh-rd-stack .vh-carousel__track {
		overflow: hidden;
		border-radius: var(--vh-radius-media);
	}
}

@media (min-width: 1024px) {
	.vh-rd-split {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: 40px;
	}

	.vh-rd-split__media {
		grid-column: 1;
		grid-row: 1;
	}

	.vh-rd-split__body {
		grid-column: 1;
		grid-row: 2;
	}

	.vh-rd-split__info {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.vh-rd-stack .vh-carousel__track {
		display: grid;
		gap: 32px;
		overflow: visible;
		border-radius: 0;
		scroll-snap-type: none;
	}

	.vh-rd-stack .vh-rd-fig > .vh-img {
		aspect-ratio: auto;
		border-radius: var(--vh-radius-media);
	}

	.vh-rd-stack .vh-rd-fig__cap {
		display: block;
	}

	.vh-rd-stack .vh-carousel__btn,
	.vh-rd-stack .vh-carousel__count {
		display: none;
	}
}

/* Cột thông tin chỉ dính khi màn đủ cao để thấy hết thẻ đặt phòng. */
@media (min-width: 1024px) and (min-height: 760px) {
	.vh-rd-split__sticky {
		position: sticky;
		top: calc(var(--vh-top-h, var(--vh-header-h)) + 16px);
	}
}

.vh-rd-next {
	padding-bottom: clamp(40px, 8vw, 64px);
}

.vh-rd-next__link {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	padding-block: 20px;
	border-top: 2px solid var(--vh-color-text);
	color: var(--vh-color-text);
	text-decoration: none;
}

.vh-rd-next__k {
	color: var(--vh-color-muted);
	font-family: var(--vh-font-ui, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
	font-size: 0.8125rem;
	letter-spacing: var(--vh-ls-label, 0.08em);
	text-transform: uppercase;
}

.vh-rd-next__name {
	font-family: var(--vh-font-heading);
	font-size: var(--vh-fs-h2);
	font-weight: var(--vh-fw-heading);
	line-height: var(--vh-lh-heading);
}

.vh-rd-next__link:hover .vh-rd-next__name {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Ảnh đầu toàn màn hình có tên phòng (layout = immersive) ---------- */
.vh-rd-imm {
	position: relative;
}

.vh-rd-imm__media {
	height: 70vh;
	height: 70svh;
	min-height: 360px;
	max-height: 900px;
	background: var(--vh-color-surface);
}

.vh-rd-imm__media > .vh-img,
.vh-rd-imm__media > .vh-ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * Lớp phủ phẳng .84 dưới chữ (chữ trắng nhỏ đạt 4,5:1 trên mọi điểm ảnh khi màu phủ đậm),
 * chỉ chuyển dần ở 4,5em phía trên, cao hơn đỉnh dòng tên ít nhất một dòng chữ.
 */
.vh-rd-imm__cap {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding-block: 4.5em clamp(20px, 4vw, 40px);
	background: linear-gradient(to top, rgb(var(--vh-color-overlay) / 0.84) 0, rgb(var(--vh-color-overlay) / 0.84) calc(100% - 4.5em), rgb(var(--vh-color-overlay) / 0) 100%);
	color: var(--vh-white);
}

.vh-rd-imm__eyebrow,
.vh-rd-imm__title {
	color: inherit;
}

.vh-rd-imm__title {
	max-width: 22ch;
	font-size: var(--vh-fs-display, var(--vh-fs-h1));
	line-height: var(--vh-lh-display, var(--vh-lh-heading));
}

.vh-room--imm {
	grid-template-areas: "head" "aside" "body";
}

.vh-rd-seq {
	display: grid;
	gap: clamp(16px, 3vw, 32px);
	padding-bottom: clamp(40px, 8vw, 64px);
}

.vh-rd-seq__fig {
	display: grid;
	gap: 8px;
	margin: 0;
}

.vh-rd-seq__fig .vh-img,
.vh-rd-seq__fig .vh-ph {
	border-radius: var(--vh-radius-media);
}

@media (min-width: 768px) {
	.vh-rd-imm__media {
		height: 80vh;
		height: 80svh;
	}

	.vh-rd-seq {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vh-rd-seq__fig:nth-child(3n + 1) {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.vh-room--imm {
		grid-template-areas:
			"head aside"
			"body aside";
		grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr);
		grid-template-rows: auto 1fr;
	}
}

/* ---------- Form yêu cầu: tuổi bé ---------- */
.vh-req__ages {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.vh-req__ages > legend {
	margin-bottom: 6px;
	padding: 0;
}

.vh-req__age-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 8px 12px;
}

.vh-req__age-row .vh-field {
	gap: 4px;
}
