:root {
	--luo-mm-bg: #f4f4f4;
	--luo-mm-text: #0b1468;
	--luo-mm-muted: #7c82a6;
	--luo-mm-accent: #2fd3c6;
	--luo-mm-badge-bg: #dff6f3;
	--luo-mm-divider: #d9dbe3;
	--luo-mm-col-width: 230px;
	--luo-mm-col-gap: 28px;
	--luo-mm-container: 1260px;
	--luo-mm-gutter: 80px;
	--luo-mm-z: 1000;
	--luo-mm-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.luo-mm { display: none; }

@media (min-width: 1024px) {

	.has-megamenu { position: static; }

	.luo-mm {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 99;
		background: #f5f5f5;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-6px);
		transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
		color: var(--blue);
		font-family: var(--dm-font);
	}

	.has-megamenu:hover > .luo-mm,
	.has-megamenu:focus-within > .luo-mm,
	.has-megamenu.is-open > .luo-mm {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}
	.luo-mm::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 24px;
	}
	.luo-mm__inner {
		display: flex;
		margin: 0 auto;
		padding: 1.9rem 0 7.7rem;
		box-sizing: border-box;
	}
	.luo-mm__col {
		min-width: 0;
	}
	.luo-mm__col--products { flex: 1 1 auto; }
	.luo-mm__col + .luo-mm__col {
		margin-left: 2.8rem;
		padding-left: 2.8rem;
		border-left: 1px solid #D7D8E5;
	}
	.luo-mm__label {
		margin: 0 0 1.2rem;
		padding: 0 1.6rem;
		font-size: 1.1rem;
		letter-spacing: .44px;
		text-transform: uppercase;
		color: rgba(0, 10, 119, 0.50);
	}
	.luo-mm__list {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.luo-mm .luo-mm__item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-width: 23rem;
		min-height: 5rem;
		margin: 0 0 4px;
		padding: 0 1.6rem;
		box-sizing: border-box;
		font-size: 1.3rem;
		line-height: 1.2;
		text-align: left;
		background: transparent;
		border: 0;
		border-radius: 0;
		cursor: pointer;
		transition: background-color .2s ease;
		color: var(--blue);
	}

	.luo-mm .luo-mm__item::after {
		content: "";
		flex: none;
		width: 12px;
		height: 12px;
		background: currentColor;
		-webkit-mask: var(--luo-mm-arrow) center / contain no-repeat;
		        mask: var(--luo-mm-arrow) center / contain no-repeat;
		transition: transform .2s ease, background-color .2s ease;
	}
	.luo-mm__list > li.is-active > .luo-mm__item {
		background: white;
	}
	.luo-mm__list > li.is-active > .luo-mm__item::after {
		background: #01CFC9;
		transform: translateX(2px);
	}

	.luo-mm .luo-mm__item:focus-visible {
		outline: 2px solid #01CFC9;
		outline-offset: -2px;
	}
	.luo-mm__group { display: none; }
	.luo-mm__group.is-active { display: block; }
	.luo-mm__products.is-active { display: flex; }
	.luo-mm__products {
		flex-wrap: wrap;
		gap: 1.6rem;
		list-style: none;
		margin: 0;
	}
	.luo-mm__product { 
		width: calc(25% - 1.2rem); 
	}
	.luo-mm .luo-mm__product a {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		text-decoration: none;
		color: inherit;
	}
	.luo-mm__thumb {
		display: block;
		width: 13rem;
		height: 13rem;
		margin: 2rem 0 .5rem;
	}
	.luo-mm__thumb img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
		transition: transform .3s ease;
	}
	.luo-mm__product a:hover .luo-mm__thumb img { 
		transform: translateY(-4px); 
	}
	.luo-mm__badge {
		display: inline-block;
		margin-bottom: .5rem;
		padding: 5px 10px;
		font-size: 1rem;
		font-weight: 700;
		line-height: 1.2;
		text-transform: uppercase;
		background: #DFF5F0;
	}
	.luo-mm__name {
		font-size: 1.6rem;
		font-weight: 700;
		line-height: 1.2;
		font-family: var(--font);
	}
	.luo-mm__meta {
		margin-top: .5rem;
		font-size: 1.1rem;
		opacity: 0.6;
	}
	.luo-mm .luo-mm__view-all {
		display: inline-flex;
        align-items: center;
        gap: 8px;
        margin: 2.8rem 1.6rem 0;
        font-size: 1.3rem;
        font-weight: 500;
        text-decoration: none;
	}
	.luo-mm .luo-mm__view-all::after {
		content: "";
		width: 12px;
		height: 12px;
		background: currentColor;
		-webkit-mask: var(--luo-mm-arrow) center / contain no-repeat;
		        mask: var(--luo-mm-arrow) center / contain no-repeat;
		transition: transform .2s ease;
	}
	.luo-mm .luo-mm__view-all:hover::after { 
		transform: translateX(3px); 
	}
}

@media (prefers-reduced-motion: reduce) {
	.luo-mm,
	.luo-mm * { transition: none !important; }
}


@media (max-width: 767.98px) {

	.has-megamenu.active > .luo-mm {
		display: block;
		align-self: center;
		width: calc(100vw - 4rem);
		max-width: 35rem;
		margin-top: 2.4rem;
		text-align: left;
	}
	.luo-mm .luo-mm__label,
	.luo-mm .luo-mm__col--products { display: none; }
	.luo-mm .luo-mm__list {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.luo-mm .luo-mm__list > li {
		padding: 0;
		font-size: 1.6rem;
		font-family: var(--dm-font);
		line-height: 1.3;
	}
	.luo-mm .luo-mm__list > li + li { 
		margin-top: 6px; 
	}
	.luo-mm .luo-mm__item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		box-sizing: border-box;
		width: 100%;
		min-height: 5rem;
		margin: 0;
		padding: 0 1.6rem;
		font: inherit;
		font-size: 1.6rem;
		line-height: 1.3;
		text-align: left;
		color: var(--blue);
		background: #DFF5F0;
		border: 0;
		border-radius: 0;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		font-family: var(--dm-font);
	}
	.luo-mm .luo-mm__item::after {
		content: "";
		flex: none;
		width: 12px;
		height: 12px;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 2 8.5 6l-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
		        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 2 8.5 6l-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
		transition: transform .25s ease;
	}
	.luo-mm:not(.is-category-open) .luo-mm__col--categories li.is-active > .luo-mm__item { 
		background: #DFF5F0; 
	}
	#mobile-menu.luo-category-open .inner .menu > li:not(.has-megamenu.active),
	#mobile-menu.luo-category-open .bottom-mobile-menu { 
		display: none !important; 
	}
	.luo-mm:not(.is-category-open) .luo-mm__col--subcategories,
	.luo-mm .luo-mm__col--subcategories .luo-mm__group:not(.is-active) { 
		display: none; 
	}
	.luo-mm.is-category-open .luo-mm__col--categories li:not(.is-active) { 
		display: none; 
	}
	.luo-mm.is-category-open .luo-mm__col--categories li.is-active > .luo-mm__item {
		justify-content: flex-end;
		flex-direction: row-reverse;
		gap: .8rem;
		min-height: 0;
		margin-bottom: 1rem;
		padding: 4px 0;
		font-weight: 700;
		text-transform: uppercase;
		color: #fff;
		background: none;
	}
	.luo-mm.is-category-open .luo-mm__col--categories li.is-active > .luo-mm__item::after { 
		transform: rotate(180deg); 
	}
	.luo-mm .luo-mm__col--subcategories .luo-mm__item::after { 
		transform: rotate(90deg); 
	}
	.luo-mm .luo-mm__col--subcategories li.is-active > .luo-mm__item { 
		background: #fff; 
	}
	.luo-mm .luo-mm__col--subcategories li.is-active > .luo-mm__item::after { 
		transform: rotate(-90deg); 
	}
	.luo-mm .luo-mm__col--subcategories .luo-mm__products { 
		display: none; 
	}
	.luo-mm .luo-mm__col--subcategories li.is-active > .luo-mm__products {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.2rem;
		margin: 0;
		padding: 6px 0 0;
		list-style: none;
	}
	.luo-mm .luo-mm__product {
		padding: 0;
		line-height: 1.25;
	}
	.luo-mm .luo-mm__product a {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		box-sizing: border-box;
		height: 100%;
		padding: 1.2rem;
		text-align: left;
		text-decoration: none;
		color: #0b1468;
		background: #fff;
	}
	.luo-mm .luo-mm__thumb {
		position: relative;
		display: block;
		width: 100%;
		aspect-ratio: 4 / 3;
		margin-bottom: 12px;
		overflow: hidden;
		background: #F7F3ED;;
	}
	.luo-mm .luo-mm__thumb img {
		position: absolute;
		width: 100%;
		height: 100%;
		object-fit: contain;
	}
	.luo-mm .luo-mm__badge {
		max-width: 100%;
		margin-bottom: 8px;
		padding: 10px 4px;
		overflow: hidden;
		font-size: 9px;
		font-weight: 700;
		text-overflow: ellipsis;
		text-transform: uppercase;
		white-space: nowrap;
		background: #DFF5F0;
	}
	.luo-mm .luo-mm__product a > span { 
		color: #0b1468; 
	}
	.luo-mm .luo-mm__name {
		font-size: 1.6rem;
		font-weight: 700;
		font-family: var(--font);
	}
	.luo-mm .luo-mm__meta {
		margin-top: 0;
		font-size: 1.1rem;
		opacity: .6;
	}
}