/* =========================================================
   MAGICSHEDS GLOBAL INNER-PAGE HEADER
   Desktop only. Home + mobile remain untouched.
   ========================================================= */

#ms-global-header{
    position:relative;
    z-index:999999;
    width:100%;
    background:rgba(255,255,255,.97);
    border-bottom:1px solid #e6ebf2;
    box-shadow:0 4px 18px rgba(15,23,42,.05);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

.ms-global-wrap{
    width:min(1240px,calc(100% - 40px));
    min-height:76px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:24px;
}

.ms-global-brand{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:220px;
    color:#0f1b34!important;
    text-decoration:none!important;
}

.ms-global-brand img{
    width:44px;
    height:44px;
    object-fit:contain;
    border-radius:9px;
}

.ms-global-brand b{
    display:block;
    font-size:20px;
    line-height:1;
    letter-spacing:-.5px;
    color:#0f1b34;
}

.ms-global-brand b span{
    color:#f97316;
}

.ms-global-brand small{
    display:block;
    margin-top:5px;
    color:#64748b;
    font-size:9px;
    font-weight:700;
}

.ms-global-menu{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
}

.ms-global-menu a{
    color:#263248!important;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
    text-decoration:none!important;
    transition:color .18s ease;
}

.ms-global-menu a:hover{
    color:#2563eb!important;
}

.ms-global-actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.ms-global-ai,
.ms-global-list{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 13px;
    border-radius:9px;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
    text-decoration:none!important;
}

.ms-global-ai{
    color:#2563eb!important;
    background:#eef5ff;
}

.ms-global-list{
    color:#fff!important;
    background:#f97316;
    box-shadow:0 7px 18px rgba(249,115,22,.2);
}

.ms-global-toggle,
.ms-global-mobile-menu{
    display:none;
}

/*
 * Hide the common Houzez desktop header shells on inner pages.
 * This prevents two navigation bars appearing.
 */
@media (min-width:700px){
    body:not(.home):not(.front-page) .header-main-wrap,
    body:not(.home):not(.front-page) .header-main,
    body:not(.home):not(.front-page) .header-v1,
    body:not(.home):not(.front-page) .header-v2,
    body:not(.home):not(.front-page) .header-v3,
    body:not(.home):not(.front-page) .header-v4,
    body:not(.home):not(.front-page) .header-v5,
    body:not(.home):not(.front-page) .header-v6,
    body:not(.home):not(.front-page) .header-desktop,
    body:not(.home):not(.front-page) .houzez-header{
        display:none!important;
    }
}

@media(max-width:1100px) and (min-width:700px){
    .ms-global-menu{gap:10px}
    .ms-global-menu a{font-size:10px}
    .ms-global-brand{min-width:180px}
    .ms-global-brand b{font-size:17px}
    .ms-global-actions{gap:5px}
    .ms-global-ai,.ms-global-list{padding:0 9px;font-size:9px}
}

@media(max-width:699px){
    #ms-global-header{display:none!important}
}
