/* ta-whatsapp-button: a floating link. No script. */

.ta.ta-wa-host {
  position: static;
  padding: 0;
  background: none;
}

.ta.ta-wa-empty {
  padding: 12px var(--ta-gutter);
}

.ta .ta-wa {
  position: fixed;
  right: 16px;
  bottom: calc(var(--ta-wa-bottom, 20px) + var(--ta-sticky-h, 0px) + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 54px;
  min-height: 54px;
  padding: 0 15px;
  border-radius: 999px;
  background: #0f7a5f;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, bottom 0.2s ease;
}

.ta-wa--left .ta-wa {
  right: auto;
  left: 16px;
}

.ta-wa--theme .ta-wa {
  background: var(--ta-accent);
  color: var(--ta-on-accent);
}

.ta-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.ta .ta-wa:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #0b3d2e;
}

.ta-wa__icon {
  width: 24px;
  height: 24px;
}

/* the text is always there for screen readers; on phones only the icon shows */
.ta-wa__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 750px) {
  .ta .ta-wa {
    right: 24px;
    padding: 0 20px 0 16px;
  }

  .ta-wa--left .ta-wa {
    right: auto;
    left: 24px;
  }

  .ta-wa__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .ta-wa--icon-only .ta-wa {
    padding: 0 15px;
  }

  .ta-wa--icon-only .ta-wa__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ta-wa--mobile-only .ta-wa {
    display: none;
  }
}

@media print {
  .ta .ta-wa {
    display: none;
  }
}
