@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html,
  body {
    width: 210mm;
    margin: 0 !important;
    padding: 0 !important;
  }

  body {
    background: white;
    color: black;
    font-size: 8.5pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  .site-footer,
  .quote-intro,
  .quote-layout,
  .no-print,
  .skip-link {
    display: none !important;
  }

  .section {
    padding: 0;
  }

  .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .quote-preview {
    display: block !important;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 10mm 12mm 9mm;
    box-shadow: none;
  }

  .quote-preview__header {
    gap: 6mm;
    border-top-width: 1.5mm;
    padding: 4mm 0;
  }

  .quote-preview__identity {
    gap: 4mm;
  }

  .quote-preview__identity img {
    width: 12mm;
    height: 15mm;
  }

  .quote-preview__identity h2 {
    font-size: 18pt;
  }

  .quote-preview__identity > div > p:last-child {
    font-size: 7.5pt;
  }

  .quote-preview__document {
    min-width: 45mm;
    padding: 3mm 4mm;
    gap: 2mm;
  }

  .quote-preview__document div {
    grid-template-columns: 15mm minmax(0, 1fr);
    gap: 2mm;
  }

  .quote-detail {
    margin: 4mm 0;
    gap: 2.5mm;
  }

  .quote-detail article {
    border-radius: 0;
    padding: 3mm;
  }

  .quote-detail h3 {
    margin-bottom: 1.5mm;
  }

  .quote-detail p {
    font-size: 7.5pt;
    line-height: 1.35;
  }

  .quote-table {
    margin: 4mm 0;
    font-size: 7.4pt;
  }

  .quote-table thead {
    display: table-header-group;
  }

  .quote-table tr {
    break-inside: avoid;
  }

  .quote-table th,
  .quote-table td {
    padding: 2mm;
  }

  .quote-table th {
    font-size: 6.5pt;
  }

  .quote-table__brand,
  .quote-table__meta dt,
  .quote-table__meta dd,
  .quote-table__note {
    font-size: 6.5pt;
  }

  .quote-table__meta {
    margin-top: 1.5mm;
    gap: 1mm 4mm;
  }

  .quote-table__note {
    margin-top: 1.5mm;
    padding-left: 2mm;
  }

  .quote-totals {
    max-width: 92mm;
    padding: 3mm 4mm;
    gap: 4mm;
  }

  .quote-price-note {
    margin-top: 2mm;
    font-size: 7pt;
  }

  .quote-payments {
    margin-top: 3mm;
    padding: 2.5mm 3mm;
    break-inside: avoid;
  }

  .quote-payments__header {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4mm;
    margin-bottom: 2mm;
    padding-bottom: 2mm;
  }

  .quote-payments__header h3 {
    font-size: 9pt;
  }

  .quote-payments__header > p {
    font-size: 6.2pt;
    line-height: 1.3;
  }

  .quote-payment-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 2mm;
  }

  .quote-payment-card {
    border-left-width: 1mm;
    padding: 2.5mm 3mm;
    box-shadow: inset 0 0 0 0.2mm var(--color-border);
  }

  .quote-payment-card__heading {
    gap: 2mm;
  }

  .quote-payment-card__heading h4 {
    font-size: 7.5pt;
  }

  .quote-payment-card__heading p,
  .quote-payment-card__heading > span {
    font-size: 6.2pt;
  }

  .quote-payment-data {
    margin-top: 2mm;
    gap: 2mm;
  }

  .quote-payment-data div {
    padding-top: 1.5mm;
  }

  .quote-payment-data dt {
    font-size: 5.5pt;
  }

  .quote-payment-data dd {
    font-size: 6.5pt;
  }

  .quote-payment-card--qr {
    grid-template-columns: 1fr;
    gap: 2mm;
  }

  .quote-payment-qr {
    gap: 2mm;
  }

  .quote-payment-qr img {
    width: 24mm;
  }

  .quote-payment-qr p {
    display: none;
  }

  .quote-notes,
  .quote-disclaimer {
    margin-top: 4mm;
    padding: 3mm 4mm;
  }

  .quote-notes,
  .quote-disclaimer {
    break-inside: avoid;
  }

  .quote-disclaimer {
    font-size: 7pt;
  }

  .quote-disclaimer h3 {
    margin-bottom: 1.5mm;
    font-size: 7.5pt;
  }

  .quote-disclaimer ul {
    gap: 0.75mm;
  }

  .quote-brand-footer {
    margin-top: 4mm;
    padding-top: 3mm;
    break-inside: avoid;
  }

  .quote-brand-footer > p {
    margin-bottom: 2mm;
    font-size: 6.5pt;
  }

  .quote-brand-grid {
    gap: 1.5mm;
  }

  .quote-brand-logo {
    height: 9mm;
    border-radius: 0;
    padding: 1mm;
  }

  .quote-brand-footer > small {
    margin-top: 2mm;
    font-size: 5.8pt;
  }

  a {
    color: black;
    text-decoration: none;
  }
}
