/* Template C : fiche produit. */
.prod { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:52px; padding-block:6px 56px; align-items:start; }
.vis .im { aspect-ratio:5/4; background:var(--fill); position:relative; }
.vis .cap { font-size:13px; color:var(--mute); margin-top:8px; }
.keys { list-style:none; margin:22px 0 0; padding:0; border-top:2px solid var(--ink); }
.keys li { padding:10px 0 10px 26px; border-bottom:1px solid var(--rule); position:relative; }
.keys li::before { content:""; position:absolute; left:2px; top:17px; width:12px; height:8px; background:var(--accent); }

/* panneau d'achat */
.buybox { position:sticky; top:16px; border:1px solid var(--ink); padding:28px 28px 24px; }
.buybox .m { font-weight:600; font-size:14px; text-underline-offset:4px; }
.buybox h1 { font-weight:800; font-size:clamp(28px,3vw,42px); letter-spacing:-.04em; line-height:1.05; margin-top:6px; }
.buybox .n { margin-top:14px; font-size:15px; }
.buybox .n .chip { font-size:16px; padding:1px 8px; margin-right:4px; }
.buybox .n a { margin-left:10px; text-underline-offset:4px; }
.buybox .acc { margin-top:12px; font-size:17px; }
.price { margin-top:22px; padding-top:18px; border-top:1px solid var(--rule); display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; }
.price b { font-weight:800; font-size:50px; letter-spacing:-.05em; line-height:1; }
.price s { color:var(--mute); }
.price i { font-style:normal; background:var(--ink); color:#fff; font-weight:600; padding:1px 8px; font-size:14px; }
.when { font-size:13px; color:var(--mute); margin-top:8px; }
.stock { margin-top:14px; font-weight:600; }
.stock::before { content:""; display:inline-block; width:10px; height:10px; background:#1f7a3d; margin-right:8px; }
.cta { display:grid; gap:10px; margin-top:16px; }
.cta .go { background:var(--accent); color:var(--ink); border:1px solid var(--ink); padding:16px; font-weight:800; font-size:17px; }
.cta .go:hover { background:var(--ink); color:#fff; }
.cta .wish { background:#fff; border:1px solid var(--ink); padding:12px; font-weight:600; color:var(--ink); display:flex; gap:8px; justify-content:center; align-items:center; }
.cta .wish svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; }
.cta .wish.on { background:var(--accent); }
.help { display:inline-block; margin-top:14px; font-size:14px; text-underline-offset:4px; }
.assure { list-style:none; margin:18px 0 0; padding:0; border-top:1px solid var(--rule); font-size:14px; }
.assure li { padding:9px 0; border-bottom:1px solid var(--rule); }
.share { margin-top:14px; font-size:14px; display:flex; gap:6px 14px; flex-wrap:wrap; }
.share span { color:var(--mute); }
.share a, .share button { background:none; border:0; padding:0; color:var(--ink); text-decoration:underline; text-underline-offset:4px; font-size:14px; }
.ref { margin-top:14px; font-size:13px; color:var(--mute); }

/* contenu en onglets verticaux : la liste des volets à gauche, le volet ouvert à droite */
.onglets { display:grid; grid-template-columns:240px minmax(0,1fr); gap:56px; border-top:2px solid var(--ink); padding-block:30px 8px; align-items:start; }
.tabs { display:grid; position:sticky; top:16px; }
.tabs button { background:none; border:0; border-bottom:1px solid var(--rule); padding:13px 12px; font-weight:400; font-size:16px; color:var(--ink); text-align:left; }
.tabs button:hover { background:var(--fill); }
.tabs button[aria-selected=true] { background:var(--accent); font-weight:800; border-bottom-color:var(--ink); }
.panel { padding-bottom:48px; min-width:0; }
.panel[data-off] { display:none; }
.panel > h2 { font-weight:800; font-size:30px; letter-spacing:-.035em; line-height:1.1; margin-bottom:18px; }
.prose h3 { font-size:19px; font-weight:800; letter-spacing:-.015em; margin:24px 0 8px; }
.prose h3:first-of-type { margin-top:0; }
.prose p { margin-bottom:12px; max-width:68ch; }
.spec { border-collapse:collapse; width:100%; max-width:760px; }
.spec th, .spec td { text-align:left; padding:11px 0; border-bottom:1px solid var(--rule); vertical-align:top; font-weight:300; }
.spec th { width:42%; color:var(--mute); }
.pm { display:grid; grid-template-columns:1fr 1fr; gap:48px; max-width:980px; }
.pm h3 { font-size:18px; font-weight:800; padding-bottom:10px; border-bottom:2px solid var(--ink); }
.pm ul { list-style:none; margin:0; padding:0; }
.pm li { padding:11px 0 11px 28px; border-bottom:1px solid var(--rule); position:relative; }
.pm li::before { position:absolute; left:2px; top:5px; font-weight:800; font-size:20px; }
.pm .atouts li::before { content:"+"; }
.pm .limites li::before { content:"−"; }
.verdict { display:grid; grid-template-columns:auto minmax(0,1fr); gap:48px; max-width:980px; align-items:start; }
.verdict .big { font-weight:800; font-size:92px; letter-spacing:-.06em; line-height:.95; white-space:nowrap; }
.verdict .big small { font-size:22px; letter-spacing:0; font-weight:600; }
.verdict p { font-size:17px; max-width:56ch; }
.sub { margin-top:22px; display:grid; gap:10px; max-width:520px; }
.sub div { display:grid; grid-template-columns:140px 34px 1fr; gap:12px; align-items:center; font-size:15px; }
.sub b { font-weight:600; }
.sub i { height:8px; background:var(--fill); position:relative; display:block; }
.sub i::after { content:""; position:absolute; inset:0 auto 0 0; width:var(--v); background:var(--ink); }
.questions { max-width:860px; }
.questions details { border-top:1px solid var(--rule); }
.questions details:last-child { border-bottom:1px solid var(--rule); }
.questions summary { list-style:none; cursor:pointer; padding:16px 34px 16px 0; font-weight:600; position:relative; }
.questions summary::-webkit-details-marker { display:none; }
.questions summary::after { content:"+"; position:absolute; right:2px; top:10px; font-size:24px; font-weight:300; }
.questions details[open] summary::after { content:"−"; }
.questions details p { padding:0 0 18px; }

/* barre d'achat : carte en bas à droite sur ordinateur, barre en bas sur mobile */
.sticky { position:fixed; right:24px; bottom:24px; z-index:15; background:var(--ink); color:#fff; padding:14px 14px 14px 18px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 18px; align-items:center; width:400px; }
.sticky span { font-size:14px; line-height:1.25; color:#d9dbe0; }
.sticky b { font-weight:800; font-size:20px; }
.sticky button { grid-row:1/3; grid-column:2; background:var(--accent); color:var(--ink); border:0; padding:12px 16px; font-weight:800; }

/* blocs de bas de page */
.four { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 18px; margin-top:26px; }
.rows.sans .row { grid-template-columns:92px 1fr auto; }
.rows.sans .row::before { content:none; }
.seen { margin-top:72px; border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); padding-block:22px; }
.seen h2 { font-size:15px; font-weight:600; margin-bottom:14px; }
.seen div { display:flex; gap:28px; overflow-x:auto; }
.seen a { display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px; align-items:center; min-width:250px; text-decoration:none; font-size:14px; line-height:1.3; }
.seen .im { width:64px; height:64px; background:var(--fill); }
.seen b { display:block; font-weight:800; }

@media (max-width:1040px) {
  .prod { grid-template-columns:minmax(0,1fr); gap:24px; padding-bottom:40px; }
  /* sur mobile, le panneau d'achat passe avant les points clés */
  .vis { display:contents; }
  .vis .cap { margin-top:-16px; }
  .keys { order:3; margin-top:0; }
  .buybox { order:2; position:static; padding:22px 18px 20px; }
  .onglets { grid-template-columns:minmax(0,1fr); gap:0; padding-top:0; }
  .tabs { position:static; display:flex; overflow-x:auto; border-bottom:2px solid var(--ink); margin-bottom:26px; }
  .tabs button { white-space:nowrap; border-bottom:0; padding:13px 14px; }
  .pm, .verdict { grid-template-columns:minmax(0,1fr); gap:22px; }
  .verdict .big { font-size:72px; }
  .four { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 14px; }
  .sticky { left:0; right:0; bottom:0; width:auto; padding:10px 12px 10px 16px; }
  .sticky span { display:none; }
  .sticky button { grid-row:auto; }
  .toast { bottom:76px; }
  footer { padding-bottom:64px; }
  .seen { margin-top:52px; }
}
@media (max-width:520px) {
  .price b { font-size:40px; }
  .sub div { grid-template-columns:110px 30px 1fr; }
  .rows.sans .row { grid-template-columns:64px 1fr; }
  .rows.sans .row .r { grid-column:2; }
}
