/* Monly — detalj oglasa, Horizon raspored: mozaik gore, pa dvije kolone. */
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/inter-var-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/inter-var-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  --ink: #0c0d0f;
  --text: #3a3e45;
  --muted: #6b7079;
  --line: #e6e7e9;
  --soft: #f4f4f5;
  --green: #15803d;
  --r: 4px;
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: Inter Tight, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3, b, strong { color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- zaglavlje ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 58px; }
.top-in .mid { justify-self: center; font-weight: 600; letter-spacing: -.02em; font-size: 15px; }
.top-in .mid i { display: inline-block; width: 6px; height: 6px; margin-left: 3px; background: var(--ink); border-radius: 1px; vertical-align: 1px; }
.nav { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top-right { display: flex; gap: 8px; justify-self: end; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 1px solid var(--ink); border-radius: var(--r); background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.btn.ghost { background: #fff; color: var(--ink); }
.btn.small { height: 30px; padding: 0 11px; font-size: 12px; }
.burger { display: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.burger span { display: block; width: 14px; height: 1px; margin: 3px auto; background: var(--ink); }

/* Telefon: sačuvaj sve akcije u jednom redu bez horizontalnog prelivanja. */
@media (max-width: 720px) {
  .top-in { gap: 8px; }
  .top-right { gap: 4px; }
  .top-right .btn { padding: 0 10px; }
  .top-right .saved-link { padding: 0 8px; }
}
@media (max-width: 380px) {
  .top-right .saved-link { display: none; }
}

.crumb { font-size: 11.5px; color: var(--muted); padding: 16px 0 0; }
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--text); }

/* ---------- mozaik fotografija ---------- */
.og-top { padding-top: 14px; }
.mosaic { position: relative; display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 6px; height: 440px; }
.mosaic.is-single { grid-template-columns: 1fr; }
.mosaic.is-empty {
  height: 220px; place-items: center; background: var(--soft); border-radius: var(--r);
  color: var(--muted); font-size: 12px;
}
.mosaic-main, .mosaic-side button {
  padding: 0; border: 0; overflow: hidden; background: var(--soft); border-radius: var(--r);
}
.mosaic-main { grid-row: span 2; }
.mosaic-main img, .mosaic-side button img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mosaic-main:hover img, .mosaic-side button:hover img { transform: scale(1.015); }
.mosaic-side { grid-row: span 2; display: grid; grid-auto-rows: 1fr; gap: 6px; min-height: 0; }
/* „Sve fotografije“ je svjetlo staklo, bez crne podloge — ne odvlači pogled s fotografija. */
.mosaic-all {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px; border: 1px solid rgba(255,255,255,.62); border-radius: 999px;
  background: rgba(255,255,255,.88); color: #0c0d0f; font-size: 11.5px; font-weight: 600;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(12,13,15,.12);
}
.mosaic-all b { color: #0c0d0f; font-weight: 600; font-variant-numeric: tabular-nums; }
.mosaic-all:hover { background: #fff; }

.og-actions { display: flex; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.action { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-size: 12px; color: var(--text); }
.action:hover { color: var(--ink); }
.action[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.action[aria-pressed="true"] span { color: var(--ink); }
.og-actions .back { margin-left: auto; color: var(--muted); }
.og-actions .back:hover { color: var(--ink); }

/* ---------- dvije kolone ---------- */
.detail { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 26px 0 40px; align-items: start; }
.side { position: sticky; top: 82px; display: grid; gap: 22px; }
.side-box { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.price { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.side-link {
  display: inline-block; margin-top: 10px; font-size: 12px; color: var(--text);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.side-link:hover { color: var(--ink); }
.side-label { display: block; margin-bottom: 9px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.seller { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 10px; }
.seller-row { display: flex; align-items: center; gap: 10px; }
.seller-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
a.seller-top { text-decoration: none; color: inherit; border-radius: 4px; }
a.seller-top:hover b { text-decoration: underline; text-underline-offset: 3px; }
a.seller-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.seller-ava {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  background: var(--soft); color: var(--ink); font-size: 12px; font-weight: 600; overflow: hidden; flex: none;
}
.seller-ava img { width: 100%; height: 100%; object-fit: cover; }
.seller-top b { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.seller-top small { display: block; font-size: 11px; color: var(--muted); }
.tick { display: inline-block; width: 11px; height: 11px; border-radius: 999px; background: var(--green); position: relative; }
.tick::after { content: ""; position: absolute; left: 3px; top: 2.5px; width: 4px; height: 2px; border-left: 1.2px solid #fff; border-bottom: 1.2px solid #fff; transform: rotate(-45deg); }
.seller-row .btn { margin-left: auto; }
.seller-phone { display: inline-block; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.seller-phone:hover { color: var(--ink); }

.side-nav { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }
.side-nav a:hover { color: var(--ink); }
.side-nav a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.side-nav a[aria-current="true"]::before { content: "— "; }

.main-col { min-width: 0; }
.og-loc { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--text); }
.og-loc svg { color: var(--ink); }

.og-numbers { display: flex; flex-wrap: wrap; gap: 36px; margin: 18px 0 0; padding: 18px 0 20px; list-style: none; border-bottom: 1px solid var(--line); }
.og-numbers b { display: block; font-size: 26px; line-height: 1.05; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.og-numbers span { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.og-sec { padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 76px; }
.og-sec:last-child { border-bottom: 0; }
.og-sec h2 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: none; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--soft); }
.specs dt { color: var(--muted); font-size: 12.5px; }
.specs dd { margin: 0; font-size: 12.5px; color: var(--ink); text-align: right; }

.desc { font-size: 13.5px; line-height: 1.7; color: var(--text); }
.desc p { margin: 0 0 12px; }
.desc.is-clamped { max-height: 118px; overflow: hidden; position: relative; }
.desc.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.read-more { margin-top: 4px; padding: 0; border: 0; background: none; font-size: 12.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); }

.equip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.equip li { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 5px 0; }
.equip li span { color: var(--text); }
.equip li b { font-weight: 500; color: var(--ink); }

/* procjena */
.est-head { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.est-scale { position: relative; height: 4px; margin: 8px 0 10px; background: var(--soft); border-radius: 999px; }
.est-bar { position: absolute; inset: 0; background: linear-gradient(90deg, #d9dadc, var(--ink)); border-radius: 999px; opacity: .55; }
.est-dot { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 999px; background: var(--ink); border: 2px solid #fff; }
.est-nums b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.est-nums small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.est-note { margin: 12px 0 0; font-size: 13px; color: var(--text); }
.est-facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 3px; font-size: 11.5px; color: var(--muted); }
.est-empty { margin: 0; font-size: 13px; color: var(--muted); }

/* mapa */
.map-frame {
  position: relative; height: 320px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--soft); display: grid; place-items: center; overflow: hidden;
  color: var(--muted); font-size: 12px;
}
.map-frame.is-empty { padding: 20px; text-align: center; }
.map-pin { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Pop-up je zaobljen oblak sa repom prema oznaci, ne kocka. */
/* Mali providan list na mapi, umjesto bijelog pravougaonika. */
.map-popup .maplibregl-popup-content {
  padding: 9px 12px; border-radius: 13px; border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(12,13,15,.16);
}
.map-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: rgba(255,255,255,.88); }
.map-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: rgba(255,255,255,.88); }
.map-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: rgba(255,255,255,.88); }
.map-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: rgba(255,255,255,.88); }
.map-popup .maplibregl-popup-close-button { right: 4px; top: 2px; width: 20px; height: 20px; font-size: 15px; color: var(--muted); background: none; }
.pop { display: grid; gap: 2px; padding-right: 12px; }
.pop-deal { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pop b { font-size: 14px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pop small { font-size: 11.5px; color: var(--text); line-height: 1.4; }
.pop-approx { color: var(--muted); }

/* pregled fotografija */
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 60px 1fr 60px;
  align-items: center; gap: 8px; padding: 28px; background: rgba(12,13,15,.95);
}
.lightbox[hidden] { display: none; }
.lightbox img { grid-column: 2; margin: 0 auto; max-width: 100%; max-height: 86vh; object-fit: contain; position: relative; z-index: 1; }
.lb-close, .lb-prev, .lb-next {
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.06);
  color: #fff; width: 40px; height: 40px; display: grid; place-items: center; font-size: 20px; line-height: 1;
}
.lb-close { position: absolute; top: 18px; right: 20px; z-index: 3; }
.lb-prev { grid-column: 1; justify-self: center; }
.lb-next { grid-column: 3; justify-self: center; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.14); }
.lb-count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 11.5px; font-variant-numeric: tabular-nums; }

/* upit i srodni oglasi */
.inquiry { border-top: 1px solid var(--line); padding: 34px 0 42px; }
.inquiry-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 48px; align-items: start; }
.inquiry h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.03em; }
.inquiry p { margin: 0; color: var(--muted); font-size: 13px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; }
.field.wide { grid-column: 1 / -1; }
label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); font: inherit; font-size: 13px;
}
input:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
.note { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--text); }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }

.related { border-top: 1px solid var(--line); padding: 30px 0 48px; }
.related h2 { margin: 0 0 16px; font-size: 15px; letter-spacing: -.02em; }
.related h2 a { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 8px; }
.lgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lcard { display: grid; gap: 6px; }
.lcard-img { aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--soft); overflow: hidden; }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; }
.lcard-img .empty { display: grid; place-items: center; height: 100%; font-size: 11.5px; color: var(--muted); }
.lcard-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.lcard-row b { font-size: 15px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.deal { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.lcard-title { font-size: 12.5px; color: var(--text); }
.lcard-meta, .lcard-loc { font-size: 11.5px; color: var(--muted); }

.miss { padding: 90px 0; text-align: center; }
.miss-title { margin: 0 0 8px; font-size: 22px; line-height: 1.2; font-weight: 600; color: var(--ink); }
.miss h1 { font-size: 26px; font-weight: 700; letter-spacing: -.028em; margin: 0 0 8px; }
.miss p { margin: 0 0 18px; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 11.5px; color: var(--muted); }
.foot-in { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .side { position: static; order: 2; }
  .main-col { order: 1; }
  .mosaic { height: 360px; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 22px; }
  .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; left: 16px; right: 16px; top: 58px; flex-direction: column; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
  .nav.open a { padding: 8px 6px; }
  .burger { display: block; }
  .top-in { grid-template-columns: auto 1fr auto; }
  .top-in .mid { justify-self: start; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .mosaic { height: 260px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .mosaic-side { grid-template-rows: 1fr; }
  .mosaic-side button:nth-child(2) { display: none; }
  .og-actions { gap: 14px; flex-wrap: wrap; }
  .og-actions .back { margin-left: 0; width: 100%; order: 9; }
  .price { font-size: 26px; }
  .og-numbers { gap: 22px; }
  .og-numbers b { font-size: 22px; }
  .specs, .equip { grid-template-columns: 1fr; }
  .map-frame { height: 260px; }
  .lgrid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}
/* ---------- Telefon: jedna kolona, fotografije preko cijele širine ---------- */
@media (max-width: 720px) {
  body { font-size: 13px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 54px; }
  .top-in .mid { font-size: 14px; }
  .crumb { padding-top: 12px; font-size: 11px; line-height: 1.5; }
  .og-top { padding-top: 10px; }
  .mosaic { grid-template-columns: 1fr; height: auto; aspect-ratio: 4 / 3; }
  .mosaic-side { display: none; }
  .mosaic-main { height: 100%; }
  .mosaic-all { right: 8px; bottom: 8px; height: 28px; font-size: 11px; }
  .og-actions { gap: 10px 16px; padding: 10px 0; }
  .og-actions .back { order: 9; width: 100%; margin-left: 0; padding-top: 9px; border-top: 1px solid var(--line); }
  .price { font-size: 24px; }
  .price small { font-size: 11px; }
  .side-link { font-size: 11.5px; }
  .og-loc { font-size: 12px; }
  .og-numbers { gap: 24px; padding: 14px 0 16px; }
  .og-numbers b { font-size: 21px; }
  .og-numbers span { margin-top: 4px; font-size: 10px; }
  .og-sec { padding: 20px 0; }
  .og-sec h2 { margin-bottom: 10px; font-size: 12px; }
  .desc { font-size: 13px; }
  .specs dt, .specs dd { font-size: 12px; }
  .side { gap: 18px; }
  .map-frame { height: 240px; }
  .lightbox { grid-template-columns: 34px 1fr 34px; gap: 4px; padding: 12px; }
  .lb-close, .lb-prev, .lb-next { width: 34px; height: 34px; font-size: 16px; }
  .lb-close { top: 10px; right: 10px; }
  .lb-count { bottom: 10px; }
  .inquiry-grid { gap: 18px; }
  .form { grid-template-columns: 1fr; }
  .related { padding: 24px 0 36px; }
  .related h2 a { min-height: 44px; display: inline-flex; align-items: center; }
}
/* ---------- Starije Monly stranice (agenti, tržište, predlozi, profil) ----------
   One koriste .topnav zaglavlje iz prvobitnog listića; ove klase ga drže
   identičnim novom .top zaglavlju, pa se ništa ne raspada ni sa keširanim HTML-om. */
.topnav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.topnav .navwrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 58px; }
.topnav .brand { justify-self: center; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.topnav .brand .dot { display: inline-block; width: 6px; height: 6px; background: var(--ink); border-radius: 1px; }
.topnav .nav-l, .topnav .nav-r { display: flex; align-items: center; gap: 18px; font-size: 12.5px; color: var(--muted); }
.topnav .nav-r { justify-self: end; gap: 8px; }
.topnav .nav-l a:hover, .topnav .nav-r a:hover { color: var(--ink); }
.topnav .btn-line, .topnav .btn-ink { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.topnav .btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.topnav .btn-ink { background: var(--ink); color: #fff; }
.topnav .burger { display: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.topnav .burger span { display: block; width: 14px; height: 1px; margin: 3px auto; background: var(--ink); }
.crumbs, .crumb { font-size: 11.5px; color: var(--muted); padding: 16px 0 0; }
.crumbs a:hover, .crumb a:hover { color: var(--ink); }
.crumbs span + a, .crumbs a + span { margin-left: 4px; }

@media (max-width: 960px) {
  .topnav .navwrap { grid-template-columns: auto 1fr auto; }
  .topnav .nav-l { display: none; }
  .topnav .nav-r { display: none; }
  .topnav .burger { display: block; justify-self: end; }
  .topnav .brand { justify-self: start; }
  /* Otvoren meni (raspored, redovi, boje) drži isključivo monly-nav.css. */
}

/* ---------- Telefon: zone dodira najmanje 36 px ---------- */
@media (max-width: 720px) {
  .nav a, .nav.open a, .side-link, .btn, .og-actions .back, .link, .on-dark-link, .acard-top b a, .crumbs a, .mosaic-all { min-height: 44px; display: inline-flex; align-items: center; }
  .nav.open a { padding: 9px 8px; }
  .burger, .topnav .burger { width: 36px; height: 36px; min-width: 36px; }
  .mosaic-all { height: 36px; padding: 0 12px; }
  .side-link { padding: 6px 0; }
  .og-actions .back { padding-top: 10px; }
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { min-height: 36px; }
}

/* Telefon: logo, mrvice i podnožje — pune zone dodira. */
@media (max-width: 720px) {
  .brand, .mid, .foot a, .crumb a, .crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Telefon: radnje uz oglas, sadržaj oglasa i kontrole mape — pune zone dodira. */
@media (max-width: 720px) {
  .action { min-height: 44px; padding: 8px 0; }
  .side-nav { gap: 2px; }
  .side-nav a { min-height: 36px; display: flex; align-items: center; }
  .maplibregl-ctrl-group button { width: 36px !important; height: 36px !important; }
  .map-popup .maplibregl-popup-close-button { width: 36px !important; height: 36px !important; font-size: 20px; }
}

/* v16 — historija cijene na oglasu */
.price-hist { display: grid; gap: 10px; }
.hist-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hist-top b { font-size: 19px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hist-top span { font-size: 12.5px; color: var(--text); }
.hist-bars { display: flex; align-items: flex-end; gap: 6px; height: 104px; padding-top: 8px; border-bottom: 1px solid var(--line); }
.hist-bars span { flex: 1; min-width: 6px; background: #d7d9dc; border-radius: 2px 2px 0 0; }
.hist-bars span[aria-current="true"] { background: var(--ink); }
.hist-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hist-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 720px) {
  .hist-bars { height: 86px; gap: 4px; }
  .hist-top b { font-size: 17px; }
  .hist-top span { font-size: 12px; }
  .hist-foot { font-size: 9.5px; letter-spacing: .03em; text-transform: none; }
}

