/* Pestañas del producto. Especificidad baja: los controles de Elementor ({{WRAPPER}}) siempre ganan. */

.wzpy-tabs {
	--wzpy-tabs-arrow-size: 12px;
}

.wzpy-tabs__nav {
	position: relative;
	z-index: 1; /* la flecha queda por encima del contenido */
	display: flex;
	flex-wrap: wrap; /* wrap y no overflow: un overflow recortaría la flecha */
	background: #e2e2e2;
}

.wzpy-tabs .wzpy-tabs__tab {
	position: relative;
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	min-height: 60px; /* min-height: el tema fuerza "button { height: inherit !important }" */
	margin: 0;
	padding: 12px 20px;
	border: 0 solid transparent;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #0a7cc1;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: normal;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	transition: all .2s;
}

.wzpy-tabs__tab i {
	font-size: 12px;
}

.wzpy-tabs__tab svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.wzpy-tabs .wzpy-tabs__tab:hover {
	background: #d4d4d4;
	color: #0a7cc1;
}

.wzpy-tabs .wzpy-tabs__tab[aria-selected="true"] {
	background: #0a7cc1;
	color: #fff;
}

.wzpy-tabs .wzpy-tabs__tab:focus-visible {
	outline: 2px solid #0a7cc1;
	outline-offset: 2px;
}

/* Flecha hacia abajo bajo la pestaña activa: hereda el fondo de la pestaña, así sigue al color activo. */
.wzpy-tabs--arrow-yes .wzpy-tabs__tab[aria-selected="true"]::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	width: calc(var(--wzpy-tabs-arrow-size) * 2);
	height: var(--wzpy-tabs-arrow-size);
	background: inherit;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	transform: translateX(-50%);
	pointer-events: none;
}

.wzpy-tabs__panel {
	padding: 20px 0;
	border: 0 solid transparent;
}

.wzpy-tabs__panel[hidden] {
	display: none;
}

.wzpy-tabs--hide-h-yes .wzpy-tabs__panel > h2:first-child {
	display: none;
}

.wzpy-tabs__empty {
	margin: 0;
	padding: 20px;
	color: #777;
	text-align: center;
}
