/* ============================================================
   استایل‌های اختصاصی صفحاتی که در قالب اصلی (mavaa) وجود ندارند
   نکته: به فایل اصلی قالب (assets/css/style.css) دست زده نشده است.
   ============================================================ */

/* ---------- صفحهٔ جستجو در فایل‌ها: گروه‌بندی ویژگی‌ها ---------- */
.feature-group {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #E4E9F1;
}

.feature-group-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #41546B;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-group-title::before {
    content: "";
    width: 3px;
    height: 14px;
    background: #BC0606;
    border-radius: 2px;
    display: inline-block;
}

/* ---------- صفحهٔ مورد علاقه‌ها ---------- */
.favorites-page,
.notifications-page {
    padding: 40px 0;
}

.empty-state-icon {
    font-size: 48px;
    opacity: .4;
}

.favorites-page .page-title,
.notifications-page .page-title {
    margin: 0 0 24px;
}

.favorites-page .page-title {
    margin-bottom: 24px;
}

/* ---------- صفحهٔ اعلان‌ها ---------- */
.notifications-page .notif-card {
    height: 100%;
}

.notifications-page .notif-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-page .notif-card .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ---------- صفحهٔ درباره ما ---------- */
.about-us-page {
    padding: 40px 0;
}

.about-us-image {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.about-content {
    font-size: 15px;
    line-height: 2;
    color: #41546B;
}

.about-content img {
    max-width: 100%;
    height: auto;
}

/* ---------- صفحهٔ تماس با ما ---------- */
.contact-us-page {
    padding: 40px 0;
}

.contact-info-card {
    background: #fff;
    border: 1px solid #E4E9F1;
    border-radius: 14px;
    padding: 22px;
    height: 100%;
}

.contact-info-card h4 {
    margin-bottom: 16px;
    color: #052149;
    font-weight: 800;
}

.contact-info-card p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #41546B;
}

.contact-info-card i {
    color: #BC0606;
    font-size: 18px;
}

.contact-form {
    background: #fff;
    border: 1px solid #E4E9F1;
    border-radius: 14px;
    padding: 22px;
}

.contact-form .form-label {
    font-size: 13px;
    font-weight: 700;
    color: #41546B;
}

.contact-form .form-control {
    border: 1.5px solid #E4E9F1;
    border-radius: 8px;
    height: 42px;
}

.contact-form textarea.form-control {
    height: auto;
}
/* ---------- چیپ‌های فیلتر فعال ---------- */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #F3F5F9;
    border: 1px solid #E4E9F1;
    border-radius: 20px;
    font-size: 12px;
    color: #41546B;
}

.filter-chip button {
    border: none;
    background: transparent;
    color: #BC0606;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

/* ---------- فیلتر در مدال موبایل ---------- */
.desktop-filter-wrapper.in-modal {
    display: block !important;
    width: 100%;
    padding: 0;
}
/* ---------- نقشهٔ صفحهٔ تماس با ما ---------- */
.contact-map {
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E4E9F1;
    z-index: 1;
}

.contact-map .leaflet-container {
    font-family: inherit;
}
/* ---------- مارکر سفارشی نقشه (لوگو) ---------- */
.contact-map-marker {
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
    border: 2px solid #BC0606;
}

.contact-map-marker img {
    border-radius: 50%;
}

.contact-map-popup {
    font-size: 12px;
    line-height: 1.8;
    max-width: 240px;
    color: #41546B;
}
/* ---------- نقشهٔ موقعیت ملک در صفحهٔ آگهی ---------- */
.property-map {
    width: 100%;
    height: 340px;
    border-radius: 14px;
    overflow: hidden;
    z-index: 1;
}

.lp-map-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: #F7F8FB;
    border-radius: 14px;
}


/* ---------- نوار کپی‌رایت: وسط‌چین و راست‌چین ---------- */
.copyright-area {
    direction: rtl;
    text-align: center;
}

.copyright-area .copyright-text,
.copyright-area .copyright-text p {
    text-align: center;
    float: none;
    margin: 0 auto;
}
/* ---------- صفحه‌بندی: دکمه‌های اول/آخر و پنجرهٔ شماره‌ها ---------- */
.pagination-info {
    font-size: 13px;
    color: #6B7688;
    margin-bottom: 10px;
}

.pagination a.page-edge {
    width: auto;
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
}

.pagination .page-dots {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #8A94A6;
    font-size: 16px;
    vertical-align: middle;
}

.pagination a.disabled {
    pointer-events: none;
    opacity: .4;
}
/* ---------- دکمهٔ «همه فایل‌ها» در صفحهٔ نقشه ---------- */
.btn-all-files {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #BC0606;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.btn-all-files:hover {
    background: #9d0505;
    color: #fff;
}

.btn-all-files i {
    font-size: 18px;
}

/* ---------- چک‌باکس‌های امکانات در فیلتر نقشه ---------- */
.amenities-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #41546B;
    cursor: pointer;
    margin: 0;
}

.filter-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #BC0606;
    cursor: pointer;
}

@media (max-width: 767px) {
    .btn-all-files span {
        display: none;
    }

    .btn-all-files {
        width: 42px;
        padding: 0;
        justify-content: center;
    }
}
/* ---------- هماهنگ‌سازی فیلترهای نقشه با فیلترهای «همه فایل‌ها» ---------- */
.zillow-filters {
    background: #fff;
    border: 1px solid #E4E9F1;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, .06);
    padding: 0;
    overflow: hidden;
}

.zillow-filters .filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #052149, #0B2F5C);
}

.zillow-filters .filters-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.zillow-filters .close-filters {
    color: #fff;
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.zillow-filters .filter-section {
    border-bottom: 1px solid #EEF1F6;
}

.zillow-filters .filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #41546B;
    background: #F8FAFD;
    cursor: pointer;
}

.zillow-filters .filter-title i {
    color: #8A94A6;
    transition: transform .2s ease;
}

.zillow-filters .filter-section .collapse {
    padding: 12px 16px;
}

.zillow-filters .filter-group label {
    font-size: 12px;
    font-weight: 700;
    color: #6B7688;
    margin-bottom: 6px;
    display: block;
}

.zillow-filters .filter-group select,
.zillow-filters .filter-inputs input {
    width: 100%;
    height: 40px;
    border: 1.5px solid #E4E9F1;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 13px;
    color: #41546B;
    background: #fff;
    outline: none;
    transition: border-color .2s ease;
}

.zillow-filters .filter-group select:focus,
.zillow-filters .filter-inputs input:focus {
    border-color: #BC0606;
}

.zillow-filters .filter-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zillow-filters .filter-inputs.vertical {
    flex-direction: column;
    align-items: stretch;
}

.zillow-filters .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zillow-filters .filter-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1.5px solid #E4E9F1;
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
    color: #41546B;
    cursor: pointer;
    transition: all .2s ease;
}

.zillow-filters .filter-option:hover {
    border-color: #BC0606;
    color: #BC0606;
}

.zillow-filters .filter-option.active {
    background: #BC0606;
    border-color: #BC0606;
    color: #fff;
}

.zillow-filters .filter-actions {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    background: #fff;
}

.zillow-filters .btn-apply {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #BC0606;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.zillow-filters .btn-apply:hover {
    background: #9d0505;
}

.zillow-filters .btn-clear {
    flex: 1;
    height: 44px;
    border: 1.5px solid #E4E9F1;
    border-radius: 10px;
    background: #fff;
    color: #41546B;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.zillow-filters .btn-clear:hover {
    border-color: #BC0606;
    color: #BC0606;
}
/* ---------- بهبود سایدبار فیلتر نقشه ---------- */
.zillow-filters {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    max-height: calc(100vh - 120px);
}

.zillow-filters .filters-header {
    flex-shrink: 0;
    border-radius: 16px 16px 0 0;
}

.zillow-filters .filters-header h5 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #BC0606;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.filters-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.filters-scroll::-webkit-scrollbar {
    width: 6px;
}

.filters-scroll::-webkit-scrollbar-thumb {
    background: #D9DFE8;
    border-radius: 3px;
}

.zillow-filters .filter-title i.mdi-chevron-down {
    transition: transform .25s ease;
}

.zillow-filters .filter-title:not(.active) i.mdi-chevron-down {
    transform: rotate(-90deg);
}

.zillow-filters .filter-title span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zillow-filters .filter-sep {
    color: #8A94A6;
    font-size: 12px;
    flex-shrink: 0;
}

.zillow-filters .filter-inputs input {
    min-width: 0;
}

.zillow-filters .filter-actions {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    border-top: 1px solid #EEF1F6;
    border-radius: 0 0 16px 16px;
}

.zillow-filters .btn-apply,
.zillow-filters .btn-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.zillow-filters .amenities-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.zillow-filters .filter-check {
    padding: 8px 10px;
    border: 1.5px solid #E4E9F1;
    border-radius: 10px;
    background: #fff;
    transition: all .2s ease;
}

.zillow-filters .filter-check:hover {
    border-color: #BC0606;
}

.zillow-filters .filter-check:has(input:checked) {
    border-color: #BC0606;
    background: #FFF5F5;
    color: #BC0606;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .zillow-filters {
        max-height: 100vh;
        border-radius: 0;
    }

    .zillow-filters .filters-header {
        border-radius: 0;
    }

    .zillow-filters .filter-actions {
        border-radius: 0;
    }
}