/**
 * Popup mời "Thêm vào màn hình chính" — banner trượt lên từ đáy màn hình,
 * đặt phía TRÊN mobile-bar (thanh gọi xe cố định đáy màn hình trên di động)
 * để không đè lên nhau. Không phụ thuộc ".tld-scope" vì có thể hiện trên
 * mọi trang của site, kể cả trang không dùng template Canvas.
 */

.tld-a2hs {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 82px;
	z-index: 95;
	transform: translateY(130%);
	opacity: 0;
	transition: transform 0.32s ease, opacity 0.32s ease;
	pointer-events: none;
}

.tld-a2hs.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

@media (min-width: 900px) {
	.tld-a2hs {
		left: auto;
		right: 20px;
		bottom: 20px;
		width: 360px;
	}
}

.tld-a2hs-card {
	position: relative;
	background: #fff;
	border: 1px solid #E4EEEF;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(14, 33, 38, 0.16);
	padding: 16px 40px 14px 14px;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 12px;
	font-family: inherit;
}

.tld-a2hs-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: block;
}

.tld-a2hs-text {
	min-width: 0;
}

.tld-a2hs-title {
	font-size: 14px;
	font-weight: 800;
	color: #0E2126;
	line-height: 1.35;
	margin-bottom: 4px;
}

.tld-a2hs-desc {
	font-size: 12.5px;
	color: #5B6E71;
	line-height: 1.6;
}

.tld-a2hs-ico-share {
	display: inline-block;
}

.tld-a2hs-close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 26px;
	height: 26px;
	border: none;
	background: transparent;
	color: #9AACAE;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
}

.tld-a2hs-close:hover {
	background: #F4FBFC;
	color: #0E2126;
}

.tld-a2hs-actions {
	grid-column: 1 / -1;
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.tld-a2hs-btn {
	flex: 1;
	border: none;
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
}

.tld-a2hs-later {
	background: #F4FBFC;
	color: #5B6E71;
}

.tld-a2hs-later:hover {
	background: #E9F5F6;
}

.tld-a2hs-install {
	background: #2DCCD3;
	color: #fff;
}

.tld-a2hs-install:hover {
	background: #16A8AE;
}

.tld-a2hs-full {
	flex: 1 1 100%;
}

@media (min-width: 900px) {
	.tld-a2hs {
		bottom: 20px;
	}
}
