.woocommerce-order-received {
  .woocommerce-table--order-details {
    tbody {
      display: flex !important;
      flex-direction: column;
    }

    .woocommerce-table__line-item {
      border-bottom: 1px dashed #ccc;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
      display: flex;
      justify-content: space-between;

      &:last-child {
        border-bottom: 0px;
      }
    }
  }

  .woocommerce-thankyou-order-received {
    text-align: center;
    font-size: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: rgba(0, 0, 0, 0.01);
    margin-top: 12rem;
    margin-bottom: 0rem;
  }

  .woocommerce-thankyou-order-details {
    margin: 0 0 3em;
    list-style: none;
    font-size: 1.5rem;
    background-color: rgba(0, 0, 0, 0.01);
    padding-top: 2rem;
    padding-bottom: 2rem;
    justify-content: center;
    display: flex;

    @media screen and (max-width: 992px) {
      font-size: 1rem;
    }

    tbody {
      display: flex !important;
      flex-direction: column;
    }
  }

  .woocommerce {
    table {
      &.shop_table {
        tfoot {
          border-top: 0px solid var(--text-color-2);
          border-bottom: 0px solid var(--text-color-2);
          display: flex !important;
          flex-direction: column;

          tr {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            align-items: center;
          }
        }
      }
    }
  }
}

.woocommerce-view-order {
  .woocommerce-table--order-details {
    flex-direction: column;
    display: flex;
    justify-content: space-evenly;
  }
  .woocommerce-MyAccount-content {
    & > p {
      font-size: 1.5rem;
      background-color: rgba(0, 0, 0, 0.01);
      text-align: center;
      line-height: 2rem;
      margin-bottom: 0;
      padding-bottom: 2rem;
      padding-top: 3rem;
    }

    & > h3 {
      font-size: 1.5rem;
      background-color: rgba(0, 0, 0, 0.01);
      text-align: center;
      padding-bottom: 2rem;
    }
  }
}

/* YWBC Barcode */
#ywbc_barcode_value {
  .ywbc-barcode-display-container {
    display: none;
  }
}
.ywbc-barcode-image {
  width: 226px;
  margin-left: auto;
  position: relative;
  display: block;
  margin-right: auto;
}

