/**
 * Product Price — common widget CSS.
 *
 * @package captain-widgets-kit
 * @since   1.4.0
 */

.captwiki-pprice {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.captwiki-pprice__main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.captwiki-pprice__price {
	line-height: 1.2;
}

/* Normalise WooCommerce's price markup. */
.captwiki-pprice__price .price,
.captwiki-pprice__price del,
.captwiki-pprice__price ins {
	display: inline;
	background: none;
}

.captwiki-pprice__price del {
	opacity: 0.7;
	margin-right: 6px;
}

.captwiki-pprice__price ins {
	text-decoration: none;
	font-weight: 700;
}

.captwiki-pprice__prefix,
.captwiki-pprice__suffix {
	font-size: 0.8em;
	opacity: 0.85;
}

.captwiki-pprice__badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 6px;
	background: #16a34a;
	color: #fff;
	font-size: 0.78em;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.captwiki-pprice__save {
	font-size: 0.85em;
	color: #16a34a;
	font-weight: 600;
}

/* Editor notice. */
.captwiki-pprice--notice {
	display: block;
	padding: 14px 16px;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	color: #50575e;
	text-align: center;
	font-size: 13px;
}

.captwiki-pprice--notice p {
	margin: 0;
}
