/* Trip Builder — guest wizard + results (/group-stays/) */

/* The UA sheet's [hidden] { display: none } is NOT !important, so any
   author display rule (flex, inline-block, block...) silently defeats the
   hidden attribute. Every hidden toggle in this flow relies on this guard. */
.hrck-tb-guest [hidden],
.hrck-tb-modal [hidden],
.hrck-tb-modal[hidden],
.hrck-tb-compare-bar[hidden] {
	display: none !important;
}

/* Design tokens. Declared on every top-level Trip Builder container (the
   modals and compare bar render outside <main>, so .hrck-tb-guest alone
   would not reach them). Operators/skins override these vars, not rules. */
.hrck-tb-guest,
.hrck-tb-modal,
.hrck-tb-compare-bar {
	--hrck-tb-accent: #2563eb;
	--hrck-tb-accent-strong: #1d4ed8;
	--hrck-tb-accent-soft: #eef4fe;
	--hrck-tb-ring: rgba(37, 99, 235, 0.22);
	--hrck-tb-ink: #111827;
	--hrck-tb-muted: #6b7280;
	--hrck-tb-faint: #9ca3af;
	--hrck-tb-line: #e5e7eb;
	--hrck-tb-line-soft: #f3f4f6;
	--hrck-tb-radius-card: 16px;
	--hrck-tb-radius-control: 10px;
	--hrck-tb-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -16px rgba(15, 23, 42, 0.14);
	--hrck-tb-shadow-pop: 0 4px 10px rgba(15, 23, 42, 0.06), 0 24px 56px -12px rgba(15, 23, 42, 0.22);
	--hrck-tb-ease: cubic-bezier(0.2, 0, 0.2, 1);
}

.hrck-tb-guest {
	max-width: 960px;
	margin: 0 auto;
	/* --hrck-tb-top-offset: set inline by trip-builder-wizard.js to the
	   height of a theme header that is position:fixed at load and would
	   otherwise cover the hero (Elementor's sticky header on Hello, for
	   one). The route renders straight into <main>, so no theme section
	   sits above the title to absorb it. Stays 0 on embeds and on themes
	   that already clear their own header. */
	padding: calc(40px + var(--hrck-tb-top-offset, 0px)) 16px 64px;
	font-family: inherit;
}

/* [hrck_group_stays] embed: the host page owns the vertical rhythm, so the
   full-page breathing room comes off. Width still caps at the wizard's own
   960px inside whatever container the page provides. */
.hrck-tb-guest--embed {
	padding: 8px 0 16px;
}

.hrck-tb-guest__hero {
	margin-bottom: 32px;
	text-align: center;
}

.hrck-tb-guest__title {
	margin: 0 0 9.6px;
	font-size: clamp(25.6px, 19.2px + 1.6vw, 37.6px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--hrck-tb-ink);
	text-wrap: balance;
}

.hrck-tb-guest__subtitle {
	margin: 0 auto;
	max-width: 560px;
	color: var(--hrck-tb-muted);
	font-size: 16.8px;
	line-height: 1.55;
	text-wrap: pretty;
}

/* --- Wizard form --- */

.hrck-tb-wizard {
	margin-bottom: 40px;
}

.hrck-tb-wizard__fields {
	display: grid;
	/* Dates (one cell, two sub-fields in native mode) | group size | distance | button */
	grid-template-columns: minmax(220px, 1.7fr) minmax(100px, 0.9fr) minmax(150px, 1.2fr) auto;
	gap: 16px;
	align-items: end;
	padding: 22.4px;
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: var(--hrck-tb-radius-card);
	background: #fff;
	box-shadow: var(--hrck-tb-shadow-card);
}

/* Destination select variant: dates | where | group size | distance | button.
   The --no-radius pairing drops the distance column (operator hid that
   field), keeping the remaining cells from stretching into its space. */
.hrck-tb-wizard__fields--loc {
	grid-template-columns: minmax(220px, 1.7fr) minmax(140px, 1fr) minmax(100px, 0.9fr) minmax(150px, 1.2fr) auto;
}

.hrck-tb-wizard__fields--loc.hrck-tb-wizard__fields--no-radius {
	grid-template-columns: minmax(220px, 1.7fr) minmax(140px, 1fr) minmax(100px, 0.9fr) auto;
}

/* Two date sub-fields share the dates cell in native mode; the picker's
   combined mode hides the check-out sub-field and the check-in display
   takes the full cell. */
.hrck-tb-wizard__field--dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.hrck-tb-wizard--dates-combined .hrck-tb-wizard__field--dates {
	grid-template-columns: 1fr;
}

/* 820px, not 760: in the 761-820 band the 4-col grid squeezes each native
   date input under ~115px, clipping the calendar icon. Only the native
   fallback shows two inputs, but the stack reads fine either way. */
@media (max-width: 820px) {
	.hrck-tb-wizard__fields,
	.hrck-tb-wizard__fields--loc,
	.hrck-tb-wizard__fields--loc.hrck-tb-wizard__fields--no-radius {
		grid-template-columns: 1fr 1fr;
	}

	.hrck-tb-wizard__field--dates,
	.hrck-tb-wizard__field--location,
	.hrck-tb-wizard__submit {
		grid-column: 1 / -1;
	}

	.hrck-tb-wizard__submit .hrck-tb-btn {
		width: 100%;
	}
}

.hrck-tb-wizard__field label {
	display: block;
	margin-bottom: 6.4px;
	font-size: 11.2px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hrck-tb-muted);
}

.hrck-tb-wizard__field input,
.hrck-tb-wizard__field select {
	width: 100%;
	padding: 10.4px 12.8px;
	border: 1px solid #d1d5db;
	border-radius: var(--hrck-tb-radius-control);
	font-size: 16px;
	background: #fff;
	color: inherit;
	transition: border-color 0.15s var(--hrck-tb-ease), box-shadow 0.15s var(--hrck-tb-ease);
}

/* Soft focus treatment instead of the old 2px near-black outline: accent
   border + halo. :focus-visible for real controls, plain :focus for the
   readonly date display — browsers treat text inputs as always
   focus-visible, which is exactly the case the halo is tuned for. */
.hrck-tb-wizard__field input:focus-visible,
.hrck-tb-wizard__field select:focus-visible,
.hrck-tb-wizard__field input.hrck-tb-dp__input:focus {
	outline: none;
	border-color: var(--hrck-tb-accent);
	box-shadow: 0 0 0 3px var(--hrck-tb-ring);
}

/* While the picker is open the dates field stays visibly "active" even
   after focus moves into the calendar. */
.hrck-tb-wizard--dp-open .hrck-tb-dp__input {
	border-color: var(--hrck-tb-accent);
	box-shadow: 0 0 0 3px var(--hrck-tb-ring);
}

/* Distance helper line under the fields box (unit + auto-widen behavior).
   Full-width on purpose: an in-flow hint under a single grid cell would
   break the end-aligned input row. */
.hrck-tb-wizard__hint {
	margin: 10.4px 4px 0;
	color: var(--hrck-tb-muted);
	font-size: 13.6px;
}

.hrck-tb-wizard__hint:empty {
	display: none;
}

.hrck-tb-wizard__field input.hrck-tb-dp__input {
	cursor: pointer;
}

.hrck-tb-wizard__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.hrck-tb-wizard__error {
	margin: 12px 0 0;
	color: #b91c1c;
	font-size: 14.4px;
}

.hrck-tb-wizard__start-over {
	margin-top: 8px;
	margin-left: auto;
	white-space: nowrap;
}

/* --- Buttons --- */

/* Theme immunity. The wizard renders inside whatever theme the operator
   runs, and every theme and page builder styles bare <button>: Hello
   Elementor ships `[type="button"], button { padding: .5rem 1rem; border:
   1px solid #c36; border-radius: 3px }`, Elementor kits add
   `.elementor-kit-N button { background-color: accent }` (0,1,1), and
   Bricks/Astra/Kadence carry resets of their own. A single class loses
   those fights: the wizard's buttons came out in the kit's accent with a
   pink border, and on the calendar the stray padding inflated each day
   cell past its 1fr track so the two month grids overflowed and overlapped
   (palmbeachvacationrentals.net, 2026-08-28).

   Every property themes reach for is pinned with !important on each
   button the wizard owns (.hrck-tb-btn, the datepicker's day and nav
   buttons, the modal close). RULE: a variant that legitimately changes one
   of those properties (ghost padding, pill radius, range-band background)
   must mark it !important too, or it silently loses to the base. Paint
   that lives on a pseudo-element (the day circle, the today tick) needs
   nothing: themes do not reach those. */

.hrck-tb-btn {
	display: inline-block;
	box-sizing: border-box !important;
	padding: 10.4px 20.8px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	border: 1px solid transparent !important;
	border-radius: var(--hrck-tb-radius-control) !important;
	background: transparent !important;
	color: var(--hrck-tb-ink) !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 15.2px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.15s var(--hrck-tb-ease), color 0.15s var(--hrck-tb-ease),
		border-color 0.15s var(--hrck-tb-ease), box-shadow 0.15s var(--hrck-tb-ease),
		transform 0.15s var(--hrck-tb-ease);
}

.hrck-tb-btn:active {
	transform: translateY(1px);
}

.hrck-tb-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--hrck-tb-ring) !important;
}

.hrck-tb-btn--primary {
	background: var(--hrck-tb-accent) !important;
	color: #fff !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.hrck-tb-btn--primary:hover,
.hrck-tb-btn--primary:focus {
	background: var(--hrck-tb-accent-strong) !important;
	color: #fff !important;
}

.hrck-tb-btn--primary:disabled {
	background: var(--hrck-tb-faint) !important;
	box-shadow: none !important;
	cursor: default;
}

.hrck-tb-btn--secondary {
	background: #fff !important;
	border-color: #d1d5db !important;
	color: var(--hrck-tb-ink) !important;
}

.hrck-tb-btn--secondary:hover,
.hrck-tb-btn--secondary:focus {
	border-color: var(--hrck-tb-accent) !important;
	color: var(--hrck-tb-accent-strong) !important;
	background: var(--hrck-tb-accent-soft) !important;
}

.hrck-tb-btn--ghost {
	background: transparent !important;
	color: var(--hrck-tb-muted) !important;
	border-color: transparent !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	padding: 5.6px 8px !important;
	font-weight: 500 !important;
}

.hrck-tb-btn--ghost:hover,
.hrck-tb-btn--ghost:focus {
	color: var(--hrck-tb-ink) !important;
}

/* --- Results --- */

.hrck-tb-results__notice {
	margin-bottom: 16px;
	padding: 12.8px 17.6px;
	border: 1px solid #d6e4fc;
	border-radius: 12px;
	background: var(--hrck-tb-accent-soft);
	color: #1e40af;
	font-size: 14.4px;
}

.hrck-tb-warning,
.hrck-tb-no-results {
	display: block;
	margin-bottom: 16px;
	padding: 16px 17.6px;
	border: 1px solid #fde68a;
	border-radius: 12px;
	background: #fffbeb;
	color: #92400e;
	font-size: 14.72px;
	line-height: 1.5;
}

.hrck-tb-warning strong,
.hrck-tb-no-results strong {
	display: block;
	margin-bottom: 3.2px;
	font-size: 15.68px;
}

.hrck-tb-warning__detail {
	display: block;
	margin-bottom: 3.2px;
	font-weight: 600;
}

.hrck-tb-warning__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 13.6px;
}

/* Alternate-date suggestions inside the failure banners: green = "this one
   works", deliberately apart from the amber problem-statement around it. */
.hrck-tb-suggestions {
	display: block;
	margin-top: 13.6px;
}

.hrck-tb-suggestions__lead {
	display: block;
	margin-bottom: 7.2px;
	font-weight: 600;
}

.hrck-tb-suggestions__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hrck-tb-datechip {
	appearance: none;
	border: 1px solid #86efac;
	border-radius: 999px;
	padding: 6.4px 14.4px;
	background: #f0fdf4;
	color: #166534;
	font: inherit;
	font-size: 14.72px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s var(--hrck-tb-ease), border-color 0.15s var(--hrck-tb-ease),
		transform 0.15s var(--hrck-tb-ease);
}

.hrck-tb-datechip:hover {
	background: #dcfce7;
	border-color: #4ade80;
	transform: translateY(-1px);
}

.hrck-tb-datechip:focus-visible {
	outline: none;
	background: #dcfce7;
	border-color: #4ade80;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hrck-tb-no-results .hrck-tb-btn {
	margin-top: 12px;
}

.hrck-tb-results__list {
	display: grid;
	gap: 24px;
}

/* --- Bundle card --- */

.hrck-tb-bundle {
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: var(--hrck-tb-radius-card);
	background: #fff;
	box-shadow: var(--hrck-tb-shadow-card);
	overflow: hidden;
}

.hrck-tb-bundle__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 22.4px;
	border-bottom: 1px solid var(--hrck-tb-line-soft);
}

.hrck-tb-bundle__title {
	margin: 0;
	font-size: 17.6px;
	font-weight: 650;
	letter-spacing: -0.01em;
	color: var(--hrck-tb-ink);
}

.hrck-tb-bundle__badge {
	padding: 3.52px 10.4px;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 12px;
	font-weight: 600;
}

.hrck-tb-bundle__compare {
	display: inline-flex;
	align-items: center;
	gap: 6.4px;
	margin-left: auto;
	font-size: 13.6px;
	color: var(--hrck-tb-muted);
	cursor: pointer;
	user-select: none;
}

.hrck-tb-bundle__compare:hover {
	color: var(--hrck-tb-ink);
}

.hrck-tb-bundle__compare-box {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--hrck-tb-accent);
	cursor: pointer;
}

.hrck-tb-bundle__homes {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hrck-tb-home {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14.4px 22.4px;
	border-bottom: 1px solid var(--hrck-tb-line-soft);
	transition: background-color 0.15s var(--hrck-tb-ease);
}

.hrck-tb-home:hover {
	background: #fafbfd;
}

.hrck-tb-home__index,
.hrck-tb-map-pin span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--hrck-tb-accent, #2563eb);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.hrck-tb-home__media,
.hrck-tb-swap-option__media {
	flex: 0 0 104px;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	background: var(--hrck-tb-line-soft);
}

.hrck-tb-home__img,
.hrck-tb-swap-option__img {
	display: block;
	width: 100%;
	height: 72px;
	object-fit: cover;
	transition: transform 0.25s var(--hrck-tb-ease);
}

.hrck-tb-home:hover .hrck-tb-home__img {
	transform: scale(1.04);
}

.hrck-tb-home__body {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 5.6px 13.6px;
	min-width: 0;
}

.hrck-tb-home__title,
.hrck-tb-compare__home-title {
	font-weight: 600;
	color: var(--hrck-tb-ink);
	text-decoration: none;
}

.hrck-tb-home__title:hover,
.hrck-tb-home__title:focus,
.hrck-tb-compare__home-title:hover,
.hrck-tb-compare__home-title:focus {
	color: var(--hrck-tb-accent-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hrck-tb-home__meta,
.hrck-tb-swap-option__meta,
.hrck-tb-compare__home-meta {
	color: var(--hrck-tb-muted);
	font-size: 13.6px;
}

.hrck-tb-home__price,
.hrck-tb-swap-option__price {
	color: var(--hrck-tb-ink);
	font-size: 14.4px;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

/* Price reads as the row's right-hand fact on desktop rows. */
.hrck-tb-home__price {
	margin-left: auto;
}

.hrck-tb-bundle__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16.8px 22.4px;
	background: #f9fafb;
}

.hrck-tb-bundle__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 5.6px 20px;
	font-size: 14.4px;
	color: #374151;
}

.hrck-tb-bundle__facts .hrck-tb-bundle__price {
	font-variant-numeric: tabular-nums;
}

.hrck-tb-bundle__sleeps {
	font-weight: 600;
}

.hrck-tb-bundle__sleeps--short {
	color: #b45309;
}

/* --- Bundle mini-map --- */

.hrck-tb-bundle__map {
	height: 190px;
	border-bottom: 1px solid var(--hrck-tb-line-soft);
	background: var(--hrck-tb-line-soft);
	/* Leaflet panes default to z-index 400+; keep the whole map under our
	   modals (100000) and the site header. */
	position: relative;
	z-index: 0;
}

.hrck-tb-map-pin {
	background: transparent;
	border: 0;
}

.hrck-tb-map-pin span {
	width: 28px;
	height: 28px;
	font-size: 12.8px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.35);
	border: 2px solid #fff;
}

/* --- Skeleton loaders --- */

.hrck-tb-skel {
	display: inline-block;
	border-radius: 6px;
	background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 45%, #f3f4f6 65%);
	background-size: 200% 100%;
	animation: hrck-tb-shimmer 1.4s ease-in-out infinite;
}

@keyframes hrck-tb-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

.hrck-tb-skel--title {
	width: 40%;
	max-width: 220px;
	height: 17.6px;
}

.hrck-tb-skel--map {
	display: block;
	height: 190px;
	border-radius: 0;
	border-bottom: 1px solid var(--hrck-tb-line-soft);
}

.hrck-tb-skel--media {
	flex: 0 0 104px;
	height: 72px;
	border-radius: 10px;
}

.hrck-tb-skel--line {
	width: 60%;
	max-width: 320px;
	height: 14.4px;
}

.hrck-tb-skel--line-short {
	width: 35%;
	max-width: 180px;
}

.hrck-tb-skel--btn {
	width: 180px;
	height: 38.4px;
	border-radius: var(--hrck-tb-radius-control);
}

.hrck-tb-bundle--skeleton .hrck-tb-home__body {
	flex-direction: column;
	align-items: flex-start;
	gap: 7.2px;
}

/* --- Date-range picker (hrck-owned; look borrowed from Searchbar Pro) --- */

.hrck-tb-wizard--dp {
	position: relative;
}

/* The fields card, not the form, is the popover's containing block: the
   form also holds the hint + error rows, and anchoring to it leaves a
   visible gap between the Dates field and the calendar. */
.hrck-tb-wizard--dp .hrck-tb-wizard__fields {
	position: relative;
}

/* Anchored under the Dates field, not stretched across the whole search
   card: 700px fits the dual-month grid and starts flush with the field the
   guest just clicked. The form is the positioning context, and the dates
   cell is its first column, so left:0 lines the panel up with it. */
.hrck-tb-dp {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: auto;
	width: min(700px, 100%);
	z-index: 9997;
	padding: 22.4px 24px 17.6px;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: var(--hrck-tb-radius-card);
	box-shadow: var(--hrck-tb-shadow-pop);
	animation: hrck-tb-pop-in 0.16s var(--hrck-tb-ease);
	transform-origin: top left;
}

@keyframes hrck-tb-pop-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hrck-tb-dp__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.hrck-tb-dp__status {
	font-size: 14px;
	font-weight: 600;
	color: var(--hrck-tb-ink);
}

.hrck-tb-dp__nav {
	display: inline-flex;
	gap: 8px;
}

.hrck-tb-dp__nav-btn {
	/* Same theme immunity as __day (see the Buttons note): pinned box,
	   explicit flex centering for the chevron. */
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(17, 24, 39, 0.12) !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: var(--hrck-tb-ink) !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 17.6px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-shadow: none !important;
	cursor: pointer;
	transition: background-color 0.15s var(--hrck-tb-ease), border-color 0.15s var(--hrck-tb-ease);
}

.hrck-tb-dp__nav-btn:hover:not(:disabled) {
	background: var(--hrck-tb-accent-soft) !important;
	border-color: var(--hrck-tb-accent) !important;
}

.hrck-tb-dp__nav-btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px var(--hrck-tb-ring) !important;
}

.hrck-tb-dp__nav-btn:disabled {
	color: #cccccc !important;
	cursor: default;
}

.hrck-tb-dp__body {
	display: flex;
	gap: 28px;
}

.hrck-tb-dp__month {
	flex: 1 1 0;
	min-width: 0;
}

.hrck-tb-dp__month-title {
	margin-bottom: 10.4px;
	text-align: center;
	font-size: 14.4px;
	font-weight: 650;
	color: var(--hrck-tb-ink);
}

/* minmax(0, 1fr), not 1fr: a bare 1fr track is minmax(auto, 1fr) and grows
   to fit a cell's min-content, so any padding a theme sneaks onto the day
   buttons widens the whole grid past the month column and the two months
   overlap. Zero-floored tracks stay exactly one seventh of the month. */
.hrck-tb-dp__weekdays {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	margin-bottom: 4px;
}

.hrck-tb-dp__weekday {
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--hrck-tb-faint);
}

.hrck-tb-dp__grid {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hrck-tb-dp__week {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hrck-tb-dp__day {
	position: relative;
	/* Explicit centering: themes (Bricks' layer, notably) reset button to
	   display:block + text-align:start, which drops the UA's built-in text
	   centering and strands the day number top-left while the ::before
	   circle stays centered. Flex centering is immune to those resets. */
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	/* Pinned box (see the Buttons note): the cell is exactly its grid track,
	   40px tall, with no padding or border a theme could add. */
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 40px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	font-variant-numeric: tabular-nums;
	color: var(--hrck-tb-ink) !important;
	cursor: pointer;
}

.hrck-tb-dp__day--empty {
	cursor: default;
}

.hrck-tb-dp__day::before {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 36px;
	height: 36px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	z-index: 0;
	transition: background-color 0.12s var(--hrck-tb-ease);
}

.hrck-tb-dp__day--empty::before {
	content: none;
}

.hrck-tb-dp__day-num {
	position: relative;
	z-index: 1;
}

.hrck-tb-dp__day:hover:not(:disabled)::before {
	background: var(--hrck-tb-accent-soft);
}

.hrck-tb-dp__day:focus-visible {
	outline: none;
}

.hrck-tb-dp__day:focus-visible::before {
	box-shadow: 0 0 0 2px var(--hrck-tb-accent);
}

.hrck-tb-dp__day--disabled,
.hrck-tb-dp__day:disabled {
	color: #c9ced6 !important;
	cursor: not-allowed;
}

/* Today: a small tick under the number so it never fights the range band. */
.hrck-tb-dp__day--today::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 5px;
	width: 4px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--hrck-tb-accent);
	z-index: 1;
}

.hrck-tb-dp__day--in-range {
	background: var(--hrck-tb-accent-soft) !important;
}

.hrck-tb-dp__day--checkin::before,
.hrck-tb-dp__day--checkout::before {
	background: var(--hrck-tb-accent);
}

.hrck-tb-dp__day--checkin:hover::before,
.hrck-tb-dp__day--checkout:hover::before {
	background: var(--hrck-tb-accent-strong);
}

.hrck-tb-dp__day--checkin .hrck-tb-dp__day-num,
.hrck-tb-dp__day--checkout .hrck-tb-dp__day-num {
	color: #fff;
	font-weight: 600;
}

.hrck-tb-dp__day--checkin.hrck-tb-dp__day--today::after,
.hrck-tb-dp__day--checkout.hrck-tb-dp__day--today::after {
	background: #fff;
}

/* Range band bridges into the endpoint circles. */
.hrck-tb-dp__day--bridge-right {
	background: linear-gradient(to right, transparent 50%, var(--hrck-tb-accent-soft) 50%) !important;
}

.hrck-tb-dp__day--bridge-left {
	background: linear-gradient(to left, transparent 50%, var(--hrck-tb-accent-soft) 50%) !important;
}

.hrck-tb-dp__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.hrck-tb-dp__close {
	border-radius: 999px !important;
	padding: 8px 22.4px !important;
}

/* The Explorer widget (homelocalRangeCalendar) renders its own markup into
   the popover body; give it room and neutralize our flex layout. */
.hrck-tb-dp--explorer .hrck-tb-dp__body {
	display: block;
}

@media (max-width: 960px) {
	/* Bottom sheet. The dim behind it comes from the body class the picker
	   already toggles; a pseudo-element can't swallow clicks, so the
	   existing outside-click close keeps working through it. */
	.hrck-tb-dp {
		position: fixed;
		top: auto;
		left: 8px;
		right: 8px;
		bottom: 0;
		width: auto;
		max-height: 85vh;
		overflow-y: auto;
		border-radius: 20px 20px 0 0;
		z-index: 100001;
		padding-top: 30.4px;
		padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		animation: hrck-tb-sheet-in 0.22s var(--hrck-tb-ease);
	}

	/* Grab-handle affordance. */
	.hrck-tb-dp::before {
		content: "";
		position: absolute;
		top: 8px;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 4px;
		border-radius: 999px;
		background: var(--hrck-tb-line);
	}

	/* Stack the two months. Side by side they get ~170px each in a phone-width
	   sheet, so the fixed 36px day circles spill across neighboring cells and
	   month two clips at the panel edge. The explorer variant already stacks;
	   the sheet's max-height + overflow-y handles the added height. */
	.hrck-tb-dp__body {
		flex-direction: column;
		gap: 20px;
	}

	@keyframes hrck-tb-sheet-in {
		from {
			opacity: 0.6;
			transform: translateY(24px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	.hrck-tb-dp__body {
		flex-direction: column;
		gap: 24px;
	}

	/* Done/Clear stay reachable while the months scroll. Right clearance
	   keeps Done out from under bottom-right floating chat bubbles (AI
	   concierge and friends), which z-index above even this sheet. */
	.hrck-tb-dp__footer {
		position: sticky;
		bottom: 0;
		/* Above the day numbers: __day-num carries z-index 1 to sit over its
		   range circle, and a sticky box at z-index auto paints beneath
		   that, so the last rows showed through Clear/Done as they scrolled
		   under. */
		z-index: 2;
		margin-top: 12px;
		padding-bottom: 8px;
		padding-right: 64px;
		background: #fff;
	}

	body.hrck-tb-dp-open-mobile {
		overflow: hidden;
	}

	body.hrck-tb-dp-open-mobile::after {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 100000;
		background: rgba(15, 23, 42, 0.45);
	}
}

/* --- Modals --- */

.hrck-tb-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.hrck-tb-modal[hidden] {
	display: none;
}

.hrck-tb-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.hrck-tb-modal__panel {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: 85vh;
	overflow-y: auto;
	padding: 28px 24px 24px;
	border-radius: var(--hrck-tb-radius-card);
	background: #fff;
	box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.35);
	animation: hrck-tb-pop-in 0.18s var(--hrck-tb-ease);
}

.hrck-tb-modal__panel:focus {
	outline: none;
}

/* Indeterminate progress bar pinned to the panel top while a swap runs. */
.hrck-tb-modal__panel--busy::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	border-radius: var(--hrck-tb-radius-card) var(--hrck-tb-radius-card) 0 0;
	background: linear-gradient(90deg, transparent 0%, var(--hrck-tb-accent) 50%, transparent 100%);
	background-size: 50% 100%;
	background-repeat: no-repeat;
	animation: hrck-tb-busy-bar 1.1s ease-in-out infinite;
}

@keyframes hrck-tb-busy-bar {
	0% { background-position: -100% 0; }
	100% { background-position: 200% 0; }
}

.hrck-tb-modal__panel--busy .hrck-tb-swap__options {
	opacity: 0.6;
	pointer-events: none;
}

.hrck-tb-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	/* Pinned box (see the Buttons note). */
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: 32px !important;
	height: 32px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 22.4px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-shadow: none !important;
	color: var(--hrck-tb-muted) !important;
	cursor: pointer;
	transition: background-color 0.15s var(--hrck-tb-ease), color 0.15s var(--hrck-tb-ease);
}

.hrck-tb-modal__close:hover,
.hrck-tb-modal__close:focus {
	color: var(--hrck-tb-ink) !important;
	background: var(--hrck-tb-line-soft) !important;
}

.hrck-tb-modal__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 650;
	letter-spacing: -0.01em;
}

.hrck-tb-modal__error {
	margin: 12px 0 0;
	color: #b91c1c;
	font-size: 14.4px;
}

body.hrck-tb-modal-open {
	overflow: hidden;
}

/* --- Swap modal --- */

.hrck-tb-swap__context {
	margin: 0 0 16px;
	color: var(--hrck-tb-muted);
	font-size: 14.4px;
}

.hrck-tb-swap__options {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hrck-tb-swap-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--hrck-tb-line-soft);
}

.hrck-tb-swap-option--empty {
	color: var(--hrck-tb-muted);
	justify-content: flex-start;
}

.hrck-tb-swap-option__body {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 5.6px 13.6px;
	min-width: 0;
}

.hrck-tb-swap-option__title {
	font-weight: 600;
	color: var(--hrck-tb-ink);
	text-decoration: none;
}

.hrck-tb-swap-option__title:hover,
.hrck-tb-swap-option__title:focus {
	color: var(--hrck-tb-accent-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --- Email gate --- */

.hrck-tb-gate__body {
	margin: 0 0 16px;
	color: #374151;
	font-size: 15.2px;
	line-height: 1.55;
}

.hrck-tb-gate__form {
	display: flex;
	gap: 9.6px;
	flex-wrap: wrap;
}

.hrck-tb-gate__form input[type="email"] {
	flex: 1 1 220px;
	padding: 10.4px 12.8px;
	border: 1px solid #d1d5db;
	border-radius: var(--hrck-tb-radius-control);
	font-size: 16px;
	transition: border-color 0.15s var(--hrck-tb-ease), box-shadow 0.15s var(--hrck-tb-ease);
}

.hrck-tb-gate__form input[type="email"]:focus-visible {
	outline: none;
	border-color: var(--hrck-tb-accent);
	box-shadow: 0 0 0 3px var(--hrck-tb-ring);
}

/* --- Compare bar + modal --- */

.hrck-tb-compare-bar {
	position: fixed;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	z-index: 9998;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: calc(100vw - 32px);
	padding: 9.6px 12px 9.6px 17.6px;
	border: 1px solid rgba(17, 24, 39, 0.07);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.18);
	font-size: 14.4px;
	color: #374151;
}

.hrck-tb-compare-bar__label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	font-weight: 500;
}

/* Room for the fixed bar so it never sits on the last card's button. */
.hrck-tb-results--bar-open {
	padding-bottom: 72px;
}

@media (max-width: 640px) {
	/* Anchor left and keep the right edge clear of bottom-right floating
	   chat bubbles (AI concierge and friends), which also z-index above us. */
	.hrck-tb-compare-bar {
		left: 16px;
		right: 80px;
		transform: none;
		max-width: none;
		justify-content: space-between;
	}
}

.hrck-tb-compare-bar__actions {
	display: inline-flex;
	align-items: center;
	gap: 5.6px;
}

.hrck-tb-compare-bar .hrck-tb-btn--primary {
	border-radius: 999px !important;
	padding: 7.2px 17.6px !important;
}

.hrck-tb-compare-bar .hrck-tb-btn--ghost {
	text-decoration: none !important;
}

.hrck-tb-modal__panel--wide {
	max-width: 920px;
}

.hrck-tb-compare__columns {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(230px, 1fr);
	gap: 20px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.hrck-tb-compare__col {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	padding: 17.6px;
	border: 1px solid var(--hrck-tb-line);
	border-radius: 12px;
	background: #f9fafb;
}

.hrck-tb-compare__col-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 650;
}

.hrck-tb-compare__stat {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 6.4px 0;
	border-bottom: 1px solid #eceef1;
	font-size: 14.4px;
}

.hrck-tb-compare__stat-label {
	color: var(--hrck-tb-muted);
	font-size: 12.48px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.hrck-tb-compare__stat-value {
	font-weight: 600;
	color: var(--hrck-tb-ink);
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.hrck-tb-compare__stat-value--short {
	color: #b45309;
}

.hrck-tb-compare__lineup {
	flex: 1 1 auto;
	margin: 12px 0 16px;
	padding: 0;
	list-style: none;
}

.hrck-tb-compare__home {
	padding: 7.2px 0;
	border-bottom: 1px solid #eceef1;
}

.hrck-tb-compare__home:last-child {
	border-bottom: 0;
}

/* Shared look lives on the .hrck-tb-home__title / __meta rules above;
   compare rows only add block flow and a tighter title size. */
.hrck-tb-compare__home-title {
	display: block;
	font-size: 14.4px;
}

.hrck-tb-compare__home-meta {
	display: block;
}

.hrck-tb-compare__choose {
	width: 100%;
}

/* --- Small screens --- */

@media (max-width: 600px) {
	.hrck-tb-guest__title {
		font-size: 24px;
	}

	.hrck-tb-home {
		flex-wrap: wrap;
		gap: 8px 12px;
	}

	.hrck-tb-home__media {
		flex-basis: 84px;
	}

	.hrck-tb-home__img {
		height: 60px;
	}

	.hrck-tb-home__body {
		flex-direction: column;
		align-items: flex-start;
		gap: 3.2px;
		flex-basis: calc(100% - 84px - 36px - 24px);
	}

	.hrck-tb-home__price {
		margin-left: 0;
	}

	.hrck-tb-home__swap {
		margin-left: auto;
	}

	.hrck-tb-bundle__map,
	.hrck-tb-skel--map {
		height: 150px;
	}

	.hrck-tb-bundle__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.hrck-tb-bundle__footer .hrck-tb-btn {
		width: 100%;
	}
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
	.hrck-tb-skel,
	.hrck-tb-modal__panel--busy::before,
	.hrck-tb-dp,
	.hrck-tb-modal__panel {
		animation: none;
	}

	.hrck-tb-btn,
	.hrck-tb-datechip,
	.hrck-tb-home__img {
		transition: none;
	}

	.hrck-tb-home:hover .hrck-tb-home__img {
		transform: none;
	}

	.hrck-tb-skel {
		background: #f3f4f6;
	}
}

/* --- Group stay inquiry modal ("Let us put something together") --- */

.hrck-tb-modal__panel--form {
	max-width: 560px;
}

.hrck-tb-inquiry__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.hrck-tb-inquiry__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #374151;
}

.hrck-tb-inquiry__field--full {
	grid-column: 1 / -1;
}

.hrck-tb-inquiry__field em {
	font-weight: 400;
	font-style: normal;
	color: #6b7280;
}

.hrck-tb-inquiry__field input,
.hrck-tb-inquiry__field textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10.4px 12.8px;
	border: 1px solid #d1d5db;
	border-radius: var(--hrck-tb-radius-control);
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	transition: border-color 0.15s var(--hrck-tb-ease), box-shadow 0.15s var(--hrck-tb-ease);
}

.hrck-tb-inquiry__field textarea {
	min-height: 84px;
	resize: vertical;
}

.hrck-tb-inquiry__field input:focus-visible,
.hrck-tb-inquiry__field textarea:focus-visible {
	outline: none;
	border-color: var(--hrck-tb-accent);
	box-shadow: 0 0 0 3px var(--hrck-tb-ring);
}

.hrck-tb-inquiry__hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.hrck-tb-inquiry__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px;
}

.hrck-tb-inquiry__done {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: #374151;
	font-size: 15.2px;
	line-height: 1.55;
}

.hrck-tb-inquiry__done strong {
	font-size: 17px;
	color: #111827;
}

.hrck-tb-inquiry__done .hrck-tb-btn {
	margin-top: 8px;
}

@media (max-width: 560px) {
	.hrck-tb-inquiry__grid {
		grid-template-columns: 1fr;
	}
}
