/* Page styles: rooms (design system v2). Loaded on every page after main.css;
   scope rules to this group's templates (body classes / component classes).
   Templates: archive-room.php (Rooms hub) and single-room.php (room pages).
   Every rule is scoped to .post-type-archive-room / .single-room or to rm-*
   classes that only these templates output. */

/* ==========================================================
   Hero: key facts row (hub stay facts, room facts)
   ========================================================== */
.rm-stats {
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: clamp(32px, 4vw, 48px) 0 0; padding: 24px 0 0;
	border-top: 1px solid rgb(255 255 255 / .24);
}
.rm-stats div { display: flex; flex-direction: column; min-width: 0; padding-inline: clamp(14px, 1.6vw, 24px); border-left: 1px solid rgb(255 255 255 / .16); }
.rm-stats div:first-child { padding-left: 0; border-left: 0; }
.rm-stats dd { order: 1; margin: 0; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.15; color: var(--white); }
.rm-stats dt { order: 2; margin-top: 8px; font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .72); }

/* Room pages: facts on the left, the booking link on the right. */
.rm-hero-foot {
	display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px;
	margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .24);
}
.rm-hero-foot .rm-stats { display: flex; flex-wrap: wrap; row-gap: 16px; margin: 0; padding: 0; border: 0; }
.rm-stats--room div { padding-inline: clamp(18px, 2vw, 32px); }
.rm-stats--room dd { font-size: clamp(1.25rem, 1.7vw, 1.625rem); white-space: nowrap; }
.rm-hero-foot__cta { flex: none; }

@media (max-width: 1100px) {
	.rm-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
	.rm-stats:not(.rm-stats--room) div:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
	.rm-stats { margin-top: 28px; padding-top: 20px; }
	.rm-stats div { padding-inline: 12px; }
	.rm-stats dd { font-size: 1.125rem; }
	.rm-stats dt { font-size: .625rem; letter-spacing: .16em; }
	.rm-hero-foot { gap: 24px; margin-top: 28px; padding-top: 20px; }
	.rm-hero-foot .rm-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
	.rm-stats--room div { padding-inline: 16px; }
	.rm-stats--room div:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
	.rm-stats--room dd { white-space: normal; }
	.rm-hero-foot__cta { width: 100%; min-height: 52px; }
}

/* Room without a photo yet (Premium Twin): a designed dark hero with the
   resort's arched-window motif drawn in gold hairlines. */
.single-room .page-hero--plain {
	min-height: min(72vh, 640px);
	background:
		radial-gradient(ellipse at 78% 40%, rgb(205 176 122 / .14), transparent 55%),
		linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 75%);
}
.single-room .page-hero--plain::before,
.single-room .page-hero--plain::after {
	content: ""; position: absolute; z-index: -1; bottom: 0; pointer-events: none;
	border: 1px solid rgb(205 176 122 / .42); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.single-room .page-hero--plain::before { right: 7%; width: min(28vw, 400px); height: 76%; }
.single-room .page-hero--plain::after { right: calc(7% + 24px); width: calc(min(28vw, 400px) - 48px); height: calc(76% - 24px); border-color: rgb(205 176 122 / .2); }
@media (max-width: 900px) {
	.single-room .page-hero--plain::before { right: -12%; width: 64vw; height: 58%; opacity: .55; }
	.single-room .page-hero--plain::after { right: calc(-12% + 20px); width: calc(64vw - 40px); height: calc(58% - 20px); opacity: .55; }
}

/* ==========================================================
   Placeholder tile for a room without photos (hub rows, "Other rooms")
   ========================================================== */
:is(.post-type-archive-room, .single-room) .room-tile {
	position: relative; isolation: isolate; gap: 12px; padding: 24px;
	color: var(--white);
	background:
		radial-gradient(ellipse at 50% 38%, rgb(205 176 122 / .18), transparent 62%),
		linear-gradient(165deg, var(--green-800) 0%, var(--green-950) 80%);
}
:is(.post-type-archive-room, .single-room) .room-tile::before { /* arched window */
	content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; height: 76%; aspect-ratio: 3 / 4;
	transform: translate(-50%, -48%);
	border: 1px solid rgb(205 176 122 / .55); border-bottom-color: transparent; border-radius: 999px 999px 0 0;
}
:is(.post-type-archive-room, .single-room) .room-tile::after { /* inset frame */
	content: ""; position: absolute; z-index: -1; inset: 14px; border: 1px solid rgb(255 255 255 / .1);
}
:is(.post-type-archive-room, .single-room) .room-tile .icon { width: 30px; height: 30px; color: var(--gold-400); stroke-width: 1.3; }
:is(.post-type-archive-room, .single-room) .room-tile__size { font-size: clamp(1.5rem, 2.6vw, 2.25rem); color: var(--white); }
:is(.post-type-archive-room, .single-room) .room-tile__bed { font-size: .6875rem; font-weight: 500; letter-spacing: .28em; color: var(--gold-400); }
.single-room .h-room__media .room-tile__size { font-size: 1.625rem; }

/* ==========================================================
   Rooms hub: editorial list of room categories
   ========================================================== */
.rm-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; margin-bottom: clamp(48px, 6vw, 96px); }
.rm-head .section__title { max-width: 15ch; margin: 0; }

.rm-rows { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 136px); }
.rm-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rm-row--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.rm-row--flip .rm-row__media { order: 2; }
.rm-row__media { display: block; aspect-ratio: 4 / 3; background: var(--green-100); overflow: hidden; text-decoration: none; }
.rm-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rm-row:hover .rm-row__media img { transform: scale(1.04); }
.rm-row__body { max-width: 540px; }

.rm-row__index { display: flex; align-items: center; margin: 0 0 22px; font-size: .6875rem; font-weight: 500; letter-spacing: .28em; color: var(--muted); }
.rm-row__index span { display: inline-flex; align-items: center; gap: 14px; margin-right: 14px; color: var(--gold-600); }
.rm-row__index span::after { content: ""; width: 44px; height: 1px; background: var(--gold-600); }

.rm-row__title { margin: 0 0 20px; font-size: clamp(2rem, 3.3vw, 2.875rem); line-height: 1.06; }
.rm-row__title a {
	color: inherit; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat;
	transition: background-size .5s var(--ease);
}
.rm-row__title a:hover { color: var(--green-900); background-size: 100% 1px; }

.rm-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0 0 24px; padding: 0; font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-800); }
.rm-facts li { display: inline-flex; align-items: center; gap: 9px; }
.rm-facts .icon { width: 17px; height: 17px; color: var(--gold-600); stroke-width: 1.4; }

.rm-row__text { margin: 0 0 28px; font-size: 1.0625rem; color: var(--muted); }

.rm-row__meta { margin: 0 0 32px; border-top: 1px solid var(--cream-200); }
.rm-row__meta div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--cream-200); }
.rm-row__meta dt { padding-top: 4px; font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); }
.rm-row__meta dd { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--ink); }
.rm-inline { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.rm-inline li:not(:last-child)::after { content: "·"; margin-inline: 9px; color: var(--gold-600); }

.rm-row__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; }
.rm-price { font-size: 1.375rem; font-style: italic; color: var(--green-900); }
.rm-row__ctas { display: flex; align-items: center; gap: 28px; }
.rm-row__ctas .btn { min-height: 46px; padding-inline: 28px; }
/* Text links: a 44px+ tap area without changing their look. */
:is(.rm-list, .rm-rules, .rm-others) .link-arrow { position: relative; }
:is(.rm-list, .rm-rules, .rm-others) .link-arrow::after { content: ""; position: absolute; inset: -10px -6px; }

.rm-list .photo-note { margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 900px) {
	.rm-row, .rm-row--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.rm-row--flip .rm-row__media { order: 0; }
	.rm-row__body { max-width: 640px; }
}
@media (max-width: 560px) {
	.rm-head { margin-bottom: 44px; }
	.rm-rows { gap: 64px; }
	.rm-row__index { margin-bottom: 16px; }
	.rm-row__title { font-size: 2rem; margin-bottom: 16px; }
	.rm-facts { gap: 8px 20px; margin-bottom: 18px; }
	.rm-row__text { margin-bottom: 22px; }
	.rm-row__meta div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 13px 0; }
	.rm-row__meta dt { padding-top: 0; }
	.rm-row__foot { flex-direction: column; align-items: stretch; gap: 16px; }
	.rm-row__ctas { justify-content: space-between; }
	.rm-row__ctas .btn { flex: 0 1 auto; min-width: 150px; }
}

/* ==========================================================
   Rooms hub: comparison table (hairlines, no box)
   ========================================================== */
.rm-compare__head { margin-bottom: clamp(36px, 4vw, 64px); }
.rm-compare .table-scroll { border: 0; background: none; }
.rm-table { min-width: 820px; font-size: .9375rem; }
.rm-table th, .rm-table td { padding: 24px 18px; vertical-align: middle; border-bottom: 1px solid rgb(19 38 26 / .12); }
.rm-table tr > :first-child { padding-left: 0; }
.rm-table tr > :last-child { padding-right: 0; text-align: right; }
.rm-table thead th { padding-block: 0 18px; font-size: .6875rem; font-weight: 500; letter-spacing: .22em; color: var(--muted); border-bottom-color: rgb(19 38 26 / .5); white-space: nowrap; }
.rm-table tbody tr:last-child > * { border-bottom: 1px solid rgb(19 38 26 / .12); }
.rm-table tbody th a {
	font-size: 1.3125rem; font-weight: 400; line-height: 1.25;
	background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat; transition: background-size .5s var(--ease);
}
.rm-table tbody th a:hover { background-size: 100% 1px; }
.rm-table .yes { color: var(--gold-600); }
.rm-table .no { color: var(--muted); }
.rm-table td:last-child { font-family: var(--font-serif); font-style: italic; color: var(--green-900); }

/* Tablets and phones: one hairline block per room, label above value. */
@media (max-width: 900px) {
	.rm-compare .table-scroll { overflow: visible; }
	.rm-table, .rm-table tbody, .rm-table tr, .rm-table th, .rm-table td { display: block; }
	.rm-table { min-width: 0; }
	.rm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.rm-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; padding: 26px 0 20px; border-top: 1px solid rgb(19 38 26 / .16); }
	.rm-table tbody tr:last-child { border-bottom: 1px solid rgb(19 38 26 / .16); }
	.rm-table tbody tr > * { padding: 0; border: 0 !important; text-align: left; }
	.rm-table tbody th { grid-column: 1 / -1; margin-bottom: 14px; }
	.rm-table td { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 0 14px; border-top: 1px solid rgb(19 38 26 / .1) !important; }
	.rm-table td:last-child { text-align: left; }
	.rm-table td::before { content: attr(data-label); font-family: var(--font-sans); font-style: normal; font-size: .625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
	.rm-table .yes .icon { width: 18px; height: 18px; margin-top: 3px; }
}
@media (max-width: 560px) {
	.rm-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}

/* ==========================================================
   House rules as a hairline list (hub section and room pages)
   ========================================================== */
.rm-rules__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.rm-rules__head .section__title { margin-bottom: .4em; }
.rm-rules__note { color: var(--muted); margin-bottom: 28px; }
.rm-rules__list .policies { display: block; margin: 0; border-top: 1px solid var(--cream-200); }
.rm-rules__list .policies__item {
	display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 20px; align-items: start;
	padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--cream-200); border-radius: 0;
}
.rm-rules__list .policies__item .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-600); stroke-width: 1.4; }
.rm-rules__list .policies__item > span { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 24px; align-items: baseline; font-size: 1rem; color: var(--ink); }
.rm-rules__list .policies__item strong { font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--green-900); }
@media (max-width: 900px) {
	.rm-rules__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.rm-rules__list .policies__item { gap: 16px; padding: 16px 0; }
	.rm-rules__list .policies__item > span { grid-template-columns: minmax(0, 1fr); font-size: .9375rem; }
}

/* ==========================================================
   Room page: photo mosaic (lightbox links)
   ========================================================== */
.rm-gallery { padding-top: clamp(40px, 5vw, 72px); }
.rm-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 18.5vw, 280px); gap: clamp(8px, 1vw, 14px); }
.rm-mosaic__item { position: relative; display: block; overflow: hidden; background: var(--green-100); }
.rm-mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.rm-mosaic__item::after { /* soft shade on hover */
	content: ""; position: absolute; inset: 0; background: rgb(8 18 11 / 0); transition: background-color .5s var(--ease); pointer-events: none;
}
.rm-mosaic__item:hover::after { background: rgb(8 18 11 / .12); }
.rm-mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.rm-mosaic__item.is-extra { display: none; }
.rm-mosaic--4 .rm-mosaic__item:nth-child(4),
.rm-mosaic--3 .rm-mosaic__item:not(:first-child) { grid-column: span 2; }
.rm-mosaic--2 .rm-mosaic__item { grid-column: span 2; grid-row: span 2; }
.rm-mosaic--1 .rm-mosaic__item { grid-column: 1 / -1; grid-row: span 2; }
.rm-mosaic__more {
	position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-align: center;
	color: var(--white); background: rgb(8 18 11 / .58);
}
.rm-mosaic__more .icon { width: 24px; height: 24px; color: var(--gold-400); }
.rm-gallery .photo-note { margin-top: 14px; }

/* Phones: a swipeable strip, edge to edge, showing every photo. */
@media (max-width: 767px) {
	.rm-gallery { padding-top: 28px; }
	.rm-mosaic {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; grid-auto-rows: auto; gap: 10px;
		margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
	}
	.rm-mosaic::-webkit-scrollbar { display: none; }
	.rm-mosaic .rm-mosaic__item:nth-child(n) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; scroll-snap-align: start; }
	.rm-mosaic .rm-mosaic__item.is-extra:nth-child(n) { display: block; }
	.rm-mosaic--1 { grid-auto-columns: 100%; }
	.rm-mosaic__more { display: none; }
}

/* ==========================================================
   Room page: details beside a sticky booking card
   ========================================================== */
.rm-gallery + .rm-detail { padding-top: clamp(64px, 8vw, 120px); }
.rm-detail__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
	column-gap: clamp(48px, 7vw, 120px); row-gap: clamp(64px, 7vw, 104px); align-items: start;
}
.rm-detail__intro { grid-column: 1; grid-row: 1; max-width: 720px; }
.rm-detail__more { grid-column: 1; grid-row: 2; max-width: 720px; }
.rm-detail__side { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
/* Sticky only when the whole card fits under the fixed header. */
@media (min-width: 1024px) and (min-height: 900px) {
	.rm-detail__side { position: sticky; top: calc(var(--header-h) + 20px); }
}
.rm-detail__prose { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.75; color: var(--muted); }
.rm-detail__prose p:last-child { margin-bottom: 0; }

.rm-ideal { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 20px; margin: 40px 0 0; padding: 26px 0; border-block: 1px solid var(--cream-200); }
.rm-ideal .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--gold-600); stroke-width: 1.4; }
.rm-ideal > span { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.4; color: var(--green-900); }
.rm-ideal strong { display: block; margin-bottom: 8px; font-family: var(--font-sans); font-size: .6875rem; font-weight: 500; line-height: 1.4; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-600); }

.rm-block + .rm-block { margin-top: clamp(64px, 7vw, 104px); }
.rm-block__title { margin-bottom: 30px; font-size: clamp(1.875rem, 3.2vw, 2.625rem); line-height: 1.1; }

.rm-amenities { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; border-top: 1px solid var(--cream-200); }
.rm-amenities li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--cream-200); break-inside: avoid; font-size: .9375rem; line-height: 1.4; }
.rm-amenities .icon { width: 20px; height: 20px; color: var(--gold-600); stroke-width: 1.4; }

/* Booking card: a quiet dark panel with gold accents. */
.single-room .rm-book {
	gap: 0; padding: clamp(26px, 2.6vw, 36px);
	color: rgb(255 255 255 / .78); background: var(--green-950);
	border: 0; border-radius: 0; box-shadow: none;
}
.single-room .rm-book p { color: inherit; }
.single-room .rm-book :focus-visible { outline-color: var(--gold-400); }
.single-room .rm-book .book-card__price { padding-bottom: 22px; border-bottom: 1px solid rgb(255 255 255 / .14); }
.single-room .rm-book .rm-book__room { margin: 0 0 12px; font-size: .6875rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-400); }
.single-room .rm-book .price--lg { font-size: clamp(1.875rem, 2.4vw, 2.25rem); line-height: 1.15; color: var(--white); }
.single-room .rm-book .price__from,
.single-room .rm-book .price__unit { color: rgb(255 255 255 / .68); }
.single-room .rm-book .book-card__hint { margin-top: 8px !important; font-size: .875rem; line-height: 1.6; color: rgb(255 255 255 / .72); }
.single-room .rm-book .rates li { border-bottom: 1px solid rgb(255 255 255 / .14); }

.single-room .rm-book .booking { gap: 0; padding: 22px 0 0; color: inherit; background: none; box-shadow: none; }
.single-room .rm-book .booking__title { margin-bottom: 16px; text-align: left; font-size: .6875rem; letter-spacing: .28em; color: var(--gold-400); }
/* Fields as one framed panel: gold small-caps labels over serif values, hairlines between cells. */
.single-room .rm-book .booking > .booking__field, .single-room .rm-book .booking__row { border: 1px solid rgb(217 178 90 / .32); }
.single-room .rm-book .booking > .booking__field + .booking__row, .single-room .rm-book .booking__row + .booking__row { border-top: 0; }
.single-room .rm-book .booking__row { gap: 0; }
.single-room .rm-book .booking__row .booking__field + .booking__field { border-left: 1px solid rgb(217 178 90 / .32); }
.single-room .rm-book .booking__field {
	position: relative; gap: 2px; padding: 12px 16px 8px;
	font-size: .65rem; font-weight: 500; letter-spacing: .24em; color: var(--gold-400);
	transition: background-color .3s var(--ease);
}
.single-room .rm-book .booking__field::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.single-room .rm-book .booking__field:hover { background: rgb(217 178 90 / .05); }
.single-room .rm-book .booking__field:focus-within { background: rgb(217 178 90 / .09); }
.single-room .rm-book .booking__field:focus-within::after { transform: scaleX(1); }
.single-room .rm-book .booking__field input,
.single-room .rm-book .booking__field select {
	width: 100%; min-height: 34px; padding: 2px 0 0;
	font: 400 1.125rem/1.3 var(--font-serif); letter-spacing: 0; text-transform: none; color: var(--white);
	background-color: transparent; border: 0; border-radius: 0; color-scheme: dark; cursor: pointer;
}
.single-room .rm-book .booking__field select {
	-webkit-appearance: none; appearance: none; padding-right: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9b25a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px;
}
.single-room .rm-book .booking__field input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .9; filter: invert(76%) sepia(38%) saturate(640%) hue-rotate(358deg) brightness(92%); }
.single-room .rm-book .booking__field option { color: var(--ink); background: var(--white); font-family: var(--font-sans); }
/* Focus shows as the tinted cell and gold underline; keep a ring for keyboard users. */
.single-room .rm-book .booking__field input:focus,
.single-room .rm-book .booking__field select:focus { outline: none; }
.single-room .rm-book .booking__field:has(:focus-visible) { box-shadow: inset 0 0 0 1px var(--gold-400); }
.single-room .rm-book .booking .btn { margin-top: 18px; }
.single-room .rm-book .booking__error { color: #f4bcb0; }
.single-room .rm-book .booking .btn { min-height: 52px; } /* colours: shared gold button (main.css) */

.single-room .rm-book .book-card__alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 14px; margin-top: 12px; font-size: .875rem; text-align: left; color: rgb(255 255 255 / .72); }
.single-room .rm-book .book-card__alt a {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
	color: var(--white); background: linear-gradient(var(--gold-400), var(--gold-400)) left calc(100% - 9px) / 100% 1px no-repeat;
	transition: background-size .4s var(--ease), color .3s var(--ease);
}
.single-room .rm-book .book-card__alt a:hover { color: var(--gold-400); background-size: 40% 1px; }
.single-room .rm-book .book-card__notes { gap: 8px; margin: 14px 0 0; padding: 20px 0 0; border-top: 1px solid rgb(255 255 255 / .14); font-size: .875rem; color: rgb(255 255 255 / .72); }
.single-room .rm-book .book-card__notes li { gap: 10px; }
.single-room .rm-book .book-card__notes .icon { width: 16px; height: 16px; color: var(--gold-400); }
.single-room .rm-book .book-card__notes a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: var(--gold-400); font-weight: 500; text-underline-offset: 5px; }
.single-room .rm-book .book-card__notes a:hover { color: var(--white); }

@media (max-width: 1023px) {
	.rm-detail__grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
	.rm-detail__intro, .rm-detail__side, .rm-detail__more { grid-column: 1; grid-row: auto; }
	.rm-detail__intro, .rm-detail__more { max-width: 760px; }
	.rm-detail__side { width: 100%; max-width: 760px; }
}
@media (max-width: 600px) {
	.rm-gallery + .rm-detail { padding-top: 64px; }
	.rm-detail__side { width: auto; max-width: none; margin-inline: calc(-1 * var(--gutter)); }
	.single-room .rm-book { padding: 36px var(--gutter) 32px; }
	.rm-ideal { gap: 16px; margin-top: 32px; padding: 22px 0; }
	.rm-block__title { margin-bottom: 24px; }
	.rm-amenities { column-gap: 20px; }
	.rm-amenities li { gap: 10px; padding: 13px 0; font-size: .875rem; }
	.rm-amenities .icon { width: 18px; height: 18px; }
}
@media (max-width: 340px) { .rm-amenities { columns: 1; } }

/* ==========================================================
   Room page: FAQs, reviews and the "Other rooms" scroller
   ========================================================== */
.single-room .faqs { background: var(--cream-100); }
.single-room .faqs .faqs__list { border-top-color: rgb(19 38 26 / .14); }
.single-room .faqs .faq { border-bottom-color: rgb(19 38 26 / .14); }

.rm-others .h-rooms { grid-auto-columns: minmax(260px, 1fr); }
.rm-other__price { margin-top: 12px; font-family: var(--font-serif); font-size: 1rem; font-style: italic; color: var(--green-800); }
.rm-others .h-room__title { display: block; font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.25; color: var(--green-900); }
.rm-others .h-room__meta { margin-top: 6px; line-height: 1.7; }
.rm-others .h-room__meta span { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.rm-row:hover .rm-row__media img,
	.rm-mosaic__item:hover img { transform: none; }
}

/* Small phones: the date values must fit their half-width cells. */
@media (max-width: 420px) {
	.single-room .rm-book .booking__field { padding: 11px 12px 8px; }
	.single-room .rm-book .booking__field input, .single-room .rm-book .booking__field select { font-size: 1rem; }
	.single-room .rm-book .booking__field input::-webkit-calendar-picker-indicator { margin-left: 2px; }
}
