.content-cards-products{
   display: grid;
  grid-template-columns: repeat(4, 1fr);
    gap:1.8rem
}

/*.card-product{
    background-color: #141414;
    width: 20rem;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.2rem;
}*/

.card-product{
    width: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color:white
}

.card-product > div:nth-child(1){
    display: flex;
    justify-content: center;
    background-color: #D9D9D9;
    padding: 2rem 0;
    position: relative;
}

.background-black{
    background-color: #0A0A0A!important;
}

.head-cbd{
    width: 50%;
    /*align-self: center;*/
      margin: auto;
}

.description-product{
    margin-top: 2rem;
}

.description-product > h4{
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    font-family: var(--font-title);
}

.description-product > p{
    font-size: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-subtitle);
}

.informations-product{
    display: flex;
    gap:1rem
}

.informations-product > span{
    background-color: #D9D9D9;
    color: #0A0A0A;
    border-radius: 1rem;
    font-size: 0.9rem;
    padding:0.1rem 1.5rem;
    font-weight: bold;
    font-family: var(--font-subtitleBold);
}

.card-product > button{
    color: #0A0A0A;
    text-decoration: none;
    background-color: #D9D9D9;
    padding: 0.1rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 2rem;
    font-weight: 800;
    border:none;
    font-family: var(--font-title);
}

.text-black{
    color: #0a0a0a!important;
}

.text-white{
    color:white!important
}

.card-product:hover > div:nth-child(1),.card-product:hover > .informations-product > span,.card-product:hover > button  {
    background-color: rgb(255, 255, 255);
}

.stock{
    position: absolute;
    background-color: #000000;
    top:5%;
    right:5%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    border:none
}


@media (max-width: 991.98px) {

    .products{
        padding-right: 0;
        align-items: initial;
        padding: 0 3rem;
        margin-top: 5rem;
    }

    .stock{
        font-size: 1rem;
    }

    .content-cards-products {
        flex-wrap: wrap;
        justify-content: space-between;
        gap:3rem 0
    }

    .card-product{
        /*width: 48%;*/
    }

    .description-product > h4 {
        font-size: 2.5rem;
    }

    .subtitle-products {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .description-product > p {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }

    .informations-product > span{
        font-size: 1.5rem;
    }

    .card-product > button {
        font-size: 2rem;
    }

     .content-cards-products {
        flex-direction: column;
        gap:3rem;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) { /* md- */
    /* styles pour écrans < 768px */
 .content-cards-products {
        flex-direction: column;
        gap:3rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .bloc-fourth-content-title-text {
        max-width: 100%;
    }
  }

  @media (max-width: 575.98px) { /* sm- */
    /* styles pour écrans < 576px */

    

    .section-products {
        padding: 0 2rem
    }



    .subtitle-products {
        font-size: 2rem;
        margin-bottom: 4rem;
    }

    .products {
        padding: 0 0;
        margin-top: 7rem;
    }

    .content-cards-products {
        flex-direction: column;
        gap:3rem;
        grid-template-columns: repeat(1, 1fr);
    }

    .card-product {
        width: 100%;
    }

    .description-product > h4 {
        font-size: 2.5rem;
    }

    .description-product > p {
        font-size: 1.8rem;
        margin-bottom: 4rem;
    }

    .informations-product > span {
        font-size: 1.6rem;
        padding: 0.2rem 1.5rem;
    }

    .card-product > button {
        font-size: 1.8rem;
        margin-top: 3rem;
        padding: 0.5rem 1rem;
    }

     .stock{
        font-size: 1.5rem;
    }
}