/* Floating WhatsApp button (client feedback 9 #3, 2026-10-16; app repo
   docs/plans/73). Bottom-right in BOTH languages (owner 2026-10-16), so `right`,
   not a logical inset. z-index: above the page, under the theme's drawers and the
   search popup (99999+). The theme's back-to-top button (#to-top, 30px, right
   20px / bottom 55px, phones bottom 80px) moves up and centres over it. */
.lm-whatsapp {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;              /* WhatsApp green */
	color: #fff;
	font-size: 32px;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lm-whatsapp:hover,
.lm-whatsapp:focus-visible {
	color: #fff;
	transform: scale(1.06);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.lm-whatsapp:focus-visible {
	outline: 2px solid #186034;
	outline-offset: 3px;
}
.lm-whatsapp .fa {
	font-size: inherit;
	line-height: 1;
}
/* Back-to-top: centred over the button, 16px above it. `body #to-top` outranks
   the theme's own `#to-top` rules, including responsive.css, which loads after
   this file. */
body #to-top {
	right: 33px;                      /* 20 + (56 - 30) / 2 */
	bottom: 92px;                     /* 20 + 56 + 16 */
}
@media (max-width: 1199px) {
	body #to-top {
		right: 33px;
	}
}
@media (max-width: 991px) {
	.lm-whatsapp {
		right: 16px;
		bottom: 16px;
		width: 52px;
		height: 52px;
		font-size: 30px;
	}
	/* Cart and checkout on phones: the button covered the second cart line's quantity buttons and
	   the checkout's last fields (QA DEF-034, app repo docs/plans/131). The app hides it on Cart
	   too; the checkout's out-of-area sentence already gives the number. */
	body.woocommerce-cart .lm-whatsapp,
	body.woocommerce-checkout .lm-whatsapp {
		display: none;
	}
	body #to-top {
		right: 27px;                  /* 16 + (52 - 30) / 2 */
		bottom: 80px;                 /* the theme's phone value: 12px above the button */
	}
}
