/* ==========================================================================
   سوق إن (SooqIn) — التصميم المدمج الشامل
   الهيكل الأساسي لـ https://sooq.in/ مطوّراً بهوية ومكونات البرانش الحالي
   ========================================================================== */

@font-face {
    font-family: "PingARLT";
    src: url("../assets/fonts/PingAR+LT-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "PingARLT";
    src: url("../assets/fonts/PingAR+LT-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "PingARLT";
    src: url("../assets/fonts/PingAR+LT-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "PingARLT";
    src: url("../assets/fonts/PingAR+LT-Heavy.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "PingARLT";
    src: url("../assets/fonts/PingAR+LT-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ألوان البرانش الحالي مع لمسات sooq.in الأصلي */
    /* Palette updated to specification */
    --brand: #0b63e5;
    --line: #e2e8f0;
    --brand-600: #0b5ed7; /* Primary Blue */
    --brand-700: #094cb0;
    --brand-500: #2679f3;
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-200: #bfdbfe;

    --accent-yellow: #fbb11f; /* Accent Yellow */
    --accent-yellow-hover: #e59e14;
    --amber-400: #fbb11f;
    --amber-500: #fbb11f;
    --amber-900: #78350f;

    --sooq-red: #0b5ed7; /* Main action buttons use primary blue */
    --sooq-red-hover: #094cb0;
    --sooq-dark: #181d25;
    --sooq-darker: #11161d;
    --sooq-header-bg: #1b222c;
    --sooq-header-sub: #222934;

    --emerald-500: #10b981;
    --emerald-600: #059669;

    --bg-canvas: #f6f9ff; /* Page background #f6f9ff */
    --bg-section-alt: #f0f5ff; /* Very light blue */
    --bg-card: #ffffff; /* White cards */
    --bg-muted: #eef4ff;

    --text-primary: #111827; /* Near-black navy */
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;

    --shadow-sm: 0 4px 12px -4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 28px -8px rgba(15, 23, 42, 0.08);
    --shadow-brand: 0 12px 28px -10px rgba(11, 99, 229, 0.22);

    --radius-sm: 0.65rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 1.85rem;

    --container-max: 80rem; /* 1280px - max-w-7xl */
    --font-sans: "Tajawal", system-ui, -apple-system, sans-serif;
}

html.dark {
    --bg-canvas: #08111f;
    --bg-section-alt: #0b1628;
    --bg-card: #0f1d2a;
    --bg-muted: #172d42;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;

    --border-color: rgba(255, 255, 255, 0.09);
    --border-subtle: rgba(255, 255, 255, 0.05);

    --shadow-sm: 0 4px 16px -4px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

button, input, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

.container-shell {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .container-shell {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-shell {
        padding-inline: 2rem;
    }
}

/* ==========================================================================
   1. شريط المعلومات العلوي (Topbar من البرانش الحالي + القديم)
   ========================================================================== */
.sooq-topbar {
    background: var(--sooq-darker);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.42rem 0;
}

.sooq-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sooq-topbar__right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
}

.sooq-topbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--amber-400);
    color: #0f172a;
    font-size: 0.68rem;
    font-weight: 900;
}

.sooq-topbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sooq-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.sooq-topbar__link i {
    color: #38bdf8;
    font-size: 0.9rem;
}

.sooq-topbar__link:hover {
    color: #ffffff;
}

.sooq-topbar__divider {
    width: 1px;
    height: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   2. الهيدر الرئيسي (دمج هيدر sooq.in الداكن مع بحث حي وقائمة الأقسام وتصميم البرانش الجديد)
   ========================================================================== */
.sooq-header {
    position: sticky;
    top: 0;
    z-index: 140;
    background: rgba(24, 29, 37, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.sooq-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.sooq-header__brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.drawer-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.drawer-toggler:hover {
    background: var(--brand-600);
    border-color: var(--brand-500);
}

.sooq-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.sooq-brand__mark {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -10px rgba(31, 122, 255, 0.55);
    flex-shrink: 0;
}

.sooq-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sooq-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.sooq-brand__title {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    white-space: nowrap;
}

.sooq-brand__title-region {
    color: #0b5ed7;
    font-weight: 900;
}

.sooq-brand__slogan {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* شريط البحث المدمج في الهيدر (Global Search من sooq.in مطوّر) */
.sooq-header__search {
    position: relative;
    flex: 1 1 420px;
    max-width: 38rem;
    min-width: 0;
}

.header-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 2.95rem;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid transparent;
    border-radius: 0.95rem;
    padding: 0.25rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

.header-search-form:focus-within {
    background: #ffffff;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(11, 99, 229, 0.22);
}

/* Custom Header Search Select Dropdown */
.header-search-form__select {
    position: relative;
    display: flex;
    align-items: center;
    padding-inline: 0.25rem 0.5rem;
    border-left: 1px solid #dbeafe;
    flex-shrink: 0;
}

.search-select-trigger {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    border: none;
    background: transparent;
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    color: #1f2937;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    user-select: none;
    box-shadow: none !important;
}

.search-select-trigger:hover,
.search-select-trigger.is-active {
    background: #eef5ff;
    color: #0b5ed7;
}

.search-select-icon {
    font-size: 1rem;
    color: #0b5ed7;
    flex-shrink: 0;
}

.search-select-current {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9.5rem;
}

.search-select-arrow {
    font-size: 0.95rem;
    color: #64748b;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.search-select-trigger.is-active .search-select-arrow {
    transform: rotate(180deg);
    color: #0b5ed7;
}

.search-select-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 14.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.05);
    padding: 0.4rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.search-select-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-select-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    text-align: right;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    box-shadow: none !important;
}

.search-select-option i:first-child {
    font-size: 1rem;
    color: #0b5ed7;
    flex-shrink: 0;
}

.search-select-option span {
    flex: 1;
    text-align: right;
}

.search-select-option .check-mark {
    font-size: 0.95rem;
    color: #0b5ed7;
    opacity: 0;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.search-select-option:hover {
    background: #f1f5f9;
    color: #0b5ed7;
}

.search-select-option.is-active {
    background: #eff6ff;
    color: #0b5ed7;
    font-weight: 800;
}

.search-select-option.is-active .check-mark {
    opacity: 1;
}

/* Dark Mode Support */
html.dark .header-search-form__select {
    border-left-color: rgba(255, 255, 255, 0.12);
}

html.dark .search-select-trigger {
    color: #f1f5f9;
}

html.dark .search-select-trigger:hover,
html.dark .search-select-trigger.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
}

html.dark .search-select-icon {
    color: #38bdf8;
}

html.dark .search-select-menu {
    background: #172d42;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

html.dark .search-select-option {
    color: #cbd5e1;
}

html.dark .search-select-option:hover {
    background: #1e3a5f;
    color: #38bdf8;
}

html.dark .search-select-option.is-active {
    background: #1e3a5f;
    color: #38bdf8;
}

html.dark .search-select-option i:first-child,
html.dark .search-select-option.is-active .check-mark {
    color: #38bdf8;
}

.header-search-form__input {
    flex: 1;
    min-width: 0;
    padding-inline: 0.85rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #0f172a;
}

.header-search-form__input::placeholder {
    color: #64748b;
    font-weight: 500;
}

.header-search-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: 2.35rem;
    padding-inline: 1.05rem;
    border-radius: 0.72rem;
    background: var(--brand-600);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.header-search-form__btn:hover {
    background: var(--brand-700);
}

/* اقتراحات البحث الفورية (Live Search Suggestions من sooq.in) */
.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    inset-inline: 0;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.25);
    padding: 0.5rem;
    z-index: 200;
    display: none;
}

.search-suggestions-dropdown.is-open {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
}

.suggestion-item:hover {
    background: var(--brand-50);
    color: var(--brand-600);
}

.dark .suggestion-item:hover {
    background: rgba(11, 99, 229, 0.2);
    color: #60a5fa;
}

.suggestion-item span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.suggestion-item small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* أزرار الهيدر (الإشعارات، المفضلة، الوضع الليلي، الحساب، إضافة إعلان) */
.sooq-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-icon-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.header-icon-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-1px);
}

.header-icon-pill__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: var(--brand-600);
    color: #ffffff !important;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    transition: all 0.2s ease;
}

/* قائمة الإشعارات المنسدلة (من sooq.in القديم بتصميم حديث) */
.notif-wrapper {
    position: relative;
}

.notif-dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: auto;
    width: 20.5rem;
    direction: rtl;
    text-align: right;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 1.15rem;
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    display: none;
    z-index: 220;
}

.notif-dropdown.is-open {
    display: block;
}

.notif-dropdown__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-section-alt);
}

.notif-dropdown__head strong {
    font-size: 0.88rem;
    font-weight: 900;
}

.notif-dropdown__counts {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
}

.notif-dropdown__counts .is-unread {
    color: #e11d48;
}

.notif-dropdown__counts .is-read {
    color: var(--emerald-600);
}

.notif-dropdown__list {
    max-height: 15rem;
    overflow-y: auto;
    padding: 0.4rem;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    transition: background 0.2s;
    cursor: pointer;
}

.notif-item:hover {
    background: var(--bg-muted);
}

.notif-item strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-primary);
}

.notif-item p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.notif-item span {
    font-size: 0.68rem;
    color: var(--brand-600);
    font-weight: 800;
}

.notif-dropdown__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-weight: 800;
}

.notif-dropdown__foot button,
.notif-dropdown__foot a {
    color: var(--brand-600);
}

.header-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.55rem;
    padding-inline: 0.9rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.header-login-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.header-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 2.65rem;
    padding-inline: 1.15rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: none;
}

.header-add-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

/* الصف الثاني من الهيدر: قائمة "كل الأقسام" المنسدلة (من sooq.in) + روابط البرانش الجديد */
.sooq-header__nav-bar {
    background: var(--sooq-header-sub);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sooq-header__nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.95rem;
}

/* قائمة "كل الأقسام" Mega Menu من sooq.in */
.all-sections-dropdown {
    position: relative;
    flex-shrink: 0;
}

.all-sections-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 2.95rem;
    padding-inline: 1.15rem;
    background: var(--brand-600);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.all-sections-trigger i:last-child {
    margin-right: 0.35rem;
    transition: transform 0.2s ease;
}

.all-sections-dropdown:hover .all-sections-trigger i:last-child,
.all-sections-dropdown.is-open .all-sections-trigger i:last-child {
    transform: rotate(180deg);
}

.all-sections-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 17.5rem;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 0 0 1.15rem 1.15rem;
    box-shadow: 0 22px 45px -15px rgba(15, 23, 42, 0.28);
    padding: 0.45rem;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.18s ease 0.22s, transform 0.18s ease 0.22s, visibility 0s linear 0.4s;
    z-index: 190;
}

/* جسر غير مرئي أعلى القائمة لمنع اختفائها عند الانتقال من الزر إلى القائمة */
.all-sections-menu::before {
    content: "";
    position: absolute;
    top: -0.65rem;
    left: 0;
    right: 0;
    height: 0.65rem;
    background: transparent;
}

.all-sections-dropdown:hover .all-sections-menu,
.all-sections-dropdown.is-open .all-sections-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.section-menu-item {
    position: relative;
}

.section-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.6rem 0.8rem;
    border-radius: 0.75rem;
    font-size: 0.83rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-menu-link > span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.section-menu-link > span i {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
}

.dark .section-menu-link > span i {
    background: var(--bg-muted);
    color: #38bdf8;
}

.section-menu-item:hover > .section-menu-link,
.section-menu-item.is-active > .section-menu-link {
    background: var(--brand-50);
    color: var(--brand-600);
}

.dark .section-menu-item:hover > .section-menu-link,
.dark .section-menu-item.is-active > .section-menu-link {
    background: var(--bg-muted);
    color: #38bdf8;
}

/* القائمة الفرعية للأقسام (Subcategories Flyout كما في sooq.in) */
.section-submenu {
    position: absolute;
    top: 0;
    right: 100%;
    width: 16rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 18px 38px -12px rgba(15, 23, 42, 0.22);
    padding: 0.85rem;
    margin-right: 0.2rem;
    display: none;
    z-index: 205;
}

/* جسر غير مرئي بين عنصر القسم والقائمة الفرعية لمنع اختفائها أثناء انتقال الماوس أفقياً إليها */
.section-submenu::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    bottom: -0.5rem;
    right: -1.1rem;
    width: 1.25rem;
    background: transparent;
}

.all-sections-menu:not(.has-js-hover-intent) .section-menu-item:hover .section-submenu,
.section-menu-item.is-active .section-submenu {
    display: block;
}

.section-submenu h5 {
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--brand-600);
    padding-bottom: 0.45rem;
    margin-bottom: 0.45rem;
    border-bottom: 1px solid var(--border-color);
}

.section-submenu ul {
    display: grid;
    gap: 0.3rem;
    max-height: 22rem;
    overflow-y: auto;
}

.section-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.38rem 0.55rem;
    border-radius: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.section-submenu a:hover {
    background: var(--brand-50);
    color: var(--brand-600);
}

/* روابط التنقل السريعة في الهيدر */
.sooq-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.sooq-nav-links::-webkit-scrollbar {
    display: none;
}

.sooq-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    border-radius: 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.sooq-nav-link i {
    font-size: 0.95rem;
    color: #60a5fa;
}

.sooq-nav-link:hover,
.sooq-nav-link.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.sooq-nav-link--highlight {
    background: rgba(11, 99, 229, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
}

/* القائمة الجانبية للجوال (Side Drawer من sooq.in) */
.side-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 17, 31, 0.65);
    backdrop-filter: blur(4px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.side-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(21rem, 88vw);
    background: #141c27;
    color: #ffffff;
    z-index: 310;
    padding: 1.5rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-drawer.is-open {
    transform: translateX(0);
}

.side-drawer__close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.side-drawer__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.side-drawer__header img {
    height: 3.8rem;
    width: auto;
    background: #ffffff;
    padding: 0.35rem;
    border-radius: 1rem;
}

.side-drawer__slogan {
    font-size: 0.78rem;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}

.side-drawer__divider-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #38bdf8;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
    margin: 1rem 0 0.5rem;
}

.side-drawer__divider-title::before,
.side-drawer__divider-title::after {
    content: "";
    height: 1px;
    background: rgba(56, 189, 248, 0.3);
}

.side-drawer__menu {
    display: grid;
    gap: 0.25rem;
}

.side-drawer__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.side-drawer__item i {
    font-size: 1.1rem;
    color: #38bdf8;
}

.side-drawer__item:hover,
.side-drawer__item.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.side-drawer__socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.side-drawer__socials a {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: #ffffff;
}

.side-drawer__socials a:hover {
    background: var(--brand-600);
}

/* ==========================================================================
   3. قسم الهيرو والبانرات (دمج بانر sooq.in المتدرج مع هيرو البرانش الجديد)
   ========================================================================== */
.home-hero-lines {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 1.5rem 0 1.25rem;
}

.home-hero-card-surface {
    position: relative;
    border-radius: var(--radius-2xl);
    background: linear-gradient(-90deg, #dbeafe 0%, #eff6ff 52%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 20px 45px -25px rgba(11, 99, 229, 0.18);
}

.dark .home-hero-card-surface {
    background: linear-gradient(90deg, #112236 0%, #0f1d2a 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.home-hero-main-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .home-hero-main-row {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
        align-items: center;
        gap: clamp(1.5rem, 3.5vw, 3.25rem);
        direction: ltr;
    }
    .home-hero-visual {
        grid-column: 1;
        width: 100%;
    }
    .home-hero-content-side {
        grid-column: 2;
        direction: rtl;
        text-align: right;
    }
}

@media (max-width: 1023px) {
    .home-hero-visual {
        order: 1;
        width: 100%;
    }
    .home-hero-content-side {
        order: 2;
        direction: rtl;
        text-align: center;
    }
    .home-search-intro--reference {
        text-align: center !important;
    }
    .home-search-benefits {
        justify-content: center !important;
    }
}

/* النصوص والبحث السريع في الهيرو (من البرانش الحالي) */
.home-search-intro--reference .home-search-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    color: var(--brand-600);
    background: #ffffff;
    border: 1px solid #bfdbfe;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(11, 99, 229, 0.08);
}

.dark .home-search-intro--reference .home-search-eyebrow {
    background: rgba(11, 99, 229, 0.18);
    border-color: rgba(56, 189, 248, 0.3);
    color: #60a5fa;
}

.home-search-intro--reference > h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.home-search-intro--reference > h2 em {
    color: var(--brand-600);
    font-style: normal;
}

.dark .home-search-intro--reference > h2 em {
    color: #38bdf8;
}

.home-search-intro--reference > p {
    max-width: 34rem;
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.75;
}

/* نموذج البحث السريع في الهيرو (من home-hero-search.blade.php) */
.home-hero-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 36rem;
    margin-top: 1.25rem;
    min-height: 3.85rem;
    padding: 0.38rem;
    border: 1.5px solid var(--border-color);
    border-radius: 1.15rem;
    background: var(--bg-card);
    box-shadow: 0 10px 28px -10px rgba(15, 23, 42, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-hero-search-form:focus-within {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(11, 99, 229, 0.14);
}

.home-hero-query {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.5rem;
    padding-inline: 0.95rem;
}

.home-hero-query i {
    color: var(--brand-600);
    font-size: 1.15rem;
}

.home-hero-query input {
    width: 100%;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.home-hero-query input::placeholder {
    color: var(--text-light);
    font-weight: 500;
}

.home-hero-search-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 5.5rem;
    min-height: 3rem;
    padding-inline: 1rem;
    border-radius: 0.85rem;
    background: var(--brand-600);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: none;
}

.home-hero-search-form button[type="submit"]:hover {
    background: var(--brand-700);
}

.home-search-benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.35rem;
}

.home-search-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 800;
}

.home-search-benefits span i {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 0.55rem;
    background: #ffffff;
    color: var(--brand-600);
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.dark .home-search-benefits span i {
    background: var(--bg-muted);
    color: #38bdf8;
}

/* السلايدر الصوري والمعلومات المتزامنة (من home-hero.blade.php + slider_home_banners.blade.php) */
.home-hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-hero-swiper {
    width: 100%;
    height: 19rem;
    border-radius: 1.35rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.12);
}

.dark .home-hero-swiper {
    background: rgba(15, 29, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
    .home-hero-swiper {
        height: 21.5rem;
    }
}

@media (max-width: 639px) {
    .home-hero-swiper {
        height: 14.5rem;
    }
}

.home-hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.home-hero-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 1rem;
}

.home-hero-banner-meta {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.85rem 1.15rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
    text-align: center;
    direction: rtl;
}

.dark .home-hero-banner-meta {
    background: rgba(15, 29, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

.home-hero-details-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.home-hero-copy {
    text-align: right;
    flex: 1;
    min-width: 14rem;
}

.home-hero-title {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.35;
}

.home-hero-copy p {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.2rem;
}

.home-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.1rem;
    border-radius: 0.8rem;
    background: var(--brand-600);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: none;
}

.home-hero-primary:hover {
    background: var(--brand-700);
    transform: translateY(-1px);
}

.home-hero-pagination.swiper-pagination {
    position: static !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.35rem !important;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--bg-muted);
}

.home-hero-pagination .swiper-pagination-bullet {
    width: 0.45rem;
    height: 0.45rem;
    margin: 0 !important;
    border-radius: 999px;
    background: #94a3b8;
    opacity: 0.6;
    transition: all 0.25s ease;
    cursor: pointer;
}

.home-hero-pagination .swiper-pagination-bullet-active {
    width: 1.4rem;
    background: var(--brand-600) !important;
    opacity: 1;
}

/* مؤشر الماوس المتحرك (من home-hero.blade.php) */
.home-hero-scroll-cue {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.15rem;
}

.home-hero-mouse-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
}

.home-hero-mouse-body {
    position: relative;
    display: block;
    width: 22px;
    height: 34px;
    border-radius: 12px;
    border: 2px solid #94a3b8;
    background: var(--bg-card);
}

.home-hero-mouse-wheel {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 7px;
    border-radius: 3px;
    background: var(--brand-600);
    transform: translateX(-50%);
    animation: heroMouseScrollWheel 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes heroMouseScrollWheel {
    0% { opacity: 0; transform: translate(-50%, 0); }
    25% { opacity: 1; }
    60% { opacity: 1; transform: translate(-50%, 10px); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ==========================================================================
   4. قسم الأقسام (دمج sections_box من القديم مع home-sections من البرانش الحالي)
   ========================================================================== */
.home-sections-showcase {
    width: 100%;
    padding: 2rem 0 2.5rem;
    background: var(--bg-canvas);
}

.home-sections-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.home-sections-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    color: var(--brand-600);
    font-size: 0.76rem;
    font-weight: 800;
}

.home-sections-kicker i {
    display: grid;
    width: 1.6rem;
    height: 1.6rem;
    place-items: center;
    border-radius: 0.5rem;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 0.9rem;
}

.dark .home-sections-kicker i {
    background: var(--bg-muted);
    color: #38bdf8;
}

.home-sections-intro h2 {
    color: var(--text-primary);
    font-size: clamp(1.3rem, 2.3vw, 1.75rem);
    font-weight: 900;
    line-height: 1.35;
}

.home-sections-intro p {
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.home-sections-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    border: 1px solid var(--brand-100);
    background: var(--brand-50);
    padding: 0.6rem 1.05rem;
    color: var(--brand-600);
    font-size: 0.78rem;
    font-weight: 800;
}

.home-sections-link:hover {
    background: var(--brand-600);
    color: #ffffff;
    border-color: var(--brand-600);
    transform: translateY(-1px);
}

.home-sections-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-section-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.22s ease;
    cursor: pointer;
}

.home-section-tile:hover,
.home-section-tile.is-active {
    transform: translateY(-3px);
    border-color: var(--brand-600);
    box-shadow: var(--shadow-brand);
}

.home-section-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 1rem;
    background: var(--brand-50);
    color: var(--brand-600);
    transition: all 0.2s ease;
}

.dark .home-section-media {
    background: var(--bg-muted);
    color: #38bdf8;
}

.home-section-media i {
    font-size: 1.8rem;
    color: inherit;
}

.home-section-tile:hover .home-section-media,
.home-section-tile.is-active .home-section-media {
    background: var(--brand-600);
    color: #ffffff;
}

.home-section-count {
    position: absolute;
    inset-inline-end: -0.35rem;
    bottom: -0.35rem;
    min-width: 1.65rem;
    height: 1.3rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    border: 1.5px solid var(--bg-card);
    color: var(--text-secondary);
    background: var(--bg-muted);
    font-size: 0.64rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.home-section-content {
    width: 100%;
    margin-top: 0.65rem;
}

.home-section-name {
    display: block;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.84rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-section-tile:hover .home-section-name {
    color: var(--brand-600);
}

.home-section-all .home-section-media {
    background: var(--bg-section-alt);
    border: 1px dashed #94a3b8;
    color: var(--text-muted);
}

@media (max-width: 1023px) {
    .home-sections-track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .home-sections-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
    }
    .home-section-tile {
        padding: 0.75rem 0.35rem;
    }
    .home-section-media {
        width: 3.1rem;
        height: 3.1rem;
    }
    .home-section-media i {
        font-size: 1.45rem;
    }
    .home-section-name {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   5. الكروت الموحدة للإعلانات (دمج home-featured-card من البرانش الجديد + مواصفات وقلب المفضلة من sooq.in القديم)
   ========================================================================== */
.home-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.home-section-heading__title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.home-section-heading__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.75rem;
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.dark .home-section-heading__icon {
    background: var(--bg-muted);
    color: #38bdf8;
}

.home-section-heading h2 {
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    font-weight: 900;
    color: var(--text-primary);
}

.home-section-heading h2 span {
    color: var(--brand-600);
}

.dark .home-section-heading h2 span {
    color: #38bdf8;
}

.home-section-heading__controls {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.swiper-nav-btns {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.swiper-nav-btn {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 0.55rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.swiper-nav-btn:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #ffffff;
}

.btn-more-red {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.8rem;
    height: 1.95rem;
    border-radius: 0.55rem !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #0b5ed7 !important;
    font-size: 0.75rem;
    font-weight: 800;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.btn-more-red i {
    font-size: 0.85rem;
    color: #0b5ed7;
    transition: transform 0.2s ease, color 0.2s ease;
}

.btn-more-red:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-more-red:hover i {
    color: #ffffff !important;
    transform: translateX(-3px);
}

html.dark .btn-more-red {
    background: rgba(11, 94, 215, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    color: #38bdf8 !important;
}

html.dark .btn-more-red i {
    color: #38bdf8 !important;
}

html.dark .btn-more-red:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

html.dark .btn-more-red:hover i {
    color: #ffffff !important;
}

/* تصميم الكرت المميز (home-featured-card من البرانش الحالي + إضافات القديم) */
.home-featured-section {
    background: var(--bg-section-alt);
    padding: 2.5rem 0;
}

.home-category-slider-section {
    padding: 2.25rem 0;
    background: var(--bg-canvas);
}

.home-category-slider-section.is-alt {
    background: var(--bg-section-alt);
}

.home-featured-card {
    position: relative;
    display: flex;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-featured-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: var(--shadow-brand);
}

.home-featured-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.42;
    background: var(--bg-muted);
}

.home-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-featured-card:hover .home-featured-media img {
    transform: scale(1.05);
}

.home-featured-mark {
    position: absolute;
    z-index: 2;
    top: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--amber-400);
    color: var(--amber-900);
    font-size: 0.65rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.home-featured-mark--urgent {
    background: var(--sooq-red);
    color: #ffffff;
}

/* زر القلب للمفضلة (من ads/single.blade.php في sooq.in) */
.card-heart-btn {
    position: absolute;
    z-index: 3;
    top: 0.65rem;
    left: 0.65rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    color: #475569;
    display: grid;
    place-items: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.card-heart-btn:hover,
.card-heart-btn.is-favorited {
    background: #fff1f2;
    color: #e11d48;
    transform: scale(1.08);
}

/* شريط القسم المتداخل (من home-featured-listings.blade.php في البرانش الحالي) */
.home-featured-category {
    position: relative;
    z-index: 3;
    display: flex;
    width: calc(100% - 1.4rem);
    height: 2.25rem;
    align-items: center;
    gap: 0.4rem;
    margin: -1.1rem auto 0;
    padding: 0.3rem 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.home-featured-category > i:first-child {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    border-radius: 0.45rem;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 0.85rem;
}

.dark .home-featured-category > i:first-child {
    background: var(--bg-muted);
    color: #38bdf8;
}

.home-featured-category span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-featured-body {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem 0.85rem 0.65rem;
}

.home-featured-body h3 {
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.5rem;
}

/* شارات المواصفات (feature pills من ads/single.blade.php في sooq.in القديم) */
.ad-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.ad-feature-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.2;
    flex: 0 0 auto;
    align-self: flex-start;
}

.home-featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.2rem;
}

.home-featured-meta b {
    color: var(--brand-600);
    font-size: 0.9rem;
    font-weight: 900;
}

.dark .home-featured-meta b {
    color: #38bdf8;
}

.home-featured-meta small {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.3rem;
    padding-block: 2px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.5 !important;
    white-space: nowrap;
}

.home-featured-meta small i {
    color: var(--brand-600);
    font-size: 0.92rem;
    flex-shrink: 0;
}

/* أزرار التواصل المباشر واتساب + اتصال (تصميم UI/UX مدمج وأنيق) */
.home-featured-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: auto;
    padding: 0.55rem 0.85rem 0.75rem;
    border-top: 1px solid #f1f5f9;
}

html.dark .home-featured-actions {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.home-featured-actions a {
    display: inline-flex;
    height: 1.9rem;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border-radius: 0.55rem !important;
    font-size: 0.73rem;
    font-weight: 800;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.home-featured-actions a i {
    font-size: 0.9rem;
}

.home-featured-actions a:hover {
    transform: translateY(-1px);
}

.home-featured-actions .is-whatsapp {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #059669 !important;
}

.home-featured-actions .is-whatsapp:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.home-featured-actions .is-phone {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #0b5ed7 !important;
}

.home-featured-actions .is-phone:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

html.dark .home-featured-actions .is-whatsapp {
    background: rgba(16, 185, 129, 0.14) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

html.dark .home-featured-actions .is-whatsapp:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

html.dark .home-featured-actions .is-phone {
    background: rgba(11, 94, 215, 0.16) !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
    color: #38bdf8 !important;
}

html.dark .home-featured-actions .is-phone:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

.home-featured-pagination.swiper-pagination {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    margin-top: 1.5rem !important;
}

.home-featured-pagination .swiper-pagination-bullet {
    width: 0.45rem;
    height: 0.45rem;
    margin: 0 !important;
    border-radius: 999px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.2s ease;
}

.home-featured-pagination .swiper-pagination-bullet-active {
    width: 1.4rem;
    background: var(--brand-600);
}

/* ==========================================================================
   6. قسم "إعلانات مثبتة ومميزة" بتصميم sooq.in الأصلي (featuredAds.blade.php) مطوّراً
   ========================================================================== */
.pinned-featured-section {
    padding: 2.5rem 0;
    background: var(--bg-canvas);
}

.pinned-featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 1023px) {
    .pinned-featured-layout {
        grid-template-columns: 1fr;
    }
}

.pinned-promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, #1d2c41 0%, #0f172a 60%, #0b63e5 100%);
    color: #ffffff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.45);
}

.pinned-promo-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: var(--amber-400);
    font-size: 0.75rem;
    font-weight: 800;
}

.pinned-promo-banner__img {
    max-width: 13.5rem;
    max-height: 11.5rem;
    object-fit: contain;
    margin: 1rem auto;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.3));
}

.pinned-promo-banner h3 {
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
    color: #ffffff !important;
}

.pinned-promo-banner p {
    font-size: 0.85rem;
    color: #cbd5e1 !important;
    margin-bottom: 1.25rem;
}

.pinned-promo-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.5rem;
    border-radius: 0.9rem;
    background: var(--sooq-red);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 900;
    box-shadow: none !important;
}

.pinned-promo-banner__btn:hover {
    background: var(--sooq-red-hover);
    transform: translateY(-2px);
    box-shadow: none !important;
}

.pinned-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 639px) {
    .pinned-mini-grid {
        grid-template-columns: 1fr;
    }
}

.pinned-mini-card {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.85rem;
    border-radius: 1.15rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: all 0.22s ease;
}

.pinned-mini-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-600);
    box-shadow: var(--shadow-brand);
}

.pinned-mini-card__img {
    width: 5.8rem;
    height: 5.8rem;
    border-radius: 0.85rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-muted);
    position: relative;
}

.pinned-mini-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pinned-mini-card__body {
    flex: 1;
    min-width: 0;
}

.pinned-mini-card__cat {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--brand-600);
    background: var(--brand-50);
    padding: 0.15rem 0.5rem;
    border-radius: 0.45rem;
    margin-bottom: 0.3rem;
}

.dark .pinned-mini-card__cat {
    background: var(--bg-muted);
    color: #38bdf8;
}

.pinned-mini-card__title {
    display: block;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0.35rem;
}

.pinned-mini-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.pinned-mini-card__price {
    font-size: 0.92rem;
    font-weight: 900;
    color: var(--sooq-red);
}

.dark .pinned-mini-card__price {
    color: #fbbf24;
}

.pinned-mini-card__Quick {
    display: inline-flex;
    gap: 0.3rem;
}

.pinned-mini-card__Quick a {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.pinned-mini-card__Quick .is-wa {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
}

.pinned-mini-card__Quick .is-wa:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff !important;
}

.pinned-mini-card__Quick .is-call {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0b5ed7;
}

.pinned-mini-card__Quick .is-call:hover {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #ffffff !important;
}

html.dark .pinned-mini-card__Quick .is-wa {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

html.dark .pinned-mini-card__Quick .is-call {
    background: rgba(11, 94, 215, 0.16);
    border-color: rgba(56, 189, 248, 0.28);
    color: #38bdf8;
}

/* ==========================================================================
   7. بانر العروض الموسمية (offer-footer.blade.php من sooq.in القديم بتصميم مطوّر)
   ========================================================================== */
.offer-footer-banner {
    padding: 1.25rem 0;
}

.offer-footer-box {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(-90deg, #accbee 0%, #e7f0fd 100%);
    border: 1px solid #bfdbfe;
    padding: 2rem 2.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.dark .offer-footer-box {
    background: linear-gradient(-90deg, #1b273a 0%, #1f2632 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.offer-footer-box__content {
    max-width: 38rem;
    flex: 1;
}

.offer-footer-box__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(11, 99, 229, 0.12);
    color: var(--brand-600);
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.dark .offer-footer-box__tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.offer-footer-box__content h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.offer-footer-box__content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.offer-footer-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border-radius: 0.8rem;
    background: var(--brand-600);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
}

.offer-footer-box__img {
    max-width: 24rem;
    max-height: 16rem;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 18px rgba(11, 94, 215, 0.12));
}

@media (max-width: 991px) {
    .offer-footer-box {
        padding: 1.75rem 1.5rem;
        gap: 1.5rem;
    }
    .offer-footer-box__img {
        max-width: 18rem;
        max-height: 13rem;
    }
}

@media (max-width: 767px) {
    .offer-footer-box {
        flex-direction: column-reverse;
        text-align: center;
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
    }
    .offer-footer-box__img {
        max-width: 16rem;
        max-height: 11rem;
    }
}

/* ==========================================================================
   8. الدليل التجاري (home-commercial-ads.blade.php من البرانش الحالي)
   ========================================================================== */
.home-directory-compact {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--bg-canvas);
}

.home-directory-compact__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.home-directory-compact__kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.home-directory-compact__kicker > span {
    width: 28px;
    height: 2px;
    background: var(--brand-600);
}

.home-directory-compact__header h2 {
    margin: 0.45rem 0 0.25rem;
    color: var(--text-primary);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 900;
}

.home-directory-compact__header h2 em {
    color: var(--brand-600);
    font-style: normal;
}

.home-directory-compact__header p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.home-directory-compact__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-directory-mini {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    min-height: 5.5rem;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 1.15rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: all 0.22s ease;
}

.home-directory-mini:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: var(--shadow-brand);
}

.home-directory-mini__image {
    position: relative;
    display: grid;
    width: 3.6rem;
    height: 3.6rem;
    place-items: center;
    padding: 3px;
    border-radius: 1rem;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 1.5rem;
}

.home-directory-mini__image img {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 0.85rem;
    background: #ffffff;
    object-fit: cover;
}

.home-directory-mini__image > b {
    position: absolute;
    top: -5px;
    left: -5px;
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    background: var(--amber-400);
    color: var(--amber-900);
    font-size: 0.55rem;
}

.home-directory-mini__body {
    min-width: 0;
}

.home-directory-mini__body strong {
    display: block;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.84rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-directory-mini__body small {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.66rem;
}

.home-directory-mini__body small i {
    color: var(--brand-600);
}

.home-directory-mini__meta {
    min-width: 3.2rem;
    padding: 0.45rem 0.35rem;
    border-radius: 0.7rem;
    background: var(--bg-muted);
    text-align: center;
}

.home-directory-mini__meta b {
    display: block;
    color: var(--brand-600);
    font-size: 0.9rem;
}

.home-directory-mini__meta small {
    display: block;
    color: var(--text-muted);
    font-size: 0.58rem;
    font-weight: 700;
}

@media (max-width: 1023px) {
    .home-directory-compact__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .home-directory-compact__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   9. الإعلانات المبوبة المميزة (home-agents.blade.php من البرانش الحالي)
   ========================================================================== */
.home-agents {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--bg-section-alt);
}

.home-agents__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-agent-card {
    position: relative;
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.9rem;
    min-height: 8.8rem;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 1.35rem;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: all 0.22s ease;
}

.home-agent-card:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-brand);
    transform: translateY(-2px);
}

.home-agent-card__avatar {
    position: relative;
    width: 7rem;
    height: 100%;
    min-height: 7.2rem;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--bg-muted);
}

.home-agent-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-agent-card__avatar > i {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--amber-400);
    color: var(--amber-900);
    font-size: 0.55rem;
}

.home-agent-card__avatar > em {
    position: absolute;
    right: 0.45rem;
    bottom: 0.45rem;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    font-size: 0.55rem;
    font-style: normal;
    font-weight: 900;
}

.home-agent-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.home-agent-card__taxonomy {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.4rem;
    padding: 0.25rem 0.55rem;
    border-radius: 0.55rem;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 0.64rem;
    font-weight: 800;
}

.dark .home-agent-card__taxonomy {
    background: var(--bg-muted);
    color: #38bdf8;
}

.home-agent-card__body strong {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.home-agent-card__excerpt {
    overflow: hidden;
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-agent-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    margin-top: 0.55rem;
}

.home-agent-card__facts small {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.64rem;
    font-weight: 700;
}

.home-agent-card__facts i {
    color: var(--brand-600);
}

.home-agent-card__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding-right: 0.75rem;
    border-right: 1px solid #f1f5f9;
}

html.dark .home-agent-card__actions {
    border-right-color: rgba(255, 255, 255, 0.06);
}

.home-agent-card__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 4.65rem;
    height: 1.95rem;
    border-radius: 0.55rem !important;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1 !important;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.home-agent-card__actions a i {
    font-size: 0.88rem;
}

.home-agent-card__actions a:hover {
    transform: translateY(-1px);
}

.home-agent-card__actions .is-whatsapp {
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #059669 !important;
}

.home-agent-card__actions .is-whatsapp:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.home-agent-card__actions .is-phone {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #0b5ed7 !important;
}

.home-agent-card__actions .is-phone:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

html.dark .home-agent-card__actions .is-whatsapp {
    background: rgba(16, 185, 129, 0.14) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

html.dark .home-agent-card__actions .is-whatsapp:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

html.dark .home-agent-card__actions .is-phone {
    background: rgba(11, 94, 215, 0.16) !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
    color: #38bdf8 !important;
}

html.dark .home-agent-card__actions .is-phone:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .home-agents__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .home-agent-card {
        grid-template-columns: 5.2rem minmax(0, 1fr) auto;
        padding: 0.65rem;
    }
    .home-agent-card__avatar {
        width: 5.2rem;
        min-height: 5.8rem;
    }
    .home-agent-card__actions {
        padding-right: 0.5rem;
    }
    .home-agent-card__actions a {
        width: 2.15rem;
        height: 1.95rem;
    }
    .home-agent-card__actions small {
        display: none;
    }
}

/* ==========================================================================
   10. قسم "جديد الإعلانات" مع الفلاتر ومبدّل العرض (lastAds.blade.php من sooq.in)
   ========================================================================== */
.last-ads-section {
    padding: 2.75rem 0;
    background: var(--bg-canvas);
}

.last-ads-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab-btn {
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.filter-tab-btn:hover,
.filter-tab-btn.is-active {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #ffffff;
}

.view-switcher {
    display: inline-flex;
    border: 1px solid var(--border-color);
    border-radius: 0.7rem;
    overflow: hidden;
    background: var(--bg-card);
}

.view-switcher button {
    width: 2.2rem;
    height: 2.15rem;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.view-switcher button.is-active {
    background: var(--brand-50);
    color: var(--brand-600);
}

.last-ads-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.last-ads-grid.is-list-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem;
}

.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;
    overflow: hidden;
    min-height: 10.25rem;
    align-items: stretch;
    border-radius: 1.15rem;
}

.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;
    aspect-ratio: auto !important;
    border-radius: 0.85rem !important;
    border: 1px solid #f1f5f9 !important;
    position: relative;
    overflow: hidden;
}

.last-ads-grid.is-list-view .home-featured-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease;
}

.last-ads-grid.is-list-view .home-featured-card:hover .home-featured-media img {
    transform: scale(1.05);
}

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

.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;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 0.38rem !important;
    padding: 0.42rem 0.95rem 0.45rem !important;
    min-width: 0 !important;
}

.last-ads-grid.is-list-view .home-featured-body a h3 {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
    min-height: 0 !important;
    margin-bottom: 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 .ad-feature-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.3rem !important;
    align-items: center !important;
    margin: 0.1rem 0 !important;
}

.last-ads-grid.is-list-view .ad-feature-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 1.42rem !important;
    padding: 0 0.55rem !important;
    font-size: 0.67rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border-radius: 999px !important;
    background: var(--bg-muted) !important;
    color: var(--text-secondary) !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
}

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

.last-ads-grid.is-list-view .home-featured-meta b {
    font-size: 1rem !important;
    color: #0b5ed7 !important;
    font-weight: 900 !important;
}

.last-ads-grid.is-list-view .home-featured-meta small {
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
}

.last-ads-grid.is-list-view .home-featured-actions:not(.is-icon-only) {
    grid-column: 2 / 3 !important;
    grid-row: 3 / 4 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    padding: 0.5rem 0.95rem 0.75rem !important;
    margin-top: 0 !important;
    width: 100% !important;
}

.last-ads-grid.is-list-view .home-featured-actions:not(.is-icon-only) a {
    height: 1.9rem !important;
    border-radius: 0.55rem !important;
    font-size: 0.73rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    box-shadow: none !important;
}

@media (max-width: 1023px) {
    .last-ads-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .last-ads-grid.is-list-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .last-ads-grid {
        grid-template-columns: 1fr;
    }
    .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 .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-actions:not(.is-icon-only) {
        padding: 0 0.75rem 0.65rem !important;
    }
}

@media (max-width: 440px) {
    .last-ads-grid.is-list-view .home-featured-card {
        grid-template-columns: 7.5rem minmax(0, 1fr) !important;
    }
    .last-ads-grid.is-list-view .home-featured-body a h3 {
        font-size: 0.82rem !important;
    }
    .last-ads-grid.is-list-view .ad-feature-pill {
        font-size: 0.64rem !important;
        height: 1.35rem !important;
        padding: 0 0.45rem !important;
    }
}

.last-ads-more-wrap {
    margin-top: 2rem;
    text-align: center;
}

.last-ads-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 0.95rem;
    background: var(--sooq-red);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
    box-shadow: none !important;
}

.last-ads-more-btn:hover {
    background: var(--sooq-red-hover);
    transform: translateY(-2px);
    box-shadow: none !important;
}

/* ==========================================================================
   11. نصائح الإعلان المثالي (home-ad-tips.blade.php من البرانش الحالي)
   ========================================================================== */
.ad-tips {
    padding: clamp(2.75rem, 5vw, 4.5rem) 0;
    background: var(--bg-section-alt);
    overflow: hidden;
}

.ad-tips__header {
    max-width: 50rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.ad-tips__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 0.75rem;
    font-weight: 800;
}

.ad-tips__kicker > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-600);
}

.ad-tips__header h2 {
    margin: 0.65rem 0 0.45rem;
    color: var(--text-primary);
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 900;
}

.ad-tips__header h2 span {
    color: var(--brand-600);
}

.ad-tips__header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.ad-tips__shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.ad-tips__shell > img {
    width: 100%;
    max-height: 28rem;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.08));
}

.ad-tips__list {
    display: grid;
    gap: 0.65rem;
}

.ad-tips article {
    display: grid;
    grid-template-columns: 3.1rem 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 1.1rem;
    background: var(--bg-card);
    transition: all 0.22s ease;
    cursor: pointer;
}

.ad-tips article > i {
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    place-items: center;
    border-radius: 0.8rem;
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all 0.22s ease;
}

.ad-tips article h3 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.ad-tips article p {
    display: none;
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.ad-tips article:hover,
.ad-tips article.is-active {
    border-color: #93c5fd;
    background: var(--brand-50);
    transform: translateX(-3px);
}

.dark .ad-tips article:hover,
.dark .ad-tips article.is-active {
    background: var(--bg-muted);
    border-color: #38bdf8;
}

.ad-tips article:hover > i,
.ad-tips article.is-active > i {
    background: var(--brand-600);
    color: #ffffff;
}

.ad-tips article:hover p,
.ad-tips article.is-active p {
    display: block;
}

.ad-tips__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    width: fit-content;
    gap: 0.5rem;
    margin-top: 1.15rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.8rem;
    background: #ffb800;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: none !important;
}

@media (max-width: 900px) {
    .ad-tips__shell {
        grid-template-columns: 1fr;
    }
    .ad-tips__shell > img {
        max-height: 19rem;
    }
}

/* ==========================================================================
   12. شريط انشر إعلانك مجاناً + تحميل التطبيق (من البرانش الحالي + القديم)
   ========================================================================== */
.publish-cta-sec {
    padding: 2rem 0;
    background: var(--bg-canvas);
}

.publish-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    border-radius: 1.5rem;
    background: linear-gradient(90deg, #0747a6 0%, #0b63e5 100%);
    padding: 1.65rem 2rem;
    color: #ffffff;
    box-shadow: 0 18px 40px -15px rgba(11, 99, 229, 0.38);
    flex-wrap: wrap;
}

.publish-cta-box h2 {
    font-size: 1.3rem;
    font-weight: 900;
}

.publish-cta-box p {
    font-size: 0.85rem;
    color: #dbeafe;
    margin-top: 0.25rem;
}

.publish-cta-box a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.4rem;
    border-radius: 0.9rem;
    background: var(--amber-400);
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 900;
    box-shadow: none !important;
}

.publish-cta-box a:hover {
    background: #fcd34d;
    transform: translateY(-2px);
}

/* قسم تحميل التطبيق (apps_download) */
.apps-download-section {
    padding: 2.25rem 0;
    background: var(--bg-section-alt);
}

.apps-download-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.25rem;
    border-radius: 1.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.apps-download-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 0.78rem;
    font-weight: 800;
}

.apps-download-card h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin: 0.8rem 0 0.6rem;
}

.apps-download-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 36rem;
}

.apps-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.apps-feature-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.65rem;
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 800;
}

.apps-store-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.store-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 900;
}

.store-btn-pill.is-dark {
    background: #0f172a;
    color: #ffffff;
}

.dark .store-btn-pill.is-dark {
    background: var(--brand-600);
}

.store-btn-pill.is-light {
    background: var(--bg-muted);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.apps-phone-preview img {
    max-height: 18rem;
    margin-inline: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgba(31, 122, 255, 0.16));
}

@media (max-width: 900px) {
    .apps-download-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }
    .apps-feature-pills,
    .apps-store-btns {
        justify-content: center;
    }
}

/* ==========================================================================
   13. الفوتر الشامل + وسائل الدفع + زر واتساب العائم + شريط الجوال السفلي
   ========================================================================== */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 3rem;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.25fr;
    gap: clamp(2rem, 3.5vw, 3.5rem);
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-logo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.15rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.35rem;
    box-shadow: var(--shadow-sm);
}

.footer-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-primary);
    display: block;
}

.footer-brand-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.footer-desc {
    margin-top: 0.9rem;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

.footer-socials a {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--bg-muted);
    color: var(--text-secondary);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
}

.footer-socials a:hover {
    background: var(--brand-600);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.98rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--brand-600);
    transform: translateX(-3px);
}

.footer-newsletter-form {
    position: relative;
    margin-top: 0.85rem;
}

.footer-newsletter-form input {
    width: 100%;
    height: 3.1rem;
    border-radius: 999px;
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    padding: 0 1.15rem 0 3.4rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.footer-newsletter-form button {
    position: absolute;
    left: 0.3rem;
    top: 0.3rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--brand-600);
    color: #ffffff;
    display: grid;
    place-items: center;
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 2.35rem;
    padding-inline: 0.65rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-secondary);
}

.payment-badge img {
    height: 1.1rem;
    width: auto;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-trust-badges {
    display: flex;
    gap: 0.6rem;
}

.footer-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--bg-muted);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 800;
}

.footer-trust-badges i {
    color: var(--emerald-500);
}

/* زر التواصل السريع العائم (من partials/footer.blade.php في sooq.in) */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 5.2rem;
    left: 1.25rem;
    z-index: 130;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.38);
}

.floating-whatsapp-btn:hover {
    transform: translateY(-3px);
}

/* شريط التنقل السفلي للجوال (bottom_navigation.blade.php من sooq.in مطوّر) */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0.6rem;
    inset-inline: 0.75rem;
    height: 4rem;
    background: rgba(24, 29, 37, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.35rem;
    z-index: 135;
    display: none;
    align-items: center;
    justify-content: space-around;
    padding-inline: 0.5rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: #94a3b8;
    font-size: 0.66rem;
    font-weight: 800;
}

.mobile-bottom-nav a i {
    font-size: 1.2rem;
}

.mobile-bottom-nav a.is-active {
    color: var(--amber-400);
}

.mobile-bottom-nav a.is-center-add {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sooq-red), #e11d48);
    color: #ffffff;
    transform: translateY(-1.1rem);
    box-shadow: none !important;
    border: 3px solid #181d25;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex;
    }
    .sooq-header__main {
        flex-wrap: wrap;
    }
    .sooq-header__search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .all-sections-dropdown {
        display: none;
    }
}

@media (max-width: 639px) {
    .sooq-topbar__left {
        display: none;
    }
    .header-login-btn span,
    .header-add-btn span {
        display: none;
    }
    .header-add-btn,
    .header-login-btn {
        padding-inline: 0.7rem;
    }
}


/* ==========================================================================
   EXPLICIT PALETTE RULES (As per user specification)
   - Primary Blue: #0b5ed7
   - Accent Yellow: #fbb11f
   - Backgrounds: #f6f9ff & White / Soft blue gradient
   - Text: #111827 Near-black navy
   ========================================================================== */

/* 1. Page Background & Text */
body {
    background-color: #f6f9ff !important;
    color: #111827 !important;
}

.home-page-canvas h1,
.home-page-canvas h2,
.home-page-canvas h3,
.home-page-canvas h4,
.home-page-canvas h5,
.home-page-canvas h6 {
    color: #111827;
}

/* 2. Hero Background (Soft blue-to-white gradient instead of solid yellow) & Accent Words */
.home-hero-card-surface {
    background: linear-gradient(135deg, #eef4ff 0%, #f6f9ff 55%, #ffffff 100%) !important;
    border: 1px solid #dbeafe !important;
    box-shadow: 0 20px 45px -25px rgba(11, 94, 215, 0.15) !important;
}

.home-search-intro h2,
.home-hero-title {
    color: #111827 !important;
}

.home-search-intro h2 em,
.home-hero-title em,
.home-hero-copy em,
.home-directory-compact__header h2 em,
.home-section-heading h2 span {
    color: #0b5ed7 !important;
    font-style: normal !important;
}

/* 3. Blue (#0b5ed7) Primary Color Usage */
/* Main Buttons */
.home-hero-search-form button[type="submit"],
.header-search-form__btn,
.home-hero-primary,
.last-ads-more-btn,
.pinned-promo-banner__btn,
.offer-footer-box__btn {
    background: #0b5ed7 !important;
    color: #ffffff !important;
    border-color: #0b5ed7 !important;
}

.home-hero-search-form button[type="submit"]:hover,
.header-search-form__btn:hover,
.home-hero-primary:hover,
.last-ads-more-btn:hover,
.pinned-promo-banner__btn:hover,
.offer-footer-box__btn:hover {
    background: #094cb0 !important;
    border-color: #094cb0 !important;
}

/* Category Icons */
.home-section-media {
    background: #eff6ff !important;
    color: #0b5ed7 !important;
}

.home-section-media i {
    color: #0b5ed7 !important;
}

.section-menu-link > span i,
.home-section-heading__icon,
.home-featured-category > i:first-child {
    background: #eff6ff !important;
    color: #0b5ed7 !important;
}

.home-section-tile:hover .home-section-media,
.home-section-tile.is-active .home-section-media {
    background: #0b5ed7 !important;
    color: #ffffff !important;
}

.home-section-tile:hover .home-section-media i,
.home-section-tile.is-active .home-section-media i {
    color: #ffffff !important;
}

/* Logo Mark */
.sooq-brand__mark {
    border: 2px solid #0b5ed7;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.15);
}

.footer-brand-logo {
    border: 2px solid #0b5ed7 !important;
}

/* Focus Rings - بدون إطار داخلي مزعج للحقول */
input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* إزالة أي إطار أو ظل داخلي من حقول البحث المدمجة لتبقى كقطعة واحدة متكاملة */
.header-search-form__input,
.header-search-form__input:focus,
.header-search-form__input:focus-visible,
.search-select-trigger:focus,
.search-select-trigger:focus-visible,
.home-hero-query input,
.home-hero-query input:focus,
.home-hero-query input:focus-visible,
[data-search-query-form] input:focus,
#sections-search-form input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 4. Yellow (#fbb11f) Accent Color Usage */
/* Post-Ad Button in Header */
.header-add-btn {
    background: #fbb11f !important;
    color: #111827 !important;
    border: none !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

.header-add-btn:hover {
    background: #e59e14 !important;
    color: #111827 !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

/* Mobile Tab Bar Post-Ad & Active States */
.mobile-bottom-nav a.is-center-add {
    background: #fbb11f !important;
    color: #111827 !important;
    border: 3px solid #181d25 !important;
    box-shadow: none !important;
}

.mobile-bottom-nav a.is-active {
    color: #fbb11f !important;
}

/* Newsletter Button in Footer */
.footer-newsletter-form button {
    background: #fbb11f !important;
    color: #111827 !important;
}

.footer-newsletter-form button:hover {
    background: #e59e14 !important;
}

/* Featured Badge & Border on Ad Cards */
.home-featured-mark {
    background: #fbb11f !important;
    color: #111827 !important;
    font-weight: 900 !important;
}

.home-featured-card:hover {
    border-color: #fbb11f !important;
    box-shadow: 0 12px 28px -10px rgba(251, 177, 31, 0.3) !important;
}

/* Dark Footer & App Section Hover Effects */
.site-footer a:hover {
    color: #fbb11f !important;
}

.site-footer .footer-socials a:hover {
    background: #fbb11f !important;
    color: #111827 !important;
}

.apps-download-section a:hover {
    color: #fbb11f !important;
}

.store-btn-pill:hover {
    border-color: #fbb11f !important;
    color: #fbb11f !important;
}


/* ==========================================================================
   HEADER PALETTE UPDATE (Light & Cohesive Modern UI)
   ========================================================================== */

/* Topbar */
.sooq-topbar {
    background: #f0f5ff !important;
    color: #374151 !important;
    border-bottom: 1px solid #e0ebff !important;
}

.sooq-topbar__badge {
    background: #fbb11f !important;
    color: #111827 !important;
}

.sooq-topbar__link {
    color: #4b5563 !important;
}

.sooq-topbar__link i {
    color: #0b5ed7 !important;
}

.sooq-topbar__link:hover {
    color: #0b5ed7 !important;
}

.sooq-topbar__divider {
    background: #cbd5e1 !important;
}

/* Main Header */
.sooq-header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #e5edff !important;
    box-shadow: 0 4px 20px -5px rgba(11, 94, 215, 0.08) !important;
    color: #111827 !important;
}

.sooq-brand__title {
    color: #111827 !important;
}

.sooq-brand__slogan {
    color: #6b7280 !important;
}

.drawer-toggler {
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: #0b5ed7 !important;
}

.drawer-toggler:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

/* Header Search Form */
.header-search-form {
    background: #f6f9ff !important;
    border: 1.5px solid #dbeafe !important;
    color: #111827 !important;
}

.header-search-form:focus-within {
    background: #ffffff !important;
    border-color: #0b5ed7 !important;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.2) !important;
}

.header-search-form__select {
    border-left: 1px solid #dbeafe !important;
    color: #374151 !important;
}

.header-search-form__select select {
    color: #111827 !important;
    background: transparent !important;
}

.header-search-form__select i {
    color: #0b5ed7 !important;
}

.header-search-form__input {
    color: #111827 !important;
}

.header-search-form__input::placeholder {
    color: #9ca3af !important;
}

/* Header Action Icons */
.header-icon-pill {
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: #374151 !important;
}

.header-icon-pill:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

.header-icon-pill__badge {
    background: #0b5ed7 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
}

.header-icon-pill:hover .header-icon-pill__badge {
    background: #fbb11f !important;
    color: #111827 !important;
    border-color: #ffffff !important;
}

html.dark .header-icon-pill__badge {
    border-color: #172d42 !important;
}

html.dark .header-icon-pill:hover .header-icon-pill__badge {
    border-color: #172d42 !important;
}

.header-login-btn {
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: #0b5ed7 !important;
}

.header-login-btn:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

/* Header Navigation Bar */
.sooq-header__nav-bar {
    background: #ffffff !important;
    border-top: 1px solid #f0f5ff !important;
    border-bottom: 1px solid #e5edff !important;
}

.all-sections-trigger {
    background: #0b5ed7 !important;
    color: #ffffff !important;
    border-radius: 0.75rem 0.75rem 0 0;
}

.sooq-nav-link {
    color: #374151 !important;
}

.sooq-nav-link i {
    color: #0b5ed7 !important;
}

.sooq-nav-link:hover {
    background: #eff6ff !important;
    color: #0b5ed7 !important;
}

.sooq-nav-link.is-active {
    background: #eff6ff !important;
    color: #0b5ed7 !important;
    font-weight: 800 !important;
}

.sooq-nav-link--highlight {
    background: #fef3c7 !important;
    border: 1px solid #fde68a !important;
    color: #92400e !important;
}

/* Dark Mode Overrides for Header */
html.dark .sooq-topbar {
    background: #0d1726 !important;
    color: #cbd5e1 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .sooq-header {
    background: rgba(15, 29, 42, 0.98) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

html.dark .sooq-brand__title {
    color: #ffffff !important;
}

html.dark .sooq-brand__slogan {
    color: #94a3b8 !important;
}

html.dark .drawer-toggler {
    background: #172d42 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important;
}

html.dark .header-search-form {
    background: #172d42 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

html.dark .header-search-form__select select,
html.dark .header-search-form__input {
    color: #f8fafc !important;
}

html.dark .header-icon-pill,
html.dark .header-login-btn {
    background: #172d42 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
}

html.dark .sooq-header__nav-bar {
    background: #0f1d2a !important;
    border-top-color: rgba(255, 255, 255, 0.05) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .sooq-nav-link {
    color: #cbd5e1 !important;
}

html.dark .sooq-nav-link:hover,
html.dark .sooq-nav-link.is-active {
    background: #172d42 !important;
    color: #38bdf8 !important;
}


/* ==========================================================================
   MOBILE & RESPONSIVE COMPREHENSIVE FIXES (320px - 768px - 1024px)
   ========================================================================== */

/* Prevent ANY horizontal page scrolling on mobile */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

/* Side Drawer fix: absolutely hidden when closed to prevent horizontal overflow */
.side-drawer {
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(110%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s !important;
}

.side-drawer.is-open {
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
}

/* Mobile Topbar Compact */
@media (max-width: 639px) {
    .sooq-topbar {
        display: none !important; /* Hide long topbar on phones to keep screen clean */
    }
}

/* Mobile Header Layout (320px - 768px) */
@media (max-width: 768px) {
    .sooq-header__main {
        padding: 0.6rem 0 !important;
        gap: 0.6rem !important;
    }

    .sooq-brand__mark {
        width: 2.5rem !important;
        height: 2.5rem !important;
        border-radius: 0.75rem !important;
    }

    .sooq-brand__title {
        font-size: 1.05rem !important;
    }

    .sooq-brand__slogan {
        display: none !important; /* Hide small slogan on mobile */
    }

    .drawer-toggler {
        width: 2.35rem !important;
        height: 2.35rem !important;
        border-radius: 0.7rem !important;
        font-size: 1.15rem !important;
    }

    /* Actions on mobile: keep it minimal to prevent 1st row overflow */
    .sooq-header__actions {
        gap: 0.35rem !important;
    }

    #themeToggleBtn,
    .header-login-btn {
        display: none !important; /* Available in side drawer & bottom nav */
    }

    .header-icon-pill {
        width: 2.25rem !important;
        height: 2.25rem !important;
        font-size: 1rem !important;
    }

    .header-add-btn {
        height: 2.35rem !important;
        padding-inline: 0.85rem !important;
        font-size: 0.78rem !important;
    }

    .header-add-btn span {
        display: inline !important; /* Keep text visible since login & theme are hidden */
    }

    /* Search bar row on mobile */
    .sooq-header__search {
        order: 3 !important;
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0.2rem !important;
    }

    .header-search-form {
        height: 2.65rem !important;
    }

    .header-search-form__select {
        padding-inline: 0.2rem !important;
        max-width: none !important;
    }

    .search-select-trigger {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.72rem !important;
        gap: 0.25rem !important;
    }

    .search-select-current {
        max-width: 5.5rem !important;
    }

    .header-search-form__input {
        font-size: 0.78rem !important;
        padding-inline: 0.5rem !important;
    }

    .header-search-form__btn {
        height: 2.15rem !important;
        padding-inline: 0.85rem !important;
        font-size: 0.76rem !important;
    }

    /* Header Nav Bar Links Horizontal Scroll */
    .sooq-header__nav-bar {
        border-top: 1px solid #f0f5ff !important;
    }

    .sooq-header__nav-inner {
        min-height: 2.45rem !important;
    }

    .all-sections-dropdown {
        display: none !important;
    }

    .sooq-nav-links {
        padding: 0.25rem 0 !important;
        gap: 0.2rem !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .sooq-nav-link {
        padding: 0.3rem 0.65rem !important;
        font-size: 0.74rem !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 400px) {
    .header-add-btn span {
        display: none !important; /* Just icon on very narrow < 400px screens */
    }
    .header-add-btn {
        width: 2.25rem !important;
        padding: 0 !important;
        justify-content: center !important;
    }
}

/* Hero Section Mobile Responsiveness */
@media (max-width: 768px) {
    .home-hero-lines {
        padding: 0.75rem 0 0.5rem !important;
    }

    .home-hero-card-surface {
        padding: 1rem 0.85rem !important;
        border-radius: 1.25rem !important;
    }

    .home-hero-main-row {
        gap: 1.25rem !important;
    }

    .home-search-intro--reference h2 {
        font-size: 1.35rem !important;
        line-height: 1.35 !important;
    }

    .home-search-intro--reference p {
        font-size: 0.78rem !important;
        line-height: 1.6 !important;
    }

    .home-hero-search-form {
        margin-top: 0.85rem !important;
        min-height: 3.1rem !important;
        padding: 0.25rem !important;
        border-radius: 0.95rem !important;
    }

    .home-hero-query {
        padding-inline: 0.55rem !important;
    }

    .home-hero-query i {
        font-size: 1rem !important;
    }

    .home-hero-query input {
        font-size: 0.8rem !important;
    }

    .home-hero-search-form button[type="submit"] {
        min-width: 4.8rem !important;
        min-height: 2.6rem !important;
        font-size: 0.78rem !important;
        padding-inline: 0.75rem !important;
    }

    .home-search-benefits {
        gap: 0.35rem !important;
        margin-top: 0.85rem !important;
    }

    .home-search-benefits span {
        font-size: 0.68rem !important;
        padding: 0.25rem 0.45rem !important;
    }

    .home-hero-swiper {
        border-radius: 0.95rem !important;
    }

    .home-hero-banner-meta {
        padding: 0.75rem 0.85rem !important;
        border-radius: 0.95rem !important;
    }

    .home-hero-title {
        font-size: 0.9rem !important;
    }

    .home-hero-copy p {
        font-size: 0.74rem !important;
        line-height: 1.45 !important;
    }

    .home-hero-primary {
        height: 2.2rem !important;
        padding: 0 0.85rem !important;
        font-size: 0.72rem !important;
    }
}

/* Sections Grid Mobile (3 Columns on phones) */
@media (max-width: 639px) {
    .home-sections-showcase {
        padding: 1.5rem 0 !important;
    }

    .home-sections-intro {
        margin-bottom: 1rem !important;
    }

    .home-sections-intro h2 {
        font-size: 1.15rem !important;
    }

    .home-sections-intro p {
        font-size: 0.75rem !important;
    }

    .home-sections-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }

    .home-section-tile {
        padding: 0.65rem 0.25rem !important;
        border-radius: 0.9rem !important;
    }

    .home-section-media {
        width: 2.85rem !important;
        height: 2.85rem !important;
        border-radius: 0.75rem !important;
    }

    .home-section-media i {
        font-size: 1.35rem !important;
    }

    .home-section-name {
        font-size: 0.72rem !important;
    }
}

/* Card Actions & Floating Whatsapp Adjustments */
@media (max-width: 768px) {
    .home-featured-actions {
        padding: 0.45rem 0.65rem 0.65rem !important;
        gap: 0.35rem !important;
    }

    .home-featured-actions a {
        height: 1.85rem !important;
        font-size: 0.7rem !important;
        border-radius: 0.5rem !important;
    }

    .btn-more-red {
        height: 1.85rem !important;
        padding: 0 0.7rem !important;
        font-size: 0.72rem !important;
        border-radius: 0.5rem !important;
    }

    .floating-whatsapp-btn {
        bottom: 4.8rem !important;
        left: 0.85rem !important;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.72rem !important;
        z-index: 120 !important;
    }

    .site-footer {
        padding-bottom: 3.5rem !important;
    }
}


/* ==========================================================================
   FOOTER CONTACTS (دمج معلومات التواصل بشكل بسيط ومباشر داخل الفوتر)
   ========================================================================== */
.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.footer-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.75rem;
    background: #f0f5ff;
    border: 1px solid #dbeafe;
    color: #0b5ed7 !important;
    font-size: 0.82rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.footer-contacts a i {
    font-size: 0.95rem;
    color: #0b5ed7;
}

.footer-contacts a:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.footer-contacts a:hover i {
    color: #ffffff !important;
}

html.dark .footer-contacts a {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #38bdf8 !important;
}

html.dark .footer-contacts a i {
    color: #38bdf8;
}

html.dark .footer-contacts a:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

html.dark .footer-contacts a:hover i {
    color: #ffffff !important;
}

/* ==========================================================================
   إزالة أي shadow من جميع الأزرار في الموقع
   ========================================================================== */
button,
a.btn,
.ad-tips__action,
.header-add-btn,
.header-login-btn,
.home-hero-primary,
.home-hero-search-form button,
.header-search-form__btn,
.btn-more-red,
.last-ads-more-btn,
.pinned-promo-banner__btn,
.offer-footer-box__btn,
.bottom-nav-add-btn,
.mobile-bottom-nav a.is-center-add,
.publish-cta-box a,
.filter-tab-btn,
.card-heart-btn,
.home-featured-contact-link,
[class*="-btn"],
[class*="__btn"] {
    box-shadow: none !important;
}

button:hover,
a.btn:hover,
.ad-tips__action:hover,
.header-add-btn:hover,
.header-login-btn:hover,
.home-hero-primary:hover,
.home-hero-search-form button:hover,
.header-search-form__btn:hover,
.btn-more-red:hover,
.last-ads-more-btn:hover,
.pinned-promo-banner__btn:hover,
.offer-footer-box__btn:hover,
.bottom-nav-add-btn:hover,
.mobile-bottom-nav a.is-center-add:hover,
.publish-cta-box a:hover,
.filter-tab-btn:hover,
.card-heart-btn:hover,
.home-featured-contact-link:hover,
[class*="-btn"]:hover,
[class*="__btn"]:hover {
    box-shadow: none !important;
}

/* ==========================================================================
   ضبط المحاذاة الرأسية والأفقية (Geometric Centering) بين النصوص والأيقونات
   في الصفحة الرئيسية بالكامل (توافق بصري دقيق مع خط Tajawal وأيقونات RemixIcon)
   ========================================================================== */

/* 1. توحيد سلوك جميع الأيقونات لتكون في المنتصف الهندسي تماماً */
i[class^="ri-"],
i[class*=" ri-"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    flex-shrink: 0;
}

i[class^="ri-"]::before,
i[class*=" ri-"]::before {
    display: block !important;
    line-height: 1 !important;
}

/* 2. ضبط جميع الأزرار والروابط والبادجات والتاجات التي تجمع نصاً وأيقونة */
.header-add-btn,
.header-login-btn,
.header-search-form__btn,
.search-select-trigger,
.search-select-option,
.all-sections-trigger,
.section-menu-link > span,
.sooq-nav-link,
.side-drawer__item,
.home-search-eyebrow,
.home-hero-search-form button[type="submit"],
.home-hero-primary,
.home-sections-kicker,
.home-sections-link,
.btn-more-red,
.home-featured-mark,
.home-featured-category,
.home-featured-actions a,
.last-ads-more-btn,
.filter-tab-btn,
.pinned-promo-banner__badge,
.pinned-promo-banner__btn,
.offer-footer-box__tag,
.offer-footer-box__btn,
.home-agent-card__taxonomy,
.home-agent-card__facts small,
.home-agent-card__actions a,
.ad-tips__kicker,
.ad-tips__action,
.apps-download-badge,
.apps-feature-pills span,
.store-btn-pill,
.footer-contacts a,
.footer-links a,
.payment-badge,
.footer-trust-badges span,
.floating-whatsapp-btn,
.suggestion-item > span,
.notif-dropdown__foot a,
.sooq-breadcrumb,
.sooq-breadcrumb a,
.sooq-breadcrumb span,
.sooq-cats-hero__kicker,
.sooq-sections-hero__kicker,
.sooq-quick-link,
.sooq-cat-card__cta,
.sooq-section-card__cta,
.sooq-cat-action-btn,
.sooq-fav-btn,
.sooq-cats-search__btn,
.sooq-sections-search__btn,
.sooq-sections-empty__reset,
.sooq-adv-empty__btn,
.sooq-quick-chip,
.sooq-cat-pill,
.sooq-pagination__summary,
.sooq-pagination__link {
    display: inline-flex;
    align-items: center;
    line-height: 1 !important;
}

.sooq-breadcrumb a {
    gap: 0.35rem;
}

/* 3. تعويض الارتفاع البصري لخط Tajawal داخل العناصر المرنة (Optical Baseline Alignment) */
.header-add-btn > span,
.header-login-btn > span,
.header-search-form__btn > span,
.search-select-trigger > .search-select-current,
.search-select-option > span,
.all-sections-trigger > span,
.sooq-nav-link > span,
.home-hero-search-form button[type="submit"] > span,
.home-hero-search-btn > span,
.home-search-eyebrow > span,
.home-sections-kicker > span,
.home-sections-link > span,
.btn-more-red > span,
.home-featured-mark > span,
.home-featured-category > span,
.home-featured-meta small > span,
.home-featured-actions a > span,
.last-ads-more-btn > span,
.pinned-promo-banner__badge > span,
.pinned-promo-banner__btn > span,
.offer-footer-box__tag > span,
.offer-footer-box__btn > span,
.home-agent-card__taxonomy > span,
.home-agent-card__facts small > span,
.home-agent-card__actions a > small,
.ad-tips__action > span,
.apps-download-badge > span,
.apps-feature-pills span > span,
.store-btn-pill > span,
.footer-contacts a > span,
.footer-links a > span,
.payment-badge > span,
.footer-trust-badges span > span,
.floating-whatsapp-btn > span,
.sooq-cats-hero__kicker > span,
.sooq-sections-hero__kicker > span,
.sooq-quick-link > span,
.sooq-cat-card__cta > span,
.sooq-section-card__cta > span,
.sooq-cat-action-btn > span,
.sooq-fav-btn > span,
.sooq-cats-search__btn > span,
.sooq-sections-search__btn > span,
.sooq-sections-empty__reset > span,
.sooq-adv-empty__btn > span,
.sooq-quick-chip > span,
.sooq-quick-chip > small,
.sooq-cat-pill > span,
.sooq-cat-pill > small,
.sooq-pagination__summary > span,
.sooq-pagination__link > span,
.sooq-select-trigger__label,
.sooq-select-option > span {
    display: inline-flex;
    align-items: center;
    line-height: 1.15 !important;
    transform: translateY(0.19em) !important;
}

/* 4. ضبط خاص لزر قسم النصائح (.ad-tips__action) وتوسيطه في الجوال */
.ad-tips__action {
    justify-content: center !important;
    justify-self: start !important;
    width: fit-content !important;
}

@media (max-width: 639px) {
    .ad-tips__action {
        width: 100% !important;
        justify-self: stretch !important;
    }
}

/* 5. ضبط أزرار التواصل في الفوتر (.footer-contacts a) لتكون في المنتصف تماماً */
.footer-contacts a {
    justify-content: center;
    height: 2.25rem;
    padding: 0 0.9rem !important;
    line-height: 1 !important;
}

.footer-contacts a > span {
    transform: translateY(0.19em) !important;
}

/* 6. ضبط زر عرض الكل في رؤوس الأقسام (.btn-more-red) */
.btn-more-red {
    justify-content: center;
    line-height: 1 !important;
}

.btn-more-red > i {
    transform: none !important;
}

/* ==========================================================================
   تباين خلفيات الأقسام والفصل البصري الواضح (Section Rhythm & Separation)
   لمنع تداخل الأقسام بصرياً وإعطاء كل قسم هوية وحدود واضحة
   ========================================================================== */

/* 1. الأقسام ذات الخلفية البيضاء النقية (#ffffff) مع حدود علوية وسفلية */
.home-sections-showcase,
.last-ads-section,
#engine-ads-container,
#electronics-ads-container,
.ad-tips {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 3rem 0 !important;
}

/* 2. الأقسام ذات الخلفية الزرقاء الهادئة (#eef4ff / #f1f6ff) لتوفير تباين واضح مع الأبيض */
.home-featured-section,
#realstate-ads-container,
#furniture-ads-container,
.apps-download-section {
    background: linear-gradient(180deg, #eff5ff 0%, #f5f8ff 100%) !important;
    padding: 3rem 0 !important;
}

/* 3. أقسام مميزة بخلفيات متدرجة ناعمة لفصلها عن الأقسام المجاورة */
.pinned-featured-section {
    background: linear-gradient(180deg, #f3f7ff 0%, #eaf2ff 100%) !important;
    border-bottom: 1px solid #dbeafe;
    padding: 3rem 0 !important;
}

.home-agents {
    background: linear-gradient(180deg, #eef4ff 0%, #e6effd 100%) !important;
    border-top: 1px solid #dbeafe;
    padding: 3rem 0 !important;
}

.offer-footer-banner {
    background: #f5f8ff !important;
    padding: 0.5rem 0 2.75rem !important;
}

/* 4. إبراز الكروت الواقعة داخل الأقسام البيضاء بإطار وظل أوضح حتى لا تذوب مع الخلفية البيضاء */
.home-sections-showcase .home-section-tile {
    background: #f8fbff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.05);
}

.home-sections-showcase .home-section-tile:hover {
    background: #ffffff;
    border-color: #0b5ed7;
    box-shadow: 0 12px 26px -8px rgba(11, 94, 215, 0.16);
}

.last-ads-section .home-featured-card,
#engine-ads-container .home-featured-card,
#electronics-ads-container .home-featured-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 8px 22px -6px rgba(15, 23, 42, 0.07);
}

.home-featured-section .home-featured-card,
#realstate-ads-container .home-featured-card,
#furniture-ads-container .home-featured-card,
.pinned-featured-section .pinned-mini-card,
.home-agents .home-agent-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 24px -6px rgba(11, 94, 215, 0.08);
}

.ad-tips article {
    background: #f8fbff;
    border: 1px solid #e2e8f0;
}

/* 5. توافق الوضع الليلي (Dark Mode) مع فصل الأقسام */
html.dark .home-sections-showcase,
html.dark .last-ads-section,
html.dark #engine-ads-container,
html.dark #electronics-ads-container,
html.dark .ad-tips {
    background: #0b1526 !important;
    border-top-color: rgba(255, 255, 255, 0.07);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

html.dark .home-featured-section,
html.dark #realstate-ads-container,
html.dark #furniture-ads-container,
html.dark .apps-download-section,
html.dark .pinned-featured-section,
html.dark .home-agents,
html.dark .offer-footer-banner {
    background: #08101d !important;
    border-color: rgba(255, 255, 255, 0.06);
}

html.dark .home-sections-showcase .home-section-tile,
html.dark .last-ads-section .home-featured-card,
html.dark #engine-ads-container .home-featured-card,
html.dark #electronics-ads-container .home-featured-card,
html.dark .home-featured-section .home-featured-card,
html.dark #realstate-ads-container .home-featured-card,
html.dark #furniture-ads-container .home-featured-card,
html.dark .pinned-featured-section .pinned-mini-card,
html.dark .home-agents .home-agent-card,
html.dark .ad-tips article {
    background: #112033 !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}

@media (max-width: 768px) {
    .home-sections-showcase,
    .home-featured-section,
    .last-ads-section,
    .pinned-featured-section,
    #engine-ads-container,
    #realstate-ads-container,
    #electronics-ads-container,
    #furniture-ads-container,
    .home-agents,
    .ad-tips,
    .apps-download-section {
        padding: 2rem 0 !important;
    }
}

/* ==========================================================================
   أزرار الوصول السريع العائمة:
   - زر الصعود للأعلى (Go to Top) في أسفل اليسار
   - زر تواصل معنا (WhatsApp) في أسفل اليمين بحجم مدمج وأنيق
   ========================================================================== */

/* 1. زر الصعود للأعلى (Go to Top) — أسفل اليسار */
.go-to-top-btn {
    position: fixed !important;
    bottom: 1.35rem !important;
    left: 1.35rem !important;
    right: auto !important;
    z-index: 145 !important;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.65rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0b5ed7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.92);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none !important;
}

.go-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.go-to-top-btn:hover {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #ffffff;
    transform: translateY(-2px);
}

/* 2. زر تواصل معنا (WhatsApp) — أسفل اليمين بحجم صغير ومتناسق مع أزرار الموقع */
.floating-whatsapp-btn {
    position: fixed !important;
    bottom: 1.35rem !important;
    right: 1.35rem !important;
    left: auto !important;
    z-index: 145 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    height: 2.25rem !important;
    padding: 0 0.85rem !important;
    border-radius: 0.65rem !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    color: #059669 !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.22s ease !important;
    box-shadow: none !important;
}

.floating-whatsapp-btn i {
    font-size: 1rem !important;
    color: #059669 !important;
    transition: color 0.22s ease;
}

.floating-whatsapp-btn span {
    display: inline-block;
    line-height: 1 !important;
    transform: translateY(0.05em);
}

.floating-whatsapp-btn:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.floating-whatsapp-btn:hover i,
.floating-whatsapp-btn:hover span {
    color: #ffffff !important;
}

/* توافق مع الوضع الليلي (Dark Mode) */
html.dark .go-to-top-btn {
    background: #172d42;
    border-color: rgba(56, 189, 248, 0.28);
    color: #38bdf8;
}

html.dark .go-to-top-btn:hover {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #ffffff;
}

html.dark .floating-whatsapp-btn {
    background: #112033 !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}

html.dark .floating-whatsapp-btn i {
    color: #34d399 !important;
}

html.dark .floating-whatsapp-btn:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

html.dark .floating-whatsapp-btn:hover i,
html.dark .floating-whatsapp-btn:hover span {
    color: #ffffff !important;
}

/* استجابة الموبايل */
@media (max-width: 768px) {
    .go-to-top-btn {
        bottom: 1rem !important;
        left: 0.85rem !important;
        width: 2.15rem;
        height: 2.15rem;
        border-radius: 0.55rem;
        font-size: 1.15rem;
    }

    .floating-whatsapp-btn {
        bottom: 1rem !important;
        right: 0.85rem !important;
        left: auto !important;
        height: 2.05rem !important;
        padding: 0 0.7rem !important;
        border-radius: 0.55rem !important;
        font-size: 0.72rem !important;
        gap: 0.3rem !important;
    }

    .floating-whatsapp-btn i {
        font-size: 0.9rem !important;
    }
}

/* ==========================================================================
   تحسين شكل شريط البحث وزرار البحث في الهيرو وفي الهيدر (Modern Search UI/UX)
   ========================================================================== */

/* 1. شريط البحث السريع في الهيرو (.home-hero-search-form) */
.home-hero-search-form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 36rem !important;
    margin-top: 1.35rem !important;
    min-height: 3.45rem !important;
    height: 3.45rem !important;
    padding: 0.32rem !important;
    border: 1.5px solid #dbeafe !important;
    border-radius: 1rem !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px -12px rgba(11, 94, 215, 0.12) !important;
    transition: all 0.22s ease !important;
}

.home-hero-search-form:focus-within {
    border-color: #0b5ed7 !important;
    box-shadow: 0 0 0 3.5px rgba(11, 94, 215, 0.14), 0 14px 32px -12px rgba(11, 94, 215, 0.18) !important;
}

.home-hero-query {
    display: flex !important;
    flex: 1 !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding-inline: 0.4rem 0.75rem !important;
    height: 100% !important;
    cursor: text;
}

.home-hero-query__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.7rem;
    background: #eff6ff;
    color: #0b5ed7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.home-hero-query__icon i {
    font-size: 1.1rem !important;
    color: #0b5ed7 !important;
}

.home-hero-search-form:focus-within .home-hero-query__icon {
    background: #dbeafe;
}

.home-hero-query input {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    color: #0f172a !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    outline: none !important;
    box-shadow: none !important;
}

.home-hero-query input::placeholder {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* زر البحث في الهيرو (.home-hero-search-btn) */
.home-hero-search-form button[type="submit"],
.home-hero-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    height: 2.7rem !important;
    min-height: 2.7rem !important;
    min-width: auto !important;
    padding: 0 1.25rem !important;
    border-radius: 0.75rem !important;
    background: #0b5ed7 !important;
    border: 1px solid #0b5ed7 !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.home-hero-search-form button[type="submit"] > span,
.home-hero-search-btn > span {
    display: inline-block;
    line-height: 1 !important;
    transform: translateY(0.05em);
}

.home-hero-search-form button[type="submit"] i,
.home-hero-search-btn i {
    font-size: 0.95rem !important;
    transition: transform 0.2s ease;
}

.home-hero-search-form button[type="submit"]:hover,
.home-hero-search-btn:hover {
    background: #094cb0 !important;
    border-color: #094cb0 !important;
    transform: translateY(-1px);
}

.home-hero-search-form button[type="submit"]:hover i,
.home-hero-search-btn:hover i {
    transform: translateX(-3px);
}

/* 2. زر البحث في الهيدر العلوي (.header-search-form__btn) */
.header-search-form {
    border-radius: 0.85rem !important;
    padding: 0.25rem !important;
    height: 2.85rem !important;
}

.header-search-form__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    height: 2.25rem !important;
    padding: 0 1rem !important;
    border-radius: 0.65rem !important;
    background: #0b5ed7 !important;
    border: 1px solid #0b5ed7 !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.header-search-form__btn i {
    font-size: 0.9rem !important;
}

.header-search-form__btn:hover {
    background: #094cb0 !important;
    border-color: #094cb0 !important;
}

/* الوضع الليلي (Dark Mode) لشريط البحث */
html.dark .home-hero-search-form {
    background: #112033 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

html.dark .home-hero-query__icon {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

html.dark .home-hero-query__icon i {
    color: #38bdf8 !important;
}

html.dark .home-hero-query input {
    color: #f8fafc !important;
}

@media (max-width: 768px) {
    .home-hero-search-form {
        height: 3.1rem !important;
        min-height: 3.1rem !important;
        padding: 0.25rem !important;
        border-radius: 0.85rem !important;
    }

    .home-hero-query__icon {
        width: 1.95rem;
        height: 1.95rem;
        border-radius: 0.55rem;
    }

    .home-hero-search-form button[type="submit"],
    .home-hero-search-btn {
        height: 2.45rem !important;
        min-height: 2.45rem !important;
        padding: 0 0.9rem !important;
        border-radius: 0.65rem !important;
        font-size: 0.76rem !important;
    }
}

/* ==========================================================================
   تحديث القائمة الجانبية (Side Drawer) لتتوافق مع الثيم الفاتح والألوان الأساسية
   ========================================================================== */
.side-drawer-backdrop {
    background: rgba(15, 23, 42, 0.35) !important;
    backdrop-filter: blur(4px) !important;
}

.side-drawer {
    background: #ffffff !important;
    color: #111827 !important;
    border-left: 1px solid #dbeafe !important;
    box-shadow: -12px 0 36px rgba(11, 94, 215, 0.12) !important;
    padding: 1.35rem 1.15rem !important;
}

.side-drawer__close {
    width: 2.2rem !important;
    height: 2.2rem !important;
    border-radius: 0.65rem !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: #0b5ed7 !important;
    transition: all 0.2s ease !important;
}

.side-drawer__close:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
}

.side-drawer__header {
    margin-bottom: 1.25rem !important;
    padding-top: 0.25rem !important;
}

.side-drawer__header img {
    height: 3.5rem !important;
    background: #ffffff !important;
    padding: 0.35rem !important;
    border-radius: 0.95rem !important;
    border: 1.5px solid #dbeafe !important;
    box-shadow: 0 4px 12px rgba(11, 94, 215, 0.08) !important;
}

.side-drawer__slogan {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    color: #0b5ed7 !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 0.3rem 0.85rem !important;
    border-radius: 999px !important;
}

.side-drawer__divider-title {
    font-size: 0.74rem !important;
    font-weight: 900 !important;
    color: #64748b !important;
    margin: 1rem 0 0.45rem !important;
}

.side-drawer__divider-title::before,
.side-drawer__divider-title::after {
    background: #e2e8f0 !important;
}

.side-drawer__menu {
    gap: 0.2rem !important;
}

.side-drawer__item {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 0.65rem !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    color: #334155 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.18s ease !important;
}

.side-drawer__item i {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.5rem;
    background: #f0f5ff;
    color: #0b5ed7 !important;
    font-size: 1.05rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

.side-drawer__item:hover {
    background: #f6f9ff !important;
    border-color: #dbeafe !important;
    color: #0b5ed7 !important;
}

.side-drawer__item.is-active {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #0b5ed7 !important;
}

.side-drawer__item:hover i,
.side-drawer__item.is-active i {
    background: #0b5ed7 !important;
    color: #ffffff !important;
}

.side-drawer__socials {
    gap: 0.55rem !important;
    margin-top: 0.5rem !important;
}

.side-drawer__socials a {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 0.65rem !important;
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
    color: #0b5ed7 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    transition: all 0.2s ease !important;
}

.side-drawer__socials a:hover {
    background: #0b5ed7 !important;
    border-color: #0b5ed7 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* الوضع الليلي (Dark Mode) للقائمة الجانبية */
html.dark .side-drawer {
    background: #0f1d2a !important;
    color: #f8fafc !important;
    border-left-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .side-drawer__close {
    background: #172d42 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important;
}

html.dark .side-drawer__slogan {
    background: rgba(56, 189, 248, 0.12) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    color: #38bdf8 !important;
}

html.dark .side-drawer__divider-title {
    color: #94a3b8 !important;
}

html.dark .side-drawer__divider-title::before,
html.dark .side-drawer__divider-title::after {
    background: rgba(255, 255, 255, 0.1) !important;
}

html.dark .side-drawer__item {
    color: #e2e8f0 !important;
}

html.dark .side-drawer__item i {
    background: #172d42;
    color: #38bdf8 !important;
}

html.dark .side-drawer__item:hover,
html.dark .side-drawer__item.is-active {
    background: #172d42 !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
    color: #38bdf8 !important;
}

html.dark .side-drawer__socials a {
    background: #172d42 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #38bdf8 !important;
}

/* ==========================================================================
   تحسينات الريسبونسف الشاملة للشاشات الصغيرة والموبايل (320px - 640px)
   ========================================================================== */
@media (max-width: 639px) {
    .container-shell {
        padding-inline: 0.85rem !important;
    }

    /* 1. رؤوس الأقسام (Section Headings) */
    .home-section-heading {
        gap: 0.65rem !important;
        margin-bottom: 1rem !important;
        padding-bottom: 0.6rem !important;
    }

    .home-section-heading__title-group {
        gap: 0.5rem !important;
    }

    .home-section-heading__icon {
        width: 2rem !important;
        height: 2rem !important;
        border-radius: 0.6rem !important;
        font-size: 1.05rem !important;
        flex-shrink: 0 !important;
    }

    .home-section-heading h2 {
        font-size: 1.08rem !important;
        line-height: 1.3 !important;
    }

    /* 2. قسم الإعلانات المثبتة (Pinned Featured Section) */
    .pinned-promo-banner {
        padding: 1.35rem 1rem !important;
        border-radius: 1.15rem !important;
    }

    .pinned-promo-banner__img {
        max-width: 9.5rem !important;
        max-height: 8rem !important;
        margin: 0.65rem auto !important;
    }

    .pinned-promo-banner h3 {
        font-size: 1.2rem !important;
        line-height: 1.35 !important;
    }

    .pinned-promo-banner p {
        font-size: 0.78rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0.9rem !important;
    }

    .pinned-promo-banner__btn {
        height: 2.35rem !important;
        padding: 0 1.15rem !important;
        font-size: 0.78rem !important;
        border-radius: 0.65rem !important;
    }

    .pinned-mini-grid {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    .pinned-mini-card {
        padding: 0.65rem !important;
        gap: 0.75rem !important;
        border-radius: 0.95rem !important;
    }

    .pinned-mini-card__img {
        width: 4.8rem !important;
        height: 4.8rem !important;
        border-radius: 0.7rem !important;
    }

    .pinned-mini-card__title {
        font-size: 0.8rem !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
    }

    /* 3. كروت الإعلانات المبوبة السريعة والخدمات (.home-agent-card) */
    .home-agents__grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .home-agent-card {
        display: grid !important;
        grid-template-columns: 5.25rem minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 0.65rem 0.75rem !important;
        padding: 0.75rem !important;
        border-radius: 1.1rem !important;
        min-height: auto !important;
    }

    .home-agent-card__avatar {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        width: 5.25rem !important;
        height: 5.25rem !important;
        min-height: 5.25rem !important;
        border-radius: 0.8rem !important;
    }

    .home-agent-card__body {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        justify-content: flex-start !important;
    }

    .home-agent-card__taxonomy {
        font-size: 0.62rem !important;
        padding: 0.2rem 0.45rem !important;
        margin-bottom: 0.25rem !important;
    }

    .home-agent-card__body strong {
        font-size: 0.84rem !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .home-agent-card__excerpt {
        font-size: 0.7rem !important;
        line-height: 1.5 !important;
        margin-top: 0.2rem !important;
        -webkit-line-clamp: 2 !important;
    }

    .home-agent-card__facts {
        gap: 0.3rem 0.65rem !important;
        margin-top: 0.35rem !important;
    }

    .home-agent-card__facts small {
        font-size: 0.62rem !important;
    }

    .home-agent-card__actions {
        grid-column: 1 / -1 !important;
        grid-row: 2 / 3 !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.45rem !important;
        padding-right: 0 !important;
        padding-top: 0.55rem !important;
        border-right: none !important;
        border-top: 1px solid #f1f5f9 !important;
        width: 100% !important;
    }

    html.dark .home-agent-card__actions {
        border-top-color: rgba(255, 255, 255, 0.07) !important;
    }

    .home-agent-card__actions a {
        width: 100% !important;
        height: 1.9rem !important;
        border-radius: 0.5rem !important;
        font-size: 0.72rem !important;
    }

    .home-agent-card__actions a small {
        display: inline-block !important;
        font-size: 0.72rem !important;
        font-weight: 800 !important;
    }

    /* 4. قسم نصائح الإعلان وتحميل التطبيق على الجوال */
    .ad-tips__header {
        margin-bottom: 1.35rem !important;
    }

    .ad-tips__header h2 {
        font-size: 1.25rem !important;
    }

    .ad-tips__header p {
        font-size: 0.78rem !important;
    }

    .ad-tips__shell {
        gap: 1.25rem !important;
    }

    .ad-tips__shell > img {
        max-height: 13.5rem !important;
    }

    .ad-tips article {
        padding: 0.75rem 0.85rem !important;
        border-radius: 0.9rem !important;
    }

    .ad-tips article h3 {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }

    .apps-download-card {
        padding: 1.25rem 1rem !important;
        border-radius: 1.25rem !important;
        gap: 1.25rem !important;
    }

    .apps-download-card h2 {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
    }

    .apps-download-card p {
        font-size: 0.78rem !important;
        line-height: 1.65 !important;
    }

    .apps-store-btns {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .store-btn-pill {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.65rem 0.5rem !important;
        font-size: 0.74rem !important;
        border-radius: 0.75rem !important;
    }

    .apps-phone-preview img {
        max-height: 12.5rem !important;
    }

    /* 5. الفوتر على شاشات الموبايل */
    .site-footer {
        padding: 2rem 0 4.5rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.65rem !important;
        padding-bottom: 1.5rem !important;
        text-align: center !important;
    }

    .footer-brand-link {
        justify-content: center !important;
        text-align: right !important;
    }

    .footer-desc {
        font-size: 0.78rem !important;
        line-height: 1.7 !important;
        max-width: 24rem !important;
        margin-inline: auto !important;
    }

    .footer-contacts {
        justify-content: center !important;
        gap: 0.45rem !important;
    }

    .footer-contacts a {
        height: 2.05rem !important;
        padding: 0 0.7rem !important;
        font-size: 0.74rem !important;
    }

    .footer-socials {
        justify-content: center !important;
    }

    .footer-col h4 {
        font-size: 0.92rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
        text-align: right !important;
    }

    .footer-links a {
        font-size: 0.76rem !important;
        padding: 0.35rem 0.5rem !important;
        background: #f8fbff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 0.55rem !important;
    }

    html.dark .footer-links a {
        background: rgba(255, 255, 255, 0.04) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    .payment-badges {
        justify-content: center !important;
    }

    .payment-badge {
        height: 2rem !important;
        padding-inline: 0.55rem !important;
        font-size: 0.66rem !important;
    }

    .footer-bottom {
        flex-direction: column-reverse !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 0.85rem !important;
        padding-top: 1.15rem !important;
        font-size: 0.72rem !important;
    }

    .footer-trust-badges {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.4rem !important;
    }

    .footer-trust-badges span {
        font-size: 0.65rem !important;
        padding: 0.22rem 0.55rem !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   ضبط محاذاة الأسهم وعناصر قائمة "كل الأقسام" (.all-sections-menu)
   لتكون جميع الأسهم على خط عمودي واحد في أقصى اليسار
   ========================================================================== */
.all-sections-menu {
    width: 18rem !important;
}

.section-menu-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.5rem !important;
    padding: 0.55rem 0.75rem !important;
    line-height: 1.25 !important;
}

.section-menu-link > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.section-menu-link > i {
    flex-shrink: 0 !important;
    margin-right: auto !important;
    color: #94a3b8;
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.section-menu-item:hover > .section-menu-link > i,
.section-menu-item.is-active > .section-menu-link > i {
    color: #0b5ed7;
    transform: translateX(-3px);
}

/* ==========================================================================
   ضبط المحاذاة الهندسية النهائية والدقيقة (True Geometric Centering)
   لجميع الأيقونات المربعة والدائرية والأزرار والبادجات في الموقع بالكامل
   ========================================================================== */

/* 1. إلغاء أي إزاحة عمودية للأيقونات وضمان تمركزها 100% */
.header-add-btn > i,
.header-login-btn > i,
.header-search-form__btn > i,
.search-select-trigger > i,
.search-select-option > i,
.all-sections-trigger > i,
.sooq-nav-link > i,
.side-drawer__item > i,
.section-menu-link > span > i,
.home-search-eyebrow > i,
.home-hero-search-form button[type="submit"] > i,
.home-hero-search-btn > i,
.home-hero-primary > i,
.home-sections-kicker > i,
.home-sections-link > i,
.btn-more-red > i,
.home-featured-mark > i,
.home-featured-category > i,
.home-featured-meta small > i,
.home-featured-actions a > i,
.pinned-mini-card__Quick a > i,
.last-ads-more-btn > i,
.pinned-promo-banner__badge > i,
.pinned-promo-banner__btn > i,
.offer-footer-box__tag > i,
.offer-footer-box__btn > i,
.home-agent-card__taxonomy > i,
.home-agent-card__facts small > i,
.home-agent-card__actions a > i,
.ad-tips__kicker > i,
.ad-tips__action > i,
.apps-download-badge > i,
.apps-feature-pills span > i,
.store-btn-pill > i,
.footer-contacts a > i,
.footer-links a > i,
.payment-badge > i,
.footer-trust-badges span > i,
.floating-whatsapp-btn > i,
.suggestion-item > span > i,
.notif-dropdown__foot a > i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transform: none !important;
    margin-block: 0 !important;
}

/* 2. توسيط مثالي لجميع صناديق وأزرار الأيقونات المنفردة (Square & Circle Icon Boxes) */
.card-heart-btn,
.home-featured-actions.is-icon-only a,
.pinned-mini-card__Quick a,
.swiper-nav-btn,
.home-section-heading__icon,
.home-section-media,
.home-featured-category > i:first-child,
.header-icon-pill,
.drawer-toggler,
.view-switcher button,
.go-to-top-btn,
.footer-socials a,
.side-drawer__socials a,
.side-drawer__close,
.side-drawer__item > i,
.section-menu-link > span > i,
.home-hero-query__icon,
.cat-hub-hero__icon,
.ad-spec-card__icon,
.ad-seller-card__avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.card-heart-btn > i,
.home-featured-actions a > i,
.home-featured-actions.is-icon-only a > i,
.pinned-mini-card__Quick a > i,
.swiper-nav-btn > i,
.home-section-heading__icon > i,
.home-section-media > i,
.header-icon-pill > i,
.drawer-toggler > i,
.view-switcher button > i,
.go-to-top-btn > i,
.footer-socials a > i,
.side-drawer__socials a > i,
.side-drawer__close > i,
.home-hero-query__icon > i,
.cat-hub-hero__icon > i,
.ad-spec-card__icon > i,
.ad-seller-card__avatar > i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1em !important;
    height: 1em !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* 3. ضبط نصوص الأزرار والروابط لتكون في نفس مستوى الأيقونة تماماً (توافق بصري مع خط Tajawal) */
.header-add-btn > span,
.header-login-btn > span,
.header-search-form__btn > span,
.search-select-trigger > .search-select-current,
.search-select-option > span,
.all-sections-trigger > span,
.sooq-nav-link > span,
.home-hero-search-form button[type="submit"] > span,
.home-hero-search-btn > span,
.home-search-eyebrow > span,
.home-sections-kicker > span,
.home-sections-link > span,
.btn-more-red > span,
.home-featured-mark > span,
.home-featured-category > span,
.home-featured-meta small > span,
.home-featured-actions a > span,
.last-ads-more-btn > span,
.pinned-promo-banner__badge > span,
.pinned-promo-banner__btn > span,
.offer-footer-box__tag > span,
.offer-footer-box__btn > span,
.home-agent-card__taxonomy > span,
.home-agent-card__facts small > span,
.home-agent-card__actions a > small,
.ad-tips__action > span,
.apps-download-badge > span,
.apps-feature-pills span > span,
.store-btn-pill > span,
.footer-contacts a > span,
.footer-links a > span,
.payment-badge > span,
.footer-trust-badges span > span,
.floating-whatsapp-btn > span,
.sooq-cats-hero__kicker > span,
.sooq-sections-hero__kicker > span,
.sooq-quick-link > span,
.sooq-cat-card__cta > span,
.sooq-section-card__cta > span,
.sooq-cat-action-btn > span,
.sooq-fav-btn > span,
.sooq-cats-search__btn > span,
.sooq-sections-search__btn > span,
.sooq-sections-empty__reset > span,
.sooq-adv-empty__btn > span,
.sooq-quick-chip > span,
.sooq-quick-chip > small,
.sooq-cat-pill > span,
.sooq-cat-pill > small,
.sooq-pagination__summary > span,
.sooq-pagination__link > span,
.sooq-select-trigger__label,
.sooq-select-option > span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.15 !important;
    padding-top: 0 !important;
    transform: translateY(0.19em) !important;
}

/* 3.b ضبط الأيقونات المجاورة لنص مباشر بدون وسم فرعي <span> (Bare Text Nodes) */
.side-drawer__item > i,
.section-menu-link > span > i,
.ad-tips__kicker > i,
.suggestion-item > span > i,
.notif-dropdown__foot a > i,
.sooq-breadcrumb i,
.sooq-cat-header__meta span > i,
.sooq-cats-search__icon,
.sooq-sections-search__icon {
    transform: translateY(-0.18em) !important;
}

/* 4. ضبط شريط القسم والتصنيف داخل كروت الإعلانات (.home-featured-category) */
.home-featured-category {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.25rem 0.3rem 0.25rem 0.6rem !important;
    line-height: 1 !important;
}

.home-featured-category > i:first-child {
    width: 1.55rem !important;
    height: 1.55rem !important;
    min-width: 1.55rem !important;
    border-radius: 0.45rem !important;
    transform: none !important;
    margin: 0 !important;
}

.home-featured-category > i:last-child {
    transform: none !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 5. ضبط البادجات والتاجات التي تحتوي على نص مباشر لتتوسط عمودياً مع الحفاظ على الـ padding الأصلي لكل عنصر */
.home-search-eyebrow,
.home-sections-kicker,
.home-featured-mark,
.ad-feature-pill,
.last-ads-grid.is-list-view .ad-feature-pill,
.pinned-promo-banner__badge,
.pinned-mini-card__cat,
.offer-footer-box__tag,
.home-agent-card__taxonomy,
.home-agent-card__avatar > em,
.ad-tips__kicker,
.apps-download-badge,
.apps-feature-pills span,
.payment-badge,
.footer-trust-badges span,
.filter-tab-btn,
.side-drawer__slogan {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.2 !important;
}

/* 6. ضبط الدوائر الرقمية وعدّادات الأقسام بحيث لا تزاحم أيقونة القسم */
.header-icon-pill__badge {
    width: 1.3rem !important;
    min-width: 1.3rem !important;
    height: 1.3rem !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-variant-numeric: tabular-nums !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.home-section-media {
    position: relative !important;
    width: 3.35rem !important;
    height: 3.35rem !important;
    border-radius: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.home-section-media > i {
    font-size: 1.45rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    transform: none !important;
}

.home-section-count {
    position: absolute !important;
    top: -0.42rem !important;
    left: -0.48rem !important;
    right: auto !important;
    bottom: auto !important;
    min-width: 1.7rem !important;
    height: 1.28rem !important;
    padding: 0 0.36rem !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #0b5ed7 !important;
    border: 1.5px solid #bfdbfe !important;
    box-shadow: 0 2px 6px rgba(11, 94, 215, 0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-variant-numeric: tabular-nums !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    z-index: 2 !important;
}

/* 7. ضبط روابط وأزرار الهيدر وشريط التنقل وأزرار عرض المزيد */
.sooq-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    height: 2.2rem !important;
    padding: 0 0.85rem !important;
    line-height: 1 !important;
}

.sooq-nav-link > i {
    font-size: 1rem !important;
    line-height: 1 !important;
    transform: none !important;
}

.sooq-nav-link > span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.15 !important;
    padding-top: 0 !important;
    transform: translateY(0.19em) !important;
}

.all-sections-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding-top: 0 !important;
    line-height: 1 !important;
}

.all-sections-trigger > i:first-child,
.all-sections-trigger > i:last-child {
    transform: none !important;
}

.all-sections-dropdown:hover .all-sections-trigger > i:last-child,
.all-sections-dropdown.is-open .all-sections-trigger > i:last-child {
    transform: rotate(180deg) !important;
}

.header-add-btn,
.header-login-btn,
.header-search-form__btn,
.search-select-trigger,
.btn-more-red,
.floating-whatsapp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.last-ads-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.82rem 2rem !important;
    min-height: 2.95rem !important;
    border-radius: 0.95rem !important;
    line-height: 1 !important;
}

/* ==========================================================================
   6. ضبط روابط الفوتر (روابط هامة) واتجاه الأسهم ومحاذاة الموبايل والهيدر
   ========================================================================== */
.footer-links {
    display: flex !important;
    flex-direction: column !important;
    width: fit-content !important;
    min-width: 195px !important;
    gap: 0.55rem !important;
}

.footer-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.65rem !important;
    direction: rtl !important;
    text-align: right !important;
}

.footer-links a > span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    text-align: right !important;
    transform: translateY(0.12em) !important;
}

.footer-links a > i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    color: #0b5ed7 !important;
    transform: none !important;
    transition: transform 0.2s ease !important;
}

.footer-links a:hover > i {
    transform: translateX(-3px) !important;
}

@media (max-width: 639px) {
    .footer-links {
        display: grid !important;
        width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
        text-align: right !important;
        direction: rtl !important;
    }

    .footer-links a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        font-size: 0.75rem !important;
        padding: 0.45rem 0.65rem !important;
        background: #f8fbff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 0.6rem !important;
        text-align: right !important;
    }

    .footer-links a > span {
        flex: 1 !important;
        min-width: 0 !important;
        text-align: right !important;
    }

    .footer-links a > i {
        margin-right: auto !important;
        flex-shrink: 0 !important;
    }
}

/* ==========================================================================
   7. ضبط ريسبونسف الهيدر وقائمة الإشعارات على الموبايل والتابلت (أولوية قصوى)
   ========================================================================== */
.header-icon-pill__badge[style*="display:none"],
.header-icon-pill__badge[style*="display: none"] {
    display: none !important;
}

@media (min-width: 992px) and (max-width: 1220px) {
    .sooq-brand__slogan {
        max-width: 11.5rem !important;
    }
}

@media (max-width: 991px) {
    .sooq-header__main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "brand actions"
            "search search" !important;
        align-items: center !important;
        gap: 0.55rem 0.65rem !important;
    }

    .sooq-header__brand-wrap {
        grid-area: brand !important;
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .sooq-brand {
        display: flex !important;
        align-items: center !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }

    .sooq-brand__text {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        overflow: hidden !important;
    }

    .sooq-header__actions {
        grid-area: actions !important;
        justify-self: end !important;
        flex-shrink: 0 !important;
    }

    .sooq-header__search {
        grid-area: search !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .sooq-header > .container-shell {
        padding-inline: 0.75rem !important;
    }

    .sooq-header__main {
        padding: 0.5rem 0 !important;
        gap: 0.5rem 0.6rem !important;
    }

    .sooq-header__brand-wrap {
        gap: 0.42rem !important;
    }

    .sooq-brand {
        gap: 0.42rem !important;
    }

    .drawer-toggler {
        width: 2.15rem !important;
        height: 2.15rem !important;
        border-radius: 0.6rem !important;
        font-size: 1.05rem !important;
        flex-shrink: 0 !important;
    }

    .sooq-brand__mark {
        width: 2.2rem !important;
        height: 2.2rem !important;
        border-radius: 0.6rem !important;
        padding: 0.16rem !important;
        border: 1.5px solid #dbeafe !important;
        box-shadow: 0 2px 8px rgba(11, 94, 215, 0.08) !important;
        flex-shrink: 0 !important;
    }

    .sooq-brand__title {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 0.08rem !important;
        line-height: 1.1 !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .sooq-brand__title-main {
        font-size: 0.9rem !important;
        font-weight: 900 !important;
        color: #111827 !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    html.dark .sooq-brand__title-main {
        color: #ffffff !important;
    }

    .sooq-brand__title-region {
        font-size: 0.64rem !important;
        font-weight: 800 !important;
        color: #0b5ed7 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    html.dark .sooq-brand__title-region {
        color: #38bdf8 !important;
    }

    .sooq-brand__slogan {
        display: none !important;
    }

    .sooq-header__actions {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }

    /* إخفاء زر تسجيل الدخول على الموبايل لأنه موجود في القائمة الجانبية والشريط السفلي */
    #themeToggleBtn,
    .header-login-btn {
        display: none !important;
    }

    .header-icon-pill {
        width: 2.15rem !important;
        height: 2.15rem !important;
        border-radius: 0.6rem !important;
        font-size: 0.98rem !important;
        flex-shrink: 0 !important;
    }

    .header-icon-pill__badge {
        width: 0.96rem !important;
        min-width: 0.96rem !important;
        height: 0.96rem !important;
        font-size: 0.55rem !important;
        top: -3px !important;
        left: -3px !important;
        right: auto !important;
        border-width: 1.5px !important;
    }

    /* زر إضافة إعلان بحجم متناسق على نفس السطر الأول */
    .header-add-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: 2.15rem !important;
        padding: 0 0.65rem !important;
        font-size: 0.72rem !important;
        gap: 0.25rem !important;
        border-radius: 0.6rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .header-add-btn > span {
        display: inline-block !important;
        white-space: nowrap !important;
    }

    /* ضبط القائمة المنسدلة للإشعارات لتظهر داخل الشاشة بالكامل بالاتجاه الصحيح */
    .notif-dropdown {
        position: fixed !important;
        top: 4.1rem !important;
        left: 0.75rem !important;
        right: 0.75rem !important;
        width: auto !important;
        max-width: 22rem !important;
        margin-inline: auto !important;
        direction: rtl !important;
        text-align: right !important;
        z-index: 999 !important;
    }
}

@media (max-width: 330px) {
    .header-add-btn > span {
        display: none !important;
    }

    .header-add-btn {
        width: 2.15rem !important;
        padding: 0 !important;
    }
}

/* ==========================================================================
   تعديلات قسم "اكتشف السوق" (الشكل 2: صور أكبر + ظل ناعم بدون خلفية ولا إطار)
   ========================================================================== */
.home-sections-showcase {
    padding: 2.25rem 0 !important;
}

.home-sections-intro {
    margin-bottom: 1.5rem !important;
}

.home-sections-link,
html.dark .home-sections-link {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding: 0.35rem 0.25rem !important;
}

.home-sections-link:hover,
html.dark .home-sections-link:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--brand-700, #094db3) !important;
    transform: translateY(-1px);
}

.home-sections-track {
    gap: 1.15rem 0.75rem !important;
}

.home-sections-showcase .home-section-tile,
.home-sections-showcase .home-section-tile:hover,
.home-sections-showcase .home-section-tile.is-active,
html.dark .home-sections-showcase .home-section-tile,
html.dark .home-sections-showcase .home-section-tile:hover,
html.dark .home-sections-showcase .home-section-tile.is-active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.35rem 0.25rem !important;
}

.home-sections-showcase .home-section-count {
    display: none !important;
}

.home-sections-showcase .home-section-media.has-section-image,
html.dark .home-sections-showcase .home-section-media.has-section-image {
    position: relative !important;
    width: 6rem !important;
    height: 6rem !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    padding: 0.2rem !important;
    transition: transform 0.22s ease !important;
}

.home-sections-showcase .home-section-media.has-section-image::after {
    content: "";
    position: absolute;
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 0.75rem;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.09) 48%, transparent 75%);
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    z-index: 0;
}

html.dark .home-sections-showcase .home-section-media.has-section-image::after {
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 48%, transparent 75%);
}

.home-sections-showcase .home-section-tile:hover .home-section-media.has-section-image,
.home-sections-showcase .home-section-tile.is-active .home-section-media.has-section-image {
    background: transparent !important;
    transform: translateY(-4px) scale(1.07) !important;
}

.home-sections-showcase .home-section-tile:hover .home-section-media.has-section-image::after,
.home-sections-showcase .home-section-tile.is-active .home-section-media.has-section-image::after {
    transform: translateX(-50%) scale(0.88);
    opacity: 0.7;
}

.home-section-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.16));
}

html.dark .home-section-img {
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.home-sections-showcase .home-section-all .home-section-media,
html.dark .home-sections-showcase .home-section-all .home-section-media {
    width: 4.4rem !important;
    height: 4.4rem !important;
    margin-block: 0.8rem !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 1.5px dashed #94a3b8 !important;
    color: #0b5ed7 !important;
}

.home-sections-showcase .home-section-all:hover .home-section-media {
    background: transparent !important;
    border-color: #0b5ed7 !important;
    color: #0b5ed7 !important;
    transform: translateY(-4px) scale(1.05) !important;
}

.home-sections-showcase .home-section-all:hover .home-section-media i {
    color: #0b5ed7 !important;
}

.home-sections-showcase .home-section-content {
    margin-top: 0.55rem !important;
}

.home-sections-showcase .home-section-name {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
}

@media (max-width: 639px) {
    .home-sections-showcase .home-section-media.has-section-image,
    html.dark .home-sections-showcase .home-section-media.has-section-image {
        width: 4.25rem !important;
        height: 4.25rem !important;
    }

    .home-sections-showcase .home-section-all .home-section-media,
    html.dark .home-sections-showcase .home-section-all .home-section-media {
        width: 3.35rem !important;
        height: 3.35rem !important;
        margin-block: 0.45rem !important;
    }

    .home-sections-showcase .home-section-name {
        font-size: 0.78rem !important;
    }
}

/* ==========================================================================
   تعديلات الهيدر (إزالة الخلفية والإطار + تقريب المسافات بين أزرار الهيدر)
   ========================================================================== */
.header-search-form__input {
    padding-inline: 1rem !important;
}

.sooq-header__actions {
    gap: 0.85rem !important;
}

.header-icon-pill,
.header-login-btn,
.header-add-btn,
.sooq-nav-link--highlight,
html.dark .header-icon-pill,
html.dark .header-login-btn,
html.dark .header-add-btn,
html.dark .sooq-nav-link--highlight {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.header-icon-pill {
    width: 2rem !important;
    height: 2rem !important;
}

.header-login-btn,
.header-add-btn {
    padding-inline: 0.2rem !important;
    height: 2.1rem !important;
}

.header-icon-pill:hover,
.header-login-btn:hover,
.header-add-btn:hover,
.sooq-nav-link--highlight:hover,
html.dark .header-icon-pill:hover,
html.dark .header-login-btn:hover,
html.dark .header-add-btn:hover,
html.dark .sooq-nav-link--highlight:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #0b5ed7 !important;
}

.header-add-btn {
    color: #111827 !important;
}

html.dark .header-add-btn,
html.dark .header-icon-pill,
html.dark .sooq-nav-link--highlight {
    color: #e2e8f0 !important;
}

html.dark .header-login-btn {
    color: #38bdf8 !important;
}

html.dark .header-icon-pill:hover,
html.dark .header-login-btn:hover,
html.dark .header-add-btn:hover,
html.dark .sooq-nav-link--highlight:hover {
    color: #38bdf8 !important;
}

.sooq-nav-link--highlight {
    color: #374151 !important;
}

@media (max-width: 639px) {
    .sooq-header__actions {
        gap: 0.5rem !important;
    }
}

/* ==========================================================================
   تعديلات الواجهة (زر الواتساب العائم أيقونة فقط + توازن الفوتر + أزرار الكروت بدون خلفية وإطار)
   ========================================================================== */

/* 1. زر الواتساب العائم — أيقونة فقط دائرية أنيقة */
.floating-whatsapp-btn {
    width: 2.85rem !important;
    height: 2.85rem !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.35) !important;
}

.floating-whatsapp-btn i {
    font-size: 1.4rem !important;
    line-height: 1 !important;
}

@media (max-width: 768px) {
    .floating-whatsapp-btn {
        width: 2.55rem !important;
        height: 2.55rem !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }

    .floating-whatsapp-btn i {
        font-size: 1.25rem !important;
    }
}

/* 2. توازن الفوتر وبطاقة التطبيق بعد إزالة الشارات */
.footer-bottom {
    justify-content: center !important;
    text-align: center !important;
}

.apps-store-btns {
    margin-top: 1.25rem;
}

/* 3. أزرار واتساب والاتصال في جميع كروت الإعلانات بدون خلفية ولا إطار ولا ظل */
.home-featured-actions.is-icon-only a,
.home-featured-actions .is-whatsapp,
.home-featured-actions .is-phone,
.pinned-mini-card__Quick a,
.pinned-mini-card__Quick .is-wa,
.pinned-mini-card__Quick .is-call,
.home-agents .home-agent-card__actions.is-icon-only a,
.home-agent-card__actions .is-whatsapp,
.home-agent-card__actions .is-phone,
html.dark .home-featured-actions.is-icon-only a,
html.dark .home-featured-actions .is-whatsapp,
html.dark .home-featured-actions .is-phone,
html.dark .pinned-mini-card__Quick a,
html.dark .pinned-mini-card__Quick .is-wa,
html.dark .pinned-mini-card__Quick .is-call,
html.dark .home-agents .home-agent-card__actions.is-icon-only a,
html.dark .home-agent-card__actions .is-whatsapp,
html.dark .home-agent-card__actions .is-phone {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.home-featured-actions.is-icon-only a:hover,
.home-featured-actions .is-whatsapp:hover,
.home-featured-actions .is-phone:hover,
.pinned-mini-card__Quick a:hover,
.pinned-mini-card__Quick .is-wa:hover,
.pinned-mini-card__Quick .is-call:hover,
.home-agents .home-agent-card__actions.is-icon-only a:hover,
.home-agent-card__actions .is-whatsapp:hover,
.home-agent-card__actions .is-phone:hover,
html.dark .home-featured-actions.is-icon-only a:hover,
html.dark .home-featured-actions .is-whatsapp:hover,
html.dark .home-featured-actions .is-phone:hover,
html.dark .pinned-mini-card__Quick a:hover,
html.dark .pinned-mini-card__Quick .is-wa:hover,
html.dark .pinned-mini-card__Quick .is-call:hover,
html.dark .home-agents .home-agent-card__actions.is-icon-only a:hover,
html.dark .home-agent-card__actions .is-whatsapp:hover,
html.dark .home-agent-card__actions .is-phone:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: scale(1.14) !important;
}

.home-featured-actions.is-icon-only a {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
}

.home-featured-actions.is-icon-only a > i {
    font-size: 1.32rem !important;
}

.pinned-mini-card__Quick a {
    width: 1.85rem !important;
    height: 1.85rem !important;
}

.pinned-mini-card__Quick a > i {
    font-size: 1.2rem !important;
}

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

.home-agents .home-agent-card__actions.is-icon-only a > i {
    font-size: 1.32rem !important;
}

.home-featured-actions .is-whatsapp,
.pinned-mini-card__Quick .is-wa,
.home-agent-card__actions .is-whatsapp {
    color: #10b981 !important;
}

.home-featured-actions .is-whatsapp:hover,
.pinned-mini-card__Quick .is-wa:hover,
.home-agent-card__actions .is-whatsapp:hover {
    color: #059669 !important;
}

.home-featured-actions .is-phone,
.pinned-mini-card__Quick .is-call,
.home-agent-card__actions .is-phone {
    color: #0b5ed7 !important;
}

.home-featured-actions .is-phone:hover,
.pinned-mini-card__Quick .is-call:hover,
.home-agent-card__actions .is-phone:hover {
    color: #094db3 !important;
}

html.dark .home-featured-actions .is-whatsapp,
html.dark .pinned-mini-card__Quick .is-wa,
html.dark .home-agent-card__actions .is-whatsapp {
    color: #34d399 !important;
}

html.dark .home-featured-actions .is-whatsapp:hover,
html.dark .pinned-mini-card__Quick .is-wa:hover,
html.dark .home-agent-card__actions .is-whatsapp:hover {
    color: #10b981 !important;
}

html.dark .home-featured-actions .is-phone,
html.dark .pinned-mini-card__Quick .is-call,
html.dark .home-agent-card__actions .is-phone {
    color: #38bdf8 !important;
}

html.dark .home-featured-actions .is-phone:hover,
html.dark .pinned-mini-card__Quick .is-call:hover,
html.dark .home-agent-card__actions .is-phone:hover {
    color: #60a5fa !important;
}

/* 4. ضبط المسافات في كروت الإعلانات بعد إزالة شريط القسم/التصنيف */
.home-featured-body {
    padding: 0.78rem 0.85rem 0.65rem;
}

.last-ads-grid.is-list-view .home-featured-body {
    grid-row: 1 / 3 !important;
    padding: 0.72rem 0.95rem 0.5rem 2.9rem !important;
}

/* 5. أزرار تصفح جميع الإعلانات وتصفح جميع المثبتة بدون خلفية وبدون إطار */
.last-ads-more-btn,
.last-ads-more-btn:hover,
.btn-more-red,
.btn-more-red:hover,
html.dark .last-ads-more-btn,
html.dark .last-ads-more-btn:hover,
html.dark .btn-more-red,
html.dark .btn-more-red:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.last-ads-more-btn {
    padding: 0.35rem 0.5rem !important;
    min-height: auto !important;
}

.btn-more-red {
    padding: 0.25rem 0.2rem !important;
    height: auto !important;
}

.last-ads-more-btn,
.last-ads-more-btn i,
.btn-more-red,
.btn-more-red i {
    color: #0b5ed7 !important;
}

.last-ads-more-btn:hover,
.last-ads-more-btn:hover i,
.btn-more-red:hover,
.btn-more-red:hover i {
    color: #094db3 !important;
}

html.dark .last-ads-more-btn,
html.dark .last-ads-more-btn i,
html.dark .btn-more-red,
html.dark .btn-more-red i {
    color: #38bdf8 !important;
}

html.dark .last-ads-more-btn:hover,
html.dark .last-ads-more-btn:hover i,
html.dark .btn-more-red:hover,
html.dark .btn-more-red:hover i {
    color: #60a5fa !important;
}

/* Unified Grouped Header Search Dropdown */
.search-suggestions-dropdown {
    max-height: min(72vh, 460px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.suggestion-group + .suggestion-group {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px dashed var(--border-color);
}

.suggestion-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.25rem 0.65rem 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--brand-600);
    letter-spacing: 0.01em;
}

.suggestion-group-head__title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.suggestion-group-head__count {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-600);
}

.suggestion-item > span {
    min-width: 0;
    flex: 1 1 auto;
}

.suggestion-item__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggestion-item > small {
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
    padding: 0.55rem 0.75rem;
    border-top: 1px solid var(--border-color);
    border-radius: 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-600);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.suggestion-footer-link:hover {
    background: var(--brand-50);
    color: var(--brand-700, #094db3);
}

html.dark .suggestion-group-head {
    color: #60a5fa;
}

html.dark .suggestion-group-head__count {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

html.dark .suggestion-footer-link {
    color: #60a5fa;
}

html.dark .suggestion-footer-link:hover {
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
}













