/* =========================================================================
   /pricing v2 (2026-11-19) — page + checkout window. views/pricing_v2.php, public/assets/js/pricing-v2.js.
   Mockup: https://claude.ai/artifact/R5HwiPFbdmrrfKDaQomwYe
   ========================================================================= */
.prv2, .prv2-overlay {
  --p-ink: #1a0f06; --p-ink2: #3d2a18; --p-ink3: #4a3a2c; --p-mute: #6b5a4c; --p-cu: #8b4513; --p-or: #e87a35; --p-or-d: #d26a2a;
  --p-esp: #2b1a0e; --p-cream: #f5f0e8; --p-cream2: #e8ddd0; --p-card: #fffdf9; --p-raised: #fbf7ef; --p-tint: #fdf3ea;
  --p-line: rgba(139, 69, 19, 0.14); --p-line2: rgba(139, 69, 19, 0.3);
  font-family: 'DM Sans', system-ui, sans-serif; color: var(--p-ink);
}
.prv2 { width: 100%; min-width: 0; background: var(--p-cream); }
.prv2 *, .prv2-overlay * { box-sizing: border-box; }
.prv2 a { color: var(--p-cu); }
.prv2 a:hover { color: #c4622d; }

.prv2-offer { background: var(--p-esp); color: var(--p-cream); padding: 12px 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; font-size: 14px; text-align: center; }
.prv2-offer__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #f0c080; }
.prv2-offer__left { padding: 4px 10px; border-radius: 999px; background: rgba(245, 240, 232, 0.12); font-weight: 600; font-variant-numeric: tabular-nums; }

.prv2-wrap { max-width: 1120px; margin: 0 auto; padding: 56px 24px 72px; display: flex; flex-direction: column; gap: 44px; }
.prv2-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.prv2-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--p-cu); }
.prv2-h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 48px; line-height: 1.08; color: #8b4513; font-style: normal; }
.prv2-lead { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--p-ink2); }
.prv2-h2 { margin: 0; font-size: 28px; font-weight: 700; text-align: center; color: var(--p-ink); }

.prv2-switch { margin-top: 10px; display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: #fff; border: 1px solid rgba(139, 69, 19, 0.18); }
.prv2-switch button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--p-ink2); font: 500 15px 'DM Sans', system-ui, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.prv2-switch button.is-on { background: var(--p-esp); color: #fff; font-weight: 600; }
.prv2-save { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--p-tint); color: var(--p-cu); }
.prv2-switch .is-on .prv2-save { background: var(--p-or); color: #fff; }
.prv2-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--p-ink2); }
.prv2-chip svg { color: var(--p-cu); flex: none; }

.prv2-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 900px; width: 100%; margin: 0 auto; }
.prv2-card { position: relative; background: var(--p-card); border: 1px solid rgba(139, 69, 19, 0.16); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.prv2-card--pro { background: var(--p-esp); border-color: var(--p-esp); color: var(--p-cream); box-shadow: 0 24px 60px rgba(43, 26, 14, 0.22); }
.prv2-card__badge { position: absolute; top: -13px; left: 32px; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--p-or); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; }
.prv2-card__head { display: flex; flex-direction: column; gap: 6px; }
.prv2-card__name { margin: 0; font-size: 22px; font-weight: 700; color: inherit; }
.prv2-card--pro .prv2-card__name { color: #fff; }
.prv2-card__tag { font-size: 15px; color: var(--p-mute); }
.prv2-card--pro .prv2-card__tag { color: var(--p-cream2); }
.prv2-price-wrap { display: flex; flex-direction: column; gap: 6px; }
.prv2-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prv2-price__n { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.prv2-card--pro .prv2-price__n { color: #fff; }
.prv2-price__per { font-size: 16px; color: var(--p-mute); }
.prv2-card--pro .prv2-price__per, .prv2-price__note { color: var(--p-cream2); }
.prv2-price__note { font-size: 14px; }
.prv2-price__was { font-size: 22px; color: #c9b8a6; }
.prv2-status { padding: 14px; border-radius: 14px; background: rgba(245, 240, 232, 0.1); display: flex; flex-direction: column; gap: 4px; }
.prv2-status span { font-size: 13px; color: var(--p-cream2); }
.prv2-status b { font-size: 22px; color: #fff; }
.prv2-renew { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(245, 240, 232, 0.1); font-size: 14px; line-height: 1.5; color: var(--p-cream); }
.prv2-small { margin: 0; font-size: 13px; line-height: 1.5; color: var(--p-cream2); }
.prv2-card:not(.prv2-card--pro) .prv2-small { color: var(--p-mute); }
.prv2-card--pro .prv2-small a { color: #f0c080; font-weight: 600; }
.prv2-center { text-align: center; }
.prv2-card .prv2-small.prv2-center { margin-top: -12px; }
.prv2-trial { align-self: center; margin-top: -8px; min-height: 40px; padding: 0 8px; border: 0; background: none; color: #f0c080; font: 600 14px 'DM Sans', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.prv2-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.4; }
.prv2-list li { position: relative; padding-left: 28px; }
.prv2-list li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  background: var(--p-cu);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prv2-list--pro li::before { background: #f0a060; }

.prv2-btn {
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px 'DM Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer; text-align: center;
}
.prv2 a.prv2-btn--primary, .prv2-overlay a.prv2-btn--primary, .prv2-btn--primary { background: var(--p-or); border-color: var(--p-or); color: #fff; }
.prv2-btn--primary:hover { background: var(--p-or-d); border-color: var(--p-or-d); color: #fff; }
.prv2-btn--primary[disabled] { background: #e9c3a6; border-color: #e9c3a6; cursor: not-allowed; }
.prv2 a.prv2-btn--line, .prv2-overlay a.prv2-btn--line, .prv2-btn--line { background: #fff; border-color: var(--p-line2); color: var(--p-cu); font-weight: 600; }
.prv2-btn--line:hover { border-color: var(--p-or); color: #c4622d; }
.prv2-btn--muted { background: var(--p-cream); color: var(--p-mute); font-weight: 500; font-size: 15px; cursor: default; }
.prv2-btn--ghost { border-color: rgba(245, 240, 232, 0.3); color: var(--p-cream); font-weight: 600; cursor: default; }
.prv2-btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; font-weight: 600; background: #fff; border-color: var(--p-line2); color: var(--p-cu); }
.prv2-btn--xl { min-height: 56px; font-size: 17px; width: 100%; }
.prv2-btn:focus-visible, .prv2-overlay button:focus-visible, .prv2-overlay select:focus-visible, .prv2 summary:focus-visible { outline: 2px solid var(--p-or); outline-offset: 2px; }

.prv2-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.prv2-trust div { padding: 20px; border-radius: 18px; background: var(--p-raised); border: 1px solid rgba(139, 69, 19, 0.12); display: flex; flex-direction: column; gap: 6px; }
.prv2-trust b { font-size: 15px; }
.prv2-trust span { font-size: 14px; line-height: 1.5; color: var(--p-ink3); }

.prv2-compare { display: flex; flex-direction: column; gap: 18px; }
.prv2-table { overflow-x: auto; border-radius: 20px; border: 1px solid var(--p-line); background: var(--p-card); }
.prv2-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.prv2-table thead tr { background: var(--p-raised); text-align: left; }
.prv2-table th, .prv2-table td { padding: 14px 24px; text-align: left; }
.prv2-table thead th { padding: 16px 24px; font-weight: 700; }
.prv2-table thead th:first-child { color: var(--p-mute); font-weight: 600; }
.prv2-table tbody tr { border-top: 1px solid rgba(139, 69, 19, 0.1); }
.prv2-table tbody th { font-weight: 500; }
.prv2-th-pro { color: var(--p-cu); }
.prv2-td-pro { font-weight: 600; }
.prv2-table td.is-no { color: #7a6a5c; font-weight: 400; }

.prv2-faq { display: flex; flex-direction: column; gap: 12px; max-width: 760px; width: 100%; margin: 0 auto; }
.prv2-faq .prv2-h2 { margin-bottom: 6px; }
.prv2-faq details { border-radius: 16px; background: var(--p-card); border: 1px solid var(--p-line); }
.prv2-faq summary { min-height: 56px; padding: 14px 20px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; cursor: pointer; border-radius: 16px; }
.prv2-faq summary::-webkit-details-marker { display: none; }
.prv2-faq summary::after { content: '+'; font-size: 22px; font-weight: 500; color: var(--p-cu); width: 20px; text-align: center; flex: none; }
.prv2-faq details[open] summary::after { content: '−'; }
.prv2-faq details p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--p-ink2); }
.prv2-help { margin: 8px 0 0; text-align: center; font-size: 15px; }

/* ---- checkout window ---- */
.prv2-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(26, 15, 6, 0.65); display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; }
.prv2-overlay[hidden] { display: none; }
.prv2-dialog { width: 940px; max-width: 100%; min-height: 620px; margin: auto; background: var(--p-card); border-radius: 24px; box-shadow: 0 30px 80px rgba(26, 15, 6, 0.35); display: flex; overflow: hidden; }
.prv2-co-main { flex: 1; min-width: 0; padding: 28px 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.prv2-co-top { display: flex; align-items: center; gap: 12px; }
.prv2-co-h { margin: 0; flex: 1; font-size: 22px; font-weight: 700; outline: none; }
.prv2-x { width: 40px; height: 40px; flex: none; border-radius: 999px; border: 0; background: var(--p-cream); color: var(--p-ink2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.prv2-x:hover { background: #ece5d8; }
.prv2-x[disabled] { opacity: 0.4; cursor: not-allowed; }
.prv2-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.prv2-steps[hidden] { display: none; }
.prv2-steps li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--p-mute); }
.prv2-steps li span { height: 4px; border-radius: 999px; background: #ece5d8; }
.prv2-steps li.is-done span, .prv2-steps li.is-on span { background: var(--p-or); }
.prv2-steps li.is-on { color: var(--p-ink); font-weight: 700; }
.prv2-pane { display: flex; flex-direction: column; gap: 20px; }
.prv2-pane[hidden] { display: none; }
.prv2-pane--center { flex: 1; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.prv2-pane--state { flex: 1; justify-content: center; gap: 16px; }
.prv2-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.prv2-fs legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.prv2-cycles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prv2-cycles.is-one { grid-template-columns: 1fr; }
.prv2-cyc {
  padding: 16px; border-radius: 16px; border: 1px solid rgba(139, 69, 19, 0.25); background: #fff; margin: 1px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 4px; font-family: 'DM Sans', system-ui, sans-serif; color: var(--p-ink);
}
.prv2-cyc[aria-pressed="true"] { border: 2px solid var(--p-or); background: var(--p-tint); margin: 0; }
.prv2-cyc[hidden] { display: none; }
.prv2-cyc__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; }
.prv2-cyc .prv2-save { background: var(--p-or); color: #fff; }
.prv2-cyc .prv2-save:empty { display: none; }
.prv2-cyc__amt { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prv2-cyc__sub { font-size: 13px; color: var(--p-ink3); }
.prv2-field { display: flex; flex-direction: column; gap: 8px; }
.prv2-field label { font-size: 15px; font-weight: 600; }
.prv2-field select {
  height: 48px; border-radius: 12px; border: 1px solid var(--p-line2); background: #fff; padding: 0 14px;
  font: 500 16px 'DM Sans', system-ui, sans-serif; color: var(--p-ink); max-width: 100%;
}
.prv2-hint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--p-mute); }
.prv2-method { padding: 14px 16px; border-radius: 14px; background: var(--p-cream); font-size: 14px; line-height: 1.55; color: var(--p-ink2); min-height: 52px; }
.prv2-method:empty { display: none; }
.prv2-method.is-error { background: #fbe4df; color: #7a2516; }
.prv2-p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--p-ink2); }
.prv2-saved { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(139, 69, 19, 0.2); background: #fff; display: flex; gap: 14px; align-items: flex-start; }
.prv2-saved[hidden] { display: none; }
.prv2-saved > svg { color: var(--p-cu); flex: none; margin-top: 2px; }
.prv2-saved > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.prv2-saved > span span { color: var(--p-ink2); }
.prv2-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prv2-form[hidden] { display: none; }
.prv2-form label, .prv2-ro { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.prv2-span2 { grid-column: span 2; }
.prv2-form input { height: 46px; border-radius: 12px; border: 1px solid var(--p-line2); background: #fff; padding: 0 14px; font: 400 16px 'DM Sans', system-ui, sans-serif; color: var(--p-ink); width: 100%; }
.prv2-form input:focus { outline: none; border-color: var(--p-or); box-shadow: 0 0 0 3px rgba(232, 122, 53, 0.18); }
.prv2-ro span { height: 46px; border-radius: 12px; background: var(--p-cream); padding: 0 14px; font-weight: 400; font-size: 16px; display: flex; align-items: center; }
.prv2-row { display: flex; gap: 12px; flex-wrap: wrap; }
.prv2-grow { flex: 1; }
.prv2-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.prv2-pills span { height: 32px; padding: 0 12px; border-radius: 999px; background: var(--p-cream); font-size: 14px; font-weight: 600; display: flex; align-items: center; }
#prv2-pay-rzp, #prv2-pay-pp { display: flex; flex-direction: column; gap: 14px; }
#prv2-pay-rzp[hidden], #prv2-pay-pp[hidden] { display: none; }
.prv2-pp { min-height: 110px; }
.prv2-loading { padding: 24px; text-align: center; color: var(--p-mute); font-size: 14px; }
.prv2-note { padding: 12px 14px; border-radius: 12px; background: var(--p-cream); font-size: 14px; line-height: 1.5; color: var(--p-ink2); }
.prv2-note[hidden] { display: none; }
.prv2-err { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fbe4df; color: #7a2516; font-size: 14px; line-height: 1.5; }
.prv2-err[hidden] { display: none; }
.prv2-back { align-self: flex-start; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--p-cu); font: 600 15px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.prv2-spin { width: 56px; height: 56px; border-radius: 999px; border: 5px solid #f3dcc9; border-top-color: var(--p-or); animation: prv2Spin 0.9s linear infinite; }
@keyframes prv2Spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .prv2-spin { animation-duration: 2.5s; } }
.prv2-big { font-size: 22px; }
.prv2-huge { font-size: 28px; }
.prv2-ico { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.prv2-ico--wait { background: var(--p-tint); color: var(--p-cu); }
.prv2-ico--bad { background: #fbe4df; color: #a3321f; }
.prv2-ico--ok { width: 64px; height: 64px; background: var(--p-or); color: #fff; }
.prv2-link { font-size: 14px; font-weight: 600; color: var(--p-cu); }
.prv2-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prv2-perks li { padding: 12px 14px; border-radius: 12px; background: var(--p-cream); font-size: 14px; font-weight: 600; }

.prv2-sum { width: 320px; flex: none; background: var(--p-cream); border-left: 1px solid rgba(139, 69, 19, 0.12); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.prv2-sum[hidden] { display: none; }
.prv2-sum__plan { display: flex; flex-direction: column; gap: 4px; }
.prv2-sum__plan b { font-size: 20px; }
.prv2-sum__plan span { font-size: 15px; color: var(--p-ink2); }
.prv2-sum dl { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.prv2-sum dl div { display: flex; justify-content: space-between; gap: 12px; }
.prv2-sum dt { color: var(--p-ink3); }
.prv2-sum dd { margin: 0; font-weight: 600; text-align: right; }
.prv2-off { color: var(--p-cu); }
.prv2-sum__total { border-top: 1px solid rgba(139, 69, 19, 0.18); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.prv2-sum__total b:last-child { font-size: 26px; font-variant-numeric: tabular-nums; }
.prv2-sum__est { margin-top: -10px; font-size: 13px; color: var(--p-ink3); text-align: right; }
.prv2-sum__est[hidden] { display: none; }
.prv2-sum__trust { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--p-ink3); }
.prv2-sum__trust span { display: flex; gap: 8px; }
.prv2-sum__trust svg { flex: none; margin-top: 1px; color: var(--p-cu); }
body.prv2-lock { overflow: hidden; }

@media (max-width: 860px) {
  .prv2-dialog { flex-direction: column-reverse; min-height: 0; }
  .prv2-sum { width: auto; border-left: 0; border-bottom: 1px solid rgba(139, 69, 19, 0.12); padding: 16px 20px; gap: 10px; }
  .prv2-sum dl, .prv2-sum__trust, .prv2-sum .prv2-eyebrow { display: none; }
  .prv2-sum__plan { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .prv2-sum__plan b { font-size: 16px; }
  .prv2-sum__total { padding-top: 10px; }
  .prv2-sum__total b:last-child { font-size: 20px; }
}
@media (max-width: 640px) {
  .prv2-wrap { padding: 32px 16px 56px; gap: 32px; }
  .prv2-h1 { font-size: 34px; }
  .prv2-lead { font-size: 16px; }
  .prv2-card { padding: 26px 20px; }
  .prv2-price__n { font-size: 42px; }
  .prv2-h2 { font-size: 24px; }
  .prv2-overlay { padding: 0; align-items: stretch; }
  .prv2-dialog { border-radius: 0; min-height: 100%; }
  .prv2-co-main { padding: 16px 16px 24px; gap: 18px; }
  .prv2-cycles { grid-template-columns: 1fr; }
  .prv2-form { grid-template-columns: 1fr; }
  .prv2-span2 { grid-column: auto; }
  .prv2-perks { grid-template-columns: 1fr; }
}
/* the help bubble stays out of the way while paying; on phones Pro comes first */
body.prv2-lock .cb-btn, body.prv2-lock .cb-wrap { display: none !important; }
@media (max-width: 640px) { .prv2-card--pro { order: -1; } }
