.bst-trip-floating-menu {
	position: fixed;
	z-index: 9998;
	left: 50%;
	bottom: max(20px, env(safe-area-inset-bottom));
	width: min(1180px, calc(100% - 32px));
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, calc(100% + 40px));
	transition: opacity .24s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
}

.bst-trip-floating-menu.is-visible {
	pointer-events: auto;
	opacity: 1;
	transform: translate(-50%, 0);
}

.bst-trip-floating-menu__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 64px;
	padding: 8px 9px 8px 18px;
	border: 1px solid rgba(18, 51, 38, .1);
	border-radius: 999px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 18px 55px rgba(16, 39, 30, .2), 0 2px 8px rgba(16, 39, 30, .08);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.bst-trip-floating-menu__toggle,
.bst-trip-floating-menu__book {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 750;
}

.bst-trip-floating-menu__toggle {
	display: none;
	flex: 0 0 auto;
	padding: 10px 8px;
	color: #17372b;
	background: transparent;
}

.bst-trip-floating-menu__toggle svg,
.bst-trip-floating-menu__book svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bst-trip-floating-menu__nav {
	min-width: 0;
	flex: 1 1 auto;
}

.bst-trip-floating-menu__nav ul {
	display: flex;
	align-items: center;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.bst-trip-floating-menu__nav ul::-webkit-scrollbar {
	display: none;
}

.bst-trip-floating-menu__nav li {
	flex: 0 0 auto;
	margin: 0;
}

.bst-trip-floating-menu__nav li[hidden] {
	display: none;
}

.bst-trip-floating-menu__nav a {
	display: block;
	padding: 10px 11px;
	border-radius: 999px;
	color: #405048;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color .18s ease, background-color .18s ease;
}

.bst-trip-floating-menu__nav a:hover,
.bst-trip-floating-menu__nav a[aria-current="location"] {
	color: #17372b;
	background: #edf4ef;
}

.bst-trip-floating-menu__divider {
	width: 1px;
	height: 35px;
	flex: 0 0 1px;
	background: #dfe6e1;
}

.bst-trip-floating-menu__price {
	display: flex;
	min-width: max-content;
	flex: 0 0 auto;
	align-items: baseline;
	gap: 5px;
	padding: 0 5px;
	color: #1f2c26;
}

.bst-trip-floating-menu__price small {
	color: #69766f;
	font-size: 11px;
	font-weight: 650;
	text-transform: uppercase;
}

.bst-trip-floating-menu__price strong {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.bst-trip-floating-menu__book {
	min-height: 48px;
	flex: 0 0 auto;
	padding: 12px 20px;
	border-radius: 999px;
	color: #fff;
	background: #e55b2a;
	box-shadow: 0 8px 20px rgba(184, 62, 20, .24);
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.bst-trip-floating-menu__book:hover {
	background: #cf481b;
	box-shadow: 0 10px 24px rgba(184, 62, 20, .3);
	transform: translateY(-1px);
}

.bst-trip-floating-menu__book:hover svg {
	transform: translateX(2px);
}

.bst-trip-floating-menu__book svg {
	transition: transform .18s ease;
}

.bst-trip-floating-menu button:focus-visible,
.bst-trip-floating-menu a:focus-visible {
	outline: 3px solid rgba(229, 91, 42, .3);
	outline-offset: 2px;
}

.bst-trip-floating-anchor {
	scroll-margin-top: 120px;
}

.bst-trip-floating-menu-spacer {
	height: 96px;
}

@media (max-width: 1100px) {
	.bst-trip-floating-menu {
		width: min(720px, calc(100% - 28px));
	}

	.bst-trip-floating-menu__toggle {
		display: inline-flex;
	}

	.bst-trip-floating-menu__nav {
		position: absolute;
		left: 0;
		right: 0;
		bottom: calc(100% + 12px);
		display: none;
		padding: 13px;
		border: 1px solid rgba(18, 51, 38, .1);
		border-radius: 18px;
		background: rgba(255, 255, 255, .98);
		box-shadow: 0 16px 45px rgba(16, 39, 30, .18);
	}

	.bst-trip-floating-menu.is-open .bst-trip-floating-menu__nav {
		display: block;
	}

	.bst-trip-floating-menu__nav ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 5px;
		overflow: visible;
	}

	.bst-trip-floating-menu__nav li {
		min-width: 0;
	}

	.bst-trip-floating-menu__nav a {
		padding: 11px 13px;
		background: #f5f7f5;
		white-space: normal;
	}
}

@media (max-width: 620px) {
	.bst-trip-floating-menu {
		bottom: max(10px, env(safe-area-inset-bottom));
		width: calc(100% - 20px);
	}

	.bst-trip-floating-menu__inner {
		gap: 6px;
		min-height: 58px;
		padding: 6px 6px 6px 10px;
	}

	.bst-trip-floating-menu__toggle {
		gap: 5px;
		padding: 9px 5px;
		font-size: 12px;
	}

	.bst-trip-floating-menu__divider {
		height: 30px;
	}

	.bst-trip-floating-menu__price {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		line-height: 1.05;
	}

	.bst-trip-floating-menu__price small {
		font-size: 9px;
	}

	.bst-trip-floating-menu__price strong {
		font-size: 16px;
	}

	.bst-trip-floating-menu__book {
		min-height: 46px;
		margin-left: auto;
		padding: 11px 14px;
		font-size: 13px;
	}

	.bst-trip-floating-menu__book svg {
		display: none;
	}

	.bst-trip-floating-menu-spacer {
		height: 82px;
	}
}

@media (max-width: 390px) {
	.bst-trip-floating-menu__toggle span {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.bst-trip-floating-menu__toggle {
		width: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bst-trip-floating-menu,
	.bst-trip-floating-menu__book,
	.bst-trip-floating-menu__book svg {
		transition: none;
	}
}
