html:has(body.albizia-booking-page),
html:has(body.page-template-page-buchen),
html:has(body.page-slug-buchen) {
	--wp--preset--color--base: #ffffff !important;
	background: #ffffff !important;
}

body.page-template-page-buchen,
body.page-slug-buchen,
body.albizia-booking-page {
	--wp--preset--color--base: #ffffff !important;
	font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #2a2118;
	min-height: 100vh;
	overflow-x: hidden;
}

body.albizia-booking-page .wp-site-blocks,
body.albizia-booking-page #page,
body.albizia-booking-page #content,
body.albizia-booking-page .site-content,
body.albizia-booking-page .entry-content {
	background: #ffffff !important;
}

:root {
	--albizia-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--albizia-text: #212121;
}

.albizia-booking,
.albizia-booking *,
.albizia-booking *::before,
.albizia-booking *::after,
.albizia-booking__top-bar,
.albizia-booking__top-bar * {
	box-sizing: border-box;
}

.albizia-logo {
	display: inline-flex;
	align-items: center;
}

.albizia-booking {
	position: relative;
	min-height: calc(100vh - 2rem);
	padding: 5.25rem 1.75rem 4.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.25rem;
	isolation: isolate;
	background-color: #ffffff !important;
}

.albizia-booking__notice {
	position: fixed;
	top: 104px;
	right: 24px;
	z-index: 999999;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	max-width: 480px;
	padding: 14px 16px 14px 14px;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(207, 126, 0, 0.2);
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(38, 30, 20, 0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
	transition: opacity 0.24s var(--albizia-ease), transform 0.24s var(--albizia-ease);
}

.albizia-booking__notice.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.albizia-booking__notice-icon {
	display: none;
}

.albizia-booking__notice-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #2a2118;
}

.albizia-booking__notice-title {
	margin: 0;
	font-weight: 700;
	font-size: 1rem;
}

.albizia-booking__notice-text {
	margin: 0;
}

.albizia-booking__notice-action {
	margin: 0;
}

.albizia-booking__notice-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: #cf7e00;
	text-decoration: none;
	transition: color 0.2s var(--albizia-ease), transform 0.2s var(--albizia-ease);
}

.albizia-booking__notice-link::after {
	content: "→";
	display: inline-block;
	transform: translateY(-1px);
}

.albizia-booking__notice-link:hover {
	color: #b86f00;
	transform: translateX(1px);
}

.albizia-booking__notice-link:focus-visible {
	outline: 2px solid #cf7e00;
	outline-offset: 4px;
	border-radius: 6px;
}

.albizia-booking__notice-close {
	appearance: none;
	border: none;
	background: transparent;
	color: #4a3a2c;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	padding: 6px;
	margin: -4px -4px 0 6px;
	border-radius: 10px;
	transition: background 0.2s var(--albizia-ease), color 0.2s var(--albizia-ease);
}

.albizia-booking__notice-close:hover {
	background: rgba(0, 0, 0, 0.06);
	color: #cf7e00;
}

.albizia-booking__notice-close:focus-visible {
	outline: 2px solid #cf7e00;
	outline-offset: 2px;
}

.admin-bar .albizia-booking__notice {
	top: 136px;
}

.albizia-top-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 76px;
	padding: 0 16px;
	background: transparent;
	box-shadow: none;
	transition:
		box-shadow 0.4s var(--albizia-ease),
		background 0.4s var(--albizia-ease);
	z-index: 999998;
}

.albizia-top-bar__logo {
	text-decoration: none;
}

.albizia-top-bar__logo:hover {
	opacity: 0.9;
}

.albizia-top-bar__logo-picture {
	display: flex;
}

.albizia-top-bar__inner {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
}

.albizia-top-bar__logo-image {
	display: block;
	width: auto;
	height: 84px;
	padding-top: 0;
	margin-top: 6px;
	transition: opacity 0.3s var(--albizia-ease);
}

.albizia-top-bar--visible {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 12px 32px rgba(33, 33, 33, 0.08);
}

.albizia-top-bar--visible .albizia-language-switcher__toggle {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.albizia-top-bar--visible .albizia-language-switcher:hover .albizia-language-switcher__toggle,
.albizia-top-bar--visible .albizia-language-switcher.is-open .albizia-language-switcher__toggle {
	background: rgba(0, 0, 0, 0.03);
}

.albizia-language-switcher {
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	z-index: 20;
}

.albizia-booking__top-bar .albizia-language-switcher,
.albizia-booking__top-bar .albizia-language-switcher__toggle,
.albizia-booking__top-bar .albizia-language-switcher__item {
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
	font-weight: 600;
}

.albizia-language-switcher__toggle {
	appearance: none;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(33, 33, 33, 0.08);
	border-radius: 999px;
	padding: 8px 18px;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
	color: var(--albizia-text);
	box-shadow: 0 12px 30px rgba(33, 33, 33, 0.08);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	transition: all 0.3s var(--albizia-ease);
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
}

.albizia-language-switcher:hover .albizia-language-switcher__toggle,
.albizia-language-switcher.is-open .albizia-language-switcher__toggle {
	background: #ffffff;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.albizia-language-switcher__flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 16px;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.albizia-language-switcher__flag svg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.albizia-language-switcher__arrow {
	margin-left: 2px;
	opacity: 0.6;
	transition: transform 0.3s var(--albizia-ease);
}

.albizia-language-switcher.is-open .albizia-language-switcher__arrow {
	transform: rotate(180deg);
}

.albizia-language-switcher__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	padding: 8px;
	min-width: 150px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s var(--albizia-ease);
	border: 1px solid rgba(0, 0, 0, 0.05);
	pointer-events: none;
}

.albizia-language-switcher.is-open .albizia-language-switcher__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.albizia-language-switcher__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 8px;
	text-decoration: none;
	color: #212121;
	transition: background 0.2s var(--albizia-ease);
	font-size: 0.9rem;
}

.albizia-language-switcher__item:hover {
	background: rgba(0, 0, 0, 0.04);
}

.albizia-language-switcher__item.is-active {
	background: rgba(0, 0, 0, 0.04);
	font-weight: 700;
}

.albizia-booking__top-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 76px;
	padding: 0 16px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 40px rgba(41, 23, 8, 0.08);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	z-index: 99999;
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.albizia-booking__top-bar .albizia-top-bar__inner {
	justify-content: center;
}

.albizia-booking__top-bar .albizia-top-bar__logo-image {
	height: 82px;
	margin-top: 4px;
}

.admin-bar .albizia-booking__top-bar {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .albizia-booking__top-bar {
		top: 46px;
	}
}

.admin-bar .albizia-top-bar {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .albizia-top-bar {
		top: 46px;
	}
}

@media (max-width: 768px) {
	.albizia-top-bar {
		height: 76px;
		padding: 0 12px;
		background: transparent;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.albizia-top-bar__inner {
		padding-right: 0;
	}

	.albizia-language-switcher {
		left: 12px;
	}

	.albizia-top-bar__logo-image {
		height: 80px;
		margin-top: 4px;
	}

	.albizia-top-bar--visible {
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 12px 32px rgba(33, 33, 33, 0.08);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
	}
}

@media (max-width: 640px) {
	.albizia-language-switcher__toggle {
		padding: 6px 14px;
		font-size: 0.8rem;
	}

	.albizia-language-switcher__menu {
		min-width: 130px;
	}

	.albizia-language-switcher__item {
		font-size: 0.8rem;
		padding: 8px 12px;
	}
}

.albizia-booking__viewport {
	width: 100%;
	max-width: 1220px;
	background: #F4F4F4;
	border-radius: 36px;
	padding: 1.75rem 2.5rem 2.5rem;
	box-shadow: 0 35px 80px rgba(125, 103, 79, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.albizia-booking__frame {
	margin-top: 0;
	overflow: hidden;
	background: #F4F4F4;
}

#albizia-booking-iframe,
.albizia-booking__frame iframe {
	width: 100% !important;
	border: none !important;
	border-radius: 24px;
	display: block;
	background: #F4F4F4;
	min-height: 800px;
	margin-bottom: -35px;
}

.albizia-booking__engine-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.65rem 0.9rem;
	margin-bottom: 0.65rem;
	padding: 0.65rem 0.8rem;
	border-radius: 10px;
	border: 1px solid rgba(42, 33, 24, 0.12);
	background: linear-gradient(135deg, rgba(249, 247, 244, 0.92), rgba(255, 255, 255, 0.98));
	color: #2a2118;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 8px 18px rgba(0, 0, 0, 0.05);
	font-size: 0.95rem;
	width: calc(100% - 1.5rem);
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.albizia-booking__engine-note-text {
	margin: 0;
	font-weight: 600;
	line-height: 1.4;
	flex: 1 1 auto;
}

.albizia-booking__engine-note-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	flex: 0 0 auto;
}

.albizia-booking__engine-note-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.68rem 1.1rem;
	border-radius: 12px;
	background: linear-gradient(135deg, #ffa62b, #f08c00);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.01em;
	font-size: 0.95rem;
	text-decoration: none;
	box-shadow:
		0 14px 30px rgba(240, 140, 0, 0.25),
		0 6px 16px rgba(0, 0, 0, 0.08);
	transition:
		transform 0.2s var(--albizia-ease),
		box-shadow 0.2s var(--albizia-ease),
		background 0.25s var(--albizia-ease),
		border-color 0.25s var(--albizia-ease);
}

.albizia-booking__engine-note-button:hover {
	background: linear-gradient(135deg, #ffb347, #ff9800);
	box-shadow:
		0 18px 36px rgba(240, 140, 0, 0.32),
		0 8px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.albizia-booking__engine-note-button:focus-visible {
	outline: 2px solid rgba(42, 33, 24, 0.9);
	outline-offset: 3px;
	background: linear-gradient(135deg, #ffae42, #ff9800);
}

@media (max-width: 1024px) {
	.albizia-booking {
		padding: 4rem 1.25rem 3.5rem;
	}

	.albizia-booking__viewport {
		padding: 1.5rem 1.75rem 1.75rem;
	}
}

@media (max-width: 768px) {
	.albizia-top-bar {
		height: 76px;
		padding: 0 12px;
		top: 0;
	}

	.albizia-top-bar__logo-image {
		height: 84px;
		margin-top: 6px;
	}

	.albizia-booking {
		padding: 3.75rem 1rem 2.75rem;
	}

	.albizia-booking__viewport {
		padding: 1.25rem 1.25rem 1.5rem;
	}

	#albizia-booking-iframe,
	.albizia-booking__frame iframe {
		border-radius: 20px;
	}

	.albizia-booking__notice {
		top: 86px;
		left: 12px;
		right: 12px;
	}

	.albizia-booking__engine-note {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.55rem 0.75rem;
	}

	.albizia-booking__engine-note-text {
		flex: 1 1 100%;
	}

	.albizia-booking__engine-note-actions {
		width: 100%;
		justify-content: flex-start;
		flex: 0 0 auto;
	}

}

.page-template-page-buchen .wp-site-blocks footer,
.page-slug-buchen .wp-site-blocks footer,
.page-template-page-buchen .site-footer,
.page-slug-buchen .site-footer {
	display: none;
}

.albizia-booking-page .albizia-footer,
.albizia-footer {
	width: 100%;
	padding: 1rem;
	background: #ffffff !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.albizia-footer-content {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.albizia-footer-row {
	margin: 0.25rem 0;
	font-size: 0.875rem;
}

.albizia-footer-row:last-child {
	font-weight: 600;
}

.albizia-footer-address {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	flex-wrap: nowrap;
}

.albizia-footer-address-line {
	white-space: nowrap;
}

.albizia-footer-link {
	color: inherit;
	text-decoration: none;
	margin: 0 0.75rem;
}

.albizia-footer-link:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.albizia-footer-link {
		margin: 0 0.5rem;
	}

	.albizia-footer-address {
		gap: 0.4rem;
	}
}
