.produits-navigation {
  position: relative;
}

.produits-swiper {
  overflow: hidden;
}

.produits-swiper .swiper-wrapper {
  justify-content: center;
}

/* =========================
   SLIDES — selecteur fort pour surcharger .swiper-slide { width: 100% }
   ========================= */
.produits-swiper .swiper-slide.produit-slide {
  width: 240px !important;
  flex-shrink: 0;
  cursor: pointer;
}

.produit-slide-cover {
  width: 240px;
  height: 240px;
  overflow: hidden;
  border-radius: 20px;
}

.produit-slide-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.produit-slide-nocover {
  width: 100%;
  height: 100%;
  background: var(--bleu, #1C5EA2);
  opacity: 0.1;
}

.produit-slide-titre p {
  margin-top: var(--space-elements, 15px);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
  color: #fff;
}

/* =========================
   PANEL OVERLAY
   ========================= */
.produit-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.produit-panel.is-active {
  opacity: 1;
  visibility: visible;
}

.produit-panel-inner {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}

@media only screen and (min-width: 768px) {
  .produit-panel-inner {
    flex-direction: row;
  }
}

/* Panel cover (gauche) */
.produit-panel-cover {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 20px;
  flex-shrink: 0;
}

@media only screen and (min-width: 768px) {
  .produit-panel-cover {
    width: 20%;
    max-width: 20%;
  }
}

.produit-panel-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Panel details (droite) */
.produit-panel-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 40px;
}

@media only screen and (min-width: 768px) {
  .produit-panel-details {
    width: 80%;
  }
}

.produit-panel-header {
  margin-bottom: 25px;
}

.produit-panel-title {
  margin: 0;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.produit-panel-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--bleu, #1C5EA2);
  cursor: pointer;
  padding: 5px;
  z-index: 2;
}

.produit-panel-close:hover {
  opacity: 0.7;
}

/* Panel links */
.produit-panel-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  columns: 2;
  column-gap: 30px;
}

.produit-panel-links ul li {
  margin-bottom: 10px;
}

.produit-panel-links ul li a {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: padding-left 0.2s ease;
}

.produit-panel-links ul li a::before {
  content: '>';
  margin-right: 10px;
  font-weight: bold;
  color: var(--bleu, #1C5EA2);
}

.produit-panel-links ul li a:hover {
  padding-left: 5px;
  color: var(--bleu, #1C5EA2);
}

/* Bouton "Voir la page" */
.produit-panel-btn {
  display: inline-block;
  background: var(--bleu, #1C5EA2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  transition: opacity 0.2s ease;
}

.produit-panel-btn:hover {
  opacity: 0.85;
  color: #fff;
}

/* =========================
   NAVIGATION
   ========================= */
.produits-navigation-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.produits-nav-prev,
.produits-nav-next {
  pointer-events: auto;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.produits-nav-prev:hover,
.produits-nav-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.produits-nav-prev svg,
.produits-nav-next svg {
  display: none;
}

.produits-nav-prev::after,
.produits-nav-next::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.produits-nav-next::after {
  transform: rotate(45deg);
  margin-left: -3px;
}

.produits-nav-prev::after {
  transform: rotate(-135deg);
  margin-right: -3px;
}
