/**
 * Sticky Promo Bar — Style 4: Floating Pill
 *
 * The bar floats inset from the viewport edges as a rounded pill with a deep
 * soft shadow — a modern toast-like announcement.
 *
 * @package captain-widgets-kit
 * @since   1.7.0
 */

.captwiki-promo.captwiki-style-4 {
	padding: 14px 16px;
}

.captwiki-promo--fixed.captwiki-style-4 {
	left: 0;
	right: 0;
}

.captwiki-promo.captwiki-style-4 .captwiki-promo__bar {
	max-width: 980px;
	margin: 0 auto;
	background: #111827;
	border-radius: 99px;
	box-shadow: 0 16px 40px rgba( 17, 24, 39, 0.3 );
}

.captwiki-promo.captwiki-style-4 .captwiki-promo__badge {
	background: var( --captwiki-promo-accent );
}

.captwiki-promo.captwiki-style-4 .captwiki-promo__btn {
	background: var( --captwiki-promo-accent );
}

@media ( max-width: 767px ) {
	.captwiki-promo.captwiki-style-4 .captwiki-promo__bar {
		border-radius: 22px;
	}
}
