/* Main Layout */
.ads-catalog-wrapper {
    /* padding: 20px 0; */
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.results-count {
    color: #666;
    font-size: 14px;
}

/* View Switcher */
.view-switcher {
    display: flex;
    gap: 8px;
}
.list-view .blokdljaglavnojinfi {
    display: flex;
}
.list-view .ad-card__main-info {
    flex: 1 0 65%;

}
.list-view .ad-card__details {
    flex: 0 0 35%;
}
.view-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.view-switch svg {
    width: 20px;
    height: 20px;
}

.view-switch.active {
    background: #e3002c;
    color: #fff;
    border-color: #d55971;
}

/* Listings Container */
.ads-container {
    margin: 0;
    padding: 0;
}

/* List View */
.list-view .ads-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-view .ad-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-view .ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.filter-control, .ad-card__location {
    text-transform: capitalize;
}
.list-view .ad-card__image {
    width: 296px;
    height: 195px;
    position: relative;
    flex-shrink: 0;
}

.list-view .ad-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-view .ad-card__content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Grid View */
.grid-view .ads-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.grid-view .ad-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.grid-view .ad-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.grid-view .ad-card__image {
    position: relative;
    padding-top: 66%;
}

.grid-view .ad-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-view .ad-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Common Card Styles */
.ad-card__whatsapp-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #25D366;
    color: white;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

.ad-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 19px;
}

.ad-card__title a {
    color: #2c3e50;
    text-decoration: none;
}

.ad-card__price {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.ad-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}
.list-view .ad-card__location {
    margin: 16px 0;

}
.ad-card__location svg {
    color: #666;
    flex-shrink: 0;
}

.ad-card__details {
    padding: 5px 0 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    /* margin: 12px 0; */
    flex: 1;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}
.category-title {
    cursor:pointer; 
}
.detail-item .label {
    color: #666;
}

.detail-item .value {
    font-weight: 500;
    color: #2c3e50;
    text-transform: capitalize;
}
.adpriceblock {
    display: flex;
}
.ad-card__pricetype {
    margin: 2px 0 0 5px;
}
.ad-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

.ad-card__meta {
    display: flex;
    gap: 16px;
    color: #666;
    font-size: 13px;
    align-items: center;
}

.views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.views svg {
    color: #666;
    flex-shrink: 0;
}

.ad-card__link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.ad-card__link:hover {
    color: #2980b9;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 32px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}


.page-numbers li a,
.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-numbers li .current {
    background: #e3002c;
    color: #fff;
    border-color: #e45571;
}

.page-numbers li a:hover {
    background: #f8f9fa;
    border-color: #e3002c;
}

.page-numbers li .dots {
    border: none;
    background: none;    line-height: 34px;
}

.page-numbers li .prev,
.page-numbers li .next {
    font-size: 18px;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 48px 24px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
} 

/* Sort Section */
.sort-section select {
    min-width: 200px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #2c3e50;
    cursor: pointer;
}

/* Res

/* Loading Animation */
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.filters-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

/* Filters Header */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    border-bottom: 1px solid #eee;
    background: #f0f0f070;
    border-radius: 12px 12px 0 0;
}

.category-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.category-selector select {
    min-width: 200px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}
.tag-count {
    font-size: 10px;
}

/* Smooth transitions for tag filtering */
.tag-link {
    transition: opacity 0.3s ease;
}

.tag-link.tag-hidden {
    pointer-events: none;
}

.ads-tag-cloud.tags-updating .tag-link {
    opacity: 0.5;
}

.ads-tag-cloud .tag-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    transition: all 0.2s ease;
}
.range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-inputs input {
    width: calc(50% - 5px);
    padding: 5px;
}

.range-unit {
    margin-left: -4px 11px 0 -4px;
    color: #666;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
}
.list-view .ad-card__details .property-details {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ads-tag-cloud .tag-link:hover {
    background: #e0e0e0;
    color: #000;
    text-decoration: none;
}

.ads-tag-cloud .tag-link.active {
    background: #e3002c;
    color: #fff;
    border-color: #e3002c;
}

.ads-tag-cloud .tag-link.active:hover {
    background: #c60026;
}
/* Filters Content */
.filters-scroll {
    padding: 0 20px 20px;
    overflow-x: auto;
}
.filters-content .filter-group {
    margin-bottom: 0;
}
.filters-content {
    display: flex;
    gap: 16px;
    min-width: min-content;
    margin-top: 13px;
    padding: 10px 0 0;
    border-top: 1px solid #e5e7e9;
}

.filter-group {
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.filter-control {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}

/* Range Inputs */
.range-inputs {
    display: flex;
    gap: 8px;
}

.range-inputs input {
    width: 50%;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    min-width: 100%;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
}

.filter-tag button {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    cursor: pointer;
}
.ad-card__company-logo {
    position: unset;
    border-radius: 4px;
    width: 46px;
    height: 46px;
    float: right;
    margin: -3px 0 0;
}
.list-view .ad-card__company-logo {
    position: unset;
    border-radius: 4px;
    width: 65px;
    height: 65px;
    float: right;
    margin: -4px 12px 0 0;
    bottom: auto;
    top: 10px;
    right: 10px;
    background: white;
    display: flex;
}
.ad-card__company-logo img {
    width: 100%;
    height: auto;
    object-fit: contain!important;
}

.ads-tag-cloud {
    padding: 20px 20px 0;
}
.page-template-template-ads-catalog .breadcrumb-blog-page .breadcrumb,
.media-heading.title-blog {
    display:none;
}
.ad-card__image {
    position: relative;
}
.ad-card__verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: #00e60a;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.ad-card__verified-badge svg {
    width: 14px;
    height: 14px; 
}
@media (max-width: 991px) {
    .page-template-template-ads-catalog .content-news {
        margin-top: 0;
    }
    .ads-tag-cloud {
        padding: 10px 15px 0;
    }
    .filters-header {
        padding: 8px 15px;
    }
    .filters-scroll {
        padding: 0 15px 12px;
    }
    .pricepermeter {
        display:none!important;
    }
    .priceperm_left {
        font-size: 10px;
        margin: -5px 0 8px;
    }
    .filters-content {
        margin-top: 6px;
        padding: 8px 0 0;
    }
    .page-template-template-ads-catalog #top-bar {
        display: none;
    }
    .list-view .ad-card {
        flex-direction: column;
    }

    .list-view .ad-card__image {
        width: 100%;
        height: 200px;
    }
    .list-view .ad-card__company-logo {
        width: 50px;
        height: 45px;
        float: right;
        margin: 0px 0px 0 0;
    }
    .results-header {
        gap: 5px;
        align-items: unset;
        justify-content: space-between;
        align-content: space-between;
        flex-wrap: unset;
        flex-direction: row;
        padding: 9px 11px;
    }
    .results-header .results-count {
        /* display: none; */
        line-height: 35px;
        height: 35px;
        overflow: hidden;
        text-align: center;
        font-size: 13px;
    }
    .view-switch {
        width: 37px;
        height: 35px;
    }
    .sort-section select {
        height: 35px;
        min-height: 35px;
        font-size: 12px;
    }
    .results-section .results-header .d-flex.align-items-center.gap-3 {
        width: 96px;
        display: block;
    }
    .sort-section {
        width: 100%;
        max-width: 200px;
    }

    .sort-section select {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .ad-card__verified-badge {
        position: absolute;
        top: 5px;
        left: 4px;
        z-index: 5;
        display: flex;
        align-items: center;
        gap: 2px;
        background-color: #4CAF50;
        color: white;
        font-size: 8px;
        font-weight: bold;
        padding: 3px 5px;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    .filter-group label {
        margin-bottom: 2px;
        font-size: 11px;
    }
    .filter-control {
        height: 35px;
        padding: 0 7px;
        min-height: 35px;
    }
    .ad-card__company-logo {
        width: 37px;
        height: 37px;
        margin: 3px 0 0;
    }
    .page-template-template-ads-catalog #list-news {
        margin-top: 0;
    }
    .filters-section {
        margin: -20px -15px 0;
    }
    .category-selector {
        padding: 20px 0 0;
        width: 160px;
    }
    .filters-header {
        height: 80px;
        padding: 8px 15px;
    }
    .ads-tag-cloud .tag-link {
        padding: 4px 12px;
        font-size: 13px;
    }
    .filters-scroll .filter-group {
        min-width: 138px;
    }
    .filters-section .filters-wrapper {
        border-radius: 0;
        margin-bottom: 11px;
    }
    .category-title {
        font-size: 18px;
        padding: 20px 0 0;
    }
    .category-selector select {
        min-width: auto;
    }
    .page-template-template-ads-catalog #list-news .col-xs-12 {
        padding: 0;
    }
    .ad-card {
        background: #fff;
        margin-bottom: 12px;
    }

    .ad-card__title {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ad-card__price {
        font-size: 16px;
        font-weight: 600;
        color: #e3002c;
        margin-bottom: 4px;
    }

    .ad-card__location {
        font-size: 13px;
        color: #666;
        margin: 6px 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .ad-card__location svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .detail-item {
        font-size: 13px;
        color: #666;
    }

    .ad-card__meta {
        font-size: 12px;
    }


    .list-view .ad-card {
        display: flex;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        overflow: hidden;
        flex-direction: row;
    }

    .list-view .ad-card__image {
        width: 100px;
        height: auto;
        flex-shrink: 0;
    }

    .list-view .ad-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .list-view .ad-card__content {
        padding: 6px 10px 5px;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0; /* Fixes text overflow issues */
    }

    .list-view .blokdljaglavnojinfi {
        flex: 1;
        flex-direction: column;
    }
    .list-view .ad-card__location {
        margin: 0px 0;
    }
    .list-view .ad-card__main-info {
        flex: auto;
    }
    .list-view .ad-card__details {
        padding-top: 1px;
        margin-top: 4px;
        border-top: 1px solid #eee;
        flex: auto;
    }
    .list-view .ad-card {
        margin-bottom: 0;
    }
    .list-view .property-details {
        display: flex;
        gap: 0;
        flex-wrap: wrap;
    }
    .list-view .detail-item {
        margin-bottom: 1px;
    }
    .list-view .ad-card__meta {
        font-size: 10px;
        width: 100%;
        justify-content: space-between;
    }
    .list-view .detail-item {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .list-view .detail-item .label {
        color: #666;
    }

    .list-view .detail-item .value {
        font-weight: 500;
        color: #2c3e50;
    }

    .list-view .ad-card__footer {
        margin-top: auto;
        padding-top: 8px;
    }

    /* Grid View Specific */
    .grid-view .ads-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .grid-view .ad-card {
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    .grid-view .ad-card__image {
        position: relative;
        padding-top: 68%;
    }
    .ad-card__whatsapp-badge {
        top: 7px;
        right: 7px;
        padding: 2px 5px;
        border-radius: 20px;
        font-size: 8px;
    }
    .sort-section {
        width: 130px;
    }
    .sort-section select {
        min-width: 130px;
        width: 130px;
    }
    .grid-view .ad-card__image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .grid-view .ad-card__content {
        padding: 10px 10px 0;
    }
    .ad-card__details {
        margin: 10px 0 0;
    }
    .grid-view .ad-card__details .detail-item {
        margin-bottom: 0px;
    }
    .detail-item .value {
        font-size: 11px;
        text-align: right;
    }
    .ad-card__details .label {
        padding: .2em 0em .3em;
    }
    .grid-view .ad-card__meta {
        margin-top: 11px;
        padding-top: 0px;
        border-top: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        font-size: 10px;
    }

    .grid-view .ad-card__location {
        margin: 4px 0;
        font-size: 9px;
    }

    /* Common Footer Styles */
    .ad-card__footer {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        margin-top: 0;
    }

    .ad-card__meta {
        display: flex;
        gap: 12px;
        color: #666;
    }

    .views {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .ad-card__link {
        display: none; /* Hide "View Details" link on mobile */
    }
}


/* Base styles for filters */
.filters-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    border-bottom: 1px solid #eee;
    background: #f0f0f070;
    border-radius: 12px 12px 0 0;
}

.filter-group {
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

/* Range inputs */
.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-inputs input {
    width: calc(50% - 4px);
}

.range-unit {
    color: #666;
    margin-left: 4px;
}

/* Mobile Elements (hidden by default) */
.mobile-filters-trigger,
.mobile-filters-overlay,
.mobile-filters-header,
.mobile-filters-footer {
    display: none;
}
.ad-card__inactive-badge {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}
.ads-results.grid-view .ad-card__inactive-badge {
    margin-bottom: 11px;
}
/* Mobile Styles */
@media (max-width: 767px) {
    /* Show mobile elements */
    .mobile-filters-trigger {
        display: block;
        margin: 10px 15px -15px;
    }
    .ad-card__inactive-badge {
        background: rgb(21 21 21 / 89%);
        color: #fff;
        padding: 1px 7px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        display: inline-block;
        margin: 0 0 5px;
    }
    .filters-content {
        display: flex;
        gap: 16px;
        min-width: min-content;
        margin-top: 13px;
        padding: 10px 20px;
        border-top: 1px solid #e5e7e9;
    }
    
    .btn-mobile-filters {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        width: 100%;
        background: #fff;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        color: #333;
        font-size: 14px;
    }

    /* Drawer Styles */
    .mobile-filters-drawer {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 1000;
        border-radius: 16px 16px 0 0;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .mobile-filters-drawer.active {
        transform: translateY(0);
    }

    /* Drawer Header */
    .mobile-filters-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px 3px;
        /* border-bottom: 1px solid #eee; */
    }

    .mobile-filters-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

    .btn-close-filters {
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    /* Filters Content in Mobile */
    .mobile-filters-drawer .filters-content {
        display: block;
        margin: 0;
        padding: 16px;
        overflow-y: auto;
        max-height: calc(85vh - 130px);
        -webkit-overflow-scrolling: touch;
    }

    .mobile-filters-drawer .filter-group {
        width: 100%;
        margin-bottom: 13px;
    }

    /* Drawer Footer */
    .mobile-filters-footer {
        display: flex;
        gap: 12px;
        padding: 16px;
        border-top: 1px solid #eee;
        background: #fff;
    }

    .btn-reset-filters,
    .btn-apply-filters {
        flex: 1;
        padding: 12px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        cursor: pointer;
    }

    .btn-reset-filters {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        color: #666;
    }

    .btn-apply-filters {
        background: #e3002c;
        border: 1px solid #e3002c;
        color: #fff;
    }

    /* Overlay */
    .mobile-filters-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-filters-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Active state styles */
    body.filters-drawer-open {
        overflow: hidden;
    }

    /* Counter badge */
    .filters-counter {
        margin-left: auto;
        background: #e3002c;
        color: #fff;
        padding: 2px 7px;
        border-radius: 12px;
        font-size: 12px;
        min-width: 20px;
        text-align: center;
        display: none;
    }

    .filters-counter.active {
        display: block;
    }

    /* Active filters tags */
    .active-filters-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin: 10px 0 13px;
    }

    .filter-tag {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 4px 8px;
        background: #f8f9fa;
        border-radius: 4px;
        font-size: 12px;
    }

    .filter-tag .remove-tag {
        cursor: pointer;
        padding: 2px;
    }
    .mobile-filters-results {
        padding: 10px 16px;
        background: #f5f5f5;
        border-top: 1px solid #eee;
        font-size: 14px;
        color: #666;
        text-align: center;
    }
    
    .results-counter {
        font-weight: 500;
    }
}
.de-search-form {
    /* display:none; */
}


.ad-card[data-status="inactive"] .ad-card__image img {
    filter: opacity(0.2);
    transition: filter 0.3s ease;
}

/* Hover effect */
.ad-card[data-status="inactive"]:hover .ad-card__image img {
    filter: opacity(0.8);
}