/* Print-only, loaded by /checkout/ alone (after main.css, so it wins over the
   site-wide 15mm page margin): the order confirmation prints as a document
   someone files, so it gets letter-style margins.

   No `size` is set on purpose — the receipt is fluid, so the same margins
   work on A4 (210 × 297mm, the expected paper) and US Letter (216 × 279mm),
   and the printer's own paper setting is left alone. */
@page {
  margin: 25mm 22mm 22mm;
}

/* A long order runs to a second sheet: keep each line whole and repeat the
   column headings. */
@media print {
  .checkout-success__lines tr {
    break-inside: avoid;
  }

  .checkout-success__lines thead {
    display: table-header-group;
  }
}
