/* Ítem PRO — menú principal y header 2026 */
.menu-item-pro,
.zp-pro-menu {
	position: relative;
	list-style: none;
}

.menu-item-pro > a,
.zp-pro-menu > a.yolaburo-pro-menu-link,
a.zp-nav-link--pro-pill {
	background: #2563eb !important;
	color: #ffffff !important;
	padding: 6px 16px !important;
	border-radius: 20px !important;
	font-weight: 700 !important;
	transition: background 0.2s ease;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	line-height: 1.2;
	white-space: nowrap;
}

.menu-item-pro > a:hover,
.zp-pro-menu > a.yolaburo-pro-menu-link:hover,
a.zp-nav-link--pro-pill:hover {
	background: #1d4ed8 !important;
	color: #ffffff !important;
}

/* Badge NUEVO: solo header desktop y menú WP (drawer usa span, no ::after) */
.zp-pro-menu--header > a.yolaburo-pro-menu-link::after,
li.menu-item.menu-item-pro > a::after {
	content: 'NUEVO';
	background: #ef4444;
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	padding: 2px 5px;
	border-radius: 4px;
	margin-left: 6px;
	vertical-align: middle;
	line-height: 1;
}

.zp-pro-menu--drawer > a.yolaburo-pro-menu-link::after {
	content: none !important;
	display: none !important;
}

/* Header 2026: alinear con nav */
.zp-header-nav__right .zp-pro-menu--header {
	display: inline-flex;
	align-items: center;
	margin: 0 4px;
}

/* Drawer móvil — pill sin popover */
.zp-drawer__link--pro.yolaburo-pro-menu-link {
	background: #2563eb !important;
	color: #fff !important;
	border-radius: 12px;
	font-weight: 700;
	margin: 4px 0 8px;
}

.zp-drawer__link--pro .yolaburo-pro-menu-badge {
	background: #ef4444;
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	padding: 2px 5px;
	border-radius: 4px;
	margin-left: auto;
	margin-right: 8px;
	line-height: 1;
}

/* Popover */
.pro-popover {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: min(260px, calc(100vw - 24px));
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 10050;
}

.pro-popover.is-open {
	display: block;
}

.pro-popover::before {
	content: '';
	position: absolute;
	top: -6px;
	right: 24px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-left: 1px solid #e5e7eb;
	border-top: 1px solid #e5e7eb;
	transform: rotate(45deg);
}

.pro-popover.is-flip-left {
	right: auto;
	left: 0;
}

.pro-popover.is-flip-left::before {
	right: auto;
	left: 24px;
}

.pro-popover-title {
	font-weight: 700;
	font-size: 15px;
	margin: 0 0 10px;
	color: #111827;
}

.pro-popover ul {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
}

.pro-popover ul li {
	font-size: 13px;
	color: #374151;
	padding: 3px 0;
}

.pro-popover-price {
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 12px;
}

.pro-popover-price strong {
	color: #111827;
	font-size: 15px;
}

.pro-popover-cta {
	display: block;
	text-align: center;
	background: #2563eb;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.pro-popover-cta:hover {
	background: #1d4ed8;
	color: #ffffff !important;
}

/* Desktop: hover abre popover */
@media (min-width: 769px) {
	.menu-item-pro:hover .pro-popover,
	.zp-pro-menu--header:hover .pro-popover,
	.menu-item-pro:focus-within .pro-popover,
	.zp-pro-menu--header:focus-within .pro-popover {
		display: block;
	}

	.menu-item-pro:hover .pro-popover.is-open,
	.zp-pro-menu--header:hover .pro-popover.is-open {
		display: block;
	}
}

/* Bottom nav móvil — tab Pro (rayo) antes de Perfil */
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner:has(.zp-bottom-nav__item--pro):not(.zp-bottom-nav__inner--dense) {
	max-width: 480px !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro {
	color: #2563eb !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro .zp-bottom-nav__ico,
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro .zp-bottom-nav__ico i {
	color: #2563eb !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro .zp-bottom-nav__txt {
	color: #2563eb !important;
	font-weight: 700 !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner > a.zp-bottom-nav__item--pro.zp-bottom-nav__item--active {
	color: #1d4ed8 !important;
	background: rgba(37, 99, 235, 0.16) !important;
	box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.22) !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro:active {
	transform: scale(0.96);
}

/* Mobile — sin popover */
@media (max-width: 768px) {
	.menu-item-pro > a,
	.zp-pro-menu > a {
		display: inline-block;
		margin: 8px 0;
	}

	.pro-popover {
		display: none !important;
	}
}
