.plp-whatsapp-float {
  position: fixed;
  left: calc(24px + env(safe-area-inset-left, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 4px 16px #092d2633;
  text-decoration: none;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.plp-whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #25d366;
  pointer-events: none;
  animation: plp-whatsapp-pulse 2.8s ease-out infinite;
}
.plp-whatsapp-float .whatsapp-icon {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
}
.plp-whatsapp-float:hover { background: #20bf5b; }
.plp-whatsapp-float:hover::before,
.plp-whatsapp-float:focus-visible::before { animation-play-state: paused; }
.plp-whatsapp-float:focus-visible {
  outline: 3px solid #163e42;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #fff, 0 4px 16px #092d2633;
}
/* Keep the whole 3D journey and its controls unobstructed, without changing it. */
body:has(#product-traveller:not([hidden])) .plp-whatsapp-float,
body:has(dialog[open]) .plp-whatsapp-float,
body.modal-open .plp-whatsapp-float,
body:has(.header.is-menu-open) .plp-whatsapp-float,
body:has(.shop-menu-toggle[aria-expanded="true"]) .plp-whatsapp-float {
  display: none;
}
@keyframes plp-whatsapp-pulse {
  0% { transform: scale(1); opacity: .38; }
  75%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 760px) {
  .plp-whatsapp-float {
    width: 56px;
    height: 56px;
    left: calc(18px + env(safe-area-inset-left, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .plp-whatsapp-float .whatsapp-icon { flex-basis: 30px; width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .plp-whatsapp-float::before { animation: none; opacity: 0; }
}
