/* privatkredits.lv — обновление стиля всего сайта (19.11.2026, вид утверждён владельцем по макету).
   Латвия: светлый фон, синий цвет бренда (как в логотипе privātkredīts), круглые кнопки; зелёный здесь занят ss.com.
   Подключается отдельным файлом после основного CSS; тексты и разметка страниц не меняются.
   Откат: убрать <link href="/theme-lv.css"> из страниц. ⛔ При следующей сборке сайта перенести этот блок в исходный global.css. */
:root, :host {
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --color-emerald-50: #eff6ff;
  --color-emerald-100: #dbeafe;
  --color-emerald-200: #bfdbfe;
  --color-emerald-500: #3b82f6;
  --color-emerald-600: #2563eb;
  --color-emerald-700: #1d4ed8;
  --color-emerald-800: #1e40af;
  --color-slate-50: #f8faff;
  --color-slate-100: #f1f5fd;
  --font-mono: var(--font-family-header, ui-sans-serif), ui-sans-serif, system-ui, sans-serif;
}
.cta-button { background-color: #2563eb; border-color: #2563eb; border-radius: 999px; padding: 0.85rem 1.7rem; font-size: 1rem; }
.cta-button:hover { background-color: #1d4ed8; border-color: #1d4ed8; }
.cta-button.secondary { background-color: #ffffff; color: #0f1f3d; border-color: #cfdcf5; border-radius: 999px; }
.cta-button.secondary:hover { background-color: #ffffff; border-color: #0f1f3d; color: #0f1f3d; }
.cta-button-small { background-color: #2563eb; border-color: #2563eb; border-radius: 999px; }
.cta-button-small:hover { background-color: #1d4ed8; }
a.bg-slate-900, button.bg-slate-900 { background-color: #2563eb !important; border-radius: 999px; }
a.bg-slate-900:hover, button.bg-slate-900:hover { background-color: #1d4ed8 !important; }
main div.bg-slate-900, main section.bg-slate-900, main aside.bg-slate-900 { background-color: #eff6ff !important; color: #0f1f3d !important; }
main div.bg-slate-900 .text-white, main section.bg-slate-900 .text-white, main aside.bg-slate-900 .text-white { color: #0f1f3d !important; }
main div.bg-slate-900 .text-slate-300, main section.bg-slate-900 .text-slate-300, main div.bg-slate-900 .text-slate-400, main section.bg-slate-900 .text-slate-400 { color: #475569 !important; }
main h1, main h2, main h3, section h1, section h2 { text-wrap: balance; letter-spacing: -0.015em; }
main p, main li { text-wrap: pretty; }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], select, textarea { border-radius: 12px; }
nav .bg-primary, a .bg-primary { background-color: #2563eb !important; }
nav .text-primary { color: #2563eb !important; }

/* ── первый экран главной (перестраивает /home-hero.js) ── */
section.pp-hero { background: #f5f8ff !important; }
section.pp-hero h1 { color: #0f1f3d; }
section.pp-hero .grid { align-items: center; }
.pp-card { display: block !important; grid-column: span 5 / span 5; background: #fff; border: 1px solid #dbe6fb; border-radius: 20px; padding: 18px; }
.pp-stats { margin: 0 0 14px !important; max-width: none !important; }
.pp-stats .grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
.pp-stats .grid > * { background: #f5f8ff !important; border: 0 !important; border-radius: 14px !important; padding: 12px 14px !important; }
.pp-calc-h { font-size: 15px; font-weight: 700; color: #0f1f3d; margin: 4px 0 12px; }
.pp-calc label { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; margin-bottom: 12px; font-size: 13px; color: #475569; }
.pp-calc label b { color: #0f1f3d; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-calc input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: #2563eb; height: 26px; }
.pp-pay { display: flex; justify-content: space-between; align-items: center; background: #f5f8ff; border-radius: 14px; padding: 10px 14px; margin: 4px 0 12px; }
.pp-pay span { font-size: 13px; color: #475569; }
.pp-pay b { font-size: 26px; font-weight: 800; color: #0f1f3d; letter-spacing: -0.02em; }
.pp-calc-btn { display: flex !important; width: 100%; }
.pp-note { font-size: 12px; color: #6b7280; margin: 10px 0 0; line-height: 1.45; }
@media (max-width: 1023px) { .pp-card { grid-column: auto; margin-top: 6px; } }
