.pisell-big-sale-right-action-panel {
  display: flex;
  width: var(--big-sale-right-action-panel-width, 84px);
  height: 100%;
  min-height: 0;
  flex: 0 0 var(--big-sale-right-action-panel-width, 84px);
  flex-direction: column;
  box-sizing: border-box;
  padding: 6px 2px;
  border-left: 1px solid #1a2b42;
  overflow: hidden;
  background: #030814;

  &__title {
    display: flex;
    width: 100%;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 6px 2px;
    border: 2px solid #31557c;
    border-radius: 16px;
    color: #eef5ff;
    background: #0e2036;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-align: center;
  }

  &__title + &__groups {
    margin-top: 8px;
  }

  &__groups {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
  }

  &__groups--adaptive &__group {
    flex: 0 1 auto;
  }

  &__groups--adaptive &__group--bottom {
    margin-top: auto;
  }

  &__groups--equal &__group {
    flex: 1 1 0;
  }

  &__group {
    position: relative;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  &__group--top,
  &__group--middle {
    padding: 4px 3px;
    border-radius: 12px;
  }

  &__group--top {
    background: linear-gradient(180deg, #17102d 0%, #0b0c1b 100%);
  }

  &__group--middle {
    border: 1px solid #2e4d6c;
    background: #07101d;
  }

  &__group-scroll {
    position: static !important;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: visible !important;

    > .pisell-scroll-view-viewport {
      min-height: 0;
    }
  }

  &__items {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  &__action-button {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    box-sizing: border-box;
    padding: 4px 6px;
    border: 2px solid var(--action-border-color);
    border-radius: 10px;
    color: var(--action-text-color);
    background: linear-gradient(180deg, #07101d 0%, #030812 100%);
    box-shadow:
      0 0 8px var(--action-outer-glow),
      inset 0 0 12px var(--action-inner-glow);
    cursor: pointer;
    font-family: inherit;
    text-align: center;

    &:disabled,
    &--disabled {
      cursor: not-allowed;
      filter: grayscale(0.35);
      opacity: 0.48;
    }
  }

  &__action-button-content {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }

  &__action-button--icon-only {
    min-height: 48px;
    justify-content: center;

    .pisell-big-sale-right-action-panel__action-button-content {
      justify-content: center;
    }

    .pisell-big-sale-right-action-panel__action-button-icon {
      font-size: 20px;
    }
  }

  &__action-button-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;

    svg {
      width: 1em;
      height: 1em;
    }
  }

  &__action-button-label {
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-align: center;
  }

  &__action-button-spinner {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    border: 2px solid currentcolor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: pisell-big-sale-right-action-spin 0.8s linear infinite;
  }

  &__action-button-badge,
  &__action-button-attention {
    position: absolute;
    top: -4px;
    left: -2px;
    display: inline-flex;
    min-width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 4px;
    border-radius: 9px;
    color: #fff;
    background: #7f56da;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
  }

  &__action-button-attention {
    background: #f04438;
  }

  &__tone-blue {
    --action-border-color: #2e4d6c;
    --action-text-color: #dce9ff;
    --action-outer-glow: rgb(46 77 108 / 32%);
    --action-inner-glow: rgb(77 128 177 / 12%);
  }

  &__tone-gold {
    --action-border-color: #62481f;
    --action-text-color: #f5edcb;
    --action-outer-glow: rgb(98 72 31 / 30%);
    --action-inner-glow: rgb(184 139 58 / 10%);
  }

  &__tone-purple {
    --action-border-color: #3f2c6b;
    --action-text-color: #dfd7f5;
    --action-outer-glow: rgb(63 44 107 / 32%);
    --action-inner-glow: rgb(108 76 174 / 10%);
  }

  &__tone-green {
    --action-border-color: #245b4e;
    --action-text-color: #d0f0df;
    --action-outer-glow: rgb(36 91 78 / 32%);
    --action-inner-glow: rgb(55 146 120 / 10%);
  }
}

@keyframes pisell-big-sale-right-action-spin {
  to {
    transform: rotate(360deg);
  }
}
