/**
 * WP Sticky CTA - Frontend styles
 */

.sticky-cta {
	position: fixed;
	right: 24px;
	bottom: 150px;
	z-index: 60;
	box-shadow: var( --shadow, 0 8px 24px rgba( 0, 0, 0, 0.18 ) );
	border-radius: 999px;
}

.sticky-cta .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	background: #1d4ed8;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 999px;
	white-space: nowrap;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.sticky-cta .btn:hover,
.sticky-cta .btn:focus {
	background: #1e40af;
	color: #fff;
	text-decoration: none;
}

.sticky-cta .btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.sticky-cta .btn__icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.sticky-cta .btn__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sticky-cta .btn__text {
	overflow: hidden;
	text-overflow: ellipsis;
}

@media ( max-width: 900px ) {
	.sticky-cta {
		left: 18px;
		right: 18px;
		bottom: 18px;
		border-radius: 14px;
	}

	.sticky-cta .btn {
		width: 100%;
		border-radius: 14px;
		padding: 16px 20px;
	}
}
