/**
 * Astra global link colors override — dark Xanyon sections.
 * Loaded last so !important wins over parent theme.
 */

.xanyon-contact-dark,
.xanyon-footer {
	color: rgba(255, 255, 255, 0.85);
}

.xanyon-contact-dark a,
.xanyon-contact-dark a:link,
.xanyon-contact-dark a:visited,
.xanyon-footer a,
.xanyon-footer a:link,
.xanyon-footer a:visited {
	color: rgba(255, 255, 255, 0.92) !important;
	text-decoration: none;
}

.xanyon-contact-dark a:hover,
.xanyon-contact-dark a:focus-visible,
.xanyon-footer a:hover,
.xanyon-footer a:focus-visible {
	color: #f9e287 !important;
}

.xanyon-contact-dark p,
.xanyon-contact-dark span,
.xanyon-contact-dark li,
.xanyon-footer p,
.xanyon-footer span,
.xanyon-footer li {
	color: rgba(255, 255, 255, 0.85);
}

.xanyon-contact-dark h1,
.xanyon-contact-dark h2,
.xanyon-contact-dark h3,
.xanyon-contact-dark h4,
.xanyon-footer h4 {
	color: #d4edd9 !important;
}

.xanyon-contact-dark label {
	color: rgba(255, 255, 255, 0.92) !important;
}

.xanyon-contact-dark .text-headline-md {
	color: #fff !important;
}

/* Yol tarifi — always visible yellow button */
.xanyon-directions-btn,
.xanyon-contact-dark a.xanyon-directions-btn,
.xanyon-contact-dark a.xanyon-directions-btn:visited {
	display: inline-flex !important;
	align-items: center;
	gap: 0.75rem;
	background-color: #f6df84 !important;
	color: #163422 !important;
	padding: 1rem 2rem !important;
	border-radius: 0.5rem;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.xanyon-directions-btn:hover,
.xanyon-contact-dark a.xanyon-directions-btn:hover {
	color: #163422 !important;
	filter: brightness(1.06);
}

.xanyon-contact-dark button.bg-secondary-container,
.xanyon-contact-dark .xanyon-form-submit {
	color: #163422 !important;
}

/* Footer contact grid */
.xanyon-footer-contact__row {
	display: grid;
	grid-template-columns: 1.5rem 1fr;
	gap: 0.75rem;
	align-items: start;
}

.xanyon-footer-contact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 0.125rem;
}

.xanyon-footer-contact__text,
.xanyon-footer-contact__link {
	margin: 0;
	font-style: normal;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9) !important;
}

.xanyon-footer-contact__link:hover {
	color: #f9e287 !important;
}

.xanyon-footer-legal,
.xanyon-footer-legal p {
	color: rgba(255, 255, 255, 0.78) !important;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.xanyon-footer .material-symbols-outlined,
.xanyon-contact-dark .material-symbols-outlined.text-secondary-fixed {
	color: #f9e287 !important;
}

.xanyon-footer-contact .xanyon-icon-instagram {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.xanyon-footer a[aria-label="Instagram"] {
	color: #fff !important;
}

.xanyon-footer a[aria-label="Instagram"]:hover {
	color: #f9e287 !important;
}

/* Compact language switcher */
.xanyon-lang-toggle {
	padding: 0.375rem 0.625rem !important;
	font-size: 0.75rem !important;
	line-height: 1 !important;
	background: rgba(255, 255, 255, 0.85) !important;
	border: 1px solid #c2c8c0 !important;
	box-shadow: none !important;
}

.xanyon-lang-toggle .material-symbols-outlined {
	font-size: 1rem !important;
	width: 1rem;
	height: 1rem;
	overflow: hidden;
}

/* Material Symbols — global fix (font ligatures) */
.xanyon-theme .material-symbols-outlined {
	font-family: "Material Symbols Outlined" !important;
	font-weight: normal !important;
	font-style: normal !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	display: inline-block !important;
	white-space: nowrap !important;
	word-wrap: normal !important;
	direction: ltr !important;
	vertical-align: middle !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-feature-settings: "liga" !important;
	font-feature-settings: "liga" !important;
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24 !important;
	overflow: hidden;
	text-overflow: clip;
}

.xanyon-theme .material-symbols-outlined.filled {
	font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24 !important;
}

/* QR landing — hide lang switcher fallback via body class */
.xanyon-page-qr .xanyon-lang-switcher {
	display: none !important;
}

/* QR landing buttons */
.xanyon-qr-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	min-height: 3.5rem;
	padding: 1rem 1.5rem;
	border-radius: 1rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(27, 46, 34, 0.18);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.xanyon-qr-btn:active {
	transform: scale(0.98);
}

.xanyon-qr-btn--reviews {
	background: linear-gradient(135deg, #1b2e22 0%, #163422 55%, #2d4b37 100%) !important;
	color: #fff !important;
}

.xanyon-qr-btn--reviews:hover {
	filter: brightness(1.06);
	box-shadow: 0 6px 18px rgba(27, 46, 34, 0.28);
	color: #fff !important;
}

.xanyon-qr-btn--menus {
	background: linear-gradient(135deg, #f9e287 0%, #f6df84 45%, #dcc66e 100%) !important;
	color: #163422 !important;
}

.xanyon-qr-btn--menus:hover {
	filter: brightness(1.03);
	box-shadow: 0 6px 18px rgba(110, 94, 13, 0.22);
	color: #163422 !important;
}

.xanyon-qr-actions {
	margin-top: 0.5rem;
}

.xanyon-qr-menu-card {
	border: 1px solid rgba(22, 52, 34, 0.08);
}

.xanyon-qr-menu-card:active {
	transform: scale(0.99);
}

.xanyon-qr-picker__back {
	text-decoration: none !important;
}

/* Consent banner */
.xanyon-consent {
	position: fixed;
	z-index: 10050;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1rem;
	padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	pointer-events: none;
}

.xanyon-consent__inner {
	pointer-events: auto;
	max-width: 40rem;
	margin: 0 auto;
	padding: 1.25rem 1.35rem;
	border-radius: 1rem;
	background: #163422;
	color: #f7f4ea;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.xanyon-consent__title {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	font-weight: 800;
}

.xanyon-consent__text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(247, 244, 234, 0.88);
}

.xanyon-consent__link {
	color: #f6df84;
	text-decoration: underline;
}

.xanyon-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.xanyon-consent__btn {
	border: 0;
	border-radius: 0.75rem;
	padding: 0.7rem 1rem;
	font-weight: 700;
	cursor: pointer;
}

.xanyon-consent__btn--accept {
	background: #f6df84;
	color: #163422;
}

.xanyon-consent__btn--reject {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.xanyon-theme #ast-scroll-top {
	background-color: #f6df84 !important;
	color: #163422 !important;
}

/* WhatsApp reservation / contact buttons */
.xanyon-whatsapp-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	line-height: 1.25;
	white-space: nowrap;
	background-color: #25d366 !important;
	color: #fff !important;
}

.xanyon-whatsapp-btn:hover {
	background-color: #1da851 !important;
	color: #fff !important;
}

.xanyon-icon-whatsapp {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
	width: auto;
	height: auto;
	max-width: 1.25rem;
	max-height: 1.25rem;
	color: #25d366;
}

.xanyon-whatsapp-btn .xanyon-icon-whatsapp {
	color: #fff;
	max-width: 1.125rem;
	max-height: 1.125rem;
}

.xanyon-contact-dark .xanyon-icon-whatsapp {
	color: #25d366;
	max-width: 1.375rem;
	max-height: 1.375rem;
}

/* Family section — crop couple photo to single-subject portrait */
.xanyon-img-family {
	object-position: 28% 35%;
	transform: scale(1.18);
}

.xanyon-maps-buttons__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.xanyon-maps-yandex-btn,
.xanyon-maps-apple-btn,
.xanyon-contact-dark a.xanyon-maps-yandex-btn,
.xanyon-contact-dark a.xanyon-maps-apple-btn,
.xanyon-contact-dark a.xanyon-maps-yandex-btn:visited,
.xanyon-contact-dark a.xanyon-maps-apple-btn:visited {
	display: inline-flex !important;
	align-items: center;
	gap: 0.5rem;
	background: transparent !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.55) !important;
	text-decoration: none !important;
}

.xanyon-maps-yandex-btn:hover,
.xanyon-maps-apple-btn:hover,
.xanyon-contact-dark a.xanyon-maps-yandex-btn:hover,
.xanyon-contact-dark a.xanyon-maps-apple-btn:hover {
	color: #f9e287 !important;
	border-color: #f9e287 !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

.xanyon-maps-buttons--light .xanyon-maps-google-btn {
	background-color: #f6df84 !important;
	color: #163422 !important;
}

.xanyon-maps-buttons--light .xanyon-maps-yandex-btn,
.xanyon-maps-buttons--light .xanyon-maps-apple-btn,
.xanyon-maps-buttons--light a.xanyon-maps-yandex-btn:visited,
.xanyon-maps-buttons--light a.xanyon-maps-apple-btn:visited {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.7) !important;
}

.xanyon-maps-buttons--compact .xanyon-maps-buttons__row,
.xanyon-maps-buttons--light .xanyon-maps-buttons__row {
	justify-content: center;
}

/* --- Mobile layout & touch --- */
.xanyon-site-header {
	padding-top: env(safe-area-inset-top, 0);
}

.xanyon-bottom-nav {
	padding-bottom: env(safe-area-inset-bottom, 0);
	min-height: calc(5rem + env(safe-area-inset-bottom, 0));
	z-index: 60;
}

.xanyon-bottom-nav__link {
	min-height: 3.25rem;
	touch-action: manipulation;
}

.xanyon-bottom-nav__link.is-active,
.xanyon-bottom-nav__link.is-active .xanyon-bottom-nav__label {
	color: #163422 !important;
	font-weight: 700;
}

.xanyon-logo-link .xanyon-logo--header {
	max-width: min(9.5rem, 42vw);
	height: auto;
	max-height: 3rem;
	width: auto;
	object-fit: contain;
}

@media (max-width: 767px) {
	:root {
		--xanyon-mobile-nav-offset: calc(5.75rem + env(safe-area-inset-bottom, 0px));
	}

	.xanyon-whatsapp-btn {
		white-space: normal;
		text-align: center;
	}

	.xanyon-directions-btn,
	.xanyon-contact-dark a.xanyon-directions-btn,
	.xanyon-maps-yandex-btn,
	.xanyon-maps-apple-btn {
		padding: 0.875rem 1.25rem !important;
	}

	.xanyon-maps-buttons__row {
		width: 100%;
	}

	.xanyon-maps-buttons__row > a {
		flex: 1 1 calc(50% - 0.375rem);
		justify-content: center;
		min-width: 0;
	}

	.xanyon-theme #ast-scroll-top {
		bottom: var(--xanyon-mobile-nav-offset) !important;
		right: 0.75rem !important;
		z-index: 55 !important;
	}

	#trustedsite-tm-float,
	#trustedsite-tm-image,
	.trustedsite-tm-float,
	[id*="trustedsite"],
	iframe[src*="trustedsite"] {
		bottom: var(--xanyon-mobile-nav-offset) !important;
		right: 4.5rem !important;
		z-index: 50 !important;
	}
}

@media (max-width: 359px) {
	.xanyon-bottom-nav__label {
		font-size: 10px;
		max-width: 3.75rem;
	}
}

/* --- Accessibility --- */
.xanyon-skip-link {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	z-index: 100;
	padding: 0.625rem 1rem;
	border-radius: 0.5rem;
	background: #163422;
	color: #fff !important;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform 0.15s ease;
}

.xanyon-skip-link:focus,
.xanyon-skip-link:focus-visible {
	transform: translateY(0);
	outline: 3px solid #f6df84;
	outline-offset: 2px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.xanyon-theme a:focus-visible,
.xanyon-theme button:focus-visible,
.xanyon-theme input:focus-visible,
.xanyon-theme textarea:focus-visible,
.xanyon-theme select:focus-visible {
	outline: 3px solid #f6df84;
	outline-offset: 2px;
}

.xanyon-bottom-nav__link:focus-visible {
	background: rgba(246, 223, 132, 0.25);
	border-radius: 0.75rem;
}

.xanyon-footer h4 {
	color: #d4edd9 !important;
}

@media (prefers-reduced-motion: reduce) {
	.xanyon-theme *,
	.xanyon-theme *::before,
	.xanyon-theme *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
