/* >= L */
@media screen and (min-width: 960px) {
    #naslovi .menu-icon, #naslovi .search-icon, #naslovi .city-icon, #naslovi .fav-header-icon, #naslovi h1, #searchbox-mobile, .mobile-panel, #mobile-category-bar, #menu-overlay, #mobile-view-toggle {
        display: none !important;
    }
}

/* < L */
@media screen and (max-width: 959px) {
    /* sakriven header - privremeno */
    .nlwrap, .banner-wrap, .sortwrap, .responsive #izbornik-gradova a span, #naslovi #locmenu, #naslovi .head-info, #searchbox {
        display: none;
    }
    #interesting, #redak .bthead, #redak .btbody, #novosti .bthead, #novosti .btbody, #footer-cities, #footer-media, #b1banner, #b2banner, #c1banner, #c2banner, #d2banner, #brfanova, #likebox {
        display: none;
    }

    .logo img {
        width: 120px;
        height: 42px;
    }
    /* Float-panel: stacked circular floating action buttons */
    #float-panel {
        right: 14px;
        bottom: 16px;
        width: auto !important;
        gap: 8px;
        align-items: flex-end;
    }
    /* Hide view-toggle floatlinks on mobile, keep only "Na vrh" */
    a.floatlink.view-toggle-btn {
        display: none !important;
    }
    /* All floatlinks become 44px circular icon-only buttons */
    a.floatlink {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        font: 0/0 a !important;
        color: transparent !important;
        text-shadow: none !important;
        background: #fff !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.10) !important;
        gap: 0 !important;
        justify-content: center !important;
        border: none !important;
    }
    a.floatlink svg {
        width: 18px !important;
        height: 18px !important;
        color: #146fb0;
        stroke: currentColor !important;
        flex-shrink: 0;
    }
    a.floatlink.active {
        background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%) !important;
    }
    a.floatlink.active svg {
        color: #fff;
    }
    a.floatlink:hover {
        transform: translateY(-1px);
    }
    /* "Na vrh" has no SVG — draw an up arrow */
    a.floatlink.top {
        background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%) !important;
        position: relative;
    }
    a.floatlink.top::before {
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        border-top: 2.5px solid #fff;
        border-right: 2.5px solid #fff;
        transform: rotate(-45deg);
        margin-top: 18px;
        margin-left: 15px;
    }
    #all-offers > a, #main-offers > a, #other-offers > a {
        display: block;
        width: auto !important;
        max-width: 100%;
        box-sizing: border-box;
        margin: 15px 10px !important;
        font-size: 16px !important;
        height: auto !important;
        padding: 10px 15px !important;
        line-height: 1.3 !important;
    }

    html, body {
        overflow-x: hidden;
    }

    #main-offers {
        margin: 0 0 20px;
    }

    .pagewrap, #all-offers, #rightcolumn  {
        width: 100%;
        max-width: 100vw;
        float: none;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .pagewrap {
        min-height: auto;
        padding: 0;
        z-index: auto;
    }


    #novosti {
        width: calc(100% - 20px);
        margin: 20px 10px 0;
    }
    /*
    #novosti .bthead, #novosti .btbody {
        display: block;
    }
    */

    #access .menu-header {
        width: 100%;
    }
    #access .menu-header ul {
        clear: both;
        overflow: hidden;
    }

    /* HEADER */
    #naslovi {
        margin: 0;
        height: 50px;
        background: #0d5583;
    }
    #naslovi .logo {
        position: absolute;
        z-index: 20;
        display: block;
        background: none;
        width: 120px;
        height: 42px;
        top: 4px;
        left: 4px;
        margin-left: 10px;
    }
    #naslovi h1 {
        display: none;
        color: #fff;
        text-transform: uppercase;
        font-size: 20px;
        font-weight: bold;
        margin: 0;
        padding: 15px 0 0 65px;
        position: absolute;
        z-index: 10;
        left: 0;
        top: 0;
    }
    #naslovi h1 .h1-link {
        color: #fff;
        text-decoration: none;
    }
    #glavni-heading {
        position: relative;
        padding-top: 48px;
    }
    #naslovi {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        overflow: visible;
        transition: transform 0.3s ease;
    }
    #naslovi .menu-icon {
        position: absolute;
        top: 0;
        right: 1px;
        z-index: 10;
        padding: 19px 17px;
        background: linear-gradient(180deg, #2d8cc9 0%, #1a6da5 100%);
        box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 0px inset;
        display: block;
        transition: background 0.18s ease;
    }
    #naslovi .menu-icon:hover { background: linear-gradient(180deg, #3598d6 0%, #2680b8 100%); }
    #naslovi .search-icon {
        position: absolute;
        top: 0;
        right: 54px;
        z-index: 10;
        padding: 16px 14px;
        background: linear-gradient(180deg, #2d8cc9 0%, #1a6da5 100%);
        box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 0px inset;
        display: block;
        line-height: 0;
        transition: background 0.18s ease;
    }
    #naslovi .search-icon:hover { background: linear-gradient(180deg, #3598d6 0%, #2680b8 100%); }
    #naslovi .fav-header-icon {
        position: absolute;
        top: 0;
        right: 101px;
        z-index: 10;
        padding: 16px 14px;
        background: linear-gradient(180deg, #2d8cc9 0%, #1a6da5 100%);
        box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 0px inset;
        display: block;
        line-height: 0;
        transition: background 0.18s ease;
        text-decoration: none;
    }
    #naslovi .fav-header-icon:hover { background: linear-gradient(180deg, #3598d6 0%, #2680b8 100%); }
    #naslovi .fav-header-icon.active svg { fill: #fff; }
    .fav-header-badge {
        position: absolute;
        top: 8px;
        right: 6px;
        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;
    }
    #naslovi .city-icon {
        position: absolute;
        top: 0;
        right: 148px;
        z-index: 10;
        padding: 16px 14px;
        background: linear-gradient(180deg, #2d8cc9 0%, #1a6da5 100%);
        box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 0px inset;
        display: block;
        line-height: 0;
        transition: background 0.18s ease;
    }
    #naslovi .city-icon:hover { background: linear-gradient(180deg, #3598d6 0%, #2680b8 100%); }
    .mobile-panel {
        position: fixed !important;
        top: 50px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
        padding: 12px 15px;
        border-bottom: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        font: 14px/18px pn, Arial, sans-serif;
    }
    #menu-overlay {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99;
        background: #fff;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        font: 14px/18px pn, Arial, sans-serif;
    }
    #menu-overlay.open {
        display: block;
    }
    #menu-overlay #mainmenu,
    #menu-overlay #global-mainmenu {
        display: block !important;
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background: #fff;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none;
        border-bottom: 2px solid #146fb0;
        float: none !important;
    }
    #menu-overlay #mainmenu li,
    #menu-overlay #global-mainmenu li {
        height: auto;
        float: none;
        background: #fff;
        text-align: left;
        border: none;
        box-shadow: none;
        border-bottom: 1px solid rgba(194, 194, 194, 0.53);
        display: block;
    }
    #menu-overlay #mainmenu li a,
    #menu-overlay #global-mainmenu li a {
        display: block;
        padding: 15px;
        font-size: 16px;
        color: #333;
        text-decoration: none;
        background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
        border: none;
        text-shadow: none;
        float: none;
        overflow: visible;
        height: auto;
        white-space: normal;
        transition: all 0.15s ease;
        box-shadow: 3px 0 0 0 #d0d7de inset;
        font-weight: bold;
    }
    #menu-overlay #mainmenu li:hover a,
    #menu-overlay #global-mainmenu li:hover a {
        background: linear-gradient(180deg, #f0f7fc 0%, #e8f1f8 100%);
        color: #146fb0;
        box-shadow: 3px 0 0 0 #146fb0 inset;
    }
    #menu-overlay #izbornik-gradova {
        display: none;
    }
    #menu-overlay .cmenu li span:not(.menu-cat-count) { display: none; }
    #menu-overlay .menu-cat-count {
        display: inline-block;
        float: right;
        font-size: 11px;
        color: #777;
        font-family: pnsb, Arial, sans-serif;
        background: #eef2f6;
        padding: 2px 8px;
        margin-top: 1px;
    }
    #menu-overlay li:hover .menu-cat-count { background: rgba(20,111,176,0.12); color: #146fb0; }
    .mobile-menu-about {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
        color: #146fb0;
        text-decoration: none;
        border-top: 2px solid #146fb0;
        text-align: center;
    }
    .mobile-panel form {
        display: flex;
        gap: 8px;
    }
    .mobile-search-inner {
        flex: 1;
        position: relative;
        display: flex;
        align-items: stretch;
    }
    .mobile-search-inner .search-clear-btn {
        right: 4px;
        color: #666;
    }
    .mobile-search-input {
        flex: 1;
        padding: 9px 32px 9px 12px;
        font-size: 15px;
        border: 1px solid #bfc6cd;
        outline: none;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
        transition: border-color 0.18s, box-shadow 0.18s;
    }
    .mobile-search-input:focus {
        border-color: #146fb0;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.06), 0 0 0 2px rgba(20,111,176,0.15);
    }
    .mobile-search-btn {
        padding: 9px 18px;
        background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
        color: #fff;
        border: 1px solid #0e5278;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        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.18s ease;
    }
    .mobile-search-btn:hover {
        background: linear-gradient(180deg, #1e8fd4 0%, #146fb0 100%);
    }
    .mobile-city-link {
        display: inline-block;
        padding: 7px 13px;
        margin: 4px;
        background: linear-gradient(180deg, #fff 0%, #f5f7f9 100%);
        color: #333;
        text-decoration: none;
        font: 14px/18px pnsb, Arial, sans-serif;
        border: 1px solid #d0d7de;
        transition: all 0.18s ease;
    }
    .mobile-city-link:hover, .mobile-city-link.active {
        background: linear-gradient(180deg, #1a7cb8 0%, #115d8c 100%);
        color: #fff;
        text-decoration: none;
        border-color: #0e5278;
        box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }
    .mobile-city-link .city-count {
        display: inline-block;
        background: #eef2f6;
        color: #777;
        font-size: 11px;
        padding: 1px 6px;
        margin-left: 3px;
    }
    .mobile-city-link:hover .city-count, .mobile-city-link.active .city-count {
        background: rgba(255,255,255,0.25);
        color: #fff;
    }
    .responsive #izbornik-gradova #searchbox-mobile,
    .responsive #izbornik-gradova .city-menu-expand {
        display: none !important;
    }
    #naslovi .menu-icon .icon-bar {
        background-color: #fff;
        display: block;
        width: 18px;
        height: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    #naslovi .menu-icon .icon-bar+.icon-bar {
        margin-top: 3px;
    }
    #naslovi .menu-icon.active .icon-bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    #naslovi .menu-icon.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    #naslovi .menu-icon.active .icon-bar:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
    /*
    #glavni-heading .icon {
        position: absolute;
        z-index: 10;
        right: 0;
        top: 0;
        list-style: none;
    }
    #glavni-heading .icon a {
        display: inline-block;
        color: #fff;
        text-align: center;
        padding: 15px 16px;
        text-decoration: none;
        font-size: 15px;
        background-color: #297cb7;
    }

    */

    .responsive #izbornik-gradova #searchbox-mobile {
        position: absolute;
        top: 0;
        left: 0;
        height: 48px;
        margin: 0;
        float: none;
        background: #e9ebee;
        width: 100%;
        padding: 0;
        line-height: auto;
    }
    .responsive #izbornik-gradova #searchbox-mobile form {
        padding: 7px 5px 5px 5px;
    }
    .responsive #izbornik-gradova #searchbox-mobile #csearch {
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), inset 1px 1px 10px 0px rgba(0, 0, 0, 0.15) !important;
        height: 32px !important;
        width: 65%;
        margin-left: -15px;
    }
    .responsive #izbornik-gradova #searchbox-mobile #bbutton {
        height: 32px;
        width: 25%;
    }
    .responsive #izbornik-gradova #searchbox-mobile #bbutton:hover,
    .responsive #izbornik-gradova #searchbox-mobile #bbutton:focus {
        background: url(../images/city-tabs.png) 0 -6px repeat-x !important;
        border: 1px solid #5ebdec !important;
        text-transform: uppercase;
        box-shadow: 0 -1px 4px 0 #555 inset;
        text-shadow: 0 -1px #222;
        text-align: center;
        color: #fff;
        padding: 0 10px;
        font: 12px/26px pnb, Arial, Helvetica, sans-serif;
    }


    /* Always show heart fav button on mobile (no hover state) */
    .fav-btn {
        opacity: 1;
        top: 5px;
        right: 5px;
    }

    /* View toggle - hide desktop version on mobile, show mobile version */
    #desktop-view-toggle, #favorites-link-desktop {
        display: none !important;
    }
    /* Hide redundant favoriti link in mobile category bar — heart icon is in top header */
    #mobile-category-bar #favorites-link {
        display: none !important;
    }
    /* Hide desktop section title — mobile-category-title already serves this role */
    #offers-section-title {
        display: none !important;
    }
    /* View toggle — clean icon buttons */
    #mobile-view-toggle {
        display: flex;
        align-items: center;
        background: none;
        padding: 0;
        box-shadow: none;
        height: auto;
    }

    /* Grid view: 2 columns on mobile */
    body.view-grid .offers-list .offer-item {
        flex: 0 0 calc(50% - 3px) !important;
        max-width: calc(50% - 3px);
    }
    body.view-grid .offers-list .offer-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
    body.view-grid .offers-list .offer-image img {
        width: 100%;
        height: 120px;
        aspect-ratio: auto;
        object-fit: cover;
    }

    body.view-grid .offers-list {
        gap: 6px;
    }
    body.view-grid .offers-list .offer-title a {
        -webkit-line-clamp: 4;
    }

    /* Detail link: show info icon, hide text on mobile */
    .offer-detail-link .offer-detail-icon {
        display: inline-block;
    }
    .offer-detail-link .offer-detail-label {
        display: none;
    }
    .offer-detail-link {
        padding: 2px;
        position: relative;
        z-index: 5;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* min-width: 30px;
        min-height: 30px; */
    }

    /* Offer detail page (preview) — mobile layout */
    #all-offers.offer-detail-page {
        width: 100%;
        box-sizing: border-box;
    }
    .offer-detail-page {
        padding: 12px;
    }
    .offer-detail-content {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
    }
    .offer-detail-image {
        flex: 0 0 auto;
        width: 100%;
    }
    .offer-detail-image img {
        width: 100%;
        height: auto;
    }
    .offer-detail-info {
        width: 100%;
    }
    .offer-detail-title {
        font-size: 18px;
        line-height: 1.3;
    }
    .offer-detail-share {
        gap: 10px;
        flex-wrap: wrap;
    }
    .offer-detail-share .share-btn {
        width: 44px;
        height: 44px;
        border-radius: 22px;
    }
    .offer-detail-share .share-btn svg {
        width: 22px;
        height: 22px;
    }
    .offer-detail-share .share-url-wrap {
        flex: 1 1 100%;
        margin-top: 10px;
    }
    .offer-detail-share .share-url-copy {
        min-width: 44px;
        min-height: 40px;
    }
    #offer-detail-map-canvas {
        height: 250px;
    }

    /* Map overrides for mobile karta view */
    body.view-karta #mapwrap,
    body.view-karta #mapwrap .btbody {
        display: block !important;
    }
    body.view-karta #mapwrap {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
    }
    body.view-karta #main-offers > * {
        display: none !important;
    }
    body.view-karta #rightcolumn {
        display: none !important;
    }
    #map {
        width: 100%;
        height: calc(100vh - 150px);
        min-height: 300px;
    }

    /* Mobile category bar — two-row layout */
    #mobile-category-bar {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #edf0f3;
    }
    /* Row 1: title + view toggle */
    .mobile-bar-title-row {
        padding: 10px 10px 8px;
        height: auto;
    }
    #mobile-category-title {
        font: 800 18px/1.2 pnsb, -apple-system, Arial, sans-serif;
        color: #0f2336;
        padding-left: 7px;
    }
    #mobile-category-title .title-count {
        font: 700 11px/18px pnsb, Arial, sans-serif;
        color: #6b7d8c;
        display: inline-block;
        padding: 0 8px;
        margin: 0;
        background: #eef3f7;
        letter-spacing: 0.2px;
    }
    /* Row 2: sort + price — already styled in main.css */
    /* Hide sort in karta view */
    body.view-karta .mobile-sort-wrap {
        display: none !important;
    }

    /* MENU */

    #izbornik-gradova, #mainmenu {
        display: none;
        width: auto !important;
    }
    #mainmenu {
        display: none !important;
    }
    .responsive #mainmenu.fixed {
        display: none !important;
    }
    .responsive #izbornik-gradova, .responsive #mainmenu {
        display: block;
    }
    .responsive #mainmenu {
        display: block !important;
    }
    /**/
    .responsive #mainmenu {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background: #fff;
        height: auto;
        border: none;
        box-shadow: none;
        border-bottom: 2px solid #146fb0;
    }
    .responsive #mainmenu li {
        height: auto;
        float: none;
        background: #fff;
        border: none;
        box-shadow: none;
        text-shadow: none;
        border-bottom: 1px solid rgba(194, 194, 194, 0.53);
        display: block;
    }
    .responsive #mainmenu li a {
        display: block;
        padding: 12px 15px;
        font-size: 15px;
        text-align: left;
        height: auto;
        border: none;
        text-shadow: none;
        float: none;
        box-shadow: 3px 0 0 0 #d0d7de inset;
        background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
        transition: all 0.15s ease;
    }
    .responsive #mainmenu a.active, .responsive #mainmenu li:first-child a {
        background: linear-gradient(180deg, #e8f1f8 0%, #daeaf5 100%);
        color: #0b4f7a;
        box-shadow: 3px 0 0 0 #146fb0 inset;
    }
    .responsive #mainmenu a.active:hover {
        color: #0b4f7a !important;
    }
    .responsive #mainmenu li:hover a {
        background: linear-gradient(180deg, #f0f7fc 0%, #e8f1f8 100%);
        color: #146fb0;
        box-shadow: 3px 0 0 0 #146fb0 inset;
    }

    .responsive #izbornik-gradova {
        width: auto;
        overflow: visible;
        float: none;
        position: static;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
    }
    .responsive .odjeca-link {
        display: none !important;
    }
    .responsive #izbornik-gradova a.active, .responsive #izbornik-gradova a.first {
        display: none;
        background: none;
        box-shadow: none;
        color: #fff;
        border: none;
        text-shadow: none;
        position: absolute;
        top: -47px;
        left: 120px;
        margin: 0;
        font-size: 14px;
    }
    #city-menu-expand {
        clear: both;
        overflow: hidden;
        padding: 0;
        background: #fff;
        position: relative;
        display: none;
        margin: 0;
    }
    .responsive #izbornik-gradova a {
        display: block;
        box-shadow: none;
        position: relative;
        float: none;
        border: none;
        margin: 0;
        background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
        text-decoration: none;
        color: #444;
        text-shadow: none;
        padding: 12px 15px 12px 15px;
        font-size: 15px;
        border-bottom: 1px solid #eef0f3;
        line-height: 1.3;
        transition: all 0.15s ease;
    }
    .responsive #izbornik-gradova a:hover {
        cursor: pointer;
        color: #146fb0;
        text-decoration: none;
        text-shadow: none;
        border: none;
        border-bottom: 1px solid #eef0f3;
        background: linear-gradient(180deg, #f0f7fc 0%, #e8f1f8 100%);
    }
    .responsive #izbornik-gradova .city-expand-icon { display: none; }
    #all-offers #main-offers>a {
        margin-bottom: 0;
    }

    /* SOCIAL ICONS */

    .socialmenu {
        position: static;
        background: linear-gradient(180deg, #115d8c 0%, #0b4268 100%);
        overflow: visible;
    }
    .socialmenu div {
        position: static;
        width: 100%;
        margin-top: 0;
        padding: 12px 14px;
        text-align: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 0;
    }
    /* Mobile footer */
    .footer {
        padding: 15px 12px;
        font-size: 12px;
        line-height: 18px;
        background: #fff;
    }
    .footer p {
        margin: 0 0 10px;
    }
    .footer .footer-left {
        float: left;
        display: inline;
    }
    .footer .footer-right {
        float: right;
        display: inline;
    }
    .footer .footer-left p, .footer .footer-right p {
        display: inline;
        margin: 0;
    }
    .socialmenu div a {
        display: inline-flex;
        align-items: center;
        height: auto;
        margin: 0;
        padding: 10px 16px;
        background: none;
        color: rgba(255,255,255,0.9);
        font-size: 13px;
        line-height: 1;
        text-decoration: none;
        font-weight: 600;
        white-space: nowrap;
    }
    .socialmenu div a.locale-link {
        display: inline-flex;
        padding: 10px 16px;
        font-size: 13px !important;
        line-height: 1 !important;
        color: rgba(255,255,255,0.9);
    }
    a#fb, a#tw, a#gp {
        line-height: 20px;
        font-size: 14px;
    }
    a#fb {
        margin-left: 0;
        background-size: 20px auto;
        padding-left: 28px;
    }

    /* search results */
    #searchresults {
        padding: 10px;
        box-sizing: border-box;
    }
    #searchresults iframe {
        width: 100%;
    }
    #search-results-table,
    #search-results-table tbody {
        display: block;
        width: 100%;
    }
    #search-results-table .offer-item {
        display: flex;
    }

    /* offer header */

    .offer-header {
        background: red;
    }
    .offer-header div {
        width: 100% !important;
        background: red;
    }



}

/* M only */
@media screen and (min-width: 768px) and (max-width: 959px) {

}

/* < M */
@media screen and (max-width: 767px) {
    .redak a.floatlink.karta {
        display: none;
    }
    /* Section titles hidden on mobile */
    .offers-section-title {
        display: none;
    }
    /* Mobile offer listing */
    .offer-item {
        padding: 10px;
    }
    .offer-image {
        flex: 0 0 41vw;
        max-width: 200px;
    }
    .offer-image img {
        aspect-ratio: 16/10;
        object-fit: cover;
    }
    .offer-description,
    .offer-company {
        display: none;
    }
    .offer-info {
        padding-left: 15px;
    }
    .offer-title {
        margin: 0
    }
    .offer-title a {
        font-size: 15px;
        line-height: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .offer-bottom {
        flex-wrap: nowrap;
        gap: 0;
        overflow: hidden;
    }
    .offer-meta {
        flex-wrap: nowrap;
        gap: 5px;
        align-items: baseline;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .offer-meta .cijenawrap {
        font-size: 16px;
    }
    .offer-meta .vrijednost {
        font-size: 12px;
        padding: 0 2px;
    }
    .offer-discount {
        font-size: 14px;
        font-weight: bold;
    }
    .prodanowrap {
        font-size: 11px;
        white-space: nowrap;
    }
    .offer-portal-name {
        display: none;
    }





    .socialmenu div {
        text-align: left;
    }



}

/* S only */
@media screen and (min-width: 576px) and (max-width: 767px) {

}

/* < S */
@media screen and (max-width: 575px) {

}

/* < XS */
@media screen and (max-width: 446px) {
    .offer-image {
        flex: 0 0 41vw;
        max-width: 200px;
    }
    .offer-title a {
        font-size: 14px;
        line-height: 18px;
    }
    #mobile-sort {
        font-size: 14px !important;
        padding-left: 28px !important;
        padding-right: 24px !important;
        background-position: right 8px center !important;
    }
    .mobile-sort-icon {
        left: 8px !important;
    }
    .mobile-view-btn {
        width: 38px !important;
        background: #eee;
    }
    .offer-meta .cijenawrap {
        font-size: 16px;
    }
    .offer-meta .vrijednost {
        font-size: 10px;
    }
    .offer-discount {
        font-size: 13px;
    }
    .prodanowrap {
        font-size: 10px;
    }
}

