.properties-page-section {
    padding: 80px 0
}

.search-filter-container {
    margin-bottom: 40px;
    position: relative;
    z-index: 10
}

.search-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
    border: 1px solid #eee
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 25px;
    align-items: flex-end
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.filter-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px
}

.filter-input {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    color: var(--dark);
    transition: border-color .3s, background-color .3s, box-shadow .3s
}

.filter-input:focus {
    outline: 0;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(235, 149, 57, .1)
}

#price-slider .noUi-connect,
.btn-search:hover {
    background: var(--orange)
}

.price-slider-wrap {
    padding: 10px 5px 5px
}

#price-slider {
    height: 6px;
    border: none;
    background: #e2e8f0;
    box-shadow: none;
    margin: 0 12px
}

.noUi-origin {
    left: -100% !important;
    right: unset !important
}

#price-slider .noUi-handle {
    width: 20px;
    height: 20px;
    right: -10px;
    top: -8px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--orange);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    cursor: pointer;
    outline: 0
}

#price-slider .noUi-handle::after,
#price-slider .noUi-handle::before {
    display: none
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-top: 20px;
    padding: 0 5px
}

.btn-search {
    background: var(--dark);
    color: var(--white);
    border: none;
    padding: 0 30px;
    border-radius: 12px;
    font-weight: 700;
    width: 100%;
    height: 52px;
    transition: background-color .3s, transform .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px
}

.btn-search:hover {
    transform: translateY(-2px)
}

.prop-card-light {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: .4s;
    height: 100%;
    padding: 15px
}

.prop-card-light:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
    border-color: var(--orange-light)
}

.prop-img-light {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px
}

.prop-img-light img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.prop-card-light:hover .prop-img-light img {
    transform: scale(1.1)
}

.prop-body-light {
    padding: 20px 5px 10px
}

.prop-info-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.prop-price-light {
    color: var(--orange);
    font-size: 20px;
    font-weight: 700
}

.prop-title-light {
    color: var(--dark);
    font-size: 19px;
    font-weight: 700;
    margin: 0
}

.prop-loc-light {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px
}

.prop-specs-light {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 15px
}

.spec-item {
    text-align: center
}

.spec-label-light {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px
}

.spec-val-light {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark)
}

.btn-details-light {
    width: 100%;
    background: #f8fafc;
    color: var(--dark);
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    transition: .3s
}

.prop-card-light:hover .btn-details-light {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark)
}

.section-list-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 40px;
    position: relative;
    padding-right: 15px
}

.section-list-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--orange);
    border-radius: 2px
}

.property-list-wrap {
    margin-bottom: 80px
}

@media (max-width: 991.98px) {
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-input {
        padding: 12px 10px;
    }
}

@media (max-width: 767.98px) {
    .filter-row {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Enhanced Properties Page Styles */
.properties-tabs {
    margin-bottom: 50px;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn:hover {
    background: #fff;
    border-color: #FF8F36;
    color: #FF8F36;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #FF8F36;
    color: white;
    border-color: #FF8F36;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.property-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FF8F36;
    box-shadow: 0 20px 40px rgba(255, 143, 54, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF8F36;
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.property-details {
    padding: 25px;
}

.property-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #181C1E;
    margin-bottom: 10px;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #FF8F36;
    margin-bottom: 15px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.property-location i {
    color: #FF8F36;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.9rem;
}

.feature-item i {
    color: #FF8F36;
    width: 20px;
    text-align: center;
}

.property-link {
    display: block;
    background: linear-gradient(135deg, #FF8F36 0%, #FF6B1A 100%);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.property-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 143, 54, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab-navigation {
        gap: 8px;
        padding-bottom: 60px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .property-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .property-image {
        height: 200px;
    }

    .property-details {
        padding: 20px;
    }

    .property-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .property-details {
        padding: 15px;
    }

    .property-title {
        font-size: 1.1rem;
    }

    .property-price {
        font-size: 1.5rem;
    }
}

/* Pagination Styles */
.properties-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.properties-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.properties-pagination .page-numbers:hover {
    background: #FF8F36;
    border-color: #FF8F36;
    color: #fff;
}

.properties-pagination .page-numbers.current {
    background: #FF8F36;
    border-color: #FF8F36;
    color: #fff;
}

.properties-pagination .prev,
.properties-pagination .next {
    font-size: 0.9rem;
}