/* ================================================================
   STX Mega Header — morphing mega-nav (Products / Solutions / Resources)
   Ported from the "Worship v2" design (meganav.css + tokens.css),
   scoped under .stx-mnav so it can't collide with Rey / Elementor.
   ================================================================ */

.stx-mnav {
  /* ---- scoped design tokens ---- */
  --ink-1000: #000000;
  --ink-950:  #0A0A0B;
  --ink-900:  #101012;
  --ink-850:  #161618;
  --ink-700:  #26262A;
  --ink-600:  #3A3A40;
  --ink-500:  #5C5C63;
  --ink-400:  #86868B;
  --ink-300:  #B5B5BA;
  --ink-200:  #D6D6D9;
  --ink-100:  #ECECEE;
  --ink-50:   #F5F5F7;
  --ink-0:    #FFFFFF;
  --titanium: var(--stxm-accent, #F5F5F7);
  --signal-on: #4ADE80;
  --font-body: 'Geist', 'Inter', system-ui, sans-serif;
  --fw-medium: 500;
  --fw-semi:   600;
  --r-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --s-4: 16px;
  --s-5: 24px;
  --container: 1440px;
  --content-w: 1240px;      /* constrained content width in wide bar states */
  --bar-max-gutter: 340px;  /* cap the at-rest flush-bar side gap: beyond ~1920px the
                               content widens instead of staying a narrow centered
                               column, so the logo never drifts toward mid-screen */
  --gutter: max(24px, 4vw);
  --frost-blur: saturate(180%) blur(24px);
  --stxm-abar: 0px;         /* WP admin bar offset, set below */

  left: 0; right: 0; top: var(--stxm-abar);
  z-index: 200;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-200);
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backdrop-filter: var(--frost-blur);
  -webkit-backdrop-filter: var(--frost-blur);
  background: var(--stxm-bar-bg, rgba(10, 10, 11, 0.55));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--dur-base) var(--ease-out);
}
.stx-mnav.is-scrolled:not(.stx-mnav--pill):not(.stx-mnav--morph) { background: var(--stxm-bar-bg-scrolled, rgba(10, 10, 11, 0.85)); }

/* Logged-in WP admin bar: push the whole thing down so it isn't covered */
body.admin-bar .stx-mnav { --stxm-abar: 32px; }
@media (max-width: 782px) {
  body.admin-bar .stx-mnav { --stxm-abar: 46px; }
}

/* Position modes (widget setting) */
.stx-mnav--static { position: relative; }
.stx-mnav--sticky { position: sticky; }
.stx-mnav--fixed  { position: fixed; }

/* ---------- Floating pill / morph variants ----------
   The root becomes a transparent positioning shell (no backdrop-filter —
   which also frees its out-of-bounds descendants from Chromium's paint
   clip); the inner bar carries the frost. `--pill` is always a capsule;
   `--morph` starts as the full-width bar and melts into the capsule as
   soon as the page scrolls. One element animates, so it morphs clean. */
/* The root stays in flow as a height spacer; the inner bar is viewport-fixed
   (Elementor parents are short, so sticky would die immediately — and with
   no backdrop-filter on the root, fixed descendants are free). */
.stx-mnav--pill,
.stx-mnav--morph {
  position: relative;   /* overrides --sticky/--fixed; declared later, wins */
  height: 68px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.stx-mnav--pill .stx-mnav__inner,
.stx-mnav--morph .stx-mnav__inner {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin-inline: auto;
  border: 1px solid transparent;
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  transition:
    top 440ms var(--ease-out),
    max-width 440ms var(--ease-out),
    height 440ms var(--ease-out),
    padding 440ms var(--ease-out),
    border-radius 440ms var(--ease-out),
    background 360ms var(--ease-out),
    border-color 360ms var(--ease-out),
    box-shadow 440ms var(--ease-out);
}
/* Morph, at rest: the wide flush bar, edge to edge, no gap. The background
   bleeds to the viewport edges but the content stays in a centered column. */
.stx-mnav--morph:not(.is-scrolled) .stx-mnav__inner {
  top: var(--stxm-abar);
  max-width: 100vw;
  height: 68px;
  padding: 0 clamp(var(--gutter), calc((100vw - var(--content-w)) / 2), var(--bar-max-gutter));
  border-radius: 0;
  background: var(--stxm-bar-bg, rgba(10, 10, 11, 0.55));
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: none;
}
/* The capsule */
.stx-mnav--pill .stx-mnav__inner,
.stx-mnav--morph.is-scrolled .stx-mnav__inner {
  top: calc(14px + var(--stxm-abar));
  max-width: min(1200px, calc(100vw - 2 * var(--gutter)));
  height: 60px;
  padding: 0 10px 0 26px;
  border-radius: var(--r-pill);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02) 40%, rgba(255,255,255,0) 65%),
    var(--stxm-bar-bg-scrolled, rgba(11, 11, 13, 0.62));
  border-color: rgba(255,255,255,0.085);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 0 0 0.5px rgba(0,0,0,0.35),
    0 24px 60px -24px rgba(0,0,0,0.78);
}
/* The drop card and dim overlay follow the fixed bar */
.stx-mnav--pill .stx-mnav__drop,
.stx-mnav--morph .stx-mnav__drop {
  position: fixed;
  top: calc(78px + var(--stxm-abar)); /* flush bar 68 + 10 */
  left: 0; right: 0;
}
.stx-mnav--pill .stx-mnav__drop,
.stx-mnav--morph.is-scrolled .stx-mnav__drop {
  top: calc(84px + var(--stxm-abar)); /* gap 14 + capsule 60 + 10 */
}
.stx-mnav--pill .stx-mnav__backdrop,
.stx-mnav--morph .stx-mnav__backdrop {
  position: fixed;
  inset: 0;
  top: 0;
  height: auto;
}
/* In the Elementor editor the bar stays in flow so it doesn't escape the canvas */
.stx-mnav--editor .stx-mnav__inner { position: relative; top: 0 !important; }
.stx-mnav--editor .stx-mnav__drop { position: absolute; top: calc(100% + 10px); }
.stx-mnav--editor .stx-mnav__backdrop { position: absolute; }

/* Element resets, wrapped in :where() so they never out-specify the
   component classes below (a bare `.stx-mnav a` beats `.stx-mnav__tab`). */
:where(.stx-mnav) a { color: inherit; text-decoration: none; }
:where(.stx-mnav) a:hover { text-decoration: none; }
:where(.stx-mnav) button { font: inherit; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: inherit; }
:where(.stx-mnav) img, :where(.stx-mnav) svg { display: block; max-width: 100%; border: 0; }
:where(.stx-mnav) ul { list-style: none; margin: 0; padding: 0; }
:where(.stx-mnav) h4 { margin: 0; font-family: inherit; }

.stx-mnav__inner {
  position: relative; z-index: 160; /* above the dim overlay */
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-5);
}
.stx-mnav__brand { display: flex; align-items: center; color: var(--ink-50); }
.stx-mnav__brand svg,
.stx-mnav__brand img { width: var(--stxm-logo-w, 122px); height: auto; }

/* ---------- Tabs ---------- */
.stx-mnav__tabs {
  position: relative;
  display: flex; align-items: center; gap: 2px;
  justify-content: center;
}
.stx-mnav__pill {
  position: absolute;
  top: 50%; left: 0;
  height: 36px; width: 0;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  opacity: 0;
  transition:
    transform 260ms var(--ease-out),
    width 260ms var(--ease-out),
    opacity 180ms var(--ease-out);
  pointer-events: none;
}
/* Doubled selector: Rey styles `button[type="button"]` at (0,1,1), which
   would out-specify a single class — these must stay above that. */
.stx-mnav .stx-mnav__tab {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  margin: 0;
  border: 0; background: transparent;
  border-radius: var(--r-pill);
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: var(--fw-medium); line-height: 1;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink-200);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.stx-mnav .stx-mnav__tab:hover, .stx-mnav .stx-mnav__tab[aria-expanded="true"] { color: var(--ink-0); background: transparent; }
.stx-mnav .stx-mnav__tab .caret {
  display: inline-flex;
  transition: transform 220ms var(--ease-out);
  color: var(--ink-400);
}
.stx-mnav .stx-mnav__tab[aria-expanded="true"] .caret { transform: rotate(180deg); color: var(--ink-100); }

.stx-mnav__actions { display: flex; align-items: center; gap: var(--s-4); justify-content: flex-end; }
.stx-mnav__phone {
  font-size: 13px; font-weight: var(--fw-medium);
  color: var(--ink-300);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color var(--dur-fast) var(--ease-out);
}
.stx-mnav__phone:hover { color: var(--ink-50); }
.stx-mnav__phone .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal-on); box-shadow: 0 0 8px var(--signal-on);
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
/* Outside business hours the phone disappears — the CTA carries the bar */
.stx-mnav .stx-mnav__phone.is-off { display: none; }

.stx-mnav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 20px;
  font-size: 13px; font-weight: var(--fw-medium); letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--stxm-cta-bg, var(--ink-50));
  color: var(--stxm-cta-color, var(--ink-950));
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.stx-mnav__cta:hover { background: var(--stxm-cta-bg-hover, var(--ink-0)); color: var(--stxm-cta-color, var(--ink-950)); transform: translateY(-1px); }

/* ================================================================
   Cart icon + Liquid-Glass mini-cart popup
   The bag is hidden until the cart has items (.is-empty). The popup is a
   frosted glass panel: real backdrop-blur, layered translucent surface,
   inset highlight, free-shipping progress, staggered item entrance.
   ================================================================ */
.stx-mnav__cart {
  --stxc-glass: rgba(14, 14, 16, 0.94);
  --stxc-line: rgba(255, 255, 255, 0.09);
  --stxc-fluid: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; display: inline-flex;
}
.stx-mnav__cart.is-empty { display: none; }

/* ---- bag button ---- */
.stx-mnav .stx-mnav__cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  margin: 0; padding: 0;
  border: 1px solid var(--ink-700);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-100);
  box-shadow: none;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.stx-mnav .stx-mnav__cart-btn:hover { border-color: var(--ink-500); background: rgba(255,255,255,0.05); color: var(--ink-0); }
.stx-mnav .stx-mnav__cart-btn:active { transform: scale(0.94); }
.stx-mnav .stx-mnav__cart-btn[aria-expanded="true"] {
  color: var(--ink-0);
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.10);
}
.stx-mnav__cart-ico { width: 20px; height: 20px; transition: transform var(--dur-base) var(--stxc-fluid); }
.stx-mnav .stx-mnav__cart-btn:hover .stx-mnav__cart-ico { transform: translateY(-1px); }

.stx-mnav__cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #FFFFFF, var(--titanium));
  color: var(--ink-1000);
  font-size: 10.5px; font-weight: var(--fw-semi); line-height: 1;
  font-variant-numeric: tabular-nums;
  border: 1.5px solid var(--ink-950);
  box-shadow: 0 2px 8px -1px rgba(0,0,0,0.7), 0 0 0 3px rgba(255,255,255,0.12);
  animation: stxCartPop 360ms var(--stxc-fluid);
}
@keyframes stxCartPop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.18); } 100% { transform: scale(1); opacity: 1; } }

/* ---- the glass panel ---- */
.stx-mnav__cartdrop {
  position: absolute;
  top: calc(100% + 14px); right: -4px;
  width: min(380px, calc(100vw - 28px));
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0) 28%),
    var(--stxc-glass);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  border: 1px solid var(--stxc-line);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 0 0 0.5px rgba(0,0,0,0.4),
    0 50px 100px -28px rgba(0,0,0,0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 220ms var(--ease-out),
    transform 300ms var(--ease-out),
    visibility 0s linear 300ms;
  z-index: 220;
  overflow: hidden;
}
/* little nub connecting the panel to the bag */
.stx-mnav__cartdrop::before {
  content: ""; position: absolute; top: -6px; right: 18px;
  width: 12px; height: 12px;
  background: var(--stxc-glass);
  border-left: 1px solid var(--stxc-line);
  border-top: 1px solid var(--stxc-line);
  transform: rotate(45deg);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}
.stx-mnav__cart.is-cart-open .stx-mnav__cartdrop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 260ms var(--stxc-fluid),
    transform 460ms var(--stxc-fluid),
    visibility 0s;
}

/* ---- head ---- */
.stx-mnav__cartdrop-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--stxc-line);
}
.stx-mnav__cartdrop-title {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: var(--fw-semi);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-200);
}
.stx-mnav__cartdrop-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--titanium);
  font-size: 11px; font-weight: var(--fw-semi); letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.stx-mnav .stx-mnav__cart-close {
  width: 30px; height: 30px; padding: 0; margin: -5px -7px -5px 0;
  display: grid; place-items: center;
  border: 0; border-radius: 9px;
  background: transparent; color: var(--ink-400);
  box-shadow: none; cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.stx-mnav .stx-mnav__cart-close:hover { color: var(--ink-50); background: rgba(255,255,255,0.07); transform: rotate(90deg); }

/* ---- free-shipping progress ---- */
.stx-mnav__ship {
  position: relative; z-index: 1;
  padding: 13px 18px;
  border-bottom: 1px solid var(--stxc-line);
}
.stx-mnav__ship-msg {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 9px;
  font-size: 12px; color: var(--ink-300);
}
.stx-mnav__ship-msg svg { color: var(--titanium); flex: none; }
.stx-mnav__ship-msg .amount { color: var(--ink-0); font-weight: var(--fw-semi); font-variant-numeric: tabular-nums; }
.stx-mnav__ship-track {
  height: 5px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.stx-mnav__ship-fill {
  display: block; height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #D6D6D9, #FFFFFF);
  box-shadow: 0 0 10px -1px rgba(255,255,255,0.5);
  transition: width 560ms var(--stxc-fluid);
}
.stx-mnav__ship.is-unlocked .stx-mnav__ship-msg { color: var(--ink-100); }
.stx-mnav__ship.is-unlocked .stx-mnav__ship-msg svg { color: var(--signal-on); }
.stx-mnav__ship.is-unlocked .stx-mnav__ship-fill { background: linear-gradient(90deg, #34D27A, var(--signal-on)); box-shadow: 0 0 10px -1px rgba(74,222,128,0.5); }

/* ---- mini-cart body (our own .stx-cart markup — no theme styles reach it) ---- */
.stx-mnav__cartdrop .stx-cart-body { position: relative; z-index: 1; padding: 8px 14px 16px; }
.stx-mnav__cartdrop .woocommerce-mini-cart__empty-message {
  padding: 26px 4px 14px; margin: 0;
  text-align: center; color: var(--ink-400); font-size: 13.5px;
}
.stx-mnav .stx-mnav__cartdrop ul.stx-cart-list {
  list-style: none; margin: 0; padding: 2px 0;
  display: flex; flex-direction: column; gap: 2px;
  max-height: min(44vh, 340px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent;
}
.stx-mnav__cartdrop ul.stx-cart-list::-webkit-scrollbar { width: 6px; }
.stx-mnav__cartdrop ul.stx-cart-list::-webkit-scrollbar-thumb { background: var(--ink-600); border-radius: 999px; }

.stx-mnav .stx-mnav__cartdrop li.stx-cart-item {
  position: relative; margin: 0; padding: 0;
  border: 0; border-radius: 13px;
  list-style: none;
  transition: background var(--dur-fast) var(--ease-out);
}
.stx-mnav__cartdrop li.stx-cart-item:hover { background: rgba(255,255,255,0.05); }
.stx-mnav .stx-mnav__cartdrop .stx-cart-item__link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 40px 10px 10px;
  text-decoration: none; color: inherit;
}
.stx-mnav .stx-mnav__cartdrop .stx-cart-item__img {
  flex: none; width: 52px; height: 52px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--ink-700); background: var(--ink-850);
}
.stx-mnav .stx-mnav__cartdrop .stx-cart-item__img img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; display: block; margin: 0; border-radius: 0;
  transition: transform var(--dur-base) var(--stxc-fluid);
}
.stx-mnav__cartdrop li.stx-cart-item:hover .stx-cart-item__img img { transform: scale(1.07); }
.stx-mnav .stx-mnav__cartdrop .stx-cart-item__meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.stx-mnav .stx-mnav__cartdrop .stx-cart-item__name {
  font-size: 13.5px; font-weight: var(--fw-medium); line-height: 1.35;
  color: var(--ink-100);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--dur-fast) var(--ease-out);
}
.stx-mnav__cartdrop li.stx-cart-item:hover .stx-cart-item__name { color: var(--ink-0); }
.stx-mnav .stx-mnav__cartdrop .stx-cart-item__qty {
  font-size: 12.5px; color: var(--ink-400); font-variant-numeric: tabular-nums;
}
.stx-mnav .stx-mnav__cartdrop .stx-cart-item__qty .amount { color: var(--ink-200); font-weight: var(--fw-medium); }
.stx-mnav .stx-mnav__cartdrop .stx-cart-item dl.variation { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-500); }
.stx-mnav .stx-mnav__cartdrop .stx-cart-item dl.variation dt,
.stx-mnav .stx-mnav__cartdrop .stx-cart-item dl.variation dd { display: inline; margin: 0 4px 0 0; }

/* remove chip — !important to overrule Rey's a.remove rules */
.stx-mnav .stx-mnav__cartdrop a.stx-cart-item__remove {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; margin: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06) !important;
  color: var(--ink-300) !important;
  font-size: 15px; line-height: 1; font-weight: 400;
  text-decoration: none; opacity: 0.6;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.stx-mnav__cartdrop li.stx-cart-item:hover a.stx-cart-item__remove { opacity: 1; }
.stx-mnav .stx-mnav__cartdrop a.stx-cart-item__remove:hover {
  background: rgba(255,80,80,0.16) !important; color: #ff7a7a !important;
  transform: translateY(-50%) scale(1.12);
}
.stx-mnav .stx-mnav__cartdrop a.stx-cart-item__remove:focus-visible { opacity: 1; outline: 2px solid var(--titanium); outline-offset: 1px; }

/* staggered entrance when the panel opens */
@keyframes stxCartItemIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.stx-mnav__cart.is-cart-open li.stx-cart-item { animation: stxCartItemIn 380ms var(--stxc-fluid) backwards; }
.stx-mnav__cart.is-cart-open li.stx-cart-item:nth-child(1) { animation-delay: 40ms; }
.stx-mnav__cart.is-cart-open li.stx-cart-item:nth-child(2) { animation-delay: 85ms; }
.stx-mnav__cart.is-cart-open li.stx-cart-item:nth-child(3) { animation-delay: 130ms; }
.stx-mnav__cart.is-cart-open li.stx-cart-item:nth-child(4) { animation-delay: 175ms; }
.stx-mnav__cart.is-cart-open li.stx-cart-item:nth-child(n+5) { animation-delay: 215ms; }

/* foot: subtotal + actions */
.stx-mnav .stx-mnav__cartdrop .stx-cart-foot { position: relative; z-index: 1; padding: 0 4px; }
.stx-mnav .stx-mnav__cartdrop .stx-cart-subtotal {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 12px; padding-top: 14px;
  border-top: 1px solid var(--stxc-line);
}
.stx-mnav .stx-mnav__cartdrop .stx-cart-subtotal__label {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-400); font-weight: var(--fw-semi);
}
.stx-mnav .stx-mnav__cartdrop .stx-cart-subtotal__amt {
  color: var(--ink-0); font-weight: var(--fw-semi); font-size: 18px;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.stx-mnav .stx-mnav__cartdrop .stx-cart-subtotal__amt .amount { color: var(--ink-0); }

.stx-mnav .stx-mnav__cartdrop .stx-cart-actions { display: flex; gap: 10px; margin: 14px 0 4px; }
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn {
  flex: 1; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 46px; padding: 0 14px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 13px; font-weight: var(--fw-medium); letter-spacing: 0.02em;
  text-align: center; text-decoration: none; white-space: nowrap;
  box-shadow: none; cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn:active { transform: scale(0.97); }
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--ghost {
  border-color: var(--ink-600); background: rgba(255,255,255,0.02); color: var(--ink-100);
}
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--ghost:hover {
  border-color: var(--ink-400); color: var(--ink-0); background: rgba(255,255,255,0.06);
}
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--solid {
  /* Blue CTA — matches the cart/checkout pages and product buy button (#2563EB) */
  background: #2563EB; color: #FFFFFF;
  box-shadow: 0 10px 28px -12px rgba(37,99,235,0.55);
}
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--solid:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(37,99,235,0.7);
}
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--solid svg { transition: transform var(--dur-base) var(--stxc-fluid); }
.stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--solid:hover svg { transform: translateX(3px); }

/* honor reduced-motion: keep it instant, no slide/scale/stagger */
@media (prefers-reduced-motion: reduce) {
  .stx-mnav__cartdrop,
  .stx-mnav__cart.is-cart-open .stx-mnav__cartdrop { transition: opacity 120ms linear; transform: none; }
  .stx-mnav__cart-count,
  .stx-mnav__cart.is-cart-open li.stx-cart-item { animation: none; }
  .stx-mnav__cartdrop li.stx-cart-item:hover .stx-cart-item__img img,
  .stx-mnav .stx-mnav__cart-close:hover,
  .stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--solid:hover { transform: none; }
  .stx-mnav .stx-mnav__cartdrop a.stx-cart-btn--solid:hover svg { transform: none; }
  .stx-mnav__ship-fill { transition: none; }
}

/* ---------- Backdrop ----------
   .stx-mnav has backdrop-filter, which makes it the containing block for
   fixed descendants — so the backdrop is positioned absolutely below the bar. */
.stx-mnav__backdrop {
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 100vh;
  background: rgba(5,5,6,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease-out);
  z-index: 150;
}
.stx-mnav.is-open .stx-mnav__backdrop { opacity: 1; }

/* ---------- Morphing drop card ---------- */
.stx-mnav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  height: 0;            /* layout-neutral anchor */
  z-index: 210;
  pointer-events: none;
}
.stx-mnav__card {
  position: absolute;
  top: 0; left: 0;
  width: 720px; height: 320px;   /* JS-driven */
  background: var(--ink-900);
  border: 1px solid var(--ink-600);
  border-radius: 18px;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.05) inset;
  overflow: hidden;
  opacity: 0;
  transform: translateX(0) translateY(-6px) scale(0.985);
  transform-origin: top center;
  transition:
    width 320ms var(--ease-out),
    height 320ms var(--ease-out),
    transform 320ms var(--ease-out),
    opacity 200ms var(--ease-out);
  pointer-events: none;
}
.stx-mnav.is-open .stx-mnav__card {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Panels ---------- */
.stx-mnav__panel {
  position: absolute;
  top: 0; left: 0;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition:
    opacity 220ms var(--ease-out),
    transform 280ms var(--ease-out),
    visibility 0s linear 220ms;
}
.stx-mnav__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition:
    opacity 240ms var(--ease-out) 60ms,
    transform 300ms var(--ease-out) 60ms,
    visibility 0s;
}
.stx-mnav__panel.is-left  { transform: translateX(-12px); }
.stx-mnav__panel.is-active.is-left { transform: translateX(0); }

/* Widths are set inline per panel (computed from the column count);
   these are fallbacks. */
.stx-mnav__panel--mega      { width: min(1000px, calc(100vw - 48px)); }
.stx-mnav__panel--resources { width: min(520px,  calc(100vw - 48px)); }

/* ---------- Panel internals ---------- */
/* Flex row (not grid) so the preview card can SWAP PLACES with columns via the
   `order` property — frontend.js drives the order + a FLIP slide. The dock is a
   fixed 224px slot; the real columns share the rest equally (== the old 1fr). */
.stx-mnav-grid {
  display: flex; gap: 28px;
  align-items: stretch;
}
.stx-mnav .stx-mnav-col {
  flex: 1 1 0; min-width: 0;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* Doubled selector + full type stack: Rey/Elementor kit heading rules
   (e.g. `.elementor h4`) would otherwise restyle these. */
.stx-mnav h4.stx-mnav-col__head,
.stx-mnav a.stx-mnav-col__head {
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: var(--fw-semi);
  line-height: 1.3;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--ink-700);
}
/* Clickable heading: reads as the same label, lights up like a tab on hover. */
.stx-mnav a.stx-mnav-col__head--link {
  display: block;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.stx-mnav a.stx-mnav-col__head--link:hover,
.stx-mnav a.stx-mnav-col__head--link:focus-visible {
  color: var(--titanium, var(--ink-0));
  border-bottom-color: var(--titanium, var(--ink-500));
}
/* Doubled selector: the :where() ul reset above has zero specificity, so
   theme list rules (e.g. a bare `ul { padding-left: 30px }` loaded later or
   an `.entry-content ul`) re-indent the dropdown lists — kill that here. */
.stx-mnav .stx-mnav-col ul { display: flex; flex-direction: column; padding: 0; margin: 0; list-style: none; }
.stx-mnav-col li { display: flex; }
.stx-mnav-link {
  flex: 1;
  display: flex; flex-direction: column; gap: 1px;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 9px;
  transition: background var(--dur-fast) var(--ease-out);
}
.stx-mnav-link:hover { background: rgba(255,255,255,0.06); }
.stx-mnav-link .t {
  font-size: 13.5px; font-weight: var(--fw-medium);
  color: var(--ink-100); letter-spacing: -0.005em;
  display: flex; align-items: center; gap: 6px;
}
.stx-mnav-link:hover .t { color: var(--ink-0); }
.stx-mnav-link .s { font-size: 11.5px; color: var(--ink-500); }
.stx-mnav-link .new {
  font-size: 9.5px; font-weight: var(--fw-semi);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--titanium);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px; padding: 1px 7px;
}

/* ---------- Docked image column ----------
   A fixed media column whose image crossfades to whatever
   link you're hovering in the link columns. */
.stx-mnav-dock {
  display: flex; flex-direction: column;
  border: 1px solid var(--ink-700);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink-850);
  /* A fixed-width slot in the flex row; it swaps places with the columns
     (driven by `order` in frontend.js) and FLIP-slides between positions.
     pointer-events:none so the decorative card never grabs hover/clicks. */
  flex: 0 0 224px;
  align-self: stretch;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.stx-mnav-dock__media {
  display: block;
  position: relative;
  flex: 1;
  min-height: 190px;
  background: var(--ink-1000);
}
/* Doubled selector: theme `img { height: auto }` rules must not win here.
   Images fill the whole card; the "Fit" option keeps cut-outs on a light base. */
.stx-mnav .stx-mnav-dock__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  object-fit: cover;
  padding: 0;
  margin: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.stx-mnav .stx-mnav-dock__img.is-fit {
  object-fit: contain;
  padding: 14px;
  background: radial-gradient(120% 100% at 50% 30%, #ffffff 0%, #ECECEE 60%, #DDDDE1 100%);
}
.stx-mnav .stx-mnav-dock__img.is-front { opacity: 1; }
.stx-mnav-dock__label {
  display: block;
  padding: 9px 13px;
  font-size: 12px; font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  color: var(--ink-100);
  background: var(--ink-900);
  border-top: 1px solid var(--ink-700);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Footer row inside a panel */
.stx-mnav-panel__foot {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--ink-700);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  font-size: 12.5px; color: var(--ink-400);
}
.stx-mnav-panel__foot a {
  color: var(--ink-100); font-weight: var(--fw-medium);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--dur-fast) var(--ease-out);
}
.stx-mnav-panel__foot a:hover { color: var(--ink-0); }

/* Resources list (doubled selector: see .stx-mnav-col ul note) */
.stx-mnav .stx-mnav-res { display: flex; flex-direction: column; gap: 2px; padding: 0; margin: 0; list-style: none; }
.stx-mnav .stx-mnav-res li { display: flex; padding: 0; margin: 0; }
.stx-mnav .stx-mnav-res li > a { flex: 1; }
.stx-mnav-res a {
  display: grid; grid-template-columns: 38px 1fr auto;
  align-items: center; gap: 13px;
  padding: 9px 10px; margin: 0 -10px;
  border-radius: 10px;
  transition: background var(--dur-fast) var(--ease-out);
}
.stx-mnav-res a:hover { background: rgba(255,255,255,0.06); }
.stx-mnav-res .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-700);
  border-radius: 10px;
  background: var(--ink-850);
  color: var(--titanium);
  font-size: 16px;
}
.stx-mnav-res .ico svg { width: 17px; height: 17px; fill: currentColor; }
/* Middle cell of a resources row: stack title over description */
.stx-mnav-res a > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.stx-mnav-res .t { font-size: 13.5px; font-weight: var(--fw-medium); color: var(--ink-100); letter-spacing: -0.005em; }
.stx-mnav-res .s { font-size: 12px; color: var(--ink-500); margin-top: 1px; }
.stx-mnav-res .go { color: var(--ink-500); transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.stx-mnav-res a:hover .go { transform: translateX(3px); color: var(--ink-50); }

/* ---------- Mobile ---------- */
.stx-mnav .stx-mnav__burger {
  display: none;
  width: 40px; height: 40px;
  margin: 0; padding: 0;
  border: 1px solid var(--ink-700); border-radius: 10px;
  background: transparent; color: var(--ink-100);
  box-shadow: none;
  place-items: center;
  cursor: pointer;
}
.stx-mnav__sheet { display: none; }

@media (max-width: 980px) {
  .stx-mnav { --gutter: 16px; } /* tighter side padding on mobile */
  .stx-mnav__tabs, .stx-mnav__drop, .stx-mnav__backdrop, .stx-mnav__phone { display: none; }
  .stx-mnav__inner { grid-template-columns: 1fr auto auto; height: 60px; }
  .stx-mnav__brand svg,
  .stx-mnav__brand img { width: calc(var(--stxm-logo-w, 122px) * 1.15); }
  .stx-mnav .stx-mnav__cta { height: 34px; padding: 0 16px; font-size: 12.5px; }
  .stx-mnav__actions { gap: 12px; }

  /* Mini-cart panel on mobile: the desktop rule anchors it `right:-4px` to the
     narrow bag button, but the burger sits to the bag's right so the panel got
     pushed left and clipped (half off-screen). Pin it to the bar's right gutter
     with a viewport-capped width so it always stays fully on-screen. */
  .stx-mnav__cartdrop {
    position: fixed;
    /* `top` is relative to the bar (its backdrop-filter makes it the containing
       block for fixed descendants), and the bar is already offset by the admin
       bar via its own `top: var(--stxm-abar)` — so DON'T add --stxm-abar here or
       the panel double-counts it and drops far below the header. 68px ≈ the
       60px bar height + an 8px gap. */
    top: 68px;
    right: 10px;
    left: auto;
    width: min(380px, calc(100vw - 20px));
  }
  .stx-mnav__cartdrop::before { display: none; } /* nub no longer aligns once viewport-pinned */

  .stx-mnav .stx-mnav__burger { display: grid; width: 36px; height: 36px; margin-right: -3px; }
  /* Burger morphs into an X */
  .stx-mnav__burger .b {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 340ms var(--ease-out), opacity 180ms var(--ease-out);
  }
  .stx-mnav__burger[aria-expanded="true"] .b1 { transform: translateY(4.5px) rotate(45deg); }
  .stx-mnav__burger[aria-expanded="true"] .b2 { opacity: 0; transform: scaleX(0.4); }
  .stx-mnav__burger[aria-expanded="true"] .b3 { transform: translateY(-4.5px) rotate(-45deg); }
  /* Pill / morph capsule on mobile: slimmer, tighter gap; the sheet slides
     under the floating capsule */
  .stx-mnav--pill,
  .stx-mnav--morph { height: 60px; }
  .stx-mnav--morph:not(.is-scrolled) .stx-mnav__inner { height: 60px; }
  .stx-mnav--pill .stx-mnav__inner,
  .stx-mnav--morph.is-scrolled .stx-mnav__inner {
    top: calc(10px + var(--stxm-abar));
    height: 56px;
    max-width: calc(100vw - 20px); /* wider capsule on mobile */
    padding: 0 8px 0 16px;
  }
  .stx-mnav--pill .stx-mnav__sheet,
  .stx-mnav--morph .stx-mnav__sheet {
    top: var(--stxm-abar);
    height: calc(100vh - var(--stxm-abar));
    height: calc(100dvh - var(--stxm-abar));
    padding-top: 88px;
    z-index: 150; /* below the capsule (z 160) so it stays floating on top */
  }

  /* Flush mode: Chromium paint-clips descendants of a backdrop-filter element
     to its border box (verified on this site: an absolute or fixed sheet
     renders as a 1px sliver under the bar). So while the sheet is open the
     frost comes OFF the bar — the sheet covers the page anyway — and the
     sheet is fixed to the viewport. The pill/morph variants have no
     backdrop-filter on the root, so they're immune. */
  .stx-mnav.is-sheet-open:not(.stx-mnav--pill):not(.stx-mnav--morph) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--ink-950);
  }
  .stx-mnav__sheet {
    display: block;
    position: fixed;
    top: calc(60px + var(--stxm-abar)); left: 0; right: 0;
    height: calc(100vh - 60px - var(--stxm-abar));
    height: calc(100dvh - 60px - var(--stxm-abar));
    background: var(--ink-950);
    overflow-y: auto;
    padding: var(--s-5) var(--gutter) 64px;
    z-index: 190;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    pointer-events: none;
    transition:
      opacity 260ms var(--ease-out),
      transform 360ms var(--ease-out),
      visibility 0s linear 280ms;
  }
  .stx-mnav.is-sheet-open .stx-mnav__sheet {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition:
      opacity 240ms var(--ease-out),
      transform 420ms var(--ease-out),
      visibility 0s;
  }
  /* Rows cascade in one after another */
  .stx-mnav__sheet > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 300ms var(--ease-out), transform 460ms var(--ease-out);
  }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > * { opacity: 1; transform: none; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(1) { transition-delay: 60ms; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(2) { transition-delay: 105ms; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(3) { transition-delay: 150ms; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(4) { transition-delay: 195ms; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(5) { transition-delay: 240ms; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(6) { transition-delay: 285ms; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(7) { transition-delay: 330ms; }
  .stx-mnav.is-sheet-open .stx-mnav__sheet > *:nth-child(8) { transition-delay: 375ms; }
  .stx-mnav__sheet details { border-bottom: 1px solid var(--ink-700); }
  .stx-mnav__sheet summary {
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0;
    font-size: 16px; font-weight: var(--fw-medium); color: var(--ink-50);
    cursor: pointer;
  }
  .stx-mnav__sheet summary::-webkit-details-marker { display: none; }
  .stx-mnav__sheet summary::after { content: "+"; color: var(--ink-400); font-size: 18px; }
  .stx-mnav__sheet details[open] summary::after { content: "−"; }
  .stx-mnav__sheet .grp { padding: 0 0 14px; display: flex; flex-direction: column; }
  .stx-mnav__sheet .grp a { padding: 9px 0; font-size: 14.5px; color: var(--ink-300); }
  .stx-mnav__sheet .grp a:active { color: var(--ink-50); }
  .stx-mnav__sheet .grp-head {
    padding: 12px 0 4px;
    font-size: 10.5px; font-weight: var(--fw-semi);
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink-500);
  }
  /* Clickable heading in the mobile sheet — keep the heading look, override
     the generic `.grp a` styling above. */
  .stx-mnav__sheet .grp a.grp-head--link {
    padding: 12px 0 4px;
    font-size: 10.5px; font-weight: var(--fw-semi);
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink-500);
  }
  .stx-mnav__sheet .grp a.grp-head--link:active { color: var(--titanium, var(--ink-50)); }
  /* "View all …" overview link at the top of each open dropdown group. */
  .stx-mnav__sheet .grp a.grp-all {
    padding: 4px 0 10px;
    font-size: 13.5px; font-weight: var(--fw-medium);
    color: var(--titanium, var(--ink-100));
  }

  /* ---- Mobile preview cards ----
     Products / Industries dropdowns swap their plain text links for the same
     preview imagery the desktop dock shows, laid out as a horizontally
     scrollable row of cards under each column heading. Scoped to mobile only,
     so the desktop mega-card is untouched. */
  .stx-mnav__sheet .grp--cards { padding-bottom: 18px; }
  .stx-mnav__sheet .grp--cards .grp-head,
  .stx-mnav__sheet .grp--cards a.grp-head--link { padding-top: 14px; }
  .stx-mnav__sheet .grp-cards {
    display: flex;
    gap: 12px;
    /* Bleed the track to the screen edges so cards scroll past the gutter. */
    margin: 8px calc(-1 * var(--gutter)) 4px;
    padding: 2px var(--gutter) 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    /* Snap (and the resting position on open) respects the left inset — without
       this the first card snaps flush to the screen edge, ignoring padding-left. */
    scroll-padding-left: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    /* Only consume horizontal pans — vertical drags fall through to the sheet's
       own scroll, otherwise this strip swallows the gesture and the menu can't
       scroll down past a tall row of cards. */
    touch-action: pan-x;
  }
  .stx-mnav__sheet .grp-cards::-webkit-scrollbar { display: none; }
  .stx-mnav__sheet a.grp-card {
    flex: 0 0 auto;
    width: 152px;
    display: flex; flex-direction: column;
    padding: 0;
    border: 1px solid var(--ink-700);
    border-radius: 14px;
    background: var(--ink-850);
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  }
  .stx-mnav__sheet a.grp-card:active {
    border-color: var(--ink-500);
    transform: scale(0.97);
  }
  .stx-mnav__sheet .grp-card__media {
    display: block; position: relative;
    width: 100%; aspect-ratio: 4 / 3;
    background: var(--ink-1000);
  }
  /* Doubled selector + full reset: theme `img { height:auto }` must not win. */
  .stx-mnav__sheet a.grp-card .grp-card__media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    max-width: none; max-height: none;
    margin: 0; padding: 0; border-radius: 0;
    object-fit: cover;
  }
  .stx-mnav__sheet a.grp-card.is-fit .grp-card__media img {
    object-fit: contain;
    padding: 12px;
    background: radial-gradient(120% 100% at 50% 30%, #ffffff 0%, #ECECEE 60%, #DDDDE1 100%);
  }
  .stx-mnav__sheet .grp-card__body {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 12px 12px;
  }
  /* Override the generic `.grp a` text styling for the card title. */
  .stx-mnav__sheet a.grp-card .t {
    padding: 0;
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    font-size: 13.5px; font-weight: var(--fw-medium); line-height: 1.3;
    color: var(--ink-100); letter-spacing: -0.005em;
  }
  .stx-mnav__sheet a.grp-card .s {
    font-size: 11.5px; line-height: 1.35; color: var(--ink-500);
  }
  .stx-mnav__sheet a.grp-card .new {
    font-size: 9px; font-weight: var(--fw-semi);
    letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--titanium);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px; padding: 1px 6px;
  }
  .stx-mnav__sheet .solo {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0; border-bottom: 1px solid var(--ink-700);
    font-size: 16px; font-weight: var(--fw-medium); color: var(--ink-50);
  }
}
