/* ==========================================================================
   DIFAL — استایل اصلی (نسخه بازبینی‌شده)
   فونت: ایران‌سنس (لوکال، از پوشه fonts/) | جهت: راست‌به‌چپ
   ========================================================================== */

/* ---------- ۱) فونت ایران‌سنس ---------- */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansWeb.woff2") format("woff2"), url("../fonts/IRANSansWeb.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2"), url("../fonts/IRANSansWeb_Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2"), url("../fonts/IRANSansWeb_Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* رنگ‌ها — نمونه‌برداری‌شده از طرح موبایل ارسالی */
    --navy-900: #0f2a45;
    --navy-800: #14304f;
    --navy-700: #1d3f63;
    --navy-050: #eaeff4;
    --orange-600: #dd6710;
    --orange-500: #f4771e;
    --orange-100: #fdece0;
    --teal-700: #0b5d58;
    --teal-500: #0e847c;
    --bg: #f4f5f7;
    --surface: #ffffff;
    --border: #e4e7eb;
    --text: #1c2530;
    --text-muted: #7c8794;
    --red-500: #e8435c;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-hover: 0 10px 24px rgba(15, 42, 69, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "IRANSans", Tahoma, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

    a:focus-visible, button:focus-visible, input:focus-visible,
    select:focus-visible, [tabindex]:focus-visible {
        outline: 2px solid var(--orange-500);
        outline-offset: 2px;
    }

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

.mainDv {
    background-color: white;
    margin-top: 10px;
}

.icon {
    display: inline-block;
    flex-shrink: 0;
}

/* ==========================================================================
   هدر
   ========================================================================== */
.difal-topbar {
    background: var(--navy-900);
    color: #cfe0ee;
    font-size: 13px;
}

    .difal-topbar a:hover {
        color: #fff;
    }

.difal-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.difal-logo {
    font-weight: 700;
    font-size: 25px;
    color: var(--navy-900);
    line-height: 1.1;
}

    .difal-logo small {
        display: block;
        font-size: 11px;
        font-weight: 400;
        color: var(--text-muted);
        margin-top: 3px;
    }

.difal-search-form {
    flex: 1;
    max-width: 620px;
}

.difal-search-input-wrap {
    position: relative;
    flex: 1;
}

    .difal-search-input-wrap img {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
    }

    .difal-search-input-wrap input {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        padding: .62rem 2.5rem .62rem 1rem;
        font-family: inherit;
        font-size: 14px;
    }

        .difal-search-input-wrap input:focus {
            outline: none;
            border-color: var(--navy-700);
        }

.difal-search-form .btn-filter {
    border: 1px solid var(--border);
    border-inline-end: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: var(--surface);
    padding: 0 1.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy-800);
}

    .difal-search-form .btn-filter:hover {
        background: var(--navy-050);
    }

    .difal-search-form .btn-filter img {
        width: 17px;
        height: 17px;
    }

.difal-city-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    font-size: 13.5px;
    padding: .5rem .7rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* ---------- پنل انتخاب چندگانه‌ی استان/شهر ---------- */
.difal-city-menu {
    width: 340px;
    max-width: 90vw;
    max-height: 440px;
    flex-direction: column;
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
}

    .difal-city-menu.show {
        display: flex;
    }

.difal-city-search {
    padding: .7rem;
    border-bottom: 1px solid var(--border);
    flex: none;
}

    .difal-city-search input {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: .45rem .7rem;
        font-family: inherit;
        font-size: 13px;
    }

.difal-city-list {
    overflow-y: auto;
    flex: 1;
    padding: .3rem 0;
}

.difal-city-all {
    padding: .6rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.difal-province-group {
    border-bottom: 1px solid var(--border);
}

    .difal-province-group:last-child {
        border-bottom: none;
    }

.difal-province-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .55rem 1rem;
}

    .difal-province-head .prov-check-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13.5px;
        font-weight: 500;
        color: var(--text);
        cursor: pointer;
        flex: 1;
    }

    .difal-province-head .prov-count {
        font-size: 11.5px;
        color: var(--text-muted);
        flex: none;
    }

    .difal-province-head .prov-toggle {
        border: none;
        background: transparent;
        padding: 4px;
        display: flex;
        flex: none;
    }

    .difal-province-head .prov-arrow {
        width: 13px;
        height: 13px;
        transform: rotate(-90deg);
        transition: transform .15s ease;
    }

    .difal-province-head .prov-toggle[aria-expanded="true"] .prov-arrow {
        transform: rotate(0deg);
    }

.difal-city-sub {
    padding: 0 1rem .6rem 2.35rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

    .difal-city-sub.collapsed {
        display: none;
    }

    .difal-city-sub label {
        font-size: 13px;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

.difal-city-footer {
    border-top: 1px solid var(--border);
    padding: .7rem 1rem;
    flex: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .difal-city-footer .count-text {
        font-size: 12px;
        color: var(--text-muted);
    }

    .difal-city-footer .btn-apply-city {
        background: var(--orange-500);
        color: #fff;
        border: none;
        border-radius: var(--radius-sm);
        padding: .4rem 1.2rem;
        font-size: 13px;
        font-weight: 500;
    }

@media (max-width: 575.98px) {
    .difal-city-select {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        background: var(--navy-050);
        border: none;
    }

        .difal-city-select #citySelectLabel,
        .difal-city-select .city-chevron {
            display: none;
        }
}

.btn-difal-cta {
    background: var(--orange-500);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-md);
    padding: .58rem 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

    .btn-difal-cta:hover {
        background: var(--orange-600);
        color: #fff;
    }

    .btn-difal-cta img {
        width: 15px;
        height: 15px;
    }

.difal-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-050);
    position: relative;
    border: none;
}

    .difal-icon-btn:hover {
        background: #dfe6ee;
    }

    .difal-icon-btn img {
        width: 19px;
        height: 19px;
    }

    .difal-icon-btn .badge-dot {
        position: absolute;
        top: -3px;
        inset-inline-end: -3px;
        background: var(--orange-500);
        color: #fff;
        font-size: 10px;
        min-width: 17px;
        height: 17px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--surface);
    }

.difal-notif-menu {
    border: none;
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
}

.difal-notif-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy-900);
}

    .difal-notif-head a {
        font-size: 11.5px;
        color: var(--orange-500);
        font-weight: 400;
    }

.difal-notif-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

    .difal-notif-item:hover {
        background: var(--navy-050);
    }

    .difal-notif-item:last-of-type {
        border-bottom: none;
    }

    .difal-notif-item.unread .notif-text {
        font-weight: 500;
        color: var(--text);
    }

    .difal-notif-item .notif-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        flex: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .difal-notif-item .notif-icon img {
            width: 17px;
            height: 17px;
        }

    .difal-notif-item .notif-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .difal-notif-item .notif-text {
        font-size: 13px;
        color: var(--text-muted);
        line-height: 1.5;
    }

    .difal-notif-item .notif-time {
        font-size: 11px;
        color: var(--text-muted);
    }

    .difal-notif-item .notif-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--orange-500);
        flex: none;
        margin-top: 6px;
    }

.difal-notif-footer {
    display: block;
    text-align: center;
    padding: .7rem;
    font-size: 12.5px;
    color: var(--navy-900);
    font-weight: 500;
    background: var(--navy-050);
}

    .difal-notif-footer:hover {
        background: #dfe6ee;
    }

.difal-navlinks {
    background: var(--navy-800);
}

    .difal-navlinks ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
    }

    .difal-navlinks a {
        color: #cfe0ee;
        font-size: 13.5px;
        padding: .65rem .95rem;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .difal-navlinks a img {
            width: 16px;
            height: 16px;
            filter: invert(1) brightness(1.6);
        }

        .difal-navlinks a:hover, .difal-navlinks a.active {
            color: #fff;
            background: rgba(255,255,255,.08);
        }

.difal-mobile-topbar {
    display: none;
}

@media (max-width: 991.98px) {
    .difal-mobile-topbar {
        display: block;
        background: var(--navy-800);
        padding: .65rem 0;
    }

        .difal-mobile-topbar .row-inner {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .difal-mobile-topbar .mobile-hamburger {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            flex: none;
            background: rgba(255,255,255,.14);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .difal-mobile-topbar .mobile-hamburger img {
                width: 20px;
                height: 20px;
            }

        .difal-mobile-topbar .difal-search-form {
            max-width: none;
        }

        .difal-mobile-topbar .btn-filter {
            background: rgba(255,255,255,.14);
            border-color: transparent;
            color: #fff;
        }

            .difal-mobile-topbar .btn-filter img {
                filter: brightness(0) invert(1);
            }
}

@media (max-width: 991.98px) {
    .btn-difal-cta {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

        .btn-difal-cta img {
            width: 18px;
            height: 18px;
        }
}
/* ==========================================================================
   بنر متخصصین / اسلایدر (بدون تصویر شخصیت — با تایپوگرافی و رنگ)
   ========================================================================== */
.difal-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

    .difal-hero .carousel-item {
        min-height: 260px;
        position: relative;
        color: #fff;
    }

    .difal-hero .slide-a, .difal-hero .slide-b, .difal-hero .slide-c {
        min-height: 260px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 2.4rem 3rem;
        position: relative;
    }

    .difal-hero .slide-text {
        position: relative;
        z-index: 2;
        flex: 1;
    }

    .difal-hero .slide-img-wrap {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .difal-hero .slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* لایه‌ی تیره روی عکس تا متن روش خونا بمونه */
    .difal-hero .slide-a::after,
    .difal-hero .slide-b::after,
    .difal-hero .slide-c::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    /*    .difal-hero .slide-a::after {
        background: linear-gradient(90deg, rgba(15,42,69,.85) 0%, rgba(15,42,69,.55) 35%, rgba(15,42,69,0) 70%);
    }

    .difal-hero .slide-b::after {
        background: linear-gradient(90deg, rgba(11,93,88,.85) 0%, rgba(11,93,88,.55) 35%, rgba(11,93,88,0) 70%);
    }

    .difal-hero .slide-c::after {
        background: linear-gradient(90deg, rgba(92,43,15,.85) 0%, rgba(221,103,16,.55) 35%, rgba(244,119,30,0) 70%);
    }*/

    .difal-hero .slide-a {
        background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 65%, #2a5382 100%);
    }

    .difal-hero .slide-b {
        background: linear-gradient(115deg, var(--teal-700) 0%, var(--teal-500) 100%);
    }

    .difal-hero .slide-c {
        background: linear-gradient(115deg, #5c2b0f 0%, var(--orange-600) 75%, var(--orange-500) 100%);
    }

    .difal-hero .slide-mark {
        position: absolute;
        inset-inline-end: -40px;
        top: -40px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        border: 40px solid rgba(255,255,255,.08);
    }

    .difal-hero .eyebrow {
        color: #fff;
        background: rgba(255,255,255,.16);
        display: inline-block;
        font-size: 12.5px;
        font-weight: 500;
        padding: .3rem .8rem;
        border-radius: 999px;
        margin-bottom: .9rem;
    }

    .difal-hero h2 {
        font-size: clamp(22px, 2.6vw, 32px);
        line-height: 1.4;
        margin-bottom: .6rem;
        max-width: 20ch;
    }

    .difal-hero p {
        color: rgba(255,255,255,.82);
        max-width: 42ch;
        margin-bottom: 1.4rem;
        font-size: 14.5px;
    }

    .difal-hero .btn-hero {
        background: #fff;
        color: var(--navy-900);
        border: none;
        border-radius: var(--radius-md);
        padding: .65rem 1.5rem;
        font-weight: 500;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .difal-hero .btn-hero img {
            width: 15px;
            height: 15px;
        }

    .difal-hero .carousel-indicators {
        bottom: 14px;
    }

        .difal-hero .carousel-indicators [data-bs-target] {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: rgba(255,255,255,.45);
            border: none;
            opacity: 1;
        }

        .difal-hero .carousel-indicators .active {
            background-color: #fff;
            width: 18px;
            border-radius: 4px;
        }

    .difal-hero .carousel-control-prev,
    .difal-hero .carousel-control-next {
        width: 100px;
        opacity: 1;
    }

    .difal-hero .carousel-control-prev-icon,
    .difal-hero .carousel-control-next-icon {
        display: none;
    }

    .difal-hero .ctrl-circle {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255,255,255,.18);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-inline: 10px;
    }

        .difal-hero .ctrl-circle img {
            width: 16px;
            height: 16px;
        }

/* ==========================================================================
   دسته‌بندی‌ها
   ========================================================================== */
.difal-cat-strip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.difal-cat-card {
    text-align: center;
    padding: 1rem .4rem;
    border-inline-start: 1px solid var(--border);
    height: 100%;
    transition: background .15s ease;
}

    .difal-cat-card:hover {
        background: var(--navy-050);
    }

    .difal-cat-card .icon-wrap {
        width: 46px;
        height: 46px;
        margin: 0 auto .5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .difal-cat-card .icon-wrap img {
            width: 26px;
            height: 26px;
        }

    .difal-cat-card .cat-title {
        font-size: 13px;
        font-weight: 500;
        color: var(--text);
    }

/* ==========================================================================
   بنر اکسپلور
   ========================================================================== */
.difal-explore {
    background: linear-gradient(120deg, var(--teal-700) 0%, var(--teal-500) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    padding: 2.2rem;
}

    .difal-explore .eyebrow-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: .7rem;
        font-weight: 500;
    }

        .difal-explore .eyebrow-row img {
            width: 17px;
            height: 17px;
        }

    .difal-explore h3 {
        font-size: 22px;
        margin-bottom: 1.1rem;
        max-width: 22ch;
    }

    .difal-explore .btn-explore {
        background: rgba(255,255,255,.14);
        border: 1px solid rgba(255,255,255,.4);
        color: #fff;
        border-radius: var(--radius-md);
        padding: .6rem 1.3rem;
        font-size: 14px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

        .difal-explore .btn-explore:hover {
            background: rgba(255,255,255,.24);
        }

.difal-explore-tile {
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,.08);
}

    .difal-explore-tile img {
        width: 30px;
        height: 30px;
    }

    .difal-explore-tile span {
        font-size: 12px;
        color: #fff;
    }

/* ==========================================================================
   عنوان بخش
   ========================================================================== */
.difal-section-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--navy-900);
    margin: 0;
}

.difal-section-link {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .difal-section-link img {
        width: 13px;
        height: 13px;
    }

    .difal-section-link:hover {
        color: var(--orange-500);
    }

/* ==========================================================================
   کارت آگهی
   ========================================================================== */
.difal-ad-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: block;
    transition: box-shadow .15s ease, border-color .15s ease;
    position: relative;
}

    .difal-ad-card:hover {
        box-shadow: var(--shadow-hover);
        border-color: transparent;
    }

/* ---------- مارکی آگهی‌های ویژه (چرخش بی‌نهایت با jQuery) ---------- */
.difal-marquee {
    overflow: hidden;
    position: relative;
}

.difal-marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    will-change: transform;
}

.difal-marquee-item {
    flex: 0 0 240px;
}

.difal-photo-tile {
    aspect-ratio: 4/3;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .difal-photo-tile img.tile-icon {
        /*      width: 34%;
        height: 34%;
        opacity: .55;*/
    }

.tone-navy {
    background: linear-gradient(150deg, var(--navy-050) 0%, #dfe6ee 100%);
}

.tone-orange {
    background: linear-gradient(150deg, var(--orange-100) 0%, #fbd9bd 100%);
}

.tone-teal {
    background: linear-gradient(150deg, #e4f2f0 0%, #c7e6e2 100%);
}

.ad-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: var(--orange-500);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 999px;
    z-index: 2;
}

.ad-fav {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

    .ad-fav img {
        width: 16px;
        height: 16px;
    }

.difal-ad-card .ad-body {
    padding: .8rem .9rem .95rem;
}

.difal-ad-card .ad-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.difal-ad-card .ad-price {
    color: var(--orange-600);
    font-weight: 700;
    font-size: 15px;
    margin-top: .4rem;
}

.difal-ad-card .ad-meta {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: .55rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .difal-ad-card .ad-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .difal-ad-card .ad-meta img {
        width: 12px;
        height: 12px;
    }

/* ردیف آگهی (لیست کناری) */
.difal-ad-row {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--border);
}

    .difal-ad-row:last-child {
        border-bottom: none;
    }

    .difal-ad-row .row-fav img {
        width: 16px;
        height: 16px;
    }

    .difal-ad-row .row-thumb {
        width: 62px;
        height: 62px;
        border-radius: var(--radius-sm);
        overflow: hidden;
        flex: none;
        position: relative;
    }

    .difal-ad-row .row-title {
        font-size: 13.5px;
        font-weight: 500;
        color: var(--text);
    }

    .difal-ad-row .row-price {
        color: var(--orange-600);
        font-weight: 700;
        font-size: 13px;
        margin-top: 2px;
    }

    .difal-ad-row .row-meta {
        color: var(--text-muted);
        font-size: 11.5px;
        margin-top: 2px;
    }

    .difal-ad-row .row-arrow {
        flex: none;
    }

        .difal-ad-row .row-arrow img {
            width: 15px;
            height: 15px;
        }

/* ==========================================================================
   سایدبار فیلتر — همیشه ستونی در دسکتاپ
   ========================================================================== */
.difal-filter-col {
    position: sticky;
    top: 92px;
}

.difal-filter-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem;
}

    .difal-filter-card > .filter-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: .3rem;
        padding-bottom: .8rem;
        border-bottom: 1px solid var(--border);
    }

        .difal-filter-card > .filter-head h2 {
            font-size: 15px;
            margin: 0;
        }

        .difal-filter-card > .filter-head a {
            font-size: 12.5px;
            color: var(--orange-500);
        }

.difal-filter-group {
    padding-block: .9rem;
    border-bottom: 1px solid var(--border);
}

    .difal-filter-group:last-of-type {
        border-bottom: none;
    }

    .difal-filter-group h3 {
        font-size: 13.5px;
        font-weight: 500;
        color: var(--navy-900);
        margin-bottom: .7rem;
    }

    .difal-filter-group .form-check {
        margin-bottom: .5rem;
    }

    .difal-filter-group .form-check-label {
        font-size: 13px;
        color: var(--text);
    }

    .difal-filter-group .form-check-input:checked {
        background-color: var(--orange-500);
        border-color: var(--orange-500);
    }

.difal-price-inputs input {
    font-size: 12.5px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .4rem .6rem;
    width: 100%;
    font-family: inherit;
}

.difal-breadcrumb-bar {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

    .difal-breadcrumb-bar a:hover {
        color: var(--orange-500);
    }

    .difal-breadcrumb-bar img {
        width: 10px;
        height: 10px;
    }

    .difal-breadcrumb-bar .current {
        color: var(--text);
        font-weight: 500;
    }

.difal-sortbar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: 13px;
}

    .difal-sortbar .result-count {
        color: var(--text-muted);
    }

    .difal-sortbar select {
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: .35rem .6rem;
        font-family: inherit;
        font-size: 13px;
        color: var(--text);
    }

/* ==========================================================================
   صفحه جزئیات آگهی
   ========================================================================== */
.difal-gallery-main {
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--navy-050) 0%, #dfe6ee 100%);
}

    .difal-gallery-main img {
        /*     width: 22%;
        opacity: .5;*/
    }

.difal-gallery-thumbs img {
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    width: 100%;
    padding: 22%;
    background: linear-gradient(150deg, var(--navy-050) 0%, #dfe6ee 100%);
    box-sizing: border-box;
}

.difal-gallery-thumbs .active {
    border-color: var(--orange-500);
}

.difal-spec-table {
    width: 100%;
}

    .difal-spec-table th {
        color: var(--text-muted);
        font-weight: 400;
        width: 40%;
        text-align: right;
    }

    .difal-spec-table td, .difal-spec-table th {
        padding: .6rem .2rem;
        font-size: 13.5px;
        border-bottom: 1px solid var(--border);
    }

.difal-price-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem;
}

    .difal-price-box .price-label {
        font-size: 12.5px;
        color: var(--text-muted);
    }

    .difal-price-box .price {
        font-size: 23px;
        font-weight: 700;
        color: var(--orange-600);
        margin-top: 2px;
    }

    .difal-price-box .meta-line {
        font-size: 12.5px;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: .5rem;
    }

        .difal-price-box .meta-line img {
            width: 13px;
            height: 13px;
        }

    .difal-price-box .btn-call {
        background: var(--navy-800);
        color: #fff;
        border: none;
        border-radius: var(--radius-md);
        padding: .65rem;
        width: 100%;
        font-weight: 500;
        font-size: 14px;
        margin-top: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
    }

        .difal-price-box .btn-call img {
            width: 15px;
            height: 15px;
        }

    .difal-price-box .btn-msg {
        border: 1px solid var(--border);
        background: var(--surface);
        color: var(--navy-900);
        border-radius: var(--radius-md);
        padding: .6rem;
        width: 100%;
        font-weight: 500;
        font-size: 14px;
        margin-top: .55rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
    }

        .difal-price-box .btn-msg img {
            width: 15px;
            height: 15px;
        }

.difal-seller-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    margin-top: .9rem;
}

    .difal-seller-card h3 {
        font-size: 14.5px;
        margin-bottom: .9rem;
    }

    .difal-seller-card .avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--navy-800);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 17px;
    }

    .difal-seller-card .seller-name {
        font-weight: 500;
        font-size: 14px;
    }

    .difal-seller-card .seller-meta {
        font-size: 12px;
        color: var(--text-muted);
    }

    .difal-seller-card .seller-stat {
        font-size: 12.5px;
        color: var(--text-muted);
        margin-top: .8rem;
    }

    .difal-seller-card .seller-link {
        font-size: 12.5px;
        color: var(--orange-500);
        margin-top: .5rem;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

        .difal-seller-card .seller-link img {
            width: 12px;
            height: 12px;
        }

.difal-desc-card, .difal-spec-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    /*margin-bottom: 1rem;*/
}

    .difal-desc-card h3, .difal-spec-card h3 {
        font-size: 15px;
        margin-bottom: .8rem;
    }

    .difal-desc-card p {
        line-height: 2;
        font-size: 14px;
        color: var(--text);
        margin: 0;
    }

/* ==========================================================================
   فوتر
   ========================================================================== */
.difal-footer {
    background: var(--navy-900);
    color: #b7c9db;
    margin-top: 3rem;
}

    .difal-footer h4 {
        color: #fff;
        font-weight: 700;
        font-size: 14px;
        margin-bottom: 1rem;
    }

    .difal-footer a {
        color: #b7c9db;
        font-size: 13px;
        display: block;
        margin-bottom: .55rem;
    }

        .difal-footer a:hover {
            color: #fff;
        }

    .difal-footer .footer-bottom {
        border-top: 1px solid rgba(255,255,255,.12);
        font-size: 12px;
        color: #8ba0b6;
    }

.difal-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .difal-social-btn:hover {
        background: var(--orange-500);
    }

    .difal-social-btn img {
        width: 15px;
        height: 15px;
    }

/* ==========================================================================
   نوار موبایل پایین
   ========================================================================== */
.difal-mobile-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .difal-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        inset-inline: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        z-index: 1040;
        padding: .5rem 0 .4rem;
    }

        .difal-mobile-nav a {
            flex: 1;
            text-align: center;
            font-size: 10.5px;
            color: var(--text-muted);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
        }

            .difal-mobile-nav a img {
                width: 20px;
                height: 20px;
            }

            .difal-mobile-nav a.active {
                color: var(--orange-500);
            }

        .difal-mobile-nav .fab-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: -26px;
        }

        .difal-mobile-nav .fab {
            background: var(--orange-500);
            width: 46px;
            height: 46px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(244,119,30,.45);
            margin-bottom: 2px;
        }

            .difal-mobile-nav .fab img {
                width: 20px;
                height: 20px;
            }

        .difal-mobile-nav .home-active {
            background: var(--navy-800);
            border-radius: 10px;
            padding: 4px 12px 2px;
            color: #fff;
        }

    body {
        padding-bottom: 68px;
    }

    .difal-navlinks {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .difal-hero .carousel-item {
        min-height: 220px;
    }

    .difal-cat-card .cat-title {
        font-size: 11.5px;
    }
}

/* ---------- دکمه «آگهی‌های بیشتر» ---------- */
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1.5px solid var(--navy-800);
    color: var(--navy-900);
    border-radius: 999px;
    padding: .75rem 2rem;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(15,42,69,.08);
    transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .btn-load-more::after {
        content: "";
        width: 9px;
        height: 9px;
        border-inline-end: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-top: -4px;
        transition: transform .15s ease;
    }

    .btn-load-more:hover:not(:disabled) {
        background: var(--navy-900);
        color: #fff;
        box-shadow: 0 6px 16px rgba(15,42,69,.22);
        transform: translateY(-1px);
    }

    .btn-load-more:disabled {
        opacity: .6;
        cursor: default;
        box-shadow: none;
        transform: none;
    }

    .btn-load-more.is-loading::after {
        display: none;
    }

.btn-load-more-spinner {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    flex: none;
    border: 2px solid var(--border);
    border-top-color: currentColor;
    display: none;
    animation: difal-spin .7s linear infinite;
}

.btn-load-more.is-loading .btn-load-more-spinner {
    display: inline-block;
}

@keyframes difal-spin {
    to {
        transform: rotate(360deg);
    }
}
/* ورود نرم کارت‌های تازه‌لودشده */
.difal-ad-card.new-ad-enter {
    opacity: 0;
    transform: translateY(10px);
    animation: difal-fade-in .35s ease forwards;
}

@keyframes difal-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ---------- جستجوی دسته‌بندی ---------- */
.dfAdd__catSearch {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: .55rem .8rem;
    background: var(--surface);
    transition: border-color .15s ease;
}

    .dfAdd__catSearch:focus-within {
        border-color: var(--orange-500);
    }

.dfAdd__catSearchIcon {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    flex: none;
}

.dfAdd__catSearchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    padding: 0;
}

    .dfAdd__catSearchInput::placeholder {
        color: var(--text-muted);
    }

.dfAdd__catSearchClear {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: var(--navy-050);
    color: var(--navy-900);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dfAdd__catSearchClear:hover {
        background: var(--navy-100);
    }

/* ---------- نتایج جستجو ---------- */
.dfAdd__catSearchResults {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(15, 42, 69, .12);
    max-height: 320px;
    overflow-y: auto;
    z-index: 50;
    padding: 4px;
}

.dfAdd__catResult {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13.5px;
    color: var(--text);
}

    .dfAdd__catResult:hover,
    .dfAdd__catResult.is-active {
        background: var(--orange-100);
    }

.dfAdd__catResultPath {
    color: var(--text-muted);
    font-size: 11.5px;
    margin-inline-start: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%;
}

.dfAdd__catResultIcon {
    flex: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.dfAdd__catResultEmpty {
    padding: 1rem;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- اسپینر بارگذاری ---------- */
.dfAdd__catLoading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dfAdd__spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border);
    border-top-color: var(--orange-500);
    border-radius: 50%;
    animation: dfAddSpin .7s linear infinite;
    flex: none;
}

@keyframes dfAddSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- حالت خالی ---------- */
.dfAdd__catEmpty {
    font-size: 13px;
    color: var(--text-muted);
    padding: .8rem 0;
    line-height: 1.8;
}

/* ---------- بهبود گرید دسته ---------- */
.dfAdd__catGrid {
    margin-top: .9rem;
}

    .dfAdd__catGrid:empty {
        margin-top: 0;
    }

/* ---------- بردکرامب ---------- */
.dfAdd__catCrumb {
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

    .dfAdd__catCrumb:hover {
        background: var(--orange-100);
        color: var(--orange-600);
    }

    .dfAdd__catCrumb:last-child {
        cursor: default;
    }

        .dfAdd__catCrumb:last-child:hover {
            background: var(--orange-500);
            color: #fff;
        }

#pageLoader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease;
}

    #pageLoader.hide {
        opacity: 0;
        pointer-events: none;
    }

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #1e3a8a;
    border-radius: 50%;
    animation: loaderSpin .8s linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.btn-mobile-filter {
    margin-bottom:0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f8f9fa; /* پس‌زمینه طوسی خیلی روشن */
    border: 1.5px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 20px;
    color: #1e3a8a; /* رنگ سرمه‌ای */
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

    .btn-mobile-filter img {
        width: 18px;
        height: 18px;
    }

    .btn-mobile-filter:hover,
    .btn-mobile-filter:active {
        background-color: #eef2f6;
        border-color: #1e3a8a;
        box-shadow: 0 4px 10px rgba(30, 58, 138, 0.1);
        transform: translateY(-1px);
    }
