/* Administrative module controls — shared, independent of storefront. */
.ei-admin-module-nav{display:flex!important;flex-wrap:wrap;gap:7px;align-items:center;margin:18px 0 22px!important}
.ei-admin-module-nav .ei-module-link,.ei-admin-module-nav .ei-module-logout{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;padding:11px 14px!important;border:0!important;border-radius:8px!important;background:#a48799!important;color:#fff!important;text-decoration:none!important;font:400 16px/1.35 Arial,sans-serif!important;white-space:nowrap;cursor:pointer}
.ei-admin-module-nav .ei-module-link[aria-current=page]{background:#743f62!important}.ei-admin-module-nav .ei-module-logout{background:#555!important}
.ei-standalone-nav{width:100%;max-width:1200px;margin-left:auto!important;margin-right:auto!important}
button.ei-unified-refresh{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:43px;padding:10px 13px!important;background:#fff!important;border:1px solid #dbcbd5!important;border-radius:9px!important;color:#743f62!important;font:600 15px/1.3 Arial,sans-serif!important;cursor:pointer}
button.ei-unified-refresh:not(:has(svg))::before{content:"↻";font-size:16px;line-height:1}
button.ei-unified-refresh:disabled{opacity:.6;cursor:wait}
button.ei-redundant-refresh{display:none!important}
.ei-standalone-refresh{margin-left:auto}
.ei-admin-module-nav a:focus-visible,.ei-unified-refresh:focus-visible{outline:3px solid #ac6596;outline-offset:2px}
@media(max-width:600px){.ei-admin-module-nav .ei-module-link,.ei-admin-module-nav .ei-module-logout{font-size:14px!important;min-height:40px;padding:8px 10px!important}.ei-standalone-refresh{margin-left:0}}

.ei-standalone-nav{justify-content:flex-start;position:relative;z-index:1;padding:0!important;background:none!important;border:0!important}.ei-standalone-nav [hidden]{display:none!important}.ei-standalone-nav .ei-module-link:hover{background:#743f62!important}.ei-standalone-nav .ei-module-link[aria-current=page]{font-weight:600!important}

/* One header geometry across React and static admin pages. */
:root{--ei-admin-header-height:76px}
header.ei-admin-header{position:fixed!important;inset:0 0 auto!important;z-index:80!important;height:var(--ei-admin-header-height)!important;min-height:0!important;width:100%!important;box-sizing:border-box!important;margin:0!important;padding:0!important;display:block!important;background:#fffdfa!important;border:0!important;border-bottom:1px solid #e6ddea!important;color:#342234!important;box-shadow:none!important}
.ei-admin-header-inner{height:100%;max-width:1200px;margin:auto;padding:0 0;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}
.ei-admin-header .ei-admin-brand{display:flex;align-items:center;flex-shrink:0}
.ei-admin-header .ei-admin-brand img{display:block;width:165px!important;height:auto!important;max-height:58px!important;object-fit:contain}
.ei-admin-header .ei-admin-store-link{color:#743f62!important;font:400 15px/1.4 Arial,sans-serif!important;text-decoration:none!important}
.ei-admin-header .ei-admin-store-link:hover{text-decoration:underline!important}
.ei-admin-header a:focus-visible{outline:3px solid #ac6596;outline-offset:4px;border-radius:4px}
body:has(>header.ei-admin-header){padding-top:var(--ei-admin-header-height)!important}
main.ei-admin-layout{padding-top:calc(var(--ei-admin-header-height) + 8px)!important}
body:has(>header.ei-admin-header)>main{max-width:1240px!important;padding:8px 20px 40px!important;box-sizing:border-box}
body:has(>header.ei-admin-header)>main#pim{max-width:1240px!important}
.ei-module-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0 12px}
.ei-module-title h1{margin:6px 0}.ei-module-title p{margin:6px 0}
body:has(>header.ei-admin-header) .ei-standalone-nav{margin-top:18px!important;margin-bottom:24px!important}
body:has(>header.ei-admin-header) .intro{position:relative;padding-top:14px!important}
body:has(>header.ei-admin-header) .intro>.ei-standalone-refresh{margin-top:12px}
@media(min-width:900px){body:has(>header.ei-admin-header) .intro>.ei-standalone-refresh{position:absolute;right:0;top:14px;margin-top:0}body:has(>header.ei-admin-header) .intro>h1{padding-right:140px}}
@media(max-width:1240px){.ei-admin-header-inner{padding:0 20px}}
@media(max-width:600px){:root{--ei-admin-header-height:62px}.ei-admin-header-inner{padding:0 14px}.ei-admin-header .ei-admin-brand img{width:130px!important;max-height:46px!important}.ei-admin-header .ei-admin-store-link{font-size:14px!important}body:has(>header.ei-admin-header)>main{padding:4px 14px 30px!important}.ei-module-title h1{font-size:26px}}

/* Global admin shell: independent from the lazily loaded React modules. */
body.ei-global-admin-shell{padding-top:var(--ei-admin-header-height)!important}
body.ei-global-admin-shell #root header.ei-admin-header,
body.ei-global-admin-shell #root header.ei-admin-inner-header{display:none!important}
body.ei-global-admin-shell #root main.ei-admin-layout,
body.ei-global-admin-shell #root main.ei-admin-shell-content{padding-top:8px!important}
body.ei-global-admin-shell > #ei-global-admin-header{display:block!important;visibility:visible!important;opacity:1!important}
body.ei-global-admin-shell #root{min-height:calc(100vh - var(--ei-admin-header-height))}

#ei-extra-module-nav{margin:-15px 0 22px!important;justify-content:flex-start}#ei-extra-module-nav[hidden]{display:none!important}.ei-admin-header-inner>.ei-admin-store-link{margin-left:auto}
