/* Cycles Blain — 1.9.81 : rayon Pièces & entretien (maquette validée le 24/11/2026). Charte v1.1 : tokens uniquement,
   Inter Tight 500 (titres) + Inter, tomette pour le seul bouton principal (Rechercher). */
.cb-acc.cbp { font-family: var(--cb-police-texte, "Inter", system-ui, sans-serif); color: var(--cb-noir, #111111); }

/* ---------- bandeau ---------- */
.cbp .cbp-hero { position: relative; overflow: hidden; margin: 8px 0 0; min-height: 250px; border-radius: var(--cb-rayon-photo, 4px);
  background: var(--cb-gris, #E4E4E2) var(--cbp-pc) right center / cover no-repeat; }
.cbp .cbp-hero-in { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 700px; padding: 40px 40px 32px; }
.cb-acc.cbp .cbp-titre { margin: 0; font-family: var(--cb-police-titre, "Inter Tight", system-ui, sans-serif); font-weight: 500; font-size: 52px;
  line-height: .95; letter-spacing: -0.03em; color: var(--cb-noir, #111111); text-transform: none; text-shadow: none; }
.cb-acc.cbp .cbp-titre::after { content: "."; }
.cbp .cbp-cherche { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; margin: 0; }
.cbp .cbp-champ { flex: 1 1 360px; display: flex; align-items: center; gap: 10px; height: 56px; margin: 0; padding: 0 16px;
  background: var(--cb-blanc, #FFFFFF); border-radius: var(--cb-rayon-bouton, 8px); color: var(--cb-noir, #111111); cursor: text; }
.cbp .cbp-champ:focus-within { box-shadow: inset 0 0 0 1.5px var(--cb-noir, #111111); }
.cb-acc.cbp .cbp-champ input[type=search] { -webkit-appearance: none; appearance: none; border: 0 !important; border-radius: 0; box-shadow: none !important; padding: 0 !important; margin: 0; }
.cbp .cbp-champ input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font: 400 16px/1.2 var(--cb-police-texte, "Inter", sans-serif); color: var(--cb-noir, #111111); }
.cbp .cbp-champ input::placeholder { color: var(--cb-texte-3, #5C5C5C); opacity: 1; }
.cbp .cbp-bouton { height: 56px; padding: 0 24px; border: 0; border-radius: var(--cb-rayon-bouton, 8px); background: var(--cb-tomette, #B5523B);
  color: var(--cb-blanc, #FFFFFF); font: 500 16px/1 var(--cb-police-texte, "Inter", sans-serif); cursor: pointer;
  transition: background .2s ease, transform .2s ease; }
.cbp .cbp-bouton:hover, .cbp .cbp-bouton:focus-visible { background: var(--cb-tomette-survol, #9A4532); transform: translateY(-1px); }

/* ---------- retour + petite ligne de liens ---------- */
.cbp .cbp-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 14px 0 0; }
.cbp .cbp-zone > .cbp-bloc:first-child { margin-top: 20px; }
.cbp .cbp-retour { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--cb-texte-2, #3A3A3A); text-decoration: none; }
.cbp .cbp-retour:hover { color: var(--cb-noir, #111111); }
.cbp .cbp-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; color: var(--cb-texte-3, #5C5C5C); }
.cbp .cbp-ligne a { color: var(--cb-texte-2, #3A3A3A); text-decoration: underline; text-underline-offset: 3px; }
.cbp .cbp-ligne a:hover { color: var(--cb-noir, #111111); }
.cbp .cbp-ligne a.actif { color: var(--cb-noir, #111111); font-weight: 500; text-decoration: none; }

/* ---------- bloc des questions ---------- */
@keyframes cbpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cbpPop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.cbp .cbp-bloc { margin-top: 28px; padding: 28px 32px 32px; border-radius: var(--cb-rayon-bouton, 8px); background: var(--cb-fond-2, #F5F5F3); }
.cbp .cbp-reps { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.cbp .cbp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cbp .cbp-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--cb-filet, #DADAD7);
  border-radius: var(--cb-rayon-etiquette, 6px); background: var(--cb-blanc, #FFFFFF); font-size: 14px; font-weight: 500; color: var(--cb-noir, #111111);
  text-decoration: none; animation: cbpPop .25s var(--cb-anim, ease) both; transition: border-color .2s ease; }
.cbp .cbp-chip.passe { color: var(--cb-texte-3, #5C5C5C); font-weight: 400; }
.cbp .cbp-chip .cbp-coche { color: var(--cb-tomette, #B5523B); }
.cbp .cbp-chip .cbp-x { color: var(--cb-texte-3, #5C5C5C); }
.cbp .cbp-chip:hover { border-color: var(--cb-noir, #111111); color: var(--cb-noir, #111111); }
.cbp .cbp-recommencer { font-size: 14px; color: var(--cb-texte-2, #3A3A3A); text-decoration: underline; text-underline-offset: 3px; }
.cbp .cbp-recommencer:hover { color: var(--cb-noir, #111111); }

.cbp .cbp-q { animation: cbpIn .35s var(--cb-anim, ease) both; }
.cbp .cbp-q-tete { display: flex; align-items: flex-start; gap: 14px; }
.cbp .cbp-av { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--cb-rayon-rond, 999px);
  border: 1px solid var(--cb-filet, #DADAD7); background: var(--cb-blanc, #FFFFFF); color: var(--cb-noir, #111111); }
.cbp .cbp-av-ok { color: var(--cb-tomette, #B5523B); }
.cbp .cbp-qui { margin: 0; font-size: 13px; line-height: 1.4; color: var(--cb-texte-3, #5C5C5C); }
.cbp .cbp-titre-q { margin: 2px 0 0; font-family: var(--cb-police-titre, "Inter Tight", system-ui, sans-serif); font-weight: 500; font-size: 28px;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--cb-noir, #111111); text-transform: none; }
.cbp .cbp-aide { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--cb-texte-3, #5C5C5C); }

.cbp .cbp-cases, .cbp .cbp-tuiles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-left: 58px; }
.cbp .cbp-case { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; width: 160px; min-height: 104px;
  padding: 14px; border: 1px solid var(--cb-filet, #DADAD7); border-radius: var(--cb-rayon-bouton, 8px); background: var(--cb-blanc, #FFFFFF);
  color: var(--cb-noir, #111111); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cbp .cbp-case:hover, .cbp .cbp-case:focus-visible { transform: translateY(-3px); border-color: var(--cb-noir, #111111); box-shadow: var(--cb-ombre-flottant, 0 24px 48px rgba(17,17,17,.08)); color: var(--cb-noir, #111111); }
.cbp .cbp-case:hover .cbp-ico { color: var(--cb-tomette, #B5523B); }
.cbp .cbp-ico { transition: color .2s ease; }
.cbp .cbp-gros { font-family: var(--cb-police-titre, "Inter Tight", system-ui, sans-serif); font-weight: 500; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.cbp .cbp-case-txt { display: flex; flex-direction: column; gap: 2px; }
.cbp .cbp-case-nom { font-size: 15px; font-weight: 500; line-height: 1.3; }
.cbp .cbp-case-sous { font-size: 13px; line-height: 1.35; color: var(--cb-texte-3, #5C5C5C); }
.cbp .cbp-passer { margin: 14px 0 0; padding-left: 58px; }
.cbp .cbp-passer a { font-size: 14px; color: var(--cb-texte-3, #5C5C5C); text-decoration: underline; text-underline-offset: 3px; }
.cbp .cbp-passer a:hover { color: var(--cb-noir, #111111); }

.cbp .cbp-tuile { position: relative; overflow: hidden; display: block; width: 168px; height: 118px; border-radius: var(--cb-rayon-bouton, 8px);
  background: var(--cb-fond-produit, #E8E8E4); transition: transform .2s ease, box-shadow .2s ease; }
.cbp .cbp-tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cb-anim, ease); }
.cbp .cbp-tuile:hover, .cbp .cbp-tuile:focus-visible { transform: translateY(-3px); box-shadow: var(--cb-ombre-flottant, 0 24px 48px rgba(17,17,17,.08)); }
.cbp .cbp-tuile:hover img { transform: scale(1.04); }
.cbp .cbp-tuile-nom { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 9px; border-radius: var(--cb-rayon-etiquette, 6px);
  background: var(--cb-blanc, #FFFFFF); font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--cb-noir, #111111); }

.cbp .cbp-fin { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- nombre de produits + tri ---------- */
.cbp .cbp-compte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 0 18px; }
.cbp .cbp-nb { margin: 0; font-family: var(--cb-police-titre, "Inter Tight", system-ui, sans-serif); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.cbp .cbp-tri { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--cb-texte-3, #5C5C5C); }
.cbp .cbp-tri label { margin: 0; font-weight: 400; }
.cbp .cbp-tri select { height: 36px; padding: 0 8px; border: 1px solid var(--cb-filet, #DADAD7); border-radius: var(--cb-rayon-etiquette, 6px);
  background: var(--cb-blanc, #FFFFFF); font: 400 14px var(--cb-police-texte, "Inter", sans-serif); color: var(--cb-noir, #111111); }
.cbp .cbp-zone.charge { opacity: .55; transition: opacity .2s ease; pointer-events: none; }

/* ---------- téléphone ---------- */
@media (max-width: 767px) {
  .cbp .cbp-hero { min-height: 0; background-image: var(--cbp-tel); background-position: 85% center; }
  .cbp .cbp-hero-in { padding: 24px 16px 18px; gap: 14px; }
  .cb-acc.cbp .cbp-titre { font-size: 34px; }
  .cbp .cbp-champ { flex-basis: 100%; height: 52px; }
  .cbp .cbp-bouton { width: 100%; height: 48px; }
  .cbp .cbp-bloc { padding: 20px 16px 22px; }
  .cbp .cbp-titre-q { font-size: 22px; }
  .cbp .cbp-cases, .cbp .cbp-tuiles, .cbp .cbp-passer { padding-left: 0; }
  .cbp .cbp-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cbp .cbp-case { width: auto; min-height: 92px; }
  .cbp .cbp-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cbp .cbp-tuile { width: auto; height: auto; aspect-ratio: 640 / 420; }
}
@media (prefers-reduced-motion: reduce) {
  .cbp .cbp-q, .cbp .cbp-chip { animation: none; }
  .cbp .cbp-case, .cbp .cbp-tuile, .cbp .cbp-tuile img { transition: none; }
}
