.floating-whatsapp-button {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 2147483000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 56px;
  min-height: 56px;
  height: 56px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: #25D366;
  background: linear-gradient(135deg, var(--floating-whatsapp-bg, #25D366), #128c7e);
  box-shadow: 0 16px 38px rgba(16, 37, 54, 0.22), 0 8px 22px rgba(18, 140, 126, 0.28);
  color: #ffffff !important;
  font-family: Epilogue, Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  text-transform: none;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s cubic-bezier(.22, 1, .36, 1), filter .22s cubic-bezier(.22, 1, .36, 1);
}

.floating-whatsapp-button:hover,
.floating-whatsapp-button:focus-visible {
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 20px 46px rgba(16, 37, 54, 0.28), 0 12px 28px rgba(18, 140, 126, 0.34);
  filter: brightness(1.03);
}

.floating-whatsapp-button:focus-visible {
  outline: 3px solid rgba(47, 123, 182, 0.5);
  outline-offset: 4px;
}

.floating-whatsapp-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
  flex: 0 0 auto;
}

.floating-whatsapp-button__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.floating-whatsapp-button__label {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .floating-whatsapp-button {
    right: 14px !important;
    right: calc(14px + env(safe-area-inset-right, 0px)) !important;
    bottom: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 50%;
    gap: 0 !important;
  }

  .floating-whatsapp-button__label {
    display: none;
  }
}

@media (max-width: 360px) {
  .floating-whatsapp-button {
    right: 12px !important;
    right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    bottom: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .floating-whatsapp-button__icon,
  .floating-whatsapp-button__icon svg {
    width: 23px;
    height: 23px;
  }
}

@media (min-width: 992px) {
  .floating-whatsapp-button {
    right: 24px !important;
    bottom: 24px !important;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp-button {
    transition: none;
  }
}
