/* AI Bukvar. Hladna svetla podloga, tamnoplavo mastilo, plavi akcenat i žuta "olovka" za isticanje. */
:root {
  --ground: #F4F6FB;
  --surface: #FFFFFF;
  --ink: #14213D;
  --ink-soft: #36415C;
  --muted: #4A5673;
  --line: #D5DBEA;
  --accent: #1F55C4;
  --accent-dark: #163F94;
  --accent-tint: #E6EEFF;
  --pencil: #FFC940;
  --display: 'Bitter', Georgia, serif;
  --body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.5; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.18; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pencil); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* Zaglavlje */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; }
.brand svg { color: var(--accent); }

/* Dugmad */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: inherit; font-size: 19px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 16px; }
.btn-big { min-height: 60px; font-size: 20px; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { background: var(--ground); }
.btn-pencil { background: var(--pencil); color: var(--ink); }
.btn-pencil:hover { background: #F5BC2A; }
.btn[disabled] { background: var(--line); color: var(--muted); cursor: default; }
.link-btn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }

.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--pencil); font-size: 15px; font-weight: 700; }
.note { font-size: 16px; color: var(--muted); }

/* Početna */
.hero { padding: 44px 0 52px; }
.hero-grid { display: grid; gap: 32px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero h1 { font-size: clamp(32px, 6vw, 50px); }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 34em; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hero-points { list-style: none; margin: 0; padding: 20px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; align-self: start; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; }
.hero-points svg { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-points strong { display: block; }
.hero-points span { display: block; font-size: 16px; color: var(--muted); }

.section { padding: 52px 0; }
.band { padding: 52px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2, .band h2 { font-size: clamp(26px, 4.5vw, 34px); margin-bottom: 12px; }
.sub { color: var(--ink-soft); margin-bottom: 24px; max-width: 40em; }
.center .sub { margin-left: auto; margin-right: auto; }

.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps h3 { font-size: 20px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 17px; }
.num { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }

.jobs { display: grid; gap: 14px; }
.jobs article { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.jobs h3 { font-size: 19px; margin-bottom: 8px; }
.jobs ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 17px; }

details { border-bottom: 1px solid var(--line); }
summary { padding: 16px 0; font-weight: 700; cursor: pointer; }
details p { padding: 0 0 16px; color: var(--ink-soft); }

.foot { padding: 24px 0 32px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-direction: column; gap: 6px; }

/* Kviz, plan, lekcija */
.app { max-width: 600px; margin: 0 auto; padding: 24px 20px 120px; min-height: 70vh; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.app h2 { font-size: 28px; }
.hint { font-size: 17px; color: var(--muted); }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress span { font-size: 15px; font-weight: 600; color: var(--muted); }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { min-height: 56px; padding: 12px 16px; text-align: left; font: inherit; font-size: 19px; font-weight: 600; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.opt:hover { border-color: #9FB0D6; }
.opt[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 17px; font-weight: 600; }
.field input { min-height: 56px; padding: 0 16px; font: inherit; font-size: 19px; color: var(--ink); background: var(--surface); border: 2px solid #8A96B3; border-radius: 12px; }

.actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--surface); border-top: 1px solid var(--line); }
.actions-in { max-width: 600px; margin: 0 auto; padding: 12px 20px 16px; display: flex; gap: 12px; }
.actions-in.col { flex-direction: column; gap: 10px; }
.actions-in .grow { flex: 1 1 auto; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; color: var(--ink-soft); }
.price-row b { font-size: 21px; color: var(--ink); white-space: nowrap; }

.person { font-size: 17px; font-weight: 600; color: var(--ink-soft); }
.lessons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lesson { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.lesson .n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 999px; background: #E3E8F4; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.lesson.open .n { background: var(--pencil); }
.lesson .t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lesson strong { font-size: 19px; line-height: 1.25; }
.lesson .d { font-size: 16px; color: var(--muted); }
.lesson .btn { align-self: flex-start; margin-top: 6px; min-height: 44px; padding: 0 16px; font-size: 16px; background: var(--surface); color: var(--accent); border: 2px solid var(--accent); }
.lesson .btn:hover { background: var(--accent-tint); }
.lock { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 7px; fill: none; stroke: #6B7794; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.meta { font-size: 15px; font-weight: 600; color: var(--muted); }
.howto { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.howto li { display: flex; gap: 12px; align-items: flex-start; }
.howto .num { width: 30px; height: 30px; font-size: 15px; }
.prompt { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; }
.prompt .label { font-size: 15px; font-weight: 700; color: var(--muted); }
.prompt p { font-size: 19px; line-height: 1.4; }
.box { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .wrap { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px; }
  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .bar i { transition: width .25s ease; }
}

.small { font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.doc { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
.doc h1 { font-size: 32px; margin-bottom: 16px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
#view-title:focus { outline: none; }

/* Navigacija i dugme koje izgleda kao link */
.topnav { display: flex; align-items: center; gap: 16px; }
.navlink { color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; }
.navlink:hover { color: var(--accent); }
@media (max-width: 560px) { .navlink { display: none; } }
.linklike { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }

/* Obaveštenje o kolačićima */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 560px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(20, 33, 61, .18); font-size: 16px; }
.consent p { color: var(--ink-soft); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 560px) {
  .consent { left: 0; right: 0; bottom: 0; max-width: none; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); flex-direction: row; align-items: center; gap: 10px; border-radius: 12px 12px 0 0; border-width: 1px 0 0; font-size: 14px; line-height: 1.35; }
  .consent p { flex: 1; }
  .consent-actions { flex-direction: column; gap: 6px; }
  .consent .btn-small { min-height: 36px; padding: 0 12px; font-size: 14px; }
}

/* Najava vodiča na početnoj */
.guide-teaser { padding-top: 0; }
.teaser { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; background: var(--accent-tint); border-radius: 16px; }
.teaser h2 { margin-bottom: 0; }

/* Članak */
.article { max-width: 720px; margin: 0 auto; padding: 24px 20px 56px; }
.article h1 { font-size: clamp(30px, 6vw, 42px); margin: 8px 0 8px; }
.article h2 { font-size: clamp(24px, 4.5vw, 30px); margin: 40px 0 12px; scroll-margin-top: 76px; }
.article h3 { font-size: 21px; margin: 24px 0 8px; }
.article p, .article li { color: var(--ink-soft); }
.article p + p { margin-top: 12px; }
.article ul, .article ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.article .lead { font-size: 20px; color: var(--ink); margin-top: 16px; }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.meta { font-size: 15px; color: var(--muted); }
.toc { margin: 24px 0 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.toc ol { margin: 8px 0 0; gap: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.article .note { margin: 16px 0; padding: 16px 18px; background: #FFF6DB; border: 1px solid #F2D27A; border-radius: 14px; color: var(--ink); }
.steps-list li::marker { font-weight: 700; color: var(--ink); }
.cta-box { margin: 40px 0; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--ink); color: #fff; border-radius: 16px; }
.cta-box .cta-title { margin: 0; color: #fff; font-size: 24px; }
.cta-box p { color: #D9DFEE; }
.cta-box .btn { background: var(--pencil); color: var(--ink); }
.cta-box .btn:hover { background: #F5BC2A; }
.compare { display: grid; gap: 12px; margin: 16px 0; }
.compare > div { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.compare p { margin-top: 8px; color: var(--ink); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.tag.bad { background: #F3E3E3; color: #8A2B2B; }
.tag.good { background: #E1F0E4; color: #22613A; }
.prompts { display: grid; gap: 12px; margin-top: 16px; }
.prompt-card { margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; }
.prompt-card figcaption { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.prompt-card p { color: var(--ink); font-size: 18px; }
.prompt-card .copy { align-self: flex-start; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--pencil); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.sources { margin-top: 32px; font-size: 15px; color: var(--muted) !important; }
.notfound { max-width: 600px; margin: 0 auto; padding: 64px 20px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 720px) {
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tabela poređenja u vodičima */
.table-wrap { overflow-x: auto; margin-top: 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--accent-tint); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th { font-family: var(--display); }
.article .group-title { margin-top: 28px; }
.teaser-more { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
@media (max-width: 560px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; min-width: 0; }
  .cmp thead { display: none; }
  .cmp tbody tr { margin-bottom: 12px; padding: 12px 14px; background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; }
  .cmp tbody th { padding: 0 0 6px; border: 0; font-size: 20px; }
  .cmp td { padding: 4px 0; border: 0; }
  .cmp td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink-soft); }
}

/* Plaćene lekcije */
.lesson-body h3 { font-size: 22px; margin-top: 12px; }
.lesson-body .box h3 { margin-top: 0; margin-bottom: 8px; font-size: 19px; }
.lesson-body .howto b { color: var(--ink); }
.followups { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.box.warn { background: #FFF6DA; border-color: #F0D58A; }
.box.task { background: var(--accent-tint); border-color: #BFD0F5; }
.lesson-body .done { font-family: var(--display); font-size: 20px; font-weight: 700; }
.box.example { border-style: dashed; }
.box.example .label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.box.example p { white-space: pre-line; font-size: 17px; }
.lesson.read .n { background: #E1F0E4; color: #22613A; }
.read-tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: #22613A; background: #E1F0E4; padding: 2px 10px; border-radius: 999px; }

/* Prva lekcija: prodavnice, provera, poziv na kupovinu */
.store-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.store-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--accent); border-radius: 10px; color: var(--accent); font-weight: 700; font-size: 16px; text-decoration: none; background: var(--surface); }
.check { padding: 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.check-btns { display: flex; gap: 10px; }
.check-btns .btn { flex: 1; }
.box.ok { background: #E1F0E4; border-color: #A8D3B2; }
.box.ok h3, .box.stuck h3 { margin: 0 0 6px; font-size: 20px; }
.box.stuck { display: flex; flex-direction: column; gap: 10px; }
.cta-inline { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.cta-inline .btn { align-self: stretch; text-align: center; }
/* Plan: šta dobijate */
.box.value h3 { margin: 0 0 8px; font-size: 20px; }
.value-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
/* Početna: plan je sačuvan */
.resume { background: var(--accent-tint); border-bottom: 1px solid #BFD0F5; }
.resume-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; font-weight: 700; }
.resume-in .btn { white-space: nowrap; flex: none; }

/* ---------- Ponuda (plan, plaćanje) ---------- */
.offer { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offer li { display: flex; gap: 12px; align-items: flex-start; }
.offer .ok-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #E1F0E4; color: #22613A; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.offer b { display: block; }
.offer small { display: block; font-size: 15px; color: var(--muted); }
.lesson.bonus .n { background: #FFF6DA; color: #8A6200; }

/* ---------- Moj kurs ---------- */
.progress-box { background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; }
.progress { height: 12px; background: var(--accent-tint); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.sec-title { font-size: 21px; margin-top: 8px; }
.tiles { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.tile:hover { border-color: var(--accent); }
.tile-ico { font-size: 26px; }
.tile small { color: var(--muted); font-size: 15px; }
.tile.locked { opacity: .6; }
.link-btn.inline { display: inline; padding: 0; min-height: 0; font-size: inherit; }

/* ---------- Lekcija: šta ćete naučiti ---------- */
.learn { background: var(--accent-tint); border-radius: 12px; padding: 12px 16px; }
.learn ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------- Biblioteka ---------- */
.lib-sec { border: 2px solid var(--line); border-radius: 14px; background: var(--surface); }
.lib-sec > summary { cursor: pointer; padding: 14px 16px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.lib-sec[open] > summary { border-bottom: 1px solid var(--line); }
.lib-topic { padding: 12px 16px 4px; display: flex; flex-direction: column; gap: 10px; }
.lib-topic h3 { font-size: 18px; color: var(--ink-soft); }
.lib-topic .prompt p { font-size: 17px; }

/* ---------- Priručnik ---------- */
.handbook { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; color: #14213D; }
.hb-cover { border-bottom: 3px solid #14213D; padding-bottom: 14px; margin-bottom: 8px; }
.hb-brand, .cert-brand { font-family: var(--display); font-weight: 700; color: #1F55C4; }
.hb-cover h1 { font-family: var(--display); font-size: 28px; margin: 6px 0; }
.hb-l { padding: 14px 0; border-bottom: 1px solid #D5DBEA; }
.hb-l h2 { break-after: avoid; }
.hb-l h2 { font-size: 20px; margin-bottom: 8px; }
.hb-p { margin: 8px 0; padding: 8px 12px; border-left: 4px solid #FFC940; background: #FAFBFE; break-inside: avoid; }
.hb-p p { font-size: 16px; }
.hb-f, .hb-w { font-size: 15px; margin-top: 6px; }
.hb-foot { margin-top: 14px; font-size: 13px; color: #4A5673; }

/* ---------- Potvrda ---------- */
.cert { background: #fff; border-radius: 12px; padding: 14px; border: 1px solid var(--line); }
.cert-in { border: 6px double #1F55C4; border-radius: 8px; padding: 36px 24px; text-align: center; display: flex; flex-direction: column; gap: 10px; color: #14213D; }
.cert h1 { font-family: var(--display); font-size: 30px; }
.cert-name { font-family: var(--display); font-size: 34px; font-weight: 700; border-bottom: 2px solid #FFC940; padding: 8px 0; margin: 10px 10% 0; min-height: 1.4em; }
.cert-txt { color: #36415C; font-size: 17px; }
.cert-course { font-family: var(--display); font-size: 24px; font-weight: 700; color: #1F55C4; }
.cert-foot { display: flex; justify-content: space-between; margin-top: 24px; font-size: 15px; color: #4A5673; }

/* ---------- Štampa: samo priručnik ili potvrda ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff !important; }
  .top, .foot, .resume, .actions, .no-print, .link-btn, #home, .consent { display: none !important; }
  #app { padding: 0 !important; }
  .handbook, .cert { border: 0 !important; padding: 0 !important; }
  .cert-in { min-height: 240mm; justify-content: center; }
  .cert h1 { font-size: 36px; } .cert-name { font-size: 40px; }
}
.offer-home { margin: 18px 0 24px; gap: 14px; font-size: 19px; }
.offer-home small { font-size: 16px; }

/* ---------- Plaćanje ---------- */
.upsell { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px dashed var(--accent); border-radius: 14px; background: var(--accent-tint); cursor: pointer; }
.upsell input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.upsell small { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.price-row.big { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; border-top: 1px solid var(--line); padding-top: 12px; }
.price-row.big b { font-family: var(--display); font-size: 28px; }
.err { color: #A3261B; font-weight: 600; }
.ips-qr { align-self: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; }
.ips-data { border-collapse: collapse; font-size: 17px; }
.ips-data td { padding: 6px 12px 6px 0; vertical-align: top; }
.ips-data td:first-child { color: var(--muted); }
.ips-data td:last-child { font-weight: 700; }
.pay-tabs { display: flex; gap: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; align-self: flex-start; }
.pay-tabs button { font: inherit; font-weight: 700; padding: 10px 18px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; min-height: 44px; }
.pay-tabs button.on { background: var(--ink); color: #fff; }
.uplatnica { background: #fff; border: 2px solid #C9A94F; border-radius: 6px; padding: 12px; font-family: Arial, sans-serif; color: #14213D; }
.up-head { font-weight: 700; font-size: 14px; letter-spacing: .06em; color: #8A6A1F; margin-bottom: 8px; }
.up-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .up-grid { grid-template-columns: 1fr 1.1fr; } .up-left { border-right: 1px dashed #C9A94F; padding-right: 12px; } }
.up-f { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; flex: 1; }
.up-f span { font-size: 12px; color: #8A6A1F; }
.up-v { border: 1px solid #C9A94F; border-radius: 3px; padding: 6px 8px; font-size: 16px; font-weight: 700; min-height: 34px; word-break: break-word; }
.up-v.up-empty { font-weight: 400; color: #9AA3B5; font-style: italic; font-size: 14px; }
.up-row { display: flex; gap: 8px; }
.up-model { flex: 0 0 64px; }
.tiles-2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { .tiles-2 { grid-template-columns: repeat(3, 1fr); } }
.tiles-2 .tile { padding: 14px 12px; }
.tile.hot { border-color: var(--accent); background: #FFF6D6; }
.hot-box { border: 2px solid #E0A800; background: #FFF6D6; display: flex; flex-direction: column; gap: 6px; }
.hot-box p { margin: 0; }
#sta-dobijate { scroll-margin-top: 16px; transition: box-shadow .3s; }
#sta-dobijate.flash { box-shadow: 0 0 0 4px #FFC940; }
