/* WC PWA App – floating install prompt */
.wcpwa-banner {
	--wcpwa-accent: #7f54b3;
	position: fixed;
	left: 12px;
	right: 12px;
	z-index: 999999;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 480px;
	margin: 0 auto;
	padding: 12px 40px 12px 14px;
	box-sizing: border-box;
	background: #fff;
	color: #1d2327;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
	font: 14px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
}
.wcpwa-pos-bottom { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateY(24px); }
.wcpwa-pos-top    { top: calc(12px + env(safe-area-inset-top, 0px));       transform: translateY(-24px); }
.wcpwa-banner.wcpwa-visible { opacity: 1; transform: none; }

.wcpwa-icon { width: 44px; height: 44px; border-radius: 10px; flex: 0 0 auto; object-fit: cover; }
.wcpwa-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.wcpwa-text strong { font-size: 14px; }
.wcpwa-text span { color: #50575e; font-size: 13px; }

.wcpwa-install {
	flex: 0 0 auto;
	border: 0;
	border-radius: 999px;
	padding: 10px 16px;
	background: var(--wcpwa-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.wcpwa-close {
	position: absolute;
	top: 4px;
	right: 6px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #787c82;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .wcpwa-banner { transition: none; } }
