:root {
    --rose-bonbon: #c1555f;
    --creme-cassee: #f7f5f2;
    --beige-peau: #ffeed8;
    --marron-ecorce: #a57d61;
    --caramel-clair: #e1c699;
    --blanc-paradis: #ffffff;
    --noir-charbon: #040606;
    --rose-pale: #ffeeee;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;

    font-family: 'Times New Roman', Times, serif;
}

body{
    font-size: 18px;
}

h1{
    margin: 3rem;
    font-size: 2rem;
    font-family: 'Playfair Display SC', Times, serif;
    font-weight: 400;
}
.filtres-produits {
    display: flex;
    flex-direction: row;
    gap: 10vw;
    margin: 50px;
}
.filtres{
    background-color: var(--rose-pale);
    border: solid 3px var(--marron-ecorce);
    border-radius: 10px;
    padding: 20px;
    color: var(--rose-bonbon);
    min-width: 25vw;
    height: fit-content;
}
.filter-title{
    max-width: 100%;
    display: flex;
    text-decoration: underline var(--marron-ecorce);
}

.filter-title h2{
    font-size: 36px;
    font-weight: bold;
}

.list-of-filters{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-self: left;
}
.list-of-filters button{
    background-color: transparent;
    border: none;
    color: var(--rose-bonbon);
    font-size: 28px;
    padding: 10px;
    text-align: left;
}

.product-grid{
    display: flex;
    gap:0px;
    margin: 0 !important;
    justify-content: flex-start;
}

.product-item{
    display: flex;
    width: 15vw;
    height: fit-content;
    flex-direction: column;
    border-radius: 5px;
    background-color: transparent;
    border: none;
    margin: 20px;

}

.product-item img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
}

.product-info{
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1024px) {
    html{
        font-size: 12px;
    }
    .filtres-produits{
        flex-direction: column;
    }
    .product-item{
        width: 30vw;
        margin: 10px;
    }
    .product-grid{
        justify-content: center;
    }
    .product-info{
        font-size: 1rem;
        align-items: flex-end;
    }
    .product-info h3{
        text-align: left;
    }

}