/* Pricing card + children selector + voucher + refund line. */

.pricing__card {
    background: #fff;
    border: 1px solid var(--c-cream-brd);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 54px rgba(27, 42, 78, .09);
}

.pricing__head { margin-bottom: 24px; }
.pricing__price {
    font-family: var(--font-head);
    font-size: clamp(54px, 8vw, 72px);
    line-height: 1;
    color: var(--c-navy);
    font-weight: 600;
}
.pricing__per { font-size: 15px; color: var(--c-muted); margin-top: 10px; }

.pricing__tiers {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

/* Fix #6: family discount rule stated up front, not hidden in FAQ. */
.pricing__family-note {
    background: var(--c-cream-lt);
    border: 1px solid var(--c-cream-brd);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--c-body);
    text-align: center;
    margin: 0;
}

.pricing__divider {
    height: 1px;
    background: var(--c-cream-brd);
    margin: 24px 0;
}

.pricing__children-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 12px;
}
.pricing__children { display: flex; gap: 10px; }
.pricing__child-btn {
    flex: 1;
    padding: 13px 0;
    text-align: center;
    cursor: pointer;
    border-radius: 9px;
    border: 1.5px solid var(--c-border);
    background: var(--c-cream-lt);
    color: var(--c-navy);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-body);
}
.pricing__child-btn.is-active {
    background: var(--c-gold);
    border-color: var(--c-gold);
}

.pricing__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--c-cream-brd);
}
.pricing__total-label { font-size: 15px; color: var(--c-muted); font-weight: 600; }
.pricing__total-value { font-family: var(--font-head); font-size: 30px; font-weight: 600; color: var(--c-navy); }

.pricing__voucher { margin-top: 8px; }
.pricing__voucher-toggle {
    background: none;
    border: none;
    color: var(--c-gold-deep);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
    font-family: var(--font-body);
}
.pricing__voucher-fields { display: flex; gap: 8px; margin-top: 6px; }
.pricing__voucher-fields[hidden] { display: none; }
.pricing__voucher-apply {
    flex: none;
    background: var(--c-navy);
    color: var(--c-cream);
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
}
.pricing__voucher-apply[disabled] { opacity: .6; cursor: default; }
.pricing__voucher-feedback {
    margin: 8px 0 0;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}
.pricing__voucher-feedback[hidden] { display: none; }
.pricing__voucher-feedback.is-ok { color: var(--c-success); }
.pricing__voucher-feedback.is-error { color: #b03a3a; }
.pricing__voucher-feedback .pricing__voucher-remove {
    background: none;
    border: none;
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0 0 0 8px;
    font-family: var(--font-body);
    font-size: inherit;
}

.pricing__discount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 14.5px;
    color: var(--c-success);
    font-weight: 600;
}
.pricing__discount[hidden] { display: none; }
.pricing__discount-value { font-variant-numeric: tabular-nums; }

.pricing__cta { margin-top: 22px; padding: 16px; font-size: 16px; }

/* Fix #17: strong, visible refund note directly under the CTA. */
.pricing__refund {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--c-success-bg);
    border: 1px solid var(--c-success-brd);
    border-radius: 10px;
    color: var(--c-success);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.pricing__refund svg { flex: none; }

.pricing__pay { margin-top: 24px; text-align: center; }
.pricing__pay-label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: var(--ls-eyebrow);
    text-transform: var(--tt-eyebrow);
    color: var(--c-muted-2);
    margin-bottom: 12px;
}
.pricing__pay-methods {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.pay-badge {
    display: inline-block;
    height: 34px;
    width: auto;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--c-border);
    background: #fff;
    box-shadow: 0 1px 2px rgba(27, 42, 78, 0.05);
    box-sizing: content-box;
    object-fit: contain;
}
.pricing__trust-line {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--c-success);
    font-weight: 600;
}

@media (max-width: 880px) {
    .pricing__card { padding: 28px; border-radius: 20px; }
    .pricing__tiers { gap: 8px; }
}
