.donation-cart-new {
  &__cost {
    font-weight: 500;
    font-size: .875rem;
    line-height: 1rem;
    display: flex;
    align-items: center;
    margin-top: 12px;
    height: 24px;

    &-hide {
      display: none;
    }
  }

  .order-item__remove {
    position: static;
    margin-left: auto;
    display: block;

    .btn__text {
      display: inline-block;
      width: 1em;
      text-align: center;
    }

    i.fas {
      display: inline-block;
      width: 1em;
    }
  }

  &__price-value,
  &__price {
    display: inline-block;
    line-height: 1rem;
    font-weight: 400;
    font-size: .75rem;
  }

  &__description {
    font-weight: 500;
    font-size: .875rem;
    margin-bottom: 12px;
  }

  &__value {
    min-width: 14px;
    margin-left: -3px;
  }

  &__currency,
  &__value {
    font-size: .75rem;
  }

  &__divider {
    border: 0;
    border-top: 1px solid $gray;
    margin: 16px 0;
  }

  &__charity-info {
    color: $squant;
    font-weight: 400;
    font-size: .75rem;
    line-height: 1rem;
    margin: 0;
  }

  &__holder {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  &__btn {
    width: 58px;
    height: 36px;
    margin-bottom: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;

    &:nth-of-type(odd),
    &:nth-of-type(even) {
      margin-left: 0;
    }

    &:last-of-type {
      margin-right: 0;
    }

    &.btn-secondary {
      color: $black;
      border-color: $gray;

      &:hover {
        color: $white;
        border-color: $blue;
      }
    }

    &.btn-selected {
      color: $white;
      border-color: $blue;
      background: $blue;
      pointer-events: none;
    }
  }
}

@include media-breakpoint-up(sm) {
  .donation-cart-new {
    &__btn {
      width: 52px;
      height: 36px;
      margin-bottom: 0;
    }

    &__description {
      font-weight: 700;
      font-size: .875rem;
      margin-bottom: 12px;
    }
  }
}

@include media-breakpoint-up(md) {
  .donation-cart-new {
    justify-content: space-between;

    &:not(.donation-cart__hide) {
      display: flex;
    }

    &__definition {
      max-width: 50%;
    }

    &__details {
      width: 100%;
    }

    &__definition {
      padding-right: 15px;
    }

    &__btn {
      width: 56px;
      height: 36px;
      margin-bottom: 0;
    }

    .order-item__remove {
      position: static;
      margin-left: auto;
      display: block;
    }
  }
}

@include media-breakpoint-up(lg) {
  .donation-cart-new {
    &__holder {
      width: 588px;
    }

    &__btn {
      width: 56px;
      height: 36px;
      margin-bottom: 0;
    }
  }
}

@include media-breakpoint-up(xl) {
  .donation-cart-new {
    &__holder {
      width: 100%;
    }
  }
}

@media (min-width: 350px) and (max-width: 575px) {
  .donation-cart-new {
    &__btn {
      width: 72px;
    }
  }
}
