.cmsm-root[hidden],
.cmsm-fallback-toggle[hidden] {
	display: none !important;
}

html.cmsm-locked,
body.cmsm-locked {
	overflow: hidden;
	touch-action: none;
}

.cmsm-root {
	position: fixed;
	inset: 0;
	z-index: 99999;
	font-family: inherit;
	background: transparent !important;
}

.cmsm-root:hover,
.cmsm-root:focus,
.cmsm-root:focus-within,
.cmsm-root:active {
	background: transparent !important;
}

.cmsm-root *,
.cmsm-root *::before,
.cmsm-root *::after {
	box-sizing: border-box;
}


.cmsm-root,
.cmsm-root *,
.cmsm-controlled-toggle,
.cmsm-controlled-toggle * {
	-webkit-tap-highlight-color: transparent;
}

.cmsm-controlled-toggle,
.cmsm-controlled-toggle:hover,
.cmsm-controlled-toggle:focus,
.cmsm-controlled-toggle:focus-visible,
.cmsm-controlled-toggle:active,
.cmsm-controlled-toggle::before,
.cmsm-controlled-toggle::after,
.cmsm-controlled-toggle:hover::before,
.cmsm-controlled-toggle:hover::after,
.cmsm-controlled-toggle:focus::before,
.cmsm-controlled-toggle:focus::after,
.cmsm-controlled-toggle:focus-visible::before,
.cmsm-controlled-toggle:focus-visible::after,
.cmsm-controlled-toggle:active::before,
.cmsm-controlled-toggle:active::after {
	appearance: none !important;
	-webkit-appearance: none !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-color: transparent !important;
	outline: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.cmsm-controlled-toggle,
.cmsm-controlled-toggle * {
	outline: none !important;
	box-shadow: none !important;
}

.cmsm-controlled-toggle:focus-within,
.cmsm-controlled-toggle *:focus,
.cmsm-controlled-toggle *:focus-visible,
.cmsm-controlled-toggle *:active {
	outline: none !important;
	box-shadow: none !important;
}

.cmsm-backdrop {
	position: absolute;
	inset: 0;
	border: 0 !important;
	padding: 0;
	margin: 0;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	cursor: pointer;
	opacity: 1;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
	outline: none !important;
	border-radius: 0 !important;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.cmsm-backdrop:hover,
.cmsm-backdrop:focus,
.cmsm-backdrop:focus-visible,
.cmsm-backdrop:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
}

.cmsm-drawer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 88vw;
	max-width: 590px;
	min-width: 280px;
	height: 100%;
	background: #f5f5f3;
	box-shadow: 12px 0 34px rgba(0, 0, 0, 0.08);
	transform: translateX(-100%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cmsm-root.is-open .cmsm-drawer {
	transform: translateX(0);
}

.cmsm-header {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 82px;
	padding: 12px 26px 12px 12px;
	background: #f5f5f3;
}

.cmsm-root .cmsm-back-button,
.cmsm-root .cmsm-back-button:hover,
.cmsm-root .cmsm-back-button:focus,
.cmsm-root .cmsm-back-button:focus-visible,
.cmsm-root .cmsm-back-button:active,
.cmsm-root .cmsm-menu-button,
.cmsm-root .cmsm-menu-button:hover,
.cmsm-root .cmsm-menu-button:focus,
.cmsm-root .cmsm-menu-button:focus-visible,
.cmsm-root .cmsm-menu-button:active,
.cmsm-root .cmsm-menu-link,
.cmsm-root .cmsm-menu-link:hover,
.cmsm-root .cmsm-menu-link:focus,
.cmsm-root .cmsm-menu-link:focus-visible,
.cmsm-root .cmsm-menu-link:active {
	appearance: none !important;
	-webkit-appearance: none !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
}

.cmsm-root .cmsm-menu-button,
.cmsm-root .cmsm-menu-link {
	border: 0 !important;
	border-radius: 0 !important;
}

.cmsm-back-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	min-width: 24px;
	min-height: 24px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #111 !important;
	color: #fff !important;
	font-size: 0;
	line-height: 1;
	cursor: pointer;
}

.cmsm-back-button:hover,
.cmsm-back-button:focus,
.cmsm-back-button:focus-visible,
.cmsm-back-button:active {
	background: #111 !important;
	border: 0 !important;
}

.cmsm-back-button span {
	display: block;
	position: relative;
	width: 8px;
	height: 8px;
	font-size: 0;
	line-height: 0;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg) translate(1px, -1px);
}

.cmsm-back-button.has-custom-icon span {
	display: none;
}

.cmsm-back-button.has-custom-icon::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background-image: var(--cmsm-back-icon);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.cmsm-brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	min-width: 0;
}

.cmsm-brand .custom-logo-link,
.cmsm-brand .cmsm-site-name {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
}

.cmsm-brand .custom-logo {
	width: auto;
	max-width: 128px;
	max-height: 42px;
	height: auto;
}

.cmsm-site-name {
	color: #111;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-decoration: none;
	text-transform: uppercase;
}

.cmsm-panels {
	position: relative;
	flex: 1;
	overflow: hidden;
	background: #f5f5f3;
}

.cmsm-panel {
	position: absolute;
	inset: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	background: #f5f5f3;
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	pointer-events: none;
	z-index: 1;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.cmsm-panel::-webkit-scrollbar {
	display: none;
}

.cmsm-panel.is-active {
	transform: translateX(0);
	pointer-events: auto;
	z-index: 3;
}

.cmsm-panel.is-previous {
	transform: translateX(-100%);
	z-index: 2;
}

.cmsm-panel.is-next {
	transform: translateX(100%);
}

.cmsm-panel-parent {
	display: flex;
	align-items: center;
	min-height: 70px;
	padding: 0 26px 0 34px;
	border-top: 1px solid #cfcfcb;
	border-bottom: 1px solid #cfcfcb;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	background: #f5f5f3;
}

.cmsm-menu-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cmsm-menu-item {
	border-bottom: 1px solid #ddddda;
}

.cmsm-menu-button,
.cmsm-menu-link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 56px;
	padding: 0 26px 0 34px;
	color: #3f3f3f !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	background: transparent !important;
	border: 0 !important;
	cursor: pointer;
}

.cmsm-menu-button:hover,
.cmsm-menu-button:focus,
.cmsm-menu-button:focus-visible,
.cmsm-menu-button:active,
.cmsm-menu-link:hover,
.cmsm-menu-link:focus,
.cmsm-menu-link:focus-visible,
.cmsm-menu-link:active {
	color: #111 !important;
	background: transparent !important;
	border: 0 !important;
}

.cmsm-menu-main {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1;
	min-width: 0;
}

.cmsm-menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
}

.cmsm-menu-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: grayscale(1) contrast(1.08);
}

.cmsm-menu-label {
	flex: 1;
	min-width: 0;
}

.cmsm-menu-chevron {
	display: none;
}

.cmsm-panel[data-level="0"] .cmsm-menu-button,
.cmsm-panel[data-level="0"] .cmsm-menu-link {
	min-height: 71px;
	font-size: 17px;
	color: #3e3e3e !important;
}

.cmsm-panel[data-level="0"] .cmsm-menu-main {
	gap: 22px;
}

.cmsm-panel[data-level="0"] .cmsm-menu-icon {
	flex-basis: 32px;
	width: 32px;
	height: 32px;
}

.cmsm-panel[data-level="0"] .cmsm-menu-label {
	font-weight: 450;
}

.cmsm-panel[data-level="0"] .cmsm-menu-item {
	border-bottom-color: #d9d9d6;
}

.cmsm-panel:not([data-level="0"]) .cmsm-menu-button,
.cmsm-panel:not([data-level="0"]) .cmsm-menu-link {
	min-height: 42px;
	padding-top: 0;
	padding-bottom: 0;
	font-size: 17px;
	color: #4a4a4a !important;
}

.cmsm-panel:not([data-level="0"]) .cmsm-menu-main {
	gap: 0;
}

.cmsm-panel:not([data-level="0"]) .cmsm-menu-label {
	font-weight: 400;
}

.cmsm-panel:not([data-level="0"]) .cmsm-menu-item {
	border-bottom-color: #ddddda;
}

.cmsm-panel-parent .cmsm-menu-main {
	gap: 18px;
}

.cmsm-panel-parent .cmsm-menu-icon {
	flex-basis: 32px;
	width: 32px;
	height: 32px;
}

.cmsm-panel-parent .cmsm-menu-label {
	color: #1f1f1f;
	font-size: 17px;
	font-weight: 600;
}

.cmsm-fallback-toggle {
	position: fixed;
	top: 18px;
	left: 18px;
	z-index: 99998;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cmsm-fallback-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	margin: 4px 0;
	background: #111;
	border-radius: 999px;
}

@media (max-width: 575px) {
	.cmsm-drawer {
		width: 91vw;
	}

	.cmsm-header {
		gap: 14px;
		min-height: 76px;
		padding-right: 18px;
	}

	.cmsm-brand .custom-logo {
		max-width: 118px;
		max-height: 38px;
	}

	.cmsm-site-name {
		font-size: 22px;
	}

	.cmsm-panel-parent,
	.cmsm-menu-button,
	.cmsm-menu-link {
		padding-right: 18px;
		padding-left: 24px;
	}

	.cmsm-panel[data-level="0"] .cmsm-menu-button,
	.cmsm-panel[data-level="0"] .cmsm-menu-link {
		min-height: 64px;
		font-size: 16px;
	}

	.cmsm-panel[data-level="0"] .cmsm-menu-main {
		gap: 16px;
	}

	.cmsm-panel:not([data-level="0"]) .cmsm-menu-button,
	.cmsm-panel:not([data-level="0"]) .cmsm-menu-link,
	.cmsm-panel-parent {
		font-size: 16px;
	}
}
