/*
Theme Name: Mộc Hiên — mẫu website homestay boutique
Theme URI: https://khachsan-mau-03.mauwebsitedep.net/
Description: Mẫu website homestay nhỏ cho thuê phòng theo đêm. Theme con của vinasite, chạy WooCommerce ở chế độ danh mục (không giỏ hàng). Gỗ mộc, xanh lá, trắng ngà; bố cục kể chuyện.
Author: VinaSite
Author URI: https://vinasite.com.vn/
Template: vinasite
Version: 1.0.0
Text Domain: khachsan-mau-03
*/

/* =====================================================================
 * MỘC HIÊN — toàn bộ CSS của mẫu.
 *
 * Thứ tự: biến → nền chung → đầu trang → thanh đặt phòng → trang chủ →
 * danh sách phòng → chi tiết phòng → trang phụ → chân trang → bề ngang nhỏ.
 *
 * Mọi màu đều đi qua biến ở `:root`. Đổi tông của mẫu thì sửa đúng khối đó.
 * ===================================================================== */

:root {
	/* Gỗ mộc */
	--mh-wood:        #B4825A;
	--mh-wood-dark:   #8A5F3C;
	--mh-wood-pale:   #E8D5BD;

	/* Xanh lá */
	--mh-leaf:        #5A7F4B;
	--mh-leaf-dark:   #41603A;
	--mh-leaf-pale:   #DCE7D4;

	/* Trắng ngà và giấy */
	--mh-ivory:       #FBF8F1;
	--mh-cream:       #F3ECDE;
	--mh-paper:       #FFFDF8;

	/* Chữ */
	--mh-ink:         #332B23;
	--mh-ink-soft:    #6E6052;
	--mh-ink-faint:   #9B8C7B;

	--mh-line:        #E4D9C6;
	--mh-line-soft:   #EFE7D8;

	--mh-sans:  'Quicksand', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--mh-hand:  'Patrick Hand', 'Quicksand', cursive;

	--mh-wrap:  1240px;
	--mh-r:     18px;   /* bo góc thẻ — homestay nên mềm, không vuông */
	--mh-r-sm:  10px;

	--mh-shadow:    0 2px 10px rgba(51, 43, 35, .06);
	--mh-shadow-up: 0 14px 34px rgba(51, 43, 35, .13);
}

/* ---------------------------------------------------------------- *
 * NỀN CHUNG
 * ---------------------------------------------------------------- */

body.mh {
	margin: 0;
	background: var(--mh-ivory);
	color: var(--mh-ink);
	font-family: var(--mh-sans);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;   /* chốt cuối, không thay cho việc sửa đúng chỗ tràn */
}

/*
 * Bẫy số 6 của bộ mẫu: theme mẹ có luật riêng nhuộm h1–h3 sang xanh của nó,
 * thắng mọi khai báo một lớp. Khai hai lớp (`body.mh h1`) vừa thắng được, vừa
 * để tiêu đề tự lấy màu của khối đang bao nó — khỏi phải liệt kê ngoại lệ cho
 * từng khối nền sẫm.
 */
body.mh h1,
body.mh h2,
body.mh h3,
body.mh h4,
body.mh h5,
body.mh h6 {
	color: inherit;
	font-family: var(--mh-sans);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -.01em;
	margin: 0;
}

/* Bẫy số 10: phông phải đặt cho cả trang phụ, không để chúng rơi về theme mẹ. */
body.mh,
body.mh input,
body.mh select,
body.mh textarea,
body.mh button,
body.mh .vs-scope,
body.mh .woocommerce,
body.mh .wp-block-group,
body.mh .wc-block-components-button,
body.mh .wc-block-components-form {
	font-family: var(--mh-sans);
}

/*
 * Màu liên kết mặc định.
 *
 * Phải khai bằng HAI phần (`body.mh a`) để thắng luật liên kết của theme mẹ.
 * Cái giá phải trả: luật này nặng hơn mọi luật MỘT LỚP, nên `.mh-btn` hay
 * `.mh-foot a` viết trần sẽ THUA nó — nút ra màu chữ liên kết thay vì màu
 * trắng, và liên kết chân trang ra xanh lá trên nền nâu sẫm.
 *
 * Vì vậy mọi luật đặt màu cho thẻ `a` bên dưới đều mang tiền tố `body.mh `.
 * Thêm một luật màu liên kết mới thì cũng phải thêm tiền tố ấy.
 */
body.mh a {
	color: var(--mh-leaf-dark);
	text-decoration: none;
}

body.mh a:hover {
	color: var(--mh-wood-dark);
}

body.mh img {
	max-width: 100%;
	height: auto;
	display: block;
}

body.mh *,
body.mh *::before,
body.mh *::after {
	box-sizing: border-box;
}

body.mh :focus-visible {
	outline: 2.5px solid var(--mh-leaf);
	outline-offset: 3px;
	border-radius: 4px;
}

.mh-wrap {
	width: 100%;
	max-width: var(--mh-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.mh-skip {
	position: absolute;
	left: -9999px;
}

.mh-skip:focus {
	left: 12px;
	top: 12px;
	z-index: 200;
	background: var(--mh-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--mh-r-sm);
}

/* Nhãn viết tay — dấu nhận diện của mẫu này. */
.mh-hand {
	font-family: var(--mh-hand);
	font-weight: 400;
	letter-spacing: 0;
	color: var(--mh-leaf-dark);
	font-size: 1.22em;
	line-height: 1.4;
}

.mh-eyebrow {
	font-family: var(--mh-hand);
	font-size: 23px;
	color: var(--mh-wood-dark);
	margin: 0 0 6px;
	display: block;
}

.mh-eyebrow--leaf { color: var(--mh-leaf-dark); }
.mh-eyebrow--light { color: var(--mh-wood-pale); }

.mh-sec {
	padding: 86px 0;
}

.mh-sec--cream { background: var(--mh-cream); }
.mh-sec--paper { background: var(--mh-paper); }

.mh-sec__head {
	max-width: 640px;
	margin: 0 0 42px;
}

.mh-sec__head--mid {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.mh-sec__title {
	font-size: clamp(28px, 3.5vw, 40px);
}

.mh-sec__lead {
	margin: 14px 0 0;
	color: var(--mh-ink-soft);
	font-size: 17px;
}

/* Nút */
body.mh .mh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--mh-leaf-dark);
	color: #fff;
	font-family: var(--mh-sans);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: background .18s ease, transform .18s ease;
}

body.mh .mh-btn:hover {
	background: var(--mh-ink);
	color: #fff;
	transform: translateY(-2px);
}

body.mh .mh-btn--wood {
	background: var(--mh-wood-dark);
}

body.mh .mh-btn--ghost {
	background: transparent;
	color: var(--mh-ink);
	box-shadow: inset 0 0 0 2px var(--mh-line);
}

body.mh .mh-btn--ghost:hover {
	background: var(--mh-ink);
	color: #fff;
	box-shadow: inset 0 0 0 2px var(--mh-ink);
}

body.mh .mh-btn--light {
	background: var(--mh-paper);
	color: var(--mh-ink);
}

body.mh .mh-btn--light:hover {
	background: #fff;
	color: var(--mh-ink);
}

.mh-btn--wide {
	width: 100%;
}

/* ---------------------------------------------------------------- *
 * ĐẦU TRANG
 * Dính, chiều cao không đổi khi cuộn (xem README). Không có biểu tượng giỏ
 * hàng — mẫu này ở chế độ danh mục, khách nhắn cho chủ nhà chứ không đặt mua.
 * ---------------------------------------------------------------- */

.mh-head {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(251, 248, 241, .92);
	backdrop-filter: blur(9px);
	border-bottom: 1px solid transparent;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mh-head.is-stuck {
	background: var(--mh-ivory);
	border-bottom-color: var(--mh-line);
	box-shadow: var(--mh-shadow);
}

.mh-head__in {
	display: flex;
	align-items: center;
	gap: 22px;
	min-height: 78px;
}

body.mh .mh-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--mh-ink);
	flex: 0 0 auto;
}

body.mh .mh-brand:hover { color: var(--mh-ink); }

.mh-brand svg { flex: 0 0 auto; }

.mh-brand__txt {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.mh-brand__name {
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -.015em;
}

.mh-brand__sub {
	font-family: var(--mh-hand);
	font-size: 16px;
	color: var(--mh-leaf-dark);
	max-height: 22px;
	overflow: hidden;
	transition: max-height .2s ease, opacity .2s ease;
}

.mh-head.is-stuck .mh-brand__sub {
	max-height: 0;
	opacity: 0;
}

.mh-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 4px;
}

body.mh .mh-nav__link {
	position: relative;
	padding: 9px 13px;
	color: var(--mh-ink);
	font-size: 16px;
	font-weight: 600;
	border-radius: var(--mh-r-sm);
}

.mh-nav__link::after {
	content: "";
	position: absolute;
	left: 13px;
	right: 13px;
	bottom: 4px;
	height: 2px;
	background: var(--mh-leaf);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}

body.mh .mh-nav__link:hover,
body.mh .mh-nav__link.is-here {
	color: var(--mh-leaf-dark);
}

.mh-nav__link:hover::after,
.mh-nav__link.is-here::after {
	transform: scaleX(1);
}

body.mh .mh-head__cta {
	margin-left: 10px;
	padding: 11px 20px;
	font-size: 15px;
}

.mh-burger {
	display: none;
	margin-left: auto;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1.5px solid var(--mh-line);
	border-radius: 999px;
	padding: 9px 15px;
	color: var(--mh-ink);
	font-family: var(--mh-sans);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.mh-burger__bars {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.mh-burger__bars::before,
.mh-burger__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.mh-burger__bars::before { top: -6px; }
.mh-burger__bars::after  { top:  6px; }

/* ---------------------------------------------------------------- *
 * HERO
 * ---------------------------------------------------------------- */

.mh-hero {
	position: relative;
	background: var(--mh-cream);
	padding: 64px 0 0;
	/* KHÔNG cắt phần tràn: thanh chọn ngày cố ý thò xuống 42px sang khối dưới
	   bằng lề âm, đặt overflow:hidden ở đây là cắt mất dòng ghi chú cuối thanh. */
	overflow: visible;
}

.mh-hero__grid {
	display: grid;
	grid-template-columns: 1.02fr .98fr;
	gap: 54px;
	align-items: center;
}

.mh-hero__title {
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.1;
}

.mh-hero__lead {
	margin: 20px 0 0;
	max-width: 48ch;
	color: var(--mh-ink-soft);
	font-size: 18px;
}

.mh-hero__facts {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.mh-hero__facts li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--mh-ink);
}

.mh-hero__facts svg {
	flex: 0 0 auto;
	color: var(--mh-leaf);
}

.mh-hero__media {
	position: relative;
	padding-bottom: 54px;
}

.mh-hero__photo {
	border-radius: var(--mh-r);
	overflow: hidden;
	box-shadow: var(--mh-shadow-up);
	background: var(--mh-wood-pale);
}

.mh-hero__photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Ghi chú tay dán chéo lên góc ảnh — dấu "ảnh đời thường" của mẫu này. */
.mh-hero__note {
	position: absolute;
	left: -16px;
	bottom: 10px;
	max-width: 230px;
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r-sm);
	padding: 13px 16px;
	font-family: var(--mh-hand);
	font-size: 19px;
	line-height: 1.35;
	color: var(--mh-ink);
	box-shadow: var(--mh-shadow);
	transform: rotate(-2.2deg);
}

/* ---------------------------------------------------------------- *
 * THANH ĐẶT PHÒNG
 * Bẫy quen: nhiều ô nằm ngang là nguồn tràn ngang. Lưới dùng `minmax(0, 1fr)`
 * để ô không nở theo nội dung, và dưới 860px thì xếp dọc hẳn.
 * ---------------------------------------------------------------- */

.mh-book {
	position: relative;
	z-index: 5;
	margin: 54px 0 -42px;
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	box-shadow: var(--mh-shadow-up);
	padding: 20px 22px;
}

.mh-book__head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 14px;
	flex-wrap: wrap;
}

.mh-book__title {
	font-size: 19px;
	font-weight: 700;
}

.mh-book__hint {
	font-family: var(--mh-hand);
	font-size: 17px;
	color: var(--mh-ink-faint);
}

.mh-book__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 14px;
	align-items: end;
}

.mh-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.mh-field > span {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--mh-ink-faint);
}

.mh-field input,
.mh-field select,
.mh-field textarea {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--mh-line);
	border-radius: var(--mh-r-sm);
	background: var(--mh-ivory);
	color: var(--mh-ink);
	font-family: var(--mh-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

/*
 * Safari trên iOS cho `input[type=date]` một chiều cao riêng và căn chữ lệch
 * lên, nên phải chốt chiều cao bằng với ô chữ thường. `appearance: none` để
 * khung nền xám mặc định của iOS không đè lên nền ngà.
 */
.mh-field input[type="date"] {
	-webkit-appearance: none;
	appearance: none;
	height: 49px;
}

.mh-field input:focus,
.mh-field select:focus,
.mh-field textarea:focus {
	border-color: var(--mh-leaf);
	outline: none;
}

.mh-book__go {
	height: 49px;
}

.mh-book__note {
	margin: 13px 0 0;
	font-size: 13.5px;
	color: var(--mh-ink-faint);
}

/* ---------------------------------------------------------------- *
 * TRANG CHỦ — KHỐI CHUYỆN PHÒNG
 * ---------------------------------------------------------------- */

.mh-stories {
	display: grid;
	gap: 26px;
}

.mh-story {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 0;
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	overflow: hidden;
}

.mh-story:nth-child(even) .mh-story__media { order: 2; }

.mh-story__media {
	background: var(--mh-wood-pale);
	min-height: 320px;
}

.mh-story__media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.mh-story__body {
	padding: 36px 38px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mh-story__name {
	font-size: 26px;
	margin: 4px 0 0;
}

body.mh .mh-story__name a { color: inherit; }
body.mh .mh-story__name a:hover { color: var(--mh-leaf-dark); }

.mh-story__text {
	margin: 13px 0 0;
	color: var(--mh-ink-soft);
}

.mh-story__meta {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mh-story__meta li {
	background: var(--mh-leaf-pale);
	color: var(--mh-leaf-dark);
	border-radius: 999px;
	padding: 5px 13px;
	font-size: 13.5px;
	font-weight: 700;
}

.mh-story__foot {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin: 24px 0 0;
}

.mh-price {
	font-size: 22px;
	font-weight: 700;
	color: var(--mh-ink);
	white-space: nowrap;
}

.mh-price .woocommerce-Price-amount { font-weight: 700; }

.mh-price small {
	font-size: 14px;
	font-weight: 600;
	color: var(--mh-ink-faint);
}

/* ---------------------------------------------------------------- *
 * TRANG CHỦ — CHỦ NHÀ
 * ---------------------------------------------------------------- */

.mh-host {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 50px;
	align-items: center;
}

.mh-host__media {
	position: relative;
}

.mh-host__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--mh-r);
	box-shadow: var(--mh-shadow);
}

.mh-host__quote {
	font-family: var(--mh-hand);
	font-size: clamp(23px, 2.4vw, 30px);
	line-height: 1.45;
	color: var(--mh-leaf-dark);
	margin: 16px 0 0;
}

.mh-host__text {
	margin: 18px 0 0;
	color: var(--mh-ink-soft);
}

.mh-note {
	margin: 22px 0 0;
	padding: 14px 18px;
	background: var(--mh-cream);
	border-left: 3px solid var(--mh-wood);
	border-radius: 0 var(--mh-r-sm) var(--mh-r-sm) 0;
	font-size: 14.5px;
	color: var(--mh-ink-soft);
}

.mh-note strong { color: var(--mh-ink); }

.mh-sec--paper .mh-note { background: var(--mh-cream); }

/* ---------------------------------------------------------------- *
 * TRANG CHỦ — QUANH ĐÂY CÓ GÌ
 * ---------------------------------------------------------------- */

.mh-around {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.mh-around__item {
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	padding: 26px 24px;
}

.mh-around__icon {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--mh-leaf-pale);
	color: var(--mh-leaf-dark);
	display: grid;
	place-items: center;
	margin: 0 0 16px;
}

.mh-around__name {
	font-size: 19px;
}

.mh-around__min {
	display: block;
	font-family: var(--mh-hand);
	font-size: 18px;
	color: var(--mh-wood-dark);
	margin: 4px 0 0;
}

.mh-around__text {
	margin: 11px 0 0;
	font-size: 15px;
	color: var(--mh-ink-soft);
}

/* ---------------------------------------------------------------- *
 * TRANG CHỦ — NHÓM PHÒNG
 * ---------------------------------------------------------------- */

.mh-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

body.mh .mh-group {
	position: relative;
	display: block;
	border-radius: var(--mh-r);
	overflow: hidden;
	color: #fff;
	background: var(--mh-ink);
	min-height: 300px;
}

body.mh .mh-group:hover { color: #fff; }

.mh-group img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	transition: transform .5s ease;
}

.mh-group:hover img { transform: scale(1.045); }

.mh-group__in {
	position: absolute;
	inset: auto 0 0 0;
	padding: 26px 24px;
	background: linear-gradient(to top, rgba(32, 27, 22, .88), rgba(32, 27, 22, 0));
}

.mh-group__name {
	font-size: 22px;
	color: #fff;
}

.mh-group__n {
	font-family: var(--mh-hand);
	font-size: 18px;
	color: var(--mh-wood-pale);
}

/* ---------------------------------------------------------------- *
 * TRANG CHỦ — MỘT NGÀY Ở ĐÂY
 * ---------------------------------------------------------------- */

.mh-day {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	counter-reset: mhday;
}

.mh-day__item {
	position: relative;
	padding: 0 22px 0 0;
}

.mh-day__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 13px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--mh-wood);
	box-shadow: 0 0 0 4px var(--mh-cream);
	z-index: 2;
}

.mh-day__item::after {
	content: "";
	position: absolute;
	left: 13px;
	right: 0;
	top: 19px;
	height: 1.5px;
	background: var(--mh-line);
}

.mh-day__item:last-child::after { display: none; }

.mh-day__when {
	display: block;
	font-family: var(--mh-hand);
	font-size: 21px;
	color: var(--mh-wood-dark);
	margin: 42px 0 6px;
}

.mh-day__what {
	font-size: 18px;
}

.mh-day__text {
	margin: 9px 0 0;
	font-size: 15px;
	color: var(--mh-ink-soft);
}

/* ---------------------------------------------------------------- *
 * TRANG CHỦ — KHỐI CUỐI
 * ---------------------------------------------------------------- */

.mh-end {
	background: var(--mh-leaf-dark);
	color: var(--mh-paper);
	border-radius: var(--mh-r);
	padding: 54px 46px;
	display: grid;
	grid-template-columns: 1.2fr auto;
	gap: 34px;
	align-items: center;
}

.mh-end__title {
	font-size: clamp(26px, 3vw, 36px);
	color: var(--mh-paper);
}

.mh-end__text {
	margin: 14px 0 0;
	color: var(--mh-leaf-pale);
	max-width: 52ch;
}

.mh-end__acts {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ---------------------------------------------------------------- *
 * DANH SÁCH PHÒNG
 * ---------------------------------------------------------------- */

.mh-arch__head {
	background: var(--mh-cream);
	padding: 46px 0 40px;
}

.mh-crumb {
	font-size: 14px;
	color: var(--mh-ink-faint);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

body.mh .mh-crumb a { color: var(--mh-ink-soft); }
body.mh .mh-crumb a:hover { color: var(--mh-leaf-dark); }

.mh-arch__title {
	font-size: clamp(28px, 3.6vw, 42px);
}

.mh-arch__lead {
	margin: 13px 0 0;
	max-width: 62ch;
	color: var(--mh-ink-soft);
}

.mh-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 22px 0;
	border-bottom: 1px solid var(--mh-line);
	margin: 0 0 34px;
}

.mh-bar__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.mh .mh-tab {
	padding: 8px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--mh-line);
	color: var(--mh-ink);
	font-size: 15px;
	font-weight: 700;
	background: transparent;
}

body.mh .mh-tab:hover {
	border-color: var(--mh-leaf);
	color: var(--mh-leaf-dark);
}

body.mh .mh-tab.is-on {
	background: var(--mh-leaf-dark);
	border-color: var(--mh-leaf-dark);
	color: #fff;
}

.mh-bar__sort {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
}

.mh-bar__sort label {
	font-size: 14px;
	font-weight: 700;
	color: var(--mh-ink-faint);
}

.mh-bar__sort select {
	padding: 9px 13px;
	border: 1.5px solid var(--mh-line);
	border-radius: var(--mh-r-sm);
	background: var(--mh-paper);
	font-family: var(--mh-sans);
	font-size: 15px;
	font-weight: 600;
	color: var(--mh-ink);
	max-width: 100%;
}

/* Lưới phòng. Ba cột trên máy tính — homestay ít phòng, thẻ to mới ra chuyện. */
.mh-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* WooCommerce in lưới qua `ul.products` — gộp luôn vào cùng một luật. */
body.mh ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.mh ul.products::before,
body.mh ul.products::after { display: none; }

body.mh ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	text-align: left;
}

.mh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	overflow: hidden;
	transition: box-shadow .22s ease, transform .22s ease;
}

.mh-card:hover {
	box-shadow: var(--mh-shadow-up);
	transform: translateY(-3px);
}

.mh-card__media {
	position: relative;
	background: var(--mh-wood-pale);
	overflow: hidden;
}

.mh-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .5s ease;
}

.mh-card:hover .mh-card__media img { transform: scale(1.04); }

.mh-card__tag {
	position: absolute;
	left: 13px;
	top: 13px;
	background: var(--mh-paper);
	color: var(--mh-ink);
	border-radius: 999px;
	padding: 5px 13px;
	font-family: var(--mh-hand);
	font-size: 16px;
	box-shadow: var(--mh-shadow);
}

.mh-card__body {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.mh-card__group {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--mh-leaf);
}

.mh-card__name {
	font-size: 21px;
	margin: 6px 0 0;
}

body.mh .mh-card__name a { color: var(--mh-ink); }
body.mh .mh-card__name a:hover { color: var(--mh-leaf-dark); }

.mh-card__story {
	margin: 10px 0 0;
	font-size: 15px;
	color: var(--mh-ink-soft);
}

.mh-spec {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 12px;
}

.mh-spec li {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mh-ink-soft);
	min-width: 0;
}

.mh-spec svg {
	flex: 0 0 auto;
	color: var(--mh-wood-dark);
	margin-top: 3px;
}

/* Để chữ xuống dòng thay vì cắt bằng dấu ba chấm: "1 giường đôi + sofa
   giường" bị cắt là mất đúng phần khách cần biết. Thứ giữ cho ô không nở ra
   ngoài cột là min-width: 0 ở thẻ li bên trên, không phải việc cắt chữ. */
.mh-spec span {
	overflow-wrap: anywhere;
}

.mh-card__foot {
	margin-top: auto;
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

body.mh .mh-card__go {
	padding: 10px 18px;
	font-size: 15px;
}

.mh-empty {
	padding: 40px 0 0;
	color: var(--mh-ink-soft);
}

/* Phân trang */
body.mh .woocommerce-pagination {
	margin: 44px 0 0;
}

body.mh .woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

body.mh .woocommerce-pagination li {
	border: 0;
	margin: 0;
}

body.mh .woocommerce-pagination a,
body.mh .woocommerce-pagination span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1.5px solid var(--mh-line);
	background: var(--mh-paper);
	color: var(--mh-ink);
	font-weight: 700;
}

body.mh .woocommerce-pagination span.current {
	background: var(--mh-leaf-dark);
	border-color: var(--mh-leaf-dark);
	color: #fff;
}

/* ---------------------------------------------------------------- *
 * CHI TIẾT PHÒNG
 * ---------------------------------------------------------------- */

.mh-room {
	padding: 38px 0 86px;
}

.mh-room__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: start;
}

.mh-room__name {
	font-size: clamp(28px, 3.4vw, 40px);
	margin: 6px 0 0;
}

.mh-room__story {
	font-family: var(--mh-hand);
	font-size: clamp(20px, 2.1vw, 25px);
	line-height: 1.5;
	color: var(--mh-leaf-dark);
	margin: 16px 0 0;
}

.mh-room__gal {
	margin: 26px 0 0;
	border-radius: var(--mh-r);
	overflow: hidden;
	background: var(--mh-wood-pale);
}

body.mh .woocommerce-product-gallery {
	margin: 0;
	float: none;
	width: 100% !important;
}

body.mh .woocommerce-product-gallery img {
	border-radius: var(--mh-r);
}

body.mh .woocommerce-product-gallery__trigger { display: none; }

.mh-room__desc {
	margin: 30px 0 0;
}

.mh-room__desc h2,
.mh-room__desc h3 {
	font-size: 22px;
	margin: 26px 0 10px;
}

.mh-room__desc p { margin: 0 0 14px; }

.mh-room__desc ul {
	margin: 0 0 14px;
	padding-left: 22px;
	color: var(--mh-ink-soft);
}

/* Cột bên — khối giá và nút nhắn chủ nhà, dính khi cuộn trên máy tính. */
.mh-aside {
	position: sticky;
	top: 100px;
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	box-shadow: var(--mh-shadow);
	padding: 26px 26px 28px;
}

.mh-aside__price {
	font-size: 29px;
	font-weight: 700;
	line-height: 1.2;
}

.mh-aside__price small {
	font-size: 15px;
	font-weight: 600;
	color: var(--mh-ink-faint);
}

.mh-aside__spec {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	border-top: 1px solid var(--mh-line-soft);
}

.mh-aside__spec li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid var(--mh-line-soft);
	font-size: 15px;
}

.mh-aside__spec b {
	font-weight: 700;
	text-align: right;
}

.mh-aside__k {
	color: var(--mh-ink-faint);
	font-weight: 600;
}

.mh-aside__form {
	margin: 22px 0 0;
	display: grid;
	gap: 12px;
}

.mh-aside__note {
	margin: 16px 0 0;
	font-size: 13.5px;
	color: var(--mh-ink-faint);
}

/* Phòng khác — khối liên quan của WooCommerce. */
.mh-related {
	background: var(--mh-cream);
	padding: 76px 0;
}

body.mh .related > h2,
body.mh .up-sells > h2 {
	font-size: clamp(25px, 3vw, 32px);
	margin: 0 0 30px;
}

body.mh section.related { margin: 0; }

/* ---------------------------------------------------------------- *
 * TRANG GIỚI THIỆU / LIÊN HỆ / TRANG PHỤ
 * ---------------------------------------------------------------- */

.mh-page__head {
	background: var(--mh-cream);
	padding: 46px 0 42px;
}

.mh-page__title {
	font-size: clamp(28px, 3.6vw, 42px);
}

.mh-page__body {
	padding: 54px 0 86px;
}

.mh-page__body h2 { font-size: 26px; margin: 32px 0 12px; }
.mh-page__body h3 { font-size: 21px; margin: 26px 0 10px; }
.mh-page__body p  { margin: 0 0 15px; }

.mh-prose {
	max-width: 70ch;
}

.mh-prose p { margin: 0 0 16px; color: var(--mh-ink-soft); }
.mh-prose strong { color: var(--mh-ink); }

.mh-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.mh-split img {
	border-radius: var(--mh-r);
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mh-vals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mh-val {
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	padding: 28px 26px;
}

.mh-val__n {
	font-family: var(--mh-hand);
	font-size: 26px;
	color: var(--mh-wood-dark);
}

.mh-val h3 { font-size: 19px; margin: 6px 0 0; }

.mh-val p { margin: 10px 0 0; font-size: 15px; color: var(--mh-ink-soft); }

/* Liên hệ */
.mh-lh {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.mh-lh__list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.mh-lh__list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.mh-lh__ico {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--mh-leaf-pale);
	color: var(--mh-leaf-dark);
	display: grid;
	place-items: center;
}

.mh-lh__k {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--mh-ink-faint);
}

.mh-lh__v {
	font-size: 17px;
	font-weight: 700;
	color: var(--mh-ink);
}

body.mh .mh-lh__v a { color: var(--mh-ink); }
body.mh .mh-lh__v a:hover { color: var(--mh-leaf-dark); }

.mh-hours {
	margin: 26px 0 0;
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	padding: 22px 24px;
}

.mh-hours h3 { font-size: 18px; }

.mh-hours dl {
	margin: 14px 0 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 9px 18px;
	font-size: 15px;
}

.mh-hours dt { color: var(--mh-ink-faint); font-weight: 600; }
.mh-hours dd { margin: 0; font-weight: 700; text-align: right; }

.mh-form {
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	box-shadow: var(--mh-shadow);
	padding: 30px 30px 32px;
}

.mh-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.mh-form__grid .mh-field--full { grid-column: 1 / -1; }

.mh-form textarea {
	min-height: 118px;
	resize: vertical;
}

.mh-form__foot {
	margin: 20px 0 0;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mh-form__note {
	font-size: 13.5px;
	color: var(--mh-ink-faint);
	margin: 0;
}

.mh-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	z-index: 300;
	width: min(560px, calc(100vw - 32px));
	background: var(--mh-ink);
	color: var(--mh-paper);
	border-radius: var(--mh-r-sm);
	padding: 16px 20px;
	font-size: 14.5px;
	line-height: 1.5;
	box-shadow: var(--mh-shadow-up);
}

/* ---------------------------------------------------------------- *
 * CHÂN TRANG
 * ---------------------------------------------------------------- */

.mh-foot {
	background: var(--mh-ink);
	color: #D9CFC0;
	padding: 62px 0 26px;
}

body.mh .mh-foot a { color: #D9CFC0; }
body.mh .mh-foot a:hover { color: #fff; }

.mh-foot__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 38px;
}

body.mh .mh-foot__brand {
	display: flex;
	align-items: center;
	gap: 11px;
	color: #fff;
	margin: 0 0 14px;
}

body.mh .mh-foot__brand:hover { color: #fff; }

.mh-foot__name {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.mh-foot__text {
	margin: 0;
	font-size: 15px;
	max-width: 36ch;
}

.mh-foot__hand {
	font-family: var(--mh-hand);
	font-size: 19px;
	color: var(--mh-wood-pale);
	margin: 16px 0 0;
}

.mh-foot h3 {
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 16px;
}

.mh-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 15px;
}

.mh-foot__bottom {
	margin: 48px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: #B3A795;
}

.mh-foot__demo {
	margin: 10px 0 0;
	font-size: 13.5px;
	color: #B3A795;
	max-width: 92ch;
}

/* ---------------------------------------------------------------- *
 * WOOCOMMERCE — CHẾ ĐỘ DANH MỤC
 * Nút "Thêm vào giỏ" đã bị gỡ ở tầng PHP (xem inc/shop.php). Vài chỗ của
 * WooCommerce vẫn tự in giá và thông báo, nên vẫn phải phủ màu cho khớp.
 * ---------------------------------------------------------------- */

body.mh .woocommerce-message,
body.mh .woocommerce-info,
body.mh .woocommerce-error,
body.mh .woocommerce-notices-wrapper > ul {
	background: var(--mh-cream);
	border-top: 3px solid var(--mh-leaf);
	border-radius: var(--mh-r-sm);
	color: var(--mh-ink);
	font-size: 15px;
	list-style: none;
}

body.mh .woocommerce-message a,
body.mh .woocommerce-info a {
	color: var(--mh-leaf-dark);
	font-weight: 700;
}

body.mh .woocommerce .button,
body.mh .woocommerce a.button,
body.mh .woocommerce button.button,
body.mh .woocommerce input.button {
	background: var(--mh-leaf-dark);
	color: #fff;
	border-radius: 999px;
	padding: 13px 24px;
	font-family: var(--mh-sans);
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;   /* nút gãy hai dòng ở lưới 3 cột trên tablet */
}

body.mh .woocommerce .button:hover,
body.mh .woocommerce a.button:hover,
body.mh .woocommerce button.button:hover {
	background: var(--mh-ink);
	color: #fff;
}

body.mh .woocommerce span.onsale { display: none; }

/*
 * Bẫy số 7: WooCommerce dựng giỏ hàng, thanh toán và tài khoản bằng *block*,
 * lấy màu từ `theme.json` chứ không từ CSS của theme con — nút mặc định ra
 * xanh dương. Khai lại ba lớp này cho khớp nút của mẫu.
 */
body.mh .wc-block-components-button,
body.mh .wc-block-cart__submit-button,
body.mh .wc-block-components-checkout-place-order-button,
body.mh .wc-block-components-button:not(.is-link) {
	background: var(--mh-leaf-dark) !important;
	border-color: var(--mh-leaf-dark) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-family: var(--mh-sans) !important;
	font-weight: 700 !important;
}

body.mh .wc-block-components-button:hover,
body.mh .wc-block-cart__submit-button:hover,
body.mh .wc-block-components-checkout-place-order-button:hover {
	background: var(--mh-ink) !important;
	border-color: var(--mh-ink) !important;
}

body.mh .wc-block-components-button.is-link {
	background: transparent !important;
	color: var(--mh-leaf-dark) !important;
}

body.mh .wc-block-components-totals-item__value,
body.mh .wc-block-components-product-price {
	font-family: var(--mh-sans);
}

body.mh .woocommerce-form__input-checkbox:checked,
body.mh input[type="checkbox"]:checked {
	accent-color: var(--mh-leaf-dark);
}

body.mh .woocommerce form .form-row input.input-text,
body.mh .woocommerce form .form-row textarea,
body.mh .woocommerce form .form-row select,
body.mh .wc-block-components-text-input input {
	border: 1.5px solid var(--mh-line);
	border-radius: var(--mh-r-sm);
	font-family: var(--mh-sans);
}

body.mh .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.mh .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1.5px solid var(--mh-line);
	color: var(--mh-ink);
	font-weight: 700;
	font-size: 15px;
}

body.mh .woocommerce-MyAccount-navigation .is-active a {
	background: var(--mh-leaf-dark);
	border-color: var(--mh-leaf-dark);
	color: #fff;
}

body.mh .woocommerce table.shop_table {
	border-radius: var(--mh-r);
	border-color: var(--mh-line);
}

body.mh .woocommerce table.shop_table th { font-weight: 700; }

/* Kết quả tìm kiếm dùng lại lưới phòng; bài viết thường thì xếp dọc. */
.mh-hits {
	display: grid;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mh-hit {
	background: var(--mh-paper);
	border: 1px solid var(--mh-line);
	border-radius: var(--mh-r);
	padding: 22px 24px;
}

.mh-hit h2 { font-size: 20px; }
.mh-hit p { margin: 8px 0 0; font-size: 15px; color: var(--mh-ink-soft); }

/* ---------------------------------------------------------------- *
 * HIỆU ỨNG
 * Lớp ẩn do kịch bản gắn vào, không viết sẵn trong HTML — tắt JavaScript thì
 * trang vẫn hiện đủ, và trình thu thập của Google luôn thấy nội dung.
 * ---------------------------------------------------------------- */

.mh-rise {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}

.mh-rise.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	body.mh *,
	body.mh *::before,
	body.mh *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}

	.mh-rise { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- *
 * BỀ NGANG NHỎ
 * ---------------------------------------------------------------- */

@media (max-width: 1100px) {
	.mh-around { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-day    { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0; }
	.mh-day__item:nth-child(2)::after { display: none; }
	.mh-grid,
	body.mh ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-foot__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 1000px) {
	/* Khai bằng `body.mh` cho khớp sức nặng với `body.mh .mh-btn` ở trên.
	   Viết trần `.mh-head__cta` là THUA luật ấy và nút vẫn hiện, đẩy đầu
	   trang rộng hơn màn hình — đúng chỗ sinh tràn ngang ở 375px. */
	.mh-nav,
	body.mh .mh-head__cta { display: none; }

	.mh-burger { display: inline-flex; }

	/*
	 * Menu điện thoại: `display: none` chứ không chỉ ẩn bằng độ mờ, để các mục
	 * cũng rời khỏi thứ tự tiêu điểm bàn phím — không có cảnh tab vào liên kết
	 * vô hình.
	 */
	.mh-nav.is-open {
		display: flex;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		margin: 0;
		padding: 12px 24px 20px;
		background: var(--mh-ivory);
		border-bottom: 1px solid var(--mh-line);
		box-shadow: var(--mh-shadow-up);
	}

	.mh-nav.is-open .mh-nav__link {
		padding: 13px 4px;
		font-size: 17px;
		border-bottom: 1px solid var(--mh-line-soft);
		border-radius: 0;
	}

	.mh-nav.is-open .mh-nav__link::after { display: none; }

	.mh-head__in { position: relative; }

	.mh-hero__grid,
	.mh-host,
	.mh-split,
	.mh-lh,
	.mh-room__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.mh-aside { position: static; }

	.mh-story,
	.mh-story:nth-child(even) .mh-story__media {
		grid-template-columns: 1fr;
		order: 0;
	}

	.mh-story__media,
	.mh-story__media img { min-height: 240px; }

	.mh-story__body { padding: 28px 26px 30px; }

	.mh-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mh-vals   { grid-template-columns: 1fr; }

	.mh-end {
		grid-template-columns: 1fr;
		padding: 40px 30px;
	}

	.mh-end__acts { flex-direction: row; flex-wrap: wrap; }
}

/*
 * Thanh đặt phòng xếp dọc. Năm ô nằm ngang vẫn vừa ở 1000px nhưng dưới 860px
 * thì ô ngày bị bóp hẹp hơn chiều rộng tối thiểu của bộ chọn ngày trong
 * Chrome, và đó chính là chỗ sinh tràn ngang.
 */
@media (max-width: 860px) {
	.mh-book__row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.mh-book__go,
	.mh-book__row .mh-btn { width: 100%; }
}

@media (max-width: 760px) {
	body.mh { font-size: 16.5px; }

	.mh-sec { padding: 62px 0; }
	.mh-wrap { padding: 0 18px; }

	.mh-hero { padding: 40px 0 0; }
	.mh-hero__note { left: 8px; max-width: 200px; font-size: 17px; }

	.mh-around,
	.mh-day,
	.mh-groups,
	.mh-grid,
	body.mh ul.products { grid-template-columns: 1fr; }

	.mh-day__item { padding: 0 0 4px 0; }
	.mh-day__item::after { display: none; }
	.mh-day__when { margin: 26px 0 6px; padding-left: 24px; }
	.mh-day__item::before { top: 32px; }
	.mh-day__what,
	.mh-day__text { padding-left: 24px; }

	.mh-form,
	.mh-form__grid { gap: 14px; }

	.mh-form { padding: 24px 22px 26px; }
	.mh-form__grid { grid-template-columns: 1fr; }

	.mh-foot__grid { grid-template-columns: 1fr; gap: 30px; }

	.mh-related { padding: 56px 0; }
	.mh-room { padding: 28px 0 62px; }
	.mh-page__body { padding: 40px 0 62px; }
}

@media (max-width: 420px) {
	.mh-spec { grid-template-columns: 1fr; }
	.mh-hours dl { grid-template-columns: 1fr; }
	.mh-hours dd { text-align: left; }
	.mh-end { padding: 32px 22px; }
	.mh-story__body { padding: 24px 20px 26px; }
	.mh-book { padding: 18px 16px; margin: 40px 0 -36px; }
	.mh-end__acts { flex-direction: column; }
	.mh-end__acts .mh-btn { width: 100%; }
}

/* ---------------------------------------------------------------- *
 * THẺ PHÒNG DO WOOCOMMERCE TỰ DỰNG
 *
 * Khối "Phòng khác trong nhà" và các shortcode dùng mẫu `content-product.php`
 * của WooCommerce chứ không dùng thẻ phòng tự viết trong `archive-product.php`.
 * Mấy luật dưới đây kéo chúng về đúng phần nhìn của mẫu — không có thì tên
 * phòng ra cỡ chữ mặc định và giá ra màu xám nhạt của WooCommerce.
 * ---------------------------------------------------------------- */

body.mh ul.products li.product a img {
	border-radius: var(--mh-r);
	margin: 0 0 14px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

body.mh ul.products li.product .woocommerce-loop-product__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--mh-ink);
	padding: 0;
	margin: 0;
}

body.mh ul.products li.product a {
	color: var(--mh-ink);
}

body.mh ul.products li.product a:hover .woocommerce-loop-product__title {
	color: var(--mh-leaf-dark);
}

body.mh ul.products li.product .price {
	display: block;
	margin: 6px 0 14px;
	color: var(--mh-ink);
	font-size: 18px;
	font-weight: 700;
}

body.mh ul.products li.product .price .mh-dem,
body.mh .mh-dem {
	font-size: .66em;
	font-weight: 600;
	color: var(--mh-ink-faint);
}

/* ---------------------------------------------------------------- *
 * LƯỚI PHÒNG TRONG KHỐI CỦA WOOCOMMERCE
 *
 * Trang Giỏ hàng khi rỗng in thêm một khối "có thể bạn thích" dựng bằng
 * *block*. Lưới ấy dùng lề âm `margin: 0 -8px` để bù khoảng đệm của từng ô —
 * nằm trong `.mh-wrap` thì tám pixel đó thò ra ngoài màn hình và sinh TRÀN
 * NGANG ở bề ngang hẹp. Dựng lại bằng lưới có khoảng cách thật, không lề âm.
 * ---------------------------------------------------------------- */

body.mh .wc-block-grid__products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.mh .wc-block-grid__product {
	width: auto !important;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left;
}

body.mh .wc-block-grid__product-image img {
	border-radius: var(--mh-r);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

body.mh .wc-block-grid__product-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--mh-ink);
}

body.mh .wc-block-grid__product-price {
	color: var(--mh-ink);
	font-weight: 700;
}

@media (max-width: 1100px) {
	body.mh .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	body.mh .wc-block-grid__products { grid-template-columns: 1fr; }
}
