/* =====================================================
   TS EQUIPEMENTS – AJUSTEMENTS TÉLÉPHONE (≤ 600 px)
   Chargé en dernier sur les 3 pages. N'agit que sur les
   petits écrans : ordinateur et tablette ne changent pas.
   ===================================================== */
@media (max-width: 600px) {

  /* ── Produits phares : carrousel à glisser, marges égales à gauche et à droite ── */
  .product-carousel {
    margin-left: -5vw;
    margin-right: -5vw;
    padding: 6px 5vw 18px;
    scroll-padding-left: 5vw;
    grid-auto-columns: 76vw;
    gap: 14px;
    align-items: start;              /* plus de grand vide sous les descriptions courtes */
  }
  .product-carousel .product { scroll-snap-align: start; }
  /* indication discrète que la liste se fait glisser */
  #products .section-header::after {
    content: 'Faites glisser pour voir tous les produits  →';
    display: block;
    margin-top: 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .55;
  }

  /* ── Images des fiches : toujours entières, jamais rognées ── */
  .product .pi-sq { height: auto; aspect-ratio: 1 / 1; }
  .product .pi-land,
  .product .pi-bball { height: auto; aspect-ratio: 4 / 3; }
  .product .pi-sq,
  .product .pi-land,
  .product .pi-bball { padding: 12px; box-sizing: border-box; }
  .product .pi-sq img,
  .product .pi-land img,
  .product .pi-bball img { width: 100%; max-width: none; height: 100%; object-fit: contain; border-radius: 8px; }
  .product .badge { z-index: 2; }

  /* ── Bandes défilantes (meilleures ventes, godasses, activités) :
        fondus des bords plus courts pour ne plus « manger » les images ── */
  .scroll-track-wrap::before, .scroll-track-wrap::after,
  .shoe-scroll-wrap::before,  .shoe-scroll-wrap::after,
  .social-scroll-wrap::before, .social-scroll-wrap::after { width: 18px; }
  .scroll-track, .social-track { padding: 10px 16px; gap: 14px; }
  .shoe-track { padding: 12px 16px; gap: 14px; }
  .bs-card { width: 150px; }
  .bs-img, .bs-img img { width: 150px; height: 150px; }
  .shoe-card { width: 168px; }
  .shoe-img, .shoe-img img { width: 168px; height: 168px; }

  /* ── TS Festival : photo vedette affichée en entier (bannière lisible) ── */
  .fx-hero { aspect-ratio: 1080 / 694; }
  .fx-hero img { object-position: center top; }
  .fx-hero-overlay { padding: 40px 14px 12px; }
  .fx-hero-overlay p { font-size: 1.05rem; margin-top: 6px; }
  .fx-hero-badge { font-size: .68rem; padding: 6px 10px; }

  /* ── Cartes « Choisissez votre sport » : texte lisible sur la photo ── */
  .sport-card-overlay { padding: 18px; }

  /* ── Pied de page : liens du bas empilés proprement ── */
  .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }

  /* ── Sécurité : aucune image ni bloc ne dépasse l'écran ── */
  img, video, iframe { max-width: 100%; }
  .section, .festival-section, .godasses-section { overflow-x: clip; }
}

@media (max-width: 380px) {
  .product-carousel { grid-auto-columns: 82vw; }
  .bs-card { width: 136px; }
  .bs-img, .bs-img img { width: 136px; height: 136px; }
  .shoe-card { width: 150px; }
  .shoe-img, .shoe-img img { width: 150px; height: 150px; }
}
