:root {
  --wh-floating-right: 20px;
  --wh-floating-bottom: 20px;
  --wh-floating-step: 96px;
}

.chatway--trigger-container {
  right: var(--wh-floating-right) !important;
  left: auto !important;
  bottom: var(--wh-floating-bottom) !important;
  z-index: 10012 !important;
}

#ht-ctc-chat {
  right: var(--wh-floating-right) !important;
  left: auto !important;
  bottom: calc(var(--wh-floating-bottom) + var(--wh-floating-step)) !important;
  z-index: 10013 !important;
}

body .wh-back-to-top,
body.whistling-native .wh-back-to-top {
  position: fixed !important;
  right: calc(var(--wh-floating-right) + 3px) !important;
  left: auto !important;
  bottom: calc(var(--wh-floating-bottom) + 2 * var(--wh-floating-step)) !important;
  z-index: 10010 !important;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #073b4c;
  color: #fff;
  box-shadow: 0 3px 12px rgb(7 59 76 / 20%);
  cursor: pointer;
}
body .wh-back-to-top[hidden] { display: none !important; }
body .wh-back-to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body .wh-back-to-top:focus-visible { outline: 3px solid #20c7ac; outline-offset: 3px; }

@media (max-width: 620px) {
  :root {
    --wh-floating-right: 14px;
    --wh-floating-bottom: max(14px, calc(env(safe-area-inset-bottom, 0px) + 14px));
    --wh-floating-step: 96px;
  }
}
