/* Vlukon design 2, on paper: the product data sheet (print / save as PDF). Loaded with the design switch, for print only.
 *
 * Floris, 26 Nov 2026: the sheet is always one A4 with everything about the product: at the top the numbers (article number,
 * old article number, drawing number, customs code), then the pictures side by side, then the technical data. A technical
 * drawing, once released, is page 2 (.psheet__drw, already in the template). The reference is the sheet of the LIV Systems
 * catalogue. The sheet of main.css stays the base; this file reorders it and sets every size in mm and pt, so the result does
 * not depend on the width of the screen it is printed from.
 */
@page { size: A4; margin: 10mm 12mm; }
html, body { width: auto !important; min-width: 0 !important; background: #fff !important; color: #1F2A44; font-family: "Barlow", Arial, sans-serif; font-size: 9pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body.vlk-virtual main > section.psheet { display: block !important; padding: 0 !important; margin: 0 !important; }
body.vlk-virtual .psheet__p1 { display: flex !important; flex-direction: column; min-height: 268mm; }
/* the parts of the page body become parts of the sheet, so they can be put in the order of the sheet */
body.vlk-virtual .psheet .pmain, body.vlk-virtual .psheet .pmain__info { display: contents !important; }
body.vlk-virtual .psheet .pmain__info > :not(.pnums):not(.pabout) { display: none !important; }
body.vlk-virtual .psheet .phead, body.vlk-virtual .psheet .pmain__media { display: none !important; }
.psheet__head { order: 1; display: flex !important; align-items: flex-end; justify-content: space-between; padding-bottom: 3mm; border-bottom: 1.5pt solid #12234A; }
.psheet__title { order: 2; display: block !important; margin: 5mm 0 0; }
.psheet__h { margin: 0; font: 600 15pt/1.2 "IBM Plex Sans Condensed", "Barlow", Arial, sans-serif; color: #12234A; }
.psheet__ids { margin-top: 1.5mm; }
.psheet__p1:has(.pnums) .psheet__ids { display: none !important; } /* the block of numbers below says it all */
/* the numbers: one row of label over value */
body.vlk-virtual .psheet .pnums { order: 3; display: block !important; margin: 4mm 0 0; padding: 2.5mm 3.5mm; border: 0; border-radius: 1.5mm; background: #F4F6FA; }
body.vlk-virtual .psheet .pnums dl { display: grid !important; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1mm 6mm; margin: 0; }
body.vlk-virtual .psheet .pnums dl > div { display: block !important; min-width: 0; }
body.vlk-virtual .psheet .pnums dt { font-size: 7pt; line-height: 1.3; color: #55627A; }
body.vlk-virtual .psheet .pnums dd { margin: 0; font-size: 9pt; line-height: 1.3; }
body.vlk-virtual .psheet .pnums__v { display: block; font-weight: 600; color: #12234A; overflow-wrap: anywhere; }
body.vlk-virtual .psheet .pnums__c { display: block; font-size: 7pt; color: #55627A; }
body.vlk-virtual .psheet .pnums a { color: inherit; text-decoration: none; }
/* the pictures side by side, as large as one A4 allows */
.psheet__pics { order: 4; display: flex !important; align-items: center; justify-content: center; gap: 5mm; margin-top: 4mm; padding: 3mm 0; border-top: 0; border-bottom: 0; break-inside: avoid; }
.psheet__pics figure { flex: 1 1 0; max-width: 92mm; margin: 0; text-align: center; }
.psheet__pics img { display: block; width: 100%; height: 78mm; object-fit: contain; }
.psheet__pics figcaption { margin-top: 1mm; font-size: 7.5pt; color: #55627A; }
/* the technical data */
body.vlk-virtual .psheet .pmain__specs { order: 5; display: block !important; margin-top: 4mm; }
.psheet .specs__title { margin: 0 0 1.5mm; padding: 0 0 1mm; border-bottom: 1pt solid #12234A; font: 600 11pt/1.2 "IBM Plex Sans Condensed", "Barlow", Arial, sans-serif; color: #12234A; }
.psheet .specgrid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 6mm; border: 0; }
.psheet .specgrid > div { display: grid !important; grid-template-columns: minmax(0, 46%) minmax(0, 1fr) !important; gap: 2mm; min-height: 0; padding: 1mm 0; border-bottom: .5pt solid #DDE3EC; break-inside: avoid; }
.psheet .specgrid > .specgrid__wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 14.5%) minmax(0, 1fr) !important; }
.psheet .specgrid dt { font-size: 8.5pt; line-height: 1.3; color: #55627A; }
.psheet .specgrid dd { margin: 0; font-size: 8.5pt; line-height: 1.3; font-weight: 600; color: #12234A; }
.psheet .specgrid a { color: inherit; text-decoration: none; }
/* the description of the product (tyres): after the data, at most eight lines, so the sheet stays one page */
body.vlk-virtual .psheet .pabout { order: 6; display: block !important; margin-top: 4mm; max-width: none; font-size: 8.5pt; line-height: 1.4; color: #1F2A44; }
body.vlk-virtual .psheet .pabout .pabout__h { margin: 0 0 1.5mm; padding: 0 0 1mm; border-bottom: 1pt solid #12234A; font: 600 11pt/1.2 "IBM Plex Sans Condensed", "Barlow", Arial, sans-serif; color: #12234A; }
body.vlk-virtual .psheet .pabout p, body.vlk-virtual .psheet .pabout .pabout__lead { margin: 0 0 1mm; font-size: 8.5pt; line-height: 1.4; }
body.vlk-virtual .psheet .pabout .prod-about__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; }
body.vlk-virtual .psheet .pabout .prod-about__use { display: none !important; }
.psheet__foot { order: 9; display: flex !important; margin-top: auto; }
.psheet__drw { display: block !important; break-before: page; }

/* the bar of the test view never prints */
.d2-testbar { display: none !important; }
