/* Winkla: potpis u podnožju i traka za kolačiće.
   Boje su fiksne, bez varijabli stranice, da se ne sudare s temom pojedine firme. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url(unbounded-600.woff2) format("woff2"); }

/* ---------- potpis ---------- */
.wk-potpis { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .4em; font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: normal; text-transform: none; white-space: nowrap; }
.wk-potpis a.winkla { font-family: "Unbounded", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #000; text-decoration: none; text-transform: none; }
.wk-potpis--tamno a.winkla { color: #fff; }
[data-theme="grayscale"] .wk-potpis--tamno a.winkla { color: #000; } /* kramaricusluge, svijetla tema */
.wk-potpis a.winkla:hover { text-decoration: underline; text-underline-offset: 3px; }
/* stare stranice znaju imati jača pravila za span u podnožju (velika slova, razmak) */
.wk-potpis, .wk-potpis * { text-transform: none !important; } /* wk-potpis--stit */
.wk-potpis { letter-spacing: normal !important; }
.wk-potpis a.winkla { letter-spacing: -0.01em !important; font-family: "Unbounded", sans-serif !important; }
.wk-pravno { display: inline-flex; flex-wrap: wrap; gap: .35em 1.1em; font-size: 14px; font-weight: 400; }
.wk-pravno a { color: inherit; font-weight: 400; text-decoration: none; }
.wk-pravno a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- traka ---------- */
.pk-traka[hidden], .pk-prozor[hidden] { display: none !important; }
.pk-traka, .pk-prozor { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: left; letter-spacing: normal; text-transform: none; }
.pk-traka *, .pk-prozor * { box-sizing: border-box; }
.pk-traka p, .pk-prozor p { margin: 0; }

.pk-traka { position: fixed; left: 50%; bottom: clamp(16px, 2.6vh, 30px); transform: translate(-50%, calc(100% + 40px)); width: min(980px, calc(100% - 32px)); z-index: 2147483000; background: #fff; color: #15181d; border: 1px solid #e4e5e2; border-radius: 20px; box-shadow: 0 18px 50px rgba(10, 15, 25, .18); opacity: 0; transition: transform .42s cubic-bezier(.22, .7, .3, 1), opacity .42s ease; }
.pk-traka.je-vidljiva { transform: translate(-50%, 0); opacity: 1; }
.pk-traka__unutra { display: flex; align-items: center; gap: 28px; padding: 20px 24px; }
.pk-traka__tekst { flex: 1 1 auto; min-width: 0; }
.pk-traka__naslov { margin: 0 0 6px !important; font-weight: 700; font-size: 16px; color: #15181d; }
.pk-traka__opis { margin: 0 0 8px !important; font-size: 15px; line-height: 1.55; color: #3a414b; }
.pk-traka__veze { font-size: 14px; color: #8a8f98; }
.pk-traka__veze a { color: #3a414b; text-decoration: underline; }
.pk-traka__gumbi { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; width: 190px; }

.pk-gumb { font: 600 15px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; padding: 11px 18px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; width: 100%; margin: 0; text-transform: none; letter-spacing: normal; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.pk-gumb--pun { background: #15181d; color: #fff; }
.pk-gumb--pun:hover { background: #3a414b; }
.pk-gumb--prazan { background: transparent; color: #3a414b; border-color: #d6d8d3; }
.pk-gumb--prazan:hover { border-color: #15181d; color: #15181d; }
.pk-gumb:focus-visible { outline: 2px solid #15181d; outline-offset: 2px; }

.pk-prozor { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .2s ease; }
.pk-prozor.je-otvoren { opacity: 1; }
.pk-prozor__zastor { position: absolute; inset: 0; background: rgba(10, 15, 25, .45); }
.pk-prozor__ploca { position: relative; width: min(620px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; background: #fff; color: #15181d; border-radius: 18px; box-shadow: 0 26px 70px rgba(10, 15, 25, .28); transform: translateY(10px); transition: transform .2s ease; }
.pk-prozor.je-otvoren .pk-prozor__ploca { transform: none; }
.pk-prozor__vrh { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #e4e5e2; }
.pk-prozor__naslov { font-size: 18px; font-weight: 700; color: #15181d; }
.pk-prozor__x { background: none; border: 0; cursor: pointer; font-size: 28px; line-height: 1; color: #8a8f98; padding: 0 4px; }
.pk-prozor__x:hover { color: #15181d; }
.pk-prozor__tijelo { padding: 8px 24px 4px; overflow-y: auto; }
.pk-vrsta { padding: 18px 0; border-bottom: 1px solid #e4e5e2; }
.pk-vrsta:last-child { border-bottom: 0; }
.pk-vrsta__vrh { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.pk-vrsta__ime { font-weight: 700; font-size: 15px; color: #15181d; }
.pk-vrsta__fiksno { font-size: 13px; color: #8a8f98; }
.pk-vrsta__opis { font-size: 14px; line-height: 1.6; color: #3a414b; }
.pk-vrsta__opis code { background: #efefec; padding: 1px 5px; border-radius: 5px; font-size: 13px; }

.pk-sklopka { position: relative; flex: 0 0 auto; cursor: pointer; display: inline-block; }
.pk-sklopka input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pk-sklopka__traka { display: block; width: 46px; height: 26px; border-radius: 999px; background: #dcdcdf; transition: background .18s ease; position: relative; }
.pk-sklopka__traka::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 15, 25, .3); transition: transform .18s ease; }
.pk-sklopka input:checked + .pk-sklopka__traka { background: #15181d; }
.pk-sklopka input:checked + .pk-sklopka__traka::after { transform: translateX(20px); }
.pk-sklopka input:focus-visible + .pk-sklopka__traka { outline: 2px solid #15181d; outline-offset: 2px; }

.pk-prozor__dno { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px; border-top: 1px solid #e4e5e2; }
.pk-prozor__dno .pk-gumb { width: auto; }

@media (max-width: 720px) {
  .pk-traka__unutra { flex-direction: column; align-items: stretch; gap: 16px; }
  .pk-traka__gumbi { width: 100%; }
  .pk-prozor__dno { flex-direction: column-reverse; }
  .pk-prozor__dno .pk-gumb { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pk-traka, .pk-prozor, .pk-prozor__ploca { transition: none; } }
