.why-not-add {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0 12px;

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

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

    margin: 0;
    color: $blue-dark;
    font-weight: 700;
  }

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

  &__arrow {
    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;
    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;

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

.why-not-add-card {
  display: flex;
  gap: 8px;
  min-width: 258px;
  padding: 12px;
  border: 1px solid $gray-border;
  border-radius: 4px;
  background-color: $white;

  &__image-link {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
  }

  &__image {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: cover;
  }

  &__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

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

    display: -webkit-box;
    overflow: hidden;
    color: $blue;
    font-weight: 500;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    &:hover {
      color: $blue-darker;
      text-decoration: underline;
    }
  }

  &__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 8px;
  }

  &__price-wrap {
    min-width: 0;
    padding-right: 8px;
  }

  &__price {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 4px;
  }

  &__was-price {
    @include font-size(14);

    color: $warm-grey;
    font-weight: 500;
    text-decoration: line-through;
    white-space: nowrap;
  }

  &__regular-price,
  &__sale-price {
    @include font-size(18);
    @include line-height(18);

    color: $blue-dark;
    font-weight: 700;
    white-space: nowrap;
  }

  &__sale-price {
    color: $red;
  }

  &__vat-label,
  &__delivery {
    @include font-size(12);
    @include line-height(16);

    color: $gray-dark;
  }

  &__cta {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid $green;
    border-radius: 3px;
    background-color: $green;
    color: $white;
    cursor: pointer;

    &:hover {
      background-color: $white;
      color: $green;
    }

    &--loading {
      background-color: $green;
      color: $white;
      pointer-events: none;
    }
  }

  &__cta-icon {
    font-size: 18px;
  }

  &__loader {
    .loader-path {
      stroke: $white;
    }
  }
}
