.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(120px, env(safe-area-inset-bottom));
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(25 25 25 / 20%);
}

.whatsapp-float:is(:hover, :focus-visible) { background: #ffdb4d; }

.whatsapp-float__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
}

.whatsapp-float__icon svg { width: 22px; height: 22px; fill: currentColor; }
.whatsapp-float__label { display: grid; line-height: 1.25; }
.whatsapp-float__label strong { font-size: 14px; }
.whatsapp-float__label small { font-size: 12px; }

@media (max-width: 768px) {
  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(88px, env(safe-area-inset-bottom));
    padding: 0;
  }
  .whatsapp-float__icon { width: 54px; height: 54px; background: transparent; }
  .whatsapp-float__icon svg { width: 29px; height: 29px; }
  .whatsapp-float__label { display: none; }
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(78px, env(safe-area-inset-bottom));
  }
  .whatsapp-float__icon { width: 50px; height: 50px; }
  .whatsapp-float__icon svg { width: 27px; height: 27px; }
}
