.why-not-add {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 21px 0 12px;
  margin-bottom: -19px;

  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  &__title {
    @include font-size(14);
    @include line-height(22);

    margin: 0;
    font-weight: 700;
  }

  &__arrows {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  &__arrow {
    @include font-size(24);

    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: $blue;
    cursor: pointer;

    &--disabled,
    &.swiper-button-disabled {
      color: $warm-grey;
      cursor: default;
      pointer-events: none;
    }

    &:focus {
      outline: none;
    }

    &:focus-visible {
      outline: 2px solid $blue;
      outline-offset: 3px;
    }
  }

  &__slider {
    width: 100%;
  }

  &__slide {
    height: auto;
  }

  &__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 6px;
  }

  &__pagination-item {
    cursor: pointer;
    appearance: none;
    display: block;
    position: relative;
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background-color: $warm-grey;
    line-height: 0;
    transition-property: width, background-color;
    transition-duration: 0.25s;
    transition-timing-function: ease;
    outline: none;

    &:before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 200%;
      height: 200%;
      z-index: $dropdown-z-index;
    }

    &--active {
      width: 24px;
      background-color: $blue;
      cursor: default;
      z-index: $label-z-index;
    }

    &:focus {
      outline: none;
    }

    &:focus-visible {
      outline: 2px solid $blue;
      outline-offset: 2px;
    }
  }

  &--skeleton {
    gap: 12px;

    .why-not-add {
      &__header {
        min-height: 22px;
      }

      &__skeleton-title {
        width: 112px;
        height: 14px;
      }

      &__skeleton-cards {
        width: 100%;
        overflow: hidden;
      }
    }
  }

  &--dont-forget {
    padding: 0;
    margin-bottom: 0;

    .why-not-add {
      &__title {
        @include font-size(16);
        @include line-height(24);

        font-weight: 500;
      }
    }
  }
}

@include media-breakpoint-up(md) {
  .why-not-add {
    &--dont-forget {
      .why-not-add {
        &__title {
          @include font-size(18);
          @include line-height(22);

          font-weight: 700;
        }
      }
    }
  }
}

[data-why-not-add-widget] + .pdp-price__quantity-calculator,
[data-similar-products-widget] + .pdp-price__klarna-payment,
[data-similar-products-widget] + .pdp-price__billie-payment {
  margin-top: 20px;
}
