[data-header-user-menu] a[href*=commercial-ads] {
    display: none !important;
}

:root {
    --brand: #0B63E5;
    --line: #E2E8F0;
    --brand-primary: #0B63E5;
    --brand-primary-dark: #0747A6;
    --brand-accent: #FFB800;
    --brand-accent-dark: #E5A600;
    --brand-sky: #0EA5E9;
    --brand-sky-light: #F0F7FF;
    --brand-surface: #FFFFFF;
    --brand-bg: #F8FAFC;
    --brand-text: #0F172A;
    --brand-muted: #64748B;
    --brand-border: #E2E8F0;

    --swiper-bullet: #cbd5e1;
    --swiper-bullet-active: #0B63E5;
    --swiper-bullet-shadow: rgba(11, 99, 229, 0.35);
    --swiper-btn-bg: #ffffff;
    --swiper-btn-color: #0F172A;
    --swiper-btn-border: rgba(0, 0, 0, 0.08);
    --swiper-btn-hover-bg: #f1f5f9;
}

a {
    text-decoration: none;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(11, 99, 229, 0.5) transparent;
}

/* WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(11, 99, 229, 0.45);
    border-radius: 999px;
    border: 0;
    box-shadow: none;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(11, 99, 229, 0.75);
}

::-webkit-scrollbar-thumb:active {
    background: #0747a6;
}

/* Corner (when both scrollbars appear) */
::-webkit-scrollbar-corner {
    background: transparent;
}

html,
body,
button,
input,
select,
textarea,
optgroup,
option {
    font-family: "Tajawal", sans-serif !important;
}

body :where(h1, h2, h3, h4, h5, h6, p, span, a, li, label, small, strong, em, blockquote, td, th, div) {
    font-family: inherit;
}

body {
    scroll-behavior: smooth;
    background-color: #f8fafc;
    color: #0f172a;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-blur {
    background: rgba(8, 17, 31, 0.58);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.noise::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: soft-light;
    background-image:
        radial-gradient(circle at 25% 25%, #fff 0.7px, transparent 0.8px),
        radial-gradient(circle at 75% 75%, #fff 0.7px, transparent 0.8px);
    background-size: 18px 18px;
}

.search-shell {
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    max-height: min(78dvh, 920px);
    display: flex;
    flex-direction: column;
}

.search-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
}

.search-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.3rem;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.pill-active {
    background: linear-gradient(
        135deg,
        rgba(31, 122, 255, 0.92),
        rgba(16, 163, 127, 0.88)
    );
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(31, 122, 255, 0.32);
}

.field {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.field:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(31, 122, 255, 0.12),
        0 12px 30px rgba(2, 6, 23, 0.08);
    border-color: rgba(31, 122, 255, 0.3);
}

.chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
}

.chip:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
}

.panel-light {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(245, 248, 252, 0.96)
    );
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.result-chip {
    background: rgba(15, 95, 224, 0.08);
    color: #0f5fe0;
    border: 1px solid rgba(15, 95, 224, 0.14);
}

.autocomplete-item.active,
.autocomplete-item:hover {
    background: rgba(15, 95, 224, 0.08);
}

.property-card-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 108px;
    border-radius: 1.25rem;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
    text-align: center;
}

.property-card-ui:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-2px);
}

.feature-select-ui {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 58px;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
    text-align: center;
}

.feature-select-ui:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.top-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-link-rich {
    position: relative;
}

.nav-link-rich::after {
    content: "";
    position: absolute;
    right: 1rem;
    left: 1rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(31, 122, 255, 0),
        rgba(31, 122, 255, 0.9),
        rgba(24, 194, 156, 0.9),
        rgba(31, 122, 255, 0)
    );
    transform: scaleX(0);
    transition: 0.25s ease;
    transform-origin: center;
}

.nav-link-rich:hover::after {
    transform: scaleX(1);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-premium {
    position: relative;
    overflow: visible;
    border-radius: inherit;
    isolation: isolate;
}

.header-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(31, 122, 255, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 15%,
            rgba(24, 194, 156, 0.12),
            transparent 24%
        );
}

.alert-strip-premium {
    position: relative;
}

.alert-strip-premium::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );
}

/* Side Drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.35s;
}

.drawer-overlay.drawer-open {
    opacity: 1;
    visibility: visible;
}

.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 92vw);
    max-width: 360px;
    height: 100dvh;
    z-index: 9999;
    background: linear-gradient(
        165deg,
        rgba(15, 28, 52, 0.98) 0%,
        rgba(8, 17, 31, 0.99) 50%,
        rgba(5, 12, 22, 0.995) 100%
    );
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        -24px 0 80px rgba(0, 0, 0, 0.5),
        inset 1px 0 0 rgba(255, 255, 255, 0.04);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-right: env(safe-area-inset-right, 0);
}

.drawer-overlay.drawer-open .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    flex: 0 0 auto;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 100%
    );
}

.drawer-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.drawer-footer {
    flex: 0 0 auto;
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
}

.drawer-section-title {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    padding: 1rem 1.25rem 0.5rem;
    margin-top: 0.25rem;
}

.drawer-list {
    padding: 0.5rem 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.22s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    min-height: 52px;
}

.drawer-link::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(180deg, #0b63e5, #ffb800);
    transition: height 0.22s ease;
}

.drawer-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.drawer-link:hover::before {
    height: 60%;
}

.drawer-link:active {
    background: rgba(255, 255, 255, 0.1);
}

.drawer-link-icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.22s ease;
}

.drawer-link:hover .drawer-link-icon {
    transform: scale(1.05);
}

.drawer-link-text {
    flex: 1;
    min-width: 0;
}

.drawer-link-desc {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.125rem;
}

.drawer-link-arrow {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.25);
    transition: transform 0.22s ease;
}

.drawer-link:hover .drawer-link-arrow {
    color: rgba(255, 255, 255, 0.5);
    transform: translateX(-3px);
}

.drawer-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    margin: 0.5rem 1.25rem;
}

.drawer-cta {
    margin: 0.75rem 1rem 0;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(
        135deg,
        rgba(31, 122, 255, 0.2),
        rgba(24, 194, 156, 0.12)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.22s ease;
}

.drawer-cta:hover {
    background: linear-gradient(
        135deg,
        rgba(31, 122, 255, 0.3),
        rgba(24, 194, 156, 0.18)
    );
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* Theme-aware, reduced-density side drawer. */
.drawer-overlay { background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer-panel { background: #f1f5f9; border-left-color: #cbd5e1; box-shadow: -18px 0 48px rgba(15, 23, 42, 0.22); }
.drawer-header { padding: 1rem; border-bottom-color: #cbd5e1; background: #fff; }
.drawer-header p:first-child { color: #0f172a !important; }
.drawer-header p + p { color: #475569 !important; }
.drawer-header > div span.inline-flex { background: #e2e8f0 !important; color: #0f766e !important; box-shadow: none !important; }
.drawer-header [data-drawer-close-button] { background: #e2e8f0 !important; color: #334155 !important; }
.drawer-header [data-drawer-close-button]:hover { background: #cbd5e1 !important; color: #0f172a !important; }
.drawer-intro, .drawer-link-desc, .drawer-link-arrow, .drawer-link-rich::after { display: none; }
.drawer-section-title { padding: .85rem 1rem .35rem; color: #94a3b8; letter-spacing: .08em; }
.drawer-list { gap: .125rem; padding: .35rem .65rem .65rem; }
.drawer-link { min-height: 46px; gap: .75rem; padding: .6rem .75rem; border: 1px solid #e2e8f0; border-radius: .85rem; color: #1e293b; background: #fff; }
.drawer-link:hover, .drawer-link:active { border-color: #bae6fd; background: #f0f9ff; color: #0f172a; }
.drawer-link-icon { width: 2.25rem; height: 2.25rem; min-width: 2.25rem; border-radius: 50%; background-color: #e2e8f0; }
.drawer-divider { margin: .25rem 1rem; background: #e2e8f0; }
.drawer-footer { padding: .85rem 1rem; border-top-color: #cbd5e1; color: #64748b; background: #fff; }
.drawer-cta { margin: .5rem .75rem 0; }
.drawer-panel .drawer-cta.ui-gradient-button {
    border-color: #0b63e5 !important;
    background: #0b63e5 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px -16px rgba(11, 99, 229, .65);
}
.drawer-panel .drawer-cta.ui-gradient-button:hover {
    border-color: #0747a6 !important;
    background: #0747a6 !important;
}
.drawer-panel .drawer-cta.ui-gradient-button span,
.drawer-panel .drawer-cta.ui-gradient-button i { color: #fff !important; }
.dark .drawer-overlay { background: rgba(2, 6, 23, 0.62); }
.dark .drawer-panel { background: linear-gradient(165deg, #0f1c34 0%, #08111f 55%, #050c16 100%); border-left-color: rgba(255, 255, 255, 0.08); box-shadow: -20px 0 56px rgba(0, 0, 0, 0.48); }
.dark .drawer-header { border-bottom-color: rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.025); }
.dark .drawer-header p:first-child { color: #f8fafc !important; }
.dark .drawer-header p + p { color: #94a3b8 !important; }
.dark .drawer-header > div span.inline-flex { background: rgba(16, 185, 129, 0.16) !important; color: #a7f3d0 !important; }
.dark .drawer-header [data-drawer-close-button] { background: rgba(255, 255, 255, 0.07) !important; color: #cbd5e1 !important; }
.dark .drawer-header [data-drawer-close-button]:hover { background: rgba(255, 255, 255, 0.12) !important; color: #fff !important; }
.dark .drawer-section-title { color: #64748b; }
.dark .drawer-link { border-color: transparent; color: #e2e8f0; background: transparent; }
.dark .drawer-link:hover, .dark .drawer-link:active { background: rgba(255, 255, 255, 0.07); color: #fff; }
.dark .drawer-link-icon { background-color: rgba(255, 255, 255, 0.07); }
.dark .drawer-divider { background: rgba(255, 255, 255, 0.08); }
.dark .drawer-footer { border-top-color: rgba(255, 255, 255, 0.07); color: #64748b; background: rgba(255, 255, 255, 0.02); }
.dark .drawer-panel .drawer-cta.ui-gradient-button { border-color: rgba(94, 234, 212, .25) !important; background: linear-gradient(135deg, #0f766e, #075985) !important; }
.drawer-body::-webkit-scrollbar,
.search-scroll::-webkit-scrollbar {
    width: 10px;
}

.drawer-body::-webkit-scrollbar-track,
.search-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.drawer-body::-webkit-scrollbar-thumb,
.search-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(31, 122, 255, 0.7),
        rgba(24, 194, 156, 0.7)
    );
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.drawer-body::-webkit-scrollbar-thumb:hover,
.search-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(31, 122, 255, 0.95),
        rgba(24, 194, 156, 0.95)
    );
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.drawer-body,
.search-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 122, 255, 0.85) transparent;
}

@media (max-width: 1023px) {
    .search-shell {
        max-height: none;
    }

    .search-scroll {
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 639px) {
    .drawer-link {
        min-height: 46px;
        padding: .65rem .75rem;
    }
}

@media (min-width: 1280px) {
    .drawer-overlay {
        display: none !important;
    }
}

/* Visual enrichment layer */
.site-shell {
    position: relative;
    isolation: isolate;
}

.site-ambient {
    position: relative;
    opacity: 0.78;
    background:
        radial-gradient(
            44% 58% at 78% 0%,
            rgba(31, 122, 255, 0.2) 0%,
            rgba(31, 122, 255, 0) 100%
        ),
        radial-gradient(
            36% 48% at 16% 24%,
            rgba(24, 194, 156, 0.12) 0%,
            rgba(24, 194, 156, 0) 100%
        );
    animation: ambientDrift 18s ease-in-out infinite alternate;
}

.site-ambient::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0) 38%
    );
}

@keyframes ambientDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(0, 10px, 0) scale(1.02);
    }
}

.ui-surface-card {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.ui-surface-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    border-color: rgba(31, 122, 255, 0.2);
}

.dark .ui-surface-card:hover {
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
    border-color: rgba(125, 211, 252, 0.22);
}

.ui-gradient-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ui-gradient-button::after {
    content: "";
    position: absolute;
    top: -140%;
    right: -25%;
    width: 36%;
    height: 300%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(28deg);
    transition: right 0.5s ease;
    pointer-events: none;
}

.ui-gradient-button:hover::after {
    right: 120%;
}

.drawer-link-rich {
    overflow: hidden;
}

.drawer-link-rich::after {
    content: "";
    position: absolute;
    left: -34%;
    top: 0;
    width: 32%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0)
    );
    transform: skewX(-20deg);
    transition: left 0.45s ease;
}

.drawer-link-rich:hover::after {
    left: 120%;
}

.reveal-item {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .site-ambient,
    .ui-surface-card,
    .ui-gradient-button::after,
    .drawer-link-rich::after,
    .reveal-item {
        animation: none !important;
        transition: none !important;
    }

    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Declutter & Eye-Comfort Overrides */
.apps-line-scene,
.footer-line-scene,
.header-line-scene,
.home-hero-spot,
.home-section-decoration {
    display: none !important;
}

body {
    background-color: #ffffff !important;
    color: #0f172a;
}

.home-page-canvas {
    background: #ffffff !important;
}

/* Unified Pagination Active State */
nav[role="navigation"] [aria-current="page"] > span {
    background-color: #0B63E5 !important;
    border-color: #0B63E5 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* تحسين شكل الـ Select في الموقع وإبعاد السهم عن حافة الحقل */
select:not([multiple]):not(.sr-only) {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 0.95rem center !important;
    background-size: 1.05rem 1.05rem !important;
    padding-left: 2.65rem !important;
}

html[dir="ltr"] select:not([multiple]):not(.sr-only) {
    background-position: right 0.95rem center !important;
    padding-right: 2.65rem !important;
    padding-left: 0.95rem !important;
}

/* ==========================================================================
   تحسين كارت الإعلان الموحد (sooq-ad-card): السعر + أزرار أيقونات الواتساب والاتصال
   ========================================================================== */
.home-featured-card .home-featured-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.48rem !important;
    padding: 0.78rem 0.85rem 0.55rem !important;
    flex: 1 1 auto !important;
}

.home-featured-card .home-featured-body h3 {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    line-height: 1.48 !important;
    min-height: 2.6rem !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    transition: color 0.18s ease !important;
}

.home-featured-card:hover .home-featured-body h3 {
    color: #0b5ed7 !important;
}

.home-featured-card .home-featured-meta {
    margin-top: auto !important;
    padding-top: 0.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.45rem !important;
}

.home-featured-card .home-featured-meta small {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

.home-featured-card .home-featured-meta small.home-featured-time {
    color: #94a3b8 !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
}

.home-featured-card .home-featured-meta small.home-featured-time > i {
    color: #94a3b8 !important;
}

.home-featured-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding: 0.58rem 0.85rem 0.72rem !important;
    border-top: 1px solid #f1f5f9 !important;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.45) 0%, rgba(248, 250, 252, 0.85) 100%) !important;
    margin-top: auto !important;
}

.home-featured-price {
    color: #0b5ed7 !important;
    font-size: 0.96rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.home-featured-actions.is-icon-only {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
    width: auto !important;
}

.home-featured-actions.is-icon-only a {
    width: 2.15rem !important;
    height: 2.15rem !important;
    min-width: 2.15rem !important;
    padding: 0 !important;
    border-radius: 0.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.home-featured-actions.is-icon-only a > i {
    font-size: 1.08rem !important;
    transform: none !important;
    line-height: 1 !important;
}

.home-featured-actions.is-icon-only a:hover {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.16) !important;
}

/* ==========================================================================
   توافق وتحسين العرض الأفقي (List View) لكارت الإعلان الموحد
   ========================================================================== */
.last-ads-grid.is-list-view .home-featured-card {
    display: grid !important;
    grid-template-columns: 11.25rem minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr auto !important;
    min-height: 10.25rem !important;
    border-radius: 1.15rem !important;
    align-items: stretch !important;
}

.last-ads-grid.is-list-view .home-featured-media {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 4 !important;
    width: calc(100% - 0.55rem) !important;
    height: calc(100% - 1.1rem) !important;
    min-height: 9.15rem !important;
    margin: 0.55rem 0.55rem 0.55rem 0 !important;
    border-radius: 0.85rem !important;
    border: 1px solid #f1f5f9 !important;
    aspect-ratio: auto !important;
}

.last-ads-grid.is-list-view .home-featured-mark {
    top: 0.5rem !important;
    right: 0.5rem !important;
    padding: 0.22rem 0.55rem !important;
    font-size: 0.62rem !important;
}

.last-ads-grid.is-list-view .card-heart-btn {
    top: 0.62rem !important;
    left: 0.85rem !important;
    right: auto !important;
    width: 1.85rem !important;
    height: 1.85rem !important;
    border-radius: 0.55rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    font-size: 0.92rem !important;
}

.last-ads-grid.is-list-view .card-heart-btn:hover,
.last-ads-grid.is-list-view .card-heart-btn.is-favorited {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #e11d48 !important;
}

.last-ads-grid.is-list-view .home-featured-category {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    display: inline-flex !important;
    align-self: center !important;
    justify-self: start !important;
    width: auto !important;
    max-width: calc(100% - 3.6rem) !important;
    height: 1.72rem !important;
    margin: 0.65rem 0.95rem 0 2.75rem !important;
    padding: 0.18rem 0.5rem !important;
    border-radius: 0.5rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    font-size: 0.65rem !important;
}

.last-ads-grid.is-list-view .home-featured-category > i:first-child {
    width: 1.25rem !important;
    height: 1.25rem !important;
    font-size: 0.75rem !important;
    border-radius: 0.35rem !important;
}

.last-ads-grid.is-list-view .home-featured-body {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    padding: 0.42rem 0.95rem 0.45rem !important;
    gap: 0.38rem !important;
}

.last-ads-grid.is-list-view .home-featured-body h3 {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    min-height: 0 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.last-ads-grid.is-list-view .home-featured-footer {
    grid-column: 2 / 3 !important;
    grid-row: 3 / 4 !important;
    padding: 0.48rem 0.95rem 0.62rem !important;
    border-top: 1px solid #f1f5f9 !important;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.35) 0%, rgba(248, 250, 252, 0.85) 100%) !important;
    margin-top: 0 !important;
}

.last-ads-grid.is-list-view .home-featured-footer .home-featured-actions.is-icon-only {
    grid-column: auto !important;
    grid-row: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.38rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
}

.last-ads-grid.is-list-view .home-featured-footer .home-featured-actions.is-icon-only a {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
    padding: 0 !important;
    border-radius: 0.58rem !important;
}

html.dark .last-ads-grid.is-list-view .home-featured-media {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .last-ads-grid.is-list-view .card-heart-btn,
html.dark .last-ads-grid.is-list-view .home-featured-category {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

html.dark .last-ads-grid.is-list-view .home-featured-footer {
    border-top-color: rgba(255, 255, 255, 0.07) !important;
    background: rgba(15, 23, 42, 0.35) !important;
}

@media (max-width: 639px) {
    .last-ads-grid.is-list-view .home-featured-card {
        grid-template-columns: 8.75rem minmax(0, 1fr) !important;
        min-height: 9.25rem !important;
    }

    .last-ads-grid.is-list-view .home-featured-media {
        min-height: 8.15rem !important;
    }

    .last-ads-grid.is-list-view .card-heart-btn {
        top: 0.55rem !important;
        left: 0.7rem !important;
        width: 1.75rem !important;
        height: 1.75rem !important;
    }

    .last-ads-grid.is-list-view .home-featured-category {
        margin: 0.55rem 0.75rem 0 2.5rem !important;
    }

    .last-ads-grid.is-list-view .home-featured-body {
        padding: 0.35rem 0.75rem 0.35rem !important;
    }

    .last-ads-grid.is-list-view .home-featured-footer {
        padding: 0.42rem 0.75rem 0.55rem !important;
    }
}

@media (max-width: 440px) {
    .last-ads-grid.is-list-view .home-featured-card {
        grid-template-columns: 7.5rem minmax(0, 1fr) !important;
    }
}

/* ==========================================================================
   تحسين كارت الإعلانات المبوبة السريعة والخدمات (home-agent-card)
   ========================================================================== */
.home-agents .home-agent-card {
    display: grid !important;
    grid-template-columns: 6.4rem minmax(0, 1fr) auto !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    gap: 0.9rem !important;
    padding: 0.85rem 0.95rem !important;
    border-radius: 1.2rem !important;
    min-height: 7.8rem !important;
}

.home-agents .home-agent-card__avatar {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    width: 6.4rem !important;
    height: 6.4rem !important;
    min-height: 6.4rem !important;
    max-height: 6.4rem !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 0.95rem !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
}

.home-agents .home-agent-card__avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.home-agents .home-agent-card:hover .home-agent-card__avatar img {
    transform: scale(1.06) !important;
}

.home-agents .home-agent-card__avatar > em {
    top: auto !important;
    right: 0.38rem !important;
    bottom: 0.38rem !important;
    padding: 0.16rem 0.48rem !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.82) !important;
    backdrop-filter: blur(4px) !important;
    color: #ffffff !important;
    font-size: 0.56rem !important;
    font-weight: 800 !important;
}

.home-agents .home-agent-card__body {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    min-width: 0 !important;
}

.home-agents .home-agent-card__taxonomy {
    margin-bottom: 0.1rem !important;
    padding: 0.2rem 0.55rem !important;
    font-size: 0.65rem !important;
    border-radius: 0.5rem !important;
}

.home-agents .home-agent-card__title-link strong {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    color: #0f172a !important;
    transition: color 0.18s ease !important;
}

.home-agents .home-agent-card:hover .home-agent-card__title-link strong {
    color: #0b5ed7 !important;
}

.home-agents .home-agent-card__excerpt {
    margin-top: 0 !important;
    font-size: 0.71rem !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.home-agents .home-agent-card__facts {
    margin-top: 0.2rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.3rem 0.8rem !important;
    min-width: 0 !important;
}

.home-agents .home-agent-card__actions.is-icon-only {
    grid-column: 3 / 4 !important;
    grid-row: 1 / 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    padding: 0 0.85rem 0 0 !important;
    border-top: none !important;
    border-right: 1px solid #f1f5f9 !important;
    width: auto !important;
    height: 100% !important;
    flex-shrink: 0 !important;
}

.home-agents .home-agent-card__actions.is-icon-only a {
    width: 2.3rem !important;
    height: 2.3rem !important;
    min-width: 2.3rem !important;
    padding: 0 !important;
    border-radius: 0.68rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.home-agents .home-agent-card__actions.is-icon-only a > i {
    font-size: 1.12rem !important;
    transform: none !important;
    line-height: 1 !important;
}

.home-agents .home-agent-card__actions.is-icon-only a:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.16) !important;
}

@media (max-width: 639px) {
    .home-agents .home-agent-card {
        grid-template-columns: 5.25rem minmax(0, 1fr) auto !important;
        gap: 0.65rem !important;
        padding: 0.7rem !important;
        min-height: auto !important;
    }

    .home-agents .home-agent-card__avatar {
        width: 5.25rem !important;
        height: 5.25rem !important;
        min-height: 5.25rem !important;
        max-height: 5.25rem !important;
    }

    .home-agents .home-agent-card__actions.is-icon-only {
        padding-right: 0.6rem !important;
        gap: 0.35rem !important;
    }

    .home-agents .home-agent-card__actions.is-icon-only a {
        width: 2.1rem !important;
        height: 2.1rem !important;
        min-width: 2.1rem !important;
    }
}

/* ==========================================================================
   SooqIn Modern Arabic Pagination (.sooq-pagination)
   ========================================================================== */
.sooq-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.16);
    direction: rtl;
}

.sooq-pagination__summary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #64748b;
}

.sooq-pagination__summary i {
    font-size: 1.05rem;
    color: #0b63e5;
}

.sooq-pagination__summary strong {
    color: #0f172a;
    font-weight: 900;
}

.sooq-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.38rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sooq-pagination__item {
    display: inline-flex;
}

.sooq-pagination__link {
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 0.65rem;
    border-radius: 0.72rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-decoration: none;
    transition: all 0.18s ease;
    user-select: none;
}

.sooq-pagination__link--nav {
    padding: 0 0.85rem;
    background: #ffffff;
    color: #0f172a;
}

.sooq-pagination__link--nav i {
    font-size: 1.05rem;
    line-height: 1;
}

.sooq-pagination__item:not(.is-disabled):not(.is-active) .sooq-pagination__link:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #0b63e5;
    transform: translateY(-1px);
}

.sooq-pagination__item.is-active .sooq-pagination__link {
    background: linear-gradient(135deg, #0b63e5 0%, #0284c7 100%);
    border-color: #0b63e5;
    color: #ffffff;
    box-shadow: 0 10px 20px -12px rgba(11, 99, 229, 0.75);
}

.sooq-pagination__item.is-disabled .sooq-pagination__link {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
}

.sooq-pagination__dots {
    min-width: 2rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 900;
    font-size: 0.9rem;
}

@media (max-width: 680px) {
    .sooq-pagination {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0.85rem 1rem;
    }

    .sooq-pagination__list {
        justify-content: center;
    }
}

/* ==========================================================================
   Modern SooqIn Toast Notifications (Notyf Redesign)
   ========================================================================== */
.notyf {
    padding: 1.25rem !important;
    z-index: 99999 !important;
}

.notyf__toast {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 1rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 38px -14px rgba(15, 23, 42, 0.18), 0 4px 12px -4px rgba(15, 23, 42, 0.08) !important;
    padding: 0 !important;
    max-width: 22rem !important;
    min-width: 17rem !important;
    color: #0f172a !important;
    overflow: hidden !important;
    direction: rtl !important;
}

.notyf__toast.sooq-toast--success,
.notyf__toast--success {
    border-right: 4px solid #10b981 !important;
}

.notyf__toast.sooq-toast--error,
.notyf__toast--error {
    border-right: 4px solid #ef4444 !important;
}

.notyf__toast.sooq-toast--info {
    border-right: 4px solid #0b63e5 !important;
}

.notyf__ripple {
    display: none !important;
}

.notyf__wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    padding: 0.85rem 1rem 0.85rem 2.35rem !important;
    direction: rtl !important;
}

.notyf__icon {
    margin: 0 !important;
    width: 2.15rem !important;
    height: 2.15rem !important;
    border-radius: 0.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 1.2rem !important;
}

.sooq-toast--success .notyf__icon {
    background: #ecfdf5 !important;
    color: #10b981 !important;
}

.sooq-toast--error .notyf__icon {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

.sooq-toast--info .notyf__icon {
    background: #eff6ff !important;
    color: #0b63e5 !important;
}

.notyf__message {
    font-family: "PingARLT", "Tajawal", sans-serif !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.45 !important;
    text-align: right !important;
}

.notyf__dismiss {
    right: auto !important;
    left: 0.45rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1.75rem !important;
    height: 1.75rem !important;
    border-radius: 0.5rem !important;
}

.notyf__dismiss-btn {
    background-color: transparent !important;
    opacity: 0.55 !important;
    transition: opacity 0.18s ease, background-color 0.18s ease !important;
    border-radius: 0.5rem !important;
}

.notyf__dismiss-btn:after,
.notyf__dismiss-btn:before {
    background: #64748b !important;
    width: 2px !important;
    height: 11px !important;
}

.notyf__dismiss:hover .notyf__dismiss-btn {
    opacity: 1 !important;
    background-color: #f1f5f9 !important;
}







