/* ToutLePrint — Bidons personnalisés (reprend les codes de la fiche unifiée) */
.tlpb{--g:#004c44;--o:#ef7d00;--ink:#10223e;--mute:#526176;--line:#dad8cf;--soft:#e5ecea;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);margin-top:16px}
.tlpb *{box-sizing:border-box}
.tlpb .tfu-form{display:flex;flex-direction:column;gap:14px}
.tlpb .tfu-step{background:#fff;border:1px solid #e6e3d7;border-radius:16px;padding:18px 20px;display:flex;flex-direction:column;gap:12px}
.tlpb .tfu-step__title{display:flex;align-items:center;gap:12px;margin:0;font-size:18px;font-weight:700;color:var(--ink);font-family:inherit}
.tlpb .tfu-num{width:28px;height:28px;flex:0 0 28px;border-radius:999px;background:var(--g);color:#fff;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.tlpb .tfu-dims{display:flex;flex-direction:column;gap:16px}
.tlpb .tfu-dim[hidden],.tlpb [hidden]{display:none!important}
.tlpb .tfu-dim__label{margin:0 0 8px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--mute)}
.tlpb .tfu-dim__opts{display:flex;flex-wrap:wrap;gap:8px}
.tlpb .tfu-chip{display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:12px;padding:9px 14px;font:600 14px/1.2 'DM Sans',system-ui,sans-serif;cursor:pointer;transition:.15s}
.tlpb .tfu-chip:hover{border-color:var(--g)}
.tlpb .tfu-chip.is-on{background:var(--g);border-color:var(--g);color:#fff}
.tlpb .tfu-chip img{border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.tlpb .tfu-tiers{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.tlpb .tlpb-cards{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.tlpb .tfu-opt{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:12px;padding:11px 13px;cursor:pointer;font:inherit;transition:.15s}
.tlpb .tfu-opt strong{font-size:14px}
.tlpb .tfu-opt small{font-size:12.5px;color:var(--mute);line-height:1.35}
.tlpb .tfu-opt:hover{border-color:var(--g)}
.tlpb .tfu-opt.is-on{border-color:var(--g);background:var(--soft);box-shadow:inset 0 0 0 1px var(--g)}
.tlpb .tlpb-delta{font-style:normal;font-size:12px;font-weight:700;color:var(--o)}
.tlpb .tfu-chip.is-on .tlpb-delta{color:#ffd29e}
.tlpb .tfu-grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.tlpb .tlpb-input{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:10px 12px;font:15px/1.3 'DM Sans',system-ui,sans-serif;color:var(--ink);background:#fff}
.tlpb .tlpb-input:focus{outline:none;border-color:var(--g)}
.tlpb .tlpb-check{display:flex;align-items:center;gap:10px;font-weight:600;cursor:pointer;flex-wrap:wrap}
.tlpb .tlpb-check input{width:18px;height:18px;accent-color:var(--g)}
.tlpb .tlpb-qty{display:flex;align-items:center;gap:8px}
.tlpb .tlpb-qty input{width:90px;text-align:center;border:1.5px solid var(--line);border-radius:12px;padding:10px;font:700 18px 'DM Sans',system-ui,sans-serif}
.tlpb .tlpb-qty__btn{width:42px;height:42px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-size:20px;cursor:pointer;color:var(--ink)}
.tlpb .tlpb-qty__unit{color:var(--mute);font-weight:600}
.tlpb .tfu-note{margin:0;font-size:13px;color:var(--mute)}
.tlpb .tlpb-drop{display:flex;align-items:center;justify-content:center;border:2px dashed var(--line);border-radius:14px;padding:22px;cursor:pointer;color:var(--mute);font-weight:600;text-align:center}
.tlpb .tlpb-drop input{position:absolute;opacity:0;width:1px;height:1px}
.tlpb .tlpb-drop:hover{border-color:var(--g);color:var(--g)}
.tlpb .tfu-recap{position:sticky;bottom:12px;z-index:5;background:#fff;border:1px solid #e6e3d7;border-radius:16px;padding:16px 20px;box-shadow:0 10px 30px rgba(16,34,62,.12)}
.tlpb .tfu-recap__line{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.tlpb .tfu-recap__main{display:flex;flex-direction:column;gap:2px}
.tlpb .tfu-recap__label{font-size:13px;color:var(--mute);font-weight:600}
.tlpb .tfu-recap__total{font-size:28px;color:var(--g);font-family:'DM Serif Display',Georgia,serif;font-weight:400}
.tlpb .tfu-recap__detail{font-size:13px;color:var(--mute)}
.tlpb .tlpb-refs{font-size:11.5px;opacity:.85}
.tlpb .tfu-submit,.tlpb .tlpb-submit{background:var(--o)!important;color:#fff!important;border:0;border-radius:12px;padding:14px 22px;font:700 16px 'DM Sans',system-ui,sans-serif;cursor:pointer}
.tlpb .tfu-submit:hover{filter:brightness(.95)}
.tlpb .tlpb-delay{margin-top:8px}
.tlpb .tlpb-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tlpb .tlpb-hp{position:absolute;left:-9999px}
.tlpb .tlpb-ok{border-color:var(--g);background:var(--soft)}
.tlpb-ref{margin:-4px 0 10px;font-size:13px;color:#526176}
.tlpb-ref span{font-weight:700;color:#10223e}
.tlpb-price small{font-size:.75em;color:#526176}
/* Contenus */
.tlpb-table{width:100%;border-collapse:collapse;margin:12px 0 20px;font-size:15px}
.tlpb-table th,.tlpb-table td{border:1px solid #e6e3d7;padding:9px 12px;text-align:left;vertical-align:top}
.tlpb-table thead th{background:#004c44;color:#fff}
.tlpb-table tbody tr:nth-child(even){background:#f7f5ef}
.tlpb-cat-content{max-width:960px;margin:48px auto 0;line-height:1.65}
.tlpb-cat-content h2{font-family:'DM Serif Display',Georgia,serif;color:#004c44;margin:32px 0 12px}
.tlpb-cat-content .tlpb-banner{width:100%;height:auto;border-radius:18px;margin-bottom:24px}
.tlpb-links li{margin:6px 0}
.tlpb-faq{margin-top:32px}
.tlpb-faq details{border:1px solid #e6e3d7;border-radius:12px;padding:12px 16px;margin:8px 0;background:#fff}
.tlpb-faq summary{font-weight:700;cursor:pointer}
.tlpb-promo{margin:32px 0}
.tlpb-promo a{display:flex;align-items:center;gap:18px;padding:16px 20px;border-radius:16px;background:#e5ecea;color:#10223e;text-decoration:none;border:1px solid #cfdcd8}
.tlpb-promo img{width:84px;height:84px;border-radius:12px;object-fit:cover}
.tlpb-promo span{display:flex;flex-direction:column;gap:4px;flex:1}
.tlpb-promo strong{color:#004c44;font-size:17px}
.tlpb-promo em{font-style:normal;font-weight:700;color:#ef7d00;white-space:nowrap}
@media (max-width:640px){.tlpb .tlpb-grid2{grid-template-columns:1fr}.tlpb .tfu-recap__total{font-size:24px}.tlpb-promo a{flex-wrap:wrap}}

/* Mise en page fiche (gabarit WooCommerce + fiche unifiée) */
body.tlpb-on div.product>.woocommerce-product-gallery{grid-column:1;grid-row:1}
body.tlpb-on div.product>.tlp-p8-panel{grid-column:1;grid-row:2;align-self:start;margin-top:16px}
body.tlpb-on div.product>.summary{grid-column:2;grid-row:1/span 3;align-self:start;display:flex;flex-direction:column}
body.tlpb-on .summary>.tlp-tech-faq,body.tlpb-on .summary>.product_meta,body.tlpb-on .summary>.iec-adm-box{order:10}
body.tlpb-on .tlpb form.tlpb-form{display:flex!important}
@media (max-width:900px){body.tlpb-on div.product>.woocommerce-product-gallery,body.tlpb-on div.product>.tlp-p8-panel,body.tlpb-on div.product>.summary{grid-column:auto;grid-row:auto}body.tlpb-on div.product>.tlp-p8-panel{order:5}}
