/* preporuke.net | javni sajt
   Svetla, vazdušasta plava osnova; boje kategorija (tonovi) daju život karticama;
   zelena je rezervisana za najnižu cenu i kupovinu. */
:root {
  --navy: #142b4a;
  --ink: #1d2c40;
  --ink-2: #4a5a70;
  --muted: #748196;
  --blue: #1768d5;
  --blue-2: #2f82ed;
  --blue-dark: #0f53b0;
  --pale: #edf5ff;
  --pale-2: #e2eeff;
  --line: #e7edf4;
  --line-2: #f0f4f9;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --green: #16875a;
  --green-dark: #0f6f49;
  --green-50: #e7f6ee;
  --star: #f5a524;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 12px 35px rgba(24, 55, 94, 0.08);
  --shadow-s: 0 2px 8px rgba(24, 55, 94, 0.05);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}
/* Tonovi po glavnoj kategoriji: pozadina (bg) i boja ikonice (fg) */
.tone-blue { --tone-bg: #eaf2ff; --tone-fg: #1768d5; }
.tone-violet { --tone-bg: #f0ecff; --tone-fg: #6a4bd8; }
.tone-orange { --tone-bg: #fff1e5; --tone-fg: #d9701a; }
.tone-green { --tone-bg: #e6f6ee; --tone-fg: #16875a; }
.tone-teal { --tone-bg: #e4f5f7; --tone-fg: #128594; }
.tone-pink { --tone-bg: #fdecf3; --tone-fg: #cc3f78; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.025em; color: var(--navy); }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.count { color: var(--muted); font-weight: 400; font-size: 0.85em; font-variant-numeric: tabular-nums; }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }
mark { background: var(--green-50); color: var(--green-dark); font-weight: 700; padding: 0 0.25em; border-radius: 4px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.text-link { font-weight: 700; font-size: 0.92rem; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---------- Zaglavlje ---------- */
.top { background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row { position: relative; display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; line-height: 1; }
.logo-text span { color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.main-nav > a, .cat-menu summary { display: flex; align-items: center; gap: 4px; height: 76px; padding: 3px 0 0; line-height: 1; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.96rem; cursor: pointer; border-bottom: 3px solid transparent; box-sizing: border-box; }
.main-nav > a:hover, .cat-menu summary:hover, .cat-menu[open] summary { color: var(--blue); }
.main-nav > a[aria-current], .cat-menu summary.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.cat-menu { position: static; display: block; margin: 0; padding: 0; }
.cat-menu summary { list-style: none; }
.cat-menu summary::-webkit-details-marker { display: none; }
.cat-menu[open] summary .ic { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 1px); left: 20px; right: 20px; max-height: calc(100vh - 100px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 24px; z-index: 30; }
.mega-top { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; margin-bottom: 6px; }
.mega-top:hover { color: var(--blue); }
.mega ul { list-style: none; margin: 0; padding: 0 0 0 46px; display: grid; gap: 3px; }
.mega li a { color: var(--ink-2); text-decoration: none; font-size: 0.93rem; }
.mega li a:hover { color: var(--blue); text-decoration: underline; }
.mega .mega-more { color: var(--blue); font-weight: 600; }
.mega-all { grid-column: 1 / -1; justify-self: start; font-weight: 700; text-decoration: none; padding-top: 6px; border-top: 1px solid var(--line); width: 100%; }
.ic-wrap { width: 36px; height: 36px; border-radius: 10px; background: var(--pale); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ic-wrap .ic { width: 20px; height: 20px; }

/* ---------- Pretraga ---------- */
.search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.search:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 130, 237, 0.15); }
.search input { flex: 1; min-width: 0; font: inherit; border: 0; background: transparent; padding: 10px 8px 10px 16px; color: var(--ink); outline: none; }
.search button { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.search-top { width: 270px; background: var(--bg); border-radius: 12px; }
.search-top button { background: transparent; color: var(--muted); padding: 8px 12px; }
.search-top button:hover { color: var(--blue); }
.search-hero { max-width: 570px; padding: 7px; margin-top: 30px; box-shadow: var(--shadow); }
.search-hero .search-ic { color: var(--blue); margin-left: 12px; width: 20px; }
.search-hero input { font-size: 1.04rem; padding: 12px 10px; }
.search-hero button { background: var(--blue); color: #fff; padding: 13px 24px; border-radius: 10px; font-size: 1rem; box-shadow: 0 6px 16px rgba(23, 104, 213, 0.3); }
.search-hero button:hover { background: var(--blue-dark); }

/* ---------- Dugmad, oznake ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 0.95rem; padding: 12px 20px; border-radius: 12px; border: 1.5px solid var(--blue); background: var(--blue); color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 16px rgba(23, 104, 213, 0.22); transition: background-color .15s, border-color .15s, box-shadow .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-go { background: var(--green); border-color: var(--green); box-shadow: 0 6px 16px rgba(22, 135, 90, 0.25); }
.btn-go:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: var(--surface); color: var(--blue); border-color: #cfe0f7; box-shadow: none; }
.btn-ghost:hover { background: var(--pale); color: var(--blue-dark); border-color: var(--blue-2); }
.btn-light { background: #fff; color: var(--blue-dark); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: var(--pale); color: var(--blue-dark); border-color: var(--pale); }
.badge { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 7px; line-height: 1.2; white-space: nowrap; text-transform: uppercase; }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-blue, .badge-soft { background: var(--pale); color: var(--blue); }

/* ---------- Početna ---------- */
.hero { padding: 32px 0 0; }
.hero-card { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 56px 58px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, #f3f8ff 0%, var(--pale) 45%, #dfecff 100%); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #1fb26b; box-shadow: 0 0 0 4px rgba(31, 178, 107, 0.18); }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; }
.hero h1 span { display: block; color: var(--blue); }
.hero-lead { font-size: 1.12rem; color: var(--ink-2); margin: 20px 0 0; max-width: 32em; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0 4px; font-size: 0.86rem; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ic { color: var(--green); }
.hero-art { position: relative; min-height: 330px; display: flex; align-items: center; justify-content: center; padding: 62px 0; }
.orbit { position: absolute; border: 1.5px solid rgba(23, 104, 213, 0.22); border-radius: 50%; pointer-events: none; }
.orbit-1 { width: 360px; height: 260px; transform: rotate(-18deg); }
.orbit-2 { width: 300px; height: 330px; transform: rotate(24deg); }
.sticker { position: absolute; top: 4px; right: 4px; transform: rotate(14deg); border: 2px dashed var(--blue); color: var(--blue); border-radius: 50%; padding: 12px 14px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; line-height: 1.15; background: rgba(255, 255, 255, 0.5); }
.sticker b { font-size: 0.86rem; }
.compare-card { position: relative; z-index: 1; margin: 0; width: 100%; max-width: 340px; background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: 0 24px 50px rgba(24, 55, 94, 0.16); }
.compare-card figcaption { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.cc-img { width: 52px; height: 52px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; padding: 4px; }
.cc-img img { width: 100%; height: 100%; object-fit: contain; }
.cc-label { display: block; font-size: 0.75rem; color: var(--muted); }
.compare-card figcaption a { color: var(--navy); font-weight: 700; text-decoration: none; line-height: 1.25; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cc-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg); font-size: 0.92rem; }
.cc-rows li.best { background: var(--green-50); color: var(--green-dark); font-weight: 700; }
.cc-shop { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.float-card { position: absolute; z-index: 2; background: var(--surface); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: grid; gap: 0; }
.float-card b { font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 0.76rem; }
.fc-1 { top: 0; left: 0; }
.fc-2 { bottom: 0; right: 0; padding-left: 50px; }
.fc-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--green-50); color: var(--green); display: flex; align-items: center; justify-content: center; }
.fc-ic .ic { width: 15px; height: 15px; }
.hero-mark { position: relative; z-index: 1; width: 190px; height: 190px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 24px 50px rgba(24, 55, 94, 0.16); }
.hero-thumb { width: 100px; height: 100px; }

.section { padding-top: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2, .h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; }
.sec-head p.muted { margin: 6px 0 0; }
.h2 { margin-bottom: 16px; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 22px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--navy); }
.cat-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--tone-bg); color: var(--tone-fg); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cat-ic .ic { width: 24px; height: 24px; }
.cat-arrow { position: absolute; top: 18px; right: 20px; color: var(--muted); font-size: 1.05rem; }
.cat-card:hover .cat-arrow { color: var(--tone-fg); }
.cat-card b { font-size: 1.05rem; }
.cat-card small { color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.cat-count { margin-top: auto; padding-top: 12px; font-size: 0.82rem; font-weight: 700; color: var(--tone-fg); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--bg); }
.how-n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.how-step b { color: var(--navy); font-size: 1.04rem; }
.how-step p { margin: 4px 0 0; color: var(--muted); font-size: 0.93rem; }

.band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 34px 40px; border-radius: var(--radius-l); color: #fff; background: linear-gradient(110deg, #123b78 0%, var(--blue) 70%, var(--blue-2) 100%); }
.band-ic { width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); display: flex; align-items: center; justify-content: center; }
.band-ic .ic { width: 26px; height: 26px; }
.band .eyebrow { color: rgba(255, 255, 255, 0.75); margin-bottom: 6px; }
.band h2 { color: #fff; font-size: 1.6rem; }
.band p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.85); }

/* ---------- Kartice proizvoda ---------- */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 22px; background: linear-gradient(160deg, #fff 0%, var(--tone-bg) 100%); }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card-img .badge { position: absolute; top: 12px; left: 12px; background: #fff; }
.card-img .badge-green { color: var(--green); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tone-fg); }
.card-name { font-weight: 700; color: var(--navy); line-height: 1.3; font-size: 1.02rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: auto; }
.card-name + .card-price { margin-top: 10px; }
.card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; font-variant-numeric: tabular-nums; }
.card-price strong { font-size: 1.2rem; color: var(--navy); }
.card-price small { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.card-price s { color: var(--muted); font-size: 0.85rem; }
.card-link { font-size: 0.88rem; color: var(--blue); font-weight: 700; margin-top: 6px; }

.guides { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guides a { display: grid; gap: 6px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; height: 100%; transition: box-shadow .15s, border-color .15s; }
.guides a:hover { box-shadow: var(--shadow); border-color: transparent; }
.guides a:hover strong { color: var(--blue); }
.guide-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--pale); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.guides strong { font-size: 1.1rem; line-height: 1.25; color: var(--navy); }
.guides span:not(.guide-ic) { color: var(--ink-2); font-size: 0.95rem; }
.guides-list { grid-template-columns: 1fr; }
.guides-list a.has-thumb { grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.guide-thumb { width: 96px; height: 96px; border-radius: 12px; background: var(--bg); padding: 8px; display: flex; }
.guide-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.guide-text { display: grid; gap: 6px; }
.guides .guide-text span { color: var(--ink-2); font-size: 0.95rem; }
.guide-meta { font-style: normal; font-size: 0.85rem; color: var(--blue); font-weight: 600; }
@media (max-width: 560px) { .guides-list a.has-thumb { grid-template-columns: 64px 1fr; } .guide-thumb { width: 64px; height: 64px; } }

/* ---------- Sve kategorije ---------- */
.all-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.all-cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.all-cat-head { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--navy); margin-bottom: 12px; }
.all-cat-head .cat-ic { margin: 0; }
.all-cat-head b { display: block; font-size: 1.05rem; }
.all-cat-head small { color: var(--tone-fg); font-weight: 700; font-size: 0.8rem; }
.all-cat-head:hover b { color: var(--blue); }
.all-cat ul { list-style: none; margin: 0; padding: 0 0 0 58px; display: grid; gap: 4px; }
.all-cat li a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; }
.all-cat li a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Stranica kategorije ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink-2); font-weight: 600; }
.crumbs-plain { padding: 26px 0 18px; }
.cat-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 42px; border-radius: var(--radius-l); background: linear-gradient(120deg, #f6faff 0%, var(--tone-bg) 100%); }
.cat-banner .eyebrow { color: var(--tone-fg); }
.cat-banner h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; }
.cat-lead { margin: 10px 0 0; color: var(--ink-2); font-size: 1.04rem; }
.cat-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; font-size: 0.86rem; color: var(--muted); }
.cat-meta span { display: inline-flex; align-items: center; gap: 6px; }
.banner-ic { width: 96px; height: 96px; border-radius: 26px; background: #fff; color: var(--tone-fg, var(--blue)); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transform: rotate(-6deg); flex: none; }
.banner-ic .ic { width: 50px; height: 50px; stroke-width: 1.5; }
.listing { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 28px; }
.side { display: grid; gap: 16px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.side-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-title-row .side-title { margin: 0; }
.side-title-row a { font-size: 0.84rem; text-decoration: none; }
.side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-cats a { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 0.93rem; }
.side-cats a .ic { color: var(--muted); }
.side-cats a:hover { background: var(--bg); color: var(--blue); }
.side-cats a[aria-current] { background: var(--pale); color: var(--blue); font-weight: 700; }
.side-cats a[aria-current] .ic { color: var(--blue); }
.filters fieldset { border: 0; padding: 0 0 16px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.filters legend { font-weight: 700; margin-bottom: 10px; padding: 0; font-size: 0.93rem; color: var(--navy); }
.check { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 0.93rem; color: var(--ink-2); cursor: pointer; }
.check .count { margin-left: auto; }
.check input { width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.facet-list { max-height: 250px; overflow: auto; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range input { width: 100%; font: inherit; font-size: 0.93rem; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.price-range input:focus { border-color: var(--blue-2); outline: none; box-shadow: 0 0 0 3px rgba(47, 130, 237, 0.15); }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.results-head h2 { font-size: 1.5rem; font-weight: 800; }
.results-head p { margin: 4px 0 0; font-size: 0.9rem; }
.sort-form select, .offers-tools select { font: inherit; font-size: 0.9rem; padding: 9px 34px 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.row-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) 190px; gap: 22px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .15s, border-color .15s; }
.row-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.row-img { width: 150px; height: 130px; border-radius: 12px; background: var(--tone-bg); display: flex; align-items: center; justify-content: center; padding: 12px; }
.row-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.row-main { display: grid; gap: 8px; justify-items: start; }
.row-name { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.row-name:hover { color: var(--blue); }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.row-tags span { font-size: 0.78rem; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 3px 9px; border-radius: 7px; }
.row-buy { display: grid; gap: 4px; justify-items: start; padding-left: 22px; border-left: 1px solid var(--line); }
.row-label { font-size: 0.78rem; color: var(--muted); }
.row-price { font-size: 1.3rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; margin-bottom: 6px; }
.chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.chips a:hover { border-color: var(--blue-2); color: var(--blue); }
.related-guides { margin-top: 24px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-links a { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.35; }
.side-links a .ic { color: var(--blue); margin-top: 1px; }
.side-links a:hover { color: var(--blue); }
.cat-desc { margin-top: 32px; max-width: 72ch; color: var(--ink-2); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; }
.pager a, .pager span { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--blue-2); color: var(--blue); }
.pager .cur { background: var(--blue); color: #fff; border-color: var(--blue); }
.pager span:not(.cur) { border-color: transparent; background: transparent; }
.page-body { padding-top: 24px; }
.page-banner { background: linear-gradient(120deg, #f6faff 0%, var(--pale) 100%); padding: 26px 0 30px; }
.banner-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-banner h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-top: 10px; }
.page-banner p { margin: 6px 0 0; color: var(--ink-2); }

.empty { padding: 44px 32px; background: var(--bg); border: 1.5px dashed #d4e2f5; border-radius: var(--radius); text-align: center; }
.empty h2 { font-size: 1.25rem; margin-bottom: 8px; }
.empty p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 16px; }
.empty .chips { justify-content: center; margin: 0; }
.empty-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--pale); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.empty-ic .ic { width: 32px; height: 32px; }

/* ---------- Stranica proizvoda (lista cena kao na sajtovima za poređenje) ---------- */
.p-top { display: grid; grid-template-columns: 340px minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); }
.p-img { aspect-ratio: 1 / 1; border-radius: var(--radius); background: linear-gradient(160deg, #fff 0%, var(--tone-bg) 100%); display: flex; align-items: center; justify-content: center; padding: 28px; }
.p-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.p-info { padding-top: 6px; }
.p-info .eyebrow { color: var(--blue); }
.p-info h1 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.p-range { margin: 14px 0 0; color: var(--ink-2); font-size: 1.04rem; }
.p-range strong { color: var(--navy); font-variant-numeric: tabular-nums; }
.p-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 5px 11px; border-radius: 8px; }
.p-chips li.ok { color: var(--green-dark); background: var(--green-50); border-color: transparent; }
.p-chips .ic { color: currentColor; }
.p-lead { margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
.p-buy { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, #f3fbf7 0%, #fff 75%); border: 1px solid #cfeadc; position: sticky; top: 96px; }
.p-buy-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.buy-thumb { width: 24px; height: 24px; }
.buy-thumb path[fill] { fill: var(--green); }
.buy-thumb rect { fill: var(--green-dark); }
.p-buy-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.05; margin-bottom: 6px; }
.p-buy-shop { color: var(--ink-2); font-size: 0.93rem; margin-bottom: 16px; }
.p-buy .btn { padding: 14px; white-space: normal; text-align: center; }
.p-buy-all { display: block; text-align: center; margin-top: 12px; font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.share { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); flex-wrap: wrap; }
.share a, .share button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.share a:hover, .share button:hover { border-color: var(--blue-2); color: var(--blue); }
.share .ic { width: 17px; height: 17px; }
.copied { color: var(--green-dark); font-weight: 600; }

.offers-sec { padding-top: 48px; }
.offers-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.offers-head h2 { font-size: 1.7rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.offers-head .count { font-size: 0.9rem; font-weight: 700; color: var(--blue); background: var(--pale); padding: 3px 10px; border-radius: 999px; }
.offers-tools { display: flex; align-items: center; gap: 18px; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 190px; gap: 18px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .15s; }
.offer:hover { box-shadow: var(--shadow-s); }
.offer.is-best { border: 1.5px solid #9fd8bb; background: linear-gradient(90deg, #f3fbf7 0%, #fff 60%); }
.offer.is-out { background: #fbfcfe; }
.offer.is-out .offer-price b { color: var(--muted); }
.shop-av { width: 52px; height: 52px; border-radius: 13px; background: var(--tone-bg); color: var(--tone-fg); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.shop-av img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 6px; }
.offer-shop { display: grid; gap: 3px; min-width: 0; }
.offer-shop strong { color: var(--navy); font-size: 1.05rem; }
.offer-title { font-size: 0.86rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.84rem; margin-top: 2px; }
.stock { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.stock.yes { color: var(--green); }
.stock.no { color: var(--muted); font-weight: 500; }
.ship { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.offer-price { display: grid; justify-items: end; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
.offer-price b { font-size: 1.35rem; font-weight: 800; color: var(--navy); white-space: nowrap; letter-spacing: -0.02em; }
.offer.is-best .offer-price b { color: var(--green-dark); }
.offer-price s { color: var(--muted); font-size: 0.85rem; }
.dropped { font-size: 0.78rem; color: var(--green); font-weight: 600; }
.offer .btn { width: 100%; gap: 0; }
.note { margin: 12px 0 0; }
.desc .prose { max-width: 72ch; color: var(--ink-2); }
.prose { line-height: 1.7; }
.prose h2 { font-size: 1.4rem; margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 1.12rem; margin: 1.4em 0 0.5em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* ---------- Vodiči, ostale stranice ---------- */
.page-head { padding: 6px 0 24px; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; }
.page-head p { margin: 8px 0 0; }
.narrow > .crumbs { padding-top: 26px; padding-bottom: 14px; }
.article { padding-bottom: 40px; }
.article .lead { font-size: 1.12rem; margin: 0 0 24px; color: var(--ink-2); }
.picks { margin: 8px 0 32px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pick-list { list-style: none; margin: 0; padding: 0; counter-reset: pick; }
.pick-list li { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); counter-increment: pick; }
.pick-list li:first-child { border-top: 0; padding-top: 4px; }
.pick-img { width: 76px; height: 76px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 6px; }
.pick-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pick-body { display: grid; gap: 2px; }
.pick-name { color: var(--navy); font-weight: 700; text-decoration: none; }
.pick-name::before { content: counter(pick) ". "; color: var(--blue); }
.pick-name:hover { color: var(--blue); }
.pick-price { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pick-label { justify-self: start; font-size: 0.75rem; font-weight: 700; color: var(--blue); background: #e8f0ff; border-radius: 999px; padding: 2px 10px; margin-bottom: 2px; }
.pick-note { margin: 6px 0 0; color: var(--ink-2); font-size: 0.93rem; line-height: 1.5; }
.pick-list li { align-items: start; }
.pick-list .btn-go { align-self: center; }
.empty-page { padding: 64px 20px; }
.empty-page h1 { font-size: 2rem; margin-bottom: 12px; }
.empty-page .search { max-width: 520px; margin: 16px 0; }
.empty-page .search button { background: var(--blue); color: #fff; padding: 10px 18px; margin: 4px; border-radius: 10px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-top: 28px; }
.contact-form { padding: 28px; }
.contact-form form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 0.93rem; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 11px 14px; border: 1px solid #dbe4ef; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 130, 237, 0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.has-error input, .has-error textarea { border-color: #d63a2f; }
.err { color: #b42318; font-weight: 500; font-size: 0.86rem; }
.form-error { background: #fdf0ee; color: #7a1a10; border: 1px solid #f1c8c3; border-radius: 10px; padding: 10px 14px; margin-bottom: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; padding: 13px 22px; }
.sent { text-align: center; padding: 24px 0; }
.sent h2 { font-size: 1.4rem; margin-bottom: 8px; }
.sent-ic { background: var(--green-50); color: var(--green); }
.contact-side { display: grid; gap: 16px; }
.contact-mail { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-mail .ic { color: var(--blue); }
.side-cta { background: linear-gradient(135deg, var(--blue) 0%, #123b78 100%); border: 0; color: #fff; }
.side-cta .h3, .side-cta h2 { color: #fff; }
.side-cta p { color: rgba(255, 255, 255, 0.88); font-size: 0.94rem; }
.h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 12px; }
.cta-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 0.93rem; }
.cta-list li { display: flex; gap: 8px; align-items: flex-start; }
.cta-list .ic { flex: none; margin-top: 2px; color: #9fe3b8; }

/* ---------- Podnožje ---------- */
.foot { margin-top: 88px; background: var(--bg); border-top: 1px solid var(--line); color: var(--ink-2); padding: 48px 0 28px; font-size: 0.94rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.logo-light { color: var(--navy); margin-bottom: 14px; }
.foot-about p { max-width: 40ch; color: var(--muted); }
.foot-h { font-size: 0.95rem; color: var(--navy); margin-bottom: 12px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-list a { color: var(--ink-2); text-decoration: none; }
.foot-list a:hover { color: var(--blue); text-decoration: underline; }
.foot-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.foot-note p { max-width: 80ch; margin-bottom: 6px; }

/* ---------- Manji ekrani ---------- */
@media (max-width: 1100px) {
  .p-top { grid-template-columns: 280px minmax(0, 1fr); }
  .p-buy { grid-column: 1 / -1; position: static; }
  .grid-4, .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-nav { gap: 18px; }
  .search-top { width: 220px; }
}
@media (max-width: 960px) {
  .hero-card { grid-template-columns: 1fr; padding: 44px 34px; }
  .hero-art { min-height: 300px; }
  .listing { grid-template-columns: 1fr; }
  .side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .how { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; text-align: left; padding: 30px; }
  .contact { grid-template-columns: 1fr; }
  .row-card { grid-template-columns: 120px minmax(0, 1fr) 170px; }
  .row-img { width: 120px; height: 110px; }
  .offer { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .offer .btn { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .top-row { flex-wrap: wrap; gap: 8px 14px; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .logo-text { font-size: 1.3rem; }
  .logo-mark { width: 30px; height: 30px; }
  .main-nav { margin: 0 0 0 auto; gap: 16px; align-self: center; }
  .main-nav > a, .cat-menu summary { border: 0; height: auto; padding: 6px 0; }
  .hide-sm { display: none !important; }
  .mega { position: fixed; top: 112px; left: 10px; right: 10px; border-radius: var(--radius); grid-template-columns: 1fr 1fr; padding: 16px; max-height: calc(100vh - 130px); }
  .mega ul { padding-left: 0; }
  .search-top { order: 3; flex-basis: 100%; width: auto; }
  .hero { padding-top: 14px; }
  .hero .wrap { padding: 0 12px; }
  .hero-card { padding: 30px 20px; border-radius: 22px; }
  .search-hero .search-ic { display: none; }
  .search-hero input { padding-left: 12px; font-size: 1rem; }
  .search-hero button { padding: 12px 16px; }
  .hero-art { min-height: 0; padding: 66px 0; }
  .orbit-1 { width: 300px; height: 220px; }
  .orbit-2 { width: 250px; height: 280px; }
  .sticker { display: none; }
  .fc-1 { top: 0; }
  .fc-2 { bottom: 0; }
  .section { padding-top: 48px; }
  .sec-head { flex-wrap: wrap; align-items: flex-start; }
  .cat-grid, .grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { padding: 16px 14px 14px; }
  .cat-card small { display: none; }
  .card-img { padding: 14px; }
  .card-body { padding: 12px 12px 14px; }
  .card-name { font-size: 0.94rem; }
  .cat-banner { padding: 26px 22px; }
  .banner-ic { width: 64px; height: 64px; border-radius: 18px; }
  .banner-ic .ic { width: 34px; height: 34px; }
  .row-card { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .row-img { width: 90px; height: 90px; grid-row: 1 / 3; padding: 8px; }
  .row-name { font-size: 1rem; }
  .row-buy { border: 0; padding: 0; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
  .row-label { display: none; }
  .row-price { font-size: 1.12rem; margin: 0; }
  .p-top { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .p-img { max-height: 300px; aspect-ratio: auto; height: 260px; }
  .offers-head h2 { font-size: 1.35rem; }
  .offers-tools { width: 100%; justify-content: space-between; }
  .offer { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .shop-av { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 11px; }
  .offer-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .offer-price b { font-size: 1.15rem; }
  .offer .btn { grid-column: 1 / -1; }
  .hide-xs { display: none; }
  .pick-list li { grid-template-columns: 60px 1fr; }
  .pick-img { width: 60px; height: 60px; }
  .pick-list .btn { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Brendovi ---------- */
.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover { text-decoration: underline; }
.p-chips .chip-link { background: var(--pale); border-color: transparent; }
.p-chips .chip-link a { color: var(--blue); font-weight: 700; text-decoration: none; }
.row-tags a { font-size: 0.78rem; color: var(--blue); font-weight: 700; background: var(--pale); border: 1px solid transparent; padding: 3px 9px; border-radius: 7px; text-decoration: none; }
.row-tags a:hover { border-color: var(--blue-2); }
.brand-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.bchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.bchip:hover { border-color: var(--blue-2); color: var(--blue); }
.bchip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bchip.on .count { color: rgba(255, 255, 255, 0.8); }
.brand-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.brand-strip a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 84px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); text-align: center; transition: box-shadow .15s, border-color .15s, transform .15s; }
.brand-strip a:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); color: var(--blue); }
.brand-strip b { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-strip small { color: var(--muted); font-size: 0.78rem; }
.brand-mark-big { font-size: 2.6rem; font-weight: 800; color: var(--blue); }
.h1-sub { color: var(--blue); }
.h2-sm { font-size: 1.15rem; font-weight: 800; margin: 0 0 14px; }
.brand-tiles { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.brand-tile { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); }
.brand-tile:hover { box-shadow: var(--shadow); border-color: transparent; }
.brand-av { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 11px; background: var(--pale); color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.brand-tile small { color: var(--muted); font-size: 0.8rem; }
.az { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 76px; background: #fff; z-index: 5; }
.az a { min-width: 34px; text-align: center; padding: 5px 8px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.az a:hover { background: var(--pale); }
.az-groups { columns: 4 220px; column-gap: 28px; }
.az-group { break-inside: avoid; margin-bottom: 22px; scroll-margin-top: 140px; }
.az-group h2 { font-size: 1.3rem; color: var(--blue); margin-bottom: 8px; }
.az-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.az-group a { color: var(--ink); text-decoration: none; }
.az-group a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 1100px) { .brand-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .az { top: 112px; } }

/* ---------- Obaveštenje o ceni ---------- */
.alert-box { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.alert-box summary { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; cursor: pointer; font-weight: 700; font-size: 0.92rem; color: var(--blue); list-style: none; }
.alert-box summary::-webkit-details-marker { display: none; }
.alert-box summary:hover { background: var(--pale); border-radius: 12px; }
.alert-form { display: grid; gap: 10px; padding: 4px 14px 14px; }
.alert-form label { display: grid; gap: 4px; font-size: 0.84rem; font-weight: 600; color: var(--navy); }
.alert-form input { font: inherit; font-weight: 400; font-size: 0.95rem; padding: 9px 11px; border: 1px solid #dbe4ef; border-radius: 10px; width: 100%; }
.alert-form input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 130, 237, 0.15); }
.alert-note { margin: 0; font-size: 0.76rem; color: var(--muted); line-height: 1.4; }
.alert-msg { margin: 0 14px 14px; padding: 10px 12px; border-radius: 10px; font-size: 0.88rem; }
.alert-msg.ok { background: var(--green-50); color: var(--green-dark); }
.alert-msg.err { background: #fdf0ee; color: #7a1a10; }

/* ---------- Istorija cene ---------- */
.history-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: start; }
.chart-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 8px; }
.pchart { position: relative; }
.pchart svg { width: 100%; height: auto; display: block; overflow: visible; }
.pchart .g { stroke: var(--line-2); stroke-width: 1; }
.pchart .axis { stroke: var(--line); stroke-width: 1; }
.pchart .ylab, .pchart .xlab { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.pchart .line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pchart .area { fill: rgba(23, 104, 213, 0.07); }
.pchart .last, .pchart .dot { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.pchart .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.pchart .hit { fill: transparent; cursor: crosshair; }
.ptip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: var(--navy); color: #fff; padding: 7px 10px; border-radius: 8px; font-size: 0.8rem; display: grid; gap: 1px; text-align: center; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow); }
.ptip[hidden] { display: none; }
.ptip b { font-size: 0.95rem; }
.ptip span { color: rgba(255, 255, 255, 0.75); }
.history-stats { margin: 0; display: grid; gap: 10px; }
.history-stats div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.history-stats dt { font-size: 0.8rem; color: var(--muted); }
.history-stats dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.history-stats dd small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.history-stats dd.good { color: var(--green-dark); }
.history-note { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 0.9rem; color: var(--ink-2); }
.history-note.good { color: var(--green-dark); font-weight: 600; }
.notice-page { text-align: center; padding: 72px 20px 40px; }
.notice-page h1 { font-size: 1.8rem; margin: 6px 0 10px; }
.notice-page p { color: var(--ink-2); }
@media (max-width: 760px) {
  .history-grid { grid-template-columns: 1fr; }
  .history-stats { grid-template-columns: 1fr 1fr; }
  .pchart .ylab, .pchart .xlab { font-size: 22px; }
}

/* ---------- Kolačići ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(24, 55, 94, 0.18); }
.consent p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.consent-actions { display: flex; gap: 8px; flex: none; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions { justify-content: flex-end; } }
