/* =====================================================================
   POPSTRA V2 - PUBLIC (no-login) PAGES
   Scoped to body.pp2 so the logged-in V2 layout, Popstra, Eternity,
   Simplify V2 and admin are never touched.
   Same design tokens + day/night switch as the in-app Popstra V2 layout.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
body.pp2 {
  --pp-rgb: 124,92,255;
  --pp-rgb-2: 99,102,241;
  --pp-dk-a: 20,24,52;
  --pp-dk-b: 10,12,32;
  --pp-lite: #a99bff;
  --pp-deep: #4f2fd0;
  --pp-bd-b: 14,165,233;
  --pp-bd-c: 168,85,247;
  --pp-bd-d: 59,130,246;
  --pp-g1: #7c3aed;
  --pp-g2: #6366f1;
  --pp-bg: #f3f4fc;
  --pp-bg-grad: none;
  --pp-surface: #ffffff;
  --pp-surface-2: #f6f7ff;
  --pp-surface-3: #eceefc;
  --pp-border: #e1e4f5;
  --pp-text: #1c1f4b;
  --pp-muted: #5d6390;
  --pp-primary: #6d3df2;
  --pp-primary-2: #4f46e5;
  --pp-grad: linear-gradient(90deg, #7c3aed 0%, #6366f1 100%);
  --pp-grad-soft: linear-gradient(135deg, rgba(var(--pp-rgb),.10), rgba(var(--pp-rgb-2),.06));
  --pp-glow: 0 4px 12px rgba(var(--pp-rgb),.22);
  --pp-shadow: 0 1px 3px rgba(40,44,110,.06);
  --pp-topbar: #ffffff;
  --pp-input: #ffffff;
  --pp-chip: #ece9ff;
  --pp-chip-text: #5b34d8;
  --pp-code: #14172e;
  --pp-code-text: #e6e8ff;
  --pp-ok: #16a34a;
  --pp-radius: 18px;
  --pp-radius-sm: 12px;
  font-family: 'Nunito', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6;
  background: var(--pp-bg) !important;
  background-image: var(--pp-bg-grad) !important;
  color: var(--pp-text) !important;
  margin: 0 !important; padding: 0 !important; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body.pp2.theme-dark, body.pp2.dark {
  --pp-g1: #6d3df2;
  --pp-g2: #4f46e5;
  --pp-bg: #05060f;
  --pp-bg-grad: none;
  --pp-surface: #0b0e1d;
  --pp-surface-2: #10142a;
  --pp-surface-3: #161b36;
  --pp-border: rgba(110,95,255,.24);
  --pp-text: #e9ebff;
  --pp-muted: #9aa0c7;
  --pp-primary: #8b5cf6;
  --pp-primary-2: #6366f1;
  --pp-grad: linear-gradient(90deg, #6d3df2 0%, #4f46e5 100%);
  --pp-grad-soft: linear-gradient(135deg, rgba(var(--pp-rgb),.16), rgba(var(--pp-rgb-2),.08));
  --pp-glow: 0 4px 14px rgba(var(--pp-rgb),.30);
  --pp-shadow: none;
  --pp-topbar: #070916;
  --pp-input: #0a0d1c;
  --pp-chip: rgba(var(--pp-rgb),.18);
  --pp-chip-text: #c3b5ff;
  --pp-code: #070916;
}
html[data-pp2-scheme="dark"] { background: #05060f; color-scheme: dark; }
html[data-pp2-scheme="light"] { background: #f3f4fc; color-scheme: light; }
body.pp2 *, body.pp2 *::before, body.pp2 *::after { box-sizing: border-box; }
body.pp2 a { color: var(--pp-primary); text-decoration: none; }
body.pp2 a:hover { text-decoration: none; }
body.pp2 img { max-width: 100%; height: auto; }
body.pp2 h1, body.pp2 h2, body.pp2 h3, body.pp2 h4 { color: var(--pp-text); font-weight: 800; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
body.pp2 p { margin: 0 0 1em; color: var(--pp-muted); }
body.pp2 ul { margin: 0; padding: 0; list-style: none; }
body.pp2 :focus-visible { outline: 2px solid var(--pp-primary); outline-offset: 2px; border-radius: 6px; }
.pp2-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--pp-primary); color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.pp2-skip:focus { left: 8px; }
.pp2-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pp2-wrap-narrow { max-width: 860px; }

/* ---------- 2. Buttons ---------- */
.pp2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent; font: 700 15px/1.2 inherit; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
body.pp2 .pp2-btn-primary { background: var(--pp-grad); color: #fff !important; box-shadow: var(--pp-glow); }
body.pp2 .pp2-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
body.pp2 .pp2-btn-ghost { background: transparent; color: var(--pp-text) !important; border-color: var(--pp-border); }
body.pp2 .pp2-btn-ghost:hover { background: var(--pp-surface-2); border-color: var(--pp-primary); }
.pp2-btn-sm { min-height: 38px; padding: 7px 16px; font-size: 14px; }
.pp2-btn-block { width: 100%; }

/* ---------- 3. Header ---------- */
.pp2-header { position: sticky; top: 0; z-index: 1030; background: var(--pp-topbar); border-bottom: 1px solid var(--pp-border); }
.pp2-header-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.pp2-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.pp2-brand img { max-height: 38px; width: auto; display: block; }
.pp2-logo-dark { display: none !important; }
body.pp2.theme-dark .pp2-logo-light, body.pp2.dark .pp2-logo-light { display: none !important; }
body.pp2.theme-dark .pp2-logo-dark, body.pp2.dark .pp2-logo-dark { display: block !important; }
.pp2-nav { display: none; align-items: center; gap: 2px; margin-left: 14px; }
.pp2-nav a { padding: 8px 13px; border-radius: 10px; color: var(--pp-muted) !important; font-weight: 700; font-size: 15px; transition: color .15s, background .15s; }
.pp2-nav a:hover { color: var(--pp-text) !important; background: var(--pp-surface-2); }
.pp2-nav a.pp2-active { color: var(--pp-primary) !important; background: var(--pp-chip); }
.pp2-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pp2-header-actions .pp2-auth { display: none; align-items: center; gap: 8px; }
.pp2-theme { position: relative; display: inline-flex; align-items: center; width: 62px; height: 34px; padding: 3px; border-radius: 999px; border: 1px solid var(--pp-border); background: var(--pp-surface-2); cursor: pointer; }
.pp2-theme-opt { flex: 1; display: flex; align-items: center; justify-content: center; height: 100%; border-radius: 999px; font-size: 14px; color: var(--pp-muted); z-index: 1; transition: color .2s; }
.pp2-theme::before { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--pp-grad); transition: transform .25s ease; box-shadow: var(--pp-glow); }
body.pp2.theme-dark .pp2-theme::before, body.pp2.dark .pp2-theme::before { transform: translateX(28px); }
body.pp2 .pp2-theme .pp2-tt-sun { color: #fff; }
body.pp2.theme-dark .pp2-theme .pp2-tt-sun, body.pp2.dark .pp2-theme .pp2-tt-sun { color: var(--pp-muted); }
body.pp2.theme-dark .pp2-theme .pp2-tt-moon, body.pp2.dark .pp2-theme .pp2-tt-moon { color: #fff; }
.pp2-burger { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pp-border); border-radius: 12px; background: var(--pp-surface); color: var(--pp-text); font-size: 18px; cursor: pointer; }
.pp2-mobile { display: none; border-top: 1px solid var(--pp-border); background: var(--pp-surface); padding: 12px 20px 18px; }
.pp2-mobile.pp2-open { display: block; }
.pp2-mobile a.pp2-mlink { display: block; padding: 12px 6px; color: var(--pp-text) !important; font-weight: 700; border-bottom: 1px solid var(--pp-border); }
.pp2-mobile .pp2-mauth { display: flex; gap: 10px; margin-top: 14px; }
.pp2-mobile .pp2-mauth .pp2-btn { flex: 1; }
@media (min-width: 992px) {
  .pp2-nav { display: flex; }
  .pp2-header-actions .pp2-auth { display: flex; }
  .pp2-burger { display: none; }
  .pp2-mobile, .pp2-mobile.pp2-open { display: none; }
}

/* ---------- 4. Sections / typography ---------- */
.pp2-main { display: block; }
.pp2-section { padding: 48px 0; }
.pp2-section-alt { background: var(--pp-grad-soft); border-top: 1px solid var(--pp-border); border-bottom: 1px solid var(--pp-border); }
.pp2-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--pp-chip); color: var(--pp-chip-text); font-weight: 800; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.pp2-h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.pp2-lead { font-size: clamp(16px, 1.9vw, 18.5px); max-width: 720px; }
.pp2-center { text-align: center; }
.pp2-center .pp2-lead { margin-left: auto; margin-right: auto; }
.pp2-sec-head { margin-bottom: 36px; }
.pp2-grad-text { background: var(--pp-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.pp2-card { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: var(--pp-radius); box-shadow: var(--pp-shadow); padding: 24px; }
.pp2-grid { display: grid; gap: 20px; }
.pp2-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp2-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp2-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) { .pp2-grid-3, .pp2-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp2-section { padding: 48px 0; } }
@media (max-width: 640px) { .pp2-grid-2, .pp2-grid-3, .pp2-grid-4 { grid-template-columns: minmax(0, 1fr); } .pp2-section { padding: 40px 0; } }
.pp2-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--pp-chip); color: var(--pp-chip-text); font-size: 20px; margin-bottom: 14px; }
.pp2-card h3 { font-size: 19px; margin-bottom: 8px; }
.pp2-card p:last-child { margin-bottom: 0; }

/* ---------- 5. Home hero ---------- */
.pp2-hero { padding: 44px 0 32px; }
.pp2-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.pp2-hero h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.02em; margin-bottom: 18px; }
.pp2-hero .pp2-lead { margin-bottom: 26px; }
.pp2-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.pp2-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.pp2-trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--pp-muted); font-weight: 700; font-size: 14px; }
.pp2-trust i { color: var(--pp-ok); }
.pp2-login { padding: 28px; position: relative; overflow: hidden; }
.pp2-login::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pp-grad); }
.pp2-login h2 { font-size: 22px; margin-bottom: 4px; }
.pp2-login .pp2-sub { font-size: 14px; margin-bottom: 18px; }
.pp2-field { margin-bottom: 14px; }
.pp2-field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; color: var(--pp-text); }
body.pp2 .pp2-input, body.pp2 .pp2-select { width: 100%; height: 48px; padding: 10px 14px; border-radius: var(--pp-radius-sm); border: 1px solid var(--pp-border); background: var(--pp-input) !important; color: var(--pp-text) !important; font: 600 15px/1.2 inherit; box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s; }
body.pp2 .pp2-input:focus, body.pp2 .pp2-select:focus { border-color: var(--pp-primary); box-shadow: 0 0 0 3px rgba(var(--pp-rgb),.22); }
body.pp2 .pp2-input::placeholder { color: var(--pp-muted); opacity: .8; }
.pp2-row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; font-size: 14px; }
.pp2-check { display: inline-flex; align-items: center; gap: 8px; color: var(--pp-muted); font-weight: 600; cursor: pointer; }
.pp2-check input { accent-color: var(--pp-primary); width: 16px; height: 16px; }
.pp2-login .alert-message-reponse { min-height: 0; }
.pp2-login-foot { text-align: center; margin: 16px 0 0; font-size: 14px; }
@media (max-width: 991px) { .pp2-hero-grid { grid-template-columns: minmax(0, 1fr); } .pp2-hero { padding: 36px 0 24px; } }

/* ---------- 6. Steps / platform cards / FAQ / CTA ---------- */
.pp2-steps { counter-reset: s; }
.pp2-step { position: relative; padding-top: 30px; }
.pp2-step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 12px; background: var(--pp-grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--pp-glow); }
.pp2-plat { display: flex; flex-direction: column; }
.pp2-plat h3 { display: flex; align-items: center; gap: 10px; }
.pp2-plat .pp2-ico { margin: 0; width: 42px; height: 42px; font-size: 18px; flex: 0 0 auto; }
.pp2-plat ul { margin: 6px 0 18px; }
.pp2-plat li { position: relative; padding: 4px 0 4px 22px; color: var(--pp-muted); font-size: 15px; }
.pp2-plat li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome; font-weight: 900; position: absolute; left: 0; top: 5px; font-size: 12px; color: var(--pp-ok); }
.pp2-plat .pp2-more { margin-top: auto; font-weight: 800; font-size: 14.5px; }
.pp2-faq details { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: var(--pp-radius-sm); margin-bottom: 12px; overflow: hidden; }
.pp2-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 800; font-size: 17px; color: var(--pp-text); }
.pp2-faq summary::-webkit-details-marker { display: none; }
.pp2-faq summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--pp-chip); color: var(--pp-chip-text); font-size: 20px; line-height: 1; }
.pp2-faq details[open] summary::after { content: "\2212"; }
.pp2-faq details[open] { border-color: var(--pp-primary); }
.pp2-faq .pp2-ans { padding: 0 20px 18px; color: var(--pp-muted); }
.pp2-faq .pp2-ans p:last-child { margin-bottom: 0; }
.pp2-faq .pp2-ans, .pp2-faq .pp2-ans * { color: var(--pp-muted); }
.pp2-faq .pp2-ans a { color: var(--pp-primary); }
.pp2-cta { padding: 44px 28px; text-align: center; border-radius: 26px; background: var(--pp-grad); box-shadow: var(--pp-glow); }
body.pp2 .pp2-cta h2, body.pp2 .pp2-cta p { color: #fff; }
.pp2-cta p { opacity: .92; max-width: 640px; margin: 10px auto 22px; }
body.pp2 .pp2-cta .pp2-btn { background: #fff; color: var(--pp-deep) !important; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.pp2-code-sample { margin-top: 18px; }

/* ---------- 7. Inner page hero + breadcrumbs ---------- */
.pp2-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--pp-muted); margin-bottom: 14px; }
.pp2-crumbs a { color: var(--pp-muted) !important; }
.pp2-crumbs a:hover { color: var(--pp-primary) !important; }
.pp2-crumbs span[aria-hidden] { opacity: .5; }
.pp2-page-hero { padding: 40px 0 8px; }
.pp2-page-hero h1 { font-size: clamp(28px, 4.2vw, 44px); margin-bottom: 12px; }
.pp2-page-hero .pp2-lead { margin-bottom: 0; }
.pp2-page-body { padding: 26px 0 64px; }

/* ---------- 8. Services ---------- */
.pp2-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }
.pp2-search { position: relative; flex: 1 1 280px; }
.pp2-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--pp-muted); pointer-events: none; }
.pp2-search .pp2-input { padding-left: 42px; }
.pp2-toolbar .pp2-select { flex: 0 1 280px; width: auto; min-width: 200px; }
.pp2-chips { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 2px 0 12px; margin-bottom: 8px; scrollbar-width: thin; }
.pp2-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--pp-border); background: var(--pp-surface); color: var(--pp-text); font: 700 14px/1 inherit; cursor: pointer; transition: all .15s; }
.pp2-chip:hover { border-color: var(--pp-primary); }
.pp2-chip.pp2-on { background: var(--pp-grad); color: #fff; border-color: transparent; box-shadow: var(--pp-glow); }
.pp2-cat { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: var(--pp-radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--pp-shadow); }
.pp2-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; background: var(--pp-surface-2); user-select: none; }
.pp2-cat-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pp2-cat-title h3 { font-size: 17px; margin: 0; overflow-wrap: anywhere; }
.pp2-count { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: var(--pp-chip); color: var(--pp-chip-text); font-size: 12px; font-weight: 800; }
.pp2-cat-chev { color: var(--pp-muted); transition: transform .2s; }
.pp2-cat.pp2-closed .pp2-cat-chev { transform: rotate(180deg); }
.pp2-cat.pp2-closed .pp2-cat-body { display: none; }
.pp2-cat-body { overflow-x: auto; }
.pp2-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pp2-table th { text-align: left; padding: 12px 16px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--pp-muted); border-bottom: 1px solid var(--pp-border); white-space: nowrap; }
.pp2-table td { padding: 13px 16px; border-bottom: 1px solid var(--pp-border); color: var(--pp-text); vertical-align: middle; }
.pp2-table tbody tr:last-child td { border-bottom: 0; }
.pp2-table tbody tr:hover { background: var(--pp-surface-2); }
.pp2-table .pp2-name { min-width: 260px; font-weight: 700; }
.pp2-table .pp2-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp2-price { font-weight: 800; color: var(--pp-primary); }
.pp2-id { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; padding: 3px 10px; border-radius: 8px; background: var(--pp-chip); color: var(--pp-chip-text); }
.pp2-id button { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; font-size: 12px; }
.pp2-table .btn, .pp2-table a.btn { border-radius: 999px; }
.pp2-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--pp-radius-sm); background: var(--pp-grad-soft); border: 1px solid var(--pp-border); margin-top: 22px; }
.pp2-note i { color: var(--pp-primary); margin-top: 4px; }
.pp2-note p { margin: 0; }
.pp2-note strong { color: var(--pp-text); }
.pp2-seo-copy { margin-top: 44px; }
.pp2-seo-copy h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; }
.pp2-seo-copy h3 { font-size: 19px; margin: 22px 0 6px; }
@media (max-width: 767px) {
  .pp2-table thead { display: none; }
  .pp2-table, .pp2-table tbody, .pp2-table tr, .pp2-table td { display: block; width: 100%; }
  .pp2-table tr { padding: 14px 16px; border-bottom: 1px solid var(--pp-border); }
  .pp2-table td { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border: 0; text-align: right; }
  .pp2-table td::before { content: attr(data-label); color: var(--pp-muted); font-weight: 800; font-size: 12px; text-transform: uppercase; text-align: left; flex: 0 0 auto; }
  .pp2-table td.pp2-name { display: block; text-align: left; min-width: 0; padding-bottom: 8px; font-size: 15.5px; }
  .pp2-table td.pp2-name::before { display: none; }
}

body.pp2 .service-view-btn { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--pp-border); background: var(--pp-surface-2); color: var(--pp-primary) !important; font-weight: 800; font-size: 13px; cursor: pointer; }
body.pp2 .service-view-btn:hover { border-color: var(--pp-primary); }

/* ---------- 9. API docs ---------- */
.pp2-api { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.pp2-toc { position: sticky; top: 90px; padding: 16px; }
.pp2-toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--pp-muted); margin-bottom: 8px; }
.pp2-toc a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--pp-muted) !important; font-weight: 700; font-size: 14.5px; }
.pp2-toc a:hover, .pp2-toc a.pp2-on { background: var(--pp-chip); color: var(--pp-chip-text) !important; }
.pp2-api-sec { margin-bottom: 22px; scroll-margin-top: 90px; }
.pp2-api-sec h2 { font-size: 24px; margin-bottom: 6px; }
.pp2-api-sec h3 { font-size: 15px; margin: 18px 0 8px; color: var(--pp-muted); text-transform: uppercase; letter-spacing: .05em; }
.pp2-method { display: inline-block; padding: 3px 10px; border-radius: 8px; background: rgba(22,163,74,.16); color: var(--pp-ok); font-weight: 800; font-size: 12.5px; margin-right: 8px; }
.pp2-kv { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pp2-kv th, .pp2-kv td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--pp-border); vertical-align: top; }
.pp2-kv th { width: 34%; color: var(--pp-text); font-weight: 800; }
.pp2-kv td { color: var(--pp-muted); }
.pp2-kv code, .pp2-inline { padding: 2px 7px; border-radius: 6px; background: var(--pp-chip); color: var(--pp-chip-text); font-size: 13px; }
.pp2-tbl-wrap { overflow-x: auto; }
.pp2-code { position: relative; margin: 12px 0 0; }
.pp2-code pre { margin: 0; padding: 16px 18px; border-radius: var(--pp-radius-sm); background: var(--pp-code); color: var(--pp-code-text); font: 500 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; border: 1px solid var(--pp-border); }
.pp2-code button { position: absolute; top: 8px; right: 8px; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #dfe2ff; font: 700 12px/1 inherit; cursor: pointer; }
.pp2-code button:hover { background: rgba(255,255,255,.16); }
@media (max-width: 991px) { .pp2-api { grid-template-columns: minmax(0, 1fr); } .pp2-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .pp2-toc h2 { width: 100%; } .pp2-toc a { padding: 6px 12px; background: var(--pp-surface-2); } }

/* ---------- 10. Prose (terms / FAQ / blog article) ---------- */
.pp2-prose { color: var(--pp-muted); font-size: 16.5px; line-height: 1.8; overflow-wrap: anywhere; }
body.pp2 .pp2-prose h1, body.pp2 .pp2-prose h2, body.pp2 .pp2-prose h3, body.pp2 .pp2-prose h4 { margin: 28px 0 10px; }
.pp2-prose h2 { font-size: 26px; } .pp2-prose h3 { font-size: 21px; }
.pp2-prose p, .pp2-prose li, .pp2-prose span, .pp2-prose div { color: inherit; }
.pp2-prose ul { list-style: disc; padding-left: 24px; margin-bottom: 1em; }
.pp2-prose ol { list-style: decimal; padding-left: 24px; margin-bottom: 1em; }
.pp2-prose a { color: var(--pp-primary); text-decoration: underline; }
.pp2-prose img { border-radius: var(--pp-radius-sm); height: auto; }
.pp2-prose table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.pp2-prose td, .pp2-prose th { padding: 8px 12px; border: 1px solid var(--pp-border); }
.pp2-prose blockquote { margin: 18px 0; padding: 12px 18px; border-left: 4px solid var(--pp-primary); background: var(--pp-surface-2); border-radius: 0 10px 10px 0; }
.pp2-legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.pp2-legal-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--pp-border); color: var(--pp-text) !important; font-weight: 700; font-size: 14px; background: var(--pp-surface); }
.pp2-legal-nav a:hover { border-color: var(--pp-primary); color: var(--pp-primary) !important; }
.pp2-legal { scroll-margin-top: 90px; margin-bottom: 22px; }
.pp2-legal > h2 { font-size: 26px; margin-bottom: 8px; }

/* ---------- 11. Blog ---------- */
.pp2-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pp2-post { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.pp2-post-img { display: block; aspect-ratio: 16/9; background: var(--pp-surface-3); overflow: hidden; }
.pp2-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp2-post-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.pp2-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; font-weight: 700; color: var(--pp-muted); margin-bottom: 10px; }
.pp2-post h2, .pp2-post h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; overflow-wrap: anywhere; }
.pp2-post h2 a, .pp2-post h3 a { color: var(--pp-text) !important; }
.pp2-post h2 a:hover, .pp2-post h3 a:hover { color: var(--pp-primary) !important; }
.pp2-post p { font-size: 15px; margin-bottom: 16px; }
.pp2-post .pp2-more { margin-top: auto; font-weight: 800; font-size: 14.5px; }
.pp2-pager { display: flex; justify-content: center; margin-top: 34px; }
.pp2-pager .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.pp2-pager .page-link, .pp2-pager a, .pp2-pager strong, .pp2-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--pp-border) !important; background: var(--pp-surface) !important; color: var(--pp-text) !important; font-weight: 700; }
.pp2-pager .active .page-link, .pp2-pager .active span, .pp2-pager strong { background: var(--pp-grad) !important; color: #fff !important; border-color: transparent !important; }
.pp2-article { max-width: 820px; margin: 0 auto; }
.pp2-article-img { width: 100%; border-radius: var(--pp-radius); margin: 18px 0 8px; display: block; }
.pp2-article h1 { font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 14px; }
.pp2-article .pp2-post-meta { font-size: 14px; margin-bottom: 18px; }
.pp2-article .pp2-post-meta a { color: var(--pp-muted) !important; }
.pp2-related { max-width: 1100px; margin: 54px auto 0; }
@media (max-width: 991px) { .pp2-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pp2-blog-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 12. Contact ---------- */
.pp2-contact-card { text-align: left; }
.pp2-contact-card a { font-weight: 800; overflow-wrap: anywhere; }

/* ---------- 13. Footer ---------- */
.pp2-footer { margin-top: 20px; border-top: 1px solid var(--pp-border); background: var(--pp-surface); padding: 52px 0 24px; }
.pp2-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.pp2-foot-grid h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; color: var(--pp-text); }
.pp2-foot-grid li { margin-bottom: 9px; }
.pp2-foot-grid li a { color: var(--pp-muted) !important; font-weight: 600; font-size: 15px; }
.pp2-foot-grid li a:hover { color: var(--pp-primary) !important; }
.pp2-foot-brand img { max-height: 36px; width: auto; margin-bottom: 14px; }
.pp2-foot-brand p { font-size: 14.5px; max-width: 340px; }
.pp2-social { display: flex; flex-wrap: wrap; gap: 10px; }
.pp2-social a { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--pp-chip); color: var(--pp-chip-text) !important; transition: all .15s; }
.pp2-social a:hover { background: var(--pp-grad); color: #fff !important; transform: translateY(-2px); }
.pp2-copy { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--pp-border); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 14px; color: var(--pp-muted); }
.pp2-copy, .pp2-copy a { color: var(--pp-muted) !important; }
@media (max-width: 860px) { .pp2-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp2-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pp2-foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 14. Shared widget compatibility (modals, toasts, pagination) ---------- */
body.pp2 .modal-content { background: var(--pp-surface) !important; color: var(--pp-text) !important; border: 1px solid var(--pp-border); border-radius: var(--pp-radius); }
body.pp2 .modal-header, body.pp2 .modal-footer { border-color: var(--pp-border); }
body.pp2 .modal-title, body.pp2 .modal-body, body.pp2 .modal-body * { color: var(--pp-text); }
body.pp2 .close { color: var(--pp-text); text-shadow: none; opacity: .7; }
body.pp2 .btn-primary { background: var(--pp-grad) !important; border-color: transparent !important; color: #fff !important; }
body.pp2 .empty-state, body.pp2 .alert { border-radius: var(--pp-radius-sm); }

@media print { .pp2-header, .pp2-footer, .pp2-toc { display: none !important; } body.pp2 { background: #fff !important; color: #000 !important; } }

/* ---------- 16. Auth pages (sign in, sign up, forgot/reset password, 2FA, activation) ---------- */
.pp2-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 72px 16px 32px; }
.pp2-auth-theme { position: fixed; top: 14px; right: 14px; z-index: 5; }
.pp2-auth-back { position: fixed; top: 18px; left: 18px; z-index: 5; font-weight: 700; font-size: 14px; color: var(--pp-muted) !important; }
.pp2-auth-card { width: 100%; max-width: 440px; padding: 30px; }
.pp2-auth-card.pp2-wide { max-width: 540px; }
.pp2-auth-logo { text-align: center; margin-bottom: 16px; }
.pp2-auth-logo img { max-height: 42px; width: auto; }
.pp2-auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.pp2-auth-card .pp2-sub { text-align: center; font-size: 14.5px; margin-bottom: 20px; }
.pp2-ic { position: relative; }
.pp2-ic > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--pp-muted); font-size: 14px; pointer-events: none; }
.pp2-ic .pp2-input, .pp2-ic .pp2-select { padding-left: 42px; }
.pp2-auth-card .pp2-field { margin-bottom: 12px; }
.pp2-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pp2-auth-foot { text-align: center; margin: 18px 0 0; font-size: 14.5px; }
.pp2-auth-foot a { font-weight: 800; }
.pp2-auth-card .pp2-check { font-size: 14px; line-height: 1.4; }
.pp2-code-input { text-align: center; font-size: 26px !important; letter-spacing: .5em; font-weight: 800 !important; height: 58px !important; padding-left: 14px !important; }
.pp2-auth-alert { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--pp-radius-sm); background: rgba(239,68,68,.12); color: #ef4444; font-weight: 700; font-size: 14px; }
.pp2-auth-ok { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(22,163,74,.14); color: var(--pp-ok); font-size: 28px; }
@media (max-width: 480px) { .pp2-auth-card { padding: 22px 18px; } .pp2-auth-grid { grid-template-columns: 1fr; } }


/* =====================================================================
   17. NEW-ORDER STYLE PARITY (v3)
   Same tokens, radius, shadows, gradient heads, chips and nav as the
   logged-in Popstra V2 pages. Appended last so it wins over sections 1-16.
   ===================================================================== */
body.pp2 {
  --pp-radius: 16px; --pp-radius-sm: 11px;
  --pp-shadow: 0 4px 18px rgba(40,44,110,.07);
  --pp-glow: 0 8px 24px rgba(var(--pp-rgb),.18);
  --pp-grad-head: linear-gradient(90deg, #6a4bf0 0%, #8b5cf6 100%);
  --pp-bg-grad: radial-gradient(1200px 500px at 70% -10%, rgba(var(--pp-rgb),.10), transparent 60%);
}
body.pp2.theme-dark, body.pp2.dark {
  --pp-shadow: 0 6px 26px rgba(0,0,0,.45);
  --pp-glow: 0 8px 28px rgba(var(--pp-rgb),.28);
  --pp-grad-head: linear-gradient(90deg, #3a2bd0 0%, #7a35f2 100%);
  --pp-bg-grad: radial-gradient(900px 480px at 85% -10%, rgba(var(--pp-rgb),.16), transparent 60%), radial-gradient(700px 400px at -5% 40%, rgba(var(--pp-rgb),.08), transparent 60%);
}
body.pp2.pp2-lock { overflow: hidden; }

/* ---- Buttons: same 11px radius + gradient/glow as the app ---- */
.pp2-btn { border-radius: 12px; font-weight: 800; }
body.pp2 .pp2-btn-ghost { background: var(--pp-surface); }
.pp2-btn-sm { border-radius: 11px; }

/* ---- Top bar (same as v2-topbar) ---- */
.pp2-header { background: color-mix(in srgb, var(--pp-topbar) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pp2-header-in { min-height: 62px; }
.pp2-nav { gap: 4px; margin-left: 18px; }
.pp2-nav a { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.pp2-nav a i { font-size: 15px; color: var(--pp-primary); transition: color .18s; }
.pp2-nav a:hover { background: var(--pp-surface-3); }
body.pp2 .pp2-nav a.pp2-active { background: var(--pp-grad); color: #fff !important; box-shadow: var(--pp-glow); }
.pp2-nav a.pp2-active i { color: #fff; }
.pp2-theme { width: 70px; height: 36px; background: var(--pp-surface-3); }
.pp2-theme::before { width: 31px; height: 28px; border-radius: 16px; }
body.pp2.theme-dark .pp2-theme::before, body.pp2.dark .pp2-theme::before { transform: translateX(32px); }
.pp2-burger { width: 40px; height: 40px; border: 0; background: var(--pp-surface-3); color: var(--pp-primary); border-radius: 11px; }

/* ---- Mobile slide-in menu (same look as the inside sidebar) ---- */
.pp2-mobile { display: none !important; }
.pp2-backdrop { position: fixed; inset: 0; z-index: 1050; background: rgba(var(--pp-dk-b),.55); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.pp2-backdrop.pp2-open { opacity: 1; visibility: visible; }
.pp2-drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1060; width: min(300px, 86vw); display: flex; flex-direction: column; padding: 14px 12px; background: var(--pp-surface); border-right: 1px solid var(--pp-border); box-shadow: 12px 0 40px rgba(0,0,0,.25); transform: translateX(-102%); transition: transform .28s ease; overflow-y: auto; }
.pp2-drawer.pp2-open { transform: none; }
.pp2-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 6px 0 8px; margin-bottom: 14px; }
.pp2-drawer-head img { max-height: 36px; width: auto; }
.pp2-drawer-close { width: 38px; height: 38px; border: 0; border-radius: 11px; background: var(--pp-surface-3); color: var(--pp-primary); font-size: 17px; cursor: pointer; }
.pp2-dnav { flex: 1 1 auto; }
.pp2-dlink { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px; margin-bottom: 4px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--pp-muted) !important; transition: background .18s, color .18s; }
.pp2-dlink > i:first-child { width: 22px; text-align: center; font-size: 17px; color: var(--pp-primary); }
.pp2-dlink .pp2-go { margin-left: auto; font-size: 11px; opacity: .55; }
.pp2-dlink:hover { background: var(--pp-surface-3); color: var(--pp-text) !important; }
body.pp2 .pp2-dlink.pp2-active { background: var(--pp-grad); color: #fff !important; box-shadow: var(--pp-glow); }
.pp2-dlink.pp2-active i { color: #fff !important; opacity: 1; }
.pp2-drawer .pp2-mauth { display: grid; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--pp-border); }
@media (min-width: 992px) { .pp2-drawer, .pp2-backdrop { display: none; } }

/* ---- Page head (same as v2-page-head / v2-page-icon) ---- */
.pp2-page-hero { padding: 30px 0 4px; }
.pp2-page-icon { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--pp-chip); color: var(--pp-primary); font-size: 24px; border: 1px solid var(--pp-border); box-shadow: var(--pp-glow); margin-bottom: 14px; }
.pp2-page-hero h1 { font-size: clamp(26px, 3.6vw, 36px); }
.pp2-crumbs { margin-bottom: 12px; }

/* ---- Cards: tinted gradient corner like the stat / new-order cards ---- */
body.pp2 .pp2-card { border-radius: var(--pp-radius); box-shadow: var(--pp-shadow); background-image: linear-gradient(135deg, rgba(var(--pp-rgb),.10), transparent 60%); }
body.pp2 .pp2-card:nth-child(4n+2) { background-image: linear-gradient(135deg, rgba(14,165,233,.12), transparent 60%); }
body.pp2 .pp2-card:nth-child(4n+3) { background-image: linear-gradient(135deg, rgba(249,115,22,.12), transparent 60%); }
body.pp2 .pp2-card:nth-child(4n+4) { background-image: linear-gradient(135deg, rgba(34,197,94,.12), transparent 60%); }
.pp2-ico { border-radius: 14px; border: 1px solid var(--pp-border); }
.pp2-post .pp2-post-img { position: relative; }
.pp2-cta { border-radius: var(--pp-radius); }
.pp2-note { border-radius: var(--pp-radius); background: var(--pp-surface); box-shadow: var(--pp-shadow); }
.pp2-faq details { border-radius: var(--pp-radius); box-shadow: var(--pp-shadow); }

/* ---- Services: gradient category head + chips like new order ---- */
.pp2-chips { padding: 10px; background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: var(--pp-radius); gap: 10px; margin-bottom: 18px; }
.pp2-chip { height: 44px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--pp-surface-2); font-weight: 700; font-size: 14.5px; }
.pp2-chip i { color: var(--pp-primary); font-size: 16px; }
.pp2-chip:hover { background: var(--pp-chip); border: 0; }
.pp2-chip.pp2-on { background: var(--pp-grad); color: #fff; box-shadow: var(--pp-glow); }
.pp2-chip.pp2-on i { color: #fff; }
.pp2-cat { border-radius: var(--pp-radius); margin-bottom: 18px; }
.pp2-cat-head { background: var(--pp-grad-head); color: #fff; padding: 12px 18px; }
body.pp2 .pp2-cat-title h3 { color: #fff; font-size: 18px; font-weight: 800; }
.pp2-cat-chev { color: #fff; }
.pp2-count { background: rgba(var(--pp-dk-b),.35); color: #fff; padding: 3px 13px; }
.pp2-table th { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 800; color: var(--pp-text); text-align: center; padding: 10px 12px; }
.pp2-table td { text-align: center; padding: 9px 12px; font-size: 13.5px; font-weight: 600; }
.pp2-table th:nth-child(2), .pp2-table td.pp2-name { text-align: left; }
.pp2-table tbody tr:nth-child(even) { background: var(--pp-surface-2); }
.pp2-table tbody tr:hover { background: var(--pp-chip); }
.pp2-table td .pp2-btn { min-height: 34px; padding: 0 16px; border-radius: 10px; font-size: 13px; }
.pp2-search .pp2-input, .pp2-toolbar .pp2-select { border-radius: var(--pp-radius-sm); }
.pp2-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 6px; }
.pp2-stat { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--pp-radius); border: 1px solid var(--pp-border); background: var(--pp-surface); box-shadow: var(--pp-shadow); overflow: hidden; }
.pp2-stat::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--pp-rgb),.14), transparent 65%); pointer-events: none; }
.pp2-stat:nth-child(2)::before { background: linear-gradient(135deg, rgba(14,165,233,.15), transparent 65%); }
.pp2-stat:nth-child(3)::before { background: linear-gradient(135deg, rgba(34,197,94,.15), transparent 65%); }
.pp2-stat > * { position: relative; }
.pp2-stat .ic { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--pp-chip); color: var(--pp-primary); font-size: 21px; flex: 0 0 auto; }
.pp2-stat b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; color: var(--pp-text); }
.pp2-stat small { color: var(--pp-muted); font-weight: 700; font-size: 13.5px; }
@media (max-width: 640px) { .pp2-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .pp2-stat { flex-direction: column; text-align: center; padding: 12px 6px; gap: 6px; } .pp2-stat .ic { width: 40px; height: 40px; font-size: 17px; } .pp2-stat b { font-size: 18px; } .pp2-stat small { font-size: 12px; } }

/* ---- Footer / hero login / API ---- */
.pp2-footer { background: var(--pp-surface); }
.pp2-social a { border-radius: 12px; border: 1.5px solid var(--pp-primary); background: transparent; color: var(--pp-primary) !important; }
.pp2-social a:hover { background: var(--pp-primary); color: #fff !important; }
.pp2-login { border-radius: var(--pp-radius); box-shadow: var(--pp-shadow); }
.pp2-toc a.pp2-on, .pp2-toc a:hover { background: var(--pp-grad); color: #fff !important; box-shadow: var(--pp-glow); }
.pp2-code pre { border-radius: var(--pp-radius-sm); }
.pp2-step::before { border-radius: 12px; }
.pp2-eyebrow { border: 1px solid var(--pp-border); }
body.pp2 .pp2-input, body.pp2 .pp2-select { height: 48px; border-radius: var(--pp-radius-sm); }
body.pp2 .pp2-input:focus, body.pp2 .pp2-select:focus { box-shadow: 0 0 0 3px rgba(var(--pp-rgb),.18); }

/* ---- Auth pages ---- */
.pp2-page-auth::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px 360px at 12% 8%, rgba(var(--pp-rgb),.18), transparent 70%), radial-gradient(520px 360px at 92% 92%, rgba(14,165,233,.12), transparent 70%); }
.pp2-auth { position: relative; z-index: 1; flex-direction: column; gap: 16px; }
.pp2-auth-card { max-width: 460px; padding: 30px 30px 26px; border-radius: 20px; box-shadow: var(--pp-shadow), var(--pp-glow); }
.pp2-auth-card.pp2-wide { max-width: 560px; }
.pp2-auth-card { overflow: hidden; }
.pp2-auth-card::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pp-grad); }
.pp2-auth-logo { margin-bottom: 14px; }
.pp2-auth-badge { display: flex; width: 56px; height: 56px; margin: 0 auto 14px; align-items: center; justify-content: center; border-radius: 16px; background: var(--pp-chip); color: var(--pp-primary); font-size: 24px; border: 1px solid var(--pp-border); box-shadow: var(--pp-glow); }
.pp2-auth-card h1 { font-size: 25px; }
.pp2-auth-back, .pp2-auth-theme { z-index: 5; }
.pp2-auth-back { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 11px; background: var(--pp-surface); border: 1px solid var(--pp-border); box-shadow: var(--pp-shadow); top: 14px; left: 14px; color: var(--pp-text) !important; }
.pp2-auth-back i { color: var(--pp-primary); }
.pp2-auth-links { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 13.5px; font-weight: 700; }
.pp2-auth-links a { color: var(--pp-muted) !important; }
.pp2-auth-links a:hover { color: var(--pp-primary) !important; }
.pp2-auth-links span { opacity: .5; }
.pp2-auth-ok { box-shadow: 0 0 0 6px rgba(22,163,74,.08); }
.pp2-auth-card .pp2-btn-block { min-height: 50px; font-size: 16px; }

/* ---- Third-party widgets that appear on public pages ---- */
body.pp2 .alert { border: 1px solid var(--pp-border); }
body.pp2 .page-link { background: var(--pp-surface); border-color: var(--pp-border); color: var(--pp-text); border-radius: 10px !important; }
body.pp2 .page-item.active .page-link { background: var(--pp-grad); border-color: transparent; color: #fff; }
body.pp2 .dropdown-menu { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 14px; box-shadow: var(--pp-shadow); padding: 8px; }
body.pp2 .dropdown-item { color: var(--pp-text); border-radius: 9px; font-weight: 600; }
body.pp2 .dropdown-item:hover { background: var(--pp-chip); color: var(--pp-chip-text); }


/* =====================================================================
   18. GLASS LOOK (v4) - translucent frosted cards on all no-login pages
   ===================================================================== */
body.pp2 {
  --gl-bg: rgba(255,255,255,.52);
  --gl-bg-2: rgba(255,255,255,.34);
  --gl-border: rgba(255,255,255,.75);
  --gl-edge: inset 0 1px 0 rgba(255,255,255,.85);
  --gl-shadow: 0 10px 34px rgba(var(--pp-rgb),.14);
  --gl-blur: blur(18px) saturate(160%);
}
body.pp2.theme-dark, body.pp2.dark {
  --gl-bg: rgba(var(--pp-dk-a),.42);
  --gl-bg-2: rgba(var(--pp-dk-a),.28);
  --gl-border: rgba(var(--pp-rgb),.24);
  --gl-edge: inset 0 1px 0 rgba(255,255,255,.08);
  --gl-shadow: 0 12px 38px rgba(0,0,0,.45);
}

/* colourful backdrop so the glass has something to blur */
body.pp2::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 420px at 8% 12%, rgba(var(--pp-rgb),.38), transparent 70%),
    radial-gradient(560px 460px at 92% 22%, rgba(var(--pp-lbd-b, 14,165,233),.28), transparent 70%),
    radial-gradient(600px 500px at 70% 95%, rgba(var(--pp-lbd-c, 236,72,153),.22), transparent 70%),
    radial-gradient(500px 420px at 15% 85%, rgba(var(--pp-lbd-d, 34,197,94),.16), transparent 70%);
}
body.pp2.theme-dark::before, body.pp2.dark::before {
  background:
    radial-gradient(560px 440px at 8% 10%, rgba(var(--pp-rgb),.42), transparent 70%),
    radial-gradient(560px 460px at 92% 25%, rgba(var(--pp-bd-b),.22), transparent 70%),
    radial-gradient(620px 520px at 70% 95%, rgba(var(--pp-bd-c),.26), transparent 70%),
    radial-gradient(500px 420px at 12% 88%, rgba(var(--pp-bd-d),.16), transparent 70%);
}
body.pp2 .pp2-header, body.pp2 .pp2-main, body.pp2 .pp2-footer, body.pp2 .pp2-auth { position: relative; z-index: 1; }
body.pp2 .pp2-header { position: sticky; z-index: 1030; }
.pp2-page-auth::before { display: none; }

/* glass surfaces */
body.pp2 .pp2-card,
body.pp2 .pp2-login,
body.pp2 .pp2-stat,
body.pp2 .pp2-note,
body.pp2 .pp2-cat,
body.pp2 .pp2-chips,
body.pp2 .pp2-faq details,
body.pp2 .pp2-toc,
body.pp2 .pp2-auth-card,
body.pp2 .pp2-auth-back,
body.pp2 .pp2-legal-nav a,
body.pp2 .pp2-btn-ghost {
  background-color: var(--gl-bg) !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%) !important;
  border: 1px solid var(--gl-border) !important;
  box-shadow: var(--gl-shadow), var(--gl-edge) !important;
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
}
body.pp2 .pp2-auth-card { background-color: var(--gl-bg) !important; border-radius: 24px; }
body.pp2 .pp2-header {
  background: var(--gl-bg-2) !important; border-bottom: 1px solid var(--gl-border);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
}
body.pp2 .pp2-footer {
  background: var(--gl-bg-2) !important; border-top: 1px solid var(--gl-border);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
}
body.pp2 .pp2-drawer {
  background: var(--gl-bg) !important; border-right: 1px solid var(--gl-border);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
}
body.pp2.theme-dark .pp2-drawer, body.pp2.dark .pp2-drawer { background: rgba(var(--pp-dk-b),.62) !important; }

/* inner parts stay see-through */
body.pp2 .pp2-cat-body { background: transparent; }
body.pp2 .pp2-cat-head { background: var(--pp-grad-head) !important; }
body.pp2 .pp2-table tbody tr:nth-child(even) { background: rgba(var(--pp-rgb),.07); }
body.pp2 .pp2-table tbody tr:hover { background: rgba(var(--pp-rgb),.15); }
body.pp2 .pp2-chip { background: rgba(255,255,255,.28); }
body.pp2.theme-dark .pp2-chip, body.pp2.dark .pp2-chip { background: rgba(255,255,255,.06); }
body.pp2 .pp2-chip.pp2-on { background: var(--pp-grad); }
body.pp2 .pp2-input, body.pp2 .pp2-select {
  background: rgba(255,255,255,.45) !important; border: 1px solid var(--gl-border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
body.pp2.theme-dark .pp2-input, body.pp2.dark .pp2-input,
body.pp2.theme-dark .pp2-select, body.pp2.dark .pp2-select { background: rgba(var(--pp-dk-b),.5) !important; }
body.pp2 .pp2-theme, body.pp2 .pp2-burger { background: var(--gl-bg-2); border: 1px solid var(--gl-border); }
body.pp2 .pp2-section-alt { background: transparent; border-color: var(--gl-border); }
body.pp2 .pp2-cta { box-shadow: var(--pp-glow), var(--gl-edge); }
body.pp2 .pp2-prose pre, body.pp2 .pp2-code pre { background: rgba(var(--pp-dk-b),.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.pp2 .modal-content { background: var(--gl-bg) !important; -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); border: 1px solid var(--gl-border); }

/* browsers without backdrop-filter: fall back to near-solid */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.pp2 { --gl-bg: rgba(255,255,255,.92); --gl-bg-2: rgba(255,255,255,.92); }
  body.pp2.theme-dark, body.pp2.dark { --gl-bg: rgba(var(--pp-dk-a),.94); --gl-bg-2: rgba(var(--pp-dk-a),.94); }
}


/* =====================================================================
   SCROLL FIX (v6) - same glass design, smooth scrolling on phones
   * Cards sit over a smooth gradient, so live blur on them changes nothing
     visually but makes mobile Chrome draw blank/blurry tiles while scrolling.
     They keep the same glass fill, border, highlight and shadow.
   * Phone bars get a firmer glass fill instead of live blur.
   * The fixed colour backdrop is promoted to its own GPU layer.
   * No transform is set on the sidebar / menu (open/close unaffected).
   ===================================================================== */
body.pp2 .pp2-card, body.pp2 .pp2-login, body.pp2 .pp2-stat, body.pp2 .pp2-note, body.pp2 .pp2-cat, body.pp2 .pp2-chips, body.pp2 .pp2-faq details, body.pp2 .pp2-toc, body.pp2 .pp2-auth-back, body.pp2 .pp2-legal-nav a, body.pp2 .pp2-btn-ghost, body.pp2 .pp2-input, body.pp2 .pp2-select, body.pp2 .pp2-prose pre, body.pp2 .pp2-code pre {
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.pp2::before { will-change: transform; }
body.pp2 .pp2-header { will-change: transform; }
@media (max-width: 991px) {
  body.pp2 .pp2-header, body.pp2 .pp2-footer, body.pp2 .pp2-drawer, body.pp2 .pp2-auth-card, body.pp2 .modal-content { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  body.pp2 { --gl-shadow: 0 4px 14px rgba(var(--pp-rgb),.12); }
  body.pp2.theme-dark, body.pp2.dark { --gl-shadow: 0 4px 16px rgba(0,0,0,.35); }
}
@media (max-width: 991px) {
  body.pp2 { --gl-bg-2: rgba(255,255,255,.86); }
  body.pp2.theme-dark, body.pp2.dark { --gl-bg-2: rgba(var(--pp-dk-b),.88); }
  body.pp2 .pp2-header, body.pp2 .pp2-footer { background: var(--gl-bg-2) !important; }
  body.pp2 .pp2-drawer { background: var(--gl-bg-2) !important; }
}


/* =====================================================================
   v7 FIXES (no-login pages)
   ===================================================================== */

/* Landing login card: no purple top line (title text removed in the view) */
.pp2-login::before { display: none !important; }

/* Steps: numbers already sit inside each card, so hide the list's own 1. 2. 3. 4. */
body.pp2 ol.pp2-steps { list-style: none !important; margin: 0; padding: 0; }
body.pp2 ol.pp2-steps > li { list-style: none !important; }
body.pp2 ol.pp2-steps > li::marker { content: ''; font-size: 0; }

/* Icons sit beside the heading, not above it */
.pp2-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pp2-title-row .pp2-page-icon { margin: 0; flex: 0 0 auto; width: 50px; height: 50px; font-size: 22px; border-radius: 14px; }
.pp2-title-row h1 { margin: 0; min-width: 0; }
.pp2-hico { display: flex; align-items: center; gap: 12px; }
.pp2-hico .pp2-ico { margin: 0; width: 42px; height: 42px; font-size: 18px; flex: 0 0 auto; }
.pp2-hico > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.pp2-xsvg { width: 1em; height: 1em; display: block; }
.pp2-social .pp2-xsvg { width: 16px; height: 16px; }

/* No focus / tap border on the header, menu and theme switch */
body.pp2 .pp2-header a, body.pp2 .pp2-header button,
body.pp2 .pp2-drawer a, body.pp2 .pp2-drawer button,
body.pp2 .pp2-backdrop {
  outline: none !important; -webkit-tap-highlight-color: transparent;
}
body.pp2 .pp2-burger:focus, body.pp2 .pp2-burger:active, body.pp2 .pp2-burger:focus-visible,
body.pp2 .pp2-theme:focus, body.pp2 .pp2-theme:active, body.pp2 .pp2-theme:focus-visible,
body.pp2 .pp2-drawer-close:focus, body.pp2 .pp2-drawer-close:active, body.pp2 .pp2-drawer-close:focus-visible {
  outline: none !important; box-shadow: none !important; border-color: var(--gl-border) !important;
}
body.pp2 .pp2-drawer-close { border: 0 !important; }

/* Login card: Google button same width / height / radius as Sign in */
body.pp2 .pp2-login .social-login { width: 100% !important; max-width: none !important; margin: 12px 0 0 !important; padding: 0; }
body.pp2 .pp2-login .social-login .btn-google {
  display: flex !important; width: 100% !important; max-width: none !important; min-height: 46px !important;
  margin: 0 !important; padding: 10px 22px !important; border-radius: 12px !important; box-sizing: border-box; font-size: 15px !important; font-weight: 800 !important;
}
body.pp2 .pp2-login .pp2-login-foot { margin-top: 16px; }

/* Footer: same frosted glass as the cards (also on phones) */
body.pp2 .pp2-footer {
  background-color: var(--gl-bg) !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%) !important;
  border-top: 1px solid var(--gl-border) !important;
  box-shadow: var(--gl-shadow), var(--gl-edge) !important;
}
@media (min-width: 992px) {
  body.pp2 .pp2-footer { -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); }
}

/* Blog post: card around the article, tidy image */
.pp2-post-page { padding-top: 26px; }
body.pp2 .pp2-article.pp2-card { max-width: 860px; margin: 0 auto; padding: 28px; }
.pp2-article-img { width: 100%; aspect-ratio: 16 / 9; max-height: 420px; object-fit: cover; border-radius: var(--pp-radius-sm); margin: 14px 0 18px; display: block; }
.pp2-cta-box { margin-top: 30px; padding: 22px; border-radius: var(--pp-radius-sm); border: 1px solid var(--gl-border); background: rgba(var(--pp-rgb),.08); }
.pp2-cta-box .pp2-cta-title { font-size: 22px; margin-bottom: 8px; }
.pp2-cta-box p { margin-bottom: 14px; }
@media (max-width: 640px) { body.pp2 .pp2-article.pp2-card { padding: 18px; } .pp2-article-img { max-height: 240px; } .pp2-title-row .pp2-page-icon { width: 44px; height: 44px; font-size: 19px; } }

/* Blog post: keep the "Ready to grow" CTA card inside the article card */
body.pp2 .pp2-article.pp2-card { overflow: hidden; }
body.pp2 .pp2-article .pp2-prose { display: flow-root; max-width: 100%; overflow-wrap: anywhere; }
body.pp2 .pp2-article .pp2-prose * { max-width: 100%; }
body.pp2 .pp2-article .pp2-prose img, body.pp2 .pp2-article .pp2-prose iframe, body.pp2 .pp2-article .pp2-prose video { max-width: 100%; height: auto; }
body.pp2 .pp2-article .pp2-prose pre { overflow-x: auto; }
body.pp2 .pp2-article .pp2-cta-box { display: block; clear: both; position: relative; width: 100%; max-width: 100%; margin: 30px 0 0; padding: 24px 22px; text-align: center; }
body.pp2 .pp2-article .pp2-cta-box .pp2-cta-title { margin: 0 0 8px; }
body.pp2 .pp2-article .pp2-cta-box .pp2-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 640px) { body.pp2 .pp2-article .pp2-cta-box { padding: 20px 16px; } body.pp2 .pp2-article .pp2-cta-box .pp2-btn { width: 100%; white-space: normal; } }

/* Back-to-blog button (inside post card) + standalone CTA card below the post */
body.pp2 .pp2-post-back { margin: 26px 0 0; text-align: left; }
body.pp2 .pp2-post-back .pp2-btn { width: auto; }
body.pp2 .pp2-cta-standalone { display: block; clear: both; width: 100%; max-width: 860px; margin: 24px auto 0; padding: 28px 22px; text-align: center; border: 1px solid var(--gl-border); border-radius: var(--pp-radius); background: rgba(var(--pp-rgb),.08); box-shadow: var(--pp-shadow); }
body.pp2 .pp2-cta-standalone .pp2-cta-title { margin: 0 0 8px; }
body.pp2 .pp2-cta-standalone .pp2-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 640px) { body.pp2 .pp2-cta-standalone { padding: 20px 16px; } body.pp2 .pp2-cta-standalone .pp2-btn { width: 100%; white-space: normal; } }

/* =====================================================================
   SCROLL GLITCH FIX (v8) - blank / flat band at the bottom while scrolling
   Cause: the fixed colour backdrop (body::before) re-sizes while the phone's
   address bar hides/shows, so Chrome repaints it and leaves blank tiles.
   Fix: give it a fixed, largest-viewport size (no resizing), keep it on a
   stable GPU layer, and drop live blur on phones. Look is unchanged.
   ===================================================================== */
html { background: var(--pp-bg, #f3f4fc); -webkit-text-size-adjust: 100%; }
body.pp2::before {
  top: 0; left: 0; right: 0; bottom: auto; inset: auto;
  width: 100%; height: 100vh; height: 100lvh; min-height: 100%;
  transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  will-change: auto; contain: strict;
}
@media (max-width: 991px) {
  body.pp2 .pp2-header { will-change: auto; transform: none; }
  body.pp2 .pp2-card, body.pp2 .pp2-login, body.pp2 .pp2-stat, body.pp2 .pp2-note, body.pp2 .pp2-cat, body.pp2 .pp2-chips,
  body.pp2 .pp2-faq details, body.pp2 .pp2-toc, body.pp2 .pp2-auth-card, body.pp2 .pp2-auth-back, body.pp2 .pp2-legal-nav a,
  body.pp2 .pp2-btn-ghost, body.pp2 .pp2-input, body.pp2 .pp2-select, body.pp2 .pp2-footer, body.pp2 .pp2-header,
  body.pp2 .pp2-drawer, body.pp2 .modal-content, body.pp2 .pp2-prose pre, body.pp2 .pp2-code pre, .pp2-backdrop {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  body.pp2 .pp2-main, body.pp2 .pp2-auth { -webkit-overflow-scrolling: touch; }
}

/* =====================================================================
   AUTH PAGES (v9) - sign up / forgot / reset password / 2FA now sit inside the
   public layout (same header, footer, glass background as Services / FAQ).
   ===================================================================== */
body.pp2.pp2-page-auth::before { display: block; }   /* keep the colourful glass backdrop on /auth/* pages */
.pp2-auth-section { padding: 40px 0 72px; }
.pp2-auth-section .pp2-auth-card { position: relative; margin: 0 auto; max-width: 460px; padding: 30px 30px 26px; }
.pp2-auth-section .pp2-auth-card.pp2-wide { max-width: 560px; }
.pp2-auth-section .pp2-auth-card::after { display: none; }   /* no purple top line (matches the home login card) */
@media (max-width: 640px) { .pp2-auth-section { padding: 24px 0 48px; } .pp2-auth-section .pp2-auth-card { padding: 22px 18px; } }

/* Auth pages (v10): no icons inside inputs (same clean fields as the home login), tidy spacing */
.pp2-auth-card .pp2-field > i, .pp2-auth-card .pp2-ic > i { display: none !important; }
.pp2-auth-card .pp2-ic .pp2-input, .pp2-auth-card .pp2-ic .pp2-select { padding-left: 16px !important; }
.pp2-auth-card .pp2-field { margin-bottom: 14px; }
.pp2-auth-card .pp2-btn-block { width: 100%; margin-top: 4px; }
.pp2-auth-card .pp2-auth-foot { margin-top: 20px !important; }
.pp2-auth-card .social-login { margin: 0 0 16px !important; }

/* API page: order-type switcher shows all types (wraps instead of scrolling) */
#pp2OrderTypes { flex-wrap: wrap; overflow: visible; }
#pp2OrderTypes .pp2-chip { padding: 9px 14px; font-size: 13.5px; }
.pp2-type-panel[hidden] { display: none !important; }

/* API page: order-type dropdown */
.pp2-api-typewrap { margin: 6px 0 14px; }
.pp2-api-typewrap .pp2-select { width: 100%; min-height: 48px; font-weight: 700; }
.pp2-type-panel[hidden] { display: none !important; }

/* =====================================================================
   SERVICES (no login) - search, category dropdown and service table now use the same
   markup + behaviour as the logged-in Services page (ported v2-* styles, public tokens).
   ===================================================================== */
body.pp2 { --pp-row-alt: rgba(var(--pp-rgb),.06); }
body.pp2.theme-dark, body.pp2.dark { --pp-row-alt: rgba(255,255,255,.035); }
.v2-page-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v2-search { position: relative; min-width: 260px; }
.v2-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--pp-muted); pointer-events: none; }
.v2-search input.form-control { padding-left: 40px; }
.v2-select { min-width: 150px; }
.v2-cat { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: var(--pp-radius); margin-bottom: 18px; overflow: hidden; box-shadow: var(--pp-shadow); }
.v2-cat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; cursor: pointer;
  background: var(--pp-grad-head); color: #fff;
}
.v2-cat-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.v2-cat-title h3 { margin: 0; color: #fff !important; font-size: 18px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.v2-cat-emoji { font-size: 22px; line-height: 1; }
.v2-cat-count { background: rgba(var(--pp-dk-b),.35); color: #fff; padding: 3px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.v2-cat-chevron { color: #fff; transition: transform .2s; }
.v2-cat.is-collapsed .v2-cat-chevron { transform: rotate(180deg); }
.v2-cat.is-collapsed .v2-cat-body { display: none; }

.v2-table { width: 100%; border-collapse: collapse; }
.v2-table th { padding: 10px 12px; font-size: 12.5px; font-weight: 800; color: var(--pp-text); text-align: center; border-bottom: 1px solid var(--pp-border); white-space: nowrap; }
.v2-table th.t-left, .v2-table td.t-left { text-align: left; }
.v2-table td { padding: 9px 12px; text-align: center; font-size: 13.5px; font-weight: 600; border-bottom: 1px solid var(--pp-border); }
.v2-table tbody tr:last-child td { border-bottom: 0; }
.v2-table tbody tr:nth-child(even) { background: var(--pp-row-alt); }
.v2-table tbody tr:hover { background: var(--pp-chip); }
.v2-name { font-weight: 600; text-align: left; line-height: 1.35; min-width: 220px; }
.v2-plat { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; background: linear-gradient(135deg,var(--pp-g1),var(--pp-g2)); }
.v2-plat.ig { background: linear-gradient(45deg,#f9a02b,#e1306c 50%,#833ab4); }
.v2-plat.fb { background: #1877f2; } .v2-plat.yt { background: #ff0000; } .v2-plat.tw { background: #111; }
.v2-plat.tg { background: #229ed9; } .v2-plat.tt { background: #0f0f0f; } .v2-plat.sp { background: #1db954; }
.v2-plat.li { background: #0a66c2; } .v2-plat.wa { background: #25d366; }
.v2-btn-view { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; height: 34px; padding: 0 16px; border-radius: 10px; background: var(--pp-grad); color: #fff !important; font-weight: 700; font-size: 13px; border: 0; box-shadow: var(--pp-glow); }
.v2-btn-cart { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 34px; border-radius: 10px; border: 1.5px solid var(--pp-primary); color: var(--pp-primary) !important; background: transparent; }
.v2-btn-cart:hover { background: var(--pp-primary); color: #fff !important; }
.v2-id-copy { display: inline-flex; align-items: center; gap: 6px; }
.v2-id-copy .copy-btn { padding: 0 6px; height: 24px; line-height: 1; font-size: 11px; }
.v2-table th.t-center, .v2-table td.t-center { text-align: center; }
.v2-cat-body .v2-table td, .v2-cat-body .v2-table th { vertical-align: middle; }
.v2-cat-body .v2-table td:last-child, .v2-cat-body .v2-table td:nth-last-child(2) { text-align: center; }
.v2-cat-body .v2-table td .service-view-btn { margin: 0 auto; }
.v2-id-copy .copy-btn { min-width: 28px; height: 26px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 767.98px) {
  .v2-cat-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .v2-cat-body .v2-table { min-width: 620px; }
  .v2-cat-body .v2-table th, .v2-cat-body .v2-table td { padding: 7px 5px; font-size: 12px; white-space: nowrap; }
  .v2-cat-body .v2-table td.v2-name { white-space: normal; min-width: 150px; }
  .v2-cat-body .v2-btn-view, .v2-cat-body .service-view-btn { min-width: 52px; height: 30px; padding: 0 10px; font-size: 12px; }
  .v2-cat-body .v2-btn-cart { width: 32px; height: 30px; }
}
/* ---------- 13. Services filter drop-down (themed, desktop + mobile) ---------- */
.v2-select { position: relative; }
.v2-select select.v2-dd-native { display: none !important; }
.v2-dd { position: relative; width: 100%; }
.v2-dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 0 14px; text-align: left;
  background: var(--pp-input); color: var(--pp-text); border: 1px solid var(--pp-border); border-radius: var(--pp-radius-sm); font-weight: 600; font-size: 14px; cursor: pointer; }
.v2-dd.open .v2-dd-btn, .v2-dd-btn:focus { border-color: var(--pp-primary); box-shadow: 0 0 0 3px rgba(var(--pp-rgb),.18); outline: 0; }
.v2-dd-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-dd-label { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.v2-dd-label > span { overflow: hidden; text-overflow: ellipsis; }
.v2-dd-caret { font-size: 11px; color: var(--pp-muted); transition: transform .2s; flex: 0 0 auto; }
.v2-dd.open .v2-dd-caret { transform: rotate(180deg); }
.v2-dd-list { display: none; position: absolute; right: 0; left: auto; top: calc(100% + 6px); min-width: 100%; width: max-content; max-width: min(88vw, 320px); z-index: 1060; max-height: 320px; overflow-y: auto;
  padding: 6px; background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 14px; box-shadow: var(--pp-shadow), 0 12px 30px rgba(0,0,0,.18); }
.v2-dd.open .v2-dd-list { display: block; }
.v2-dd-item { padding: 10px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--pp-text); cursor: pointer; line-height: 1.35; word-break: break-word; }
.v2-dd-item:hover { background: var(--pp-chip); color: var(--pp-chip-text); }
.v2-dd-item.selected { background: var(--pp-grad); color: #fff; }
.v2-dd-item.selected .v2-dd-heart { color: #fff; }
@media (max-width: 767.98px) {
  .v2-page-tools { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; width: 100%; }
  .v2-page-tools .v2-search, .v2-page-tools .v2-select { width: 100%; min-width: 0; flex: 0 0 auto; }
  .v2-dd-list { width: 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .v2-page-tools { margin-right: 14px; }
  .v2-select { min-width: 170px; }
}
@media (max-width: 767.98px) {
  .v2-dd-list { left: 0; right: 0; }
}
.pp2-svc-tools { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; margin: 22px 0 16px; }
.pp2-svc-tools .v2-search { flex: 1 1 auto; }
.pp2-svc-tools .v2-select { flex: 0 0 280px; min-width: 200px; }
.v2-search input.form-control, .v2-search input.pp2-input { padding-left: 42px; width: 100%; }
.v2-table { color: var(--pp-text); }
.v2-cat { background: var(--pp-surface); }
.v2-cat-body { overflow-x: auto; }
.v2-cat-body .v2-table td:last-child { text-align: center; }
.v2-cat-body .v2-table td .pp2-btn { min-height: 34px; }
.v2-id-copy .copy-btn { border: 1px solid var(--pp-border); background: var(--pp-chip); color: var(--pp-chip-text); border-radius: 7px; cursor: pointer; }
.v2-table .service-view-btn, .v2-table .btn-info, .v2-table .btn-outline-info {
  display: inline-flex; align-items: center; justify-content: center; min-width: 62px; height: 34px; padding: 0 16px; border-radius: 10px;
  background: var(--pp-grad) !important; color: #fff !important; border: 0 !important; font-weight: 700; font-size: 13px; box-shadow: var(--pp-glow);
}
@media (max-width: 767.98px) {
  .pp2-svc-tools { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .pp2-svc-tools .v2-search, .pp2-svc-tools .v2-select { width: 100%; min-width: 0; flex: 0 0 auto; }
}

/* Services (no login): toolbar order filter > currency > search, and the same "View" description modal as the logged-in side */
.pp2-svc-tools .v2-currency-wrap { flex: 0 0 170px; min-width: 150px; }
.pp2-svc-tools .v2-search { flex: 1 1 240px; }
.v2-dd-item { display: block; text-decoration: none; }
a.v2-dd-item:hover { text-decoration: none; }
body.pp2 .modal-content { background: var(--pp-surface) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 1px solid var(--pp-border); border-radius: 18px; color: var(--pp-text) !important; }
body.pp2 .modal-header, body.pp2 .modal-footer { border-color: var(--pp-border); }
body.pp2 .modal .close { color: var(--pp-text); text-shadow: none; opacity: .7; }
body.pp2 .modal-backdrop.show { opacity: .65; }
body.pp2 .service-description-actions { margin-top: 22px; text-align: center !important; display: flex; justify-content: center; }
body.pp2 .modal-body a.service-create-order-btn, body.pp2 .modal-body .service-create-order-btn {
  display: inline-flex !important; align-items: center; justify-content: center; min-width: 190px; height: 46px; padding: 0 26px;
  border-radius: 12px !important; border: 0 !important; background: var(--pp-grad) !important; color: #fff !important; font-weight: 800;
  box-shadow: var(--pp-glow) !important; text-decoration: none;
}
@media (max-width: 767.98px) { .pp2-svc-tools .v2-currency-wrap { flex: 0 0 auto; width: 100%; } }

/* Services (no login) fixes: View button identical to the logged-in side, search box no longer stretches on phones */
body.pp2 .service-view-btn, body.pp2 .v2-table .service-view-btn, body.pp2 .v2-table .btn-info, body.pp2 .v2-table .btn-outline-info {
  display: inline-flex; align-items: center; justify-content: center; min-width: 62px; height: 34px; padding: 0 16px; border-radius: 10px;
  background: var(--pp-grad) !important; color: #fff !important; border: 0 !important; font-weight: 700; font-size: 13px; box-shadow: var(--pp-glow); cursor: pointer;
}
body.pp2 .service-view-btn:hover, body.pp2 .v2-table .service-view-btn:hover { color: #fff !important; filter: brightness(1.06); }
.v2-search { position: relative; }
.v2-search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 2; font-size: 15px; line-height: 1; color: var(--pp-muted); pointer-events: none; }
.v2-search input.pp2-input, .v2-search input.form-control { height: 48px; padding-left: 42px !important; }
@media (max-width: 767.98px) {
  .pp2-svc-tools { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 10px; }
  .pp2-svc-tools .v2-search, .pp2-svc-tools .v2-select, .pp2-svc-tools .v2-currency-wrap { flex: 0 0 auto !important; width: 100%; min-width: 0; height: auto; }
  .v2-cat-body .v2-table td, .v2-cat-body .v2-table th { white-space: nowrap; }
}

/* Services (no login): "View" description popup = same glass look as the logged-in side */
body.pp2 .modal-content {
  background-color: var(--gl-bg) !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%);
  border: 1px solid var(--gl-border) !important;
  box-shadow: var(--gl-shadow), var(--gl-edge) !important;
  -webkit-backdrop-filter: var(--gl-blur) !important; backdrop-filter: var(--gl-blur) !important;
}
body.pp2 .modal { z-index: 1055; }
body.pp2 .modal-backdrop { z-index: 1050; }
body.pp2 .modal-backdrop.show { opacity: .65; }
@media (max-width: 991px) {
  body.pp2 .modal-content { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* API URL is plain text (not a link) */
.pp2-api-url { user-select: all; word-break: break-all; }

/* ---------- Header background: same as logged-in (user side) top bar ---------- */
@media (max-width: 991px) {
  body.pp2 { --gl-bg-2: rgba(255,255,255,.86); --gl-shadow: 0 4px 14px rgba(var(--pp-rgb),.12); }
  body.pp2.theme-dark, body.pp2.dark { --gl-bg-2: rgba(var(--pp-dk-b),.88); --gl-shadow: 0 4px 16px rgba(0,0,0,.35); }
  body.pp2 .pp2-header, body.pp2 .pp2-drawer { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
body.pp2 .pp2-header { will-change: transform; border-bottom: 1px solid var(--gl-border); }
body.pp2 .pp2-theme, body.pp2 .pp2-burger { background: var(--gl-bg-2); border: 1px solid var(--gl-border); }

/* ---------- Header wrap: same bar layout as logged-in (user side) top bar. Logo size untouched. ---------- */
body.pp2 .pp2-header { min-height: 62px; }
body.pp2 .pp2-header-in { min-height: 62px; gap: 14px; }
body.pp2 .pp2-header-actions { gap: 14px; }
body.pp2 .pp2-theme { width: 70px; height: 36px; border-radius: 20px; }
body.pp2 .pp2-theme::before { width: 31px; height: 28px; border-radius: 16px; }
body.pp2.theme-dark .pp2-theme::before, body.pp2.dark .pp2-theme::before { transform: translateX(32px); }
body.pp2 .pp2-burger { width: 40px; height: 40px; border-radius: 11px; font-size: 20px; color: var(--pp-primary); }
body.pp2.theme-dark .pp2-burger, body.pp2.dark .pp2-burger { color: var(--pp-lite); }
@media (max-width: 991px) {
  body.pp2 .pp2-header-in { padding-left: 12px; padding-right: 12px; }
  body.pp2 .pp2-theme { width: 62px; height: 32px; }
  body.pp2 .pp2-theme::before { width: 27px; height: 24px; }
  body.pp2.theme-dark .pp2-theme::before, body.pp2.dark .pp2-theme::before { transform: translateX(28px); }
}

/* no arrows on drawer rows */
body.pp2 .pp2-dlink .pp2-go { display: none !important; }

/* ---------- Services (no login): category filter + currency drop-down lists = same glass as the logged-in side ---------- */
body.pp2 .v2-dd-list {
  background-color: var(--gl-bg) !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%);
  border: 1px solid var(--gl-border) !important;
  box-shadow: var(--gl-shadow), var(--gl-edge) !important;
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
}
body.pp2 .v2-dd-btn {
  background-color: rgba(255,255,255,.45) !important; border: 1px solid var(--gl-border) !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
body.pp2.theme-dark .v2-dd-btn, body.pp2.dark .v2-dd-btn { background-color: rgba(var(--pp-dk-b),.5) !important; }
body.pp2 .v2-dd-item:hover { background: rgba(var(--pp-rgb),.14); }
body.pp2 .v2-dd-item.selected { background: var(--pp-grad); color: #fff; }

/* same glass recipe as the logged-in side */
html body.pp2 .v2-dd-list { background-color: rgba(255,255,255,.72) !important; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
html body.pp2.theme-dark .v2-dd-list, html body.pp2.dark .v2-dd-list { background-color: rgba(var(--pp-dk-a),.78) !important; }

/* Short-name badges / chips for platforms without a brand icon */
.v2-plat.v2-plat-txt { font-size: 10px; font-weight: 800; letter-spacing: .2px; }
.v2-chip-txt, .pp2-chip .v2-chip-txt { font-size: 10px; font-weight: 800; border: 1.5px solid currentColor; border-radius: 5px; padding: 0 3px; line-height: 14px; display: inline-block; }

/* ---------- Public header BACKGROUND = logged-in top bar background (only colours, no size changes) ---------- */
body.pp2 .pp2-header {
  background: rgba(255,255,255,.86) !important;
  border-bottom: 1px solid var(--gl-border);
}
body.pp2.theme-dark .pp2-header, body.pp2.dark .pp2-header {
  background: rgba(var(--pp-dk-b),.88) !important;
}
@media (min-width: 992px) {
  body.pp2 .pp2-header { background: var(--gl-bg-2) !important; }
  body.pp2.theme-dark .pp2-header, body.pp2.dark .pp2-header { background: var(--gl-bg-2) !important; }
}
