/**
 * Search Widget Premium – Rooms.
 *
 * Reuses the custom properties the freemium widget (--sb-drops-*, --sb-fields-*)
 * and the premium steps modal (--sb-booking-steps-*) already emit, so the
 * selector inherits each site's configured palette instead of defining its own.
 */

/* ------------------------------------------------------------------ *
 * Visibility
 *
 * The widget sets `.sbhbt-search-form-box { display: flex }`, an author rule
 * that beats the browser's own `[hidden] { display: none }`. Both hosts of the
 * selector therefore need an explicit rule, or a box with no rooms in it would
 * still be painted.
 * ------------------------------------------------------------------ */

.sbhbt-search-form-rooms[hidden],
.sbhbt-search-form-steps-step-2-rooms-wrap[hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * Inline form — [sbhbt_search]
 * ------------------------------------------------------------------ */

.sbhbt-search-form-rooms .sbhbt-search-form-rooms-field {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	text-align: start;
}

.sbhbt-search-form-rooms .sbhbt-search-form-rooms-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--sb-fields-color);
	font-size: var(--sb-font-size);
}

.sbhbt-search-form-rooms-dropdown-in {
	display: flex;
	flex-direction: column;
}

.sbhbt-search-form-rooms-dropdown-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	color: var(--sb-fields-color);
	font-size: var(--sb-font-size);
	text-align: start;
	cursor: pointer;
}

.sbhbt-search-form-rooms-dropdown-item:hover,
.sbhbt-search-form-rooms-dropdown-item:focus-visible {
	background-color: rgba(0, 0, 0, 0.06);
}

.sbhbt-search-form-rooms-item-guests {
	opacity: 0.7;
	font-size: 0.85em;
}

/* ------------------------------------------------------------------ *
 * Occupancy notice
 *
 * The steps modal ships its own .sbhbt-search-form-guests-alert (styled in
 * steps.css); the freemium inline form has none, so rooms.js injects one and
 * this styles it to match. Scoped to the injected copy so the modal's own
 * styling is left alone.
 * ------------------------------------------------------------------ */

.sbhbt-rooms-guests-alert {
	margin: 0 0 10px;
	padding: 8px 10px;
	border: 1px solid #d3d2d3;
	border-radius: 4px;
	background-color: #fff;
	color: #c0392b;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

.sbhbt-rooms-guests-alert p {
	margin: 0;
	padding: 0;
}

.sbhbt-rooms-guests-alert p + p {
	margin-top: 4px;
}

.sbhbt-search-form-rooms-dropdown-heading {
	padding: 10px 12px 4px;
	opacity: 0.6;
	color: var(--sb-fields-color);
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ------------------------------------------------------------------ *
 * Steps modal — [sbhbt_search_steps]
 * ------------------------------------------------------------------ */

.sbhbt-search-form-steps-rooms-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 12px 0;
}

.sbhbt-search-form-steps-rooms-card {
	display: flex;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 2px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background-color: var(--sb-booking-steps-modal-background-color, #fff);
	color: var(--sb-booking-steps-modal-body-summary-text-color, #000);
	text-align: start;
	cursor: pointer;
}

.sbhbt-search-form-steps-rooms-card:hover,
.sbhbt-search-form-steps-rooms-card:focus-visible {
	border-color: rgba(0, 0, 0, 0.35);
}

.sbhbt-search-form-steps-rooms-card.active {
	border-color: var(--sb-booking-steps-continue-button-background-color, #000);
}

.sbhbt-search-form-steps-rooms-heading {
	margin-top: 4px;
	opacity: 0.6;
	color: var(--sb-booking-steps-modal-body-summary-text-color, #000);
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sbhbt-search-form-steps-rooms-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	padding: 12px;
}

.sbhbt-search-form-steps-rooms-card-title {
	font-weight: 700;
}

.sbhbt-search-form-steps-rooms-card-guests {
	opacity: 0.75;
	font-size: 0.9em;
}

.sbhbt-search-form-steps-rooms-footer {
	display: flex;
	justify-content: stretch;
	margin-top: 16px;
}

.sbhbt-search-form-steps-rooms-submit-button {
	width: 100%;
	padding: 14px 16px;
	border: 0;
	border-radius: 6px;
	background-color: var(--sb-booking-steps-continue-button-background-color, #000);
	color: var(--sb-booking-steps-continue-button-color, #fff);
	cursor: pointer;
}

/* Summary row — matches the built-in Dates / Guests rows. */
.sbhbt-search-form-steps-step-2-rooms {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.sbhbt-search-form-steps-step-2-rooms-text {
	margin: 0;
	color: var(--sb-booking-steps-modal-body-summary-text-color, #000);
}


.calenca__tooltip--html.calenca__tooltip--unavailable>span {
	display: none
}