/* Matches the approved forest-green WhatsApp control and its focus tooltip. */
.compact-service > .bcr-floating-whatsapp {
  position: fixed;
  z-index: 12;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bcr-forest, #20392c);
  color: #fff;
  box-shadow: 0 3px 16px rgba(0,0,0,.16);
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.bcr-floating-whatsapp .whatsapp-icon { display:grid; place-items:center; }
.bcr-floating-whatsapp svg { display:block; width:36px; height:36px; fill:currentColor; }
.bcr-floating-whatsapp .whatsapp-label {
  position: absolute;
  right: calc(100% + 12px);
  max-width: calc(100vw - 112px);
  width: max-content;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--bcr-forest, #20392c);
  color: #fff;
  box-shadow: 0 3px 16px rgba(0,0,0,.14);
  font: normal 600 .9375rem/1.4 Manrope,sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity 180ms ease,transform 180ms ease,visibility 180ms ease;
}
.bcr-floating-whatsapp .whatsapp-label::after { content:""; position:absolute; inset:0 auto 0 100%; width:12px; }
.bcr-floating-whatsapp:focus-visible { outline:3px solid #d4b576; outline-offset:4px; }
.bcr-floating-whatsapp:is(:hover,:focus-visible) .whatsapp-label {
  opacity:1; visibility:visible; pointer-events:auto; transform:none;
}
.bcr-floating-whatsapp:hover { transform:translateY(-2px); box-shadow:0 6px 22px rgba(0,0,0,.24); }
.compact-service > .bcr-floating-whatsapp[data-obstructed]:not(:focus-visible),
.compact-service:has(dialog[open]) > .bcr-floating-whatsapp { visibility:hidden; }
@media (max-width: 700px) {
  .compact-service > .bcr-floating-whatsapp {
    right:max(16px,env(safe-area-inset-right));
    bottom:max(16px,env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .bcr-floating-whatsapp, .bcr-floating-whatsapp .whatsapp-label { transition:none; }
  .bcr-floating-whatsapp:hover { transform:none; }
}
@media print { .compact-service > .bcr-floating-whatsapp { display:none; } }
