.ap-booking-widget {
	bottom: 24px;
	font-family: var(--e-global-typography-apbodymd-font-family), sans-serif;
	position: fixed;
	right: 24px;
	z-index: 9998;
}

.ap-booking-widget__trigger {
	align-items: center;
	background: var(--e-global-color-apsecond, #B56F4D);
	border: 0;
	border-radius: 5px;
	box-shadow: 0 8px 24px rgb(46 43 38 / 18%);
	color: var(--e-global-color-apbgwhite, #FBF8F2);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: var(--e-global-typography-apbodymd-font-size, 16px);
	font-weight: 600;
	gap: 12px;
	justify-content: center;
	line-height: var(--e-global-typography-apbodymd-line-height, 24px);
	min-height: 52px;
	padding: 14px 20px;
	transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.ap-booking-widget__trigger:hover,
.ap-booking-widget__trigger:focus,
.ap-booking-widget__trigger:active {
	background: var(--e-global-color-apprimary, #6F4A37);
	color: var(--e-global-color-apbgwhite, #FBF8F2);
}

.ap-booking-widget__panel {
	background: var(--e-global-color-apbgwhite, #FBF8F2);
	border: 1px solid var(--e-global-color-apborder, #D8CFC2);
	border-radius: 5px;
	bottom: 0;
	box-shadow: 0 16px 44px rgb(46 43 38 / 20%);
	max-width: calc(100vw - 48px);
	overflow: hidden;
	position: absolute;
	right: 0;
	transform: translateY(16px) scale(.98);
	transform-origin: right bottom;
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
	visibility: hidden;
	width: 392px;
	opacity: 0;
}

.ap-booking-widget[data-state="open"] .ap-booking-widget__panel {
	opacity: 1;
	transform: translateY(0) scale(1);
	visibility: visible;
}

.ap-booking-widget[data-state="open"] .ap-booking-widget__trigger {
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
}

.ap-booking-widget__header {
	align-items: center;
	background: var(--e-global-color-apaccent, #6F9CAF);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	min-height: 72px;
	padding: 16px 20px 16px 24px;
}

.ap-booking-widget__title {
	color: var(--e-global-color-apbgwhite, #FBF8F2);
	font-family: var(--e-global-typography-apheading-font-family), serif;
	font-size: 24px;
	font-weight: var(--e-global-typography-apheading-font-weight, 600);
	line-height: 32px;
	margin: 0;
}

.ap-booking-widget__close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--e-global-color-apbgwhite, #FBF8F2);
	cursor: pointer;
	display: flex;
	flex: 0 0 40px;
	height: 40px;
	justify-content: center;
	padding: 0;
	transition: background-color .2s ease, color .2s ease;
}

.ap-booking-widget__close:hover {
	background: var(--e-global-color-apbgwhite, #FBF8F2);
	color: var(--e-global-color-aptitle1, #2E2B26);
}

.ap-booking-widget__content {
	display: grid;
	gap: 12px;
	padding: 24px;
}

.ap-booking-widget__intro {
	color: var(--e-global-color-apbody01, #4A433A);
	font-family: inherit;
	font-size: var(--e-global-typography-apbodymd-font-size, 16px);
	font-weight: var(--e-global-typography-apbodymd-font-weight, 400);
	line-height: var(--e-global-typography-apbodymd-line-height, 24px);
	margin: 0 0 12px;
}

.ap-booking-widget__button {
	align-items: center;
	border: 1px solid var(--e-global-color-apsecond, #B56F4D);
	border-radius: 5px;
	display: flex;
	font-family: inherit;
	font-size: var(--e-global-typography-apbodymd-font-size, 16px);
	font-weight: 600;
	justify-content: center;
	line-height: var(--e-global-typography-apbodymd-line-height, 24px);
	min-height: 52px;
	padding: 13px 20px;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ap-booking-widget__button--primary {
	background: var(--e-global-color-apsecond, #B56F4D);
	color: var(--e-global-color-apbgwhite, #FBF8F2);
}

.ap-booking-widget__button--primary:hover {
	background: var(--e-global-color-apprimary, #6F4A37);
	border-color: var(--e-global-color-apprimary, #6F4A37);
	color: var(--e-global-color-apbgwhite, #FBF8F2);
}

.ap-booking-widget__button--secondary {
	background: transparent;
	color: var(--e-global-color-aptitle1, #2E2B26);
}

.ap-booking-widget__button--secondary:hover {
	background: var(--e-global-color-aptitle1, #2E2B26);
	border-color: var(--e-global-color-aptitle1, #2E2B26);
	color: var(--e-global-color-apbgwhite, #FBF8F2);
}

.ap-booking-widget button:focus-visible,
.ap-booking-widget a:focus-visible {
	outline: 2px solid var(--e-global-color-apprimary, #6F4A37);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.ap-booking-widget {
		bottom: 16px;
		right: 16px;
	}

	.ap-booking-widget__panel {
		max-width: none;
		width: calc(100vw - 32px);
	}

	.ap-booking-widget__header {
		min-height: 64px;
		padding: 12px 12px 12px 16px;
	}

	.ap-booking-widget__title {
		font-size: 20px;
		line-height: 28px;
	}

	.ap-booking-widget__content {
		padding: 20px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ap-booking-widget__panel,
	.ap-booking-widget__trigger {
		transition: none;
	}
}
