/*
 * TQK Popup Slick Button — lấy từ Custom CSS (Customizer) của xanhvillavungtau.com, phần "css stick-button".
 * Giữ nguyên số liệu; màu đổi sang biến (--tqk-psb-*) để chỉnh trong Cài đặt.
 * Scope .stick-button.tqk-psb để không đụng tới cụm nút cũ của theme.
 */
.stick-button.tqk-psb {
	position: fixed;
	top: 50%;
	right: var(--tqk-psb-right, 25px);
	z-index: 99;
	transform: translateY(-50%);
}

.tqk-psb .animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.tqk-psb .delay-250 {
	-webkit-animation-delay: 0.25s;
	animation-delay: 0.25s;
}
.tqk-psb .fadeInRightShort {
	opacity: 0;
	-webkit-transform: translateX(20px);
	transform: translateX(20px);
}
.tqk-psb .fadeInRightShort.go {
	-webkit-animation-name: tqkPsbFadeInRightShort;
	animation-name: tqkPsbFadeInRightShort;
}
@-webkit-keyframes tqkPsbFadeInRightShort {
	0% { opacity: 0; -webkit-transform: translateX(20px); }
	100% { opacity: 1; -webkit-transform: translateX(0); }
}
@keyframes tqkPsbFadeInRightShort {
	0% { opacity: 0; transform: translateX(20px); }
	100% { opacity: 1; transform: translateX(0); }
}

.stick-button.tqk-psb a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	margin-top: 15px;
	padding: 11px;
	border-radius: 50%;
	background-color: var(--tqk-psb-bg, #0a636c);
	transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.stick-button.tqk-psb a:hover {
	background: var(--tqk-psb-hover, #ab6c32);
}
.stick-button.tqk-psb a:before {
	content: '';
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid var(--tqk-psb-border, #b38345);
	border-radius: 50%;
}
.stick-button.tqk-psb a img {
	position: relative;
	z-index: 2;
	max-height: 30px;
}
.stick-button.tqk-psb a span.title {
	position: absolute;
	top: 0;
	right: 21px;
	display: inline-flex;
	align-items: center;
	height: 100%;
	padding: 6px 56px 4px 20px;
	border-radius: 26px 0 0 26px;
	background: var(--tqk-psb-hover, #ab6c32);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	white-space: nowrap;
	text-transform: uppercase;
	opacity: 0;
	transform: translateX(10px);
	transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
	pointer-events: none;
}
.stick-button.tqk-psb a:hover span.title {
	opacity: 1;
	transform: translateX(0);
}

/* Tablet + mobile: hàng ngang góc dưới phải (giữ nguyên rule gốc) */
@media only screen and (max-width: 991px) {
	.stick-button.tqk-psb {
		top: auto;
		right: 10px;
		bottom: 25px;
		display: flex;
		justify-content: flex-end;
		width: 100%;
		transform: translateY(0);
		pointer-events: none;
	}
	.stick-button.tqk-psb .animated { display: flex; }
	.stick-button.tqk-psb a {
		display: inline-flex;
		margin-top: 0;
		margin-left: 5px;
		pointer-events: auto;
	}
	.stick-button.tqk-psb a:before { background: var(--tqk-psb-bg, #0a636c); }
	.stick-button.tqk-psb a span.title {
		padding: 6px 50px 4px 20px;
		font-size: 15px;
	}
	.stick-button.tqk-psb a span { display: none; }   /* như bản gốc: mobile chỉ hiện icon */
	.stick-button.tqk-psb a.hotline { transform: translateX(-100px); }
	.stick-button.tqk-psb a.hotline span.title { transform: translateX(20px); }
	.stick-button.tqk-psb a.register span.title { transform: translateX(22px); }
	.stick-button.tqk-psb a.hotline span.title,
	.stick-button.tqk-psb a.register span.title {
		opacity: 1 !important;
		border-radius: 26px !important;
	}
}
