/* App promotion panel: a picture with the store button(s) under it, sliding in from the right edge.
   Everything is scoped to .gkt-promo. The panel is as wide as the window's height allows, so the
   whole picture and the buttons always fit on the screen. */
.gkt-promo[hidden] {
	display: none !important;
}

.gkt-promo {
	position: fixed;
	right: 0;
	bottom: 20px;
	z-index: 9990;
	box-sizing: border-box;
	width: clamp(210px, calc((100vh - 150px) * 0.5525), 330px);
	max-width: calc(100vw - 8px);
	overflow: hidden;
	padding: 0 0 12px;
	background: #fff4ef;
	color: #111;
	border-radius: 22px 0 0 22px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
	transform: translateX(calc(100% + 24px));
	transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.3, 1);
	font-family: inherit;
}

.gkt-promo.is-in {
	transform: none;
}

.gkt-promo *,
.gkt-promo *::before,
.gkt-promo *::after {
	box-sizing: border-box;
}

.gkt-promo .gkt-promo__img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
}

.gkt-promo .gkt-promo__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.08);
	box-shadow: none;
	color: #111;
	cursor: pointer;
	line-height: 1;
}

.gkt-promo .gkt-promo__close:hover,
.gkt-promo .gkt-promo__close:focus-visible {
	background: rgba(0, 0, 0, 0.18);
	color: #111;
}

.gkt-promo__stores {
	display: flex;
	gap: 8px;
	padding: 0 12px;
}

.gkt-promo b {
	color: inherit;
}

.gkt-store {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 0;
	padding: 8px 10px;
	border-radius: 11px;
	background: #000;
	color: #fff !important;
	text-align: left;
	text-decoration: none !important;
	line-height: 1.1;
}

.gkt-store:hover,
.gkt-store:focus-visible {
	background: #222;
}

.gkt-store svg {
	flex: none;
}

.gkt-store span {
	display: block;
	min-width: 0;
}

.gkt-store small {
	display: block;
	font-size: 10px;
	font-weight: 400;
	white-space: nowrap;
}

.gkt-store b {
	display: block;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

/* The visitor's own phone: show only the button that fits it. */
.gkt-promo[data-os="ios"] .gkt-store--android,
.gkt-promo[data-os="android"] .gkt-store--ios {
	display: none;
}

/* Phones: a smaller picture so it does not cover the page. */
@media (max-width: 600px) {
	.gkt-promo {
		bottom: 12px;
		width: clamp(190px, calc((100vh - 180px) * 0.5525), 240px);
	}

	.gkt-store {
		padding: 7px 8px;
	}

	.gkt-store b {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gkt-promo {
		transition: none;
	}
}
