/* Défilement horizontal sur mobile (produits & collections) */
@media (max-width: 767px) {
  .yc-featured-products .product-list,
  .yc-featured-collections .collections-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .yc-featured-products .product-list::-webkit-scrollbar,
  .yc-featured-collections .collections-list::-webkit-scrollbar {
    display: none;
  }

  /* ~2 cartes visibles, la suivante dépasse pour inviter au swipe */
  .yc-featured-products .product-list > * {
    flex: 0 0 44%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .yc-featured-collections .collections-list > .collection-block {
    flex: 0 0 42%;
    min-width: 0;
    scroll-snap-align: start;
  }
}
