/* Labomaison Duel 0.1.3 — bloc « X ou Y ? » en fin de fiche. Mobile d'abord, ordinateur à partir de 768 px. */
.lmduel{--lmd-ink:#2b2e34;--lmd-mute:#5e5e69;--lmd-line:#e7e9f1;--lmd-soft:#f3f3f3;--lmd-green:#0b7f43;--lmd-zebra:#f6f7f9;
  margin:32px 0 8px;padding-top:20px;border-top:1px solid var(--lmd-line);color:var(--lmd-ink);display:flex;flex-direction:column;gap:16px;font-size:15px;line-height:1.45}
.lmduel *{box-sizing:border-box}
.lmduel a{color:inherit}
.lmduel__head{display:flex;flex-direction:column;gap:4px}
.lmduel .lmduel__title{margin:0;font-size:21px;line-height:1.25}
.lmduel .lmduel__sub{margin:0;font-size:14px;color:var(--lmd-mute)}

/* Deux cartes : six rangées partagées (photo, étiquette, nom, prix, boutique, bouton) pour que tout reste aligné. */
.lmduel__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(6,auto);column-gap:10px}
.lmduel__card{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0;align-items:start;padding:10px;border:1px solid var(--lmd-line);border-radius:12px;min-width:0}
.lmduel__card--self{background:var(--lmd-soft);border-color:var(--lmd-soft)}
@supports not (grid-template-rows:subgrid){
  .lmduel__card{display:flex;flex-direction:column}
  .lmduel__price{margin-top:auto}
}
/* Cadre 16:9 imposé : deux photos de formats différents gardent la même hauteur. */
.lmduel__fig{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--lmd-line)}
.lmduel .lmduel__img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover;margin:0;border-radius:0}
.lmduel__img--none{background:var(--lmd-line)}
.lmduel__score{position:absolute;top:6px;right:6px;width:46px;height:46px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.18);display:flex;align-items:baseline;justify-content:center;padding-top:12px;line-height:1}
.lmduel__score b{font-size:15px;font-weight:800}
.lmduel__score small{font-size:9px;color:var(--lmd-mute)}
.lmduel__score--sm{width:28px;height:28px;padding-top:8px;top:3px;right:3px}
.lmduel__score--sm b{font-size:11px}.lmduel__score--sm small{display:none}
.lmduel__tag{padding-top:8px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--lmd-mute)}
.lmduel__name{padding-top:2px;font-size:14.5px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.lmduel .lmduel__name a,.lmduel .lmduel__oname{color:var(--lmd-ink);text-decoration:none;font-weight:700}
.lmduel__name a:hover{text-decoration:underline}
.lmduel__price{padding-top:8px;align-self:end;font-size:21px;font-weight:800;color:var(--lmd-green);white-space:nowrap}
.lmduel__shop{font-size:12px;color:var(--lmd-mute);line-height:1.35}
.lmduel__more{color:var(--lmd-mute);text-decoration:underline}
.lmduel .lmduel__cta{margin-top:10px;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:8px;background:var(--lmd-green);color:#fff;font-weight:700;font-size:14px;text-decoration:none}
.lmduel .lmduel__cta:hover,.lmduel .lmduel__cta:focus-visible{background:#086335;color:#fff}

/* Comparatif : libellé à gauche, valeurs à droite, une ligne par critère. */
.lmduel__table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;font-size:14.5px;border:0}
.lmduel__table th,.lmduel__table td{border:0;padding:0;background:none;vertical-align:middle}
.lmduel__table thead th{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--lmd-mute);text-align:right;padding:0 0 6px;border-bottom:2px solid var(--lmd-ink)}
.lmduel__table thead th.lmduel__th-label{text-align:left}
.lmduel__table thead th:nth-child(2),.lmduel__table thead th:nth-child(3){width:30%}
.lmduel__table thead span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lmduel__thimg{display:none}
.lmduel__table tbody th{text-align:left;font-weight:400;padding:9px 8px 9px 0;line-height:1.3}
.lmduel__table tbody td{text-align:right;padding:9px 0 9px 6px;line-height:1.3}
.lmduel__table tbody tr{border-bottom:1px solid var(--lmd-line)}
.lmduel__row--main th,.lmduel__row--main td{font-size:16px;font-weight:700}
.lmduel__table td.is-win{color:var(--lmd-green);font-weight:800}
.lmduel__check{display:none;margin-right:3px;vertical-align:-1px}

/* Proposition 2 : notes en pastilles. */
.lmduel--pastilles .lmduel__table thead th{border-bottom:0;text-align:center}
.lmduel--pastilles .lmduel__table thead th.lmduel__th-label{text-align:left}
.lmduel--pastilles .lmduel__table tbody tr{border-bottom:0;border-top:1px solid var(--lmd-line)}
.lmduel--pastilles .lmduel__table tbody td{text-align:center;padding:5px 0}
.lmduel--pastilles .lmduel__row--note .lmduel__val{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#f1f1f1;font-size:14px;font-weight:600;color:var(--lmd-ink)}
.lmduel--pastilles .lmduel__row--note td.is-win .lmduel__val{background:var(--lmd-green);color:#fff;font-weight:800}
.lmduel--pastilles .lmduel__row--main th,.lmduel--pastilles .lmduel__row--main td{font-size:14.5px}

/* Proposition 3 : bandes alternées, vignettes en tête, coche sur le meilleur. */
.lmduel--bandes .lmduel__table{border:1px solid var(--lmd-line);border-radius:10px;border-collapse:separate;border-spacing:0;overflow:hidden}
.lmduel--bandes .lmduel__table thead th{background:var(--lmd-ink);color:#fff;border-bottom:0;padding:8px 12px;text-align:center;text-transform:none;letter-spacing:0;font-size:12px}
.lmduel--bandes .lmduel__table thead th.lmduel__th-label{text-align:left;font-size:13px}
.lmduel--bandes .lmduel__thimg{display:block;width:52px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;margin:0 auto 3px}
.lmduel--bandes .lmduel__table tbody tr{border-bottom:0}
.lmduel--bandes .lmduel__table tbody tr:nth-child(odd){background:var(--lmd-zebra)}
.lmduel--bandes .lmduel__table tbody th{padding-left:12px}
.lmduel--bandes .lmduel__table tbody td{text-align:center;padding-right:6px;color:var(--lmd-mute)}
.lmduel--bandes .lmduel__table td.is-win{color:var(--lmd-green)}
.lmduel--bandes .lmduel__check{display:inline}

.lmduel .lmduel__verdict{margin:0;font-size:14.5px;line-height:1.5}

/* Autres alternatives. */
.lmduel__others{display:flex;flex-direction:column;gap:8px}
.lmduel .lmduel__others-title{margin:0;font-size:15px}
.lmduel .lmduel__list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lmduel__item{display:flex;align-items:center;gap:10px;min-height:56px;border:1px solid var(--lmd-line);border-radius:10px;padding:6px 10px;margin:0}
.lmduel__ofig{position:relative;flex:none}
.lmduel .lmduel__oimg{display:block;width:72px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;margin:0}
.lmduel__otxt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
.lmduel__oname{font-size:13.5px;font-weight:700;text-decoration:none;line-height:1.25}
.lmduel__oname:hover{text-decoration:underline}
.lmduel__osub{font-size:12px;color:var(--lmd-mute)}
.lmduel .lmduel__obtn{flex:none;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 10px;border-radius:8px;border:2px solid var(--lmd-green);color:var(--lmd-green);font-weight:800;font-size:13.5px;text-decoration:none;white-space:nowrap}
.lmduel .lmduel__obtn:hover{background:var(--lmd-green);color:#fff}
.lmduel__score--sm{box-shadow:0 1px 5px rgba(0,0,0,.2)}

@media (min-width:768px){
  .lmduel{gap:24px;font-size:16px}
  .lmduel .lmduel__title{font-size:28px}
  .lmduel .lmduel__sub{font-size:16px}
  .lmduel__cards{column-gap:24px}
  .lmduel__card{padding:16px;border-radius:14px}
  .lmduel__fig{border-radius:10px}
  .lmduel__fig>.lmduel__score{top:12px;right:12px;width:62px;height:62px;padding-top:17px}
  .lmduel__fig>.lmduel__score b{font-size:20px}.lmduel__fig>.lmduel__score small{font-size:11px}
  .lmduel__tag{padding-top:14px;font-size:12px}
  .lmduel__name{font-size:20px}
  .lmduel__price{padding-top:10px;font-size:30px}
  .lmduel__shop{font-size:14px}
  .lmduel .lmduel__cta{margin-top:14px;min-height:50px;font-size:16px}
  .lmduel__table{font-size:16px}
  .lmduel__table thead th{font-size:12px}
  .lmduel__table thead th:nth-child(2),.lmduel__table thead th:nth-child(3){width:25%}
  .lmduel__table tbody th,.lmduel__table tbody td{padding-top:11px;padding-bottom:11px}
  .lmduel .lmduel__verdict{font-size:17px;line-height:1.6}
  .lmduel .lmduel__others-title{font-size:18px}
  .lmduel .lmduel__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .lmduel__item{padding:12px;gap:14px}
  .lmduel .lmduel__oimg{width:128px;border-radius:6px}
  .lmduel__oname{font-size:16px}
  .lmduel__osub{font-size:13.5px}
  .lmduel .lmduel__obtn{padding:0 14px;font-size:15px}
}
