/* LE STAR V98 - PDF A4 : pied noir continu, liseré orange, coordonnées et QR à droite */
:root{--star-orange:#ff6a00;--star-black:#201d1b;--star-muted:#77736d;--star-paper:#f4f0e9}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body.product-sheet{font:13px/1.48 Arial,Helvetica,sans-serif;color:var(--star-black);background:#eae6df}
a{color:inherit}
.sheet-toolbar{width:198mm;max-width:100%;margin:14px auto 0;padding:12px 14px;background:#242322;color:#fff}
.sheet-toolbar button,.sheet-toolbar a{display:inline-block;padding:10px 14px;border:0;border-radius:3px;background:#fff;color:#242322;text-decoration:none;font:inherit;cursor:pointer}
.sheet-toolbar p{margin:8px 0 0;font-size:11px}
.sheet-layout{width:198mm;max-width:100%;margin:0 auto 25px;background:white;border-collapse:collapse}
.sheet-layout>thead>tr>td,.sheet-layout>tbody>tr>td,.sheet-layout>tfoot>tr>td{padding:0}
.sheet-layout main{padding:12px 14px 18px}
.sheet-header{width:100%;background:#fff}
.sheet-header-top{min-height:103px;padding:12px 14px 10px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:6px solid var(--star-orange)}
.sheet-header-logo{width:48%;max-width:265px;flex:0 1 auto;min-width:0}
.sheet-header-logo img{display:block;width:100%;height:auto;max-height:93px;object-fit:contain;object-position:left center}
.sheet-header-heading{text-align:right;min-width:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px}
.sheet-header-eyebrow{font-size:11px;letter-spacing:.12em;color:#b45d1a;text-transform:uppercase;font-weight:700}
.sheet-header-heading strong{font-size:24px;line-height:1.12;font-weight:900;letter-spacing:.085em;color:#252322}
.sheet-header-description{font-size:11px;color:#77706b}
.sheet-header-ribbon{background:#24211e;color:#fff;padding:8px 14px;display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:10px;line-height:1.25}
.sheet-header-ribbon span:first-child{color:#ffa251;font-weight:800;letter-spacing:.10em}
/* En affichage écran : même présentation que dans le PDF. */
.sheet-footer{background:#101010;color:#fff;border-top:4px solid var(--star-orange);color-scheme:dark}
.sheet-footer-main{display:grid;grid-template-columns:1.25fr 1.15fr 32mm;gap:16px;align-items:center;padding:16px 18px}
.sheet-footer-main>div{min-width:0}
.sheet-footer-address{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}
.sheet-footer-address strong{color:#fff;font-weight:900;font-size:21px;line-height:1.2}
.sheet-footer-address span{color:#fff;font-size:13px;line-height:1.3}
.sheet-footer-contact{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center}
.sheet-footer-contact strong{color:#fff;font-size:19px;font-weight:800;line-height:1.1;overflow-wrap:anywhere}
.sheet-footer-qr{display:flex;align-items:center;justify-content:flex-end}
.sheet-footer-qr svg{display:block;width:30mm;height:30mm;background:white;border:2px solid #fff}
.sheet-footer-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,255,255,.15);padding:7px 18px;font-size:9px;color:#f2f2f2}
/* Fiche produit. On garde les descriptions et caractéristiques originales. */
.about-breadcrumb,.product-hero-links,.gallery,.product-photo-hint,.product-order,.product-advice,.product-purchase-note,.product-spec-note,.about-text-link,.about-contact,.product-related,#imageDialog,.product-tools,#productShareDialog{display:none!important}
.about-hero h1{font:700 27px/1.13 Georgia,serif;margin:7px 0 18px;color:#211e1b}
.about-eyebrow{font-size:10px;color:#a25829;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.product-presentation{display:grid;grid-template-columns:39% 1fr;gap:20px;align-items:start}
.product-main-photo{display:block;width:100%;padding:0;border:0;background:#fff}
.product-main-photo img{width:100%;height:235px;object-fit:contain}
.product-image-caption{font-size:10px;color:#666}
.product-purchase h2{font:700 19px/1.23 Georgia,serif;margin:0 0 8px}
.product-reference{font-size:11px;color:#706a64;margin:0 0 10px}
.product-data-heading{font-size:12px;color:#615b54}
.product-short-description{line-height:1.5}
.product-price-block{background:var(--star-paper);padding:15px 14px 13px;margin:15px 0 12px;break-inside:avoid;page-break-inside:avoid}
.product-price{font-family:Arial,Helvetica,sans-serif;font-size:46px;font-weight:900;letter-spacing:-1.5px;line-height:1.04;color:#211e1b;margin:0;white-space:nowrap}
.product-price .price-number,.product-price .price-currency{font-size:1em;font-weight:900;line-height:1}
.product-price .price-currency{margin-left:-.08em}
.product-price .price-suffix{position:relative;top:-.75em;margin:0 0 0 5px;font-size:.27em;line-height:1;font-weight:900;letter-spacing:0;color:var(--star-orange);vertical-align:baseline}
.product-price-quote{font-size:35px;white-space:normal}
.product-tax{margin:7px 0 0;font-size:12px;line-height:1.25;color:#7c756e}
.product-old-price,.product-discount,.product-stock,.product-shipping{font-size:11px;color:#635c56}
.product-old-price{margin:0 0 6px}
.product-information{display:block;margin-top:12px;clear:both}
.product-description-panel h2{font:700 21px/1.2 Georgia,serif;margin:20px 0 9px}.product-specifications h2{font:700 20px/1.2 Georgia,serif;margin:5px 0 6px}.product-specifications{margin:10px 0 0;padding:0!important}.product-specifications .about-eyebrow{margin:0 0 3px}
.rich-content{overflow-wrap:anywhere}.rich-content img{max-width:100%;height:auto}
.rich-content table{width:100%;border-collapse:collapse}.rich-content td,.rich-content th{padding:5px;border:1px solid #c6c6c6}
.product-specifications dl{margin:0}.product-specifications dl>div{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);gap:7px;padding:3px 4px;border-bottom:1px solid #ddd;font-size:11px;line-height:1.35}
.sheet-specs-row{display:grid;grid-template-columns:minmax(0,1fr) 73mm;gap:5mm;align-items:start}.sheet-specs-row .sheet-qr{width:100%;margin:20px 0 0;grid-template-columns:minmax(0,1fr) 25mm;column-gap:3mm;padding-top:2mm}.sheet-specs-row .sheet-qr svg{width:25mm;height:25mm}.sheet-specs-row .sheet-qr p{font-size:9px;line-height:1.3}
.product-specifications dt{font-weight:bold;min-width:0}.product-specifications dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.sheet-qr{display:grid;grid-template-columns:minmax(0,1fr) 29mm;column-gap:5mm;align-items:center;width:105mm;max-width:100%;margin:12px 0 0 auto;border-top:2px solid var(--star-orange);padding:8px 0 0;break-inside:avoid;page-break-inside:avoid}
.sheet-qr #productQr{grid-column:2;grid-row:1;justify-self:end}.sheet-qr svg{display:block;width:29mm;height:29mm}.sheet-qr p,.sheet-qr a{font-size:9.5px;color:#403a34;overflow-wrap:anywhere}.sheet-qr p{margin:3px 0}.sheet-qr>div:last-child{grid-column:1;grid-row:1;min-width:0}
h1,h2,h3{break-after:avoid;page-break-after:avoid}p{orphans:3;widows:3}.product-specifications dl>div{break-inside:avoid;page-break-inside:avoid}
/* Pieds de page fixes via les trois boîtes @page : le fond noir est continu.
   Chaque boîte couvre exactement 1/3 des 198 mm de largeur utile A4. */
@page {
 size:A4;
 margin:7mm 6mm 11mm;
 @bottom-left {
  content:"LE STAR · CUGNAUX"; width:66mm; height:9mm;
  background:#101010; border-top:1mm solid #ff6a00;
  color:#fff; font:700 7.3pt Arial,Helvetica,sans-serif;
  text-align:left; padding:0 0 0 2mm;
 }
 @bottom-center {
  content:"05 61 92 07 27  ·  infos@lestar.fr"; width:66mm; height:9mm;
  background:#101010; border-top:1mm solid #ff6a00;
  color:#fff; font:7pt Arial,Helvetica,sans-serif; text-align:center;
 }
 @bottom-right {
  content:"Page " counter(page) " / " counter(pages); width:66mm; height:9mm;
  background:#101010; border-top:1mm solid #ff6a00;
  color:#fff; font:7pt Arial,Helvetica,sans-serif;
  text-align:right; padding:0 2mm 0 0;
 }
}
@page:first {
 margin-bottom:34mm;
 @bottom-left {
  content:"Tél : 05 61 92 07 27\A 15, rue Alfred Sauvy\A ZAE Francazal Sud\A 31270 Cugnaux";
  white-space:pre; width:66mm; height:31mm;
  background:#101010; border-top:1.2mm solid #ff6a00;
  color:#fff; font:700 10.1pt/1.48 Arial,Helvetica,sans-serif;
  text-align:left; padding:0 0 0 2.5mm;
 }
 @bottom-center {
  content:"www.lestar.fr\A infos@lestar.fr";
  white-space:pre; width:66mm; height:31mm;
  background:#101010; border-top:1.2mm solid #ff6a00;
  color:#fff; font:800 14pt/1.7 Arial,Helvetica,sans-serif;
  text-align:center; padding:0;
 }
 @bottom-right {
  content:""; width:66mm; height:31mm;
  background-color:#101010; border-top:1.2mm solid #ff6a00;
  background-repeat:no-repeat; background-position:center center;
  background-size:25mm 25mm;
  color:#fff; text-align:center;
 }
}
@media print{
 html,body{background:#fff!important;margin:0!important;padding:0!important;font-size:9.5pt}
 .sheet-toolbar{display:none!important}
 .sheet-layout{width:100%;max-width:none;margin:0;border:0}
 .sheet-layout>thead{display:table-header-group}
 .sheet-layout>tfoot{display:none!important} /* Pied fixe au bord bas via @page, jamais dans le flux du contenu. */
 .sheet-layout>thead>tr>td{padding-bottom:2mm}

 .sheet-layout main{padding:0}
 .sheet-header,.sheet-footer,.sheet-header-ribbon,.product-price-block,.sheet-footer-main,.sheet-footer-bottom{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
 .sheet-header-top{min-height:24mm;padding:2.5mm 2mm 2mm;border-top-width:1.3mm}
 .sheet-header-logo{max-width:55mm}
 .sheet-header-logo img{max-height:21mm}
 .sheet-header-heading strong{font-size:18pt}
 .sheet-header-eyebrow{font-size:7.5pt}
 .sheet-header-description{font-size:8pt}
 .sheet-header-ribbon{padding:1.7mm 2mm;font-size:7.2pt}
 .sheet-footer-main{padding:3mm 2mm;gap:4mm}
 .sheet-footer-address strong{font-size:13pt}
 .sheet-footer-address span{font-size:8pt}
 .sheet-footer-contact strong{font-size:11pt}
 .sheet-footer-bottom{padding:1.5mm 2mm;font-size:6.6pt}
 .product-presentation{display:block}
 .product-visual{float:left;width:38%;margin:0 5mm 4mm 0}
 .product-main-photo img{height:55mm}
 .product-information{clear:both}
 .product-purchase h2{display:none}
 .about-hero h1{font-size:21pt}
 .product-price{font-size:34pt}
 .product-price-quote{font-size:27pt}
 .product-tax{font-size:9pt}
 .rich-content{overflow:visible!important;max-height:none!important}
 .product-description-panel,.product-specifications{break-inside:auto;page-break-inside:auto}
 .sheet-qr svg{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .sheet-qr{width:103mm;max-width:100%;margin:6mm 0 0 auto;padding-top:2mm}
 .product-specifications dl>div{padding:1.2mm 1mm;font-size:8pt}
 .sheet-specs-row{grid-template-columns:minmax(0,1fr) 69mm;gap:4mm}
 .sheet-specs-row .sheet-qr{width:100%;margin:7mm 0 0;padding:2mm 0 0}
}
@media screen and (max-width:650px){
 .sheet-header-top{padding:14px;min-height:75px;gap:10px}
 .sheet-header-logo{width:42%}.sheet-header-heading strong{font-size:15px}
 .sheet-header-eyebrow,.sheet-header-description{font-size:8px}
 .sheet-header-ribbon{padding:8px 12px;flex-wrap:wrap;font-size:8px}
 .sheet-layout main{padding:14px}
 .sheet-footer-main{padding:12px;gap:8px;grid-template-columns:1fr 1fr}
 .sheet-footer-qr{grid-column:1/-1;justify-content:center}
 .sheet-footer-address strong{font-size:15px}
 .sheet-footer-contact strong{font-size:12px}
 .sheet-footer-bottom{padding:8px 12px;flex-wrap:wrap}
 .product-presentation{grid-template-columns:1fr}
 .product-price{font-size:40px}
 .sheet-qr{width:100%;grid-template-columns:minmax(0,1fr) 29mm}
}
