/* Í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 (misma tipografía que el resto del menú) */
.zp-drawer__link--pro.yolaburo-pro-menu-link {
	background: #2563eb !important;
	color: #fff !important;
	border-radius: 10px;
	margin: 6px 12px;
	padding: 12px 14px !important;
	min-height: 44px;
}

.zp-drawer__link--pro.yolaburo-pro-menu-link .fa:first-child {
	color: #fff !important;
}

.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 naranja + badge Nuevo) */
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner:has(.zp-bottom-nav__item--pro):not(.zp-bottom-nav__inner--dense),
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner:has(.zp-bottom-nav__item--presup):not(.zp-bottom-nav__inner--dense) {
	max-width: 480px !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro .zp-bottom-nav__pro-stack {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 2px !important;
	flex-shrink: 0 !important;
	min-height: 24px !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__pro-new {
	display: block !important;
	font-size: 7px !important;
	font-weight: 800 !important;
	letter-spacing: 0.03em !important;
	text-transform: uppercase !important;
	color: #fff !important;
	background: #ef4444 !important;
	padding: 1px 4px !important;
	border-radius: 4px !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro {
	color: #f59e0b !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,
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro .zp-bottom-nav__ico i::before {
	color: #f59e0b !important;
}

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

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro .zp-bottom-nav__txt--wrap {
	flex-shrink: 0 !important;
	overflow: visible !important;
	text-overflow: clip !important;
	max-width: 100% !important;
	width: 100% !important;
	font-size: 10px !important;
	line-height: 1.08 !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item--pro .zp-bottom-nav__txt--wrap .zp-bottom-nav__txt-line {
	overflow: visible !important;
	text-overflow: clip !important;
	white-space: nowrap !important;
	font-weight: 700 !important;
	color: inherit !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner > a.zp-bottom-nav__item--pro.zp-bottom-nav__item--active {
	color: #ea580c !important;
	background: rgba(245, 158, 11, 0.16) !important;
	box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.22) !important;
	padding-left: 4px !important;
	padding-right: 4px !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner > a.zp-bottom-nav__item--pro.zp-bottom-nav__item--active .zp-bottom-nav__ico,
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner > a.zp-bottom-nav__item--pro.zp-bottom-nav__item--active .zp-bottom-nav__ico i,
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner > a.zp-bottom-nav__item--pro.zp-bottom-nav__item--active .zp-bottom-nav__ico i::before,
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner > a.zp-bottom-nav__item--pro.zp-bottom-nav__item--active .zp-bottom-nav__txt,
#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner > a.zp-bottom-nav__item--pro.zp-bottom-nav__item--active .zp-bottom-nav__txt-line {
	color: #ea580c !important;
}

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

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner--dense .zp-bottom-nav__pro-new {
	font-size: 6px !important;
	padding: 1px 3px !important;
}

#menu-footer.zp-bottom-nav-shell .zp-bottom-nav__inner--dense .zp-bottom-nav__item--pro .zp-bottom-nav__txt--wrap {
	font-size: 9.5px !important;
	line-height: 1.1 !important;
}

/* 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;
	}
}
