 /* */
 section.polaroid{
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    width: auto;    
    background-color: grey;
    border: 20px solid transparent;   
}

.polaroid div{
    padding-top: 1%;
    text-align: center;
    width: 25.7%;
    background-color: white;
    margin-bottom: 1%;
    margin: 1%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
    margin-left: 5%;
}

.polaroid div:nth-child(3n+1) {
    margin-left: 0; 
}

section.polaroid img{
    width: 300px;
    height: 200px;
    background-color: white;
}



/* Conteneur principal pour chaque produit */
.catalogue-item {
display: flex;
flex-direction: column;
align-items: center;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 10px;
padding: 20px;
margin: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}

.catalogue-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Styles spécifiques pour chaque troisième élément */
.catalogue-item.third-item {
background-color: #f9f9f9;
}

/* Image du produit */
.catalogue-item .image img {
width: 100%;
max-width: 300px;
border-radius: 5px;
margin-bottom: 10px;
}

/* Informations du produit */
.catalogue-item span {
display: block;
margin: 5px 0;
font-size: 20px;
color: #333;
}

/* Modèle du produit */
.catalogue-item .model {
font-size: 23px;
font-weight: bold;
color: #2E7D32; /* Couleur verte */
}

/* Description du produit */
.catalogue-item .descr {
font-size: 18px;
color: #555;
text-align: center;
margin-bottom: 10px;
}

/* Type, prix, longueur, puissance, poids, et son */
.catalogue-item .type,
.catalogue-item .longueur,
.catalogue-item .puissance,
.catalogue-item .poids,
.catalogue-item .son,
.catalogue-item .stock {
font-size: 14px;
color: #777;
}
.catalogue-item .prix{
font-size: 17px;
color: #777;
font-weight: bold;
}

/* Bouton "Ajout au panier" */
.catalogue-item .add_cart {
padding: 10px 20px;
margin-top: 10px;
border: none;
border-radius: 5px;
background-color: #FF9800; /* Couleur orange */
color: #fff;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}

.catalogue-item .add_cart:hover {
background-color: #E65100; /* Orange foncé */
}


/* Media Queries pour rendre la page responsive */
@media screen and (max-width: 1241px) {
    .polaroid div {
        width: 32%;
    }
}

@media screen and (max-width: 1013px) {
    .polaroid div {
        width: 48%;
    }
}

@media screen and (max-width: 480px) {
    .polaroid div {
        width: 100%;
    }
}
