/* Styles propres au Top 10 (vue comparatifs.ejs), servis à part depuis le 27/11/2026 : ils pesaient 28,6 Ko en ligne
   dans chaque page /top10 (7,5 Ko compressés sur ~22), retéléchargés à chaque page vue puisque le HTML est
   `private, no-cache`. Citée par `asset('/static/comparatifs.css')` → empreinte de contenu, immuable un an.
   Chargée juste après la feuille commune, à la place de l'ancien <style> : même rang dans la cascade. Les règles des
   onglets de groupe, générées depuis RAYONS, restent dans un petit <style> de la vue. */
/* Extra custom styles for Comparatifs page */
.comparatifs-hero {
  /* Le header est déjà sticky : 6rem ajoutait un second espace de tête,
     puis les filtres repliés repoussaient la première carte hors du pli. */
  /* En-tête condensé (lot L7, 2026-10-02) : la première carte doit arriver dans le premier écran d'un téléphone. */
  padding: 1.5rem 0 1rem;
  text-align: center;
  background: radial-gradient(circle at 15% 20%, rgba(42, 128, 141, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 40%),
              var(--bg-light);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.comparatifs-results {
  padding: 1.25rem 2rem 4rem;
}
@media (max-width: 480px) { .comparatifs-results { padding-left: 16px; padding-right: 16px; } }
.comparatifs-results__content {
  padding: 0;
}
.comparatifs-results__content .section-header {
  margin: 0 0 3rem;
  text-align: center;
}
/* Fil d'Ariane et introduction de la page d'une tranche (adresses propres, 2026-10-12). */
.fil-ariane ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0 0 .5rem; padding: 0; font-size: .8125rem; color: var(--text-muted); }
.fil-ariane li + li::before { content: '›'; margin-right: .5rem; color: var(--text-light); }
.fil-ariane a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; display: inline-block; min-height: 24px; }
.intro-tranche { margin: .25rem 0 .75rem; color: var(--text-muted); font-size: .9375rem; max-width: 60rem; }
.comp-barre-liste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0 0 1rem; }
.comp-barre-liste .recap-filtres { margin: 0; }
.comp-entree-questions { margin: 0; }
.comp-entree-questions .btn { min-height: 44px; display: inline-flex; align-items: center; }
.comparatifs-hero h1 {
  font-size: clamp(1.5rem, 5.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .5rem;
  letter-spacing: -0.03em;
}
/* Titre de la liste : présent pour la structure, masqué à l'écran (les sélecteurs disent déjà catégorie et tranche). */
.comparatifs-results__content .section-header--masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; margin: 0; }
.comp-aide-actions { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.4; margin: 1.25rem 0 0; overflow-wrap: anywhere; }
.comp-articles { max-width: 72ch; margin: 2.5rem auto 0; }
.comp-articles h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; }
.comp-articles ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.comp-articles a { font-weight: 600; }
.comp-articles__date { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }
.comp-a-propos { max-width: 72ch; margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.comp-a-propos > p, .comp-a-propos .ligne-classement { font-size: .875rem; line-height: 1.55; color: var(--text-muted); text-align: left; max-width: none; margin: 0 0 .65rem; }
.comparatifs-hero .comparaison-globale { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.comparatifs-hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.comparatifs-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.comp-hero__cta { margin-top: 1.75rem; }

/* Bloc conversion (L7) — capte le trafic SEO froid vers l'installation */
.comp-install {
  background: linear-gradient(160deg, var(--primary-light) 0%, var(--bg) 80%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0;
}
.comp-install__inner {
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.comp-install__eyebrow {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--primary-dark);
}
.comp-install__title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin: .35rem 0 .6rem;
  line-height: 1.2;
}
.comp-install__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.6rem;
  max-width: 620px;
}
.comp-install__boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.comp-install__bouton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-width: min(22rem, 100%); }
.comp-install__bouton .logo-marque { flex: none; }
.comp-install__micro {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: .85rem;
}

/* Category selector — sélecteur en 2 temps (groupe puis catégorie).
   Lot L12 (2026-08-27, piloter_amelioration_produit.md, suite du L11) :
   le lot précédent avait rééquilibré 4 groupes affichés simultanément
   (Tech 5/Domotique 5/Santé 4/Audio&Vidéo 4/Cuisine 2), mais l'équilibre
   entre groupes redevient fragile à chaque changement de taxonomie
   (ex. L12 lui-même : Domotique retombe à 3 après en avoir retiré
   climatiseur/piège-moustique). Un sélecteur en 2 temps supprime le
   problème à la racine : un seul groupe de catégories est visible à la
   fois, donc plus jamais de comparaison de longueur de ligne entre
   groupes. Zéro JS : même famille de pattern que #filter-cat-toggle
   ci-dessous (input radio caché + label stylé), volontairement pas
   l'élément HTML natif de repli (bug Chromium≥120 documenté plus bas
   sur ce même fichier pour le même type de repli). Les radios précèdent
   .category-group-tabs-row et .category-panels comme siblings directs
   (même parent .category-group-tabs) pour que le combinateur ~ atteigne
   le panneau et le libellé de groupe correspondants. */
/* Bloc (et non paragraphe) : le rembourrage du bouton ne déborde plus sur la rangée suivante (collés, relevé le 2026-09-22).
   Sélecteur préfixé : `.comparatifs-hero p` remettait la marge du bas à zéro. */
/* Liens vers la page de notes (budgets, profils), groupés sous son lien (recette du 2026-10-18) : des liens soulignés et
   fléchés, titrés « Par budget : » / « Par profil : », et non plus des pastilles comme les filtres du Top 10 — on voit
   qu'ils mènent ailleurs. Une ligne par groupe, qui défile sur téléphone. */
.comparatifs-hero .vers-notes { margin: .25rem auto .5rem; }
.comparatifs-hero .vers-notes .comparaison-globale-zone { margin-bottom: 0; }
.comparatifs-hero .vers-notes__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem; }
.comparatifs-hero .vers-notes__liens > .budgets-tech { flex: 0 1 auto; min-width: 0; }
.comparatifs-hero .budgets-tech { display: flex; gap: .15rem .5rem; justify-content: flex-start; overflow-x: auto; margin: 0 auto; padding: 0 .25rem; scrollbar-width: none; max-width: 100%; }
/* Centrage « sûr » : si la ligne déborde, elle part de la gauche et défile (un justify-content:center rognait la première pastille). */
.comparatifs-hero .budgets-tech > :first-child { margin-left: auto; }
.comparatifs-hero .budgets-tech > :last-child { margin-right: auto; }
.comparatifs-hero .budgets-tech__titre, .comparatifs-hero .profils-tech__titre { flex: none; display: inline-flex; align-items: center; font-size: .8rem; color: var(--text-muted); }
.comparatifs-hero .budgets-tech a { flex: none; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-size: .85rem; font-weight: 600; padding: .25rem .2rem; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.comparatifs-hero .comparaison-globale-zone { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; margin: .25rem auto .75rem; }
.comparaison-globale-portee { font-size: .85rem; color: var(--text-muted); max-width: 38rem; }
/* Haut du Top 10 resserré (lot U2, 2026-10-15) : 490 px d'en-tête sur ordinateur avant la première carte, une ligne par
   filtre. Les filtres se rangent côte à côte ; la phrase de classement s'élargit (même texte, deux lignes au lieu de
   quatre) ; le lien de comparaison globale tient sur une ligne. */
.filtres-top10 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem .6rem; margin: 0 auto .25rem; }
.filtres-top10 > .category-nav, .filtres-top10 > .range-pills-container { flex-basis: 100%; }
@media (min-width: 700px) {
  .comparatifs-hero .comparaison-globale-zone { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; margin: 0 auto .6rem; max-width: none; }
}
/* Tablette et petit ordinateur : un panneau déplié passe sous la rangée, pas au milieu. Sur téléphone il reste juste
   sous son bouton (la rangée y fait plusieurs lignes). */
@media (min-width: 700px) and (max-width: 1400px) {
  .filtres-top10 > .category-nav { order: 10; }
  .filtres-top10 > .range-pills-container { order: 11; }
}
.category-nav {
  margin: 1rem auto 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  width: 100%;
}
.category-group-tabs { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.category-group-radio { position: absolute; opacity: 0; pointer-events: none; }
.category-group-tabs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.category-group-tab {
  cursor: pointer;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.category-group-tab:hover { border-color: var(--primary); color: var(--primary); }
.category-panels { width: 100%; }
.category-panel {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 1rem;
  background: var(--bg-alt, rgba(15, 23, 42, 0.03));
  box-sizing: border-box;
}
.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.825rem;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  white-space: nowrap;
}
.category-tab:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.category-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 116, 129, 0.25);
}

/* Range selector pills */
.range-pills-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.range-pill {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-muted);
}
.range-pill:hover {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--text-light);
}
.range-pill.active {
  background: var(--accent-text);
  color: #ffffff;
  border-color: var(--accent-text);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

/* Filtres catégorie/tranche compressés/repliables (Task 6,
   refonte-admin-catalogue-blog) : la première rangée de produits doit
   rester visible dans le viewport desktop de référence 1366x768 sans
   défiler au-delà du bloc filtres — 17 catégories affichées en clair
   poussaient la grille de produits à ~1100px du haut, bien après le pli.
   Repliés par défaut jusqu'à 1400px (couvre 1366 et en-dessous), toujours
   dépliés au-delà. Zéro JS : case à cocher masquée + label (pattern
   "checkbox hack"), volontairement PAS l'élément HTML natif de repli
   (celui avec un résumé cliquable) — Chromium ≥120 enveloppe le contenu
   non-résumé de cet élément, une fois fermé, dans un pseudo-élément
   anonyme dont le collapse (content-visibility/height animée) n'est PAS
   annulable en forçant le display de l'enfant lui-même : la version
   précédente de ce bloc, basée sur cet élément natif, restait donc
   invisible même "ouverte" par CSS sur desktop (constaté en prod le
   2026-07-27 — plus aucune catégorie/tranche affichée). Le pattern
   checkbox+label ne
   dépend d'aucun comportement interne du navigateur pour masquer/afficher
   son contenu (juste des sélecteurs CSS ~ standards), donc pas de piège
   équivalent. */
/* Récapitulatif des filtres actifs (lot P1-2) : mêmes puces que les pages de notes, 44 px au moins. */
.recap-filtres { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: 0 0 1rem; }
.recap-filtres__nombre { font-weight: 700; color: var(--text); margin-right: .25rem; }
.recap-filtres__critere { font-weight: 400; color: var(--text-muted); }
/* Prix maximum de la tranche ouverte (lot P8) : champ de 16 px au moins (pas de zoom au toucher sur iPhone), cibles de 44 px. */
.prix-max-ouvert { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: .5rem 0 0; }
.prix-max-ouvert label { font-weight: 600; font-size: .9rem; }
.prix-max-ouvert input[type="number"] { width: 7.5rem; min-height: 44px; font-size: 16px; padding: .3rem .5rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
.prix-max-ouvert button { min-height: 44px; }
.prix-max-ouvert__pas { display: inline-flex; flex-wrap: wrap; gap: .4rem; }
.prix-max-ouvert__aide { flex-basis: 100%; margin: 0; font-size: .8rem; color: var(--text-muted, var(--text)); }
.recap-filtres__gardes { color: var(--text-muted, var(--text)); font-size: .85rem; }
.recap-filtres__puce, .recap-filtres__effacer { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.recap-filtres__puce { background: var(--primary-light, #e6f4f6); color: var(--primary-dark, #1f6470); border: 1px solid var(--primary, #2a8a99); }
.recap-filtres__puce:hover { background: var(--primary); color: #fff; }
.recap-filtres__croix { font-size: .95rem; line-height: 1; }
.recap-filtres__effacer { color: var(--primary-dark, #1f6470); text-decoration: underline; text-underline-offset: 2px; padding-left: .4rem; padding-right: .4rem; }
.recap-filtres__puce:focus-visible, .recap-filtres__effacer:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.filter-toggle-checkbox { position: absolute; opacity: 0; pointer-events: none; }
.filter-toggle-checkbox:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 2px; }
/* Écran large : le résumé repliable est masqué, sa case ne doit pas rester un arrêt clavier invisible. */
@media (min-width: 1401px) { .filter-toggle-checkbox { display: none; } }
.filter-toggle-summary {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
  padding: .65rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-weight: 600;
  font-size: .875rem;
  color: var(--text);
}
.filter-toggle-summary .chevron { transition: transform var(--transition); }
@media (max-width: 1400px) {
  .filter-toggle-summary { display: inline-flex; }
  .category-nav, .range-pills-container { display: none; }
  #filter-cat-toggle:checked ~ .category-nav,
  #filter-range-toggle:checked ~ .range-pills-container,
  #filter-format-toggle:checked ~ .range-pills-container--format {
    display: flex;
  }
  #filter-cat-toggle:checked ~ label .chevron,
  #filter-format-toggle:checked + label .chevron,
  #filter-range-toggle:checked ~ label .chevron {
    transform: rotate(180deg);
  }
}

/* Rank Badge styling */
.comparatif-vide {
  max-width: 42rem;
  margin: 1.5rem auto 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: .75rem;
  background: var(--surface, #fff);
  text-align: center;
}
.comparatif-vide h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.comparatif-vide p { margin: 0; color: var(--text-muted, #6b7280); line-height: 1.55; }
.comparatif-vide p + p { margin-top: .75rem; }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Mobile : « Voir l'offre » sortait à 1 182 px sur un écran de 800 px (mesuré le 2026-10-03, 390 px) — l'image de 220 px
   repoussait prix et bouton sous deux écrans. Image réduite pour que prix et bouton arrivent plus tôt. */
@media (max-width: 480px) {
  .product-card .product-img-box { height: 140px; margin-bottom: 1rem; }
}
/* « Moins cher sur la fiche : … » (contre-audit du 22/11) : lien discret sous le prix, vers la fiche du modèle. */
.product-moins-cher-fiche { margin: .2rem 0 .4rem; font-size: .82rem; font-weight: 600; }
.product-moins-cher-fiche a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
/* Mobile, suite (relevé du 2026-10-09) : une carte faisait encore 1,25 écran (Top 10 = 13 écrans pour 10 produits) alors que
   c'est la page qui amène le plus de clics marchands. Image à gauche, marque, nom, prix et note à droite ; avis, bouton et
   retour sur toute la largeur en dessous. `display: contents` met les éléments de .product-info dans la grille de la carte. */
@media (max-width: 480px) {
  .comparatifs-results .product-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: .85rem; align-content: start; height: auto; padding: 1.4rem 1rem 1rem; }
  .comparatifs-results .product-info { display: contents; }
  .comparatifs-results .product-card > *, .comparatifs-results .product-info > * { grid-column: 1 / -1; }
  .comparatifs-results .product-card > .rank-badge { left: .6rem; }
  .comparatifs-results .product-img-box { grid-column: 1; grid-row: 1 / span 5; align-self: start; height: 88px; margin: 0; }
  .comparatifs-results .product-badge-rank, .comparatifs-results .product-condition, .comparatifs-results .product-brand,
  .comparatifs-results .product-title, .comparatifs-results .product-price-row, .comparatifs-results .product-note,
  .comparatifs-results .product-price-date, .comparatifs-results .product-distinction, .comparatifs-results .product-sortie, .comparatifs-results .product-moins-cher-fiche { grid-column: 2; }
  .comparatifs-results .product-badge-rank { margin-top: 0; }
  .comparatifs-results .product-badge-rank .product-badge { margin: 0 0 .4rem !important; padding: .2rem .6rem; }
  .comparatifs-results .product-condition { margin-bottom: .15rem; }
  .comparatifs-results .product-title { height: auto; font-size: 1rem; margin-bottom: .35rem; }
  .comparatifs-results .product-price { font-size: 1.45rem; }
  .comparatifs-results .product-justif { margin: .75rem 0; padding: .7rem .85rem; }
  /* « + » en haut à droite de la carte, menu ouvert vers le bas (2026-10-09) : il prenait seul une ligne (~60 px par carte). */
}
/* « + » en haut à droite de la carte, menu ouvert vers le bas : au téléphone depuis le 2026-10-09, sur ordinateur aussi
   depuis le 2026-10-23 — il restait seul sous l'avis, en bas de carte. */
.comparatifs-results .product-card { position: relative; }
.comparatifs-results .product-card .produit-plus-zone { position: absolute; top: .75rem; right: .75rem; margin: 0; z-index: 2; }
.comparatifs-results .product-card .perso-plus__menu { top: calc(100% + .4rem); bottom: auto; }
/* Mention d'affiliation sous la grille depuis la décision 1C (16/11) ; elle était au-dessus et le badge « #1 » la recouvrait. */
.comparatifs-results .mention-affiliation-offre { margin: .35rem 0 0; }
.rank-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 2px solid #ffffff;
}
/* Contraste ≥ 4,5:1 sur tout le dégradé (audit Top 10 et Boutique, 2026-09-26) : le blanc sur or et argent tombait
   sous 2:1. Texte foncé sur or et argent (argent éclairci), fond bronze assombri sous le texte blanc. */
.rank-1 { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: #1a1a1a; } /* Gold */
.rank-2 { background: linear-gradient(135deg, #E0E0E0 0%, #A8A8A8 100%); color: #1a1a1a; } /* Silver */
.rank-3 { background: linear-gradient(135deg, #8B4513 0%, #6B3410 100%); } /* Bronze */
.rank-other { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); }

/* Product Card adjustments */
.product-note { margin: .35rem 0 .1rem; font-size: .8125rem; }
.product-note__lien, .product-note__valeur { color: var(--text-muted); font-weight: 600; }
.product-note__lien { text-decoration: underline; }
.product-note__lien:hover, .product-note__lien:focus { color: var(--primary); }
.product-title__lien { color: inherit; text-decoration: none; }
/* Ce qui distingue la carte des autres (lot J13) : une ligne courte, sous le nom, avant le prix. */
.product-distinction { margin: 0 0 .4rem; font-size: .85rem; font-weight: 600; color: var(--text); line-height: 1.3; }
/* Année de sortie (F3 du banc aveugle, 01/12) : discrète, sous le nom ; au-delà de 3 ans elle dit aussi l’âge et la fin du suivi. */
.product-sortie { margin: 0 0 .4rem; font-size: .8rem; color: var(--text-muted); line-height: 1.3; }
.product-title__lien:hover, .product-title__lien:focus-visible { color: var(--primary); text-decoration: underline; }
.product-img-lien { display: block; width: 100%; height: 100%; }
.product-badge-rank {
  margin-top: 1.25rem;
}

/* Feedback widget */
.pksl-feedback { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; padding:.65rem .9rem; margin-top:1rem; background:var(--bg-light,#f8f9fa); border-radius:.65rem; border:1px solid var(--border); font-size:.8125rem; }
.pksl-feedback__q { flex:1 1 100%; font-weight:600; color:var(--text); margin-bottom:.2rem; }
.pksl-feedback__btn { min-height:44px; min-width:44px; background:#fff; border:1.5px solid var(--border); border-radius:var(--radius-bouton, 9999px); padding:.3rem .7rem; font-size:1rem; cursor:pointer; transition:all .15s; line-height:1.4; }
.pksl-feedback__btn:hover:not(:disabled) { border-color:var(--primary); background:rgba(42,128,141,.08); }
.pksl-feedback__btn--active { border-color:var(--primary)!important; background:rgba(42,128,141,.12)!important; box-shadow:0 0 0 2px rgba(42,128,141,.2); }
.pksl-feedback__btn:disabled { cursor:default; opacity:.8; }
.pksl-feedback__comment-area { flex:1 1 100%; display:flex; flex-direction:column; gap:.4rem; margin-top:.2rem; }
.pksl-feedback__textarea { width:100%; padding:.45rem .65rem; border:1px solid var(--border); border-radius:.5rem; font-size:.8125rem; font-family:inherit; resize:vertical; min-height:3rem; background:var(--bg); color:var(--text); box-sizing:border-box; }
.pksl-feedback__textarea:focus { outline:none; border-color:var(--primary); }
.pksl-feedback__send { align-self:flex-end; padding:.35rem 1rem; font-size:.8125rem; }
.pksl-feedback__thanks { color:var(--primary); font-weight:600; font-size:.85rem; }
.pksl-feedback__error { color:var(--danger); font-weight:600; font-size:.8125rem; margin:0; }
