/* WhatsApp pieces. Green #0b7a5c: white text on it is 5.3:1 (WhatsApp's own #25d366 is 2:1). */
.nx-wa-icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* Product page row (summary 79). */
.nx-wa-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 18px 0 0; font-size: 15px; line-height: 1.4; }
.nx-wa-row .nx-wa-row__wa { display: inline-flex; align-items: center; gap: 6px; color: #0b7a5c; font-weight: 600; text-decoration: none; }
.nx-wa-row .nx-wa-row__wa:hover span, .nx-wa-row .nx-wa-row__wa:focus-visible span { text-decoration: underline; }
.nx-wa-row__sep { color: #767676; }
.nx-wa-row .nx-wa-row__mail { padding: 0; border: 0; background: none; color: #444; font: inherit; text-decoration: underline; cursor: pointer; }
.nx-wa-row .nx-wa-row__mail:hover { color: #111; }
/* Phones: "or e-mail us" on its own line, under the words (not the icon), without the dot. */
@media (max-width: 600px) {
	.nx-wa-row__sep { display: none; }
	.nx-wa-row .nx-wa-row__mail { flex-basis: 100%; padding-left: 26px; text-align: left; }
}

/* Inside Shoptimizer's call back modal. */
.nx-wa-modal { margin: 0 0 20px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 8px; text-align: center; }
.nx-wa-modal__lead { margin: 0 0 12px; font-size: 15px; }
.nx-wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; white-space: nowrap; border-radius: 6px; background: #0b7a5c; color: #fff; font-weight: 600; text-decoration: none; }
.nx-wa-btn:hover, .nx-wa-btn:focus-visible { background: #08624a; color: #fff; }

/* Mini cart, cart page, order received. */
.nx-wa-cart { margin: 12px 0 0; text-align: center; font-size: 15px; }
.nx-wa-cart[hidden] { display: none; }
.nx-wa-cart .nx-wa-cart__link, .nx-wa-order .nx-wa-order__link { display: inline-flex; align-items: center; gap: 6px; color: #0b7a5c; font-weight: 600; text-decoration: underline; }
.nx-wa-order { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 24px; }
.nx-wa-checkout { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 6px; }

/* Floating button: a pill on wide screens, a round icon on phones; clear of a phone's rounded
   corners and home bar when a page opts into the full screen (viewport-fit=cover; 0 otherwise). */
.nx-wa-float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--nx-wa-lift, 0px)); z-index: 100; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: #0b7a5c; color: #fff; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); transition: bottom .2s ease; }
.nx-wa-float:hover, .nx-wa-float:focus-visible { background: #08624a; color: #fff; }
.nx-wa-float:focus-visible { outline: 3px solid #111; outline-offset: 2px; }
.nx-wa-float .nx-wa-icon { width: 24px; height: 24px; }
/* Stepped aside while a buy or checkout button is under it (on the shopper's own details pages,
   anything readable or tappable); hidden also leaves the tab order. */
.nx-wa-float.is-clear { opacity: 0; visibility: hidden; transition: opacity .15s, visibility 0s .15s, bottom .2s ease; }
/* Without script it cannot step aside, so those pages leave it out (their own WhatsApp links stay). */
.woocommerce-no-js .nx-wa-float[data-wa-keep-clear] { display: none; }
@media (max-width: 767px) {
	.nx-wa-float { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--nx-wa-lift, 0px)); width: 52px; height: 52px; padding: 0; justify-content: center; }
	.nx-wa-float .nx-wa-icon { width: 28px; height: 28px; }
	.nx-wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .nx-wa-float { transition: none; } }
@media print { .nx-wa-float { display: none; } }
