/* ========== فونت ========== */
@font-face {
    font-family: "dana-fanum-regular";
    src: url('../fonts/dana-fanum-regular.woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "dana-fanum-regular";
}

/* ========== حذف هایلایت آبی موبایل ========== */
* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
}

/* برای تمام المان‌های قابل کلیک */
button,
a,
.nav-item,
.icon-btn,
.offer-btn,
.map-cta-btn,
.category-item,
.main-category-card,
.sub-category-item,
.featured-card,
.plan-card-btn,
.pixpro-btn-primary,
.pixpro-btn-secondary,
.close-cards-btn,
.location-action-btn,
.location-refresh-btn,
.see-all-link,
.sidebar-menu-item button,
.sidebar-menu-item a,
.nearby-card-btn,
.banner-link,
.social-link,
.back-btn,
.close-sidebar,
.slider-btn,
.custom-slider-btn,
.offers-slider-btn {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

/* ========== انیمیشن کلیک نرم برای تمام المان‌ها ========== */
button,
a,
.nav-item,
.icon-btn,
.offer-btn,
.map-cta-btn,
.category-item,
.main-category-card,
.sub-category-item,
.featured-card,
.plan-card-btn,
.pixpro-btn-primary,
.pixpro-btn-secondary,
.close-cards-btn,
.location-action-btn,
.location-refresh-btn,
.see-all-link,
.sidebar-menu-item button,
.sidebar-menu-item a,
.nearby-card-btn,
.banner-link,
.social-link,
.back-btn,
.close-sidebar,
.slider-btn,
.custom-slider-btn,
.offers-slider-btn {
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease !important;
    cursor: pointer !important;
}

    /* انیمیشن کلیک (فشرده شدن) */
    button:active,
    a:active,
    .nav-item:active,
    .icon-btn:active,
    .offer-btn:active,
    .map-cta-btn:active,
    .category-item:active,
    .main-category-card:active,
    .sub-category-item:active,
    .featured-card:active,
    .plan-card-btn:active,
    .pixpro-btn-primary:active,
    .pixpro-btn-secondary:active,
    .close-cards-btn:active,
    .location-action-btn:active,
    .location-refresh-btn:active,
    .see-all-link:active,
    .sidebar-menu-item button:active,
    .sidebar-menu-item a:active,
    .nearby-card-btn:active,
    .banner-link:active,
    .social-link:active,
    .back-btn:active,
    .close-sidebar:active,
    .slider-btn:active,
    .custom-slider-btn:active,
    .offers-slider-btn:active {
        transform: scale(0.96) !important;
        opacity: 0.8 !important;
    }

    /* برای دکمه‌هایی که نباید فشرده شوند */
    .nav-item.active:active {
        transform: translateY(-3px) scale(0.98) !important;
    }

    /* برای کارت‌ها و لینک‌های بزرگ */
    .main-category-card:active,
    .offer-card:active,
    .nearby-card:active {
        transform: scale(0.98) translateY(-2px) !important;
    }

    /* انیمیشن ریپل برای دکمه اصلی */
    .btn-pro-primary:active,
    .pixpro-btn-primary:active,
    .pro-plan-btn:active {
        transform: scale(0.95) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* انیمیشن برای دکمه‌های سایدبار */
    .sidebar-menu-item button:active,
    .sidebar-menu-item a:active {
        transform: scale(0.97) translateX(-3px) !important;
    }

    /* انیمیشن برای دکمه‌های نوبار */
    .nav-item:active {
        transform: translateY(-2px) scale(0.95) !important;
    }

    .nav-item.active:active {
        transform: translateY(-1px) scale(0.96) !important;
    }

    /* حذف outline برای تمام المان‌ها */
    button:focus,
    a:focus,
    input:focus,
    textarea:focus {
        outline: none !important;
    }

body {
    background: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

/* ========== تنظیمات عرض پویا برای تمام دیوایس‌ها ========== */

/* ریست کردن تنظیمات اولیه */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

/* کانتینر موبایل - عرض و ارتفاع پویا */
.mobile-app {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 82, 212, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    /* عرض پیش‌فرض: تمام صفحه */
    width: 100%;
    max-width: 100%;
    /* ارتفاع پویا */
    height: 100vh;
    max-height: none;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* برای تمام دیوایس‌هایی که عرض صفحه تا 500px است */
@media (max-width: 500px) {

    html,
    body {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        height: 100%;
        width: 100%;
    }

    .mobile-app {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        margin: 0;
        overflow: hidden;
    }

    .main-content {
        height: calc(100% - 130px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body {
        padding: 0;
        background: #0f172a;
    }

        body.dark {
            background: #020617;
        }
}

/* برای دیوایس‌های با عرض بیشتر از 500px (تبلت و دسکتاپ) */
@media (min-width: 501px) {
    .mobile-app {
        height: 100vh;
        max-height: none;
        position: fixed;
        max-width: 420px;
        width: 100%;
        border-radius: 36px;
        margin: 20px auto;
    }

    body {
        position: relative;
        overflow: hidden;
    }

        body.dark {
            background: #020617;
        }
}

/* برای صفحه‌های بسیار بزرگ (دسکتاپ عریض) */
@media (min-width: 1200px) {
    .mobile-app {
        max-width: 450px;
    }
}

/* ========== محتوای اصلی ========== */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 20px 18px;
    scroll-behavior: smooth;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .main-content::-webkit-scrollbar {
        display: none;
    }

/* ========== محتوای اصلی - اسکرول داخلی ========== */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 20px 18px;
    scroll-behavior: smooth;
    /* اسکرول بار مخفی */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .main-content::-webkit-scrollbar {
        display: none;
    }

/* ========== مخفی کردن تمام اسکرول بارها در کل اپلیکیشن ========== */

/* مخفی کردن اسکرول بار افقی در تمام المان‌ها */
.nearby-slider-track,
.offers-slider-track,
.custom-slider-track,
.cards-3d-wrapper,
.category-list {
    scrollbar-width: none;
    /* فایرفاکس */
    -ms-overflow-style: none;
    /* IE */
}

    /* برای کروم، سافاری، اپرا */
    .nearby-slider-track::-webkit-scrollbar,
    .offers-slider-track::-webkit-scrollbar,
    .custom-slider-track::-webkit-scrollbar,
    .cards-3d-wrapper::-webkit-scrollbar,
    .category-list::-webkit-scrollbar {
        display: none;
    }

/* مخفی کردن اسکرول بار اصلی محتوا (عمودی) */
.main-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .main-content::-webkit-scrollbar {
        display: none;
    }

/* مخفی کردن اسکرول بار سایدبارها */
.sidebar,
.second-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .sidebar::-webkit-scrollbar,
    .second-sidebar::-webkit-scrollbar {
        display: none;
    }

/* تم دارک */
body.dark {
    background: #0a0f1e;
}

    body.dark .mobile-app {
        background: rgba(10, 15, 30, 0.94);
    }

/* محتوای اصلی */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 20px 18px;
    scroll-behavior: smooth;
}

/* ========== هدر ========== */

.header {
    padding: 16px 18px 10px 18px;
    border-bottom: 1px solid rgba(0, 82, 212, 0.15);
    position: relative;
    top: 0;
    flex-shrink: 0;
    z-index: 100;
    background: inherit;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-text {
    width: 128px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    background: rgba(0, 82, 212, 0.1);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px;
    color: #0052D4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-city-row {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.header-city-btn {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(0, 82, 212, 0.18);
    background: linear-gradient(135deg, rgba(0,82,212,0.08), rgba(67,100,247,0.05));
    color: #0052D4;
    border-radius: 16px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

    .header-city-btn span {
        color: #1e293b;
    }

body.dark .header-city-btn {
    background: rgba(0, 82, 212, 0.14);
    border-color: rgba(111, 177, 252, 0.22);
}

    body.dark .header-city-btn span {
        color: #e2e8f0;
    }

.search-expandable.open {
    max-height: 80px;
    opacity: 1;
    margin-top: 12px;
}

.icon-btn:hover {
    background: #0052d440;
    transform: scale(1.08);
}

.icon-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.4);
    transform: scale(1.02);
}

.icon-btn:active {
    transform: scale(0.95);
}

/* جستجو */
.search-expandable {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 0;
    position: relative;
    z-index: 99;
}

    .search-expandable.open {
        max-height: 80px;
        opacity: 1;
        margin-top: 12px;
    }

.search-box {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 16px;
    border: 1px solid rgba(0, 82, 212, 0.25);
    transition: all 0.3s;
}

    .search-box:focus-within {
        border-color: #0052D4;
        box-shadow: 0 0 0 2px oklch(48.738% 0.21128 261.061 / 0.2);
    }

body.dark .search-box {
    background: rgba(20, 25, 45, 0.6);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    font-size: 14px;
    outline: none;
    color: inherit;
}

    .search-box input:focus {
        outline: none;
    }

.search-box button {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .search-box button:hover {
        opacity: 0.9;
        transform: scale(0.96);
        background: linear-gradient(135deg, #003399, #3355cc);
    }

    .search-box button:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.4);
    }

/* ========== اسلایدر اختصاصی - نسخه تک اسلاید کامل ========== */
.custom-slider {
    width: 100%;
    position: relative;
    margin-bottom: 16px;
    direction: rtl;
}

.custom-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #e2e8f0;
}

.custom-slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: auto;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.custom-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

    .custom-slide img {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        object-fit: contain;
        border-radius: 0;
    }

.custom-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.68);
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: background 0.2s ease, opacity 0.2s ease !important;
}

    .custom-slider-btn:hover {
        background: rgba(15, 23, 42, 0.86);
    }

    .custom-slider-btn:active {
        transform: translateY(-50%) scale(0.94) !important;
    }

.custom-prev {
    right: 10px;
}

.custom-next {
    left: 10px;
}

.custom-slider-dots {
    display: none;
}

.custom-dot-wrapper,
.custom-dot,
.custom-dot-progress {
    display: none;
}

body.dark .custom-slider-container {
    background: #1e293b;
}

@media (max-width: 400px) {
    .custom-slider {
        margin-bottom: 14px;
    }

    .custom-slider-container {
        border-radius: 14px;
    }

    .custom-slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .custom-prev {
        right: 8px;
    }

    .custom-next {
        left: 8px;
    }
}

/* ========== نوبار پایین - نسخه 5 گزینه سه‌بعدی ========== */


body.dark .bottom-nav {
    background: rgba(15, 20, 35, 0.85);
}

.nav-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-item span {
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s;
    opacity: 0.7;
}

/* ========== حالت Active - سه بعدی ========== */
.nav-item.active {
    color: #0052D4;
    transform: translateY(-8px);
}


    .nav-item.active span {
        opacity: 1;
        font-weight: 600;
        color: #0052D4;
    }

/* افکت hover غیر فعال */
.nav-item:not(.active):hover {
    transform: translateY(-4px);
}

    .nav-item:not(.active):hover .nav-icon-wrapper {
        background: rgba(0, 82, 212, 0.1);
        transform: scale(1.05);
    }

    .nav-item:not(.active):hover span {
        opacity: 0.9;
        color: #0052D4;
    }

/* ========== تم دارک ========== */
body.dark .nav-item.active {
    color: #6FB1FC;
}

    body.dark .nav-item.active span {
        color: #6FB1FC;
    }

body.dark .nav-item:not(.active):hover span {
    color: #6FB1FC;
}

/* ========== ریسپانسیو برای صفحه‌های کوچک ========== */
@media (max-width: 400px) {
    .bottom-nav {
        padding: 6px 8px 12px 8px;
    }

    .nav-icon-wrapper {
        width: 42px;
        height: 42px;
    }

        .nav-icon-wrapper i {
            font-size: 18px;
        }

    .nav-item span {
        font-size: 9px;
    }

    .nav-item.active {
        transform: translateY(-6px);
    }

        .nav-item.active .nav-icon-wrapper {
            transform: scale(1.05);
        }
}

/* انیمیشن ریپل برای کلیک */
.nav-item:active .nav-icon-wrapper {
    transform: scale(0.95);
    transition: transform 0.1s;
}

/* خط زیرین برای active */
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #0052D4, #4364F7);
    border-radius: 3px;
    animation: activeLine 0.3s ease;
}

body.dark .nav-item.active::after {
    background: linear-gradient(90deg, #6FB1FC, #0052D4);
}

@keyframes activeLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 20px;
        opacity: 1;
    }
}

/* ========== سایدبار اصلی ========== */
.sidebar {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 28px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 82, 212, 0.1);
}

body.dark .sidebar {
    background: rgba(15, 20, 35, 0.98);
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 82, 212, 0.2);
    position: relative;
}

    .sidebar-header .logo-side img {
        height: 40px;
        width: auto;
    }

.close-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 82, 212, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: #0052D4;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close-sidebar:hover {
        background: rgba(0, 82, 212, 0.25);
        transform: rotate(90deg) scale(1.05);
    }

    .close-sidebar:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.4);
    }

/* آیتم‌های منو */
.sidebar-menu-item {
    margin-bottom: 8px;
}

    .sidebar-menu-item button,
    .sidebar-menu-item a {
        width: 100%;
        text-align: right;
        background: rgba(0, 82, 212, 0.04);
        border: none;
        font-size: 15px;
        font-weight: 500;
        padding: 12px 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #1e293b;
        transition: all 0.3s;
        text-decoration: none;
        border-radius: 12px;
        gap: 12px;
    }

/* ========== گزینه‌های صاحبان مشاغل در سایدبار ========== */
.business-options-section {
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 82, 212, 0.15);
    border-bottom: 1px solid rgba(0, 82, 212, 0.15);
}

.business-options-divider {
    text-align: center;
    margin-bottom: 12px;
}

    .business-options-divider span {
        font-size: 11px;
        color: #64748b;
        background: rgba(0, 82, 212, 0.08);
        padding: 4px 12px;
        border-radius: 20px;
        font-weight: 500;
    }

body.dark .business-options-divider span {
    color: #94a3b8;
    background: rgba(0, 82, 212, 0.15);
}

.business-menu-item {
    margin-bottom: 8px;
}

    .business-menu-item button {
        background: linear-gradient(135deg, rgba(0, 82, 212, 0.08), rgba(67, 100, 247, 0.05));
        border: 1px solid rgba(0, 82, 212, 0.2);
    }

        .business-menu-item button:hover {
            background: linear-gradient(135deg, rgba(0, 82, 212, 0.15), rgba(67, 100, 247, 0.1));
            border-color: rgba(0, 82, 212, 0.4);
        }

    .business-menu-item .item-content i {
        color: #0052D4;
    }

body.dark .business-menu-item button {
    background: linear-gradient(135deg, rgba(0, 82, 212, 0.15), rgba(67, 100, 247, 0.08));
}

body.dark .business-menu-item .item-content i {
    color: #6FB1FC;
}

body.dark .sidebar-menu-item button,
body.dark .sidebar-menu-item a {
    color: #e2e8f0;
    background: rgba(0, 82, 212, 0.08);
}

.sidebar-menu-item button:hover,
.sidebar-menu-item a:hover {
    background: rgba(0, 82, 212, 0.15);
    transform: translateX(-5px);
    padding-right: 20px;
}

.sidebar-menu-item button:focus,
.sidebar-menu-item a:focus {
    outline: none;
    background: rgba(0, 82, 212, 0.2);
    box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.3);
}

.sidebar-menu-item button .item-content,
.sidebar-menu-item a .item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

    .sidebar-menu-item button .item-content i,
    .sidebar-menu-item a .item-content i {
        width: 24px;
        font-size: 18px;
        color: #0052D4;
        transition: transform 0.2s;
    }

.sidebar-menu-item button:hover .item-content i,
.sidebar-menu-item a:hover .item-content i {
    transform: scale(1.1);
}

/* دکمه‌های پایین سایدبار */
.sidebar-footer-btns {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-btn {
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
}

.side-btn-primary {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 82, 212, 0.3);
}

    .side-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 82, 212, 0.4);
    }

    .side-btn-primary:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.5);
    }

.side-btn-outline {
    background: transparent;
    border: 2px solid #0052D4;
    color: #0052D4;
}

    .side-btn-outline:hover {
        background: rgba(0, 82, 212, 0.1);
        transform: translateY(-2px);
    }

    .side-btn-outline:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.4);
    }

/* ========== سایدبار دوم ========== */
.second-sidebar {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 28px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 82, 212, 0.1);
}

body.dark .second-sidebar {
    background: rgba(15, 20, 35, 0.98);
}

.second-sidebar.open {
    right: 0;
}

.second-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 82, 212, 0.2);
}

.back-btn {
    background: rgba(0, 82, 212, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: #0052D4;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .back-btn:hover {
        background: rgba(0, 82, 212, 0.25);
        transform: translateX(5px) scale(1.05);
    }

    .back-btn:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.4);
    }

.second-header h4 {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .category-list a {
        text-decoration: none;
        font-size: 14px;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        color: #1e293b;
        transition: all 0.3s;
        border-radius: 12px;
        background: rgba(0, 82, 212, 0.03);
    }

/* ========== استایل آیتم‌های سایدبار دوم ========== */
.second-sidebar .category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s;
    color: #1e293b;
}

    .second-sidebar .category-list a:hover {
        background: rgba(0, 82, 212, 0.1);
        transform: translateX(-4px);
    }

    .second-sidebar .category-list a .item-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .second-sidebar .category-list a .item-content i {
            width: 24px;
            font-size: 18px;
            color: #0052D4;
        }

    .second-sidebar .category-list a .chevron-icon {
        color: #94a3b8;
        font-size: 14px;
        transition: transform 0.3s;
    }

    .second-sidebar .category-list a:hover .chevron-icon {
        transform: translateX(-3px);
        color: #0052D4;
    }

/* تم دارک */
body.dark .second-sidebar .category-list a {
    color: #e2e8f0;
}

    body.dark .second-sidebar .category-list a .item-content i {
        color: #6FB1FC;
    }

/* ========== سایدبار سوم (مشابه سایدبار دوم) ========== */
.third-sidebar {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1100;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 28px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 82, 212, 0.1);
}

body.dark .third-sidebar {
    background: rgba(15, 20, 35, 0.98);
}

.third-sidebar.open {
    right: 0;
}

/* هدر سایدبار سوم */
.third-sidebar .second-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 82, 212, 0.2);
}

.third-sidebar .back-btn {
    background: rgba(0, 82, 212, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: #0052D4;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .third-sidebar .back-btn:hover {
        background: rgba(0, 82, 212, 0.25);
        transform: translateX(5px) scale(1.05);
    }

    .third-sidebar .back-btn:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.4);
    }

.third-sidebar .second-header h4 {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

/* لیست دسته‌بندی سایدبار سوم */
.third-sidebar .category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .third-sidebar .category-list a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        text-decoration: none;
        font-size: 14px;
        padding: 12px 16px;
        border-radius: 12px;
        transition: all 0.3s;
        color: #1e293b;
        background: rgba(0, 82, 212, 0.03);
    }

body.dark .third-sidebar .category-list a {
    color: #e2e8f0;
    background: rgba(0, 82, 212, 0.08);
}

.third-sidebar .category-list a i:first-child {
    width: 24px;
    font-size: 16px;
    color: #0052D4;
    transition: transform 0.2s;
}

body.dark .third-sidebar .category-list a i:first-child {
    color: #6FB1FC;
}

/* hover effect */
.third-sidebar .category-list a:hover {
    background: rgba(0, 82, 212, 0.12);
    transform: translateX(-4px);
    padding-right: 20px;
}

    .third-sidebar .category-list a:hover i:first-child {
        transform: scale(1.1);
    }

/* focus effect */
.third-sidebar .category-list a:focus {
    outline: none;
    background: rgba(0, 82, 212, 0.2);
    box-shadow: 0 0 0 2px rgba(0, 82, 212, 0.3);
}

/* ========== دسته بندی های محبوب ========== */
.popular-categories {
    margin-bottom: 28px;
}

.categories-icon {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    animation: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
}

.category-item {
    background: #fff;
    border: 1px solid #e8eef7;
    border-radius: 16px;
    padding: 12px 6px;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration:none;
}

.category-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-icon i {
        font-size: 21px;
        color: #1261df;
    }

.category-name {
    font-size: 11px;
    font-weight: 800;
    color: #1e293b;
}

.category-count {
    font-size: 9px;
    color: #94a3b8;
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, #0052D4, #4364F7);
}

    .category-item:hover .category-icon i {
        color: white;
        transform: scale(1.1);
    }




.category-item:hover .category-name {
    color: #0052D4;
}

/* تم دارک */
body.dark .category-name {
    color: #e2e8f0;
}

body.dark .category-icon {
    background: rgba(0, 82, 212, 0.15);
}

    body.dark .category-icon i {
        color: #6FB1FC;
    }

body.dark .category-item:hover .category-name {
    color: #6FB1FC;
}

/* ریسپانسیو */
@media (max-width: 400px) {
    .categories-grid {
        gap: 16px 8px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

        .category-icon i {
            font-size: 20px;
        }
}

/* ========== بخش پیشنهاد شگفت‌انگیز ========== */
.amazing-offer-section {
    margin-bottom: 28px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse-icon 2s infinite;
}

    .title-icon i {
        color: white;
        font-size: 18px;
    }

@keyframes pulse-icon {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.section-title h2 {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.title-badge {
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    color: white;
}

.see-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 12px;
    color: #0052D4;
    transition: all 0.3s;
}

    .see-all-link:hover {
        gap: 10px;
    }

/* اسلایدر */
.offers-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
}

.offers-slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}

/* کارت پیشنهاد */
.offer-card {
    min-width: 280px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 82, 212, 0.1);
}

body.dark .offer-card {
    background: rgba(20, 25, 45, 0.95);
    border-color: rgba(0, 82, 212, 0.2);
}

.offer-card:hover {
    transform: translateY(-8px);
}

.offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.offer-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

    .offer-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
}

.offer-content {
    padding: 16px;
}

.offer-category {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

    .offer-category i {
        font-size: 12px;
        color: #0052D4;
    }

    .offer-category span {
        font-size: 11px;
        color: #64748b;
    }

.offer-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

body.dark .offer-title {
    color: #f1f5f9;
}

.offer-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

    .offer-location i {
        font-size: 10px;
        color: #94a3b8;
    }

    .offer-location span {
        font-size: 11px;
        color: #64748b;
    }

.offer-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    gap: 3px;
}

    .stars i {
        font-size: 11px;
        color: #fbbf24;
    }

.rating-count {
    font-size: 10px;
    color: #94a3b8;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.old-price {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.new-price {
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.offer-btn {
    width: 100%;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border: none;
    padding: 10px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

    .offer-btn:hover {
        gap: 12px;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 82, 212, 0.4);
    }

/* دکمه‌های اسلایدر */
.offers-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    color: #0052D4;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

body.dark .offers-slider-btn {
    background: #1e293b;
    color: #6FB1FC;
}

.offers-slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: linear-gradient(135deg, #0052D4, #4364F7);
    color: white;
}

.offers-prev-btn {
    right: 5px;
    top: 145px;
}

.offers-next-btn {
    left: 5px;
    top: 145px;
}

/* دایره‌های راهنما */
.offers-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.offers-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 82, 212, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

    .offers-dot.active {
        width: 24px;
        border-radius: 4px;
        background: linear-gradient(135deg, #0052D4, #4364F7);
    }

body.dark .offers-dot {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 400px) {
    .offers-prev-btn {
        right: 5px;
    }

    .offers-next-btn {
        left: 5px;
    }

    .offers-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ========== کارت CTA نقشه ========== */
.map-cta-card {
    position: relative;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 20px;
}

    .map-cta-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 82, 212, 0.3);
    }

.map-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path fill="white" d="M10,10 L20,5 L30,10 L25,20 L15,20 Z M50,50 L60,45 L70,50 L65,60 L55,60 Z M80,30 L90,25 L95,35 L85,40 Z M30,70 L40,65 L45,75 L35,80 Z"/></svg>');
    background-repeat: repeat;
    background-size: 30px;
    opacity: 0.15;
    pointer-events: none;
}

.map-cta-content {
    position: relative;
    padding: 32px 24px;
    text-align: center;
    color: white;
    z-index: 2;
}

    .map-cta-content i {
        font-size: 32px;
        display: inline-block;
    }

@keyframes mapFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ========== کارت CTA نقشه - نسخه مرتب و بهینه ========== */
.map-cta-card {
    position: relative;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 82, 212, 0.2);
}

    .map-cta-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 30px rgba(0, 82, 212, 0.3);
    }

.map-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path fill="white" d="M10,10 L20,5 L30,10 L25,20 L15,20 Z M50,50 L60,45 L70,50 L65,60 L55,60 Z M80,30 L90,25 L95,35 L85,40 Z M30,70 L40,65 L45,75 L35,80 Z"/></svg>');
    background-repeat: repeat;
    background-size: 28px;
    opacity: 0.12;
    pointer-events: none;
}

.map-cta-content {
    position: relative;
    padding: 28px 20px;
    text-align: center;
    color: white;
    z-index: 2;
}

    .map-cta-content i {
        font-size: 32px;
        display: inline-block;
    }

    .map-cta-content h3 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .map-cta-content p {
        font-size: 12px;
        opacity: 0.9;
        margin-bottom: 20px;
        line-height: 1.5;
    }

.map-cta-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

    .map-cta-stats span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 500;
        background: rgba(255, 255, 255, 0.18);
        padding: 6px 14px;
        border-radius: 40px;
        backdrop-filter: blur(4px);
    }

    .map-cta-stats i {
        font-size: 13px;
        margin: 0;
    }

.map-cta-btn {
    background: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    color: #0052D4;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

    .map-cta-btn:hover {
        gap: 12px;
        transform: scale(1.02);
        background: #f8fafc;
    }

/* تم دارک */
body.dark .map-cta-stats span {
    background: rgba(255, 255, 255, 0.1);
}

body.dark .map-cta-btn {
    background: #1e293b;
    color: #6FB1FC;
}

/* ========== بخش نزدیک به من - نسخه آبی اصلاح شده ========== */

/* آیکون اختصاصی بخش */
.nearby-icon {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    animation: none;
}

/* کارت وضعیت موقعیت */
.location-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 82, 212, 0.2);
    transition: all 0.3s;
}

body.dark .location-card {
    background: linear-gradient(145deg, rgba(20, 25, 45, 0.95), rgba(20, 25, 45, 0.85));
}

.location-status {
    display: flex;
    align-items: center;
    gap: 14px;
}

.location-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.location-text {
    flex: 1;
}

    .location-text p {
        font-size: 14px;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 4px;
    }

    .location-text span {
        font-size: 11px;
        color: #64748b;
    }

body.dark .location-text p {
    color: #f1f5f9;
}

.location-action-btn {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .location-action-btn:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0, 82, 212, 0.3);
    }

/* دکمه به‌روزرسانی */
.location-refresh-btn {
    background: rgba(0, 82, 212, 0.1);
    border: 1px solid rgba(0, 82, 212, 0.3);
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 12px;
    color: #0052D4;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .location-refresh-btn:hover {
        background: rgba(0, 82, 212, 0.2);
        transform: translateY(-2px);
    }

/* ========== اسلایدر کسب‌وکارهای نزدیک ========== */
.nearby-slider-container {
    display: block !important;
    margin-top: 8px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    padding: 16px;
}

body.dark .nearby-slider-container {
    background: rgba(20, 25, 45, 0.6);
}

.nearby-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nearby-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

    .nearby-title i {
        color: #0052D4;
        margin-left: 6px;
    }

.nearby-count {
    font-size: 11px;
    background: rgba(0, 82, 212, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    color: #0052D4;
}

/* اسلایدر ترک - اسکرول افقی */
.nearby-slider-track {
    display: flex !important;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 12px 4px;
}

    .nearby-slider-track::-webkit-scrollbar {
        display: none;
        height: 4px;
    }

    .nearby-slider-track::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .nearby-slider-track::-webkit-scrollbar-thumb {
        background: #0052D4;
        border-radius: 10px;
    }

/* کارت کسب‌وکار نزدیک */
.nearby-card {
    min-width: 240px;
    width: 240px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

body.dark .nearby-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}

.nearby-card:hover {
    transform: translateY(-4px);
}

.nearby-card-image {
    height: 110px;
    position: relative;
    overflow: hidden;
}

    .nearby-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

.nearby-card:hover .nearby-card-image img {
    transform: scale(1.05);
}

.nearby-distance {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nearby-card-content {
    padding: 12px;
}

    .nearby-card-content h4 {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 4px;
        color: #1e293b;
    }

body.dark .nearby-card-content h4 {
    color: #f1f5f9;
}

.nearby-card-content p {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 8px;
}

.nearby-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

    .nearby-card-rating i {
        font-size: 10px;
        color: #fbbf24;
    }

    .nearby-card-rating span {
        font-size: 10px;
        color: #94a3b8;
    }

.nearby-card-btn {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border: none;
    width: 100%;
    padding: 8px;
    border-radius: 40px;
    color: white;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

    .nearby-card-btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

/* مخفی کردن اسکرول بار افقی اسلایدر */
.nearby-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* برای فایرفاکس */
    -ms-overflow-style: none;
    /* برای IE */
    padding: 8px 4px 12px 4px;
}

    /* برای کروم، سافاری و اپرا */
    .nearby-slider-track::-webkit-scrollbar {
        display: none;
    }

/* اطمینان از اینکه کارت‌ها به درستی نمایش داده شوند */
.nearby-card {
    min-width: 240px;
    width: 240px;
    flex-shrink: 0;
}

/* دکمه‌های ناوبری - فعال */
.nearby-slider-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.nearby-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 82, 212, 0.2);
    color: #0052D4;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

    .nearby-nav-btn:hover {
        background: linear-gradient(135deg, #0052D4, #4364F7);
        color: white;
        transform: scale(1.05);
    }

/* دکمه‌های ناوبری اسلایدر */
.nearby-slider-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.nearby-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 82, 212, 0.2);
    color: #0052D4;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

    .nearby-nav-btn:hover {
        background: linear-gradient(135deg, #0052D4, #4364F7);
        color: white;
        transform: scale(1.05);
    }

/* پیام خطا */
.location-error {
    text-align: center;
    padding: 32px 20px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 24px;
    margin-top: 8px;
}

    .location-error i {
        font-size: 40px;
        color: #ef4444;
        margin-bottom: 12px;
        display: block;
    }

    .location-error p {
        font-size: 13px;
        color: #64748b;
        margin-bottom: 16px;
    }

.retry-location-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

/* ========== بنر ثبت کسب و کار ========== */
.business-banner {
    margin: 20px 0 24px 0;
    position: relative;
}

.banner-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border-radius: 16px;
    padding: 12px 16px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: bannerPulse 2s infinite;
}

@keyframes bannerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 82, 212, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 82, 212, 0.2);
        transform: scale(1.01);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 82, 212, 0);
        transform: scale(1);
    }
}

.banner-link:hover {
    transform: translateY(-2px);
    animation: none;
    box-shadow: 0 8px 25px rgba(0, 82, 212, 0.3);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    z-index: 2;
    gap: 12px;
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    line-height: 1.4;
}

.banner-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    display: block;
}

.banner-link:hover {
    transform: translateY(-4px);
}

.banner-store-icon {
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

    .banner-store-icon i {
        font-size: 32px;
        color: rgba(255, 255, 255, 0.75);
    }

.banner-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* تم دارک - بدون تغییر خاصی (همان گرادیان آبی زیبا است) */
body.dark .banner-link {
    background: linear-gradient(135deg, #0052D4, #4364F7);
}

/* ========== فوتر ========== */
.app-footer {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(12px);
    border-radius: 28px 28px 20px 20px;
    padding: 24px 20px 16px 20px;
    margin-top: 20px;
    margin-bottom: 8px;
    border: 1px solid rgba(0, 82, 212, 0.08);
    transition: all 0.3s;
}

body.dark .app-footer {
    background: linear-gradient(145deg, rgba(20, 25, 45, 0.95), rgba(20, 25, 45, 0.9));
    border-color: rgba(0, 82, 212, 0.15);
}

/* بخش لوگو و برند */
.footer-brand {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 82, 212, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

    .footer-logo i {
        font-size: 28px;
        background: linear-gradient(135deg, #0052D4, #4364F7, #6FB1FC);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .footer-logo span {
        font-size: 20px;
        font-weight: 800;
        background: linear-gradient(135deg, #0052D4, #4364F7);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.footer-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

body.dark .footer-desc {
    color: #94a3b8;
}

/* شبکه‌های اجتماعی */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    text-decoration: none;
    background: rgba(0, 82, 212, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0052D4;
    transition: all 0.3s;
    font-size: 16px;
}

    .social-link:hover {
        background: linear-gradient(135deg, #0052D4, #4364F7);
        color: white;
        transform: translateY(-3px);
    }

body.dark .social-link {
    background: rgba(0, 82, 212, 0.2);
    color: #6FB1FC;
}

/* لینک‌های سریع */
.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links-column {
    flex: 1;
    min-width: 100px;
}

    .footer-links-column h4 {
        font-size: 14px;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 12px;
        position: relative;
        display: inline-block;
    }

body.dark .footer-links-column h4 {
    color: #f1f5f9;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border-radius: 2px;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
}

    .footer-links-column ul li {
        margin-bottom: 10px;
    }

        .footer-links-column ul li a {
            text-decoration: none;
            font-size: 12px;
            color: #64748b;
            transition: all 0.2s;
            display: inline-block;
        }

body.dark .footer-links-column ul li a {
    color: #94a3b8;
}

.footer-links-column ul li a:hover {
    color: #0052D4;
    transform: translateX(-3px);
}

body.dark .footer-links-column ul li a:hover {
    color: #6FB1FC;
}

/* کپی‌رایت */
.footer-copyright {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 82, 212, 0.08);
}

    .footer-copyright p {
        font-size: 11px;
        color: #94a3b8;
        margin-bottom: 4px;
    }

    .footer-copyright strong {
        background: linear-gradient(135deg, #0052D4, #4364F7);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.guest-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 60vh;
}

.guest-icon i {
    font-size: 80px;
    color: #0052D4;
    opacity: 0.5;
    margin-bottom: 20px;
}

.guest-container h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

body.dark .guest-container h3 {
    color: #f1f5f9;
}

.guest-container p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
}



/* ========== مدال انتخاب شهر ========== */
.city-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .city-modal-overlay.open {
        display: flex;
    }

.city-modal {
    background: white;
    border-radius: 24px;
    width: 85%;
    max-width: 340px;
    max-height: 70vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

body.dark .city-modal {
    background: #1e293b;
}

.city-modal-header {
    padding: 16px;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

    .city-modal-header h3 {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.close-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .close-modal-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }

.city-modal-search {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.city-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    font-size: 13px;
    outline: none;
    background: #f9fafb;
}

body.dark .city-search-input {
    background: #0f172a;
    border-color: #334155;
    color: white;
}

.city-search-input:focus {
    border-color: #0052D4;
}

.city-modal-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
}

.city-item-modal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 4px;
}

    .city-item-modal:hover {
        background: rgba(0, 82, 212, 0.08);
    }

    .city-item-modal.active {
        background: rgba(0, 82, 212, 0.12);
    }

    .city-item-modal i:first-child {
        width: 28px;
        height: 28px;
        background: rgba(0, 82, 212, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0052D4;
        font-size: 12px;
    }

    .city-item-modal .city-info {
        flex: 1;
    }

    .city-item-modal .city-name {
        font-size: 14px;
        font-weight: 500;
        color: #1e293b;
    }

body.dark .city-item-modal .city-name {
    color: #f1f5f9;
}

.city-item-modal .city-count {
    font-size: 10px;
    color: #64748b;
}

.city-item-modal .fa-check {
    color: #0052D4;
    font-size: 14px;
}

.city-modal-footer {
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 10px;
}

.reset-city-btn-modal {
    flex: 1;
    background: #f1f5f9;
    border: none;
    padding: 10px;
    border-radius: 25px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .reset-city-btn-modal:hover {
        background: #e2e8f0;
    }

.confirm-city-btn {
    flex: 1;
    background: linear-gradient(135deg, #0052D4, #4364F7);
    border: none;
    padding: 10px;
    border-radius: 25px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .confirm-city-btn:hover {
        opacity: 0.9;
        transform: scale(0.98);
    }

/* حذف لودینگ اضافی */
.loading-spinner {
    text-align: center;
    padding: 20px;
    color: #0052D4;
}

/* ========== نوتیفیکیشن توست ========== */
.city-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: white;
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    direction: rtl;
}

    .city-toast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

.city-toast-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.city-toast-error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.city-toast-loading {
    background: linear-gradient(135deg, #0052D4, #4364F7);
    color: white;
}

.city-toast-icon i {
    font-size: 20px;
}

.city-toast-message {
    font-size: 14px;
    font-weight: 500;
}

body.dark .city-toast {
    background: #1e293b;
    color: white;
}

.city-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

    .city-toast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

.footer-social img {
    width: 36px;
    height: 36px;
    text-decoration: none;
    background: rgba(0, 82, 212, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0052D4;
    transition: all 0.3s;
}

.city-selected-icon {
    opacity: 0;
}

.city-item-modal.active .city-selected-icon {
    opacity: 1;
}

.city-item-modal.active {
    border-color: #0052D4;
    background: rgba(0, 82, 212, 0.08);
}

.bottom-nav {
    position: fixed;
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
    z-index: 1100;
    width: 100%;
    max-width: 520px;
    height: 76px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid #e8eef7;
    box-shadow: 0 -8px 25px rgba(15,23,42,.07);
}

    .bottom-nav .nav-item {
        position: relative;
        flex: 1;
        min-width: 0;
        height: 58px;
        border: 0;
        background: transparent;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 700;
        transition: color .25s ease, transform .25s ease;
    }

    .bottom-nav .nav-icon-wrapper {
        width: 32px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 11px;
        font-size: 18px;
        transition: background .25s ease, color .25s ease, transform .25s ease;
    }

    .bottom-nav .nav-item.active {
        color: #2563eb;
    }

        .bottom-nav .nav-item.active .nav-icon-wrapper {
            background: #edf4ff;
            color: #2563eb;
            transform: translateY(-2px);
        }

        .bottom-nav .nav-item.active::after {
            content: "";
            position: absolute;
            right: 50%;
            bottom: -2px;
            transform: translateX(50%);
            width: 20px;
            height: 3px;
            border-radius: 999px;
            background: #2563eb;
        }

    /* دکمه مرکزی خانه */

    .bottom-nav .nav-item-main {
        margin-top: -27px;
    }

        .bottom-nav .nav-item-main .nav-icon-wrapper {
            width: 52px;
            height: 52px;
            border-radius: 18px;
            background: linear-gradient(135deg,#1261df,#4168f5);
            color: #fff;
            font-size: 20px;
            box-shadow: 0 10px 24px rgba(37,99,235,.3);
        }

        .bottom-nav .nav-item-main.active .nav-icon-wrapper {
            background: linear-gradient(135deg,#1261df,#4168f5);
            color: #fff;
            transform: translateY(-2px);
        }

        .bottom-nav .nav-item-main.active::after {
            bottom: -1px;
        }

@media (max-width:380px) {
    .bottom-nav {
        padding-right: 5px;
        padding-left: 5px;
    }

        .bottom-nav .nav-item {
            font-size: 9px;
        }

        .bottom-nav .nav-icon-wrapper {
            font-size: 16px;
        }

        .bottom-nav .nav-item-main .nav-icon-wrapper {
            width: 48px;
            height: 48px;
        }
}

/* =====================================================
   هدر جدید: سرچ بزرگ + انتخاب شهر داخل سرچ
===================================================== */

.header-search-row {
    margin-top: 12px;
}

.header-search-form {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    direction: rtl;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 82, 212, 0.2);
    border-radius: 15px;
    padding: 3px 5px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

    .header-search-form:focus-within {
        border-color: rgba(0, 82, 212, 0.55);
        box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.08);
        background: #ffffff;
    }

.header-search-submit {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #0052d4;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search-form input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 7px;
    color: #1e293b;
    font-size: 12px;
    text-align: right;
}

    .header-search-form input::placeholder {
        color: #94a3b8;
    }

.header-search-clear {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 0;
    border-radius: 9px;
    background: rgba(100, 116, 139, 0.08);
    color: #64748b;
    font-size: 11px;
    align-items: center;
    justify-content: center;
}

    .header-search-clear:not([hidden]) {
        display: flex;
    }

.header-search-divider {
    width: 1px;
    height: 24px;
    flex: 0 0 1px;
    margin: 0 5px;
    background: rgba(100, 116, 139, 0.18);
}

.header-search-city {
    max-width: 118px;
    min-width: 90px;
    height: 38px;
    border: 0;
    border-radius: 11px;
    background: rgba(0, 82, 212, 0.08);
    color: #0052d4;
    padding: 0 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

    .header-search-city > span {
        max-width: 65px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #334155;
    }

.header-search-city-arrow {
    font-size: 8px;
}

.header-search-city:hover {
    background: rgba(0, 82, 212, 0.13);
}

/* دارک */

body.dark .header-search-form {
    background: rgba(20, 25, 45, 0.72);
    border-color: rgba(111, 177, 252, 0.2);
}

    body.dark .header-search-form:focus-within {
        background: rgba(20, 25, 45, 0.95);
        border-color: rgba(111, 177, 252, 0.5);
    }

    body.dark .header-search-form input {
        color: #f1f5f9;
    }

body.dark .header-search-city {
    background: rgba(0, 82, 212, 0.18);
}

    body.dark .header-search-city > span {
        color: #e2e8f0;
    }

/* موبایل کوچک */

@media (max-width: 370px) {

    .header-search-form input {
        font-size: 11px;
        padding: 0 4px;
    }

    .header-search-city {
        min-width: 82px;
        max-width: 98px;
        padding: 0 6px;
        gap: 4px;
    }

        .header-search-city > span {
            max-width: 55px;
            font-size: 10px;
        }

    .header-search-divider {
        margin: 0 2px;
    }
}

/*==================================
Popular Categories V2
==================================*/

.popular-categories {
    margin: 24px 0;
}

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
}

.section-title-modern {
    display: flex;
    flex-direction: column;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-title-modern h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: #1e293b;
}

.section-title-modern p {
    margin-top: 7px;
    margin-bottom: 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.see-all-modern {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    transition: .25s;
}

    .see-all-modern:hover {
        gap: 11px;
    }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

.category-item {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 16px 8px;
    text-decoration: none;
    transition: .25s;
}

    .category-item:hover {
        transform: translateY(-5px);
        border-color: #c9dcff;
        box-shadow: 0 10px 25px rgba(37,99,235,.08);
    }

.category-icon {
    width: 54px;
    height: 54px;
    margin: auto;
    border-radius: 16px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-icon i {
        color: #2563eb;
        font-size: 22px;
    }

.category-name {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

@media(max-width:480px) {

    .section-title-modern h2 {
        font-size: 18px;
    }

    .section-title-modern p {
        font-size: 11px;
    }

    .categories-grid {
        gap: 10px;
    }

    .category-item {
        padding: 14px 6px;
    }

    .category-icon {
        width: 46px;
        height: 46px;
    }

        .category-icon i {
            font-size: 19px;
        }
}
.section-header-modern {
    margin-bottom: 18px;
}

.section-title-modern {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

    .section-title-modern::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -8px;
        width: 42px;
        height: 3px;
        border-radius: 999px;
        background: #2563eb;
    }
#blogDots{
    display:none!important;
}

.header-search-row {
    position: relative;
}

.header-search-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 300;
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 7px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .search-result-item:hover,
    .search-result-item.active {
        background: #f1f6ff;
    }

.search-result-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    overflow: hidden;
    background: #edf4ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .search-result-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.search-result-content {
    min-width: 0;
    flex: 1;
}

    .search-result-content strong {
        display: block;
        margin-bottom: 4px;
        color: #1e293b;
        font-size: 12px;
        font-weight: 900;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-result-content span {
        display: block;
        color: #94a3b8;
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.search-result-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #f59e0b;
    font-size: 10px;
}

.search-empty-state {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 11px;
}

body.dark .header-search-results {
    background: #111827;
    border-color: rgba(111, 177, 252, 0.15);
}

body.dark .search-result-item:hover,
body.dark .search-result-item.active {
    background: rgba(37, 99, 235, 0.13);
}

body.dark .search-result-content strong {
    color: #f1f5f9;
}