/* =========================================================================
   InvictusBoost — invictus-navbar
   The site's header (announcement line + floating "pill" nav), ported from
   public/assets/css/site.css. Every rule is scoped under .ibh / .ibh-announce
   so nothing here can touch Bootstrap, pro.css or the other invictus-* files.
   Markup: components/announcement.njk + components/navbar.njk
   ========================================================================= */

.ibh,
.ibh-announce {
  --bg: #05080f;
  --panel: #0e1524;
  --panel-2: #121b2e;
  --panel-3: #172338;
  --line: rgba(120, 170, 255, 0.12);
  --line-strong: rgba(110, 168, 255, 0.28);
  --text: #f4f7ff;
  --text-dim: #9aadc8;
  --muted: #6d7f99;
  --accent: var(--cl-accent, #4f8cff);
  --accent-2: #7eb0ff;
  --accent-rgb: var(--cl-accent-rgb, 79, 140, 255);
  --shadow: 0 20px 44px -28px rgba(0, 0, 0, 0.72);
  --header-bg: rgba(5, 8, 15, 0.94);
  --font: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Work Sans', sans-serif;
}

/* The layout wraps both components in <header class="sticky-top">. The site's
   announcement scrolls away and only the pill stays (position: fixed), so the
   wrapper itself must not stick. */
#app header.sticky-top {
  position: static;
  z-index: auto;
}
/* site: html { scroll-padding-top: calc(var(--header-h) + 12px) } — anchors land below the pill */
html:has(.ibh-site) { scroll-padding-top: 84px; }

/* ============================================================== top bar === */
.announcement.ibh-announce {
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .3px;
  text-align: center;
  padding: max(11px, env(safe-area-inset-top, 0px)) 16px 10px;
  border: 0;
  position: relative;
  z-index: 3;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
.announcement.ibh-announce a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 8px;
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
  vertical-align: baseline;
  transition: color .18s ease;
}
.announcement.ibh-announce a:hover { color: var(--text); }
.announcement.ibh-announce a svg {
  width: 12px;
  height: 12px;
  flex: none;
}

/* ====================================================== floating pill nav === */
.navbar.ibh {
  /* neutralise Bootstrap .navbar + pro.css / invictus.css chrome on the wrapper */
  display: block;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none; /* a filter here would trap the position: fixed pill */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.ibh *,
.ibh *::before,
.ibh *::after { box-sizing: border-box; }
.ibh a { color: inherit; text-decoration: none; }
.ibh button { font: inherit; color: inherit; }
.ibh img { max-width: 100%; display: block; }
.ibh a:focus-visible,
.ibh button:focus-visible,
.ibh .choices:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: none;
}

/* Floating pill nav — collapses to brand on scroll down */
.ibh .ibh-site {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 1020;
  display: flex;
  justify-content: center;
  padding: 0 max(14px, env(safe-area-inset-right, 0px)) 0 max(14px, env(safe-area-inset-left, 0px));
  background: transparent;
  border: none;
  pointer-events: none;
}
/* The pill sits under the announcement line when there is one (site: [data-layout="header"]:has(.announce)).
   The :has() copies cover a platform wrapper around either component; they are separate rules so a
   browser without :has() still keeps the sibling ones. */
.ibh-announce:not(.is-empty) ~ .ibh .ibh-site {
  top: calc(46px + var(--ibh-extra, 0px));
}
header:has(.ibh-announce:not(.is-empty)) .ibh .ibh-site {
  top: calc(46px + var(--ibh-extra, 0px));
}
.ibh .site-nav-offset {
  height: 84px;
}
.ibh-announce:not(.is-empty) ~ .ibh .site-nav-offset {
  height: 118px;
}
header:has(.ibh-announce:not(.is-empty)) .ibh .site-nav-offset {
  height: 118px;
}

.ibh .pill-nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: min(1120px, calc(100% - 8px));
  padding: 0.625em 0.875em;
  border-radius: 999px;
  background: var(--header-bg);
  border: 1px solid var(--line-strong);
  /* Light blur only — heavy saturate was tinting the pill against the hero wash. */
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
  box-shadow: 0 16px 40px -26px rgba(0, 0, 0, 0.55);
  color: var(--text);
  transition:
    gap .7s cubic-bezier(.16, 1, .3, 1),
    padding .7s cubic-bezier(.16, 1, .3, 1);
  will-change: width;
  box-sizing: border-box;
  isolation: isolate;
  overflow: visible;
}

.ibh .ibh-site.is-compact .pill-nav {
  gap: 0;
  padding: 0.625em 1em 0.625em 0.75em;
}

/* Smooth Lenis-like collapse via grid 1fr → 0fr (colors unchanged). */
.ibh .pill-nav__slot {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  opacity: 1;
  transition:
    grid-template-columns .7s cubic-bezier(.16, 1, .3, 1),
    opacity .45s cubic-bezier(.16, 1, .3, 1);
}
.ibh .ibh-site.is-compact .pill-nav__slot {
  grid-template-columns: 0fr;
  opacity: 0;
  pointer-events: none;
}
/* Clip only the links track — actions must stay overflow:visible for dropdowns */
.ibh .pill-nav__slot--links > * {
  overflow: hidden;
  min-width: 0;
}
.ibh .pill-nav__slot--actions,
.ibh .pill-nav__slot--actions > * {
  overflow: visible;
  min-width: 0;
}
.ibh .ibh-site.is-compact .pill-nav__slot--actions > * {
  overflow: hidden;
}

.ibh .pill-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.ibh .pill-nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  position: relative;
}

/* ------------------------------------------------------------------ brand */
.ibh .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -0.5px; font-size: 1rem;
  border-radius: 999px; padding: 0.25em 0.5em 0.25em 0.25em;
  flex: 0 0 auto;
  color: var(--text);
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}
.ibh .brand:hover { background: rgba(var(--accent-rgb), 0.08); color: var(--text); }
.ibh .brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: #05080f;
  color: #fff;
  display: grid; place-items: center;
  flex: none;
  box-shadow: 0 8px 18px -10px rgba(var(--accent-rgb), 0.55);
  transition: box-shadow .18s ease, background .18s ease;
  overflow: hidden;
  padding: 0;
}
.ibh .brand .mark .brand-avatar {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  /* The store avatar is a circle on a black square — zoom so it fills the mark (site: 1.28). */
  transform: scale(var(--ibh-logo-zoom, 1.28));
}
.ibh .brand:hover .mark {
  box-shadow: 0 10px 22px -10px rgba(var(--accent-rgb), 0.75);
}
.ibh .brand .mark svg {
  width: 18px; height: 18px;
  display: block;
  overflow: hidden;
  margin: 0;
}
.ibh .brand-name {
  max-width: 180px; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-display);
  font-weight: 700;
}

/* Animated brand rocket (fallback mark when the shop has no logo) */
.ibh .ib-rocket { display: block; overflow: hidden; }
.ibh .ib-rocket__ship {
  transform-box: fill-box;
  transform-origin: center;
  animation: ibhRocketDraw 0.7s cubic-bezier(.2, .8, .2, 1) both,
             ibhRocketFloat 2.8s 0.7s ease-in-out infinite;
}
.ibh .ib-rocket__line,
.ibh .ib-rocket__flame {
  stroke-dasharray: 56;
  stroke-dashoffset: 56;
  animation: ibhRocketStroke 0.85s cubic-bezier(.2, .8, .2, 1) forwards;
}
.ibh .ib-rocket__flame { animation-delay: .12s; }
.ibh .ib-rocket__line:nth-child(2) { animation-delay: .08s; }
.ibh .ib-rocket__line:nth-child(3) { animation-delay: .16s; }
.ibh .ib-rocket__spark {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: ibhRocketSpark 1.15s ease-out infinite;
}
.ibh .ib-rocket__spark--2 { animation-delay: .18s; }
.ibh .ib-rocket__spark--3 { animation-delay: .36s; }
.ibh .brand:hover .ib-rocket__ship {
  animation: ibhRocketLaunch 0.65s cubic-bezier(.2, .85, .2, 1) infinite;
}
.ibh .brand:hover .ib-rocket__spark { animation-duration: .7s; }
.ibh .brand:hover .ib-rocket__flame {
  stroke-dashoffset: 0;
  animation: ibhRocketFlicker .45s ease-in-out infinite;
}
@keyframes ibhRocketStroke {
  from { stroke-dashoffset: 56; }
  to { stroke-dashoffset: 0; }
}
@keyframes ibhRocketDraw {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes ibhRocketFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.2px); }
}
@keyframes ibhRocketLaunch {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1px, -2px); }
}
@keyframes ibhRocketSpark {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  35% { opacity: .85; }
  100% { opacity: 0; transform: translate(0, 4px) scale(.2); }
}
@keyframes ibhRocketFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* -------------------------------------------------------------- nav links */
.ibh .nav-links { display: flex; gap: 2px; }
.ibh .nav-links a {
  position: relative;
  padding: 0.5em 0.75em; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--text-dim);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.ibh .nav-links a:hover {
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.08);
}
.ibh .nav-links a.active {
  color: #fff;
  background: rgba(var(--accent-rgb), 0.92);
  box-shadow: 0 8px 18px -12px rgba(var(--accent-rgb), 0.9);
}
.ibh .nav-links a.active:hover { color: #fff; background: var(--accent); }
/* SellAuth "button" shaped link: outlined pill */
.ibh .nav-links a.is-button:not(.active) {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
/* Nav link indicator slide */
.ibh .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: left .22s cubic-bezier(.2, .8, .2, 1), right .22s cubic-bezier(.2, .8, .2, 1);
}
.ibh .nav-links a:hover::after { left: 10px; right: 10px; }

/* Desktop: the Bootstrap collapse target is always open */
@media (min-width: 901px) {
  .ibh .pill-nav__links.collapse:not(.show),
  .ibh .pill-nav__links.collapsing {
    display: flex;
    height: auto !important;
  }
}
.ibh .pill-nav__links.collapsing { transition: none; }

/* --------------------------------------------- account / cart pill buttons */
.ibh .cart-btn,
.ibh .burger {
  --btn-x: 50%;
  --btn-y: 50%;
  --btn-glow: rgba(var(--accent-rgb), 0.42);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ibh .cart-btn::after,
.ibh .burger::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .22s ease;
  background: radial-gradient(
    140px circle at var(--btn-x) var(--btn-y),
    var(--btn-glow),
    transparent 58%
  );
}
.ibh .cart-btn:hover::after,
.ibh .burger:hover::after { opacity: 1; }
.ibh .cart-btn > *,
.ibh .burger > * {
  position: relative;
  z-index: 1;
}

.ibh .cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.5em 0.875em; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  line-height: 1.55;
  min-height: 44px;
  margin: 0;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid var(--line-strong);
  color: var(--text); cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
  flex: none;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}
.ibh .cart-btn:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.12);
  transform: none;
  box-shadow: none;
}
.ibh .cart-btn svg { width: 16px; height: 16px; flex: none; }
.ibh .cart-btn [data-account-label] {
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ibh .cart-count {
  min-width: 20px; height: 20px; padding: 0 0.375em; border-radius: 20px;
  background: var(--accent);
  font-size: 11.5px; font-weight: 800; line-height: 1; display: grid; place-items: center; color: #fff;
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .18s ease;
  font-variant-numeric: tabular-nums;
}
.ibh .cart-count.is-empty {
  opacity: 0;
  transform: scale(.6);
  pointer-events: none;
}
/* site: .cart-count.is-bump — the count pops when an item is added or removed */
.ibh .cart-count.is-bump:not(.is-empty) { animation: ibhCartBubble .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes ibhCartBubble {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  65%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.ibh .burger {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 0.5em; margin: 0; color: var(--text);
  min-width: 44px; min-height: 44px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.ibh .burger svg { width: 28px; height: 28px; display: block; }

/* ------------------------------------ currency + language (Choices.js) --- */
/* script.js turns each <select> into a Choices widget on window load; these
   rules dress that widget as the site's .currency-btn + .currency-panel. */
.ibh .currency-selector,
.ibh .language-selector {
  position: relative;
  max-width: none;
  flex: none;
}
.ibh .ibh-lang { display: contents; }
.ibh .ibh-menu-extra { display: none; }

/* Plain <select> shown for a moment before Choices takes over */
.ibh .currency-selector select,
.ibh .language-selector select {
  display: block;
  width: 52px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  color: transparent;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.ibh .language-selector select { width: 78px; }
.ibh .choices select[hidden] { display: none; }

.ibh .choices {
  margin: 0 !important;
  overflow: visible;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text);
}
.ibh .choices[data-type*="select-one"]::after { content: none; }

.ibh .currency-selector .choices__inner,
.ibh .language-selector .choices__inner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px;
  padding: 0 0.6875em !important;
  border-radius: 999px !important;
  border: 1px solid var(--line) !important;
  background: color-mix(in srgb, var(--panel) 55%, transparent) !important;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.55;
  overflow: visible;
  vertical-align: top;
  transition: border-color .18s, background .18s;
}
/* caret (site .currency-caret) */
.ibh .currency-selector .choices__inner::after,
.ibh .language-selector .choices__inner::after {
  content: '';
  width: 0; height: 0;
  flex: none;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
  transition: transform .18s;
}
.ibh .choices.is-open .choices__inner::after { transform: rotate(180deg); border-top-color: var(--accent); }
/* pro.css paints the open / focused widget with the accent; the site keeps the quiet border */
.ibh .currency-selector .choices.is-open .choices__inner,
.ibh .language-selector .choices.is-open .choices__inner,
.ibh .currency-selector .choices.is-focused .choices__inner,
.ibh .language-selector .choices.is-focused .choices__inner {
  border-color: var(--line) !important;
  border-radius: 999px !important;
}

.ibh .choices .choices__list--single {
  display: block;
  width: auto;
  padding: 0;
}
.ibh .choices .choices__list--single .choices__item {
  display: flex;
  align-items: center;
  gap: 7px;
  width: auto;
  max-width: 4.75em; /* browsers that drop markup inside <option> show "$ USD" as text */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  color: var(--text);
}
/* closed button: currency symbol only (site .currency-sym) */
.ibh .choices__list--single .currency-icon { min-width: 1.1em; text-align: center; }
.ibh .choices__list--single .currency-code,
.ibh .choices__list--single .currency-default { display: none; }
/* closed button: flag + language code */
.ibh .language-selector .choices__list--single .choices__item > span { gap: 7px !important; }
.ibh .language-selector .flag {
  width: 18px;
  height: 13.5px;
  border-radius: 3px;
  flex: none;
}
.ibh .language-selector .code {
  color: var(--text);
  font-weight: 800;
}

/* dropdown panel (site .currency-panel) */
.ibh .currency-selector .choices__list--dropdown,
.ibh .language-selector .choices__list--dropdown {
  top: calc(100% + 8px);
  bottom: auto;
  left: auto;
  right: 0;
  inset-inline-start: auto;
  inset-inline-end: 0;
  display: flex;
  flex-direction: column;
  width: 220px;
  min-width: 0 !important;
  max-height: min(70dvh, 420px);
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--line-strong) !important;
  background: var(--panel);
  box-shadow: var(--shadow);
  z-index: 80;
  overflow: hidden;
  word-break: normal;
  font-family: var(--font);
}
.ibh .currency-selector .is-flipped .choices__list--dropdown,
.ibh .language-selector .is-flipped .choices__list--dropdown {
  top: auto;
  bottom: calc(100% + 8px);
  border-radius: 12px;
}
.ibh .language-selector .choices__list--dropdown { padding-top: 6px; }

/* Choices' search box doubles as the site's "CURRENCY" panel head */
.ibh .currency-selector .choices__list--dropdown .choices__input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75em 0.875em 0.5em;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  outline: none;
  box-shadow: none;
}
.ibh .currency-selector .choices__input::placeholder { color: var(--muted); opacity: 1; }
.ibh .currency-selector .choices__input::-webkit-search-cancel-button { display: none; }

.ibh .currency-selector .choices__list--dropdown .choices__list,
.ibh .language-selector .choices__list--dropdown .choices__list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding: 0 6px 6px;
}
.ibh .currency-selector .choices__list--dropdown .choices__item,
.ibh .language-selector .choices__list--dropdown .choices__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px !important;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -.02em;
  word-break: normal;
  text-align: start;
}
.ibh .currency-selector .choices__list--dropdown .choices__item--selectable::after,
.ibh .language-selector .choices__list--dropdown .choices__item--selectable::after { display: none; }
.ibh .currency-selector .choices__list--dropdown .choices__item--selectable.is-highlighted,
.ibh .language-selector .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: var(--panel-3);
  color: var(--text);
}
.ibh .currency-selector .choices__list--dropdown .choices__item.is-selected,
.ibh .language-selector .choices__list--dropdown .choices__item.is-selected {
  background: rgba(var(--accent-rgb), .08);
}
.ibh .choices__list--dropdown .currency-icon {
  width: 32px; height: 28px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--panel-3);
  border: 1px solid var(--line); font-size: 0.75rem; font-weight: 800; letter-spacing: 0;
  flex: none;
}
.ibh .choices__list--dropdown .currency-code { font-size: 13.5px; font-weight: 800; letter-spacing: -.02em; }
.ibh .choices__list--dropdown .currency-default { margin-left: auto; margin-inline-start: auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.ibh .language-selector .choices__list--dropdown .choices__item > span { gap: 10px !important; }
.ibh .language-selector .choices__list--dropdown .flag { width: 22px; height: 16.5px; }

/* ============================================================ responsive === */
/* Narrow desktops: navbar.njk adds .is-tight when the links would be cut off, and the
   account / cart buttons go icon-only (the phone look) so every link stays readable. */
@media (min-width: 901px) {
  .ibh .ibh-site.is-tight .cart-label,
  .ibh .ibh-site.is-tight [data-account-label] { display: none; }
  .ibh .ibh-site.is-tight .cart-btn { padding: 0.5em 0.625em; }
  .ibh .ibh-site.is-tighter:not(.is-compact) .pill-nav { gap: 8px; }
  .ibh .ibh-site.is-tighter .nav-links a { padding-left: 0.5em; padding-right: 0.5em; }
  .ibh .ibh-site.is-tighter .language-selector .choices__list--single .code { display: none; }
}
@media (max-width: 900px) {
  .ibh .ibh-site .cart-label,
  .ibh .ibh-site [data-account-label] { display: none; }
  .ibh .ibh-site .cart-btn { padding: 0.5em 0.625em; }
  .ibh .pill-nav { max-width: 100%; padding: 0.5em 0.625em; }
  .ibh .ibh-site .pill-nav__slot--links { position: static; }
  .ibh .ibh-site:not(.is-compact) .pill-nav__slot--links { display: contents; }
  .ibh .ibh-site .pill-nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.625em;
    border-radius: 18px;
    background: rgba(11, 11, 12, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.75);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .ibh .ibh-site .pill-nav__links.show,
  .ibh .ibh-site .pill-nav__links.collapsing {
    display: flex;
    height: auto !important;
    overflow: visible;
  }
  .ibh .burger { display: grid; place-items: center; }
  .ibh .nav-links a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 720px) {
  .ibh .pill-nav { max-width: 100%; padding: 0.5em; }
  .ibh .site-nav-offset { height: 78px; }
}
@media (max-width: 560px) {
  /* language switcher moves from the pill into the menu panel */
  .ibh .ibh-lang { display: none; }
  .ibh .ibh-menu-extra {
    display: flex;
    margin-top: 0.375em;
    padding: 0.625em 0.25em 0.125em;
    border-top: 1px solid var(--line);
  }
  .ibh .ibh-menu-extra .choices__list--dropdown {
    right: auto;
    left: 0;
    inset-inline-end: auto;
    inset-inline-start: 0;
  }
}
@media (max-width: 480px) {
  .ibh .brand-name { max-width: 140px; }
  .ibh .nav-links a { padding: 0.625em 0.75em; }
  .ibh .ibh-site {
    padding: 0 max(8px, env(safe-area-inset-right, 0px)) 0 max(8px, env(safe-area-inset-left, 0px));
  }
  /* The site's phone pill also carries the theme + palette buttons and runs off-screen; without
     them everything fits once the count becomes a badge on the cart icon. */
  .ibh .ibh-site .cart-count {
    position: absolute;
    top: 3px;
    right: 2px;
    z-index: 2;
    min-width: 16px;
    height: 16px;
    padding: 0 0.3em;
    font-size: 10px;
  }
  /* very narrow phones: the brand name gives way (ellipsis), the buttons never do */
  .ibh .brand { flex: 0 1 auto; min-width: 0; }
  .ibh .brand-name { min-width: 0; }
  .ibh .ibh-site:not(.is-compact) .pill-nav__slot--actions { flex-shrink: 0; }
}
@media (max-width: 380px) {
  .ibh .pill-nav { gap: 6px; }
  .ibh .pill-nav__actions { gap: 4px; }
  .ibh .brand { gap: 8px; padding-right: 0.25em; }
  .ibh .brand .mark { width: 34px; height: 34px; }
  .ibh .burger { min-width: 40px; padding: 0.375em; }
}

@media (prefers-reduced-motion: reduce) {
  .ibh .pill-nav,
  .ibh .pill-nav__slot { transition: none !important; }
  .ibh .cart-btn::after,
  .ibh .burger::after { display: none; }
  .ibh .cart-count.is-bump { animation: none !important; }
  .ibh .ib-rocket__ship,
  .ibh .ib-rocket__spark { animation: none; }
  .ibh .ib-rocket__line,
  .ibh .ib-rocket__flame { animation: none; stroke-dashoffset: 0; }
}
@media print {
  .ibh .ibh-site,
  .ibh .site-nav-offset,
  .announcement.ibh-announce { display: none !important; }
}

/* ============================================== SellAuth visual builder === */
/* The edit toolbar is appended inside each .component; keep it clear of the fixed pill. */
.builder .ibh-announce { z-index: 1025; }
.builder .ibh-announce > .builder-toolbar { top: 0; }
.builder .ibh > .builder-toolbar { top: 80px; z-index: 1021; }