input:focus,
textarea:focus,
select:focus {
    outline: none;
}

body {
    background: #11679e;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.banner-wrap {
    padding: 15px;
    overflow: hidden;
    z-index: 200;
    position: relative;
    display: block;
}

.banner-wrap div {
    width: 928px;
    margin: 0 auto;
    text-align: center;
    z-index: 200;
    position: relative;
}

.banner-wrap div a img {
    border: 1px solid #111;
}

.cb {
    clear: both;
}

form {
    margin: 0;
}
/* FONTS */
@font-face {
    font-family: 'pnbi';
    src: url('../fonts/proximanova-boldit-webfont.eot');
    src: url('../fonts/proximanova-boldit-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-boldit-webfont.woff') format('woff'),
         url('../fonts/proximanova-boldit-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-boldit-webfont.svg#ProximaNovaBoldItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pn';
    src: url('../fonts/proximanova-regular-webfont.eot');
    src: url('../fonts/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-regular-webfont.woff') format('woff'),
         url('../fonts/proximanova-regular-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-regular-webfont.svg#ProximaNovaRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pnb';
    src: url('../fonts/proxima_nova_bold-webfont.eot');
    src: url('../fonts/proxima_nova_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proxima_nova_bold-webfont.woff') format('woff'),
         url('../fonts/proxima_nova_bold-webfont.ttf') format('truetype'),
         url('../fonts/proxima_nova_bold-webfont.svg#ProximaNovaBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pnsb';
    src: url('../fonts/proximanova-semibold-webfont.eot');
    src: url('../fonts/proximanova-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-semibold-webfont.woff') format('woff'),
         url('../fonts/proximanova-semibold-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-semibold-webfont.svg#ProximaNovaSemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}


#loader {
    position: fixed;
    padding: 10px;
    z-index: 30;
    width: 150px;
    height: 66px;
    margin-left: -75px;
    margin-top: -34px;
    bottom: 45%;
    left: 50%;
    background: url(../images/bgb30.png);
    display: block;
}

#loader div {
    width: 85px;
    font-size: 16px;
    font-family: pn;
    color: #2f2f30;
    z-index: 31;
    height: 50px;
    padding: 15px 5px 0 60px;
    background: #fff url(../images/loader.gif) 15px center no-repeat;
}

.widewrap {
    overflow: hidden;
    width: 1350px;
    margin: 0 auto;
}

#b1banner,
#b2banner {
    width: 160px;
    height: 600px;
    overflow: hidden;
    position: absolute;
    top: 30px;
}

#b2banner { right: -175px; }
#b1banner { left: -175px; }

#c1banner,
#c2banner {
    width: 160px;
    height: 600px;
    overflow: hidden;
    position: absolute;
    top: 660px;
}

#c2banner { right: -175px; }
#c1banner { left: -175px; }

#d1banner,
#d2banner {
    width: 160px;
    height: 600px;
    overflow: hidden;
    position: absolute;
    top: 1290px;
}

#d2banner { right: -175px; }
#d1banner { left: -175px; }

.pagewrap {
    width: 980px;
    padding: 0 15px 15px;
    background: url(../images/bgt-light.png);
    margin: 0 auto;
    position: relative;
    color: #000;
    font: 14px pn, Arial, Helvetica, sans-serif;
    z-index: 0;
    min-height: 600px;
}

.pagewrap a {
    text-decoration: none;
    color: #000;
}

.pagewrap a:hover {
    text-decoration: underline;
    color: #333;
}

#float-panel {
    position: fixed;
    right: 12px;
    bottom: 40px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: stretch;
    width: 110px;
}

a.floatlink {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    text-shadow: none;
    color: #115d8c;
    font: bold 11px/1 pnb, Arial, Helvetica, sans-serif;
    height: 40px;
    width: 110px;
    padding: 0 12px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    letter-spacing: 0.4px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
    white-space: nowrap;
}

a.floatlink:hover {
    text-decoration: none;
    background: #f0f7fc;
    color: #0d4f7a;
    box-shadow: 0 3px 10px rgba(0,0,0,0.22);
}

a.floatlink.active {
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.28);
    text-shadow: 0 -1px rgba(0,0,0,0.15);
}

a.floatlink.active:hover {
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
    color: #fff;
}

a.floatlink.top {
    text-align: center;
    line-height: 40px;
}

a.floatlink svg {
    display: block;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

a.floatlink svg circle {
    fill: currentColor;
    stroke: none;
}

a.floatlink-fav.active svg {
    fill: currentColor;
}

.float-fav-count {
    display: inline-block;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font: bold 10px/16px pnsb, Arial, sans-serif;
    color: #fff;
    background: #e53e3e;
    border-radius: 8px;
    text-align: center;
    margin-left: 2px;
}


/* Clear all favorites button */
.fav-clear-all {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 20px;
    font: 13px/1 pnsb, Arial, sans-serif;
    color: #fff;
    background: #e53e3e;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}
.fav-clear-all:hover {
    background: #c53030;
}

a.towerlink {
    display: block;
    width: 160px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

a.towerlink img {
    border: none;
    width: 160px;
    height: 600px;
}

a.poplink {
    display: block;
    width: 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

a.poplink img {
    border: none;
    width: 300px;
    height: 300px;
}

.nlwrap {
    position: relative;
    background: url(../images/bg-dark-75p.png);
    color: #fff;
    overflow: hidden;
    border-bottom: 1px solid #222;
}

.nl {
    width: 980px;
    margin: 0 auto;
    overflow: hidden;
    padding: 5px 0 0;
}

.nl .nldesc {
    float: left;
    width: 450px;
    padding: 0 10px;
    margin-left: 15px;
}

.nl .nldesc strong {
    color: #ee579b;
    display: block;
}

.nl h2 {
    margin: 5px 0;
    font: bold 14px pn, Arial, Helvetica, sans-serif;
}

.nl .nldesc p {
    font: 12px/16px pn, Arial, Helvetica, sans-serif;
    margin-top: 4px;
}

.emailsuccess,
.emailerror {
    border: 2px solid #0c3;
    text-align: center;
    color: #fff;
    padding: 5px 0;
    font: bold 12px arial;
    display: none;
    margin: 7px 0;
}

.emailerror {
    border: 2px solid #c30;
}

.nl form {
    display: block;
    float: right;
    width: 455px;
}

.nl form label {
    display: block;
    margin: 0 0 5px;
    font: 12px/16px pn, Arial, Helvetica, sans-serif;
    float: left;
}

label#labelemail {
    width: 184px;
}

label#labelgrad {
    width: 110px;
    margin-left: 15px;
}

.nl form input {
    display: block;
    margin: 0 15px 5px 0;
    background: #fefefe;
    float: left;
    border: none;
    height: 24px;
    width: 170px;
    font: 14px/20px Arial, Helvetica, sans-serif;
    padding: 0 5px;
}

.nl form select {
    display: block;
    margin: 0 15px 5px 0;
    background: #fefefe;
    float: left;
    border: 1px solid #000;
    height: 24px;
    width: 110px;
    font: bold 14px/20px Arial, Helvetica, sans-serif;
}

.nl form select option {
    padding: 2px 5px;
}

.nl form #submitnewsletter {
    height: 24px;
    margin: 0 15px 0 0;
    width: 50px;
    float: left;
    display: block;
    background: #ee579b;
    color: #fff;
    border: 1px solid #ee579b;
    font-weight: bold;
}

.nl form #submitnewsletter:hover {
    cursor: pointer;
    background: #c61c79;
}

#naslovi {
    position: relative;
    overflow: hidden;
    margin: 0 0 5px;
    padding: 0;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
}

#naslovi h2 {
    font: normal 20px pnsb, Arial, Helvetica, sans-serif;
    margin: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    padding: 10px 12px;
    background: linear-gradient(180deg, #fff 0%, #f5f7f9 100%);
    text-shadow: none;
    text-align: center;
}

#naslovi h2 span {
    color: #146fb0;
}

.head-info {
    width: 600px;
    float: right;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.news-info {
    display: none;
}

/* ===== Prominent header search ===== */
#header-search {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
    border: 4px solid #1a7bb7;
}

#header-search-form {
    flex: 1 1 auto;
    min-width: 0;
}

.header-search-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a8fa0;
    pointer-events: none;
    z-index: 1;
    font-size: 16px;
}

#header-search-input {
    flex: 1 1 auto;
    height: 44px;
    padding: 0 14px 0 42px;
    border: 2px solid rgba(255,255,255,0.2);
    border-right: none;
    font: 15px/44px pn, Arial, sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#header-search-input::placeholder {
    color: #7a96a8;
    font-size: 16px;
}

#header-search-input:focus {
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.search-clear-btn {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: #777;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.search-clear-btn:hover {
    color: #333;
}

#header-search-btn {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 22px;
    border: none;
    background: linear-gradient(180deg, #2d8cc9 0%, #1a6da5 100%);
    color: #fff;
    font: bold 13px/1 pnb, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.2s ease;
}

#header-search-btn:hover {
    background: linear-gradient(180deg, #3a9bd8 0%, #2080bb 100%);
}

/* Favorites link right of search bar in blue header */
.header-fav-link {
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 48px;
    padding: 0 16px;
    color: rgba(255,255,255,0.85) !important;
    font: bold 13px/1 pnsb, Arial, sans-serif;
    text-decoration: none;
    border-left: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.1);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.header-fav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

.header-fav-link.active {
    color: #ffd0df !important;
    background: rgba(231,76,111,0.35);
}

.header-fav-link svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.header-fav-link .favorites-count {
    background: #e74c6f;
    color: #fff;
    border-radius: 9px;
    font: bold 11px/18px pnsb, Arial, sans-serif;
    padding: 0 6px;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

/* View toggle and favorites in header search row */
.header-view-toggle {
    flex-shrink: 0;
    margin-left: 8px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.header-view-toggle .view-toggle-btn {
    height: 44px;
    padding: 0 12px;
    color: rgba(255,255,255,0.75);
    background: transparent;
    border: none;
    font: 13px/1 pnsb, Arial, sans-serif;
    gap: 5px;
}

.header-view-toggle .view-toggle-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.header-view-toggle .view-toggle-btn.active {
    color: #fff;
    background: rgba(255,255,255,0.18);
    box-shadow: inset 0 -2px 0 #fff;
}

.header-view-toggle .view-toggle-btn svg {
    stroke: currentColor;
}

.header-fav-link {
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 14px;
    margin-left: 4px;
    color: rgba(255,255,255,0.8) !important;
    font: 13px/1 pnsb, Arial, sans-serif;
    text-decoration: none;
    border-left: 1px solid rgba(255,255,255,0.2);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.header-fav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.12);
    text-decoration: none;
}

.header-fav-link.active {
    color: #ffb3c6 !important;
    background: rgba(231,76,111,0.25);
}

.header-fav-link svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.header-fav-link .favorites-count {
    background: #e74c6f;
    color: #fff;
    border-radius: 9px;
    font: bold 11px/18px pnsb, Arial, sans-serif;
    padding: 0 6px;
    min-width: 18px;
    text-align: center;
}

#nema {
    width: 520px;
    box-shadow: 0 0 3px 0 #444;
    margin: 50px auto;
    display: none;
    position: relative;
    text-align: center;
    font: bold 14px/20px pnsb, Arial, Helvetica, sans-serif;
    color: #222;
    overflow: hidden;
    background: #fefefe;
    padding: 20px;
    border: 2px solid #89c9f0;
}

#locmenu {
    display: none;
}

#locmenu a.flag {
    display: block;
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    background-position: center center;
}

#locmenu #hrflag { background-image: url(../images/croatia.png); }
#locmenu #siflag { background-image: url(../images/slovenia.png); }
#locmenu #srflag { background-image: url(../images/serbia.png); }
#locmenu #mkflag { background-image: url(../images/macedonia.png); }

#locmenu a.arrow {
    overflow: hidden;
    position: absolute;
    top: 13px;
    width: 10px;
    right: 7px;
    display: block;
    background: url(../images/arrows-white.png) no-repeat;
    height: 7px;
}

#locmenu a.arrow.open {
    background-position: -20px 0;
}

#popup {
    display: none;
    z-index: 500;
    width: 300px;
    height: 300px;
    position: absolute;
    overflow: visible;
}

#closepopup {
    display: block;
    width: 16px;
    height: 16px;
    top: -18px;
    right: -18px;
    background: url(../images/x.png) no-repeat;
    position: absolute;
    z-index: 501;
}

#closepopup:hover {
    cursor: pointer;
}

table.maintable h2 {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    width: auto;
    float: none;
    font-size: inherit;
    font-weight: normal;
    height: 14px;
    overflow: hidden;
}

table.maintable h3,
table.dodatneponude h2,
#komentari h2,
#novosti h2,
#novosti h3 {
    margin: 0;
    font-size: inherit;
    font-weight: normal;
}

table.maintable h3 {
    font-weight: bold;
}

a.sortlink {
    color: inherit;
    text-decoration: none;
    padding-right: 18px;
}

a.sortlink:hover {
    color: #fff;
    text-decoration: none;
}

#novosti h2 {
    display: inline;
}

#novosti h3 {
    font: normal 14px/18px pn, Arial, Helvetica, sans-serif;
    display: inline;
}

.logo {
    width: 226px;
    height: 80px;
    position: relative;
    display: block;
    float: left;
    margin-left: 16px;
    flex-shrink: 0;
    top: 20px;
    left: 20px;
}
.logo img {
    width: 226px;
    height: 80px;
    display: block;
}

.redak {
    clear: both;
    position: relative;
    display: block;
}

.no-results-message {
    padding: 20px 0;
    color: #666;
    background: #ffffff0d;
    padding: 20px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'pnb';
    text-align: center;
    width: 100%;
}

/* ===== Top toolbar (white card containing city, odjeca, view-toggle, search) ===== */
#izbornik-gradova {
    width: 100%;
    overflow: visible;
    float: none;
    position: relative;
    padding: 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    height: 42px;
    box-sizing: border-box;
}
#izbornik-gradova a {
    display: inline-flex;
    align-items: center;
    box-shadow: none;
    position: relative;
    float: none;
    border: none;
    border-right: 1px solid #e8eaed;
    margin: 0;
    padding: 0 16px;
    background: transparent;
    text-decoration: none;
    color: #444;
    font: 14px/1 pnsb, Arial, Helvetica, sans-serif;
    text-shadow: none;
    height: 42px;
    transition: background 0.15s, color 0.15s;
}
#izbornik-gradova a:hover {
    cursor: pointer;
    color: #146fb0;
    text-decoration: none;
    text-shadow: none;
    background: #f0f7fc;
    border-color: #e8eaed;
    box-shadow: none;
}
#izbornik-gradova a.active {
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    color: #fff;
    border-color: transparent;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    box-shadow: none;
}
#izbornik-gradova a.active:hover {
    color: #fff;
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
    border-color: transparent;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    cursor: pointer;
}
#izbornik-gradova a.first {
    margin-left: 0;
}

#izbornik-gradova a > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 18px;
    min-width: 20px;
    float: none;
    text-shadow: none;
    margin: 0 0 0 6px;
    box-shadow: none;
    background: rgba(255,255,255,0.25);
    padding: 0 5px;
    font: normal 12px/1 pn, Arial, Helvetica, sans-serif !important;
    color: #fff !important;
    text-align: center;
}
#izbornik-gradova a:not(.active) > span {
    background: #eef2f6;
    color: #888 !important;
}

#izbornik-gradova a:hover > span {
    text-shadow: none;
}

.city-expand-icon {
    width: 14px !important;
    height: 20px !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: -5px 0 0 6px !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.city-expand-icon::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

#izbornik-gradova a.first:not(.active) .city-expand-icon::after {
    transform: rotate(-135deg);
    border-color: #1a7cb8;
}

#izbornik-gradova a.first.active .city-expand-icon::after {
    transform: rotate(45deg);
    border-color: #fff;
}

#city-menu-expand {
    overflow: hidden;
    padding: 10px 16px;
    background: linear-gradient(180deg, #043352 0%, #021e33 100%);
    position: absolute;
    top: 42px;
    left: 0;
    display: none;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    z-index: 20;
}
#city-menu-expand a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px;
    padding: 8px 14px;
    height: auto;
    border: none;
    border-right: none;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    font: 15px/1.2 pn, Arial, sans-serif;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    position: static;
    transition: all 0.18s ease;
}
#city-menu-expand a:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
    text-decoration: none;
}
#city-menu-expand a.active {
    color: #fff;
    background: rgba(26,124,184,0.5);
    font-family: pnsb, Arial, sans-serif;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2) !important;
}
#city-menu-expand a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    margin: 0;
    background: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.55) !important;
    font: normal 12px/20px pnsb, Arial, sans-serif !important;
    padding: 0 6px;
    text-align: center;
}
#city-menu-expand a:hover span {
    background: rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.9) !important;
}
#city-menu-expand a.active span {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

/* Legacy searchbox div — hidden, search is now in #header-search */
#searchbox {
    display: none !important;
}

.csearch-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.csearch-icon {
    position: absolute;
    left: 10px;
    color: #aaa;
    pointer-events: none;
    flex-shrink: 0;
}
#csearch {
    padding: 0 12px 0 32px !important;
    color: #333;
    background: #f5f7f9 !important;
    font-family: pn, Arial, sans-serif;
    border: none !important;
    border-left: 1px solid #e8eaed !important;
    box-shadow: none !important;
    font-size: 13px !important;
    height: 42px !important;
    line-height: 42px !important;
    width: 140px;
    outline: none;
    transition: background 0.18s;
}
#csearch:focus {
    background: #fff !important;
    box-shadow: inset 0 0 0 2px rgba(20,111,176,0.2) !important;
}
#bbutton {
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    border: none !important;
    text-transform: uppercase;
    box-shadow: none;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    text-align: center;
    color: #fff;
    height: 42px;
    padding: 0 20px;
    font: 12px/1 pnb, Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: all 0.18s ease;
    letter-spacing: 0.3px;
}
#bbutton:hover {
    cursor: pointer;
    color: #fff;
    box-shadow: none;
    text-decoration: none;
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
}

/* Odjeća header link - secondary outline style */
.odjeca-link {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    background: transparent;
    color: #444 !important;
    border: none;
    border-right: 1px solid #e8eaed;
    font: 13px/1 pnsb, Arial, Helvetica, sans-serif;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.odjeca-link:hover {
    color: #146fb0 !important;
    background: #f0f7fc;
    text-decoration: none;
    box-shadow: none;
}

.totop {
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    font: 12px pn, Arial, Helvetica, sans-serif;
    float: right;
    margin: 3px 10px;
}

.totop:hover {
    color: #000;
}

.datum {
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    padding: 7px 15px;
    float: right;
    overflow: hidden;
    background: url(../images/city-tabs.png) 0 -57px repeat-x;
    text-shadow: 0 1px #fff;
    text-align: center;
    border-bottom: 1px solid #fff;
    margin: 10px 0 10px 10px;
}

.cmenu {
    overflow: hidden;
    margin: 20px 0 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 0;
    clear: both;
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
    font: 1px/36px pnsb, Arial, Helvetica, sans-serif;
    display: flex;
    border: none;
    height: 38px;
    list-style: none;
    position: relative;
    z-index: 5;
}

.cmenu.fixed {
    position: fixed;
    top: 0;
    margin-top: 0;
    left: 50%;
    width: 1010px;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-left: 0;
    z-index: 10;
}

.cmenu li {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    height: 38px;
    text-align: center;
    min-width: 0;
}

.cmenu li span {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-left: -2px;
    height: 3px;
}

#all-offers table tr:hover td {
    transition: all 0.4s ease-in-out;
}

.cmenu a {
    color: #444;
    text-shadow: none;
    box-shadow: none;
    display: block;
    padding: 0 10px;
    height: 38px;
    line-height: 36px;
    border-right: 1px solid #eef0f3;
    border-left: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.18s ease;
    font-size: 13px;
}

.menu-cat-count {
    display: none;
}

.cmenu a.active {
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    color: #fff;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.cmenu a.active:hover {
    color: #fff !important;
    cursor: default;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
}

.cmenu a:hover {
    color: #146fb0;
    text-shadow: none;
    text-decoration: none;
    background: linear-gradient(180deg, #f0f7fc 0%, #e4eff8 100%);
}

.cmenu li:last-child {
    background: none;
}

.cmenu li:last-child span {
    background-image: none;
}

.cmenu li:last-child a {
    padding-right: 12px;
    padding-left: 12px;
    border-right: none;
}

#floatmenuwrap {
    display: none;
    position: fixed;
    z-index: 10;
    margin-top: 0;
    top: 0;
    width: 100%;
    left: 0;
}

#floatmenu {
    margin-top: 0;
    top: 0;
    margin-left: 0;
    box-shadow: 0 1px 3px 0 #555;
}

/* ===== Sidebar (vertical) main category menu ===== */
#catmenu-box {
    margin-bottom: 20px;
}
.view-karta #catmenu-box {
    margin-top: 20px;
}

#catmenu-box .btbody {
    padding: 0;
}
#rightcolumn #mainmenu.cmenu {
    display: block;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    font: 14px/18px pn, Arial, Helvetica, sans-serif;
}
#rightcolumn #mainmenu.cmenu li {
    display: block;
    float: none;
    height: auto;
    flex: none;
    text-align: left;
    border: none;
    background: none;
    overflow: visible;
    position: static;
}
#rightcolumn #mainmenu.cmenu li > span:not(.menu-cat-count) {
    display: none !important;
}
#rightcolumn #mainmenu.cmenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: auto;
    line-height: 1.4;
    padding: 11px 12px 11px 14px;
    background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
    color: #333;
    text-shadow: none;
    box-shadow: 3px 0 0 0 #d0d7de inset;
    border: none;
    border-bottom: 1px solid #eef0f3;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    transition: all 0.18s ease;
    font-size: 14px;
    font-weight: bold;
    font: bold 14px / 18px pnsb, Arial, sans-serif;
}
#rightcolumn #mainmenu.cmenu li:last-child a {
    border-bottom: none;
}

#rightcolumn #mainmenu.cmenu a:hover {
    background: linear-gradient(180deg, #f0f7fc 0%, #e8f1f8 100%);
    color: #146fb0;
    text-shadow: none;
    box-shadow: 3px 0 0 0 #146fb0 inset;
}

#rightcolumn #mainmenu.cmenu a.active {
    background: linear-gradient(180deg, #e8f1f8 0%, #daeaf5 100%);
    color: #0b4f7a;
    font-weight: bold;
    text-shadow: none;
    box-shadow: 3px 0 0 0 #146fb0 inset;
}

#rightcolumn #mainmenu.cmenu a.active:hover {
    background: linear-gradient(180deg, #dde9f4 0%, #d0e3f2 100%);
    color: #0b4f7a !important;
}
#rightcolumn #mainmenu.cmenu .menu-cat-count {
    display: inline-block;
    float: none;
    position: static;
    flex-shrink: 0;
    background: #eef2f6;
    color: #777;
    font: normal 11px/18px pnsb, Arial, sans-serif;
    padding: 1px 7px;
    margin: 0;
    width: auto;
    height: auto;
    box-shadow: none;
    text-shadow: none;
    transition: all 0.18s ease;
}
#rightcolumn #mainmenu.cmenu a:hover .menu-cat-count {
    background: rgba(20,111,176,0.12);
    color: #146fb0;
}

#rightcolumn #mainmenu.cmenu a.active .menu-cat-count {
    background: rgba(20,111,176,0.15);
    color: #146fb0;
}


/* Disable the .fixed floating behavior when menu is in sidebar */
#rightcolumn #mainmenu.cmenu.fixed {
    position: static !important;
    width: auto !important;
    left: auto !important;
    transform: none !important;
}

/* ===== Price Filter ===== */
#price-filter-box {
    margin-bottom: 20px;
}

#price-filter-box .btbody {
    padding: 14px;
}

.price-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-inputs {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: block;
    font: 11px/1 pnsb, Arial, sans-serif;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.price-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input-wrap input {
    width: 100%;
    height: 34px;
    padding: 0 28px 0 10px;
    border: 1px solid #d0d5da;
    font: 14px/34px pn, Arial, sans-serif;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.18s;
    box-sizing: border-box;
    -moz-appearance: textfield;
    appearance: textfield;
}

.price-input-wrap input::-webkit-outer-spin-button,
.price-input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input-wrap input:focus {
    border-color: #146fb0;
}

.price-currency {
    position: absolute;
    right: 8px;
    color: #999;
    font: 13px/1 pn, Arial, sans-serif;
    pointer-events: none;
}

.price-dash {
    color: #aaa;
    font: 16px/34px pn, Arial, sans-serif;
    align-self: flex-end;
    padding-bottom: 5px;
}

.price-slider-wrap {
    position: relative;
    height: 28px;
    padding: 0 2px;
}

.price-slider-track {
    position: relative;
    width: 100%;
    height: 4px;
    top: 12px;
    background: #e0e4e8;
    border-radius: 2px;
}

.price-slider-range {
    position: absolute;
    height: 4px;
    background: #1a7cb8;
    border-radius: 2px;
    top: 0;
}

.price-slider-thumb {
    position: absolute;
    top: -6px;
    width: 100%;
    height: 16px;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

.price-slider-thumb::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #1a7cb8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
    transition: box-shadow 0.15s;
}

.price-slider-thumb::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #1a7cb8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: auto;
}

.price-slider-thumb::-webkit-slider-thumb:hover {
    box-shadow: 0 1px 6px rgba(20,111,176,0.4);
}

.price-filter-btn {
    width: 100%;
    height: 34px;
    border: none;
    cursor: pointer;
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    color: #fff;
    font: bold 12px/1 pnsb, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    transition: background 0.18s;
}

.price-filter-btn:hover {
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
}

.price-filter-clear {
    width: 100%;
    height: 28px;
    border: 1px solid #d0d5da;
    cursor: pointer;
    margin-top: -4px;
    background: #fff;
    color: #666;
    font: 11px/1 pn, Arial, sans-serif;
    text-transform: uppercase;
    transition: all 0.18s;
}

.price-filter-clear:hover {
    border-color: #aaa;
    color: #333;
}

/* Offer list - section title row with sort bar */
.offers-section-title {
    padding: 0 16px 0 16px;
    margin: 0;
    border-bottom: 1px solid #e0e8ef;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 48px;
}

.offers-section-title h2 {
    font: bold 16px/1 pnb, Arial, sans-serif;
    color: #1a3a52;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.offers-section-title .title-count {
    font: bold 12px/20px pnb, Arial, sans-serif;
    color: #6b7d8c;
    background: #eef3f7;
    padding: 0 8px;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
}

#mainsort {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    height: 46px;
}

#mainsort .sort-btn {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 2px 12px;
    margin: 0 5px;
    font: bold 12px / 1.2 pnsb, Arial, sans-serif;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid #ddd;
    border-radius: 0;
    /* background: #deeef9; */
    transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

#mainsort .sort-btn:first-child {
    margin-left: 0;
}

#mainsort .sort-btn:hover {
    color: #1a7cb8;
    border-color: #1a7cb8;
    background: #eef6fc;
    text-decoration: none;
}

#mainsort .sort-btn.active {
    color: #fff;
    border-color: #1a7cb8;
    background: linear-gradient(180deg, #1e8fd4 0%, #1470b0 100%);
    box-shadow: 0 2px 6px rgba(20,111,176,0.3);
}

.offer-item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #cfe7f6;
    padding: 10px;
    background: #fff;
    transition: background 0.15s;
    position: relative;
}

.offer-item:hover {
    background: #f8f8f8;
}

.offer-item a {
    text-decoration: none;
    color: #333;
}

.offer-item a:hover {
    text-decoration: underline;
    color: #000;
}

.offer-image {
    flex: 0 0 180px;
    position: relative;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.offer-portal-name {
    display:none;
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font: 11px/15px pn, Arial, sans-serif;
    padding: 2px 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.offer-item:hover .offer-portal-name {
    opacity: 1;
    display: block;
}

.offer-info {
    flex: 1;
    min-width: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-title {
    margin: 0 0 8px;
}

.offer-title a {
    font: bold 14px/18px pnsb, Arial, sans-serif;
    color: #111;
}

.offer-description {
    font: 13px/16px pns, Arial, sans-serif;
    color: #555;
    margin: 0 0 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.offer-company {
    font: 12px pnsb, Arial, sans-serif;
    color: #888;
    margin: 0 0 6px;
}

.offer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-meta .cijenawrap {
    font: bold 20px pnsb, Arial, sans-serif;
    color: #222;
}

.offer-meta .vrijednost {
    font: normal 16px pn, Arial, sans-serif;
    color: #999;
    text-decoration: line-through;
    padding: 0 5px;
}

.offer-discount {
    font: bold 22px pnb, Arial, sans-serif;
    color: #017a2a;
}

.offer-status {
    font: 12px Arial, sans-serif;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.offer-status .ponudauspjela {
    color: #093;
}

.offer-status .ponudauspjela2 {
    color: #000;
}

.offer-status .ponudautijeku {
    color: #06c;
}

.offer-status .ponudazavrsena {
    color: #c30;
}

span.prodanowrap {
    display: inline-block;
    min-width: 13px;
    border: 1px solid #fff;
    padding: 4px 6px;
    /* background: #efefef; */
    font-size: 12px;
}

span.prodanowrap.hide {
    display: none;
}

/* Detail link in offer listing */
.offer-detail-link {
    font: 12px/1 pnsb, Arial, sans-serif;
    color: #146fb0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    white-space: nowrap;
}

.offer-detail-link:hover {
    text-decoration: underline;
    color: #0d5a8e;
}

/* Desktop: show text label, hide icon */
.offer-detail-link .offer-detail-icon {
    display: none;
}

/* Offer detail page */
#all-offers.offer-detail-page {
    width: calc(100% - 40px);
    float: none;
}

.offer-detail-page {
    background: #fff;
    padding: 20px;
}

.offer-detail-back {
    margin-bottom: 20px;
    clear: both;
    padding-top: 10px;
}

.offer-detail-back a {
    display: inline-block;
    padding: 8px 16px;
    font: 13px/1 pnsb, Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    border: 1px solid #0e5278;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    transition: all 0.2s ease;
}

.offer-detail-back a:hover {
    color: #fff;
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 2px 6px rgba(0,0,0,0.15);
}

.offer-detail-content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.offer-detail-image {
    flex: 0 0 400px;
}

.offer-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.offer-detail-info {
    flex: 1 1 auto;
}

.offer-detail-title {
    font: bold 22px/1.3 pnsb, Arial, sans-serif;
    color: #222;
    margin: 0 0 10px;
}

.offer-detail-cta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.fav-btn.fav-btn-detail {
    position: static;
    opacity: 1;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e4e8;
    border-radius: 0;
    background: #fff;
    color: #bbb;
    cursor: pointer;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
    padding: 0;
}
.fav-btn.fav-btn-detail svg {
    width: 22px;
    height: 22px;
    stroke: #bbb;
    fill: none;
}
.fav-btn.fav-btn-detail:hover {
    color: #e74c6f;
    border-color: #e74c6f;
    background: #fdf0f3;
    transform: none;
}
.fav-btn.fav-btn-detail:hover svg {
    stroke: #e74c6f;
}
.fav-btn.fav-btn-detail.is-fav {
    color: #e74c6f;
    border-color: #e74c6f;
    background: #fdf0f3;
}
.fav-btn.fav-btn-detail.is-fav svg {
    fill: #e74c6f;
    stroke: #e74c6f;
}
.fav-btn.fav-btn-detail.is-fav:hover {
    background: #e74c6f;
}

.offer-detail-portal {
    font: 14px pn, Arial, sans-serif;
    color: #888;
    margin-bottom: 15px;
}

.offer-detail-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.offer-detail-price {
    font: bold 28px pnsb, Arial, sans-serif;
    color: #222;
}

.offer-detail-value {
    font: 18px pn, Arial, sans-serif;
    color: #999;
    text-decoration: line-through;
}

.offer-detail-discount {
    font: bold 24px pnb, Arial, sans-serif;
    color: #093;
}

.offer-detail-status {
    font: 14px pn, Arial, sans-serif;
    color: #666;
    margin-bottom: 20px;
}

.offer-detail-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 30px;
    height: 44px;
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    color: #fff !important;
    font: bold 16px/1 pnsb, Arial, sans-serif;
    text-decoration: none;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    text-transform: uppercase;
    border: 1px solid #0e5278;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: all 0.2s ease;
}

.offer-detail-cta:hover {
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
    text-decoration: none;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* Social sharing on detail page */
.offer-detail-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8eaed;
}

.offer-detail-share-label {
    font: 12px/1 pnsb, Arial, sans-serif;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e0e4e8;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    padding: 0;
}

.share-btn:hover {
    text-decoration: none;
    border-color: #ccc;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.share-btn svg {
    display: block;
}

.share-facebook {
    color: #1877f2;
}

.share-facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.share-x {
    color: #000;
}

.share-x:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.share-whatsapp {
    color: #25d366;
}

.share-whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.share-viber {
    color: #7360f2;
}

.share-viber:hover {
    background: #7360f2;
    color: #fff;
    border-color: #7360f2;
}

.share-email {
    color: #666;
}

.share-email:hover {
    background: #146fb0;
    color: #fff;
    border-color: #146fb0;
}

.share-url-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    border: 1px solid #e0e4e8;
    background: #f8f9fb;
    transition: border-color 0.18s;
}

.share-url-wrap:hover {
    border-color: #ccc;
}

.share-url-input {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 8px;
    border: none;
    background: transparent;
    font: 12px/34px pn, Arial, sans-serif;
    color: #555;
    outline: none;
    cursor: text;
}

.share-url-input:focus {
    color: #222;
}

.share-url-copy {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-left: 1px solid #e0e4e8;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.18s;
    padding: 0;
}

.share-url-copy:hover {
    background: #146fb0;
    color: #fff;
}

.share-url-copy.copied {
    background: #093;
    color: #fff;
}

.share-url-copy.copied:hover {
    background: #093;
}

.offer-detail-description {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.offer-detail-description h2 {
    font: bold 16px pnsb, Arial, sans-serif;
    color: #222;
    margin: 0 0 12px;
}

.offer-detail-description-text {
    font: 14px/1.6 pn, Arial, sans-serif;
    color: #444;
}

.offer-detail-description-text img {
    max-width: 100%;
    height: auto;
}

.offer-detail-map {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    margin-top: 10px;
}

.offer-detail-map h2 {
    font: bold 16px pnsb, Arial, sans-serif;
    color: #222;
    margin: 0 0 12px;
}

#offer-detail-map-canvas {
    width: 100%;
    height: 350px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

#all-offers {
    width: 750px;
    float: right;
    margin-bottom: 20px;
}

#rightcolumn {
    float: left;
    margin: 20px 0;
}

span.hot {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
    width: 24px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 23c-4.97 0-8-3.03-8-7 0-2.62 1.08-5.07 3-7 .1 2 1 3.5 2.5 4.5C9 11 9 9 9.5 6.5c.5-2.5 2-4.5 4.5-6.5 0 3 1 5 3 7 1.5 1.5 2.5 3.5 2.5 6 0 4.5-3 10-7.5 10z' fill='%23FF6B35'/%3E%3Cpath d='M12 23c-2.5 0-5-2-5-5.5 0-1.5.5-3 1.5-4 .5 1 1 2 2 2.5.5-1.5.5-3 1-4.5.5-1.5 1.5-2.5 2.5-3.5.5 2 1 3 2 4.5.7 1 1 2.5 1 3.5 0 4-2 7-5 7z' fill='%23FFAD42'/%3E%3Cpath d='M12 23c-1.5 0-3-1.5-3-3.5 0-1 .5-2 1-2.5.5.5 1 1 1.5 1 .5-1 .5-2 1-3 .5 1 1 2 1.5 3 .3.5.5 1.2.5 2 0 2-1 3-2.5 3z' fill='%23FFE066'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 1px 3px rgba(255, 80, 0, 0.5));
}
 
#viewpopular {
    margin-right: 90px;
}

#viewpopular,
#viewnew {
    padding-right: 20px;
}

#viewpopular:hover,
#viewnew:hover,
#viewpopular.active,
#viewnew.active {
    background-position: right -35px;
    background-color: #fff;
}

#viewpopular.active:hover,
#viewnew.active:hover {
    cursor: default;
}

.sortcontent,
.scontent {
    background: #f5f7f9;
    line-height: 36px;
    float: none;
    padding: 0;
}

.sortcontent span {
    color: #666;
    font-size: 11px;
    text-shadow: none;
    font-family: pnb, arial, sans-serif;
    text-transform: uppercase;
    margin-right: 4px;
}

.sortcontent a {
    display: inline-block;
    padding: 0 20px 0 10px;
    font: 11px/28px pnsb, Arial, Helvetica, sans-serif;
    box-shadow: none;
    color: #444;
    text-transform: uppercase;
    height: 28px;
    margin: 0 2px;
    text-shadow: none;
    border: 1px solid #d0d5da;
    transition: all 0.15s ease;
}

.sortcontent a:hover,
.sortwrap .sortcontent a.active {
    color: #146fb0;
    text-decoration: none;
    background-position: right -93px;
    background-color: #fff;
    border-color: #a0c4e0;
}

.sortwrap .sortcontent a.active {
    background-position: right -64px;
}

.sortcontent a.active.up {
    background-position: right -93px;
}

.sortwrap {
    position: relative;
}

.sortwrap .sortcontent {
    padding: 4px 12px;
    margin: 0;
    height: auto;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    float: none;
    box-sizing: border-box;
    border-top: 1px solid #e8eaed;
}

#main-offers {
    margin: 20px 0;
}
.view-karta #main-offers {
    margin-bottom: 0;
}


.static-page #main-offers {
    margin: 0;
}
.small {
    font-size: 9px;
}

.live {
    font: normal 8px arial;
    color: red !important;
    text-shadow: none;
}

#main-offers tr.firstrow td:first-child {
    padding-left: 15px;
}

#main-offers > a {
    border: none;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    display: block;
    width: 660px;
    text-decoration: none;
    margin: 20px auto 35px;
    position: relative;
    color: #fff;
    text-transform: uppercase;
    height: 44px;
    font: bold 18px/44px pnb, Arial, Helvetica, sans-serif;
    text-align: center;
    padding: 0 30px;
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: all 0.2s ease;
}

#main-offers > a:hover {
    color: #fff;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    box-shadow: 0 3px 10px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.15);
    background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
    transform: translateY(-1px);
}

.upozorenje {
    margin: 30px 0;
    background: #fef0eb;
    padding: 15px;
    border: 2px solid #c30;
    color: #000;
    font: bold 14px Arial, Helvetica, sans-serif;
    line-height: 20px;
}

.upozorenje span {
    color: #c30;
    font-weight: bold;
}

.topzarada {
    margin: 10px 15px 0;
    line-height: 18px;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    padding: 0 0 10px;
}

.topzarada a.tzlink {
    color: #222;
    font: 12px/16px pn, Arial, Helvetica, sans-serif;
    display: block;
    overflow: hidden;
    max-height: 60px;
    margin-top: 10px;
    clear: both;
    padding: 7px;
    background: #edf7fc;
    box-shadow: 0 0 3px 0 #3c8db8 inset;
}

.topzarada a.tzlink strong {
    font-weight: normal;
}

.topzarada a.tzlink:hover {
    text-decoration: none;
    color: #444;
}

.numlabel {
    display: inline-block;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef0f3 100%);
    padding: 4px 8px;
    font-family: pnb, arial, sans-serif;
    box-shadow: none;
    border: 1px solid #d8dce0;
    color: #222;
    margin: 2px 5px;
}

.topzarada .numlabel {
    margin: 5px 0 0;
    font-size: 13px;
}

.hor3 {
    overflow: hidden;
    display: block;
    clear: both;
    margin: 25px 0;
    position: relative;
}

.hor3 > div {
    float: left;
    margin: 0 20px 0 0;
    width: 300px;
    overflow: hidden;
}

.bthead {
    background: linear-gradient(180deg, #0a3d5e 0%, #012a45 100%);
    color: #fff;
    text-shadow: 0 -1px rgba(0,0,0,0.25);
    padding: 10px 12px;
    font: 12px pnb, arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fb_iframe_widget {
    left: -1px;
    bottom: -1px;
    width: 100% !important;
}

.fb_iframe_widget span {
    width: 100% !important;
}

.fb_iframe_widget iframe,
.fb_iframe_widget iframe[style] {
    width: 100% !important;
}

#komentari h2 {
    font-weight: bold;
}

.btbody {
    background: #fff;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
}

.btbody table {
    margin: 10px;
}

.btbody table td {
    border-bottom: 1px solid #eee;
    padding: 10px 5px;
}

#komentari {
    width: 390px;
}

#brfanova {
    margin-right: 0;
}

#brfanova td a {
    font-size: 14px !important;
}

#brfanova td {
    font-size: 14px !important;
    border-bottom: 1px solid #eee;
    padding: 10px 5px;
}

#brfanova table {
    margin-bottom: 0;
}

#brfanova table.nomt {
    margin-top: 0;
}

#brfanova .bthead {
    line-height: normal;
}

/* ===== Statistics & Top Offers ===== */
#genstats {
    margin-bottom: 0;
}

#genstats .btbody {
    padding: 0;
}

.stats-summary {
    padding: 12px 14px;
}

.stats-row {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #f0f1f3;
}

.stats-row:last-child {
    border-bottom: none;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
    text-align: center;
}

.stat-item + .stat-item {
    border-left: 1px solid #f0f1f3;
}

.stat-value {
    font: bold 18px/1.2 pnsb, Arial, sans-serif;
    color: #1a7cb8;
    margin-bottom: 3px;
}

.stat-label {
    font: 11px/1.2 pn, Arial, sans-serif;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.top-offers-box {
    margin-bottom: 0;
}

.top-offers-box .btbody {
    padding: 0;
}

.top-offers-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-offer-item {
    border-bottom: 1px solid #f0f1f3;
}

.top-offer-item:last-child {
    border-bottom: none;
}

.top-offer-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    transition: background 0.15s;
}

.top-offer-item a:hover {
    background: #f5f9fc;
    text-decoration: none;
}

.top-offer-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 24px;
    padding: 0 6px;
    font: bold 11px/24px pnsb, Arial, sans-serif;
    text-align: center;
    color: #fff;
    white-space: nowrap;
}

.top-offer-badge.discount {
    background: linear-gradient(180deg, #e74c6f 0%, #c93d5c 100%);
}

.top-offer-badge.popular {
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    font-size: 10px;
}

.top-offer-badge.cheap {
    background: linear-gradient(180deg, #2ea44f 0%, #1d8038 100%);
    font-size: 10px;
}

.top-offer-title {
    flex: 1;
    min-width: 0;
    font: 12px/16px pnsb, Arial, sans-serif;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.top-offer-item a:hover .top-offer-title {
    color: #146fb0;
}

.top-offer-price {
    flex-shrink: 0;
    font: bold 12px/1 pnsb, Arial, sans-serif;
    color: #222;
}

.top-offer-discount {
    flex-shrink: 0;
    font: bold 11px/1 pnsb, Arial, sans-serif;
    color: #e74c6f;
}

#novosti {
    margin-bottom: 20px;
}

#novosti ul {
    margin: 0;
    padding: 5px 15px 0;
    display: block;
    list-style: none;
}

#novosti ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.povdodatnaopis {
    text-transform: lowercase;
}

.lower {
    text-transform: lowercase;
}

#povoljno,
#uhvatival {
    text-transform: lowercase;
}

#likebox {
    margin: 20px 0;
}

#footer-cities,
#footer-media {
    clear: both;
    margin-bottom: 10px;
    box-shadow: 0 -2px 5px 1px #e6e6e7 inset, 0 0 4px 0 #555;
    text-align: center;
}

#footer-cities h3 {
    display: inline;
    margin: 0 5px;
    font: normal 14px pn, Arial, Helvetica, sans-serif;
}

#footer-media {
    background: #fff url(../images/mediji.jpg) center center no-repeat;
    height: 20px;
}

#interesting {
    margin: 0 0 30px;
    clear: both;
}

#interestingoffers {
    margin: 10px;
    border: 1px solid #c8c8c8;
    max-height: 330px;
    overflow: auto;
}

#interestingoffers a {
    display: block;
    text-shadow: 0 1px #fff;
    box-shadow: 0 -20px 35px 1px #f0f0f0 inset;
    padding: 8px 5px 8px 10px;
    overflow: hidden;
    line-height: 18px;
    border-bottom: 1px solid #cecece;
    border-top: 1px solid #fff;
    background: #fff url(../images/bg-offer.png) 0 bottom repeat-x;
}

#interestingoffers a:hover {
    background: #21a7c9;
    text-shadow: 0 -1px #013644;
    box-shadow: 0 -20px 35px 1px #2789a8 inset;
    border-bottom: 1px solid #000f16;
    color: #fff;
}

#interestingoffers a img {
    float: left;
    margin-right: 15px;
    border: 1px solid #fff;
}

#interestingoffers a span.title {
    float: left;
    width: 590px;
    display: block;
    margin-top: 5px;
    line-height: 19px;
}

#interestingoffers a em {
    float: left;
    display: block;
    margin: 5px 0 0 10px;
    width: 80px;
    font-style: normal;
    height: 60px;
    text-align: center;
    text-transform: uppercase;
}

#interestingoffers a em.iprice {
    margin-left: 15px;
    margin-right: 8px;
    width: 100px;
}

#interestingoffers a em strong {
    font-weight: normal;
    font-size: 10px;
    color: #aaa;
    display: block;
    margin-bottom: 3px;
}

#interestingoffers a:hover em strong {
    color: #fff;
}

#interestingoffers a em span {
    display: block;
    font-size: 20px;
    font-family: pnsb, arial, sans-serif;
    line-height: 25px;
    text-transform: none;
}

a.rightlink {
    float: right;
    color: #fff;
    margin-right: 10px;
}

a.rightlink:hover {
    color: #fff;
    text-decoration: underline;
}

.btbody.lists ul {
    float: left;
    margin: 15px 0 15px 10px;
    padding: 0;
    list-style: none;
    width: 140px;
}

.btbody.lists ul li a {
    line-height: 22px;
}

.btbody.lists ul li a.inactive {
    color: #9c9c9c;
}

.btbody.lists ul.first {
    margin-left: 30px;
}

.naslovponude {
    overflow: hidden;
    width: 100%;
    min-height: 30px;
    font-family: pnsb, arial, sans-serif;
}

.naslovponude a {
    overflow-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-word;
}

.maintable.noloader .naslovponude {
    background: none;
}

.textbox {
    margin: 20px 0;
    padding: 10px;
    line-height: 20px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.textbox.footer {
    margin-bottom: 0;
    padding: 20px;
}

.footer-left {
    float: left;
}

.footer-right {
    float: right;
}


/* Mobile Category Bar */
#mobile-category-bar {
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
}

.mobile-bar-row {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Row 1: title + right group */
.mobile-bar-title-row {
    padding: 0 0 0 10px;
    height: 38px;
}

#mobile-category-title {
    flex: 1;
    font: 14px/38px pnsb, Arial, sans-serif;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.mobile-bar-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
    height: 38px;
}

/* Fav icon in title row */
.mobile-bar-fav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 38px;
    color: #999;
    text-decoration: none;
    position: relative;
}

.mobile-bar-fav.active,
.mobile-bar-fav:hover {
    color: #e0245e;
}

.mobile-bar-fav .favorites-count {
    position: absolute;
    top: 5px;
    right: 2px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    font: bold 9px/14px Arial, sans-serif;
    color: #fff;
    background: #e0245e;
    text-align: center;
    border-radius: 0;
}

/* View toggle — compact icon group */
.mobile-view-group {
    display: flex;
    align-items: center;
    height: 38px;
    border-left: 1px solid #e8eaed;
}

.mobile-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #555;
    cursor: pointer;
    transition: color 0.12s, background 0.12s;
    position: relative;
}

.mobile-view-btn + .mobile-view-btn {
    border-left: 1px solid #e8eaed;
}

.mobile-view-btn.active {
    background: #1a7cb8;
    color: #fff;
}

.mobile-view-btn:not(.active):hover {
    color: #1a7cb8;
    background: #f0f7fc;
}

.mobile-view-btn svg {
    display: block;
}

/* Row 2: sort + price button */
.mobile-bar-controls-row {
    padding: 8px 10px;
    gap: 10px;
}

/* Sort wrapper — icon + select in one bordered box */
.mobile-sort-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 36px;
    border: 1px solid #ccc;
    background: #fff;
}

.mobile-sort-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #4a5563;
    flex-shrink: 0;
}

.mobile-sort-wrap #mobile-sort {
    width: 100%;
    height: 36px;
    padding: 0 28px 0 30px;
    border: none;
    background: transparent;
    font: 14px/36px pnsb, Arial, sans-serif;
    color: #222;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234a5563'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    outline: none;
    min-width: 0;
    cursor: pointer;
}

/* Price toggle — matches sort visually */
.mobile-price-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ccc;
    background: #fff;
    font: 14px/1 pnsb, Arial, sans-serif;
    color: #4a5563;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.mobile-price-toggle svg {
    flex-shrink: 0;
}

.mobile-price-toggle.active {
    background: #1a7cb8;
    color: #fff;
    border-color: #1a7cb8;
}

.mobile-price-toggle.filter-active {
    border-color: #1a7cb8;
    color: #1a7cb8;
    position: relative;
}

.mobile-price-toggle.active.filter-active {
    color: #fff;
}

.mobile-price-toggle.filter-active::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: #1a7cb8;
    border-radius: 50%;
    border: 2px solid #fff;
}

.mobile-price-toggle.active.filter-active::after {
    background: #fff;
    border-color: #1a7cb8;
}

.mobile-price-toggle:not(.active):hover {
    border-color: #1a7cb8;
    color: #1a7cb8;
}

/* Mobile price filter pane */
.mobile-price-pane {
    background: #1d5f87;
    border-top: none;
    width: 100%;
}

.mobile-price-inner {
    padding: 14px;
}

.mobile-price-head {
    font: bold 12px/1 pnsb, Arial, sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.mobile-price-pane .price-inputs {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.mobile-price-pane .price-input-group {
    flex: 1;
}

.mobile-price-pane .price-input-group label {
    display: block;
    font: bold 10px/1 pnsb, Arial, sans-serif;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.mobile-price-pane .price-input-wrap input {
    width: 100%;
    height: 36px;
    padding: 0 26px 0 10px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 0;
    font: 14px/36px pn, Arial, sans-serif;
    color: #fff;
    background: rgba(255,255,255,0.12);
    box-sizing: border-box;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.mobile-price-pane .price-input-wrap input::-webkit-outer-spin-button,
.mobile-price-pane .price-input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mobile-price-pane .price-input-wrap input::placeholder {
    color: rgba(255,255,255,0.35);
}

.mobile-price-pane .price-input-wrap input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.18);
}

.mobile-price-pane .price-currency {
    position: absolute;
    right: 8px;
    color: rgba(255,255,255,0.5);
    font: 13px/1 pn, Arial, sans-serif;
    pointer-events: none;
}

.mobile-price-pane .price-dash {
    color: rgba(255,255,255,0.4);
    font: 16px/36px pn, Arial, sans-serif;
    align-self: flex-end;
    padding-bottom: 6px;
}

.mobile-price-pane .price-slider-wrap {
    margin-top: 12px;
}

.mobile-price-pane .price-slider-track {
    background: rgba(255,255,255,0.2);
}

.mobile-price-pane .price-slider-range {
    background: #fff;
}

.mobile-price-pane .price-slider-thumb::-webkit-slider-thumb {
    background: #fff;
    border: 2px solid #1d5f87;
    border-radius: 0;
    width: 16px;
    height: 16px;
}

.mobile-price-pane .price-slider-thumb::-moz-range-thumb {
    background: #fff;
    border: 2px solid #1d5f87;
    border-radius: 0;
    width: 16px;
    height: 16px;
}

.mobile-price-apply {
    display: block;
    width: 100%;
    height: 38px;
    margin-top: 14px;
    border: none;
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    color: #fff;
    font: bold 12px/38px pnsb, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 0;
    box-shadow:  1px 1px #222
}

.mobile-price-apply:hover {
    background: linear-gradient(180deg, #1e8fd4 0%, #1470b0 100%);
}

.mobile-price-clear {
    display: block;
    width: 100%;
    height: 30px;
    margin-top: 6px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font: 12px/30px pn, Arial, sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s;
    border-radius: 0;
}

.mobile-price-clear:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    border: none;
    border-right: 1px solid #e8eaed;
    background: transparent;
    color: #555;
    cursor: pointer;
    font: 14px/1 pnsb, Arial, sans-serif;
    transition: background 0.15s, color 0.15s;
    height: 42px;
}

.view-toggle-btn:first-child {
    border-left: 1px solid #e8eaed;
}

.view-toggle-btn.active {
    background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
    color: #fff;
    border-color: transparent;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
    box-shadow: none;
}

.view-toggle-btn:hover:not(.active) {
    background: #f0f7fc;
    color: #146fb0;
}

.view-toggle-btn svg {
    display: block;
    flex-shrink: 0;
}

#izbornik-gradova .view-toggle {
    float: none;
    margin-left: auto;
    border-left: 1px solid #e8eaed;
}

/* Favorites heart button on offer image */
.fav-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 8;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, transform 0.18s;
    opacity: 0;
}

.offer-item:hover .fav-btn,
.fav-btn.is-fav {
    opacity: 1;
}

.fav-btn svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
    transition: fill 0.18s, stroke 0.18s;
}

.fav-btn.is-fav svg {
    fill: #e74c6f;
    stroke: #e74c6f;
}

.fav-btn:hover {
    background: rgba(0,0,0,0.55);
    transform: scale(1.1);
}

.fav-btn.is-fav:hover svg {
    fill: #fff;
    stroke: #fff;
}

/* Favorites link in header bar */
.favorites-link {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 0 14px;
    height: 42px;
    font: 14px/1 pnsb, Arial, sans-serif;
    color: #555;
    text-decoration: none;
    border-left: 1px solid #e8eaed;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    white-space: nowrap;
}

#favorites-link-desktop {
    text-transform: uppercase;
    height: 50px;
    margin-left: 35px;
    padding: 0 20px;
    border: none;
}

.favorites-link:hover {
    background: #ee819a;
    color: #971231;
    text-decoration: none !important;
}

.favorites-link.active {
    background: linear-gradient(180deg, #e74c6f 0%, #c93d5c 100%);
    color: #fff;
    border-color: transparent;
    text-shadow: 0 -1px rgba(0,0,0,0.15);
}

.favorites-link.active svg {
    stroke: #fff;
}

.favorites-link svg {
    display: block;
    flex-shrink: 0;
    stroke: currentColor;
}

.favorites-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #e74c6f;
    color: #fff;
    font: bold 11px/18px pnsb, Arial, sans-serif;
}

.favorites-link.active .favorites-count {
    background: rgba(255,255,255,0.25);
}

/* favorites-link in cities toolbar */
#izbornik-gradova > .favorites-link {
    display: inline-flex;
}

/* Hidden offers when showing favorites only */
.offer-item.fav-hidden {
    display: none !important;
}

/* Map */
#mapwrap {
    display: none;
    margin: 0;
    padding: 0;
}

#mapwrap .bthead {
    display: none;
}

#mapwrap .btbody {
    padding: 0;
    margin: 0;
}

#map {
    display: block;
    width: 100%;
    height: 850px;
    margin: 0;
}
#map .gm-style-iw-d {
    overflow: hidden !important;
    padding: 0;
}
#map .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 6px;
    overflow: visible !important;
}
#map .gm-style-iw-t::after {
    display: none !important;
}
#map .gm-ui-hover-effect {
    top: 4px !important;
    right: 4px !important;
    background: rgba(255,255,255,0.5) !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1 !important;
}
#map .gm-ui-hover-effect > span {
    background-color: #333 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}
#map .gm-style-iw-chr {
    height: 0;
}

/* View switching */
body.view-lista #mapwrap,
body.view-grid #mapwrap {
    display: none !important;
}

body.view-karta #mainsort,
body.view-karta #nema {
    display: none !important;
}

/* Karta view: #mapwrap is inside #all-offers, hide list content and show map */
body.view-karta #main-offers > * {
    display: none !important;
}
body.view-karta #offers-section-title {
    display: flex !important;
}
body.view-karta #mapwrap {
    display: block !important;
    width: 100%;
}
body.view-karta #rightcolumn {
    margin-top: 0;
}

/* Grid view */
body.view-grid .offers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.view-grid .offers-list .offer-item {
    flex-direction: column;
    flex: 0 0 calc(33.333% - 8px);
    border-bottom: none;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
}

body.view-grid .offers-list .offer-image {
    flex: 0 0 auto;
    width: 100%;
}

body.view-grid .offers-list .offer-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

body.view-grid .offers-list .offer-info {
    padding: 10px 12px;
}

body.view-grid .offers-list .offer-title {
    margin: 0 0 6px;
}

body.view-grid .offers-list .offer-title a {
    font-size: 13px;
    line-height: 16px;
}

body.view-grid .offers-list .offer-description {
    display: none;
}

body.view-grid .offers-list .offer-company {
    font-size: 11px;
    margin: 0 0 6px;
}

body.view-grid .offers-list .offer-bottom {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

body.view-grid .offers-list .offer-meta {
    gap: 4px;
    flex-wrap: wrap;
}

body.view-grid .offers-list .offer-meta .cijenawrap {
    font-size: 16px;
}

body.view-grid .offers-list .offer-meta .vrijednost {
    font-size: 13px;
}

body.view-grid .offers-list .offer-discount {
    font-size: 18px;
}

body.view-grid .offers-list .offer-portal-name {
    opacity: 1;
}

.socialmenu {
    position: relative;
    box-shadow: 0 -1px 0 0 rgba(0,0,0,0.08);
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    overflow: hidden;
    border-top: none;
    background: linear-gradient(180deg, #115d8c 0%, #0b4268 100%);
}

.socialmenu div {
    position: relative;
    width: 980px;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    padding: 12px 0;
}

.socialmenu div a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font: 14px/20px pnsb, Arial, Helvetica, sans-serif;
    text-shadow: 0 -1px rgba(0,0,0,0.2);
    margin-right: 20px;
    transition: opacity 0.18s;
}

.socialmenu div a:hover {
    color: #fff;
    text-decoration: underline;
    opacity: 0.85;
}

.locale-link {
    font: 14px/20px pnsb, Arial, Helvetica, sans-serif !important;
    padding-left: 0 !important;
}

.locale-link:hover {
    opacity: 1;
}

.tipsy {
    padding: 5px;
    font: 12px pn, Arial, Helvetica, sans-serif;
    position: absolute;
    text-transform: uppercase;
    z-index: 100000;
}

.tipsy-inner {
    padding: 5px 8px 4px;
    background-color: black;
    color: white;
    max-width: 200px;
    text-align: center;
}

.tipsy-arrow {
    position: absolute;
    background: url('../images/tipsy.gif') no-repeat top left;
    width: 9px;
    height: 5px;
}

.tipsy-n .tipsy-arrow {
    top: 0;
    left: 50%;
    margin-left: -4px;
}

.tipsy-nw .tipsy-arrow {
    top: 0;
    left: 10px;
}

.tipsy-ne .tipsy-arrow {
    top: 0;
    right: 10px;
}

.tipsy-s .tipsy-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    background-position: bottom left;
}

.tipsy-sw .tipsy-arrow {
    bottom: 0;
    left: 10px;
    background-position: bottom left;
}

.tipsy-se .tipsy-arrow {
    bottom: 0;
    right: 10px;
    background-position: bottom left;
}

.tipsy-e .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    right: 0;
    width: 5px;
    height: 9px;
    background-position: top right;
}

.tipsy-w .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    left: 0;
    width: 5px;
    height: 9px;
}

.static-page {
    margin: 20px 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.static-page h1 {
    background: #032a44;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
    text-shadow: 0 -1px #023456;
    padding: 10px;
    font: 12px pnb, arial, sans-serif;
    text-transform: uppercase;
}

.static-page #main-offers {
    padding: 5px 15px 15px;
}

#flood-donation a {
    padding-left: 50px;
    background: url('../images/red-cross.png') no-repeat 25px center;
    background-size: 18px 18px;
    text-decoration: none;
    color: #444;
    font-family: pnsb, arial, sans-serif;
    font-size: 15px;
}

#flood-donation a:hover {
    text-decoration: underline;
}

#flood-donation {
    background: #fae8fd;
}

.flood-donation-wrap {
    width: 980px;
    margin: 0 auto;
    padding: 7px 0;
}

/* Hide newsletter section */
.nlwrap {
    display: none;
}

/* Hide vijesti sidebar and news scroller in header */
#novosti {
    display: none;
}

/* Hide top 10 na facebooku */
#fbstats {
    display: none;
}

/* Hide Google+ and Twitter social links, keep only Facebook */
a#tw {
    display: none;
}

a#gp {
    display: none;
}

/* Hide table header rows above offer listings */
#glavnip thead {
    display: none;
}

#dodatnip thead {
    display: none;
}

/* ===== Wide screen: >= 1280px => 1200px layout ===== */
@media screen and (min-width: 1280px) {
    .pagewrap {
        width: 1200px;
    }
    .nl {
        width: 1200px;
    }
    .socialmenu div {
        width: 1200px;
    }
    .flood-donation-wrap {
        width: 1200px;
    }
    #rightcolumn {
        width: 250px;
    }
    #all-offers {
        width: 920px;
    }
    #main-offers > a {
        width: 820px;
    }
    .cmenu.fixed {
        width: 1230px;
    }
    .head-info {
        width: 800px;
    }
}

/* ===== Extra wide: >= 1440px => 1320px layout ===== */
@media screen and (min-width: 1440px) {
    .pagewrap {
        width: 1320px;
    }
    .nl {
        width: 1320px;
    }
    .socialmenu div {
        width: 1320px;
    }
    .flood-donation-wrap {
        width: 1320px;
    }
    #rightcolumn {
        width: 280px;
    }
    #all-offers {
        width: 1025px;
    }
    #main-offers > a {
        width: 910px;
    }
    .cmenu.fixed {
        width: 1350px;
    }
    .head-info {
        width: 920px;
    }
}

/* Favorites page — hide sort and price filter controls */
body.showing-favs #price-filter-box,
body.showing-favs .mobile-bar-controls-row,
body.showing-favs .mobile-price-pane,
body.showing-favs #mainsort {
    display: none !important;
}
