/* Kept separate from the generated booking stylesheet. */
body.familia-booking-has-help {
	--familia-help-space: calc(76px + env(safe-area-inset-bottom, 0px));
	padding-bottom: var(--familia-help-space);
}

/* A reserved bottom edge keeps the assistance tab clear of booking actions. */
.familia-booking-has-help .f-booking-app .vfm.modalFullscreenResponsive {
	padding-bottom: var(--familia-help-space);
}

.familia-booking-help {
	position: fixed;
	right: max(20px, env(safe-area-inset-right, 0px));
	bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	z-index: 1100;
	color: #3d291d;
	font: 400 14px/1.5 Geologica, sans-serif;
	text-align: left;
}

.familia-booking-help, .familia-booking-help * { box-sizing: border-box; }
.familia-booking-help > .familia-booking-help__toggle {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 48px;
	padding: 6px 18px 6px 7px;
	border: 1px solid #d9cec6;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 3px 16px #3d291d14;
	font: inherit;
	font-weight: 500;
	list-style: none;
	cursor: pointer;
	user-select: none;
}
.familia-booking-help__toggle::-webkit-details-marker { display: none; }
.familia-booking-help__toggle::marker { content: ''; }
.familia-booking-help__toggle:hover, .familia-booking-help[open] > .familia-booking-help__toggle { border-color: #70b7e1; }
.familia-booking-help__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #88cef7;
}
.familia-booking-help__icon svg { width: 27px; height: 27px; fill: currentColor; }
.familia-booking-help > .familia-booking-help__panel { display: none; }
.familia-booking-help[open] > .familia-booking-help__panel {
	display: block;
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	width: min(360px, calc(100vw - 40px));
	max-height: calc(100dvh - var(--familia-help-space) - 28px);
	overflow: auto;
	overscroll-behavior: contain;
	padding: 24px;
	border: 1px solid #e7e0da;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 40px #3d291d24;
}
.familia-booking-help h2 {
	margin: 0 36px 14px 0;
	padding: 0;
	color: inherit;
	font: 600 28px/1.2 Geologica, sans-serif;
	letter-spacing: -.5px;
}
.familia-booking-help p { margin: 0 0 20px; padding: 0; font: inherit; color: inherit; }
.familia-booking-help__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.familia-booking-help__close[hidden] { display: none; }
.familia-booking-help__close:hover { background: #f5f2ef; }
.familia-booking-help__close svg, .familia-booking-help__call svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.familia-booking-help .familia-booking-help__call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px;
	border: 0;
	border-radius: 10px;
	background: #88cef7;
	color: #3d291d;
	font: 500 16px/1.5 Geologica, sans-serif;
	text-decoration: none;
	white-space: nowrap;
}
.familia-booking-help .familia-booking-help__call:hover { background: #6dbfed; }
.familia-booking-help :is(summary, button, a):focus-visible { outline: 2px solid #3d291d; outline-offset: 3px; }

@media (max-width: 600px) {
	.familia-booking-help { right: max(16px, env(safe-area-inset-right, 0px)); }
	.familia-booking-help[open] > .familia-booking-help__panel { width: min(360px, calc(100vw - 32px)); padding: 22px; }
}
@media print { .familia-booking-help { display: none; } }
