.getso-wa-root {
  --getso-wa-accent: #25d366;
  position: fixed;
  z-index: 90;
  font-family: inherit;
}

.getso-wa-root * {
  box-sizing: border-box;
}

.getso-wa-stack {
  bottom: calc(22px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.getso-wa-right {
  right: 18px;
}

.getso-wa-left {
  left: 18px;
}

.getso-wa-button {
  align-items: center;
  background: var(--getso-wa-accent);
  border: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  outline: 0;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, width 0.22s ease;
}

.getso-wa-button:hover,
.getso-wa-button:focus-visible {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.getso-wa-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.getso-wa-button-round {
  border-radius: 999px;
  height: 58px;
  width: 58px;
}

.getso-wa-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  height: 30px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  width: 30px;
}

.getso-wa-badge {
  align-items: center;
  background: #111827;
  border: 2px solid #fff;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0 5px;
  position: absolute;
  right: -4px;
  top: -5px;
}

.getso-wa-badge[hidden] {
  display: none;
}

.getso-wa-sidebar {
  border-radius: 10px 10px 0 0;
  min-height: 52px;
  padding: 0 18px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
}

.getso-wa-right .getso-wa-sidebar {
  right: -42px;
}

.getso-wa-left .getso-wa-sidebar {
  left: -42px;
}

.getso-wa-sidebar:hover,
.getso-wa-sidebar:focus-visible {
  transform: translateY(-50%) rotate(-90deg) translateY(-2px);
}

.getso-wa-bottom {
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 640px);
}

.getso-wa-bar {
  border-radius: 999px;
  min-height: 56px;
  padding: 0 22px;
  width: 100%;
}

.getso-wa-bar small,
.getso-wa-pill small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.86;
}

.getso-wa-cart {
  background: #111827;
}

.getso-wa-pill {
  border-radius: 999px;
  max-width: 58px;
  min-height: 58px;
  overflow: hidden;
  padding: 0 14px;
  white-space: nowrap;
}

.getso-wa-pill span:not(.getso-wa-icon):not(.getso-wa-badge),
.getso-wa-pill small {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.getso-wa-pill:hover,
.getso-wa-pill:focus-visible {
  max-width: 260px;
  padding: 0 20px 0 14px;
}

.getso-wa-pill:hover span:not(.getso-wa-icon):not(.getso-wa-badge),
.getso-wa-pill:hover small,
.getso-wa-pill:focus-visible span:not(.getso-wa-icon):not(.getso-wa-badge),
.getso-wa-pill:focus-visible small {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .getso-wa-stack {
    bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .getso-wa-right {
    right: 14px;
  }

  .getso-wa-left {
    left: 14px;
  }

  .getso-wa-bottom {
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: calc(100vw - 22px);
  }

  .getso-wa-bar {
    min-height: 52px;
  }
}
