/* ============================================================
   Paystack Bridge — Pricing Cards
   Compatible Houzez theme (ne modifie aucun style natif Houzez)
   ============================================================ */

.pb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 32px 0;
}

.pb-pricing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pb-pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.pb-pricing-card.pb-pricing-featured {
    border-color: #2271b1;
    box-shadow: 0 4px 20px rgba(34,113,177,0.18);
}

.pb-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2271b1;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.pb-plan-title {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 8px;
    color: #1a202c;
}

.pb-plan-price {
    font-size: 28px;
    font-weight: 800;
    color: #2271b1;
    margin: 12px 0 16px;
}

.pb-plan-price .woocommerce-Price-amount {
    font-size: inherit;
    color: inherit;
}

.pb-commission-rate {
    font-size: 13px;
    background: #f0f7ff;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 16px;
    color: #1d5e9e;
    font-weight: 600;
}

.pb-plan-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    text-align: left;
}

.pb-plan-features li {
    font-size: 14px;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.pb-plan-features li:last-child { border-bottom: none; }

.pb-btn-subscribe {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #ffffff !important; /* Fix contrast */
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.pb-btn-subscribe:hover {
    color: #ffffff !important; /* Force keep white on hover */
    filter: brightness(110%);
}

.pb-btn-visitor { background-color: #2271b1 !important; }
.pb-btn-affiliate { background-color: #0d9f6e !important; }

/* --- Groupes Agents/Agences --- */
.pb-pricing-professionals { padding: 20px 0; }

.pb-pricing-group + .pb-pricing-group { margin-top: 48px; }

.pb-group-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    border-left: 4px solid #2271b1;
    padding-left: 12px;
    margin-bottom: 24px;
}

/* --- Affilié wrapper --- */
.pb-affiliate-plans-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 32px 0;
}

.pb-no-plans-notice,
.pb-no-plans {
    padding: 24px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    text-align: center;
    color: #6b7280;
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .pb-pricing-grid,
    .pb-affiliate-plans-wrapper {
        grid-template-columns: 1fr;
    }
}
