.account {
  .table-order-items {
    tbody {
      & {
        .price,
        .subtotal,
        .amount {
          .bold;
        }
      }

      .sales-order-print&:last-of-type,
      .sales-order-view&:last-of-type {
        td {
          &,
          &.col {
            .lt-lg({ &:last-child {
              border-color: @black-20;
            } });

            .gt-lg({ border-color: @black-10; });
          }
        }
      }
    }

    tfoot {
      th {
        .lt-lg({ display: none; });

        .gt-lg({ text-align: right; });
      }

      .totals-tax {
        th,
        td {
          .lt-lg({ border-color: @black-20; });

          .gt-lg({ border-color: @black-10; });
        }
      }
    }

    th {
      &.name {
        .gt-lg({ width: 220/@rem; });
      }
    }

    td {
      .lt-lg({ .p4; });

      .gt-lg({ .p5; });

      &.actions {
        .action-item {
          .gt-lg({ display: inline-block; });

          .gt-lg({ &:not(:first-child) {
            beyer-button button,
            .beyer-button {
              margin-top: @default--space / 2;
            }
          } });

          beyer-button button,
          .beyer-button {
            .lt-md({ width: 100%; });

            .lt-lg({ margin-top: @default--space / 2; });

            .gt-lg({ .beyer-button--small; });
          }
        }
      }
    }

    .subtotal,
    .total,
    .amount,
    .price,
    .qty {
      .gt-lg({ text-align: right; });
    }

    .items-qty {
      display: inline-block;

      .title {
        .visually-hidden();
      }
    }

    .grand_total {
      .amount {
        .p3;
        .bold;
      }
    }
  }
}
