/* PWA install badge + app splash */
.hero-product__badge {
	gap: 8px;
	flex-wrap: wrap;
}

.hero-install-btn {
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition:
		background 0.2s ease,
		transform 0.2s ease;
}

.hero-install-btn:hover {
	background: rgba(255, 255, 255, 0.24);
	transform: translateY(-1px);
}

.hero-install-btn[hidden] {
	display: none !important;
}

.tfp-app-splash {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.28), transparent 28rem),
		linear-gradient(135deg, #0f172a 0%, #0b2f75 55%, #2563eb 100%);
}

body.is-pwa-app .tfp-app-splash.is-visible {
	display: flex;
}

.tfp-app-splash__card {
	display: grid;
	place-items: center;
	gap: 10px;
	padding: 26px;
	color: #fff;
	text-align: center;
	animation: tfpSplashPulse 1.6s ease-in-out infinite;
}

.tfp-app-splash__card img {
	width: 92px;
	height: 92px;
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.tfp-app-splash__card strong {
	font-size: 23px;
	line-height: 1;
	letter-spacing: -0.04em;
}

.tfp-app-splash__card span {
	color: #dbeafe;
	font-size: 13px;
	font-weight: 800;
}

@keyframes tfpSplashPulse {
	0%,
	100% {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
	50% {
		transform: translateY(-4px) scale(1.02);
		opacity: 0.92;
	}
}


/* TFP HOTFIX: po powrocie przyciskiem Wstecz nie pokazuj ponownie ekranu startowego PWA. */
html.tfp-suppress-app-splash body.is-pwa-app .tfp-app-splash,
html.tfp-suppress-app-splash body.is-pwa-app .tfp-app-splash.is-visible {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
