.mfhb-room-detail {
	margin: 0 auto;
	max-width: 1200px;
	padding: clamp(30px, 5vw, 70px) 20px;
}

.mfhb-room-detail__header {
	align-items: end;
	display: flex;
	gap: 30px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.mfhb-room-detail__header h1 {
	font-size: clamp(34px, 5vw, 58px);
	margin-bottom: 10px;
}

.mfhb-room-detail__header p {
	color: var(--mfhb-muted);
	margin-bottom: 0;
}

.mfhb-room-gallery__main {
	background: var(--mfhb-soft);
	border-radius: 14px;
	overflow: hidden;
	position: relative;
}

.mfhb-room-gallery__main > img,
.mfhb-room-gallery__main > .mfhb-image-placeholder {
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
	width: 100%;
}

.mfhb-gallery-toggle {
	background: rgba(255, 255, 255, .94);
	border: 0;
	border-radius: 6px;
	bottom: 16px;
	box-shadow: 0 4px 14px rgba(23, 35, 60, .15);
	color: var(--mfhb-ink);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 12px;
	position: absolute;
	right: 16px;
}

.mfhb-room-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	overflow: hidden;
}

.mfhb-room-gallery__thumbs.is-expanded {
	flex-wrap: wrap;
	overflow: visible;
}

.mfhb-room-gallery__thumbs button {
	background: transparent;
	border: 2px solid transparent;
	border-radius: 7px;
	cursor: pointer;
	flex: 0 0 92px;
	padding: 0;
}

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

.mfhb-room-gallery__thumbs img {
	aspect-ratio: 4 / 3;
	border-radius: 5px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.mfhb-room-detail__layout {
	align-items: start;
	display: grid;
	gap: clamp(30px, 5vw, 70px);
	grid-template-columns: minmax(0, 1fr) 350px;
	margin-top: 42px;
}

.mfhb-room-specs--detail {
	border-bottom: 1px solid var(--mfhb-line);
	border-top: 1px solid var(--mfhb-line);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 36px;
	padding: 20px 0;
}

.mfhb-room-specs--detail li {
	display: grid;
	gap: 4px;
}

.mfhb-room-specs--detail span {
	color: var(--mfhb-muted);
	font-size: 12px;
}

.mfhb-room-copy,
.mfhb-room-amenities {
	margin-top: 36px;
}

.mfhb-room-copy h2,
.mfhb-room-amenities h2 {
	font-size: 25px;
	margin-bottom: 16px;
}

.mfhb-room-amenities ul {
	display: grid;
	gap: 12px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.mfhb-room-amenities li::before {
	color: var(--mfhb-accent);
	content: "✓";
	font-weight: 800;
	margin-right: 9px;
}

.mfhb-stay-panel {
	background: #fff;
	border: 1px solid var(--mfhb-line);
	border-radius: 12px;
	box-shadow: 0 16px 38px rgba(23, 35, 60, .09);
	padding: 22px;
	position: sticky;
	top: 28px;
}

.mfhb-stay-panel h2 {
	font-size: 23px;
	margin-bottom: 18px;
}

.mfhb-stay-panel form {
	display: grid;
	gap: 13px;
}

.mfhb-stay-total {
	border-top: 1px solid var(--mfhb-line);
	margin: 20px 0;
	padding-top: 15px;
}

.mfhb-stay-total > div {
	display: flex;
	justify-content: space-between;
	margin: 8px 0;
}

.mfhb-stay-total span {
	color: var(--mfhb-muted);
}

@media (max-width: 850px) {
	.mfhb-room-detail__layout {
		grid-template-columns: 1fr;
	}

	.mfhb-stay-panel {
		position: static;
	}
}

@media (max-width: 600px) {
	.mfhb-room-detail__header {
		align-items: start;
		flex-direction: column;
	}

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

	.mfhb-room-specs--detail,
	.mfhb-room-amenities ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
