/* ==========================================================================
   ROADPROCLOUD - checkout and pricing pages
   --------------------------------------------------------------------------
   Ported from the vinprolatest_v3 "default" theme's checkout-pro.css, the
   stylesheet www.roadprocloud.com uses for its /checkout and /pricing pages,
   and adapted to this site's markup (no Bootstrap, no legacy .pack rules).

   Pages: vehicle-history-reports/checkout/index.html  (.tvx-checkout)
          pricing/index.html                            (.tvx-pricing-page)

   Every JavaScript hook in scripts/vinCheckout.js and scripts/vinPayments.js
   is addressed by id or by the vhrc__* / payment-* class names, which are
   kept; the tvx-* classes carry the presentation only.
   ========================================================================== */

:root {
  --tvx-primary:      #0493d3;   /* brand cyan - borders, rings, accents */
  --tvx-primary-btn:  #0379a8;   /* AA-safe button background */
  --tvx-primary-dark: #026d97;   /* hover */
  --tvx-primary-soft: #E8F6FC;
  --tvx-primary-line: #B6E1F2;

  --tvx-navy:       #0B1220;
  --tvx-green:      #0E9F6E;
  --tvx-green-soft: #E7F8F1;
  --tvx-amber:      #B45309;
  --tvx-amber-soft: #FFF8E6;
  --tvx-bg:         #FFFFFF;
  --tvx-bg-alt:     #F5F7F9;
  --tvx-text:       #16202B;
  --tvx-muted:      #5B6B7B;
  --tvx-border:     #E2E8ED;
  --tvx-error:      #DC2626;
  --tvx-error-soft: #FDF2F2;

  --tvx-r-sm: 10px;
  --tvx-r:    14px;
  --tvx-r-lg: 20px;

  /* A tight contact shadow plus a soft ambient one reads as depth. */
  --tvx-shadow-sm: 0 1px 2px rgba(16, 32, 43, .06);
  --tvx-shadow:    0 1px 2px rgba(16, 32, 43, .05), 0 8px 24px -6px rgba(16, 32, 43, .10);
  --tvx-shadow-lg: 0 2px 4px rgba(16, 32, 43, .06), 0 18px 40px -12px rgba(16, 32, 43, .18);

  /* Brand gradients - the recommended plan and the primary action only. */
  --tvx-grad:      linear-gradient(135deg, #0493d3 0%, #0379a8 100%);
  --tvx-grad-hi:   linear-gradient(135deg, #05a3e8 0%, #0483bb 100%);
  --tvx-grad-gold: linear-gradient(135deg, #F59E0B 0%, #EA8C04 100%);
  --tvx-grad-navy: linear-gradient(180deg, #0B1220 0%, #10263A 100%);

  --tvx-ease: cubic-bezier(.2, .7, .3, 1);
  --tvx-font: "Montserrat", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Page base ---------- */

html { -webkit-text-size-adjust: 100%; }
body.tvx-body {
  margin: 0;
  background: var(--tvx-bg-alt);
  color: var(--tvx-text);
  font-family: var(--tvx-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}
body.tvx-body.tvx-modal-open { overflow: hidden; }

.tvx-checkout, .tvx-pricing-page { display: block; }
.tvx-checkout *, .tvx-checkout *::before, .tvx-checkout *::after,
.tvx-pricing-page *, .tvx-pricing-page *::before, .tvx-pricing-page *::after,
.tvx-modal *, .tvx-modal *::before, .tvx-modal *::after { box-sizing: border-box; }

.tvx-checkout [hidden], .tvx-pricing-page [hidden], .tvx-modal[hidden] { display: none !important; }

.tvx-checkout img, .tvx-checkout svg, .tvx-pricing-page img, .tvx-pricing-page svg { max-width: 100%; }
/* :where() keeps these resets at class specificity, so any single-class
   component rule later in the file (.tvx-hint, .tvx-p-trust, ...) overrides
   them without needing extra selectors. */
.tvx-checkout :where(h1, h2, h3, p, ul, ol, dl, dd, dt, fieldset, legend),
.tvx-pricing-page :where(h1, h2, h3, p, ul, ol),
.tvx-modal :where(h3, p) { margin: 0; padding: 0; }
.tvx-checkout :where(fieldset) { border: 0; min-width: 0; }
.tvx-checkout :where(ul, ol), .tvx-pricing-page :where(ul, ol) { list-style: none; }
.tvx-checkout a, .tvx-pricing-page a, .tvx-modal a { color: var(--tvx-primary-dark); text-decoration: none; }
.tvx-checkout a:hover, .tvx-pricing-page a:hover, .tvx-modal a:hover { text-decoration: underline; }
.tvx-checkout button, .tvx-pricing-page button, .tvx-modal button { font: inherit; color: inherit; }
.tvx-checkout a, .tvx-checkout button, .tvx-pricing-page a, .tvx-pricing-page button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tvx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.tvx-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; }
.tvx-sr {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .tvx-checkout *, .tvx-pricing-page *, .tvx-modal * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Checkout
   ========================================================================== */

.tvx-checkout { padding-bottom: 48px; }

/* ---------- Header band ---------- */

.tvx-head {
  background: var(--tvx-grad-navy);
  color: #fff;
  padding: 28px 0 60px;
}
.tvx-checkout .tvx-head h1 {
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 8px;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.tvx-head .tvx-sub { color: #C3D2DE; font-size: .92rem; max-width: 64ch; }
.tvx-head .tvx-sub .tvx-vin { margin-left: 2px; }

.tvx-found {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(14, 159, 110, .18);
  border: 1px solid rgba(14, 159, 110, .40);
  color: #6EE7B7;
  border-radius: 999px; padding: 4px 11px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.tvx-found svg { width: 14px; height: 14px; flex: 0 0 14px; }
.tvx-found--muted { background: rgba(4, 147, 211, .18); border-color: rgba(4, 147, 211, .45); color: #9ADCF7; }
.tvx-found--warn { background: rgba(245, 158, 11, .18); border-color: rgba(245, 158, 11, .45); color: #FCD38D; }

.tvx-vin {
  display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  padding: 3px 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem; letter-spacing: .04em; color: #fff;
  word-break: break-all;
}

@media (min-width: 992px) {
  .tvx-head { padding: 34px 0 68px; }
  .tvx-checkout .tvx-head h1 { font-size: 1.75rem; }
  .tvx-head .tvx-sub { font-size: .98rem; }
  .tvx-vin { font-size: .9rem; padding: 5px 14px; }
}

/* The content starts inside the band so the first card sits over its edge. */
.tvx-checkout .tvx-body { margin-top: -36px; position: relative; z-index: 1; }

/* ---------- Layout ---------- */

.tvx-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 992px) {
  .tvx-grid { grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr); gap: 24px; align-items: start; }
  /* 84px clears the sticky site header once the page has scrolled. */
  .tvx-sum { position: sticky; top: 84px; align-self: start; }
}

/* ---------- Cards and step headings ---------- */

.tvx-card {
  background: var(--tvx-bg);
  border: 1px solid var(--tvx-border);
  border-radius: var(--tvx-r-lg);
  box-shadow: var(--tvx-shadow-sm);
  padding: 18px;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .tvx-card { padding: 24px; margin-bottom: 20px; } }

.tvx-step { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.tvx-step-n {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--tvx-primary-btn); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; line-height: 1;
}
.tvx-checkout .tvx-step h2 { font-size: 1.02rem; line-height: 1.3; font-weight: 800; color: var(--tvx-text); }
@media (min-width: 768px) { .tvx-checkout .tvx-step h2 { font-size: 1.1rem; } }
.tvx-hint { color: var(--tvx-muted); font-size: .84rem; margin: 0 0 14px 36px; }
@media (max-width: 575.98px) { .tvx-hint { margin-left: 0; } }

/* ---------- Vehicle details ---------- */

.tvx-details { display: grid; grid-template-columns: 1fr; gap: 0 28px; }
@media (min-width: 700px) { .tvx-details { grid-template-columns: 1fr 1fr; } }
.vhrc__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--tvx-border); font-size: .9rem;
}
.vhrc__row dt { color: var(--tvx-muted); font-weight: 500; flex: 0 0 auto; }
.vhrc__row dd { font-weight: 600; text-align: right; min-width: 0; word-break: break-word; }

/* ---------- Package cards ----------
   Three states must read instantly: resting, hovered, chosen. The chosen state
   is the loudest, because "which one did I pick?" should never need a second
   look on a checkout. */

.tvx-plans { display: grid; grid-template-columns: 1fr; gap: 22px; padding-top: 16px; }
@media (min-width: 700px) { .tvx-plans { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; } }

.vhrc__pack {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--tvx-bg);
  border: 2px solid var(--tvx-border);
  border-radius: var(--tvx-r-lg);
  padding: 22px 18px 18px;
  cursor: pointer;
  transition: border-color .22s var(--tvx-ease), box-shadow .22s var(--tvx-ease), transform .22s var(--tvx-ease);
}
/* Gradient hairline that lights up on hover and stays lit when chosen. The card
   must not clip overflow: the badge overhangs its top edge. */
.vhrc__pack::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--tvx-grad);
  border-radius: var(--tvx-r-lg) var(--tvx-r-lg) 0 0;
  opacity: 0; transition: opacity .22s var(--tvx-ease);
}
@media (hover: hover) {
  .vhrc__pack:hover { border-color: var(--tvx-primary-line); box-shadow: var(--tvx-shadow-lg); transform: translateY(-4px); }
  .vhrc__pack:hover::before { opacity: .55; }
}
.vhrc__pack:active { transform: translateY(0) scale(.995); }
.vhrc__pack.is-selected {
  border-color: var(--tvx-primary);
  box-shadow: 0 0 0 4px rgba(4, 147, 211, .16), var(--tvx-shadow-lg);
  transform: translateY(-2px);
}
.vhrc__pack.is-selected::before { opacity: 1; }
.vhrc__pack--featured { background: linear-gradient(180deg, #F7FCFE 0%, #FFFFFF 46%); border-color: var(--tvx-primary-line); }

.vhrc__pack-radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.vhrc__pack:has(.vhrc__pack-radio:focus-visible) { outline: 3px solid var(--tvx-primary); outline-offset: 3px; }
.vhrc__pack-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }

.tvx-plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--tvx-grad); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 12px -2px rgba(4, 147, 211, .5);
  z-index: 2; overflow: hidden;
}
.tvx-plan-badge.tvx-badge-value { background: var(--tvx-grad-gold); box-shadow: 0 4px 12px -2px rgba(234, 140, 4, .5); }
/* A light sweeps across every few seconds - the one thing that moves on its own. */
.tvx-plan-badge::after, .tvx-p-badge::after {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-160%); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .tvx-plan-badge::after, .tvx-p-badge::after { animation: tvx-badge-shine 4.5s var(--tvx-ease) 1.2s infinite; }
}
@keyframes tvx-badge-shine {
  0%        { transform: translateX(-160%); }
  18%, 100% { transform: translateX(320%); }
}

.vhrc__pack-check {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px;
  color: var(--tvx-primary); display: none;
}
.vhrc__pack.is-selected .vhrc__pack-check { display: block; }

.tvx-plan-name { font-size: 1.02rem; font-weight: 800; margin: 4px 0 2px; color: var(--tvx-text); letter-spacing: -.01em; padding-right: 28px; }
.tvx-plan-desc { font-size: .82rem; color: var(--tvx-muted); margin: 0 0 12px; line-height: 1.45; }
@media (min-width: 700px) { .tvx-plan-desc { min-height: 36px; } }
.tvx-plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--tvx-navy); }
.tvx-plan-per { font-size: .74rem; color: var(--tvx-muted); margin-bottom: 14px; font-weight: 500; }
.tvx-plan-feats { padding-top: 14px; border-top: 1px solid var(--tvx-border); flex: 1 1 auto; }
.tvx-plan-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; padding: 4px 0; line-height: 1.45; color: var(--tvx-text); }
.tvx-plan-feats li.tvx-off { color: #94A3B3; }
.tvx-tick { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px; }

.vhrc__pack-cta {
  margin-top: 16px; text-align: center;
  border: 1.5px solid var(--tvx-border); border-radius: var(--tvx-r-sm);
  padding: 12px 10px; font-size: .84rem; font-weight: 700; color: var(--tvx-muted);
  background: var(--tvx-bg-alt);
  transition: background .2s var(--tvx-ease), color .2s var(--tvx-ease), border-color .2s var(--tvx-ease);
}
@media (hover: hover) {
  .vhrc__pack:hover .vhrc__pack-cta { border-color: var(--tvx-primary-line); color: var(--tvx-primary-dark); background: var(--tvx-primary-soft); }
}
.vhrc__pack.is-selected .vhrc__pack-cta {
  background: var(--tvx-grad); border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px -3px rgba(4, 147, 211, .45);
}

@media (max-width: 699.98px) {
  .tvx-plans { gap: 16px; }
  .vhrc__pack { padding: 20px 16px 16px; transform: none !important; }
  .tvx-plan-price { font-size: 1.85rem; }
}

/* ---------- Form fields ---------- */

.tvx-two { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .tvx-two { grid-template-columns: 1fr 1fr; } }
.tvx-field { margin-bottom: 14px; }
.tvx-checkout .tvx-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--tvx-text); }
.tvx-opt { font-weight: 400; color: var(--tvx-muted); }
.tvx-checkout .form-control {
  display: block; width: 100%; min-height: 48px;
  padding: 11px 14px;
  font: inherit; font-size: 16px;   /* 16px stops iOS Safari zooming on focus */
  color: var(--tvx-text);
  background: var(--tvx-bg);
  border: 1px solid #C3CED8; border-radius: var(--tvx-r-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.tvx-checkout .form-control::placeholder { color: #9AA8B5; }
.tvx-checkout .form-control:focus { border-color: var(--tvx-primary); box-shadow: 0 0 0 4px rgba(4, 147, 211, .16); outline: none; }
.tvx-checkout .form-control.is-invalid { border-color: var(--tvx-error); }
.tvx-checkout .form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .14); }
.tvx-help { font-size: .76rem; color: var(--tvx-muted); margin-top: 5px; }

/* ---------- Payment method ---------- */

.payment-options-wrapper { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 2px; }
.payment-option {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 12px 14px;
  background: var(--tvx-bg);
  border: 2px solid var(--tvx-border); border-radius: var(--tvx-r);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.payment-option:hover { border-color: var(--tvx-primary-line); }
.payment-option.selected { border-color: var(--tvx-primary); background: var(--tvx-primary-soft); box-shadow: 0 0 0 3px rgba(4, 147, 211, .12); }
.payment-option:focus-visible { outline: 3px solid var(--tvx-primary); outline-offset: 2px; }
.payment-radio {
  flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #C3CED8; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.payment-option.selected .payment-radio { border-color: var(--tvx-primary); }
.radio-dot { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.payment-option.selected .radio-dot { background: var(--tvx-primary); }
.tvx-pm-icon { flex: 0 0 30px; width: 30px; height: 30px; display: inline-flex; align-items: center; }
.tvx-pm-body { flex: 1 1 auto; min-width: 0; }
.tvx-pm-name { font-size: .95rem; font-weight: 600; line-height: 1.25; color: var(--tvx-text); }
.tvx-pm-desc { font-size: .76rem; color: var(--tvx-muted); margin-top: 2px; line-height: 1.35; }

/* ---------- Notices ---------- */

.vhrc__notice {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px; padding: 11px 13px;
  border-radius: var(--tvx-r-sm); border: 1px solid;
  font-size: .84rem; line-height: 1.45;
}
.vhrc__notice svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.vhrc__notice--warn { border-color: #F5D08A; background: var(--tvx-amber-soft); color: #6B4A00; }
.vhrc__notice--warn svg { color: #D97706; }
.vhrc__notice--error { border-color: #F3B4B4; background: var(--tvx-error-soft); color: #7F1D1D; }
.vhrc__notice--error svg { color: var(--tvx-error); }
.tvx-note {
  margin-top: 14px; padding: 11px 13px;
  background: #EFF8FC; border: 1px solid #BFE3F1; border-radius: var(--tvx-r-sm);
  font-size: .8rem; color: #0B4A63; line-height: 1.45;
}

/* ---------- Order summary ---------- */

.tvx-sum-card {
  background: var(--tvx-bg); border: 1px solid var(--tvx-border);
  border-radius: var(--tvx-r-lg); box-shadow: var(--tvx-shadow);
  overflow: hidden;
}
.tvx-sum-head { background: var(--tvx-navy); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.tvx-sum-head svg { width: 28px; height: 28px; flex: 0 0 28px; }
.tvx-checkout .tvx-sum-head h2 { font-size: .98rem; font-weight: 700; color: #fff; }
.tvx-sum-body { padding: 16px; }
.tvx-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: .86rem; }
.tvx-row dt { color: var(--tvx-muted); font-weight: 500; flex: 0 0 auto; }
.tvx-row dd { font-weight: 600; text-align: right; word-break: break-word; min-width: 0; }
.tvx-sep { height: 1px; background: var(--tvx-border); margin: 10px 0; }
.tvx-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 2px; }
.tvx-t-label { font-size: .98rem; font-weight: 700; }
.tvx-t-val { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--tvx-primary-dark); line-height: 1.1; }

/* ---------- Buttons ----------
   The primary action is the only element wearing a gradient and a glow. */

.tvx-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; width: 100%;
  padding: 15px 20px;
  font-size: 1.02rem; font-weight: 800; line-height: 1.2; letter-spacing: .01em;
  color: #fff; background: var(--tvx-grad);
  border: 0; border-radius: var(--tvx-r);
  cursor: pointer; text-align: center; text-decoration: none;
  box-shadow: 0 4px 14px -2px rgba(3, 121, 168, .45), 0 1px 2px rgba(16, 32, 43, .1);
  transition: transform .18s var(--tvx-ease), box-shadow .18s var(--tvx-ease), background .18s var(--tvx-ease), filter .18s var(--tvx-ease);
}
.tvx-btn::before {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: translateX(-160%); pointer-events: none;
}
@media (hover: hover) {
  .tvx-btn:hover:not(:disabled) {
    background: var(--tvx-grad-hi); transform: translateY(-2px);
    box-shadow: 0 8px 22px -4px rgba(3, 121, 168, .55), 0 2px 4px rgba(16, 32, 43, .12);
    text-decoration: none;
  }
  .tvx-btn:hover:not(:disabled)::before { transform: translateX(320%); transition: transform .75s var(--tvx-ease); }
}
.tvx-btn:active:not(:disabled) { transform: translateY(1px) scale(.985); box-shadow: 0 2px 8px -2px rgba(3, 121, 168, .5); transition-duration: .06s; }
.tvx-btn:focus-visible { outline: 3px solid #7FCDEA; outline-offset: 3px; }
.tvx-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; transform: none; filter: saturate(.6); }
.tvx-btn.is-loading::before { display: none; }
.tvx-btn--auto { width: auto; min-height: 50px; padding: 13px 22px; font-size: .95rem; }

.vhrc__btn-spin {
  display: none; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
}
.tvx-btn.is-loading .vhrc__btn-spin { display: inline-block; animation: tvx-spin .7s linear infinite; }
@keyframes tvx-spin { to { transform: rotate(360deg); } }

.tvx-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; width: 100%; padding: 12px 20px;
  border: 1.5px solid var(--tvx-primary-line); color: var(--tvx-primary-dark); background: #fff;
  border-radius: var(--tvx-r); font-weight: 700; font-size: .92rem; text-decoration: none;
  transition: background .18s var(--tvx-ease), border-color .18s var(--tvx-ease);
}
.tvx-btn-ghost:hover { background: var(--tvx-primary-soft); border-color: var(--tvx-primary); text-decoration: none; }
.tvx-btn-ghost:focus-visible { outline: 3px solid var(--tvx-primary); outline-offset: 2px; }
.tvx-btn-ghost--auto { width: auto; }

#pay-btn { margin-top: 16px; }
.tvx-sum .tvx-btn-ghost { margin-top: 10px; }
.vhrc__paypal { margin-top: 12px; }
@media (max-width: 991.98px) {
  .tvx-btn { min-height: 58px; }
  /* The pay button follows the page while the summary is on screen. */
  #pay-btn { position: sticky; bottom: 12px; z-index: 5; }
}

/* ---------- Trust panel ---------- */

.tvx-secure-note {
  margin-top: 12px; padding: 10px 12px;
  background: var(--tvx-green-soft); border: 1px solid #A7E3CD; border-radius: var(--tvx-r-sm);
  font-size: .78rem; color: #0B5B43;
  display: flex; gap: 8px; align-items: flex-start; line-height: 1.4;
}
.tvx-secure-note svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 1px; }
.tvx-trust { margin: 12px 0 0; }
.tvx-trust li { display: flex; align-items: flex-start; gap: 8px; font-size: .79rem; color: #3B4B59; padding: 4px 0; line-height: 1.4; }
.tvx-trust svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; }
.tvx-accepted { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--tvx-border); }
.tvx-accepted > span { font-size: .7rem; color: var(--tvx-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-right: 2px; }
.tvx-accepted img { height: 26px; width: auto; display: block; }

/* ---------- Status cards (loading, not found, error) ---------- */

.tvx-status-card { max-width: 720px; margin: 0 auto; text-align: center; padding: 32px 20px; }
@media (min-width: 768px) { .tvx-status-card { padding: 44px 40px; } }
.tvx-status-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tvx-status-icon svg { width: 30px; height: 30px; }
.tvx-status-icon--info { background: var(--tvx-primary-soft); color: var(--tvx-primary-dark); }
.tvx-status-icon--warn { background: var(--tvx-amber-soft); color: var(--tvx-amber); }
.tvx-status-icon--error { background: var(--tvx-error-soft); color: var(--tvx-error); }
.tvx-checkout .tvx-status-card h2 { font-size: 1.25rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.tvx-status-msg { font-size: .95rem; color: #3B4B59; margin: 10px auto 0; max-width: 56ch; }
.tvx-spinner-lg {
  width: 38px; height: 38px; margin: 4px auto 18px; border-radius: 50%;
  border: 3px solid var(--tvx-primary-line); border-top-color: var(--tvx-primary-btn);
  animation: tvx-spin .8s linear infinite;
}
.tvx-skel { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 520px; margin: 24px auto 0; }
@media (min-width: 560px) { .tvx-skel { grid-template-columns: 1fr 1fr; } }
.tvx-skel span { display: block; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #EEF2F5 25%, #F8FAFB 50%, #EEF2F5 75%); background-size: 200% 100%; animation: tvx-shimmer 1.4s ease infinite; }
@keyframes tvx-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.tvx-tips { text-align: left; max-width: 560px; margin: 20px auto 0; }
.tvx-tips li { position: relative; padding: 4px 0 4px 20px; font-size: .88rem; color: #3B4B59; line-height: 1.5; }
.tvx-tips li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--tvx-primary); }
.tvx-status-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.tvx-status-actions .tvx-btn, .tvx-status-actions .tvx-btn-ghost { width: auto; min-width: 200px; }
.tvx-status-link { display: inline-block; margin-top: 18px; font-size: .86rem; font-weight: 600; }

/* Inline VIN form (not-found card and the pricing modal share it). */
.tvx-m-form { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 560px; margin: 20px auto 0; text-align: left; }
@media (min-width: 576px) { .tvx-m-form { grid-template-columns: 1fr auto; } }
.tvx-m-form input[type="text"] {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--tvx-text);
  border: 1px solid #C3CED8; border-radius: var(--tvx-r-sm); background: #fff;
  text-transform: uppercase; letter-spacing: .04em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tvx-m-form input[type="text"]::placeholder { text-transform: none; letter-spacing: 0; color: #9AA8B5; }
.tvx-m-form input[type="text"]:focus { border-color: var(--tvx-primary); box-shadow: 0 0 0 4px rgba(4, 147, 211, .16); outline: none; }
.tvx-m-form button {
  min-height: 52px; padding: 12px 22px; white-space: nowrap;
  font-size: .98rem; font-weight: 700; color: #fff;
  background: var(--tvx-primary-btn); border: 1px solid var(--tvx-primary-dark);
  border-radius: var(--tvx-r); cursor: pointer;
  transition: background .18s var(--tvx-ease), transform .18s var(--tvx-ease);
}
.tvx-m-form button:hover { background: var(--tvx-primary-dark); }
.tvx-m-form button:active { transform: translateY(1px); }
.tvx-m-form button:focus-visible { outline: 3px solid #7FCDEA; outline-offset: 2px; }
.tvx-m-error { color: var(--tvx-error); font-size: .84rem; font-weight: 600; margin-top: 10px; }
.tvx-status-card .tvx-m-error { text-align: center; }

/* ==========================================================================
   Pricing page
   ========================================================================== */

.tvx-banner { background: var(--tvx-grad-navy); color: #fff; padding: 36px 0 32px; text-align: center; }
.tvx-pricing-page .tvx-banner h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.tvx-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: #8FA3B5; }
.tvx-crumb a { color: #fff; font-weight: 600; }
.tvx-crumb li[aria-current] { color: #C3D2DE; }
@media (min-width: 768px) { .tvx-pricing-page .tvx-banner h1 { font-size: 2.3rem; } .tvx-banner { padding: 46px 0 40px; } }

.tvx-pricing { padding: 44px 0 56px; background: var(--tvx-bg-alt); }
.tvx-p-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.tvx-p-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tvx-primary-soft); border: 1px solid var(--tvx-primary-line); color: var(--tvx-primary-dark);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.tvx-pricing-page .tvx-p-title { font-size: 1.5rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 10px; text-wrap: balance; }
@media (min-width: 768px) { .tvx-pricing-page .tvx-p-title { font-size: 2rem; } }
.tvx-p-sub { font-size: .94rem; color: var(--tvx-muted); }

.tvx-p-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: stretch; padding-top: 16px; }
@media (min-width: 700px) { .tvx-p-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.tvx-p-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--tvx-bg);
  border: 2px solid var(--tvx-border);
  border-radius: var(--tvx-r-lg);
  box-shadow: var(--tvx-shadow-sm);
  padding: 26px 20px 20px;
  transition: border-color .22s var(--tvx-ease), box-shadow .22s var(--tvx-ease), transform .22s var(--tvx-ease);
}
.tvx-p-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--tvx-grad); border-radius: var(--tvx-r-lg) var(--tvx-r-lg) 0 0;
  opacity: 0; transition: opacity .22s var(--tvx-ease);
}
.tvx-p-card.is-popular::before { opacity: 1; }
.tvx-p-card.is-popular {
  border-color: var(--tvx-primary);
  box-shadow: 0 0 0 4px rgba(4, 147, 211, .14), var(--tvx-shadow-lg);
  background: linear-gradient(180deg, #F7FCFE 0%, #FFFFFF 46%);
}
@media (min-width: 700px) { .tvx-p-card.is-popular { transform: scale(1.03); } }
@media (hover: hover) {
  .tvx-p-card:hover { border-color: var(--tvx-primary-line); box-shadow: var(--tvx-shadow-lg); transform: translateY(-6px); }
  .tvx-p-card:hover::before { opacity: .6; }
}
@media (hover: hover) and (min-width: 700px) {
  .tvx-p-card.is-popular:hover { transform: translateY(-6px) scale(1.03); }
}

.tvx-p-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--tvx-grad); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 4px 12px -2px rgba(4, 147, 211, .5);
  z-index: 2; overflow: hidden;
}
.tvx-p-badge.tvx-badge-value { background: var(--tvx-grad-gold); box-shadow: 0 4px 12px -2px rgba(234, 140, 4, .5); }

.tvx-p-name { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 2px 0 4px; }
.tvx-p-desc { font-size: .82rem; color: var(--tvx-muted); margin-bottom: 16px; line-height: 1.45; }
@media (min-width: 700px) { .tvx-p-desc { min-height: 38px; } }
.tvx-p-price {
  display: flex; align-items: baseline; gap: 3px;
  padding: 14px 0; margin-bottom: 4px;
  border-top: 1px solid var(--tvx-border); border-bottom: 1px solid var(--tvx-border);
}
.tvx-p-cur { font-size: 1.05rem; font-weight: 700; color: var(--tvx-muted); }
.tvx-p-amt { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--tvx-navy); }
.tvx-p-per { font-size: .76rem; color: var(--tvx-muted); margin-left: 4px; }
.tvx-p-feats { margin: 14px 0 18px; flex: 1 1 auto; }
.tvx-p-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: .84rem; line-height: 1.45; padding: 5px 0; }
.tvx-p-feats li.is-off { color: #8A9AA8; }
.tvx-p-feats li svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 2px; }

.priceBtn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 54px; padding: 15px 20px;
  font-size: 1rem; font-weight: 800; line-height: 1.2; letter-spacing: .01em;
  color: #fff; background: var(--tvx-grad);
  border: 0; border-radius: var(--tvx-r); cursor: pointer; text-align: center;
  box-shadow: 0 4px 14px -2px rgba(3, 121, 168, .42), 0 1px 2px rgba(16, 32, 43, .1);
  transition: transform .18s var(--tvx-ease), box-shadow .18s var(--tvx-ease), background .18s var(--tvx-ease);
}
.priceBtn::before {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: translateX(-160%); pointer-events: none;
}
.priceBtn svg { width: 16px; height: 16px; transition: transform .22s var(--tvx-ease); }
@media (hover: hover) {
  .priceBtn:hover { background: var(--tvx-grad-hi); transform: translateY(-2px); box-shadow: 0 8px 22px -4px rgba(3, 121, 168, .5), 0 2px 4px rgba(16, 32, 43, .12); }
  .priceBtn:hover::before { transform: translateX(320%); transition: transform .75s var(--tvx-ease); }
  .priceBtn:hover svg { transform: translateX(3px); }
}
.priceBtn:active { transform: translateY(1px) scale(.985); box-shadow: 0 2px 8px -2px rgba(3, 121, 168, .45); transition-duration: .06s; }
.priceBtn:focus-visible { outline: 3px solid #7FCDEA; outline-offset: 3px; }
/* Non-recommended tiers get a quieter outline button; the recommendation stands out. */
.tvx-p-card:not(.is-popular) .priceBtn { background: #fff; color: var(--tvx-primary-dark); border: 1.5px solid var(--tvx-primary-line); box-shadow: none; }
@media (hover: hover) {
  .tvx-p-card:not(.is-popular) .priceBtn:hover { background: var(--tvx-primary-soft); border-color: var(--tvx-primary); box-shadow: 0 6px 16px -4px rgba(3, 121, 168, .25); }
}

/* The recommended card is scaled up, so its bottom edge sits below the grid
   row; the trust line needs clearance or it touches the card. */
.tvx-p-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 40px; }
.tvx-p-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: #3B4B59; font-weight: 500; }
.tvx-p-trust svg { flex: 0 0 15px; width: 15px; height: 15px; }
.tvx-p-note { text-align: center; margin: 22px auto 0; max-width: 640px; font-size: .8rem; color: var(--tvx-muted); line-height: 1.5; }

@media (max-width: 699.98px) {
  .tvx-p-card { transform: none !important; padding: 26px 16px 18px; }
  .tvx-p-amt { font-size: 2.25rem; }
  .priceBtn { min-height: 56px; }
}
@media (max-width: 480px) {
  .tvx-p-badge, .tvx-plan-badge { font-size: .62rem; letter-spacing: .045em; padding: 6px 11px; max-width: calc(100% - 24px); text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: no-preference) {
  .tvx-p-card { animation: tvx-rise .5s var(--tvx-ease) both; }
  .tvx-p-card:nth-child(2) { animation-delay: .07s; }
  .tvx-p-card:nth-child(3) { animation-delay: .14s; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 700px) {
  .tvx-p-card.is-popular { animation-name: tvx-rise-pop; }
}
@keyframes tvx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tvx-rise-pop { from { opacity: 0; transform: translateY(14px) scale(1.03); } to { opacity: 1; transform: scale(1.03); } }

/* ---------- How it works ---------- */

.tvx-how { background: var(--tvx-bg); padding: 48px 0 56px; }
.tvx-how__grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 860px) { .tvx-how__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.tvx-how__img { width: 100%; height: 100%; min-height: 240px; max-height: 420px; object-fit: cover; border-radius: var(--tvx-r-lg); box-shadow: var(--tvx-shadow); display: block; }
.tvx-pricing-page .tvx-how h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
@media (min-width: 768px) { .tvx-pricing-page .tvx-how h2 { font-size: 2rem; } }
.tvx-how__lead { color: var(--tvx-muted); font-size: .95rem; max-width: 56ch; }
.tvx-how__steps { margin-top: 22px; counter-reset: tvx-step; }
.tvx-how__steps li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--tvx-border); font-size: .95rem; font-weight: 600; }
.tvx-how__steps li:first-child { border-top: 0; }
.tvx-how__steps img { width: 46px; height: 46px; flex: 0 0 46px; object-fit: contain; }
.tvx-how__steps li::before { counter-increment: tvx-step; content: counter(tvx-step); flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--tvx-primary-soft); color: var(--tvx-primary-dark); font-size: .74rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- VIN modal ---------- */

.tvx-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: var(--tvx-font); color: var(--tvx-text); }
.tvx-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.tvx-modal__dialog {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: var(--tvx-r-lg); box-shadow: var(--tvx-shadow-lg);
  animation: tvx-rise .28s var(--tvx-ease);
}
.tvx-m-head { background: var(--tvx-grad-navy); color: #fff; padding: 22px 56px 22px 22px; }
.tvx-m-head h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.tvx-m-head p { font-size: .86rem; color: #C3D2DE; }
.tvx-modal__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .18s var(--tvx-ease);
}
.tvx-modal__close:hover { background: rgba(255, 255, 255, .22); }
.tvx-modal__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tvx-modal__close svg { width: 16px; height: 16px; }
.tvx-m-body { padding: 20px 22px 24px; }
.tvx-m-body .tvx-m-form { margin-top: 0; max-width: none; }
.tvx-m-hint { font-size: .8rem; color: var(--tvx-muted); margin-top: 12px; line-height: 1.5; }
.tvx-m-hint a { font-weight: 600; }
.tvx-m-plan { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tvx-border); font-size: .84rem; color: var(--tvx-muted); }
.tvx-m-plan strong { color: var(--tvx-text); }

@media print {
  .tvx-head, .tvx-banner { background: #fff; color: #000; }
  .tvx-btn, .tvx-btn-ghost, .priceBtn, .tvx-modal { display: none !important; }
}
