/* Toutibox Flyers 1.0.7 — aligné visuellement sur Cartes de visite et Boîtes */
.tb-flyers{--tbf-brown:#8a5f3f;--tbf-line:#eadfce;--tbf-dark:#2b2119;--tbf-muted:#80654e;background:linear-gradient(180deg,#fffaf3,#fff);border:1px solid var(--tbf-line);border-radius:22px;padding:22px;margin:24px 0;box-shadow:0 14px 42px rgba(75,48,29,.08);color:var(--tbf-dark);box-sizing:border-box;clear:both;max-width:100%;width:100%}
.tb-flyers *{box-sizing:border-box}
.tb-flyers__intro{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f5ead9;border:1px solid #ead8bf;border-radius:20px;padding:18px 20px;margin-bottom:18px;min-height:160px}
.tb-flyers__intro-text{flex:1;min-width:0}
.tb-flyers__eyebrow{display:block;color:#9a6d47;font-size:.76rem;font-weight:800;letter-spacing:.09em;margin-bottom:8px}
.tb-flyers__intro h3,.tb-flyers__section h4{font-family:Impact,'Arial Narrow','Roboto Condensed',sans-serif!important;font-stretch:condensed;font-weight:700!important;text-transform:uppercase;letter-spacing:.015em}
.tb-flyers__intro h3{color:#241a14!important;margin:0 0 9px!important;font-size:clamp(23px,2.6vw,32px)!important;line-height:1.1!important}
.tb-flyers__intro p{color:#72563f!important;font-size:1rem!important;margin:0!important;line-height:1.5}
.tb-flyers__mode{display:block;color:#8b6242;font-size:.78rem;margin-top:9px;font-weight:700}
.tb-flyers__mascot{display:block!important;width:108px!important;height:135px!important;max-width:24%;object-fit:contain;object-position:center;flex:0 0 auto;margin:0!important;filter:none!important}
.tb-flyers__section{background:#fff;border:1px solid var(--tbf-line);border-radius:18px;padding:18px 20px;margin:0 0 16px;min-width:0}
.tb-flyers__section-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:18px}
.tb-flyers__section-icon{width:43px;height:43px;flex:0 0 43px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#f7ead7;font-size:20px}
.tb-flyers__section h4{color:#241a14!important;font-size:1.25rem!important;line-height:1.15!important;margin:1px 0 6px!important}
.tb-flyers__section-head p{margin:0!important;color:#80654e!important;line-height:1.45;font-size:.94rem!important}
.tb-flyers__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tb-flyers__field{min-width:0}
.tb-flyers__field label{display:block;color:#332419!important;font-weight:700!important;margin:0 0 12px!important;font-size:.98rem!important}
.tb-flyers__field label span{font-weight:400;color:#80654e}
.tb-flyers select,.tb-flyers textarea{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:56px!important;padding:13px 15px!important;background:#fff!important;border:1px solid #dfc9af!important;border-radius:16px!important;color:#57402e!important;font-size:1.03rem!important;font-family:inherit!important;margin:0!important;box-shadow:none!important;line-height:1.4!important}
.tb-flyers textarea{min-height:100px!important;resize:vertical}
.tb-flyers__field small{display:block;color:#80654e;font-size:.89rem;margin-top:10px}
.tb-flyers__option{display:flex!important;align-items:flex-start;gap:12px;border:1px solid #e4d3bc;border-radius:16px;background:#fffaf3;padding:15px!important;cursor:pointer;color:var(--tbf-dark)!important;margin:0!important}
.tb-flyers__option input[type=checkbox]{width:19px!important;height:19px!important;flex:0 0 19px;margin:3px 0 0!important;accent-color:#8a5f3f}
.tb-flyers__option strong{display:block;font-size:1rem;color:#2b2119!important}
.tb-flyers__option small{display:block;margin-top:5px;color:#80654e!important;line-height:1.4;font-size:.9rem}
.tb-flyers__total{position:sticky;bottom:8px;z-index:12;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:13px 16px;background:linear-gradient(135deg,#2c2119,#7b583c);border-radius:16px;color:#fff;box-shadow:0 10px 24px rgba(43,33,25,.18);text-align:center}
.tb-flyers__total span{color:rgba(255,255,255,.83)!important;font-size:.95rem}
.tb-flyers__total strong{font-size:1.25rem!important;font-weight:800!important;color:#fff!important;line-height:1.2}
.tb-flyers__total small{color:rgba(255,255,255,.8)!important;font-size:.78rem;font-weight:700}
.tb-flyers__total-unit{width:100%;font-size:.82rem!important}
.tb-flyers-form .quantity{display:none!important}
.tb-flyers-form>button.single_add_to_cart_button{display:block!important;width:100%!important;max-width:none!important;float:none!important;margin:12px 0 18px!important;padding:15px 20px!important;border:0!important;border-radius:14px!important;background:#8a5f3f!important;color:#fff!important;font-size:1rem!important;font-weight:800!important;cursor:pointer}
.tb-flyers-form>button.single_add_to_cart_button:hover{filter:brightness(.95)}
@media(max-width:700px){.tb-flyers{padding:14px;border-radius:19px}.tb-flyers__intro{padding:15px;gap:10px;min-height:130px}.tb-flyers__intro h3{font-size:1.4rem!important}.tb-flyers__intro p{font-size:.87rem!important}.tb-flyers__mascot{width:76px!important;height:104px!important}.tb-flyers__grid{grid-template-columns:1fr;gap:0}.tb-flyers__section{padding:15px;margin-bottom:13px}.tb-flyers__section-head{gap:10px;margin-bottom:12px}.tb-flyers__section-icon{width:38px;height:38px;flex-basis:38px}.tb-flyers__total{bottom:6px;padding:10px 12px}}

/* Dépôt du fichier graphique */
.tb-flyers input[type=file]{display:block;width:100%;max-width:100%;padding:13px!important;background:#fff;border:1px dashed #d3bba3;border-radius:14px;box-sizing:border-box;color:#3a2b20;font:inherit}
.tb-flyers input[type=file]::file-selector-button{background:#f5ead9;border:1px solid #ead8bf;border-radius:9px;color:#563c2d;font-weight:700;padding:9px 12px;margin-right:12px;cursor:pointer}
