/* MF Category Slider — front (page catégorie) */
.mfcs-hero {
  margin: 0 0 20px;
}
.mfcs-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 8px;
}
.mfcs-track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.mfcs-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.mfcs-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.mfcs-slide a {
  display: block;
}

/* Flèches */
.mfcs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease;
}
.mfcs-arrow:hover {
  background: rgba(0, 0, 0, .65);
}
.mfcs-prev { left: 10px; }
.mfcs-next { right: 10px; }

/* Puces */
.mfcs-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.mfcs-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  cursor: pointer;
}
.mfcs-dots button.is-active {
  background: #fff;
}

/* Affichage responsive quand desktop ET mobile sont fournis */
.mfcs-hero.mfcs-both .mfcs-mobile { display: none; }
@media (max-width: 767px) {
  .mfcs-hero.mfcs-both .mfcs-desktop { display: none; }
  .mfcs-hero.mfcs-both .mfcs-mobile { display: block; }
}

/* CTA sous le slider */
.mfcs-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 14px;
}
.mfcs-cta {
  display: inline-block;
  padding: 11px 22px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: filter .15s ease, transform .05s ease;
}
.mfcs-cta:hover { filter: brightness(0.93); text-decoration: none; }
.mfcs-cta:active { transform: translateY(1px); }
.mfcs-cta--square { border-radius: 0; }
.mfcs-cta--rounded { border-radius: 8px; }
.mfcs-cta--pill { border-radius: 999px; }
