@media (min-width: 701px) {
  .wlr-myaccount-page .wlr-transaction-blog,
  .wlr-myaccount-page #wlr-transaction-table {
    overflow-x: auto;
    width: 100%;
  }

  .wlr-myaccount-page #wlr-transaction-table table {
    border-collapse: separate !important;
    border-spacing: 0 18px !important;
    color: #221e1d !important;
    table-layout: fixed !important;
    width: 100% !important;
  }

  .wlr-myaccount-page #wlr-transaction-table thead tr {
    background: #d8edf8 !important;
  }

  .wlr-myaccount-page #wlr-transaction-table thead th {
    background: #d8edf8 !important;
    color: #221e1d !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.25 !important;
    padding: 20px 16px !important;
    text-align: left !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .wlr-myaccount-page #wlr-transaction-table thead th:first-child {
    border-bottom-left-radius: 24px !important;
    border-top-left-radius: 24px !important;
  }

  .wlr-myaccount-page #wlr-transaction-table thead th:last-child {
    border-bottom-right-radius: 24px !important;
    border-top-right-radius: 24px !important;
  }

  .wlr-myaccount-page #wlr-transaction-table thead th:nth-child(1),
  .wlr-myaccount-page #wlr-transaction-table tbody td:nth-child(1) {
    width: 135px !important;
  }

  .wlr-myaccount-page #wlr-transaction-table thead th:nth-child(2),
  .wlr-myaccount-page #wlr-transaction-table tbody td:nth-child(2) {
    width: 220px !important;
  }

  .wlr-myaccount-page #wlr-transaction-table thead th:nth-child(4),
  .wlr-myaccount-page #wlr-transaction-table tbody td:nth-child(4),
  .wlr-myaccount-page #wlr-transaction-table thead th:nth-child(5),
  .wlr-myaccount-page #wlr-transaction-table tbody td:nth-child(5) {
    text-align: center !important;
    width: 110px !important;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody td {
    background: transparent !important;
    color: #221e1d !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.32 !important;
    padding: 16px !important;
    text-align: left !important;
    text-shadow: none !important;
    vertical-align: top !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody td:first-child,
  .wlr-myaccount-page #wlr-transaction-table tbody td:first-child * {
    color: #221e1d !important;
    overflow-wrap: normal !important;
    white-space: nowrap !important;
    word-break: normal !important;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody td *,
  .wlr-myaccount-page #wlr-transaction-table tbody td a {
    color: inherit !important;
    line-height: inherit !important;
    text-shadow: none !important;
  }
}

@media (max-width: 700px) {
  .wlr-myaccount-page .wlr-transaction-blog {
    width: 100%;
    overflow: visible;
  }

  .wlr-myaccount-page #wlr-transaction-table {
    overflow: visible;
  }

  .wlr-myaccount-page #wlr-transaction-table table,
  .wlr-myaccount-page #wlr-transaction-table thead,
  .wlr-myaccount-page #wlr-transaction-table tbody,
  .wlr-myaccount-page #wlr-transaction-table tr,
  .wlr-myaccount-page #wlr-transaction-table td {
    display: block;
    width: 100%;
  }

  .wlr-myaccount-page #wlr-transaction-table thead {
    display: none;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr {
    background: #fffaf4;
    border: 2px solid #221e1d;
    border-radius: 10px;
    box-shadow: 5px 5px 0 #221e1d;
    margin: 0 0 18px;
    overflow: hidden;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:last-child {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 8px 0 0;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td {
    align-items: flex-start;
    border: 0;
    border-bottom: 1px solid rgba(34, 30, 29, 0.12);
    box-sizing: border-box;
    color: #221e1d !important;
    display: flex !important;
    flex-direction: column !important;
    font-size: 15px !important;
    gap: 0 !important;
    grid-template-columns: 1fr !important;
    line-height: 1.45 !important;
    min-height: 0;
    padding: 14px 15px !important;
    text-align: left !important;
    white-space: normal;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td:last-child {
    border-bottom: 0;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td::before {
    color: #af5f2e;
    content: "";
    display: block;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin: 0 0 5px;
    text-transform: uppercase;
    width: 100%;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td:nth-child(1)::before {
    content: "Order";
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td:nth-child(2)::before {
    content: "Action";
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td:nth-child(3)::before {
    content: "Message";
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td:nth-child(4)::before {
    content: "Points";
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td:nth-child(5)::before {
    content: "Reward";
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td *,
  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td a {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    max-width: 100% !important;
    text-align: left !important;
    white-space: normal !important;
    width: auto !important;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:not(:last-child) td > * {
    display: block !important;
    width: 100% !important;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:last-child td {
    padding: 8px 0 !important;
    text-align: center !important;
  }

  .wlr-myaccount-page #wlr-transaction-table tbody tr:last-child td > div {
    display: flex;
    gap: 10px;
    justify-content: center;
    text-align: center !important;
  }
}
