/* ==========================================================================
   WhatsApp tab — bottom-LEFT, a leaf-cornered tab that opens a small panel
   of quick messages (assets/js/whatsapp.js). Without JS it is a plain link.
   ========================================================================== */

body.toa .toa-wa {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 58;
}
body.toa .toa-wa__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 8px;
	border-radius: 16px 4px 16px 4px;
	background: var(--toa-deep, #05443f);
	color: #fff;
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
	font: 600 14.5px/1 var(--toa-font-body, sans-serif);
	text-decoration: none;
}
body.toa .toa-wa__btn:hover,
body.toa .toa-wa.is-open .toa-wa__btn { background: var(--toa-primary, #00665f); color: #fff; }
body.toa .toa-wa__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px 3px 12px 3px;
	background: #25d366;
	color: #fff;
}
body.toa .toa-wa__icon .toa-icon { width: 22px; height: 22px; }
body.toa .toa-wa__panel {
	position: absolute;
	left: 0;
	bottom: 62px;
	width: 300px;
	padding: 18px;
	border-radius: var(--toa-leaf, 26px 6px 26px 6px);
	background: #fff;
	border: 1px solid var(--toa-line, #d6e8e2);
	box-shadow: var(--toa-shadow-lg);
	color: var(--toa-ink, #17211f);
}
body.toa .toa-wa__panel[hidden] { display: none; }
body.toa .toa-wa__title { display: block; padding-right: 32px; font: 600 17px/1.3 var(--toa-font-display, sans-serif); }
body.toa .toa-wa__panel p { margin: 2px 0 10px; font-size: 13.5px; color: var(--toa-ink-muted, #4a5a57); }
body.toa .toa-wa__panel ul { margin: 0; padding: 0; list-style: none; }
body.toa .toa-wa__panel li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--toa-surface-low, #ecf6f3);
	color: var(--toa-primary, #00665f);
	font-weight: 600;
	font-size: 14.5px;
	text-decoration: none;
}
body.toa .toa-wa__panel li a:hover { background: var(--toa-surface-mid, #e1f0eb); }
body.toa .toa-wa__panel li .toa-icon { width: 16px; height: 16px; flex: none; }
body.toa .toa-wa__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--toa-ink-muted, #4a5a57);
	cursor: pointer;
}
body.toa .toa-wa__close:hover { background: var(--toa-surface-low, #ecf6f3); }
body.toa .toa-wa__close .toa-icon { width: 18px; height: 18px; }

@media (max-width: 720px) {
	body.toa .toa-wa { left: 14px; bottom: 14px; }
	body.toa .toa-wa__btn { padding: 6px; }
	body.toa .toa-wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	body.toa .toa-wa__panel { position: fixed; left: 12px; right: 12px; bottom: 70px; width: auto; }
}
