.tpk-floating-bar {
  --tpk-floating-primary: #009b74;
  --tpk-floating-whatsapp: #25d366;
  --tpk-floating-whatsapp-hover: #1ebe5d;
  position: fixed;
  right: 32px;
  bottom: 120px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear 0s;
}

.tpk-floating-bar-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.tpk-floating-bar.is-suspended,
.tpk-floating-bar.is-footer-visible {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  visibility: hidden;
  transition-delay: 0s, 0s, .4s;
}

.tpk-floating-bar__action {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #202422;
  box-shadow: 0 8px 24px rgba(0, 155, 116, .06), 0 12px 34px rgba(16, 24, 40, .08);
  cursor: pointer;
  text-decoration: none;
  transition: color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease), opacity .3s var(--ease), transform .35s var(--ease);
}

.tpk-floating-bar__action svg {
  width: 20px;
  height: 20px;
}

.tpk-floating-bar__action:hover,
.tpk-floating-bar__action:focus-visible {
  color: var(--tpk-floating-primary);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 155, 116, .24), 0 0 0 8px rgba(0, 155, 116, .1);
}

.tpk-floating-bar__whatsapp {
  background: var(--tpk-floating-whatsapp);
  color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .28), 0 0 0 6px rgba(37, 211, 102, .08);
}

.tpk-floating-bar__whatsapp svg {
  fill: currentColor;
}

.tpk-floating-bar__whatsapp:hover,
.tpk-floating-bar__whatsapp:focus-visible {
  background: var(--tpk-floating-whatsapp-hover);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .36), 0 0 0 8px rgba(37, 211, 102, .12);
}

.tpk-floating-bar__top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.tpk-floating-bar__top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tpk-floating-bar__top.is-visible:hover,
.tpk-floating-bar__top.is-visible:focus-visible {
  transform: translateY(-3px) scale(1.025);
}

.tpk-floating-bar__tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 16px);
  width: max-content;
  max-width: 180px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #101514;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(10px, -50%);
  transition: opacity .25s ease, transform .3s var(--ease);
}

.tpk-floating-bar__action:hover .tpk-floating-bar__tooltip,
.tpk-floating-bar__action:focus-visible .tpk-floating-bar__tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 1179px) and (min-width: 768px) {
  .tpk-floating-bar {
    right: 20px;
    bottom: 80px;
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .tpk-floating-bar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpk-floating-bar,
  .tpk-floating-bar__action,
  .tpk-floating-bar__tooltip {
    transition: none;
  }
}
