/*
 * Accommodation: the overview grid and the single room.
 */

/* --- Overview head ------------------------------------------------------ */

.rooms-head {
	border-bottom: 1px solid rgba(26, 42, 30, 0.1);
}

.rooms-head__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3rem;
}

.rating-card {
	width: 100%;
	min-width: 15rem;
	padding: 2rem;
	text-align: center;
	border: 1px solid rgba(196, 163, 90, 0.15);
	border-radius: 1.5rem;
	background: #fff;
	box-shadow: var(--luxury-shadow);
}

.rating-card__stars {
	display: flex;
	justify-content: center;
	gap: 0.25rem;
	margin-bottom: 0.75rem;
	color: var(--wp--preset--color--brand-gold);
}

.rating-card__stars svg {
	width: 1.125rem;
	height: 1.125rem;
}

.rating-card__score {
	margin-bottom: 0.5rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 2.25rem;
	font-weight: 900;
	line-height: 1;
	color: var(--wp--preset--color--brand-wood);
}

.rating-card__scale {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--wp--preset--color--brand-gold);
}

.rating-card__note {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-stone);
}

@media (min-width: 1024px) {
	.rooms-head__inner {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 3rem;
	}

	.rating-card {
		width: auto;
	}
}

/* --- Room grid ---------------------------------------------------------- */

.room-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.room-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(196, 163, 90, 0.1);
	border-radius: 2.5rem;
	background: #fff;
	box-shadow: var(--luxury-shadow);
	transition: transform 0.4s var(--ease-luxury), border-color 0.5s;
}

.room-card:hover {
	transform: translateY(-0.5rem);
	border-color: rgba(196, 163, 90, 0.3);
}

.room-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--brand-bark);
}

.room-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 6s;
}

.room-card:hover .room-card__image {
	transform: scale(1.05);
}

.room-card__tag {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	z-index: 10;
	padding: 0.5rem 1.25rem;
	border-radius: 999px;
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-wood);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.room-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent 50%);
}

.room-card__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	flex-grow: 1;
	padding: 2rem;
}

.room-card__head {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.room-card__title {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}

.room-card__title a {
	transition: color 0.3s;
}

.room-card:hover .room-card__title a {
	color: var(--wp--preset--color--brand-gold);
}

.room-card__meta {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}

.room-card__desc {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--wp--preset--color--brand-stone);
}

.room-card__foot {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(196, 163, 90, 0.1);
}

.room-card__amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	padding: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--wp--preset--color--brand-wood-deep);
}

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

.room-card__cta {
	display: block;
	padding: 0.875rem 1.5rem;
	border-radius: 999px;
	text-align: center;
	background: var(--wp--preset--color--brand-wood);
	color: var(--wp--preset--color--brand-cream);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transition: background-color 0.3s, color 0.3s;
}

.room-card__cta:hover {
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-wood);
}

@media (min-width: 768px) {
	.room-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.room-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* --- Single room -------------------------------------------------------- */

.room-single {
	padding-bottom: 6rem;
	background: var(--wp--preset--color--brand-cream-soft);
}

.room-single > .shell {
	padding-inline: 1.5rem;
}

.room-single__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
}

.room-single__main {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.room-single__media {
	position: relative;
}

.room-single__media .slider {
	border: 1px solid rgba(196, 163, 90, 0.15);
}

.room-single__tag {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	z-index: 20;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-wood);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.room-single__intro {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.room-single__meta {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.625rem;
	font-weight: 900;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}

.room-single__title {
	font-size: 1.875rem;
	line-height: 1.2;
}

.room-single__desc {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.875rem;
	line-height: 1.8;
	color: var(--wp--preset--color--brand-stone);
}

/* --- Amenities ---------------------------------------------------------- */

.room-amenities {
	padding-top: 2rem;
	border-top: 1px solid rgba(196, 163, 90, 0.15);
}

.room-amenities__title {
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
	font-style: italic;
}

.room-amenities__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	list-style: none;
	padding: 0;
}

.room-amenities__item {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--brand-wood-deep);
}

.room-amenities__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	background: rgba(196, 163, 90, 0.1);
	color: var(--wp--preset--color--brand-gold);
	font-size: 0.75rem;
}

.room-amenities__mark svg {
	width: 0.75rem;
	height: 0.75rem;
}

/* --- Arrival terms ------------------------------------------------------ */

.room-terms {
	display: flex;
	gap: 0.75rem;
	padding: 1.5rem;
	border: 1px solid rgba(196, 163, 90, 0.15);
	border-radius: 1rem;
	background: var(--wp--preset--color--brand-wood);
	color: var(--wp--preset--color--brand-cream);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.room-terms__icon svg {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.1em;
	color: var(--wp--preset--color--brand-gold);
}

.room-terms__title {
	margin-bottom: 0.25rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}

.room-terms p {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	line-height: 1.7;
	color: rgba(245, 240, 232, 0.7);
}

/* --- Booking column ----------------------------------------------------- */

.room-booking {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(196, 163, 90, 0.15);
	border-radius: 2.5rem;
	background: #fff;
	box-shadow: var(--luxury-shadow);
}

.room-booking__banner {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem;
	border-bottom: 1px solid rgba(196, 163, 90, 0.15);
	background: var(--wp--preset--color--brand-wood);
	color: var(--wp--preset--color--brand-cream);
}

.room-booking__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(196, 163, 90, 0.3);
	border-radius: 999px;
	background: rgba(196, 163, 90, 0.1);
	color: var(--wp--preset--color--brand-gold);
}

.room-booking__mark svg {
	width: 1.25rem;
	height: 1.25rem;
}

.room-booking__heading {
	margin-bottom: 0.25rem;
	font-size: 1rem;
	font-style: italic;
	color: var(--wp--preset--color--brand-gold-light);
}

.room-booking__banner p {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	line-height: 1.7;
	color: rgba(245, 240, 232, 0.7);
}

.room-booking__steps {
	display: flex;
	flex-direction: column;
	/* Source: space-y-12 between the numbered steps. */
	gap: 3rem;
	padding: 1.5rem;
	background: rgba(250, 246, 239, 0.3);
}

.room-step__title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid rgba(196, 163, 90, 0.1);
	font-size: 1.0625rem;
	font-weight: 700;
}

.room-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--brand-wood);
	color: var(--wp--preset--color--brand-cream);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	font-weight: 700;
}

.room-step__intro {
	margin-bottom: 1rem;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--wp--preset--color--brand-stone);
}

/* --- Bentral --------------------------------------------------------------
 *
 * Everything here is the box around the widget. The widget itself is a
 * cross-origin iframe: its typography and colours are the vendor's and cannot
 * be reached from this stylesheet, so the surround does the work of making it
 * belong — the white card, the gold hairline, the radius, the rhythm.
 *
 * The reserved heights are measured, not guessed: against the three real units
 * the booking form settles at 801-949px, the price list at 618-784px and the
 * calendar at 386px in this column. Reserving roughly that much cut layout
 * shift from 0.75 to 0.058 on mobile. bentral.js drops the reservation the
 * moment the vendor reports a real height, so a shorter widget leaves no gap.
 */
.bentral-slot {
	overflow: hidden;
	/* Source wraps each widget in a padded white card, not a bare frame. */
	padding: 1rem;
	border: 1px solid rgba(196, 163, 90, 0.2);
	border-radius: 1.5rem;
	background: #fff;
}

.bentral-slot--booking {
	min-height: 820px;
}

.bentral-slot--price-list {
	min-height: 660px;
}

.bentral-slot--calendar {
	min-height: 390px;
}

.bentral-slot iframe {
	display: block;
	width: 100%;
	border: 0;
}

/* The floor applies to the frame too, so an unsized frame fills the box. */
.bentral-slot:not(.is-sized) iframe {
	min-height: inherit;
}

/* Real height known: let the frame decide, and stop reserving. */
.bentral-slot.is-sized,
.bentral-slot.is-sized iframe {
	min-height: 0;
}

.bentral-slot[hidden] {
	display: none;
}

/* --- Fallback -------------------------------------------------------------- */

.bentral-fallback {
	padding: 1.5rem;
	border: 1px dashed rgba(196, 163, 90, 0.45);
	border-radius: 1.5rem;
	background: #fff;
}

.bentral-fallback[hidden] {
	display: none;
}

.bentral-fallback__inner {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
}

.bentral-fallback__icon svg {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.15em;
	color: var(--wp--preset--color--brand-gold);
}

.bentral-fallback__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bentral-fallback__title {
	font-size: 1rem;
	font-style: italic;
	color: var(--wp--preset--color--brand-wood);
}

.bentral-fallback p {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--wp--preset--color--brand-stone);
}

.bentral-fallback__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.room-booking__foot {
	padding: 1.5rem;
	border-top: 1px solid rgba(196, 163, 90, 0.15);
	background: var(--wp--preset--color--brand-wood-deep);
	text-align: center;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	line-height: 1.7;
	color: rgba(245, 240, 232, 0.8);
}

.room-booking__foot a {
	color: var(--wp--preset--color--brand-gold);
	font-weight: 700;
}

.room-booking__address {
	margin-top: 0.25rem;
	font-size: 0.625rem;
	color: rgba(245, 240, 232, 0.3);
}

@media (min-width: 768px) {
	.room-single__title {
		font-size: 2.25rem;
	}

	.room-booking__steps {
		padding: 2rem;
	}
}

@media (min-width: 1024px) {
	.room-single__grid {
		grid-template-columns: 7fr 5fr;
		gap: 4rem;
		align-items: start;
	}

	.room-single__main {
		position: sticky;
		top: 8rem;
	}
}

/*
 * The source sets this one note in small caps, unlike the sentence-case notes
 * elsewhere, because it sits directly under a display heading.
 */
.rooms-direct .panel__note {
	font-size: 0.6875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
