/* ==========================================================================
   Oglasi Crna Gora v2 — plavo-zlatna paleta ("Od oglasa do dogovora")
   Mobile-first. Tokeni: tekst #142E46, akcija #2458D3, hover #193FA3,
   zlato #F5C95F, neutralna #F3F5F8.
   Fontovi: Manrope (naslovi), DM Sans (tekst) — SIL Open Font License.
   ========================================================================== */

@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/font-0.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/font-1.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/font-2.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/font-3.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/font-4.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/font-5.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/font-6.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/font-7.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/font-8.woff2) format('woff2')}

:root{
  --ink:#142e46;--ink-soft:#4d6173;--muted:#5a6b7b;
  --blue:#2458d3;--blue-hover:#193fa3;--blue-tint:#eaf0fc;
  --gold:#f5c95f;--gold-hover:#edbd43;
  --paper:#fff;--mist:#f3f5f8;--line:#e0e6ed;--line-strong:#cbd6e2;
  --danger:#b3261e;--ok:#17653a;
  --radius:14px;--radius-sm:9px;
  --shadow:0 14px 44px #142e4614;
  --f-head:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --gutter:16px;
}

/* ---- Baza (prepisuje stari stil) ---- */
html{scroll-behavior:smooth;scroll-padding-top:90px;-webkit-text-size-adjust:100%}
body.ogc{display:block;min-height:100%;margin:0;background:var(--paper);color:var(--ink);font-family:var(--f-body);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
body.ogc.ogc-menu-open{overflow:hidden}
body.ogc *,body.ogc *::before,body.ogc *::after{box-sizing:border-box}
body.ogc h1,body.ogc h2,body.ogc h3,body.ogc h4{font-family:var(--f-head);color:var(--ink);margin:0;line-height:1.2}
body.ogc p{margin:0}
body.ogc a{color:inherit;text-decoration:none}
body.ogc img{display:block;max-width:100%;height:auto}
body.ogc button,body.ogc input,body.ogc select,body.ogc textarea{font:inherit;color:inherit}
body.ogc button{cursor:pointer}
body.ogc ul,body.ogc ol{margin:0;padding:0;list-style:none}
body.ogc svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
[hidden]{display:none!important}
.ogc-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.ogc-wrap{width:min(1240px,calc(100% - 2*var(--gutter)));margin-inline:auto}
.ogc-wrap-narrow{width:min(760px,calc(100% - 2*var(--gutter)))}
.ogc-main{display:block;padding:0;min-height:50vh;background:var(--paper)}
.ogc-skip{position:fixed;top:-80px;left:16px;z-index:200;background:var(--gold);color:var(--ink);padding:12px 16px;border-radius:8px;font-weight:700}
.ogc-skip:focus{top:10px}
.ogc-muted{color:var(--muted);font-size:14px}
.ogc-dot{color:var(--blue)}
.ogc-hide-sm{display:none!important}

/* Fokus: tastatura dobija diskretan okvir izvan polja; polja unutra nemaju oštar okvir. */
body.ogc a:focus-visible,body.ogc button:focus-visible,body.ogc summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:6px}
body.ogc input:focus,body.ogc select:focus,body.ogc textarea:focus,
body.ogc input:focus-visible,body.ogc select:focus-visible,body.ogc textarea:focus-visible{outline:none}
body.ogc .ogc-btn:focus-visible{outline-offset:3px;border-radius:var(--radius-sm)}

/* ---- Dugmad ---- */
.ogc-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:var(--radius-sm);font-weight:700;font-size:15px;line-height:1.2;text-align:center;cursor:pointer;transition:background .2s,transform .2s,border-color .2s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.ogc-btn:hover{transform:translateY(-1px)}
.ogc-btn-primary{background:var(--blue);color:#fff!important}
.ogc-btn-primary:hover{background:var(--blue-hover)}
.ogc-btn-gold{background:var(--gold);color:var(--ink)!important}
.ogc-btn-gold:hover{background:var(--gold-hover)}
.ogc-btn-outline{background:var(--paper);border-color:var(--line-strong);color:var(--ink)}
.ogc-btn-outline:hover{border-color:var(--ink)}
.ogc-btn-block{display:flex;width:100%}
.ogc-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.ogc-text-link{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:14px;min-height:44px;color:var(--ink)}
.ogc-text-link svg{width:16px;height:16px;transition:transform .2s}
.ogc-text-link:hover svg{transform:translateX(3px)}
.ogc-eyebrow{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.ogc-eyebrow-sm{font-size:11px;color:var(--ink-soft);letter-spacing:.16em}
.ogc-live-dot{width:7px;height:7px;border-radius:50%;background:var(--blue)}

/* ---- Zaglavlje ---- */
.ogc-header{position:sticky;top:0;z-index:90;background:#ffffffee;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);box-shadow:none;width:100%}
.ogc-header-inner{display:flex;align-items:center;gap:10px;height:68px}
.ogc-brand{display:flex;align-items:center;flex-shrink:0}
.ogc-brand img{width:128px;height:auto}
.ogc-header-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.ogc-login{display:none;align-items:center;gap:8px;font-weight:600;font-size:15px;white-space:nowrap;min-height:44px;padding:0 6px}
.ogc-post-btn{min-height:42px;padding:9px 13px;font-size:14px}
.ogc-post-btn svg{width:17px;height:17px}
.ogc-menu-toggle{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper)}
.ogc-menu-toggle .ogc-i-close{display:none}
.ogc-menu-toggle[aria-expanded="true"] .ogc-i-open{display:none}
.ogc-menu-toggle[aria-expanded="true"] .ogc-i-close{display:block}

.ogc-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:var(--shadow);padding:8px var(--gutter) 20px;max-height:calc(100vh - 68px);max-height:calc(100dvh - 68px);overflow:auto}
.ogc-nav.is-open{display:block}
.ogc-nav>a,.ogc-nav-cats-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:10px 4px;border:0;background:none;border-bottom:1px solid var(--line);font-weight:600;font-size:16px;text-align:left}
.ogc-nav>a.is-active{color:var(--blue)}
.ogc-nav-cats-toggle svg{transition:transform .2s}
.ogc-nav-cats-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.ogc-cats-panel ul{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:12px 0}
.ogc-cats-panel a{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 10px;border-radius:var(--radius-sm);font-size:14px;font-weight:500}
.ogc-cats-panel a:hover{background:var(--mist)}
.ogc-cats-panel svg{width:18px;height:18px;color:var(--blue)}
.ogc-nav-account{display:grid;gap:4px;padding-top:12px}
.ogc-nav-account a{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 4px;font-weight:600}

/* ---- Hero ---- */
.ogc-hero{display:grid;gap:34px;padding-top:28px;padding-bottom:28px;align-items:center}
.ogc-hero h1{font-size:clamp(44px,13.5vw,72px);line-height:1.06;letter-spacing:-.05em;font-weight:800;margin-top:18px}
.ogc-mark{position:relative;z-index:0;white-space:nowrap}
.ogc-mark::after{content:'';position:absolute;left:-6px;right:-10px;bottom:.06em;height:46%;background:var(--gold);z-index:-1;transform:rotate(-2deg);border-radius:3px}
.ogc-lead{font-size:17px;line-height:1.65;color:var(--ink-soft);margin-top:20px}
.ogc-hero-note{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:14px;color:var(--ink-soft)}
.ogc-hero-note svg{width:18px;height:18px;color:var(--blue)}
.ogc-hero-visual{position:relative;height:230px;margin-inline:6px}
.ogc-hero-visual>img{width:100%;height:100%;object-fit:cover;border-radius:16px 16px 64px 16px;filter:saturate(.75)}
.ogc-visual-tag{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:6px;background:#ffffffee;font-size:12px;padding:7px 11px;border-radius:25px}
.ogc-visual-tag svg{width:14px;height:14px}
.ogc-sticker{position:absolute;right:-8px;top:54px;transform:rotate(8deg);background:var(--gold);padding:13px 16px;font-size:13px;line-height:1.45;border-radius:3px;box-shadow:var(--shadow)}
.ogc-float-card{position:absolute;bottom:12px;left:-6px;display:flex;align-items:center;gap:10px;background:var(--paper);padding:10px 14px;border-radius:12px;box-shadow:var(--shadow);font-size:12px;line-height:1.5}
.ogc-float-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--mist);border-radius:50%}
.ogc-float-icon svg{width:20px;height:20px}

/* ---- Pretraga (početna) ---- */
.ogc-search-section{position:relative;z-index:2}
.ogc-searchbar{display:grid;grid-template-columns:1fr 1fr;gap:0;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:10px;box-shadow:0 7px 30px #142e4608}
.ogc-sb-field{display:flex;align-items:center;gap:10px;padding:10px 10px;min-width:0;border-radius:8px;cursor:text;transition:box-shadow .15s}
.ogc-sb-field>span{flex:1;min-width:0}
.ogc-sb-field small{display:block;color:var(--muted);font-size:12px;margin-bottom:2px}
.ogc-sb-field input,.ogc-sb-field select{width:100%;border:0;background:transparent;padding:0;font-weight:600;font-size:15px;height:26px;color:var(--ink);appearance:none;-webkit-appearance:none;text-overflow:ellipsis}
.ogc-sb-field select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536779' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0 center;background-size:16px;padding-right:20px}
.ogc-sb-field>svg{color:var(--ink-soft)}
.ogc-sb-field:focus-within{box-shadow:inset 0 -2px var(--blue)}
.ogc-sb-keyword{grid-column:1/-1;border-bottom:1px solid var(--line);border-radius:8px 8px 0 0;margin-bottom:6px;padding-bottom:14px}
.ogc-sb-submit{grid-column:1/-1;margin-top:8px}
.ogc-quick{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;padding:12px 0;font-size:13px;color:var(--muted)}
.ogc-quick>span{width:100%}
.ogc-quick a{display:inline-flex;align-items:center;min-height:36px;color:var(--ink-soft);font-weight:500}
.ogc-quick a:hover{color:var(--blue)}

/* ---- Sekcije ---- */
.ogc-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}
.ogc-section-head h2{font-size:22px;letter-spacing:-.03em;font-weight:800}
.ogc-section-head-lg h2{font-size:30px;margin-top:8px;letter-spacing:-.04em}
.ogc-cats-section{padding-top:26px;padding-bottom:30px}
.ogc-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ogc-cats li{display:block}
.ogc-cat{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:88px;height:100%;padding:12px 3px;background:var(--mist);border:1px solid transparent;border-radius:12px;text-align:center;font-size:12px;font-weight:600;line-height:1.25;transition:background .2s,transform .2s}
.ogc-cat svg{width:26px;height:26px;stroke-width:1.4}
.ogc-cat:hover{background:var(--blue-tint);transform:translateY(-3px)}
.ogc-cat-count{position:absolute;top:5px;right:6px;font-size:10px;font-weight:700;color:var(--muted)}
.ogc-cat-extra{display:none!important}
.ogc-cats.is-expanded .ogc-cat-extra{display:block!important}

.ogc-listings-section{background:var(--mist);padding:34px 0 38px;margin-top:6px}
.ogc-promoted{padding:30px 0;background:#fff8e6;border-block:1px solid #f0dcaa}

/* ---- Mreža i kartice ---- */
.ogc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
.ogc-card{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .22s,box-shadow .22s}
.ogc-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.ogc-card-link{display:block;height:100%}
.ogc-card-media{position:relative;display:block;aspect-ratio:4/3;background:#f0f0ed;overflow:hidden}
.ogc-card-media img{width:100%;height:100%;object-fit:contain;padding:8px}
.ogc-card-noimg{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:100%;color:var(--muted);font-size:12px}
.ogc-card-noimg svg{width:30px;height:30px}
.ogc-badge{position:absolute;top:8px;left:8px;font-size:11px;font-weight:700;border-radius:5px;padding:4px 8px;background:var(--gold);color:var(--ink)}
.ogc-card-body{display:block;padding:12px 11px 12px}
.ogc-card-meta{display:flex;justify-content:space-between;gap:6px;color:var(--muted);font-size:11px;margin-bottom:6px}
.ogc-card-meta span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ogc-card-meta span:last-child{display:none}
.ogc-card-title{font-size:14px;line-height:1.4;font-weight:700;letter-spacing:-.01em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.ogc-card-price{display:block;font-family:var(--f-head);font-size:18px;font-weight:800;letter-spacing:-.03em;margin-top:8px}
.ogc-card-price.is-empty{font-family:var(--f-body);font-size:13px;font-weight:500;letter-spacing:0;color:var(--muted);padding-top:4px}
.ogc-card-bottom{display:flex;justify-content:space-between;gap:6px;color:var(--muted);font-size:12px;margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}
.ogc-card-loc{display:flex;align-items:center;gap:3px;min-width:0}
.ogc-card-loc svg{width:12px;height:12px}
.ogc-card-bottom>span:last-child{display:none}
.ogc-card-text .ogc-card-body{padding:18px}
.ogc-more{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:28px}
.ogc-more>span{font-size:13px;color:var(--muted)}
.ogc-empty{grid-column:1/-1;text-align:center;padding:48px 18px;border:1px dashed var(--line-strong);border-radius:var(--radius);background:var(--paper)}
.ogc-empty h2,.ogc-empty h3{font-size:21px;margin-bottom:8px}
.ogc-empty p{color:var(--ink-soft);margin-bottom:18px}

/* ---- Priče ---- */
.ogc-stories{display:grid;gap:14px;padding-top:34px;padding-bottom:34px}
.ogc-story{position:relative;display:block;height:210px;border-radius:15px;overflow:hidden}
.ogc-story>img{width:100%;height:100%;object-fit:cover}
.ogc-story-home{color:#fff}
.ogc-story-home::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#142e46d0,#142e4618)}
.ogc-story>div{position:absolute;left:22px;top:22px;z-index:1;max-width:70%}
.ogc-story small{font-size:11px;letter-spacing:.14em;font-weight:700;text-transform:uppercase}
.ogc-story h2{font-size:25px;letter-spacing:-.03em;line-height:1.25;margin:12px 0 16px;color:inherit}
.ogc-story-home h2{color:#fff}
.ogc-story>div>span{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}
.ogc-story>div>span svg{width:16px;height:16px}
.ogc-story-hobby{background:#e9effb}
.ogc-story-hobby>img{position:absolute;right:0;top:0;width:46%;height:100%;opacity:.85;mix-blend-mode:multiply}

/* ---- Prodaj ---- */
.ogc-sell{display:grid;gap:26px;background:var(--ink);color:#fff;border-radius:18px;overflow:hidden;padding:30px 24px;align-items:center}
.ogc-sell-copy .ogc-eyebrow{color:var(--gold);font-size:11px}
.ogc-sell-copy h2{color:#fff;font-size:30px;letter-spacing:-.04em;line-height:1.2;margin-top:14px}
.ogc-sell-copy p:not(.ogc-eyebrow){font-size:15px;line-height:1.7;color:#c9d3da;margin:14px 0 20px}
.ogc-sell-art{position:relative;max-width:280px;width:100%;margin:auto;padding:14px 0 26px}
.ogc-ticket{transform:rotate(-8deg);background:#fffdf5;color:var(--ink);width:215px;height:170px;display:flex;justify-content:space-between;align-items:center;padding:20px;font-size:19px;line-height:1.4;letter-spacing:-.02em;border-radius:6px;box-shadow:8px 8px 0 #ffffff14;font-family:var(--f-head);font-weight:700}
.ogc-ticket strong{background:var(--gold);font-size:18px}
.ogc-ticket-arrow{font-size:32px;align-self:flex-start}
.ogc-sell-circle{position:absolute;bottom:0;right:0;width:100px;height:100px;border-radius:50%;background:var(--gold);color:var(--ink);display:grid;place-content:center;text-align:center;font-weight:700;font-size:13px;line-height:1.35;transform:rotate(10deg)}

.ogc-trust{display:grid;gap:22px;padding-block:34px}
.ogc-trust>div{display:grid;grid-template-columns:34px 1fr;gap:2px 12px}
.ogc-trust svg{grid-row:1/3;width:26px;height:26px;margin-top:3px}
.ogc-trust h3{font-size:16px}
.ogc-trust p{font-size:14px;color:var(--muted);line-height:1.55}

/* ---- Podnožje ---- */
.ogc-footer{border-top:1px solid var(--line);background:var(--paper);margin-top:0;padding:0;color:var(--ink)}
.ogc-footer-top{display:flex;flex-wrap:wrap;align-items:center;gap:14px 30px;padding-block:26px}
.ogc-footer-top .ogc-brand img{width:150px}
.ogc-footer-top p{font-size:14px;color:var(--ink-soft);width:100%;order:3}
.ogc-footer-link{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-weight:700;font-size:14px}
.ogc-footer-link svg{width:16px;height:16px}
.ogc-footer-bottom{display:flex;flex-wrap:wrap;gap:8px 22px;border-top:1px solid var(--line);padding-block:16px;font-size:13px;color:var(--muted)}
.ogc-footer-bottom a:hover{color:var(--blue)}
.ogc-credit{font-size:12px;color:var(--muted);padding-bottom:20px;line-height:1.6}
.ogc-credit a{text-decoration:underline;text-underline-offset:2px}

/* ---- Naslov stranice, putanja, chips ---- */
.ogc-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:16px 0 4px;font-size:13px;color:var(--muted)}
.ogc-crumbs a{color:var(--ink-soft)}
.ogc-crumbs a:hover{color:var(--blue);text-decoration:underline}
.ogc-crumbs [aria-current]{color:var(--ink);font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ogc-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:14px 0 18px}
.ogc-page-head h1{font-size:30px;letter-spacing:-.04em;font-weight:800;margin-top:8px}
.ogc-page-head-simple{padding-top:26px}
.ogc-term-desc{margin-top:8px;color:var(--ink-soft);font-size:15px;max-width:640px}
.ogc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.ogc-chips a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;background:var(--mist);border-radius:999px;font-size:14px;font-weight:600;transition:background .2s}
.ogc-chips a:hover{background:var(--blue-tint)}
.ogc-chips span{font-size:12px;color:var(--muted)}

/* ---- Filteri ---- */
.ogc-filters{background:var(--mist);border-radius:var(--radius);padding:12px;margin-bottom:6px}
.ogc-filters-top{display:grid;grid-template-columns:1fr auto;gap:8px}
.ogc-f-search{grid-column:1/-1;display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 14px;min-height:50px;transition:box-shadow .15s}
.ogc-f-search svg{color:var(--ink-soft)}
.ogc-f-search input{flex:1;min-width:0;border:0;background:transparent;font-size:16px;padding:12px 0;height:100%}
.ogc-f-search:focus-within{box-shadow:inset 0 -2px var(--blue)}
.ogc-filter-toggle{min-height:46px}
.ogc-filters-top .ogc-btn-primary{min-height:46px}
.ogc-filters-more{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:12px}
.ogc-filters-more.is-collapsed{display:none}
.ogc-f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;min-width:0}
.ogc-f select,.ogc-f input{width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--paper);font-size:16px;font-weight:500;transition:border-color .15s,box-shadow .15s}
.ogc-f select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536779' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px;padding-right:32px;text-overflow:ellipsis}
.ogc-f select:focus,.ogc-f input:focus{border-color:var(--blue);box-shadow:0 2px 0 0 var(--blue)}
.ogc-reset{grid-column:1/-1}
.ogc-results-line{font-size:13px;color:var(--muted);padding:14px 0}

/* ---- Paginacija ---- */
.ogc-pagination{margin:30px 0 10px}
.ogc-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.ogc-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);font-weight:600;font-size:14px;background:var(--paper)}
.ogc-pagination a.page-numbers:hover{border-color:var(--ink)}
.ogc-pagination .current{background:var(--ink);border-color:var(--ink);color:#fff}
.ogc-pagination .dots{border-color:transparent;background:transparent}

/* ---- Pojedinačni oglas ---- */
.ogc-single{padding-bottom:40px}
.ogc-listing-layout{display:grid;gap:18px;padding-top:6px}
.ogc-gallery{display:grid;gap:10px}
.ogc-gallery-main{background:var(--mist);border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;display:grid;place-items:center}
.ogc-gallery-main img{width:100%;height:100%;object-fit:contain}
.ogc-gallery-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:220px;background:var(--mist);border-radius:var(--radius);color:var(--muted)}
.ogc-gallery-empty svg{width:34px;height:34px}
.ogc-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.ogc-thumb{display:block;width:72px;height:72px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:var(--mist);flex-shrink:0;transition:border-color .15s}
.ogc-thumb img{width:100%;height:100%;object-fit:cover}
.ogc-thumb.is-active{border-color:var(--blue)}
.ogc-thumb:hover{border-color:var(--line-strong)}
.ogc-thumb.is-active:hover{border-color:var(--blue)}
.ogc-description{margin-top:22px}
.ogc-description h2{font-size:20px;margin-bottom:10px}
.ogc-prose{font-size:16px;line-height:1.75;color:var(--ink-soft);overflow-wrap:anywhere}
.ogc-prose p+p{margin-top:12px}
.ogc-prose a{color:var(--blue);text-decoration:underline}
.ogc-listing-side{display:grid;gap:14px;align-content:start}
.ogc-panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.ogc-panel h2{font-size:17px;margin-bottom:12px}
.ogc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.ogc-tag{display:inline-flex;align-items:center;min-height:28px;padding:3px 10px;border-radius:999px;background:var(--mist);font-size:12px;font-weight:600}
a.ogc-tag:hover{background:var(--blue-tint)}
.ogc-tag-gold{background:var(--gold)}
.ogc-listing-title{font-size:24px;letter-spacing:-.03em;line-height:1.25;font-weight:800;overflow-wrap:anywhere}
.ogc-price{font-family:var(--f-head);font-size:32px;font-weight:800;letter-spacing:-.04em;margin:14px 0 6px}
.ogc-price.is-empty{font-family:var(--f-body);font-size:16px;font-weight:500;letter-spacing:0;color:var(--muted)}
.ogc-facts{display:grid;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line);font-size:14px;color:var(--ink-soft)}
.ogc-facts li{display:flex;align-items:center;gap:10px}
.ogc-facts svg{width:18px;height:18px;color:var(--blue)}
.ogc-contact{display:grid;gap:10px}
.ogc-contact h2{margin-bottom:2px}
.ogc-contact .ogc-btn{overflow-wrap:anywhere;word-break:break-word}
.ogc-form-compact{display:grid;gap:10px}
.ogc-form-compact textarea{width:100%;min-height:110px;padding:12px;border:1px solid var(--line);border-radius:var(--radius-sm);font-size:16px;resize:vertical}
.ogc-form-compact textarea:focus{border-color:var(--blue);box-shadow:0 2px 0 0 var(--blue)}
.ogc-share-row{display:flex;flex-wrap:wrap;gap:8px}
.ogc-chip-btn{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--paper);font-size:14px;font-weight:600;cursor:pointer}
.ogc-chip-btn:hover{border-color:var(--ink)}
.ogc-chip-btn svg{width:17px;height:17px}
.ogc-related{padding-top:34px}

/* ---- Obavijesti ---- */
.ogc-notice{padding:14px 16px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--mist);font-size:15px;margin:0 0 16px}
.ogc-notice-ok,.success-message.ogc-notice{background:#eaf6ee;border-color:#b5dcc3;color:var(--ok)}
.ogc-notice-err,.error-message.ogc-notice{background:#fdecea;border-color:#f0b9b4;color:var(--danger)}
.ogc-notice a{text-decoration:underline;margin-left:6px}
.ogc-login-required,.login-required.ogc-notice{background:#fff8e6;border:1px solid #f0dcaa;border-radius:var(--radius);padding:22px;text-align:center;margin:10px 0;color:var(--ink)}
.ogc-login-required p{margin-bottom:14px}

/* ---- Stranice sa obrascima (prijava, registracija, predaja oglasa) ---- */
.ogc-page{padding-bottom:50px}
.ogc-entry{font-size:16px}
.ogc-auth,.register-company-container{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 7px 30px #142e4608}
.ogc-auth-lead{color:var(--ink-soft);margin-bottom:18px}
.ogc-entry .form-group{margin:0 0 16px}
.ogc-entry .form-group label{display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.ogc-entry .form-group .required{color:var(--danger)}
.ogc-entry input[type=text],.ogc-entry input[type=email],.ogc-entry input[type=password],.ogc-entry input[type=url],.ogc-entry input[type=tel],.ogc-entry input[type=number],.ogc-entry select,.ogc-entry textarea{display:block;width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--paper);font-size:16px;line-height:1.4;transition:border-color .15s,box-shadow .15s}
.ogc-entry textarea{min-height:200px;resize:vertical}
.ogc-entry input:focus,.ogc-entry select:focus,.ogc-entry textarea:focus{border-color:var(--blue);box-shadow:0 2px 0 0 var(--blue)}
.ogc-entry input.error,.ogc-entry select.error,.ogc-entry textarea.error{border-color:var(--danger)}
.ogc-entry .form-check label{display:flex;align-items:center;gap:10px;font-weight:500;min-height:44px}
.ogc-entry input[type=checkbox],.ogc-entry input[type=radio]{width:20px;height:20px;min-height:0;accent-color:var(--blue)}
.ogc-entry input[type=file]{padding:12px;min-height:0;background:var(--mist);border-style:dashed}
.ogc-entry small{display:block;margin-top:6px;font-size:13px;color:var(--muted);line-height:1.5}
.ogc-entry .login-footer,.ogc-entry .register-footer{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:15px;color:var(--ink-soft);display:grid;gap:6px}
.ogc-entry .login-footer a,.ogc-entry .register-footer a{color:var(--blue);font-weight:600;text-decoration:underline}
.ogc-entry .login-message,.ogc-entry .register-message{padding:16px;background:var(--mist);border-radius:var(--radius-sm)}
.ogc-entry .password-input-wrapper{display:flex;gap:8px;align-items:stretch}
.ogc-entry .password-input-wrapper input{flex:1;min-width:0}
.ogc-entry .password-toggle,.ogc-entry .password-generate{flex-shrink:0;min-height:50px;padding:0 12px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--paper);font-size:13px;font-weight:600}
.ogc-entry .password-toggle:hover,.ogc-entry .password-generate:hover{border-color:var(--ink)}
.ogc-entry .password-match-indicator{font-size:13px;margin-top:6px}
.ogc-entry .password-match-indicator.match{color:var(--ok)}
.ogc-entry .password-match-indicator.no-match{color:var(--danger)}
.ogc-entry .password-input-wrapper .toggle-icon,.ogc-entry .password-input-wrapper .generate-icon{font-size:13px}
.ogc-entry .form-instructions{background:var(--mist);border-radius:var(--radius-sm);padding:14px 16px;margin-bottom:18px;font-size:15px}
.ogc-entry .form-instructions ul{margin-top:8px;padding-left:18px;list-style:disc}

/* Čarobnjak za predaju oglasa */
.ogc-wizard{background:transparent}
.ogc-wizard .wizard-progress{margin-bottom:22px}
.ogc-wizard .progress-steps{display:flex;gap:6px;justify-content:space-between;align-items:flex-start;position:relative}
.ogc-wizard .step{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:0;text-align:center;position:relative;background:none;border:0;opacity:1}
.ogc-wizard .step::before{content:'';position:absolute;top:17px;left:-50%;width:100%;height:2px;background:var(--line);z-index:0}
.ogc-wizard .step:first-child::before{display:none}
.ogc-wizard .step.completed::before,.ogc-wizard .step.active::before{background:var(--blue)}
.ogc-wizard .step-circle{position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--mist);border:2px solid var(--line);color:var(--muted);font-weight:700;font-size:14px;margin:0}
.ogc-wizard .step.active .step-circle{background:var(--blue);border-color:var(--blue);color:#fff}
.ogc-wizard .step.completed .step-circle{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.ogc-wizard .step-label{display:none;font-size:12px;line-height:1.3;color:var(--muted);font-weight:600}
.ogc-wizard .step.active .step-label{display:block;color:var(--ink);position:absolute;top:44px;left:50%;transform:translateX(-50%);width:130px;max-width:30vw}
.ogc-wizard .progress-steps{padding-bottom:34px}
.ogc-wizard .add-listing-form{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 7px 30px #142e4608}
.ogc-wizard .wizard-step{display:none}
.ogc-wizard .wizard-step.active{display:block}
.ogc-wizard .step-title{font-size:22px;letter-spacing:-.03em;margin-bottom:18px}
.ogc-wizard .ad-type-selection{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ogc-wizard .ad-type-option{position:relative;display:block;cursor:pointer}
.ogc-wizard .ad-type-option input{position:absolute;opacity:0;width:1px;height:1px}
.ogc-wizard .ad-type-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:112px;padding:14px 10px;text-align:center;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--paper);font-weight:700;font-size:14px;transition:border-color .15s,background .15s,box-shadow .15s}
.ogc-wizard .ad-type-icon svg{width:30px;height:30px;color:var(--blue)}
.ogc-wizard .ad-type-option:hover .ad-type-card{border-color:var(--ink)}
.ogc-wizard .ad-type-card.selected{border-color:var(--blue);background:var(--blue-tint);box-shadow:inset 0 -3px var(--blue)}
.ogc-wizard .ad-type-option input:focus-visible+.ad-type-card{box-shadow:inset 0 -3px var(--blue)}
.ogc-wizard .step-actions{display:flex;justify-content:space-between;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.ogc-wizard .step-actions .ogc-btn{flex:1}
.ogc-wizard .wizard-step[data-step="1"] .step-actions{justify-content:flex-end}
.ogc-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;margin-top:12px}
.ogc-previews:empty{display:none}
.ogc-preview img{width:100%;height:88px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}

/* ---- Imenik firmi ---- */
.ogc-company-grid{display:grid;gap:12px}
.ogc-company-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);overflow:hidden;transition:box-shadow .2s,transform .2s}
.ogc-company-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.ogc-company-link{display:flex;gap:16px;padding:16px;height:100%}
.ogc-company-logo{display:grid;place-items:center;width:76px;height:76px;flex-shrink:0;border-radius:12px;background:var(--mist);overflow:hidden;color:var(--muted)}
.ogc-company-logo img{width:100%;height:100%;object-fit:cover}
.ogc-company-logo svg{width:30px;height:30px}
.ogc-company-body{display:flex;flex-direction:column;gap:6px;min-width:0}
.ogc-company-title{font-size:18px;letter-spacing:-.02em}
.ogc-company-excerpt{font-size:14px;color:var(--ink-soft)}
.ogc-company-meta{display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--muted)}
.ogc-company-meta span{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}
.ogc-company-meta svg{width:14px;height:14px}
.ogc-company-count{font-size:12px;font-weight:700;color:var(--blue)}

/* ---- Stari šabloni (autor, blog, profil firme, chat) zadržavaju stari stil, usklađene boje ---- */
body.ogc .site-main>.container{padding-top:24px;padding-bottom:40px}
body.ogc .btn.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}
body.ogc .btn.btn-primary:hover{background:var(--blue-hover);border-color:var(--blue-hover)}
body.ogc .chat-widget{z-index:80}

/* ==========================================================================
   Šire ekrane
   ========================================================================== */
@media(min-width:420px){
  .ogc-brand img{width:150px}
  .ogc-header-inner{height:72px}
  .ogc-post-btn{padding:10px 16px}
}
@media(max-width:379px){
  .ogc-post-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ogc-post-btn{width:42px;padding:0}
}
@media(min-width:650px){
  :root{--gutter:24px}
  .ogc-hero{grid-template-columns:1fr 1fr;gap:34px;padding-top:40px;padding-bottom:40px}
  .ogc-hero-visual{height:300px}
  .ogc-searchbar{grid-template-columns:1.3fr 1fr 1fr;padding:12px}
  .ogc-sb-keyword{grid-column:auto;border-bottom:0;border-right:1px solid var(--line);margin:0;padding-bottom:10px;border-radius:8px}
  .ogc-sb-field{padding:10px 16px}
  .ogc-sb-submit{grid-column:1/-1}
  .ogc-quick>span{width:auto}
  .ogc-cats{grid-template-columns:repeat(4,1fr);gap:10px}
  .ogc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px}
  .ogc-card-body{padding:14px 14px 14px}
  .ogc-card-title{font-size:15px}
  .ogc-card-price{font-size:20px}
  .ogc-card-meta span:last-child,.ogc-card-bottom>span:last-child{display:inline}
  .ogc-stories{grid-template-columns:1fr 1fr;gap:18px}
  .ogc-story{height:240px}
  .ogc-story h2{font-size:26px}
  .ogc-sell{grid-template-columns:.9fr 1.1fr;padding:40px 44px;gap:34px}
  .ogc-trust{grid-template-columns:repeat(3,1fr);gap:30px}
  .ogc-company-grid{grid-template-columns:1fr 1fr;gap:16px}
  .ogc-hide-sm{display:inline-flex!important}
  .ogc-page-head h1{font-size:36px}
  .ogc-filters-more{grid-template-columns:repeat(3,1fr)}
  .ogc-section-head h2{font-size:26px}
  .ogc-section-head-lg h2{font-size:34px}
  .ogc-more{flex-direction:column}
  .ogc-wizard .step-label{display:block;max-width:none}
  .ogc-wizard .step.active .step-label{width:auto;max-width:140px}
  .ogc-wizard .progress-steps{padding-bottom:0}
  .ogc-wizard .step .step-label,.ogc-wizard .step.active .step-label{position:static;transform:none;width:auto;max-width:none;display:block}
  .ogc-auth,.register-company-container{padding:30px}
  .ogc-wizard .add-listing-form{padding:28px}
  .ogc-wizard .ad-type-selection{grid-template-columns:repeat(4,1fr)}
  .ogc-wizard .step-actions .ogc-btn{flex:0 0 auto;min-width:140px}
}
@media(min-width:1000px){
  :root{--gutter:40px}
  body.ogc.ogc-menu-open{overflow:auto}
  .ogc-header-inner{height:88px;gap:48px}
  .ogc-brand img{width:195px}
  .ogc-menu-toggle{display:none}
  .ogc-nav{display:flex!important;position:static;align-items:center;gap:26px;padding:0;border:0;box-shadow:none;background:transparent;max-height:none;overflow:visible}
  .ogc-nav>a,.ogc-nav-cats-toggle{display:inline-flex;width:auto;min-height:44px;padding:8px 0;border:0;font-size:15px;position:relative;gap:6px}
  .ogc-nav>a.is-active::after{content:'';position:absolute;left:0;right:0;bottom:2px;height:3px;background:var(--gold);border-radius:2px}
  .ogc-nav-cats{position:relative}
  .ogc-cats-panel{position:absolute;top:100%;left:-20px;width:520px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:10px 14px}
  .ogc-cats-panel ul{grid-template-columns:1fr 1fr;padding:4px 0}
  .ogc-nav-account{display:none}
  .ogc-login{display:inline-flex}
  .ogc-hero{gap:60px;padding-top:50px;padding-bottom:50px}
  .ogc-hero-visual{height:340px;margin-right:14px}
  .ogc-hero-visual>img{border-radius:22px 22px 90px 22px}
  .ogc-sticker{right:-22px;top:50px;padding:20px 22px;font-size:15px}
  .ogc-float-card{left:-24px;bottom:20px;padding:16px 24px;gap:14px;font-size:13px}
  .ogc-float-icon{width:42px;height:42px}
  .ogc-float-icon svg{width:24px;height:24px}
  .ogc-searchbar{grid-template-columns:1.4fr 1fr 1fr auto}
  .ogc-sb-field:nth-child(2){border-right:1px solid var(--line)}
  .ogc-sb-submit{grid-column:auto;margin:0 0 0 12px}
  .ogc-cats{grid-template-columns:repeat(8,1fr);gap:12px}
  .ogc-cat{min-height:112px;font-size:13px;gap:12px}
  .ogc-cat svg{width:28px;height:28px}
  .ogc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 20px}
  .ogc-listings-section{padding:46px 0 48px}
  .ogc-stories{padding-block:50px}
  .ogc-story{height:255px}
  .ogc-story>div{left:32px;top:32px}
  .ogc-story h2{font-size:29px}
  .ogc-sell{padding:50px 66px;gap:70px}
  .ogc-sell-copy h2{font-size:37px}
  .ogc-ticket{width:270px;height:226px;padding:26px;font-size:23px}
  .ogc-sell-circle{width:120px;height:120px;font-size:15px;right:10px}
  .ogc-sell-art{max-width:none;margin:0}
  .ogc-trust{padding-block:54px;gap:50px}
  .ogc-footer-top{flex-wrap:nowrap;padding-block:34px;gap:45px}
  .ogc-footer-top .ogc-brand img{width:180px}
  .ogc-footer-top p{width:auto;order:0}
  .ogc-page-head h1{font-size:42px}
  .ogc-filters{padding:16px}
  .ogc-filters-top{grid-template-columns:1fr auto auto}
  .ogc-f-search{grid-column:auto}
  .ogc-filter-toggle{display:none}
  .ogc-filters-more{grid-template-columns:repeat(5,1fr);align-items:end}
  .ogc-filters-more.is-collapsed{display:grid}
  .ogc-reset{grid-column:auto;align-self:end}
  .ogc-listing-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:34px;align-items:start}
  .ogc-listing-side{position:sticky;top:104px}
  .ogc-gallery-main{aspect-ratio:3/2}
  .ogc-thumb{width:88px;height:88px}
  .ogc-company-grid{grid-template-columns:repeat(3,1fr)}
}
@media(min-width:1550px){
  .ogc-wrap{width:min(1320px,calc(100% - 120px))}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* ---- Ispravke nakon QA ---- */
.revizor-mrvice{display:none!important} /* mu-plugin mrvice; v2 ima vlastnu putanju (.ogc-crumbs) */
body.ogc .ogc-panel,body.ogc .ogc-panel.contact-box,body.ogc .ogc-panel.message-box,body.ogc .ogc-panel.share-box{background:var(--paper);padding:18px;margin:0;border:1px solid var(--line);border-radius:var(--radius);box-shadow:none}
body.ogc .ogc-panel h2{color:var(--ink);font-size:17px;margin:0 0 12px}
.ogc-price{margin:12px 0 4px}
.ogc-facts{margin-top:16px}
.ogc-listing-title{margin-top:2px}
body.ogc .ogc-auth-lead{margin-bottom:20px}
body.ogc .ogc-auth,body.ogc .register-company-container{max-width:none;margin:0}
body.ogc .ogc-price,body.ogc .ogc-lead,body.ogc .ogc-hero-note{margin-bottom:0}

/* QA 12.10.2026 — dodirne mete >=44px na ekranima osjetljivim na dodir (izgled isti, veća zona dodira) */
@media (pointer:coarse){
  .ogc-brand{min-height:44px}
  .ogc-post-btn{min-height:44px}
  .ogc-chip-btn{min-height:44px}
  .ogc-crumbs a,.ogc-footer-link,.ogc-footer-bottom a,.ogc-credit a,.ogc-quick a,.ogc-card-tags a,.ogc-nav a{display:inline-flex;align-items:center;min-height:44px}
  .ogc-crumbs{padding-top:4px;gap:0 8px}
  a.ogc-tag{min-height:44px;position:relative;background:none}
  a.ogc-tag::before{content:"";position:absolute;inset:8px 0;border-radius:999px;background:var(--mist);z-index:-1}
  a.ogc-tag:hover::before{background:var(--blue-tint)}
  a.ogc-tag{isolation:isolate}
  .ogc-credit a{padding-inline:2px}
}
@media (pointer:coarse) and (max-width:379px){.ogc-post-btn{width:44px}}
