/* Bareshoes.fr — Suggestions de la fiche produit (module bareshoes_suggestions)
   Maquette validée le 29/10/2026 : « Complétez votre achat » + « Vous aimerez aussi » (carrousel, onglets). */

.bhs-reco { clear: both; width: 100%; padding: 16px 0 64px; display: flex; flex-direction: column; gap: 64px; font-family: Manrope, Arial, Helvetica, sans-serif; color: #141414; }
.bhs-reco *, .bhs-reco *::before, .bhs-reco *::after { box-sizing: border-box; }
.bhs-reco svg:not(:root) { width: 18px; height: 18px; } /* theme.css impose 5 px aux svg */

.bhs-reco__entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.bhs-reco__entete-g { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bhs-reco__titre { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; text-transform: none; letter-spacing: 0; color: #141414; text-align: left; }
.bhs-reco__titre--petit { font-size: 22px; }
.bhs-reco__sous-titre { margin: 4px 0 0; font-size: 14px; color: #5e5e5e; }
.bhs-reco__marque { display: block; font-size: 12px; color: #5e5e5e; }
.bhs-reco__prix { display: block; font-size: 15px; font-weight: 700; }
.bhs-reco__prix .is-remise { color: #c8102e; }
.bhs-reco__prix s { margin-left: 6px; font-size: 13px; font-weight: 500; color: #5e5e5e; }
.bhs-reco button { font-family: inherit; }
.bhs-reco button:focus-visible, .bhs-reco a:focus-visible { outline: 2px solid #141414; outline-offset: 3px; }

/* ---------- 1. Complétez votre achat ---------- */
/* Panneau bleu brume, compact, détaché de « Vous aimerez aussi » (choix d'Ophélie du 29/10 : bleu = information ; le vert tendre, couleur de validation, a été écarté) */
.bhs-reco__complements { padding: 22px 24px 24px; border-radius: 16px; background: #eef4f8; }
.bhs-reco__complements .bhs-reco__entete { margin-bottom: 16px; }
.bhs-reco__complements .bhs-reco__entete > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.bhs-reco__complements .bhs-reco__titre--petit { font-size: 20px; }
.bhs-reco__complements .bhs-reco__sous-titre { margin: 0; color: #4a5a68; }
.bhs-reco__complements .bhs-reco__entete { align-items: center; }
.bhs-reco__lien-acc { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: #141414; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.bhs-reco__lien-acc:hover { color: #ff0066; }
.bhs-reco__lien-acc svg { transition: transform .15s; }
.bhs-reco__lien-acc:hover svg { transform: translateX(3px); }
.bhs-reco__cx-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bhs-reco__cx { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 12px; background: #fff; }
.bhs-reco__cx-img { flex: none; width: 72px; height: 72px; border-radius: 8px; background: #f4f4f4; overflow: hidden; display: block; }
.bhs-reco__cx-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bhs-reco__cx-txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bhs-reco__cx-nom { font-size: 14px; font-weight: 600; line-height: 1.3; color: #141414; text-decoration: none; }
.bhs-reco__cx-nom:hover { color: #ff0066; }
.bhs-reco__cx .bhs-reco__prix { font-size: 14px; }
.bhs-reco__cx-info { font-size: 12px; color: #5e5e5e; }
.bhs-reco__cx-info:empty { display: none; }
.bhs-reco__cx-info.is-erreur { color: #c8102e; }
.bhs-reco__plus { flex: none; width: 44px; height: 44px; border: 0; border-radius: 99px; background: #141414; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s, background .15s; }
.bhs-reco__plus:hover { transform: scale(1.06); }
.bhs-reco__plus[aria-busy="true"] { opacity: .6; cursor: progress; }
.bhs-reco__ic-ok { display: none; }
.bhs-reco__cx.is-ajoute .bhs-reco__plus { background: #abe60b; color: #141414; }
.bhs-reco__cx.is-ajoute .bhs-reco__ic-plus { display: none; }
.bhs-reco__cx.is-ajoute .bhs-reco__ic-ok { display: block; }
.bhs-reco__ic-retirer { display: none; }
/* Article ajouté : au survol (ou au clavier), la coche devient une croix, le clic le retire du panier */
.bhs-reco__cx.is-ajoute .bhs-reco__plus:hover, .bhs-reco__cx.is-ajoute .bhs-reco__plus:focus-visible { background: #141414; color: #fff; }
.bhs-reco__cx.is-ajoute .bhs-reco__plus:hover .bhs-reco__ic-ok, .bhs-reco__cx.is-ajoute .bhs-reco__plus:focus-visible .bhs-reco__ic-ok { display: none; }
.bhs-reco__cx.is-ajoute .bhs-reco__plus:hover .bhs-reco__ic-retirer, .bhs-reco__cx.is-ajoute .bhs-reco__plus:focus-visible .bhs-reco__ic-retirer { display: block; }
@media (hover: none) { .bhs-reco__cx.is-ajoute .bhs-reco__plus:hover { background: #abe60b; color: #141414; } .bhs-reco__cx.is-ajoute .bhs-reco__plus:hover .bhs-reco__ic-ok { display: block; } .bhs-reco__cx.is-ajoute .bhs-reco__plus:hover .bhs-reco__ic-retirer { display: none; } }
.bhs-reco__tailles { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid #ececec; }
.bhs-reco__tailles[hidden] { display: none; }
.bhs-reco__tailles-titre { font-size: 12px; font-weight: 700; }
.bhs-reco__tailles-liste { display: flex; flex-wrap: wrap; gap: 6px; }
.bhs-reco__taille { min-height: 44px; padding: 0 12px; border: 1px solid #d6d6d6; border-radius: 8px; background: #fff; color: #141414; font-size: 13px; font-weight: 600; cursor: pointer; }
.bhs-reco__taille:hover { border-color: #141414; }
.bhs-reco__taille[disabled] { background: #f7f7f7; border-color: #ececec; color: #8a8a8a; text-decoration: line-through; cursor: not-allowed; }

/* ---------- 2. Vous aimerez aussi ---------- */
.bhs-reco__onglets { display: flex; flex-wrap: wrap; gap: 8px; }
.bhs-reco__onglet { min-height: 44px; padding: 0 18px; border: 1.5px solid #d6d6d6; border-radius: 99px; background: #fff; color: #141414; font-size: 14px; font-weight: 600; cursor: pointer; }
.bhs-reco__onglet:hover { border-color: #141414; }
.bhs-reco__onglet[aria-selected="true"] { background: #141414; border-color: #141414; color: #fff; }
.bhs-reco__nav { display: flex; align-items: center; gap: 10px; }
.bhs-reco__tout { margin-right: 10px; font-size: 14px; font-weight: 700; color: #141414; text-decoration: underline; text-underline-offset: 3px; }
.bhs-reco__tout:hover { color: #ff0066; }
.bhs-reco__tout[hidden] { display: none; }
.bhs-reco__fleche { width: 44px; height: 44px; border: 1.5px solid #141414; border-radius: 99px; background: #fff; color: #141414; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bhs-reco__fleche:hover { background: #141414; color: #fff; }
.bhs-reco__fleche[disabled] { border-color: #e4e4e4; color: #b5b5b5; background: #fff; cursor: default; }
.bhs-reco__panneau[hidden] { display: none; }
.bhs-reco__piste { list-style: none; margin: 0; padding: 0 0 4px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4.25); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.bhs-reco__piste::-webkit-scrollbar { display: none; }
.bhs-reco__carte { scroll-snap-align: start; min-width: 0; }
.bhs-reco__lien { display: flex; flex-direction: column; gap: 4px; color: #141414; text-decoration: none; }
.bhs-reco__lien:hover { color: #141414; }
.bhs-reco__lien:hover .bhs-reco__nom { text-decoration: underline; text-underline-offset: 3px; }
.bhs-reco__img { position: relative; display: block; aspect-ratio: 328 / 351; margin-bottom: 10px; border-radius: 8px; background: #f4f4f4; overflow: hidden; }
.bhs-reco__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.bhs-reco__lien:hover .bhs-reco__img img { transform: scale(1.03); }
.bhs-reco__remise { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 99px; background: #c8102e; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; }
.bhs-reco__nom { font-size: 14px; font-weight: 600; line-height: 1.35; }
.bhs-reco__coloris { font-size: 12px; color: #5e5e5e; }
.bhs-reco__lien .bhs-reco__prix { margin-top: 2px; }
.bhs-reco__progres { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.bhs-reco__barre { position: relative; flex: 1; height: 3px; border-radius: 99px; background: #ececec; overflow: hidden; }
.bhs-reco__barre span { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-radius: 99px; background: #141414; transition: left .2s, width .2s; }
.bhs-reco__compte { font-size: 13px; color: #5e5e5e; white-space: nowrap; }
.bhs-reco__progres.is-inutile { display: none; }

/* Tablette */
@media (max-width: 991px) {
  .bhs-reco { gap: 48px; padding-bottom: 48px; }
  .bhs-reco__cx-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhs-reco__piste { grid-auto-columns: calc((100% - 2 * 16px) / 3.3); gap: 16px; }
}

/* Téléphone : liste verticale des compléments, carrousel au doigt, flèches masquées */
@media (max-width: 767px) {
  .bhs-reco__titre { font-size: 20px; }
  .bhs-reco__titre--petit { font-size: 20px; }
  .bhs-reco__entete { margin-bottom: 14px; }
  .bhs-reco__complements .bhs-reco__entete { display: block; }
    .bhs-reco__cx-liste { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bhs-reco__complements { padding: 16px; border-radius: 12px; }
  .bhs-reco__lien-acc { min-height: 36px; margin-top: 4px; font-size: 13px; }
  .bhs-reco__cx { padding: 10px; gap: 12px; }
  .bhs-reco__cx-img { width: 72px; height: 72px; }
  .bhs-reco__cx-nom { font-size: 13px; }
  .bhs-reco__fleche { display: none; }
  .bhs-reco__aimerez .bhs-reco__entete { align-items: flex-start; }
  .bhs-reco__aimerez .bhs-reco__entete-g { width: 100%; }
  .bhs-reco__nav { position: absolute; top: 4px; right: 0; }
  .bhs-reco__aimerez { position: relative; }
  .bhs-reco__tout { margin: 0; font-size: 13px; }
  .bhs-reco__onglets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .bhs-reco__onglet { flex: none; font-size: 13px; padding: 0 16px; }
  .bhs-reco__piste { grid-auto-columns: 44%; gap: 12px; margin-right: -16px; padding-right: 16px; scroll-padding-left: 0; }
  .bhs-reco__nom { font-size: 13px; }
  .bhs-reco__lien .bhs-reco__prix { font-size: 14px; }
  .bhs-reco__remise { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
}
