.booking {
	--booking-background: var(--booking-widget);

	position: relative;
	color: var(--foreground);

	z-index: 5;
	background-color: var(--booking-background);
	transform: translateY(calc(var(--bookingtabs-height) * -1));
	/* margin-bottom: -3rem; */
}

.book-now-submit-form {
	padding: 1rem;
}
.booking.on-scroll {
	transform: translateY(-4rem) !important;
}
.book-widget {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
.book-widget-layout-2 {
	margin-top: 1.5rem;
}
.book-widget-layout-2 .book-item::after {
	display: none;
}
.time-list {
	max-height: 250px;
	overflow-y: scroll;
}
.time-list::-webkit-scrollbar {
	width: 6px;
}
.time-list::-webkit-scrollbar-track {
	background-color: rgba(91, 91, 91, 0.2078431373) !important;
	padding-left: 2px;
}
.time-list::-webkit-scrollbar-thumb {
	background-color: #acacac;
}
.book-widget-layout-2 input[type='text'],
.book-widget-layout-2 input[type='email'],
.book-widget-layout-2 input[type='number'] {
	border: 0;
	background-color: var(--background);
}
.widget-layout-2 {
	padding: 1.775rem 1.5rem;
}
.widget-layout-2 .book-item:not(:last-child) {
	margin-bottom: 1.5rem;
}
.book-item {
	position: relative;
}
.book-item:after {
	content: '';
	position: absolute;
	bottom: 0;
	height: 1px;
	width: 100%;
	background-color: var(--accent);
	left: 0;
	bottom: -1rem;
}
.book-item.no-border::after,
.book-item:last-of-type::after {
	display: none;
}
.book-select {
	/* padding: 0 0 1rem 0; */
	cursor: pointer;
	display: block;
}
.book-list {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	background: var(--background);
	padding: 1.5rem;
	transform: translateY(-0.5rem);
	transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.48, 0.52) 0s;
	visibility: hidden;
	height: 0;
	z-index: 2;
	box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.5);
}
.book-list.active {
	height: auto;
	visibility: visible;
	transform: translateY(0);
	transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.48, 0.52) 0s;
}
.book-list-item {
	font-size: var(--text-sm);
	cursor: pointer;
}

.book-list-itemx {
	font-size: var(--text-sm);
	padding: 0.575rem 0;
	font-weight: 600;
}
.book-list-item:hover {
	color: #ffb084;
}
.action-booking {
	display: flex;

	padding: 0;
	width: 100%;

	padding: 0;
	height: auto;
	margin-left: auto;
	align-self: flex-end;
}

.book-now-submit-form {
	max-width: 1024px;
	margin: auto;
}

.action-booking .btn {
	height: 100%;
	width: 100%;
	font-size: var(--text-base);
	padding-block: 1rem;
	padding-inline: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.book-label {
	display: block;
	margin-bottom: 8px;
	font-size: var(--text-xs);
	font-family: 'Figtree', sans-serif;
	font-weight: 200;
	text-transform: uppercase;
}
.book-details {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #959595;
	font-family: 'Figtree', sans-serif;
}
.book-details .icon-down-open-big {
	color: #ffb084;
	transform: rotate(0);
}
.book-details .icon-down-open-big.active {
	transform: rotate(-180deg);
}
.book-details .icon-light-date {
	color: #ffb084;
}
.book-details .text-changed {
	color: #ffb084 !important;
	font-weight: 500;
}
.book-details .selected-item {
	overflow: hidden;
	white-space: nowrap;
	margin-right: 8px;
}
.book-details .booking-date {
	z-index: 1;
}
.book-details .icon-light-date {
	position: absolute;
	right: 0;
}

.booking-tab {
	display: flex;
}
.booking-tab a {
	text-align: center;
	width: 50%;
	background-color: var(--bookingtabs-background);
	color: var(--foreground);
	text-transform: uppercase;
	font-size: var(--text-xs);
	font-weight: bold;
	height: var(--bookingtabs-height);
	place-content: center;
}
.booking-tab a span {
	display: none;
	margin-right: 11px;
}

.booking-tab a.active {
	background-color: transparent;
}

.booking-tab-content {
	display: none;
}
.booking-tab-content.active {
	display: block;
}
.booking-tab-content .book-widget {
}
.booking-tab-content .book-item {
	display: flex;
	align-items: center;
	height: 3.5rem;
}
.booking-tab-content .book-select {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	width: 100%;
	/* padding: 1rem; */
}
.booking-tab-content .book-select:has(.jdine_resto) {
	border: 1px solid var(--accent);
	padding: 0.75rem;
}
.booking-tab-content .date-select .book-details {
	width: 100%;
}
.booking-tab-content .book-details {
	display: flex;
	align-items: center;
	width: 100%;
}
.booking-tab-content .solaire-icon {
	display: flex;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	align-items: center;
	color: #989898;
	margin-top: -3px;
}
.booking-tab-content .icon-down-open-big {
	margin-left: auto;
}
.booking-tab-content .book-item {
	flex-direction: column;
	width: 100%;
}

.booking-tab-content .book-widget {
	align-items: center;
}
.booking-tab-content .book-list {
	width: 100%;
	z-index: 3;
}

.book-direct-benefits {
	margin-top: 1rem;
	padding: 0 1rem 1.5rem;
}

.direct-first-container {
	text-align: center;
	border-radius: 20px;
	border: 1px solid #424242;
	gap: 2.5rem;
}
.direct-wrapper {
	display: flex;
	flex-wrap: wrap;

	padding: 1rem 1.5rem;
}
.direct-wrapper-2 {
	display: flex;
	flex-wrap: wrap;
	padding-top: 1.5rem;
}
.direct-wrapper-2 .book-direct-item {
	gap: 1rem;
	width: 100%;
}
.direct-wrapper-2 .book-direct-item:not(:last-child) {
	margin-bottom: 1.5rem;
}
.direct-wrapper-2 .book-direct-item span {
	color: var(--foreground);
}
.direct-wrapper-2 .book-direct-item span::before {
	height: 3.5rem;
	width: 3.5rem;
	font-size: var(--text-lg);
	color: var(--foreground);
	background-color: var(--background-accent);
}

.book-direct-item {
	display: flex;
	align-items: center;
	font-size: var(--text-sm);
	margin-bottom: 1rem;
	text-align: left;
	gap: 1.25rem;
	line-height: 1.35;
	padding-right: 2rem;
}
.book-direct-item span::before {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--background);
	background-color: #fbbe75;
	border-radius: 50px;
	font-size: 1.5rem;
	height: 2.75rem;
	width: 2.75rem;
}

.direct-title {
	display: flex;
	align-items: center;
	justify-content: center;
}
.direct-title span {
	display: block;
	background-color: var(--booking-background);
	text-transform: uppercase;
	color: #fbbe75;
	margin-top: -0.75rem;
	padding: 0 1rem;
}

.layout:has(.booking) + * {
	margin-top: calc(var(--bookingtabs-height) * -1);
}

.jdine_form {
	width: 1024px;
	max-width: 100%;
	margin: auto;
}

@media only screen and (min-width: 550px) {
	.book-now-submit-form {
		padding: 2rem;
	}
	.book-direct-benefits {
		margin-top: 0;
		padding-inline: 2rem;
	}
}

@media only screen and (min-width: 768px) {
	.book-direct-item {
		flex: 0 0 50%;
	}

	.booking-tab a {
		font-size: var(--text-base);
	}
}

@media only screen and (min-width: 1024px) {
	.booking {
		margin-inline: auto;
	}

	.book-widget {
		flex-direction: row;
	}

	.booking-tab-content .book-item:not(:last-child) {
		padding-right: 4rem;
	}
	.book-direct-item {
		flex: 0 0 25%;
	}
	.book-item:after {
		top: 0;
		right: 2rem;
		height: 100%;
		width: 1px;
		left: auto;
	}

	.action-booking {
		max-width: max-content;
	}
}
