.order-details-section {
  border: 1px solid $gray;
  display: flex;
  flex-wrap: wrap;

  &_lines {
    display: block;
    padding: 30px 20px 20px;
    border-top: 0;

    @include media-breakpoint-down(sm) {
      padding-top: 40px;
    }
  }

  h2 {
    margin-bottom: 0;
  }

  .my-account-section__content-heading_details-total {
    margin-bottom: 0;
    padding: 8px 30px 12px;
    white-space: nowrap;
    background: $gray-light;

    @include media-breakpoint-down(sm) {
      font-weight: 700;
    }
  }

  .order-history-section__content {
    @include media-breakpoint-up(md) {
      font-size: .875rem;
    }

    &_header-section {
      font-size: 1rem;
    }
  }

  & + & {
    border-top: 0 none;
  }

  &__content {
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 30px;
  }

  &__content-vat {
    font-size: 1rem;
    font-weight: 400;
    padding: 0 30px 10px;
  }

  &__total-sum {
    color: $blue-dark;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 5px 30px;
    line-height: 36px;

    @include media-breakpoint-down(sm) {
      font-size: 1.875rem;
      padding: 8px 30px;
    }
  }

  &_total {
    .col {
      padding-left: 0;
      padding-right: 0;
    }

    .col_order-details-total {
      @include media-breakpoint-down(sm) {
        @include make-col(12);
      }
    }
  }
}

.order-details__btn-container {
  @include make-col-ready;
  margin-top: 40px;

  @include media-breakpoint-up(md) {
    @include make-col(4);
  }

  @include media-breakpoint-down(sm) {
    @include make-col(12);

    & + & {
      margin-top: 30px;
    }
  }
}

.payment-details {
  .my-account-section__wrapper {
    .table__content {
      .row {
        .col {
          &:nth-child(1) {
            .paypal-logo {
              margin-top: 10px;
              display: inline-block;
            }
          }
        }
      }
    }
  }
}
