:root{
    --red:#ed1c24;
    --line:#dfe5ec;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
[role="button"] {
    cursor: pointer;
}

/* =========================================================
   V4 — ZAJEDNIČKO JAVNO ZAGLAVLJE
   RED 1: navigacija
   RED 2: logo / pretraga / akcije
   ========================================================= */

.topbar{
    height:42px;
    background:var(--red);
    color:#fff;
}

.topbar .inner{
    max-width:1450px;
    height:42px;
    margin:0 auto;
    padding:0 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.mainnav{
    width:100%;
    display:flex;
    align-items:center;
    gap:24px;
    font-size:13px;
    font-weight:700;
}

.mainnav a{
    color:#fff;
    text-decoration:none;
}

.mainnav .admin-top-link{
    margin-left:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:0 10px;
    border-radius:5px;
    background:#fff;
    color:var(--red) !important;
    font-size:11px;
    font-weight:700;
    white-space:nowrap;
}

.mainnav .admin-top-link:hover{
    background:#fff1f1;
    color:var(--red) !important;
}

.header{
    background:#fff;
    border-bottom:1px solid #e9edf2;
}

.header .inner{
    max-width:1450px;
    margin:0 auto;
    padding:12px 18px;
    display:grid;
    grid-template-columns:290px minmax(420px,1fr) auto;
    gap:14px;
    align-items:center;
}

.logo{
    height:40px;
    display:flex;
    align-items:center;
}

.logo img{
    display:block;
    max-height:40px;
    width:auto;
    max-width:100%;
    object-fit:contain;
}

.logo .placeholder{
    width:285px;
    height:60px;
    border:1px dashed #f3b2b5;
    border-radius:5px;
    background:#fff;
    color:var(--red);
    font-size:14px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

.header .search{
    display:flex;
    align-items:center;
}

.header .search input{
    height:40px;
    flex:1;
    min-width:0;
    border:1px solid #cfd8e3;
    border-right:0;
    border-radius:6px 0 0 6px;
    padding:0 14px;
    color:#6f7f90;
    font-size:13px;
}

.header .search button{
    width:122px;
    height:40px;
    border:0;
    border-radius:0 6px 6px 0;
    background:var(--red);
    color:#fff;
    font-size:11px;
    font-weight:600;
}

/* Podržava obje postojeće oznake dok HTML ne ujednačimo. */
.header .actions,
.header .header-actions{
    display:flex;
    gap:10px;
    margin:0;
}

.header .actions button,
.header .header-actions button{
    height:38px;
    padding:0 16px;
    border-radius:6px;
    font-size:11px;
    font-weight:600;
}

.header .outline,
.header .header-actions .outline{
    background:#fff;
    color:var(--red);
    border:1px solid #ee9da2;
}

.header .solid,
.header .header-actions .solid{
    background:var(--red);
    color:#fff;
    border:1px solid var(--red);
}

/* =========================================================
   V4 — ZAJEDNIČKO JAVNO ZAGLAVLJE — RESPONSIVE
   Isti stil zaglavlja i dugmadi; mijenja se samo raspored.
   ========================================================= */

@media (max-width:900px){

    .header .inner{
        grid-template-columns:1fr;
    }

    .mainnav{
        gap:12px;
        overflow-x:auto;
        white-space:nowrap;
    }

    .header .actions,
    .header .header-actions{
        flex-wrap:wrap;
    }
}

/* =========================================================
   V4 — ZAJEDNIČKI NASLOV JAVNE STRANICE
   Koristiti samo za glavni naslov stranice, ne za naslove
   oglasa, panela ili unutrašnjih sekcija.
   ========================================================= */

.v4-page-title{
    margin:0;
    color:#182b41;
    font-size:24px;
    line-height:1.2;
}

.v4-page-subtitle{
    margin:5px 0 0;
    color:#74859a;
    font-size:12px;
    line-height:1.45;
}

@media (max-width:640px){
    .v4-page-title{
        font-size:20px;
    }
}

/* =========================================================
   V4 — ZAJEDNIČKI SISTEM DUGMADI
   Vizuelni identitet je zajednički.
   Veličina i širina zavise od prostora i namjene.
   ========================================================= */

.v4-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:0 16px;
    border:1px solid transparent;
    border-radius:6px;
    font-family:inherit;
    font-size:11px;
    font-weight:700;
    line-height:1;
    text-align:center;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
}

/* Glavna akcija */
.v4-btn-primary{
    background:var(--red);
    border-color:var(--red);
    color:#fff;
}

.v4-btn-primary:hover{
    background:#c9141b;
    border-color:#c9141b;
    color:#fff;
}

/* Sekundarna akcija */
.v4-btn-secondary{
    background:#fff;
    border-color:#ee9da2;
    color:var(--red);
}

.v4-btn-secondary:hover{
    background:#fff7f7;
    border-color:var(--red);
    color:var(--red);
}

/* Neutralna akcija */
.v4-btn-neutral{
    background:#fff;
    border-color:#cfd8e3;
    color:#526579;
}

.v4-btn-neutral:hover{
    background:#f7f9fb;
    border-color:#aebbc8;
    color:#40566d;
}

/* Opasna/destruktivna akcija */
.v4-btn-danger{
    background:#fff;
    border-color:var(--red);
    color:var(--red);
}

.v4-btn-danger:hover{
    background:#fff7f7;
    border-color:#b9141a;
    color:#b9141a;
}

/* Veličine — dizajn ostaje isti */
.v4-btn-compact{
    min-height:28px;
    padding:0 10px;
    border-radius:5px;
    font-size:10px;
}

.v4-btn-large{
    min-height:40px;
    padding:0 20px;
}

/* Koristi se samo kada raspored traži punu širinu */
.v4-btn-block{
    width:100%;
}

/* Omogućava prirodno prelamanje dugmadi u grupama */
.v4-btn-group{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

@media (max-width:640px){
    .v4-btn{
        max-width:100%;
    }
}

/* =========================================================
   V4 — SAČUVANA PRETRAGA U FILTERU
   Dugmad koriste zajednički V4 sistem dugmadi.
   ========================================================= */

.v4-saved-search{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid #e3e8ee;
}

.v4-saved-search-label{
    display:block;
    margin-bottom:5px;
    font-size:10px;
    font-weight:700;
    color:#526579;
}

.v4-saved-search-input{
    width:100%;
    min-height:34px;
    margin:0 0 7px;
    padding:0 10px;
    border:1px solid #cfd8e3;
    border-radius:5px;
    background:#fff;
    color:#27384a;
    font-family:inherit;
    font-size:12px;
    box-sizing:border-box;
}

.v4-saved-search-input:focus{
    outline:none;
    border-color:#aebbc8;
}

/* =========================================================
   V4 — ZAJEDNIČKI SISTEM FILTERA
   ========================================================= */

.filters{
    background:#fff;
    border:1px solid var(--line);
    border-radius:7px;
    padding:12px 13px;
}

.filters h3{
    margin:0;
    font-size:14px;
}

.filters .sub{
    font-size:10px;
    color:#7f8d9d;
    margin:1px 0 4px;
}

.filter{
    border-top:1px solid #edf1f5;
    padding:3px 0;
}

.filter:first-of-type{
    border-top:0;
}

.filter .title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:18px;
    font-size:11px;
    font-weight:600;
}

.filter .value{
    width:100%;
    height:23px;
    margin-top:2px;
    padding:2px 7px;
    border:1px solid var(--line);
    border-radius:4px;
    background:#fff;
    color:#7d8c9c;
    font-size:10px;
}

.filter-actions{
    margin-top:4px;
}

/* SAČUVANE PRETRAGE — pokretanje na vrhu FILTERA */
.v4-saved-search-launch{
    margin:8px 0 5px;
    padding:8px 0 9px;
    border-top:1px solid #edf1f5;
    border-bottom:1px solid #edf1f5;
}

.v4-saved-search-launch .v4-saved-search-input{
    margin-bottom:6px;
}


/* =========================================================
   V4 — ZAJEDNIČKI SISTEM NARUDŽBI
   PRETPLATA / SuperOGLAS / PRODAVNICA / BANNERI
   ========================================================= */

.v4-order-wrap{
    max-width:1050px;
    margin:24px auto;
    padding:0 16px;
}

.v4-order-box{
    border:1px solid #dfe6ee;
    border-radius:8px;
    padding:22px 24px;
    background:#fff;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
}

.v4-order-box .v4-page-subtitle{
    margin-bottom:15px;
}

.v4-order-info{
    margin:0 0 16px;
    padding:12px 14px;
    border:1px solid #b9d8f7;
    border-radius:6px;
    background:#f1f7fd;
    color:#24517d;
    font-size:13px;
    line-height:1.45;
}

.v4-order-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    align-items:stretch;
}

.v4-order-panel{
    min-width:0;
    border:1px solid #dfe6ee;
    border-radius:7px;
    padding:16px;
    background:#fff;
}

.v4-order-section-title{
    margin:0 0 5px;
    color:#18304a;
    font-size:16px;
    font-weight:700;
}

.v4-order-help{
    margin:0 0 16px;
    color:#73869a;
    font-size:11px;
    line-height:1.4;
}

.v4-order-label{
    display:block;
    margin:0 0 6px;
    color:#263a50;
    font-size:12px;
    font-weight:700;
}

.v4-order-input,
.v4-order-select{
    box-sizing:border-box;
    width:100%;
    height:42px;
    padding:0 12px;
    border:1px solid #bdc9d6;
    border-radius:5px;
    background:#fff;
    color:#182b41;
    font-family:inherit;
    font-size:15px;
}

.v4-order-note{
    margin-top:8px;
    color:#53687d;
    font-size:11px;
    line-height:1.45;
}

.v4-order-summary{
    margin-top:17px;
    padding:15px 16px;
    border:1px solid #b8d8bf;
    border-radius:7px;
    background:#f4fbf5;
    color:#173a25;
}

.v4-order-summary-title{
    margin:0 0 12px;
    color:#18304a;
    font-size:16px;
    font-weight:700;
}

.v4-order-summary-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:20px;
    align-items:baseline;
    padding:4px 0;
    font-size:14px;
    line-height:1.35;
}

.v4-order-summary-amount{
    min-width:105px;
    text-align:right;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}

.v4-order-summary-discount{
    font-weight:700;
}

.v4-order-summary-total{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:20px;
    align-items:center;
    margin-top:8px;
    padding-top:11px;
    border-top:1px solid #b8d8bf;
}

.v4-order-summary-total-label{
    color:#18304a;
    font-size:18px;
    font-weight:800;
}

.v4-order-summary-total-amount{
    min-width:140px;
    text-align:right;
    white-space:nowrap;
    color:#178541;
    font-size:23px;
    font-weight:800;
    font-variant-numeric:tabular-nums;
}

.v4-order-saving{
    margin-top:11px;
    padding:8px 10px;
    border-radius:5px;
    background:#e5f7e9;
    color:#17763b;
    font-size:11px;
    font-weight:700;
}

.v4-order-payment-options{
    display:grid;
    gap:8px;
}

.v4-order-payment-option{
    box-sizing:border-box;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:9px;
    align-items:center;
    min-height:52px;
    margin:0;
    padding:9px 11px;
    border:1px solid #d5dde5;
    border-radius:6px;
    background:#fff;
    cursor:pointer;
}

.v4-order-payment-option:hover:not(.v4-order-payment-disabled){
    border-color:#ee9da2;
    background:#fffafa;
}

.v4-order-payment-option input{
    margin:0;
}

.v4-order-payment-main{
    display:block;
    color:#18304a;
    font-size:12px;
    font-weight:700;
}

.v4-order-payment-sub{
    display:block;
    margin-top:2px;
    color:#7b8b9c;
    font-size:10px;
    font-weight:400;
}

.v4-order-payment-note{
    margin-left:auto;
    padding:4px 6px;
    border-radius:4px;
    background:#fff0f0;
    color:#c83239;
    font-size:9px;
    font-weight:700;
    white-space:nowrap;
}

.v4-order-payment-disabled{
    opacity:.62;
    cursor:not-allowed;
}

.v4-order-payment-details{
    margin-top:11px;
    padding:13px 14px;
    border:1px solid #dde3e9;
    border-radius:6px;
    background:#f8f9fb;
    color:#263a50;
    font-size:12px;
    line-height:1.4;
}

.v4-order-payment-details-title{
    margin:0 0 11px;
    color:#18304a;
    font-size:13px;
    font-weight:700;
}

.v4-order-payment-detail-row{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:12px;
    padding:3px 0;
    align-items:start;
}

.v4-order-payment-detail-label{
    color:#667b90;
}

.v4-order-payment-detail-value{
    color:#18304a;
    font-weight:700;
    overflow-wrap:anywhere;
}

.v4-order-bottom{
    margin-top:14px;
}

@media(max-width:850px){
    .v4-order-grid{
        grid-template-columns:1fr;
    }

    .v4-order-wrap{
        margin:16px auto;
    }
}

@media(max-width:520px){
    .v4-order-box{
        padding:16px;
    }

    .v4-order-payment-detail-row{
        grid-template-columns:1fr;
        gap:1px;
        padding:5px 0;
    }

    .v4-order-summary-row,
    .v4-order-summary-total{
        gap:10px;
    }
}

/* =========================================================
   V4 — NARUDŽBE: zajednički osnovni izgled
   preuzet iz postojećeg izgleda PRETPLATE
   ========================================================= */

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#fff;
    color:#222;
}

.page{
    width:100%;
    max-width:1450px;
    margin:0 auto;
    padding:12px 18px 22px;
}

.v4-order-bottom{
    margin-top:14px;
}

.v4-order-bottom .actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin:0;
}

.v4-order-bottom .v4-btn{
    width:100%;
}

.order-error{
    margin:0 0 10px;
    padding:13px 16px;
    border:1px solid #b6161d;
    border-radius:6px;
    background:#fff3f3;
    color:#b6161d;
    font-size:15px;
    font-weight:700;
    line-height:1.4;
}

.order-success{
    margin:0 0 10px;
    padding:13px 16px;
    border:1px solid #239447;
    border-radius:6px;
    background:#f1fbf4;
    color:#176b34;
    font-size:15px;
    font-weight:700;
    line-height:1.4;
}

/* Zajednički opis stavke u obračunu narudžbe */
.v4-order-summary-description{
    min-width:0;
}

/* V4 — stabilno horizontalno ravnanje između stranica */
html{
    scrollbar-gutter:stable;
}

/* ==========================================================
   CENTRALNE OBAVIJESTI USERU
   ========================================================== */

.v4-obavijesti-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin:0 0 10px;
}

.v4-obavijest-kartica{
    position:relative;
    min-width:0;
    padding:8px 10px 7px;
    border:1px solid #d9dee5;
    border-left-width:5px;
    border-radius:6px;
    background:#fff;
    font-size:11px;
    line-height:1.35;
}

.v4-obavijest-crvena{
    border-left-color:#c62828;
    background:#fff7f7;
}

.v4-obavijest-zelena{
    border-left-color:#2e7d32;
    background:#f7fcf7;
}

.v4-obavijest-zuta{
    border-left-color:#d39b00;
    background:#fffdf3;
}

.v4-obavijest-naslov{
    margin:0 0 4px;
    font-size:11px;
    line-height:1.25;
    font-weight:700;
}

.v4-obavijest-crvena .v4-obavijest-naslov{
    color:#b71c1c;
}

.v4-obavijest-zelena .v4-obavijest-naslov{
    color:#256b29;
}

.v4-obavijest-zuta .v4-obavijest-naslov{
    color:#8a6500;
}

.v4-obavijest-tekst{
    color:#394552;
    overflow-wrap:anywhere;
}

.v4-obavijest-forma{
    margin:6px 0 0;
    text-align:right;
}

.v4-obavijest-procitano{
    min-height:0;
    margin:0;
    padding:3px 8px;
    border:1px solid #aeb7c1;
    border-radius:4px;
    background:#fff;
    color:#394552;
    font-size:9px;
    line-height:1.2;
    font-weight:700;
    cursor:pointer;
}

.v4-obavijest-procitano:hover{
    border-color:#7d8792;
    background:#f3f5f7;
}

@media (max-width:760px){
    .v4-obavijesti-grid{
        grid-template-columns:1fr;
    }
}


/* OBAVIJESTI: kompaktni prikaz 3 kolone */
.v4-obavijesti-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.v4-obavijest-vrh{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
    margin:0 0 4px;
}

.v4-obavijest-vrh .v4-obavijest-naslov{
    min-width:0;
    margin:0;
}

.v4-obavijest-vrh .v4-obavijest-forma{
    flex:0 0 auto;
    margin:0;
}

@media (max-width:1050px){
    .v4-obavijesti-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:760px){
    .v4-obavijesti-grid{
        grid-template-columns:1fr;
    }
}

/* =========================================================
   MOJ RAČUN — zajednički layout i lijevi meni
   ========================================================= */

.account-page{
    max-width:1450px;
    margin:0 auto;
    padding:12px 18px 50px;
}

.account-layout{
    display:grid;
    grid-template-columns:290px minmax(0,1fr);
    gap:14px;
    align-items:start;
}

.account-menu{
    background:#fff;
    border:1px solid #dfe6ee;
    border-radius:7px;
    padding:12px 13px;
}

.account-menu h3{
    margin:0;
    font-size:14px;
}

.account-menu .sub{
    font-size:10px;
    color:#7f8d9d;
    margin:1px 0 4px;
}

.account-menu-item{
    display:block;
    border-top:1px solid #edf1f5;
    padding:8px 0;
    color:#18304a;
    text-decoration:none;
    font-size:11px;
    font-weight:600;
    line-height:1.35;
}

.account-menu-item:first-of-type{
    border-top:0;
}

.account-menu-item:hover,
.account-menu-item.active{
    color:#ed1c24;
}

.account-menu-separator{
    border-top:1px solid #dfe6ee;
    margin-top:0;
    padding-top:5px;
}

.account-menu-separator .account-menu-item:first-child{
    border-top:0;
}

.account-menu-item.dodatni-korisnici-menu{
    margin-bottom:0;
}

/* =========================================================
   CENTRALNI IZGLED OBRASCA OGLASA
   DODAJTE / IZMIJENITE — poslovna pravila ostaju u PHP/JS
   ========================================================= */

.oglas-form-page .page{
    max-width:1180px;
    margin:0 auto;
    padding:16px 18px 32px;
}


.oglas-card{
    background:#fff;
    border:1px solid #dce4ec;
    border-radius:8px;
    padding:22px 26px 24px;
}

.oglas-intro{
    margin-bottom:18px;
}

.oglas-card .field{
    min-width:0;
    margin-bottom:10px;
}

.oglas-card .field label{
    display:block;
    margin-bottom:4px;
    font-size:11px;
    font-weight:700;
    color:#35495f;
}

.oglas-card input,
.oglas-card select,
.oglas-card textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #cfd8e3;
    border-radius:6px;
    background:#fff;
    color:#263a50;
    font-size:12px;
}

.oglas-card input,
.oglas-card select{
    height:36px;
    padding:7px 9px;
}

.oglas-card textarea{
    min-height:300px;
    padding:8px 9px;
    resize:vertical;
}

.opis-toolbar{
    display:none;
    flex-wrap:wrap;
    gap:4px;
    padding:5px;
    border:1px solid #cfd8e3;
    border-bottom:0;
    border-radius:6px 6px 0 0;
    background:#f7f9fb;
}

.opis-toolbar button,
.opis-toolbar select,
.opis-toolbar input[type="color"]{
    width:auto;
    height:28px;
    min-width:30px;
    padding:3px 6px;
    border:1px solid #cfd8e3;
    border-radius:4px;
    background:#fff;
    color:#263a50;
    cursor:pointer;
    font-size:11px;
}

.opis-toolbar input[type="color"]{
    width:34px;
    padding:2px;
}

.editor-align-btn{
    width:30px !important;
    min-width:30px !important;
    padding:3px 5px !important;
}

.editor-align-btn span{
    display:block;
    width:18px;
    font-size:17px;
    line-height:16px;
    font-weight:700;
    color:#263a50;
    overflow:hidden;
}

.editor-align-left span{
    text-align:left;
}

.editor-align-center span{
    text-align:center;
    margin:0 auto;
}

.editor-align-right span{
    text-align:right;
    margin-left:auto;
}

.opis-editor{
    display:none;
    width:100%;
    min-height:300px;
    max-height:700px;
    overflow:auto;
    padding:9px 10px;
    border:1px solid #cfd8e3;
    border-radius:0 0 6px 6px;
    background:#fff;
    color:#263a50;
    font-size:12px;
    line-height:1.45;
}

.opis-editor:focus{
    outline:none;
    border-color:#829bb5;
}

.oglas-card input[type="checkbox"]{
    width:auto;
    height:auto;
    padding:0;
}

.cijena-red{
    display:grid;
    grid-template-columns:1fr 82px;
    gap:8px;
}

.compact-checks{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin:-2px 0 10px;
}

.compact-checks label{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:11px;
    color:#35495f;
}

.oglas-card .help{
    margin-top:3px;
    font-size:9px;
    line-height:1.3;
    color:#8291a1;
}

.compact-price{
    margin-top:12px;
    padding:10px 12px;
    border:1px solid #dce4ec;
    border-radius:6px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.compact-price span{
    font-size:11px;
    font-weight:700;
    color:#35495f;
}

.compact-price strong{
    font-size:16px;
    color:#ed1c24;
}

.oglas-two-cols{
    display:grid;
    grid-template-columns:minmax(0,44fr) minmax(0,56fr);
    gap:28px;
    align-items:start;
}

.oglas-col,
.oglas-col-right{
    min-width:0;
}

.compact-actions{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    width:100%;
    margin-top:14px;
}

.compact-actions .btn{
    flex:0 0 120px !important;
    width:120px !important;
    min-width:120px !important;
    max-width:120px !important;
    height:36px !important;
    min-height:36px !important;
    padding:0 6px !important;
    font-size:10px;
    line-height:34px;
    text-align:center;
    white-space:nowrap;
}

#dugme_specifikacije{
    flex:0 0 170px !important;
    width:170px !important;
    min-width:170px !important;
    max-width:170px !important;
}

/* Redakcija: DODAJTE SuperOGLAS */
.oglas-form-page .compact-actions .btn-redakcija-super{
    flex:0 0 170px !important;
    width:170px !important;
    min-width:170px !important;
    max-width:170px !important;
}

.field-error,
.oglas-card .field-error{
    display:none;
    margin:4px 0 3px;
    color:#b6161d;
    font-size:10px;
    line-height:1.35;
}

.field-error.show{
    display:block;
}

.kontrola-sadrzaja-error{
    margin-top:5px;
}

.input-error{
    border-color:#d62828!important;
    background:#fff7f7!important;
}

.oglas-status-uspjeh{
    display:block;
    margin:0 0 18px;
    padding:14px 16px;
    background:#eefaf0;
    border:1px solid #2e8b57;
    border-left:5px solid #2e8b57;
    border-radius:6px;
    color:#176b3a;
    font-weight:700;
    line-height:1.5;
}

.oglas-status-greska{
    display:block;
    margin:12px 0 18px;
    padding:14px 16px;
    background:#fff0f0;
    border:1px solid #d63638;
    border-left:5px solid #d63638;
    border-radius:6px;
    color:#8a1f1f;
    font-weight:400;
    line-height:1.5;
}

.oglas-status-greska strong{
    display:block;
    margin-bottom:6px;
    font-size:16px;
    font-weight:700;
}

.oglas-suspension-notice{
    margin:0 0 16px;
    padding:10px 12px;
    border:1px solid #e7b7b9;
    border-left:1px solid #e7b7b9;
    border-radius:5px;
    background:#fff8f8;
    color:#4f5964;
    font-size:12px;
    font-weight:400;
    line-height:1.45;
}

.oglas-suspension-notice strong{
    display:inline;
    margin:0;
    font-size:inherit;
    font-weight:600;
}

.oglas-suspension-notice > strong{
    display:block;
    margin:0 0 3px;
    color:#9f1117;
    font-size:13px;
    font-weight:600;
}

.oglas-suspension-notice > div{
    margin:2px 0 0;
}

@media(max-width:900px){
    .oglas-two-cols{
        grid-template-columns:1fr;
        gap:18px;
    }
}

@media(max-width:700px){
    .compact-actions{
        justify-content:flex-end;
        flex-wrap:wrap;
    }
}

@media(max-width:600px){
    .oglas-card{
        padding:16px;
    }

    .compact-actions{
        flex-direction:column;
    }
}

/* =========================================================
   EDITOR — SVA DUGMAD I KONTROLE U JEDNOM REDU
   ========================================================= */

.opis-toolbar{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:4px;
}

.opis-toolbar button{
    flex:0 0 auto;
    width:auto !important;
    min-width:30px !important;
    height:28px !important;
}

.opis-toolbar select{
    flex:0 0 auto;
    width:auto !important;
    min-width:0 !important;
    height:28px !important;
}

.opis-toolbar input[type="color"]{
    flex:0 0 auto;
    width:34px !important;
    min-width:34px !important;
    height:28px !important;
    padding:2px !important;
}

/* Centralni prikaz praznog sadržaja */
.v4-empty-state{
    padding:40px 24px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:7px;
    text-align:center;
    color:#64758a;
}

.v4-empty-state-grid{
    grid-column:1 / -1;
}

/* Centralni CSS stranice OGLASI */
/* oglasi-stranica-final */
.oglasi-top-ad{
    width:100%;
    height:82px;
    margin:0 0 6px;
    border:1px solid var(--line);
    border-radius:7px;
    background:linear-gradient(135deg,#f7f9fb,#fff);
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#64758a;
}

.oglasi-top-ad b{
    display:block;
    font-size:12px;
    color:#445b71;
}

.oglasi-top-ad span{
    display:block;
    margin-top:5px;
    font-size:10px;
}

/* bez praznog mjesta gdje su na naslovnici Kategorije */
.toolbar.oglasi-toolbar{
    margin-left:0 !important;
    width:100% !important;
}

/* tabovi su linkovi */
.tabs .tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

/* oglasi-tabs-boje-centralno */
/* SVI OGLASI — crveno */
.oglasi-toolbar .tabs .tab[href*="tip=svi"].active,
.tabs .tab[href*="tip=svi"].active{
    background:#ed1c24 !important;
    border-color:#ed1c24 !important;
    color:#fff !important;
}

/* SuperOGLASI — crveno */
.oglasi-toolbar .tabs .tab[href*="tip=super"].active,
.tabs .tab[href*="tip=super"].active{
    background:#ed1c24 !important;
    border-color:#ed1c24 !important;
    color:#fff !important;
}

/* PRODAVNICE — narandžasto */
.oglasi-toolbar .tabs .tab[href*="tip=prodavnice"].active,
.tabs .tab[href*="tip=prodavnice"].active{
    background:#ef8b24 !important;
    border-color:#ef8b24 !important;
    color:#fff !important;
}

/* SMS OGLASI — original žuto */
.oglasi-toolbar .tabs .tab[href*="tip=sms"].active,
.tabs .tab[href*="tip=sms"].active{
    background:#f2c500 !important;
    border-color:#d7ad00 !important;
    color:#27384a !important;
}

/* Centralni CSS modala PRIJAVA OGLASA */
.prijava-oglas-overlay{
                                position:fixed;
                                inset:0;
                                z-index:10000;
                                padding:28px 18px;
                                background:rgba(24,48,74,.55);
                                overflow-y:auto;
                            }

                            .prijava-oglas-overlay[hidden]{
                                display:none !important;
                            }

                            .prijava-oglas-modal{
                                width:min(900px,100%);
                                margin:30px auto;
                                padding:20px;
                                background:#fff;
                                border:1px solid #ddd;
                                border-radius:7px;
                                box-shadow:0 12px 38px rgba(0,0,0,.18);
                                color:#333;
                                text-align:left;
                            }

                            .prijava-oglas-header{
                                display:flex;
                                justify-content:space-between;
                                align-items:flex-start;
                                gap:20px;
                                margin-bottom:20px;
                            }

                            .prijava-oglas-header h2{
                                margin:0 0 6px;
                                font-size:22px;
                                color:#18304a;
                            }

                            .prijava-oglas-header p{
                                margin:0;
                                color:#69727d;
                                font-size:12px;
                                line-height:1.45;
                            }

                            .prijava-oglas-zatvori{
                                width:34px;
                                height:34px;
                                padding:0;
                                border:1px solid #cfd3d8;
                                border-radius:4px;
                                background:#fff;
                                color:#4f5964;
                                font-size:24px;
                                line-height:1;
                                cursor:pointer;
                            }

                            .prijava-oglas-info{
                                display:grid;
                                grid-template-columns:90px 1fr;
                                gap:7px 14px;
                                margin-bottom:18px;
                                font-size:12px;
                            }

                            .prijava-oglas-info-label{
                                color:#69727d;
                            }

                            .prijava-oglas-notice{
                                margin:0 0 18px;
                                padding:9px 11px;
                                background:#f7f8f9;
                                border:1px solid #dde0e3;
                                border-radius:4px;
                                color:#59636e;
                                font-size:12px;
                                line-height:1.45;
                            }

                            .prijava-oglas-poruka{
                                margin:0 0 16px;
                                padding:9px 11px;
                                border:1px solid #dde0e3;
                                border-radius:4px;
                                background:#f7f8f9;
                                color:#59636e;
                                font-size:12px;
                                line-height:1.45;
                            }

                            .prijava-oglas-poruka.error{
                                border-color:#e7b7b9;
                                background:#fff8f8;
                                color:#9f1117;
                            }

                            .prijava-oglas-poruka.success{
                                border-color:#b9ddc5;
                                background:#f5fff8;
                                color:#287844;
                            }

                            .prijava-oglas-rules-title{
                                margin:0 0 10px;
                                font-size:14px;
                                font-weight:700;
                            }

                            .prijava-oglas-rules-list{
                                display:grid;
                                grid-template-columns:repeat(2,minmax(0,1fr));
                                gap:8px 20px;
                                margin-bottom:20px;
                            }

                            .prijava-oglas-rule-item{
                                display:flex;
                                align-items:flex-start;
                                gap:8px;
                                padding:8px 10px;
                                border:1px solid #e2e4e7;
                                border-radius:4px;
                                font-size:12px;
                                line-height:1.35;
                                cursor:pointer;
                            }

                            .prijava-oglas-rule-item input{
                                margin-top:2px;
                            }

                            .prijava-oglas-field{
                                margin-top:18px;
                            }

                            .prijava-oglas-field label{
                                display:block;
                                margin-bottom:6px;
                                font-size:12px;
                                font-weight:700;
                            }

                            .prijava-oglas-field textarea{
                                width:100%;
                                min-height:85px;
                                padding:9px;
                                border:1px solid #cfd3d8;
                                border-radius:4px;
                                font:13px Arial,Helvetica,sans-serif;
                                resize:vertical;
                            }

                            .prijava-oglas-actions{
                                display:flex;
                                align-items:center;
                                gap:10px;
                                margin-top:20px;
                            }

                            .prijava-oglas-submit,
                            .prijava-oglas-cancel{
                                display:inline-flex;
                                align-items:center;
                                justify-content:center;
                                min-height:34px;
                                padding:0 14px;
                                border-radius:4px;
                                font-size:12px;
                                font-weight:700;
                            }

                            .prijava-oglas-submit{
                                border:1px solid #9f1117;
                                background:#9f1117;
                                color:#fff;
                            }

                            .prijava-oglas-submit:disabled{
                                opacity:.55;
                                cursor:not-allowed;
                            }

                            .prijava-oglas-cancel{
                                border:1px solid #c8cdd2;
                                background:#fff;
                                color:#4f5964;
                                cursor:pointer;
                            }

                            @media(max-width:760px){
                                .prijava-oglas-rules-list{
                                    grid-template-columns:1fr;
                                }

                                .prijava-oglas-info{
                                    grid-template-columns:1fr;
                                }

                                .prijava-oglas-overlay{
                                    padding:10px;
                                }

                                .prijava-oglas-modal{
                                    margin:10px auto;
                                }
                            }

/* =========================================================
   WEBSMS — zajednički informativni prikaz
   ========================================================= */

.websms-data{
    margin:18px 0;
    padding:14px 16px;
    background:#f7f9fb;
    border:1px solid #dfe6ee;
    border-radius:7px;
    line-height:1.8;
}

.websms-image{
    margin-top:20px;
}

.websms-image img{
    display:block;
    max-width:100%;
    height:auto;
}


/* =========================================================
   V4 — JAVNO ZAGLAVLJE — MOBILE / TABLET
   ========================================================= */

@media (max-width:900px){

    .topbar{
        height:auto;
        min-height:42px;
    }

    .topbar .inner{
        height:auto;
        min-height:42px;
        padding:0 12px;
    }

    .mainnav{
        padding:7px 0;
        gap:18px;
        overflow-x:auto;
        overflow-y:hidden;
        white-space:nowrap;
        scrollbar-width:thin;
    }

    .mainnav a{
        flex:0 0 auto;
    }

    .header .inner{
        padding:10px 12px;
        gap:10px;
    }

    .logo{
        height:36px;
    }

    .logo img{
        max-height:36px;
    }

    .header .search{
        width:100%;
        min-width:0;
    }

    .header .actions,
    .header .header-actions{
        width:100%;
        gap:8px;
    }
}

@media (max-width:640px){

    .header .search input{
        height:38px;
        padding:0 10px;
    }

    .header .search button{
        width:92px;
        height:38px;
    }

    .header .actions,
    .header .header-actions{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .header .actions button,
    .header .header-actions button{
        width:100%;
        min-width:0;
        padding:0 8px;
    }

    .header .actions .solid,
    .header .header-actions .solid{
        grid-column:1 / -1;
    }
}


/* =========================================================
   V4 — MOBILE HEADER KOREKCIJA
   Bez horizontalnog skrolanja menija i velikih dugmadi
   ========================================================= */

@media (max-width:640px){

    .topbar .inner{
        padding:0 10px;
    }

    .mainnav{
        display:flex;
        flex-wrap:wrap;
        justify-content:flex-start;
        gap:0;
        padding:4px 0;
        overflow:visible;
        white-space:normal;
        line-height:1;
    }

    .mainnav a{
        flex:0 0 auto;
        padding:6px 8px;
        font-size:11px;
        white-space:nowrap;
    }

    .mainnav .admin-top-link{
        margin-left:0;
        min-height:24px;
        padding:0 8px;
    }

    .header .inner{
        padding:9px 10px 10px;
        gap:9px;
    }

    .logo{
        height:34px;
    }

    .logo img{
        max-height:34px;
    }

    .header .actions,
    .header .header-actions{
        display:flex;
        flex-wrap:wrap;
        width:100%;
        gap:6px;
    }

    .header .actions button,
    .header .header-actions button{
        width:auto;
        min-width:0;
        height:34px;
        padding:0 12px;
        font-size:10px;
        white-space:nowrap;
    }

    .header .actions .solid,
    .header .header-actions .solid{
        grid-column:auto;
    }
}


/* =========================================================
   V4 — MOBILE KOMPAKTNI HEADER
   ========================================================= */
@media (max-width:640px){

    .header .inner{
        padding:6px 10px 7px;
        gap:6px;
    }

    .logo{
        height:30px;
    }

    .logo img{
        max-height:30px;
    }

    .header .search input{
        height:30px;
        padding:0 9px;
        font-size:12px;
    }

    .header .search button{
        width:80px;
        height:30px;
        font-size:10px;
    }

    .header .actions,
    .header .header-actions{
        gap:5px;
    }

    .header .actions button,
    .header .header-actions button{
        height:30px;
        padding:0 10px;
        font-size:9px;
        border-radius:5px;
    }
}

/* =========================================================
   V4 — CENTRALNI BOX MODEL
   Sprečava da width:100% + padding/border izađu iz viewporta
   ========================================================= */
*,
*::before,
*::after{
    box-sizing:border-box;
}


/* V4 — CENTRALNA MOBILNA VISINA POLJA U FORMAMA */
@media (max-width:640px){
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    select{
        height:30px;
        min-height:30px;
        max-height:30px;
    }
}

/* V4 — CENTRALNA MOBILNA VISINA DUGMADI */
@media (max-width:640px){
    .v4-btn{
        height:30px;
        min-height:30px;
        padding-top:0;
        padding-bottom:0;
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }
}


/* V4 — MOBILNI STICKY GORNJI MENI */
@media (max-width:640px){
    .topbar{
        position:sticky;
        top:0;
        z-index:1000;
    }
}

/* V4 — MOBILNO — glavni sadržaj isti bočni rub kao header */
@media(max-width:640px){
    .page{
        padding-left:10px;
        padding-right:10px;
    }
}

/* V4 — DODAJTE / IZMIJENITE OGLAS — mobilni razmaci */
@media(max-width:640px){
    .oglas-form-page .page{
        padding:0 10px 22px;
    }

    .oglas-form-page .oglas-card{
        padding:6px;
    }
}

/* V4 — EDITOR OPISA — mobilno sve kontrole iste visine */
@media(max-width:640px){
    .oglas-form-page .opis-toolbar button,
    .oglas-form-page .opis-toolbar select,
    .oglas-form-page .opis-toolbar input[type="color"]{
        height:28px !important;
        min-height:28px !important;
        max-height:28px !important;
    }

    .oglas-form-page .opis-toolbar select#opis_velicina{
        width:auto !important;
        min-width:0 !important;
        padding:3px 6px !important;
        font-size:11px !important;
    }
}

/* V4 — EDITOR OPISA — mobilno kontrole ostaju unutar kontejnera */
@media(max-width:640px){
    .oglas-form-page .opis-toolbar{
        flex-wrap:wrap;
        gap:4px;
    }

    .oglas-form-page .opis-toolbar button{
        flex:0 0 30px;
        width:30px !important;
        min-width:30px !important;
    }

    .oglas-form-page .opis-toolbar select#opis_velicina{
        flex:0 0 auto;
        width:auto !important;
        max-width:90px;
    }

    .oglas-form-page .opis-toolbar input[type="color"]{
        flex:0 0 34px;
        width:34px !important;
    }
}

/* V4 — DODAJTE OGLAS — mobilna cijena i donje akcije */
@media(max-width:640px){

    .oglas-form-page .compact-price{
        margin-top:6px;
        padding:6px;
    }

    .oglas-form-page .compact-actions{
        flex-direction:row;
        flex-wrap:nowrap;
        align-items:stretch;
        justify-content:stretch;
        gap:4px;
        margin-top:6px;
    }

    .oglas-form-page .compact-actions .btn{
        flex:1 1 0 !important;
        width:0 !important;
        min-width:0 !important;
        max-width:none !important;
        height:34px !important;
        min-height:34px !important;
        padding:0 3px !important;
        font-size:9px;
        line-height:32px;
        white-space:nowrap;
    }

    .oglas-form-page .compact-actions #dugme_specifikacije{
        flex:1.55 1 0 !important;
        width:0 !important;
        min-width:0 !important;
        max-width:none !important;
    }

    .oglas-form-page .compact-actions .btn-redakcija-super{
        flex:1.55 1 0 !important;
        width:0 !important;
        min-width:0 !important;
        max-width:none !important;
    }
}

/* V4 — UNIVERZALNI FILTERI — mobilni unutrašnji razmak */
@media(max-width:640px){
    .filters{
        padding:6px !important;
    }
}

/* V4 — MOJ RAČUN — kompaktni mobilni meni */
@media(max-width:640px){
    .account-menu{
        padding:6px !important;
    }

    .account-menu .sub{
        margin:1px 0 3px !important;
    }

    .account-menu-item{
        padding:5px 0 !important;
    }

    .account-menu-separator{
        padding-top:3px !important;
    }
}

/* =========================================================
   V4 — NARUDŽBE — USKLAĐEN MOBILNI RASPORED
   PRETPLATA / SuperOGLAS / PRODAVNICA / BANNERI
   ========================================================= */
@media(max-width:640px){

    .page:has(> .v4-order-wrap){
        padding:0 10px 22px !important;
    }

    .v4-order-wrap{
        width:100%;
        max-width:none;
        margin:0 auto !important;
        padding:0 !important;
        box-sizing:border-box;
    }

    .v4-order-box{
        padding:6px !important;
        border-radius:6px;
    }

    .v4-order-box .v4-page-title{
        margin-bottom:3px !important;
    }

    .v4-order-box .v4-page-subtitle{
        margin-bottom:6px !important;
    }

    .v4-order-info{
        margin-bottom:6px !important;
        padding:6px !important;
        font-size:11px;
        line-height:1.35;
    }

    .v4-order-grid{
        gap:6px !important;
    }

    .v4-order-panel{
        padding:6px !important;
        border-radius:6px;
    }

    .v4-order-section-title{
        margin-bottom:3px;
        font-size:13px;
    }

    .v4-order-help{
        margin-bottom:6px !important;
        line-height:1.3;
    }

    .v4-order-label{
        margin-bottom:3px !important;
        font-size:11px;
    }

    .v4-order-input,
    .v4-order-select{
        height:30px !important;
        min-height:30px !important;
        padding:0 7px !important;
        font-size:12px;
    }

    .v4-order-note{
        margin-top:4px !important;
        line-height:1.3;
    }

    .v4-order-summary{
        margin-top:6px !important;
        padding:6px !important;
    }

    .v4-order-summary-title{
        margin-bottom:5px !important;
        font-size:13px;
    }

    .v4-order-summary-row{
        gap:6px !important;
        padding:2px 0;
        font-size:12px;
    }

    .v4-order-summary-total{
        gap:6px !important;
        margin-top:4px;
        padding-top:6px;
    }

    .v4-order-summary-total-label{
        font-size:14px;
    }

    .v4-order-summary-total-amount{
        min-width:0;
        font-size:17px;
    }

    .v4-order-saving{
        margin-top:6px;
        padding:5px 6px;
    }

    .v4-order-payment-options{
        gap:6px !important;
    }

    .v4-order-payment-option{
        min-height:42px;
        gap:6px;
        padding:6px !important;
    }

    .v4-order-payment-details{
        margin-top:6px !important;
        padding:6px !important;
    }

    .v4-order-payment-details-title{
        margin-bottom:5px !important;
    }

    .v4-order-payment-detail-row{
        gap:1px;
        padding:3px 0;
    }

    .v4-order-bottom{
        margin-top:6px !important;
    }

    .v4-order-bottom .actions{
        gap:6px !important;
    }

    .v4-order-bottom .v4-btn{
        min-height:30px;
    }
}


/* =========================================================
   V4 BANNERI — MOJ RAČUN + VELIKI PRIKAZ OGLASA
   ========================================================= */

.so-page-top-banner{
    width:calc(100% - 28px);
    max-width:1186px;
    height:140px;
    min-height:140px;
    margin:14px auto;
    box-sizing:border-box;

    border:1px dashed #aeb9c4;
    border-radius:7px;
    background:#f4f6f8;
    color:#647587;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.so-page-top-banner-label b{
    display:block;
    font-size:20px;
}

.so-page-top-banner-label small{
    display:block;
    margin-top:5px;
    font-size:10px;
}

@media (max-width:760px){
    .so-page-top-banner{
        width:calc(100% - 20px);
        height:80px;
        min-height:80px;
        margin:10px auto;
    }
}


/* =========================================================
   V4 BANNERI — ISPRAVKA PUNE ŠIRINE
   Banner prati širinu stvarnog page kontejnera.
   ========================================================= */

.account-page > .so-page-top-banner{
    width:100% !important;
    max-width:none !important;
    height:140px !important;
    min-height:140px !important;
    margin:0 0 14px 0 !important;
}

/* Detail banner je već unutar glavnog .page kontejnera */
.so-page-top-banner-detail{
    width:100% !important;
    max-width:none !important;
    height:140px !important;
    min-height:140px !important;
    margin:0 0 14px 0 !important;
}

@media (max-width:760px){

    .account-page > .so-page-top-banner,
    .so-page-top-banner-detail{
        width:100% !important;
        max-width:none !important;
        height:100px !important;
        min-height:100px !important;
        max-height:100px !important;
        margin:0 0 10px 0 !important;
    }

}

/* =========================================================
   V4 BANNERI — KONAČNI MOBILNI STANDARD
   MOJ RAČUN + VELIKI PRIKAZ OGLASA
   WEBSMS slider/fotografija nisu obuhvaćeni.
   ========================================================= */
@media (max-width:760px){

    .account-page > .so-page-top-banner,
    .so-page-top-banner-detail{
        display:flex !important;
        width:100% !important;
        max-width:none !important;
        height:100px !important;
        min-height:100px !important;
        max-height:100px !important;
        margin:0 0 10px 0 !important;
        box-sizing:border-box !important;
    }
}

/* V4 BANNERI — bez testnih podloga i okvira */
.so-page-top-banner,
.so-page-top-banner-detail{
    background:transparent !important;
    background-color:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
}


/* =========================================================
   V4 BANNERI — GLOBALNO BEZ TESTNE SIVE PODLOGE
   Vrijedi za sve javne stranice i sve banner pozicije.
   ========================================================= */

[class*="so-banner"],
[class*="so-global-banner"],
[class*="so-page-top-banner"]{
    background:transparent !important;
    background-color:transparent !important;
    box-shadow:none !important;
}

/* Okvir uklanjamo sa samih reklamnih kontejnera */
.so-banner-slot,
.so-banner-sidebar,
.so-banner-grid-item,
.so-banner-grid-strip,
.so-mobile-square-banner,
.so-global-banner,
.so-global-banner-top,
.so-global-banner-side,
.so-page-top-banner,
.so-page-top-banner-detail{
    border:0 !important;
    outline:0 !important;
}

/* AdSense element takođe nema vlastitu podlogu */
ins.adsbygoogle{
    background:transparent !important;
    background-color:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}


/* =========================================================
   V4 BANNERI — ZAVRŠNI GLOBALNI PRIKAZ
   ========================================================= */

/* Svi naši reklamni kontejneri moraju biti čisti */
.so-banner-zone,
.so-banner-zone-top,
.so-banner-slot,
.so-banner-sidebar,
.so-banner-grid-item,
.so-banner-grid-strip,
.so-mobile-square-banner,
.so-global-banner,
.so-global-banner-top,
.so-global-banner-side,
.so-page-top-banner,
.so-page-top-banner-detail{
    background:none !important;
    background-color:transparent !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
}

/* AdSense bez vlastite sive podloge */
ins.adsbygoogle{
    background:none !important;
    background-color:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

/*
 * Ako Google isporuči oglas uži od raspoloživog prostora,
 * njegov iframe ostaje horizontalno na sredini.
 */
ins.adsbygoogle iframe{
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

/* Direktni banner isto horizontalno centriran */
.so-banner-direct-picture,
.so-banner-direct-image,
.so-banner-direct-link{
    margin-left:auto !important;
    margin-right:auto !important;
}

.so-banner-direct-image{
    display:block !important;
    max-width:100% !important;
}


/* =========================================================
   V4 BANNERI — FINALNO: BEZ PLACEHOLDER PODLOGE I OKVIRA
   ========================================================= */

.so-banner-zone,
.so-banner-zone-top,
.so-banner-slot,
.so-banner-sidebar,
.so-banner-grid-item,
.so-banner-grid-strip,
.so-banner-grid-strip-mobile-first,
.so-banner-grid-strip-desktop-first,
.so-mobile-square-banner,
.so-global-banner,
.so-global-banner-top,
.so-global-banner-side,
.so-global-banner-side-column,
.so-global-banner-prodavnice-side,
.so-page-top-banner,
.so-page-top-banner-detail{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    border-color:transparent !important;
    outline:0 !important;
    box-shadow:none !important;
}

/* Sam AdSense prostor nema našu podlogu */
ins.adsbygoogle{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
}

/* Uži oglas ostaje horizontalno centriran */
.so-banner-slot > ins.adsbygoogle,
.so-global-banner > ins.adsbygoogle,
.so-page-top-banner > ins.adsbygoogle,
.so-mobile-square-banner > ins.adsbygoogle{
    margin-left:auto !important;
    margin-right:auto !important;
}


/* =========================================================
   V4 BANNERI — FINALNO: BEZ PLACEHOLDER PODLOGE I OKVIRA
   ========================================================= */

.so-banner-zone,
.so-banner-zone-top,
.so-banner-slot,
.so-banner-sidebar,
.so-banner-grid-item,
.so-banner-grid-strip,
.so-banner-grid-strip-mobile-first,
.so-banner-grid-strip-desktop-first,
.so-mobile-square-banner,
.so-global-banner,
.so-global-banner-top,
.so-global-banner-side,
.so-global-banner-side-column,
.so-global-banner-prodavnice-side,
.so-page-top-banner,
.so-page-top-banner-detail{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    border-color:transparent !important;
    outline:0 !important;
    box-shadow:none !important;
}

/* Sam AdSense prostor nema našu podlogu */
ins.adsbygoogle{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
}

/* Uži oglas ostaje horizontalno centriran */
.so-banner-slot > ins.adsbygoogle,
.so-global-banner > ins.adsbygoogle,
.so-page-top-banner > ins.adsbygoogle,
.so-mobile-square-banner > ins.adsbygoogle{
    margin-left:auto !important;
    margin-right:auto !important;
}


/* V4 — mobilni horizontalni banner 728x200 */
@media (max-width:760px){
    .account-page > .so-page-top-banner,
    .so-page-top-banner-detail{
        width:100% !important;
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;
        aspect-ratio:728 / 200 !important;
        overflow:hidden !important;
    }
}
