/**
 * GPBid Get-the-app promo (sticky + thank-you + live strip).
 */

.gpbid-app-promo-root {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(68px + env(safe-area-inset-bottom, 0px));
	z-index: 10050;
	pointer-events: none;
}

.gpbid-app-promo-bar {
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(20, 20, 20, 0.96);
	border: 1px solid #333;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
	color: #eee;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.gpbid-app-promo-bar__text {
	flex: 1 1 auto;
	min-width: 0;
}

.gpbid-app-promo-bar__title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.gpbid-app-promo-bar__body {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.35;
	color: #aaa;
}

.gpbid-app-promo-bar__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f5c518, #ff9800);
	color: #111 !important;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
}

.gpbid-app-promo-bar__close {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 999px;
	background: #2a2a2a;
	color: #bbb;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.gpbid-app-promo-bar__close:hover {
	color: #fff;
}

@media (min-width: 901px) {
	.gpbid-app-promo-root:not([data-force="1"]) {
		display: none !important;
	}
	.gpbid-app-promo-root[data-force="1"] {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		width: min(520px, calc(100vw - 32px));
		bottom: 24px;
	}
}

/* Live hub strip */
.gpbid-app-promo-strip {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #1a1a1a;
	border: 1px solid #2e2e2e;
	color: #ddd;
}

.gpbid-app-promo-strip__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gpbid-app-promo-strip__text strong {
	font-size: 13px;
	color: #fff;
}

.gpbid-app-promo-strip__text span {
	font-size: 12px;
	color: #999;
}

.gpbid-app-promo-strip__cta {
	flex: 0 0 auto;
	padding: 8px 12px;
	border-radius: 999px;
	background: #f5c518;
	color: #111 !important;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
}

/* Thank-you card */
.gpbid-app-promo-card {
	margin: 20px 0 8px;
	padding: 16px;
	border-radius: 12px;
	background: #151515;
	border: 1px solid #2a2a2a;
	color: #eee;
}

.gpbid-app-promo-card__title {
	display: block;
	font-size: 16px;
	margin-bottom: 4px;
}

.gpbid-app-promo-card__body {
	margin: 0;
	font-size: 13px;
	color: #aaa;
	line-height: 1.45;
}

.gpbid-app-promo-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.gpbid-app-promo-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	background: linear-gradient(90deg, #f5c518, #ff9800);
	color: #111 !important;
	font-weight: 800;
	text-decoration: none !important;
}

.gpbid-app-promo-card__store {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid #444;
	color: #eee !important;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none !important;
}

body.woocommerce-order-received .gpbid-app-promo-card {
	background: #f7f7f7;
	border-color: #e5e5e5;
	color: #111;
}

body.woocommerce-order-received .gpbid-app-promo-card__body {
	color: #555;
}

body.woocommerce-order-received .gpbid-app-promo-card__store {
	border-color: #ccc;
	color: #111 !important;
}

/* Get-app landing (standalone) */
.gpbid-get-app {
	min-height: 100vh;
	background: #0f0f0f;
	color: #eee;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.gpbid-get-app__wrap {
	max-width: 560px;
	margin: 0 auto;
	padding: 20px 16px 48px;
}

.gpbid-get-app__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.gpbid-get-app__logo {
	font-weight: 800;
	font-size: 18px;
	color: #fff;
	text-decoration: none;
	letter-spacing: -0.02em;
}

.gpbid-get-app__top a.web {
	color: #f5c518;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.gpbid-get-app__hero {
	padding: 28px 18px;
	border-radius: 16px;
	background: linear-gradient(145deg, #171717 0%, #1d2a24 100%);
	border: 1px solid #2a2a2a;
	text-align: center;
	margin-bottom: 20px;
}

.gpbid-get-app__hero h1 {
	margin: 0 0 8px;
	font-size: clamp(1.45rem, 5vw, 1.85rem);
	line-height: 1.2;
	color: #fff;
	font-weight: 800;
}

.gpbid-get-app__hero p {
	margin: 0;
	color: #bdbdbd;
	font-size: 15px;
	line-height: 1.5;
}

.gpbid-get-app__points {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.gpbid-get-app__points li {
	padding: 12px 14px;
	border-radius: 12px;
	background: #161616;
	border: 1px solid #2a2a2a;
	font-size: 14px;
	line-height: 1.4;
}

.gpbid-get-app__points strong {
	color: #f5c518;
}

.gpbid-get-app__primary {
	margin: 0 0 18px;
	text-align: center;
}

.gpbid-get-app__open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	min-width: min(100%, 280px);
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(90deg, #f5c518, #ff9800);
	color: #111;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}

.gpbid-get-app__primary-hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: #888;
}

.gpbid-get-app__stores {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: center;
	margin: 0 0 24px;
}

.gpbid-app-promo-share {
	margin-top: 16px;
	padding: 14px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	text-align: left;
}

.gpbid-app-promo-share__lead {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.45;
	color: #ddd;
}

.gpbid-app-promo-share__lead strong {
	color: #fff;
	display: block;
	margin-bottom: 2px;
	font-size: 14px;
}

.gpbid-app-promo-share__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.gpbid-app-promo-share__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: #f5c518;
	color: #111 !important;
	font-weight: 800;
	font-size: 12px;
	text-decoration: none !important;
}

.gpbid-app-promo-share__actions a:not(.gpbid-app-promo-share__cta) {
	color: #f5c518 !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
}

/* Leave room when iOS Smart Banner may be present + bottom tab */
.gpbid-app-promo-root--ready {
	bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

@supports (-webkit-touch-callout: none) {
	.gpbid-app-promo-root--ready {
		bottom: calc(84px + env(safe-area-inset-bottom, 0px));
	}
}

.gpbid-get-app__stores a {
	line-height: 0;
	display: inline-block;
}

.gpbid-get-app__stores img {
	display: block;
	height: 48px;
	width: auto;
	max-width: min(46vw, 168px);
}

.gpbid-get-app__qr {
	text-align: center;
	padding: 16px;
	border-radius: 12px;
	background: #161616;
	border: 1px solid #2a2a2a;
}

.gpbid-get-app__qr img {
	width: 160px;
	height: 160px;
	background: #fff;
	border-radius: 8px;
	padding: 8px;
}

.gpbid-get-app__qr p {
	margin: 10px 0 0;
	font-size: 13px;
	color: #999;
}

.gpbid-get-app__note {
	margin-top: 18px;
	font-size: 12px;
	color: #777;
	text-align: center;
	line-height: 1.5;
}
