/**
 * Sales Badge — Style 4 (Ribbon).
 *
 * Flag-style ribbon with a notched tail.
 *
 * @package captain-widgets-kit
 * @since   1.4.0
 */

.captwiki-sbadge.captwiki-style-4 .captwiki-sbadge__inner {
	position: relative;
	padding: 7px 16px 7px 18px;
	border-radius: 3px 0 0 3px;
	margin-right: 14px;
}

/* Triangular tail on the right. */
.captwiki-sbadge.captwiki-style-4 .captwiki-sbadge__inner::after {
	content: "";
	position: absolute;
	top: 0;
	right: -14px;
	width: 0;
	height: 0;
	border-top: 17px solid #dc2626;
	border-bottom: 17px solid #dc2626;
	border-right: 14px solid transparent;
}

/* Notch dot. */
.captwiki-sbadge.captwiki-style-4 .captwiki-sbadge__inner::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -3px;
	width: 5px;
	height: 5px;
	background: rgba( 255, 255, 255, 0.85 );
	border-radius: 50%;
	transform: translateY( -50% );
	z-index: 1;
}
