/* Product sheet PDF — shared by the yt-*.html detail pages.
   The sheet (#pdfSheet) is built by pdf-sheet.js from the page itself; on screen it is hidden,
   when printing only the sheet is shown. @page margin 0 stops browsers printing the URL/date header,
   which matters for the neutral (no supplier info) version. */

.pd-pdf{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0 0 0 10px;padding:13px 22px;border-radius:4px;border:1px solid #1E3A8A;background:#fff;color:#1E3A8A;font:500 14px/22.4px 'DM Sans',sans-serif;cursor:pointer;transition:background .15s}
.pd-pdf:hover{background:#EEF2FF}
.pd-pdf svg{width:16px;height:16px;stroke:#1E3A8A;fill:none;stroke-width:2}
@media(max-width:520px){.pd-pdf{margin:10px 0 0;width:100%}}

/* chooser dialog */
.ps-shade{position:fixed;inset:0;background:rgba(15,20,30,.45);z-index:10010;display:none;align-items:center;justify-content:center;padding:16px}
.ps-shade.open{display:flex}
.ps-box{background:#fff;border-radius:14px;max-width:440px;width:100%;padding:22px 22px 20px;font-family:'DM Sans',sans-serif;color:#1E293B;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.ps-box h3{font-size:18px;margin:0 0 4px;font-family:'DM Sans',sans-serif;font-weight:600}
.ps-box > p{font-size:13px;color:#64748B;margin:0 0 14px}
.ps-opt{display:flex;gap:10px;align-items:flex-start;border:1px solid #D1D9F0;border-radius:10px;padding:12px;margin-bottom:10px;cursor:pointer}
.ps-opt input{margin-top:3px}
.ps-opt b{display:block;font-size:14px}
.ps-opt span{font-size:12.5px;color:#64748B}
.ps-opt.on{border-color:#1E3A8A;background:#F5F7FF}
.ps-acts{display:flex;gap:10px;margin-top:14px}
.ps-acts button{flex:1;padding:12px;border-radius:8px;font:600 14px 'DM Sans',sans-serif;cursor:pointer}
.ps-cancel{background:#fff;border:1px solid #D1D9F0;color:#64748B}
.ps-go{background:#1E3A8A;border:1px solid #1E3A8A;color:#fff}
.ps-tip{font-size:11.5px;color:#64748B;margin:10px 0 0}

/* the sheet itself */
#pdfSheet{display:none}
@media print{
  @page{size:A4;margin:0}
  html,body{background:#fff !important;margin:0 !important;padding:0 !important}
  body > *:not(#pdfSheet){display:none !important}
  #pdfSheet{display:block !important}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
#pdfSheet{font-family:'DM Sans',Arial,sans-serif;color:#1E293B;font-size:10.5pt;line-height:1.5;padding:14mm 14mm 12mm}
#pdfSheet .s-head{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #1E3A8A;padding-bottom:7mm;margin-bottom:7mm}
#pdfSheet .s-brand{display:flex;align-items:center;gap:10px}
#pdfSheet .s-brand img{width:34px;height:34px;border-radius:5px}
#pdfSheet .s-brand b{display:block;font-size:13pt;letter-spacing:2px;color:#0F1F4A}
#pdfSheet .s-brand span{font-size:8.5pt;color:#64748B}
#pdfSheet .s-contact{text-align:right;font-size:8.5pt;color:#475569;line-height:1.6}
#pdfSheet .s-contact a{color:#1E3A8A;text-decoration:none}
#pdfSheet h1{font-family:'Playfair Display',Georgia,serif;font-size:20pt;line-height:1.2;margin:0 0 2mm;color:#0F1F4A}
#pdfSheet .s-code{font-size:9.5pt;color:#64748B;margin-bottom:5mm}
#pdfSheet .s-top{display:flex;gap:7mm;align-items:flex-start}
#pdfSheet .s-gal{width:84mm;flex-shrink:0}
#pdfSheet .s-main{width:84mm;height:84mm;object-fit:contain;border:1px solid #D1D9F0;border-radius:3mm;display:block}
#pdfSheet .s-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5mm;margin-top:2.5mm}
#pdfSheet .s-thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid #D1D9F0;border-radius:2mm}
#pdfSheet .s-info{flex:1;min-width:0}
#pdfSheet .s-desc{margin:0 0 4mm;color:#334155}
#pdfSheet table{width:100%;border-collapse:collapse;font-size:9.5pt}
#pdfSheet td{border:1px solid #D1D9F0;padding:2mm 2.5mm;vertical-align:top}
#pdfSheet td:first-child{background:#EEF2FF;color:#475569;width:32%;white-space:nowrap}
#pdfSheet h2{font-family:'Playfair Display',Georgia,serif;font-size:14pt;color:#0F1F4A;margin:8mm 0 3mm;break-after:avoid}
#pdfSheet .s-why{color:#334155;margin:0}
#pdfSheet .s-feats{display:grid;grid-template-columns:1fr 1fr;gap:5mm}
#pdfSheet .s-feat{break-inside:avoid;page-break-inside:avoid;border:1px solid #D1D9F0;border-radius:3mm;overflow:hidden}
#pdfSheet .s-feat img{width:100%;height:52mm;object-fit:cover;display:block;background:#EEF2FF}
#pdfSheet .s-feat div{padding:2.5mm 3mm 3mm}
#pdfSheet .s-feat b{display:block;font-size:10pt;color:#1E3A8A;margin-bottom:1mm}
#pdfSheet .s-feat p{margin:0;font-size:8.8pt;color:#475569;line-height:1.45}
#pdfSheet .s-feat.noimg{grid-column:1/-1}
#pdfSheet .s-page{break-before:page;page-break-before:always;padding-top:14mm}
#pdfSheet .s-page h2{margin-top:0}
