/*
 * Novogradnja – RAČUNAR ≥ 1280 px (agent N1, direktor 17. 11. 2026, 08:02–08:15). Učitava se sa media="(min-width: 1280px)" i sva pravila su
 * unutar istog @media – telefon i tablet (< 1280) se NE mijenjaju (.nbn blokovi su ispod 1280 sakriveni pravilom u stranici).
 * Nacrti: Novogradnja.dc.html, NovogradnjaEkskluziva.dc.html, VrhGalerija.dc.html, TrakaSekcija.dc.html (traka i kocke kao na oglasu nekretnine).
 * JEDAN redoslijed (pravilo direktora) za oba tipa: naziv → galerija (bez kolaža) → [ekskluziva: interaktivna zgrada] → lokacija → lobi · enterijer ·
 * park · pogledi · parking → gradnja → projekat → investitor → plaćanje → cijene i dostupnost → kako kupiti → pitanja → upit.
 * Stranica jedinice (unit/details) – odjeljak 9.
 * Brend: tekst #161e2d, sporedni #5a6170, linije #ece4d8, bronza #996a37 (dugmad; hover #85592c), #ad7c46 linije/ikonice, šampanj #f8efe3 → #e9d4b8,
 * topla #faf6f1, maslinasta #5b6b4e/#e7ebdf samo male oznake. Animacije samo transform/opacity; prefers-reduced-motion → bez pokreta.
 */
@media (min-width: 1280px) {

/* ================= 0. zajedničko ================= */
html body .nbn-ey2 { display: block; margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #85592c; }
html body .nbn-h3 { margin: 28px 0 14px; font-size: 19px; line-height: 1.3; font-weight: 800; color: #161e2d; }
html body .nbn-h3 small { font-size: 14px; font-weight: 600; color: #5a6170; }
html body .nbn-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: #5a6170; }
html body .nbn-note a { color: #85592c; font-weight: 700; }
html body .nbn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid #996a37;
    background: #996a37; color: #fff !important; font-size: 14.5px; font-weight: 700; text-decoration: none !important; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
html body .nbn-btn:hover { background: #85592c; border-color: #85592c; box-shadow: 0 10px 22px rgba(153, 106, 55, .26); transform: translateY(-1px); }
html body .nbn-btn:focus-visible, html body .nbn-chip:focus-visible, html body .nbn-gal button:focus-visible, html body .nbn-gal a:focus-visible,
html body .nbn-zg button:focus-visible, html body .nbn-tb a:focus-visible, html body .nbn-nav a:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; }
html body .nbn-chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #ece4d8; border-radius: 999px; background: #fff;
    font-size: 14px; font-weight: 600; color: #161e2d; text-decoration: none; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
html body .nbn-chip:hover { border-color: #ad7c46; color: #161e2d; }
html body .nbn-chip[aria-pressed="true"] { background: #996a37; border-color: #996a37; color: #fff; }
html body .nbn-st { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
html body .nbn-st--available { background: #e7ebdf; color: #4a5840; }
html body .nbn-st--reserved { background: #f6eee4; color: #85592c; }
html body .nbn-st--sold { background: #f1ede7; color: #5a6170; }

/* ================= 1. raspored stranice: redovi vrha (preko obje kolone), pa sekcije jednim redom ================= */
html body .nbp.nbe[data-nbr-p]::before { grid-row: 1 / 9; }
html body .nbp.nbe[data-nbr-p] > .nbe-nums,
html body .nbp.nbe[data-nbr-p] > #galerija,
html body .nbe-snav { display: none !important; }
html body .nbp.nbe[data-nbr-p] > .nbn-strip { grid-column: 2 / 5; grid-row: 3; }
html body .nbp.nbe[data-nbr-p] > .nbn-gal { grid-column: 2 / 5; grid-row: 4; }
html body .nbp.nbe[data-nbr-p] > .nbe-fresh { grid-row: 5; }
html body .nbp.nbe[data-nbr-p] > .nbn-nav { grid-column: 1 / -1; grid-row: 6; }
html body .nbp.nbe[data-nbr-p] > .nbn-zg { grid-column: 2 / 5; grid-row: 7; }
html body .nbp.nbe[data-nbr-p] > .nbr-yc { grid-row: 8 / span 40; }
html body .nbp.nbe[data-nbr-p] > #lokacija { order: 10; }
html body .nbp.nbe[data-nbr-p] > #zgrada { order: 20; }
html body .nbp.nbe[data-nbr-p] > #oprema { order: 22; }
html body .nbp.nbe[data-nbr-p] > #gradnja { order: 25; }
html body .nbp.nbe[data-nbr-p] > .nbe-aboutsec { order: 40; }
html body .nbp.nbe[data-nbr-p] > #ko-gradi { order: 50; }
html body .nbp.nbe[data-nbr-p] > #placanje { order: 60; }
html body .nbp.nbe[data-nbr-p] > #cijene, html body .nbp.nbe[data-nbr-p] > #slobodno { order: 70; }
html body .nbp.nbe[data-nbr-p] > .nbs-sold { order: 75; }
html body .nbp.nbe[data-nbr-p] > section[aria-labelledby="nbe-steps"] { order: 80; }
html body .nbp.nbe[data-nbr-p] > #pitanja { order: 90; }
html body .nbp.nbe[data-nbr-p] > #upit { order: 100; }
html body .nbp.nbe[data-nbr-p] > [id] { scroll-margin-top: calc(var(--mdh-hh, 57px) + 84px); }

/* ================= 2. vrh: naziv bez slike (slika je ispod, u punoj proporciji) ================= */
html body .nbp.nbe[data-nbr-p] > .nbe-hero { min-height: 0; margin-top: 24px; padding: 0; border-radius: 0; background: none; display: block; overflow: visible; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__img,
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__shade,
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__vis { display: none !important; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__top { position: static; display: flex; justify-content: flex-start; gap: 8px; margin: 0 0 14px; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-pill { background: #faf6f1; color: #5a6170; border: 1px solid #ece4d8; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-pill--ex { background: #996a37; color: #fff; border-color: #996a37; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-wrap.nbe-hero__body {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 10px; align-items: end; width: auto; max-width: none;
    margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none;
}
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__body > * { grid-column: 1; margin: 0; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__h1 { font-size: 48px; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__cta { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
html body .nbp.nbe[data-nbr-p] > .nbe-hero:has(~ .nbn-gal) .nbe-hero__links { grid-column: 2; justify-content: flex-end; }

/* ================= 3. traka ključnih podataka – isti izgled kao oglas nekretnine (okp-strip) ================= */
html body .nbn-strip {
    list-style: none; display: grid !important; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; margin: 24px 0 0; padding: 0;
    border: 1px solid #ece4d8; border-radius: 20px; background: #faf6f1; overflow: hidden;
}
html body .nbn-strip li { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 84px; padding: 16px 22px; }
html body .nbn-strip li + li::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: #e6dccd; }
html body .nbn-strip i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #ad7c46; box-shadow: 0 0 0 1px #efe4d4; }
html body .nbn-strip li > span { display: flex; flex-direction: column; justify-content: center; min-width: 0; flex: 1; }
html body .nbn-strip b { display: block; font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: #161e2d; text-wrap: balance; }
html body .nbn-strip small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: #5a6170; text-wrap: balance; }
html body .nbn-strip__bar { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: #efe7da; overflow: hidden; }
html body .nbn-strip__bar > span { display: block; height: 100%; border-radius: 999px; background: #5b6b4e; }

/* ================= 4. galerija bez kolaža (VrhGalerija): velika fotografija u punoj proporciji, sličice ispod, desno lokacija + video ================= */
html body .nbn-gal { display: block !important; margin-top: 20px; }
html body .nbn-gal__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
html body .nbn-gal__tab {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #ece4d8; border-radius: 999px; background: #fff;
    font: inherit; font-size: 14px; font-weight: 700; color: #161e2d; text-decoration: none; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
html body .nbn-gal__tab svg { color: #ad7c46; }
html body .nbn-gal__tab span { color: #5a6170; font-weight: 600; }
html body .nbn-gal__tab:hover { border-color: #ad7c46; color: #161e2d; }
html body .nbn-gal__tab.is-on { background: #f8efe3; border-color: #996a37; color: #85592c; }
html body .nbn-gal__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
html body .nbn-gal.has-side .nbn-gal__main { grid-template-columns: minmax(0, 1fr) 300px; }
html body .nbn-gal__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
html body .nbn-gal__stage { position: relative; aspect-ratio: 3 / 2; border-radius: 18px; background: #faf6f1; border: 1px solid #ece4d8; overflow: hidden; }
html body .nbn-gal:not(.has-side) .nbn-gal__stage { aspect-ratio: 16 / 9; }
html body .nbn-gal__stage picture, html body .nbn-gal__stage > img { display: contents; }
html body .nbn-gal__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
html body .nbn-gal__stage iframe, html body .nbn-gal__stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #faf6f1; }
html body .nbn-gal__vis { position: absolute; left: 16px; top: 16px; }
html body .nbn-gal__nav {
    position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: #fff; color: #161e2d;
    display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(22, 30, 45, .14); transition: transform .2s ease;
}
html body .nbn-gal__nav:hover { transform: scale(1.05); }
html body .nbn-gal__nav.is-prev { left: 16px; }
html body .nbn-gal__nav.is-next { right: 16px; }
html body .nbn-gal__count { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #161e2d; font-size: 13px; font-weight: 700; }
html body .nbn-gal__full {
    position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
    background: #fff; color: #161e2d; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(22, 30, 45, .12);
}
html body .nbn-gal__stage.is-video .nbn-gal__nav, html body .nbn-gal__stage.is-video .nbn-gal__count, html body .nbn-gal__stage.is-video .nbn-gal__full,
html body .nbn-gal__stage.is-video .nbn-gal__vis { display: none; }
html body .nbn-gal__thumbs { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
html body .nbn-gal__thumbs li.is-x { display: none; }
html body .nbn-gal__thumbs button { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #faf6f1; cursor: pointer; }
html body .nbn-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
html body .nbn-gal__thumbs button:hover img { transform: scale(1.04); }
html body .nbn-gal__thumbs button[aria-current="true"] { box-shadow: inset 0 0 0 3px #996a37; }
html body .nbn-gal__thumbs button[aria-current="true"] img { opacity: .92; }
html body .nbn-gal__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(250, 246, 241, .82); color: #161e2d; font-size: 15px; font-weight: 800; }
html body .nbn-gal__side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
html body .nbn-gal__card {
    display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #ece4d8; border-radius: 16px; background: #fff; text-align: left;
    font: inherit; color: #161e2d; text-decoration: none; cursor: pointer; transition: border-color .15s ease, box-shadow .2s ease;
}
html body .nbn-gal__card:hover { border-color: #ad7c46; box-shadow: 0 10px 24px rgba(22, 30, 45, .07); color: #161e2d; }
html body .nbn-gal__card.is-map { flex: 1 1 auto; }
html body .nbn-gal__card.is-map .nbn-gal__media { flex: 1 1 auto; min-height: 160px; }
html body .nbn-gal__card .nbn-ey2 { margin: 0; }
html body .nbn-gal__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #faf6f1; }
html body .nbn-gal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html body .nbn-gal__media .nbe-lmap__home { position: absolute; }
html body .nbn-gal__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: #996a37; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(22, 30, 45, .18); }
html body .nbn-gal__lk { font-size: 14px; font-weight: 700; color: #85592c; }

/* ================= 5. traka sekcija – isti izgled kao oglas (ikonica + naziv, bronzana linija ispod aktivne), ljepljiva; desno cijena i dugme ================= */
html body .nbn-nav {
    display: block !important; position: sticky; top: var(--mdh-hh, 57px); z-index: 60; margin: 28px 0 0; background: rgba(255, 255, 255, .97);
    border-top: 1px solid #ece4d8; border-bottom: 1px solid #ece4d8; box-shadow: 0 10px 24px -20px rgba(22, 30, 45, .18);
}
html body .nbn-nav__in { display: flex; align-items: center; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 0 0; }
html body .nbn-nav ul { list-style: none; display: flex; flex: 1 1 auto; min-width: 0; gap: 2px; margin: 0 0 0 -14px; padding: 0; overflow-x: auto; scrollbar-width: none; }
html body .nbn-nav a[data-nbn-nav-a] {
    position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 62px; padding: 0 14px; font-size: 14.5px; font-weight: 600; line-height: 1.2;
    color: #5a6170; text-decoration: none; white-space: nowrap; transition: color .15s;
}
html body .nbn-nav a[data-nbn-nav-a] svg { flex: none; color: #ad7c46; transition: transform .2s; }
html body .nbn-nav a[data-nbn-nav-a]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: #ad7c46; transform: scaleX(0); transition: transform .2s; }
html body .nbn-nav a[data-nbn-nav-a]:hover { color: #161e2d; }
html body .nbn-nav a[data-nbn-nav-a]:hover svg { transform: translateY(-1px); }
html body .nbn-nav a[aria-current="true"] { color: #161e2d; font-weight: 700; }
html body .nbn-nav a[aria-current="true"] svg { color: #996a37; }
html body .nbn-nav a[aria-current="true"]::after { transform: scaleX(1); }
html body .nbn-nav__cta { flex: none; display: flex; align-items: center; gap: 14px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
html body .nbn-nav.is-stuck .nbn-nav__cta { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
html body .nbn-nav__pr { font-size: 16px; font-weight: 800; color: #161e2d; white-space: nowrap; }
html body .nbn-nav__cta .nbn-btn { min-height: 44px; }
html body .nbn-nav__prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
html body .nbn-nav__prog i { display: block; width: 100%; height: 100%; background: #ad7c46; opacity: .55; transform-origin: 0 50%; transform: scaleX(0); }

/* ================= 6. ekskluziva – interaktivna zgrada (3 koraka na jednom ekranu) ================= */
html body .nbn-zg { display: block !important; margin-top: 48px; padding: 36px 40px 32px; border-radius: 24px; background: #faf6f1; border: 1px solid #ece4d8; }
html body .nbn-zg__hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
html body .nbn-zg__hd .nbe-h2 { margin-bottom: 20px; }
html body .nbn-zg__steps { list-style: none; display: flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 0; font-size: 13.5px; font-weight: 700; color: #5a6170; }
html body .nbn-zg__steps li { display: inline-flex; align-items: center; gap: 8px; }
html body .nbn-zg__steps li + li::before { content: ""; width: 24px; height: 2px; background: #e2d7c6; margin-right: 2px; }
html body .nbn-zg__steps i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: #e2d7c6; color: #5a6170; }
html body .nbn-zg__steps li.is-on { color: #161e2d; }
html body .nbn-zg__steps li.is-on i { background: #996a37; color: #fff; }
html body .nbn-zg__steps li.is-on + li.is-on::before { background: #ad7c46; }
html body .nbn-zg__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
html body .nbn-zg__fac, html body .nbn-zg__plan { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #ece4d8; min-width: 0; }
html body .nbn-zg__img, html body .nbn-zg__pimg { position: relative; border-radius: 12px; overflow: hidden; background: #faf6f1; }
html body .nbn-zg__img img, html body .nbn-zg__pimg img { display: block; width: 100%; height: auto; }
html body .nbn-zg__img svg, html body .nbn-zg__pimg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
html body .nbn-zg__img polygon { fill: rgba(255, 255, 255, 0); stroke: rgba(255, 255, 255, 0); stroke-width: .004; cursor: pointer; transition: fill .15s ease; }
html body .nbn-zg__img polygon.is-free:hover, html body .nbn-zg__img polygon.is-hover { fill: rgba(91, 107, 78, .38); stroke: #fff; }
html body .nbn-zg__img polygon.is-none:hover { fill: rgba(90, 97, 112, .3); stroke: #fff; }
html body .nbn-zg__img polygon.is-on { fill: rgba(153, 106, 55, .5); stroke: #fff; }
html body .nbn-zg__floors { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; }
html body .nbn-zg__floors button {
    display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #ece4d8; border-radius: 10px;
    background: #fff; font: inherit; font-size: 13.5px; color: #161e2d; text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
html body .nbn-zg__floors button:hover { border-color: #ad7c46; }
html body .nbn-zg__floors button[aria-pressed="true"] { border-color: #996a37; background: #f8efe3; box-shadow: inset 0 0 0 1px #996a37; }
html body .nbn-zg__floors span { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
html body .nbn-zg__floors span.is-free { color: #4a5840; }
html body .nbn-zg__floors span.is-none { color: #5a6170; font-weight: 600; }
html body .nbn-zg__ph { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; }
html body .nbn-zg__ph .nbn-h3 { margin: 0; }
html body .nbn-zg__leg { display: flex; gap: 6px; }
html body .nbn-zg__pimg { border: 1px dashed #d9cfc1; min-height: 200px; }
html body .nbn-zg__pimg polygon { stroke-width: .004; cursor: pointer; transition: fill .15s ease; }
html body .nbn-zg__pimg polygon.is-available { fill: rgba(91, 107, 78, .22); stroke: #5b6b4e; }
html body .nbn-zg__pimg polygon.is-reserved { fill: rgba(173, 124, 70, .22); stroke: #ad7c46; }
html body .nbn-zg__pimg polygon.is-sold { fill: rgba(90, 97, 112, .22); stroke: #9aa0aa; cursor: default; }
html body .nbn-zg__pimg polygon:hover, html body .nbn-zg__pimg polygon.is-hover { fill-opacity: 1; stroke-width: .006; }
html body .nbn-zg__pimg polygon.is-available:hover, html body .nbn-zg__pimg polygon.is-available.is-hover { fill: rgba(91, 107, 78, .4); }
html body .nbn-zg__pimg polygon.is-on { fill: rgba(153, 106, 55, .45) !important; stroke: #996a37; stroke-width: .008; }
html body .nbn-zg__noplan { margin: 0; padding: 48px 24px; text-align: center; font-size: 14px; color: #5a6170; }
html body .nbn-zg__units { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
html body .nbn-zg__units button {
    display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid #ece4d8; background: #fff;
    font: inherit; font-size: 13px; font-weight: 700; color: #161e2d; cursor: pointer;
}
html body .nbn-zg__units button span { font-size: 11.5px; font-weight: 600; color: #5a6170; }
html body .nbn-zg__units button.is-available { border-color: #c9d1bd; }
html body .nbn-zg__units button.is-sold { color: #5a6170; }
html body .nbn-zg__units button[aria-pressed="true"] { border-color: #996a37; background: #f8efe3; box-shadow: inset 0 0 0 1px #996a37; }
html body .nbn-zg__card {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 92px; margin-top: 14px; padding: 16px 18px; border-radius: 16px;
    background: linear-gradient(135deg, #f8efe3, #e9d4b8); border: 1px solid #ad7c46;
}
html body .nbn-zg__card b { display: block; font-size: 17px; line-height: 1.35; font-weight: 800; }
html body .nbn-zg__card span { display: block; margin-top: 2px; font-size: 13.5px; color: #5a6170; }
html body .nbn-zg__card .nbn-ey2 { margin: 0 0 4px; }
html body .nbn-zg__card .nbn-note { margin: 0; }

/* ================= 7. sekcije ================= */
/* lokacija – velika mapa preko cijele kolone, udaljenosti ispod u 3 kolone */
html body .nbp.nbe[data-nbr-p] #lokacija .nbe-loc { display: flex; flex-direction: column; gap: 18px; }
html body .nbp.nbe[data-nbr-p] #lokacija .nbe-loc > div { width: 100%; }
html body .nbp.nbe[data-nbr-p] #lokacija .nbe-lmap { aspect-ratio: auto; height: 420px; }
html body .nbp.nbe[data-nbr-p] #lokacija .nbe-lmap__ph { width: 100%; height: 100%; object-fit: cover; }
html body .nbp.nbe[data-nbr-p] #lokacija .nbe-near3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: visible; }

/* gradnja */
html body .nbp.nbe[data-nbr-p] > .nbn-cons { display: block !important; }
html body .nbn-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 4px 0 0; padding: 0; }
html body .nbn-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 6px; text-align: center; }
html body .nbn-steps li + li::before { content: ""; position: absolute; top: 14px; right: 50%; left: -50%; height: 3px; background: #e2d7c6; }
html body .nbn-steps li.is-done + li::before, html body .nbn-steps li.is-done + li.is-now::before { background: #5b6b4e; }
html body .nbn-steps i {
    position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800;
    background: #e2d7c6; color: #5a6170;
}
html body .nbn-steps li.is-done i { background: #5b6b4e; color: #fff; }
html body .nbn-steps li.is-now i { background: #996a37; color: #fff; box-shadow: 0 0 0 5px rgba(173, 124, 70, .22); }
html body .nbn-steps b { font-size: 14px; line-height: 1.3; color: #161e2d; }
html body .nbn-steps span { font-size: 13px; line-height: 1.35; color: #5a6170; }
html body .nbn-steps em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #85592c; }
html body .nbn-months { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
html body .nbn-months__m { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: #161e2d; text-align: left; text-decoration: none; cursor: pointer; }
html body div.nbn-months__m { cursor: default; }
html body .nbn-months__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #efe7da; }
html body .nbn-months__img img { width: 100%; height: 100%; object-fit: cover; }
html body .nbn-months b { font-size: 14px; }
html body .nbn-months__m > span:not(.nbn-months__img):not(.nbp-sr) { font-size: 13px; line-height: 1.4; color: #5a6170; }
html body .nbp.nbe[data-nbr-p]:has(#gradnja .nbn-months) #placanje .nbe-now { display: none !important; }   /* „Gdje smo sada“ → Gradnja (svi mjeseci) */
html body .nbp.nbe[data-nbr-p]:has(#gradnja .nbn-months) #placanje .nbe-2c { grid-template-columns: minmax(0, 1fr); }
html body .nbp.nbe[data-nbr-p]:has(#gradnja .nbn-months) #placanje .nbe-paym { flex-direction: row; align-items: stretch; gap: 16px; }
html body .nbp.nbe[data-nbr-p]:has(#gradnja .nbn-months) #placanje .nbe-paym > .nbe-paym__c { flex: 1 1 0; min-width: 0; }

/* šta nudi zgrada – mozaik: prva kartica velika (lobi), ostale u mreži */
html body .nbp.nbe[data-nbr-p] #zgrada .nbe-fg.nbe-fg { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* o projektu – tabela */
html body .nbn-about { display: table !important; width: 100%; margin: 18px 0 20px; border-collapse: collapse; font-size: 14.5px; border: 1px solid #ece4d8; border-radius: 16px; overflow: hidden; background: #fff; }
html body .nbn-about tr + tr { border-top: 1px solid #f1ebe2; }
html body .nbn-about th { width: 42%; padding: 12px 18px; font-weight: 600; color: #5a6170; text-align: left; vertical-align: top; }
html body .nbn-about td { padding: 12px 18px; font-weight: 700; color: #161e2d; }

/* cijene i dostupnost – tabela umjesto kartica (stare kartice ostaju za telefon) */
/* sažetak „Na zgradi / Po vrsti i cijeni“ zamjenjuju interaktivna zgrada + tabela (samo kad oboje postoji; standardni: tabela) – kartice slobodnih
   jedinica standardnog projekta (skica, plafon, „Upit za ovaj stan“) i cijena garaže OSTAJU (direktor 08:24: nijedan podatak ne nestaje) */
html body .nbp.nbe[data-nbr-p]:has(.nbn-zg):has(.nbn-tb) #cijene .nbe-pcard,
html body .nbp.nbe[data-nbr-p]:has(.nbn-tb) #slobodno .nbe-pcard { display: none !important; }
html body .nbp.nbe[data-nbr-p] #slobodno .nbn-tb + .nbs-free, html body .nbp.nbe[data-nbr-p] #slobodno .nbn-tb ~ .nbs-free { margin-top: 28px; }
html body .nbn-tb { display: block !important; }
html body .nbn-tb__hd { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 14px; }
html body .nbn-tb__hd .nbn-h3 { margin: 0; }
html body .nbn-chips { display: flex; gap: 6px; flex-wrap: wrap; }
html body .nbn-tb__scroll { max-height: 640px; overflow: auto; border: 1px solid #ece4d8; border-radius: 16px; background: #fff; }
html body .nbn-tb__t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
html body .nbn-tb__t td:nth-child(5) { min-width: 120px; max-width: 200px; line-height: 1.35; }
html body .nbn-tb__t td:nth-child(4) { white-space: nowrap; }
html body .nbn-tb__t thead th { position: sticky; top: 0; z-index: 1; padding: 11px 9px; background: #faf6f1; border-bottom: 1px solid #ece4d8; text-align: left; font-size: 12px; font-weight: 700; color: #5a6170; white-space: nowrap; }
html body .nbn-tb__t td, html body .nbn-tb__t tbody th { padding: 11px 9px; border-bottom: 1px solid #f1ebe2; text-align: left; vertical-align: middle; }
html body .nbn-tb__t tbody th { font-weight: 800; white-space: nowrap; }
html body .nbn-tb__t tbody th a { color: #85592c; text-decoration: none; }
html body .nbn-tb__t tbody th a:hover { text-decoration: underline; }
html body .nbn-tb__t tbody tr:hover { background: #fdfbf8; }
html body .nbn-tb__t tbody tr.is-sold { color: #5a6170; }
html body .nbn-tb__t .is-n { text-align: right; white-space: nowrap; }
html body .nbn-tb__t tbody tr[hidden] { display: none; }
html body .nbn-tb__more { margin-top: 12px; }
html body .nbn-tb__more > summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border: 1px solid #ece4d8; border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; }
html body .nbn-tb__more[open] > summary { margin-bottom: 10px; }

/* pitanja i brza pitanja */
html body .nbp.nbe[data-nbr-p] #pitanja.nbn, html body .nbn-faq { display: block !important; }
html body .nbn-ask { display: block !important; margin-top: 24px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid #ece4d8; }
html body .nbn-ask .nbn-note { margin: 0 0 12px; }
html body .nbn-ask ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }

/* ================= 9. STRANICA JEDINICE ================= */
html body .ms-unit-page:has(.nbn-u) .ms-article__grid,
html body .ms-unit-page:has(.nbn-u) .nbr-uf,
html body .ms-unit-page:has(.nbn-u) .ms-article__meta { display: none !important; }
html body .ms-unit-page:has(.nbn-u) .ms-article__head { padding: 28px 0 0 !important; background: #fff !important; }
html body .ms-unit-page:has(.nbn-u) .ms-article__head .container, html body .ms-unit-page .nbn-u-wrap, html body .ms-unit-page:has(.nbn-u) > .ms-sec > .container { max-width: 1240px; padding-left: 0; padding-right: 0; }
html body .ms-unit-page:has(.nbn-u) .ms-article__h1 { margin: 10px 0 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: #161e2d; }
html body .ms-unit-page:has(.nbn-u) > .ms-sec { padding: 40px 0 0 !important; background: #fff !important; }
html body .nbn-u--dno { padding: 44px 0 80px; }
html body .nbn-u { display: block !important; max-width: 1240px; margin: 0 auto; padding: 0; color: #161e2d; }
html body .nbn-u__h2 { display: flex; align-items: center; }
html body .nbn-u__crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; font-size: 13.5px; color: #5a6170; }
html body .nbn-u__crumbs a { color: #85592c; text-decoration: none; font-weight: 600; }
html body .nbn-u__crumbs a:hover { text-decoration: underline; }
html body .nbn-u__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
html body .nbn-u__h1 { margin: 6px 0 0; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
html body .nbn-u__sub { margin: 8px 0 0; font-size: 15px; color: #5a6170; }
html body .nbn-u__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 24px; align-items: start; }
html body .nbn-u__plan { position: relative; border: 1px solid #ece4d8; border-radius: 20px; background: #fff; padding: 20px; }
html body .nbn-u__plan figure { margin: 0; }
html body .nbn-u__plan img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; }
html body .nbn-u__plan figcaption { margin-top: 10px; font-size: 13px; color: #5a6170; }
html body .nbn-u__ptabs { display: flex; gap: 6px; margin: 0 0 12px; }
html body .nbn-u__noplan { padding: 72px 24px; text-align: center; color: #5a6170; border: 1px dashed #d9cfc1; border-radius: 14px; background: #faf6f1; }
html body .nbn-u__side { position: sticky; top: calc(var(--mdh-hh, 57px) + 20px); display: flex; flex-direction: column; gap: 14px; }
html body .nbn-u__pcard { padding: 24px; border: 1px solid #ece4d8; border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(22, 30, 45, .08); }
html body .nbn-u__price { margin: 6px 0 0; font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
html body .nbn-u__pm { margin: 4px 0 0; font-size: 14px; color: #5a6170; }
html body .nbn-u__acts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
html body .nbn-u__acts .nbn-btn { width: 100%; }
html body .nbn-btn--ol { background: #fff; color: #85592c !important; }
html body .nbn-btn--ol:hover { background: #f8efe3; color: #85592c !important; }
html body .nbn-u__vat { margin: 10px 0 0; font-size: 12.5px; color: #5a6170; }
html body .nbn-u__proj { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid #ece4d8; border-radius: 16px; background: #faf6f1; color: #161e2d; text-decoration: none; }
html body .nbn-u__proj img { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
html body .nbn-u__proj small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #85592c; }
html body .nbn-u__proj b { display: block; font-size: 16px; }
html body .nbn-u__proj em { display: block; font-style: normal; font-size: 13px; color: #5a6170; }
html body .nbn-u__proj:hover { border-color: #ad7c46; color: #161e2d; }
html body .nbn-u .nbn-strip { margin-top: 20px; }
html body .nbn-u__sec { margin-top: 44px; }
html body .nbn-u__sec > .nbe-ey, html body .nbn-u__sec > .nbn-ey2 { margin-bottom: 10px; }
html body .nbn-u__h2 { margin: 0 0 18px; font-size: 30px; line-height: 1.15; font-weight: 300; letter-spacing: -.02em; }
html body .nbn-u__rooms { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; }
html body .nbn-u__rooms li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1ebe2; font-size: 14.5px; }
html body .nbn-u__rooms li b { white-space: nowrap; }
html body .nbn-u__pay { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid #ece4d8; border-radius: 16px; overflow: hidden; background: #fff; }
html body .nbn-u__pay th, html body .nbn-u__pay td { padding: 12px 16px; border-top: 1px solid #f1ebe2; text-align: left; }
html body .nbn-u__pay td { text-align: right; font-weight: 700; }
html body .nbn-u__pay tr:first-child th, html body .nbn-u__pay tr:first-child td { border-top: 0; }
html body .nbn-u__same { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
html body .nbn-u__same a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid #ece4d8; border-radius: 16px; background: #fff; color: #161e2d; text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease; }
html body .nbn-u__same a:hover { border-color: #ad7c46; box-shadow: 0 10px 24px rgba(22, 30, 45, .07); transform: translateY(-2px); color: #161e2d; }
html body .nbn-u__same b { font-size: 16px; }
html body .nbn-u__same span { font-size: 13px; color: #5a6170; }
html body .nbn-u__same strong { margin-top: 6px; font-size: 16px; }
html body .nbn-u .ms-unit-page__calc { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    html body .nbn-btn, html body .nbn-gal__nav, html body .nbn-gal__thumbs img, html body .nbn-nav a[data-nbn-nav-a]::after, html body .nbn-nav a svg,
    html body .nbn-nav__cta, html body .nbn-u__same a { transition: none; }
    html body .nbn-btn:hover, html body .nbn-gal__nav:hover, html body .nbn-u__same a:hover { transform: none; }
}
}

/* naslov sekcije sa ikonicom (direktor 17. 11. 2026, 08:21 – kao oglas nekretnine): krug sa bronzanom linijskom ikonicom iz trake sekcija */
@media (min-width: 1280px) {
html body .nbn-hi { display: inline-grid !important; place-items: center; flex: none; width: 44px; height: 44px; margin-right: 14px; border-radius: 50%; background: #faf6f1; color: #ad7c46; box-shadow: 0 0 0 1px #efe4d4; vertical-align: middle; position: relative; top: -3px; }
html body .nbe-sec--warm .nbn-hi, html body .nbe-sec--prem .nbn-hi, html body .nbn-zg .nbn-hi, html body .nbn-cons .nbn-hi { background: #fff; }
html body .nbn-hi svg { width: 22px; height: 22px; }
html body .nbp.nbe[data-nbr-p] .nbe-aboutsec .nbe-about2__h { display: flex; align-items: center; font-size: 36px; line-height: 1.1; font-weight: 300; letter-spacing: -.03em; }
html body .nbp.nbe[data-nbr-p] .nbe-aboutsec .nbe-about2__h .nbn-hi { top: 0; }
html body .nbn-h2x { display: flex !important; align-items: center; margin: 0 0 24px; font-size: 36px; line-height: 1.1; font-weight: 300; letter-spacing: -.03em; color: #161e2d; }
html body .nbn-h2x .nbn-hi { top: 0; }
html body .nbe-hero__links:has(.nbe-hero__lk[href="#galerija"]) .nbe-hero__lk[href="#galerija"],
html body .nbe-hero__links .nbe-hero__sep { display: none; }
}
