/* ==========================================================================
   THE BIO EDIT — Mobile Navigation Menu Elementor Widget Styles
   Warm Editorial Luxury Aesthetic
   ========================================================================== */

.bio-mobile-menu-wrapper {
	position: relative;
	width: 100%;
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	box-sizing: border-box;
}

.bio-mobile-menu-wrapper * {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Toggle Trigger Button
   -------------------------------------------------------------------------- */
.bio-mobile-toggle-wrapper {
	display: flex;
	align-items: center;
	width: 100%;
}

.bio-mobile-toggle-btn {
	background: transparent;
	border: 0px solid transparent;
	padding: 6px;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #15110D;
	stroke: currentColor;
	fill: currentColor;
	cursor: pointer;
	text-decoration: none;
	position: relative;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	-webkit-tap-highlight-color: transparent;
	font-family: inherit;
	z-index: 100002;
}

.bio-mobile-toggle-btn:hover {
	color: #895E34;
}

.bio-mobile-toggle-btn svg {
	width: 22px;
	height: 22px;
	stroke-width: 1.6;
	display: block;
	color: inherit;
	stroke: currentColor;
	pointer-events: none;
}

.bio-mobile-toggle-btn svg path,
.bio-mobile-toggle-btn svg line,
.bio-mobile-toggle-btn svg circle,
.bio-mobile-toggle-btn svg rect {
	stroke: currentColor;
	pointer-events: none;
}

.bio-mobile-toggle-btn i {
	color: inherit;
	font-size: 22px;
	pointer-events: none;
}

.bio-mobile-toggle-btn .bio-icon-open,
.bio-mobile-toggle-btn .bio-icon-close {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.bio-mobile-toggle-btn .bio-icon-close {
	display: none;
	opacity: 0;
	transform: rotate(-90deg) scale(0.6);
}

.bio-mobile-menu-wrapper.is-open .bio-mobile-toggle-btn .bio-icon-open {
	display: none;
	opacity: 0;
	transform: rotate(90deg) scale(0.6);
}

.bio-mobile-menu-wrapper.is-open .bio-mobile-toggle-btn .bio-icon-close {
	display: flex;
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.bio-mobile-toggle-label {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: inherit;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Backdrop Overlay
   -------------------------------------------------------------------------- */
.bio-mobile-drawer-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(21, 17, 13, 0.45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-mobile-drawer-backdrop.match-top-offset {
	top: inherit;
	height: inherit;
}

.bio-mobile-menu-wrapper.is-open .bio-mobile-drawer-backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Drawer Panel (Slide Down / Fullscreen)
   -------------------------------------------------------------------------- */
.bio-mobile-drawer {
	position: fixed;
	top: 72px;
	left: 0;
	width: 100%;
	height: calc(100vh - 72px);
	height: calc(100dvh - 72px);
	max-height: calc(100vh - 72px);
	max-height: calc(100dvh - 72px);
	background-color: #FAF8F5;
	z-index: 100001;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 40px;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
	            visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-mobile-menu-wrapper.is-open .bio-mobile-drawer {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.bio-mobile-drawer-inner {
	padding: 24px 24px 40px;
	max-width: 600px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* --------------------------------------------------------------------------
   Dynamic Menu Groups
   -------------------------------------------------------------------------- */
.bio-mobile-group {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.bio-mobile-group-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.bio-mobile-group-header.is-accordion-toggle {
	cursor: pointer;
	user-select: none;
	padding: 4px 0;
}

.bio-mobile-section-label {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #8C847B;
	margin: 0;
	display: block;
}

.bio-mobile-accordion-arrow {
	color: #8C847B;
	transition: transform 0.25s ease;
	display: flex;
	align-items: center;
}

.bio-mobile-group.is-collapsed .bio-mobile-accordion-arrow {
	transform: rotate(-90deg);
}

.bio-mobile-group-content {
	width: 100%;
}

/* Menu List & Items */
.bio-mobile-menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.bio-mobile-menu-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #EBE5DC;
}

.bio-mobile-menu-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 4px;
	text-decoration: none;
	color: #15110D;
	transition: background-color 0.15s ease, color 0.15s ease, padding 0.2s ease;
	border-radius: 4px;
}

.bio-mobile-menu-link:hover,
.bio-mobile-menu-link:active {
	background-color: rgba(235, 229, 220, 0.45);
	color: #895E34;
	padding-left: 8px;
	padding-right: 8px;
}

.bio-mobile-item-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bio-mobile-item-icon {
	font-size: 1.1rem;
	color: #8C847B;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: color 0.2s ease, transform 0.2s ease;
}

.bio-mobile-menu-link:hover .bio-mobile-item-icon {
	color: #895E34;
	transform: scale(1.1);
}

.bio-mobile-item-text-group {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bio-mobile-item-title {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.92rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	color: inherit;
	line-height: 1.2;
}

.bio-mobile-item-subtitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.72rem;
	font-weight: 400;
	color: #8C847B;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

.bio-mobile-item-badge {
	font-size: 0.7rem;
	font-weight: 600;
	background: #EBE5DC;
	color: #6E665E;
	padding: 1px 6px;
	border-radius: 999px;
	margin-left: 6px;
}

.bio-mobile-item-arrow {
	color: #B5AEA5;
	display: flex;
	align-items: center;
	transition: transform 0.2s ease, color 0.2s ease;
}

.bio-mobile-menu-link:hover .bio-mobile-item-arrow {
	color: #895E34;
	transform: translateX(3px);
}

.bio-mobile-group-html {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Sticky Header Active State Color (#0c0806)
   -------------------------------------------------------------------------- */
.sticky-header-active .bio-mobile-toggle-btn,
.sticky-header-active .bio-mobile-toggle-btn:hover,
.sticky-header-active .bio-mobile-menu-wrapper.is-open .bio-mobile-toggle-btn {
	color: #0c0806 !important;
	stroke: #0c0806 !important;
}

.sticky-header-active .bio-mobile-toggle-btn svg,
.sticky-header-active .bio-mobile-toggle-btn svg *,
.sticky-header-active .bio-mobile-toggle-btn:hover svg,
.sticky-header-active .bio-mobile-toggle-btn:hover svg *,
.sticky-header-active .bio-mobile-menu-wrapper.is-open .bio-mobile-toggle-btn svg,
.sticky-header-active .bio-mobile-menu-wrapper.is-open .bio-mobile-toggle-btn svg * {
	stroke: #0c0806 !important;
}

.sticky-header-active .bio-mobile-toggle-btn i,
.sticky-header-active .bio-mobile-toggle-label {
	color: #0c0806 !important;
}

