.account.sales-order-print {
  .page-wrapper {
    background-color: @champagne-25;
    display: block;

    .content-beyerdynamic {
      padding: 0 0 (@default--space * 4);
    }

    .page-main {
      margin: 0;
      max-width: 100%;

      > .columns {
        .container-fixed;

        > .column.main {
          flex-basis: 100%;
          max-width: 100%;
        }
      }

      .logo {
        align-items: center;
        background-color: @white;
        display: flex;
        height: @default--space * 5;
        padding-left: @default--space * 2;
        width: 100%;

        img {
          width: 200px;
        }
      }

      .page-title {
        .container-fixed;

        margin-top: @default--space * 2;
      }

      .customer-sales-order-info {
        .container-fixed;
      }

      .order-status,
      .order-date {
        .p4;

        display: inline-block;
      }

      .order-status {
        border-right: 1px solid @black;
        margin-right: @default--space;
        padding-right: @default--space;
      }

      .order-details-items {
        margin-bottom: @default--space * 2;
      }

      .order-title {
        .h6;
      }

      .table-order-items {
        th {
          &.name {
            width: 320/@rem;
          }
        }
      }

      .actions-toolbar {
        display: none;
      }

      .block-order-details-view {
        page-break-inside: avoid;

        .block-title {
          .h6;
        }

        .block-content {
          .row;
        }

        .box {
          .col-6;

          &:nth-child(-n+2) {
            margin-bottom: @default--space;
          }
        }

        .payment-method {
          .content {            
            margin-top: @default--space;
          }
        }
      }
    }
  }
}

@media print {
  body {
    * {
      background-color: @white !important;
      border-color: @gray-2 !important;
      color: @black !important;
    }
  }

  .account.sales-order-print {
    .page-wrapper {
      display: block;
      padding: 0;

      .content-beyerdynamic {
        padding: 0;

        .page-main {
          margin: 0;
          max-width: 100% !important;

          .logo {
            display: block;
            height: auto;
            padding: 0;

            img {
              width: 200px;
            }
          }

          .page-title {
            margin: (@default--space * 2) 0 @default--space;
          }

          .customer-sales-order-info {
            padding: 0;
          }

          .order-status,
          .order-date {
            .p4;

            display: inline-block;
            margin-bottom: @default--space;
          }

          .order-status {
            border-right: 1px solid @black;
            margin-right: @default--space;
            padding-right: @default--space;
          }

          .column.main {
            flex: 0 0 100% !important;
            max-width: 100% !important;
            padding: 0 !important;
          }

          .table-order-items {
            .price,
            .qty,
            .subtotal {
              text-align: right;
            }

            th {
              &.name {
                width: 320/@rem;
              }
            }

            tfoot {
              th,
              td {
                text-align: right;
              }
            }
          }

          .order-details-items {
            margin-bottom: @default--space * 2;
          }

          .order-title {
            .h6;

            margin-top: @default--space;
          }

          .actions-toolbar {
            display: none;
          }

          .block-order-details-view {
            page-break-inside: avoid;

            .block-title {
              .h6;

              padding-top: @default--space;
            }

            .block-content {
              .row;
            }

            .box {
              .col-6;

              &:nth-child(-n+2) {
                margin-bottom: @default--space;
              }
            }

            .payment-method {
              .content {                
                margin-top: @default--space;
              }
            }
          }
        }
      }
    }
  }
}
