/* =====================================================
   De Pierre en Pierre — Packages Houzez/Stripe V93
   ===================================================== */

.dpep-subscription-v93 .dpep-subscription-grid-v92 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

.dpep-package-card-v93.is-popular {
    border-color: rgba(201,163,106,.65) !important;
}

.dpep-package-features-v93 {
    display: grid !important;
    gap: 8px !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.dpep-package-features-v93 li {
    position: relative !important;
    padding-left: 18px !important;
    color: rgba(7,29,51,.70) !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.dpep-package-features-v93 li:before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #C9A36A !important;
    font-weight: 900 !important;
}

.dpep-subscription-card-v92 > a.dpep-owner-btn-v64 {
    margin-top: auto !important;
    justify-content: center !important;
    text-decoration: none !important;
}


/* DPEP V95 — packages sur une ligne desktop dans Mon espace > Abonnement */
@media (min-width: 1180px) {
    .dpep-subscription-v93 .dpep-subscription-grid-v92 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}


/* =====================================================
   DPEP V96 — suppression ancien bloc formule + 4 colonnes
   ===================================================== */

/*
 * Cache l'ancien bloc Houzez "Choisissez votre formule" qui se glisse
 * au-dessus de notre espace abonnement.
 */
body.dpep-owner-space-v92-body .dpep-v46-alert,
body.dpep-owner-space-v92-body .dpep-package-gate-v93,
body.dpep-owner-space-v92-body .dpep-owner-package-gate,
body.dpep-owner-space-v92-body .dpep-subscription-intro-old,
body.dpep-owner-space-v93-body .dpep-v46-alert,
body.dpep-owner-space-v93-body .dpep-package-gate-v93,
body.dpep-owner-space-v93-body .dpep-owner-package-gate,
body.dpep-owner-space-v93-body .dpep-subscription-intro-old {
    display: none !important;
}

/* Fallback structurel : sur la page abonnement, cacher le premier bloc blanc non dashboard avant le hero navy. */
body.dpep-owner-space-v92-body [class*="package"][class*="gate"],
body.dpep-owner-space-v92-body [class*="subscription"][class*="gate"],
body.dpep-owner-space-v93-body [class*="package"][class*="gate"],
body.dpep-owner-space-v93-body [class*="subscription"][class*="gate"] {
    display: none !important;
}

/* Mon espace > Abonnement : les 4 formules sur une ligne desktop */
@media (min-width: 1200px) {
    .dpep-subscription-v93 .dpep-subscription-grid-v92 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px !important;
        padding-left: 26px !important;
        padding-right: 26px !important;
    }

    .dpep-subscription-v93 .dpep-subscription-card-v92 {
        min-width: 0 !important;
        padding: 20px !important;
    }

    .dpep-subscription-v93 .dpep-subscription-card-v92 h3 {
        font-size: 34px !important;
    }
}
