

        /* -- COMPACT SEARCH HERO -- */
        .search-hero {
            background: linear-gradient(135deg, var(--red) 0%, #8b0f22 100%);
            padding: 1.25rem 1.25rem;
            position: relative;
            /*overflow: hidden;*/
        }
        .search-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
            background-size: 28px 28px;
        }
        .search-hero-inner {
            max-width: 1300px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        /* Breadcrumb */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.78rem;
            color: rgba(255,255,255,0.65);
            margin-bottom: 0.9rem;
            flex-wrap: wrap;
        }
        .breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
        .breadcrumb a:hover { color: white; }
        .breadcrumb i { font-size: 0.55rem; }
        .breadcrumb span { color: white; font-weight: 600; }

        /* Search bar &mdash; ista komponenta kao na pocetnoj, samo bez select-a */
        .search-bar { background: white; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); overflow: hidden; }
        .search-bar-row { display: grid; grid-template-columns: 1fr auto; }
        .search-field { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.25rem; min-width: 0; }
        .search-field i { color: var(--muted); flex-shrink: 0; font-size: 0.88rem; }
        .search-field input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 0.95rem; color: var(--text); min-width: 0; background: transparent; padding: 0; height: 50px; }
        .search-field input::placeholder { color: var(--muted-light); }
        .search-submit { background: var(--red); color: white; border: none; padding: 0 1.75rem; font-family: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: background 0.2s; white-space: nowrap; height: 50px; }
        .search-submit:hover { background: var(--red-dark); }

        @media (max-width: 600px) {
            .search-bar-row { grid-template-columns: 1fr auto; }
            .search-field { padding: 0 1rem; }
            .search-submit { padding: 0 1.25rem; font-size: 0; }
            .search-submit i { font-size: 1rem; }
        }

        /* -- PAGE LAYOUT -- */
        .page-wrap {
            max-width: 1300px;
            margin: 0 auto;
            padding: 1.5rem 1.25rem 3rem;
            display: grid;
            grid-template-columns: 272px 1fr;
            gap: 1.5rem;
            align-items: start;
        }

        /* Desktop: sidebar visible, no drawer button */
        .sidebar { display: block; }
        .filter-drawer-btn { display: none; }

        /* Mobile: sidebar hidden, show drawer button */
        @media (max-width: 768px) {
            .page-wrap { grid-template-columns: 1fr; }
            .sidebar { display: none; }
            .filter-drawer-btn { display: flex; }
        }

        /* -- SIDEBAR FILTERS -- */
        .sidebar-box {
            background: white;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            position: sticky;
            top: 80px;
        }

        .sidebar-head {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .sidebar-head h3 {
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .sidebar-head h3 i { color: var(--muted); font-size: 0.85rem; }
        .sidebar-clear {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--red);
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }
        .sidebar-clear:hover { text-decoration: underline; }

        /* Filter group */
        .filter-group {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
        }
        .filter-group:last-child { border-bottom: none; }
        .filter-group-label {
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.75rem;
        }

        /* Checkboxes */
        .filter-check {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.3rem 0;
            cursor: pointer;
            font-size: 0.86rem;
            color: var(--text-2);
        }
        .filter-check input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: var(--red);
            cursor: pointer;
            flex-shrink: 0;
        }
        .filter-check-count {
            margin-left: auto;
            font-size: 0.72rem;
            color: var(--muted);
        }

        /* Price range */
        .price-range {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }
        .price-range input {
            width: 100%;
            padding: 0.5rem 0.75rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            font-family: inherit;
            font-size: 0.85rem;
            color: var(--text);
            outline: none;
            transition: border-color 0.2s;
        }
        .price-range input:focus { border-color: var(--red); }
        .price-range input::placeholder { color: var(--muted-light); }

        /* Location select */
        .filter-select {
            width: 100%;
            padding: 0.5rem 0.75rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-sm);
            font-family: inherit;
            font-size: 0.85rem;
            color: var(--text-2);
            background: white;
            outline: none;
            cursor: pointer;
        }
        .filter-select:focus { border-color: var(--red); }
.filter-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text-2);
    background: white;
    outline: none;
    /* Specifično za input polja */
    appearance: none;
    box-sizing: border-box; /* Veoma bitno da padding ne širi polje preko 100% width */
    transition: border-color 0.2s; /* Lep prelaz kad se klikne */
}
        /* Apply button */
        .filter-apply {
            display: block;
            width: 100%;
            margin-top: 0.75rem;
            padding: 0.65rem;
            background: var(--red);
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            font-family: inherit;
            font-size: 0.88rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s;
        }
        .filter-apply:hover { background: var(--red-dark); }

        /* -- MAIN CONTENT AREA -- */
        .main-col { min-width: 0; }

        /* Results header */
        .results-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
 .results-info h1 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text);
        }
        .results-info h2 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
        }
        .results-info p {
            font-size: 0.8rem;
            color: var(--muted);
            margin-top: 0.1rem;
        }

        .results-controls {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Filter drawer button (mobile only) */
        .filter-drawer-btn {
            align-items: center;
            gap: 0.5rem;
            background: white;
            border: 1.5px solid var(--border);
            border-radius: 9999px;
            padding: 0.45rem 1rem;
            font-family: inherit;
            font-size: 0.84rem;
            font-weight: 600;
            color: var(--text-2);
            cursor: pointer;
            transition: all 0.2s;
        }
        .filter-drawer-btn:hover { border-color: var(--red); color: var(--red); }
        .filter-count-badge {
            background: var(--red);
            color: white;
            font-size: 0.68rem;
            font-weight: 700;
            padding: 0.1rem 0.4rem;
            border-radius: 9999px;
        }

        /* Active filter tags */
        .active-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
            text-decoration:none;
        }
        .active-filter-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            background: #fde8ec;
            color: var(--red);
            font-size: 0.78rem;
            font-weight: 600;
            padding: 0.25rem 0.65rem;
            border-radius: 9999px;
            text-decoration:none;
        }
        .active-filter-tag button {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--red);
            font-size: 0.72rem;
            padding: 0;
            line-height: 1;
            opacity: 0.65;
        }
        .active-filter-tag button:hover { opacity: 1; }

        /* -- MOBILE FILTER DRAWER -- */
        .drawer-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            z-index: 300;
            backdrop-filter: blur(2px);
        }
        .drawer-overlay.open { display: block; }

        .filter-drawer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 20px 20px 0 0;
            z-index: 301;
            max-height: 85vh;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
        }
        .filter-drawer.open { transform: translateY(0); }

        .drawer-handle {
            width: 40px;
            height: 4px;
            background: var(--border);
            border-radius: 2px;
            margin: 0.75rem auto 0;
        }
        .drawer-head {
            padding: 1rem 1.25rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border);
        }
        .drawer-head h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
        .drawer-close {
            width: 32px; height: 32px; border: none; background: var(--bg);
            border-radius: 50%; cursor: pointer; display: flex; align-items: center;
            justify-content: center; font-size: 0.9rem; color: var(--muted);
        }
        .drawer-close:hover { background: #fde8ec; color: var(--red); }

        .drawer-body { padding: 0 1.25rem 1.5rem; }
        .drawer-body .filter-group { padding: 1rem 0; }

        .drawer-footer {
            position: sticky;
            bottom: 0;
            background: white;
            padding: 1rem 1.25rem;
            border-top: 1px solid var(--border);
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 0.75rem;
        }
        .drawer-reset {
            padding: 0.75rem;
            background: white;
            border: 1.5px solid var(--border);
            border-radius: 9999px;
            font-family: inherit;
            font-size: 0.88rem;
            font-weight: 600;
            color: var(--text-2);
            cursor: pointer;
        }
        .drawer-apply {
            padding: 0.75rem;
            background: var(--red);
            border: none;
            border-radius: 9999px;
            font-family: inherit;
            font-size: 0.88rem;
            font-weight: 700;
            color: white;
            cursor: pointer;
        }
        .drawer-apply:hover { background: var(--red-dark); }

        /* -- HERO DROPDOWN BUTTONS -- */
        .hero-dropdowns {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-top: 0.9rem;
            flex-wrap: wrap;
        }

        .hero-label {
            font-size: 0.78rem;
            font-weight: 600;
            color: rgba(255,255,255,0.65);
            white-space: nowrap;
        }

        /* Dropdown wrapper */
        .hdrop {
            position: relative;
        }

        /* Trigger button */
        .hdrop-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.42rem 0.9rem;
            background: rgba(255,255,255,0.12);
            border: 1.5px solid rgba(255,255,255,0.3);
            border-radius: 9999px;
            color: white;
            font-family: inherit;
            font-size: 0.84rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.18s;
            white-space: nowrap;
        }
        .hdrop-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }
        .hdrop-btn.active-selection { background: white; color: var(--red); border-color: white; }
        .hdrop-btn i.arrow { font-size: 0.65rem; transition: transform 0.2s; margin-left: 0.1rem; }
        .hdrop.open .hdrop-btn i.arrow { transform: rotate(180deg); }

        /* Dropdown panel */
        .hdrop-menu {
            display: none;
            position: absolute;
            top: calc(100% + 0.5rem);
            left: 0;
            width: 800px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            overflow: hidden;
            z-index: 50;
        }
        .hdrop.open .hdrop-menu { display: block; }

        /* "Sve" opcija &mdash; puna sirina, iznad grida */
        .hdrop-item.all-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.65rem 1rem;
            text-decoration: none;
            font-size: 0.87rem;
            font-weight: 700;
            color: var(--text);
            border-bottom: 2px solid var(--border);
            transition: background 0.15s;
        }
        .hdrop-item.all-item:hover { background: #fef2f2; color: var(--red); }
        .hdrop-item.all-item.active { background: #fef2f2; color: var(--red); }
        .hdrop-item.all-item i { width: 16px; font-size: 0.8rem; color: var(--muted); text-align: center; flex-shrink: 0; }
        .hdrop-item.all-item:hover i, .hdrop-item.all-item.active i { color: var(--red); }

        /* Grid wrapper za ostale stavke */
        .hdrop-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }

        .hdrop-item {
            display: flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.6rem 1rem;
            text-decoration: none;
            color: var(--text-2);
            font-size: 0.85rem;
            font-weight: 500;
            transition: background 0.15s;
            border-bottom: 1px solid var(--border);
            border-right: 1px solid var(--border);
        }
        /* Desna kolona nema border-right */
        .hdrop-item:nth-child(even) { border-right: none; }
        /* Zadnja dva nemaju border-bottom */
        .hdrop-item:nth-last-child(-n+2) { border-bottom: none; }
        .hdrop-item:hover { background: #fef2f2; color: var(--red); }
        .hdrop-item.active { background: #fef2f2; color: var(--red); font-weight: 700; }
        .hdrop-item i { width: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; flex-shrink: 0; }
        .hdrop-item:hover i, .hdrop-item.active i { color: var(--red); }

        /* Mobilni - bottom sheet sa overlay-om */
        .hdrop-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: 49;
        }
        .hdrop-overlay.open { display: block; }

        @media (max-width: 600px) {
            .hdrop-menu {
                position: fixed;
                top: auto;
                bottom: 0;
                left: 0;
                right: 0;
                width: 100%;
                transform: none;
                border-radius: 16px 16px 0 0;
                box-shadow: 0 -4px 32px rgba(0,0,0,0.2);
                max-height: 70vh;
                overflow-y: auto;
                z-index: 50;
            }
            .hdrop-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
        }

/* Stil za loader */
.loader-inline {
    display: none; /* Sakriven po defaultu */
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Opciono: Vizuelni znak da je polje blokirano dok se puni */
.select-loading {
    opacity: 0.5;
    cursor: wait;
}

/* -- PAGINACIJA -- */
.pg-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--text-2);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s;
    line-height: 1;
}

.pg-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.pg-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.pg-btn.disabled {
    opacity: 0.38;
    pointer-events: none;
    cursor: default;
}

.pg-btn.prev-next {
    gap: 5px;
    padding: 0 12px;
}

.pg-btn.prev-next svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pg-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}