/* Storefront header geometry. Keep theme identity and disclosure behavior intact. */
html .qem-public-shell-header .qem-site-header__account-menu-head {padding:12px 14px;}
html .qem-public-shell-header .qem-site-header__account-menu-head strong {font-size:14px;line-height:20px;}
html .qem-public-shell-header .qem-site-header__account-menu-head span {font-size:12px;line-height:18px;overflow-wrap:anywhere;}
html .qem-public-shell-header .qem-site-header__account-menu a {box-sizing:border-box;min-height:40px;padding:8px 14px;gap:10px;font-size:14px;line-height:20px;}
html .qem-public-shell-header .qem-site-header__account-menu a .qem-lucide-icon,
html .qem-public-shell-header .qem-site-header__account-menu a .qem-site-header__svg {flex:none;width:18px;height:18px;}
html .qem-public-shell-header .qem-site-header__account-menu .qem-message-menu-link {grid-template-columns:18px minmax(0,1fr) auto;column-gap:10px;}
html .qem-public-shell-header .qem-site-header__top,
html .qem-public-shell-header .qem-site-header__navrow {padding:0;}
html .qem-public-shell-header .qem-site-header__inner {
  box-sizing:border-box;width:calc(100% - 48px);max-width:1400px;margin-inline:auto;
}
html .qem-public-shell-header .qem-public-shell-header__bar {
  grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
  gap:32px;min-height:80px;padding:12px 0;
}
html .qem-public-shell-header .qem-site-header__brand {min-width:0;}
html .qem-public-shell-header .qem-site-header__brand-logo {max-width:185px;max-height:36px;}
html .qem-public-shell-header .qem-public-shell-header__search,
html .qem-public-shell-header .qem-public-shell-header__search .qe-searchhub,
html .qem-public-shell-header .qem-public-shell-header__search .qe-searchhub-form {width:100%;max-width:none;min-width:0;}
html .qem-public-shell-header .qe-searchhub-field {min-height:44px;}
html .qem-public-shell-header .qem-site-header__actions--account-header {gap:8px;align-items:center;}
html .qem-public-shell-header .qem-site-header__action--icon {width:44px;min-width:44px;min-height:44px;padding:0;}
html .qem-public-shell-header .qem-site-header__action-icon {position:relative;}
html .qem-public-shell-header .qem-site-header__action-icon .qem-site-header__svg,
html .qem-public-shell-header .qem-site-header__action-icon .qem-lucide-icon {width:24px;height:24px;}
/* Group account identity behind a short divider without changing disclosure behavior. */
html .qem-public-shell-header .qem-site-header__account {position:relative;margin-left:12px;padding-left:20px;}
html .qem-public-shell-header .qem-site-header__account::before {content:"";position:absolute;left:0;top:50%;height:24px;width:1px;transform:translateY(-50%);background:#e2e8f0;pointer-events:none;}
html .qem-public-shell-header .qem-site-header__account-button--avatar {box-sizing:border-box;gap:12px;min-height:48px;padding:4px 12px 4px 4px;border:1px solid transparent;border-radius:28px;transition:background-color .2s,border-color .2s;}
html .qem-public-shell-header .qem-site-header__account-button--avatar:hover,
html .qem-public-shell-header .qem-site-header__account-button--avatar[aria-expanded="true"] {background:#f8fafc;border-color:#e2e8f0;}
html .qem-public-shell-header .qem-site-header__account-button--avatar:focus-visible,
html .qem-public-shell-header .qem-site-header__action--icon:focus-visible {outline:2px solid currentColor;outline-offset:3px;}
html .qem-public-shell-header .qem-site-header__avatar {box-sizing:border-box;width:40px;height:40px;flex:0 0 40px;border:1px solid #e2e8f0;box-shadow:0 0 0 2px #fff;font-size:15px;font-weight:600;}
/* Existing uploads have no photo/logo type: contain preserves every image's full bounds. */
html .qem-public-shell-header .qem-site-header__avatar img {box-sizing:border-box;object-fit:contain;padding:3px;}
html .qem-public-shell-header .qem-site-header__account-copy {gap:2px;line-height:1.2;}
html .qem-public-shell-header .qem-site-header__account-eyebrow {font-size:11px;font-weight:500;letter-spacing:.5px;text-transform:uppercase;}
html .qem-public-shell-header .qem-site-header__account-name {max-width:150px;font-size:14px;}
html .qem-public-shell-header .qem-site-header__account-caret .qem-site-header__svg,
html .qem-public-shell-header .qem-site-header__account-caret .qem-lucide-icon {width:16px;height:16px;}
html .qem-public-shell-header .qem-site-header__action--icon {border-radius:50%;transition:background-color .2s;}
html .qem-public-shell-header .qem-site-header__action--icon:hover {background:#f1f5f9;}
html .qem-public-shell-header .qem-site-header__inner--nav {min-height:50px;padding:0;align-items:center;}
html .qem-public-shell-header .qem-public-shell-nav__links {gap:32px;align-items:center;}
html .qem-public-shell-header .qem-public-shell-nav__links > a,
html .qem-public-shell-header .qem-site-header__collection-trigger,
html .qem-public-shell-header .qem-mega-menu__trigger {font-size:14px;min-height:36px;padding-block:0;}
@media(max-width:980px) {
  html .qem-public-shell-header .qem-public-shell-header__bar {grid-template-columns:minmax(150px,185px) auto minmax(0,1fr) auto;gap:16px;}
  html .qem-public-shell-header .qem-site-header__actions--account-header {gap:8px;}
  html .qem-public-shell-header .qem-site-header__account-button--avatar {gap:0;}
  html .qem-public-shell-header .qem-site-header__account {margin-left:4px;padding-left:12px;}
  html .qem-public-shell-header .qem-site-header__account-button--avatar {padding:4px;}
}
@media(max-width:980px) {
  html .qem-public-shell-header .qem-public-shell-header__bar {grid-template-columns:minmax(0,1fr) auto auto;gap:10px 12px;min-height:0;padding:12px 0;}
}
@media(max-width:520px) {
  html .qem-public-shell-header .qem-site-header__inner {width:calc(100% - 24px);}
  html .qem-public-shell-header .qem-site-header__brand-logo {max-width:150px;max-height:32px;}
}

@media(min-width:981px) and (max-width:1180px){html .qem-public-shell-header .qem-public-shell-nav__links{gap:20px}html .qem-public-shell-header .qem-public-shell-header__bar{gap:20px}}

/* Header bell only: approved accent blue; numerical account/page/cart badges stay intact. */
html .qem-public-shell-header .qem-site-header__action .qem-site-header__action-icon .qem-header-notification-dot {display:block;position:absolute;top:0;right:0;box-sizing:border-box;width:8px;height:8px;border:1px solid #fff;border-radius:50%;background:#2f5f8f;pointer-events:none;}
