.mgmc-menu,
.mgmc-menu * {
	box-sizing: border-box;
}

.mgmc-menu {
	width: 100%;
	max-width: 360px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e7e1d9;
	border-radius: 18px;
	box-shadow: none;
	font-family: inherit;
}

.mgmc-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.mgmc-item {
	padding: 0;
	margin: 0;
	list-style: none;
}

.mgmc-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 54px;
	padding: 12px 14px;
	margin: 0;
	color: inherit;
	background: transparent;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none !important;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.mgmc-row::before {
	position: absolute;
	top: 18%;
	bottom: 18%;
	left: 0;
	width: 3px;
	background: #a76045;
	border-radius: 0 10px 10px 0;
	content: '';
	opacity: 0;
	transform: scaleY(0.35);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.mgmc-row:hover,
.mgmc-item.is-current .mgmc-row {
	background: #f7f2ed;
}

.mgmc-row:hover::before,
.mgmc-item.is-current .mgmc-row::before {
	opacity: 1;
	transform: scaleY(1);
}

.mgmc-main,
.mgmc-meta {
	display: flex;
	align-items: center;
	min-width: 0;
}

.mgmc-main {
	flex: 1 1 auto;
	gap: 12px;
}

.mgmc-meta {
	flex: 0 0 auto;
	justify-content: flex-end;
	gap: 10px;
}

.mgmc-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 3px;
	transition: transform 0.25s ease;
}

.mgmc-row:hover .mgmc-copy {
	transform: translateX(4px);
}

.mgmc-name {
	display: block;
	min-width: 0;
	color: #292621;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	overflow-wrap: anywhere;
	transition: color 0.25s ease;
}

.mgmc-row:hover .mgmc-name,
.mgmc-item.is-current .mgmc-name {
	color: #8c4d36;
}

.mgmc-image-wrap {
	display: block;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	background: #f2efea;
	border-radius: 10px;
	overflow: hidden;
}

.mgmc-image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.mgmc-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	padding: 3px 7px;
	color: #6b645d;
	background: #f1eee9;
	border-radius: 99px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

.mgmc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	color: #8c4d36;
	background: #f3e9e2;
	border-radius: 50%;
	font-size: 11px;
	line-height: 1;
	transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.mgmc-arrow i,
.mgmc-arrow svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: inherit;
}

.mgmc-arrow svg {
	fill: currentColor;
}

.mgmc-row:hover .mgmc-arrow {
	color: #fff;
	background: #a76045;
	transform: translateX(3px);
}

.mgmc-divider {
	display: block;
	height: 1px;
	margin-right: 14px;
	margin-left: 14px;
	background: #eae5de;
}

.mgmc-item:last-child .mgmc-divider {
	display: none;
}

.mgmc-item-featured {
	margin: 0 0 8px;
}

.mgmc-featured {
	min-height: 58px;
	padding: 15px 16px;
	color: #fff;
	background: linear-gradient(135deg, #5c6d63 0%, #334139 100%);
	border-radius: 12px;
	box-shadow: none;
}

.mgmc-featured::before {
	display: none;
}

.mgmc-featured:hover {
	background: linear-gradient(135deg, #66786e 0%, #3d4d44 100%);
}

.mgmc-featured .mgmc-name,
.mgmc-featured:hover .mgmc-name,
.mgmc-item-featured.is-current .mgmc-name {
	color: #fff;
}

.mgmc-featured .mgmc-arrow {
	color: #334139;
	background: #fff;
}

.mgmc-featured:hover .mgmc-arrow {
	color: #334139;
	background: #fff;
}

.mgmc-featured .mgmc-count {
	color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

.mgmc-featured-label {
	display: block;
	color: #d6e2da;
	font-family: inherit;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Alternate base: individual cards with air between items. */
.mgmc-menu.mgmc-skin-cards {
	padding: 0;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.mgmc-skin-cards .mgmc-list {
	gap: 8px;
}

.mgmc-skin-cards .mgmc-row:not(.mgmc-featured) {
	background: #fff;
	border: 1px solid #e7e1d9;
	box-shadow: none;
}

.mgmc-skin-cards .mgmc-row:not(.mgmc-featured):hover {
	background: #f9f5f1;
	border-color: #dbc8bb;
}

.mgmc-skin-cards .mgmc-divider {
	display: none;
}

/* Alternate base: no surrounding card or arrow bubble. */
.mgmc-menu.mgmc-skin-minimal {
	padding: 0;
	background: transparent;
	border-color: transparent;
	border-radius: 0;
	box-shadow: none;
}

.mgmc-skin-minimal .mgmc-row {
	border-radius: 0;
}

.mgmc-skin-minimal .mgmc-arrow {
	width: auto;
	height: auto;
	flex-basis: auto;
	background: transparent;
}

.mgmc-skin-minimal .mgmc-row:hover .mgmc-arrow {
	color: #8c4d36;
	background: transparent;
}

.mgmc-skin-minimal .mgmc-featured .mgmc-arrow,
.mgmc-skin-minimal .mgmc-featured:hover .mgmc-arrow {
	color: #fff;
}

@media (max-width: 767px) {
	.mgmc-menu {
		max-width: 100%;
	}

	.mgmc-row {
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mgmc-menu *,
	.mgmc-menu *::before,
	.mgmc-menu *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
