/**
 * Mobile smart-app banner (Marketing\AppBanner) — fixed bottom bar, mobile
 * web only (JS reveals it for iOS/Android UAs; desktop never sees it).
 *
 * z-index 990: above page content but BELOW every modal/sheet layer (shop
 * filter sheets 1040/1050, follow modal 1100, founding popup 99990, Complianz
 * 999999) so an open sheet always wins the bottom edge. The two mobile
 * bottom-sheet surfaces also hard-hide it via their body classes below. The
 * close button is a <button>, so Motta's global button reset
 * (min-width:160px, line-height:60) must be beaten with !important
 * (reference_motta-button-reset-gotcha).
 */

.pb-appbn {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 990;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	padding: 10px 14px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.14);
	border-top: 1px solid #eef1f4;
	transform: translateY(110%);
	transition: transform 0.3s ease;
}

.pb-appbn.is-open {
	transform: translateY(0);
}

.pb-appbn[hidden] {
	display: none;
}

/* A bottom sheet owns the bottom edge while open — get out of its way
   entirely (the shop filter chip sheets + the store follow modal both
   stamp a body class). */
body.pb-chip-sheet-open .pb-appbn,
body.pb-follow-modal-open .pb-appbn {
	display: none;
}

.pb-appbn__close {
	flex: 0 0 auto;
	min-width: 0 !important;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #94a3b8 !important;
	font-size: 22px !important;
	line-height: 1 !important;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.pb-appbn__icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 11px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.pb-appbn__txt {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.pb-appbn__title {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pb-appbn__sub {
	font-size: 12.5px;
	line-height: 1.3;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pb-appbn__cta {
	flex: 0 0 auto;
	margin-left: auto;
	min-width: 0 !important;
	background: var(--pb-primary, #2095b8) !important;
	color: #fff !important;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.pb-appbn__cta:hover,
.pb-appbn__cta:focus {
	background: #1a7f9d !important;
	color: #fff !important;
}
