/* WEBNOVA price block (SITE_PRICING_DISPLAY_SPEC.md). Rendered by app/lib/price_render.php (token price:<slug>).
   Level colours from the site theme (T24): Промо = var(--wn-goodfg), Стартова = var(--wn-v), Редовна = neutral, no badge. The level is always written as text, colour is never the only sign.
   Contrast (WCAG AA) checked for the light theme (white surfaces) and the default dark theme (#0d1230 surfaces). No animation. */
.wnp{--wnp-c:var(--wn-goodfg,#0f766e);--wnp-bg:var(--wn-goodbg,#e3f6f3);--wnp-solid:#0f766e;display:block;margin:4px 0 2px;font-size:16px;line-height:1.4;font-weight:400;letter-spacing:normal;word-spacing:normal;text-transform:none;text-align:left;font-variant-numeric:tabular-nums;color:var(--wn-ink,#2d3a5e)}
.wnp--launch{--wnp-c:#5b21b6;--wnp-bg:#f1eafe;--wnp-solid:#6d28d9}   /* 09.11.2026: 5b21b6 върху светлото е над 4,5:1 (одит, достъпност) */
.wnp--regular{--wnp-c:var(--wn-mut,#55627f);--wnp-bg:transparent;--wnp-solid:#3b4566}
:root:not([data-theme="light"]) .wnp--promo{--wnp-solid:#166534}
/* dark: var(--wn-v) itself is 3.5:1 on the dark surface, so the badge text is the theme violet mixed with white (7.7:1) */
:root:not([data-theme="light"]) .wnp--launch{--wnp-c:#c9b8ff;--wnp-bg:rgba(139,92,246,.18);--wnp-solid:#5b21b6}
@supports (color:color-mix(in srgb,red 50%,white)){
.wnp--launch{--wnp-bg:color-mix(in srgb,var(--wn-v,#7c3aed) 12%,transparent)}
:root:not([data-theme="light"]) .wnp--launch{--wnp-c:color-mix(in srgb,var(--wn-v,#8b5cf6) 50%,#fff);--wnp-bg:color-mix(in srgb,var(--wn-v,#8b5cf6) 18%,transparent)}}
:root:not([data-theme="light"]) .wnp--regular{--wnp-solid:#2a3270}
.wnp-lab,.wnp-now,.wnp-was,.wnp-note{display:block;margin:0}
.wnp .wnp-lab{margin:0 0 4px}
.wnp-badge{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--wnp-c);background:var(--wnp-bg);border:1px solid currentColor;border-radius:999px;padding:2px 10px;line-height:1.5}
.wnp--regular .wnp-badge{border-color:var(--wn-b,#e1e7f6)}
.wnp .wnp-now{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;color:var(--wn-h,#0a1030)}
.wnp-amt{font-size:2.1em;font-weight:800;line-height:1.05;letter-spacing:-.01em;color:var(--wn-h,#0a1030)}
.wnp-from,.wnp-unit{font-size:1em;font-weight:700;color:var(--wn-h,#0a1030)}
.wnp-vat{font-size:13px;font-weight:600;color:var(--wn-mut,#55627f)}
.wnp .wnp-was{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:6px 0 0}
.wnp-was s{font-size:1.05em;font-weight:600;color:var(--wn-mut,#55627f);text-decoration-thickness:2px}
.wnp-pct{display:inline-block;font-size:13px;font-weight:800;color:#fff;background:var(--wnp-solid);border-radius:8px;padding:2px 8px}
.wnp .wnp-note{margin:6px 0 0;font-size:13.5px;line-height:1.45;color:var(--wn-mut,#55627f)}
.wnp .wnp-note b{color:var(--wn-h,#0a1030);font-weight:700}
.wnp .wnp-next{display:block;margin:2px 0 0}
.wnp-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* dark surfaces: the block reads --wn-* theme vars, so light-on-dark needs its own values */
.ws .pkg.f,.ws .steps-sec,.ws #diag,.ws .cta2,.ws .pjl.dark{--wn-h:#fff;--wn-ink:#e6ebff;--wn-mut:#cbd4f5;--wn-b:#ffffff44}
.ws .pkg.f .wnp--promo,.ws .steps-sec .wnp--promo,.ws #diag .wnp--promo,.ws .cta2 .wnp--promo{--wnp-c:#6ee7b7;--wnp-bg:rgba(16,185,129,.16)}
.ws .pkg.f .wnp--launch,.ws .steps-sec .wnp--launch,.ws #diag .wnp--launch,.ws .cta2 .wnp--launch{--wnp-c:#d8ccff;--wnp-bg:rgba(139,92,246,.22)}
.ws .pkg.f .wnp-amt,.ws .pkg.f .wnp-now,.ws .pkg.f .wnp-note b,.ws .pkg.f .wnp-was s{color:#fff}
/* inside the site pages (.ws): package cards, service tables, product cards */
.ws .pr .wnp,.ws td .wnp{font-size:15px}
.ws .pkg .pr{font-size:16px;line-height:1.4;font-weight:400;margin:10px 0 6px}
.ws .pkg .pr .wnp-amt{font-size:38px}
.ws .wnp-per{display:block;font-size:14px;color:var(--mut,var(--wn-mut));font-weight:500;margin-top:2px}
.ws td.pr .wnp{white-space:normal}.ws table td.pr{white-space:normal;min-width:215px}
/* 06.11.2026: the date and time of a campaign end never split ("23:59" / "ч." on its own line), the service name keeps one line where it fits */
.wnp-note time,.wnp-note b{white-space:nowrap}
.ws table td:first-child{min-width:175px}
.ws td .wnp-amt{font-size:22px}
.ws td .wnp-badge{font-size:11px;padding:1px 8px}
.ws td .wnp .wnp-note{font-size:12.5px}
.ws .card .wnp{margin:10px 0 12px}
@media(max-width:860px){.ws table td.pr{min-width:0}.ws table td:first-child{min-width:0}.ws td .wnp-amt{font-size:24px}}
.wnp-inl{font-weight:600}.wnp-inl time{white-space:nowrap}
.wnp-hn{display:block;margin:8px auto 0;font-size:15px;font-weight:600;color:var(--wn-goodfg,#0f766e)}.wnp-hn b{font-weight:800}.wnp-hn time{white-space:nowrap}
.ws header .wnp-hn,.ws .hero .wnp-hn{color:#6ee7b7}
@media(prefers-reduced-motion:reduce){.wnp,.wnp *{transition:none!important;animation:none!important}}
@media print{.wnp-badge,.wnp-pct{border:1px solid #000;color:#000;background:none}}
