/* Styles spécifiques à la page produit */
.product-details {
    max-width: 800px;
    margin: 0 auto;
}

.product-details img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-details h1 {
    color: #EFCC2F;
    font-size: 36px;
    margin: 20px 0;
}

.product-details p {
    font-size: 18px;
    margin: 20px 0;
}

.product-details h2 {
    color: #EFCC2F;
    font-size: 24px;
    margin: 20px 0;
}

.section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.section .left, .section .right {
    flex: 1;
    padding: 10px;
}

.section .left img, .section .right img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.section#section1 .product-image {
    max-width: 300px; /* Agrandir légèrement l'image */
    width: 100%;
    height: auto;
    float: right; /* Justifier l'image à droite */
    margin-right: 20px; /* Ajouter un espace à droite de l'image */
}

.section#section1 .right {
    margin-left: 20px; /* Ajouter un espace à gauche du texte */
}

.section#section2 .left p {
    margin: 10px 0;
    text-align: right;
}

.section#section2 .right img {
    max-width: 300px; /* Ajuster la taille de l'image */
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.section#section2 .left {
    margin-right: 20px; /* Ajouter un espace à droite du texte */
}

.section#section2 .right {
    margin-left: 20px; /* Ajouter un espace à gauche de l'image */
}

.section#section3 {
    text-align: center;
}

.section#section3 .left, .section#section3 .right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section#section3 .left img {
    max-width: 150px; /* Ajuster la taille des images des prix */
    margin-right: 20px; /* Ajouter un espace à droite de l'image */
}

.section#section3 .right img {
    max-width: 150px; /* Ajuster la taille des images des prix */
    margin-left: 20px; /* Ajouter un espace à gauche de l'image */
}

.section#section3 .left p {
    font-size: 16px;
    text-align: right;
    margin-right: 20px; /* Ajouter un espace à droite du texte */
    flex: 1;
}

.section#section3 .right p {
    font-size: 16px;
    text-align: left;
    margin-left: 20px; /* Ajouter un espace à gauche du texte */
    flex: 1;
}

.section#section4 .right {
	text-align: left;
}

.section#section5 .full {
    text-align: center;
    flex: 1;
}

.video-section {
    margin: 20px 0;
}

.testimonials {
    padding: 50px 20px;
    text-align: center;
}

.testimonial {
    margin: 20px 0;
}

.specifications {
    padding: 50px 20px;
    text-align: left;
}

.specifications ul {
    list-style-type: disc;
    padding-left: 20px;
}

.purchase-button {
    text-align: center;
    margin-top: 20px;
}

.btn#checkout-button {
    font-size: 22px;
}

/* Styles pour le carrousel */
.carousel {
    position: relative;
    max_width : auto;
    max-height : 300px;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    height: 300px;  /* Fixe la hauteur maximale des images */
    width: auto;  /* Ajuste la largeur pour maintenir les proportions */
    display: none;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-image.active {
    display: block;
}


/* Styles responsives si nécessaire */
@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .section .left, .section .right {
        padding: 10px 0;
    }

    .product-overview {
        flex-direction: column;
    }

    .product-image {
        max-width: 90%;
    }

    .product-text {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .section .left, .section .right {
        padding: 10px 0;
    }

    .product-image {
        max-width: 100%;
    }

    .product-text {
        max-width: 100%;
    }
}
