/* Contact Buttons */
.ecb-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.ecb-wrap--stack {
	flex-direction: column;
	align-items: stretch;
}

.ecb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #ffffff;
	background-color: #444444;
	border-radius: 999px;
	padding: 14px 24px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.ecb-btn:hover,
.ecb-btn:focus,
.ecb-btn:visited {
	color: #ffffff;
	text-decoration: none;
}

.ecb-btn:hover {
	transform: scale(1.06);
}

.ecb-btn:active {
	transform: scale(.98);
}

.ecb-btn:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.ecb-btn--full {
	width: 100%;
}

.ecb-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: inherit;
	flex: 0 0 auto;
}

.ecb-btn__icon svg {
	width: 1.5em;
	height: 1.5em;
	display: block;
}

.ecb-btn__text {
	display: inline-block;
}

/* LINE */
.ecb-btn--line {
	background-color: #06c755;
	box-shadow: 0 8px 20px rgba(6, 199, 85, .35);
}
.ecb-btn--line:hover,
.ecb-btn--line:focus {
	background-color: #05b84f;
	box-shadow: 0 12px 26px rgba(6, 199, 85, .45);
}
.ecb-btn--line:active {
	background-color: #049b43;
	box-shadow: 0 5px 14px rgba(6, 199, 85, .35);
}
.ecb-btn--line .ecb-icon-inner {
	fill: #06c755;
}

/* Messenger */
.ecb-btn--messenger {
	background-color: #0084ff;
	box-shadow: 0 8px 20px rgba(0, 132, 255, .35);
}
.ecb-btn--messenger:hover,
.ecb-btn--messenger:focus {
	background-color: #0066cc;
	box-shadow: 0 12px 26px rgba(0, 132, 255, .45);
}
.ecb-btn--messenger:active {
	background-color: #0052a3;
	box-shadow: 0 5px 14px rgba(0, 132, 255, .35);
}

/* โทรศัพท์ */
.ecb-btn--tel {
	background-color: #ff6b00;
	box-shadow: 0 8px 20px rgba(255, 107, 0, .32);
}
.ecb-btn--tel:hover,
.ecb-btn--tel:focus {
	background-color: #e45e00;
	box-shadow: 0 12px 26px rgba(255, 107, 0, .42);
}
.ecb-btn--tel:active {
	background-color: #c95200;
	box-shadow: 0 5px 14px rgba(255, 107, 0, .32);
}

/* สถานะยังไม่ได้ตั้งค่า (เห็นเฉพาะในตัวแก้ไข Elementor) */
.ecb-btn--empty {
	background-color: #9aa1a9;
	box-shadow: none;
	cursor: not-allowed;
}

.ecb-align-start  { justify-content: flex-start; align-items: flex-start; }
.ecb-align-center { justify-content: center; align-items: center; }
.ecb-align-end    { justify-content: flex-end; align-items: flex-end; }
.ecb-align-stretch { justify-content: stretch; align-items: stretch; }

@media (max-width: 480px) {
	.ecb-wrap--mobile-full {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.ecb-wrap--mobile-full .ecb-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ecb-btn {
		transition: none;
	}
	.ecb-btn:hover,
	.ecb-btn:active {
		transform: none;
	}
}
