/* ══════════════════════════════════════════════════════════════
   member/subscriptions.css — Subscription pages
   Plan selection, manage page, overview, responsive overrides
   ══════════════════════════════════════════════════════════════ */
/* ============================================================
   24. Subscription Plan Selection — pt-plan-*
   ============================================================ */

/* 24.1 — Section wrapper */
.pt-plan-section {
    background: var(--pt-white);
    padding-bottom: 48px;
}

/* 24.2 — Centered container */
.pt-plan-wrap {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* 24.3 — Recommended plan card */
.pt-plan-card {
    position: relative;
    background: var(--pt-white);
    border: 2px solid var(--pt-forest);
    border-radius: var(--pt-radius-lg);
    box-shadow: var(--pt-shadow-md), 0 0 0 5px rgba(61, 107, 86, 0.07);
    padding: 36px 28px;
    text-align: center;
}

/* 24.4 — "Recommandé" badge */
.pt-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--pt-forest);
    color: var(--pt-white);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--pt-font-ui);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--pt-radius-pill);
    padding: 5px 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(61, 107, 86, 0.30);
}

/* 24.5 — Plan name */
.pt-plan-name {
    font-family: var(--pt-font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--pt-ink);
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

/* 24.6 — Price block container */
.pt-plan-price {
    margin: 12px 0;
}

/* 24.7 — Price row (amount + currency + period) */
.pt-plan-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

/* 24.8 — Large price amount */
.pt-plan-price-amount {
    font-family: var(--pt-font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--pt-forest);
    letter-spacing: -0.03em;
    line-height: 1;
}

/* 24.9 — Currency symbol */
.pt-plan-price-currency {
    font-family: var(--pt-font-display);
    font-size: 28px;
    color: var(--pt-forest);
    line-height: 1;
}

/* 24.10 — Billing period label */
.pt-plan-price-period {
    font-size: 16px;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
}

/* 24.11 — Original (struck-through) price */
.pt-plan-price-original {
    font-size: 18px;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
    text-decoration: line-through;
    margin-top: 4px;
}

/* 24.12 — Monthly equivalent pill */
.pt-plan-monthly {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--pt-fog);
    border: 1px solid var(--pt-parchment);
    border-radius: var(--pt-radius-pill);
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pt-forest);
    font-family: var(--pt-font-ui);
    margin-top: 8px;
}

/* 24.13 — Features list */
.pt-plan-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 28px;
    text-align: left;
}

/* 24.14 — Individual feature row */
.pt-plan-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pt-fog);
    font-size: 15px;
    color: var(--pt-text);
    font-family: var(--pt-font-ui);
}
.pt-plan-feature:last-child {
    border-bottom: none;
}

/* 24.15 — Feature checkmark icon */
.pt-plan-feature-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pt-fog);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pt-forest);
    font-size: 10px;
}

/* 24.16 — "Includes previous plan" separator */
.pt-plan-feature-separator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 0 2px;
    margin: 4px 0;
    width: 100%;
}
.pt-plan-feature-separator::before,
.pt-plan-feature-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--pt-fog);
}

/* 24.16b — Inherited feature (dimmed) */
.pt-plan-feature--inherited {
    opacity: 0.65;
}
.pt-plan-feature--inherited .pt-plan-feature-icon {
    background: var(--pt-fog);
    color: var(--pt-muted);
}

/* 24.17 — CTA button wrapper */
.pt-plan-cta-wrap {
    margin-bottom: 16px;
}

/* 24.18 — Sub-guarantees row */
.pt-plan-sub-guarantees {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
}
.pt-plan-sub-guarantees span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pt-plan-sub-guarantees i,
.pt-plan-sub-guarantees svg {
    color: var(--pt-forest);
    flex-shrink: 0;
}

/* 24.19 — Alternatives section */
.pt-plan-alternatives {
    margin-top: 24px;
}

/* 24.20 — Collapsible toggle (summary) */
.pt-plan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
    list-style: none;
    cursor: pointer;
    padding: 10px 0;
    transition: color var(--pt-transition-fast);
    user-select: none;
}
.pt-plan-toggle::-webkit-details-marker { display: none; }
.pt-plan-toggle::marker { display: none; }
.pt-plan-toggle:hover {
    color: var(--pt-forest);
}
.pt-plan-toggle .pt-plan-toggle-chevron {
    display: inline-flex;
    transition: transform var(--pt-transition-fast);
}
details[open] .pt-plan-toggle .pt-plan-toggle-chevron {
    transform: rotate(180deg);
}

/* 24.21 — Alternatives 2-column grid */
.pt-plan-alt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 480px;
    margin: 16px auto 0;
}

/* 24.22 — Alternative plan card */
.pt-plan-alt-card {
    background: var(--pt-white);
    border: 1.5px solid var(--pt-parchment);
    border-radius: var(--pt-radius-md);
    padding: 24px 20px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: border-color var(--pt-transition-base),
                box-shadow var(--pt-transition-base);
    cursor: pointer;
}
.pt-plan-alt-card:hover {
    border-color: var(--pt-sage);
    box-shadow: var(--pt-shadow-sm);
}

/* 24.23 — Alternative plan name */
.pt-plan-alt-name {
    font-family: var(--pt-font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--pt-ink);
    margin: 0 0 6px;
}

/* 24.24 — Alternative plan price */
.pt-plan-alt-price {
    font-family: var(--pt-font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--pt-text);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

/* 24.25 — Alternative plan period */
.pt-plan-alt-period {
    font-size: 13px;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
    margin: 2px 0 0;
}

/* Alt card as link */
a.pt-plan-alt-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 24.26 — Alternative plan monthly equivalent */
.pt-plan-alt-monthly {
    font-size: 12px;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
    margin-top: 4px;
}

/* 24.27 — Social proof strip */
.pt-plan-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--pt-muted);
    font-family: var(--pt-font-ui);
    padding: 24px 0;
}

/* 24.28 — Individual social proof item */
.pt-plan-social-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pt-plan-social-item i,
.pt-plan-social-item svg {
    color: var(--pt-forest);
    flex-shrink: 0;
}

/* 24.29 — Social proof separator dot */
.pt-plan-social-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pt-parchment);
    flex-shrink: 0;
}

/* 24.30 — Page footer strip */
.pt-plan-footer {
    padding: 24px 0 40px;
    text-align: center;
    border-top: 1px solid var(--pt-parchment);
}

/* 24.31 — Footer links row */
.pt-plan-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    font-family: var(--pt-font-ui);
}
.pt-plan-footer-links a {
    color: var(--pt-muted);
    text-decoration: none;
    transition: color var(--pt-transition-fast);
}
.pt-plan-footer-links a:hover {
    color: var(--pt-forest);
}

/* 24.32 — Footer link separator */
.pt-plan-footer-sep {
    width: 1px;
    height: 14px;
    background: var(--pt-parchment);
    flex-shrink: 0;
}

/* 24.33 — Referral banner */
.pt-referral-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--pt-terra-pale);
    border: 1px solid var(--pt-terra-light);
    border-radius: var(--pt-radius-md);
    padding: 16px 20px;
}

/* 24.34 — Referral banner icon block */
.pt-referral-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pt-terra);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pt-white);
}

/* 24.35 — Referral banner label */
.pt-referral-banner-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pt-terra);
    font-family: var(--pt-font-ui);
    margin: 0 0 4px;
}

/* 24.36 — Referral banner body text */
.pt-referral-banner-text {
    font-size: 14px;
    color: var(--pt-text);
    font-family: var(--pt-font-ui);
    margin: 0;
    line-height: 1.5;
}
.pt-referral-banner-text strong {
    color: var(--pt-terra);
    font-weight: 600;
}

/* ---- 25. Responsive (plan pages) ---- */
@media (max-width: 639px) {
    .pt-plan-card { padding: 32px 20px; }
    .pt-plan-price-amount { font-size: 44px; }
    .pt-plan-name { font-size: 24px; }
    .pt-plan-alt-grid { grid-template-columns: 1fr; }
    .pt-plan-feature { font-size: 14px; }
}

/* ================================================ */
/* 25. Subscription Manage Page                     */
/* ================================================ */

/* Back link */
.sub-manage-back {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color 0.15s;
}
.sub-manage-back:hover,
.sub-manage-back:focus-visible {
    color: var(--bs-primary);
}
.sub-manage-back:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
    border-radius: 4px;
}
.sub-manage-back i {
    transition: transform 0.15s;
}
.sub-manage-back:hover i {
    transform: translateX(-3px);
}

/* Hero card */
.sub-manage-hero {
    background: var(--vt-warm-white, #FFFEFB);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(26, 41, 34, 0.06), 0 6px 16px rgba(26, 41, 34, 0.04);
    overflow: hidden;
}
.sub-manage-hero-inner {
    padding: 28px 28px 24px;
    background: linear-gradient(135deg, var(--vt-sage-light, #D6E8DE) 0%, var(--vt-warm-white, #FFFEFB) 60%, var(--vt-fog, #F2F0EB) 100%);
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(26, 41, 34, 0.1));
}

/* Status badges */
.sub-manage-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 5px 12px;
    border-radius: 20px;
}
.sub-manage-badge--active {
    background: var(--bs-success-bg-subtle, #d1fae5);
    color: var(--bs-success-text-emphasis, #065f46);
}
.sub-manage-badge--canceled {
    background: var(--bs-warning-bg-subtle, #fef3c7);
    color: var(--bs-warning-text-emphasis, #92400e);
}

/* Period label */
.sub-manage-period {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Plan name */
.sub-manage-plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vt-ink, #1A2922);
    margin: 8px 0 12px;
    letter-spacing: -0.01em;
}

/* Price row */
.sub-manage-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}
.sub-manage-price {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--vt-ink, #1A2922);
    letter-spacing: -0.02em;
}
.sub-manage-price-old {
    font-size: 1rem;
    color: var(--bs-secondary-color);
    text-decoration: line-through;
}
.sub-manage-price-suffix {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
    font-weight: 400;
}

/* Discount pill */
.sub-manage-discount-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-success-text-emphasis, #065f46);
    background: var(--bs-success-bg-subtle, #d1fae5);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Metrics bar */
.sub-manage-metrics {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    gap: 0;
}
.sub-manage-metric {
    flex: 1;
}
.sub-manage-metric-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    margin-bottom: 2px;
}
.sub-manage-metric-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vt-ink, #1A2922);
}
.sub-manage-metric-divider {
    width: 1px;
    height: 32px;
    background: var(--bs-border-color, #EDE9E1);
    margin: 0 24px;
    flex-shrink: 0;
}

/* Alert icon container */
.sub-manage-alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(255, 255, 255, 0.5);
}

/* Section cards */
.sub-manage-section {
    background: var(--vt-warm-white, #FFFEFB);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(26, 41, 34, 0.05), 0 4px 12px rgba(26, 41, 34, 0.03);
    overflow: hidden;
}
.sub-manage-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(26, 41, 34, 0.1));
}
.sub-manage-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--vt-ink, #1A2922);
}
.sub-manage-section-action {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bs-primary);
    text-decoration: none;
    transition: opacity 0.15s;
}
.sub-manage-section-action:hover {
    opacity: 0.8;
}
.sub-manage-section-action:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Payment method */
.sub-manage-payment {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 16px;
}
.sub-manage-payment-icon {
    width: 56px;
    height: 40px;
    background: var(--vt-fog, #F2F0EB);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sub-manage-payment-details {
    display: flex;
    flex-direction: column;
}
.sub-manage-payment-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--vt-ink, #1A2922);
}
.sub-manage-payment-expiry {
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    margin-top: 1px;
}

/* Payment empty state */
.sub-manage-payment-empty {
    text-align: center;
    padding: 32px 24px;
}
.sub-manage-payment-empty-icon {
    font-size: 2rem;
    color: var(--vt-parchment, #EDE9E1);
    margin-bottom: 8px;
    display: block;
}

/* Features list */
.sub-manage-features {
    padding: 8px 24px 16px;
}
.sub-manage-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.875rem;
    color: var(--vt-text, #3A4A42);
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(26, 41, 34, 0.1));
}
.sub-manage-feature[data-bs-toggle="tooltip"] {
    cursor: help;
}
.sub-manage-feature:last-child {
    border-bottom: none;
}
.sub-manage-feature-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--vt-sage-light, #D6E8DE);
    color: var(--vt-forest, #3D6B56);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* Reactivate banner */
.sub-manage-reactivate {
    background: linear-gradient(135deg, var(--vt-sage-light, #D6E8DE) 0%, #e8f5ee 100%);
    border: 1px solid var(--vt-mist, #8FB5A4);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 40px;
}

/* Cancel zone */
.sub-manage-cancel-zone {
    text-align: center;
    padding: 24px 0 40px;
    border-top: 1px solid var(--bs-border-color, #EDE9E1);
    margin-top: 8px;
}
.sub-manage-cancel-btn {
    background: none;
    border: none;
    font-size: 0.8rem;
    color: var(--bs-secondary-color);
    cursor: pointer;
    padding: 12px 16px;
    min-height: 44px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}
.sub-manage-cancel-btn:hover {
    color: var(--bs-danger);
    background: #fef2f2;
}
.sub-manage-cancel-btn:focus-visible {
    outline: 2px solid var(--bs-danger);
    outline-offset: 2px;
    color: var(--bs-danger);
    background: #fef2f2;
}

/* Modal */
.sub-manage-modal {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}
.sub-manage-modal-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 14px 16px;
}

/* ---- 26. Responsive (manage page) ---- */
@media (max-width: 575.98px) {
    .sub-manage-hero-inner {
        padding: 20px 20px 18px;
    }
    .sub-manage-plan-name {
        font-size: 1.375rem;
    }
    .sub-manage-price {
        font-size: 1.5rem;
    }
    .sub-manage-metrics {
        padding: 14px 20px;
        gap: 0;
    }
    .sub-manage-metric-divider {
        margin: 0 16px;
    }
    .sub-manage-section-header {
        padding: 14px 18px;
    }
    .sub-manage-payment {
        padding: 16px 18px;
    }
    .sub-manage-features {
        padding: 6px 18px 12px;
    }
    .sub-manage-feature {
        font-size: 0.825rem;
        padding: 8px 0;
    }
    .sub-manage-reactivate {
        padding: 16px 18px;
    }
}

/* ================================================ */
/* 26. Subscription Overview (ec_abonnement)        */
/* ================================================ */

/* Hero membership card */
.sub-ov-card {
    background: var(--pt-white, #FFFEFB);
    border-radius: var(--pt-radius-lg, 20px);
    box-shadow: var(--pt-shadow-md);
    overflow: hidden;
}
.sub-ov-card-top {
    padding: 28px 28px 24px;
    background:
        linear-gradient(135deg, var(--pt-sage, #5D8876) 0%, var(--pt-forest, #3D6B56) 100%);
    color: #fff;
}

/* Status badges */
.sub-ov-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}
.sub-ov-status--active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.sub-ov-status--canceled {
    background: rgba(255, 200, 50, 0.25);
    color: #fff0c8;
}

/* Billing period label */
.sub-ov-billing {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

/* Plan name */
.sub-ov-plan-name {
    font-family: var(--pt-font-display, Georgia, serif);
    font-size: 2rem;
    font-weight: 700;
    margin: 4px 0 12px;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: #fff;
}

/* Price */
.sub-ov-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}
.sub-ov-price {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.sub-ov-price-old {
    font-size: 0.95rem;
    opacity: 0.6;
    text-decoration: line-through;
}
.sub-ov-price-per {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 400;
}

/* Discount pill */
.sub-ov-discount-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 12px;
}

/* Card bottom — dates row */
.sub-ov-card-bottom {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    background: var(--pt-white, #FFFEFB);
}
.sub-ov-date {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sub-ov-date-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pt-muted, #6B7C75);
}
.sub-ov-date-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pt-ink, #1A2922);
}
.sub-ov-date-divider {
    width: 1px;
    height: 32px;
    background: var(--pt-parchment, #EDE9E1);
    margin: 0 24px;
    flex-shrink: 0;
}

/* Payment method strip */
.sub-ov-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pt-white, #FFFEFB);
    border-radius: var(--pt-radius-md, 14px);
    box-shadow: var(--pt-shadow-xs);
    padding: 14px 20px;
    border: 1px solid var(--pt-parchment, #EDE9E1);
}
.sub-ov-payment-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.sub-ov-payment-icon {
    width: 52px;
    height: 36px;
    background: var(--pt-fog, #F2F0EB);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sub-ov-payment-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sub-ov-payment-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--pt-ink, #1A2922);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sub-ov-payment-expiry {
    font-size: 0.75rem;
    color: var(--pt-muted, #6B7C75);
    margin-top: 1px;
}
.sub-ov-payment-action {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bs-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--pt-transition-fast, 0.18s);
    flex-shrink: 0;
}
.sub-ov-payment-action:hover {
    opacity: 0.8;
}

/* Reactivate banner */
.sub-ov-reactivate {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(214, 232, 222, 0.4) 0%, rgba(232, 245, 238, 0.4) 100%);
    border: 1px solid var(--pt-mist, #8FB5A4);
    border-radius: var(--pt-radius-md, 14px);
    padding: 20px 24px;
}

/* Sections */
.sub-ov-section {
    background: var(--pt-white, #FFFEFB);
    border-radius: var(--pt-radius-md, 14px);
    box-shadow: var(--pt-shadow-xs);
    border: 1px solid var(--pt-parchment, #EDE9E1);
    overflow: hidden;
}
.sub-ov-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: var(--pt-ink, #1A2922);
    padding: 16px 20px;
    border-bottom: 1px solid var(--pt-parchment, #EDE9E1);
}
.sub-ov-section-body {
    padding: 16px 20px;
}

/* Features grid */
.sub-ov-features {
    padding: 8px 20px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}
.sub-ov-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.825rem;
    color: var(--pt-text, #2D3B35);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.sub-ov-feature:last-child,
.sub-ov-feature:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}
.sub-ov-feature[data-bs-toggle="tooltip"] {
    cursor: help;
}
.sub-ov-feature-check {
    font-size: 0.6rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pt-fog, #F2F0EB);
    color: var(--pt-forest, #3D6B56);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sub-ov-feature--highlight {
    color: var(--pt-ink, #1A2922);
}
.sub-ov-feature-check--highlight {
    background: rgba(255, 193, 7, 0.15);
    color: #b8860b;
}

/* Alternative plans — horizontal rows */
.sub-ov-alt-plans {
    padding: 0;
}
.sub-ov-alt-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--pt-parchment, #EDE9E1);
    transition: background var(--pt-transition-fast, 0.18s);
}
.sub-ov-alt-plan:last-child {
    border-bottom: none;
}
.sub-ov-alt-plan--upgrade:hover {
    background: rgba(var(--bs-primary-rgb), 0.03);
}
.sub-ov-alt-plan-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sub-ov-alt-plan-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pt-ink, #1A2922);
}
.sub-ov-alt-plan-price {
    font-size: 0.8rem;
    color: var(--pt-muted, #6B7C75);
}
.sub-ov-alt-plan-cta {
    flex-shrink: 0;
}

/* Downgrade link — intentionally muted */
.sub-ov-downgrade-link {
    background: none;
    border: none;
    font-size: 0.8rem;
    color: var(--pt-muted, #6B7C75);
    cursor: pointer;
    text-decoration: none;
    padding: 6px 0;
    transition: color var(--pt-transition-fast, 0.18s);
}
.sub-ov-downgrade-link:hover {
    color: var(--pt-text, #2D3B35);
    text-decoration: underline;
}

/* Cancel zone */
.sub-ov-cancel-zone {
    text-align: center;
    padding: 20px 0 8px;
}
.sub-ov-cancel-btn {
    background: none;
    border: none;
    font-size: 0.78rem;
    color: var(--pt-muted, #6B7C75);
    cursor: pointer;
    padding: 10px 16px;
    min-height: 44px;
    border-radius: 8px;
    transition: color var(--pt-transition-fast, 0.18s), background var(--pt-transition-fast, 0.18s);
}
.sub-ov-cancel-btn:hover {
    color: var(--bs-danger);
    background: #fef2f2;
}
.sub-ov-cancel-btn:focus-visible {
    outline: 2px solid var(--bs-danger);
    outline-offset: 2px;
    color: var(--bs-danger);
    background: #fef2f2;
}

/* Modal styling */
.sub-ov-modal {
    border-radius: var(--pt-radius-lg, 20px);
    border: none;
    overflow: hidden;
}
.sub-ov-cancel-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--vt-terra-pale, #FAF0E8);
    color: var(--vt-terra, #C4622D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.sub-ov-modal-warning {
    background: var(--vt-fog, #F2F0EB);
    border: 1px solid var(--vt-parchment, #EDE9E1);
    border-radius: 10px;
    padding: 14px 16px;
}

/* Empty state (no subscription) */
.sub-ov-empty {
    text-align: center;
    padding: 60px 24px 80px;
}
.sub-ov-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pt-fog, #F2F0EB) 0%, var(--pt-parchment, #EDE9E1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.75rem;
    color: var(--pt-sage, #5D8876);
}
.sub-ov-empty-title {
    font-family: var(--pt-font-display, Georgia, serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pt-ink, #1A2922);
    margin-bottom: 12px;
}
.sub-ov-empty-text {
    color: var(--pt-muted, #6B7C75);
    max-width: 420px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* ---- 27. Responsive (overview page) ---- */
@media (max-width: 575.98px) {
    .sub-ov-card-top {
        padding: 22px 20px 20px;
    }
    .sub-ov-plan-name {
        font-size: 1.5rem;
    }
    .sub-ov-price {
        font-size: 1.375rem;
    }
    .sub-ov-card-bottom {
        padding: 14px 20px;
    }
    .sub-ov-date-divider {
        margin: 0 16px;
    }
    .sub-ov-payment {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .sub-ov-features {
        grid-template-columns: 1fr;
        padding: 6px 16px 10px;
    }
    .sub-ov-feature {
        font-size: 0.8rem;
    }
    .sub-ov-alt-plan {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
    }
    .sub-ov-reactivate {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 18px;
    }
    .sub-ov-section-title {
        padding: 14px 16px;
    }
    .sub-ov-section-body {
        padding: 14px 16px;
    }
}

/* ============================================================
   Pricing Page — Hero Center Layout
   prominence='hero' | 'muted' | 'premium' | 'default'
   ============================================================ */

/* Hero card — recommended plan (solid white, strong shadow) */
.plan-hero {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 2px var(--bs-primary);
    transform: scale(1.02);
    z-index: 2;
    position: relative;
    background: #fff;
}

/* Muted card — cheapest plan (subdued) */
.plan-muted {
    box-shadow: none;
    border-color: var(--bs-gray-300) !important;
    opacity: 0.92;
}
.plan-muted .plan-price-amount {
    font-size: 2rem;
    color: var(--bs-gray-700) !important;
}
.plan-muted .plan-price-currency {
    color: var(--bs-gray-700) !important;
}

/* Premium card — top-tier plan (warm/exclusive) */
.plan-premium {
    border-color: #c8956c !important;
    border-width: 2px !important;
    box-shadow: 0 8px 24px rgba(200, 149, 108, 0.12);
}

/* Premium badge */
.badge-premium {
    background: linear-gradient(135deg, #c8956c, #a97b50);
    color: #fff;
    box-shadow: 0 4px 12px rgba(169, 123, 80, 0.35);
}

/* Killer feature highlight — gold accent for exclusive Privilège features */
.feature-killer .feature-killer-icon {
    background: rgba(200, 149, 108, 0.15);
    color: #a97b50;
}
.feature-killer .feature-killer-badge {
    font-size: 10px;
    font-weight: 700;
    color: #a97b50;
    background: rgba(200, 149, 108, 0.12);
    border-radius: 4px;
    padding: 1px 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Locked/crossed-out feature (FOMO on muted cards) */
.feature-locked {
    opacity: 0.5;
}
.feature-locked .feature-locked-text {
    text-decoration: line-through;
    color: var(--bs-gray-500) !important;
}

/* Pricing grid — mobile reorder: hero card first */
@media (max-width: 767.98px) {
    .pricing-grid .plan-col-hero {
        order: -1;
    }
}

/* ═══════════════════════════════════════════════
   25 — Reinscription page (expired subscriber plan grid)
   ═══════════════════════════════════════════════ */

/* 25.01 — Plan grid: 3 columns desktop, 1 column mobile */
.pt-reinscription-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

/* 25.02 — Individual plan card */
.pt-reinscription-card {
    background: var(--pt-white);
    border: 1.5px solid var(--pt-parchment);
    border-radius: var(--pt-radius-md);
    padding: 28px 24px;
    text-align: center;
    position: relative;
}

/* 25.03 — Recommended plan card */
.pt-reinscription-card--recommended {
    border: 2px solid var(--pt-forest);
    box-shadow: var(--pt-shadow-md);
}

/* 25.04 — Responsive: 1 column on mobile */
@media (max-width: 767px) {
    .pt-reinscription-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}
