/* Zakupci Social 1.5.6 – only explicitly marked real estate grids. */
.zk-tok-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:8px 0 12px;color:#38515e;font-size:13px;font-weight:650}
.zk-tok-toolbar[hidden]{display:none!important}.zk-tok-modes{display:flex;gap:3px;border:1px solid #d5e2e8;background:#fff;border-radius:10px;padding:3px}.zk-tok-modes button{font:inherit;line-height:1.2;font-size:12px;font-weight:650;padding:8px 10px;min-height:34px;border:0;border-radius:7px;background:transparent;color:#38515e;cursor:pointer}.zk-tok-modes button[aria-pressed=true]{background:#117e98;color:white}
[data-tok-grid].zk-tok-lista{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
[data-tok-grid].zk-tok-lista .zkd-offer-card,[data-tok-grid].zk-tok-lista .offer-card,[data-tok-grid].zk-tok-lista .zs-listing{display:grid!important;grid-template-columns:minmax(0,35%) minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:stretch;min-width:0;position:relative;overflow:hidden;max-width:none!important}
[data-tok-grid].zk-tok-lista .zkd-offer-photo,[data-tok-grid].zk-tok-lista .offer-photo,[data-tok-grid].zk-tok-lista .zs-listing>img{height:100%!important;min-height:128px;max-height:240px;aspect-ratio:auto!important;grid-column:1;grid-row:1;object-fit:cover;width:100%!important}
[data-tok-grid].zk-tok-lista .zkd-offer-photo img,[data-tok-grid].zk-tok-lista .offer-photo img{width:100%!important;height:100%!important;object-fit:cover;min-height:128px;aspect-ratio:auto!important}
[data-tok-grid].zk-tok-lista .zkd-offer-body,[data-tok-grid].zk-tok-lista .offer-body,[data-tok-grid].zk-tok-lista .zs-listing>div{grid-column:2;grid-row:1;min-width:0;padding:10px!important}
[data-tok-grid].zk-tok-lista .zkd-favorite,[data-tok-grid].zk-tok-lista .favorite{left:6px!important;right:auto!important;top:6px!important;position:absolute!important}
[data-tok-grid].zk-tok-lista .offer-match{width:100%;min-width:0}
/* Tok je sastavni deo rezultata, bez dialoga, fiksiranja ili zaključavanja stranice. */
[data-tok-grid].zk-tok-source-hidden{display:none!important}
.zk-tok-inline{width:100%;max-width:660px;min-width:0;margin:0 auto 16px;display:grid;gap:14px;color:#233640;}
.zk-tok-inline *{box-sizing:border-box}.zk-tok-inline [hidden]{display:none!important}
.zk-tok-slide{position:relative;min-width:0;overflow:hidden;background:#fff;border:1px solid #dce6eb;border-radius:15px;box-shadow:0 2px 9px #183e4a0b;scroll-margin-top:100px;margin:0!important;}
.zk-tok-media{position:relative;overflow:hidden;background:#e8eff2;aspect-ratio:4/3;min-height:0;}
.zk-tok-photos{width:100%;height:100%;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;}
.zk-tok-photos::-webkit-scrollbar{display:none}.zk-tok-photos>img{flex:0 0 100%;width:100%;max-width:100%;height:100%;object-fit:cover;scroll-snap-align:start;scroll-snap-stop:always;margin:0;border:0;}
.zk-tok-photo-count{position:absolute;top:10px;right:10px;background:#172c38b8;color:#fff;padding:5px 9px;border-radius:20px;font-size:12px;pointer-events:none;line-height:1.2;}
.zk-tok-photo-prev,.zk-tok-photo-next{position:absolute;top:50%;transform:translateY(-50%);background:#172c38a8;color:white;border:1px solid #fff5;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:22px;padding:0;cursor:pointer;line-height:1;}.zk-tok-photo-prev{left:9px}.zk-tok-photo-next{right:9px}.zk-tok-photo-prev:disabled,.zk-tok-photo-next:disabled{opacity:.28;cursor:default;}
.zk-tok-info{padding:11px 13px 9px;display:grid;gap:5px;min-width:0;background:#fff;color:#233640;}
.zk-tok-kind{font-size:11px;color:#617782;line-height:1.2}.zk-tok-price{color:#117e98;font-size:clamp(22px,5vw,29px);font-weight:800;line-height:1.15;}.zk-tok-title{color:#233640!important;font-size:clamp(16px,4vw,20px);font-weight:750;line-height:1.25;text-decoration:none!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}.zk-tok-meta,.zk-tok-total{font-size:13px;color:#617782;margin:0!important;line-height:1.3;overflow-wrap:anywhere;}.zk-tok-total{font-weight:650;}.zk-tok-detail{color:#117e98!important;font-size:13px;font-weight:650;text-decoration:none!important;justify-self:start;padding:4px 0;}
.zk-tok-actions{display:flex;gap:6px;padding:8px 12px 11px;border-top:1px solid #e5edf1;background:#fff;}.zk-tok-action{flex:1;min-width:0;display:flex;justify-content:center;align-items:center;gap:4px;border:1px solid #dce6eb;background:#fff;color:#355463!important;border-radius:9px;font:inherit;font-weight:650;font-size:12px;text-align:center;text-decoration:none!important;min-height:42px;padding:6px 4px;line-height:1.15;cursor:pointer;box-shadow:none!important;position:static!important;}.zk-tok-action[aria-pressed=true]{color:#b52437!important;background:#fff2f3;border-color:#e7c0c6;}.zk-tok-contact{background:#117e98;border-color:#117e98;color:#fff!important;}
.zk-tok-end{display:grid;justify-items:center;gap:8px;padding:12px;color:#617782;text-align:center;font-size:13px;}.zk-tok-end p{margin:0;}.zk-tok-more{font:inherit;font-weight:650;background:#fff;color:#117e98;border:1px solid #d5e2e8;border-radius:9px;padding:10px 18px;cursor:pointer;}
@media(max-width:760px){.zk-tok-inline{gap:10px;max-width:100%;}.zk-tok-slide{border-radius:12px;scroll-margin-top:85px;}.zk-tok-media{aspect-ratio:auto;height:clamp(230px,48svh,440px);}.zk-tok-info{padding:9px 11px 7px;gap:4px;}.zk-tok-actions{padding:7px 10px 10px;}.zk-tok-toolbar{font-size:12px;}.zk-tok-modes button{padding:7px 8px;}.zk-tok-action{font-size:11px;}.zk-tok-photo-prev,.zk-tok-photo-next{width:32px;height:32px;}}
/* Story ostaje deo dokumenta u ovom prikazu; ne prekriva kartice. */
body:has(.zk-tok-inline) .stories-bar{position:relative!important;top:auto!important;z-index:auto!important;}

/* 1.5.8: jedan oglas po visini dostupnog prostora, bez popupa. */
.zk-tok-toolbar-active{position:sticky;top:var(--zk-tok-top,0px);z-index:12;background:#f3f6f8;margin:0!important;padding:4px 0;scroll-margin-top:var(--zk-tok-top,0px);}
.zk-tok-inline{display:block;position:relative;max-width:760px;height:var(--zk-tok-h,70vh);height:var(--zk-tok-h,70dvh);overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none;margin:0 auto;outline-offset:2px;}
.zk-tok-inline::-webkit-scrollbar{display:none}
.zk-tok-slide{height:100%;min-height:0;scroll-snap-align:start;scroll-snap-stop:always;scroll-margin:0;isolation:isolate;border:0;border-radius:14px;box-shadow:none;}
.zk-tok-media{position:absolute;inset:0;height:100%!important;aspect-ratio:auto;background:#dce8ed;}
.zk-tok-photos>img{object-fit:cover;object-position:center;}
.zk-tok-slide::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(10,28,39,.88) 0%,rgba(10,28,39,.55) 22%,transparent 53%);pointer-events:none;z-index:1;}
.zk-tok-info{position:absolute;bottom:0;left:0;right:76px;padding:12px 10px 18px 16px;background:none;color:white;z-index:2;gap:5px;pointer-events:none;}
.zk-tok-info a{pointer-events:auto;}.zk-tok-kind,.zk-tok-meta,.zk-tok-total{color:#fff;text-shadow:0 1px 4px #0008;}.zk-tok-price{color:#fff;font-size:clamp(24px,5.5vw,34px);text-shadow:0 1px 5px #0009;}.zk-tok-title,.zk-tok-detail{color:#fff!important;text-shadow:0 1px 4px #0009;}.zk-tok-detail{font-size:13px;text-decoration:underline!important;}
.zk-tok-actions{position:absolute;right:8px;bottom:18px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:9px;padding:0;width:58px;background:none;border:0;}
.zk-tok-action{background:transparent!important;border:0!important;color:#fff!important;display:flex;flex-direction:column;flex:none;min-height:44px;width:58px;gap:3px;padding:0;font-size:10px;text-shadow:0 1px 4px #0009;}
.zk-tok-action svg{display:block;width:42px;height:42px;padding:10px;background:rgba(15,35,45,.56);border:1px solid #ffffff66;border-radius:50%;filter:drop-shadow(0 1px 3px #0004);}
.zk-tok-action[aria-pressed=true]{color:#fff!important;}.zk-tok-action[aria-pressed=true] svg{background:#ce2031;fill:#fff;stroke:#fff;}.zk-tok-contact svg{background:#117e98;}
.zk-tok-photo-count{z-index:2;top:10px;right:10px;}.zk-tok-photo-prev,.zk-tok-photo-next{z-index:2;top:42%;}.zk-tok-end{min-height:100%;scroll-snap-align:start;justify-content:center;align-content:center;}
body:has(.zk-tok-inline) .stories-bar{display:none!important;}
@media(max-width:760px){.zk-tok-toolbar-active{padding:3px 5px;justify-content:center;}.zk-tok-toolbar-active>span{display:none;}.zk-tok-toolbar-active .zk-tok-modes{border:0;background:transparent;}.zk-tok-inline{max-width:none;width:100%;}.zk-tok-slide{border-radius:0;}.zk-tok-info{padding-bottom:16px;}.zk-tok-action svg{width:39px;height:39px;padding:8px;}.zk-tok-photo-prev,.zk-tok-photo-next{display:none!important;}}
@media(max-height:450px){.zk-tok-actions{gap:3px;bottom:6px;}.zk-tok-action{min-height:32px;}.zk-tok-action svg{width:28px;height:28px;padding:5px;}.zk-tok-info{padding-bottom:6px;gap:2px;}.zk-tok-price{font-size:21px;}}

/* 1.5.9 – prikaz rezultata u jedinom skrolabilnom delu stranice. */
html.zk-tok-active,body.zk-tok-active{overflow:hidden!important;overscroll-behavior:none!important;height:100%!important;scroll-behavior:auto!important;}
body.zk-tok-active{padding:0!important;margin:0!important;}
body.zk-tok-active>[data-zkd-header],body.zk-tok-active>.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;margin:0!important;transform:none!important;z-index:550!important;}
body.zk-tok-active>.stories-bar,body.zk-tok-active>.site-footer,body.zk-tok-active>.zkd-site-footer,body.zk-tok-active>.flash-wrap,body.zk-tok-active>[data-section-navigation]{display:none!important;}
body.zk-tok-active>.zkd-mobile-nav{position:fixed!important;bottom:0!important;top:auto!important;left:0!important;right:0!important;z-index:850!important;transform:none!important;}
body.zk-tok-active>main.zk-tok-route{position:fixed!important;top:var(--zk-tok-top,66px)!important;left:0!important;right:0!important;bottom:auto!important;height:var(--zk-tok-available,calc(100dvh - 130px))!important;min-height:0!important;max-height:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:flex!important;flex-flow:column nowrap!important;gap:0!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;background:var(--surface,#f3f6f8);}
.zk-tok-route>.zk-tok-route{display:contents!important;}
.zk-tok-route>:not(.zk-tok-route):not(.zk-tok-toolbar-active):not(.zk-tok-inline){display:none!important;}
.zk-tok-route>.zk-tok-toolbar-active{position:relative!important;top:auto!important;left:auto!important;right:auto!important;flex:0 0 auto;width:100%;max-width:760px;min-height:40px;margin:0!important;padding:3px 9px!important;justify-content:center;z-index:3;background:#fff;border-bottom:1px solid #e1eaee;}
.zk-tok-toolbar-active>span{display:none!important;}.zk-tok-toolbar-active .zk-tok-modes{border:0;background:transparent;padding:0;gap:4px;}
.zk-tok-route>.zk-tok-inline{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;max-width:760px;width:100%!important;margin:0!important;padding:0!important;gap:0!important;scroll-padding:0!important;scroll-snap-type:y mandatory;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;}
.zk-tok-inline .zk-tok-slide{height:100%!important;min-height:100%!important;max-height:100%!important;scroll-snap-align:start;scroll-snap-stop:always;scroll-margin:0!important;box-sizing:border-box;}
.zk-tok-inline .zk-tok-end{height:100%;min-height:100%;scroll-snap-stop:always;}
.zk-tok-inline .zk-tok-photos{touch-action:pan-x pan-y;}.zk-tok-inline{touch-action:pan-x pan-y!important;}
.zk-tok-action svg{background:transparent;border:none;padding:6px;filter:drop-shadow(0 1px 4px #000b);}.zk-tok-contact svg{background:rgba(17,126,152,.85);border-radius:50%;padding:9px;}
.zk-tok-action[aria-pressed=true] svg{background:#ce2031;}.zk-tok-action{font-size:11px;}.zk-tok-info{padding-bottom:20px;}
@media(max-width:760px){.zk-tok-route>.zk-tok-inline{max-width:none;}.zk-tok-inline .zk-tok-slide{border-radius:0!important;}.zk-tok-inline .zk-tok-info{padding:12px 8px 16px 12px;}.zk-tok-inline .zk-tok-actions{right:5px;bottom:16px;}.zk-tok-inline .zk-tok-photo-count{top:8px;right:9px;}}
@media(max-height:450px){.zk-tok-inline .zk-tok-info{padding-bottom:5px;}.zk-tok-inline .zk-tok-actions{bottom:5px;}.zk-tok-action{font-size:9px;}}
