.sd-sidecat-menu {
	margin: 0;
	font-size: 1.25rem;
	color: #ffffff;
}

.sd-sidecat-menu ul {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin: 0;
}

.sd-sidecat-menu ul li a {
	display: block;
	color: #ffffff;
	padding: 1rem;
	line-height: 1;
	position: relative;
}

.sd-sidecat-menu ul li a::after {
	content: '';
	bottom: 0;
	left: 0;
	height: 0.25rem;
	width: 100%;
	background-color: #ed6822;
	position: absolute;
	opacity: 0;
	transition: opacity .25s ease-out;
}

.sd-sidecat-menu ul li a:hover::after {
	opacity: 1;
}

.sd-sidecat-title {
	a {
		display: block;
		color: inherit;
		padding: 0.25rem;
		font-size: 0.875rem;
		line-height: 1;
	}
}

.sd-sidecat-trigger {
	color: #fff;
	border: 0;
	padding: 1rem;
	line-height: 1;
	display: flex;
	align-items: center;
	background-color: transparent;
	transition: color .25s ease-out;

	&:hover {
		color: #ed6822;
	}
}

.sd-sidecat-drawer {
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	width: 350px;
	max-width: 95vw;
	background: #fff;
	box-shadow: 2px 0 12px rgba(0,0,0,.15);
	transform: translateX(-110%);
	transition: transform .35s ease;
	z-index: 10000000000000;
	display: flex;
	flex-direction: column;
}

/* Overlay */
.sd-sidecat-overlay {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility .25s ease;
	z-index: 9999999999999; /* juste en dessous du drawer */
}

.sd-sidecat-overlay.active {
	opacity: 0.5;
	visibility: visible;
	pointer-events: auto;
}

.sd-sidecat-drawer.open {
	transform: translateX(0);
}

.sd-sidecat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.825rem;
	background-color: #01294d;
	color: #ffffff;
}

.sd-sidecat-back, .sd-sidecat-close {
	appearance: none;
	background-color: #ed6822;
	color: #ffffff;
	border-radius: 0.25rem;
	padding: 0.25rem;
	border: none;
	transition: color 0.15s ease-out;

	&:hover {
		color: #000000;
	}
}

.sd-sidecat-body {
	overflow:hidden;
	flex:1;
}

.sd-sidecat-panels {
	display:flex;
	height:100%;
	overflow-x:auto;
	scroll-behavior:smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.sd-sidecat-panels::-webkit-scrollbar {
	display: none;
}

.sd-sidecat-panel {
	min-width:350px;
	overflow-y:auto;
	height:100%;
}

.sd-sidecat-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sd-sidecat-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #ffffff;
	border-bottom: 1px solid #f2f2f2;
	transition: background-color 0.25s ease-out;

	&:hover {
		background-color: #f2f2f2;
	}
}

.sd-sidecat-list a {
	text-decoration:none;
	color:inherit;
	padding: 0.75rem;
	font-weight: 500;
	transition: color 0.25s ease-out;
}

.sd-sidecat-list a:hover  {
	color: #ed6822;
}

.sd-sidecat-open-children {
	background: none;
	border: 0;
	font-size: 16px;
	padding: 0.75rem;
	flex: 1;
	text-align: end;
}

.sd-sidecat-open-children svg {
	transition: transform 0.25s ease-out;
}

.sd-sidecat-open-children:hover svg {
	transform: translateX(2px);
}

@media (max-width: 1200px) {
	.sd-sidecat-menu {
		font-size: 1.25rem;
	}

	.sd-sidecat-menu button, .sd-sidecat-menu a {
		padding: 0.75rem;
	}
}

@media (max-width: 992px) {
	.sd-sidecat-menu li:has(a) {
		display: none;
	}
}

@media (max-width: 768px) {
	.sd-sidecat-menu, .sd-sidecat-menu ul {
		width: max-content;
	}
}