/* =========================================================
   PRO24 — Pricing & Checkout clickable demo
   Single-file. Drop into WordPress "Custom HTML" block or
   open directly in a browser to test.
   Brand palette: Kadence-aligned (Plenaxy / PRO24).
   ========================================================= */

:root{
  /* ----------------------------------------------------------------
     Standalone version — all colors hard-coded. No theme dependencies.
     ---------------------------------------------------------------- */

  /* Core brand */
  --navy:       #00305b;   /* dark headings */
  --navy-2:     #004884;   /* secondary dark */
  --blue:       #2B6CB0;   /* primary accent / CTA bg */
  --blue-dark:  #265E9A; /* accent hover */
  --sky:        #8bb9dc;   /* highlight / soft chip — kept hard-coded (no Kadence equiv) */
  --sky-tint:   #e6f0fa;   /* very light accent bg */
  --sky-tint-2: #f2f7fc;   /* even lighter */

  /* Neutrals */
  --ink:        #1A202C;
  --ink-soft:   #515151;
  --muted:      #718096;
  --line:       #E1E1E1;
  --line-2:     #F7F7F7;
  --bg:         #ffffff;
  --bg-soft:    #F7F7F7;

  /* Status — kept hard-coded; not part of Kadence palette */
  --ok:         #13612e;
  --warn:       #b7791f;
  --err:        #c53030;

  /* Semantic aliases (keep downstream CSS simple) */
  --accent:       var(--blue);    /* active ring uses palette1 if available */
  --accent-dark:  var(--blue-dark);
  --accent-soft:  var(--sky-tint);
  --accent-faint: var(--sky-tint-2);
  --pop:          var(--navy);

  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 1px rgba(10,37,64,.04);
  --shadow-md: 0 10px 30px -12px rgba(10,37,64,.20), 0 4px 10px -6px rgba(10,37,64,.08);
  --shadow-lg: 0 24px 60px -20px rgba(10,37,64,.30);
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------------------------------------------------------------------------
   Base resets — SCOPED to the widget's own roots ONLY.
   These intentionally do NOT touch html / body / bare element selectors so the
   storefront's global typography, link colours, buttons and box-sizing keep
   winning everywhere outside the widget. The widget INHERITS the site's
   font-family (no forced Open Sans) and only sets what it strictly needs inside
   its own containers.
   Roots: .p24-app (pricing) + .p24-modal / .p24-overlay / .p24-toast (portals
   rendered as direct children of <body>, siblings of .p24-app).
   --------------------------------------------------------------------------- */
.p24-app,.p24-modal,.p24-overlay,.p24-toast{
  box-sizing:border-box;
  /* font-family is deliberately omitted — inherit the storefront font */
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
.p24-app *,.p24-app *::before,.p24-app *::after,
.p24-modal *,.p24-modal *::before,.p24-modal *::after,
.p24-overlay *,.p24-overlay *::before,.p24-overlay *::after,
.p24-toast *,.p24-toast *::before,.p24-toast *::after{
  box-sizing:border-box;
}
/* Element resets are wrapped in :where() so they carry ONLY element-level
   specificity (exactly like a bare `button{}` / `a{}` would). This keeps them
   BELOW the widget's own single-class component rules (.p24-btn, .p24-btn-ghost,
   .p24-field …) so those always win — while still neutralising the storefront's
   default button/link chrome inside the widget and never leaking to the page.
   NOTE: a plain descendant selector like `.p24-modal button` would raise the
   specificity to 0-1-1 and OVERRIDE .p24-btn (0-1-0), which stripped the
   checkout buttons of their padding/background/border. :where() avoids that. */
:where(.p24-app,.p24-modal,.p24-overlay,.p24-toast) button{
  font-family:inherit;cursor:pointer;border:0;background:none;color:inherit;padding:0;
}
:where(.p24-app,.p24-modal) input,
:where(.p24-app,.p24-modal) select,
:where(.p24-app,.p24-modal) textarea{
  font-family:inherit;font-size:inherit;color:inherit;
}
:where(.p24-app,.p24-modal) a{color:var(--accent);text-decoration:none}
:where(.p24-app,.p24-modal) a:hover{text-decoration:underline}

/* ---------- layout ---------- */
.p24-app{display:flex;flex-direction:column}

/* ---------- hero / pricing header ---------- */
.p24-hero{
  padding:32px 24px 8px;text-align:center;
}
.p24-pricing-footnote{
  max-width:880px;margin:24px auto 0;padding:18px 24px;
  background:var(--bg-soft);border-radius:var(--radius);
  font-size:12px;color:var(--ink-soft);line-height:1.6;
}
.p24-pricing-footnote b{color:var(--ink);font-weight:700}

/* generic section */
.p24-section{padding:60px 24px}
.p24-section-alt{background:var(--bg-soft)}
.p24-section-inner{max-width:1100px;margin:0 auto}
.p24-section-inner.narrow{max-width:820px}
.p24-section-h2{
  font-size:32px;letter-spacing:-.01em;color:var(--navy);
  margin:0 0 8px;text-align:center;
}
.p24-section-lead{
  text-align:center;color:var(--ink-soft);font-size:15px;
  max-width:640px;margin:0 auto 32px;
}

/* comparison table */
.p24-table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--line);background:#fff}
.p24-table{
  width:100%;border-collapse:collapse;font-size:14px;min-width:680px;
}
.p24-table th, .p24-table td{
  padding:14px 18px;text-align:left;border-bottom:1px solid var(--line-2);
}
.p24-table th{
  background:var(--bg-soft);font-weight:700;color:var(--navy);
  font-size:13px;letter-spacing:.02em;
}
.p24-table th.hl{
  background:var(--sky-tint);color:var(--blue-dark);
}
.p24-table td.hl{
  background:var(--sky-tint-2);font-weight:600;
}
.p24-table tbody tr:last-child td{border-bottom:0}
.p24-table tbody tr:hover{background:#fafbfd}
.p24-table tbody tr:hover td.hl{background:#e0edf7}

/* FAQ */
.p24-faq{display:flex;flex-direction:column;gap:10px}
.p24-faq details{
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:0;transition:.2s;overflow:hidden;
}
.p24-faq details[open]{box-shadow:var(--shadow-sm);border-color:var(--sky)}
.p24-faq summary{
  padding:18px 22px;cursor:pointer;font-weight:600;font-size:15px;color:var(--navy);
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.p24-faq summary::-webkit-details-marker{display:none}
.p24-faq summary::after{
  content:'+';font-size:22px;color:var(--muted);font-weight:400;
  transition:.2s;flex:0 0 auto;
}
.p24-faq details[open] summary::after{transform:rotate(45deg);color:var(--blue)}
.p24-faq details > div{
  padding:0 22px 18px;font-size:14px;color:var(--ink-soft);line-height:1.65;
}

/* billing toggle */
.p24-bill{margin:0 auto;display:flex;align-items:center;gap:14px;justify-content:center;flex-wrap:wrap}
.p24-bill #lblAnnual + .save{margin-left:-8px}
.p24-bill .save{
  display:inline-flex;align-items:center;
  background:#fff1e8;color:#9a3412;
  border:1px solid #fbcfae;
  font-size:10px;font-weight:700;padding:3px 8px;border-radius:999px;
  letter-spacing:.02em;
}
.p24-bill .label{font-weight:600;font-size:14px}
.p24-bill .label.off{color:var(--muted);font-weight:500}
.p24-bill .label.off .save{opacity:1}
.p24-switch{
  width:44px;height:24px;border-radius:999px;background:var(--accent)!important;
  position:relative;transition:.2s;cursor:pointer;
  border:0;padding:0;outline:none;
  box-shadow:none!important;
}
.p24-switch:hover,.p24-switch:focus,.p24-switch:active,.p24-switch:focus-visible{
  background:var(--accent)!important;
  box-shadow:none!important;
}
.p24-switch::after{
  content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;
  border-radius:50%;background:#fff;box-shadow:var(--shadow-sm);transition:.2s;
}
.p24-switch.on::after{left:23px}

/* ---------- pricing grid ---------- */
.p24-grid-wrap{max-width:1200px;margin:0 auto;padding:28px 24px 10px}
.p24-grid{
  display:grid;gap:18px;
  grid-template-columns:repeat(3, minmax(0,1fr));
}
@media (max-width: 960px){.p24-grid{grid-template-columns:1fr}}

/* Loading state — spans all 3 grid columns so the spinner stays centered
   regardless of how many tier cards the layout reserves room for. */
.p24-cards-loading{
  grid-column:1 / -1;
  padding:80px 24px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:14px;
}
.p24-cards-loading i.fa-solid{
  font-size:28px;color:var(--accent);
}
.p24-cards-loading-text{
  font-size:14px;color:var(--muted);font-weight:500;
}

.p24-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:24px;display:flex;flex-direction:column;gap:14px;position:relative;
  transition:.2s;
}
.p24-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.p24-card.is-enterprise:hover{box-shadow:none;transform:none}

/* "Recommended for SMEs" ribbon — visual marker only, no blue ring.
   Rendered as a real .p24-card-ribbon element (built in renderCards) instead of
   a CSS ::before so the label can be localised via the i18n table. */
.p24-card-ribbon{
  position:absolute;top:-1px;left:50%;transform:translateX(-50%) translateY(-50%);
  background:linear-gradient(135deg,var(--sky),var(--blue));
  color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;
  padding:6px 14px;border-radius:999px;white-space:nowrap;
  box-shadow:var(--shadow-sm);
  z-index:3;
}

/* Paid-tier cards are clickable containers (whole-card click activates) */
.p24-card.is-clickable{cursor:pointer}
.p24-card.is-clickable:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px var(--accent-soft), var(--shadow-md);
}

/* Active tier — strong blue ring */
.p24-card.is-locked{
  border-color:var(--blue);
  box-shadow:0 0 0 4px var(--accent-soft), var(--shadow-md);
  background:linear-gradient(180deg,#fff 0%,#fafcff 100%);
  z-index:2;
}
/* Disabled tier — content greyed out so user knows they're not editing it,
   but the CTA footer stays at full strength so the "Switch to X" button is
   clearly clickable. */
.p24-card.is-disabled > *:not(.p24-card-foot){opacity:.55;filter:saturate(.6)}
.p24-card.is-disabled .p24-mod{cursor:not-allowed;background:var(--bg-soft)}
.p24-card.is-disabled .p24-mod:hover{background:var(--bg-soft);border-color:var(--line)}
.p24-mod.is-disabled{cursor:not-allowed;pointer-events:none;opacity:.7}

/* ============== Enterprise card — light variant (same look as Starter/Professional) ============== */
/* No special card colour. Only the inner sales-chat button + cert row need styling. */

/* Sales chat button — clickable, opens Pipedrive chat */
.p24-ent-sales{
  background:var(--accent-faint);border:1px solid var(--sky-tint);
  border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:12px;
  width:100%;text-align:left;color:inherit;font-family:inherit;cursor:pointer;
  transition:.15s;
}
.p24-ent-sales:hover{
  background:var(--sky-tint);border-color:var(--sky);
  transform:translateY(-1px);
}
.p24-ent-sales:active{transform:translateY(0)}
.p24-ent-sales .avatar{
  width:40px;height:40px;border-radius:50%;flex:0 0 40px;
  background:linear-gradient(135deg,var(--blue),var(--navy));
  display:grid;place-items:center;color:#fff;
  box-shadow:0 4px 12px rgba(10,37,64,.18);
}
.p24-ent-sales .meta{flex:1;min-width:0;line-height:1.35}
.p24-ent-sales .meta .who{font-size:13px;font-weight:700;color:var(--navy)}
.p24-ent-sales .meta .when{font-size:11px;color:var(--ink-soft);display:flex;align-items:center;gap:5px;margin-top:2px}
.p24-ent-sales .meta .when::before{
  content:'';width:7px;height:7px;border-radius:50%;background:#22c55e;
  box-shadow:0 0 0 3px rgba(34,197,94,.22);
}
.p24-ent-sales .chevron{
  flex:0 0 auto;color:var(--muted);font-size:18px;line-height:1;
  transition:.15s;
}
.p24-ent-sales:hover .chevron{color:var(--blue-dark);transform:translateX(2px)}

/* Certification row */
.p24-ent-certs{
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
  padding:8px 0 0;
}
.p24-ent-certs .iso{
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 10px;background:var(--bg-soft);
  border:1px solid var(--line);border-radius:6px;
  font-size:10px;font-weight:700;color:var(--ink-soft);letter-spacing:.04em;
}
.p24-ent-certs .iso::before{
  content:'✓';font-size:9px;color:var(--ok);
}
.p24-ent-certs-label{
  text-align:center;font-size:10px;color:var(--muted);letter-spacing:.06em;
  text-transform:uppercase;margin-bottom:6px;font-weight:600;
}

/* "Selected" tag indicator (kept for potential reuse) */
.p24-tier-active-tag{
  display:inline-flex;align-items:center;gap:4px;
  padding:4px 10px;background:var(--blue);color:#fff;
  font-size:11px;font-weight:700;border-radius:999px;
  letter-spacing:.04em;text-transform:uppercase;
}
.p24-tier-state{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 12px;background:var(--accent-faint);color:var(--blue-dark);
  border:1px solid var(--sky);border-radius:8px;
  font-size:12px;font-weight:600;justify-content:center;
}
.p24-tier-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.p24-tier{
  display:inline-block;padding:4px 12px;border:1px solid var(--line);
  border-radius:999px;font-size:12px;font-weight:600;color:var(--ink-soft);
  background:#fafafd;
}
.p24-badge{
  display:inline-block;padding:4px 10px;
  background:var(--sky-tint);color:var(--blue-dark);
  font-size:11px;font-weight:700;border-radius:999px;
  letter-spacing:.02em;
}
.p24-price{
  display:flex;align-items:baseline;gap:6px;margin-top:4px;
}
.p24-price .amount{font-size:36px;font-weight:800;letter-spacing:-.02em}
.p24-price .amount.p24-price-tailored{
  font-size:28px;color:var(--navy);font-weight:700;letter-spacing:-.01em;
}
.p24-price .per{color:var(--muted);font-size:14px;font-weight:500}
.p24-sub{font-size:13px;color:var(--muted);margin-top:-4px}
.p24-for{font-size:13px;color:var(--ink-soft);padding:10px 0;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}

.p24-features{
  list-style:none!important;padding:0!important;margin:0!important;
  display:flex;flex-direction:column;gap:10px;
}
.p24-features li{
  display:flex;gap:10px;align-items:flex-start;
  font-size:14px;color:var(--ink-soft);
  margin:0!important;padding:0!important;list-style:none!important;
}
.p24-features li::before{content:none!important}
.p24-features .check{
  flex:0 0 18px;font-size:18px;color:var(--accent);
  line-height:1;margin-top:1px;
}
.p24-features h5{font-size:13px;font-weight:700;color:var(--ink);margin:0 0 4px}

/* module picker inside card */
.p24-modules{
  margin-top:6px;border-top:1px solid var(--line-2);padding-top:14px;
  display:flex;flex-direction:column;gap:6px;
}
.p24-modules h5{margin:0 0 4px;font-size:12px;font-weight:700;color:var(--ink);letter-spacing:.02em;text-transform:uppercase}
.p24-mod{
  display:flex;align-items:center;gap:10px;padding:8px 12px;
  border:1px solid var(--line);border-radius:10px;cursor:pointer;
  background:#fff;transition:.15s;position:relative;
}
.p24-mod:hover{border-color:var(--sky);background:var(--accent-faint)}
.p24-mod.checked{border-color:var(--accent);background:var(--accent-faint)}
.p24-mod .box{
  width:18px;height:18px;border-radius:5px;border:1.5px solid #c7cdd4;
  display:grid;place-items:center;flex:0 0 18px;transition:.15s;
}
.p24-mod.checked .box{background:var(--accent);border-color:var(--accent);color:#fff}
.p24-mod .name{flex:1;font-size:13px;font-weight:600;line-height:1.2}
.p24-mod .price{font-size:13px;font-weight:700;color:var(--accent-dark);white-space:nowrap}

/* Info tooltip on each module */
.p24-mod .info{
  flex:0 0 auto;display:inline-grid;place-items:center;
  width:18px;height:18px;border-radius:50%;
  color:var(--muted);cursor:help;outline:none;
  transition:.15s;
}
.p24-mod .info:hover,.p24-mod .info:focus{color:var(--blue-dark);background:var(--accent-soft)}
.p24-mod .info::after{
  content:attr(data-tip);
  position:absolute;bottom:calc(100% + 8px);right:8px;
  background:var(--navy);color:#fff;font-size:12px;font-weight:500;
  line-height:1.45;padding:8px 12px;border-radius:8px;
  width:230px;white-space:normal;text-align:left;
  box-shadow:var(--shadow-md);
  opacity:0;pointer-events:none;transform:translateY(4px);transition:.15s;
  z-index:50;
}
.p24-mod .info::before{
  content:'';position:absolute;bottom:calc(100% + 2px);right:14px;
  border:6px solid transparent;border-top-color:var(--navy);
  opacity:0;transition:.15s;z-index:50;
}
.p24-mod .info:hover::after,.p24-mod .info:focus::after,
.p24-mod .info:hover::before,.p24-mod .info:focus::before{
  opacity:1;transform:translateY(0);
}

/* footer of card */
.p24-card-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px}
.p24-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 18px;border-radius:999px;font-weight:700;font-size:14px;
  transition:.15s;white-space:nowrap;
}
.p24-btn-primary{background:var(--accent);color:#fff}
/* !important to override Kadence's base button:hover background and link
   color rules. Without this an <a class="p24-btn p24-btn-primary"> loses its
   white text + flashes a different bg on hover. */
.p24-btn-primary:hover,
.p24-btn-primary:focus,
.p24-btn-primary:focus-visible,
.p24-btn-primary:active{
  background:var(--accent-dark)!important;
  color:#fff!important;
  border:0!important;box-shadow:none!important;
}
.p24-btn-outline{background:#fff;color:var(--accent-dark);border:1.5px solid var(--accent)}
.p24-btn-outline:hover,
.p24-btn-outline:focus,
.p24-btn-outline:focus-visible,
.p24-btn-outline:active{
  background:var(--accent-faint)!important;
  color:var(--accent-dark)!important;
  border-color:var(--accent)!important;box-shadow:none!important;
}
/* Cancel-style. Visible background + border so the button reads as a button,
   not as orphan text. Kadence's button:hover injects gradient/shadow that
   masks the text colour — !important pins our own palette. */
.p24-btn-ghost{
  background:#fff;color:var(--ink-soft);
  border:1.5px solid var(--line);
}
.p24-btn-ghost:hover,
.p24-btn-ghost:focus,
.p24-btn-ghost:focus-visible,
.p24-btn-ghost:active{
  background:var(--bg-soft)!important;
  color:var(--ink)!important;
  border-color:var(--muted)!important;
  box-shadow:none!important;
}
/* Link-as-button — text-decoration:none in every state so <a class="p24-btn">
   doesn't pick up the Kadence default underline on hover. */
a.p24-btn,
a.p24-btn:visited,
a.p24-btn:hover,
a.p24-btn:focus,
a.p24-btn:focus-visible,
a.p24-btn:active{
  text-decoration:none!important;
}
.p24-btn-dark{background:var(--pop);color:#fff}
.p24-btn-dark:hover{background:#2a1a50}
.p24-btn[disabled]{opacity:.5;cursor:not-allowed}
.p24-incl{font-size:12px;color:var(--muted);text-align:center}
.p24-incl b{color:var(--ink-soft);font-weight:700}

/* selected total bar */
.p24-selected-line{
  margin-top:8px;padding:10px 12px;border-radius:10px;background:var(--accent-faint);
  font-size:12px;color:var(--ink-soft);display:flex;justify-content:space-between;gap:8px;
}
.p24-selected-line b{color:var(--ink);font-weight:700}

/* ---------- checkout form fields (used inside modal) ---------- */
.p24-row{display:grid;gap:12px;grid-template-columns:1fr 1fr}
.p24-row.one{grid-template-columns:1fr}
.p24-row.mt{margin-top:12px}
.p24-field{display:flex;flex-direction:column;gap:6px}
.p24-field label{font-size:12px;font-weight:600;color:var(--ink-soft)}
.p24-field input,.p24-field select,.p24-field textarea{
  padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;
  transition:.15s;outline:none;font-size:14px;
}
.p24-field input:focus,.p24-field select:focus,.p24-field textarea:focus{
  border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);
}
.p24-field.err input,.p24-field.err select{border-color:var(--err);box-shadow:0 0 0 3px rgba(197,48,48,.12)}
.p24-field .hint{font-size:11px;color:var(--muted)}
.p24-field .errmsg{font-size:11px;color:var(--err);font-weight:600}

/* System-languages block: a 'Default language' <select> (reuses .p24-field) plus a
   compact list of 'Additional languages' checkboxes. The selected default is excluded
   from the checkbox list (it's implicitly enabled); the whole .extra block hides when
   'Automatic — based on country' is the chosen default. Built in JS from PRO24_LANGS. */
.p24-syslang-extra{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.p24-syslang-label{font-size:12px;font-weight:600;color:var(--ink-soft)}
.p24-syslang-list{display:flex;flex-wrap:wrap;gap:8px}
.p24-syslang-opt{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;
  border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;
  font-size:13px;color:var(--ink);user-select:none}
.p24-syslang-opt:hover{border-color:var(--accent)}
.p24-syslang-opt.checked{border-color:var(--accent);background:var(--accent-faint)}
.p24-syslang-opt input{width:15px;height:15px;accent-color:var(--accent);cursor:pointer;margin:0}

/* shared summary lines */
.p24-sum-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line-2);font-size:13px}
.p24-sum-line:last-of-type{border-bottom:0}
.p24-sum-line .lbl{color:var(--ink-soft)}
.p24-sum-line.total{font-weight:800;font-size:16px;border-top:2px solid var(--ink);padding-top:12px;margin-top:8px;border-bottom:0}
.p24-sum-chip{
  display:inline-block;background:var(--sky-tint);color:var(--blue-dark);
  font-size:10px;font-weight:700;padding:2px 7px;border-radius:999px;margin-left:6px;text-transform:uppercase;letter-spacing:.04em;
}

/* enterprise contact modal — hosts Pipedrive Web Form */
.p24-ent-box{
  max-width:640px;padding:0;position:relative;
}
.p24-ent-close{
  position:absolute;top:12px;right:12px;z-index:2;
  width:36px;height:36px;border-radius:50%;
  font-size:18px;color:var(--muted);background:#fff;border:1px solid var(--line);
  cursor:pointer;line-height:1;display:flex;align-items:center;justify-content:center;
}
.p24-ent-close:hover{color:var(--ink);border-color:var(--muted)}
.p24-ent-body{
  padding:36px 24px 24px;min-height:520px;
}
.p24-ent-body iframe{
  width:100% !important;border:0;display:block;min-height:480px;
}

/* base modal (shared) */
.p24-modal{
  position:fixed;inset:0;background:rgba(14,18,32,.55);z-index:100;
  display:none;align-items:flex-start;justify-content:center;padding:20px;
  opacity:0;transition:.2s;overflow-y:auto;
  /* Stop scroll-chaining: when the modal's own scroller hits its top/bottom
     edge, the browser would otherwise pass remaining wheel/touch deltas up
     to the page below (body / html), making the storefront scroll under the
     modal. contain keeps the events here. */
  overscroll-behavior:contain;
}
.p24-modal.show{display:flex;opacity:1}
.p24-modal-box{
  background:#fff;border-radius:var(--radius-lg);max-width:520px;width:100%;
  padding:28px;box-shadow:var(--shadow-lg);transform:translateY(10px);transition:.2s;
  margin:auto;
}
.p24-modal-box.lg{max-width:920px;padding:0}
.p24-modal.show .p24-modal-box{transform:translateY(0)}
.p24-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.p24-modal h3{margin:0;font-size:20px}
.p24-modal .close{font-size:22px;color:var(--muted);line-height:1;background:none}

/* checkout modal (large variant) */
.p24-co-head{
  padding:22px 28px;border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  position:sticky;top:0;background:#fff;border-radius:var(--radius-lg) var(--radius-lg) 0 0;z-index:2;
}
.p24-co-head h2{margin:0;font-size:22px;letter-spacing:-.01em}
.p24-co-head .sub{font-size:13px;color:var(--muted);margin-top:2px}
.p24-co-body{display:grid;grid-template-columns:1fr 340px;gap:0}
@media (max-width: 820px){.p24-co-body{grid-template-columns:1fr}}
.p24-co-form{padding:24px 28px;border-right:1px solid var(--line);min-width:0}
.p24-co-form h4{
  margin:0 0 4px;font-size:15px;letter-spacing:-.005em;
}
.p24-co-form .group-hint{font-size:12px;color:var(--muted);margin:0 0 14px}
.p24-co-form .group{margin-bottom:26px}
.p24-co-form .group:last-child{margin-bottom:0}
.p24-co-side{padding:24px 28px;background:var(--bg-soft);min-width:0}
.p24-co-side h4{margin:0 0 12px;font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.p24-co-foot{
  padding:16px 28px;border-top:1px solid var(--line);display:flex;
  align-items:center;justify-content:space-between;gap:16px;background:#fff;
  position:sticky;bottom:0;border-radius:0 0 var(--radius-lg) var(--radius-lg);
}
.p24-co-foot-left{display:flex;flex-direction:column;gap:2px;min-width:0}
.p24-co-foot .legal{font-size:12px;color:var(--muted)}
.p24-co-talk-link{
  font-size:12px;color:var(--blue-dark);font-weight:600;
  background:none;border:0;padding:0;cursor:pointer;text-align:left;
  font-family:inherit;box-shadow:none;
}
/* Kadence + WP base styles inject background / box-shadow on hover and focus
   for every <button>. !important overrides them so this link-styled button
   stays a pure text underline on hover. */
.p24-co-talk-link:hover,
.p24-co-talk-link:focus,
.p24-co-talk-link:focus-visible,
.p24-co-talk-link:active{
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--blue-dark)!important;
  text-decoration:underline;
}

/* Confirm modal — back link in foot (Edit details) */
.p24-co-back-link{
  font-size:13px;color:var(--blue-dark);font-weight:600;
  text-decoration:none;
}
.p24-co-back-link:hover{text-decoration:underline}

/* Confirm modal body uses single column (no aside) */
.p24-confirm-body{
  display:block!important;padding:24px 28px;
}

/* Summary card in confirm modal — 2-column grid on wide screens so all
   details fit without scrolling. Each section becomes a grid cell;
   total spans full width. */
.p24-confirm-summary{
  background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;
  padding:18px 20px;
  display:grid;grid-template-columns:1fr 1fr;gap:0 28px;
}
.p24-confirm-summary .conf-section{
  display:flex;flex-direction:column;
}
.p24-confirm-summary .conf-section.full{grid-column:1 / -1}
.p24-confirm-summary h4{
  margin:0 0 4px 0;font-size:12px;color:var(--muted);
  text-transform:uppercase;letter-spacing:.04em;font-weight:600;
}
.p24-confirm-summary .conf-row{
  display:flex;justify-content:space-between;align-items:flex-start;
  padding:8px 0;border-top:1px solid var(--line-2);font-size:13px;gap:12px;
}
.p24-confirm-summary .conf-row:first-of-type{border-top:0}
.p24-confirm-summary .conf-row .l{color:var(--ink-soft);flex:0 0 auto}
.p24-confirm-summary .conf-row .v{color:var(--navy);font-weight:600;text-align:right;flex:1 1 auto;min-width:0;word-break:break-word}
.p24-confirm-summary .conf-row .v .meta{
  font-weight:400;color:var(--muted);font-size:11px;display:block;margin-top:2px;
}
.p24-confirm-summary .conf-total{
  display:flex;justify-content:space-between;align-items:baseline;
  padding-top:12px;margin-top:8px;border-top:2px solid var(--navy);
}
.p24-confirm-summary .conf-total .l{font-size:14px;color:var(--navy);font-weight:700}
.p24-confirm-summary .conf-total .v{font-size:20px;color:var(--navy);font-weight:800}

/* On narrow screens, fall back to single column */
@media (max-width: 720px){
  .p24-confirm-summary{grid-template-columns:1fr}
  .p24-confirm-summary .conf-section.full{grid-column:auto}
}
@media (max-width: 700px){
  .p24-co-foot{flex-direction:column;align-items:stretch}
  .p24-co-foot-left{align-items:center;text-align:center}
}

/* Trust strip — sits below header, gives reassurance before form */
.p24-co-trust{
  display:flex;justify-content:center;gap:24px;flex-wrap:wrap;
  padding:12px 28px;border-bottom:1px solid var(--line-2);
  background:var(--sky-tint-2);
}
.p24-co-trust-item{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:600;color:var(--blue-dark);
}
.p24-co-trust-item svg,
.p24-co-trust-item i.fa-solid{color:var(--blue-dark);font-size:14px}

/* "Why we ask this" tooltip on field labels */
.p24-tip{
  display:inline-grid;place-items:center;
  width:14px;height:14px;border-radius:50%;
  color:var(--muted);cursor:help;outline:none;margin-left:4px;
  vertical-align:middle;position:relative;transition:.15s;
}
.p24-tip:hover,.p24-tip:focus{color:var(--blue-dark)}
.p24-tip::after{
  content:attr(data-tip);
  position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(4px);
  background:var(--navy);color:#fff;font-size:11px;font-weight:500;line-height:1.45;
  padding:8px 10px;border-radius:6px;
  width:220px;white-space:normal;text-align:left;
  box-shadow:var(--shadow-md);
  opacity:0;pointer-events:none;transition:.15s;z-index:50;
}
.p24-tip::before{
  content:'';position:absolute;bottom:calc(100% + 2px);left:50%;transform:translateX(-50%);
  border:6px solid transparent;border-top-color:var(--navy);
  opacity:0;transition:.15s;z-index:50;
}
.p24-tip:hover::after,.p24-tip:focus::after{
  opacity:1;transform:translateX(-50%) translateY(0);
}
.p24-tip:hover::before,.p24-tip:focus::before{
  opacity:1;
}

/* "I'm also the administrator" checkbox block */
.p24-admin-toggle{
  display:flex;align-items:flex-start;gap:10px;
  padding:12px 14px;border:1px solid var(--line);border-radius:10px;
  background:#fff;cursor:pointer;transition:.15s;
  margin-bottom:0;
}
.p24-admin-toggle:hover{border-color:var(--sky);background:var(--sky-tint-2)}
.p24-admin-toggle.checked{border-color:var(--blue);background:var(--sky-tint-2)}
.p24-admin-toggle.locked{
  cursor:not-allowed;border-color:var(--line);background:var(--bg-soft);
  opacity:1;
}
.p24-admin-toggle.locked:hover{border-color:var(--line);background:var(--bg-soft)}
.p24-admin-toggle .cbox{
  flex:0 0 18px;width:18px;height:18px;border-radius:5px;
  border:1.5px solid #c7cdd4;background:#fff;
  display:grid;place-items:center;color:#fff;
  transition:.15s;margin-top:1px;
}
.p24-admin-toggle.checked .cbox{background:var(--blue);border-color:var(--blue)}
.p24-admin-toggle.locked .cbox{background:var(--muted);border-color:var(--muted);opacity:.8}
.p24-admin-toggle .cmeta{flex:1;min-width:0;line-height:1.4}
.p24-admin-toggle .ctitle{
  font-size:13px;font-weight:700;color:var(--ink);margin:0;
}
.p24-admin-toggle .cdesc{
  font-size:12px;color:var(--ink-soft);margin:2px 0 0;line-height:1.5;
}
.p24-admin-toggle.locked .ctitle{color:var(--ink-soft)}

/* Starter info callout — replaces admin fields when Starter is selected */
.p24-admin-starter-info{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px 14px;background:var(--sky-tint-2);
  border:1px dashed var(--sky);border-radius:10px;
  margin-top:10px;
}
.p24-admin-starter-info .ic{
  flex:0 0 16px;color:var(--blue-dark);margin-top:2px;
}
.p24-admin-starter-info .txt{
  font-size:12px;color:var(--ink-soft);line-height:1.55;
}
.p24-admin-starter-info .txt b{color:var(--navy);font-weight:700}

/* "Other — Contact Sales" callout for non-self-service countries */
.p24-co-other-info{
  display:flex;gap:10px;align-items:flex-start;
  padding:14px 16px;background:var(--sky-tint-2);
  border:1px solid var(--sky);border-radius:10px;
  margin-top:12px;
}
.p24-co-other-info.hidden{display:none}
.p24-co-other-info .ic{
  flex:0 0 16px;color:var(--blue-dark);margin-top:2px;
}
.p24-co-other-info .txt{
  font-size:13px;color:var(--ink-soft);line-height:1.55;
}
.p24-co-other-info .txt b{color:var(--navy);font-weight:700;display:block;margin-bottom:4px}
.p24-co-other-info .p24-other-cta{
  display:inline-flex;align-items:center;gap:4px;
  margin-top:8px;padding:8px 14px;
  background:var(--blue);color:#fff;
  border-radius:999px;font-size:12px;font-weight:700;
  cursor:pointer;transition:.15s;font-family:inherit;
}
.p24-co-other-info .p24-other-cta:hover{background:var(--blue-dark);transform:translateY(-1px)}

/* Soft VAT validation indicator — green check when format matches */
.p24-field.vat-ok input{padding-right:36px}
.p24-field.vat-ok{position:relative}
.p24-field.vat-ok::after{
  /* Anchor to the input's bottom: .p24-field is flex column (label on top, input
     below), so top:50% would land on the label/input gap. Bottom-anchor keeps
     the check vertically centered in the ~42px input regardless of the label
     height. (~42px input - 14px glyph) / 2 ≈ 14px from the bottom edge.
     Uses the Font Awesome glyph (fa-check, \f00c) via the FA font-family stack
     so it matches every other icon on the page. */
  content:'\f00c';
  font-family:'Font Awesome 6 Free','Font Awesome 5 Free','FontAwesome';
  font-weight:900;
  position:absolute;
  right:12px;bottom:14px;
  font-size:14px;line-height:1;
  color:var(--ok);
  pointer-events:none;
}

/* Container that holds admin name/email fields — toggled by checkbox */
.p24-admin-fields{margin-top:12px}
.p24-admin-fields.hidden{display:none}

/* Legal acceptance checkbox — required to enable Continue */
.p24-legal-toggle{
  display:flex;align-items:flex-start;gap:10px;
  padding:14px 16px;border:1.5px solid var(--line);border-radius:10px;
  background:#fff;cursor:pointer;transition:.15s;
  margin-top:14px;
}
.p24-legal-toggle:hover{border-color:var(--sky);background:var(--sky-tint-2)}
.p24-legal-toggle.checked{border-color:var(--blue);background:var(--sky-tint-2)}
.p24-legal-toggle.err{
  border-color:var(--err);background:#fff5f5;
  box-shadow:0 0 0 3px rgba(197,48,48,.12);
}
.p24-legal-toggle .cbox{
  flex:0 0 18px;width:18px;height:18px;border-radius:5px;
  border:1.5px solid #c7cdd4;background:#fff;
  display:grid;place-items:center;color:#fff;
  transition:.15s;margin-top:1px;
}
.p24-legal-toggle.checked .cbox{background:var(--blue);border-color:var(--blue)}
.p24-legal-toggle .ctext{
  flex:1;min-width:0;
  font-size:13px;color:var(--ink);line-height:1.55;
}
.p24-legal-toggle .ctext a{
  color:var(--blue-dark);font-weight:600;text-decoration:underline;
}
.p24-legal-toggle .ctext a:hover{color:var(--navy)}

/* ---------- Legal document modal ----------
   Replaces the checkout modal rather than stacking on it — see openLegalDoc().
   The higher z-index is kept as a safety net for any state where both end up
   visible. Body content is authored HTML from assets/legal/, so the styling
   lives here rather than in the documents themselves — every document and
   version then renders identically. */
.p24-legal-modal{z-index:120}
.p24-legal-modal .p24-modal-box{max-height:calc(100vh - 40px);display:flex;flex-direction:column}
.p24-legal-modal .p24-co-head h2{font-size:20px}

.p24-legal-modal .plx-legal-doc{
  padding:22px 28px;overflow-y:auto;flex:1 1 auto;
  color:var(--ink);
}
.plx-legal-doc h2{margin:26px 0 8px;font-size:17px;letter-spacing:-.01em}
.plx-legal-doc h2:first-child{margin-top:0}
.plx-legal-doc h3{margin:18px 0 6px;font-size:15px}
.plx-legal-doc p,.plx-legal-doc li{font-size:14px;line-height:1.7}
.plx-legal-doc ul,.plx-legal-doc ol{padding-left:20px;margin:8px 0}
.plx-legal-doc li{margin-bottom:5px}
.plx-legal-doc a{color:var(--blue-dark);text-decoration:underline}
.plx-legal-doc table{width:100%;border-collapse:collapse;margin:14px 0;font-size:13px}
.plx-legal-doc th,.plx-legal-doc td{
  border:1px solid var(--line);padding:7px 9px;text-align:left;vertical-align:top;
}
.plx-legal-doc th{background:var(--sky-tint-2);font-weight:600}

/* Loading / failure states inside the document body */
.p24-legal-state{
  display:flex;align-items:center;gap:10px;
  padding:28px 0;font-size:14px;color:var(--muted);
}
.p24-legal-state.err{color:var(--err)}

.p24-legal-foot{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:16px 28px;border-top:1px solid var(--line);
  background:#fff;border-radius:0 0 var(--radius-lg) var(--radius-lg);
  flex:0 0 auto;
}
.p24-legal-foot a{
  font-size:13px;font-weight:600;color:var(--blue-dark);text-decoration:underline;
}
.p24-legal-foot a:hover{color:var(--navy)}
@media (max-width: 560px){
  .p24-legal-modal .plx-legal-doc{padding:18px 20px}
  .p24-legal-foot{padding:14px 20px}
}

/* Trial info callout — bottom of form */
.p24-co-trial-info{
  display:flex;gap:12px;align-items:flex-start;
  padding:14px 16px;background:var(--accent-faint);
  border:1px solid var(--sky);border-radius:10px;
  margin-top:8px;
}
.p24-co-trial-info svg,
.p24-co-trial-info i.fa-solid{color:var(--blue-dark);flex:0 0 18px;font-size:18px;margin-top:2px}
.p24-co-trial-info .head{font-size:14px;font-weight:600;color:var(--navy);line-height:1.4}
.p24-co-trial-info .head b{color:var(--navy)}
.p24-co-trial-info .sub{font-size:12px;color:var(--ink-soft);margin-top:4px;line-height:1.55}

/* mini-module row inside checkout modal */
.p24-co-modlist{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.p24-co-mod{
  display:flex;align-items:center;gap:10px;padding:8px 10px;
  border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;
  transition:.15s;font-size:13px;
}
.p24-co-mod:hover{border-color:var(--sky);background:#fff}
.p24-co-mod.checked{border-color:var(--blue);background:var(--accent-faint)}
.p24-co-mod .box{
  width:16px;height:16px;border-radius:4px;border:1.5px solid #c7cdd4;
  display:grid;place-items:center;flex:0 0 16px;
}
.p24-co-mod.checked .box{background:var(--blue);border-color:var(--blue);color:#fff}

/* FA check glyph inside checkbox squares — the <i> inherits parent font-size
   (often 14–16px) which spills the glyph past an 18px box and shifts its baseline.
   Pin font-size + line-height so display:grid + place-items:center actually centers. */
.p24-mod .box i.fa-solid,
.p24-co-mod .box i.fa-solid,
.p24-admin-toggle .cbox i.fa-solid,
.p24-legal-toggle .cbox i.fa-solid{
  font-size:10px;
  line-height:1;
}
.p24-co-mod .name{flex:1;font-weight:600}
.p24-co-mod .price{font-weight:700;color:var(--blue-dark);font-size:12px}
.p24-co-tier-chip{
  display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:6px;
  background:var(--accent-faint);color:var(--blue-dark);border:1px solid var(--blue);
  font-size:12px;font-weight:700;
}
.p24-co-tier-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:12px;color:var(--muted)}
.p24-co-tier-row a{font-weight:600}

/* Billing cycle toggle inside checkout modal */
.p24-co-billing{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:6px}
.p24-co-bill-opt{
  text-align:left;padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;
  background:#fff!important;transition:border-color .15s;cursor:pointer;
  display:flex;flex-direction:column;gap:2px;
  box-shadow:none!important;
}
.p24-co-bill-opt:hover,
.p24-co-bill-opt:focus,
.p24-co-bill-opt:active{
  background:#fff!important;
  box-shadow:none!important;
  border-color:var(--sky);
}
.p24-co-bill-opt.active,
.p24-co-bill-opt.active:hover,
.p24-co-bill-opt.active:focus{
  border-color:var(--blue);
  background:var(--accent-faint)!important;
  box-shadow:none!important;
}
.p24-co-bill-opt .t{font-weight:700;font-size:13px;color:var(--ink);display:flex;align-items:center;gap:6px}
.p24-co-bill-opt .s{font-size:11px;color:var(--muted)}
.p24-co-bill-opt.active .t{color:var(--navy)}
.p24-co-bill-opt .save-pill{
  display:inline-flex;align-items:center;
  background:#fff1e8;color:#9a3412;
  border:1px solid #fbcfae;
  font-size:10px;font-weight:700;padding:2px 7px;border-radius:999px;
  letter-spacing:.02em;
}

/* success */
.p24-success{max-width:820px;margin:0 auto;padding:60px 24px 40px}
.p24-success-top{text-align:center;margin-bottom:36px}
.p24-success-top .icon{
  width:72px;height:72px;border-radius:50%;background:var(--ok);color:#fff;
  display:grid;place-items:center;margin:0 auto 18px;font-size:30px;
}
.p24-success-top h2{font-size:32px;margin:0 0 10px;letter-spacing:-.01em;color:var(--navy)}
.p24-success-top p{color:var(--ink-soft);margin:0 auto;max-width:520px}

.p24-sc-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;margin-bottom:16px;
}
.p24-sc-card h3{
  margin:0 0 16px;font-size:16px;letter-spacing:-.005em;color:var(--navy);
  display:flex;align-items:center;gap:8px;
}
.p24-sc-card h3 .ic{
  width:28px;height:28px;border-radius:8px;background:var(--sky-tint);color:var(--blue-dark);
  display:grid;place-items:center;font-size:14px;flex:0 0 28px;
}
.p24-sc-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}
@media (max-width: 640px){.p24-sc-grid{grid-template-columns:1fr}}
.p24-sc-row{display:flex;flex-direction:column;padding:6px 0;border-bottom:1px dashed var(--line-2)}
.p24-sc-row:last-child,.p24-sc-row.no-border{border-bottom:0}
.p24-sc-row .k{font-size:12px;color:var(--muted);font-weight:500}
.p24-sc-row .v{font-size:14px;color:var(--ink);font-weight:600;word-break:break-word}
.p24-sc-total{
  margin-top:12px;padding-top:14px;border-top:2px solid var(--ink);
  display:flex;justify-content:space-between;align-items:baseline;
}
.p24-sc-total .lbl{font-weight:700;font-size:14px}
.p24-sc-total .amt{font-size:22px;font-weight:800;color:var(--navy)}

.p24-sc-note{
  background:var(--sky-tint);border-left:3px solid var(--blue);
  padding:16px 20px;border-radius:10px;margin-bottom:16px;
}
.p24-sc-note h3{margin:0 0 6px;font-size:14px;color:var(--navy)}
.p24-sc-note p{margin:0 0 8px;font-size:13px;color:var(--ink-soft)}
.p24-sc-note ul{margin:6px 0 0;padding-left:18px;font-size:13px;color:var(--ink-soft)}
.p24-sc-note li{margin-bottom:3px}

.p24-sc-onboard{
  background:#fffdf6;border:1px solid #e9d99a;
  padding:20px;border-radius:var(--radius);margin-bottom:16px;
}
.p24-sc-onboard h3{margin:0 0 6px;font-size:15px;color:var(--navy)}
.p24-sc-onboard p{margin:0 0 12px;font-size:13px;color:var(--ink-soft)}
.p24-sc-onboard .row{display:flex;gap:8px;align-items:stretch}
.p24-sc-onboard input{
  flex:1;padding:10px 12px;border:1px solid var(--line);border-radius:8px;
  font-size:14px;outline:none;transition:.15s;
}
.p24-sc-onboard input:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--sky-tint)}
.p24-sc-onboard .hint{font-size:11px;color:var(--muted);margin-top:6px}

.p24-sc-next{background:var(--navy);color:#fff;padding:24px;border-radius:var(--radius);margin-bottom:20px}
.p24-sc-next h3{margin:0 0 12px;font-size:16px;color:#fff}
.p24-sc-next ol{margin:0 0 16px;padding-left:20px;font-size:14px;color:#d8e3f0}
.p24-sc-next ol li{margin-bottom:6px}

.p24-sc-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

/* Full-viewport submit overlay — z-index above modals so it covers them too. */
.p24-overlay{
  display:none;position:fixed;inset:0;
  background:rgba(0,48,91,0.55);
  z-index:99999;
  align-items:center;justify-content:center;
}
.p24-overlay.show{display:flex}
.p24-overlay-box{
  background:#fff;border-radius:14px;
  padding:36px 48px;
  display:flex;flex-direction:column;align-items:center;gap:16px;
  box-shadow:0 24px 60px -20px rgba(0,0,0,0.45);
  max-width:90vw;
}
.p24-overlay-box i.fa-solid{font-size:36px;color:var(--accent)}
.p24-overlay-text{font-size:14px;color:var(--ink);font-weight:600;text-align:center}

/* Error modal — compact, dedicated layout. × is absolute top-right (the only
   close affordance — no redundant Close button at the bottom). */
.p24-err-modal{
  position:relative;
  max-width:480px;
  padding:0;
}
.p24-err-close{
  position:absolute;top:14px;right:14px;
  width:34px;height:34px;border-radius:50%;
  background:transparent;border:0;cursor:pointer;
  display:grid;place-items:center;
  color:var(--muted);font-size:18px;line-height:1;
  transition:.15s;
}
.p24-err-close:hover,
.p24-err-close:focus,
.p24-err-close:focus-visible{
  background:var(--bg-soft)!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}
.p24-err-head{padding:26px 56px 18px 28px;border-bottom:1px solid var(--line)}
.p24-err-head h3{margin:0;font-size:20px;color:var(--navy);letter-spacing:-.01em}
.p24-err-sub{font-size:13px;color:var(--ink-soft);margin-top:6px;line-height:1.45}
.p24-err-body{padding:18px 28px;color:var(--ink-soft);font-size:14px;line-height:1.55}
.p24-err-body p{margin:0}
.p24-err-foot{padding:18px 28px 22px;display:flex;justify-content:flex-end}

/* toast */
.p24-toast{
  position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--pop);color:#fff;padding:12px 18px;border-radius:999px;
  font-size:13px;font-weight:600;opacity:0;transition:.25s;z-index:200;pointer-events:none;
  box-shadow:var(--shadow-lg);
}
.p24-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* small utility — SCOPED to the widget so generic names (.hidden, .small,
   .text-muted, .flex, .center …) can never collide with the storefront's own
   utility classes of the same name. */
.p24-app .mt-0,.p24-modal .mt-0{margin-top:0}
.p24-app .mt-8,.p24-modal .mt-8{margin-top:8px}
.p24-app .mt-16,.p24-modal .mt-16{margin-top:16px}
.p24-app .mt-24,.p24-modal .mt-24{margin-top:24px}
.p24-app .flex,.p24-modal .flex{display:flex}
.p24-app .between,.p24-modal .between{justify-content:space-between}
.p24-app .center,.p24-modal .center{align-items:center}
.p24-app .gap-8,.p24-modal .gap-8{gap:8px}
.p24-app .gap-12,.p24-modal .gap-12{gap:12px}
.p24-app .text-muted,.p24-modal .text-muted{color:var(--muted)}
.p24-app .small,.p24-modal .small{font-size:13px}
.p24-app .hidden,.p24-modal .hidden{display:none!important}

/* =========================================================
   Merged content sections — process steps, plan comparison
   and FAQ. Previously three separate WordPress Custom-HTML
   blocks, now folded into this single stylesheet (DOM lives
   inside .p24-app). Each is scoped to its own .p24-* wrapper;
   NO bare element selectors and NO forced font-family — text
   inherits the storefront font like the rest of the widget.
   The comparison table reuses .p24-table* and the FAQ reuses
   .p24-faq + .p24-section-* already defined above.
   ========================================================= */

/* ---------- process steps (sign-up → running) ---------- */
.p24-process{padding:36px 20px}
.p24-process-inner{max-width:1100px;margin:0 auto}
.p24-process-head{text-align:center;margin-bottom:24px}
.p24-process-head h2{
  font-size:24px;line-height:1.2;letter-spacing:-.005em;
  color:var(--navy);margin:0;font-weight:700;
}
.p24-process-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;align-items:stretch;
}
@media (max-width:880px){.p24-process-grid{grid-template-columns:1fr;gap:10px}}
.p24-process-card{
  background:var(--bg-soft);border:1px solid var(--line);border-radius:12px;
  padding:20px 22px;display:flex;flex-direction:column;text-align:left;
  transition:.18s;height:100%;
}
.p24-process-card:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px -8px rgba(10,37,64,.16);border-color:#cfd8e3;
}
.p24-process-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.p24-process-icon{
  flex:0 0 40px;width:40px;height:40px;border-radius:50%;
  background:var(--blue);color:#fff;display:grid;place-items:center;
  font-size:16px;line-height:1;box-shadow:0 4px 10px -4px rgba(43,108,176,.4);
}
.p24-process-icon i{display:block}
.p24-process-num{
  font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--blue);
  text-transform:uppercase;line-height:1;
}
.p24-process-card h3{
  font-size:15px;font-weight:700;color:var(--navy);margin:0 0 6px;
  letter-spacing:-.005em;line-height:1.3;
}
.p24-process-card p{font-size:13px;color:var(--ink-soft);line-height:1.55;margin:0}
@media (max-width:600px){
  .p24-process{padding:28px 14px}
  .p24-process-head h2{font-size:20px}
  .p24-process-card{padding:18px}
}

/* ---------- plan comparison (reuses .p24-table*) ---------- */
.p24-compare{padding:60px 24px}
.p24-compare-inner{max-width:1100px;margin:0 auto}
.p24-compare-h2{
  font-size:32px;letter-spacing:-.01em;color:var(--navy);
  margin:0 0 12px;font-weight:700;line-height:1.15;
}
.p24-compare-lead{
  font-size:16px;color:var(--ink-soft);margin:0 0 32px;
  line-height:1.5;max-width:680px;
}
@media (max-width:600px){
  .p24-compare{padding:40px 16px}
  .p24-compare-h2{font-size:26px}
}

/* ---------- FAQ section (reuses .p24-faq + .p24-section-*) ---------- */
.p24-faq-section{background:var(--bg-soft);padding:60px 24px}
.p24-faq-section .p24-section-h2{margin-bottom:32px}
@media (max-width:600px){
  .p24-faq-section{padding:40px 16px}
}
