/* Carregado após centralcart_style — corrige espaço no topo do header */

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

body > .site-header-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.site-header-wrap {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: rgb(var(--background));
}

.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgb(var(--background)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-header nav,
.site-nav {
  min-height: 4rem;
  height: auto;
  padding: 0.55rem 0 0.7rem;
}

@media (min-width: 768px) {
  .site-header nav,
  .site-nav {
    min-height: 4.25rem;
    height: 4.25rem;
    padding: 0;
  }
}

.site-nav {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "left right"
    "search search";
  align-items: center;
  gap: 0.55rem 0.75rem;
}

@media (min-width: 768px) {
  .site-nav {
    grid-template-columns: auto minmax(14rem, 1fr) auto;
    grid-template-areas: "left search right";
  }
}

.site-nav__left {
  grid-area: left;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  min-width: 0;
}

.site-nav__search {
  grid-area: search;
  min-width: 0;
}

.site-nav__burger {
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  border: 1px solid rgba(var(--brand-rgb), 0.32);
  background: rgba(var(--brand-rgb), 0.08);
  color: #9ca3af;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__burger:hover {
  background: rgba(var(--brand-rgb), 0.16);
  border-color: rgba(var(--brand-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.12);
}

.site-nav__burger span {
  position: absolute;
  left: 50%;
  width: 1.05rem;
  height: 1.6px;
  border-radius: 99px;
  background: #9ca3af;
  transform: translateX(-50%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, top 0.28s ease, background 0.2s ease;
}

.site-nav__burger span:nth-child(1) { top: calc(50% - 5px); }
.site-nav__burger span:nth-child(2) { top: 50%; }
.site-nav__burger span:nth-child(3) { top: calc(50% + 5px); }

.site-nav__burger:hover span {
  background: #d1d5db;
}

.site-nav__burger[aria-expanded="true"] {
  background: rgba(var(--brand-rgb), 0.22);
  border-color: rgba(var(--brand-rgb), 0.65);
}

.site-nav__burger[aria-expanded="true"] span:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.site-nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0.4);
}

.site-nav__burger[aria-expanded="true"] span:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

.site-nav__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.site-nav__brand img,
.site-logo {
  display: block;
  width: 40px;
  height: 40px;
  min-width: 40px;
  object-fit: contain;
  border-radius: 0.55rem;
  flex-shrink: 0;
}

.site-nav__name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.site-nav__name > span:first-child {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.site-nav__badge {
  position: relative;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
}

.site-nav__right {
  grid-area: right;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

body.site-menu-open {
  overflow: hidden;
}

.smenu {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.smenu[data-state="closed"] {
  pointer-events: none;
}

.smenu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.smenu[data-state="open"] .smenu__backdrop {
  opacity: 1;
}

.smenu__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(20.5rem, 88vw);
  display: flex;
  flex-direction: column;
  background: #09090b;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.45);
  transform: translateX(-102%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.smenu[data-state="open"] .smenu__panel {
  transform: translateX(0);
}

.smenu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.05rem 1rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.smenu__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
}

.smenu__brand img {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
  border-radius: 0.45rem;
}

.smenu__brand span {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.smenu__close {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: background 0.2s ease, transform 0.25s ease, border-color 0.2s ease;
}

.smenu__close:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.45);
  transform: rotate(90deg);
}

.smenu__close svg {
  width: 1rem;
  height: 1rem;
}

.smenu__body {
  overflow: auto;
  padding: 0.25rem 0.75rem 1.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--brand-rgb), 0.45) transparent;
}

.smenu__body::-webkit-scrollbar {
  width: 4px;
}

.smenu__body::-webkit-scrollbar-track {
  background: transparent;
}

.smenu__body::-webkit-scrollbar-thumb {
  background: rgba(var(--brand-rgb), 0.4);
  border-radius: 99px;
}

.smenu__body::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--brand-rgb), 0.7);
}

.smenu__label {
  margin: 1.05rem 0.75rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c89a3;
}

.smenu__item,
.smenu__subitem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.68rem 0.7rem;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  color: #f4f4f5;
  font-size: 0.95rem;
  text-align: left;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.smenu[data-state="open"] .smenu__body > .smenu__item,
.smenu[data-state="open"] .smenu__body > .smenu__label {
  animation: smenu-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.smenu[data-state="open"] .smenu__body > :nth-child(1) { animation-delay: 0.04s; }
.smenu[data-state="open"] .smenu__body > :nth-child(2) { animation-delay: 0.07s; }
.smenu[data-state="open"] .smenu__body > :nth-child(3) { animation-delay: 0.1s; }
.smenu[data-state="open"] .smenu__body > :nth-child(4) { animation-delay: 0.13s; }
.smenu[data-state="open"] .smenu__body > :nth-child(5) { animation-delay: 0.16s; }
.smenu[data-state="open"] .smenu__body > :nth-child(6) { animation-delay: 0.19s; }
.smenu[data-state="open"] .smenu__body > :nth-child(7) { animation-delay: 0.22s; }
.smenu[data-state="open"] .smenu__body > :nth-child(8) { animation-delay: 0.25s; }
.smenu[data-state="open"] .smenu__body > :nth-child(9) { animation-delay: 0.28s; }
.smenu[data-state="open"] .smenu__body > :nth-child(10) { animation-delay: 0.31s; }
.smenu[data-state="open"] .smenu__body > :nth-child(11) { animation-delay: 0.34s; }
.smenu[data-state="open"] .smenu__body > :nth-child(12) { animation-delay: 0.37s; }
.smenu[data-state="open"] .smenu__body > :nth-child(13) { animation-delay: 0.4s; }

@keyframes smenu-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.smenu__item:hover,
.smenu__subitem:hover {
  background: rgba(var(--brand-rgb), 0.12);
  transform: translateX(2px);
}

.smenu__ico {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  background: rgba(var(--brand-rgb), 0.16);
  color: var(--brand-light);
}

.smenu__ico svg,
.smenu__item svg {
  width: 1.05rem;
  height: 1.05rem;
}

.smenu__item--box {
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  background: rgba(var(--brand-rgb), 0.08);
}

.smenu__chev {
  margin-left: auto;
  color: #93a0b8;
  transition: transform 0.32s ease, color 0.2s ease, opacity 0.2s ease;
}

.smenu__item[data-state="open"] .smenu__chev {
  transform: rotate(180deg);
  color: var(--brand);
}

#smenu-cats-toggle {
  opacity: 0.72;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.25s ease;
}

#smenu-cats-toggle[data-state="open"] {
  opacity: 1;
  background: rgba(var(--brand-rgb), 0.12);
}

.smenu__cats {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 0 0 0.35rem;
  transition: grid-template-rows 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.smenu__cats[data-state="open"] {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 0.35rem;
}

.smenu__cats-inner {
  overflow: hidden;
  min-height: 0;
}

.smenu__cats[data-state="open"] .smenu__cats-inner > * {
  animation: smenu-cat-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(1) { animation-delay: 0.04s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(2) { animation-delay: 0.07s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(3) { animation-delay: 0.1s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(4) { animation-delay: 0.13s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(5) { animation-delay: 0.16s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(6) { animation-delay: 0.19s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(7) { animation-delay: 0.22s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(8) { animation-delay: 0.25s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(9) { animation-delay: 0.28s; }
.smenu__cats[data-state="open"] .smenu__cats-inner > *:nth-child(10) { animation-delay: 0.31s; }

@keyframes smenu-cat-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.smenu__subitem {
  position: relative;
  color: #d4dae6;
  font-size: 0.9rem;
}

.smenu__subitem::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 99px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.16);
}

.smenu__subitem--btn {
  justify-content: space-between;
}

.smenu__subs {
  padding: 0 0 0.25rem 0.75rem;
}

.smenu__subs[data-state="closed"] {
  display: none;
}

.smenu__subs a {
  display: block;
  padding: 0.45rem 0.6rem;
  color: #c7cad1;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 0.55rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.smenu__subs a:hover {
  background: rgba(var(--brand-rgb), 0.1);
  color: #fff;
}

@media (max-width: 640px) {
  .site-nav__name > span:first-child {
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .site-nav__name > span:first-child {
    display: none;
  }
}

.kw-search {
  position: relative;
}

.kw-search__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 48%),
    rgba(8, 10, 16, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.kw-search__bar:hover {
  border-color: rgba(var(--brand-rgb), 0.42);
}

.kw-search:focus-within .kw-search__bar {
  border-color: rgba(var(--brand-rgb), 0.7);
  box-shadow:
    0 0 0 4px rgba(var(--brand-rgb), 0.14),
    0 12px 32px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.kw-search__icon {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: #8b93a4;
  transition: color 0.2s ease, transform 0.25s ease;
}

.kw-search:focus-within .kw-search__icon {
  color: var(--brand-light);
  transform: scale(1.06);
}

.kw-search__input {
  flex: 1;
  min-width: 0;
  height: 2.4rem;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  color: #f4f4f5;
  font-size: 0.95rem;
}

.kw-search__input::placeholder {
  color: #8b93a4;
}

.kw-search__submit {
  flex-shrink: 0;
  height: 2.4rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--brand);
  color: #111;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.kw-search__submit:hover {
  background: var(--brand-dark);
}

.kw-search__submit:active {
  transform: scale(0.97);
}

.kw-search--nav .kw-search__bar {
  min-height: 2.6rem;
  padding: 0.2rem 0.2rem 0.2rem 0.85rem;
}

.kw-search--nav .kw-search__input {
  height: 2.2rem;
  font-size: 0.875rem;
}

.kw-search--nav .kw-search__submit {
  height: 2.15rem;
  padding: 0 0.9rem;
  font-size: 0.72rem;
}

.kw-search--nav:focus-within .kw-search__bar {
  transform: none;
}

.kw-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 50;
  max-height: min(70vh, 26rem);
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  background: rgba(8, 10, 16, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__burger span,
  .smenu__backdrop,
  .smenu__panel,
  .smenu__item,
  .smenu__close,
  .smenu__chev,
  .smenu__cats,
  #smenu-cats-toggle {
    transition: none;
  }

  .smenu[data-state="open"] .smenu__body > .smenu__item,
  .smenu[data-state="open"] .smenu__body > .smenu__label,
  .smenu__cats[data-state="open"] .smenu__cats-inner > * {
    animation: none;
  }
}