.pack-serenite {
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 20px 25px;
    margin-bottom: 15px;
    /*display: flex;*/
    align-items: center;
    gap: 25px;
}

/* Icône identitaire du Pack — bouclier Lucide shield-check */
.pack-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    color: #484848;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pack-logo svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}
/* L'icône passe au vert quand le pack est ajouté (cf. .pack-serenite.is-added) */
.pack-serenite.is-added .pack-logo {
    color: #6bb941;
}

/* Contenu central */
.pack-content {
    flex: 1;
    min-width: 0;
}
.pack-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.pack-title {
    font-size: 16px;
    font-weight: bold;
    color: #484848;
    margin: 0;
}
.pack-subtitle {
    font-size: 13px;
    color: #777;
}
.pack-benefits {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 4px 24px;
    font-size: 13px;
    color: #555;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pack-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pack-check {
    color: #6bb941;
    font-weight: bold;
    flex-shrink: 0;
}
.pack-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #6bb941;
    text-decoration: underline;
}

/* Bloc prix + CTA à droite */
.pack-action {
    flex-shrink: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.pack-price {
    font-size: 18px;
    font-weight: bold;
    color: #484848;
    line-height: 1;
}
.btn-add-pack {
    background-color: #333;
    color: white;
    border: none;
    padding: 11px 22px;
    font-weight: bold;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

/* État "Ajouté" — à activer en JS quand l'utilisateur clique */
.pack-serenite.is-added {
    background-color: transparent;
    border-color: #6bb941;
}

/* Sous-titre conditionnel : "Achetez l'esprit tranquille" ou "✓ Ajouté" */
.pack-subtitle-added {
    /*display: none;*/
    color: #4c862e;
    font-weight: bold;
}
.pack-serenite.is-added .pack-subtitle-initial { display: none; }
.pack-serenite.is-added .pack-subtitle-added { display: inline-flex; align-items: center; gap: 5px; }

.pack-added-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #6bb941;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
}

/* Bouton Retirer : visible seulement dans l'état "ajouté" */
.btn-remove-pack {
    /*display: none;*/
    background-color: transparent;
    color: #888;
    border: 1px solid #ccc;
    padding: 9px 18px;
    font-weight: normal;
    border-radius: 0;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    white-space: nowrap;
    align-items: center;
    gap: 4px;
}
.btn-remove-pack:hover {
    color: #b42d22;
    border-color: #b42d22;
}
.btn-remove-icon {
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
}

/* Bascule entre les deux boutons selon l'état */
.pack-serenite.is-added .btn-add-pack { display: none; }
.pack-serenite.is-added .btn-remove-pack { display: inline-flex; }

.pack-serenite td{
    padding: 25px!important;
}
.pack-serenite a.iframe{
    text-decoration: underline;
    color: #6bb941;
}



tr.pack-serenite.is-added td {
    border-top: 2px solid #6bb941;
    border-bottom: 2px solid #6bb941;
}

tr.pack-serenite.is-added td:first-child {
    border-left: 2px solid #6bb941!important;
}

tr.pack-serenite.is-added td:last-child {
    border-right: 2px solid #6bb941!important;
}

.pack-price.checked{
    color: #6bb941;
}
/* ============================================
          RESPONSIVE MOBILE (≤ 768px)
          ============================================ */
@media (max-width: 768px) {

    /* === PACK SÉRÉNITÉ MOBILE === */
    .pack-serenite {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .pack-header-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .pack-logo {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .pack-content {
        width: 100%;
    }

    .pack-title {
        font-size: 15px;
    }

    .pack-subtitle {
        font-size: 12px;
    }

    .pack-benefits {
        grid-template-columns: 1fr;
        gap: 6px;
        font-size: 13px;
    }

    .pack-action {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .pack-price-block {
        text-align: left;
    }

    .btn-add-pack,
    .btn-remove-pack {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 13px;
    }
}