/* V6 navigacija preslikana iz korisnikove potvrđene stranice */
@font-face{font-family:Montserrat;font-weight:100 900;font-style:normal;font-display:swap;src:url("0f7b311b2f3279e4.ttf") format("truetype")}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#071644;background:#f4faff;font:14px/1.5 Montserrat,sans-serif}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default}svg{display:block;flex:none;width:30px;height:30px}.k24d-frame h1,.k24d-frame h2,.k24d-frame h3,.k24d-frame p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #075deb;outline-offset:4px}[hidden]{display:none!important}.container{max-width:1536px;padding:0 34px;margin:0 auto}.skip{position:absolute;left:10px;top:-100px;z-index:100;background:#fff;padding:14px}.skip:focus{top:10px}.header{position:relative;background:#fff;border-bottom:1px solid #dceafa;z-index:10}.top-row{display:grid;grid-template-columns:254px minmax(260px,1fr) 530px;gap:28px;align-items:center;min-height:94px}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:0}.brand img{display:block;width:245px;height:51px;object-fit:contain;object-position:left center}.brand span{font-size:11px;color:#425b83;margin-left:2px}.site-search{position:relative}.search-shell{display:flex;align-items:center;background:#f0f7ff;border:1px solid #d9e8fc;border-radius:9px;min-height:52px;overflow:hidden}.search-shell>svg{width:24px;height:24px;margin-left:18px;color:#12265e}.search-shell input{width:100%;min-width:0;border:0;background:transparent;padding:13px 12px;color:#152f64;font-size:12px;outline-offset:-4px}.search-shell input::placeholder{color:#536c93}.search-shell button{align-self:stretch;border:0;border-radius:9px;background:#005aef;color:#fff;width:61px;display:grid;place-items:center;flex:none}.search-shell button:hover{background:#0047c4}.search-note{position:absolute;top:calc(100% + 3px);font-size:9px;color:#546787;line-height:1.2}.utilities{display:flex;align-items:center;justify-content:space-between;gap:17px}.utility{display:flex;gap:12px;align-items:center;position:relative;min-width:0}.utility+.utility{padding-left:20px;border-left:1px solid #e0eafb}.utility svg{color:#005cff;width:30px;height:30px}.utility strong{display:block;white-space:nowrap;font-size:12px;font-weight:600}.utility small{display:block;font-size:11px;color:#536b93;margin-top:2px;white-space:nowrap}.utility[aria-disabled=true]{cursor:default}.utility[aria-disabled=true] small{font-size:10px}.second-row{border-top:1px solid #e3edfb}.nav-bar{display:flex;align-items:center;gap:12px;position:relative;min-height:86px}.main-menu{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:0;margin:0;width:100%;gap:8px}.main-menu>li{flex:none}.nav-entry{display:flex;align-items:center;position:relative;gap:0}.nav-link{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;font-size:13px;line-height:1.3;font-weight:600;padding:16px 13px;border:1px solid transparent;border-radius:9px;background:transparent;color:#071644;min-height:56px}.nav-link svg{width:29px;height:29px;stroke-width:1.7}.nav-link:hover,.nav-link:focus-visible{background:#eff6ff}.nav-link .chevron,.sub-toggle svg{width:10px;height:10px}.sub-toggle{display:grid;place-items:center;width:25px;height:48px;padding:0;background:transparent;border:0;border-radius:7px;color:#142c64}.nav-entry:has(.sub-toggle)>.nav-link{padding-right:3px}.nav-link.service-trigger{color:#fff;background:#0058ee;padding:14px 17px;border-color:#0065ff;box-shadow:0 2px 3px #0054db0c}.nav-link.service-trigger:hover{background:#004ccc}.nav-link.codes-link{color:#0056ed;background:#e8f3ff;padding:14px 16px}.nav-link.codes-link:hover{background:#daeaff}.service-item.is-open .service-trigger:after{content:'';position:absolute;bottom:-14px;left:50%;width:10px;height:10px;background:#075deb;transform:translateX(-50%) rotate(45deg)}.small-panel{position:absolute;top:100%;margin-top:0;width:370px;max-height:65vh;overflow-y:auto;border:1px solid #dae8f9;border-radius:12px;background:#fff;box-shadow:0 16px 35px #173d681c;padding:10px;list-style:none}.small-panel a{display:block;padding:10px 12px;font-size:13px;font-weight:500;border-radius:6px}.small-panel a:hover,.small-panel a:focus-visible{background:#eef7ff;color:#0056ed}.advice-panel,.calc-panel{right:0}.mega{position:absolute;top:100%;left:0;right:0;border:1px solid #dfecfb;border-radius:17px;padding:14px 12px 12px;background:#fff;box-shadow:0 14px 38px #3171ad10}.mega-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr .95fr .95fr;gap:14px}.mega-col{display:flex;flex-direction:column;min-width:0;padding:16px 17px 10px;position:relative}.mega-col+.mega-col:before{content:'';position:absolute;left:-7px;top:10px;bottom:10px;width:1px;background:#e1ecfa}.mega-col.highlight{background:linear-gradient(120deg,#eff7ff,#e5f1ff);border-radius:12px}.mega-title{display:flex;align-items:flex-start;gap:13px;min-height:102px}.mega-icon{display:flex;align-items:center;justify-content:center;width:53px;height:56px;flex:none;border-radius:12px;background:#e8f3ff;color:#0061ff}.highlight .mega-icon{background:#d7eaff}.mega-icon svg{width:34px;height:34px}.mega-title h2{font-size:16px;line-height:1.25;font-weight:700;letter-spacing:-.35px;margin:4px 0 8px}.highlight h2{color:#005bf3}.mega-title p{font-size:12px;line-height:1.5;color:#53688e}.mega-links{display:grid;gap:5px;list-style:none;padding:0;margin:6px 0 20px}.mega-links li{min-width:0}.mega-links a,.inactive-link{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:35px;font-size:13px;line-height:1.35;padding:5px 0}.mega-links a:hover{color:#005bf3}.mega-links a svg{width:17px;height:17px;color:#005bf3}.inactive-link{color:#607290;cursor:default;display:block}.inactive-link small{display:block;font-size:9px;line-height:1.2;color:#6b7e98;margin-top:2px}.mega-photo{display:block;width:100%;height:150px;object-fit:cover;border-radius:10px;margin-top:auto}.mega-col:first-child .mega-photo{object-position:80% center}.trust{background:linear-gradient(100deg,#f5fbff,#edf7ff);padding:36px 20px}.trust-inner{max-width:1030px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr)}.trust-item{display:flex;align-items:center;gap:22px;padding:0 25px;font-size:14px;line-height:1.5;font-weight:500}.trust-item+.trust-item{border-left:1px solid #bad7ff}.trust-item svg{color:#005cff;width:40px;height:40px}.preview-body{max-width:1100px;margin:36px auto;padding:28px 30px;border:1px solid #dfebf8;border-radius:18px;background:#fff}.preview-body h1{font-size:24px;line-height:1.3;margin-bottom:12px}.preview-body p{color:#50658a;font-size:14px}.preview-body h2{font-size:18px;margin:20px 0 10px}.preview-body ol{color:#455c80;padding-left:22px;line-height:1.8}.preview-body .notice{margin-top:18px;padding:13px 16px;border-radius:10px;background:#edf6ff;font-size:12px}.results{border:1px solid #dbe9f8;border-radius:14px;background:#fff;max-width:1100px;margin:24px auto;padding:25px;scroll-margin-top:20px}.results-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.results h2{font-size:21px}.clear-search{background:#edf6ff;border:1px solid #c6ddf8;border-radius:8px;padding:9px 14px;color:#174b8c}.result-summary{color:#50698c;font-size:13px;margin:8px 0 15px}.search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.result-link{display:block;border:1px solid #dfeaf7;border-radius:9px;padding:14px}.result-link:hover{border-color:#6ca7f2;background:#f6fbff}.result-link strong{display:block;color:#0054d3;font-size:14px}.result-link small{display:block;margin-top:5px;color:#526b91;font-size:11px;overflow-wrap:anywhere}.search-pages{display:flex;gap:18px;align-items:center;justify-content:center;margin-top:20px}.search-pages button{padding:9px 15px;border:1px solid #c5dbf5;border-radius:8px;color:#174b8c;background:white}.search-pages button:disabled{opacity:.45}.mobile-toggle,.mobile-search,.mobile-code-link{display:none}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(min-width:1400px){body:has(.service-item.is-open) .trust{padding-top:calc(var(--mega-height,470px) + 34px)}.service-item{position:static}.service-item>.nav-link{position:relative}}
@media(max-width:1399px){.container{padding:0 24px}.top-row{grid-template-columns:180px minmax(220px,1fr);gap:20px;min-height:98px}.brand img{width:180px;height:43px}.brand span{font-size:9px}.utilities{display:none}.search-note{font-size:10px}.nav-bar{display:block;min-height:64px;padding-top:9px;padding-bottom:9px}.mobile-toggle{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d7e7fc;border-radius:9px;width:46px;height:44px;color:#0c2256}.mobile-code-link{display:flex;position:absolute;right:24px;top:9px;gap:10px;align-items:center;border-radius:8px;padding:10px 16px;background:#e8f3ff;color:#0056ef;font-weight:600;font-size:13px}.mobile-code-link svg{width:25px;height:25px}.main-menu{display:none;padding-top:15px}.nav-bar.is-open>.main-menu{display:block}.main-menu>li{width:100%;border-top:1px solid #edf2f9}.nav-entry{display:flex;flex-wrap:wrap}.nav-link{justify-content:flex-start;width:100%;padding:14px 12px;min-height:52px;white-space:normal;font-size:14px}.nav-entry:has(.sub-toggle)>.nav-link{width:calc(100% - 45px)}.sub-toggle{width:45px;height:52px}.small-panel{position:static;flex-basis:100%;width:100%;max-height:none;box-shadow:none;margin:0 0 12px}.mega{position:static;margin:12px 0;width:100%;padding:10px}.mega-grid{grid-template-columns:1fr 1fr;gap:12px}.mega-col{padding:14px}.mega-col+.mega-col:before{display:none}.mega-title{min-height:95px}.mega-title h2{font-size:16px}.mega-photo{height:155px}.mega-links{margin-bottom:14px}.service-item.is-open .service-trigger:after{display:none}.trust{padding:26px 15px}.trust-inner{grid-template-columns:repeat(2,1fr);gap:22px 0}.trust-item{font-size:13px;padding:0 20px;gap:14px}.trust-item:nth-child(3){border-left:0}.trust-item svg{width:34px;height:34px}.preview-body,.results{margin:25px 24px;padding:23px}.search-results{grid-template-columns:1fr 1fr}}
@media(max-width:599px){.container{padding:0 16px}.top-row{grid-template-columns:1fr 42px;min-height:81px;gap:12px}.brand img{width:201px;height:43px}.brand span{font-size:9px}.mobile-search{display:grid;place-items:center;background:none;border:0;padding:7px;color:#0b1e50}.mobile-search svg{width:26px;height:26px}.site-search{display:none;grid-column:1/-1;padding-bottom:19px}.top-row.search-open>.site-search{display:block}.search-note{font-size:9px}.search-shell input{font-size:12px}.main-menu{padding-top:12px}.mobile-code-link{right:16px;font-size:12px;padding:10px 14px}.mega{padding:8px}.mega-grid{grid-template-columns:1fr;gap:12px}.mega-col{border:1px solid #e4edf8;border-radius:11px;padding:17px}.mega-title{min-height:0;margin-bottom:10px}.mega-title h2{font-size:17px}.mega-title p{font-size:12px}.mega-links a,.inactive-link{font-size:14px;min-height:37px}.mega-photo{height:auto;aspect-ratio:16/9}.trust-inner{gap:20px 0}.trust-item{font-size:11px;padding:0 10px;gap:9px}.trust-item svg{width:29px;height:29px}.preview-body,.results{margin:20px 16px;padding:20px}.preview-body h1{font-size:22px}.preview-body p{font-size:13px}.preview-body ol{font-size:13px}.search-results{grid-template-columns:1fr}.results h2{font-size:19px}.search-pages{gap:9px;font-size:11px}.search-pages button{padding:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(min-width:1400px){.service-item.is-open::before{content:"";position:absolute;left:0;right:0;top:calc(100% - 17px);height:18px;pointer-events:auto}}

/* Pet ujednačenih megaizbornika, samo u izoliranom pregledu. */
.mega-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.mega-grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.mega-grid.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.mega-links a{overflow-wrap:anywhere}
@media(min-width:1400px){
 .main-menu>.has-panel{position:static}
 .mega{max-height:calc(100dvh - 210px);overflow-y:auto;overscroll-behavior:contain}
 .mega-links{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:5px}
 .has-panel.is-open>.nav-link{background:#0058ee;color:#fff;border-color:#0065ff}
 .has-panel.is-open>.sub-toggle{background:#0058ee;color:#fff}
 .has-panel.is-open::before{content:"";position:absolute;left:0;right:0;top:calc(100% - 17px);height:18px;pointer-events:auto}
 body:has(.has-panel.is-open) .trust{padding-top:calc(var(--mega-height,550px) + 34px)}
}
@media(max-width:1399px){.mega-grid.cols-3,.mega-grid.cols-4,.mega-grid.cols-5{grid-template-columns:repeat(2,minmax(0,1fr))}.main-menu>.has-panel{position:relative}.mega-links{max-height:none;overflow:visible}.mega{max-height:none;overflow:visible}}
@media(max-width:599px){.mega-grid.cols-3,.mega-grid.cols-4,.mega-grid.cols-5{grid-template-columns:1fr}}

/* Scoped only to the approved preview search, with no navigation layout changes. */
#preview-search{z-index:30}
#preview-search #preview-results{position:absolute;top:calc(100% + 18px);left:0;width:min(700px,calc(100vw - 48px));max-width:calc(100vw - 32px);margin:0;padding:0;background:#fff;color:#171717;border:1px solid #dedede;border-radius:12px;box-shadow:0 16px 35px #0000001c;overflow:hidden}
#preview-results .results-top{padding:13px 16px;border-bottom:1px solid #eee;gap:12px}
#preview-results #result-title{font-size:15px;color:#111}
#preview-results .clear-search{padding:6px 9px;font-size:11px;background:#f6f6f6;border:1px solid #ddd;color:#222;border-radius:6px}
#preview-results .result-summary{margin:0;padding:10px 16px;color:#555;font-size:11px;line-height:1.5}
#preview-result-list{display:block;max-height:min(52vh,470px);overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #eee}
#preview-results .result-link{display:block;padding:11px 16px;border:0;border-bottom:1px solid #eee;border-radius:0;background:#fff;color:#171717}
#preview-results .result-link:hover,#preview-results .result-link:focus-visible{background:#f4f4f4;color:#000;outline:2px solid #555;outline-offset:-2px}
#preview-results .result-link strong{display:block;margin:3px 0;font-size:12px;line-height:1.5;color:#111}
#preview-results .result-link small{display:block;font-size:11px;line-height:1.5;color:#555;overflow-wrap:anywhere}
#preview-results .result-kind{display:inline-block;font-size:9px;line-height:1.5;font-weight:600;padding:1px 6px;background:#f0f0f0;color:#444;border-radius:4px}
#preview-results .search-pages{display:flex;justify-content:space-between;gap:8px;margin:0;padding:11px 14px;border-top:1px solid #eee;font-size:10px;color:#444}
#preview-results .search-pages button{padding:6px 9px;background:#f7f7f7;color:#111;border:1px solid #ddd;border-radius:6px;font-size:11px}
#preview-results .search-pages button:disabled{color:#888;background:#fafafa}
@media(max-width:1399px){#preview-search #preview-results{width:100%;max-width:100%;top:calc(100% - 1px)}}
@media(max-width:599px){#preview-result-list{max-height:min(42vh,360px)}#preview-results .result-link{padding:10px 12px}}

/* Konačna odobrena kompozicija. Samo izolirani razvojni pregled. */
.top-row{grid-template-columns:270px minmax(0,1fr) 420px;gap:26px;min-height:110px;position:static}
.brand img{width:270px;height:56px}.brand span{font-size:12px}
.search-shell{min-height:62px}.search-shell input{font-size:14px}.search-shell button{width:66px}.search-note{font-size:9px}
.top-tools{display:grid;grid-template-columns:180px 230px;gap:10px;align-items:center;position:static}
.calculator-top{position:static}.top-calculator-button,.codes-shortcut{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:11px;min-height:68px;padding:12px 14px;color:#071644;background:#f1f7ff;border:1px solid #d9eaff;font-weight:700;font-size:16px}
.top-calculator-button{width:100%}.top-calculator-button>svg,.codes-shortcut>svg{width:34px;height:34px;color:#005cef}.top-calculator-button .chevron{width:10px;height:10px}
.codes-shortcut{background:#e7f2ff;color:#0059ed;border-color:#e7f2ff;justify-content:flex-start;gap:16px}
.codes-shortcut strong,.codes-shortcut small{display:block;white-space:nowrap}.codes-shortcut strong{font-size:17px;line-height:1.25;font-weight:700}.codes-shortcut small{font-size:14px;font-weight:400;line-height:1.4;margin-top:3px}
.top-calculator-button:hover,.codes-shortcut:hover{background:#ddebff}.calculator-top.is-open>.top-calculator-button{background:#0058ee;color:#fff;border-color:#0058ee}.calculator-top.is-open>.top-calculator-button svg{color:inherit}
.nav-bar{position:static;min-height:84px}.main-menu{display:grid;grid-template-columns:repeat(5,max-content);justify-content:space-between;gap:0;width:100%;align-items:center}
.main-menu>li{position:static!important;min-width:0}.main-menu>li+li{border-left:1px solid #e1ebfa}.main-menu .nav-link{width:100%;font-size:15px;font-weight:700;line-height:1.3;white-space:nowrap;gap:12px;padding:18px 16px;min-height:66px;position:relative}
.main-menu .nav-link .nav-label{min-width:0}.main-menu .nav-link>svg:first-child{width:30px;height:30px}.main-menu .nav-link .chevron{width:10px;height:10px}
.main-menu .nav-entry:has(.sub-toggle)>.nav-link{padding-right:16px}.main-menu .has-panel.is-open>.nav-link{background:#005aef;color:#fff;border-color:#005aef}
.header .mega{top:100%;left:18px;right:18px}.header>.mega{width:auto}.top-row>.mobile-toggle{display:none}.top-row>.mobile-search{display:none}
@media(min-width:1400px){.header .mega{max-height:calc(100dvh - 220px)}.main-menu>.has-panel.is-open::before{top:calc(100% - 17px)}}
@media(min-width:1600px){.container{max-width:1960px;padding-left:42px;padding-right:42px}.top-row{grid-template-columns:310px minmax(0,1fr) 440px;gap:32px;min-height:120px}.brand img{width:305px;height:60px}.top-tools{grid-template-columns:190px 240px}.main-menu .nav-link{font-size:17px;padding-left:23px;padding-right:23px;gap:16px}.main-menu .nav-link>svg:first-child{width:34px;height:34px}.nav-bar{min-height:94px}}
@media(max-width:1399px){
 .container{padding-left:24px;padding-right:24px}.top-row{grid-template-columns:minmax(0,1fr) 44px 44px;gap:14px;padding-top:15px;min-height:0}
 .brand img{width:235px;height:48px}.brand span{font-size:10px}.top-row>.mobile-toggle,.top-row>.mobile-search{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0;grid-row:1}
 .top-row>.mobile-toggle{grid-column:2}.top-row>.mobile-search{grid-column:3}.site-search{display:none;grid-column:1/-1;padding-bottom:16px}.top-row.search-open>.site-search{display:block}.search-shell input{font-size:14px}
 .top-tools{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:16px}.top-calculator-button,.codes-shortcut{min-height:60px}.codes-shortcut{justify-content:center}
 .nav-bar{min-height:0;padding-top:0;padding-bottom:0;position:static}.main-menu{display:none;padding-top:0}.nav-bar.is-open>.main-menu{display:block}.main-menu>li{width:100%;position:relative!important;border-left:0!important;border-top:1px solid #edf2f9}.main-menu .nav-link{justify-content:flex-start;white-space:normal;font-size:14px;padding:15px 12px;min-height:56px;line-height:1.4}
 .main-menu .nav-link .chevron{margin-left:auto}.header .mega{position:static;max-height:none;overflow:visible;margin:10px 0;width:100%}.mega-grid.cols-3,.mega-grid.cols-4,.mega-grid.cols-5{grid-template-columns:repeat(2,minmax(0,1fr))}.mega-links{max-height:none;overflow:visible}
 .header>#nav-calculators{width:calc(100% - 48px);margin:0 24px 14px}.mega-col{padding:14px}.mega-col+.mega-col:before{display:none}.mega-photo{height:155px}.mega-title{min-height:95px}
}
@media(max-width:599px){
 .container{padding-left:16px;padding-right:16px}.top-row{gap:12px 8px;padding-top:12px}.brand img{width:200px;height:43px}.brand span{font-size:9px}.top-tools{gap:10px;padding-bottom:12px}.top-calculator-button,.codes-shortcut{min-height:62px;padding:10px 9px;gap:8px;font-size:13px}.top-calculator-button>svg,.codes-shortcut>svg{width:27px;height:27px}.top-calculator-button .chevron{width:9px;height:9px}.codes-shortcut strong{font-size:13px}.codes-shortcut small{font-size:11px;margin-top:1px}.main-menu .nav-link{font-size:13px;gap:10px}.main-menu .nav-link>svg:first-child{width:28px;height:28px}.main-menu .nav-label{flex:1}.header>#nav-calculators{width:calc(100% - 32px);margin:0 16px 12px}.mega-grid.cols-3,.mega-grid.cols-4,.mega-grid.cols-5{grid-template-columns:1fr}.mega-col{padding:17px}.mega-title{min-height:0}.mega-photo{height:auto;aspect-ratio:16/9}
}

.top-row>.mobile-search{background:none;border:0;padding:7px;color:#071644}

.main-menu .nav-link{text-align:left}

/* Samo paleta odobrene navigacije i postojeće informativne trake.
   Logotip i fotografije namjerno nemaju filter ni promjenu boja. */
.header{color:#111;background:#fff;border-color:#e5e5e5}
.header .brand span{color:#555}
.header .search-shell{background:#fafafa;border-color:#dedede}
.header .search-shell>svg,.header .search-shell input{color:#111}
.header .search-shell input::placeholder{color:#5b5b5b}
.header .search-shell button{background:#eff6fc;color:#111}
.header .search-shell button:hover,.header .search-shell button:focus-visible{background:#e5edf5;color:#111}
.header .search-note{color:#555}
.header .top-calculator-button,.header .codes-shortcut{color:#111;background:#f6f6f6;border-color:#e5e5e5}
.header .codes-shortcut{background:#f4f4f4}
.header .top-calculator-button>svg,.header .codes-shortcut>svg{color:#111}
.header .top-calculator-button:hover,.header .codes-shortcut:hover{background:#ececec}
.header .calculator-top.is-open>.top-calculator-button{color:#111;background:#eee;border-color:#d8d8d8}
.header .calculator-top.is-open>.top-calculator-button svg{color:#111}
.header .second-row,.header .main-menu>li{border-color:#e5e5e5}
.header .main-menu .nav-link,.header .main-menu .sub-toggle{color:#111;background:transparent;border-color:transparent;box-shadow:none}
.header .main-menu .nav-link:hover,.header .main-menu .nav-link:focus-visible{background:#f2f2f2;color:#111}
.header .main-menu .has-panel.is-open>.nav-link,.header .main-menu .has-panel.is-open>.sub-toggle{background:#eee;color:#111;border-color:#e8e8e8;box-shadow:none}
.header .service-item.is-open .service-trigger:after{background:#111}
.header .mega{background:#fff;color:#111;border-color:#e2e2e2;box-shadow:0 14px 38px #0000000d}
.header .mega-col{border-color:#e8e8e8}
.header .mega-col+.mega-col:before{background:#e6e6e6}
.header .mega-col.highlight{background:#fafafa}
.header .mega-title h2,.header .highlight h2{color:#111}
.header .mega-title p{color:#555}
.header .mega-icon,.header .highlight .mega-icon{color:#111;background:#f1f1f1}
.header .mega-links a,.header .mega-links a svg{color:#111}
.header .mega-links a:hover,.header .mega-links a:focus-visible{color:#000;background:#f2f2f2}
.header .inactive-link,.header .inactive-link small{color:#666}
.header .mobile-toggle{background:#fff;color:#111;border-color:#ddd}
.header .mobile-search{background:none;color:#111}
.header :is(a,button,input):focus-visible{outline-color:#222}
.header ::selection{background:#ddd;color:#111}
.header .mega-links{scrollbar-color:#999 #f1f1f1}
.trust{background:linear-gradient(100deg,#fafafa,#f6f6f6);color:#111}
.trust .trust-item{color:#111;border-color:#ddd}
.trust .trust-item svg{color:#111}

/* Only row proportions and the new offer CTA. Mega panels and search results are untouched. */
.header .main-menu .nav-link.offer-cta{background:#161616;color:#fff;border-color:#161616;border-radius:7px;justify-content:center;font-weight:700}
.header .main-menu .nav-link.offer-cta:hover{background:#333;color:#fff;border-color:#333}
.header .main-menu .nav-link.offer-cta:focus-visible{background:#222;color:#fff;outline:2px solid #111;outline-offset:3px;box-shadow:0 0 0 2px #fff}
@media(min-width:1400px){
 .top-row{min-height:55px}
 .brand img{width:160px;height:32px}.brand span{font-size:9px;line-height:1.2}
 .header .search-shell{min-height:34px;height:34px}.header .search-shell input{padding:5px 10px;font-size:13px;line-height:1.4}
 .header .search-shell>svg{width:19px;height:19px;margin-left:12px}.header .search-shell button{width:42px}.header .search-shell button svg{width:21px;height:21px}
 .header .search-note{font-size:8px;line-height:1.2;top:calc(100% + 1px)}
 .top-calculator-button,.codes-shortcut{min-height:40px;padding:3px 10px;border-radius:7px;gap:9px;font-size:14px}
 .top-calculator-button>svg,.codes-shortcut>svg{width:24px;height:24px}
 .codes-shortcut strong{font-size:14px;line-height:1.2}.codes-shortcut small{font-size:11px;line-height:1.2;margin-top:0}
 .nav-bar{min-height:42px}.main-menu{grid-template-columns:repeat(6,max-content)}
 .header .main-menu .nav-link{font-size:14px;line-height:1.3;min-height:36px;padding:6px 7px;gap:7px}
 .header .main-menu .nav-link>svg:first-child{width:22px;height:22px}.header .main-menu .nav-link .chevron{width:9px;height:9px}
 .header .main-menu .nav-link.offer-cta{padding-left:10px;padding-right:10px;gap:7px}
 .main-menu>.has-panel.is-open::before{top:calc(100% - 8px)}
}
@media(min-width:1600px){
 .top-row{min-height:60px}.nav-bar{min-height:47px}
 .brand img{width:175px;height:35px}.brand span{font-size:10px}
 .header .main-menu .nav-link{font-size:16px;padding-left:13px;padding-right:13px;gap:10px;min-height:39px}
 .header .main-menu .nav-link>svg:first-child{width:25px;height:25px}
 .header .main-menu .nav-link.offer-cta{padding-left:16px;padding-right:16px}
}
@media(max-width:1399px){
 .header .main-menu .offer-item{padding:10px 0}
 .header .main-menu .nav-link.offer-cta{min-height:44px;white-space:nowrap}
 .header .main-menu .nav-link.offer-cta .nav-label{flex:0 1 auto}
}

/* Discreet Glass Effect: palette/layers only. The compact sizing rules stay authoritative.
   Opaque defaults remain usable when backdrop-filter is unsupported. */
.header{color:#172331;background-color:#f4f9fd;background-image:linear-gradient(110deg,#fcfeff,#eef6fc 68%,#f8fcff);border-color:#d7e5ef;border-radius:0 0 12px 12px;box-shadow:0 5px 18px rgba(31,67,96,.06);-webkit-backdrop-filter:none;backdrop-filter:none}
.header .brand span{color:#4b5a69}
.header .second-row{background:rgba(248,252,255,.48);border-color:rgba(174,200,219,.42)}
.header .main-menu>li{border-color:rgba(174,200,219,.42)}
.header .search-shell{background-color:#f0f7fc;background-image:linear-gradient(120deg,rgba(255,255,255,.7),rgba(233,244,252,.55));border-color:rgba(163,192,214,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 2px 7px rgba(42,79,107,.025)}
.header .search-shell input,.header .search-shell>svg{color:#172331}
.header .search-shell input::placeholder,.header .search-note{color:#4b5e6e}
.header .search-shell button{background:#e8f2fa;color:#172331}
.header .search-shell button:hover,.header .search-shell button:focus-visible{background:#deedf8;color:#172331}
.header .top-calculator-button,.header .codes-shortcut{background-color:#edf5fb;background-image:linear-gradient(125deg,rgba(255,255,255,.7),rgba(225,240,251,.45));border-color:rgba(169,196,217,.48);color:#172331;box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 3px 10px rgba(34,71,99,.035)}
.header .top-calculator-button>svg,.header .codes-shortcut>svg{color:#1b2b3b}
.header .top-calculator-button:hover,.header .codes-shortcut:hover,.header .calculator-top.is-open>.top-calculator-button{background-color:#e6f1f9;color:#172331;border-color:rgba(143,177,202,.6)}
.header .calculator-top.is-open>.top-calculator-button svg{color:#172331}
.header .main-menu .nav-link{color:#172331}
.header .main-menu .nav-link:hover,.header .main-menu .nav-link:focus-visible,.header .main-menu .has-panel.is-open>.nav-link{background:linear-gradient(120deg,rgba(236,246,253,.92),rgba(219,236,248,.78));color:#172331;border-color:rgba(164,194,216,.46);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.header .main-menu .nav-link.offer-cta{background:#173b63;color:#fff;border-color:#173b63;box-shadow:0 3px 9px rgba(23,59,99,.14)}
.header .main-menu .nav-link.offer-cta:hover{background:#204f78;color:#fff;border-color:#204f78;box-shadow:0 4px 11px rgba(23,59,99,.18)}
.header .main-menu .nav-link.offer-cta:focus-visible{background:#102e4c;color:#fff;border-color:#102e4c;outline:2px solid #173b63;outline-offset:3px;box-shadow:0 0 0 2px #fff}
.header .mega{background-color:#fbfdff;background-image:linear-gradient(125deg,rgba(255,255,255,.55),rgba(240,248,254,.24));border-color:rgba(171,199,220,.55);box-shadow:0 14px 34px rgba(28,66,96,.08),inset 0 1px 0 rgba(255,255,255,.9);color:#172331;-webkit-backdrop-filter:none;backdrop-filter:none}
.header .mega-col{border-color:rgba(177,201,219,.4)}
.header .mega-col+.mega-col:before{background:rgba(171,198,218,.36)}
.header .mega-col.highlight{background:linear-gradient(140deg,rgba(234,245,253,.75),rgba(223,239,250,.46))}
.header .mega-icon,.header .highlight .mega-icon{background:linear-gradient(135deg,#eff7fd,#e3f0fa);color:#1b2b3b;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.header .mega-title h2,.header .highlight h2,.header .mega-links a,.header .mega-links a svg{color:#172331}
.header .mega-title p{color:#4b5e6e}
.header .inactive-link,.header .inactive-link small{color:#536574}
.header .mega-links a:hover,.header .mega-links a:focus-visible{background:rgba(226,240,250,.8);color:#111d2b}
.header .mega-links{scrollbar-color:#9eb8ca #f1f7fc}
.header .mobile-toggle{background:#f6fbff;color:#172331;border-color:rgba(169,196,217,.6)}
.header .mobile-search{color:#172331}
.header :is(a,button,input):focus-visible{outline-color:#173b63}
.header ::selection{background:#d5e8f6;color:#172331}
.trust{background:linear-gradient(110deg,#f7fbfe,#edf6fc 60%,#f8fcff);color:#172331}
.trust .trust-item{color:#172331;border-color:rgba(157,186,208,.44)}
.trust .trust-item svg{color:#223849}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .header{background-color:rgba(244,249,253,.84);background-image:linear-gradient(110deg,rgba(255,255,255,.86),rgba(232,244,253,.72),rgba(250,253,255,.82));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
 .header .search-shell{background-color:rgba(239,247,253,.82);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
 .header .top-calculator-button,.header .codes-shortcut{background-color:rgba(235,245,253,.78);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
 .header .mega{background-color:rgba(252,254,255,.95);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
}
@media(prefers-reduced-motion:reduce){
 .header,.header *,.header *::before,.header *::after,.trust,.trust *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Approved glass palette and fonts stay unchanged. Desktop vertical breathing room only. */
@media(min-width:1400px){
 .top-row{min-height:69px}
 .brand img{width:185px;height:40px}
 .header .search-shell{min-height:42px;height:42px}
 .header .search-shell input{padding-top:8px;padding-bottom:8px}
 .header .search-shell>svg{width:22px;height:22px}
 .header .search-shell button svg{width:24px;height:24px}
 .top-calculator-button,.codes-shortcut{min-height:50px;padding-top:6px;padding-bottom:6px}
 .top-calculator-button>svg,.codes-shortcut>svg{width:28px;height:28px}
 .nav-bar{min-height:53px}
 .header .main-menu .nav-link{min-height:45px;padding-top:10px;padding-bottom:10px}
 .header .main-menu .nav-link>svg:first-child{width:24px;height:24px}
}
@media(min-width:1600px){
 .top-row{min-height:75px}
 .brand img{width:210px;height:44px}
 .nav-bar{min-height:59px}
 .header .main-menu .nav-link{min-height:49px;padding-top:12px;padding-bottom:12px}
 .header .main-menu .nav-link>svg:first-child{width:28px;height:28px}
}

/* Version 3: common centred frame and symmetric category hit areas.
   Approved heights, type sizes, glass palette and mobile layout are unchanged. */
@media(min-width:1400px){
 .header .container{width:100%;max-width:1680px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
 .header .top-row{grid-template-columns:240px minmax(0,1fr) auto;gap:24px}
 .header .main-menu{grid-template-columns:repeat(6,max-content);justify-content:center;gap:0}
 .header .main-menu>li{padding-left:clamp(10px,calc(5vw - 60px),12px);padding-right:clamp(10px,calc(5vw - 60px),12px);border-right:1px solid transparent}
 .header .main-menu>li:first-child{border-left:1px solid transparent}
 .header .main-menu .nav-link{justify-content:center;text-align:center}
 .header .mega{left:50%;right:auto;width:min(1680px,calc(100% - 32px));transform:translateX(-50%)}
}
@media(min-width:1600px){
 .header .main-menu>li{padding-left:clamp(6px,calc(7.5vw - 114px),12px);padding-right:clamp(6px,calc(7.5vw - 114px),12px)}
}

/* Variant 2: only the lower category labels and their SVGs. */
.header .main-menu>li>.nav-link{font-size:12px;gap:8px}
.header .main-menu>li>.nav-link:not(.offer-cta),
.header .main-menu>li>.nav-link:not(.offer-cta):hover,
.header .main-menu>li>.nav-link:not(.offer-cta):focus-visible,
.header .main-menu>.has-panel.is-open>.nav-link:not(.offer-cta){color:#12345a}
.header .main-menu>li>.nav-link.offer-cta{color:#fff}
.header .main-menu>li>.nav-link>svg.nav-category-icon{display:block;width:24px;height:24px;min-width:24px;max-width:24px;flex:0 0 24px;aspect-ratio:1;color:inherit;stroke:currentColor}
.header .main-menu>li>.nav-link>svg.chevron{display:block;width:10px;height:10px;min-width:10px;max-width:10px;flex:0 0 10px;aspect-ratio:1;color:inherit;stroke:currentColor}
@media(min-width:1400px){.header .main-menu>li>.nav-link,.header .main-menu>li>.nav-link.offer-cta{min-height:46px}}
@media(min-width:1600px){.header .main-menu>li>.nav-link{font-size:14px}.header .main-menu>li>.nav-link,.header .main-menu>li>.nav-link.offer-cta{min-height:54px}}
@media(max-width:1399px){.header .main-menu>li>.nav-link,.header .main-menu>li>.nav-link.offer-cta{min-height:62px}}
@media(max-width:599px){.header .main-menu>li>.nav-link{font-size:11px}.header .main-menu>li>.nav-link,.header .main-menu>li>.nav-link.offer-cta{min-height:60px}}

/* Original brand alignment; final logo dimensions are defined below. */
.header .brand{transform:none;align-self:center}
.header .brand img{height:auto}
@media(min-width:1400px){.header .top-row{grid-template-columns:180px minmax(0,1fr) auto;align-items:center}}
/* Reserve the prior mobile brand row height while the graphic becomes smaller. */
@media(min-width:600px) and (max-width:1399px){.header .brand{min-height:63px}}
@media(max-width:599px){.header .brand{min-height:56px}}

/* Keep the layout viewport stable when vertical content/menus change height. */
html{scrollbar-gutter:stable both-edges}
@supports not (scrollbar-gutter:stable both-edges){html{overflow-y:scroll}}

/* Split only the buying category destination from its panel control. */
.header .main-menu>.buy-split{display:flex;align-items:center}
.header .main-menu>.buy-split>.buy-category-link{width:auto;flex:1;min-width:0;border-radius:9px 0 0 9px;padding-right:8px}
.header .buy-panel-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;padding:0;border:1px solid transparent;border-radius:0 9px 9px 0;background:transparent;color:#12345a;align-self:stretch;font:inherit}
.header .buy-panel-toggle svg{width:10px;height:10px;flex:none}
.header .buy-split.is-open>.buy-panel-toggle,.header .buy-panel-toggle:hover,.header .buy-panel-toggle:focus-visible{background:linear-gradient(120deg,rgba(236,246,253,.92),rgba(219,236,248,.78));border-color:rgba(164,194,216,.46)}
.header .buy-panel-toggle:focus-visible{outline:2px solid #12345a;outline-offset:2px}
@media(max-width:1399px){.header .main-menu>.buy-split{flex-wrap:wrap}.header .main-menu>.buy-split>.buy-category-link{flex:1 1 calc(100% - 36px);width:calc(100% - 36px)}.header .buy-panel-toggle{flex-basis:36px;width:36px;min-height:60px}.header .buy-split>.mega{flex-basis:100%}}

.header{position:relative;z-index:1000}

/* Klima24 v309: consistent smaller search placeholder and typed text across all pages. */
.site-search .search-shell input#preview-query, .header .search-shell input#preview-query {font-size:13px!important;}
.site-search .search-shell input#preview-query::placeholder, .header .search-shell input#preview-query::placeholder {font-size:13px!important;}

/* V22 logo: match Documents reference using real dimensions, not scaled layout boxes. */
.header .top-row>.brand{transform:none;align-self:center}
.header .top-row>.brand img{width:176.25px;max-width:none;height:auto}
.header .top-row>.brand span{font-size:7.5px;line-height:11.25px;margin-left:1.5px}
@media(min-width:1400px){
 .header .top-row>.brand{width:max-content;justify-self:end}
 .header .top-row>.brand img{width:112.5px}
 .header .top-row>.brand span{line-height:9px}
}
@media(min-width:600px) and (max-width:1399px){.header .top-row>.brand{padding-top:7.875px}}
@media(max-width:599px){
 .header .top-row>.brand{padding-top:12.08px}
 .header .top-row>.brand img{width:150px}
 .header .top-row>.brand span{font-size:6.75px;line-height:9.75px}
}
@media(min-width:1400px) and (max-width:1599px){.header .top-row>.brand span{font-size:6.75px;line-height:7.5px}}
.header .top-row>.brand span{height:11.25px;flex-shrink:0}
@media(min-width:1400px){.header .top-row>.brand span{height:9px}}
@media(min-width:1400px) and (max-width:1599px){.header .top-row>.brand span{height:7.5px}}
@media(max-width:599px){.header .top-row>.brand span{height:9.75px}}

/* Croatian sentence case: preserve authored text and technical names inside mega menus.
   The legacy template capitalizes every word in headings and paragraphs globally. */
.header .mega,.header .mega *{text-transform:none}

/* Independent touch/keyboard target over the existing mobile chevron. No new graphic. */
.header .k24-v22-panel-toggle{display:none}
@media(max-width:1399px){
 .header .main-menu>.has-panel{position:relative}
 .header .main-menu>.has-panel>.k24-v22-panel-toggle{display:block;position:absolute;right:0;top:0;width:44px;height:62px;padding:0;margin:0;border:0;background:transparent;color:inherit;z-index:2;cursor:pointer}
 .header .main-menu>.has-panel>.k24-v22-panel-toggle:focus-visible{outline:2px solid #12345a;outline-offset:-4px;border-radius:9px}
}
@media(max-width:599px){.header .main-menu>.has-panel>.k24-v22-panel-toggle{height:60px}}

/* Approved 320 px fit: preserve header height, type and icon sizes. */
@media(max-width:320px){.header .top-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.header .top-tools>.calculator-top,.header .top-tools>.codes-shortcut{min-width:0}.header .top-tools .top-calculator-button,.header .top-tools .codes-shortcut{padding:6px 2px;gap:2px;min-height:62px;height:62px}.header .codes-shortcut>span{min-width:0}.header .top-tools .codes-shortcut strong{white-space:normal}.header .top-tools .codes-shortcut small{white-space:nowrap}}
