/* Khối Phòng nổi bật – card-grid, kèm thẻ phòng dùng chung (parts/room-card.php, cả trang /phong/). Mobile trước, mốc 640px / 1024px. */

/* ---- Lưới: số cột theo số thẻ để 1, 2, 3 hạng phòng vẫn cân ---- */

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

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

.vh-rooms-grid__item > .vh-room-card {
	flex: 1 1 auto;
}

.vh-rooms-more {
	display: flex;
	justify-content: center;
	margin: 1.5rem 0 0;
}

.vh-rooms-more__link {
	gap: 0.375rem;
}

.vh-rooms-more__count {
	font-weight: var(--vh-fw-body);
}

/* ---- Thẻ phòng dọc, skin plain ---- */

.vh-room-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--vh-color-border);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
	box-shadow: var(--vh-shadow-card);
}

.vh-room-card__media {
	position: relative;
	flex: none;
}

/* Khung 4:3 quyết định tỉ lệ; ảnh chỉ bo 2 góc trên nhờ overflow của thẻ. */
.vh-room-card__frame {
	position: relative;
	aspect-ratio: var(--vh-ratio-room-card, 4 / 3);
	overflow: hidden;
	background: var(--vh-color-surface);
}

.vh-room-card__frame > :not(.vh-room-card__nav) {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
}

.vh-room-card__frame img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.vh-room-card__frame .vh-ph {
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
}

/* Carousel vuốt ngang bằng scroll-snap, chạy được cả khi chưa có JS. */
.vh-room-card__track {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.vh-room-card__track::-webkit-scrollbar {
	display: none;
}

/* Quy tắc "mọi con của khung phủ kín ảnh" ở trên đặt display:block cho cả dải ảnh, làm slide cao 0 (ảnh trống). Giữ flex. */
.vh-room-card__frame > .vh-room-card__track,
.vh-room-card__frame > .vh-ph {
	display: flex;
}

.vh-room-card__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.vh-room-card__slide > * {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.vh-room-card__track {
		scroll-behavior: smooth;
	}
}

/* Mũi tên trên ảnh: nút tròn 48px, chỉ hiện với chuột (điện thoại đã vuốt được). */
.vh-room-card__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--vh-color-card);
	color: var(--vh-color-text);
	box-shadow: var(--vh-shadow-card);
	cursor: pointer;
}

.vh-room-card__nav--prev {
	left: 0.5rem;
}

.vh-room-card__nav--next {
	right: 0.5rem;
}

.vh-room-card__nav[disabled],
.vh-room-card__nav[aria-disabled="true"] {
	opacity: 0;
	pointer-events: none;
}

/* Nút ở đầu/cuối dãy ảnh vẫn giữ tiêu điểm bàn phím: hiện mờ thay vì biến mất (WCAG 2.4.7). */
.vh-room-card__nav[aria-disabled="true"]:focus-visible {
	opacity: 0.4;
	pointer-events: auto;
	cursor: default;
}

@media (hover: hover) and (pointer: fine) {
	.vh-room-card__nav {
		display: inline-flex;
	}
}

/* G1: điều khiển trên ảnh dùng vòng đôi trắng 2px + đậm 2px. */
.vh-room-card__nav:focus-visible {
	outline: 2px solid var(--vh-color-focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--vh-color-focus-on-deep);
}

.vh-room-card__track:focus-visible {
	outline: 3px solid var(--vh-color-focus);
	outline-offset: -3px;
}

/* Vòng đôi vẽ bằng lớp phủ của khung để luôn nằm trên ảnh. */
.vh-room-card__frame:has(.vh-room-card__track:focus-visible)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	box-shadow: inset 0 0 0 2px var(--vh-color-focus), inset 0 0 0 4px var(--vh-color-focus-on-deep);
}

/* Chấm và bộ đếm nằm dưới ảnh, không đè chữ lên ảnh. */
.vh-room-card__pager {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.5rem;
	min-height: 28px;
	padding: 0.5rem var(--vh-card-pad) 0;
}

.vh-room-card__dots {
	grid-column: 2;
	display: flex;
	align-items: center;
	gap: 6px;
}

.vh-room-card__dots > * {
	display: block;
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: var(--vh-color-border-strong);
}

.vh-room-card__dots > .is-active,
.vh-room-card__dots > [aria-current="true"],
.vh-room-card__dots > [aria-selected="true"] {
	width: 16px;
	background: var(--vh-color-primary);
}

@media (prefers-reduced-motion: no-preference) {
	.vh-room-card__dots > * {
		transition: width 0.2s ease, background-color 0.2s ease;
	}
}

.vh-room-card__count {
	grid-column: 3;
	justify-self: end;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
	font-variant-numeric: tabular-nums;
}

/* ---- Thân thẻ ---- */

.vh-room-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem var(--vh-card-pad) var(--vh-card-pad);
}

.vh-room-card__name {
	margin: 0;
	overflow-wrap: anywhere;
}

.vh-room-card__link {
	color: inherit;
	text-decoration: none;
}

.vh-room-card__link:hover {
	color: var(--vh-color-primary);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.vh-room-card__link:focus-visible {
	outline: 3px solid var(--vh-color-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

.vh-room-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
	line-height: 1.4;
}

.vh-room-card__spec {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.vh-room-card__spec .vh-i {
	flex: none;
	color: var(--vh-color-muted);
}

/* "Không cửa sổ" ghi thẳng, đậm hơn để khách không bỏ sót. */
.vh-room-card__spec--warn {
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-medium);
}

.vh-room-card__hl {
	display: grid;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--vh-fs-small);
	line-height: 1.45;
}

.vh-room-card__hl li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.vh-room-card__hl .vh-i {
	flex: none;
	color: var(--vh-color-success);
}

.vh-room-card__note {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	padding: 0.5rem 0.75rem;
	border-left: 3px solid var(--vh-color-primary);
	border-radius: var(--vh-radius-input);
	background: var(--vh-color-surface);
	color: var(--vh-color-text);
	font-size: var(--vh-fs-small);
	line-height: 1.45;
}

.vh-room-card__note .vh-i {
	flex: none;
	color: var(--vh-color-primary);
}

/* Chân thẻ dồn xuống đáy để các thẻ cùng hàng thẳng nút. */
.vh-room-card__foot {
	display: grid;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid var(--vh-color-border);
}

.vh-room-card__stock {
	margin: 0;
}

/* Nhãn tồn phòng A1: tint + accent-ink (6,38:1); hết phòng dùng màu cảnh báo. */
.vh-room-card__stock .vh-chip {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0.125rem 0.625rem;
	border-radius: var(--vh-radius-chip);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
}

.vh-room-card__stock .vh-chip--low {
	background: var(--vh-color-accent);
	color: var(--vh-color-accent-ink);
}

.vh-room-card__stock .vh-chip--danger {
	background: var(--vh-color-surface);
	color: var(--vh-color-danger);
}

.vh-room-card__stock .vh-chip--success {
	background: var(--vh-color-surface);
	color: var(--vh-color-success);
}

.vh-room-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.25rem;
	margin: 0;
}

.vh-room-card__price .vh-price__from {
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-room-card__price .vh-price__value {
	color: var(--vh-color-text);
	font-family: var(--vh-font-heading);
	font-size: var(--vh-fs-price);
	font-weight: var(--vh-fw-heading);
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
}

.vh-room-card__price .vh-price__unit {
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-room-card__price .vh-price__note {
	flex-basis: 100%;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

.vh-room-card__price--ask .vh-price__note {
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-medium);
}

/* Hai nút cạnh nhau khi đủ chỗ, tự xuống dòng khi thẻ hẹp (lưới 4 cột). */
.vh-room-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.vh-room-card__actions > .vh-btn {
	flex: 1 1 8rem;
	min-height: var(--vh-btn-h-mobile);
}

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

	.vh-rooms-grid--n1 {
		grid-template-columns: minmax(0, 560px);
		justify-content: center;
	}

	.vh-rooms-grid--n2 {
		max-width: 920px;
		margin-inline: auto;
	}

	/* Số thẻ lẻ trên 2 cột: thẻ cuối nằm giữa, không lệch về trái. */
	.vh-rooms-grid--odd > .vh-rooms-grid__item:last-child {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100% - var(--vh-card-gap)) / 2);
	}
}

@media (min-width: 1024px) {
	.vh-rooms-grid--n3,
	.vh-rooms-grid--n5,
	.vh-rooms-grid--n6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vh-rooms-grid--n4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* 3 cột: bỏ căn giữa thẻ lẻ của bố cục 2 cột. */
	.vh-rooms-grid--odd > .vh-rooms-grid__item:last-child {
		grid-column: auto;
		justify-self: stretch;
		width: auto;
	}

	.vh-room-card__actions > .vh-btn {
		min-height: var(--vh-btn-h);
	}
}

/* =====================================================================
 * Phần thêm cho 10 mẫu (đợt variants + nhiều trang). Chỉ nhắm lớp mới, không đổi thẻ plain của Mini Gọn ở trên.
 * CSS riêng của carousel-tall, rows, magazine-index nằm ở rooms-featured--{biến thể}.css.
 * ===================================================================== */

/* ---- card-grid: số cột cố định (options.columns), chỉ khi đủ thẻ lấp một hàng ---- */
@media (min-width: 640px) {
	.vh-rooms-grid.vh-rooms-grid--c2,
	.vh-rooms-grid.vh-rooms-grid--c3,
	.vh-rooms-grid.vh-rooms-grid--c4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
	}
}

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

	.vh-rooms-grid.vh-rooms-grid--c4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vh-rooms-grid.vh-rooms-grid--c2.vh-rooms-grid--odd > .vh-rooms-grid__item:last-child {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100% - var(--vh-card-gap)) / 2);
	}
}

/* Đang lọc: thẻ cuối có thể đang ẩn, bỏ căn giữa thẻ lẻ cho khỏi lệch. */
.vh-rooms-grid.is-filtered > .vh-rooms-grid__item:last-child {
	grid-column: auto;
	justify-self: stretch;
	width: auto;
}

/*
 * Giá trên thẻ phòng là khung chứa của chữ chỉ dành cho trình đọc màn hình (.vh-sr, position:absolute) trong giá gạch,
 * "mỗi đêm"…: không có khung chứa nằm trong dải vuốt ngang thì chữ ẩn đó nằm ở vị trí tĩnh (x ≈ 1000px) và kéo rộng cả trang.
 * Dải vuốt cũng là khung chứa (dưới đây và .vh-rt__track) để chặn mọi trường hợp tương tự.
 */
.vh-room-card__price,
.vh-rc-index__price {
	position: relative;
}

/* ---- card-grid: điện thoại vuốt ngang, thẻ sau ló 15% (options.mobile = carousel) ---- */
@media (max-width: 639.98px) {
	.vh-rooms-grid.vh-rooms-grid--snap {
		position: relative;
		display: flex;
		gap: var(--vh-card-gap);
		margin-inline: calc(var(--vh-page-pad) * -1);
		padding: 4px var(--vh-page-pad) 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--vh-page-pad);
	}

	.vh-rooms-grid--snap > .vh-rooms-grid__item {
		flex: 0 0 85%;
		scroll-snap-align: start;
	}
}

/* ---- Bộ lọc trong khối: chip (một lựa chọn) hoặc tab có số đếm ---- */
.vh-rf-filter {
	margin: 0 0 1.25rem;
}

.vh-rf-filter__title {
	margin: 0 0 0.75rem;
	color: var(--vh-color-text);
	font-family: var(--vh-font-heading);
	font-size: var(--vh-fs-h3);
	font-weight: var(--vh-fw-heading);
	line-height: var(--vh-lh-heading);
}

.vh-rf-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.vh-rf-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	font: inherit;
	cursor: pointer;
	touch-action: manipulation;
}

.vh-rf-filter--chips .vh-rf-filter__btn {
	min-height: 44px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--vh-color-border-strong);
	border-radius: var(--vh-radius-chip);
	background: var(--vh-color-bg);
	color: var(--vh-color-text);
	font-family: var(--vh-font-ui, var(--vh-font-body));
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
	line-height: 1.3;
}

/* Điện thoại: một hàng chip vuốt ngang thay vì 3–4 hàng xếp chồng đẩy thẻ phòng xuống dưới. */
@media (max-width: 639.98px) {
	.vh-rf-filter--chips .vh-rf-filter__list {
		flex-wrap: nowrap;
		margin-inline: calc(var(--vh-page-pad) * -1);
		padding: 4px var(--vh-page-pad) 8px;
		overflow-x: auto;
		scrollbar-width: none;
	}

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

	.vh-rf-filter--chips .vh-rf-filter__btn {
		flex: none;
		white-space: nowrap;
	}
}

.vh-rf-filter--chips .vh-rf-filter__btn:hover {
	border-color: var(--vh-color-text);
}

.vh-rf-filter--chips .vh-rf-filter__btn[aria-pressed="true"] {
	border-color: var(--vh-color-text);
	background: var(--vh-color-text);
	color: var(--vh-color-bg);
}

.vh-rf-filter--tabs .vh-rf-filter__list {
	flex-wrap: nowrap;
	gap: 0 1.5rem;
	overflow-x: auto;
	border-bottom: 1px solid var(--vh-color-border);
	scrollbar-width: none;
}

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

.vh-rf-filter--tabs .vh-rf-filter__btn {
	flex: none;
	min-height: 48px;
	margin-bottom: -1px;
	padding: 0.5rem 0.125rem;
	border: 0;
	border-bottom: 2px solid transparent;
	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-body);
	white-space: nowrap;
}

.vh-rf-filter--tabs .vh-rf-filter__btn:hover {
	color: var(--vh-color-text);
}

.vh-rf-filter--tabs .vh-rf-filter__btn[aria-pressed="true"] {
	border-bottom-color: var(--vh-color-text);
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-medium);
}

/* Dải tab cuộn ngang cắt mất vòng ngoài: vẽ vòng vào trong. */
.vh-rf-filter--tabs .vh-rf-filter__btn:focus-visible {
	outline-offset: -3px;
}

.vh-rf-filter__count {
	font-variant-numeric: tabular-nums;
}

/* ---- Mẩu dùng chung của các thẻ mới ---- */
.vh-rc-eyebrow {
	margin: 0;
	color: var(--vh-color-muted);
	font-family: var(--vh-font-ui, var(--vh-font-body));
	font-size: 0.8125rem;
	font-weight: var(--vh-fw-medium);
	line-height: var(--vh-lh-label, 1.45);
	letter-spacing: var(--vh-ls-label, 0.06em);
	text-transform: var(--vh-label-transform, uppercase);
}

.vh-rc-num {
	margin-right: 0.25em;
	color: var(--vh-color-accent-ink);
	font-family: var(--vh-font-heading);
	font-style: italic;
	font-weight: var(--vh-fw-body);
	font-variant-numeric: tabular-nums;
}

.vh-rc-story,
.vh-room-card__journal {
	margin: 0;
	color: var(--vh-color-muted);
	font-family: var(--vh-font-heading);
	font-style: italic;
	line-height: 1.5;
}

.vh-rc-line {
	margin: 0;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
	line-height: 1.5;
}

/* Giá gạch A3, tổng kỳ ở A1 (thẻ Mini Gọn chỉ có khi dữ liệu có gói giá / khách chọn ngày). */
.vh-price__deal {
	flex-basis: 100%;
	color: var(--vh-color-accent-ink);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
}

.vh-price__total {
	flex-basis: 100%;
	color: var(--vh-color-text);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
}

.vh-rc-price--inline,
.vh-rc-price--compact {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.375rem;
	margin: 0;
}

.vh-rc-price--inline .vh-price__value {
	font-size: var(--vh-fs-lead);
}

.vh-rc-price--inline .vh-price__note {
	flex-basis: auto;
}

.vh-rc-price--compact .vh-price__value {
	font-size: 1.125rem;
	line-height: 1.3;
}

/* Link chữ của thẻ chân dung tối giản: vẫn đủ vùng chạm 44px. */
.vh-rc-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5rem;
	margin: 0.25rem 0 0;
}

.vh-rc-links__a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 44px;
	color: var(--vh-color-text);
	font-weight: var(--vh-fw-medium);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.vh-rc-links__a:hover {
	color: var(--vh-color-primary);
	text-decoration-thickness: 2px;
}

.vh-rc-links__a--book {
	text-decoration-thickness: 2px;
}

/* Nhãn trên ảnh (hướng nhìn, tồn phòng): đè quy tắc "mọi con của khung phủ kín ảnh" của thẻ plain. */
.vh-room-card .vh-room-card__frame > .vh-rc-chip,
.vh-room-card .vh-room-card__frame > .vh-rc-stock-on {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	width: auto;
	height: auto;
	max-width: calc(100% - 24px);
	min-height: 28px;
}

/* Nền phủ 78% từ --vh-color-overlay: chữ sáng đạt ≥ 4,5:1 trên mọi ảnh. */
.vh-room-card .vh-room-card__frame > .vh-rc-chip {
	inset: auto auto 12px 12px;
	gap: 0.375rem;
	padding: 0.25rem 0.625rem;
	border-radius: var(--vh-radius-chip);
	background: rgb(var(--vh-color-overlay) / 0.78);
	color: var(--vh-color-on-deep);
	font-size: 0.8125rem;
	font-weight: var(--vh-fw-medium);
	line-height: 1.4;
}

.vh-room-card .vh-room-card__frame > .vh-rc-stock-on {
	inset: 12px 12px auto auto;
	border-radius: var(--vh-radius-chip);
}

/* Hình người sức chứa (skin bubble). */
.vh-rc-cap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.625rem;
	margin: 0;
	padding: 0.5rem 0.75rem;
	border-radius: var(--vh-radius-chip);
	background: var(--vh-color-surface);
	color: var(--vh-color-text);
	font-size: var(--vh-fs-small);
	font-weight: var(--vh-fw-medium);
	line-height: 1.4;
}

.vh-rc-cap__icons {
	display: inline-flex;
	align-items: flex-end;
	color: var(--vh-color-primary);
}

.vh-rc-cap__icons .vh-i {
	margin-right: -2px;
}

.vh-rc-cap__more {
	margin-left: 4px;
	color: var(--vh-color-text);
	font-size: 0.8125rem;
	font-weight: var(--vh-fw-bold);
}

/* ---- Skin polaroid: ảnh trong khung giấy, ghi chú viết tay ---- */
.vh-room-card--polaroid .vh-room-card__polaroid {
	margin: 12px 12px 0;
	padding: 10px 10px 4px;
	border: 1px solid var(--vh-color-border);
	background: var(--vh-color-bg);
	box-shadow: var(--vh-shadow-card);
}

.vh-room-card--polaroid .vh-room-card__pager {
	padding-inline: 0;
}

.vh-room-card__hand {
	margin: 0.5rem 0.25rem 0.375rem;
	color: var(--vh-color-text);
	font-family: var(--vh-font-accent, var(--vh-font-heading));
	font-size: 1.125rem;
	line-height: 1.4;
	text-align: center;
}

/* ---- Skin bubble: bo tròn lớn, ảnh lồng bên trong ---- */
.vh-room-card.vh-room-card--bubble {
	border-width: 2px;
	border-radius: max(var(--vh-radius-card), 24px);
}

.vh-room-card--bubble .vh-room-card__media {
	margin: 8px 8px 0;
}

.vh-room-card--bubble .vh-room-card__frame {
	border-radius: calc(max(var(--vh-radius-card), 24px) - 8px);
}

/* ---- Skin journal: trang sổ dán ảnh 3:2, băng giấy ở góc ---- */
.vh-room-card.vh-room-card--journal {
	background: var(--vh-color-surface-2, var(--vh-color-card));
}

.vh-room-card--journal .vh-room-card__media {
	margin: 18px 16px 0;
}

.vh-room-card--journal .vh-room-card__frame {
	aspect-ratio: 3 / 2;
	box-shadow: 0 1px 3px rgb(var(--vh-color-overlay) / 0.22);
}

.vh-room-card__media--taped::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 20px;
	z-index: 4;
	width: 76px;
	height: 22px;
	background: var(--vh-color-ornament, var(--vh-color-border));
	opacity: 0.92;
	transform: rotate(-6deg);
	pointer-events: none;
}

/* ---- Ảnh giữ chỗ theo kiểu (R13): nền đậm, chữ lồng, tên phòng cỡ lớn ---- */
.vh-ph.vh-ph--icon-deep {
	background: var(--vh-color-deep);
	box-shadow: none;
	color: var(--vh-color-muted-on-deep);
}

.vh-ph--icon-deep .vh-ph__icon,
.vh-ph--icon-deep .vh-ph__label {
	color: var(--vh-color-on-deep);
}

.vh-ph.vh-ph--monogram,
.vh-ph.vh-ph--type {
	background: var(--vh-color-surface-2, var(--vh-color-surface));
}

.vh-ph__mono {
	color: var(--vh-color-primary);
	font-family: var(--vh-font-heading);
	font-size: clamp(2.5rem, 2rem + 3vw, 4rem);
	font-weight: var(--vh-fw-heading);
	line-height: 1.2;
	letter-spacing: 0.04em;
}

.vh-ph.vh-ph--type {
	align-items: flex-start;
	justify-content: flex-end;
	padding: 1.25rem;
	text-align: left;
}

/* Trong khung ảnh thẻ, chừa chỗ cho nhãn hướng nhìn ở góc dưới. */
.vh-room-card__frame:has(> .vh-rc-chip) .vh-ph--type {
	padding-bottom: 3.5rem;
}

.vh-ph__type {
	color: var(--vh-color-text);
	font-family: var(--vh-font-heading);
	font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
	font-weight: var(--vh-fw-heading);
	line-height: var(--vh-lh-heading);
	overflow-wrap: anywhere;
}

/* ---- Hết phòng ngày khách chọn (A1): ảnh nhạt đi, thẻ vẫn ở lại cuối danh sách ---- */
.vh-room-card.is-sold-out .vh-room-card__frame,
.vh-rc-index.is-sold-out .vh-room-card__frame,
.vh-rc-index.is-sold-out .vh-rc-index__thumb {
	opacity: 0.7;
	filter: grayscale(1);
}

/* ---- Dải giá đoàn (B3) ---- */
.vh-rc-group {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 1.5rem;
	padding: var(--vh-card-pad);
	border: 1px solid var(--vh-color-border);
	border-radius: var(--vh-radius-card);
	background: var(--vh-color-card);
	color: var(--vh-color-text);
}

.vh-rc-group__icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--vh-color-surface);
	color: var(--vh-color-primary);
}

.vh-rc-group__title {
	margin: 0;
	font-family: var(--vh-font-heading);
	font-size: var(--vh-fs-h3);
	font-weight: var(--vh-fw-heading);
	line-height: var(--vh-lh-heading);
}

.vh-rc-group__desc {
	margin: 0.25rem 0 0;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
	line-height: 1.5;
}

.vh-rc-group__cta {
	grid-column: 1 / -1;
	justify-self: start;
}

@media (min-width: 768px) {
	.vh-rc-group {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.vh-rc-group__cta {
		grid-column: auto;
	}
}

.vh-rc-listnote {
	margin: 0.75rem 0 0;
	color: var(--vh-color-muted);
	font-size: var(--vh-fs-small);
}

/* Lời nhắc chỉ hiện trong trình sửa khối. */
.vh-rc-admin {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0.5rem 0.75rem;
	border: 1px dashed var(--vh-color-border-strong);
	border-radius: var(--vh-radius-input);
	background: var(--vh-color-surface);
	color: var(--vh-color-text);
	font-size: var(--vh-fs-small);
}
