/* Kolačići – obavijest i privola (boje nacrt.hr). Sve je pod .nk da se ne miješa sa stilovima teme i Elementora. */
.nk {
	--nk-accept-bg: #222222;
	--nk-accept-fg: #ffffff;
	--nk-tile: #DDEFD8;
	--nk-ink: #222222;
	--nk-ink-2: #595959;
	--nk-line: #DCDCDC;
	--nk-link: #A8400A;
	--nk-sans: var(--font-sans, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	--nk-serif: var(--font-serif, "Bitter", Georgia, "Times New Roman", serif);
	position: fixed; z-index: 99990; bottom: 24px; left: 24px;
	width: min(452px, calc(100vw - 48px));
	font-family: var(--nk-sans); color: var(--nk-ink);
}
.nk[hidden], .nk-float[hidden] { display: none !important; }
.nk--right { left: auto; right: 24px; }
.nk--center { left: 50%; transform: translateX(-50%); width: min(560px, calc(100vw - 48px)); }
html body .nk .nk__card {
	background: #fff; border: 1px solid var(--nk-line); border-radius: 20px;
	box-shadow: 0 2px 6px rgba(34, 34, 34, .06), 0 18px 48px rgba(34, 34, 34, .16);
	padding: 24px 24px 22px; margin: 0; text-align: left;
	animation: nk-in .28s ease-out both;
}
@keyframes nk-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Prvi prikaz nakon odgode: sporiji fade-in */
html body .nk.nk--slow .nk__card { animation: nk-fade .7s ease-out both; }
@keyframes nk-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html body .nk .nk__tile {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--nk-tile); margin: 0 0 14px;
}
html body .nk .nk__cookie { display: block; width: 34px; height: 34px; }
html body .nk .nk__title {
	font-family: var(--nk-serif); font-weight: 500; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.005em;
	color: var(--nk-ink); margin: 0 0 .5rem; padding: 0; text-transform: none;
}
html body .nk .nk__text { font-size: .9375rem; line-height: 1.6; color: var(--nk-ink-2); margin: 0 0 1.125rem; }
html body .nk .nk__link { color: var(--nk-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
html body .nk .nk__link:hover { text-decoration-thickness: 2px; }
html body .nk .nk__status { font-size: .8125rem; color: var(--nk-ink-2); margin: -.5rem 0 1rem; }
html body .nk .nk__actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
html body .nk .nk__btn {
	flex: 0 1 auto; min-width: 128px; min-height: 46px; margin: 0; padding: 0 1.375rem;
	border-radius: 999px; border: 1.5px solid var(--nk-ink); cursor: pointer;
	font: 600 1rem/1.2 var(--nk-sans); letter-spacing: 0; text-transform: none; box-shadow: none;
	transition: transform .15s, background-color .15s, color .15s;
}
html body .nk .nk__btn--accept { background: var(--nk-accept-bg); border-color: var(--nk-accept-bg); color: var(--nk-accept-fg); }
html body .nk .nk__btn--accept:hover { transform: scale(1.02); filter: brightness(.92); background: var(--nk-accept-bg); color: var(--nk-accept-fg); }
html body .nk .nk__btn--reject { background: #fff; color: var(--nk-ink); }
html body .nk .nk__btn--reject:hover { background: #F5F5F5; color: var(--nk-ink); }
html body .nk .nk__btn:focus-visible, html body .nk .nk__link:focus-visible, html body .nk-float:focus-visible {
	outline: 2px solid var(--nk-ink); outline-offset: 3px;
}
html body .nk-float {
	position: fixed; z-index: 99980; bottom: 16px; left: 16px; width: 48px; height: 48px; padding: 0; margin: 0;
	display: grid; place-items: center; border-radius: 999px; border: 1px solid #DCDCDC; background: #fff; cursor: pointer;
	box-shadow: 0 6px 20px rgba(34, 34, 34, .14);
}
html body .nk-float--right { left: auto; right: 16px; }
html body .nk-float .nk__cookie { width: 28px; height: 28px; }
@media (max-width: 560px) {
	.nk, .nk--right, .nk--center { left: 12px; right: 12px; bottom: 12px; width: auto; transform: none; }
	html body .nk .nk__card { padding: 18px 18px 16px; border-radius: 18px; }
	html body .nk .nk__tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
	html body .nk .nk__cookie { width: 30px; height: 30px; }
	html body .nk .nk__title { font-size: 1.1875rem; }
	html body .nk .nk__text { font-size: .875rem; margin-bottom: .875rem; }
	html body .nk .nk__actions { gap: 10px; }
	html body .nk .nk__btn { flex: 1 1 0; min-width: 0; padding: 0 .75rem; }
}
@media (prefers-reduced-motion: reduce) { html body .nk .nk__card, html body .nk.nk--slow .nk__card { animation: nk-fade-only .4s linear both; } }
@keyframes nk-fade-only { from { opacity: 0; } to { opacity: 1; } }
@media print { .nk, .nk-float { display: none !important; } }
