@charset "utf-8";

.mobile-nav-overlay,
.mobile-drawer-header,
.mobile-drawer-contact {
	display: none;
}

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

@media only screen and (max-width: 991px) {
	.mobile-nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 2000;
		background: rgba(23, 31, 50, 0.5);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	body.mobile-nav-open .mobile-nav-overlay,
	.main-menu:has(.rs-menu:not(.rs-menu-close)) .mobile-nav-overlay {
		display: block !important;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition: opacity 0.3s ease, visibility 0s;
	}

	body.mobile-nav-open {
		overflow: hidden;
	}

	.mobile-menu,
	.rs-menu-toggle {
		position: relative;
		z-index: 2002;
	}

	.full-width-header .rs-header .menu-area .main-menu .rs-menu,
	.rs-header .menu-area .main-menu .rs-menu,
	.rs-menu {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 2001;
		float: none;
		clear: none;
		display: flex;
		flex-direction: column;
		width: min(320px, 82vw);
		max-width: 320px;
		height: 100% !important;
		margin: 0;
		background: #ffffff;
		box-shadow: none;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(-105%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.3s ease, visibility 0s linear 0.3s, box-shadow 0.3s ease;
	}

	.rs-menu.rs-menu-close {
		height: 100% !important;
		overflow-x: hidden;
		overflow-y: auto !important;
	}

	body.mobile-nav-open .full-width-header .rs-header .menu-area .main-menu .rs-menu,
	body.mobile-nav-open .rs-header .menu-area .main-menu .rs-menu,
	.full-width-header .rs-header .menu-area .main-menu .rs-menu:not(.rs-menu-close),
	.rs-header .menu-area .main-menu .rs-menu:not(.rs-menu-close) {
		transform: none !important;
		visibility: visible !important;
		pointer-events: auto !important;
		box-shadow: 12px 0 40px rgba(23, 31, 50, 0.22);
		transition: transform 0.3s ease, visibility 0s, box-shadow 0.3s ease;
	}

	.mobile-drawer-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		flex-shrink: 0;
		padding: 18px 16px 16px 20px;
		border-bottom: 1px solid #eee8f2;
		background: #ffffff;
	}

	.mobile-drawer-logo {
		display: block;
		line-height: 0;
		padding: 0;
	}

	.mobile-drawer-logo img {
		max-height: 36px;
		width: auto;
		max-width: 180px;
	}

	.mobile-drawer-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f4eef7;
		color: #93619e;
		font-size: 18px;
		line-height: 1;
		cursor: pointer;
	}

	.mobile-drawer-close:hover,
	.mobile-drawer-close:focus {
		background: #93619e;
		color: #ffffff;
		outline: none;
	}

	.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu,
	.rs-header .menu-area .main-menu .rs-menu ul.nav-menu {
		flex: 1 1 auto;
		background: #ffffff;
		padding: 8px 0 16px;
	}

	.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li > a,
	.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a {
		height: auto !important;
		line-height: 1.35 !important;
		padding: 14px 48px 14px 20px !important;
		font-size: 15px;
		font-weight: 500;
		text-transform: none;
		color: #171f32 !important;
		border-bottom: 1px solid #f3eef6;
	}

	.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li.current-menu-item > a,
	.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a:hover {
		color: #93619e !important;
	}

	.rs-menu ul ul,
	.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.sub-menu,
	.rs-header .menu-area .main-menu .rs-menu ul.sub-menu {
		position: static !important;
		width: 100%;
		top: auto;
		padding: 0 0 8px !important;
		background: #faf7fb !important;
		box-shadow: none !important;
	}

	.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.sub-menu li a,
	.rs-header .menu-area .main-menu .rs-menu ul.sub-menu li a {
		height: auto !important;
		line-height: 1.35 !important;
		padding: 10px 20px 10px 32px !important;
		font-size: 14px;
		border-bottom: 0;
		color: #505050 !important;
	}

	.nav-menu > .menu-item-has-children > span.rs-menu-parent {
		height: 48px;
		line-height: 48px;
		width: 48px;
		background: transparent;
		color: #93619e;
	}

	.nav-menu div.sub-menu-close {
		display: none;
	}

	.mobile-drawer-contact {
		display: flex;
		flex-direction: column;
		gap: 8px;
		flex-shrink: 0;
		margin-top: auto;
		padding: 16px 20px 24px;
		background: #f7f3f9;
		border-top: 1px solid #eee8f2;
	}

	.mobile-drawer-contact a {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 0;
		color: #171f32;
		font-size: 14px;
		line-height: 1.4;
		word-break: break-word;
	}

	.mobile-drawer-contact a i {
		color: #93619e;
		width: 16px;
		text-align: center;
	}

	.mobile-drawer-contact a:hover,
	.mobile-drawer-contact a:focus {
		color: #93619e;
	}

	.rs-menu-toggle.rs-menu-toggle-open i.fa-bars:before {
		content: "\f00d";
	}

	@media (prefers-reduced-motion: reduce) {
		.mobile-nav-overlay,
		.rs-menu,
		body.mobile-nav-open .full-width-header .rs-header .menu-area .main-menu .rs-menu,
		.full-width-header .rs-header .menu-area .main-menu .rs-menu:not(.rs-menu-close) {
			transition: none;
		}
	}
}
