/**
 * Floating CTA — Pieteikties + WhatsApp
 */

.efpic-cta {
	position: fixed;
	z-index: 99990;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
	padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
}

.efpic-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	min-height: 2.75rem;
	padding: 0.65em 1.25em;
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	flex: 1 1 0;
	max-width: 16rem;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

button.efpic-cta__btn {
	appearance: none;
	-webkit-appearance: none;
}

.efpic-cta__btn:hover,
.efpic-cta__btn:focus {
	opacity: 0.92;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.efpic-cta__btn--contact {
	background: #c62828;
	color: #fff !important;
}

.efpic-cta__btn--wa {
	background: #25d366;
	color: #fff !important;
}

.efpic-cta__wa-icon {
	display: inline-flex;
	line-height: 0;
}

/* Room so fixed bar doesn't cover footer copyright */
body:not(.wp-admin) #footer {
	padding-bottom: 4.5rem;
}

@media (min-width: 782px) {
	.efpic-cta {
		left: auto;
		right: 1.25rem;
		bottom: 1.25rem;
		width: auto;
		padding: 0.5rem;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 8px;
		box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	}

	.efpic-cta__btn {
		flex: 0 0 auto;
		min-width: 9.5rem;
	}

	body:not(.wp-admin) #footer {
		padding-bottom: 0;
	}
}
