#popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in;
}

#popup-container {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  overflow: hidden;
}

#popup-close {
  position: absolute;
  top: 0;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #333;
  cursor: pointer;
}

#popup-slider {
  display: flex;
  transition: transform 0.4s ease;    
  margin: 10px 0 0 0;
}

.popup-slide {
  min-width: calc(100% - 40px);
  padding: 10px;
  box-sizing: border-box;
  margin: 20px 20px 0 20px;
}

#popup-nav {
  margin-top: 10px;
  text-align: center;
}

.popup-nav-btn {
  margin: 0 5px;
  font-size: 20px;
  background: var(--cg_jaune);
  color: white;
  border: none;
  border-radius: 1.8em;
  padding: 5px 11px;
  cursor: pointer;
}
.popup-nav-btn:hover {
  background: #000;
}

.popup_title {
  font-family: 'Big Shoulders', sans-serif;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  margin: 0 0 15px 0;
}
.popup_img {text-align:center;}
.popup_img img {
  	max-width: 100%;
	width:auto;
	max-height:350px;
}
.popup_txt {
  margin: 15px auto 0 auto;
  font-size: 0.9em;
}
.popup_txt p {
  margin: 5px 0 0 0;
}

/* Nouvelle ligne de navigation */
.popup-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.popup-arrow {
	background: transparent;
  	border: none;
 	padding: 10px;
  	cursor: pointer;
  	color: var(--cg_jaune); /* Jaune par défaut */
  	transition: color 0.3s ease;
  /*background: none;
  border: none;
  font-size: 24px;
  font-family: 'Arial', sans-serif;
  font-weight:bold;
  cursor: pointer;
  color: var(--cg_jaune);
  padding: 6px 10px;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;*/
}

.popup-arrow:hover {
  	color: #000;
}

.popup-indicators {
  display: flex;
  gap: 8px;
  margin: -4px 0 0 0;
}

.popup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.popup-dot.active {
  background: var(--cg_jaune);
  transform: scale(1.4);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .popup-slide {
    min-width: calc(100% - 20px);
    margin: 20px 10px 0 10px;
  }

  .popup-slide img {
    max-width: 100%;
    height: auto;
  }
  .popup-indicators {margin: 0;}
	
}