/* Global contact shortcut; separate from order, preview and payment controls. */
.f3d-whatsapp-contact {
  --f3d-chat-gap: 24px;
  position: fixed;
  right: calc(var(--f3d-chat-gap) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--f3d-chat-bottom, var(--f3d-chat-gap)) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  padding: 0;
  box-sizing: border-box;
  border: 2px solid #fffdf8;
  border-radius: 50%;
  background: #128c7e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(20, 71, 72, .2);
  -webkit-tap-highlight-color: transparent;
}
.f3d-whatsapp-contact:hover,
.f3d-whatsapp-contact:focus-visible {
  background: #0d7569;
  color: #fff;
  text-decoration: none;
}
.f3d-whatsapp-contact:focus-visible {
  outline: 3px solid #ee9561;
  outline-offset: 3px;
}
.f3d-whatsapp-contact svg {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  fill: currentColor;
  pointer-events: none;
}
.f3d-whatsapp-contact__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 9px 12px;
  border-radius: 8px;
  background: #174748;
  color: #fffdf8;
  font: 600 13px/1.3 system-ui, sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.f3d-whatsapp-contact:hover .f3d-whatsapp-contact__tooltip,
.f3d-whatsapp-contact:focus-visible .f3d-whatsapp-contact__tooltip {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .f3d-whatsapp-contact {
    --f3d-chat-gap: 16px;
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
  .f3d-whatsapp-contact svg { width: 25px; height: 25px; }
  .f3d-whatsapp-contact__tooltip { display: none; }
}

/* Override the theme's global important link color for the white service icon. */
#f3d-whatsapp-contact,
#f3d-whatsapp-contact:hover,
#f3d-whatsapp-contact:focus-visible { color: #fff !important; }
