/* Cycles Blain — panneau « Nos vélos » dans le menu Bonpresta (v1.7.0 : carte entière cliquable) + badge Google.
   Id doublé pour passer devant les styles du thème ; remise à zéro des liens et des blocs du menu. */
#cb-mv#cb-mv { --b: #0b5cad; --bf: #07437f; --e: #0f1720; --g: #4a5565; --l: #e3e7ee; box-sizing: border-box; width: 100%; max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); gap: 36px; padding: 26px 32px 30px; font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif; font-size: 14px; line-height: 1.4; color: var(--e); text-align: left; text-transform: none; letter-spacing: normal; white-space: normal; }
#cb-mv#cb-mv *, #cb-mv#cb-mv *::before, #cb-mv#cb-mv *::after { box-sizing: border-box; }
#cb-mv#cb-mv a, #cb-mv#cb-mv span, #cb-mv#cb-mv label, #cb-mv#cb-mv div { float: none; width: auto; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; background: none; text-align: left; text-transform: none; letter-spacing: normal; text-decoration: none; line-height: 1.4; }
#cb-mv#cb-mv a { display: inline; color: inherit; font-size: inherit; font-weight: inherit; }
#cb-mv#cb-mv a::before, #cb-mv#cb-mv a::after { content: none; }
#cb-mv#cb-mv a:focus-visible, #cb-mv#cb-mv button:focus-visible, #cb-mv#cb-mv input:focus-visible { outline: 2px solid var(--b); outline-offset: 2px; }

/* Gauche : types et marques */
#cb-mv#cb-mv .cb-mv-gauche { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
#cb-mv#cb-mv .cb-mv-tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
#cb-mv#cb-mv .cb-mv-titre { display: block; font-size: 14px; font-weight: 700; color: var(--g); }
#cb-mv#cb-mv .cb-mv-seg { display: inline-flex; background: #f3f5f8; border-radius: 999px; padding: 4px; }
#cb-mv#cb-mv .cb-mv-seg button { margin: 0; border: 0; border-radius: 999px; padding: 7px 15px; background: transparent; color: #2b3442; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; box-shadow: none; text-transform: none; }
#cb-mv#cb-mv .cb-mv-seg button[aria-pressed="true"] { background: var(--e); color: #fff; }
#cb-mv#cb-mv .cb-mv-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#cb-mv#cb-mv .cb-mv-type { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--l); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
#cb-mv#cb-mv .cb-mv-type:hover { border-color: #9fc1e6; box-shadow: 0 6px 18px rgba(15, 23, 32, .07); }
#cb-mv#cb-mv .cb-mv-ic { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; background: #eef5fd; color: var(--b); }
#cb-mv#cb-mv .cb-mv-ic svg { display: block; width: 30px; height: 30px; }
#cb-mv#cb-mv .cb-mv-texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#cb-mv#cb-mv .cb-mv-nom { display: block; font-size: 16px; font-weight: 800; color: var(--e); line-height: 1.25; }
#cb-mv#cb-mv .cb-mv-nom:hover { color: var(--b); }
#cb-mv#cb-mv .cb-mv-sous { display: block; font-size: 12px; line-height: 1.5; color: var(--g); }
#cb-mv#cb-mv .cb-mv-sous a { display: inline; white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--g); line-height: 1.5; }
#cb-mv#cb-mv .cb-mv-sous a:not(:last-child)::after { content: "\00a0·"; display: inline; color: #a3abb8; }
#cb-mv#cb-mv .cb-mv-sous a:hover { color: var(--b); text-decoration: underline; }
#cb-mv#cb-mv .cb-mv-marques { display: flex; flex-direction: column; gap: 10px; }
#cb-mv#cb-mv .cb-mv-puces { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#cb-mv#cb-mv .cb-mv-puces a { display: inline-block; padding: 8px 14px; border: 1px solid var(--l); border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--e); }
#cb-mv#cb-mv .cb-mv-puces a:hover { border-color: var(--e); }
#cb-mv#cb-mv .cb-mv-puces a.cb-mv-toutes { border-color: transparent; color: var(--b); }
#cb-mv#cb-mv .cb-mv-puces a.cb-mv-toutes:hover { text-decoration: underline; }

/* Droite : recherche et Bons plans */
#cb-mv#cb-mv .cb-mv-droite { display: flex; flex-direction: column; gap: 14px; }
#cb-mv#cb-mv .cb-mv-cherche { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 16px 18px; border-radius: 16px; background: #f3f7fc; border: 1px solid #dbe6f3; }
#cb-mv#cb-mv .cb-mv-cherche-titre { display: block; font-size: 15px; font-weight: 800; color: var(--e); }
#cb-mv#cb-mv .cb-mv-cherche-ligne { display: flex; gap: 8px; }
#cb-mv#cb-mv .cb-mv-champ { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #fff; border: 2px solid #9fc1e6; border-radius: 12px; color: var(--b); }
#cb-mv#cb-mv .cb-mv-champ:focus-within { border-color: var(--b); }
#cb-mv#cb-mv .cb-mv-champ svg { flex-shrink: 0; }
#cb-mv#cb-mv .cb-mv-champ input { flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; padding: 0; border: 0; outline: none; background: transparent; box-shadow: none; font: inherit; font-size: 14px; color: var(--e); }
#cb-mv#cb-mv .cb-mv-cherche button { margin: 0; padding: 0 16px; min-height: 48px; border: 0; border-radius: 12px; background: var(--b); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; text-transform: none; }
#cb-mv#cb-mv .cb-mv-cherche button:hover { background: var(--bf); }
#cb-mv#cb-mv .cb-mv-cherche-aide { display: block; font-size: 12px; color: var(--g); }
#cb-mv#cb-mv .cb-mv-plans { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 20px; border-radius: 16px; background: #fff4e5; border: 2px solid #f2c94c; color: #3d2a00; }
#cb-mv#cb-mv .cb-mv-plans-titre { display: block; font-size: 17px; font-weight: 800; color: #3d2a00; }
#cb-mv#cb-mv .cb-mv-plans-texte { display: block; font-size: 13px; color: #5c4600; }
#cb-mv#cb-mv .cb-mv-plans-action { display: inline-block; margin-top: 4px; padding: 8px 14px; border-radius: 999px; background: #c62828; color: #fff; font-size: 13px; font-weight: 800; }
#cb-mv#cb-mv .cb-mv-plans:hover .cb-mv-plans-action { background: #a61f1f; }
#cb-mv#cb-mv .cb-mv-destock { display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--g); text-decoration: underline; }

/* Ordinateur : ouverture au survol ; à la sortie, le panneau reste ouvert près d'une demi-seconde,
   le temps de rejoindre le panneau ou de corriger un écart de souris */
@media (min-width: 992px) {
  .cb-mv-li > .popover.cb-mv-pop { display: block !important; visibility: hidden; opacity: 0; transition: opacity .15s ease .3s, visibility 0s linear .45s; }
  .cb-mv-li:hover > .popover.cb-mv-pop, .cb-mv-li:focus-within > .popover.cb-mv-pop { visibility: visible; opacity: 1; transition: opacity .12s ease .06s, visibility 0s linear 0s; }
}
@media (min-width: 992px) and (max-width: 1299px) {
  #cb-mv#cb-mv { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; padding: 22px 20px 26px; }
  #cb-mv#cb-mv .cb-mv-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Téléphone et tablette : le sous-menu s'ouvre dans le menu mobile de Bonpresta */
@media (max-width: 991px) {
  #cb-mv#cb-mv { grid-template-columns: 1fr; gap: 18px; padding: 10px 0 18px; }
  /* La loupe de l'en-tête suffit sur téléphone : on garde seulement Bons plans à droite */
  #cb-mv#cb-mv .cb-mv-cherche { display: none; }
  #cb-mv#cb-mv .cb-mv-plans { padding: 12px 14px; }
  #cb-mv#cb-mv .cb-mv-tete { flex-direction: column; align-items: stretch; gap: 8px; }
  #cb-mv#cb-mv .cb-mv-seg { display: flex; }
  #cb-mv#cb-mv .cb-mv-seg button { flex: 1 1 0; padding: 8px 6px; }
  #cb-mv#cb-mv .cb-mv-types { grid-template-columns: 1fr; gap: 0; }
  #cb-mv#cb-mv .cb-mv-type { border: 0; border-bottom: 1px solid var(--l); border-radius: 0; padding: 10px 2px; box-shadow: none; }
  #cb-mv#cb-mv .cb-mv-ic { width: 40px; height: 40px; border-radius: 10px; }
  #cb-mv#cb-mv .cb-mv-ic svg { width: 24px; height: 24px; }
}

/* v1.5.0 — badge Google flottant (module afgooglereviews) : petite pastille sur téléphone, sans rien cacher */
@media (max-width: 767px) {
  html body #googleFloatingBadge { left: auto !important; right: 10px !important; bottom: 10px !important; top: auto !important; width: auto !important; height: auto !important; min-width: 0 !important; padding: 5px 10px !important; border-radius: 999px !important; box-shadow: 0 2px 10px rgba(15, 23, 32, .18) !important; transform: none !important; }
  html body #googleFloatingBadge .review-global { display: flex !important; align-items: center !important; gap: 6px !important; margin: 0 !important; padding: 0 !important; }
  html body #googleFloatingBadge #logoGoogle { width: 16px !important; height: 16px !important; min-width: 16px !important; margin: 0 !important; background-size: contain !important; background-repeat: no-repeat !important; }
  html body #googleFloatingBadge .ratingRight { display: flex !important; align-items: center !important; gap: 4px !important; margin: 0 !important; padding: 0 !important; font-size: 13px !important; line-height: 1.2 !important; }
  html body #googleFloatingBadge .ratingRight > span { font-size: 14px !important; font-weight: 700 !important; }
  html body #googleFloatingBadge .ratingRight a, html body #googleFloatingBadge .ratingRight a span { font-size: 12px !important; }
  html body #googleFloatingBadge .iconsReviews { display: none !important; }
}

/* v1.7.0 — toute la carte d'un type est cliquable (les petits liens de catégories restent cliquables à part) */
#cb-mv#cb-mv .cb-mv-type { position: relative; cursor: pointer; }
#cb-mv#cb-mv .cb-mv-nom::after { content: ""; position: absolute; inset: 0; border-radius: 14px; z-index: 0; }
#cb-mv#cb-mv .cb-mv-sous a, #cb-mv#cb-mv .cb-mv-ic { position: relative; z-index: 1; }
#cb-mv#cb-mv .cb-mv-type:hover .cb-mv-nom { color: var(--b); }
@media (max-width: 991px) { #cb-mv#cb-mv .cb-mv-nom::after { border-radius: 0; } }

/* ================= v1.8.0 ================= */
/* Premier choix : Tous / Électriques / Musculaires, en gros, tout en haut */
#cb-mv#cb-mv .cb-mv-tete { display: block; }
#cb-mv#cb-mv .cb-mv-seg { display: flex; width: 100%; gap: 6px; padding: 6px; border-radius: 16px; background: #f3f5f8; }
#cb-mv#cb-mv .cb-mv-seg button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 14px; border-radius: 12px; background: #ffffff; color: #0f1720; font-size: 16px; font-weight: 800; }
#cb-mv#cb-mv .cb-mv-seg button svg { color: #0b5cad; }
#cb-mv#cb-mv .cb-mv-seg button:hover { color: #0b5cad; }
#cb-mv#cb-mv .cb-mv-seg button[aria-pressed="true"] { background: #0f1720; color: #ffffff; }
#cb-mv#cb-mv .cb-mv-seg button[aria-pressed="true"] svg { color: #9cc3ef; }
/* Marques : logos en noir, même hauteur */
#cb-mv#cb-mv .cb-mv-marques-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
#cb-mv#cb-mv .cb-mv-marques-tete .cb-mv-titre { font-size: 15px; font-weight: 800; color: #0f1720; }
#cb-mv#cb-mv .cb-mv-toutes { font-size: 14px; font-weight: 700; color: var(--b); }
#cb-mv#cb-mv .cb-mv-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
#cb-mv#cb-mv .cb-mv-logos a { display: flex; align-items: center; justify-content: center; height: 60px; padding: 0 12px; border: 1px solid var(--l); border-radius: 12px; background: #ffffff; font-size: 14px; font-weight: 800; color: #0f1720; overflow: hidden; }
#cb-mv#cb-mv .cb-mv-logos a:hover { border-color: #0f1720; }
#cb-mv#cb-mv .cb-mv-logos img { display: block; max-width: 82%; max-height: 30px; width: auto; height: auto; object-fit: contain; }
#cb-mv#cb-mv .cb-mv-logos img.cb-logo-long { max-height: 24px; }
#cb-mv#cb-mv .cb-mv-logos img.cb-logo-compact { max-height: 36px; }
#cb-mv#cb-mv .cb-mv-logos a span { display: none; }
#cb-mv#cb-mv .cb-mv-logos a.cb-sans-logo img { display: none; }
#cb-mv#cb-mv .cb-mv-logos a.cb-sans-logo span { display: inline; }
/* Trouver mon vélo : une invitation, pas une phrase déjà tapée */
#cb-mv#cb-mv .cb-mv-cherche-intro { display: block; font-size: 13px; line-height: 1.45; color: #2b3442; }
@media (max-width: 991px) {
  #cb-mv#cb-mv .cb-mv-seg button { min-height: 48px; font-size: 15px; padding: 0 6px; }
  #cb-mv#cb-mv .cb-mv-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #cb-mv#cb-mv .cb-mv-logos a { height: 52px; }
}

/* ===== 1.9.8 — étiquette « Reconditionné » (fiche et vignettes du thème, toutes les pages) ===== */
.product-flag.cb-reconditionne { background: #fdf0c4 !important; color: #6b4a00 !important; font-weight: 800; border-radius: 999px; }
.product-miniature:has(.product-flag.cb-reconditionne) .thumbnail-container,
.product-miniature:has(.product-flag.cb-reconditionne) .product-thumbnail-container { outline: 2px solid #e8c45c; outline-offset: -2px; border-radius: 16px; background: #fffaf0; }

/* ===== 1.9.12 — vignettes harmonisées (maquette validée) : photo arrondie partout, occasions encadrées de jaune avec l'étiquette en coin ===== */
.product-miniature .thumbnail-container img, .product-miniature .product-thumbnail img, .product-miniature .product-thumbnail-container img { border-radius: 16px; }
.product-miniature:has(.product-flag.cb-reconditionne) .thumbnail-container,
.product-miniature:has(.product-flag.cb-reconditionne) .product-thumbnail-container { outline: none; border: 3px solid #f2c94c; border-radius: 22px; background: #ffffff; overflow: hidden; }
.product-miniature .product-flag.cb-reconditionne { background: #f2c94c !important; color: #3d2b00 !important; border-radius: 0 0 14px 0 !important; padding: 7px 12px !important; font-size: 12px !important; font-weight: 800; }

/* ===== 1.9.13 — favoris et comparateur (modules Bonpresta bonwishlist / boncompare) retirés de partout pour l'instant : ils reviendront à l'étape 2 ===== */
.bonwishlist-hook-wrapper, .boncompare-hook-wrapper, #bonwishlist, #boncompare, #boncompare-popup, #wishlist-popup,
.wish-button, .compare-button, .wishlist-tooltip, .compare-tooltip { display: none !important; }

/* 1.9.15 — étiquettes « Nouveau » et « Indisponible » retirées (filet de sécurité si le thème les affiche quand même) */
.product-flags .product-flag.new, .product-flags .product-flag.out_of_stock { display: none !important; }
