/* Jojo Nails — "get the app" card for mobile visitors (see includes/class-app-banner.php).
   Scoped class names; the few !important rules shield it from the theme's global a/button styles. */
.jojo-app-banner {
	--jab-ink: #2a1f23;
	--jab-muted: #75636a;
	--jab-brand-from: #c96a7e;
	--jab-brand-to: #a8475e;

	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 99990;
	max-width: 520px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 6px 10px 12px;
	box-sizing: border-box;
	background: #fff;
	color: #2a1f23;
	color: var(--jab-ink);
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(42, 20, 30, 0.2), 0 2px 6px rgba(42, 20, 30, 0.08);
	font-family: inherit;
	line-height: 1.3;
	text-align: left;
	opacity: 0;
	transform: translateY(calc(100% + 32px));
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.jojo-app-banner.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.jojo-app-banner__icon {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(42, 20, 30, 0.18);
}

.jojo-app-banner__body {
	flex: 1;
	min-width: 0;
}

.jojo-app-banner__title {
	display: block;
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #2a1f23;
	color: var(--jab-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.jojo-app-banner__text {
	display: block;
	margin: 2px 0 0;
	font-size: 13px;
	color: #75636a;
	color: var(--jab-muted);
}

.jojo-app-banner .jojo-app-banner__cta {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: #a8475e !important;
	background: linear-gradient(135deg, var(--jab-brand-from), var(--jab-brand-to)) !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(168, 71, 94, 0.32);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jojo-app-banner .jojo-app-banner__cta:active {
	transform: scale(0.97);
	box-shadow: 0 2px 6px rgba(168, 71, 94, 0.28);
}

.jojo-app-banner .jojo-app-banner__close {
	flex: none;
	width: 40px;
	height: 44px;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 12px;
	background: transparent !important;
	color: #75636a !important;
	color: var(--jab-muted) !important;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
}

.jojo-app-banner .jojo-app-banner__cta:focus-visible,
.jojo-app-banner .jojo-app-banner__close:focus-visible {
	outline: 3px solid var(--jab-brand-to);
	outline-offset: 2px;
}

@media (max-width: 360px) {
	.jojo-app-banner {
		gap: 10px;
	}

	.jojo-app-banner .jojo-app-banner__cta {
		padding: 0 14px;
	}
}

@media (max-width: 340px) {
	.jojo-app-banner__text {
		display: none;
	}

	.jojo-app-banner__icon {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}

	.jojo-app-banner__title {
		font-size: 14px;
	}

	.jojo-app-banner .jojo-app-banner__cta {
		padding: 0 12px;
		font-size: 13px;
	}

	.jojo-app-banner .jojo-app-banner__close {
		width: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jojo-app-banner,
	.jojo-app-banner .jojo-app-banner__cta {
		transition: none;
	}
}
