/**
 * Mood + Style navigation styling.
 *
 * Pairs with assets/js/nav-mood-styles.js. Styles the injected per-mood style
 * links in the desktop "Shop" dropdown and the mobile off-canvas drawer, plus
 * the pre-opened drawer layout.
 */

/* Injected style links (shared) ------------------------------------------- */
.manna-nav-styles {
	list-style: none;
	margin: 6px 0 4px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.manna-nav-styles__item {
	margin: 0;
	padding: 0;
	border: 0 !important;
}

.manna-nav-styles__link {
	display: inline-block;
	padding: 4px 11px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.3;
	text-transform: none;
	color: #2f5738 !important;
	background: #f4faf5;
	border: 1px solid #d7e8db;
	border-radius: 999px;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.manna-nav-styles__link:hover,
.manna-nav-styles__link:focus {
	background: #e5f2e8;
	border-color: #bcd9c3;
	color: #234029 !important;
}

/* ------------------------------------------------------------------------- */
/* Desktop "Shop" dropdown mega layout                                       */
/* ------------------------------------------------------------------------- */
@media (min-width: 850px) {
	.header-nav-main li.manna-shop-megamenu > ul.nav-dropdown {
		width: auto;
		min-width: 300px;
		max-width: 340px;
	}

	.header-nav-main li.manna-shop-megamenu > ul.nav-dropdown > li.manna-has-styles {
		padding-bottom: 10px;
		margin-bottom: 6px;
		border-bottom: 1px solid #efe6dc;
	}

	.header-nav-main li.manna-shop-megamenu > ul.nav-dropdown > li.manna-has-styles:last-child {
		border-bottom: 0;
		margin-bottom: 0;
	}

	.header-nav-main li.manna-shop-megamenu > ul.nav-dropdown > li > a {
		font-weight: 700;
	}

	.header-nav-main li.manna-shop-megamenu .manna-nav-styles {
		padding-left: 2px;
	}
}

/* ------------------------------------------------------------------------- */
/* Mobile off-canvas drawer: pre-opened moods + styles                       */
/* ------------------------------------------------------------------------- */

/* Hide the relocated Story / Support / Login items in the drawer. */
#main-menu .manna-drawer-hidden {
	display: none !important;
}

/* Keep the Shop submenu open and remove its collapse toggle. */
#main-menu .manna-shop-drawer-item > ul.children,
#main-menu .manna-shop-drawer-item > ul.sub-menu {
	display: block !important;
}

#main-menu .manna-shop-drawer-item > .toggle,
#main-menu .manna-shop-drawer-item > a > .toggle {
	display: none !important;
}

/* Mood rows in the drawer. */
#main-menu .manna-shop-drawer-item > ul.children > li {
	padding: 4px 0;
}

#main-menu .manna-shop-drawer-item > ul.children > li.manna-has-styles > a {
	font-weight: 700;
	padding-bottom: 2px;
}

#main-menu .manna-nav-styles {
	padding: 4px 0 8px;
	margin: 0;
}

#main-menu .manna-nav-styles__link {
	font-size: 12px;
	padding: 5px 12px;
}
