.epwcc-wrap {
	position: fixed;
	right: max(24px, env(safe-area-inset-right));
	bottom: max(24px, env(safe-area-inset-bottom));
	z-index: 99999;
	display: flex;
	width: auto;
	height: auto;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	isolation: isolate;
}

.epwcc-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(15, 102, 51, 0.26);
	text-decoration: none;
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.epwcc-button::before {
	position: absolute;
	inset: -10px;
	z-index: -1;
	border-radius: 50%;
	background: rgba(37, 211, 102, 0.3);
	content: "";
	pointer-events: none;
	animation: epwcc-pulse 1.8s ease-out infinite;
}

.epwcc-button:hover {
	background: #128c7e;
	box-shadow: 0 12px 26px rgba(15, 102, 51, 0.34);
	transform: translateY(-2px);
}

.epwcc-button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 4px;
	background: #128c7e;
}

.epwcc-icon {
	width: 34px;
	height: 34px;
}

.epwcc-delivery {
	max-width: min(245px, calc(100vw - 48px));
	margin: 0;
	padding: 9px 14px;
	border: 1px solid rgba(44, 37, 29, 0.14);
	border-radius: 999px;
	color: #24231f;
	background: #f2eee4;
	box-shadow: 0 8px 20px rgba(21, 18, 14, 0.16);
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	pointer-events: none;
}

.epwcc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes epwcc-pulse {
	0% {
		transform: scale(0.85);
		opacity: 0.8;
	}

	70% {
		transform: scale(1.2);
		opacity: 0;
	}

	100% {
		transform: scale(1.2);
		opacity: 0;
	}
}

@media (max-width: 600px) {
	.epwcc-wrap {
		right: max(18px, env(safe-area-inset-right));
		bottom: max(18px, env(safe-area-inset-bottom));
		gap: 10px;
	}

	.epwcc-button {
		width: 58px;
		height: 58px;
	}

	.epwcc-icon {
		width: 31px;
		height: 31px;
	}

	.epwcc-delivery {
		max-width: min(230px, calc(100vw - 36px));
		padding: 8px 12px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.epwcc-button,
	.epwcc-button::before {
		transition: none;
		animation: none;
	}

	.epwcc-button::before {
		opacity: 0;
	}
}
