:root {
	--menu-smart-all-dropdown-panel-title-height: 40px;
}
.menu-smart-all-dropdown {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 30;
	width: var(--menu-smart-all-dropdown-width, 100%);
	min-width: 0;
	max-width: calc(100vw - 20px);
	height: var(--menu-smart-panel-height);
	background: #fff;
	box-shadow: 0 10px 24px rgb(0 0 0 / 8%);
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity .2s ease;
	border-radius: 0 0 4px 4px;
}

.menu-smart-all-dropdown.is-open.is-positioned {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.menu-smart-all-dropdown-content {
	display: flex;
	align-items: stretch;
	width: 100%;
	height: var(--menu-smart-panel-height);
	overflow: hidden;
}

.menu-smart-all-dropdown-root {
	flex: 0 0 280px;
	width: 280px;
	height: var(--menu-smart-panel-height);
	margin: 0;
	padding: 8px 0;
	overflow-y: auto;
	overflow-x: hidden;
	list-style: none;
	direction: rtl;
}

.menu-smart-all-dropdown-item {
	position: relative;
	direction: ltr;
}

.menu-smart-all-dropdown-link {
	display: flex;
	align-items: center;
	width: 100%;
	border: 0;
	background: transparent;
	gap: 8px;
	padding: 11px 16px;
	color: #222;
	text-align: left;
	text-decoration: none;
}

.menu-smart-all-dropdown-link:hover,
.menu-smart-all-dropdown-link:focus,
.menu-smart-all-dropdown-item.is-active > .menu-smart-all-dropdown-link {
	color: var(--header-menu-color-text-hover, var(--primary, #000));
	text-decoration: none;
}

.menu-smart-all-dropdown-link .bi-chevron-right {
	margin-left: auto;
}

.menu-smart-all-dropdown-panels {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: var(--menu-smart-panel-height);
	border-left: 1px solid #eee;
	overflow: hidden;
}

.menu-smart-all-dropdown-panel {
	display: none;
	width: 100%;
	height: 100%;
	padding: 0 12px 12px;
}

.menu-smart-all-dropdown-panel.is-active {
	display: block;
}

.menu-smart-all-dropdown-panel-title {
	display: flex;
	align-items: center;
	padding: 0 16px;
	border-bottom: 1px solid #eee;
	color: var(--header-menu-color-text, var(--text, #222));
	font-weight: 600;
	text-decoration: none;
	height: var(--menu-smart-all-dropdown-panel-title-height);
}

.menu-smart-all-dropdown-panel-title:hover,
.menu-smart-all-dropdown-panel-title:focus {
	color: var(--header-menu-color-text-hover, var(--primary, #000));
	text-decoration: none;
}

.menu-smart-all-dropdown-panel-list-wrapper {
	overflow: auto;
    margin: 4px;
	height: calc(var(--menu-smart-panel-height) - calc(var(--menu-smart-all-dropdown-panel-title-height) + 8px));
}

.menu-smart-all-dropdown-panel-list {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	width: fit-content;
	height: inherit;
	padding: 0 16px 12px;
	gap: 16px 80px;
	/* overflow: auto; */
}
