.hepo-buttonleiste {
  position: fixed;
  z-index: 2147483646;
  display: flex;
  flex-direction: column;
  gap: var(--hepo-buttonleiste-desktop-gap, 14px);
  pointer-events: none;
}

.hepo-buttonleiste.is-desktop-side-right {
  right: var(--hepo-buttonleiste-desktop-offset-side, 0);
  left: auto;
  --hepo-buttonleiste-slide-offset: 26px;
}

.hepo-buttonleiste.is-desktop-side-left {
  left: var(--hepo-buttonleiste-desktop-offset-side, 0);
  right: auto;
  --hepo-buttonleiste-slide-offset: -26px;
}

.hepo-buttonleiste.is-desktop-align-center {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.hepo-buttonleiste.is-desktop-align-top {
  top: var(--hepo-buttonleiste-desktop-offset-top, 24px);
  bottom: auto;
  transform: none;
}

.hepo-buttonleiste.is-desktop-align-bottom {
  bottom: var(--hepo-buttonleiste-desktop-offset-bottom, 24px);
  top: auto;
  transform: none;
}

.hepo-buttonleiste__item {
  pointer-events: auto;
}

.hepo-buttonleiste__button {
  width: calc(75px * (var(--hepo-buttonleiste-desktop-scale, 80) / 100));
  height: calc(75px * (var(--hepo-buttonleiste-desktop-scale, 80) / 100));
  min-width: calc(75px * (var(--hepo-buttonleiste-desktop-scale, 80) / 100));
  min-height: calc(75px * (var(--hepo-buttonleiste-desktop-scale, 80) / 100));
  max-width: calc(75px * (var(--hepo-buttonleiste-desktop-scale, 80) / 100));
  max-height: calc(75px * (var(--hepo-buttonleiste-desktop-scale, 80) / 100));
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  padding: 0 !important;
  text-decoration: none !important;
  cursor: pointer;
}

.hepo-buttonleiste__button:hover,
.hepo-buttonleiste__button:focus-visible {
  outline: none;
  filter: brightness(0.98);
}

.hepo-buttonleiste__image {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.hepo-buttonleiste__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
  border: 1px solid rgba(30, 41, 59, 0.12);
  color: #1f2937;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.hepo-buttonleiste__item.is-disabled,
.hepo-buttonleiste__item.is-disabled .hepo-buttonleiste__button {
  opacity: 0.18;
  filter: grayscale(1);
  pointer-events: none !important;
  cursor: default !important;
}

@keyframes hepoButtonleisteFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hepoButtonleisteSlideIn {
  from {
    opacity: 0;
    transform: translateX(var(--hepo-buttonleiste-slide-offset, 26px));
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 783px) {
  .hepo-buttonleiste.is-desktop-animation-fade .hepo-buttonleiste__item {
    opacity: 0;
    animation: hepoButtonleisteFadeIn 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--hepo-buttonleiste-index, 0) * 180ms);
  }

  .hepo-buttonleiste.is-desktop-animation-slide .hepo-buttonleiste__item {
    opacity: 0;
    animation: hepoButtonleisteSlideIn 980ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--hepo-buttonleiste-index, 0) * 180ms);
  }

  .hepo-buttonleiste.is-desktop-animation-none .hepo-buttonleiste__item {
    opacity: 1;
    animation: none;
  }

  .hepo-buttonleiste.hide-desktop {
    display: none;
  }
}

@media (max-width: 782px) {
  .hepo-buttonleiste {
    gap: var(--hepo-buttonleiste-mobile-gap, 14px);
  }

  .hepo-buttonleiste.is-mobile-side-right {
    right: var(--hepo-buttonleiste-mobile-offset-side, 0);
    left: auto;
    --hepo-buttonleiste-slide-offset: 22px;
  }

  .hepo-buttonleiste.is-mobile-side-left {
    left: var(--hepo-buttonleiste-mobile-offset-side, 0);
    right: auto;
    --hepo-buttonleiste-slide-offset: -22px;
  }

  .hepo-buttonleiste.is-mobile-align-center {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .hepo-buttonleiste.is-mobile-align-top {
    top: var(--hepo-buttonleiste-mobile-offset-top, 24px);
    bottom: auto;
    transform: none;
  }

  .hepo-buttonleiste.is-mobile-align-bottom {
    bottom: var(--hepo-buttonleiste-mobile-offset-bottom, 24px);
    top: auto;
    transform: none;
  }

  .hepo-buttonleiste__button {
    width: calc(75px * (var(--hepo-buttonleiste-mobile-scale, 80) / 100));
    height: calc(75px * (var(--hepo-buttonleiste-mobile-scale, 80) / 100));
    min-width: calc(75px * (var(--hepo-buttonleiste-mobile-scale, 80) / 100));
    min-height: calc(75px * (var(--hepo-buttonleiste-mobile-scale, 80) / 100));
    max-width: calc(75px * (var(--hepo-buttonleiste-mobile-scale, 80) / 100));
    max-height: calc(75px * (var(--hepo-buttonleiste-mobile-scale, 80) / 100));
  }

  .hepo-buttonleiste.is-mobile-animation-fade .hepo-buttonleiste__item {
    opacity: 0;
    animation: hepoButtonleisteFadeIn 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--hepo-buttonleiste-index, 0) * 150ms);
  }

  .hepo-buttonleiste.is-mobile-animation-slide .hepo-buttonleiste__item {
    opacity: 0;
    animation: hepoButtonleisteSlideIn 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--hepo-buttonleiste-index, 0) * 150ms);
  }

  .hepo-buttonleiste.is-mobile-animation-none .hepo-buttonleiste__item {
    opacity: 1;
    animation: none;
  }

  .hepo-buttonleiste.hide-mobile {
    display: none;
  }
}
