/* ###################################
* Listes de mes produits CSS
* ################################### */

/**
* Contener globale, 4 article par ligne
*/
.list-product{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    padding-bottom: 50px;
}

.product{
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
}

.product::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--adpss-primary, #0ea5ce), #22c55e);
}



/**
* Image de mon produit + badge
*/
.header-product{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.image-product {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.image-product img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.badge-product{
    background-color: #e0f7fc;
    color: #0887ac;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}



/**
* Titre et description
*/
.title-product{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.description-product{
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 14px;
}



/**
* Prix et bouton
*/
.footer-product{
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.price-product{
    font-size: 15px;
    font-weight: 700;
    color: black;
}

.month-product{
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}

.button-product{
    background: linear-gradient(135deg, var(--adpss-primary, #0ea5ce), #22c55e);
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
}

.button-product:hover{
    color: white;
    filter: brightness(0.92);
}
