/* Bareshoes.fr — « Trouvez votre style » (module bareshoes_styles).
   Vignettes rondes sur fond gris clair, sans ombre ; au survol, la photo grossit légèrement
   et le nom passe en rose Bareshoes. Sur téléphone : une rangée qu'on fait glisser du doigt. */
/* Comme les autres sections de l'accueil du thème (et les modules réassurance / vignettes) : section flottante pleine largeur. */
.bhs-sty { clear: both; float: left; width: 100%; padding: 50px 0 20px; }
.bhs-sty .products-section-title { text-align: center; }
.bhs-sty__liste {
  /* Le thème fait flotter le titre (.products-section-title) : la rangée passe dessous, sur toute la largeur. */
  clear: both; width: 100%;
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--bhs-sty-n, 6), minmax(0, 1fr)); gap: 20px;
}
.bhs-sty__case { margin: 0; padding: 0; min-width: 0; }
.bhs-sty__lien { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; color: #141414; }
.bhs-sty__lien:hover, .bhs-sty__lien:focus { text-decoration: none; }
.bhs-sty__rond {
  position: relative; display: block; width: 100%; max-width: 200px; aspect-ratio: 1 / 1;
  border-radius: 50%; overflow: hidden; background: #f2f1ef;
  /* Safari : garder l'arrondi pendant l'animation du zoom */
  -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate;
}
.bhs-sty__img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%;
  transform: scale(var(--bhs-sty-z, 1)); transition: transform .4s ease;
}
.bhs-sty__nom {
  text-align: center; font-size: 16px; font-weight: 700; letter-spacing: .3px; line-height: 1.3;
  color: #141414; transition: color .3s;
}
@media (hover: hover) {
  .bhs-sty__lien:hover .bhs-sty__img { transform: scale(calc(var(--bhs-sty-z, 1) * 1.05)); }
  .bhs-sty__lien:hover .bhs-sty__nom { color: #ff0066; }
}
.bhs-sty__lien:focus-visible { outline: none; }
.bhs-sty__lien:focus-visible .bhs-sty__rond { outline: 2px solid #ff0066; outline-offset: 3px; }
.bhs-sty__lien:focus-visible .bhs-sty__nom { color: #ff0066; }

/* Tablette : un peu plus serré */
@media (max-width: 991px) {
  .bhs-sty__liste { gap: 14px; }
  .bhs-sty__nom { font-size: 14px; }
}

/* Téléphone : rangée qui défile du doigt, environ 3 ronds et demi visibles pour montrer la suite */
@media (max-width: 767px) {
  .bhs-sty { padding: 36px 0 10px; }
  .bhs-sty__liste {
    display: flex; gap: 14px; margin: 22px -15px 0; padding: 0 15px 6px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding: 0 15px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .bhs-sty__liste::-webkit-scrollbar { display: none; }
  .bhs-sty__case { flex: 0 0 calc((100% - 3 * 14px) / 3.5); scroll-snap-align: start; }
  .bhs-sty__nom { font-size: 14px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bhs-sty__img, .bhs-sty__nom { transition: none; }
}
