/* Cycles Blain — pages catégories d'accessoires (1.9.18) ; 1.9.46 : la recherche d'accessoires (Pierre-Louis, étiquettes, Jean-Baptiste) */
.cb-acc { --cba-bleu: #0b5cad; --cba-noir: #1d1d1f; --cba-gris: #f3f5f9; --cba-texte2: #5b6270;
  display: flex; flex-direction: column; gap: 22px; max-width: 1280px; margin: 0 auto; padding: 18px clamp(12px, 2vw, 24px) 48px; font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; color: var(--cba-noir); }
.cb-acc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cb-acc-titre { margin: 0; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; color: var(--cba-noir); text-transform: none; }

/* Grande recherche */
.cb-acc-cherche { display: flex; gap: 12px; }
.cb-acc-champ { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; height: 64px; padding: 0 20px; border: 2px solid #9fc1e6; border-radius: 16px; background: #ffffff; color: var(--cba-bleu); }
.cb-acc-champ:focus-within { border-color: var(--cba-bleu); box-shadow: 0 0 0 4px rgba(11, 92, 173, .12); }
.cb-acc-champ input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--cba-noir); }
.cb-acc-champ input::placeholder { color: #a3a8b0; opacity: 1; font-weight: 400; }
.cb-acc-bouton { flex: none; height: 64px; padding: 0 32px; border: 0; border-radius: 16px; background: var(--cba-bleu); color: #ffffff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.cb-acc-bouton:hover { background: #08427c; }

/* Sous-catégories en gros boutons */
.cb-acc-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cb-acc-cat { display: inline-flex; align-items: center; height: 54px; padding: 0 22px; border-radius: 16px; background: var(--cba-gris); color: var(--cba-noir); font-size: 16px; font-weight: 700; text-decoration: none; transition: background .15s; }
.cb-acc-cat:hover { background: #e3eaf5; color: var(--cba-noir); text-decoration: none; }
.cb-acc-cat.actif, .cb-acc-cat.actif:hover { background: var(--cba-noir); color: #ffffff; }

/* Cartes produits blanches */
.cb-acc-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 4px; }
.cb-acc-carte { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6e8ec; border-radius: 22px; background: #ffffff; color: var(--cba-noir); text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .05); transition: box-shadow .15s, transform .15s; }
.cb-acc-carte:hover { color: var(--cba-noir); text-decoration: none; transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 14px 32px rgba(16, 24, 40, .09); }
.cb-acc-photo { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; padding: 34px 18px 14px; background: #ffffff; }
.cb-acc-photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cb-acc-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.cb-acc-badge span { width: 8px; height: 8px; border-radius: 50%; }
.cb-acc-stock { background: #e8f3ea; color: #1f6a35; } .cb-acc-stock span { background: #2e9a52; }
.cb-acc-commande { background: #eaf1fb; color: #24508f; } .cb-acc-commande span { background: var(--cba-bleu); }
.cb-acc-infos { display: flex; flex-direction: column; flex: 1 1 auto; gap: 12px; padding: 16px 18px 18px; border-top: 1px solid #f0f1f4; }
.cb-acc-nom { font-size: 15px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cb-acc-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.cb-acc-prix { display: flex; flex-direction: column; gap: 1px; }
.cb-acc-prix s { font-size: 13px; color: var(--cba-texte2); }
.cb-acc-prix strong { font-size: 21px; font-weight: 800; color: var(--cba-bleu); }
.cb-acc-fleche { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cba-gris); color: var(--cba-bleu); font-size: 18px; font-weight: 800; }

/* Pages */
.cb-acc-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.cb-acc-page { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--cba-gris); color: var(--cba-noir); font-weight: 700; text-decoration: none; }
.cb-acc-page:hover { background: #e3eaf5; color: var(--cba-noir); text-decoration: none; }
.cb-acc-page.actif { background: var(--cba-noir); color: #ffffff; }
.cb-acc-page-vide { display: inline-flex; align-items: center; padding: 0 6px; color: var(--cba-texte2); }
.cb-acc-vide { padding: 30px; border-radius: 18px; background: var(--cba-gris); text-align: center; color: var(--cba-texte2); }
.cb-acc-texte { margin-top: 30px; padding-top: 24px; border-top: 1px solid #ececf0; font-size: 14px; line-height: 1.6; color: var(--cba-texte2); }

@media (max-width: 1100px) { .cb-acc-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .cb-acc { gap: 16px; }
  .cb-acc-cherche { flex-direction: column; gap: 10px; }
  .cb-acc-champ, .cb-acc-bouton { height: 56px; }
  .cb-acc-champ input { font-size: 16px; }
  .cb-acc-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: none; }
  .cb-acc-cats::-webkit-scrollbar { display: none; }
  .cb-acc-cat { flex: none; height: 48px; padding: 0 18px; font-size: 15px; }
  .cb-acc-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cb-acc-photo { height: 150px; padding: 32px 10px 10px; }
  .cb-acc-badge { top: 10px; left: 10px; padding: 5px 9px; font-size: 11px; }
  .cb-acc-infos { padding: 12px; gap: 8px; }
  .cb-acc-nom { font-size: 13px; }
  .cb-acc-prix strong { font-size: 17px; }
  .cb-acc-fleche { width: 32px; height: 32px; }
}

/* ===== 1.9.46 — la recherche d'accessoires (maquette validée le 5 nov. 2026) ===== */
.cb-acc-pl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 16px 20px; border-radius: 24px;
  background: #f2f7fd; border: 1px solid #dbe7f4; }
.cb-acc-pl-g { display: flex; align-items: flex-end; gap: 12px; flex: 999 1 520px; min-width: 0; }
.cb-acc-pl-av { position: relative; flex: none; width: 46px; height: 46px; }
.cb-acc-pl-av svg { display: block; width: 46px; height: 46px; }
.cb-acc-pl-av i { position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #2bb36b; box-shadow: 0 0 0 2px #f2f7fd; }
.cb-acc-pl-c { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cb-acc-pl-qui { font-size: 12px; font-weight: 700; color: var(--cba-texte2); }
.cb-acc-pl-bulle { margin: 0; padding: 11px 15px; border-radius: 18px 18px 18px 6px; background: #ffffff; border: 1px solid #e8eef6;
  box-shadow: 0 2px 8px rgba(15, 40, 80, .06); font-size: 15px; line-height: 1.5; color: var(--cba-noir); }
.cb-acc-pl-bulle b { color: #0b4a8c; }
.cb-acc-pl-d { display: flex; flex-direction: column; gap: 8px; flex: 1 1 240px; }
.cb-acc-pl-sur { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--cba-texte2); }
.cb-acc-crits { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-acc-crit { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; background: #ffffff;
  border: 1px solid #d6e4f4; color: #0b4a8c; font-size: 13px; font-weight: 700; }
.cb-acc-crit.ecarte { border-style: dashed; border-color: #9fb6d1; color: var(--cba-texte2); text-decoration: line-through; }
.cb-acc-crit-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #e6f0fb;
  color: #0b4a8c; font-size: 12px; font-weight: 800; line-height: 1; text-decoration: none; }
.cb-acc-crit-x:hover { background: #d6e7f9; color: #0b4a8c; text-decoration: none; }
.cb-acc-crit.ecarte .cb-acc-crit-x { background: #eef1f5; color: var(--cba-texte2); }

/* « Pas en stock ? Je vous le trouve. » */
.cb-acc-jb { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 24px; border-radius: 22px;
  background: #f6faf7; border: 1px solid #d5e8db; }
.cb-acc-jb-t { display: flex; flex-direction: column; gap: 4px; flex: 1 1 340px; }
.cb-acc-jb-titre { font-size: 20px; font-weight: 800; color: var(--cba-noir); }
.cb-acc-jb-texte { font-size: 14px; line-height: 1.5; color: #4d5562; }
.cb-acc-jb-zone { display: flex; flex-direction: column; gap: 8px; flex: 1 1 520px; }
.cb-acc-jb-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.cb-acc-jb-form[hidden] { display: none; }
.cb-acc-jb-form input { flex: 1 1 140px; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid #c9d8cd; border-radius: 14px; background: #ffffff;
  font: inherit; font-size: 15px; color: var(--cba-noir); box-shadow: none; }
.cb-acc-jb-form input:focus { outline: 0; border-color: #1f7a4a; box-shadow: 0 0 0 3px rgba(31, 122, 74, .15); }
.cb-acc-jb-envoyer { flex: 1 1 160px; height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: #1f7a4a; color: #ffffff;
  font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.cb-acc-jb-envoyer:hover { background: #18623b; }
.cb-acc-jb-envoyer[disabled] { opacity: .7; cursor: wait; }
.cb-acc-jb-err { margin: 0; font-size: 14px; font-weight: 600; color: #a1321f; }
.cb-acc-jb-ok { margin: 0; font-size: 16px; font-weight: 700; color: #1f6a35; }
.cb-acc-jb-sans { margin: 0; font-size: 15px; color: #4d5562; }
.cb-acc-jb-sans a { font-weight: 700; }

@media (max-width: 767px) {
  .cb-acc-pl { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; border-radius: 20px; }
  .cb-acc-pl-g { flex: none; gap: 8px; }
  .cb-acc-pl-av, .cb-acc-pl-av svg { width: 36px; height: 36px; }
  .cb-acc-pl-qui { display: none; }
  .cb-acc-pl-bulle { padding: 9px 12px; font-size: 14px; }
  .cb-acc-pl-d { flex: none; padding-left: 44px; }
  .cb-acc-pl-sur { display: none; }
  .cb-acc-jb { padding: 16px; gap: 12px; }
  .cb-acc-jb-titre { font-size: 18px; }
  .cb-acc-jb-zone { flex: none; }
}
