/**
 * Stepfox Hotel Booking — stay page components (handle `stepfox-hb-stay`, dep `stepfox-hb`).
 *
 * Blocks: stay-gallery (+ the shared lightbox), stay-header, stay-key-facts,
 * stay-details, stay-amenities (+ "Show all" dialog), stay-description,
 * stay-video, stay-policies, stay-nearby.
 *
 * Rules: every colour is a palette preset (`--wp--preset--color--<slug>`) with a
 * light "Getaway" fallback, so the theme's dark scheme flips everything; aliases
 * are declared on the component roots (not :root) so they resolve where the
 * theme sets the palette. White is reserved for text over photos; text on
 * terracotta fills uses the `base` preset. Availability / state is never colour
 * alone (icon + words). Motion respects prefers-reduced-motion. Logical
 * properties where cheap (RTL). Print stylesheet at the end.
 */

/* ------------------------------------------------------------------ */
/* 0. Local tokens                                                      */
/* ------------------------------------------------------------------ */

.sfhb-stay-gallery,
.sfhb-stay-header,
.sfhb-stay-key-facts,
.sfhb-stay-details,
.sfhb-stay-amenities,
.sfhb-stay-description,
.sfhb-stay-video,
.sfhb-stay-policies,
.sfhb-stay-nearby {
	--sfhb-p-base: var(--wp--preset--color--base, #f6f1e9);
	--sfhb-p-panel: var(--wp--preset--color--panel, #fffdf9);
	--sfhb-p-panel-2: var(--wp--preset--color--panel-2, #ece4d6);
	--sfhb-p-line: var(--wp--preset--color--line, rgba(15, 42, 48, 0.12));
	--sfhb-p-edge: var(--wp--preset--color--edge, rgba(15, 42, 48, 0.09));
	--sfhb-p-ink: var(--wp--preset--color--ink, #0f2a30);
	--sfhb-p-muted: var(--wp--preset--color--muted, #566669);
	--sfhb-p-accent: var(--wp--preset--color--accent, #b4492a);
	--sfhb-p-accent-2: var(--wp--preset--color--accent-2, #0b6c7e);
	--sfhb-p-neon: var(--wp--preset--color--neon, #2f7d57);
	--sfhb-p-dusk: var(--wp--preset--color--violet, #34456b);
	--sfhb-p-turf: var(--wp--preset--color--turf, #d9ebe8);
	--sfhb-p-gold: var(--wp--preset--color--gold, #a6760a);
	--sfhb-p-glass: var(--wp--preset--color--glass, rgba(255, 253, 249, 0.88));
	--sfhb-p-f-display: var(--wp--preset--font-family--display, "Fraunces", Georgia, "Times New Roman", serif);
	--sfhb-p-f-ui: var(--wp--preset--font-family--ui, "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif);
	--sfhb-p-f-body: var(--wp--preset--font-family--body, "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif);
	--sfhb-p-f-num: var(--wp--preset--font-family--num, var(--wp--preset--font-family--ui, "Figtree", system-ui, sans-serif));
	--sfhb-p-shadow-1: var(--wp--preset--shadow--depth-1, 0 1px 2px rgba(15, 42, 48, 0.06), 0 2px 6px rgba(15, 42, 48, 0.04));
	--sfhb-p-shadow-2: var(--wp--preset--shadow--depth-2, 0 2px 4px rgba(15, 42, 48, 0.05), 0 10px 28px rgba(15, 42, 48, 0.08));
	--sfhb-p-shadow-3: var(--wp--preset--shadow--depth-3, 0 6px 14px rgba(15, 42, 48, 0.08), 0 22px 48px rgba(15, 42, 48, 0.14));
	--sfhb-p-ring: 0 0 0 3px color-mix(in srgb, var(--sfhb-p-accent-2) 28%, transparent);
	--sfhb-p-r-card: var(--sfhb-radius-card, 16px);
	--sfhb-p-r-btn: var(--sfhb-radius-btn, 12px);
	--sfhb-p-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	box-sizing: border-box;
	color: var(--sfhb-p-ink);
}

.sfhb-stay-gallery *,
.sfhb-stay-header *,
.sfhb-stay-key-facts *,
.sfhb-stay-details *,
.sfhb-stay-amenities *,
.sfhb-stay-description *,
.sfhb-stay-video *,
.sfhb-stay-policies *,
.sfhb-stay-nearby *,
.sfhb-lb * {
	box-sizing: border-box;
}

/* Jump targets sit inside the block, under the section heading the templates
   print above it: clear the site header and that heading. */
.sfhb-anchor {
	display: block;
	position: relative;
	top: calc(-1 * (var(--sfhb-header-h, 72px) + var(--wp-admin--admin-bar--height, 0px) + 84px));
	visibility: hidden;
	height: 0;
	width: 0;
}

.sfhb-sr,
.sfhb-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sfhb-p-ico {
	display: inline-flex;
	flex: 0 0 auto;
	line-height: 0;
}

.sfhb-p-ico svg {
	display: block;
}

.sfhb-section-title {
	margin: 0 0 20px;
	font-family: var(--sfhb-p-f-display);
	font-weight: 500;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--sfhb-p-ink);
	font-optical-sizing: auto;
}

.sfhb-p-note {
	margin: 0;
	padding: 16px 18px;
	border: 1px dashed var(--sfhb-p-line);
	border-radius: var(--sfhb-p-r-card);
	color: var(--sfhb-p-muted);
	font: 500 14px/1.5 var(--sfhb-p-f-ui);
}

/* Shared buttons ---------------------------------------------------- */

.sfhb-p-btn {
	--_bg: var(--sfhb-p-panel);
	--_fg: var(--sfhb-p-ink);
	--_bd: var(--sfhb-p-line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid var(--_bd);
	border-radius: var(--sfhb-p-r-btn);
	background: var(--_bg);
	color: var(--_fg);
	font: 700 15px/1 var(--sfhb-p-f-ui);
	letter-spacing: 0.005em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--sfhb-p-ease), box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.sfhb-p-btn:hover {
	--_bd: color-mix(in srgb, var(--sfhb-p-ink) 28%, transparent);
	--_bg: var(--sfhb-p-panel-2);
	color: var(--_fg);
	text-decoration: none;
}

.sfhb-p-btn:active {
	transform: translateY(1px);
}

.sfhb-p-btn:focus-visible,
.sfhb-ph__action:focus-visible,
.sfhb-ph__rating:focus-visible,
.sfhb-ph__maplink:focus-visible,
.sfhb-gallery button:focus-visible,
.sfhb-gallery a:focus-visible,
.sfhb-tabs__tab:focus-visible,
.sfhb-embed__poster:focus-visible,
.sfhb-desc__toggle:focus-visible,
.sfhb-faq__item summary:focus-visible,
.sfhb-amen-dialog button:focus-visible,
.sfhb-lb button:focus-visible {
	outline: 2px solid var(--sfhb-p-accent-2, #0b6c7e);
	outline-offset: 2px;
	box-shadow: var(--sfhb-p-ring);
}

.sfhb-p-btn--primary {
	--_bg: var(--sfhb-accent-strong, var(--sfhb-p-accent));
	--_fg: var(--sfhb-p-base);
	--_bd: var(--sfhb-accent-strong, var(--sfhb-p-accent));
	box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--sfhb-p-accent) 70%, transparent);
}

.sfhb-p-btn--primary:hover {
	--_bg: color-mix(in srgb, var(--sfhb-accent-strong, var(--sfhb-p-accent)) 88%, var(--sfhb-p-ink));
	--_bd: var(--_bg);
	--_fg: var(--sfhb-p-base);
}

/* Links drawn as controls keep their own colour and decoration against theme
   and page-builder link rules (`.elementor a` is 0,1,1 and may load later). */
:is(.sfhb-stay-header, .sfhb-stay-video, .sfhb-stay-amenities, .sfhb-stay-policies) a.sfhb-p-btn {
	color: var(--_fg);
	text-decoration: none;
}

.sfhb-stay-gallery a.sfhb-gallery__chip,
.sfhb-stay-gallery a.sfhb-gallery__all {
	color: var(--sfhb-p-ink);
	text-decoration: none;
}

.sfhb-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--sfhb-p-panel-2);
	color: var(--sfhb-p-ink);
	font: 700 12.5px/1.35 var(--sfhb-p-f-ui);
	letter-spacing: 0.01em;
}

.sfhb-pill--ok {
	background: color-mix(in srgb, var(--sfhb-p-neon) 16%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-neon) 72%, var(--sfhb-p-ink));
}

/* ------------------------------------------------------------------ */
/* 1. Gallery                                                           */
/* ------------------------------------------------------------------ */

.sfhb-stay-gallery {
	position: relative;
}

.sfhb-gallery {
	position: relative;
	isolation: isolate;
}

.sfhb-gallery__tile {
	position: relative;
	display: block;
	overflow: hidden;
	min-width: 0;
	min-height: 0;
	background: var(--sfhb-p-panel-2);
	color: inherit;
	cursor: zoom-in;
}

.sfhb-gallery__tile img,
.sfhb-gallery__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--sfhb-p-ease), filter 0.4s ease;
}

.sfhb-gallery__tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(8, 20, 24, 0);
	transition: background-color 0.3s ease;
	pointer-events: none;
}

.sfhb-gallery__tile:hover img {
	transform: scale(1.035);
}

.sfhb-gallery__tile:hover::after {
	background: rgba(8, 20, 24, 0.08);
}

.sfhb-gallery__ph {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	min-height: 220px;
	color: var(--sfhb-p-muted);
	font: 600 14px/1.3 var(--sfhb-p-f-ui);
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--sfhb-p-accent-2) 12%, transparent), transparent 60%),
		var(--sfhb-p-panel-2);
}

/* Mosaic: 1 large + 4 ------------------------------------------------ */

.sfhb-gallery__mosaic {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 8px;
	aspect-ratio: 2.15 / 1;
	max-height: 600px;
	width: 100%;
	border-radius: var(--sfhb-p-r-card);
	overflow: hidden;
}

.sfhb-gallery__mosaic > .sfhb-gallery__tile:first-child {
	grid-row: 1 / span 2;
	grid-column: 1;
}

.sfhb-gallery__mosaic--n1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	aspect-ratio: 16 / 7;
}

.sfhb-gallery__mosaic--n1 > .sfhb-gallery__tile:first-child {
	grid-row: 1;
}

.sfhb-gallery__mosaic--n2 {
	grid-template-columns: 1.4fr 1fr;
}

.sfhb-gallery__mosaic--n2 > .sfhb-gallery__tile:nth-child(2) {
	grid-row: 1 / span 2;
}

.sfhb-gallery__mosaic--n3 {
	grid-template-columns: 2fr 1fr;
}

.sfhb-gallery__mosaic--n4 > .sfhb-gallery__tile:nth-child(2) {
	grid-column: 2 / span 2;
}

.sfhb-gallery__count,
.sfhb-gallery__all,
.sfhb-gallery__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid var(--sfhb-p-edge);
	border-radius: 999px;
	background: var(--sfhb-p-glass);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	color: var(--sfhb-p-ink);
	font: 700 14px/1 var(--sfhb-p-f-ui);
	text-decoration: none;
	box-shadow: var(--sfhb-p-shadow-2);
	cursor: pointer;
	transition: transform 0.2s var(--sfhb-p-ease), box-shadow 0.2s ease;
}

.sfhb-gallery__all:hover,
.sfhb-gallery__chip:hover {
	transform: translateY(-1px);
	box-shadow: var(--sfhb-p-shadow-3);
	color: var(--sfhb-p-ink);
	text-decoration: none;
}

.sfhb-gallery__chip[hidden],
.sfhb-gallery__nav[hidden] {
	display: none;
}

.sfhb-gallery__all {
	position: absolute;
	inset-inline-end: 16px;
	bottom: 16px;
	z-index: 2;
}

.sfhb-gallery__chips {
	position: absolute;
	inset-inline-start: 16px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sfhb-gallery__count {
	position: absolute;
	inset-inline-start: 12px;
	bottom: 12px;
	z-index: 2;
	gap: 0;
	height: 30px;
	padding: 0 12px;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
	display: none;
}

.sfhb-gallery__more {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	background: rgba(8, 20, 24, 0.52);
	color: #ffffff;
	font: 800 clamp(20px, 2.4vw, 30px)/1 var(--sfhb-p-f-num);
	letter-spacing: -0.01em;
}

/* Slider ------------------------------------------------------------ */

.sfhb-gallery--slider {
	border-radius: var(--sfhb-p-r-card);
	overflow: hidden;
	background: var(--sfhb-p-panel-2);
}

.sfhb-gallery__track {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.sfhb-gallery__track::-webkit-scrollbar {
	display: none;
}

.sfhb-gallery__track:focus-visible {
	outline: 2px solid var(--sfhb-p-accent-2);
	outline-offset: -4px;
}

.sfhb-gallery__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	aspect-ratio: 16 / 9;
	max-height: 680px;
	margin: 0;
}

.sfhb-gallery__slide .sfhb-gallery__tile {
	height: 100%;
}

.sfhb-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border: 1px solid var(--sfhb-p-edge);
	border-radius: 50%;
	background: var(--sfhb-p-glass);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: var(--sfhb-p-ink);
	box-shadow: var(--sfhb-p-shadow-2);
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s var(--sfhb-p-ease);
}

.sfhb-gallery__nav:hover {
	transform: scale(1.06);
}

.sfhb-gallery__nav:disabled {
	opacity: 0;
	pointer-events: none;
}

.sfhb-gallery__nav--prev {
	inset-inline-start: 16px;
}

.sfhb-gallery__nav--next {
	inset-inline-end: 16px;
}

.sfhb-gallery--slider .sfhb-gallery__count {
	display: inline-flex;
	inset-inline-start: 16px;
	bottom: 16px;
	height: 34px;
}

/* Slider: the media chips sit above the counter. */
.sfhb-gallery--slider .sfhb-gallery__chips {
	bottom: 60px;
}

/* Grid -------------------------------------------------------------- */

.sfhb-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.sfhb-gallery__grid .sfhb-gallery__tile {
	aspect-ratio: 4 / 3;
	border-radius: 12px;
}

/* Lead tile fills the first row so the grid never ends with a hole:
   n % 3 == 1 → full-width lead, n % 3 == 2 → two-column lead. */
.sfhb-gallery__grid--m1 > .sfhb-gallery__tile:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 12 / 5;
}

.sfhb-gallery__grid--m2 > .sfhb-gallery__tile:first-child {
	grid-column: span 2;
	aspect-ratio: auto;
}

.sfhb-gallery--grid .sfhb-gallery__all {
	position: static;
	margin-top: 12px;
	box-shadow: none;
	background: var(--sfhb-p-panel);
	border-color: var(--sfhb-p-line);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.sfhb-gallery--grid .sfhb-gallery__chips {
	position: static;
	margin-top: 12px;
}

@media (max-width: 781px) {
	/* Phone: the mosaic becomes a swipeable, edge-to-edge strip with a counter. */
	.sfhb-gallery__mosaic {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		aspect-ratio: auto;
		max-height: none;
		gap: 0;
	}

	.sfhb-gallery__mosaic::-webkit-scrollbar {
		display: none;
	}

	.sfhb-gallery__mosaic > .sfhb-gallery__tile {
		flex: 0 0 100%;
		aspect-ratio: 4 / 3;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.sfhb-gallery--mosaic .sfhb-gallery__count {
		display: inline-flex;
	}

	.sfhb-gallery__all {
		inset-inline-end: 12px;
		bottom: 12px;
		height: 34px;
		padding: 0 12px;
		font-size: 13px;
	}

	.sfhb-gallery__all-label {
		display: none;
	}

	/* The media chips ride on the top edge of the photo on phones. */
	.sfhb-gallery__chips,
	.sfhb-gallery--slider .sfhb-gallery__chips {
		inset-inline-start: 12px;
		top: 12px;
		bottom: auto;
	}

	.sfhb-gallery--grid .sfhb-gallery__chips {
		position: static;
	}

	.sfhb-gallery__chip {
		height: 34px;
		padding: 0 12px;
		font-size: 13px;
	}

	.sfhb-gallery__nav {
		width: 40px;
		height: 40px;
		margin-top: -20px;
	}

	.sfhb-gallery__slide {
		aspect-ratio: 4 / 3;
	}

	.sfhb-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sfhb-gallery__grid > .sfhb-gallery__tile:first-child {
		grid-column: auto;
		aspect-ratio: 4 / 3;
	}

	.sfhb-gallery__grid--odd > .sfhb-gallery__tile:first-child {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 9;
	}
}

@media (min-width: 782px) {
	.sfhb-gallery__all-short {
		display: none;
	}

	/* Extra photos only exist for the phone strip. */
	.sfhb-gallery__mosaic > .sfhb-gallery__tile--extra {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* 2. Lightbox (always dark — it's a photo viewer)                      */
/* ------------------------------------------------------------------ */

html.sfhb-lb-open,
html.sfhb-lb-open body,
html.sfhb-dlg-open,
html.sfhb-dlg-open body {
	overflow: hidden;
}

.sfhb-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	background: #081418;
	color: #ffffff;
	opacity: 0;
	transition: opacity 0.22s ease;
	font-family: var(--wp--preset--font-family--ui, "Figtree", system-ui, sans-serif);
	outline: none;
}

.sfhb-lb[hidden] {
	display: none;
}

.sfhb-lb.is-open {
	opacity: 1;
}

.sfhb-lb__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	padding-top: max(12px, env(safe-area-inset-top));
}

.sfhb-lb__counter {
	margin: 0;
	min-width: 64px;
	font: 700 14px/1 var(--wp--preset--font-family--num, var(--wp--preset--font-family--ui, system-ui));
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.sfhb-lb__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.sfhb-lb__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.sfhb-lb__btn:hover {
	background: rgba(255, 255, 255, 0.18);
}

.sfhb-lb__btn:focus-visible,
.sfhb-lb__tab:focus-visible,
.sfhb-lb__thumb:focus-visible {
	outline: 2px solid #7fd8e4;
	outline-offset: 2px;
}

/* Photos | Video | 360° tour */
.sfhb-lb__tabs {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.09);
}

.sfhb-lb__tabs[hidden] {
	display: none;
}

.sfhb-lb__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.78);
	font: 700 14px/1 var(--wp--preset--font-family--ui, system-ui, sans-serif);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sfhb-lb__tab:hover {
	color: #ffffff;
}

.sfhb-lb__tab[aria-selected="true"] {
	background: #ffffff;
	color: #081418;
}

.sfhb-lb__tab-n {
	font-variant-numeric: tabular-nums;
	opacity: 0.7;
}

.sfhb-lb__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0 84px;
	touch-action: pan-y pinch-zoom;
	-webkit-user-select: none;
	user-select: none;
}

.sfhb-lb__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	min-height: 0;
	pointer-events: none;
}

.sfhb-lb__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 200px);
	max-height: calc(100dvh - 200px);
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	transition: opacity 0.25s ease, transform 0.3s var(--sfhb-p-ease, ease);
	pointer-events: auto;
	-webkit-user-drag: none;
}

.sfhb-lb.is-loading .sfhb-lb__img {
	opacity: 0.35;
}

.sfhb-lb__caption {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	text-align: center;
	max-width: 70ch;
}

.sfhb-lb__caption[hidden] {
	display: none;
}

.sfhb-lb__spinner {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 3px solid rgba(255, 255, 255, 0.18);
	border-top-color: #ffffff;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	animation: sfhb-spin 0.8s linear infinite;
	transition: opacity 0.2s ease;
}

.sfhb-lb.is-loading .sfhb-lb__spinner {
	opacity: 1;
}

.sfhb-lb__nav {
	position: absolute;
	top: 50%;
	width: 54px;
	height: 54px;
	margin-top: -27px;
}

.sfhb-lb__nav[hidden] {
	display: none;
}

.sfhb-lb__nav--prev {
	inset-inline-start: 16px;
}

.sfhb-lb__nav--next {
	inset-inline-end: 16px;
}

/* RTL: the arrows keep pointing the way the photo moves. */
.sfhb-lb__nav svg {
	transition: transform 0.2s ease;
}

[dir="rtl"] .sfhb-lb__nav svg {
	transform: scaleX(-1);
}

/* Video / 360° pane */
.sfhb-lb__embed {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.sfhb-lb__embed[hidden] {
	display: none;
}

.sfhb-lb__frame,
.sfhb-lb__video {
	display: block;
	width: min(100%, calc((100vh - 170px) * 1.7778));
	width: min(100%, calc((100dvh - 170px) * 1.7778));
	aspect-ratio: 16 / 9;
	max-height: 100%;
	border: 0;
	border-radius: 8px;
	background: #000000;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.sfhb-lb.is-media .sfhb-lb__figure,
.sfhb-lb.is-media .sfhb-lb__nav,
.sfhb-lb.is-media .sfhb-lb__spinner {
	display: none;
}

.sfhb-lb__thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 12px 16px 16px;
	padding-bottom: max(16px, env(safe-area-inset-bottom));
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.sfhb-lb__thumbs[hidden] {
	display: none;
}

.sfhb-lb__thumb {
	flex: 0 0 auto;
	width: 76px;
	height: 56px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	opacity: 0.5;
	cursor: pointer;
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.sfhb-lb__thumb:first-child {
	margin-inline-start: auto;
}

.sfhb-lb__thumb:last-child {
	margin-inline-end: auto;
}

.sfhb-lb__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sfhb-lb__thumb:hover {
	opacity: 0.85;
}

.sfhb-lb__thumb[aria-current="true"] {
	opacity: 1;
	box-shadow: 0 0 0 2px #ffffff;
}

@media (max-width: 781px) {
	.sfhb-lb__stage {
		padding: 0;
	}

	.sfhb-lb__img {
		border-radius: 0;
		max-height: calc(100dvh - 170px);
	}

	.sfhb-lb__nav {
		display: none;
	}

	.sfhb-lb__thumb {
		width: 60px;
		height: 44px;
	}

	/* Phones: counter + tabs + close; the title would not fit. */
	.sfhb-lb__title {
		display: none;
	}

	.sfhb-lb__bar {
		gap: 10px;
	}

	.sfhb-lb__counter {
		min-width: 0;
		flex: 1 1 auto;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.sfhb-lb__tab {
		padding: 0 12px;
	}

	.sfhb-lb__frame,
	.sfhb-lb__video {
		width: 100%;
		border-radius: 0;
	}
}

@keyframes sfhb-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ------------------------------------------------------------------ */
/* 3. Header                                                            */
/* ------------------------------------------------------------------ */

.sfhb-stay-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

/* Font-swap stable header. On a slow phone the page paints with the metric
   fallback fonts and Fraunces / Figtree arrive later. Anything that WRAPS
   (a crumb, the actions row) could then land on another line, jumping a whole
   row sideways. So the header keeps every row's line count independent of
   the font: the breadcrumb is one scrollable line and the action pills sit
   beside it (desktop) or on their own row (below 1024px). */
.sfhb-ph__nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	min-width: 0;
}

.sfhb-breadcrumb {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
}

.sfhb-breadcrumb ol {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px 8px;
	/* The 4px padding keeps focus rings inside the scroll clip. */
	margin: -4px;
	padding: 4px;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	list-style: none;
	font: 600 13px/1.4 var(--sfhb-p-f-ui, var(--wp--preset--font-family--ui, system-ui, sans-serif));
	color: var(--sfhb-p-muted, var(--wp--preset--color--muted, #566669));
}

.sfhb-breadcrumb ol::-webkit-scrollbar {
	display: none;
}

.sfhb-breadcrumb li {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	margin: 0;
	white-space: nowrap;
}

/* A trail longer than the row fades out at the edge it continues past
   (scroll-driven; no fade when it fits or where unsupported). */
@property --sfhb-bc-start {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

@property --sfhb-bc-end {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

@keyframes sfhb-bc-fade {
	0% {
		--sfhb-bc-start: 0px;
		--sfhb-bc-end: 28px;
	}

	12%,
	88% {
		--sfhb-bc-start: 28px;
		--sfhb-bc-end: 28px;
	}

	100% {
		--sfhb-bc-start: 28px;
		--sfhb-bc-end: 0px;
	}
}

@supports (animation-timeline: scroll()) {
	.sfhb-breadcrumb ol {
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--sfhb-bc-start), #000 calc(100% - var(--sfhb-bc-end)), transparent 100%);
		mask-image: linear-gradient(to right, transparent 0, #000 var(--sfhb-bc-start), #000 calc(100% - var(--sfhb-bc-end)), transparent 100%);
		animation: sfhb-bc-fade linear both;
		animation-timeline: scroll(self inline);
	}

	.sfhb-breadcrumb ol:dir(rtl) {
		-webkit-mask-image: linear-gradient(to left, transparent 0, #000 var(--sfhb-bc-start), #000 calc(100% - var(--sfhb-bc-end)), transparent 100%);
		mask-image: linear-gradient(to left, transparent 0, #000 var(--sfhb-bc-start), #000 calc(100% - var(--sfhb-bc-end)), transparent 100%);
	}
}

.sfhb-breadcrumb a {
	color: var(--sfhb-p-muted, var(--wp--preset--color--muted, #566669));
	text-decoration: none;
	transition: color 0.2s ease;
}

.sfhb-breadcrumb a:hover {
	color: var(--sfhb-p-ink, var(--wp--preset--color--ink, #0f2a30));
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sfhb-breadcrumb [aria-current="page"] {
	color: var(--sfhb-p-ink, var(--wp--preset--color--ink, #0f2a30));
}

.sfhb-breadcrumb__sep {
	color: color-mix(in srgb, var(--sfhb-p-muted, #566669) 60%, transparent);
	font-weight: 400;
}

[dir="rtl"] .sfhb-breadcrumb__sep {
	display: inline-block;
	transform: scaleX(-1);
}

.sfhb-ph__actions {
	display: flex;
	flex: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-inline-start: auto;
}

.sfhb-ph__action,
.sfhb-share > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--sfhb-p-line);
	border-radius: 999px;
	background: var(--sfhb-p-panel);
	color: var(--sfhb-p-ink);
	font: 700 14px/1 var(--sfhb-p-f-ui);
	text-decoration: none;
	cursor: pointer;
	list-style: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--sfhb-p-ease);
	-webkit-tap-highlight-color: transparent;
}

.sfhb-share > summary::-webkit-details-marker {
	display: none;
}

.sfhb-ph__action:hover,
.sfhb-share > summary:hover {
	border-color: color-mix(in srgb, var(--sfhb-p-ink) 30%, transparent);
	background: var(--sfhb-p-panel-2);
	color: var(--sfhb-p-ink);
	text-decoration: none;
}

.sfhb-share > summary:focus-visible {
	outline: 2px solid var(--sfhb-p-accent-2);
	outline-offset: 2px;
}

[data-sfhb-fav] .sfhb-ico-on {
	display: none;
}

[data-sfhb-fav][aria-pressed="true"] .sfhb-ico-on,
[data-sfhb-fav].is-active .sfhb-ico-on,
[data-sfhb-fav].is-saved .sfhb-ico-on {
	display: inline-flex;
	color: var(--sfhb-p-accent);
}

[data-sfhb-fav][aria-pressed="true"] .sfhb-ico-off,
[data-sfhb-fav].is-active .sfhb-ico-off,
[data-sfhb-fav].is-saved .sfhb-ico-off {
	display: none;
}

.sfhb-ph__action--fav[aria-pressed="true"],
.sfhb-ph__action--fav.is-active {
	border-color: color-mix(in srgb, var(--sfhb-p-accent) 45%, transparent);
	background: color-mix(in srgb, var(--sfhb-p-accent) 9%, var(--sfhb-p-panel));
}

.sfhb-ph__action--cmp[aria-pressed="true"],
.sfhb-ph__action--cmp.is-active {
	border-color: color-mix(in srgb, var(--sfhb-p-accent-2) 45%, transparent);
	background: color-mix(in srgb, var(--sfhb-p-accent-2) 9%, var(--sfhb-p-panel));
	color: var(--sfhb-p-accent-2);
}

.sfhb-share {
	position: relative;
}

.sfhb-share__menu {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 8px);
	z-index: 30;
	display: grid;
	gap: 2px;
	min-width: 220px;
	padding: 6px;
	border: 1px solid var(--sfhb-p-line);
	border-radius: 14px;
	background: var(--sfhb-p-panel);
	box-shadow: var(--sfhb-p-shadow-3);
	animation: sfhb-pop 0.18s var(--sfhb-p-ease);
}

.sfhb-share__item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--sfhb-p-ink);
	font: 600 14px/1.2 var(--sfhb-p-f-ui);
	text-align: start;
	text-decoration: none;
	cursor: pointer;
}

.sfhb-share__item:hover,
.sfhb-share__item:focus-visible {
	background: var(--sfhb-p-panel-2);
	color: var(--sfhb-p-ink);
	text-decoration: none;
	outline: none;
}

.sfhb-share__item.is-done {
	color: var(--sfhb-p-accent-2);
}

.sfhb-share__item[hidden] {
	display: none;
}

@keyframes sfhb-pop {
	from {
		opacity: 0;
		transform: translateY(-4px) scale(0.98);
	}
}

.sfhb-ph__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 20px 48px;
}

.sfhb-ph__top:not(:has(.sfhb-ph__aside)) {
	grid-template-columns: minmax(0, 1fr);
}

/* Chips: editorial label, offer, free cancellation, instant book, vibes. */
.sfhb-ph__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.sfhb-ph__chips > li {
	margin: 0;
	min-width: 0;
	max-width: 100%;
}

.sfhb-ph__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 30px;
	padding: 0 13px;
	border: 1px solid var(--sfhb-p-line);
	border-radius: 999px;
	background: var(--sfhb-p-panel);
	color: var(--sfhb-p-ink);
	font: 700 12.5px/1 var(--sfhb-p-f-ui);
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
	max-width: 100%;
}

.sfhb-ph__chip > .sfhb-p-ico {
	flex: 0 0 auto;
}

a.sfhb-ph__chip {
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

a.sfhb-ph__chip:hover {
	background: var(--sfhb-p-panel-2);
	border-color: color-mix(in srgb, var(--sfhb-p-ink) 28%, transparent);
	color: var(--sfhb-p-ink);
	text-decoration: none;
}

.sfhb-ph__chip--label {
	border-color: transparent;
	background: color-mix(in srgb, var(--sfhb-p-gold) 17%, var(--sfhb-p-panel));
	color: var(--sfhb-p-ink);
}

.sfhb-ph__chip--label .sfhb-p-ico {
	color: var(--sfhb-p-gold);
}

.sfhb-ph__chip--new {
	border-color: transparent;
	background: var(--sfhb-p-turf);
	color: var(--sfhb-p-ink);
}

.sfhb-ph__chip--offer {
	/* Long offer copy wraps inside the viewport instead of widening the page. */
	height: auto;
	min-height: 30px;
	padding-block: 7px;
	line-height: 1.3;
	white-space: normal;
	overflow-wrap: anywhere;
	border-color: transparent;
	background: color-mix(in srgb, var(--sfhb-p-accent) 13%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-accent) 80%, var(--sfhb-p-ink));
}

.sfhb-ph__chip--free {
	border-color: transparent;
	background: color-mix(in srgb, var(--sfhb-p-neon) 15%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-neon) 70%, var(--sfhb-p-ink));
}

.sfhb-ph__chip--instant {
	border-color: transparent;
	background: color-mix(in srgb, var(--sfhb-p-accent-2) 12%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-accent-2) 80%, var(--sfhb-p-ink));
}

.sfhb-ph__title {
	margin: 0;
	font-family: var(--sfhb-p-f-display);
	font-weight: 500;
	font-size: clamp(32px, 3.8vw, 56px);
	line-height: 1.04;
	letter-spacing: -0.022em;
	color: var(--sfhb-p-ink);
	font-optical-sizing: auto;
	text-wrap: balance;
}

.sfhb-ph__at {
	margin: 8px 0 0;
	font: 500 17px/1.4 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-muted);
}

.sfhb-ph__at a {
	color: var(--sfhb-p-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: color-mix(in srgb, var(--sfhb-p-accent) 60%, transparent);
}

/* Class stars · type · rating pill */
.sfhb-ph__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 16px;
}

.sfhb-ph__class {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	font: 600 15px/1.3 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-ink);
}

.sfhb-ph__stars {
	display: inline-flex;
	gap: 2px;
	color: var(--sfhb-p-gold);
}

.sfhb-ph__type a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--sfhb-p-ink) 28%, transparent);
}

.sfhb-ph__type a:hover {
	border-bottom-color: var(--sfhb-p-accent);
}

.sfhb-star {
	display: block;
}

.sfhb-ph__rating {
	display: inline-flex;
	align-items: center;
	gap: 8px 10px;
	min-height: 38px;
	padding: 4px 14px 4px 10px;
	border: 1px solid var(--sfhb-p-line);
	border-radius: 999px;
	background: var(--sfhb-p-panel);
	color: var(--sfhb-p-ink);
	font: 600 14px/1.2 var(--sfhb-p-f-ui);
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

a.sfhb-ph__rating:hover {
	border-color: color-mix(in srgb, var(--sfhb-p-ink) 30%, transparent);
	background: var(--sfhb-p-panel-2);
	color: var(--sfhb-p-ink);
	text-decoration: none;
}

a.sfhb-ph__rating:hover .sfhb-ph__count {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sfhb-ph__score {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--sfhb-p-gold);
}

.sfhb-ph__score strong {
	color: var(--sfhb-p-ink);
	font: 800 16px/1 var(--sfhb-p-f-num);
	font-variant-numeric: tabular-nums;
}

.sfhb-ph__band {
	font-weight: 800;
}

.sfhb-ph__count {
	color: var(--sfhb-p-muted);
	font-weight: 600;
}

.sfhb-ph__rating--new {
	padding-inline: 12px;
	background: var(--sfhb-p-turf);
	border-color: transparent;
	color: var(--sfhb-p-ink);
	gap: 7px;
}

/* Location + reference: never wrap into each other. */
.sfhb-ph__address {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 16px;
	margin: 14px 0 0;
	font: 500 15px/1.5 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-muted);
}

.sfhb-ph__address-main {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
	color: var(--sfhb-p-ink);
}

.sfhb-ph__address-text {
	min-width: 0;
	overflow-wrap: break-word;
}

/* The pin sits on the first line however many lines the address takes. */
.sfhb-ph__address-main .sfhb-p-ico {
	align-self: flex-start;
	align-items: center;
	height: 1.5em;
	height: 1lh;
	color: var(--sfhb-p-accent);
}

.sfhb-ph__maplink {
	color: var(--sfhb-p-ink);
	font-weight: 700;
	font-size: 14px;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
	text-decoration-color: var(--sfhb-p-accent);
}

.sfhb-ph__maplink:hover {
	color: var(--sfhb-p-accent);
}

.sfhb-ph__maplink[hidden] {
	display: none;
}

.sfhb-ph__code {
	flex: none;
	font-size: 13px;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

/* Host mini */
.sfhb-ph__aside {
	display: grid;
	justify-items: end;
}

.sfhb-ph__host {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px 10px 10px;
	border: 1px solid var(--sfhb-p-line);
	border-radius: 999px;
	background: var(--sfhb-p-panel);
}

.sfhb-ph__host-avatar {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--sfhb-p-turf);
	color: var(--sfhb-p-ink);
	font: 600 20px/1 var(--sfhb-p-f-display);
}

.sfhb-ph__host-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sfhb-ph__host-text {
	display: grid;
	gap: 2px;
	margin: 0;
	font: 500 14px/1.3 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-muted);
}

.sfhb-ph__host-name {
	color: var(--sfhb-p-ink);
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
}

a.sfhb-ph__host-name:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sfhb-ph__host-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 10px;
	font-size: 13px;
}

.sfhb-ph__super {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: color-mix(in srgb, var(--sfhb-p-accent) 78%, var(--sfhb-p-ink));
	font-weight: 700;
}

@media (max-width: 781px) {
	.sfhb-ph__top {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.sfhb-ph__aside {
		justify-items: start;
	}
}

/* Below desktop the trail and the action pills always take a row each. */
@media (max-width: 1023px) {
	.sfhb-ph__nav {
		flex-direction: column;
		align-items: flex-start;
	}

	.sfhb-ph__actions {
		margin-inline-start: 0;
	}

	/* The pills start at the left edge here, so the menu opens inwards. */
	.sfhb-share__menu {
		inset-inline-end: auto;
		inset-inline-start: 0;
	}
}

@media (max-width: 600px) {
	.sfhb-ph__action,
	.sfhb-share > summary {
		width: 40px;
		padding: 0;
		justify-content: center;
	}

	.sfhb-ph__action-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.sfhb-ph__rating {
		white-space: normal;
		flex-wrap: wrap;
	}

	.sfhb-ph__code {
		flex-basis: 100%;
	}
}

/* ------------------------------------------------------------------ */
/* 4. Key facts                                                         */
/* ------------------------------------------------------------------ */

.sfhb-stay-key-facts {
	container: sfhb-kf / inline-size;
}

.sfhb-key-facts {
	--sfhb-kf-cols: 2;
	display: grid;
	grid-template-columns: repeat(var(--sfhb-kf-cols), minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfhb-kf {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"icon value"
		"icon label";
	align-items: center;
	column-gap: 12px;
	row-gap: 1px;
	min-width: 0;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--sfhb-p-line);
	border-radius: var(--sfhb-p-r-card);
	background: var(--sfhb-p-panel);
}

.sfhb-kf__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--sfhb-p-turf);
	color: var(--sfhb-p-accent-2);
}

.sfhb-kf__value {
	grid-area: value;
	align-self: end;
	min-width: 0;
	overflow-wrap: anywhere;
	font: 800 17px/1.2 var(--sfhb-p-f-num);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.005em;
	color: var(--sfhb-p-ink);
}

.sfhb-kf__label {
	grid-area: label;
	align-self: start;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-width: 0;
	overflow: hidden;
	overflow-wrap: anywhere;
	font: 600 13px/1.3 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-muted);
}

/* Cancellation + confirmation read as pills (words, not colour alone). */
.sfhb-kf--pill .sfhb-kf__value {
	justify-self: start;
	overflow-wrap: normal;
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--sfhb-p-panel-2);
	font-size: 14px;
}

.sfhb-kf--pill--ok .sfhb-kf__value {
	background: color-mix(in srgb, var(--sfhb-p-neon) 16%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-neon) 72%, var(--sfhb-p-ink));
}

.sfhb-kf--pill--ok .sfhb-kf__icon {
	background: color-mix(in srgb, var(--sfhb-p-neon) 16%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-neon) 72%, var(--sfhb-p-ink));
}

/* Column count follows the block's own width (main column, sidebar, editor)
   and the number of facts, so rows are filled evenly. */
.sfhb-key-facts--n1 {
	--sfhb-kf-cols: 1;
}

@container sfhb-kf (min-width: 520px) {
	.sfhb-key-facts--n3,
	.sfhb-key-facts--n5,
	.sfhb-key-facts--n6,
	.sfhb-key-facts--n9 {
		--sfhb-kf-cols: 3;
	}

	.sfhb-key-facts--n4,
	.sfhb-key-facts--n7,
	.sfhb-key-facts--n8,
	.sfhb-key-facts--n10,
	.sfhb-key-facts--n11,
	.sfhb-key-facts--n12 {
		--sfhb-kf-cols: 4;
	}
}

@container sfhb-kf (min-width: 900px) {
	.sfhb-key-facts--n5,
	.sfhb-key-facts--n10 {
		--sfhb-kf-cols: 5;
	}
}

@container sfhb-kf (max-width: 519px) {
	/* Pills (cancellation, confirmation) take a full row: their words never break mid-word. */
	.sfhb-kf--pill {
		grid-column: 1 / -1;
	}
}

@container sfhb-kf (max-width: 419px) {
	.sfhb-kf {
		padding: 12px;
		column-gap: 10px;
	}

	.sfhb-kf__icon {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}

	.sfhb-kf__value {
		font-size: 15px;
	}
}

/* ------------------------------------------------------------------ */
/* 5. Details tables                                                    */
/* ------------------------------------------------------------------ */

/* Two balanced columns, groups flowing masonry-style (no aligned-row voids). */
.sfhb-details {
	columns: 2 340px;
	column-gap: 48px;
}

.sfhb-details__group {
	break-inside: avoid;
	margin: 0 0 28px;
}

.sfhb-details__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--sfhb-p-ink);
	font: 800 12.5px/1.2 var(--sfhb-p-f-ui);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sfhb-p-ink);
}

.sfhb-details__title .sfhb-p-ico {
	color: var(--sfhb-p-accent);
}

.sfhb-dl {
	margin: 0;
}

.sfhb-dl__row {
	display: grid;
	grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
	gap: 4px 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--sfhb-p-line);
	font: 500 15px/1.45 var(--sfhb-p-f-ui);
}

.sfhb-dl__row dt {
	margin: 0;
	color: var(--sfhb-p-muted);
	font-weight: 600;
}

.sfhb-dl__row dd {
	margin: 0;
	color: var(--sfhb-p-ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.sfhb-dl__row dd a {
	color: var(--sfhb-p-ink);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--sfhb-p-accent) 60%, transparent);
	text-underline-offset: 3px;
}

/* Phones: the first group, then "Show all details (N)" (screen only: print shows all). */
@media (max-width: 781px) {
	.sfhb-details {
		columns: 1;
	}

	.sfhb-details-wrap.is-collapsed .sfhb-details {
		max-height: 25em;
		overflow: hidden;
		-webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
	}

	.sfhb-dl__row {
		grid-template-columns: minmax(96px, 42%) minmax(0, 1fr);
	}
}

@media (min-width: 782px) {
	.sfhb-details-wrap .sfhb-details__toggle {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* 6. Amenities                                                         */
/* ------------------------------------------------------------------ */

.sfhb-features {
	display: grid;
	grid-template-columns: repeat(var(--sfhb-cols, 2), minmax(0, 1fr));
	gap: 0 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfhb-feature {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	margin: 0;
	padding: 13px 0;
	border-bottom: 1px solid var(--sfhb-p-line);
	font: 500 16px/1.35 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-ink);
}

.sfhb-feature__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: var(--sfhb-p-turf);
	color: var(--sfhb-p-accent-2);
}

.sfhb-feature__name {
	min-width: 0;
	overflow-wrap: anywhere;
}

.sfhb-amen__groups {
	display: grid;
	gap: 30px;
}

.sfhb-amen__group-title {
	margin: 0 0 4px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--sfhb-p-ink);
	font: 800 12.5px/1.2 var(--sfhb-p-f-ui);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sfhb-p-ink);
}

.sfhb-amen__more {
	margin-top: 22px;
}

.sfhb-amen__more[hidden] {
	display: none;
}

/* "Show all N amenities" — native <dialog>, class-based fallback */
.sfhb-amen-dialog {
	width: min(760px, calc(100vw - 24px));
	max-width: none;
	max-height: min(88vh, 820px);
	max-height: min(88dvh, 820px);
	margin: auto;
	padding: 0;
	border: 1px solid var(--sfhb-p-line);
	border-radius: 22px;
	background: var(--sfhb-p-panel);
	color: var(--sfhb-p-ink);
	box-shadow: var(--sfhb-p-shadow-3);
	overflow: hidden;
}

.sfhb-amen-dialog[open] {
	display: flex;
	flex-direction: column;
	animation: sfhb-dlg-in 0.24s var(--sfhb-p-ease);
}

.sfhb-amen-dialog::backdrop {
	background: rgba(8, 20, 24, 0.58);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.sfhb-amen-dialog.is-fallback {
	position: fixed;
	inset: 0;
	z-index: 100001;
	height: fit-content;
	box-shadow: 0 0 0 100vmax rgba(8, 20, 24, 0.58), var(--sfhb-p-shadow-3);
}

.sfhb-amen-dialog__panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	max-height: inherit;
}

.sfhb-amen-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px 14px 26px;
	border-bottom: 1px solid var(--sfhb-p-line);
}

.sfhb-amen-dialog__title {
	margin: 0;
	font: 500 clamp(20px, 2.4vw, 26px)/1.2 var(--sfhb-p-f-display);
	letter-spacing: -0.012em;
	color: var(--sfhb-p-ink);
}

.sfhb-amen-dialog__close {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--sfhb-p-line);
	border-radius: 50%;
	background: var(--sfhb-p-panel);
	color: var(--sfhb-p-ink);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.sfhb-amen-dialog__close:hover {
	background: var(--sfhb-p-panel-2);
}

.sfhb-amen-dialog__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px 26px 26px;
}

.sfhb-amen-dialog__body:focus-visible {
	outline: 2px solid var(--sfhb-p-accent-2);
	outline-offset: -4px;
}

.sfhb-amen-dialog__body .sfhb-amen__group {
	margin-top: 24px;
}

.sfhb-amen-dialog__body .sfhb-features {
	gap: 0 32px;
}

@media (max-width: 781px) {
	.sfhb-features {
		grid-template-columns: minmax(0, 1fr);
	}

	.sfhb-amen-dialog {
		width: 100vw;
		max-height: 92vh;
		max-height: 92dvh;
		margin: auto 0 0;
		border-radius: 22px 22px 0 0;
	}

	.sfhb-amen-dialog.is-fallback {
		inset: auto 0 0;
	}

	.sfhb-amen-dialog__body .sfhb-features {
		grid-template-columns: minmax(0, 1fr);
	}

	.sfhb-amen-dialog__head {
		padding-inline-start: 20px;
	}

	.sfhb-amen-dialog__body {
		padding-inline: 20px;
	}
}

@keyframes sfhb-dlg-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.985);
	}
}

/* ------------------------------------------------------------------ */
/* 7. Description                                                       */
/* ------------------------------------------------------------------ */

.sfhb-desc__body {
	max-width: 72ch;
	font: 400 17px/1.75 var(--sfhb-p-f-body);
	color: var(--sfhb-p-ink);
}

.sfhb-desc__body > :first-child {
	margin-top: 0;
}

.sfhb-desc__body > :last-child {
	margin-bottom: 0;
}

.sfhb-desc__body p {
	margin: 0 0 1.1em;
}

.sfhb-desc__body > p:first-child {
	font-family: var(--sfhb-p-f-display);
	font-size: 1.22em;
	line-height: 1.55;
	letter-spacing: -0.005em;
	color: var(--sfhb-p-ink);
}

.sfhb-desc__body h2,
.sfhb-desc__body h3 {
	margin: 1.6em 0 0.6em;
	font-family: var(--sfhb-p-f-display);
	font-weight: 500;
	line-height: 1.2;
}

.sfhb-desc__body a {
	color: var(--sfhb-p-accent-2);
}

.sfhb-desc.is-collapsed .sfhb-desc__body {
	max-height: 17em;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.sfhb-desc__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--sfhb-p-ink);
	font: 800 15px/1.2 var(--sfhb-p-f-ui);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
	text-decoration-color: var(--sfhb-p-accent);
	cursor: pointer;
}

.sfhb-desc__toggle[hidden] {
	display: none;
}

.sfhb-desc__toggle .sfhb-p-ico {
	transition: transform 0.25s var(--sfhb-p-ease);
}

.sfhb-desc__toggle[aria-expanded="true"] .sfhb-p-ico {
	transform: rotate(180deg);
}

/* ------------------------------------------------------------------ */
/* 8. Tabs + video / 360° tour                                          */
/* ------------------------------------------------------------------ */

.sfhb-tabs__list {
	display: inline-flex;
	gap: 4px;
	max-width: 100%;
	margin: 0 0 18px;
	padding: 4px;
	border-radius: 999px;
	background: var(--sfhb-p-panel-2);
	overflow-x: auto;
	scrollbar-width: none;
}

.sfhb-tabs__list::-webkit-scrollbar {
	display: none;
}

.sfhb-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: color-mix(in srgb, var(--sfhb-p-muted) 70%, var(--sfhb-p-ink));
	font: 700 14px/1 var(--sfhb-p-f-ui);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sfhb-tabs__tab:hover {
	color: var(--sfhb-p-ink);
}

.sfhb-tabs__tab[aria-selected="true"] {
	background: var(--sfhb-p-panel);
	color: var(--sfhb-p-ink);
	box-shadow: var(--sfhb-p-shadow-1);
}

.sfhb-tabs__panel[hidden] {
	display: none;
}

.sfhb-tabs__panel-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.sfhb-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--sfhb-p-r-card);
	overflow: hidden;
	background: #081418;
	color: #ffffff;
}

.sfhb-embed__poster {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #081418;
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
}

.sfhb-embed__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.72) saturate(1.05);
	transition: transform 0.8s var(--sfhb-p-ease), filter 0.4s ease;
}

.sfhb-embed__poster:hover img {
	transform: scale(1.03);
	filter: brightness(0.62) saturate(1.05);
}

.sfhb-embed__poster::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
	pointer-events: none;
}

.sfhb-embed__play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin: -42px 0 0 -42px;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.94);
	color: #0f2a30;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(255, 255, 255, 0.16);
	transition: transform 0.3s var(--sfhb-p-ease), box-shadow 0.3s ease;
}

.sfhb-embed__play svg {
	margin-inline-start: 4px;
}

.sfhb-embed--tour .sfhb-embed__play svg {
	margin-inline-start: 0;
}

.sfhb-embed__poster:hover .sfhb-embed__play {
	transform: scale(1.07);
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4), 0 0 0 14px rgba(255, 255, 255, 0.14);
}

.sfhb-embed__label {
	position: absolute;
	inset-inline: 22px;
	bottom: 18px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	text-align: start;
}

.sfhb-embed__title {
	font: 800 17px/1.2 var(--sfhb-p-f-ui);
	color: #ffffff;
}

.sfhb-embed__privacy {
	font: 500 12px/1.3 var(--sfhb-p-f-ui);
	color: rgba(255, 255, 255, 0.8);
}

.sfhb-embed__frame,
.sfhb-embed video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000000;
}

/* ------------------------------------------------------------------ */
/* 9. Policies                                                          */
/* ------------------------------------------------------------------ */

.sfhb-pol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.sfhb-pol__sec {
	min-width: 0;
	padding: 22px 24px;
	border: 1px solid var(--sfhb-p-line);
	border-radius: var(--sfhb-p-r-card);
	background: var(--sfhb-p-panel);
	font: 400 15px/1.6 var(--sfhb-p-f-body);
	color: var(--sfhb-p-ink);
}

.sfhb-pol__sec--times,
.sfhb-pol__sec--cancellation,
.sfhb-pol__sec--faq {
	grid-column: 1 / -1;
}

.sfhb-pol__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font: 800 12.5px/1.2 var(--sfhb-p-f-ui);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sfhb-p-ink);
}

.sfhb-pol__title .sfhb-p-ico {
	color: var(--sfhb-p-accent);
}

.sfhb-pol__sec p {
	margin: 0 0 10px;
}

.sfhb-pol__sec > :last-child {
	margin-bottom: 0;
}

.sfhb-pol__lead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	font: 600 16px/1.4 var(--sfhb-p-f-ui);
}

.sfhb-pol__note {
	color: var(--sfhb-p-muted);
	font-size: 14px;
}

.sfhb-pol__sub {
	margin: 16px 0 6px;
	font: 800 13px/1.2 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-ink);
}

.sfhb-pol__times {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.sfhb-pol__time {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"icon label"
		"icon value";
	align-items: center;
	column-gap: 14px;
	padding: 14px 18px;
	border-radius: 14px;
	background: var(--sfhb-p-turf);
}

.sfhb-pol__time .sfhb-p-ico {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--sfhb-p-panel);
	color: var(--sfhb-p-accent-2);
}

.sfhb-pol__time-label {
	grid-area: label;
	font: 700 13px/1.2 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-muted);
}

.sfhb-pol__time strong {
	grid-area: value;
	font: 600 24px/1.15 var(--sfhb-p-f-display);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
	color: var(--sfhb-p-ink);
}

/* Cancellation tier table */
.sfhb-pol__table {
	width: 100%;
	margin: 12px 0 0;
	border-collapse: collapse;
	font: 500 15px/1.4 var(--sfhb-p-f-ui);
}

.sfhb-pol__table th,
.sfhb-pol__table td {
	padding: 11px 0;
	border-bottom: 1px solid var(--sfhb-p-line);
	text-align: start;
	vertical-align: middle;
}

.sfhb-pol__table thead th {
	padding-top: 0;
	color: var(--sfhb-p-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sfhb-pol__table tbody th {
	font-weight: 600;
	padding-inline-end: 16px;
}

.sfhb-pol__table td {
	width: 38%;
	font-weight: 700;
}

.sfhb-pol__table tbody tr:last-child th,
.sfhb-pol__table tbody tr:last-child td {
	border-bottom: 0;
}

.sfhb-pol__refund {
	display: inline-flex;
	align-items: center;
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--sfhb-p-panel-2);
	font-size: 13.5px;
	white-space: nowrap;
}

.is-full .sfhb-pol__refund {
	background: color-mix(in srgb, var(--sfhb-p-neon) 16%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-neon) 72%, var(--sfhb-p-ink));
}

.is-part .sfhb-pol__refund {
	background: color-mix(in srgb, var(--sfhb-p-gold) 17%, var(--sfhb-p-panel));
}

.is-none .sfhb-pol__refund {
	background: color-mix(in srgb, var(--sfhb-p-accent) 13%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--sfhb-p-accent) 78%, var(--sfhb-p-ink));
}

.sfhb-pol__others {
	margin-top: 16px;
	border-top: 1px solid var(--sfhb-p-line);
	padding-top: 14px;
}

.sfhb-pol__others summary {
	cursor: pointer;
	font: 700 14px/1.3 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--sfhb-p-accent);
}

.sfhb-pol__other {
	margin-top: 14px;
	padding: 4px 0 0;
}

.sfhb-pol__other .sfhb-pol__table {
	margin-top: 4px;
}

/* House rules */
.sfhb-pol__rules,
.sfhb-pol__list,
.sfhb-pol__extras {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfhb-pol__rules {
	container: sfhb-pr / inline-size;
}

.sfhb-pol__rule {
	display: grid;
	grid-template-columns: auto minmax(min-content, max-content) minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--sfhb-p-line);
	font: 500 15px/1.4 var(--sfhb-p-f-ui);
}

.sfhb-pol__rule:last-child {
	border-bottom: 0;
}

.sfhb-pol__rule > .sfhb-p-ico {
	flex: none;
	color: var(--sfhb-p-accent-2);
}

.sfhb-pol__rule-label {
	min-width: min-content;
	font-weight: 600;
	color: var(--sfhb-p-ink);
}

.sfhb-pol__rule-value {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 6px;
	min-width: 0;
	font-weight: 800;
	text-align: end;
}

.sfhb-pol__rule-value > svg,
.sfhb-pol__rule-value > .sfhb-p-ico {
	flex: none;
}

/* A narrow rules column stacks the value under the label (like phones do). */
@container sfhb-pr (max-width: 460px) {
	.sfhb-pol__rule {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.sfhb-pol__rule-value {
		grid-column: 2;
		justify-self: start;
		text-align: start;
	}
}

.sfhb-pol__rule.is-yes .sfhb-pol__rule-value {
	color: color-mix(in srgb, var(--sfhb-p-neon) 72%, var(--sfhb-p-ink));
}

.sfhb-pol__rule.is-no .sfhb-pol__rule-value {
	color: color-mix(in srgb, var(--sfhb-p-accent) 78%, var(--sfhb-p-ink));
}

.sfhb-pol__rule.is-info .sfhb-pol__rule-value {
	color: var(--sfhb-p-ink);
}

.sfhb-pol__list li {
	position: relative;
	padding: 9px 0 9px 22px;
	border-bottom: 1px solid var(--sfhb-p-line);
}

.sfhb-pol__list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 2px;
	top: 1.1em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sfhb-p-accent);
}

.sfhb-pol__list li:last-child {
	border-bottom: 0;
}

.sfhb-pol__list + .sfhb-pol__note {
	margin-top: 12px;
}

.sfhb-pol__extras li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid var(--sfhb-p-line);
}

.sfhb-pol__extras li:last-child {
	border-bottom: 0;
}

.sfhb-pol__price {
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* FAQ */
.sfhb-faq {
	display: grid;
	gap: 8px;
}

.sfhb-faq__item {
	border: 1px solid var(--sfhb-p-line);
	border-radius: 14px;
	background: var(--sfhb-p-base);
}

.sfhb-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	border-radius: 14px;
	cursor: pointer;
	list-style: none;
	font: 700 15.5px/1.35 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-ink);
}

.sfhb-faq__item summary::-webkit-details-marker {
	display: none;
}

.sfhb-faq__item summary .sfhb-p-ico {
	transition: transform 0.25s var(--sfhb-p-ease);
}

.sfhb-faq__item[open] summary .sfhb-p-ico {
	transform: rotate(180deg);
}

.sfhb-faq__a {
	padding: 0 18px 16px;
	color: var(--sfhb-p-ink);
	font: 400 15px/1.65 var(--sfhb-p-f-body);
}

.sfhb-faq__a p {
	margin: 0 0 8px;
}

.sfhb-faq__a > :last-child {
	margin-bottom: 0;
}

@media (max-width: 781px) {
	.sfhb-pol {
		grid-template-columns: minmax(0, 1fr);
	}

	.sfhb-pol__sec {
		padding: 18px 18px;
	}

	.sfhb-pol__table td {
		width: auto;
	}

	.sfhb-pol__rule {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.sfhb-pol__rule-value {
		grid-column: 2;
		text-align: start;
	}
}

/* ------------------------------------------------------------------ */
/* 10. Nearby                                                           */
/* ------------------------------------------------------------------ */

.sfhb-stay-nearby {
	container: sfhb-nb / inline-size;
}

.sfhb-nearby {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.sfhb-nearby__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfhb-nb {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--sfhb-p-line);
}

.sfhb-nb:first-child {
	padding-top: 0;
}

.sfhb-nb__icon {
	--_tint: var(--sfhb-p-accent-2);
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--_tint) 14%, var(--sfhb-p-panel));
	color: color-mix(in srgb, var(--_tint) 82%, var(--sfhb-p-ink));
}

.sfhb-nb--beach .sfhb-nb__icon {
	--_tint: var(--sfhb-p-accent-2);
}

.sfhb-nb--sight .sfhb-nb__icon {
	--_tint: var(--sfhb-p-dusk);
}

.sfhb-nb--restaurant .sfhb-nb__icon {
	--_tint: var(--sfhb-p-accent);
}

.sfhb-nb--transport .sfhb-nb__icon {
	--_tint: var(--sfhb-p-neon);
}

.sfhb-nb--shop .sfhb-nb__icon {
	--_tint: var(--sfhb-p-gold);
}

.sfhb-nb--activity .sfhb-nb__icon {
	--_tint: var(--sfhb-p-neon);
}

.sfhb-nb__text {
	display: grid;
	gap: 1px;
	min-width: 0;
}

.sfhb-nb__name {
	min-width: 0;
	overflow-wrap: anywhere;
	font: 700 16px/1.3 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-ink);
}

.sfhb-nb__kind {
	font: 600 13px/1.3 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-muted);
}

.sfhb-nb__dist {
	display: grid;
	justify-items: end;
	gap: 2px;
	text-align: end;
	font: 600 13px/1.3 var(--sfhb-p-f-ui);
	color: var(--sfhb-p-muted);
	white-space: nowrap;
}

.sfhb-nb__dist strong {
	font: 800 16px/1.2 var(--sfhb-p-f-num);
	font-variant-numeric: tabular-nums;
	color: var(--sfhb-p-ink);
}

.sfhb-nb__dist span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.sfhb-nearby__map {
	min-height: 320px;
	overflow: hidden;
	border-radius: var(--sfhb-p-r-card);
	border: 1px solid var(--sfhb-p-line);
	background: var(--sfhb-p-panel-2);
}

.sfhb-nearby__map > * {
	height: 100%;
}

@container sfhb-nb (min-width: 760px) {
	.sfhb-nearby.has-map {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 36px;
		align-items: start;
	}

	.sfhb-nearby.has-map .sfhb-nearby__map {
		position: sticky;
		top: calc(var(--sfhb-header-h, 72px) + var(--wp-admin--admin-bar--height, 0px) + 20px);
		min-height: 380px;
	}
}

/* ------------------------------------------------------------------ */
/* 11. No-JS + editor + motion                                          */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.sfhb-stay-gallery *,
	.sfhb-stay-header *,
	.sfhb-stay-key-facts *,
	.sfhb-stay-amenities *,
	.sfhb-stay-description *,
	.sfhb-stay-video *,
	.sfhb-stay-policies *,
	.sfhb-stay-nearby *,
	.sfhb-amen-dialog,
	.sfhb-lb,
	.sfhb-lb * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------------------------------------------------------ */
/* 12. Print — a clean one-sheet stay flyer                             */
/* ------------------------------------------------------------------ */

@media print {
	@page {
		margin: 14mm 12mm;
	}

	body:has(.sfhb-stay-header) header.wp-block-template-part,
	body:has(.sfhb-stay-header) footer.wp-block-template-part,
	body:has(.sfhb-stay-header) .elementor-location-header,
	body:has(.sfhb-stay-header) .elementor-location-footer,
	body:has(.sfhb-stay-header) .stepfox-demo-bar,
	body:has(.sfhb-stay-header) #wpadminbar,
	.sfhb-lb,
	.sfhb-ph__actions,
	.sfhb-ph__maplink,
	.sfhb-gallery__all,
	.sfhb-gallery__chips,
	.sfhb-gallery__count,
	.sfhb-gallery__nav,
	.sfhb-gallery__more,
	.sfhb-desc__toggle,
	.sfhb-details__toggle,
	.sfhb-amen__more,
	.sfhb-tabs__list,
	.sfhb-stay-video,
	.sfhb-nearby__map {
		display: none !important;
	}

	.sfhb-stay-gallery,
	.sfhb-stay-header,
	.sfhb-stay-key-facts,
	.sfhb-stay-details,
	.sfhb-stay-amenities,
	.sfhb-stay-description,
	.sfhb-stay-policies,
	.sfhb-stay-nearby {
		--sfhb-p-ink: #000000;
		--sfhb-p-muted: #444444;
		--sfhb-p-panel: #ffffff;
		--sfhb-p-panel-2: #f3f3f3;
		--sfhb-p-base: #ffffff;
		--sfhb-p-line: #cccccc;
		--sfhb-p-turf: #eeeeee;
		color: #000000;
		background: #ffffff !important;
		box-shadow: none !important;
	}

	.sfhb-gallery__mosaic,
	.sfhb-gallery__track,
	.sfhb-gallery__grid {
		display: block !important;
		aspect-ratio: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.sfhb-gallery__mosaic > .sfhb-gallery__tile:not(:first-child),
	.sfhb-gallery__track > .sfhb-gallery__slide:not(:first-child),
	.sfhb-gallery__grid > .sfhb-gallery__tile:not(:first-child) {
		display: none !important;
	}

	.sfhb-gallery__tile,
	.sfhb-gallery__slide {
		aspect-ratio: 16 / 9 !important;
		max-height: 95mm;
		border-radius: 6px;
	}

	/* Paper cannot scroll: the whole trail, wrapped, no edge fade. */
	.sfhb-stay-header .sfhb-breadcrumb ol {
		flex-wrap: wrap;
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
		animation: none;
	}

	.sfhb-ph__title {
		font-size: 24pt;
	}

	.sfhb-key-facts {
		--sfhb-kf-cols: 4 !important;
		break-inside: avoid;
	}

	.sfhb-kf {
		padding: 8px 10px;
		break-inside: avoid;
	}

	.sfhb-desc.is-collapsed .sfhb-desc__body,
	.sfhb-details-wrap.is-collapsed .sfhb-details {
		max-height: none !important;
		-webkit-mask-image: none !important;
		mask-image: none !important;
	}

	.sfhb-desc__body {
		max-width: none;
		font-size: 10.5pt;
		line-height: 1.55;
	}

	.sfhb-tabs__panel[hidden] {
		display: block !important;
	}

	.sfhb-amen-dialog {
		display: block !important;
		position: static !important;
		width: auto !important;
		max-height: none !important;
		border: 0 !important;
		box-shadow: none !important;
		animation: none !important;
	}

	.sfhb-features--preview {
		display: none !important;
	}

	.sfhb-amen-dialog__close {
		display: none !important;
	}

	.sfhb-amen-dialog__body {
		overflow: visible !important;
		padding: 0 !important;
	}

	.sfhb-pol {
		display: block;
	}

	.sfhb-pol__sec {
		margin-bottom: 8mm;
		border: 1px solid #cccccc;
	}

	.sfhb-pol__sec,
	.sfhb-details__group,
	.sfhb-feature,
	.sfhb-dl__row,
	.sfhb-nb,
	.sfhb-faq__item {
		break-inside: avoid;
	}

	.sfhb-faq__item:not([open]) .sfhb-faq__a {
		display: block;
	}

	.sfhb-features {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	a[href]::after {
		content: none !important;
	}
}
