/**
 * Wapu Menu · Frontend CSS
 *
 * Estilos del NAV BAR · 4 display_styles · classic / megamenu / editorial / compact.
 * Variables --wn-* se inyectan inline en .wn desde el renderer PHP. El theme
 * puede override-arlas en su propio CSS sin tocar este archivo.
 *
 * @since 7.47.0
 */

/* ─── Defaults (fallbacks por si el inline no inyectó) ─────────────── */
.wn {
	--wn-bg: #ffffff;
	--wn-text: #1a1a1a;
	--wn-accent: #6b2332;
	--wn-surface-alt: #f5f0e6;
	--wn-font-heading: "Playfair Display", Georgia, serif;
	--wn-font-body: "Inter", system-ui, sans-serif;
	--wn-item-accent: var(--wn-accent);
}

/* ─── Base ─────────────────────────────────────────────────────────── */
.wn {
	position: relative;
	background: var(--wn-bg);
	color: var(--wn-text);
	font-family: var(--wn-font-body);
	box-sizing: border-box;
	line-height: 1.4;
}
.wn *,
.wn *::before,
.wn *::after { box-sizing: border-box; }

.wn__items {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wn__item {
	margin: 0;
	padding: 0;
	position: relative;
}
.wn__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 500;
	padding: 6px 2px;
	transition: color .2s ease;
}
.wn__link:hover,
.wn__link:focus-visible { color: var(--wn-item-accent); }
.wn__link:focus-visible { outline: 2px solid var(--wn-item-accent); outline-offset: 4px; border-radius: 4px; }

.wn__icon {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	line-height: 1;
}
.wn__label { white-space: nowrap; }

/* ─── Brand ────────────────────────────────────────────────────────── */
.wn__brand { display: inline-flex; align-items: center; }
.wn__brand-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	text-decoration: none;
}
.wn__brand-img {
	display: block;
	max-height: 40px;
	width: auto;
	object-fit: contain;
}
.wn__brand-text {
	font-family: var(--wn-font-heading);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: .01em;
}

/* ─── Actions (search / user / cart icons) ─────────────────────────── */
.wn__actions {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.wn__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: inherit;
	text-decoration: none;
	border-radius: 999px;
	transition: background .2s ease, color .2s ease;
}
.wn__action:hover,
.wn__action:focus-visible { background: var(--wn-surface-alt); color: var(--wn-accent); }
.wn__action:focus-visible { outline: 2px solid var(--wn-accent); outline-offset: 2px; }
.wn__svg {
	width: 20px;
	height: 20px;
	display: block;
}

/* ─── Badge (pill emoji-first) ─────────────────────────────────────── */
.wn__badge {
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	padding: 2px 7px;
	font-size: 10px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	background: var(--wn-surface-alt);
	color: var(--wn-text);
	border-radius: 999px;
	white-space: nowrap;
}
.wn__badge--new  { background: #1a1a1a; color: #fff; }
.wn__badge--hot  { background: var(--wn-accent); color: #fff; }
.wn__badge--sale { background: #ffe4ec; color: #b3174a; }

/* ─── Style: classic ───────────────────────────────────────────────── */
.wn--classic {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 18px 24px;
}
.wn--classic .wn__items { flex: 1; justify-content: center; }

/* ─── Style: megamenu ──────────────────────────────────────────────── */
.wn--megamenu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 18px 24px;
}
.wn--megamenu .wn__items { flex: 1; justify-content: center; }
.wn--megamenu .wn__item--has-mega > .wn__link::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px);
	transition: transform .2s ease;
}
.wn--megamenu .wn__item.is-open > .wn__link::after {
	transform: rotate(-135deg) translate(-1px, -1px);
}
.wn--megamenu .wn__megamenu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	z-index: 1000;
	padding-top: 12px;
}
.wn--megamenu .wn__item.is-open > .wn__megamenu { display: block; }
.wn--megamenu .wn__item:hover > .wn__megamenu { display: block; }

/* ─── Style: editorial ─────────────────────────────────────────────── */
.wn--editorial {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	padding: 24px 32px;
	text-align: center;
}
.wn--editorial .wn__brand--editorial {
	display: block;
	margin: 0 auto 14px;
	color: inherit;
	text-decoration: none;
	font-family: var(--wn-font-heading);
	font-size: 30px;
	letter-spacing: .04em;
	line-height: 1.1;
}
.wn--editorial .wn__items {
	width: 100%;
	justify-content: center;
	gap: 36px;
	padding: 12px 0;
	border-top: 0.5px solid rgba(0,0,0,.12);
	border-bottom: 0.5px solid rgba(0,0,0,.12);
}
.wn--editorial .wn__link {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 4px 0;
}
.wn--editorial .wn__badge {
	margin-left: 8px;
	font-size: 9px;
	padding: 1px 6px;
}

/* ─── Style: compact ───────────────────────────────────────────────── */
.wn--compact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
}
.wn--compact .wn__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.wn--compact .wn__items {
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.wn--compact .wn__items::-webkit-scrollbar { display: none; }
.wn--compact .wn__item .wn__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 14px;
	background: var(--wn-surface-alt);
	border: 0.5px solid rgba(0,0,0,.08);
	border-radius: 999px;
	font-size: 13px;
	white-space: nowrap;
}
.wn--compact .wn__item .wn__link:hover,
.wn--compact .wn__item .wn__link:focus-visible {
	background: var(--wn-item-accent);
	color: #fff;
	border-color: transparent;
}
.wn--compact .wn__brand-text { font-size: 18px; }
.wn--compact .wn__brand-img { max-height: 32px; }

/* ─── Mobile fallback · todos los estilos colapsan a < 768px ───────── */
@media (max-width: 768px) {
	.wn--classic,
	.wn--megamenu {
		flex-wrap: wrap;
		padding: 14px 16px;
		gap: 12px;
	}
	.wn--classic .wn__items,
	.wn--megamenu .wn__items {
		order: 3;
		flex-basis: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		gap: 18px;
		padding-bottom: 4px;
		scrollbar-width: none;
	}
	.wn--classic .wn__items::-webkit-scrollbar,
	.wn--megamenu .wn__items::-webkit-scrollbar { display: none; }
	.wn--megamenu .wn__megamenu {
		position: static;
		transform: none;
		padding-top: 8px;
	}
	.wn--editorial { padding: 18px 16px; }
	.wn--editorial .wn__items {
		gap: 18px;
		overflow-x: auto;
		justify-content: flex-start;
		scrollbar-width: none;
	}
	.wn--editorial .wn__items::-webkit-scrollbar { display: none; }
	.wn--editorial .wn__brand--editorial { font-size: 24px; }
}

/* ─── Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.wn__link,
	.wn__action,
	.wn--megamenu .wn__item--has-mega > .wn__link::after {
		transition: none;
	}
}

/* ─── [v7.48.0] Mobile accordion + sticky/hide behaviors ─────────── */
@media (max-width: 768px) {
	.wn--megamenu .wn__megamenu {
		position: static !important;
		display: block !important;
		max-height: 0;
		overflow: hidden;
		transition: max-height .28s ease;
		box-shadow: none;
	}
	.wn--megamenu .wn__item--has-mega.is-open .wn__megamenu {
		max-height: 800px;
	}
}

.wn.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.wn.is-hidden {
	transform: translateY(-100%);
	transition: transform .25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.wn.is-hidden { transition: none !important; }
	.wn--megamenu .wn__megamenu { transition: none !important; }
}

/* ─── [v7.51.0] Tones ──────────────────────────────────────────────────
 * Cada tone override-a las CSS vars del wrapper · drop tokens siguen siendo
 * el fallback (los inline `--wn-*` del style attr ganan en cascade), pero
 * los selectores `.wn[data-wapu-menu-tone="x"]` son más específicos que el
 * inline (no realmente — inline gana siempre), por eso re-declaramos las
 * vars dentro del selector tone para forzar el override.
 *
 * Nota: el inline style atrib sobreescribe estas vars. Para que el tone
 * gane, usamos `!important` solo donde es necesario (bg/text/accent).
 * ──────────────────────────────────────────────────────────────────── */
.wn[data-wapu-menu-tone="light"] {
	/* default · usa drop tokens · sin overrides */
}
.wn[data-wapu-menu-tone="cream"] {
	--wn-bg: #f5f0e6 !important;
	--wn-text: #1a1a1a !important;
}
.wn[data-wapu-menu-tone="dark"] {
	--wn-bg: #0f1117 !important;
	--wn-text: #f1f5f9 !important;
	--wn-surface-alt: #1a1d27 !important;
}
.wn[data-wapu-menu-tone="cranberry"] {
	--wn-bg: var(--wn-accent, #6b2332) !important;
	--wn-text: #ffffff !important;
}
.wn[data-wapu-menu-tone="glass"] {
	/* Fallback opaco para navegadores sin backdrop-filter */
	background-color: rgba(255, 255, 255, 0.92);
	--wn-bg: rgba(255, 255, 255, 0.7) !important;
	--wn-text: #1a1a1a !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
	.wn[data-wapu-menu-tone="glass"] {
		background-color: #ffffff;
		--wn-bg: #ffffff !important;
	}
}

/* Dark / cranberry · ajustes finos en brand + iconos para legibilidad */
.wn[data-wapu-menu-tone="dark"] .wn__brand,
.wn[data-wapu-menu-tone="dark"] .wn__brand-text {
	color: #ffffff;
}
.wn[data-wapu-menu-tone="dark"] .wn__icon,
.wn[data-wapu-menu-tone="dark"] .wn__svg {
	color: #f1f5f9;
}
.wn[data-wapu-menu-tone="cranberry"] .wn__brand,
.wn[data-wapu-menu-tone="cranberry"] .wn__brand-text {
	color: #ffffff;
}
.wn[data-wapu-menu-tone="cranberry"] .wn__svg,
.wn[data-wapu-menu-tone="cranberry"] .wn__icon {
	color: #ffffff;
}

/* ─── [v7.51.0] Entrance animations ────────────────────────────────────
 * Stagger per-item usa --wn-item-i (inyectado por el render en cada <li>)
 * y --wn-anim-delay (inyectado en el wrapper desde meta.animation.delay).
 * ──────────────────────────────────────────────────────────────────── */
.wn[data-wapu-menu-entrance="fade"] .wn__item {
	opacity: 0;
	animation: wnFadeIn var(--wn-anim-duration, 400ms) ease forwards;
	animation-delay: calc(var(--wn-anim-delay, 0ms) * var(--wn-item-i, 0));
}
.wn[data-wapu-menu-entrance="slide-up"] .wn__item {
	opacity: 0;
	transform: translateY(8px);
	animation: wnSlideUp var(--wn-anim-duration, 400ms) ease forwards;
	animation-delay: calc(var(--wn-anim-delay, 0ms) * var(--wn-item-i, 0));
}
.wn[data-wapu-menu-entrance="stagger"] .wn__item {
	opacity: 0;
	transform: translateY(4px);
	animation: wnStagger var(--wn-anim-duration, 400ms) ease forwards;
	animation-delay: calc(var(--wn-anim-delay, 60ms) * var(--wn-item-i, 0));
}

@keyframes wnFadeIn  { to { opacity: 1; } }
@keyframes wnSlideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes wnStagger { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
	.wn .wn__item {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ─── [v7.51.0] Hover styles ───────────────────────────────────────────
 * 4 variantes · seleccionables desde la meta del location. Default sigue
 * siendo whatever esté en el base · estos selectores solo se activan
 * cuando hay data-wapu-menu-hover.
 * ──────────────────────────────────────────────────────────────────── */

/* underline · línea fina expansiva left-to-right */
.wn[data-wapu-menu-hover="underline"] .wn__link {
	position: relative;
}
.wn[data-wapu-menu-hover="underline"] .wn__link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
	pointer-events: none;
}
.wn[data-wapu-menu-hover="underline"] .wn__link:hover::after,
.wn[data-wapu-menu-hover="underline"] .wn__item.is-open > .wn__link::after {
	transform: scaleX(1);
}

/* pill · fondo redondeado en hover */
.wn[data-wapu-menu-hover="pill"] .wn__link {
	padding: 6px 12px;
	border-radius: 999px;
	transition: background-color .15s ease;
}
.wn[data-wapu-menu-hover="pill"] .wn__link:hover {
	background-color: var(--wn-surface-alt, #f5f0e6);
}

/* glow · brillo + shadow */
.wn[data-wapu-menu-hover="glow"] .wn__link {
	transition: color .15s ease, text-shadow .15s ease;
}
.wn[data-wapu-menu-hover="glow"] .wn__link:hover {
	color: var(--wn-accent, #6b2332);
	text-shadow: 0 0 12px var(--wn-accent, rgba(107, 35, 50, .4));
}

/* scale · zoom sutil */
.wn[data-wapu-menu-hover="scale"] .wn__link {
	transition: transform .15s ease;
	display: inline-block;
}
.wn[data-wapu-menu-hover="scale"] .wn__link:hover {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.wn .wn__link { transition: none !important; }
	.wn .wn__link:hover { transform: none !important; }
	.wn[data-wapu-menu-hover="underline"] .wn__link::after { transition: none !important; }
}

/* ─────────────────────────────────────────────────────────────────
 * [v7.52.0] Mobile drawer · slide-in panel desde la izquierda
 * ───────────────────────────────────────────────────────────────── */
.wn--mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 9998;
	pointer-events: none;
	opacity: 0;
	transition: opacity .22s ease;
}
.wn--mobile-drawer.is-open {
	opacity: 1;
	pointer-events: auto;
}
.wn-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 17, 23, .45);
	backdrop-filter: blur(2px);
	cursor: pointer;
}
.wn-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 320px;
	max-width: 92vw;
	background: var(--wn-bg, #fff);
	color: var(--wn-text, #1a1a1a);
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform .28s cubic-bezier(.22, .85, .32, 1.06);
	box-shadow: 8px 0 32px -8px rgba(15, 17, 23, .2);
}
.wn--mobile-drawer.is-open .wn-drawer__panel {
	transform: translateX(0);
}
.wn-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 0.5px solid rgba(0, 0, 0, .06);
}
.wn-drawer__brand {
	font-family: var(--wn-font-heading, var(--font-serif, serif));
	font-size: 18px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.wn-drawer__brand .wn__brand-img {
	max-height: 28px;
	width: auto;
	display: block;
}
.wn-drawer__brand .wn__brand-link {
	color: inherit;
	text-decoration: none;
}
.wn-drawer__close {
	width: 32px;
	height: 32px;
	border: 0.5px solid rgba(0, 0, 0, .08);
	background: transparent;
	border-radius: 50%;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	padding: 0;
	flex-shrink: 0;
}
.wn-drawer__close:hover {
	background: rgba(0, 0, 0, .04);
}
.wn-drawer__nav {
	flex: 1;
	overflow-y: auto;
	padding: 8px 0;
	-webkit-overflow-scrolling: touch;
}
.wn-drawer__items {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wn-drawer__item {
	border-bottom: 0.5px solid rgba(0, 0, 0, .04);
}
.wn-drawer__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	color: inherit;
	text-decoration: none;
	font-size: 15px;
	transition: background .12s ease;
}
.wn-drawer__link:hover,
.wn-drawer__link:focus-visible {
	background: var(--wn-surface-alt, #f5f0e6);
	outline: none;
}
.wn-drawer__icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: var(--wn-surface-alt, #f5f0e6);
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}
.wn-drawer__label {
	flex: 1;
}
.wn-drawer__chev {
	flex-shrink: 0;
	color: currentColor;
	opacity: .5;
	transition: transform .2s ease;
}
.wn-drawer__link[aria-expanded="true"] .wn-drawer__chev {
	transform: rotate(90deg);
	opacity: .9;
}
.wn-drawer__sub {
	padding: 0 20px 14px 60px;
	background: rgba(0, 0, 0, .02);
}
.wn-drawer__sub-section {
	padding: 12px 0;
	border-top: 0.5px solid rgba(0, 0, 0, .06);
}
.wn-drawer__sub-section:first-child {
	border-top: 0;
}
.wn-drawer__sub-title {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--wn-text, #6b6b6b);
	opacity: .6;
	margin-bottom: 8px;
}
.wn-drawer__sub-links {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wn-drawer__sub-link {
	display: block;
	padding: 8px 0;
	font-size: 14px;
	color: inherit;
	text-decoration: none;
}
.wn-drawer__sub-link:hover {
	color: var(--wn-accent, currentColor);
}
.wn-drawer__cta {
	padding: 14px 20px 20px;
	border-top: 0.5px solid rgba(0, 0, 0, .06);
}
.wn-drawer__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 18px;
	background: #1a1a1a;
	color: #fff;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: opacity .15s ease;
}
.wn-drawer__cta-btn:hover {
	opacity: .9;
	color: #fff;
}

/* Tone overrides para el drawer · usa las mismas tones del nav. */
.wn--mobile-drawer[data-wapu-menu-tone="dark"] .wn-drawer__panel {
	background: #1a1a1a;
	color: #f5f5f5;
}
.wn--mobile-drawer[data-wapu-menu-tone="dark"] .wn-drawer__header,
.wn--mobile-drawer[data-wapu-menu-tone="dark"] .wn-drawer__item,
.wn--mobile-drawer[data-wapu-menu-tone="dark"] .wn-drawer__cta {
	border-color: rgba(255, 255, 255, .08);
}
.wn--mobile-drawer[data-wapu-menu-tone="dark"] .wn-drawer__sub {
	background: rgba(255, 255, 255, .03);
}
.wn--mobile-drawer[data-wapu-menu-tone="dark"] .wn-drawer__close {
	border-color: rgba(255, 255, 255, .12);
}
.wn--mobile-drawer[data-wapu-menu-tone="dark"] .wn-drawer__cta-btn {
	background: #fff;
	color: #1a1a1a;
}
.wn--mobile-drawer[data-wapu-menu-tone="cream"] .wn-drawer__panel {
	background: var(--wn-surface-alt, #f5f0e6);
}
.wn--mobile-drawer[data-wapu-menu-tone="cranberry"] .wn-drawer__panel {
	background: var(--wn-accent, #6b2332);
	color: #fff;
}
.wn--mobile-drawer[data-wapu-menu-tone="cranberry"] .wn-drawer__header,
.wn--mobile-drawer[data-wapu-menu-tone="cranberry"] .wn-drawer__item,
.wn--mobile-drawer[data-wapu-menu-tone="cranberry"] .wn-drawer__cta {
	border-color: rgba(255, 255, 255, .12);
}
.wn--mobile-drawer[data-wapu-menu-tone="cranberry"] .wn-drawer__icon,
.wn--mobile-drawer[data-wapu-menu-tone="cranberry"] .wn-drawer__sub {
	background: rgba(255, 255, 255, .08);
}
.wn--mobile-drawer[data-wapu-menu-tone="cranberry"] .wn-drawer__cta-btn {
	background: #fff;
	color: var(--wn-accent, #6b2332);
}

/* Hamburger trigger · pequeño y limpio · themes pueden usarlo o no. */
.wn-drawer-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	border-radius: 8px;
	padding: 0;
}
.wn-drawer-trigger:hover {
	background: rgba(0, 0, 0, .05);
}
.wn-drawer-trigger:focus-visible {
	outline: 2px solid var(--wn-accent, currentColor);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.wn--mobile-drawer { transition: none !important; }
	.wn--mobile-drawer .wn-drawer__panel { transition: none !important; }
	.wn-drawer__chev { transition: none !important; }
}

/* [v7.56.0] Sub-items dropdown · simple submenu (no mega) */
.wn__item--has-submenu {
	position: relative;
}
.wn__caret {
	margin-left: 3px;
	font-size: 10px;
	opacity: .55;
	display: inline-block;
	transition: transform .2s ease;
}
.wn__item--has-submenu.is-open .wn__caret {
	transform: rotate(180deg);
}
.wn__submenu {
	position: absolute;
	top: 100%;
	left: 0;
	margin: 6px 0 0;
	padding: 6px 0;
	list-style: none;
	min-width: 200px;
	background: var(--wn-bg, #fff);
	color: var(--wn-text, #1a1a1a);
	border: 0.5px solid rgba(0,0,0,.1);
	border-radius: 10px;
	box-shadow: 0 12px 36px -8px rgba(15,17,23,.18), 0 2px 4px rgba(15,17,23,.04);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
	z-index: 20;
}
.wn__item--has-submenu.is-open .wn__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
.wn__submenu-item {
	margin: 0;
}
.wn__submenu-link {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 14px;
	color: inherit;
	text-decoration: none;
	font-size: 13.5px;
	line-height: 1.3;
	transition: background .12s ease;
}
.wn__submenu-link:hover {
	background: var(--wn-surface-alt, #f5f0e6);
}
.wn__submenu-icon {
	flex-shrink: 0;
	font-size: 13px;
	opacity: .8;
}

/* Compact style · submenu opens as expanded pills instead of dropdown */
.wn--compact .wn__submenu {
	position: static;
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}
.wn--compact .wn__submenu-link {
	padding: 6px 10px;
	background: var(--wn-surface-alt, #f5f0e6);
	border-radius: 999px;
	font-size: 11.5px;
}

/* Mobile · accordion */
@media (max-width: 768px) {
	.wn__submenu {
		position: static;
		margin: 0;
		padding: 0;
		border: 0;
		border-top: 0.5px solid rgba(0,0,0,.06);
		border-radius: 0;
		box-shadow: none;
		max-height: 0;
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: max-height .25s ease;
	}
	.wn__item--has-submenu.is-open .wn__submenu {
		max-height: 600px;
	}
	.wn__submenu-link {
		padding: 12px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wn__submenu, .wn__caret { transition: none !important; }
}
