.mfhb-rooms,
.mfhb-room-detail {
	--mfhb-ink: #17233c;
	--mfhb-muted: #667085;
	--mfhb-line: #e4e7ec;
	--mfhb-surface: #fff;
	--mfhb-soft: #f6f7f9;
	--mfhb-accent: #b68a3a;
	--mfhb-accent-dark: #8c6725;
	box-sizing: border-box;
	color: var(--mfhb-ink);
	font-family: inherit;
}

.mfhb-rooms *,
.mfhb-room-detail * {
	box-sizing: border-box;
}

.mfhb-rooms {
	margin: 0 auto;
	max-width: 1200px;
	padding: clamp(32px, 6vw, 80px) 20px;
}

.mfhb-rooms__hero {
	margin: 0 auto 32px;
	max-width: 720px;
	text-align: center;
}

.mfhb-rooms__hero h2,
.mfhb-room-detail h1,
.mfhb-room-detail h2,
.mfhb-rooms h3 {
	color: var(--mfhb-ink);
	line-height: 1.2;
	margin-top: 0;
}

.mfhb-rooms__hero h2 {
	font-size: clamp(30px, 4vw, 48px);
	margin-bottom: 14px;
}

.mfhb-eyebrow {
	color: var(--mfhb-accent-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.mfhb-stay-search {
	align-items: end;
	background: var(--mfhb-surface);
	border: 1px solid var(--mfhb-line);
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(23, 35, 60, .08);
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr) auto;
	margin-bottom: 24px;
	padding: 18px;
}

.mfhb-field label,
.mfhb-my-booking label {
	display: block;
	font-size: 13px;
	font-weight: 650;
	margin-bottom: 7px;
}

.mfhb-field input,
.mfhb-my-booking input {
	background: #fff;
	border: 1px solid #cfd4dc;
	border-radius: 7px;
	color: var(--mfhb-ink);
	font: inherit;
	min-height: 44px;
	padding: 8px 11px;
	width: 100%;
}

.mfhb-field input:focus,
.mfhb-my-booking input:focus {
	border-color: var(--mfhb-accent);
	box-shadow: 0 0 0 3px rgba(182, 138, 58, .16);
	outline: 0;
}

.mfhb-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 7px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 11px 18px;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.mfhb-button--primary {
	background: var(--mfhb-accent);
	color: #fff;
}

.mfhb-button--primary:hover,
.mfhb-button--primary:focus {
	background: var(--mfhb-accent-dark);
	color: #fff;
}

.mfhb-button--secondary {
	background: #fff;
	border-color: #cfd4dc;
	color: var(--mfhb-ink);
}

.mfhb-button--secondary:hover,
.mfhb-button--secondary:focus {
	border-color: var(--mfhb-accent);
	color: var(--mfhb-accent-dark);
}

.mfhb-button--disabled,
.mfhb-button:disabled {
	background: #eaecf0;
	border-color: #eaecf0;
	color: #98a2b3;
	cursor: not-allowed;
	pointer-events: none;
}

.mfhb-button--full {
	width: 100%;
}

.mfhb-notice {
	border-radius: 8px;
	margin: 18px 0;
	padding: 12px 15px;
}

.mfhb-notice p {
	margin: 3px 0;
}

.mfhb-notice--error {
	background: #fff4f2;
	border: 1px solid #fecdca;
	color: #912018;
}

.mfhb-rooms__toolbar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 40px 0 20px;
}

.mfhb-rooms__toolbar h3,
.mfhb-rooms__toolbar p {
	margin-bottom: 4px;
}

.mfhb-rooms__toolbar p {
	color: var(--mfhb-muted);
}

.mfhb-my-booking {
	position: relative;
}

.mfhb-my-booking summary {
	color: var(--mfhb-accent-dark);
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.mfhb-my-booking form {
	background: #fff;
	border: 1px solid var(--mfhb-line);
	border-radius: 10px;
	box-shadow: 0 18px 45px rgba(23, 35, 60, .16);
	display: grid;
	gap: 9px;
	padding: 18px;
	position: absolute;
	right: 0;
	top: 30px;
	width: min(320px, 85vw);
	z-index: 5;
}

.mfhb-room-grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mfhb-room-card {
	background: var(--mfhb-surface);
	border: 1px solid var(--mfhb-line);
	border-radius: 12px;
	overflow: hidden;
}

.mfhb-room-card__image {
	display: block;
	overflow: hidden;
	position: relative;
}

.mfhb-room-card__image,
.mfhb-room-card__image img,
.mfhb-image-placeholder {
	aspect-ratio: 16 / 9;
	width: 100%;
}

.mfhb-room-card__image img {
	display: block;
	object-fit: cover;
	transition: transform .35s ease;
}

.mfhb-room-card__image:hover img {
	transform: scale(1.025);
}

.mfhb-image-placeholder {
	background: linear-gradient(135deg, #e8ebef, #f7f8fa);
	display: block;
}

.mfhb-room-card__body {
	padding: 22px;
}

.mfhb-room-card__heading {
	align-items: start;
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

.mfhb-room-card__heading h3 {
	font-size: 23px;
	margin-bottom: 8px;
}

.mfhb-room-card__heading h3 a {
	color: inherit;
	text-decoration: none;
}

.mfhb-room-price {
	flex: 0 0 auto;
	margin: 0;
	text-align: right;
}

.mfhb-room-price strong {
	color: var(--mfhb-accent-dark);
	font-size: 20px;
}

.mfhb-room-price span,
.mfhb-room-card__description {
	color: var(--mfhb-muted);
}

.mfhb-room-specs,
.mfhb-amenity-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	list-style: none;
	margin: 16px 0;
	padding: 0;
}

.mfhb-room-specs li {
	color: #475467;
	font-size: 14px;
}

.mfhb-amenity-pills li {
	background: var(--mfhb-soft);
	border-radius: 999px;
	color: #475467;
	font-size: 12px;
	padding: 6px 10px;
}

.mfhb-room-card__actions {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.mfhb-room-card__actions .mfhb-button {
	flex: 1;
}

.mfhb-empty-state {
	background: var(--mfhb-soft);
	border-radius: 12px;
	padding: 48px 20px;
	text-align: center;
}

.mfhb-pagination {
	margin-top: 34px;
	text-align: center;
}

.mfhb-pagination .page-numbers {
	border: 1px solid var(--mfhb-line);
	border-radius: 6px;
	display: inline-block;
	margin: 3px;
	padding: 7px 12px;
	text-decoration: none;
}

.mfhb-pagination .current {
	background: var(--mfhb-ink);
	color: #fff;
}

@media (max-width: 800px) {
	.mfhb-stay-search {
		grid-template-columns: 1fr 1fr;
	}

	.mfhb-room-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 540px) {
	.mfhb-stay-search {
		grid-template-columns: 1fr;
	}

	.mfhb-rooms__toolbar,
	.mfhb-room-card__heading {
		align-items: stretch;
		flex-direction: column;
	}

	.mfhb-room-price {
		text-align: left;
	}

	.mfhb-my-booking form {
		left: 0;
		right: auto;
	}
}
