/* Menu produits TEXPUB */
.tpm{--tpm-text:#151515;--tpm-muted:#7a7a80;--tpm-accent:#d9782a;--tpm-bg:#f5f5f6;--tpm-line:#e8e8eb;font-family:inherit;color:var(--tpm-text);width:100%;box-sizing:border-box}
.tpm *{box-sizing:border-box}
.tpm ul{list-style:none;margin:0;padding:0}
.tpm a{color:inherit;text-decoration:none}
.tpm-title{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--tpm-muted);margin:0 0 12px 4px}

/* Liste dépliante */
.tpm--accordion .tpm-list{display:flex;flex-direction:column;gap:6px}
.tpm--accordion .tpm-item{background:var(--tpm-bg);border-radius:14px;overflow:hidden;transition:background .2s}
.tpm--accordion .tpm-item.is-open{background:#fff;box-shadow:0 0 0 1px var(--tpm-line),0 6px 18px rgba(0,0,0,.05)}
.tpm-row{display:flex;align-items:center}
.tpm-link{flex:1;display:flex;align-items:center;gap:12px;padding:12px 6px 12px 14px;min-height:52px;font-weight:600;font-size:15px;line-height:1.25}
.tpm-link:hover .tpm-name{color:var(--tpm-accent)}
.tpm-icon{flex:0 0 36px;height:36px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--tpm-text)}
.tpm-item.is-open .tpm-icon,.tpm-item.is-current .tpm-icon{background:var(--tpm-text);color:#fff}
.tpm-thumb{flex:0 0 40px;height:40px;border-radius:10px;overflow:hidden;background:#fff}
.tpm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.tpm-name{flex:1;transition:color .15s}
.tpm-count{font-size:12px;font-weight:600;color:var(--tpm-muted);background:#fff;border-radius:20px;padding:2px 8px;min-width:26px;text-align:center}
.tpm-item.is-open .tpm-count{background:var(--tpm-bg)}
.tpm-toggle{flex:0 0 44px;height:52px;border:0;background:transparent;color:var(--tpm-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;margin:0}
.tpm-toggle svg{transition:transform .25s}
.tpm-toggle[aria-expanded="true"] svg{transform:rotate(90deg);color:var(--tpm-accent)}
.tpm-toggle:focus-visible,.tpm a:focus-visible{outline:2px solid var(--tpm-accent);outline-offset:-2px;border-radius:8px}
.tpm--accordion .tpm-sub{padding:2px 12px 12px 62px}
.tpm--accordion .tpm-sub li a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:9px;font-size:14px}
.tpm--accordion .tpm-sub li a:hover,.tpm-sub li.is-current a{background:var(--tpm-bg);color:var(--tpm-accent)}
.tpm-sub em{font-style:normal;font-size:12px;color:var(--tpm-muted)}
.tpm-sub .tpm-all a{font-weight:600;color:var(--tpm-accent);font-size:13px}

/* Liens rapides */
.tpm-quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px!important;padding-top:16px!important;border-top:1px solid var(--tpm-line)}
.tpm-quick a{display:inline-block;padding:8px 14px;border-radius:30px;border:1px solid var(--tpm-line);font-size:13px;font-weight:600;transition:all .15s}
.tpm-quick a:hover{border-color:var(--tpm-text);background:var(--tpm-text);color:#fff}
.tpm-quick li:first-child a{background:var(--tpm-accent);border-color:var(--tpm-accent);color:#fff}

/* Méga-menu en colonnes */
.tpm--mega .tpm-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:28px 32px}
.tpm--mega .tpm-link{padding:0 0 10px;min-height:0;border-bottom:2px solid var(--tpm-line);margin-bottom:10px}
.tpm--mega .tpm-icon{background:var(--tpm-bg);flex-basis:32px;height:32px}
.tpm--mega .tpm-sub li a{display:flex;justify-content:space-between;padding:5px 0;font-size:14px;color:#3a3a3f}
.tpm--mega .tpm-sub li a:hover{color:var(--tpm-accent)}
.tpm--mega .tpm-quick{margin-top:28px!important}

@media (max-width:480px){.tpm-link{font-size:14px}.tpm--accordion .tpm-sub{padding-left:14px}}
