/* ============================================================
   MOBILE MENU DRAWER — drill-down for the Elementor Mega Menu
   Built by js/mobile-menu-drawer.js from the live .e-n-menu DOM
   (same source as the desktop dropdown). The drawer fades in;
   each deeper level slides in from the right over the previous.
   Desktop is untouched: the drawer only opens from the Elementor
   mobile toggle, which is hidden on desktop.
   ============================================================ */
.tc-mdrawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: #fff;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.tc-mdrawer.is-open {
	opacity: 1;
	visibility: visible;
}
html.tc-mdrawer-open,
html.tc-mdrawer-open body {
	overflow: hidden;
}

.tc-mdrawer__track {
	position: absolute;
	inset: 0;
}

/* Neutralize global button styling (the theme/kit gives <button> a green
   pill) inside the drawer; we restyle from scratch below. */
.tc-mdrawer button {
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0;
}

/* Panels: stacked, each parked off-screen right; root sits at 0. */
.tc-mdrawer__panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	will-change: transform;
}
.tc-mdrawer__panel:first-child {
	transform: translateX(0);
}

/* Header row per level */
.tc-mdrawer__head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 64px;
	padding: 12px 18px;
}
.tc-mdrawer__head--root {
	justify-content: space-between;
}
.tc-mdrawer__logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}
.tc-mdrawer__logo img {
	height: 26px;
	width: auto;
	display: block;
}

/* Focus: no ring on programmatic panel focus or pointer; keyboard-only ring. */
.tc-mdrawer__panel:focus {
	outline: none;
}
.tc-mdrawer button:focus,
.tc-mdrawer a:focus {
	outline: none;
	box-shadow: none !important;
}
.tc-mdrawer button:focus-visible,
.tc-mdrawer a:focus-visible {
	outline: 2px solid #41a541;
	outline-offset: 2px;
	border-radius: 6px;
}
.tc-mdrawer__title {
	flex: 1;
	text-align: center;
	font-weight: 700;
	font-size: 17px;
	color: #102a43;
}
.tc-mdrawer__close {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #102a43;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.tc-mdrawer__back {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Higher specificity than the base .tc-mdrawer__chevron so order can't flip it. */
.tc-mdrawer__back .tc-mdrawer__chevron {
	border-top-color: #102a43;
	border-right-color: #102a43;
	transform: rotate(225deg); /* mirror of the right chevron → points left */
}

/* Body scrolls; footer (root) pinned to the bottom. */
.tc-mdrawer__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.tc-mdrawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tc-mdrawer__row {
	margin: 0;
	padding: 0 14px;
}

/* Root-level rows: big bold navy with hairline dividers + green chevron */
.tc-mdrawer__panel:first-child .tc-mdrawer__row {
	border-bottom: 1px solid #f0f4f8;
}
.tc-mdrawer__link {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	text-decoration: none;
	color: #102a43;
	font-family: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
}

.tc-mdrawer__link:hover .tc-mdrawer__icon {
	background: #102A43;
	color: white;
}

.tc-mdrawer__link:hover:after {
	position: absolute;
	right: 10px;
	top: 12px;
	content: "\ea6e";
	font-family: 'remixicon' !important;
	font-size: 21px;
	width: 21px;
	height: 21px;
	opacity: 0;
	animation: fadeInLeft 0.5s forwards ease-in-out;
}

/* Root-level rows (drill-in buttons AND plain links) share one look. */
.tc-mdrawer__panel:first-child .tc-mdrawer__link {
	justify-content: space-between;
	font-size: 21px;
	font-weight: 700;
	padding: 24px 22px;
}
.tc-mdrawer__chevron {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-top: 2.5px solid #41a541;
	border-right: 2.5px solid #41a541;
	transform: rotate(45deg);
	display: inline-block;
}

/* Section heading inside a sub-panel */
.tc-mdrawer__section {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #102a43;
	padding: 22px 22px 8px;
}

/* Icon rows (level 2+) */
.tc-mdrawer__link--icon {
	gap: 14px;
	font-size: 16px;
	font-weight: 600;
	padding: 8px 10px;
	border-radius: 12px;
}
.tc-mdrawer__link--icon:hover,
.tc-mdrawer__link--icon:focus-visible {
	background: #eaf7ea;
	outline: none;
}
.tc-mdrawer__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #eaf5ea;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #102a43;
	font-size: 20px;
}

.tc-mdrawer__icon svg {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #102a43;
}
.tc-mdrawer__label {
	min-width: 0;
}

/* Footer (root only): Sign up link + Log in button */
.tc-mdrawer__footer {
	margin-top: auto;
	padding: 20px 22px 28px;
}
.tc-mdrawer__signup {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #41a541;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	padding: 12px 0 18px;
}
.tc-mdrawer__login {
	display: block;
	text-align: center;
	background: #41a541;
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	text-decoration: none;
	padding: 16px;
	border-radius: 10px;
}
.tc-mdrawer__login:hover {
	background: #338033;
}
