.kozby-whatsapp-button {
  align-items: center;
  background: #1fa855;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(8, 95, 49, 0.24);
  color: #fff !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  padding: 0 15px;
  text-decoration: none !important;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.kozby-whatsapp-button svg {
  fill: currentColor;
  flex: none;
  height: 21px;
  width: 21px;
}

.kozby-whatsapp-button:hover {
  background: #168846;
  box-shadow: 0 13px 30px rgba(8, 95, 49, 0.31);
  transform: translateY(-1px);
}

.kozby-whatsapp-button:focus-visible {
  outline: 3px solid rgba(185, 216, 123, 0.85);
  outline-offset: 3px;
}

.kozby-whatsapp-button--landing {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 60;
}

.kozby-whatsapp-button--customer {
  position: absolute;
  right: calc(max(20px, 50vw - 360px) + 50px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.kozby-whatsapp-button--customer:hover {
  transform: translateY(calc(-50% - 1px));
}

@media (max-width: 640px) {
  .kozby-whatsapp-button--landing {
    right: 18px;
    top: 26px;
  }

  .kozby-whatsapp-button--customer {
    height: 40px;
    padding: 0 12px;
  }
}

@media (max-width: 390px) {
  .kozby-whatsapp-button--customer {
    border-radius: 13px;
    padding: 0;
    width: 40px;
  }

  .kozby-whatsapp-button--customer span {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}

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