body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', Arial, sans-serif;
}

.menu_top {
    width: 100%;
    height: 10px;
    background: linear-gradient(30deg, #ff69b4, #ffb347, #ffe066);
}

.shop_content {
    margin-left: 13%;
    margin-right: 13%;
    width: 74%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.back_button {
    display: flex;
    align-content: left;
    padding-bottom: 3%;
    color: #100c1b;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}
.back_button:hover {
    color: #483f61;
    opacity: 0.5;

}
.product_content {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 80px;
    padding-top: 0%;
    padding-bottom: 5%;
}

.product_images {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
}


.product_image_active {
    height: 100%;
    max-height: 100%;
    display: flex;
    box-shadow: 0 10px 16px rgba(45, 37, 91, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product_image_active img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product_image_active video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.product_images_column {
    width: 11%;
    gap: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: none;
    max-height: 100%; /* S'assurer que la colonne ne dépasse pas la hauteur de la vidéo */
}

.product_image_column_id {
    width: auto;
    box-shadow: 0 10px 16px rgba(45, 37, 91, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product_image_column_id:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(45, 37, 91, 0.25);
}

/* Styles pour la vidéo dans la colonne */
.product_images_column video {
    width: auto;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product_images_column video:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(45, 37, 91, 0.25);
}




.product_attributs{
margin-top: 4%;
}
.attributs{
     display: flex;
    flex-direction: row;
    background-color: none; 
    gap: 6px;
}







.product_description {
     width: 40%;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 2%;
}

.product_buy_button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 20px;
    margin-left: 0%;
    margin-right: 10%;
    margin-top: 10%;
    margin-bottom: 3%;
    padding: 15px;
    text-decoration: none;
    max-width: 300px;
        color: #ffffff;
        font-weight: 700;
    font-size: 1rem;
    text-align: center;
        text-decoration: none;
    font-family: 'Poppins', sans-serif;
        border: 1.8px solid #2C123B;
    
}



.product_buy_button:hover {
    color: #2C123B;
    background: #ffffff;
    text-decoration: none;
    border: 1.8px solid #2C123B;
}


.product_extrainfos {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;

    margin-top: 5%;
}

.product_exttrainfo_setup {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
    border-radius: 20px;
}

.extrainfo_text1 {
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
    margin-left: 0%;
}

.extrainfo_text2 {
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0;

}
@media (max-width: 1100px) {
    .product_description {
     width: 100%;
}
   .product_content {
       flex-direction: column;
   }
       .product_images {
        width: 100%;
        flex-direction: column;
    }
        .product_images_column {
        width: 100%;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        padding-bottom: 10px; /* Espace pour le scroll */
    }
    
    .product_images_column::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .product_images_column video {
        width: 80px;
        height: 80px;
        object-fit: cover;
        flex-shrink: 0;
    }
        .product_image_column_id {
        width: 80px;
        height: 80px;
        object-fit: cover;
        flex-shrink: 0;
    }
}


@media (max-width: 800px) {
    .product_content {
        flex-direction: column;
    }

    .product_images {
        width: 100%;
        flex-direction: column;
    }

            .product_images_column {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        padding-bottom: 10px; /* Espace pour le scroll */
    }
    
    .product_images_column::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .product_images_column video {
        width: 60px;
        height: 60px;
        object-fit: cover;
        flex-shrink: 0;
    }

        .product_image_column_id {
        width: 60px;
        height: 60px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .product_extrainfos {
        flex-direction: column;
        padding-top: 20%;
    }
    .product_description {
     width: 100%;
     height:auto;
    }

}

/* Styles pour la grille de catégories */
.category_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
    width: 100%;
}

.category-product-item {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.category-product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}

/* Responsive pour la grille */
@media (max-width: 768px) {
    .category_grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 20px 0;
    }
    
    .category-product-item img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .category_grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .category-product-item img {
        height: 120px;
    }
}