/* Nouveau Top 3 MyBestPair (podium + comparateur) — préfixe t3- */
.t3{max-width:760px;margin:0 auto;font-family:inherit;color:#111a2e;text-align:left}
.t3 *{box-sizing:border-box}
.t3-band{background:#0b1a33;color:#fff;border-radius:22px 22px 0 0;padding:18px 18px 62px}
.t3-band-title{font-size:12px;font-weight:900;letter-spacing:1.6px;color:#9fb2d6;margin:0 0 10px}
.t3-chips{display:flex;flex-wrap:wrap;gap:6px}
.t3-chip{font-size:12px;font-weight:800;padding:6px 10px;border-radius:999px;background:#1a2c52;color:#dbe5fb}

.t3-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:-46px 10px 0;position:relative}
.t3-tab{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:150px;padding:12px 6px;border-radius:18px;background:#fff;border:2px solid #fff;box-shadow:0 6px 16px rgba(11,26,51,.10);cursor:pointer;font:inherit;color:#111a2e;transition:border-color .15s,box-shadow .15s}
.t3-tab[aria-selected="true"]{border-color:#195cff;box-shadow:0 10px 24px rgba(25,92,255,.24)}
.t3-tab:focus-visible{outline:3px solid #f4c84b;outline-offset:2px}
.t3-medal{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;color:#111a2e}
.t3-medal.r1{background:#f4c84b}.t3-medal.r2{background:#c7ccd6}.t3-medal.r3{background:#d9b89a}
.t3-tab img{width:100%;max-width:110px;height:52px;object-fit:contain}
.t3-tab-brand{font-size:10px;font-weight:900;letter-spacing:1px;color:#5a6680}
.t3-tab-name{font-size:15px;font-weight:900;line-height:1.1;text-align:center}
.t3-tab-score{font-size:12px;font-weight:900;color:#195cff}

.t3-card{background:#fff;border-radius:24px;box-shadow:0 12px 32px rgba(11,26,51,.12);overflow:hidden;margin:14px 0 0}
.t3-plate{position:relative;height:210px;display:flex;align-items:center;justify-content:center;background:#eaf0ff}
.t3-plate.r2{background:#eef1f6}.t3-plate.r3{background:#f5efe9}
.t3-plate img{max-width:78%;max-height:170px;object-fit:contain;mix-blend-mode:multiply}
.t3-tag{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:6px;background:#0b1a33;color:#fff;font-size:12px;font-weight:800;padding:7px 12px;border-radius:999px}
.t3-budget{position:absolute;top:14px;right:14px;font-size:11px;font-weight:900;padding:6px 10px;border-radius:999px;background:#fff;color:#146b47}
.t3-budget.warn{color:#8a5a00}.t3-budget.out{color:#b42318}
.t3-body{padding:20px;display:flex;flex-direction:column;gap:18px}
.t3-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.t3-brand{font-size:12px;font-weight:900;letter-spacing:1.2px;color:#5a6680}
.t3-name{margin:4px 0 0;font-size:28px;font-weight:900;line-height:1.05;letter-spacing:-.3px}
.t3-ring{width:80px;height:80px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.t3-ring-in{width:66px;height:66px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.t3-ring-val{font-size:22px;font-weight:900;line-height:1;color:#0b1a33}
.t3-ring-max{font-size:9px;font-weight:900;color:#5a6680;letter-spacing:.6px}
.t3-sub{font-size:13px;font-weight:900;margin:0 0 10px}
.t3-bar{display:grid;grid-template-columns:96px minmax(0,1fr) 34px;align-items:center;gap:10px;font-size:13px;font-weight:700;margin-top:8px}
.t3-track{height:8px;border-radius:4px;background:#e3e8f3}
.t3-fill{height:8px;border-radius:4px;background:#195cff}
.t3-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e3e8f3;border-radius:16px}
.t3-spec{padding:11px 12px;display:flex;flex-direction:column;gap:2px}
.t3-spec+.t3-spec{border-left:1px solid #e3e8f3}
.t3-spec span{font-size:11px;font-weight:700;color:#5a6680}
.t3-spec strong{font-size:17px;font-weight:900}
.t3-note{font-size:13px;line-height:1.45;color:#3b4660;margin:0}
.t3-note b{color:#8a5a00}
.t3-offer{background:#f4f6fa;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px}
.t3-offer-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.t3-offer-label{font-size:12px;font-weight:900;color:#146b47;letter-spacing:.4px}
.t3-offer-meta{font-size:13px;font-weight:600;color:#3b4660}
.t3-price{font-size:28px;font-weight:900;line-height:1;white-space:nowrap}
.t3 a.t3-cta{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:14px;background:#0b1a33;color:#fff;font-weight:900;font-size:15px;text-decoration:none}
.t3 a.t3-cta:hover{background:#195cff;color:#fff}
.t3 a.t3-other{font-size:13px;font-weight:800;text-align:center;color:#195cff;text-decoration:none;min-height:32px;display:flex;align-items:center;justify-content:center}
.t3 a.t3-fiche{font-size:13px;font-weight:800;color:#195cff;text-decoration:none;align-self:flex-start}

.t3-compare{background:#fff;border-radius:24px;padding:18px 12px 8px;margin-top:18px;box-shadow:0 6px 18px rgba(11,26,51,.06)}
.t3-compare h3{margin:0 4px 4px;font-size:20px;font-weight:900}
.t3-compare p{margin:0 4px 10px;font-size:12px;font-weight:600;color:#5a6680}
.t3-row{display:grid;grid-template-columns:100px repeat(3,minmax(0,1fr));align-items:center;min-height:44px;border-bottom:1px solid #eef1f6}
.t3-row:last-child{border-bottom:0}
.t3-row-label{font-size:12px;font-weight:900;color:#5a6680;padding-left:4px}
.t3-cell{text-align:center;font-size:15px;font-weight:700;padding:10px 2px;height:100%;display:flex;align-items:center;justify-content:center}
.t3-cell.best{color:#195cff;font-weight:900}
.t3-cell.sel{background:#f3f6ff}
.t3-row.head .t3-cell{font-size:12px;font-weight:900}
.t3-row.head .t3-cell.sel{color:#0d3dba;border-radius:8px 8px 0 0}
.t3-legal{font-size:11px;line-height:1.5;color:#5a6680;margin:14px 6px 0;text-align:center}
/* neutralise le style vert historique des .shoe-link à l'intérieur du nouveau Top 3 */
.t3 a.shoe-link{display:flex;margin:0;padding:0 12px;box-shadow:none;border:0;text-transform:none;width:auto}
.t3 a.shoe-link.t3-other{background:none;color:#195cff;padding:0}
.t3 a.shoe-link.t3-other:hover{text-decoration:underline}

@media (min-width:700px){
  .t3-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
  .t3-plate{height:auto;min-height:100%}
  .t3-name{font-size:32px}
}
@media (max-width:719px){
  .results-title{color:#111a2e}
  .results-sub{color:#5a6680}
  .results .restart{color:#195cff}
}

/* --- Basket (basket/top3-basket.js) --- */
#cards > .t3{grid-column:1 / -1}
.t3-basket .t3-tab{min-height:0;padding:14px 6px 12px}
.t3-tab-price{font-size:12px;font-weight:800;color:#3b4660}
.t3-medal.rx{background:#e3e8f3}
.t3-plate-text{flex-direction:column;gap:10px;color:#0b1a33}
.t3-plate-brand{display:flex;flex-direction:column;align-items:center;gap:10px;opacity:.85}
.t3-plate-brand svg{color:#195cff}
.t3-plate-brand span{font-size:34px;font-weight:950;letter-spacing:4px}
.t3 .t3-trk.shoe-card{background:#f4f6fa;border-radius:18px;box-shadow:none;overflow:visible;transform:none}
.t3 a.product-link.t3-cta{margin:0;width:auto;padding:0 12px;background:#0b1a33;font-size:15px}
.t3 a.product-link.t3-cta:hover{background:#195cff}
.t3 .product-link.disabled.t3-cta{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:14px;background:#e8ebf0;color:#8b93a1}
#results-section .results-heading h2{color:#111a2e}
#results-section .results-heading p{color:#5a6680}
.t3-plate-text .t3-plate-brand{display:none}
.t3-plate-text.t3-noimg .t3-plate-brand{display:flex}
.t3-plate-text img{max-width:80%;max-height:180px;object-fit:contain;mix-blend-mode:multiply}
/* Rugby et Foot : crédit des photos officielles des marques (rugby/top3-rugby.js, foot/top3-foot.js) */
.t3-credit{position:absolute;right:10px;bottom:8px;font-size:10px;font-weight:600;color:#5a6680;background:rgba(255,255,255,.75);padding:2px 6px;border-radius:6px}
.t3-noimg .t3-credit{display:none}
.t3-rugby .t3-tag,.t3-rugby .t3-budget,.t3-rugby .t3-credit,.t3-foot .t3-tag,.t3-foot .t3-budget,.t3-foot .t3-credit{z-index:1}
.t3-rugby .t3-plate img.t3-brand-photo{max-height:150px;border-radius:12px}
/* Foot : photos Nike en portrait sur fond gris, recadrées sur la chaussure pour l'afficher en grand */
.t3-foot .t3-plate img.t3-brand-photo{width:92%;max-width:440px;max-height:190px;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
@media (min-width:700px){.t3-foot .t3-plate img.t3-brand-photo{max-height:340px}}
