/* ===== PXl Mobile center call button - stronger rules ===== */
#pxl-header-mobile .pxl-header-mobile-default {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}


/* آیکون داخل دکمه */
.pxl-mobile-middle-call .call-icon {
    font-size: 18px;
	    color: #fff !important;

}

/* place orders to ensure middle element stays centered between logo & menu */
#pxl-header-mobile .pxl-header-branding { order: 1; }
#pxl-header-mobile .pxl-mobile-middle-call { order: 2; flex: 0 0 auto; }
#pxl-header-mobile #pxl-nav-mobile { order: 3; }

/* visual for the button: no background, inline, with icon and centered text */
#pxl-header-mobile .pxl-mobile-middle-call {
    background: #4da3ff; /* آبی ملایم */
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 15px;
    color: #fff !important;
    font-weight: 600;
    gap: 8px;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 6px !important;
    height: 40px !important;              /* اگر خواستی کم/زیاد کن */
    line-height: 1 !important;
    color: #fff !important;            /* رنگ متن از والد بگیرد */
    text-decoration: none !important;
      /* بدون پس‌زمینه */
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* کوچک کردن لوگو/منو در موبایل (اختیاری) تا فضای کافی باشه */
#pxl-header-mobile .pxl-header-branding img {
    max-height: 40px;
    width: auto;
}

/* فقط در موبایل نمایش بده ( <= 767px ) */
@media (min-width: 768px) {
    #pxl-header-mobile .pxl-mobile-middle-call {
        display: none !important;
    }
}

/* اگر قالب استایل‌های دیگری میزنه و وسط نمیشه، از این خط استفاده کن:
   آن را فقط برای رفع مشکل نگه دار؛ در صورت امکان حذفش کن */
#pxl-header-mobile .pxl-header-branding,
#pxl-header-mobile #pxl-nav-mobile { flex: 0 0 auto !important; }
#pxl-header-mobile .pxl-mobile-middle-call { margin: 0 auto !important; }
