/* ╔══════════════════════════════════════════════════════╗
   ║  BAZAAR — Home Redesign CSS (Mobile First)          ║
   ║  هذا الملف مستقل تماماً — لا يعدّل CSS القديم      ║
   ╚══════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════
   RESET & BOX MODEL
═══════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════
   NEW HEADER — سطرين
═══════════════════════════════════════════ */
.navbar-v2 {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* السطر الأول: شعار + أيقونات */
.navbar-v2-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
}

/* شعار ميركاتو (يمين) */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
}

.nav-brand-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.nav-brand-text em {
    color: var(--orange);
    font-style: normal;
}

.nav-brand-sub {
    font-size: 10px;
    color: var(--text-3);
    font-weight: 500;
    line-height: 1;
    margin-top: 2px;
    display: block;
}

/* مجموعة الأيقونات (يسار) */
.nav-icons-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr);
    font-size: 16px;
    position: relative;
    flex-shrink: 0;
}

.nav-icon-btn:hover {
    background: var(--border);
    color: var(--text);
}

/* السطر الثاني: شريط البحث */
.navbar-v2-search {
    padding: 0 12px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar-v2 {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--tr);
    min-width: 0;
}

.search-bar-v2:focus-within {
    border-color: var(--orange);
    background: var(--card);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.search-bar-v2 input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 13.5px;
    color: var(--text);
    outline: none;
    min-width: 0;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.search-bar-v2 input::placeholder {
    color: var(--text-3);
    font-size: 13px;
}

.search-bar-v2 .search-icon-btn {
    padding: 0 12px;
    background: transparent;
    border: none;
    color: var(--text-3);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-shrink: 0;
}

.search-bar-v2:focus-within .search-icon-btn {
    color: var(--orange);
}

.filter-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--tr);
}

.filter-icon-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* ═══════════════════════════════════════════
   DESKTOP RESPONSIVE & LAYOUT ENHANCEMENTS
═══════════════════════════════════════════ */
@media (min-width: 821px) {

    /* Navbar desktop toggles */
    .navbar {
        display: block !important;
    }

    .navbar-v2 {
        display: none !important;
    }

    /* Container alignment for Homepage on Desktop */
    #page-home .home-v2-wrap {
        max-width: var(--container, 1300px);
        margin: 0 auto;
        padding: 24px 20px 48px;
        gap: 32px;
    }

    /* 1. Banner Carousel on Desktop */
    .home-banner-section {
        padding: 0;
        margin-bottom: 4px;
    }

    .banner-carousel-wrap {
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    .banner-slide {
        aspect-ratio: 3.6 / 1;
        min-height: 270px;
        max-height: 320px;
    }

    .banner-content {
        padding: 36px 52px;
        gap: 32px;
    }

    .banner-title {
        font-size: 28px;
        line-height: 1.35;
    }

    .banner-subtitle {
        font-size: 13px;
    }

    .banner-cta {
        padding: 12px 26px;
        font-size: 14px;
        border-radius: 12px;
        margin-top: 12px;
    }

    .banner-image-side {
        width: 220px;
    }

    .banner-image-side img {
        max-height: 190px;
    }

    /* 2. Categories Section on Desktop */
    .home-v2-cats {
        margin: 0;
        padding: 20px 24px;
        border-radius: 20px;
        border: 1px solid var(--border);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    }

    .home-v2-cats .section-hdr-v2 {
        padding: 0 0 16px;
    }

    .home-v2-cats .section-title-v2 {
        font-size: 18px;
    }

    #home-cats-v2 {
        display: none !important;
    }

    #home-cats {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    /* 3. Featured Ads Section on Desktop */
    .home-v2-featured {
        background: transparent;
        padding-bottom: 0;
    }

    .home-v2-featured .section-hdr-v2 {
        padding: 0 0 16px;
    }

    .home-v2-featured .section-title-v2 {
        font-size: 18px;
    }

    .featured-scroll {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
        padding: 0;
        overflow-x: visible;
    }

    .feat-card {
        width: 100%;
        border-radius: 16px;
        transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    .feat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .feat-card-body {
        padding: 12px 14px 14px;
    }

    .feat-card-title {
        font-size: 13.5px;
    }

    .feat-card-price {
        font-size: 15px;
    }

    /* 4. Latest Ads Grid on Desktop */
    .home-v2-latest {
        background: transparent;
        padding-bottom: 0;
    }

    .home-v2-latest .section-hdr-v2 {
        padding: 0 0 16px;
    }

    .home-v2-latest .section-title-v2 {
        font-size: 18px;
    }

    .listings-grid-v2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 0;
    }

    /* 5. CTA Banner on Desktop */
    .post-cta-banner {
        margin: 8px 0 0;
        padding: 28px 36px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .post-cta-text {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        width: 100%;
    }

    .post-cta-text h3 {
        font-size: 20px;
        margin: 0 0 4px;
    }

    .post-cta-text p {
        font-size: 14px;
        margin: 0;
    }

    .post-cta-btn {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 12px;
        font-weight: 800;
        flex-shrink: 0;
    }
}

@media (max-width: 820px) {
    .navbar {
        display: none !important;
    }

    .navbar-v2 {
        display: block !important;
    }

    #home-cats-v2 {
        display: flex !important;
    }

    #home-cats {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════
   BANNER CAROUSEL
═══════════════════════════════════════════ */
.home-banner-section {
    padding: 8px 16px 0;
    overflow: hidden;
}

.banner-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    touch-action: pan-y;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.banner-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.banner-slide {
    min-width: 100%;
    width: 100%;
    aspect-ratio: 2.05 / 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    isolation: isolate;
    contain: paint layout;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* خلفية البانر */
.banner-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* محتوى البانر */
.banner-content {
    position: relative;
    z-index: 2;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.banner-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.banner-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.5px;
}

.banner-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--tr);
    white-space: nowrap;
    font-family: 'Cairo', sans-serif;
    margin-top: 4px;
    width: fit-content;
}

.banner-cta:hover {
    background: var(--orange-dk);
    transform: scale(1.02);
}

.banner-image-side {
    flex-shrink: 0;
    width: 130px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-image-side img {
    width: 100%;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* الـ Dots */
.banner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 0 6px;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-2);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.banner-dot.active {
    background: var(--orange);
    width: 20px;
    border-radius: 3px;
}

/* Dark mode */
body.dark .banner-title {
    color: #fff;
}

body.dark .banner-slide {
    background: var(--card);
}

/* ═══════════════════════════════════════════
   HOME V2 SECTIONS WRAPPER
═══════════════════════════════════════════ */
#page-home .home-v2-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ═══════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════ */
.section-hdr-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
}

.section-title-v2 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.section-title-v2 i {
    color: var(--orange);
    font-size: 14px;
}

.see-all-v2 {
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: transparent;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    transition: opacity 0.2s;
}

.see-all-v2:hover {
    opacity: 0.75;
}

/* ═══════════════════════════════════════════
   CATEGORIES GRID V2 (Option 3: Glassmorphism Floating Strip)
═══════════════════════════════════════════ */
.home-v2-cats {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin: 8px 14px 4px;
    padding: 4px 0 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.home-v2-cats .section-hdr-v2 {
    padding: 8px 14px 4px;
}

.home-v2-cats .section-title-v2 {
    font-size: 14px;
    font-weight: 800;
}

.cats-grid-v2 {
    display: flex;
    overflow-x: auto;
    gap: 9px;
    padding: 2px 14px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.cats-grid-v2::-webkit-scrollbar {
    display: none;
}

.cat-card-v2 {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 4px 6px;
    width: 68px;
    height: 72px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.cat-card-v2:active {
    transform: scale(0.94);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.cat-icon-v2 {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.cat-card-v2:hover .cat-icon-v2 {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.3);
}

.cat-name-v2 {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    line-height: 1.2;
}

/* "المزيد" card */
.cat-card-v2.cat-more .cat-icon-v2 {
    background: var(--bg);
}

.cat-card-v2.cat-more .cat-name-v2 {
    color: var(--text-2);
}

/* ═══════════════════════════════════════════
   FEATURED ADS — Horizontal Scroll
═══════════════════════════════════════════ */
.home-v2-featured {
    background: var(--bg);
    padding-bottom: 12px;
}

.featured-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 16px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.featured-scroll::-webkit-scrollbar {
    display: none;
}

.feat-card {
    flex-shrink: 0;
    width: 148px;
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform 0.15s;
    position: relative;
}

.feat-card:active {
    transform: scale(0.97);
}

.feat-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feat-card-img .img-placeholder-ico {
    font-size: 36px;
}

.feat-fav-btn {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-3);
    z-index: 2;
    backdrop-filter: blur(4px);
    transition: var(--tr);
}

.feat-fav-btn:hover,
.feat-fav-btn.on {
    color: #EF4444;
}

.feat-card-body {
    padding: 8px 8px 10px;
}

.feat-card-loc {
    font-size: 10px;
    color: var(--text-3);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}

.feat-card-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 5px;
}

.feat-card-price {
    font-size: 13px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}

.feat-card-price small {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-3);
}

.feat-card-time {
    font-size: 10px;
    color: var(--text-3);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════
   LATEST ADS — Grid
═══════════════════════════════════════════ */
.home-v2-latest {
    background: var(--bg);
    padding-bottom: 16px;
}

.listings-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px;
}

/* ═══════════════════════════════════════════
   FREE POST CTA BANNER
═══════════════════════════════════════════ */
.post-cta-banner {
    margin: 0 12px 16px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF8C00 0%, #F97316 50%, #FF6B35 100%);
    padding: 20px 20px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.post-cta-banner::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.post-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.post-cta-ico {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.post-cta-text {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.post-cta-text h3 {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.post-cta-text p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 10px;
    line-height: 1.5;
}

.post-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--orange);
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--tr);
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.post-cta-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS — تبسيط على الموبايل
═══════════════════════════════════════════ */
.hiw-section-v2 {
    background: var(--ink);
    padding: 24px 16px;
    margin-bottom: 0;
}

.hiw-section-v2 .section-title-v2 {
    color: #fff;
    margin-bottom: 16px;
    justify-content: center;
}

.hiw-section-v2 .section-title-v2 i {
    color: var(--orange);
}

.hiw-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hiw-item-v2 {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hiw-ico-v2 {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(249, 115, 22, 0.2);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
}

.hiw-item-v2 h3 {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 5px;
}

.hiw-item-v2 p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════
   FOOTER على الموبايل — مبسّط
═══════════════════════════════════════════ */
@media (max-width: 820px) {
    .footer {
        padding: 24px 16px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        display: block;
        margin-top: 10px;
    }

    .footer-brand p {
        font-size: 12px;
        max-width: 100%;
    }

    .footer-btm {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════════
   BOTTOM NAV — تحسينات
═══════════════════════════════════════════ */
@media (max-width: 820px) {
    body {
        padding-bottom: 70px;
    }

    .bnav-item.active {
        color: var(--orange) !important;
    }

    .bnav-item.active i {
        color: var(--orange) !important;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════ */

/* 414px */
@media (max-width: 414px) {
    .banner-title {
        font-size: 18px;
    }

    .banner-image-side {
        width: 115px;
    }

    .feat-card {
        width: 138px;
    }
}

/* 390px */
@media (max-width: 390px) {
    .navbar-v2-top {
        padding: 0 12px;
        height: 52px;
    }

    .navbar-v2-search {
        padding: 0 10px 10px;
        gap: 6px;
    }

    .banner-title {
        font-size: 16px;
    }

    .banner-content {
        padding: 14px 14px;
    }

    .banner-image-side {
        width: 105px;
    }

    .feat-card {
        width: 132px;
    }

    .cat-icon-v2 {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .cat-name-v2 {
        font-size: 11px;
    }
}

/* 375px */
@media (max-width: 375px) {
    .banner-title {
        font-size: 15px;
    }

    .banner-subtitle {
        font-size: 10px;
    }

    .banner-cta {
        font-size: 12px;
        padding: 8px 12px;
    }

    .banner-image-side {
        width: 95px;
    }

    .feat-card {
        width: 128px;
    }

    .post-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 18px 16px;
    }

    .post-cta-ico {
        width: 40px;
        height: 40px;
    }

    .post-cta-text h3 {
        font-size: 15px;
    }
}

/* 360px */
@media (max-width: 360px) {
    .nav-brand-text {
        font-size: 20px;
    }

    .navbar-v2-top {
        height: 50px;
    }

    .banner-title {
        font-size: 14px;
    }

    .banner-image-side {
        width: 85px;
    }

    .feat-card {
        width: 122px;
    }



    .cat-name-v2 {
        font-size: 11px;
    }

    .hiw-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   SKELETON للبانر والإعلانات المميزة
═══════════════════════════════════════════ */
.banner-skel {
    width: 100%;
    aspect-ratio: 2.3 / 1;
    background: linear-gradient(90deg, #e8eaf0 25%, #f5f6f9 50%, #e8eaf0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

body.dark .banner-skel {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}

.feat-card-skel {
    flex-shrink: 0;
    width: 148px;
    height: 200px;
    border-radius: 14px;
    background: linear-gradient(90deg, #e8eaf0 25%, #f5f6f9 50%, #e8eaf0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

body.dark .feat-card-skel {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}

/* ═══════════════════════════════════════════
   DARK MODE OVERRIDES
═══════════════════════════════════════════ */
body.dark .navbar-v2 {
    background: rgba(15, 23, 42, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark .search-bar-v2 {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark .search-bar-v2:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--orange);
}

body.dark .filter-icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark .cat-card-v2 {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark .feat-card {
    background: var(--card);
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark .feat-fav-btn {
    background: rgba(30, 41, 59, 0.9);
    color: var(--text-3);
}

body.dark .post-cta-banner {
    background: linear-gradient(135deg, #c2611f 0%, #d97706 50%, #eb7535 100%);
}

body.dark .nav-icon-btn {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-2);
}

body.dark .nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ════════════════════════════════════════════════════════════
   ✨ ULTRA-LIGHTWEIGHT FEATURED AD BORDER (إطار خفيف وسريع جداً)
   أداء عالي وسلس جداً بدون أي بطء أو تأثير على سرعة الموقع
════════════════════════════════════════════════════════════ */
@keyframes subtleBorderGlow {

    0%,
    100% {
        border-color: hsl(25, 95%, 53%);
        box-shadow: 0 4px 14px rgba(249, 115, 22, 0.22);
    }

    50% {
        border-color: #F59E0B;
        box-shadow: 0 6px 18px rgba(245, 158, 11, 0.38);
    }
}

.feat-card,
.lcard:has(.badge-orange),
.lcard:has(.lcard-badge.badge-orange) {
    border: 2px solid #F97316 !important;
    animation: subtleBorderGlow 2.8s infinite ease-in-out;
}