/*POPUP*/
.hob-main-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
}
.hob-main-popup-content {
    background-color: #fff;
    padding: 10px;
    display: flex;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 700px;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.hob-main-popup-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
	max-width: 70%;
}
.hob-main-popup-content p {
    margin-top: 20px;
    margin-bottom: 10px;
	max-width: 75%;
}

.hob-main-popup-images img {
    height:600px;
    object-fit: contain;
    border-radius: 15px;
}


.hob-main-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #ffffff00;
    border: 1px solid;
    border-radius: 50%;
    cursor: pointer;
    transition: all .3s ease;
    box-sizing: border-box;
  }
  

  .hob-main-popup-close svg {
    width: 15px;
    height: 15px;
    transition: all .5s ease;
  }
  
  .hob-main-popup-close:hover svg{
    stroke:  #ffffff;
	transition: all .5s ease;
}


.hob-main-popup-close:hover {
    background-color:  #000;
	transition: all .5s ease;
}


/* Adaptation pour les mobiles */
@media only screen and (max-width: 600px) {
.hob-main-popup-content {
    max-height: 90vh;
	max-width: none; 
    padding-top: 35px;
    padding-bottom: 35px;
    width: 98%;
    gap: 25px;
}
	
    .hob-main-popup-images img {
        height: auto;
        width: 100%; /* L'image prend toute la largeur disponible sur mobile */
        max-height: 350px; /* Limite la hauteur sur les petits écrans */
        object-fit: contain;
    }

    .hob-main-popup-content h3 {
        font-size: 18px; /* Réduire la taille du texte sur mobile */
        max-width: 100%; /* Permettre au texte de s'étendre sur toute la largeur */
    }

    .hob-main-popup-content p {
        max-width: 100%; /* Le texte s'étend sur toute la largeur sur mobile */
    }

    .hob-main-popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

/*POPUP END*/