/* Cookie banner + footer link "Podešavanja kolačića" (inc/kt-consent.php, assets/kt-consent.js). No page overlay. */
.kt-consent { position: fixed; left: 24px; bottom: 24px; z-index: 900; box-sizing: border-box; width: calc(100vw - 48px); padding: 24px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; background: #0E0F10; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); color: #fff; font-family: inherit; opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease; }
.kt-consent[hidden] { display: none; }
.kt-consent.is-visible { opacity: 1; transform: none; }
.kt-consent .kt-consent__t { margin: 0 0 8px; font-family: inherit; font-size: 18px; line-height: 1.3; font-weight: 700; color: #fff; }
.kt-consent .kt-consent__p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }
.kt-consent .kt-consent__p a { color: #FF5722; text-decoration: underline; white-space: nowrap; } /* the full stop after the link is outside it: plain, not underlined */
.kt-consent .kt-consent__l { display: inline; }
/* desktop / tablet landscape (>=768px): the card is as wide as its longest line, the text is exactly two lines (sentence 1 / sentence 2 + link); the buttons share the whole width */
@media (min-width: 768px) {
	.kt-consent { width: max-content; max-width: calc(100vw - 48px); }
	.kt-consent .kt-consent__l { display: block; white-space: nowrap; }
}
.kt-consent .kt-consent__p a:hover { color: #FF7043; }
.kt-consent .kt-consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kt-consent .kt-consent__btn { box-sizing: border-box; height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; }
.kt-consent .kt-consent__btn--accept { background: #FF5722; border-color: #FF5722; color: #111111; }
.kt-consent .kt-consent__btn--accept:hover, .kt-consent .kt-consent__btn--accept:focus-visible { background: #E64A19; border-color: #E64A19; color: #111111; }
.kt-consent .kt-consent__btn--necessary { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.kt-consent .kt-consent__btn--necessary:hover, .kt-consent .kt-consent__btn--necessary:focus-visible { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.kt-consent .kt-consent__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* mobile (<=767px): bottom sheet, edge to edge; smaller type and padding so the text needs fewer lines (3 lines at 320-414px, 2 from ~460px) */
@media (max-width: 767px) {
	/* bottom sheet: edge to edge, stuck to the bottom of the screen, rounded only at the top, border only on top */
	.kt-consent { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; padding: 14px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-width: 1px 0 0; border-radius: 16px 16px 0 0; }
	.kt-consent .kt-consent__t { margin: 0 0 4px; font-size: 16px; }
	.kt-consent .kt-consent__p { margin: 0 0 10px; font-size: 13px; line-height: 1.4; }
	.kt-consent .kt-consent__btn { height: auto; padding: 11px 0; font-size: 14px; line-height: 16px; }
	/* the "back to top" button stays above the banner (banner height + 12px) */
	body.kt-consent-open .back-to-top-wrapper.back-to-top-btn-show { bottom: calc(var(--kt-consent-h, 0px) + 12px); z-index: 901; }
}
@media (prefers-reduced-motion: reduce) { .kt-consent { transition: none; } }

/* footer bottom bar, right side: "Politika privatnosti" · "Podešavanja kolačića" (the second link opens the banner again) */
.e-con.ft-bar .ft-cookies { width: auto !important; padding: 0 !important; margin: 0 !important; }
body .elementor .ft-root .ft-cookies .ft-links { display: flex; align-items: center; justify-content: flex-end; gap: 16px; white-space: nowrap; }
body .elementor .ft-root .ft-cookies .ft-links a { font-size: 15px; line-height: 1.5; font-weight: 400; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.2s ease; }
body .elementor .ft-root .ft-cookies .ft-links a:hover, body .elementor .ft-root .ft-cookies .ft-links a:focus-visible { color: #FF5722; }
body .elementor .ft-root .ft-cookies .ft-links .ft-sep { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.3); }
/* mobile: copyright above, both links in one centred row (14px; 13px under 375px; under 351px they wrap, one per row, without the dot);
   less space under the bar so the back-to-top button (bottom 50px) stays above the links */
@media (max-width: 767px) {
	body .e-con.ft-bar > .e-con-inner { padding-bottom: 18px !important; }
	body .elementor .ft-root .ft-cookies .ft-links { justify-content: center; }
	body .elementor .ft-root .ft-cookies .ft-links a, body .elementor .ft-root .ft-cookies .ft-links .ft-sep { font-size: 14px; }
}
@media (max-width: 374px) { body .elementor .ft-root .ft-cookies .ft-links a, body .elementor .ft-root .ft-cookies .ft-links .ft-sep { font-size: 13px; } }
@media (max-width: 350px) { body .elementor .ft-root .ft-cookies .ft-links { flex-wrap: wrap; gap: 4px 16px; } body .elementor .ft-root .ft-cookies .ft-links .ft-sep { display: none; } }
