/* Restore the shared menu logo rules omitted by the standalone cart shell.
   Scope everything to this menu; checkout and other pages keep their styles. */
#nav-panel .brand-logo--menu {
  display: inline-block;
  width: 180px;
  max-width: 100%;
  vertical-align: middle;
  line-height: 0;
  text-decoration: none;
  border: 0;
}
#nav-panel .brand-logo--menu img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  border: 0;
}
#nav-panel .nav-panel-title:has(.brand-logo) {
  min-width: 0;
  margin-right: .5rem;
}
#nav-panel .brand-logo:focus-visible {
  outline: 2px solid #895399;
  outline-offset: 4px;
}
/* Shared top-bar.css assumes the storefront button reset. */
#nav-panel .nav-panel-close { padding: 0; flex-shrink: 0; }
#nav-panel .nav-panel-inner { overflow-x: hidden; }

/* Keep the existing localized slogan within the same 180 × 60 logo canvas. */
#nav-panel .brand-logo { position: relative; }
#nav-panel .brand-logo[hidden] { display: none !important; }
html:lang(de) #nav-panel .brand-logo > img,
html:lang(en) #nav-panel .brand-logo > img { clip-path: inset(0 0 31% 0); }
#nav-panel .brand-logo-slogan {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
#nav-panel .brand-logo-slogan text {
  fill: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 6px;
}
html:lang(de) #nav-panel .brand-logo[data-brand-slogan-language="de"] > .brand-logo-slogan,
html:lang(en) #nav-panel .brand-logo[data-brand-slogan-language="en"] > .brand-logo-slogan { display: block; }
