
.buttons {
    text-align: center;
    margin: 5px 0;
	font-size: 0.6em;
	
	
}

button {
    
    border:dashed thin #575253;
    background-color: #fff;
    color: #000;
  /* width: 30%;*/
	
	
   
}

button:hover {
    background-color: #555;
	color:white;
}


/* Bouton */
.open-modal-btn {
    padding: 12px 20px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

/* Modal */
/*.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);

    justify-content: center;
    align-items: center;
}*/

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0,0,0,0.8);
    
    justify-content: center;
    align-items: center;
    padding: 20px; 
}

/* Contenu modal */
/*.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;

   
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}*/

.modal-content {
    background: #fff;
    width: auto;
    max-width: 90%;
    max-height: 90vh; /* limite hauteur écran */
    
    border-radius: 10px;
    padding: 20px;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden; /* 👈 IMPORTANT */
}

/* Bouton fermer */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}


/*.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);

    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    width: 50%;
    max-width: 900px;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}*/

/* bouton fermer */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

/* ===== VIDEO ===== */
/*.video-container {
    display: flex;
    justify-content: center;
}

.video-container iframe {
    width: 80%;
    aspect-ratio: 16/9;
}*/

.video-container {
    width: 100%;
	height:500px;
    display: flex;
    justify-content: center;
	background: rgba(147,201,141,1.00);
}

.video-container iframe {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
	background: rgba(147,201,141,1.00);
	height:500px;
}

/* ===== CATALOGUE ===== */
.catalog-container {
    text-align: center;
}

#flipbook {
    width: 80%;
    height: 500px;
    margin: auto;
}

#flipbook img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-controls button {
    margin: 5px;
    padding: 10px;
}

.catalog-container {
    width: 100%;
    max-width: 900px;
}

#flipbook {
    width: 100%;
    height: min(60vh, 500px);
}

#productDetailContainer {
    max-height: 70vh;
    overflow-y: auto;
    width: 100%;
}
