.collections-section {
  padding: 20px 0;
  background: #fff;
  border-bottom: 8px solid #f0f0f0;
}

.collections-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 14px;
}

.collections-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.collections-link {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #F05A1A;
  text-decoration: none;
}
.collections-link svg {
  width: 16px;
  height: 16px;
  stroke: #F05A1A;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collections-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.collections-scroll::-webkit-scrollbar {
  display: none;
}

.col-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  text-decoration: none;
}

.col-img {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
}

.col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.col-item:active .col-img img {
  transform: scale(1.04);
}

.col-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.col-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55) 100%);
  border-radius: 16px;
}

.col-label {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}



/*Tablettes (Mode paysage) et petits ordinateurs */
@media (min-width: 769px) {
  .collections-scroll {
    display: flex !important;
    overflow-x:auto;
    padding: 0 14px;
    gap: 14px;
  }
  .col-item {
    flex-shrink: 0;
    width: 160px; /* ← AJOUT : fixe la largeur pour forcer le scroll */
  }
  .col-img {
    width: 100%;
    height: 160px;
  }
  .collections-title {
    font-size: 20px;
  }
    .collections-section {
    padding: 24px 0;
  }

  .collections-header {
    padding: 0 32px 16px;
  }
  .col-img {
    width: 100%;
    height: 170px;
  }
}

/*Ordinateurs portables et écrans standards */
@media (min-width: 1025px) {
  /* Votre CSS ici */
}