/* Wesam global header logo - v27-38 */
.wesam-brand-with-logo{display:inline-flex!important;align-items:center!important;gap:8px!important;vertical-align:middle!important;flex-wrap:nowrap!important}
.wesam-brand-inline-logo{width:44px;height:44px;min-width:44px;object-fit:contain;border-radius:12px;background:#fff;padding:3px;box-shadow:0 6px 18px rgba(15,27,76,.12);vertical-align:middle;display:inline-block!important}
.sidebar-header .wesam-brand-inline-logo,.topbar .wesam-brand-inline-logo,header .wesam-brand-inline-logo{width:42px;height:42px;min-width:42px;border-radius:12px}

.wesam-header-full-logo{max-width:210px;height:auto;object-fit:contain;display:block}
@media(max-width:720px){.wesam-brand-inline-logo{width:36px;height:36px;min-width:36px;border-radius:10px}.wesam-header-full-logo{max-width:150px}}

/* v27-37: no text-only waw logo in headers */
.wesam-brand-mark-img,.brand-logo.wesam-brand-mark-img,.logo.wesam-brand-mark-img{object-fit:contain!important;background:#fff!important;padding:3px!important;color:transparent!important;font-size:0!important;line-height:0!important}
.brand-logo:empty,.logo:empty{display:none!important}

/* v27-39: لا تعرض شعار حرف و المكرر بجانب اسم الموقع في هيدر الهاتف/التطبيق */
.toprow .wesam-brand-inline-logo,
.app .toprow .wesam-brand-inline-logo,
header .toprow .wesam-brand-inline-logo,
.mobile-header .wesam-brand-inline-logo,
.m-header .wesam-brand-inline-logo{display:none!important}
.brand-icon{display:none!important}
