/* ==========================================================
   Tarjetas de producto
   ========================================================== */

/* Insignia de descuento: pastilla morada, arriba a la derecha */
html body .woocommerce span.onsale,
html body.woocommerce span.onsale,
html body .woocommerce ul.products li.product span.onsale,
html body .sp-product-image span.onsale,
html body .woocommerce div.product span.onsale {
	background: #7B4FBF !important;
	background-color: #7B4FBF !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 8px 14px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: .02em;
	top: 16px !important;
	right: 16px !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	z-index: 2;
}

/* Campana: pastilla con los colores de la campana */
html body .woocommerce span.onsale.np-onsale-campana,
html body.woocommerce span.onsale.np-onsale-campana,
html body .woocommerce ul.products li.product span.onsale.np-onsale-campana,
html body .sp-product-image span.onsale.np-onsale-campana,
html body .woocommerce div.product span.onsale.np-onsale-campana {
	background: var(--np-campana-fondo, #111) !important;
	background-color: var(--np-campana-fondo, #111) !important;
	color: var(--np-campana-texto, #fff) !important;
}

/* Campana: franja inferior */
.np-franja-campana {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: var(--np-campana-fondo, #111);
	color: var(--np-campana-texto, #fff);
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	letter-spacing: .14em;
	text-align: center;
	padding: 9px 0;
	pointer-events: none;
}

/* Rueda de color: arriba a la izquierda */
.np-rueda-color {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: conic-gradient(#f2545b, #f7a35c, #f6d55c, #7bd389, #4fb3e8, #7b8cf0, #b07be0, #f07bb5, #f2545b);
	-webkit-mask: radial-gradient(circle, transparent 34%, #000 36%);
	mask: radial-gradient(circle, transparent 34%, #000 36%);
	pointer-events: none;
}

/* ==========================================================
   Ficha de producto
   ========================================================== */

/* Pastilla junto al precio */
.np-pastilla-precio {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -2px;
	margin-left: 10px;
	background: #7B4FBF !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	padding: 6px 11px;
	border-radius: 999px;
	text-decoration: none !important;
	white-space: nowrap;
}

.np-pastilla-precio.np-pastilla-campana {
	background: var(--np-campana-fondo, #111) !important;
	color: var(--np-campana-texto, #fff) !important;
}

/* Etiqueta sobre el titulo: OFERTA o nombre de la campana */
.np-etiqueta-producto {
	display: inline-block;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .14em;
	padding: 7px 12px;
}

.np-etiqueta-oferta {
	background: #7B4FBF;
	color: #fff;
}

.np-etiqueta-campana {
	background: var(--np-campana-fondo, #111);
	color: var(--np-campana-texto, #fff);
}

/* ==========================================================
   Movil
   ========================================================== */

@media (max-width: 768px) {
	html body .woocommerce span.onsale,
	html body.woocommerce span.onsale,
	html body .woocommerce ul.products li.product span.onsale,
	html body .sp-product-image span.onsale,
	html body .woocommerce div.product span.onsale {
		padding: 6px 10px !important;
		font-size: 12px !important;
		top: 10px !important;
		right: 10px !important;
	}
	.np-franja-campana {
		font-size: 11px;
		padding: 6px 0;
	}
	.np-rueda-color {
		top: 10px;
		left: 10px;
		width: 26px;
		height: 26px;
	}
	.np-pastilla-precio {
		font-size: 12px;
		padding: 5px 9px;
		margin-left: 8px;
	}
	.np-etiqueta-producto {
		font-size: 11px;
		padding: 6px 10px;
		margin-bottom: 10px;
	}
}