/* Persistent help link only; no changes to existing page or quotation styles. */
.bb-whatsapp-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  min-height: 56px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  justify-content: center;
  border: 2px solid #c4a060;
  border-radius: 999px;
  background: linear-gradient(135deg, #28607d 0%, #153e52 62%, #0e2d3f 100%);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(196, 160, 96, .18), 0 6px 18px rgba(17, 47, 63, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
  font: 600 16px/1.2 Arial, sans-serif;
  text-align: left;
  text-decoration: none;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.bb-whatsapp-float:visited { color: #fff; }
.bb-whatsapp-float:hover { background: linear-gradient(135deg, #306d8b, #17455e); border-color: #d8b675; color: #fff; }
.bb-whatsapp-float:focus-visible { outline: 3px solid #a27e35; outline-offset: 4px; }
.bb-whatsapp-float svg { display: block; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(145deg, #f1dfb8, #c4a060); color: #123b50; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.bb-whatsapp-float-label { display: none; text-shadow: 0 1px 1px rgba(0, 0, 0, .16); }
.bb-whatsapp-float small { display: block; margin-top: 3px; font: 400 12px/1.2 Arial, sans-serif; color: #edd5a3; }
/* Allow the last footer/form controls to scroll completely above the fixed link. */
body:has(> .bb-whatsapp-float)::after { content: ""; display: block; height: calc(86px + env(safe-area-inset-bottom)); clear: both; }
/* Native modal consent remains the only active quotation handoff. */
body:has(dialog[open]) > .bb-whatsapp-float { visibility: hidden; pointer-events: none; }
@media (max-width: 640px) {
  .bb-whatsapp-float { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; min-height: 56px; padding: 10px; gap: 0; justify-content: center; }
  .bb-whatsapp-float svg { flex-basis: 32px; width: 32px; height: 32px; }
  .bb-whatsapp-float-label { display: none; }
  html:has(.bb-whatsapp-float) { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media print { .bb-whatsapp-float { display: none; } body:has(> .bb-whatsapp-float)::after { display: none; } }
