murmur-site-header {
  --mgh-ink: #20352f;
  --mgh-paper: #fffcf6;
  --mgh-coral: #eb6249;
  --mgh-yellow: #f3cc5d;
  display: block;
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  color: var(--mgh-ink);
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 9px 30px #1e30291a;
}

murmur-site-header * { box-sizing: border-box; }

.mgh-shell {
  background: var(--mgh-paper);
  border-bottom: 1px solid #20352f24;
}

.mgh-strip {
  position: relative;
  min-height: 32px;
  padding: 0 max(28px, calc(50vw - 770px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  color: #fffaf1;
  background: var(--mgh-coral);
  border-bottom: 3px solid var(--mgh-yellow);
  box-shadow: 0 4px 14px #241f1a17;
  font: 800 7.5px/1 var(--font-mono, "Space Mono"), monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mgh-strip i {
  position: absolute;
  left: 50%;
  color: var(--mgh-yellow);
  font-style: normal;
  font-size: 11px;
  transform: translateX(-50%);
}

.mgh-strip span:last-child { opacity: .94; }

.mgh-nav {
  min-height: 82px;
  padding: 0 max(28px, calc(50vw - 770px));
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  background: #fffcf6f2;
}

.mgh-brand {
  width: max-content;
  min-width: 190px;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: var(--mgh-ink);
  text-decoration: none;
}

.mgh-lockup {
  width: 175px;
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mgh-lockup img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 3px rgba(32, 53, 47, .13));
}

.mgh-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.mgh-link {
  position: relative;
  padding: 34px 0 30px;
  cursor: pointer;
  touch-action: manipulation;
  color: #52605a;
  font: 900 8.5px/1 var(--font-mono, "Space Mono"), monospace;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.mgh-link::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 19px;
  left: 50%;
  height: 3px;
  background: var(--mgh-coral);
  border-radius: 99px;
  transition: right .25s cubic-bezier(.2, .75, .3, 1), left .25s cubic-bezier(.2, .75, .3, 1);
}

.mgh-link:hover, .mgh-link.is-active { color: var(--mgh-ink); }
.mgh-link:hover::after, .mgh-link.is-active::after { right: 0; left: 0; }
.mgh-link.is-active::before {
  content: "✦";
  position: absolute;
  top: 20px;
  left: -12px;
  color: var(--mgh-coral);
  font-size: 8px;
}

.mgh-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mgh-search { position: relative; }
.mgh-search-trigger {
  width: 42px;
  height: 42px;
  border: 1px solid #20352f24;
  border-radius: 50%;
  background: #fffaf7;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.mgh-search-trigger span {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid var(--mgh-ink);
  border-radius: 50%;
}

.mgh-search-trigger span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -2px;
  width: 7px;
  height: 2px;
  background: var(--mgh-ink);
  transform: rotate(45deg);
}

.mgh-search-trigger:hover, .mgh-search-trigger.is-open { background: var(--mgh-yellow); }

.mgh-pro, .mgh-cart {
  min-height: 42px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 7.5px/1 var(--font-mono, "Space Mono"), monospace;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.mgh-pro {
  padding: 0 13px;
  gap: 8px;
  color: #46544e;
  background: #fff0e8;
  border: 1px solid #eb624980;
}

.mgh-pro i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mgh-coral);
  box-shadow: 0 0 0 5px #eb62491e;
}

.mgh-pro-short { display: none; }
.mgh-cart {
  min-width: 116px;
  padding: 0 13px 0 16px;
  justify-content: center;
  gap: 15px;
  color: #fff;
  background: var(--mgh-ink);
}

.mgh-cart b {
  min-width: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mgh-ink);
  background: var(--mgh-yellow);
  font-size: 11px;
}

.mgh-cart:hover { background: #315047; }
.mgh-mobile { display: none; }

.mgh-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 130;
  width: min(600px, calc(100vw - 30px));
  padding: 21px;
  background: #fffaf1;
  border: 1px solid #20352f38;
  border-radius: 22px;
  box-shadow: 0 22px 55px #20352f36;
}

.mgh-search-panel[hidden] { display: none; }
.mgh-search-heading { display: grid; gap: 6px; }
.mgh-search-heading span {
  color: var(--mgh-coral);
  font: 900 7px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mgh-search-heading strong { font-size: 24px; line-height: 1.05; letter-spacing: -.04em; }
.mgh-search-heading small, .mgh-empty p { color: #69756f; font-size: 12px; }
.mgh-search-form {
  height: 52px;
  margin: 17px 0 12px;
  border: 1px solid #20352f42;
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: 40px 1fr 34px;
  align-items: center;
}

.mgh-search-form i {
  position: relative;
  justify-self: center;
  width: 14px;
  height: 14px;
  border: 2px solid var(--mgh-ink);
  border-radius: 50%;
}

.mgh-search-form i::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -2px;
  width: 6px;
  height: 2px;
  background: var(--mgh-ink);
  transform: rotate(45deg);
}

.mgh-search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.mgh-search-form button { border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.mgh-results-label {
  padding: 8px 2px;
  color: #77817c;
  font: 900 7px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.mgh-search-results > a {
  min-height: 63px;
  padding: 11px 5px;
  color: var(--mgh-ink);
  border-top: 1px solid #20352f1d;
  display: grid;
  grid-template-columns: 1fr 26px;
  gap: 3px 10px;
  text-decoration: none;
}

.mgh-search-results > a > span {
  color: var(--mgh-coral);
  font: 800 6.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.mgh-search-results > a > strong { font-size: 14px; }
.mgh-search-results > a > b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--mgh-coral);
  font-size: 18px;
}

.mgh-search-results > a:hover { background: #f3cc5d26; }
.mgh-empty { padding: 16px 4px; border-top: 1px solid #20352f24; }
.mgh-empty a {
  color: var(--mgh-coral);
  font: 900 8px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1240px) {
  .mgh-nav { grid-template-columns: 1fr auto; min-height: 74px; }
  .mgh-brand { min-width: 0; height: 74px; }
  .mgh-lockup { width: 160px; }
  .mgh-links { display: none; }
  .mgh-mobile {
    min-height: 42px;
    padding: 0 18px;
    background: #f7f2e8fa;
    border-bottom: 1px solid #1f2d2721;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mgh-mobile::-webkit-scrollbar { display: none; }
  .mgh-mobile .mgh-link {
    flex: none;
    min-height: 40px;
    padding: 0 13px;
    background: #fff;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 7.5px;
  }
  .mgh-mobile .mgh-link::after,
  .mgh-mobile .mgh-link::before { display: none; }
  .mgh-mobile .mgh-link.is-active { color: var(--mgh-ink); background: var(--mgh-yellow); }
}

@media (max-width: 760px) {
  .mgh-strip {
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 7.5px;
    line-height: 1.25;
    white-space: normal;
  }
  .mgh-strip i,
  .mgh-strip span:last-child { display: none; }
  .mgh-nav { min-height: 70px; padding: 0 14px; gap: 10px; }
  .mgh-brand { min-width: 0; height: 70px; }
  .mgh-lockup { width: 150px; }
  .mgh-actions { gap: 6px; }
  .mgh-pro { min-width: 46px; width: 46px; padding: 0; }
  .mgh-pro-full { display: none; }
  .mgh-pro-short { display: inline; font-size: 7px; }
  .mgh-cart { min-width: 54px; width: 54px; padding: 0; justify-content: center; }
  .mgh-cart span { display: none; }
  .mgh-mobile {
    min-height: 48px;
    padding-inline: 10px;
  }
  .mgh-mobile .mgh-link { min-height: 40px; font-size: 7px; }
  .mgh-search-panel { position: fixed; top: 120px; right: 15px; }
}

@media (max-width: 500px) {
  .mgh-pro { display: none; }
  .mgh-lockup { width: 138px; }
  .mgh-search-trigger { width: 42px; height: 42px; }
}
