:root {
	--menu-smart-panel-height: 70vh;
	--menu-smart-product-width: 360px;
}

.menu-smart,
.menu-smart-list {
	margin: 0;
	padding: 0;
}

.menu-smart {
	overflow: visible;
	position: relative;
	flex: 1;
	min-width: 0;
}

.menu-smart-list {
	list-style: none;
}

.menu-smart-overflow::-webkit-scrollbar {
  	width: 8px;
	height: 8px;
}

.menu-smart-link {
	display: flex;
	align-items: center;
	border: 0;
	background: transparent;
	gap: 6px;
	padding: 8px 0px;
	color: #222;
	text-decoration: none;
	white-space: nowrap;
}

.menu-smart-link:hover,
.menu-smart-link:focus {
	color: var(--header-menu-color-text-hover, var(--primary));
	text-decoration: none;
}

.menu-smart-link-level-1 {
	padding: 0 12px;
	height: 100%;
	font-weight: var(--header-menu-font-weight, 500);
	color: var(--header-menu-color-text, #222);
	font-size: var(--header-menu-font-size);
}

.menu-smart-link-level-1:hover, 
.menu-smart-link-level-1:focus {
	color: var(--header-menu-color-text-hover, var(--primary, #333));
}

.menu-smart-icon svg {
	width: 20px;
	height: 20px;
	fill: var(--header-menu-icon-color, currentColor);
}

.menu-smart-link:hover .menu-smart-icon svg,
.menu-smart-link:focus .menu-smart-icon svg {
	fill: currentColor;
}

.menu-smart-carousel {
	display: flex;
	align-items: center;
	position: relative;
}

.menu-smart-viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.menu-smart-arrow {
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: var(--header-menu-color-text, var(--text, #222));
	cursor: pointer;
	font-size: 14px;
}

.menu-smart-arrow[hidden] {
	display: none;
}

.menu-smart-arrow:disabled {
	cursor: default;
	opacity: .35;
}

.menu-smart-level-1 {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
}

.menu-smart-item {
	flex: 0 0 auto;
	position: relative;
}

/* .menu-smart-link-all {
	font-weight: 500;
	color: #606060;
} */

.menu-smart-item-level-1 {
	height: var(--header-menu-text-height);
	display: flex;
	align-items: center;
}

.menu-smart-item-level-1.has-children .menu-smart-link-level-1::after {
	content: '\F282';
	font-family: bootstrap-icons;
	font-size: 10px;
	height: 10px;
}

.menu-smart-level-2-wrapper {
	overflow: auto;
	margin: 4px;
	flex: 1;
}

.menu-smart-link-level-2 {
	font-size: 13px;
	font-weight: 600;
}

.menu-smart-submenu {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	min-width: 220px;
	max-width: 100%;
	width: max-content;
	background: #fff;
	box-shadow: 0 10px 24px rgb(0 0 0 / 8%);
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: ease opacity .3s;
	border-radius: 0 0 4px 4px;
}

.menu-smart-submenu-full {
	width: 100%;
}

.menu-smart-submenu-content {
	display: flex;
	align-items: stretch;
	max-height: var(--menu-smart-panel-height);
}

.menu-smart-submenu-categories {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	min-width: 300px;
	width: max-content;
	max-height: var(--menu-smart-panel-height);
	padding: 12px;
	gap: 16px 24px;
	flex: 1;
}

.menu-smart-submenu-image {
	padding: 12px;
	border-left: 1px solid #eee;
	overflow: hidden;
}

.menu-smart-submenu-image img {
	display: block;
	width: var(--menu-smart-submenu-image-width, 220px);
	height: auto;
	max-width: 100%;
}

.menu-smart-products {
	display: block;
	position: relative;
	width: var(--menu-smart-product-width);
	min-width: var(--menu-smart-product-width);
	padding: 12px 22px 22px 26px;
	border-left: 1px solid #eee;
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease;
	scrollbar-gutter: stable;
	overflow: auto;
	margin-left: auto;
}

.menu-smart-products.is-loaded {
	opacity: 1;
	visibility: visible;
}

.menu-smart-products.is-empty {
	display: none;
}

.menu-smart-products-carousel {
	position: relative;
}

.menu-smart-products-prev,
.menu-smart-products-next {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
    background: #eee;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.menu-smart-products-prev {
	left: -10px;
}

.menu-smart-products-next {
	right: -10px;
}

.menu-smart .menu-smart-products-pagination {
	position: relative;
	bottom: -10px !important;
	display: none;
}

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

[data-menu-smart-mobile-source] {
	display: none;
}

.menu-smart-mobile {
	display: flex;
	flex-direction: column;
}

.menu-smart-mobile-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 12px;
}

.menu-smart-mobile-title {
	flex: 1;
	margin: 0;
	color: var(--header-menu-mobile-color-text, var(--text, #222));
	font-size: 16px;
	font-weight: 600;
}

.menu-smart-mobile-back {
	display: flex;
	align-items: center;
	border: 0;
	background: transparent;
	padding: 2px 8px;
	color: var(--header-menu-mobile-color-text, var(--text, #222));
}

.menu-smart-mobile-back i {
	font-size: 16px;
	display: flex;
}

.menu-smart-mobile-back span {
	display: none;
}

.menu-smart-mobile-back[hidden] {
	display: none;
}

.menu-smart-mobile-viewport {
	position: relative;
	overflow: hidden;
	transition: height .28s ease;
}

.menu-smart-mobile-panel {
	position: absolute;
	inset: 0;
	transform: translateX(100%);
	transition: transform .28s ease;
}

.menu-smart-mobile-panel.is-active {
	transform: translateX(0);
}

.menu-smart-mobile-panel.is-before {
	transform: translateX(-100%);
}

.menu-smart-mobile-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-smart-mobile-nav-link {
	display: flex;
	align-items: center;
	width: 100%;
	border: 0;
	background: transparent;
	gap: 8px;
	padding: 12px 0;
	color: var(--header-menu-mobile-color-text, var(--text, #222));
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
}

.menu-smart-mobile-nav-link:hover,
.menu-smart-mobile-nav-link:focus {
	color: var(--header-menu-mobile-color-text-hover, var(--primary, #000));
	text-decoration: none;
}

.menu-smart-mobile-nav-link .menu-smart-icon svg {
	fill: var(--header-menu-mobile-icon-color);
}

.menu-smart-mobile-nav-link .bi-chevron-right {
	margin-left: auto;
}

.menu-smart-mobile-nav-link-all {
	border-bottom: 1px solid #eee;
	margin-bottom: 4px;
}

@media (max-width: 991px) {
	.menu-smart {display: none;}
}
