/* =========================================================
   Differin Srbija – izgled sajta
   Koncept: list iz farmaceutskog priručnika. Široki groteskni
   naslovi (Archivo), tekst u serifu (Source Serif 4), tanke
   linije, zelena kao jedina boja. Tuba je "primerak" na ploči,
   sa brojevima koji vode do prevoda etikete.
   ========================================================= */

:root {
  --paper: #f1f4f2;
  --sheet: #ffffff;
  --photo: #ffffff;
  --ink: #0f1c17;
  --ink-2: #44564e;
  --ink-3: #66786f;
  --rule: #d3ddd8;
  --rule-2: #aebfb6;
  --accent: #0a7552;
  --accent-2: #075a3f;
  --accent-soft: #dcede4;
  --on-accent: #ffffff;
  --amber: #a86400;
  --amber-soft: #f8ebd3;
  --deep: #0f271e;
  --deep-2: #17362a;
  --deep-ink: #e9f2ed;
  --deep-ink-2: #a6c0b4;
  --deep-rule: #2d4c40;
  --deep-acc: #79dcb3;
  --stop: #a3261c;
  --stop-soft: #fae6e2;
  --ok: #0a6b47;
  --ok-soft: #dff1e7;
  --kp-y: #ffcb05;
  --kp-n: #1b3a66;
  --f-disp: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --r: 6px;
  --shadow: 0 1px 2px rgb(15 28 23 / .06), 0 10px 28px -16px rgb(15 28 23 / .28);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1411;
    --sheet: #121e19;
    --ink: #e5eee9;
    --ink-2: #a9bbb2;
    --ink-3: #8a9f95;
    --rule: #23342c;
    --rule-2: #3a5146;
    --accent: #4cc996;
    --accent-2: #79dcb3;
    --accent-soft: #15362a;
    --on-accent: #04170f;
    --amber: #f0b54e;
    --amber-soft: #382912;
    --deep: #07100c;
    --deep-2: #0f1f18;
    --deep-ink: #e5eee9;
    --deep-ink-2: #9cb4a9;
    --deep-rule: #22362d;
    --deep-acc: #79dcb3;
    --stop: #ff9282;
    --stop-soft: #3a1915;
    --ok: #63d6a1;
    --ok-soft: #12321f;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -16px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1411;
  --sheet: #121e19;
  --ink: #e5eee9;
  --ink-2: #a9bbb2;
  --ink-3: #8a9f95;
  --rule: #23342c;
  --rule-2: #3a5146;
  --accent: #4cc996;
  --accent-2: #79dcb3;
  --accent-soft: #15362a;
  --on-accent: #04170f;
  --amber: #f0b54e;
  --amber-soft: #382912;
  --deep: #07100c;
  --deep-2: #0f1f18;
  --deep-ink: #e5eee9;
  --deep-ink-2: #9cb4a9;
  --deep-rule: #22362d;
  --deep-acc: #79dcb3;
  --stop: #ff9282;
  --stop-soft: #3a1915;
  --ok: #63d6a1;
  --ok-soft: #12321f;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 30px -16px rgb(0 0 0 / .7);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- osnova */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.62 var(--f-text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
/* pojas ispod statusne trake telefona */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 40;
  height: env(safe-area-inset-top, 0px); background: var(--deep);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
b, strong { font-weight: 700; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-disp);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.012em;
  line-height: 1.04;
  text-wrap: balance;
}
h3 { font-weight: 700; font-stretch: 106%; line-height: 1.2; letter-spacing: -.005em; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--f-disp); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }

/* oznake: mala verzalna slova u groteski */
.lbl {
  font: 700 .72rem/1.3 var(--f-disp); font-stretch: 100%;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.lbl--acc { color: var(--accent); }

/* cene se prikazuju tek kad ih skripta osveži (najviše 1,5 s) */
.js:not(.cene-ok) [data-cena], .js:not(.cene-ok) [data-po-g] { visibility: hidden; }

/* ---------------------------------------------------------------- dugme KupujemProdajem */

.kp {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--kp-y); color: var(--kp-n); text-decoration: none;
  font: 700 1rem/1.2 var(--f-disp); font-stretch: 100%;
  padding: 6px 16px 6px 6px; border-radius: 4px;
  box-shadow: inset 0 -3px 0 rgb(27 58 102 / .2);
  transition: transform .15s ease, box-shadow .15s ease;
}
.kp:hover { color: var(--kp-n); text-decoration: none; transform: translateY(-1px); box-shadow: inset 0 -3px 0 rgb(27 58 102 / .2), 0 10px 20px -10px rgb(27 58 102 / .6); }
.kp:focus-visible { outline-color: var(--ink); }
.kp__m {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 3px;
  background: var(--kp-n); color: var(--kp-y); font: 800 .8rem/1 var(--f-disp); letter-spacing: .02em;
}
.kp__t { flex: 1; }
.kp__i { display: grid; place-items: center; flex: none; }
.kp__i svg { width: 18px; height: 18px; }
.kp--lg { width: 100%; max-width: 460px; font-size: 1.12rem; padding: 8px 20px 8px 8px; gap: 14px; }
.kp--lg .kp__m { width: 46px; height: 46px; font-size: .95rem; }
@media (max-width: 559px) { .kp--lg { font-size: 1.02rem; gap: 12px; } .kp--lg .kp__m { width: 40px; height: 40px; } }
.kp--sm { font-size: .88rem; padding: 4px 11px 4px 4px; gap: 9px; }
.kp--sm .kp__m { width: 26px; height: 26px; font-size: .66rem; }
.kp--sm .kp__i svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- traka i zaglavlje */

.strip { background: var(--deep); color: var(--deep-ink-2); font: 500 .8rem/1.4 var(--f-disp); font-stretch: 100%; }
.strip p { margin: 0; padding-block: 7px; }
.strip strong { color: var(--deep-ink); font-weight: 700; }

.mast { background: var(--sheet); border-bottom: 1px solid var(--rule); }
.mast__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 30px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; min-width: 0; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo__m { width: 38px; height: 38px; flex: none; }
.lg-bg { fill: var(--accent); }
.lg-tube { fill: var(--sheet); }
.lg-cap { fill: var(--accent-soft); }
.lg-line { stroke: var(--accent); stroke-width: 1.6; }
.logo__t { display: grid; gap: 3px; line-height: 1; }
.logo__n { font: 800 1.22rem/1 var(--f-disp); font-stretch: 118%; letter-spacing: -.01em; white-space: nowrap; }
.logo__n span { font-weight: 500; color: var(--ink-2); }
.logo__s { font: 700 .58rem/1 var(--f-disp); font-stretch: 100%; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

.menu ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.menu a {
  display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; white-space: nowrap;
  font: 700 .95rem/1.2 var(--f-disp); font-stretch: 100%; border-bottom: 2px solid transparent;
}
.menu a:hover { color: var(--accent); border-bottom-color: var(--rule-2); }
.menu a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 899px) {
  .mast__in { grid-template-columns: 1fr auto; padding-block: 12px 0; }
  .menu { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--rule); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); }
  .menu ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .menu li + li { border-left: 1px solid var(--rule); }
  .menu a { text-align: center; padding: 11px 6px 9px; font-size: .9rem; }
}
@media (max-width: 899px) and (min-width: 760px) {
  .menu { margin-inline: calc(-1 * max(32px, env(safe-area-inset-left, 0px))); }
}
@media (max-width: 400px) { .logo__n { font-size: 1.06rem; } .logo__m { width: 34px; height: 34px; } }
@media (max-width: 340px) { .mast .kp--sm .kp__t { display: none; } .mast .kp--sm { padding-right: 9px; } }

/* ---------------------------------------------------------------- uvod: tekst + ploča sa tubom */

.hero { padding-block: clamp(28px, 5vw, 64px) 0; }
.hero__grid { display: grid; gap: 30px 56px; align-items: start; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.hero__eyebrow { margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.7rem); font-stretch: 122%; letter-spacing: -.03em; line-height: .96; }
.hero h1 span { display: block; margin-top: 14px; font-size: .42em; font-weight: 600; font-stretch: 108%; letter-spacing: -.01em; line-height: 1.15; color: var(--ink-2); }
.hero__lede { margin: 22px 0 0; font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

.p-buy { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price__n { margin: 0; font: 800 clamp(2.6rem, 2rem + 2vw, 3.4rem)/1 var(--f-disp); font-stretch: 118%; letter-spacing: -.03em; }
.price__n small { font-size: .38em; font-weight: 700; letter-spacing: 0; margin-left: 4px; color: var(--ink-2); }
.price__m { margin: 0; font: 600 .86rem/1.35 var(--f-disp); font-stretch: 100%; color: var(--ink-2); }
.kp-note { margin: 0; max-width: 46ch; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }

/* ploča: tuba kao primerak, sa uglovima za sečenje i brojevima */
.plate { margin: 0; }
.plate__board {
  position: relative; background: var(--photo); border: 1px solid var(--rule);
  padding: clamp(14px, 3vw, 28px); border-radius: 2px;
}
.plate__board::before, .plate__board::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--rule-2); pointer-events: none;
}
.plate__board::before { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.plate__board::after { right: 8px; bottom: 8px; border-right-width: 2px; border-bottom-width: 2px; }
.plate__img { position: relative; }
.plate__img img { width: 100%; height: auto; }
.pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #0a7552; color: #fff; text-decoration: none;
  font: 800 .8rem/1 var(--f-disp); font-stretch: 100%;
  box-shadow: 0 0 0 3px #fff, 0 2px 8px rgb(0 0 0 / .25);
  transition: transform .15s ease, background-color .15s ease;
}
.pin:hover, .pin.is-on { color: #fff; background: #0f1c17; transform: translate(-50%, -50%) scale(1.15); text-decoration: none; }
@media (max-width: 559px) {
  .pin { width: 20px; height: 20px; font-size: .68rem; box-shadow: 0 0 0 2px #fff, 0 1px 5px rgb(0 0 0 / .25); }
  .plate__board { padding: 8px 6px; }
  .plate__board::before, .plate__board::after { width: 12px; height: 12px; }
}
.plate__cap { margin: 10px 0 0; font: 500 .8rem/1.4 var(--f-disp); font-stretch: 100%; color: var(--ink-3); }

.legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0 26px; border-top: 2px solid var(--ink); }
@media (min-width: 620px) { .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legend li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: start; gap: 2px 10px; padding: 11px 0 12px;
  border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; transition: background-color .15s ease;
}
.legend li.is-on { background: var(--accent-soft); box-shadow: -6px 0 0 var(--accent-soft), 6px 0 0 var(--accent-soft); }
.legend__n {
  grid-row: 1 / 3; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font: 800 .74rem/1 var(--f-disp);
}
.legend__en { font: 700 .76rem/1.35 var(--f-disp); font-stretch: 100%; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.legend__sr { font-size: .97rem; line-height: 1.45; color: var(--ink-2); }

/* ---------------------------------------------------------------- na jedan pogled */

.glance { margin-top: clamp(36px, 6vw, 64px); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); }
.glance dl { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.glance div { padding: 16px 16px 18px 0; }
.glance div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.glance dt { order: 2; margin-top: 6px; font: 600 .86rem/1.35 var(--f-disp); font-stretch: 100%; color: var(--ink-2); }
.glance dd { margin: 0; font: 800 clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem)/1 var(--f-disp); font-stretch: 120%; letter-spacing: -.02em; }
.glance div { display: flex; flex-direction: column; }
.glance dd { order: 1; }
@media (max-width: 759px) {
  .glance dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance div, .glance div + div { padding: 14px 0 14px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .glance div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .glance div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------------------------------------------------------------- sekcije */

.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--sheet { background: var(--sheet); border-block: 1px solid var(--rule); }
.sec--deep { background: var(--deep); color: var(--deep-ink); }
.sh { display: grid; gap: 14px 40px; padding-top: 16px; border-top: 3px solid var(--ink); margin-bottom: clamp(28px, 4vw, 44px); }
.sec--deep .sh { border-top-color: var(--deep-ink); }
@media (min-width: 900px) { .sh { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.sh .lbl { margin: 0; padding-top: 6px; }
.sec--deep .sh .lbl { color: var(--deep-acc); }
.sh h2 { font-size: clamp(1.9rem, 1.25rem + 2.5vw, 3.05rem); font-stretch: 116%; letter-spacing: -.025em; }
.sh__lead { margin: 14px 0 0; max-width: 60ch; color: var(--ink-2); }
.sec--deep .sh__lead { color: var(--deep-ink-2); }

/* šta radi adapalen */
.how { display: grid; gap: 30px 56px; }
@media (min-width: 900px) { .how { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.how__text p { max-width: 62ch; }
.how__text p:last-child { margin-bottom: 0; }
.fx { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.fx li { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.fx__i { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.fx__i svg { width: 22px; height: 22px; }
.fx h3 { font-size: 1.12rem; padding-top: 2px; }
.fx p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.history { margin-top: 26px; padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--accent); font-size: 1rem; color: var(--ink-2); }
.sec--sheet .history { background: var(--paper); }
.history strong { color: var(--ink); }

/* jutro i veče: traka od 24 sata */
.day { display: grid; gap: 26px; }
.clock { position: relative; padding-top: 26px; }
.clock__bar { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; }
.clock__bar i { height: 16px; background: var(--rule); }
.clock__bar i.am { background: var(--amber); }
.clock__bar i.pm { background: var(--accent); }
.clock__tags { position: absolute; inset: 0 0 auto; height: 22px; }
.clock__tag { position: absolute; top: 0; transform: translateX(-50%); font: 700 .72rem/1 var(--f-disp); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.clock__tag--am { left: calc(7.5 / 24 * 100%); color: var(--amber); }
.clock__tag--pm { left: calc(21.5 / 24 * 100%); color: var(--accent); }
.clock__hours { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; margin-top: 6px; font: 600 .72rem/1 var(--f-disp); color: var(--ink-3); }
.clock__hours span:last-child { text-align: right; }
.rt { display: grid; gap: 18px; }
@media (min-width: 760px) { .rt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; } }
.rt__c { background: var(--sheet); border: 1px solid var(--rule); border-top: 4px solid var(--rt); padding: 18px 20px 20px; }
.sec--sheet .rt__c { background: var(--paper); }
.rt__c--am { --rt: var(--amber); }
.rt__c--pm { --rt: var(--accent); }
.rt__c h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 1.35rem; }
.rt__c h3 small { font: 700 .7rem/1 var(--f-disp); letter-spacing: .12em; text-transform: uppercase; color: var(--rt); }
.rt__c ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.rt__c li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 1.02rem; line-height: 1.5; }
.rt__c li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--rt); border-radius: 50%; color: var(--rt); font: 800 .74rem/1 var(--f-disp); margin-top: 1px; }
.rt__c li.rt__main { font-weight: 600; }
.rt__c li.rt__main::before { background: var(--rt); color: var(--sheet); }
.rt__note { margin: 14px 0 0; font-size: .95rem; color: var(--ink-2); }

/* dvanaest nedelja */
.wk { display: grid; gap: 22px; }
.wk__bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.wk__bar span {
  display: grid; place-items: center; height: 40px; font: 700 .8rem/1 var(--f-disp); font-stretch: 100%;
  background: var(--accent-soft); color: var(--accent-2);
}
.wk__bar span.p2 { background: color-mix(in srgb, var(--accent) 45%, var(--accent-soft)); color: var(--ink); }
.wk__bar span.p3 { background: var(--accent); color: var(--on-accent); }
.wk__bar span::before { content: attr(data-n); }
.wk__bar span:last-child { position: relative; }
.wk__bar span:last-child::after { content: ""; position: absolute; top: -9px; right: 4px; border: 6px solid transparent; border-top-color: var(--ink); }
.wk__cols { display: grid; gap: 18px; }
@media (min-width: 760px) { .wk__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; } }
.wk__c { padding: 14px 16px 2px 0; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .wk__c + .wk__c { padding-left: 16px; border-left: 1px solid var(--rule); } }
.wk__c .lbl { display: block; margin-bottom: 6px; color: var(--accent); }
.wk__c h3 { font-size: 1.2rem; margin-bottom: 8px; }
.wk__c p { font-size: 1rem; color: var(--ink-2); }
.wk__c p:last-child { margin-bottom: 0; }
@media (max-width: 559px) { .wk__bar span { height: 32px; font-size: .7rem; } }

/* provera pre početka */
.check { display: grid; gap: 22px 40px; }
@media (min-width: 980px) { .check { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.qs { display: grid; gap: 0; border-top: 1px solid var(--deep-rule); }
.q { margin: 0; padding: 16px 0; border: 0; border-bottom: 1px solid var(--deep-rule); min-width: 0; }
.q legend { float: left; width: 100%; padding: 0; font: 600 1.06rem/1.45 var(--f-text); color: var(--deep-ink); }
.q legend + * { clear: both; }
.q__opts { display: flex; gap: 8px; padding-top: 12px; }
.q__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q__opts label {
  display: inline-grid; place-items: center; min-width: 74px; min-height: 40px; padding: 0 16px; cursor: pointer;
  font: 700 .95rem/1 var(--f-disp); font-stretch: 100%; color: var(--deep-ink);
  border: 1.5px solid var(--deep-rule); border-radius: 999px; transition: background-color .15s ease, border-color .15s ease;
}
.q__opts label:hover { border-color: var(--deep-ink-2); }
.q__opts input:focus-visible + label { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.q__opts input[value="ne"]:checked + label { background: var(--deep-ink); border-color: var(--deep-ink); color: var(--deep); }
.q__opts input[value="da"]:checked + label { background: #f2c94c; border-color: #f2c94c; color: #1d1600; }
.q__da { display: none; margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid #f2c94c; background: rgb(242 201 76 / .1); font-size: .98rem; color: var(--deep-ink); }
.q.is-da .q__da, .q:has(input[value="da"]:checked) .q__da { display: block; }
.verdict { background: var(--sheet); color: var(--ink); padding: 22px 22px 20px; border-top: 5px solid var(--ink-3); }
@media (min-width: 980px) { .verdict { position: sticky; top: 24px; } }
.verdict[data-stanje="ok"] { border-top-color: var(--ok); }
.verdict[data-stanje="lekar"] { border-top-color: var(--stop); }
.verdict h3 { font-size: 1.3rem; margin-bottom: 10px; }
.verdict p { font-size: 1rem; color: var(--ink-2); }
.verdict ul { margin: 0 0 12px; padding-left: 1.1em; display: grid; gap: 6px; font-size: 1rem; }
.verdict__fine { margin: 12px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--rule); font-size: .88rem !important; }
.btn-reset {
  appearance: none; background: none; border: 1.5px solid var(--rule-2); color: var(--ink); cursor: pointer;
  font: 700 .86rem/1 var(--f-disp); padding: 10px 14px; border-radius: 999px;
}
.btn-reset:hover { border-color: var(--ink); }
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: block; }
html:not(.js) .js-only { display: none; }

/* poručivanje */
.order { display: grid; gap: 28px 56px; }
@media (min-width: 900px) { .order { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: o; border-top: 1px solid var(--rule); }
.steps li { counter-increment: o; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(o); font: 800 2.1rem/1 var(--f-disp); font-stretch: 125%; color: var(--accent); }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.box { background: var(--sheet); border: 1px solid var(--rule); padding: 20px 22px 22px; display: grid; gap: 14px; justify-items: start; }
.sec--sheet .box { background: var(--paper); }
.box h3 { font-size: 1.15rem; }
.box ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 1rem; color: var(--ink-2); }

/* pitanja */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; align-items: center;
  cursor: pointer; list-style: none; padding: 16px 0;
  font: 700 1.08rem/1.35 var(--f-disp); font-stretch: 104%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; justify-self: center; margin-top: -4px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq summary:hover { color: var(--accent); }
.faq__a { padding: 0 36px 18px 0; color: var(--ink-2); max-width: 70ch; }
.faq__a p { margin: 0 0 10px; }
.faq__a p:last-child { margin-bottom: 0; }
.faqwrap { display: grid; gap: 22px 56px; }
@media (min-width: 900px) { .faqwrap { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.more { margin: 22px 0 0; font: 700 1rem/1.3 var(--f-disp); }
.more a::after { content: " →"; }

/* ---------------------------------------------------------------- unutrašnje strane */

.crumbs { padding-block: 14px 0; font: 500 .82rem/1.4 var(--f-disp); color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule-2); }
.crumbs a { color: var(--ink-2); }
.page-head { padding-block: 26px clamp(30px, 5vw, 52px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); font-stretch: 120%; letter-spacing: -.03em; max-width: 18ch; margin-top: 12px; }
.page-head__lede { margin: 18px 0 0; max-width: 60ch; font-size: 1.16rem; color: var(--ink-2); }
.page-head__meta { margin: 14px 0 0; font: 600 .8rem/1.4 var(--f-disp); color: var(--ink-3); }

/* uputstvo: kartice situacija */
.situ { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.situ a { display: grid; gap: 4px; height: 100%; padding: 14px 16px 16px; background: var(--sheet); color: var(--ink); text-decoration: none; }
.situ a:hover { background: var(--accent-soft); color: var(--ink); }
.situ b { font: 700 1.02rem/1.25 var(--f-disp); font-stretch: 104%; }
.situ span { font-size: .9rem; line-height: 1.4; color: var(--ink-2); }

.art { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.part { display: grid; gap: 10px 40px; padding: 26px 0 30px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.part:first-child { border-top: 3px solid var(--ink); }
@media (min-width: 900px) { .part { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.part__k { margin: 0; padding-top: 4px; }
.part h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); font-stretch: 112%; margin-bottom: 14px; }
.part__b > p, .part__b > ul, .part__b > ol { max-width: 64ch; }
.part__b ul, .part__b ol { padding-left: 1.15em; display: grid; gap: 6px; margin-bottom: 1em; }
.part__b > :last-child { margin-bottom: 0; }

.note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; margin: 16px 0 0; padding: 14px 16px; max-width: 64ch; background: var(--accent-soft); font-size: 1rem; line-height: 1.5; }
.note svg { width: 22px; height: 22px; color: var(--accent); }
.note--warn { background: var(--amber-soft); }
.note--warn svg { color: var(--amber); }
.note--stop { background: var(--stop-soft); }
.note--stop svg { color: var(--stop); }

.trio { display: grid; gap: 14px; margin: 6px 0 16px; }
@media (min-width: 760px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trio__c { border-top: 4px solid var(--tc); background: var(--sheet); border-inline: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 16px 16px; }
.trio__c--da { --tc: var(--ok); }
.trio__c--opr { --tc: var(--amber); }
.trio__c--ne { --tc: var(--stop); }
.trio__c h3 { font-size: 1.05rem; color: var(--tc); margin-bottom: 8px; }
.trio__c ul { list-style: none; padding: 0 !important; margin: 0 !important; gap: 8px !important; font-size: .98rem; }
.trio__c li { line-height: 1.45; }
.trio__c li b { display: block; font: 700 .95rem/1.3 var(--f-disp); font-stretch: 100%; }
.trio__c li span { color: var(--ink-2); }

.dots { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; padding: 14px 16px; background: var(--sheet); border: 1px solid var(--rule); max-width: 64ch; }
.dots svg { width: 92px; height: 92px; flex: none; }
.face { fill: var(--accent-soft); stroke: var(--rule-2); stroke-width: 1.5; }
.face-dot { fill: var(--accent); }
.face-avoid { fill: none; stroke: var(--stop); stroke-width: 1.4; stroke-dasharray: 3 2.4; }
.dots p { margin: 0; font-size: .98rem; color: var(--ink-2); }

.cta-band { margin-top: 10px; padding: clamp(22px, 4vw, 34px); background: var(--deep); color: var(--deep-ink); display: grid; gap: 16px 30px; align-items: center; }
@media (min-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.cta-band p { margin: 8px 0 0; color: var(--deep-ink-2); font-size: 1rem; }
.cta-band__p { font: 800 1.5rem/1 var(--f-disp); font-stretch: 116%; color: var(--deep-ink); }

/* sastav: rečnik etikete */
.gloss { margin: 0; border-top: 2px solid var(--ink); }
.gloss > div { display: grid; gap: 4px 30px; padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .gloss > div { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.gloss dt { display: grid; gap: 3px; align-content: start; }
.gloss dt span { font: 700 .74rem/1.35 var(--f-disp); font-stretch: 100%; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.gloss dt b { font: 700 1.1rem/1.25 var(--f-disp); font-stretch: 106%; }
.gloss dd { margin: 0; }
.gloss dd p, .gloss dd ul { margin: 0 0 8px; }
.gloss dd ul { padding-left: 1.1em; display: grid; gap: 5px; }
.gloss dd > :last-child { margin-bottom: 0; }

.tablewrap { position: relative; overflow-x: auto; background: var(--sheet); border: 1px solid var(--rule); }
.ing { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ing th, .ing td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.ing thead th { font: 700 .72rem/1.3 var(--f-disp); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); }
.ing tbody th { font: 700 .98rem/1.35 var(--f-disp); font-stretch: 100%; min-width: 170px; }
.ing tbody th span { display: block; margin-top: 3px; font: 400 .9rem/1.3 var(--f-text); color: var(--ink-3); }
.ing tbody tr:last-child > * { border-bottom: 0; }
.ing tr.ing--akt th, .ing tr.ing--akt td { background: var(--accent-soft); }
@media (max-width: 639px) {
  .ing, .ing tbody, .ing tr, .ing th, .ing td { display: block; }
  .ing thead { display: none; }
  .ing tr { padding: 12px 14px; border-bottom: 1px solid var(--rule); }
  .ing tbody tr:last-child { border-bottom: 0; }
  .ing tbody th, .ing td { padding: 0; border: 0; min-width: 0; }
  .ing td { margin-top: 6px; font-size: .97rem; }
  .ing td:nth-of-type(1) { color: var(--ink); }
  .ing td:nth-of-type(2) { color: var(--ink-2); }
}

.checks { list-style: none; padding: 0 !important; display: grid; gap: 10px !important; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.checks svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }

/* pitanja: grupe */
.qnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qnav a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--rule-2); border-radius: 999px; color: var(--ink); text-decoration: none; font: 700 .9rem/1 var(--f-disp); }
.qnav a:hover { border-color: var(--accent); color: var(--accent); }
.qgroup { display: grid; gap: 10px 40px; padding-top: 30px; scroll-margin-top: 16px; }
@media (min-width: 900px) { .qgroup { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.qgroup h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-stretch: 110%; padding-top: 14px; }

/* ---------------------------------------------------------------- podnožje */

.foot { background: var(--deep); color: var(--deep-ink); padding-block: 54px 30px; }
.foot a { color: var(--deep-ink); }
.foot a:hover { color: var(--deep-acc); }
.foot .kp, .foot .kp:hover { color: var(--kp-n); }
.foot .logo { color: var(--deep-ink); }
.foot .logo__n span { color: var(--deep-ink-2); }
.foot .lg-bg { fill: #0a7552; }
.foot .lg-tube { fill: #ffffff; }
.foot .lg-cap { fill: #dcede4; }
.foot .lg-line { stroke: #0a7552; }
.foot .logo__s { color: var(--deep-acc); }
.foot__grid { display: grid; gap: 30px; }
@media (min-width: 820px) { .foot__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); } }
.foot__about p { margin: 16px 0 18px; max-width: 50ch; color: var(--deep-ink-2); font-size: 1rem; }
.foot h2 { font: 700 .72rem/1.3 var(--f-disp); letter-spacing: .14em; text-transform: uppercase; color: var(--deep-ink-2); margin-bottom: 12px; font-stretch: 100%; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 9px; font: 600 .98rem/1.3 var(--f-disp); }
.foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--deep-rule); font-size: .9rem; line-height: 1.55; color: var(--deep-ink-2); }
.foot__legal p { margin: 0 0 8px; max-width: 95ch; }
.foot__legal strong { color: var(--deep-ink); }
body.has-buybar .foot { padding-bottom: 112px; }
@media (min-width: 900px) { body.has-buybar .foot { padding-bottom: 30px; } }

/* ---------------------------------------------------------------- traka za kupovinu (telefon) */

.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  background: var(--sheet); border-top: 2px solid var(--ink);
  padding-top: 9px; padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  transform: translateY(115%); transition: transform .25s ease;
}
.buybar.is-on { transform: none; }
@media (min-width: 900px) { .buybar { display: none; } }
.buybar img { width: 44px; height: 44px; object-fit: cover; background: var(--photo); border: 1px solid var(--rule); }
.buybar__i { display: grid; min-width: 0; }
.buybar__n { font: 600 .8rem/1.2 var(--f-disp); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__p { font: 800 1.25rem/1.15 var(--f-disp); font-stretch: 114%; }
.buybar .kp { white-space: nowrap; }

/* ---------------------------------------------------------------- štampa */

@media print {
  .strip, .menu, .buybar, .kp, .qnav, .situ, .check { display: none !important; }
  body { background: #fff; color: #000; }
  .sec--deep, .foot { background: #fff; color: #000; }
}
