/* ==============================> PANEL ADMIN: FICHA TÉCNICA */

#woocommerce-product-data ul.wc-tabs li.ficha_tecnica_options a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f1c1";
}

.imega-ficha-tecnica-admin .imega-ficha-tecnica-admin__tipo label {
	display: inline-block;
	margin-right: 18px;
	font-weight: normal;
}

.imega-ficha-tecnica-admin .imega-ficha-tecnica-admin__opcion input {
	margin-right: 6px;
}

.imega-ficha-tecnica-admin .imega-ficha-tecnica-admin__campo .imega-ficha-tecnica-admin__seleccionar {
	margin-right: 10px;
}

.imega-ficha-tecnica-admin .imega-ficha-tecnica-admin__campo .imega-ficha-tecnica-admin__nombre {
	margin-right: 10px;
	font-style: italic;
	color: #666666;
}

/* ==============================> TABS DE PRODUCTO */

.imega-tabs-producto {
	width: 100%;
}

/* -> NAVEGACIÓN DE TABS */

.imega-tabs-producto__nav {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    gap: 8px;
}

.imega-tabs-producto__link {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 14px;
	font-size: 15px;
	font-weight: 600;
	color: #4a4a4a;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	background-color: #F3F4F6;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	-webkit-transition: background-color .3s ease, color .3s ease;
	transition: background-color .3s ease, color .3s ease;
}

.imega-tabs-producto__link i {
	font-size: 15px;
	-webkit-transition: -webkit-transform .3s ease;
	transition: transform .3s ease;
}

.imega-tabs-producto__link:hover {
	background-color: #f4f7f5;
	color: var(--e-global-color-primary);
}

.imega-tabs-producto__link:hover i {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
}

.imega-tabs-producto__link--activo,
.imega-tabs-producto__link--activo:hover {
	background-color: var(--e-global-color-primary);
	color: #ffffff;
}

/* -> PANELES DE CONTENIDO */

.imega-tabs-producto__paneles {
	padding-top: 26px;
}

.imega-tabs-producto__panel {
	display: none;
	opacity: 0;
	-webkit-transform: translateY(8px);
	transform: translateY(8px);
}

.imega-tabs-producto__panel[data-panel="ficha-tecnica"] .imega-tabs-producto__contenido {
    justify-items: center;
}

.imega-tabs-producto__panel--activo {
	display: block;
	-webkit-animation: imegaApareceTab .35s ease forwards;
	animation: imegaApareceTab .35s ease forwards;
}

@-webkit-keyframes imegaApareceTab {
	from { opacity: 0; -webkit-transform: translateY(8px); }
	to { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes imegaApareceTab {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* -> RESPONSIVE: NAVEGACIÓN Y PANELES */

@media (max-width: 768px) {
	.imega-tabs-producto__link {
		flex: 1 1 50%;
		padding: 13px 10px;
		font-size: 13px;
		border-bottom: 1px solid #e2e2e2;
	}

	.imega-tabs-producto__link:nth-child(2n) {
		border-right: none;
	}

	.imega-tabs-producto__paneles {
		padding-top: 20px;
	}
}

/* ==============================> TÍTULO DE BLOQUE CON ÍCONO */

.imega-titulo-bloque {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 18px;
}

.imega-titulo-bloque i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	font-size: 15px;
	color: #ffffff;
	background-color: var(--e-global-color-primary);
	border-radius: 6px;
}

@media (max-width: 768px) {
	.imega-titulo-bloque {
		font-size: 19px;
		gap: 10px;
	}

	.imega-titulo-bloque i {
		width: 28px;
		height: 28px;
		font-size: 13px;
	}
}

/* ==============================> CONTENIDO DE BLOQUES Y PANELES */

.imega-tabs-producto__contenido,
.imega-bloque-producto__contenido {
	font-size: 15px;
	line-height: 1.7;
	color: #444444;
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 16px;
}

.imega-tabs-producto__contenido ul,
.imega-bloque-producto__contenido ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.imega-tabs-producto__contenido ul li,
.imega-bloque-producto__contenido ul li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
}

.imega-tabs-producto__contenido ul li::before,
.imega-bloque-producto__contenido ul li::before {
	content: "\f058";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 1px;
	font-size: 15px;
	color: var(--e-global-color-primary);
}

@media (max-width: 768px) {
	.imega-tabs-producto__contenido,
	.imega-bloque-producto__contenido {
		font-size: 14px;
	}
}

/* ==============================> BLOQUES INDEPENDIENTES DE PRODUCTO */

.imega-bloque-producto {
	margin: 24px 0;
}

/* ==============================> FICHA TÉCNICA: ACCIONES */

.imega-ficha-tecnica__acciones {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.imega-ficha-tecnica__boton {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 26px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	color: #ffffff;
	background-color: var(--e-global-color-primary);
	border-radius: 4px;
	text-decoration: none;
	-webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
	transition: opacity .3s ease, transform .3s ease;
}

.imega-ficha-tecnica__boton i {
	font-size: 15px;
}

.imega-ficha-tecnica__boton:hover {
	opacity: .85;
	color: #ffffff;
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.imega-ficha-tecnica__acciones {
		flex-direction: column;
		align-items: stretch;
	}

	.imega-ficha-tecnica__boton {
		justify-content: center;
		padding: 12px 18px;
		font-size: 13px;
	}
}
