
#showModalButton {
    margin-top: 8px;
    display: inline-block;
    padding: 2px 2px; /* Ajuste la taille du bouton */
    border: 1px solid #281801; /* Bordure pour ressembler à un bouton */
    border-radius: 5px; /* Pour arrondir les coins */
    /* Couleur de fond du bouton */
    text-align: center;
}

#showModalButton img {
    width: 120px; /* Ajustez la largeur de l'image pour la rendre plus petite */
    height: auto; /* Maintenir le ratio de l'image */
    vertical-align: middle; /* Aligne l'image verticalement */
}
.conf_select input[type='number']{
  width: 80px;
  background-color: #fffdfdbd;
  margin-left: 5px;
}

.modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.modal-content {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform: scale(0.9);
    background-color: #fff;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    max-width: 80%;
    width: 1000px; /* Limite la largeur */
    margin: 4% auto; /* Centre le modal horizontalement */
    border-radius: 10px; /* Arrondit les coins */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    
   height: 90vh; /* Limite la hauteur pour éviter de déborder de l'écran */
    overflow-y: auto; /* Active le défilement si le contenu est trop long */
}
.popup-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espace entre les éléments */
    justify-content: left; /* Centrer les éléments horizontalement */
}

.product {
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    /*width: 120px;  Ajuste la taille des carrés */
    /*height: 60px;  Ajuste la hauteur pour garder une forme carrée */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
#realisaprintModal {
    display: none; /* Masqué par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fond sombre semi-transparent */
    align-items: center; /* Centre le contenu verticalement */
    justify-content: center; /* Centre le contenu horizontalement */
    display: flex; /* Utilisez flexbox pour centrer le contenu */
}


.modal-content.show {
    transform: scale(1);
    opacity: 1;
}
.logo-div{
    max-width: 200px;
    text-align: center; /* Centre le contenu à l'intérieur du div */
    margin-bottom: 20px;
}
.realisaprint-logo {
    max-width: 300px; /* Ajustez la taille maximale du logo si nécessaire */
    width: 100%; /* Redimensionne l'image en fonction de sa taille */
    height: auto; /* Maintient le ratio de l'image */
}
.filter-input {
    display: block; /* Pour que l'élément prenne toute la largeur disponible */
    margin: 0 auto 20px auto; /* Centre horizontalement et ajoute un espace en bas */
    padding: 10px; /* Espace intérieur pour rendre le champ plus visible */
    max-width: 300px; /* Limite la largeur maximale du champ */
    width: 100%; /* Prend toute la largeur disponible */
    border: 1px solid #ccc; /* Bordure pour une meilleure visibilité */
    border-radius: 5px; /* Arrondit les coins */
}
.dynamic-content iframe{
width: 100%;
height: 80vh;
}

.class_masque_hidden {
    display: none;
}

.popup-content { padding: 20px; max-width: 800px; margin: 0 auto; }
.top-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.options-section{
    margin-top: 20px; /* Espace entre la section top et options-grid */
    
    width: 100%;

}
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crée deux colonnes de largeur égale */
    gap: 20px; /* Espace entre les éléments */
}

.conf_select {
    display: flex; /* Pour aligner le label et la case à cocher sur la même ligne */
    align-items: center; /* Centrer verticalement */
}

/* Ajoutez ceci pour le bouton */
.button {
    margin-top: 20px; /* Espace au-dessus du bouton */
}
.area1 { flex: 1; margin-right: 20px; }
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  min-width: 250px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.mySlides .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}   
.button { margin-top: 20px; padding: 10px 20px; color: white; border: none; cursor: pointer; }
.backtolist {
  margin-top: 20px;
 
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.prodname{
  font-weight: bolder;
}
.pnav{
  background-color: #afadab;
  border-radius: 6px;
  padding: 5px;
}
.conf_selectopt{
  width: 100%;
  background: #f0f0f0;
  padding: 20px;
  border-radius: 12px;
}
.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pour désactiver visuellement les éléments .product */
.product.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.backtolist.disabled {
  pointer-events: none;
  opacity: 0.5; /* ou une autre valeur pour montrer qu'il est désactivé */
  cursor: not-allowed;
}
#price_section{
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 5px;
  padding-bottom: 5px;

  background: #f0f0f0;
}
.price{
  font-size: x-large;
}
.soucat{
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}
.soucat div{
  margin: 4px;
}



