/* Qwiver : jetons de design et en-tête communs au catalogue (qwiver.app) et aux pages de l'app (my.qwiver.app).
   Source unique : catalogue.css et les pages de l'app s'appuient dessus. :where() = priorité nulle, pour qu'une page
   qui définit encore ses propres variables ne soit pas modifiée. */
:where(:root) {
  --navy: #232851; --vert: #00dccd; --vert-t: #00dccd; --soft: #e0faf8; --jaune: #f4b10a; --alerte: #e02020;
  --bg: #fff; --card: #fff; --line: #e1e4e9; --gris: #8a8f9c; --gris-t: #6b6f8a;
  --filet: 1px; --shadow: 0 0 0 1px var(--line); --shadow-l: 0 0 0 1px #b9bfca;
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[hidden] { display: none !important; }   /* un bloc masqué le reste, quel que soit son style */

/* En-tête blanc : burger + logo turquoise à gauche, pastille Profil à droite ; navigation dans le menu burger */
.cx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.cx-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.cx-logo img { height: 20px; width: auto; display: block; }
.cx-bar { position: relative; flex-wrap: nowrap; }
.cx-left { display: flex; align-items: center; gap: 6px; }
.cx-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; }
.cx-burger:hover { background: #f1f3f5; }
.cx-burger svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cx-profile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #f1f3f5; color: var(--gris); text-decoration: none; }
.cx-profile svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cx-profile:hover { background: #e6e9ed; }
.cx-profile.on { background: var(--vert); color: var(--navy); }
.cx-profile.cx-quiver svg { fill: currentColor; stroke: none; width: 22px; height: 22px; }   /* picto Type : forme pleine */
/* Bouton « Mon quiver » : picto seul, rond comme les autres icônes de l'en-tête (2026-11-13) */
.cx-profile.cx-quiver svg { flex: none; }
@media (max-width: 380px) { .cx-profile.cx-quiver { padding: 0 12px 0 14px; gap: 6px; font-size: 13px; } }
.cx-menu { position: absolute; top: calc(100% + 4px); left: -10px; z-index: 50; min-width: 250px; padding: 8px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 24px rgba(35, 40, 81, .14); }
.cx-menu a { display: block; padding: 12px 18px; border-radius: 999px; color: var(--navy); text-decoration: none; font: 600 14px var(--font); }
.cx-menu a:hover { background: #f1f3f5; }
.cx-menu a[aria-current] { background: var(--soft); }
.cx-menu a.cx-login { margin-top: 6px; background: var(--navy); color: #fff; text-align: center; font-weight: 800; }
.cx-menu a.cx-login:hover { background: var(--vert); color: var(--navy); }
.cx-menu[hidden] { display: none; }

/* Pages de l'app : même en-tête, dans la colonne de la page */
.cx-app { background: #fff; color: var(--navy); padding: 14px 20px; font-family: var(--font); position: relative; z-index: 20; }
.cx-app * { box-sizing: border-box; }
.cx-right { display: flex; align-items: center; gap: 8px; }
.cx-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #f1f3f5; color: var(--navy); text-decoration: none; }
.cx-icon:hover { background: #e6e9ed; }
.cx-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cx-icon[hidden] { display: none; }
.cx-fav { color: var(--navy); }   /* cœur Favori : contour bleu sombre, comme partout */
.cx-badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--navy); color: #fff; font: 700 11px/18px var(--font); text-align: center; box-shadow: 0 0 0 2px #fff; }
.cx-badge[hidden] { display: none; }
.cx-pt { position: absolute; top: 6px; right: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--alerte); box-shadow: 0 0 0 2px #fff; }
.cx-pwrap { position: relative; display: inline-flex; }
.cx-profile img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.cx-menu .cx-in, .cx-menu .cx-guest { display: contents; }   /* blocs de bascule connecté / invité : sans effet sur la grille du menu ([hidden] l'emporte) */
.cx-menu a.cx-row { display: flex; align-items: center; gap: 12px; }
.cx-menu a.cx-off { color: #b5b9c4; pointer-events: none; cursor: default; }   /* entrée de compte grisée tant qu'on n'est pas connecté (2026-11-20) */
.cx-menu a.cx-off:hover { background: transparent; }
.cx-menu a.cx-off .cx-n { display: none; }
.cx-menu .cx-n { color: var(--gris-t); font: 700 13px var(--font); font-variant-numeric: tabular-nums; }   /* nombre aligné à droite (2026-11-20) */
.cx-menu .cx-n[hidden] { display: none; }
/* Pictos du menu burger (2026-11-23) : à gauche de chaque lien ; le nombre (.cx-n) reste calé à droite */
.cx-menu a, .cx-menu button.cx-out { display: flex; align-items: center; gap: 12px; }
.cx-menu a[hidden] { display: none; }
.cx-menu a.cx-login { justify-content: center; }
.cx-menu .cx-mi, .cx-menu a > svg { width: 20px; height: 20px; flex: none; }
.cx-menu .cx-mi { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cx-menu a.cx-row .cx-n { margin-left: auto; }
.cx-menu a.cx-off .cx-mi, .cx-menu a.cx-off > svg { opacity: .55; }
.cx-menu .cx-sep { height: 1px; margin: 6px 12px; background: var(--line); }
.cx-menu form { margin: 0; }
.cx-menu button.cx-out { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--gris-t); font: 600 14px var(--font); text-align: left; cursor: pointer; }
.cx-menu button.cx-out:hover { background: #f1f3f5; }
/* Champ sous l'en-tête (ajout de matériel, recherche) : clair, comme le champ du catalogue */
.cx-under { position: relative; margin-top: 12px; }
.cx-app .qw-rwrap { margin-top: 12px; max-width: none; }
.cx-app .qw-recherche { height: 52px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; color: var(--navy); }
.cx-app .qw-recherche:focus-within { border-color: var(--navy); }
.cx-app .qw-recherche svg { opacity: .55; }
.cx-app .qw-recherche input, .cx-app .qw-recherche input[type=search] { color: var(--navy); font-size: 16px; }
.cx-app .qw-recherche input::placeholder { color: var(--gris); }
.cx-app .qv-scan { width: 52px; height: 52px; border-radius: 14px; background: #f1f3f5; color: var(--navy); }
.cx-app .qv-scan:hover { background: #e6e9ed; }
.cx-app .qw-hres { border: 1px solid var(--line); }

/* ==== Socle commun (catalogue + pages de l'app en <body class="cx">) ==== Une seule source : on modifie ici, les deux côtés suivent.
   Contenu : base de page, largeur (.cx-wrap), en-tête, filtres en pastilles avec pictos (.disc/.tp-*), cartes (.cards/.card),
   pastille de type (.tag), bulle de recherche (.qv-loupe). Le CSS propre à une page reste dans catalogue.css / qwiver.css. */
:where(body:not(.qw)) *, :where(body:not(.qw)) *::before, :where(body:not(.qw)) *::after { box-sizing: border-box; }
:where(body:not(.qw)) { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--navy); font: 400 14px/1.55 var(--font); }
:where(body:not(.qw)) a { color: var(--vert-t); }
:where(body:not(.qw)) img { max-width: 100%; }
.cx-hero { background: #fff; color: var(--navy); border-radius: 0; padding: 14px 0; position: relative; z-index: 20; }
.cx-wrap { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.cx-main { flex: 1 0 auto; width: 100%; padding-top: 18px; padding-bottom: 60px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; clip-path: inset(0 1px 1px 0); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards > .card { position: relative; background: var(--card); display: flex; flex-direction: column; padding: 14px 12px 6px; }   /* filets droits entre cartes ; ceux du bord sont rognés par la grille (clip-path), sans arrondi */
.cards > .card:hover { background: #f7f8fa; }
/* Règles réservées aux cartes de grille (`.cards > .card`) : `.card` sert aussi de bloc simple (fiche Mon quiver, profil, inscription) et ne doit pas recevoir ces filets. */
/* Filets : raccourcis de 25 px à chaque extrémité pour qu'ils ne se touchent pas (verticaux à droite, horizontaux en bas) */
.cards > .card::before, .cards > .card::after { content: ''; position: absolute; background: var(--line); pointer-events: none; }
.cards > .card::before { right: 0; top: 25px; bottom: 25px; width: 1px; }
.cards > .card::after { bottom: 0; left: 25px; right: 25px; height: 1px; }
/* Dernière carte VISIBLE (filtres : `hidden`) : pas de filet vertical, il ne sépare plus rien (grille incomplète : 3 cartes sur 2 colonnes, 1 ou 2 sur 3) */
.cards > .card:not([hidden]):not(:has(~ .card:not([hidden])))::before { display: none; }
.cards > .card > a { color: inherit; text-decoration: none; display: block; flex: 1; }
.thumb { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 10px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb:empty { aspect-ratio: 2 / 1; background: #fff; }
.meta { display: grid; gap: 2px; padding: 4px 16px 12px; }
.meta .b { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.meta .n { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 2px 0; overflow-wrap: anywhere; }
.meta .s, .meta .z { color: var(--gris-t); font-size: 12px; }
.meta .p { font-weight: 800; font-size: 13px; margin-top: 4px; }
/* Sans visuel : logo de la marque */
.thumb.logo { display: grid; place-items: center; aspect-ratio: 1 / 1; background: #fff; }
.thumb.logo img { width: 60%; height: auto; max-height: 50%; object-fit: contain; opacity: .85; }
.thumb .lname { font: 800 15px var(--font); color: var(--gris); text-align: center; padding: 0 12px; }
.cards > .card .k { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--gris); }
.meta .n .yr { font-size: .6em; font-weight: 400; color: var(--gris); white-space: nowrap; }
@media (max-width: 699px) { .meta .n { font-size: 19px; } }
/* Disciplines : pastilles rondes sous le champ de recherche, petit picto + nom à droite */
.disc-wrap { margin: -6px 0 18px; }
.disc { display: flex; flex-wrap: wrap; gap: 8px; }
.disc label.inline { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 var(--filet) var(--line); font: 600 13px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.disc label.inline img { width: 22px; height: 22px; flex: none; }
.disc label.inline:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.disc label.inline input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.disc label.inline:has(input:checked) { background: var(--navy); color: #fff; box-shadow: none; }
.disc label.inline:has(input:checked) img { filter: brightness(0) invert(1); }
.disc label.inline:has(input:focus-visible) { outline: 2px solid var(--vert); outline-offset: 2px; }
.disc label.inline.is-disabled { opacity: .35; cursor: not-allowed; }
.disc label.inline.is-disabled:hover { box-shadow: inset 0 0 0 var(--filet) var(--line); }
.disc label.inline.is-disabled input { cursor: not-allowed; }
.disc-more-wrap { position: relative; flex: none; display: inline-flex; }
.disc-more { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 var(--filet) var(--line); color: var(--navy); font: 600 13px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.disc-more:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.disc-more[aria-expanded="true"] { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.disc-more.on { background: var(--navy); color: #fff; box-shadow: none; }
.disc-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.disc-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.disc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.disc-sep { flex: none; width: var(--filet); height: 28px; background: var(--line); border-radius: 1px; }
.disc-row .disc { flex-wrap: nowrap; }
.tp-group { position: relative; flex: none; display: inline-flex; align-items: center; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 var(--filet) var(--line); transition: background .15s, color .15s, box-shadow .15s; }
.tp-group:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.tp-group button.tp, .tp-group button.tp-arrow { display: inline-flex; align-items: center; gap: 8px; height: 100%; border: 0; background: transparent; color: inherit; font: 600 13px var(--font); cursor: pointer; white-space: nowrap; }
.tp-group .tp { padding: 0 16px 0 12px; border-radius: 999px; }
.tp-group .tp img { width: 22px; height: 22px; flex: none; }
.tp-group .tp-arrow { width: 32px; justify-content: center; padding: 0 4px 0 0; margin-left: -12px; border-radius: 0 999px 999px 0; }
.tp-group .tp-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.tp-group .tp-arrow[aria-expanded="true"] svg { transform: rotate(180deg); }
.tp-group.on { background: var(--navy); color: #fff; box-shadow: none; }
.tp-group.on img { filter: brightness(0) invert(1); }
.tp-group button:focus-visible, .disc-more:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
.tp-group.is-disabled { opacity: .35; }
.tp-group.is-disabled button { cursor: not-allowed; }
.qw-drop { position: fixed; z-index: 90; min-width: 205px; max-height: 300px; overflow-y: auto; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(35, 40, 81, .16), 0 0 0 1px var(--line); display: grid; gap: 2px; }
.qw-drop[hidden] { display: none; }
.qw-drop-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--navy); font: 600 13px var(--font); text-align: left; cursor: pointer; white-space: nowrap; transition: background .12s, color .12s; }
.qw-drop-item:hover:not(:disabled) { background: var(--soft); }
.qw-drop-item.on { background: var(--navy); color: #fff; }
.qw-drop-item.on::after { content: "✓"; font-weight: 700; }
.qw-drop-item:disabled { opacity: .35; cursor: not-allowed; }
.qw-drop-sep { height: 1px; margin: 4px 6px; background: var(--line); }
.tparts { display: none !important; }
/* Pastille de type des cartes : rectangle aux bords tout ronds, filet coloré (Planche / Aile-voile / Foil, nuances par pièce de foil) */
.tag { --tc: var(--gris); display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 999px; box-shadow: inset 0 0 0 var(--filet) var(--tc); background: #fff; background: color-mix(in srgb, var(--tc) 9%, #fff); color: var(--navy); font-weight: 600; white-space: nowrap; line-height: 1.5; }
.tag[data-k=autre] { --tc: hsl(340 60% 55%); }
.tag[data-k=planche] { --tc: #f4b10a; }
.tag[data-k=aile] { --tc: var(--vert); }
.tag[data-k=foil] { --tc: hsl(245 70% 60%); }
.tag[data-k=foil-front_wing] { --tc: hsl(245 70% 50%); }
.tag[data-k=foil-stabilizer] { --tc: hsl(245 80% 72%); }
.tag[data-k=foil-mast] { --tc: hsl(245 60% 36%); }
.tag[data-k=foil-fuselage] { --tc: hsl(262 55% 55%); }
.tag[data-k=foil-foil_part] { --tc: hsl(245 25% 55%); }
.meta .s { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
@media (max-width: 699px) { .disc-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .disc-row::-webkit-scrollbar { display: none; } .disc-row > .disc { flex: none; } }   /* mobile : une seule rangée qui défile ; les groupes de pastilles ne rétrécissent pas (Safari les comprimait et les pastilles se chevauchaient, 2026-11-17) */

/* Bulle de recherche : une loupe qui s'ouvre au clic en champ (Mon quiver : recherche dans son propre matos) */
.qv-loupe { flex: none; display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 var(--filet) var(--line); }
.qv-loupe:hover, .qv-loupe:focus-within, .qv-loupe.open { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.qv-loupe button { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.qv-loupe svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.qv-loupe input[type=search] { width: 0; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; outline: 0; background: transparent; color: var(--navy); font: 600 14px var(--font); -webkit-appearance: none; appearance: none; }   /* [type=search] : bat la règle générale input[type=search] du catalogue (fond blanc, bordure, 44 px) qui faisait chevaucher le champ et la loupe sur les pages marque (2026-11-17) */
.qv-loupe.open input[type=search] { width: min(220px, 46vw); padding: 0 16px 0 0; }
@media (prefers-reduced-motion: no-preference) { .qv-loupe input[type=search] { transition: width .18s ease, padding .18s ease; } }
.cx-titre.cx-page { margin: 6px 0 16px; }
.cx-vide { margin: 32px 0; color: var(--gris-t); font-size: 15px; }
.cx-vide a { color: var(--vert-t); font-weight: 700; }

/* Fil d'Ariane : liens en bleu sombre sur toutes les pages (2026-11-15) */
.crumbs a { color: var(--navy); }

/* Boutons du haut (Favoris, Mon quiver) : au survol, la pastille s'élargit horizontalement et le nom apparaît à gauche du picto (2026-11-15) */
.cx-icon, .cx-profile { width: auto; min-width: 44px; padding: 0; border-radius: 999px; transition: padding .22s ease, background .15s; }
.cx-icon .cx-lab, .cx-profile .cx-lab { display: inline-block; max-width: 0; margin-right: 0; overflow: hidden; white-space: nowrap; opacity: 0; font: 700 13px var(--font); transition: max-width .22s ease, margin-right .22s ease, opacity .15s ease; }
@media (hover: hover) {
  .cx-icon:hover, .cx-profile:hover, .cx-icon:focus-visible, .cx-profile:focus-visible { padding: 0 14px 0 18px; }
  .cx-icon:hover .cx-lab, .cx-profile:hover .cx-lab, .cx-icon:focus-visible .cx-lab, .cx-profile:focus-visible .cx-lab { max-width: 120px; margin-right: 9px; opacity: 1; }
}
.cx-icon svg, .cx-profile svg { flex: none; }
@media (prefers-reduced-motion: reduce) { .cx-icon, .cx-profile, .cx-icon .cx-lab, .cx-profile .cx-lab { transition: none; } }

/* ---- Filtres de liste (2026-11-16) : pastille « Filtres » + panneau année / tri, pour Mon quiver et les pages marque (templates/_listfilters.html) ---- */
.disc-row .lf-slot { margin-left: auto; flex: none; display: flex; align-items: center; gap: 14px; }
.lf-group { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 var(--filet) var(--line); }
.lf-group:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.lf-btn, .lf-btn:hover { display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 600 13px var(--font); color: var(--navy); cursor: pointer; }
.lf-group:has(.lf-x:not([hidden])) .lf-btn { padding-right: 6px; }
.lf-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--vert); color: var(--navy); font: 800 11px var(--font); }
.lf-x { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; }
.lf-x:hover { background: #f1f3f5; }
.lf-x svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.lf-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; max-width: 720px; margin: 22px 0 8px; }
.lf-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.lf-set legend { display: flex; align-items: center; gap: 8px; padding: 0; margin: 0 0 10px; font-weight: 700; font-size: 13px; color: var(--navy); }
.lf-flags .disc { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-set legend svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lf-range { display: flex; align-items: center; gap: 10px; }
.lf-panel select { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; min-height: 40px; padding: 0 30px 0 16px; border: var(--filet) solid var(--line); border-radius: 999px; font: 600 13px var(--font); color: var(--navy); cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23232851' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center / 10px 6px; }
@media (max-width: 699px) { .lf-panel { grid-template-columns: 1fr; gap: 20px; } .disc-wrap.has-msel .lf-slot { margin-left: 0; } }

/* Titre de page et pied de page : partagés avec l'app (déplacés dans commun.css, 2026-11-16) */
.cx-titre { font: 700 clamp(22px, 3.6vw, 36px)/1.2 var(--font); letter-spacing: -.5px; margin: 0; }
.cx-titre span { color: var(--vert); }
.cx-foot { width: 100%; background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 12px; padding: 36px 0 40px; margin-top: auto; }
.cx-foot a { color: var(--vert); }
.cx-foot p { margin: 6px 0; }
.cx-foot-in { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-start; }
.cx-foot-in .report-cta { flex: 0 1 380px; }
.cx-foot-in .foot-txt { flex: 1 1 280px; }
.cx-sous { margin: -8px 0 18px; font-size: 14px; color: var(--gris-t); max-width: 62ch; }

/* ==== Ajout au quiver (2026-11-18) : bloc années/tailles à choix multiple, boutons « + », pop up de Mon quiver ====
   Les pastilles à cocher (.addq-lbl, .qchip) étaient dans catalogue.css : la fiche modèle ET le pop up de Mon quiver s'en servent. */
.addq-lbl { display: grid; gap: 6px; margin: 14px 0 6px; font: 800 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--gris-t); }
.addq-lbl .opt { text-transform: none; letter-spacing: 0; font-weight: 600; }
label.addq-lbl input { text-transform: none; letter-spacing: 0; font-weight: 400; }
div.addq-lbl { display: block; }
.qchips { display: flex; flex-wrap: wrap; gap: 6px; }
.qchip { font: 600 12px var(--font); padding: 7px 12px; border-radius: 999px; border: 0; background: #f1f3f5; color: var(--gris-t); cursor: default; }
button.qchip { cursor: pointer; }
.qchip.on { background: var(--soft); color: var(--vert-t); box-shadow: inset 0 0 0 var(--filet) var(--vert); }
.addq-done { margin: 0 0 10px; font-weight: 600; color: var(--navy); }
.qgrp { margin: 0 0 10px; }
.qgrp-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 6px; font-size: 13px; color: var(--navy); }
.qgrp-h b { font-weight: 800; }
.qall { border: 0; background: transparent; padding: 4px 2px; color: var(--gris-t); font: 700 12px var(--font); text-decoration: underline; cursor: pointer; }
.qgrp-note { margin: 4px 0 0; font-size: 12px; color: var(--gris-t); }
/* Bouton rond vert « + » : à gauche de la loupe de Mon quiver, et en dernière case de la grille */
.qv-add { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--vert); color: var(--navy); cursor: pointer; box-shadow: 0 2px 8px rgba(35, 40, 81, .12); transition: filter .15s; }
.qv-add:hover { filter: brightness(.94); }
.qv-add:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.qv-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.qv-add.grand { width: 64px; height: 64px; }
.qv-add.grand svg { width: 28px; height: 28px; }
.qv-add-li { list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; min-height: 200px; padding: 14px 12px; }
.qv-add-txt { margin: 0; max-width: 260px; font-size: 12px; line-height: 1.5; color: var(--gris-t); }
.qv-vide-add { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
/* Pop up de recherche (Mon quiver) */
.qa-dlg { border: 0; padding: 0; border-radius: 22px; background: #fff; color: var(--navy); width: min(600px, calc(100% - 24px)); max-height: min(88dvh, 780px); box-shadow: 0 12px 40px rgba(35, 40, 81, .3); font-family: var(--font); overflow: hidden; }
.qa-dlg[open] { display: flex; flex-direction: column; height: auto; }
.qa-dlg::backdrop { background: rgba(35, 40, 81, .45); }
.qa-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 8px 22px; }
.qa-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.qa-x { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f1f3f5; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.qa-x svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.qa-step { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 6px 22px 20px; overflow-y: auto; }
.qa-step[hidden] { display: none; }
.qa-search { flex: none; display: flex; align-items: center; gap: 10px; height: 48px; margin: 4px 0 12px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 var(--filet) var(--line); }
.qa-search:focus-within { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.qa-search svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; opacity: .6; }
.qa-search input[type=search] { flex: 1; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; outline: 0; background: transparent; color: var(--navy); font: 600 16px var(--font); -webkit-appearance: none; appearance: none; }
.qa-filtres { display: flex; align-items: center; gap: 8px; flex: none; }
.qa-sel { position: relative; flex: 1 1 0; min-width: 0; display: block; }
.qa-sel select { width: 100%; height: 40px; margin: 0; padding: 0 34px 0 16px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 var(--filet) var(--line); color: var(--navy); font: 600 13px var(--font); cursor: pointer; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232851' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.qa-sel select:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.qa-sel select.on { box-shadow: inset 0 0 0 2px var(--navy); }
.qa-sel select:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
.qa-res { flex: 1 1 auto; min-height: 120px; margin-top: 10px; }
.qa-fgroup { flex: none; display: inline-flex; align-items: center; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 var(--filet) var(--line); }
.qa-fgroup:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.qa-fbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); cursor: pointer; }
.qa-fbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.qa-fgroup:has(.qa-fclear:not([hidden])) .qa-fbtn { padding-right: 6px; }
.qa-fbtn:focus-visible, .qa-fclear:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
.qa-fn { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--vert); color: var(--navy); font: 800 11px var(--font); }
.qa-fn[hidden], .qa-fclear[hidden] { display: none; }
.qa-fclear { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; }
.qa-fclear:hover { background: #f1f3f5; }
.qa-fclear svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.qa-fall { flex: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; padding: 12px; border-radius: 16px; background: #f7f8fa; }
.qa-fall[hidden] { display: none; }
.qa-fset { display: grid; gap: 4px; font: 700 11px var(--font); letter-spacing: .6px; text-transform: uppercase; color: var(--gris-t); }
.qa-fset select { width: 100%; height: 38px; margin: 0; padding: 0 12px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 var(--filet) var(--line); color: var(--navy); font: 600 13px var(--font); text-transform: none; letter-spacing: 0; }
.qa-libre { display: block; flex: none; margin-top: 14px; padding-top: 16px; border-top: var(--filet) solid var(--line); color: inherit; text-decoration: none; }
.qa-libre h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.qa-libre p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--gris-t); }
.qa-libre-btn { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 12px; border-radius: 999px; background: var(--vert); color: var(--navy); font: 800 15px var(--font); text-decoration: none; }
.qa-libre-btn:hover { filter: brightness(.94); }
.qa-libre-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.qa-hint { margin: 14px 2px; font-size: 13px; color: var(--gris-t); }
.qa-list { display: grid; }
.qa-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 6px; border: 0; border-bottom: var(--filet) solid var(--line); background: transparent; color: inherit; font-family: var(--font); text-align: left; cursor: pointer; }
.qa-row:hover { background: #f7f8fa; }
.qa-row .vig, .qa-model .vig { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #f4f5f7; display: grid; place-items: center; overflow: hidden; }
.qa-row .vig img, .qa-model .vig img { width: 100%; height: 100%; object-fit: contain; }
.qa-row .tx { flex: 1; min-width: 0; display: grid; gap: 1px; }
.qa-row .b { font-size: 12px; font-weight: 500; color: var(--gris-t); }
.qa-row .n { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.qa-row .s { font-size: 12px; color: var(--gris-t); }
.qa-row .chev { flex: none; font-size: 22px; color: var(--gris); }
.qa-back { align-self: flex-start; margin-bottom: 6px; padding: 6px 0; border: 0; background: transparent; color: var(--gris-t); font: 700 13px var(--font); cursor: pointer; }
.qa-model { display: flex; align-items: center; gap: 14px; }
.qa-model .vig { width: 72px; height: 72px; }
.qa-brand { margin: 0; font-size: 13px; font-weight: 500; }
.qa-model h3 { margin: 2px 0 0; font-size: 20px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.qa-msg { min-height: 1.2em; margin: 10px 0 0; font-size: 13px; color: var(--alerte); }
.qa-done { margin: 12px 0 4px; font-weight: 700; }
.qa-actions { position: sticky; bottom: 0; margin-top: 12px; padding-top: 8px; background: #fff; }
.qa-go { width: 100%; height: 48px; border: 0; border-radius: 999px; background: var(--vert); color: var(--navy); font: 800 15px var(--font); cursor: pointer; }
.qa-go[disabled] { opacity: .5; cursor: not-allowed; }
.qa-go[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .qv-add { transition: none; } }
/* Pop up de connexion de la fiche produit (2026-11-18) : iframe de /connexion?embed=1 */
.loginq { border: 0; padding: 0; border-radius: 22px; background: #fff; width: min(440px, calc(100% - 24px)); height: min(700px, 92dvh); overflow: hidden; box-shadow: 0 12px 40px rgba(35, 40, 81, .3); }
.loginq::backdrop { background: rgba(35, 40, 81, .45); }
.loginq iframe { display: block; width: 100%; height: 100%; border: 0; }
.loginq .dlg-x { z-index: 2; top: 10px; right: 10px; background: rgba(255, 255, 255, .9); }

/* ---- 2026-11-19 : Mon quiver et pop up d'ajout ---- */
/* Champ « Qwiver code » : 6 cases + scan (static/catalogue/scan.js) */
.qcode { display: grid; gap: 10px; }
.qcode-cells { display: flex; gap: 6px; }
.qcode-cells input { flex: 1; min-width: 0; width: 0; height: 46px; min-height: 0; margin: 0; padding: 0; text-align: center; font: 800 18px var(--font); text-transform: uppercase; border-radius: 12px; border: var(--filet) solid var(--line); background: #f7f8fa; color: var(--navy); outline: 0; box-shadow: none; }
.qcode-cells input:focus { border-color: var(--navy); background: #fff; }
.qcode-scan { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 var(--filet) var(--line); color: var(--navy); font: 600 13px var(--font); cursor: pointer; }
.qcode-scan:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.qcode-cam { display: grid; gap: 6px; }
.qcode-cam video { width: 100%; max-height: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #0d1024; }
.qcode-msg { margin: 0; font-size: 12px; color: var(--gris-t); }
.qcode-msg.err { color: var(--alerte); font-weight: 700; }
/* Tailles l'une au-dessus de l'autre : taille à gauche, « + » à droite, filet entre chaque ; le « + » ouvre le champ Qwiver code dessous */
.qsz-list { display: grid; }
.qsz { border-bottom: var(--filet) solid var(--line); }
.qsz:last-child { border-bottom: 0; }
.qsz-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.qsz-t { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.qsz-y { font-size: 12px; font-weight: 400; color: var(--gris-t); }
.qsz-add { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--vert); color: var(--navy); cursor: pointer; transition: background .15s, color .15s; }
.qsz-add:hover { filter: brightness(.94); }
.qsz-add:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.qsz-add svg { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; transition: transform .15s; }
.qsz.on .qsz-add { background: var(--navy); color: #fff; }
.qsz.on .qsz-add svg { transform: rotate(45deg); }
.qsz-code { padding: 0 0 14px; }
.qsz-code .addq-lbl { margin: 2px 0 8px; }
/* Pictogramme de protection sur le visuel d'une carte de Mon quiver : bouclier (code associé) / bouclier barré (aucun code) */
.qv-prot { position: absolute; top: 22px; right: 22px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px var(--line); }
.qv-prot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qv-prot.on { color: #00a99d; }
.qv-prot.off { color: var(--gris); }
/* Filtres de Mon quiver : Favori et Alerte à droite du « + », types et sports dans le panneau « Filtres » */
.lf-pill { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 var(--filet) var(--line); color: var(--navy); font: 600 13px var(--font); cursor: pointer; }
.lf-pill:hover { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.lf-pill.on { background: var(--navy); color: #fff; box-shadow: none; }
.lf-pill svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-pill:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
.lf-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--alerte); color: #fff; font: 800 11px/18px var(--font); text-align: center; pointer-events: none; }
.lf-count.fav { background: var(--navy); box-shadow: 0 0 0 2px #fff; }
.lf-pill.on .lf-count { box-shadow: 0 0 0 2px #fff; }
.lf-wide { grid-column: 1 / -1; }
.lf-wide .disc { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: #eef0f3; color: var(--navy); font: 700 11px var(--font); }
.tp-group.on .tp-n { background: rgba(255, 255, 255, .22); color: #fff; }
#lf.fav-mode .lf-group, #lf.fav-mode .qv-loupe, #lf.fav-mode #lf-alert, #lf.fav-mode #lf-panel { display: none !important; }   /* Favori, dans .lf-slot, reste visible (2026-11-23) */

/* 2026-11-19 (2) : Favori et Alerte = picto seul (texte au survol sur ordinateur) ; pastilles de compte non coupées sur mobile */
.lf-pill { padding: 0; width: 40px; justify-content: center; gap: 0; }
.lf-pill > span:not(.lf-count) { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .18s, opacity .15s; }
@media (hover: hover) and (min-width: 700px) {
  .lf-pill:hover, .lf-pill:focus-visible { width: auto; padding: 0 16px; gap: 8px; }
  .lf-pill:hover > span:not(.lf-count), .lf-pill:focus-visible > span:not(.lf-count) { max-width: 90px; opacity: 1; }
}
@media (max-width: 699px) { #qv-filtres { padding: 8px 8px 4px; } }
.qsz-ok { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #00a99d; }

/* 2026-11-19 (3) : label « Perdu » en haut à droite du visuel ; le bouclier se décale à sa gauche */
.qv-lost { position: absolute; top: 26px; right: 22px; z-index: 1; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: #f4b10a; color: #fff; font: 700 12px var(--font); }
.qv-prot.lostside { right: 92px; }

/* 2026-11-19 (4) : scan = picto seul à droite des 6 cases */
.qcode-row { display: flex; align-items: center; gap: 8px; }
.qcode-row .qcode-cells { flex: 1; min-width: 0; }
.qcode-scan { flex: none; justify-content: center; width: 46px; height: 46px; padding: 0; gap: 0; border-radius: 12px; }

.qcode-scan { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: none; border: var(--filet) solid var(--navy); color: var(--navy); }
.qcode-scan:hover { box-shadow: none; background: #f1f3f8; }

/* 2026-11-20 : les règles génériques `input[type=text]` du catalogue (14 px, arrondi 999 px, largeur 100 %) battaient les cases du code :
   ovales, et iOS zoomait au focus (police < 16 px). Sélecteur plus précis + 16 px minimum. */
.qcode-cells input[type=text] { flex: 1; min-width: 0; width: 0; height: 46px; min-height: 0; margin: 0; padding: 0; font: 800 18px var(--font); text-align: center; text-transform: uppercase; border-radius: 12px; background: #f7f8fa; box-shadow: none; }
.qcode-cells input[type=text]:focus { background: #fff; border-color: var(--navy); }

/* ---- Pile de cartes de la page publique d'un quiver (2026-11-21, static/catalogue/deck.js, <ul class="cards" data-deck-fixed>) : cartes posées en pile,
   la carte du dessus est la seule active. Tailles pilotées par --dk-w / --dk-h / --dk-stage / --dk-max (la page publique les agrandit). ---- */
.cards.deck { display: block; position: relative; height: var(--dk-stage, 480px); max-width: var(--dk-max, 360px); margin: 6px auto 0; clip-path: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.cards.deck:focus-visible { outline: 2px solid var(--vert); outline-offset: 6px; border-radius: 22px; }
.cards.deck > .card { position: absolute; left: 50%; top: 14px; width: var(--dk-w, 272px); height: var(--dk-h, 420px); margin-left: calc(var(--dk-w, 272px) / -2); padding: 12px 8px 4px; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -14px rgba(35, 40, 81, .28), 0 4px 12px -2px rgba(35, 40, 81, .1); pointer-events: none; will-change: transform; transform-origin: 50% 50%; }
.cards.deck > .card:hover { background: #fff; }
.cards.deck > .card::before, .cards.deck > .card::after { display: none; }
.cards.deck > .card.deck-front { pointer-events: auto; cursor: grab; }
.cards.deck > .card.deck-front:active { cursor: grabbing; }
.cards.deck > .card.deck-off { visibility: hidden; }
.cards.deck > .card > a { -webkit-user-drag: none; }
.cards.deck > .card img { -webkit-user-drag: none; pointer-events: none; }
.cards.deck > .card .meta { padding: 2px 10px 8px; }
.cards.deck > .card .meta .n { font-size: 20px; }
.cards.deck > .qv-add-li { display: none; }
.qp-fav { position: absolute; top: 16px; right: 16px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: inset 0 0 0 1px var(--line), 0 2px 8px rgba(35, 40, 81, .12); color: var(--navy); cursor: pointer; }
.qp-fav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qp-fav.on { background: var(--vert); box-shadow: 0 2px 8px rgba(0, 220, 205, .4); }
.qp-fav.on svg { fill: currentColor; }
.qp-fav:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.cards.deck > .card[data-href] .qp-in { cursor: pointer; }
.deck-bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 4px 0 8px; }
.deck-bar[hidden] { display: none; }
.deck-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 var(--filet) var(--line); color: var(--navy); cursor: pointer; }
.deck-btn:hover:not(:disabled) { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.deck-btn:focus-visible { outline: 2px solid var(--vert); outline-offset: 2px; }
.deck-btn:disabled { opacity: .35; cursor: default; }
.deck-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deck-pos { min-width: 64px; text-align: center; font: 700 13px var(--font); color: var(--gris-t); font-variant-numeric: tabular-nums; }
@media (min-width: 700px) { .cards.deck { height: var(--dk-stage, 490px); } }
/* ---- Bouton Partager de Mon quiver (2026-11-21) : à droite de la ligne ; en vue Favori le bloc Filtres/loupe est masqué, il garde la droite ---- */
a.lf-pill { text-decoration: none; }
.cp-toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 14px var(--font); box-shadow: 0 8px 24px -8px rgba(35, 40, 81, .45); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.cp-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- 2026-11-23 : « Filtres » = picto seul, texte au survol (ordinateur) ; la pastille du nombre de filtres actifs reste visible ---- */
.lf-btn, .lf-btn:hover { gap: 0; padding: 0 11px; }
.lf-btn .lf-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-btn .lf-lab { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .18s, opacity .15s, margin .18s; }
.lf-btn .lf-badge:not([hidden]) { margin-left: 6px; }
@media (hover: hover) and (min-width: 700px) {
  .lf-group:hover .lf-btn, .lf-btn:focus-visible { padding: 0 16px; }
  .lf-group:hover .lf-lab, .lf-btn:focus-visible .lf-lab { max-width: 90px; margin-left: 8px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .lf-btn .lf-lab { transition: none; } }

/* ---- Pop up « Partager » de Mon quiver (2026-11-23, #qv-share, static/catalogue/sharepop.js) ---- */
.qs-dlg { width: min(520px, calc(100% - 24px)); }
.qs-switch { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; background: #f6f7f9; cursor: pointer; }
.qs-sw-txt { flex: 1; display: grid; gap: 2px; font-size: 13px; color: var(--gris-t); line-height: 1.4; }
.qs-sw-txt b { font-size: 15px; color: var(--navy); }
.qs-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qs-sw { position: relative; flex: none; width: 50px; height: 30px; border-radius: 999px; background: #c9cdd8; transition: background .18s; }
.qs-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(35, 40, 81, .25); transition: transform .18s; }
.qs-switch input:checked + .qs-sw { background: var(--vert); }
.qs-switch input:checked + .qs-sw::after { transform: translateX(20px); }
.qs-switch input:focus-visible + .qs-sw { outline: 2px solid var(--navy); outline-offset: 2px; }
.qs-switch input:disabled + .qs-sw { opacity: .6; }
.qs-lien { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.qs-lien input[type=text] { flex: 1; min-width: 0; height: 46px; min-height: 0; margin: 0; padding: 0 16px; border: var(--filet) solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: 600 16px var(--font); }
.qs-copy { flex: none; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 700 14px var(--font); cursor: pointer; }
.qs-copy:hover { background: var(--vert); color: var(--navy); }
.qs-note { margin: 10px 4px 0; font-size: 12.5px; color: var(--gris-t); }
.qs-note a { color: var(--navy); font-weight: 700; }
.qs-img { margin: 18px 0 0; }
.qs-prev { display: grid; place-items: center; aspect-ratio: 4 / 5; max-height: 46dvh; margin: 0 auto; border-radius: 16px; background: #f6f7f9; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.qs-prev img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qs-wait { font-size: 13px; color: var(--gris-t); }
.qs-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.qs-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 var(--filet) var(--line); color: var(--navy); font: 700 13px var(--font); cursor: pointer; }
.qs-btn:hover:not(:disabled) { box-shadow: inset 0 0 0 var(--filet) var(--navy); }
.qs-btn:disabled { opacity: .45; cursor: default; }
.qs-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
