/* MerCris E4.36-R5 — public tenant header aligned with enterprise topbar shell.
   Uses the already published E4.29 store identity; never loads admin-only actions. */
body.mc-storefront .mc-topbar.mc436r5-admin-shell{
  --mc436r5-ink:#f8fbff;
  --mc436r5-subtle:#d4e0ef;
  background:var(--mc-e414-header-color,#132b47)!important;
  color:var(--mc436r5-ink)!important;
  min-height:72px;
  border-bottom:1px solid #ffffff24;
  box-shadow:0 5px 18px #0c24351a;
}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc436r5-admin-shell-inner{
  min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;
}
body.mc-storefront .mc-topbar.mc436r5-admin-shell :is(.mc-brand,.mc-brand strong,.mc-e48-brand-name,.mc-e48-brand-name strong,.mc-primary-nav a,.mc-primary-nav a svg,.mc-e415-header-search){color:var(--mc436r5-ink)!important}
body.mc-storefront .mc-topbar.mc436r5-admin-shell :is(.mc-brand small,.mc-e48-brand-name small){color:var(--mc436r5-subtle)!important;letter-spacing:.08em;font-weight:650}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-brand{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e48-logo-frame{display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#ffffff16;padding:3px;border:1px solid #ffffff24;min-width:45px;min-height:45px}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e48-logo-frame img{max-width:43px;max-height:43px;object-fit:contain}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e48-brand-name{display:grid;line-height:1.18;gap:3px}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e48-brand-name strong{font-size:clamp(.97rem,1.25vw,1.15rem);letter-spacing:-.02em;text-wrap:balance}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc436r5-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-primary-nav{display:flex;align-items:center;gap:6px}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-primary-nav a{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #ffffff2b!important;border-radius:11px;background:#ffffff0d!important;font-size:.88rem;font-weight:650;transition:background .14s}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-primary-nav a:hover{background:#ffffff22!important}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e415-header-search{border-radius:12px;border:1px solid #ffffff32;background:#ffffff12}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e415-header-search input{color:var(--mc436r5-ink)!important;background:transparent!important}
body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e415-header-search input::placeholder{color:var(--mc436r5-subtle)!important}
body.mc-storefront .mc-topbar.mc436r5-admin-shell :is(a,button,input):focus-visible{outline:3px solid #ffffff;outline-offset:2px}
/* When the browser can compute contrast dynamically, reflect light and dark published headers. */
@supports (color:contrast-color(red)){
 body.mc-storefront .mc-topbar.mc436r5-admin-shell{--mc436r5-ink:contrast-color(var(--mc-e414-header-color,#132b47));--mc436r5-subtle:contrast-color(var(--mc-e414-header-color,#132b47))}
}
@media(max-width:920px){
 body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-e415-header-search{display:none}
 body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc436r5-admin-shell-inner{gap:8px}
}
@media(max-width:620px){
 body.mc-storefront .mc-topbar.mc436r5-admin-shell{min-height:65px}
 body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc436r5-admin-shell-inner{min-height:65px}
 body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-primary-nav a{padding:7px 8px;font-size:.75rem;gap:4px}
 body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-primary-nav a svg{width:16px;height:16px}
 body.mc-storefront .mc-topbar.mc436r5-admin-shell .mc-brand small{font-size:.60rem}
}
