
/*
 * Elementor can occasionally leave this widget wrapper with the stale
 * `elementor-invisible` entrance-animation class on cached live pages.
 * This safeguard is deliberately scoped to this plugin's widget only.
 * It does not alter sticky containers or any other Elementor element.
 */
.elementor-widget-triptook_fullscreen_menu.elementor-invisible {
	visibility: visible !important;
	opacity: 1 !important;
}

.ttem-widget {
	--ttem-toggle-color: #242424;
	--ttem-toggle-open-color: #ffffff;
	--ttem-icon-width: 28px;
	--ttem-icon-height: 22px;
	--ttem-line-thickness: 2px;
	--ttem-line-gap: 7px;
	--ttem-overlay-z: 2147483645;
	--ttem-transition-duration: 600ms;
	--ttem-underline-color: #d6b168;
	--ttem-underline-thickness: 2px;
	--ttem-underline-gap: 5px;
	--ttem-choice-text-color: #ffffff;
	--ttem-choice-off-color: rgba(255, 255, 255, 0.28);
	--ttem-choice-on-color: #d6b168;
	--ttem-choice-thumb-color: #ffffff;
	--ttem-choice-width: 42px;
	--ttem-choice-height: 22px;
	--ttem-choice-gap: 8px;
	--ttem-menu-align: center;
	position: relative;
}

.ttem-widget,
.ttem-widget * {
	box-sizing: border-box;
}

.ttem-toggle-wrap {
	position: relative;
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.ttem-toggle {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	padding: 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ttem-toggle-color);
	font: inherit;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ttem-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ttem-toggle-icon {
	position: relative;
	display: block;
	width: var(--ttem-icon-width);
	height: var(--ttem-icon-height);
}

.ttem-toggle-line {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: var(--ttem-icon-width);
	height: var(--ttem-line-thickness);
	border-radius: 999px;
	background: var(--ttem-toggle-color);
	transform-origin: center;
	transition: transform 260ms cubic-bezier(.2,.8,.2,1), opacity 160ms ease;
}

.ttem-toggle-line--1 {
	transform: translate(-50%, calc(-50% - var(--ttem-line-gap)));
}

.ttem-toggle-line--2 {
	transform: translate(-50%, -50%);
}

.ttem-toggle-line--3 {
	transform: translate(-50%, calc(-50% + var(--ttem-line-gap)));
}

/*
 * Apply the configured colors directly to the bars. This prevents Astra or
 * another theme's button :focus/:hover color from turning the hamburger white
 * after the close button is clicked.
 */
.ttem-widget:not(.is-open) .ttem-toggle-line {
	background-color: var(--ttem-toggle-color) !important;
}

.ttem-widget.is-open .ttem-toggle-line {
	background-color: var(--ttem-toggle-open-color) !important;
}

.ttem-widget.is-open .ttem-toggle-line--1 {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ttem-widget.is-open .ttem-toggle-line--2 {
	opacity: 0;
}

.ttem-widget.is-open .ttem-toggle-line--3 {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.ttem-overlay[hidden] {
	display: none !important;
}

.ttem-overlay {
	position: fixed;
	inset: 0;
	z-index: var(--ttem-overlay-z);
	display: grid;
	place-items: center;
	width: 100vw;
	height: 100dvh;
	min-height: 100vh;
	padding: 32px;
	overflow: hidden;
	background: #230000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--ttem-transition-duration) ease, visibility 0s linear var(--ttem-transition-duration);
}

.ttem-overlay.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.ttem-backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ttem-panel {
	position: relative;
	z-index: 1;
	width: min(100%, 1100px);
	max-height: calc(100dvh - 64px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	transform: translate3d(0, 0, 0);
	transition: opacity calc(var(--ttem-transition-duration) * .72) ease, transform var(--ttem-transition-duration) cubic-bezier(.16,1,.3,1);
}

.ttem-animation--scale .ttem-panel {
	transform: scale(.92);
}

.ttem-animation--slide-left .ttem-panel {
	transform: translate3d(-42px, 0, 0);
}

.ttem-animation--slide-right .ttem-panel {
	transform: translate3d(42px, 0, 0);
}

.ttem-animation--slide-up .ttem-panel {
	transform: translate3d(0, 42px, 0);
}

.ttem-overlay.is-visible .ttem-panel {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}


.ttem-link-choice {
	position: absolute;
	top: max(24px, env(safe-area-inset-top));
	right: max(24px, env(safe-area-inset-right));
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: auto;
	max-width: calc(100vw - 96px);
	margin: 0;
}

.ttem-link-choice-label {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: var(--ttem-choice-gap);
	max-width: 100%;
	margin: 0;
	color: var(--ttem-choice-text-color);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}

.ttem-link-choice-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.ttem-link-choice-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	width: var(--ttem-choice-width);
	height: var(--ttem-choice-height);
	padding: 3px;
	border-radius: 999px;
	background: var(--ttem-choice-off-color);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
	transition: background-color 200ms ease, box-shadow 200ms ease;
}

.ttem-link-choice-thumb {
	display: block;
	width: calc(var(--ttem-choice-height) - 6px);
	height: calc(var(--ttem-choice-height) - 6px);
	border-radius: 50%;
	background: var(--ttem-choice-thumb-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transform: translateX(0);
	transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}

.ttem-link-choice-input:checked ~ .ttem-link-choice-switch {
	background: var(--ttem-choice-on-color);
}

.ttem-link-choice-input:checked ~ .ttem-link-choice-switch .ttem-link-choice-thumb {
	transform: translateX(calc(var(--ttem-choice-width) - var(--ttem-choice-height)));
}

.ttem-link-choice-input:focus-visible ~ .ttem-link-choice-switch {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.ttem-link-choice-text {
	display: inline-block;
	min-width: 0;
	color: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.ttem-nav {
	width: 100%;
}

.ttem-menu,
.ttem-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ttem-menu {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ttem-menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.ttem-menu li > a {
	display: flex;
	align-items: center;
	justify-content: var(--ttem-menu-align);
	width: 100%;
	color: #ffffff;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

/*
 * Optional text-only hit area. The real anchor remains fully functional but
 * shrinks from the full menu row to the visible label width. This avoids the
 * pointer-events technique that could make the link impossible to activate.
 */
.ttem-text-click-only--yes .ttem-menu li:not(.menu-item-has-children) {
	display: flex;
	justify-content: var(--ttem-menu-align);
}

.ttem-text-click-only--yes .ttem-menu li > a {
	width: max-content;
	max-width: 100%;
	justify-content: flex-start;
}

.ttem-text-click-only--yes .ttem-menu .menu-item-has-children > a {
	justify-self: var(--ttem-menu-align);
}

/* Remove Astra/browser dotted click outlines while preserving a clean keyboard focus state. */
.ttem-widget .ttem-menu li > a:focus,
.ttem-widget .ttem-menu li > a:active {
	outline: none !important;
	box-shadow: none !important;
}

.ttem-widget .ttem-menu li > a:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 2px currentColor !important;
	border-radius: 2px;
}

.ttem-menu li > a:hover,
.ttem-menu li > a:focus-visible {
	color: #d6b168;
}

.ttem-link-text {
	position: relative;
	display: inline-block;
}

.ttem-underline--yes .ttem-link-text::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: calc(-1 * var(--ttem-underline-gap));
	width: 100%;
	height: var(--ttem-underline-thickness);
	border-radius: 999px;
	background: var(--ttem-underline-color);
	transform: scaleX(0);
	transform-origin: center;
	opacity: 0;
	pointer-events: none;
	transition: transform 240ms cubic-bezier(.2,.8,.2,1), opacity 180ms ease;
}

.ttem-underline--yes .ttem-menu li > a:hover .ttem-link-text::after,
.ttem-underline--yes .ttem-menu li > a:focus-visible .ttem-link-text::after {
	transform: scaleX(1);
	opacity: 1;
}

.ttem-menu .current-menu-item > a,
.ttem-menu .current-menu-ancestor > a,
.ttem-menu .current_page_item > a {
	color: #d6b168;
}

.ttem-menu .menu-item-has-children {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
}

.ttem-menu .menu-item-has-children > a {
	grid-column: 1;
}

.ttem-submenu-toggle {
	grid-column: 2;
	position: relative;
	width: 36px;
	height: 36px;
	margin-left: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: currentColor;
	cursor: pointer;
	appearance: none;
}

.ttem-submenu-toggle::before,
.ttem-submenu-toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 180ms ease;
}

.ttem-submenu-toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.ttem-submenu-toggle[aria-expanded="true"]::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.ttem-submenu-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.ttem-menu .sub-menu {
	grid-column: 1 / -1;
	width: 100%;
	padding-top: 12px;
	padding-left: 24px;
}

.ttem-menu .sub-menu[hidden] {
	display: none !important;
}

.ttem-menu .sub-menu li + li {
	margin-top: 10px;
}

body.ttem-scroll-locked {
	overflow: hidden !important;
	touch-action: none;
}

.ttem-editor-message {
	padding: 14px 16px;
	border: 1px dashed #c8c8c8;
	background: #f7f7f7;
	color: #333333;
	font-family: Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
}


@media (max-width: 1024px) {
	/* Requested compact visitor-control label on tablet and mobile. */
	.elementor-widget-triptook_fullscreen_menu .ttem-link-choice-text {
		font-size: 8px !important;
	}
}

@media (max-width: 767px) {
	.ttem-overlay {
		padding: 24px;
	}

	.ttem-link-choice {
		top: max(18px, env(safe-area-inset-top));
		right: max(18px, env(safe-area-inset-right));
		max-width: calc(100vw - 72px);
	}

	.ttem-panel {
		max-height: calc(100dvh - 48px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ttem-toggle,
	.ttem-toggle-line,
	.ttem-overlay,
	.ttem-panel,
	.ttem-menu a,
	.ttem-link-choice-switch,
	.ttem-link-choice-thumb,
	.ttem-submenu-toggle::after {
		transition-duration: 1ms !important;
	}
}

/*
 * Frontend cache compatibility: keep the generated title wrapper paintable
 * even when a theme applies unusual overflow or text-decoration rules.
 */
.ttem-widget.ttem-underline--yes .ttem-menu li > a > .ttem-link-text {
	position: relative !important;
	display: inline-block !important;
	overflow: visible !important;
	text-decoration: none !important;
}

.ttem-widget.ttem-underline--yes .ttem-menu li > a:hover > .ttem-link-text::after,
.ttem-widget.ttem-underline--yes .ttem-menu li > a:focus-visible > .ttem-link-text::after {
	transform: scaleX(1) !important;
	opacity: 1 !important;
}

/*
 * Optional viewport-top safeguard. JavaScript applies the exact correction
 * when a transformed sticky ancestor would otherwise offset the fixed popup.
 */
.ttem-widget.ttem-viewport-top--yes .ttem-overlay {
	position: fixed !important;
	width: 100vw !important;
	height: 100dvh !important;
	min-height: 100vh !important;
}
