/* ── Pagination ──────────────────────────────────────────── */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.custom-pagination a,
.custom-pagination span {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #333;
    transition: .2s;
}

.custom-pagination a:hover {
    background: var(--flame);
    border-color: var(--flame);
    color: #fff;
}

.custom-pagination .active {
    background: var(--flame);
    border-color: var(--flame);
    color: #fff;
}

.custom-pagination .disabled {
    opacity: .4;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .custom-pagination {
        gap: 6px;
    }

    .custom-pagination a,
    .custom-pagination span {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* ── Step tabs ───────────────────────────────────────────── */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

/* ── List view ───────────────────────────────────────────── */
.annonce-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.annonce-grid.list-view .prop-card2 {
    display: flex;
    align-items: stretch;
}

.annonce-grid.list-view .prop-img2 {
    width: 280px;
    flex-shrink: 0;
}

.annonce-grid.list-view .prop-body2 {
    flex: 1;
}

/* ── Results header & controls ───────────────────────────── */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.show-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.show-label {
    font-size: 13px;
    color: var(--ink-s);
}

@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .tsel {
        width: 100%;
    }

    .show-wrapper {
        justify-content: space-between;
        width: 100%;
    }
}
