/* ── WVM Public Styles ────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

.wvm-membership-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1d2327;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Membership page header ────────────────────────────────── */
.wvm-mem-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 0 0;
    margin-bottom: 0;
}
.wvm-key-icon-circle {
    width: 75px;
    height: 75px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #1d2327;
    margin-bottom: 12px;
}
.wvm-mem-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #1d2327;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}

/* ── Info section (plan bar + button + context) ────────────── */
.wvm-info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3px 16px 22px;
    gap: 8px;
}
.wvm-current-plan-bar {
    border: 1px solid #ffd700;
    padding: 6px 0;
    font-size: 14px;
    color: #1d2327;
    text-align: center;
    width: 40%;
    /* width: 100%;
    max-width: 520px; */
}
.wvm-learn-more-btn {
    display: block;
    width: 40%;
    /* width: 100%; */
    /* max-width: 520px; */
    background: #ffd700;
    color: #1d2327;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 6px 0;
    border-radius: 4px;
    transition: 0.7s;
    line-height: 25px;
    /* transition: background .15s; */
}
.wvm-learn-more-btn:hover { background: #000000; color: #ffffff; }
.wvm-pricing-context {
    font-size: .85rem;
    color: #1d2327;
    text-align: center;
    margin: 0;
}
.wvm-pricing-context a { color: #0000ff; text-decoration: none; font-weight: 500; }
.wvm-pricing-context a:hover { text-decoration: underline; }

/* ── Plans table ──────────────────────────────────────────── */
.wvm-plans-grid-wrapper { overflow-x: auto; }
.wvm-plans-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 700px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* Header row */
.wvm-header-row th {
    padding: 16px 12px;
    text-align: center;
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    vertical-align: bottom;
}
.wvm-feature-col {
    text-align: left !important;
    width: 270px;
    min-width: 220px;
    background: #fafafa;
    padding: 16px 16px 16px 22px !important;
}
.wvm-feature-col > .wvm-period-label,
.wvm-feature-col > .wvm-duration-select {
    display: inline-block;
    vertical-align: middle;
}
.wvm-period-label {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 0;
    /* margin-right: 6px;
    white-space: nowrap; */
}
.wvm-duration-select {
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .88rem;
    background: #fff;
    cursor: pointer;
    width: auto;
}
.wvm-plan-col {
    min-width: 140px;
    vertical-align: bottom;
    text-align: center;
}
.wvm-plan-active { background: #fafff8; }
.wvm-current-badge {
    display: inline-block;
    background: #00a32a;
    color: #fff;
    font-size: .62rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.wvm-plan-name {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Monthly rate rows */
.wvm-price-row td, .wvm-price-row-bottom td {
    padding: 14px 12px;
    text-align: center;
    background: #f9f9f9;
    border-bottom: 1px solid #ececec;
    border-top: 1px solid #ececec;
    font-size: 14px;
    color: #000000;
}
.wvm-row-label {
    text-align: left !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #000000;
    padding-left: 22px !important;
}
.wvm-price-row-bottom { border-top: 2px solid #ececec; }
.wvm-monthly-rate { font-size: 1.15rem; font-weight: 700; color: #1d2327; }
.wvm-per-month   { font-size: .75rem; color: #888; margin-left: 2px; }
.wvm-free-price  { font-size: 1rem; font-weight: 700; color: #00a32a; }
.wvm-price-na    { font-size: .78rem; color: #bbb; }

.wvm-price-original {
    display: block;
    text-decoration: line-through;
    color: #000000;
    font-size: .82rem;
    font-weight: 400;
}
.wvm-price-sale {
    display: block;
    color: #d63638;
    font-size: 1.1rem;
    font-weight: 700;
}
.wvm-price-sale-label {
    display: inline-block;
    font-size: .65rem;
    background: #fce4e4;
    color: #d63638;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 2px;
}

/* Action buttons row */
.wvm-actions-row th, .wvm-actions-row td {
    padding: 12px 10px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.wvm-features-label {
    text-align: left !important;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000000;
    padding-left: 22px !important;
    background: #fafafa !important;
}
.wvm-actions-row-bottom th, .wvm-actions-row-bottom td {
    border-top: none;
    border-bottom: none;
}

/* Plan buttons */
.wvm-plan-btn {
    display: inline-block;
    padding: 9px 18px;
    border: none;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.7s;
    text-align: center;
    min-width: 90px;
}
.wvm-btn-select {
    background: #ffd700;
    color: #1d2327;
}
.wvm-btn-select:hover { background: #000000; color: #ffffff; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.wvm-btn-renew {
    background: #ffd700;
    color: #1d2327;
}
.wvm-btn-renew:hover { background: #000000; color: #ffffff}
.wvm-free-tag {
    font-size: .88rem;
    font-weight: 600;
    color: #000000;
}
.wvm-sold-out {
    font-size: .82rem;
    font-weight: 700;
    color: #d63638;
}

/* Feature matrix rows */
.wvm-feature-row:nth-child(odd) td, .wvm-feature-row:nth-child(odd) th { background: #fafafa; }
.wvm-feature-row:hover td, .wvm-feature-row:hover th { background: #f0f7ff; }
.wvm-feature-row td, .wvm-feature-row th {
    padding: 11px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.wvm-feature-name {
    text-align: left !important;
    color: #000000;
    padding-left: 22px !important;
    font-weight: 400;
}
.wvm-matrix-cell { text-align: center; }
.wvm-cell-yes { color: #00b050; font-size: 16px; font-weight: 600;}
.wvm-cell-no  { color: #000000; font-weight: 400; font-size: 16px; }
.wvm-icon-yes { font-size: 1.1rem; color: #00b050 !important; }
.wvm-icon-no  { font-size: 1.1rem; color: #000000 !important; }

.wvm-price-loading { color: #ccc; font-size: .85rem; }

/* Login notice */
.wvm-login-notice {
    margin-top: 24px;
    padding: 16px 20px;
    background: #fff8e5;
    border: 1px solid #f0c33c;
    border-radius: 8px;
    text-align: center;
}
.wvm-login-notice a { color: #1d2327; font-weight: 600; }

/* Spinner */
.wvm-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid #ddd;
    border-top-color: #1d2327;
    border-radius: 50%;
    animation: wvm-spin .6s linear infinite;
}
@keyframes wvm-spin { to { transform: rotate(360deg); } }

/* ── Checkout page ────────────────────────────────────────── */
.wvm-checkout-page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    overflow: hidden;
    padding-bottom: 10px;
}
.wvm-info-section-co { padding-bottom: 12px; }
.wvm-co-padded { margin: 0 30px 20px; }
.wvm-co-section { margin: 0 30px 20px; }

/* Plan card */
.wvm-co-plan-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin: 0 30px 22px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.wvm-co-plan-left {
    padding: 22px 26px;
    border-right: 1px solid #e5e5e5;
    background: #fafafa;
}
.wvm-co-plan-right {
    padding: 22px 26px;
    background: #fff;
}
.wvm-co-section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #555;
    background: #e8e8e8;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.wvm-co-plan-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.wvm-co-plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d2327;
}
.wvm-co-change-plan {
    font-size: .82rem;
    color: #0028ff;
    text-decoration: none;
    font-weight: 500;
}
.wvm-co-change-plan:hover { text-decoration: underline; }
.wvm-co-plan-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: .88rem;
    color: #444;
    margin-bottom: 18px;
}
.wvm-co-price-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    display: inline-block;
}
.wvm-co-price-box-label {
    font-size: .72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}
.wvm-co-price-box-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d2327;
}
.wvm-co-price-box-monthly {
    font-size: .78rem;
    color: #888;
    margin-top: 2px;
}

/* Right: summary rows */
.wvm-co-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}
.wvm-co-summary-row:last-child { border-bottom: none; }
.wvm-co-sale-row { color: #d63638; }
.wvm-co-monthly-adjusted { color: #888; font-size: .82rem; }
.wvm-co-divider { border-top: 2px solid #e5e5e5; margin: 6px 0; }
.wvm-co-total-row {
    font-size: 1rem;
    font-weight: 700;
    color: #1d2327;
    border-bottom: none;
}
.wvm-co-total-amount { font-size: 1.25rem; color: #1d2327; }

/* Promo */
.wvm-co-promo-section {}
.wvm-original-price { color: #aaa; }

.wvm-info-box {
    margin-top: 14px;
    padding: 12px 16px;
    background: #f0f7ff;
    border: 1px solid #c3d8f7;
    border-radius: 8px;
    font-size: .85rem;
    color: #2271b1;
}

/* Promo input */
.wvm-promo-section { margin-top: 24px; }
.wvm-promo-input-row { display: flex; gap: 8px; }
.wvm-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .9rem;
}
.wvm-input:focus { outline: none; border-color: #2271b1; box-shadow: 0 0 0 2px rgba(34,113,177,.15); }
.wvm-promo-msg { margin-top: 8px; font-size: .85rem; padding: 8px 12px; border-radius: 6px; }
.wvm-msg-success { background: #edfaed; color: #00a32a; border: 1px solid #a7e8a7; }
.wvm-msg-error   { background: #fce8e8; color: #d63638; border: 1px solid #f5a0a0; }

/* ── Billing fields (shared across gateways) ──────────────── */
.wvm-billing-fields { margin-bottom: 18px; }
.wvm-billing-row {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}
.wvm-billing-2col { grid-template-columns: 1fr 1fr; }
.wvm-billing-3col { grid-template-columns: 1fr 1fr 1fr; }
.wvm-billing-group { display: flex; flex-direction: column; gap: 4px; }
.wvm-billing-label {
    font-size: .78rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.wvm-billing-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .9rem;
    color: #1d2327;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.wvm-billing-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255,215,0,.25);
}
.wvm-req { color: #d63638; }
.wvm-billing-divider {
    border-top: 1px solid #ececec;
    margin: 14px 0 12px;
}
#wvm-stripe-element {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s;
}
@media (max-width: 640px) {
    .wvm-billing-2col,
    .wvm-billing-3col { grid-template-columns: 1fr; }
}

/* Gateway options */
.wvm-gateway-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.wvm-gateway-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .15s;
    background: #fff;
}
.wvm-gateway-option:hover { border-color: #aaa; }
.wvm-gateway-selected { border-color: #1d2327 !important; background: #f9f9f9; }
.wvm-gateway-option input[type="radio"] { display: none; }
.wvm-gateway-name { font-weight: 600; font-size: .95rem; }
.wvm-gateway-icon { width: 40px; height: 26px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.wvm-icon-paypal   { background-image: url('https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_74x46.jpg'); }
.wvm-icon-braintree{ background-image: url('https://assets.braintreegateway.com/payment_method_logo/visa.png'); }
.wvm-icon-stripe   { background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/ba/Stripe_Logo%2C_revised_2016.svg'); }

/* Buttons */
.wvm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
}
.wvm-btn-primary { background: #1d2327; color: #fff; }
.wvm-btn-primary:hover { background: #2c3338; }
.wvm-btn-secondary { background: #f0f0f0; color: #1d2327; }
.wvm-btn-secondary:hover { background: #ddd; }
.wvm-btn-large { padding: 14px 28px; font-size: 1rem; }
.wvm-btn-block { width: 100%; }
.wvm-btn-paypal { background: #009cde; color: #fff; width: 100%; font-size: 1rem; padding: 14px 24px; }
.wvm-btn-paypal:hover { background: #007bb5; }
.wvm-btn-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: wvm-spin .6s linear infinite; }

.wvm-secure-note { text-align: center; font-size: .78rem; color: #999; margin-top: 16px; }
.wvm-cancel-link { display: block; text-align: center; margin-top: 12px; font-size: .82rem; color: #666; text-decoration: none; }
.wvm-cancel-link:hover { color: #d63638; }

/* ToS checkbox */
.wvm-co-tos {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 14px 18px;
}
.wvm-co-tos-label {
    gap: 10px;
    font-size: .82rem;
    color: #444;
    cursor: pointer;
    line-height: 1.55;
}
.wvm-co-tos-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.wvm-co-tos-link { color: #0028ff; font-weight: 600; text-decoration: none; cursor: pointer; }
.wvm-co-tos-link:hover { text-decoration: underline; }

/* ToS popup modal */
.wvm-tos-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.wvm-tos-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.wvm-tos-modal-box {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 620px;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.wvm-tos-modal-header {
    background: #ffd700;
    color: #1d2327;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.wvm-tos-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1d2327;
}
.wvm-tos-modal-close-x {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #1d2327;
    cursor: pointer;
    padding: 0 4px;
}
.wvm-tos-modal-close-x:hover { opacity: .7; }
.wvm-tos-modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    font-size: .92rem;
    line-height: 1.6;
    color: #333;
    flex: 1 1 auto;
}
.wvm-tos-modal-body p { margin: 0 0 12px; }
.wvm-tos-modal-body p:last-child { margin-bottom: 0; }
.wvm-tos-modal-footer {
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}
.wvm-tos-modal-close-btn {
    background: #ffd700;
    color: #1d2327;
    border: none;
    padding: 9px 22px;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .05em;
    cursor: pointer;
    border-radius: 2px;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}
.wvm-tos-modal-close-btn:hover { background: #1d2327; color: #ffd700; }
body.wvm-tos-modal-open { overflow: hidden; }

/* Checkout NOW button */
.wvm-co-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: #ffd700;
    color: #1d2327;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background .2s, color .2s;
    text-transform: uppercase;
    margin-bottom: 0;
}
.wvm-co-checkout-btn:hover { background: #1d2327; color: #ffd700; }
.wvm-co-checkout-btn .wvm-btn-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(0,0,0,.25);
    border-top-color: #1d2327;
    border-radius: 50%;
    animation: wvm-spin .6s linear infinite;
}

/* Renewal note */
.wvm-co-renewal-note {
    text-align: center;
    font-size: .78rem;
    color: #888;
    margin-top: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .wvm-co-plan-card { grid-template-columns: 1fr; margin: 0 16px 18px; }
    .wvm-co-plan-left { border-right: none; border-bottom: 1px solid #e5e5e5; }
    .wvm-co-section, .wvm-co-padded { margin-left: 16px; margin-right: 16px; }
}

/* Error / notice */
.wvm-error-msg { color: #d63638; background: #fce8e8; border: 1px solid #f5a0a0; padding: 10px 14px; border-radius: 6px; font-size: .85rem; margin-top: 10px; }
.wvm-notice { padding: 14px 18px; border-radius: 8px; margin: 16px 0; font-size: .9rem; }
.wvm-notice-error   { background: #fce8e8; color: #d63638; border: 1px solid #f5a0a0; }
.wvm-notice-warning { background: #fff8e5; color: #9a6700; border: 1px solid #f0c33c; }
.wvm-notice-success { background: #edfaed; color: #00a32a; border: 1px solid #a7e8a7; }

/* ── Payment page ─────────────────────────────────────────── */
.wvm-payment-page { padding: 30px; }
.wvm-payment-header { margin-bottom: 24px; text-align: center; }
.wvm-payment-title { font-size: 24px; font-weight: 600;}
.wvm-payment-box {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.wvm-payment-footer { text-align: center; margin-top: 24px; }

/* ── Payment success overlay ──────────────────────────────── */
.wvm-payment-success-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wvm-success-box {
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 8px 40px rgba(0,0,0,.2);
}
.wvm-success-icon {
    width: 72px; height: 72px;
    background: #00a32a;
    color: #fff;
    border-radius: 50%;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.wvm-success-box h2 { margin: 0 0 10px; font-size: 1.6rem; }
.wvm-success-box p  { color: #666; margin-bottom: 24px; }

/* ── Small toggle for credits ─────────────────────────────── */
.wvm-toggle-small { position:relative; display:inline-block; width:36px; height:20px; }
.wvm-toggle-small input { opacity:0; width:0; height:0; }
.wvm-toggle-slider-small {
    position:absolute; cursor:pointer;
    top:0;left:0;right:0;bottom:0;
    background:#ccc; border-radius:20px; transition:.2s;
}
.wvm-toggle-slider-small:before {
    position:absolute; content:"";
    height:14px;width:14px;left:3px;bottom:3px;
    background:#fff; border-radius:50%; transition:.2s;
}
.wvm-toggle-small input:checked + .wvm-toggle-slider-small { background:#826eb4; }
.wvm-toggle-small input:checked + .wvm-toggle-slider-small:before { transform:translateX(16px); }

/* ── Ads ──────────────────────────────────────────────────── */
.wvm-ads-container { display:flex; gap:12px; flex-wrap:wrap; }
.wvm-ad-item { flex:1; min-width:200px; }
.wvm-ad-image, .wvm-ad-video { width:100%; height:auto; display:block; border-radius:6px; }

/* ── Braintree drop-in override ───────────────────────────── */
#wvm-braintree-dropin { margin-bottom: 16px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .wvm-plans-table { font-size: .78rem; }
    .wvm-feature-col { width: 180px; min-width: 160px; }
    .wvm-plan-col { min-width: 110px; }
    .wvm-plan-btn { padding: 7px 10px; min-width: 70px; font-size: .78rem; }
}
@media (max-width: 600px) {
    .wvm-checkout-left, .wvm-checkout-right { padding: 20px; }
    .wvm-header-row th { padding: 10px 6px; }
    .wvm-plan-name { font-size: .85rem; }
}

/* ── Mobile chart layout (matches Angular project pattern) ───
 * On phones we collapse the side-by-side tier columns. The user picks ONE
 * tier from the "View Plan" dropdown; only that tier's cells stay visible.
 * Each row becomes flex with the feature/row-label on the left and the
 * selected tier's value on the right. */
.wvm-mobile-controls { display: none; }

@media (max-width: 767px) {
    .wvm-mobile-controls {
        display: flex;
        gap: 12px;
        margin: 12px 0 16px;
        flex-wrap: wrap;
    }
    .wvm-mobile-control {
        flex: 1 1 140px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: .8rem;
        font-weight: 600;
        color: #444;
    }
    .wvm-mobile-control select {
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: .9rem;
        background: #fff;
        width: 100%;
    }

    /* Hide desktop-only header chrome */
    .wvm-plans-table thead { display: none; }
    .wvm-features-label { display: none; }

    /* Each row becomes a flex line — label on left, single value on right. */
    .wvm-plans-table tbody,
    .wvm-plans-table tr,
    .wvm-plans-table th,
    .wvm-plans-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border: none;
    }
    .wvm-plans-table{
        display: inline;
    }

    .wvm-plans-table tr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #eee;
    }
    .wvm-plans-table tr > th,
    .wvm-plans-table tr > .wvm-row-label {
        flex: 1 1 60%;
        text-align: left;
    }
    .wvm-plans-table tr > td {
        flex: 0 0 35%;
        text-align: right;
    }

    /* JS handles tier visibility via inline styles (matching Angular's
     * pattern). No CSS hide/show rules here — inline styles always win
     * regardless of theme/plugin CSS conflicts. */

    /* Empty cell in the bottom action row's left column */
    .wvm-actions-row-bottom > td:first-child { display: none; }
    /* Empty placeholder rows when no tier is selected — show a hint */
    .wvm-mobile-empty {
        display: block;
        padding: 16px;
        text-align: center;
        color: #888;
        font-style: italic;
    }
}

/* ── Header badge shortcodes ─────────────────────────────────────────────── */
.wvm-membership-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}
.wvm-membership-badge .wvm-badge-level {
    margin-left: 4px;
    font-weight: 700;
    font-size: 13px;
}
.wvm-upgrade-now-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
}
.wvm-upgrade-now-link:hover {
    opacity: .75;
    text-decoration: none;
    color: #333;
}
.wvm-upgrade-arrow {
    font-size: 16px;
    line-height: 1;
}
