/* ============================================================
   Thanh liên hệ dính đáy (Gọi + Zalo) — CHỈ MOBILE (<768px).
   Màu theo footer: nền #14120F + viền vàng #C9A85E.
   z-index 50: thấp hơn menu mobile (55) và lightbox (9998+).
   ============================================================ */
.bvh-cbar { display: none; }

@media (max-width: 767px) {
	.bvh-cbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		display: flex;
		gap: 10px;
		padding: 5px 12px calc(5px + env(safe-area-inset-bottom));
		background: #14120F;
		border-top: 1px solid rgba(201, 168, 94, .35);
		box-shadow: 0 -6px 20px rgba(20, 18, 15, .35);
		font-family: 'Inter', sans-serif;
		animation: bvh-cbar-up .35s ease;
	}

	.bvh-cbar__btn {
		flex: 1 1 0;
		min-width: 0;
		height: 34px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		border-radius: 10px;
		text-decoration: none;
		white-space: nowrap;
		font-size: 14px;
		font-weight: 700;
		letter-spacing: .01em;
		-webkit-tap-highlight-color: transparent;
	}
	.bvh-cbar__btn:active { transform: scale(.97); }

	.bvh-cbar__btn--call {
		background: linear-gradient(135deg, #F0D789 0%, #C9A23F 52%, #B0852A 100%);
		color: #14120F;
		box-shadow: 0 2px 10px rgba(176, 133, 42, .35);
	}
	.bvh-cbar__btn--zalo {
		background: #fff;
		color: #0068FF;
	}

	.bvh-cbar__ic { width: 16px; height: 16px; flex: none; }
	.bvh-cbar__logo { width: 22px; height: 22px; flex: none; display: block; }

	/* Chừa chỗ để thanh không che dòng bản quyền cuối footer */
	body.bvh-cbar-on .bvh-footer {
		padding-bottom: calc(46px + env(safe-area-inset-bottom));
	}
}

@keyframes bvh-cbar-up {
	from { transform: translateY(100%); }
	to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.bvh-cbar { animation: none; }
}
