/* Per-room Guests picker — see js/guest-picker/luxeromo-tp-guest-picker.js and
   the two guest.php overrides (elementorv2 + st_templates/layouts/elementor)
   for the full context.

   Deliberately self-contained: the picker's rows/steppers use their own
   class names (.luxeromo-tp-*), not the theme's .st-number-wrapper/.prev/.next
   (see the JS file's header comment for why — collision with the legacy
   _addNextPreInput() auto-injector), so none of the theme's matching
   .st-number-wrapper/.prev/.next panel CSS ever applies to this picker.
   These rules replicate that same visual language (the values below match
   .dropdown-menu.st-modern-style and the homepage's
   .st-banner-search-form.style_2 ... .field-guest .dropdown-menu rules in
   the theme's own CSS) so the picker looks consistent with the rest of the
   site wherever it's used, rather than falling back to unstyled defaults. */
.luxeromo-tp-room-picker {
	background: #FFFFFF;
	border: 1px solid #DEDEDE;
	box-sizing: border-box;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.08), 0px 4px 12px rgba(0, 0, 0, 0.05);
	border-radius: 20px;
	padding: 30px;
	min-width: 320px;
	/* The theme's own .search-form .dropdown-menu rule caps max-height at
	   332px — fine for the old flat 3-row picker, but this panel grows
	   taller with each added room ("+ Add another room"), so it gets
	   clipped/scrollable past 2-3 rooms without this override. */
	max-height: none !important;
}

.luxeromo-tp-room-block:not(:last-child) {
	border-bottom: 1px solid #DEDEDE;
	padding-bottom: 19px;
	margin-bottom: 19px;
}

.luxeromo-tp-room-header {
	margin-bottom: 14px;
}
.luxeromo-tp-room-title {
	font-weight: 500;
	font-size: 16px;
	line-height: 26px;
	color: var(--heading-color, #1a2b48);
}
.luxeromo-tp-remove-room {
	font-size: 13px;
	font-weight: 500;
	color: var(--main-color, #5191FA);
	cursor: pointer;
}
.luxeromo-tp-remove-room:hover {
	text-decoration: underline;
}

.luxeromo-tp-room-picker .item {
	padding-top: 0;
	padding-bottom: 0;
}
.luxeromo-tp-room-picker .item:not(:last-child) {
	margin-bottom: 14px !important;
}
.luxeromo-tp-room-picker .item label {
	font-weight: 500;
	font-size: 16px;
	line-height: 26px;
	color: var(--heading-color, #1a2b48);
	margin-bottom: 0;
}

.luxeromo-tp-number-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
}
input.luxeromo-tp-input-number.form-control {
	font-weight: 500;
	font-size: 16px !important;
	line-height: 20px;
	text-align: center;
	color: var(--heading-color, #1a2b48);
	border: none !important;
	background: transparent !important;
	pointer-events: none;
	width: 24px !important;
	max-width: 24px;
	flex: none;
	padding: 0 !important;
	margin: 0;
	box-shadow: none !important;
}
.luxeromo-tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	min-width: 34px;
	width: 34px;
	height: 34px;
	line-height: 1;
	border: 1px solid var(--grey-color, #5E6D77);
	border-radius: 50px;
	background: #FFFFFF;
	cursor: pointer;
	user-select: none;
	font-size: 18px;
	color: var(--heading-color, #1a2b48);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.luxeromo-tp-btn:hover {
	background: var(--main-color, #5191FA);
	border-color: var(--main-color, #5191FA);
	color: #FFFFFF;
}

.luxeromo-tp-child-ages {
	margin-top: -4px;
}
.luxeromo-tp-child-age-row .luxeromo-tp-child-age-label {
	font-size: 14px !important;
}
select.luxeromo-tp-child-age-select.form-control {
	width: auto;
	max-width: 90px;
	font-size: 14px;
}

.luxeromo-tp-add-room-wrapper {
	margin-top: 4px;
}
.luxeromo-tp-add-room {
	font-size: 14px;
	font-weight: 600;
	color: var(--main-color, #5191FA);
	cursor: pointer;
}
.luxeromo-tp-add-room:hover {
	text-decoration: underline;
}

@media screen and (max-width: 480px) {
	.luxeromo-tp-room-picker {
		min-width: 260px;
		padding: 20px;
	}
}
