/* Cabeçalho — extraído de theme-after-platform.css (limite sync CentralCart) */
/* Cabeçalho único em todas as páginas (home, produto, etc.) */
@property --site-header-shrink {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

@property --kingdom-header-side-trim {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

:root {
  --site-header-shrink: 0;
  --site-header-extra-drop: 0.55rem;
  --site-header-extra-drop-scrolled: 0.04rem;
  --site-header-motion-duration: 2.15s;
  --site-header-motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --site-header-bg: rgba(6, 7, 10, 0.54);
  --site-header-bg-center: rgba(255, 255, 255, 0.045);
  --site-header-bg-scrolled: rgba(5, 6, 9, 0.66);
  --site-header-border-outer: rgba(0, 0, 0, 0.46);
  --site-header-border-inner: rgba(255, 255, 255, 0.085);
  --site-header-border-fade: rgba(0, 0, 0, 0.34);
}

#site-header {
  --site-header-shrink: 0;
  --site-header-extra-drop-current: calc(
    var(--site-header-extra-drop) -
      (var(--site-header-extra-drop) - var(--site-header-extra-drop-scrolled)) * var(--site-header-shrink, 0)
  );
  top: calc(var(--site-header-top, 0px) + var(--site-header-extra-drop-current, var(--site-header-extra-drop, 0px)));
  will-change: top;
  transition:
    --site-header-shrink var(--site-header-motion-duration) var(--site-header-motion-ease),
    top var(--site-header-motion-duration) var(--site-header-motion-ease);
}

html {
  transition: --kingdom-header-side-trim var(--site-header-motion-duration) var(--site-header-motion-ease);
}

#site-header .kingdom-header-shell {
  padding-top: calc(0.42rem - 0.18rem * var(--site-header-shrink, 0)) !important;
  padding-bottom: calc(0.36rem - 0.16rem * var(--site-header-shrink, 0)) !important;
  transition:
    padding var(--site-header-motion-duration) var(--site-header-motion-ease);
}

#site-header .king-float-nav {
  position: relative;
  box-sizing: border-box;
  border: 1px solid var(--site-header-border-outer) !important;
  border-radius: calc(2.1rem + 0.45rem * var(--site-header-shrink, 0));
  outline: none !important;
  padding-top: calc(0.48rem - 0.18rem * var(--site-header-shrink, 0)) !important;
  padding-bottom: calc(0.48rem - 0.18rem * var(--site-header-shrink, 0)) !important;
  transform: none !important;
  transition:
    border-radius var(--site-header-motion-duration) var(--site-header-motion-ease),
    padding var(--site-header-motion-duration) var(--site-header-motion-ease),
    background var(--site-header-motion-duration) var(--site-header-motion-ease),
    box-shadow var(--site-header-motion-duration) var(--site-header-motion-ease),
    backdrop-filter var(--site-header-motion-duration) var(--site-header-motion-ease),
    -webkit-backdrop-filter var(--site-header-motion-duration) var(--site-header-motion-ease),
    width var(--site-header-motion-duration) var(--site-header-motion-ease),
    max-width var(--site-header-motion-duration) var(--site-header-motion-ease);
  background:
    radial-gradient(
      ellipse 48% 120% at 50% 50%,
      color-mix(in srgb, var(--site-header-bg-center) calc((1 - var(--site-header-shrink, 0)) * 100%), rgba(255, 255, 255, 0.05)) 0%,
      transparent 68%
    ),
    color-mix(in srgb, var(--site-header-bg) calc((1 - var(--site-header-shrink, 0)) * 100%), var(--site-header-bg-scrolled)) !important;
  background-clip: padding-box;
  -webkit-backdrop-filter: blur(calc(40px + 12px * var(--site-header-shrink, 0))) saturate(calc(145% + 10% * var(--site-header-shrink, 0)));
  backdrop-filter: blur(calc(40px + 12px * var(--site-header-shrink, 0))) saturate(calc(145% + 10% * var(--site-header-shrink, 0)));
  box-shadow: 0 calc(18px - 4px * var(--site-header-shrink, 0)) calc(48px - 8px * var(--site-header-shrink, 0))
    rgba(0, 0, 0, calc(0.28 - 0.06 * var(--site-header-shrink, 0))) !important;
}

#site-header .king-float-nav > nav {
  min-height: calc(2.9rem - 0.55rem * var(--site-header-shrink, 0));
  opacity: calc(1 - 0.03 * var(--site-header-shrink, 0));
  transition:
    min-height var(--site-header-motion-duration) var(--site-header-motion-ease),
    opacity var(--site-header-motion-duration) var(--site-header-motion-ease);
}

#site-header .king-float-nav__logo {
  height: 2.2rem;
  width: 2.2rem;
  transform: scale(calc(1 - 0.12 * var(--site-header-shrink, 0)));
  opacity: calc(1 - 0.06 * var(--site-header-shrink, 0));
  transition:
    transform var(--site-header-motion-duration) var(--site-header-motion-ease),
    opacity var(--site-header-motion-duration) var(--site-header-motion-ease),
    width var(--site-header-motion-duration) var(--site-header-motion-ease),
    height var(--site-header-motion-duration) var(--site-header-motion-ease);
}

#site-header .king-float-nav__actions .king-nav-action-btn {
  width: calc(2.85rem - 0.27rem * var(--site-header-shrink, 0)) !important;
  height: calc(2.85rem - 0.27rem * var(--site-header-shrink, 0)) !important;
  min-width: calc(2.85rem - 0.27rem * var(--site-header-shrink, 0)) !important;
  min-height: calc(2.85rem - 0.27rem * var(--site-header-shrink, 0)) !important;
}

#site-header .king-float-nav__actions .king-nav-action-btn i,
#site-header .king-float-nav__actions .king-nav-action-btn svg {
  width: calc(1.15rem - 0.05rem * var(--site-header-shrink, 0)) !important;
  height: calc(1.15rem - 0.05rem * var(--site-header-shrink, 0)) !important;
}

@media (min-width: 640px) {
  :root {
    --site-header-extra-drop: 0.62rem;
  }

  #site-header .kingdom-header-shell {
    padding-top: calc(0.48rem - 0.2rem * var(--site-header-shrink, 0)) !important;
    padding-bottom: calc(0.44rem - 0.18rem * var(--site-header-shrink, 0)) !important;
  }

  #site-header .king-float-nav {
    border-radius: calc(2.45rem + 0.35rem * var(--site-header-shrink, 0));
    padding-top: calc(0.54rem - 0.2rem * var(--site-header-shrink, 0)) !important;
    padding-bottom: calc(0.54rem - 0.2rem * var(--site-header-shrink, 0)) !important;
  }

  #site-header .king-float-nav__logo {
    height: 2.4rem;
    width: 2.4rem;
  }

  #site-header .king-category-pill {
    min-height: calc(2.95rem - 0.4rem * var(--site-header-shrink, 0));
    padding-inline: calc(0.68rem - 0.16rem * var(--site-header-shrink, 0));
  }
}

@media (min-width: 1024px) {
  :root {
    --site-header-extra-drop: 0.68rem;
  }

  #site-header .kingdom-header-shell {
    padding-top: calc(0.54rem - 0.22rem * var(--site-header-shrink, 0)) !important;
    padding-bottom: calc(0.48rem - 0.2rem * var(--site-header-shrink, 0)) !important;
  }

  #site-header .king-float-nav {
    --site-header-bg: rgba(6, 7, 10, 0.6);
    --site-header-bg-center: rgba(255, 255, 255, 0.055);
    padding-top: calc(0.6rem - 0.22rem * var(--site-header-shrink, 0)) !important;
    padding-bottom: calc(0.6rem - 0.22rem * var(--site-header-shrink, 0)) !important;
  }

  #site-header .king-float-nav__logo {
    height: 2.55rem;
    width: 2.55rem;
  }

  #site-header .king-category-pill {
    min-height: calc(3.15rem - 0.5rem * var(--site-header-shrink, 0));
    padding-inline: calc(0.76rem - 0.18rem * var(--site-header-shrink, 0));
  }

  #site-header .king-float-nav > nav {
    min-height: calc(3.05rem - 0.6rem * var(--site-header-shrink, 0));
  }
}

#site-header #site-header-nav {
  border-bottom-color: transparent !important;
}

#site-header .king-float-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px var(--site-header-border-inner),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#site-header .king-float-nav:hover,
#site-header .king-float-nav:active {
  border-color: rgba(0, 0, 0, 0.5) !important;
  background:
    radial-gradient(
      ellipse 46% 125% at 50% 48%,
      rgba(255, 255, 255, 0.055) 0%,
      rgba(255, 255, 255, 0.018) 42%,
      transparent 72%
    ),
    rgba(6, 7, 10, 0.66) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3) !important;
  transform: none !important;
}

#site-header .king-float-nav--search-open {
  padding-bottom: 0;
}

#site-header .kingdom-home-search-panel,
#site-header #mobile-categories-bar,
#site-header #mobile-categories-panel {
  border-color: rgba(255, 255, 255, 0.07) !important;
}

#site-header .king-float-nav--search-open .kingdom-home-search-panel {
  margin-inline: -0.25rem;
  border-bottom-left-radius: 2.1rem;
  border-bottom-right-radius: 2.1rem;
}

@media (min-width: 640px) {
  #site-header .king-float-nav--search-open .kingdom-home-search-panel {
    margin-inline: -0.5rem;
    border-bottom-left-radius: 2.45rem;
    border-bottom-right-radius: 2.45rem;
  }
}

#site-header .king-float-nav > nav,
#site-header .kingdom-header-iconstrip,
#site-header .king-float-nav__actions {
  align-items: center;
}

#site-header .king-header-pill,
#site-header .king-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#site-header .kingdom-header-iconstrip,
#site-header .king-category-rail {
  gap: 0.85rem;
}

#site-header .king-category-cluster {
  --king-category-gap: 0.42rem;
  position: relative;
  gap: var(--king-category-gap) !important;
  overflow: visible;
}

#site-header .king-category-cluster--manual-lines {
  --king-category-gap: 0.42rem;
  gap: 0.5rem !important;
}

#site-header .king-category-cluster > .king-category-pill {
  --king-category-gap: inherit;
}

#site-header .king-category-manual-divider {
  display: inline-block !important;
  width: 1px !important;
  height: 1.15rem;
  flex: 0 0 1px !important;
  align-self: center;
  background: linear-gradient(
    to bottom,
    rgba(148, 163, 184, 0),
    rgba(203, 213, 225, 0.42) 28%,
    rgba(203, 213, 225, 0.42) 72%,
    rgba(148, 163, 184, 0)
  ) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

@media (min-width: 640px) {
  #site-header .king-category-cluster {
    --king-category-gap: 1.15rem;
  }

  #site-header .king-category-cluster--manual-lines {
    gap: 0.72rem !important;
  }
}

@media (min-width: 768px) {
  #site-header .king-category-cluster {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: min(100%, 58vw);
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  #site-header .king-category-cluster > * {
    pointer-events: auto;
  }

  #site-header .kingdom-header-iconstrip,
  #site-header .king-category-rail {
    position: static;
    flex: 1 1 0%;
    min-width: 0;
    overflow: visible;
  }

  #site-header .kingdom-header-iconstrip > .king-category-rail-extra,
  #site-header .king-category-rail > .king-category-rail-extra {
    position: relative;
    z-index: 3;
    margin-left: auto;
    margin-right: 0.35rem;
    pointer-events: auto;
  }
}

#site-header .king-category-pill {
  position: relative;
  min-height: calc(2.18rem - 0.22rem * var(--site-header-shrink, 0));
  padding-inline: calc(0.28rem - 0.08rem * var(--site-header-shrink, 0));
  overflow: visible;
  opacity: calc(1 - 0.04 * var(--site-header-shrink, 0));
}

#site-header .king-category-cluster--manual-lines > .king-category-pill + .king-category-pill::before,
#site-header .king-category-cluster--manual-lines > .king-category-pill--other::before {
  content: none !important;
  display: none !important;
}

#site-header .kingdom-header-iconstrip > .king-category-rail-extra::before {
  content: '';
  position: absolute;
  left: calc(var(--king-category-gap, 1.05rem) / -2);
  top: 50%;
  width: 1px;
  height: 1.15rem;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    to bottom,
    rgba(148, 163, 184, 0),
    rgba(203, 213, 225, 0.36) 28%,
    rgba(203, 213, 225, 0.36) 72%,
    rgba(148, 163, 184, 0)
  );
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
  z-index: 10;
}

@media (min-width: 640px) {
  #site-header .kingdom-header-iconstrip > .king-category-rail-extra::before,
  #site-header .king-category-manual-divider {
    height: 1.68rem;
  }
}

@media (min-width: 1024px) {
  #site-header .kingdom-header-iconstrip > .king-category-rail-extra::before,
  #site-header .king-category-manual-divider {
    height: 1.82rem;
  }
}

#site-header .king-float-nav__actions {
  gap: 0.32rem;
  margin-inline-start: 0.12rem;
  margin-inline-end: 0.08rem;
}

#site-header .king-float-nav__actions > li {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  #site-header .king-float-nav__actions {
    gap: 0.78rem;
    margin-inline-end: 0.4rem;
  }
}

#site-header .king-float-nav__actions .king-nav-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.92rem;
  height: 1.92rem;
  min-width: 1.92rem;
  min-height: 1.92rem;
  padding: 0;
  border-radius: 9999px;
  box-sizing: border-box;
  flex-shrink: 0;
  line-height: 0;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

@media (min-width: 640px) {
  #site-header .king-float-nav__actions .king-nav-action-btn {
    width: 2.55rem;
    height: 2.55rem;
    min-width: 2.55rem;
    min-height: 2.55rem;
  }
}

#site-header .king-float-nav__actions .king-nav-action-btn i,
#site-header .king-float-nav__actions .king-nav-action-btn svg,
#site-header .king-float-nav__actions .king-nav-action-icon {
  display: block;
  width: 0.92rem !important;
  height: 0.92rem !important;
  min-width: 0.92rem !important;
  min-height: 0.92rem !important;
  margin: 0;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  #site-header .king-float-nav__actions .king-nav-action-btn i,
  #site-header .king-float-nav__actions .king-nav-action-btn svg,
  #site-header .king-float-nav__actions .king-nav-action-icon {
    width: 1.2rem !important;
    height: 1.2rem !important;
    min-width: 1.2rem !important;
    min-height: 1.2rem !important;
  }
}

#site-header .king-float-nav__actions .king-nav-action-icon--search {
  width: 0.98rem !important;
  height: 0.98rem !important;
  min-width: 0.98rem !important;
  min-height: 0.98rem !important;
}

@media (min-width: 640px) {
  #site-header .king-float-nav__actions .king-nav-action-icon--search {
    width: 1.24rem !important;
    height: 1.24rem !important;
    min-width: 1.24rem !important;
    min-height: 1.24rem !important;
  }
}

#site-header .king-float-nav__actions .king-nav-action-btn--login,
#site-header .king-float-nav__actions .king-nav-action-btn--cart {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: #45d1ff !important;
  color: #0a0a0a !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#site-header .king-float-nav__actions .king-nav-action-btn--login:hover,
#site-header .king-float-nav__actions .king-nav-action-btn--cart:hover {
  background: #5ad8ff !important;
}

#site-header .king-float-nav__actions .king-nav-action-btn--search {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(24, 24, 27, 0.95) !important;
  color: #f8fafc !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#site-header .king-float-nav__actions .king-nav-action-btn--search:hover {
  background: rgba(39, 39, 42, 0.98) !important;
}

#site-header .king-float-nav-search:not(.hidden) {
  display: flex;
  flex: 1 1 auto;
}

#site-header .king-float-nav__actions .open-cart .cart-badge {
  top: -0.3rem;
  right: -0.3rem;
  height: 1.05rem;
  min-width: 1.05rem;
  font-size: 0.6rem;
  line-height: 1;
}

#site-header .king-category-pill .king-nav-cluster__icon,
#site-header .king-category-pill .king-nav-cluster__icon--xbox {
  width: 1.34rem;
  height: 1.34rem;
}

@media (min-width: 640px) {
  #site-header .king-category-pill .king-nav-cluster__icon,
  #site-header .king-category-pill .king-nav-cluster__icon--xbox {
    width: 1.54rem;
    height: 1.54rem;
  }
}

#site-header .king-header-pill .king-nav-cluster__icon,
#site-header .king-category-pill .king-nav-cluster__icon,
  #site-header .king-header-pill .king-nav-cluster__icon--xbox,
  #site-header .king-category-pill .king-nav-cluster__icon--xbox {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

#site-header .king-search-input {
  min-height: 0;
  padding-inline-start: 2.75rem;
  padding-inline-end: 1rem;
}

@media (min-width: 640px) {
  #site-header .king-search-input {
    padding-inline-start: 3rem;
  }
}

#site-header #mobile-search-container .king-search-input {
  padding-inline-start: 2.5rem;
}

#site-header .king-float-nav__brand {
  align-items: center;
  text-decoration: none;
  color: inherit;
}

#site-header .king-float-nav__brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

#site-header .king-float-nav__brand-line {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  #site-header .king-float-nav__brand-line {
    gap: 0.42rem;
  }
}

#site-header .king-float-nav__brand-name {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #fff;
  white-space: nowrap;
  text-align: left;
  line-height: 1.1;
}

@media (max-width: 1023px) {
  html.king-header-mobile-lock {
    --kingdom-header-side-trim: 0px !important;
  }

  html.king-header-mobile-lock #site-header,
  html.king-header-mobile-lock #site-header .kingdom-header-shell,
  html.king-header-mobile-lock #site-header .king-float-nav,
  html.king-header-mobile-lock #site-header .king-float-nav > nav,
  html.king-header-mobile-lock #site-header .king-float-nav__logo {
    transition: none !important;
  }

  html.king-header-mobile-lock #site-header.king-header-fixed .king-float-nav {
    width: 100% !important;
    max-width: 100% !important;
    transition: none !important;
  }

  body.kingdom-is-home #site-header .king-float-nav__logo {
    height: 2.2rem !important;
    width: 2.2rem !important;
    transform: none !important;
    opacity: 1 !important;
  }

  body.kingdom-is-home #site-header .king-float-nav__actions .king-nav-action-btn {
    width: 2.55rem !important;
    height: 2.55rem !important;
    min-width: 2.55rem !important;
    min-height: 2.55rem !important;
  }
}

@media (max-width: 639px) {
  #site-header .king-float-nav__brand-copy,
  #site-header .king-float-nav__brand-name,
  #site-header .king-float-nav__brand-line {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #site-header .king-float-nav__brand:not(:has(.king-float-nav__logo)) {
    display: none !important;
  }

  #site-header .king-float-nav__brand:has(.king-float-nav__logo) {
    max-width: 2.85rem !important;
    width: 2.85rem !important;
    margin-left: 0.65rem !important;
    flex-shrink: 0;
    overflow: hidden;
  }

  #site-header .kingdom-home-nav-brand {
    max-width: 2.85rem !important;
    margin-left: 0.65rem !important;
    flex-shrink: 0;
  }

  #site-header .kingdom-home-nav-row {
    flex-wrap: nowrap;
    gap: 0.3rem;
  }

  #site-header .kingdom-home-iconstrip-rail {
    flex: 1 1 0%;
    min-width: 0;
    justify-content: center;
    padding-inline: 0.1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #site-header .king-category-cluster,
  #site-header .king-category-cluster--manual-lines {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    gap: 0.38rem !important;
  }

  #site-header .kingdom-home-iconstrip-rail .king-category-pill {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.45rem !important;
    height: 2.45rem !important;
    min-width: 2.45rem !important;
    min-height: 2.45rem !important;
    padding-inline: 0.22rem !important;
  }

  #site-header .kingdom-home-iconstrip-rail .king-category-manual-divider {
    display: inline-block !important;
    width: 1px !important;
    height: 1.35rem !important;
    flex: 0 0 1px !important;
    flex-shrink: 0 !important;
  }

  #site-header .kingdom-home-nav-actions-rail {
    margin-left: 0.15rem;
    gap: 0.35rem;
  }
}

/* Modo compacto: categoria, produto, checkout — header mais ancorado */
body.kingdom-header-compact {
  --site-header-extra-drop: 0.18rem;
  --site-header-extra-drop-scrolled: 0.06rem;
}

@media (min-width: 640px) {
  body.kingdom-header-compact {
    --site-header-extra-drop: 0.24rem;
    --site-header-extra-drop-scrolled: 0.08rem;
  }
}

@media (min-width: 1024px) {
  body.kingdom-header-compact {
    --site-header-extra-drop: 0.28rem;
  }
}

body.kingdom-header-compact #site-header .kingdom-header-shell {
  padding-top: 0.3rem !important;
  padding-bottom: 0.26rem !important;
}

@media (min-width: 640px) {
  body.kingdom-header-compact #site-header .kingdom-header-shell {
    padding-top: 0.34rem !important;
    padding-bottom: 0.3rem !important;
  }
}

body.kingdom-header-compact #site-header .king-float-nav {
  --site-header-bg: rgba(5, 6, 9, 0.7);
  --site-header-bg-scrolled: rgba(4, 5, 8, 0.78);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.26) !important;
}

body.kingdom-header-compact #site-header.king-header-scrolled .king-float-nav,
body.kingdom-header-compact #site-header.king-header-is-shrunk .king-float-nav {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --site-header-motion-duration: 0.01ms;
  }

  #site-header,
  html,
  #site-header .kingdom-header-shell,
  #site-header .king-float-nav,
  #site-header .king-float-nav > nav,
  #site-header .king-float-nav__logo {
    transition-duration: 0.01ms !important;
  }
}

/* Desktop: altura estável; encolhe só pelas laterais via --kingdom-header-side-trim */
html.king-header-desktop-lock,
html:has(#site-header.king-header-fixed) {
  --kingdom-header-shrink: 0 !important;
  --site-header-shrink: 0 !important;
}

/* Header fixo — altura estável, laterais encolhem ao rolar */
#site-header.king-header-fixed,
#site-header.king-header-fixed .kingdom-header-shell,
#site-header.king-header-fixed .king-float-nav,
#site-header.king-header-fixed .king-float-nav > nav,
#site-header.king-header-fixed .king-float-nav__logo,
html:has(#site-header.king-header-fixed) {
  transition: none !important;
}

#site-header.king-header-fixed {
  --site-header-shrink: 0 !important;
  --site-header-extra-drop-current: 0.55rem !important;
  top: calc(var(--site-header-top, 0px) + 0.55rem) !important;
  transition: none !important;
}

@media (min-width: 1024px) {
  html.king-header-desktop-lock #site-header,
  html.king-header-desktop-lock #site-header.king-header-scrolled,
  html.king-header-desktop-lock #site-header.king-header-is-shrunk {
    --site-header-shrink: 0 !important;
  }

  #site-header.king-header-fixed {
    --site-header-extra-drop-current: 0.62rem !important;
    top: calc(var(--site-header-top, 0px) + 0.62rem) !important;
  }

  #site-header.king-header-fixed.king-header-scrolled,
  #site-header.king-header-fixed.king-header-is-shrunk {
    --site-header-shrink: 0 !important;
    --site-header-extra-drop-current: 0.62rem !important;
  }
}

#site-header.king-header-fixed .king-float-nav {
  width: calc(100% - var(--kingdom-header-side-trim, 0px)) !important;
  max-width: calc(100% - var(--kingdom-header-side-trim, 0px)) !important;
  transition:
    width var(--site-header-motion-duration) var(--site-header-motion-ease),
    max-width var(--site-header-motion-duration) var(--site-header-motion-ease),
    background var(--site-header-motion-duration) var(--site-header-motion-ease),
    box-shadow var(--site-header-motion-duration) var(--site-header-motion-ease),
    backdrop-filter var(--site-header-motion-duration) var(--site-header-motion-ease),
    -webkit-backdrop-filter var(--site-header-motion-duration) var(--site-header-motion-ease) !important;
}

#site-header.king-header-fixed .kingdom-header-shell {
  padding-top: 0.42rem !important;
  padding-bottom: 0.36rem !important;
}

#site-header.king-header-fixed .king-float-nav {
  border-radius: 2.1rem;
  padding-top: 0.48rem !important;
  padding-bottom: 0.48rem !important;
  background: color-mix(in srgb, var(--site-header-bg-scrolled) 100%, var(--site-header-bg-scrolled)) !important;
  -webkit-backdrop-filter: blur(52px) saturate(155%);
  backdrop-filter: blur(52px) saturate(155%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24) !important;
}

#site-header.king-header-fixed .king-float-nav > nav {
  min-height: 2.9rem;
  opacity: 1;
}

#site-header.king-header-fixed .king-float-nav__logo {
  height: 2.2rem;
  width: 2.2rem;
  transform: none;
  opacity: 1;
}

#site-header.king-header-fixed .king-float-nav__actions .king-nav-action-btn {
  width: 2.55rem !important;
  height: 2.55rem !important;
  min-width: 2.55rem !important;
  min-height: 2.55rem !important;
}

#site-header.king-header-fixed .king-category-pill {
  min-height: 2.95rem;
  padding-inline: 0.68rem;
  opacity: 1;
}

body.kingdom-is-home #site-header.king-header-fixed .king-float-nav__actions .king-nav-action-btn {
  width: 2.55rem !important;
  height: 2.55rem !important;
  min-width: 2.55rem !important;
  min-height: 2.55rem !important;
}

@media (min-width: 640px) {
  #site-header.king-header-fixed .kingdom-header-shell {
    padding-top: 0.48rem !important;
    padding-bottom: 0.44rem !important;
  }

  #site-header.king-header-fixed .king-float-nav {
    border-radius: 2.45rem;
    padding-top: 0.54rem !important;
    padding-bottom: 0.54rem !important;
  }

  #site-header.king-header-fixed .king-float-nav__logo {
    height: 2.4rem;
    width: 2.4rem;
  }

  #site-header.king-header-fixed .king-float-nav > nav {
    min-height: 2.95rem;
  }

  #site-header.king-header-fixed .king-category-pill {
    min-height: 2.95rem;
    padding-inline: 0.68rem;
  }

  body.kingdom-is-home #site-header.king-header-fixed .king-float-nav__actions .king-nav-action-btn {
    width: 2.7rem !important;
    height: 2.7rem !important;
    min-width: 2.7rem !important;
    min-height: 2.7rem !important;
  }
}

@media (min-width: 1024px) {
  #site-header.king-header-fixed .kingdom-header-shell {
    padding-top: 0.54rem !important;
    padding-bottom: 0.48rem !important;
  }

  #site-header.king-header-fixed .king-float-nav {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
  }

  #site-header.king-header-fixed .king-float-nav__logo {
    height: 2.55rem;
    width: 2.55rem;
  }

  #site-header.king-header-fixed .king-float-nav > nav {
    min-height: 3.05rem;
  }

  #site-header.king-header-fixed .king-category-pill {
    min-height: 3.15rem;
    padding-inline: 0.76rem;
  }

  #site-header.king-header-fixed .king-float-nav__actions .king-nav-action-btn,
  body.kingdom-is-home #site-header.king-header-fixed .king-float-nav__actions .king-nav-action-btn {
    width: 2.85rem !important;
    height: 2.85rem !important;
    min-width: 2.85rem !important;
    min-height: 2.85rem !important;
  }

  body.kingdom-is-home #site-header.king-header-fixed .king-float-nav__logo {
    height: 2.55rem;
    width: 2.55rem;
  }
}