.objects-section {
    background-color: #f6faff;
    font-family: 'SF Pro Display', sans-serif;
    padding: 60px 0 100px;
    min-height: 100vh;
}

.objects-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 45px;
}

.objects-section h1 {
    font-size: 55px;
    font-weight: 600;
    color: #2c2929;
    text-align: center;
    margin-bottom: 60px;
    margin-top: 0;
}

/* Filter box */
.objects-filter {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 40px;
    margin-bottom: 60px;
}

.objects-filter .group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.objects-filter .group>label {
    font-size: 16px;
    color: #2c2929;
    opacity: 0.7;
}

.objects-filter .group .select-box {
    background: #f6faff;
    border-radius: 10px;
    height: 60px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.objects-filter .group .select-box select {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.objects-filter .group .select-box::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 10px;
    height: 6px;
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.objects-filter .group .range-box {
    width: 100%;
}

.objects-filter .group .range-box .filter-price input {
    min-width: 0;
}

.objects-filter .group .nav-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 60px;
}

.objects-filter .group .nav-pills .pill {
    height: 44px;
    padding: 0 22px;
    border-radius: 100px;
    border: 1.5px solid #dfe2e6;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    color: #2c2929;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.objects-filter .group .nav-pills .pill:hover {
    border-color: #1f9dff;
}

.objects-filter .group .nav-pills .pill.active {
    background-color: #1f9dff;
    border-color: #1f9dff;
    color: #fff;
}

.objects-filter .filter-footer {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
}

.objects-filter .search-btn {
    width: 317px;
    height: 60px;
    border: none;
    border-radius: 30px;
    background: #1f9dff;
    padding: 0 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s linear;
}

.objects-filter .search-btn:hover {
    background: #1390ef;
}

.objects-filter .search-btn img {
    transition: transform 0.3s ease;
}

.objects-filter .search-btn:hover img {
    transform: translateX(10px);
}

/* Grid */
.property-empty-message {
    text-align: center;
    margin: 30px 0;
    font-size: 20px;
    color: #2c2929;
}

.objects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 41px;
}

/* Object Card */
.objects-grid .object-card[hidden] {
    display: none;
}

.object-card {
    display: flex;
    flex-direction: column;
}

.object-card .image {
    height: 300px;
    position: relative;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.object-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.object-card .image .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.object-card .image .badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 10px;
    border-radius: 160px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 18px;
}

.object-card .image .badge.sale {
    background-color: #2db615;
}

.object-card .image .badge.rent {
    background-color: #ce7f00;
}

.object-card .image .badge.sale-rent {
    background-color: #1f9dff;
}

.object-card .content {
    background-color: #fff;
    padding: 20px 24px 24px;
    border-radius: 0 0 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 141px;
}

.object-card .content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2c2929;
    line-height: 32px;
    margin: 0;
    margin-bottom: auto;
}

.object-card .content.has-subtitle h2 {
    margin-bottom: 12px;
}

.object-card .content h3 {
    font-size: 18px;
    font-weight: 400;
    color: #2c2929;
    line-height: 28px;
    margin: 0;
    margin-bottom: 6px;
    margin-top: -12px;
}

.object-card .content .meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-top: 12px;
}

.object-card .content .meta span {
    color: #2c2929;
    opacity: 0.6;
}

.object-card .content .meta i {
    color: #2c2929;
    opacity: 0.6;
    font-style: normal;
}

.object-card .content .meta strong {
    color: #1f9dff;
    font-weight: 400;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .objects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .objects-filter {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .objects-filter .group .select-box,
    .objects-filter .group .range-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .objects-grid {
        grid-template-columns: 1fr;
    }

    .objects-container {
        padding: 0 20px;
    }

    .objects-section h1 {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .objects-filter .group .nav-pills {
        gap: 10px;
        flex-wrap: wrap;
        height: auto;
    }

    .objects-filter .search-btn {
        width: 100%;
    }
}
