/* Vitrine compacte : références choisies, stock magasin, puis quelques fournisseurs. */
body.tpi-web .tpi-vitrine.section{padding:16px 0 22px!important}
body.tpi-web .tpi-vitrine .tpi-showcase{padding:16px 18px 15px!important;border-radius:17px!important}
body.tpi-web .tpi-vitrine .tpi-showcase-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px!important}
body.tpi-web .tpi-vitrine .tpi-showcase-intro h2{font-size:clamp(19px,2.2vw,25px)!important;line-height:1.2!important;margin:0!important}
body.tpi-web .tpi-vitrine .tpi-showcase-intro .eyebrow{margin-bottom:2px}
body.tpi-web .tpi-vitrine .tpi-showcase-intro p:not(.eyebrow){display:none!important}
.tpi-showcase-actions{display:flex;align-items:center;gap:8px}
body.tpi-web .tpi-vitrine .tpi-showcase-all{padding:9px 12px;white-space:nowrap;min-height:0;font-size:12px}
body.tpi-web .tpi-vitrine .tpi-showcase-items{display:flex!important;grid-template-columns:none!important;gap:10px;overflow-x:auto;overflow-y:hidden;padding:2px 1px 4px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
body.tpi-web .tpi-vitrine .tpi-showcase-items::-webkit-scrollbar{display:none}
body.tpi-web .tpi-vitrine .tpi-showcase-items .tpi-home-product{box-sizing:border-box;flex:0 0 calc((100% - 40px)/5);min-width:0;min-height:182px;height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;padding:8px;gap:5px;scroll-snap-align:start;background:#fff!important;border-radius:12px!important;border:1px solid #dce6f1;overflow:visible!important}
body.tpi-web .tpi-vitrine .tpi-home-product-image{position:relative;display:grid;place-items:center;flex:0 0 80px!important;min-height:0;width:100%!important;height:80px!important;margin:0;background:#f7faff;border-radius:8px;overflow:hidden}
body.tpi-web .tpi-vitrine .tpi-home-product-image img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important}
.tpi-home-promo-badge{position:absolute;top:5px;left:5px;border-radius:5px;padding:3px 6px;background:#d76c14;color:#fff;font-size:10px;font-weight:800;z-index:1}
.tpi-home-image-missing{font-size:11px;color:#60758a}
body.tpi-web .tpi-vitrine .tpi-home-product-content{display:flex;flex:1 0 auto;flex-direction:column;gap:3px;min-width:0;width:100%;overflow:visible}
body.tpi-web .tpi-vitrine .tpi-home-product-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;min-height:29px;margin:0;font-size:12px;line-height:1.2;color:#163c5c}
body.tpi-web .tpi-vitrine .tpi-home-product-price{display:flex;flex:0 0 auto;flex-direction:column;gap:1px;margin-top:auto;min-width:0;overflow:visible}
body.tpi-web .tpi-vitrine .tpi-home-product-price del{font-size:10px;line-height:1.1;color:#718297;white-space:nowrap}
body.tpi-web .tpi-vitrine .tpi-home-product-amount{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;min-width:0}
body.tpi-web .tpi-vitrine .tpi-home-product-amount b{font-size:16px;line-height:1.1;font-weight:850;letter-spacing:-.025em;color:#0a568c;white-space:nowrap}
body.tpi-web .tpi-vitrine .tpi-home-product-amount small{font-size:9px;line-height:1.1;color:#667e93;white-space:nowrap}
body.tpi-web .tpi-vitrine .tpi-home-product-availability{font-size:10px;line-height:1.1;color:#667e93;overflow-wrap:anywhere}
.tpi-home-carousel-controls{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.tpi-home-carousel-controls button{background:#fff;border:1px solid #cbddec;border-radius:50%;color:#0c5b9c;width:31px;height:31px;display:grid;place-items:center;cursor:pointer;font-size:19px}
.tpi-home-carousel-controls button:disabled{opacity:.35;cursor:not-allowed}
.tpi-home-carousel-controls button[hidden]{display:none}
.tpi-home-carousel-controls button:not(:disabled):hover{border-color:#1264b4;background:#eaf3fc}
body.tpi-web .tpi-vitrine .tpi-home-catalogue-fallback{display:block;width:100%;padding:14px;text-align:center;background:#f5f9fd;border:1px solid #dce6f1;border-radius:12px;color:#1264b4;font-weight:700;text-decoration:none}
body.tpi-web .tpi-vitrine .tpi-showcase-items .tpi-home-product:focus-visible{outline:3px solid #1264b4;outline-offset:2px}
@media(max-width:1050px){body.tpi-web .tpi-vitrine .tpi-showcase-items .tpi-home-product{flex-basis:calc((100% - 30px)/4)}}
@media(max-width:750px){body.tpi-web .tpi-vitrine .tpi-showcase-items .tpi-home-product{flex-basis:calc((100% - 10px)/2)}body.tpi-web .tpi-vitrine .tpi-showcase-intro{align-items:flex-start}}
@media(max-width:560px){body.tpi-web .tpi-vitrine .tpi-showcase{padding:12px 11px!important}body.tpi-web .tpi-vitrine .tpi-showcase-intro{display:block;margin-bottom:9px!important}body.tpi-web .tpi-vitrine .tpi-showcase-intro h2{font-size:21px!important}.tpi-showcase-actions{margin-top:9px;justify-content:space-between}body.tpi-web .tpi-vitrine .tpi-showcase-all{display:inline-flex;margin:0;min-height:0;padding:9px 12px}body.tpi-web .tpi-vitrine .tpi-showcase-items .tpi-home-product{flex-basis:63%;min-height:176px;height:auto;padding:7px}body.tpi-web .tpi-vitrine .tpi-home-product-image{flex-basis:76px!important;height:76px!important}}
@media(prefers-reduced-motion:reduce){body.tpi-web .tpi-vitrine .tpi-showcase-items{scroll-behavior:auto}}
