
.container {
max-width: 1000px; /* Adaptez la largeur maximale pour qu'elle corresponde à celle utilisée dans company.html */
margin: 0 auto; /* Centre le container horizontalement */
padding: 20px;
}

.product-page {
background-color: #fff;
padding: 15px 15px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
margin: 20px 0;
}

.product-hero {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 20px;
}

.product-image {
flex: 1 1 45%; /* Ajuste la largeur de l'image pour l'adapter au container */
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
background-color: #f0f0f0;
border-radius: 10px;
}

.product-details {
flex: 1 1 50%; /* Ajuste la largeur du texte pour l'adapter au container */
padding-left: 20px;
}

.product-image img {
max-width: 100%;
max-height: 500px;
object-fit: contain;
}

@media (max-width: 768px) {
.product-hero {
    flex-direction: column;
}

.product-image,
.product-details {
    flex: 1 1 100%;
}

.product-image {
    margin-bottom: 20px;
}
}

.product-details {
    flex: 1 1 60%; /* Takes up 60% of the space */
}

.product-details h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff8000;
}

.product-description {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.product-features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #ff8000;
    font-weight: bold;
}

.additional-info {
    margin-top: 40px;
}

.additional-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.spec-table th, .spec-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.spec-table th {
    background-color: #f5f5f5;
    color: #333;
}

.download-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #ff8000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #e67300;
}

@media (max-width: 768px) {
    .product-hero {
        flex-direction: column;
    }

    .product-image,
    .product-details {
        flex: 1 1 100%;
    }

    .product-image {
        margin-bottom: 20px;
    }
}

.custom-carousel-container {
position: relative;
overflow: hidden;
height: 500px;
max-width: 50%;
margin: 80px auto 40px auto;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
display: flex;
align-items: center;
}

.custom-slide-wrapper {
display: flex;
transition: transform 0.5s ease-in-out;
}

.custom-slide {
min-width: 100%;
transition: transform 0.5s ease-in-out;
}

.custom-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}

.custom-carousel-menu {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 20px;
display: flex;
z-index: 15;
}

.custom-carousel-arrow {
position: absolute;
top: 50%;
width: 30px;
height: 30px;
background-color: rgba(0, 0, 0, 0.5);
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
z-index: 10;
transform: translateY(-50%);
display: flex;
justify-content: center;
align-items: center;
}

.custom-carousel-arrow.prev {
left: 10px;
}

.custom-carousel-arrow.next {
right: 10px;
}

.custom-carousel-menu input[type="radio"] {
display: none;
}

.custom-carousel-menu label {
cursor: pointer;
display: inline-block;
width: 15px;
height: 15px;
background: none;
border-radius: 50%;
margin: 0 5px;
transition: background 0.3s;
}

.custom-carousel-menu label:hover, .custom-carousel-menu label:focus {
background: #a6a6a6;
}

.custom-carousel-menu input[type="radio"]:checked ~ .custom-carousel-menu label {
background: #ff8000;
}

@media (max-width: 768px) {
.custom-carousel-container {
    max-width: 100%; /* Utilisez toute la largeur disponible sur les petits écrans */
    height: auto; /* Ajuster la hauteur en fonction du contenu */
}

.custom-slide img {
    height: auto; /* Ajuste l'image à la hauteur du conteneur */
}
}


/* Style pour les petites tailles d'écran : l'image avant le texte */
@media screen and (max-width: 768px) {
    .b-text-image-basic .c-text-image-basic__wrapper {
        flex-direction: column; /* Passer à une disposition en colonne */
        align-items: center; /* Centrer le contenu */
    }
    .b-text-image-basic .c-text-image-basic__img {
        order: -1; /* Met l'image avant le texte */
        width: 100%; /* L'image prend toute la largeur */
        margin-bottom: 20px; /* Ajouter de l'espace sous l'image */
    }
    .b-text-image-basic .c-text-image-basic__content {
        width: 100%; /* Le texte prend toute la largeur */
        text-align: center; /* Centrer le texte */
        padding: 20px; /* Ajouter de l'espace autour du texte */
    }
}

/* Pour des très petits écrans */
@media screen and (max-width: 576px) {
    .b-text-image-basic .c-text-image-basic__img img {
        width: 100%; /* S'assurer que l'image ne dépasse pas la largeur de l'écran */
        height: auto; /* Maintenir le ratio de l'image */
    }
    .b-text-image-basic .c-text-image-basic__content {
        padding: 10px; /* Réduire l'espacement pour mieux s'adapter */
    }
}
