

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



.back_button {
    display: inline-block;
    align-self: flex-start;
    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_price_button{
    width: 100%;
    display: flex;
    flex-direction: row;

    gap: 2%;
    margin-left: 0%;

    margin-top: 10%;
    margin-bottom: 3%;
}
.product_price_button_content{
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 20px;
    padding: 15px;
    max-width: 300px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
}
.product_buy_button {
    width: 88%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 20px;
    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-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;
    }
}

/* Styles pour la section de prévisualisation du code */
.code_preview_section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code_preview_section iframe {
    width: 100%;
    max-width: 100%;
    height: 220px;
    border: 1px solid rgb(236, 223, 223);
    border-radius: 22px;
    box-shadow: 0 10px 16px rgba(45, 37, 91, 0.05);
    box-sizing: border-box;
}

/* Responsive pour la section de code */
@media (max-width: 1100px) {
    .code_preview_section {
        padding: 15px 0;
    }
    
    .code_preview_section iframe {
        height: 200px;
    }
}

@media (max-width: 800px) {
    .code_preview_section {
        padding: 10px 0;
    }
    
    .code_preview_section iframe {
        height: 180px;
        border-radius: 15px;
    }
}

/* Styles pour les listes de produits personnalisées */
.custom_list {
    margin: 2rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.grid-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-purple);
    font-weight: 600;
}

.list-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive pour la grille */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .grid-item img {
        height: 150px;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
    }

}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}







