#receipt {
  width: 7.6cm;
  height: auto;
  font-family: "Times New Roman", Times, serif;
}

#receipt table {
  border-collapse: collapse;
  width: 100%;
  border: 0px solid #111 !important;
}

#receipt table td {
  padding: 0 !important;
}

#receipt table tr {
  line-height: 1.25;
}

#receipt table tr > *:last-child {
  text-align: right;
}

#receipt table tr > *:not(:first-child) {
  white-space: nowrap;
}

#receipt table:not(:last-child) tbody {
  border-top: 1px dashed #111;
  border-bottom: 1px dashed #111;
}

#receipt .receipt-table-body {
  border-top: 1px dashed #111;
  border-bottom: 1px dashed #111;
}

#receipt table tfoot {
  border-top: 1px dashed #111;
}

#receipt table th {
  font-weight: 500 !important;
  padding: 0.25rem 0 !important;
}

#receipt table tbody tr td {
  padding: 0.075rem 0 !important;
}

#receipt table tbody tr:first-child td {
  padding-top: 0.25rem !important;
}

#receipt table tbody tr:last-child td {
  padding-bottom: 0.25rem !important;
}

#receipt table td:not(:last-child),
#receipt table td:not(:first-child) {
  padding-left: 0.5rem !important;
  text-align: right;
}

#receipt table td:first-child {
  text-align: left;
  padding-left: 0rem !important;
}

#receipt table td:last-child {
  text-align: right;
  padding-left: 0.5rem !important;
  padding-right: 0rem !important;
}

#receipt table th {
  padding-top: 0.125rem !important;
  padding-bottom: 0.125rem !important;
}

#receipt table th:not(:last-child) {
  padding-left: 0.5rem !important;
  text-align: right;
}

#receipt table th:first-child {
  text-align: left;
  padding-left: 0rem !important;
  padding-right: 0.5rem !important;
}

#receipt table th:last-child {
  text-align: right;
  padding-left: 0.5rem !important;
  padding-right: 0rem !important;
}

#receipt .table-2d tfoot td,
#receipt .table-2d tfoot th {
  font-weight: semibold !important;
}

#receipt .table-2d tr {
  text-align: right;
}

#receipt p,
#receipt table {
  font-size: 0.8rem;
}

#receipt h1 {
  font-size: 1.5rem;
  font-weight: semibold !important;
}

#receipt h2 {
  font-size: 1.2rem;
  font-weight: semibold !important;
}

#receipt h3 {
  font-size: 1rem;
  font-weight: semibold;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

#receipt h4 {
  font-size: 0.875rem;
}

#receipt h6 {
  font-size: 0.75rem;
  font-weight: 600;
}

#receipt-header {
  margin-bottom: 0.2rem;
}

#account-info {
  text-align: center;
}

#receipt-header h2 {
  font-size: 1.2rem;
  text-align: center;
  font-weight: 500 !important;
  color: #000;
}

#receipt-header div p {
  color: #000;
  font-size: 0.875rem;
  font-weight: 500;
}

#receipt strong {
  font-weight: 500;
}

#receipt-footer {
  padding: 0;
  text-align: right;
}

#receipt-footer table tbody {
  border-top: none !important;
}

#receipt-footer table {
  border-collapse: collapse;
  width: 100%;
  border: 0px dashed #111 !important;
}

#receipt-footer table td:last-child {
  border: none !important;
}

#receipt #order-line > * {
  font-size: 1rem !important;
  font-weight: 500 !important;
}

#receipt #order-message-line > * {
  font-size: 0.875rem !important;
}

/* Order receipt specific styles */
.order-receipt #receipt table tbody tr td {
  font-size: 1rem;
  font-weight: semibold !important;
}
