/* =====================================================================
 * AAFE Off-Canvas Drawer
 * ===================================================================== */

/* aafe:isolated */
/* =====================================================================
 * Isolation from the theme & Elementor Site Settings (Theme Style).
 * The widget shows only its own design by default; global colors and
 * fonts apply when picked from a control's Globals picker.
 * Rules below are scoped with ".elementor" so they outrank Theme Style
 * selectors (0,1,1 / 0,2,1 on :hover) while Elementor control CSS
 * ({{WRAPPER}} = 0,4,0) still wins.
 * ===================================================================== */
.elementor :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) {
	font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #334155;
}

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea, label, legend, th, td, caption, li, blockquote, small):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) {
	font-family: inherit;
	font-style: inherit;
	letter-spacing: inherit;
	word-spacing: inherit;
	text-transform: inherit;
}

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h1, h2, h3, h4, h5, h6):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) {
	color: inherit;
	font-weight: 500;
	line-height: 1.2;
}
html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h1):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) { font-size: 2.5rem; }
html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h2):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) { font-size: 2rem; }
html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h3):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) { font-size: 1.75rem; }
html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h4):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) { font-size: 1.5rem; }
html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h5):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) { font-size: 1.25rem; }
html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(h6):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) { font-size: 1rem; }

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(label, legend):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(a):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)):where(:not(.aafe-oc__body *)) {
	color: inherit;
	text-decoration: none;
}

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(button, [type="button"], [type="submit"], [type="reset"]):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) {
	background-color: transparent;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
}

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(img):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) {
	border-style: none;
	border-radius: 0;
	box-shadow: none;
	opacity: 1;
	filter: none;
}

/* Theme Style :hover / :focus states (0,2,1). Kept above the widget rules
 * so the widget's own state rules still win. */
html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(button, [type="button"], [type="submit"], [type="reset"]):is(:hover, :focus, :focus-visible, :active):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) {
	background-color: transparent;
	color: inherit;
	box-shadow: none;
	text-shadow: none;
}

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(a):is(:hover, :focus, :focus-visible, :active):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)):where(:not(.aafe-oc__body *)) {
	color: inherit;
}

html body :is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) :where(img):is(:hover, :focus):where(:not(:is(.elementor-widget-aafe_off_canvas_drawer, .aafe-oc) .elementor-element *)) {
	box-shadow: none;
	opacity: 1;
	filter: none;
}
/* aafe:isolated:end */

/* ---------- Trigger ---------- */
.elementor .aafe-oc-trigger-wrap {
	display: flex;
	align-items: center;
}

.elementor .aafe-oc-trigger,
html body .elementor .aafe-oc-trigger:where(:hover, :focus, :focus-visible, :active) {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	font: inherit;
	line-height: 1;
	background: transparent;
	border: 0 solid transparent;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.elementor .aafe-oc-trigger:focus-visible {
	outline: 2px solid #6366f1;
	outline-offset: 3px;
}

.elementor .aafe-oc-trigger--button,
html body .elementor .aafe-oc-trigger--button:where(:hover, :focus, :focus-visible, :active) {
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background-color: #6366f1;
	border-radius: 8px;
	line-height: 1.2;
}

.elementor .aafe-oc-trigger--button:hover {
	color: #fff;
	background-color: #4f46e5;
}

.elementor .aafe-oc-trigger--icon,
html body .elementor .aafe-oc-trigger--icon:where(:hover, :focus, :focus-visible, :active) {
	padding: 8px;
	font-size: 22px;
	color: #0f172a;
}

.elementor .aafe-oc-trigger__icon {
	display: inline-flex;
	line-height: 1;
}

.elementor .aafe-oc-trigger__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.elementor .aafe-oc-editor-badge,
html body .elementor .aafe-oc-editor-badge:where(:hover, :focus, :focus-visible, :active) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px dashed #94a3b8;
	border-radius: 6px;
	font: inherit;
	font-size: 12px;
	line-height: 1.4;
	color: #64748b;
	background: #f8fafc;
	cursor: pointer;
}

.elementor .aafe-oc-editor-badge:hover {
	border-color: #6366f1;
	color: #6366f1;
}

.elementor .aafe-oc-hamburger__label {
	line-height: 1;
}

/* ---------- Hamburger ---------- */
.elementor .aafe-oc-hamburger,
html body .elementor .aafe-oc-hamburger:where(:hover, :focus, :focus-visible, :active) {
	--aafe-hb-w: 24px;
	--aafe-hb-t: 2px;
	--aafe-hb-g: 6px;
	padding: 8px;
	color: #0f172a;
}

.elementor .aafe-oc-hamburger__box {
	position: relative;
	display: block;
	width: var(--aafe-hb-w);
	height: calc(var(--aafe-hb-t) * 3 + var(--aafe-hb-g) * 2);
}

.elementor .aafe-oc-hamburger__box span {
	position: absolute;
	left: 0;
	width: 100%;
	height: var(--aafe-hb-t);
	background: currentColor;
	border-radius: var(--aafe-hb-t);
	transition: transform .3s cubic-bezier(.65, 0, .35, 1), opacity .2s ease, top .3s ease, width .3s ease;
}

.elementor .aafe-oc-hamburger__box span:nth-child(1) { top: 0; }
.elementor .aafe-oc-hamburger__box span:nth-child(2) { top: calc(var(--aafe-hb-t) + var(--aafe-hb-g)); }
.elementor .aafe-oc-hamburger__box span:nth-child(3) { top: calc((var(--aafe-hb-t) + var(--aafe-hb-g)) * 2); }

.elementor .aafe-oc-hamburger--x.is-active .aafe-oc-hamburger__box span:nth-child(1),
.elementor .aafe-oc-hamburger--spin.is-active .aafe-oc-hamburger__box span:nth-child(1) {
	top: calc(var(--aafe-hb-t) + var(--aafe-hb-g));
	transform: rotate(45deg);
}

.elementor .aafe-oc-hamburger--x.is-active .aafe-oc-hamburger__box span:nth-child(2),
.elementor .aafe-oc-hamburger--spin.is-active .aafe-oc-hamburger__box span:nth-child(2) {
	opacity: 0;
}

.elementor .aafe-oc-hamburger--x.is-active .aafe-oc-hamburger__box span:nth-child(3),
.elementor .aafe-oc-hamburger--spin.is-active .aafe-oc-hamburger__box span:nth-child(3) {
	top: calc(var(--aafe-hb-t) + var(--aafe-hb-g));
	transform: rotate(-45deg);
}

.elementor .aafe-oc-hamburger--spin .aafe-oc-hamburger__box {
	transition: transform .4s cubic-bezier(.65, 0, .35, 1);
}

.elementor .aafe-oc-hamburger--spin.is-active .aafe-oc-hamburger__box {
	transform: rotate(180deg);
}

.elementor .aafe-oc-hamburger--arrow.is-active .aafe-oc-hamburger__box span:nth-child(1) {
	width: 60%;
	transform: translate(-1px, 3px) rotate(-40deg);
	transform-origin: left center;
}

.elementor .aafe-oc-hamburger--arrow.is-active .aafe-oc-hamburger__box span:nth-child(3) {
	width: 60%;
	transform: translate(-1px, -3px) rotate(40deg);
	transform-origin: left center;
}

/* ---------- Drawer shell ---------- */
.elementor .aafe-oc {
	--aafe-oc-dur: 400ms;
	--aafe-oc-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--aafe-oc-width: 380px;
	--aafe-oc-height: 380px;
	--aafe-oc-inset: 0px;
	position: fixed;
	inset: 0;
	z-index: 999998;
	visibility: hidden;
	pointer-events: none;
	/* Cover the reserved scrollbar gutter while the page scroll is locked. */
	right: calc(-1 * var(--aafe-scrollbar, 0px));
	transition: visibility 0s linear var(--aafe-oc-dur);
}

.elementor .aafe-oc.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.elementor .aafe-oc *,
.elementor .aafe-oc *::before,
.elementor .aafe-oc *::after {
	box-sizing: border-box;
}

.elementor .aafe-oc__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(15, 23, 42, .55);
	opacity: 0;
	transition: opacity var(--aafe-oc-dur) ease;
}

.elementor .aafe-oc.is-open .aafe-oc__overlay {
	opacity: 1;
}

.elementor .aafe-oc__panel {
	position: absolute;
	z-index: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background-color: #fff;
	color: #475569;
	font-size: 15px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
	transition: transform var(--aafe-oc-dur) var(--aafe-oc-ease), opacity var(--aafe-oc-dur) ease;
	will-change: transform;
	backface-visibility: hidden;
}

/* Positions */
.elementor .aafe-oc--right .aafe-oc__panel,
.elementor .aafe-oc--left .aafe-oc__panel {
	top: var(--aafe-oc-inset);
	bottom: var(--aafe-oc-inset);
	width: var(--aafe-oc-width);
	max-width: calc(100vw - 40px);
}

.elementor .aafe-oc--right .aafe-oc__panel { right: var(--aafe-oc-inset); transform: translateX(calc(100% + var(--aafe-oc-inset) + 30px)); }
.elementor .aafe-oc--left .aafe-oc__panel { left: var(--aafe-oc-inset); transform: translateX(calc(-100% - var(--aafe-oc-inset) - 30px)); }

.elementor .aafe-oc--top .aafe-oc__panel,
.elementor .aafe-oc--bottom .aafe-oc__panel {
	left: var(--aafe-oc-inset);
	right: var(--aafe-oc-inset);
	height: var(--aafe-oc-height);
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
}

.elementor .aafe-oc--top .aafe-oc__panel { top: var(--aafe-oc-inset); transform: translateY(calc(-100% - var(--aafe-oc-inset) - 30px)); }
.elementor .aafe-oc--bottom .aafe-oc__panel { bottom: var(--aafe-oc-inset); transform: translateY(calc(100% + var(--aafe-oc-inset) + 30px)); }

/* Effects */
.elementor .aafe-oc--fx-fade .aafe-oc__panel { transform: none !important; opacity: 0; }
.elementor .aafe-oc--fx-scale .aafe-oc__panel { transform: scale(.94) !important; opacity: 0; }
.elementor .aafe-oc--fx-blur .aafe-oc__panel { filter: blur(12px); opacity: 0; transition: transform var(--aafe-oc-dur) var(--aafe-oc-ease), opacity var(--aafe-oc-dur) ease, filter var(--aafe-oc-dur) ease; }
.elementor .aafe-oc--fx-blur.is-open .aafe-oc__panel { filter: none; }
.elementor .aafe-oc--fx-door.aafe-oc--right .aafe-oc__panel { transform: perspective(1400px) rotateY(-80deg) !important; transform-origin: 100% 50%; opacity: 0; }
.elementor .aafe-oc--fx-door.aafe-oc--left .aafe-oc__panel { transform: perspective(1400px) rotateY(80deg) !important; transform-origin: 0 50%; opacity: 0; }
.elementor .aafe-oc--fx-door.aafe-oc--top .aafe-oc__panel { transform: perspective(1400px) rotateX(-80deg) !important; transform-origin: 50% 0; opacity: 0; }
.elementor .aafe-oc--fx-door.aafe-oc--bottom .aafe-oc__panel { transform: perspective(1400px) rotateX(80deg) !important; transform-origin: 50% 100%; opacity: 0; }

.elementor .aafe-oc.is-open .aafe-oc__panel {
	transform: none !important;
	opacity: 1;
}

@media (max-width: 767px) {
	.elementor .aafe-oc--full-mobile.aafe-oc--left .aafe-oc__panel,
	.elementor .aafe-oc--full-mobile.aafe-oc--right .aafe-oc__panel {
		width: 100%;
		max-width: none;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		border-radius: 0 !important;
	}

	.elementor .aafe-oc--full-mobile.aafe-oc--top .aafe-oc__panel,
	.elementor .aafe-oc--full-mobile.aafe-oc--bottom .aafe-oc__panel {
		height: 100%;
		max-height: none;
		left: 0;
		right: 0;
		border-radius: 0 !important;
	}
}

/* Push page (applied by JS while open) */
html.aafe-oc-pushing body > .elementor *:not(.aafe-portal):not(script):not(style) {
	transition: transform var(--aafe-oc-push-dur, 400ms) cubic-bezier(0.16, 1, 0.3, 1);
}

html.aafe-oc-pushed body > .elementor *:not(.aafe-portal):not(script):not(style) {
	transform: translateX(var(--aafe-oc-push, 0px));
}

/* ---------- Header ---------- */
.elementor .aafe-oc__header {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid #f1f5f9;
}

.elementor .aafe-oc__header--bare {
	justify-content: flex-end;
	border-bottom: 0;
	padding-bottom: 0;
}

.elementor .aafe-oc__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.elementor .aafe-oc__logo img {
	display: block;
	width: 110px;
	height: auto;
}

.elementor .aafe-oc__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
}

.elementor .aafe-oc__close,
html body .elementor .aafe-oc__close:where(:hover, :focus, :focus-visible, :active) {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: #f1f5f9;
	color: #475569;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, transform .25s ease;
}

.elementor .aafe-oc__close svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.elementor .aafe-oc__close:hover {
	background-color: #fee2e2;
	color: #dc2626;
}

.elementor .aafe-oc--close-rotate .aafe-oc__close:hover {
	transform: rotate(90deg);
}

/* ---------- Backdrop off / page interaction ---------- */
.elementor .aafe-oc--no-overlay .aafe-oc__overlay {
	display: none;
}

.elementor .aafe-oc--passthrough.is-open {
	pointer-events: none;
}

.elementor .aafe-oc--passthrough.is-open .aafe-oc__panel {
	pointer-events: auto;
}

.elementor .aafe-oc__close:focus-visible {
	outline: 2px solid #6366f1;
	outline-offset: 2px;
}

/* ---------- Body ---------- */
.elementor .aafe-oc__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 24px;
	scrollbar-width: thin;
	scrollbar-color: var(--aafe-oc-scrollbar) transparent;
}

.elementor .aafe-oc--source-container .aafe-oc__body {
	padding: 0;
}

.elementor .aafe-oc__content--hidden {
	display: none;
}

.elementor .aafe-oc-notice {
	margin: 0;
	padding: 14px;
	font-size: 13px;
	color: #64748b;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
}

.elementor .aafe-oc__custom > :last-child {
	margin-bottom: 0;
}

/* ---------- Menu ---------- */
.elementor .aafe-oc-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.elementor .aafe-oc-nav li {
	position: relative;
	margin: 0;
}

/* Divider (Style > Menu > Divider Color). A variable keeps it working with Global colors. */
.elementor .aafe-oc-nav > ul > li::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--aafe-oc-divider, transparent);
	pointer-events: none;
}

.elementor .aafe-oc-nav li + li {
	margin-top: 4px;
}

.elementor .aafe-oc-nav a {
	display: block;
	padding: 10px 12px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: #1e293b;
	text-decoration: none;
	border-radius: 6px;
	transition: color .2s ease, background-color .2s ease, transform .25s ease;
}

.elementor .aafe-oc-nav a:hover,
.elementor .aafe-oc-nav a:focus-visible {
	color: #6366f1;
	background-color: #f1f5f9;
}

.elementor .aafe-oc-nav .current-menu-item > a {
	color: #6366f1;
	background-color: #eef2ff;
}

.elementor .aafe-oc-nav .sub-menu {
	padding-inline-start: 14px;
	margin-top: 4px;
}

.elementor .aafe-oc-nav .sub-menu a {
	font-size: 15px;
	font-weight: 400;
	color: #475569;
}

.elementor .aafe-oc-nav .sub-menu a:hover,
.elementor .aafe-oc-nav .sub-menu a:focus-visible,
.elementor .aafe-oc-nav .sub-menu .current-menu-item > a {
	color: #6366f1;
}

/* Accordion */
.elementor .aafe-oc--accordion .aafe-oc-nav .menu-item-has-children > a {
	padding-inline-end: 44px;
}

.elementor .aafe-oc-nav__toggle {
	position: absolute;
	top: 4px;
	inset-inline-end: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.elementor .aafe-oc-nav__toggle:hover {
	background: rgba(0, 0, 0, .05);
}

.elementor .aafe-oc-nav__toggle svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	transition: transform .25s ease;
}

.elementor .aafe-oc-nav__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.elementor .aafe-oc--accordion .aafe-oc-nav .sub-menu {
	display: none;
}

.elementor .aafe-oc--accordion .aafe-oc-nav .is-expanded > .sub-menu {
	display: block;
}

/* ---------- Footer ---------- */
.elementor .aafe-oc__footer {
	flex: 0 0 auto;
	padding: 16px 24px;
	font-size: 13px;
	color: #64748b;
	border-top: 1px solid #f1f5f9;
}

.elementor .aafe-oc__footer > :last-child {
	margin-bottom: 0;
}

/* ---------- Scroll lock ---------- */
html.aafe-modal-locked,
html.aafe-modal-locked body {
	overflow: hidden !important;
}

/* ---------- Editor ---------- */
/* Opened / closed by the JS handler (selection, trigger click, × button, backdrop, ESC). */
.elementor-editor-active .elementor .aafe-oc.is-open .aafe-oc__overlay {
	cursor: pointer;
}

.elementor-editor-active .elementor .aafe-oc__content {
	min-height: 120px;
	position: relative;
	width: 100%;
}

.elementor-editor-active .elementor .aafe-oc__content:empty {
	min-height: 140px;
	border: 2px dashed #818cf8;
	border-radius: 8px;
	background: rgba(99, 102, 241, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.elementor-editor-active .elementor .aafe-oc__content:empty::after {
	content: "Drop Container or any Widgets here to design your drawer";
	pointer-events: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.elementor .aafe-oc,
	.elementor .aafe-oc__overlay,
	.elementor .aafe-oc__panel,
	.elementor .aafe-oc-hamburger__box,
	.elementor .aafe-oc-hamburger__box span {
		transition-duration: 1ms !important;
	}
}

/* ---------- Smoothness: compositor hints only while animating ---------- */
.elementor .aafe-oc.is-animating .aafe-oc__overlay {
	will-change: opacity;
}

/* Editor: a closed drawer is removed from layout entirely, so Elementor's
   element handles inside it can never catch a click on the page. */
.elementor-editor-active .elementor .aafe-oc:not(.is-open):not(.is-animating) {
	display: none !important;
}
