/* Site header (mushei-header.js): ivory bar, brand-font menu, oxblood for the current page,
   the mushei.store cart on the right. Replaces the per-page headers. */
html.has-mushei-header #header,
html.has-mushei-header .mg-store > .mg-nav { display: none !important; }
html.has-mushei-header:not(.is-home) body { padding-top: var(--mh-height); }
/* Le ruban conserve le template et ne prend de place que lorsqu'il est activé. */
:root { --mh-bar: 76px; --mh-promo-size: 40px; --mh-promo: 0px; --mh-height: calc(var(--mh-bar) + var(--mh-promo)); }
html.has-header-promo { --mh-promo: var(--mh-promo-size); }

.mushei-header {
  position: fixed;
  inset: 0 0 auto;
  /* Under the MUSHEI loading / transition screens (z-index 50) and the intro, above the page. */
  z-index: 45;
  display: grid;
  /* Menu on the left, logo in the centre, cart on the right. */
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "nav brand cart" "promo promo promo";
  grid-template-rows: var(--mh-bar) var(--mh-promo);
  column-gap: 24px;
  align-items: center;
  height: var(--mh-height);
  padding: 0 clamp(16px, 3vw, 48px);
  background: rgb(243 235 221 / .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(126 94 69 / .22);
  color: var(--mushei-noir);
  font-family: var(--font-mushei-brand);
  font-weight: 800;
  transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease;
}
.mushei-header a { color: inherit; text-decoration: none; }

/* Promo tape under the bar, on every page that shows the header: oxblood, ivory capitals,
   the Mushei logo between the repeats, scrolling right to left without end. */
.mh-promo {
  grid-area: promo;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0 calc(-1 * clamp(16px, 3vw, 48px));
  overflow: hidden;
  background: var(--mushei-oxblood);
  color: var(--mushei-ivoire);
  border-top: 1px solid var(--mushei-noir);
  font-family: var(--font-mushei-brand);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.mh-promo[hidden] { display: none; }
.mh-promo-track { display: flex; width: max-content; flex: none; animation: mh-promo-scroll var(--mh-promo-duration, 32s) linear infinite; will-change: transform; }
.mh-promo-half { display: flex; align-items: center; flex: none; width: max-content; }
.mh-promo-item { padding: 0 22px; }
.mh-promo-logo { flex: none; width: 24px; height: 19px; background: currentColor; -webkit-mask: url('/assets/Real%20logo.svg') center / contain no-repeat; mask: url('/assets/Real%20logo.svg') center / contain no-repeat; }
.mh-promo:hover .mh-promo-track { animation-play-state: paused; }
/* Over an oxblood section (mushei-header.js): ivory tape, oxblood letters. */
.mh-promo { transition: background-color 300ms ease, color 300ms ease; }
.mh-promo.is-on-oxblood { background: var(--mushei-ivoire); color: var(--mushei-oxblood); }
@keyframes mh-promo-scroll { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .mh-promo-track { animation: none; } }

.mh-brand { grid-area: brand; justify-self: center; display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .28em; }
.mh-logo { width: 30px; height: 24px; background: currentColor; -webkit-mask: url('/assets/Real%20logo.svg') center / contain no-repeat; mask: url('/assets/Real%20logo.svg') center / contain no-repeat; }

.mh-nav { grid-area: nav; justify-self: start; min-width: 0; }
.mh-nav ul { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.mh-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* The brand double rule draws under the hovered / current link. */
.mh-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(currentColor, currentColor) top / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) bottom / 100% .75px no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms cubic-bezier(.22, 1, .36, 1);
}
.mh-nav a:hover::after, .mh-nav a:focus-visible::after, .mh-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mh-nav a[aria-current="page"] { color: var(--mushei-oxblood); }
.mh-nav a:focus-visible, .mh-cart:focus-visible, .mh-brand:focus-visible, .mh-toggle:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
@media (min-width: 1760px) {
  .mh-nav ul { gap: 26px; }
  .mh-nav a { font-size: 11px; letter-spacing: .16em; }
}

/* Right of the bar: "Rechercher" (icon + word, no frame) beside the cart. */
.mh-actions { grid-area: cart; justify-self: end; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 28px); }
.mh-search {
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 2px;
  border: 0; background: none; color: inherit; cursor: pointer;
  font: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.mh-search-icon { flex: none; width: 20px; height: 20px; transition: transform 300ms cubic-bezier(.22, 1, .36, 1); }
.mh-search-label { position: relative; }
.mh-search-label::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms cubic-bezier(.22, 1, .36, 1); }
.mh-search:hover .mh-search-label::after, .mh-search:focus-visible .mh-search-label::after { transform: scaleX(1); }
.mh-search:hover .mh-search-icon { transform: scale(1.08); }
.mh-search[aria-busy="true"] { cursor: progress; }
.mh-search:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.mh-cart {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.mh-cart:hover { background: var(--mushei-oxblood); border-color: var(--mushei-oxblood); color: var(--mushei-ivoire); }
.mh-bag { width: 20px; height: 20px; background: currentColor; -webkit-mask: url('/assets/icons/bag-mushei.svg') center / contain no-repeat; mask: url('/assets/icons/bag-mushei.svg') center / contain no-repeat; }
.mh-toggle { display: none; }

/* Home: hidden over the full-screen opening film; it slides in when the film becomes the MUSHEI letters. */
.mushei-header { transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease, transform 500ms cubic-bezier(.22, 1, .36, 1), opacity 400ms ease, visibility 0s; }
.mushei-header.is-over-media { transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 400ms ease, opacity 300ms ease, visibility 0s 400ms; }
html[data-theme="dark"] .mushei-header:not(.is-over-media) { background: rgb(27 23 20 / .94); color: var(--mushei-ivoire); border-color: rgb(164 143 123 / .25); }
html[data-theme="dark"] .mushei-header:not(.is-over-media) .mh-nav a[aria-current="page"] { color: var(--mushei-taupe); }

/* Narrow screens: logo, cart and a "Menu" button that opens the links below the bar. */
@media (max-width: 1339px) {
  .mushei-header { grid-template-areas: "toggle brand cart" "promo promo promo"; }
  .mh-toggle { grid-area: toggle; justify-self: start; }
  .mh-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
  }
  /* Two-line icon that turns into a cross when the menu is open. */
  .mh-toggle { justify-content: center; width: 40px; padding: 0; }
  .mh-burger { position: relative; display: block; width: 24px; height: 10px; }
  .mh-burger span {
    position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor;
    transition: transform 400ms cubic-bezier(.22, 1, .36, 1), top 400ms cubic-bezier(.22, 1, .36, 1);
  }
  .mh-burger span:first-child { top: 0; }
  .mh-burger span:last-child { top: calc(100% - 1.5px); }
  .mushei-header.is-open .mh-burger span { top: calc(50% - .75px); }
  .mushei-header.is-open .mh-burger span:first-child { transform: rotate(45deg); }
  .mushei-header.is-open .mh-burger span:last-child { transform: rotate(-45deg); }
  .mh-cart-label { display: none; }
  .mh-cart { padding: 9px; }
  .mh-search-label { display: none; }
  .mh-search { justify-content: center; width: 40px; padding: 0; }
  .mh-actions { gap: 6px; }
  /* Floating black card under the bar: giant uppercase links, [01] indexes, socials at the bottom. */
  .mh-nav {
    position: fixed;
    top: calc(var(--mh-height) + 8px);
    left: 8px;
    right: 8px;
    z-index: 2;
    max-height: calc(100svh - var(--mh-height) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(28px, 7vw, 48px) clamp(22px, 7vw, 56px) clamp(24px, 6vw, 40px);
    border-radius: 18px;
    background: var(--mushei-noir);
    color: var(--mushei-ivoire);
    box-shadow: 0 30px 80px -20px rgb(0 0 0 / .55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.98);
    transform-origin: top center;
    transition: opacity 260ms ease, transform 420ms cubic-bezier(.22, 1, .36, 1), visibility 0s 420ms;
  }
  .mushei-header.is-open .mh-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 260ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1), visibility 0s; }
  .mh-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .mh-nav li { opacity: 0; transform: translateY(18px); transition: opacity 300ms ease, transform 300ms ease; }
  .mushei-header.is-open .mh-nav li {
    opacity: 1; transform: none;
    transition: opacity 500ms ease calc(80ms + var(--i) * 60ms), transform 700ms cubic-bezier(.22, 1, .36, 1) calc(80ms + var(--i) * 60ms);
  }
  .mh-nav a, .mh-nav li .mh-disabled {
    display: inline-block;
    padding: 4px 0;
    font-family: var(--font-mushei-brand);
    font-weight: 800;
    font-size: clamp(24px, 7vw, 40px);
    line-height: 1.05;
    letter-spacing: -.03em;
    text-transform: uppercase;
    white-space: normal;
  }
  .mh-nav a::after { display: none; }
  .mh-nav a { transition: color 200ms ease, opacity 200ms ease; }
  .mh-nav ul:hover a:not(:hover) { opacity: .45; }
  /* One colour for every link: ivory, including the current page and "Boutique 3D". */
  .mushei-header .mh-nav a, .mushei-header .mh-nav a[aria-current="page"], .mh-nav li .mh-disabled { color: var(--mushei-ivoire) !important; opacity: 1; }
  .mh-nav li { padding: 2px 0; }
  .mh-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: clamp(24px, 6vw, 36px);
    opacity: 0;
    transition: opacity 300ms ease;
  }
  .mushei-header.is-open .mh-social { opacity: 1; transition: opacity 500ms ease 360ms; }
  .mh-social a {
    display: inline-flex;
    gap: 8px;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgb(243 235 221 / .55);
    transition: color 200ms ease;
  }
  .mh-social a:hover, .mh-social a:focus-visible { color: var(--mushei-ivoire); }
  /* Blurred page behind the card; a tap on it closes the menu. */
  .mh-scrim {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgb(10 10 10 / .25);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 350ms ease, visibility 0s 350ms;
  }
  .mushei-header.is-open .mh-scrim { opacity: 1; visibility: visible; transition: opacity 350ms ease, visibility 0s; }
  html.mh-menu-open { overflow: hidden; }
  /* backdrop-filter would make the bar the containing block of the fixed card and scrim. */
  .mushei-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--mushei-ivoire); }
  html[data-theme="dark"] .mushei-header.is-open { background: rgb(27 23 20); }
}
@media (min-width: 1340px) { .mh-social, .mh-scrim { display: none; } }
@media (max-width: 480px) { :root { --mh-bar: 64px; --mh-promo-size: 34px; } .mh-promo { font-size: 13px; } .mh-promo-item { padding: 0 16px; } .mh-promo-logo { width: 20px; height: 16px; } .mh-brand { font-size: 11px; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .mushei-header, .mh-nav a::after, .mh-nav, .mh-nav li, .mh-social, .mh-scrim { transition: none !important; } }
/* "Boutique 3D": not available yet. */
.mh-disabled { display: inline-block; padding: 8px 0; font-size: inherit; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: .4; cursor: not-allowed; }
@media (min-width: 1760px) { .mh-disabled { font-size: 11px; letter-spacing: .16em; } }
@media (min-width: 1340px) { .mh-nav li .mh-disabled { font-size: 10px; } }
@media (min-width: 1760px) { .mh-nav li .mh-disabled { font-size: 11px; } }

/* Navigation curtain, matching the reference: bottom → cover → top. */
.mh-transition {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  background: #0a0a0a;
  color: #f3ebdd;
  overflow: hidden;
  animation: mh-curtain-in 650ms cubic-bezier(.76, 0, .24, 1) both;
}
.mh-transition svg { width: clamp(160px, 14vw, 340px); height: auto; overflow: visible; }
.mh-transition path { stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: mh-draw 620ms cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes mh-curtain-in { from { transform: translate3d(0, 100%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes mh-draw { to { stroke-dashoffset: 0; } }
.mh-transition.is-arrival { animation: none; transform: translate3d(0, 0, 0); transition: transform 700ms cubic-bezier(.76, 0, .24, 1); }
.mh-transition.is-leaving { transform: translate3d(0, -100%, 0); pointer-events: none; }
.mh-transition-mark { width: clamp(160px, 14vw, 340px); aspect-ratio: 1086 / 206; background: currentColor; -webkit-mask: url('/mushei-display-wordmark.svg') center / contain no-repeat; mask: url('/mushei-display-wordmark.svg') center / contain no-repeat; }
html.mushei-page-arriving, html.mushei-page-departing { overflow: hidden !important; }
html.mushei-page-arriving .mushei-header { transform: translateY(-100%); opacity: 0; }
@media (max-width: 600px) { .mh-transition svg, .mh-transition-mark { width: 44vw; } }
@media (prefers-reduced-motion: reduce) {
  .mh-transition { animation: none; }
  .mh-transition.is-arrival { transition: opacity 150ms ease; }
  .mh-transition.is-leaving { transform: none; opacity: 0; }
}
/* Cart button: number of pieces in an oxblood badge; a small bump when something is added. */
.mh-cart { position: relative; }
.mh-cart-count:empty { display: none; }
.mh-cart-count { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--mushei-oxblood); color: var(--mushei-ivoire); font-size: 11px; letter-spacing: 0; }
.mh-cart.is-bumped { animation: mh-bump 450ms cubic-bezier(.34, 1.56, .64, 1); }
.mh-cart[aria-current="page"] { background: var(--mushei-noir); border-color: var(--mushei-noir); color: var(--mushei-ivoire); }
@keyframes mh-bump { 40% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .mh-cart.is-bumped { animation: none; } }

/* ---------- Phone / tablet menu: full-screen black panel (after weisslameraner.com) ----------
   The bar turns black with the page; big light links, one per row, an arrow on the right and a
   hairline under each, drawn left to right as the rows come in one after the other; the socials
   sit at the bottom. */
@media (max-width: 1339px) {
  .mushei-header.is-open, html[data-theme="dark"] .mushei-header.is-open {
    background: var(--mushei-noir); color: var(--mushei-ivoire); border-bottom-color: rgb(243 235 221 / .12);
  }
  .mushei-header.is-open .mh-cart:not(:hover) { border-color: rgb(243 235 221 / .35); color: var(--mushei-ivoire); background: transparent; }
  .mh-nav {
    top: calc(var(--mh-height)); left: 0; right: 0; bottom: 0; max-height: none;
    display: flex; flex-direction: column;
    padding: clamp(12px, 3vw, 28px) clamp(16px, 5vw, 48px) 0;
    border-radius: 0; box-shadow: none; transform: none;
    transition: opacity 300ms ease, visibility 0s 300ms;
  }
  .mushei-header.is-open .mh-nav { transform: none; transition: opacity 300ms ease, visibility 0s; }
  .mh-nav ul { align-items: stretch; flex: 1 0 auto; }
  .mh-nav li { position: relative; padding: 0; transform: translateY(12px); }
  .mushei-header.is-open .mh-nav li {
    transition: opacity 400ms ease-out calc(100ms + var(--i) * 70ms), transform 400ms ease-out calc(100ms + var(--i) * 70ms);
  }
  /* The hairline under each row, drawn from the left. */
  .mh-nav li::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: rgb(243 235 221 / .15); transform: scaleX(0); transform-origin: left;
    transition: transform 300ms ease;
  }
  .mushei-header.is-open .mh-nav li::after { transform: scaleX(1); transition: transform 600ms ease-out calc(100ms + var(--i) * 70ms); }
  .mh-nav a, .mh-nav li .mh-disabled {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%;
    padding: 22px 0;
    font-family: var(--font-mushei-serif); font-weight: 400; font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1; letter-spacing: -.01em; text-transform: none;
  }
  .mushei-header .mh-nav a, .mushei-header .mh-nav a[aria-current="page"] { color: rgb(243 235 221 / .9) !important; }
  .mushei-header .mh-nav a:hover, .mushei-header .mh-nav a:focus-visible { color: var(--mushei-ivoire) !important; }
  .mh-nav ul:hover a:not(:hover) { opacity: 1; }
  /* Arrow on the right; it brightens and steps right on hover. The current page keeps it lit. */
  .mh-nav a::after {
    display: block; content: ""; flex: none; position: static; width: 22px; height: 22px;
    background: currentColor; opacity: .35; transform: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: opacity 300ms ease, translate 300ms ease;
  }
  .mh-nav a:hover::after, .mh-nav a:focus-visible::after { opacity: 1; translate: 4px 0; }
  .mh-nav a[aria-current="page"]::after { opacity: .8; }
  /* "Boutique 3D", not open yet: dimmed, with "Bientôt" in place of the arrow. */
  .mh-nav li .mh-disabled { color: rgb(243 235 221 / .4) !important; opacity: 1; letter-spacing: -.01em; }
  .mh-nav li .mh-disabled::after {
    content: "Bientôt"; flex: none; padding: 5px 10px; border: 1px solid rgb(243 235 221 / .25); border-radius: 999px;
    font-family: var(--font-mushei-brand); font-weight: 800; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  }
  .mh-social {
    justify-content: space-between; gap: 8px 22px; margin-top: 0;
    padding: 24px 0 max(env(safe-area-inset-bottom), 28px);
    transform: translateY(10px);
    transition: opacity 300ms ease, transform 300ms ease;
  }
  .mushei-header.is-open .mh-social { transform: none; transition: opacity 350ms ease-out 300ms, transform 350ms ease-out 300ms; }
  .mh-social a { color: rgb(243 235 221 / .6); font-size: 12px; }
  .mh-scrim { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mh-nav li::after, .mh-nav a::after { transition: none !important; } }

/* The black panel takes the full width and stops after its links; below it the page is dimmed
   and a tap there closes the menu. (justify-self: start shrank the fixed panel to its content.) */
@media (max-width: 1339px) {
  .mh-nav { justify-self: stretch; bottom: auto; max-height: calc(100svh - var(--mh-height)); border-bottom: 1px solid rgb(243 235 221 / .12); }
  .mh-nav ul { flex: none; }
  .mh-scrim { display: block; top: calc(var(--mh-height)); background: rgb(10 10 10 / .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

/* Smoother menu on phones. A blurred bar (backdrop-filter) becomes the frame of the fixed menu
   panel, and it was switched off and on as the menu opened and closed: the panel jumped while it
   faded. On these widths the bar is simply (almost) opaque, never blurred, so nothing switches;
   the dimmed page under the menu is not blurred either (a full-page blur stutters on phones). */
@media (max-width: 1339px) {
  .mushei-header, .mushei-header.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mushei-header:not(.is-open) { background: rgb(243 235 221 / .98); }
  html[data-theme="dark"] .mushei-header:not(.is-open):not(.is-over-media) { background: rgb(27 23 20 / .98); }
  .mh-scrim { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(10 10 10 / .5); }
  .mh-nav, .mh-nav li { will-change: opacity, transform; }
}

/* ---------- Phones / tablets: search, sections and categories in the menu ----------
   Laid out like a fashion e-shop menu: the search field on top, the sections, then a few
   categories that open the boutique already filtered (/boutique?categorie=<handle>). While a
   search is typed, its results replace the links. The menu turns ivory, like the bar. */
.mh-nav .mh-msearch, .mh-nav .mh-mresults, .mh-nav .mh-cats-title, .mh-nav .mh-cats { display: none; }
.mh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1339px) {
  /* The search lives in the menu on these widths. */
  .mh-search { display: none; }

  .mushei-header.is-open, html[data-theme="dark"] .mushei-header.is-open { background: var(--mushei-ivoire); color: var(--mushei-noir); border-bottom-color: rgb(126 94 69 / .22); }
  .mushei-header.is-open .mh-cart:not(:hover) { border-color: currentColor; color: var(--mushei-noir); background: transparent; }
  .mh-nav { background: var(--mushei-ivoire); color: var(--mushei-noir); border-bottom-color: rgb(126 94 69 / .22); padding-top: 16px; }
  .mushei-header .mh-nav a, .mushei-header .mh-nav a[aria-current="page"] { color: var(--mushei-noir) !important; }
  .mushei-header .mh-nav a[aria-current="page"] { color: var(--mushei-oxblood) !important; }
  .mushei-header .mh-nav a:hover, .mushei-header .mh-nav a:focus-visible { color: var(--mushei-oxblood) !important; }
  .mh-nav li::after { background: rgb(126 94 69 / .2); }
  .mh-nav .mh-sections a { padding: 16px 0; font-size: clamp(24px, 6vw, 32px); }

  .mh-nav .mh-msearch { display: flex; align-items: center; gap: 10px; flex: none; min-height: 50px; margin-bottom: 8px; padding: 0 14px; background: rgb(126 94 69 / .08); border: 1px solid transparent; }
  .mh-msearch:focus-within { border-color: rgb(126 94 69 / .4); }
  .mh-msearch svg { flex: none; width: 20px; height: 20px; }
  .mh-msearch input { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--mushei-noir); font: 400 18px/1 var(--font-mushei-serif), serif; }
  .mh-msearch input:focus, .mh-msearch input:focus-visible { outline: 0; box-shadow: none; }
  .mh-msearch input::placeholder { color: var(--mushei-taupe); opacity: 1; }
  .mh-msearch input::-webkit-search-cancel-button { display: none; }
  .mh-msearch-clear { flex: none; padding: 6px 0; border: 0; background: none; color: var(--mushei-noir); font: 800 10px/1 var(--font-mushei-brand), sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
  .mh-msearch-clear[hidden] { display: none; }

  .mh-nav .mh-cats-title { display: block; flex: none; margin: 28px 0 2px; color: var(--mushei-taupe); font: 800 10px/1 var(--font-mushei-brand), sans-serif; letter-spacing: .18em; text-transform: uppercase; }
  .mh-nav .mh-cats { display: flex; flex: none; padding-bottom: 20px; }
  .mh-nav .mh-cats a { padding: 13px 0; font-size: 19px; }
  .mh-nav .mh-cats a::after { width: 18px; height: 18px; }

  /* Searching: the results take the place of the links. */
  .mh-nav.is-searching .mh-sections, .mh-nav.is-searching .mh-cats-title, .mh-nav.is-searching .mh-cats { display: none; }
  .mh-nav .mh-mresults:not([hidden]) { display: block; padding: 8px 0 24px; }
  .mh-nav .mh-mresults .ms-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 20px 10px; }
  .mh-nav .mh-mresults .ms-results:empty { display: none; }
  .mh-nav .mh-mresults li, .mushei-header.is-open .mh-nav .mh-mresults li { padding: 0; opacity: 1; transform: none; transition: none; }
  .mh-nav .mh-mresults li::after { display: none; }
  .mushei-header .mh-nav .ms-link { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 0; font: inherit; letter-spacing: 0; text-transform: none; }
  .mushei-header .mh-nav .ms-link::after { display: none; }
  .mh-nav .mh-mresults .ms-status { margin: 0 0 14px; }
  .mh-mresults-more {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 20px;
    border: 1px solid var(--mushei-noir); background: transparent; color: var(--mushei-noir); cursor: pointer;
    font: 800 11px/1 var(--font-mushei-brand), sans-serif; letter-spacing: .16em; text-transform: uppercase;
    transition: background-color 200ms ease, color 200ms ease;
  }
  .mh-mresults-more:hover, .mh-mresults-more:focus-visible { background: var(--mushei-noir); color: var(--mushei-ivoire); }
  .mh-mresults-more[hidden] { display: none; }
}
