/* TPI C27 — Fiche A4 indépendante de la page catalogue */
.tpi-print-product{margin:16px 0 0;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.6);color:#fff;background:transparent;padding:9px 14px;border-radius:10px;font:700 13px Arial,sans-serif;cursor:pointer}
.tpi-print-product:hover,.tpi-print-product:focus-visible{background:#fff;color:#10436e}
@media screen{body>.tpi-print-sheet{display:none!important}}
@page{size:A4 portrait;margin:10mm}
@media print{
  html,body,body.tpi-web{background:#fff!important;color:#203449!important;margin:0!important;padding:0!important;width:auto!important;height:auto!important;min-height:0!important;font-family:Arial,Helvetica,sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.tpi-web> :not(.tpi-print-sheet){display:none!important}
  body>.tpi-print-sheet{display:flex!important;flex-direction:column!important;visibility:visible!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;color:#1a354a!important;font-family:Arial,Helvetica,sans-serif!important;font-size:10pt!important;line-height:1.38!important;box-shadow:none!important;border:0!important;background:#fff!important}
  .tpi-print-sheet *{box-sizing:border-box!important;box-shadow:none!important;text-shadow:none!important}
  .tpi-sheet-header{display:flex;justify-content:space-between;align-items:center;gap:10mm;margin-bottom:5mm}
  .tpi-sheet-header img{width:35mm!important;height:22mm!important;max-width:35mm!important;object-fit:contain!important}
  .tpi-sheet-company{display:flex;flex-direction:column;align-items:flex-end;text-align:right;font-size:8.6pt;line-height:1.55;color:#40596d}
  .tpi-sheet-company strong{font-size:10pt;color:#0e3c60}
  .tpi-sheet-rule{width:100%;height:2.1mm;background:#ef8a27!important;margin:0 0 7mm 0}
  .tpi-sheet-kicker{display:block;font-size:9pt;font-weight:800;color:#c45c13;letter-spacing:1.5px}
  .tpi-sheet-title h1{font-size:22pt!important;line-height:1.18!important;margin:2.2mm 0 2.5mm!important;color:#0b3558!important;font-weight:800!important;max-width:100%!important;overflow-wrap:anywhere}
  .tpi-sheet-ref{display:block;color:#64788a;font-size:9pt}
  .tpi-sheet-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);column-gap:8mm;align-items:center;padding:5mm 0 7mm;border-bottom:1px solid #dbe5ed;break-inside:avoid}
  .tpi-sheet-image{display:flex;justify-content:center;align-items:center;height:76mm;max-height:76mm;min-width:0}
  .tpi-sheet-image img{max-width:100%!important;max-height:74mm!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important}
  .tpi-sheet-offer{padding:6mm 5mm;background:#f5f8fb!important;border:1px solid #e1e8ef;border-radius:3mm;break-inside:avoid}
  .tpi-sheet-status{display:inline-block;color:#164466;font-size:9pt;font-weight:800;letter-spacing:.5px}
  .tpi-sheet-price{font-size:28pt;font-weight:800;line-height:1.06;margin-top:6mm;color:#d96f17!important;white-space:nowrap}
  .tpi-sheet-vat{font-size:10pt;font-weight:700;margin:1mm 0 3mm;color:#476074}
  .tpi-sheet-offer p{font-size:9pt;line-height:1.4;color:#526a7c;margin:3mm 0 0}
  .tpi-sheet-offer .tpi-sheet-service{font-size:9pt;font-weight:700;color:#0c5836}
  .tpi-sheet-specs{margin-top:7mm;break-before:auto}
  .tpi-sheet-specs h2{font-size:13pt;font-weight:800;color:#0b3558;margin:0 0 3mm;padding:0 0 2mm;border-bottom:1px solid #dbe5ed}
  .tpi-sheet-specs dl{margin:0;padding:0}
  .tpi-sheet-spec-row{display:grid;grid-template-columns:29% 71%;align-items:start;padding:2.7mm 1.5mm;border-bottom:1px solid #e7edf2;break-inside:avoid}
  .tpi-sheet-spec-row:nth-child(odd){background:#f6f8fa!important}
  .tpi-sheet-spec-row dt{font-size:9pt;font-weight:700;color:#567082;margin:0}
  .tpi-sheet-spec-row dd{font-size:9.5pt;font-weight:700;margin:0;color:#152f44;overflow-wrap:anywhere;white-space:normal}
  .tpi-sheet-description{font-size:10pt;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
  .tpi-sheet-footer{display:flex;justify-content:space-between;gap:5mm;align-items:end;border-top:1px solid #cddce7;margin-top:auto;padding-top:4mm;font-size:8pt;color:#63788b;break-inside:avoid}
  .tpi-sheet-footer>div:first-child{max-width:65%}
  .tpi-sheet-footer>div:last-child{display:flex;flex-direction:column;text-align:right;white-space:nowrap}
  .tpi-sheet-footer strong{color:#0b3558}
}

/* C56 : fiche A4 compacte, indépendante de la navigation et du footer public */
@media print {
 body.tpi-web> :not(.tpi-print-sheet){display:none!important;visibility:hidden!important}
 body.tpi-web>.tpi-print-sheet{display:flex!important;visibility:visible!important;min-height:0!important;max-width:none!important;overflow:visible!important;break-inside:avoid-page!important;page-break-inside:avoid!important}
 .tpi-print-sheet .tpi-sheet-footer{display:none!important}
 .tpi-sheet-header{margin-bottom:3mm!important}
 .tpi-sheet-header img{height:17mm!important;width:30mm!important}
 .tpi-sheet-company{font-size:7.8pt!important;line-height:1.3!important}
 .tpi-sheet-rule{height:1.3mm!important;margin-bottom:4mm!important}
 .tpi-sheet-title h1{font-size:19pt!important;line-height:1.12!important;margin:1.2mm 0!important}
 .tpi-sheet-kicker,.tpi-sheet-ref{font-size:8pt!important}
 .tpi-sheet-product{padding:3mm 0 3mm!important;column-gap:5mm!important;break-inside:avoid-page!important}
 .tpi-sheet-image{height:61mm!important;max-height:61mm!important}
 .tpi-sheet-image img{max-height:60mm!important}
 .tpi-sheet-offer{padding:4mm!important}
 .tpi-sheet-price{font-size:25pt!important;margin-top:4mm!important}
 .tpi-sheet-offer p{margin-top:2mm!important;font-size:8.5pt!important}
 .tpi-sheet-specs{margin-top:4mm!important}
 .tpi-sheet-specs h2{font-size:11pt!important;margin:0 0 2mm!important;padding:0 0 1mm!important}
 .tpi-sheet-spec-row{padding:1.6mm 1mm!important;break-inside:avoid!important}
 .tpi-sheet-spec-row dt,.tpi-sheet-spec-row dd{font-size:8.7pt!important;line-height:1.24!important}
 .tpi-sheet-description{font-size:9pt!important;line-height:1.35!important}
}
