input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

@keyframes fade-in {
  from {
      background-color: rgba(0, 0, 0, 0);
  }
  to {
      background-color: rgba(0, 0, 0, 0.8);
  }
}

@keyframes fade-out {
  from {
      background-color: rgba(0, 0, 0, 0.8);
  }
  to {
      background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes slide-in {
  from {
      transform: translateX(500px);
  }
  to {
      transform: translateX(0px);
  }
}

@keyframes slide-out {
  from {
      transform: translateX(0px);
  }
  to {
      transform: translateX(500px);
  }
}

body.cart-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

#cart-drawer[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

#cart-drawer[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

#cart-drawer[data-state="open"] > div {
  animation: slide-in 0.4s forwards;
}

#cart-drawer[data-state="closed"] > div {
  animation: slide-out 0.4s forwards;
}

.dialog[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

.dialog[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

.dialog[data-state="open"] > div {
  animation: dialog-in 0.2s forwards;
}

.dialog[data-state="closed"] > div {
  animation: dialog-out 0.2s forwards;
}

@keyframes dialog-in {
  from {
      opacity: 0;
      scale: 50%;
  }
  to {
      opacity: 1;
      scale: 100%;
  }
}

@keyframes dialog-out {
  from {
      opacity: 1;
      scale: 100%;
  }
  to {
      opacity: 0;
      scale: 50%;
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.centralcart-content iframe {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

.grid-background {
  background-image: linear-gradient(to right,hsla(0,0%,100%,.03) 1px,transparent 1px),linear-gradient(to bottom,hsla(0,0%,100%,.03) 1px,transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 85% at 40% 30%, #000 0%, #fff0 110%)
}

.custom-bg-mask {
	mask-image: linear-gradient(hsl(var(--background)), rgba(0, 0, 0, 0.3), rgb(0, 0, 0, 0));
}

/* === Fundo "Ice Glow" — combina com a logo AlphaBlox (cyan gelado), CSS puro, só transform/opacity === */

/* base escura + textura de marca quase imperceptível */
.roblox-bg {
  position: absolute;
  inset: 0;
  background-color: rgb(var(--background));
  background-image: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 2.5px,
    transparent 3px
  );
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 8%, #000 0%, transparent 88%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 8%, #000 0%, transparent 88%);
}

/* brilho central — ecoa a aura luminosa do dragão da logo (topo, atrás do herói) */
.roblox-glow {
  position: absolute;
  top: -22rem;
  left: 50%;
  width: 60rem;
  height: 50rem;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    hsl(var(--primary) / 0.45) 0%,
    hsl(var(--secondary) / 0.22) 38%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: roblox-glow-pulse 9s ease-in-out infinite;
}
@keyframes roblox-glow-pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

/* auroras de cor que fluem devagar (gelo/energia) */
.roblox-aurora {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
  pointer-events: none;
}
.roblox-aurora--1 {
  width: 40rem; height: 40rem;
  top: 6rem; left: -12rem;
  background: radial-gradient(circle, hsl(var(--primary) / 0.6), transparent 70%);
  animation: roblox-aurora-1 24s ease-in-out infinite alternate;
}
.roblox-aurora--2 {
  width: 36rem; height: 36rem;
  bottom: -14rem; right: -12rem;
  background: radial-gradient(circle, hsl(var(--secondary) / 0.55), transparent 70%);
  animation: roblox-aurora-2 30s ease-in-out infinite alternate;
}
@keyframes roblox-aurora-1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(7rem, 3rem, 0) scale(1.2); }
}
@keyframes roblox-aurora-2 {
  from { transform: translate3d(0, 0, 0) scale(1.12); }
  to   { transform: translate3d(-6rem, -4rem, 0) scale(0.9); }
}

/* partículas de gelo/energia subindo e cintilando */
.frost {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle, #fff 0%, hsl(var(--primary)) 35%, transparent 70%);
  filter: blur(0.5px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  animation: frost-rise linear infinite;
}
@keyframes frost-rise {
  0%   { opacity: 0;   transform: translate3d(0, 0, 0) scale(0.6); }
  10%  { opacity: 0.9; }
  50%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { opacity: 0;   transform: translate3d(0, -88vh, 0) scale(1); }
}
.frost--1  { width: 8px;  height: 8px;  left: 5%;  bottom: -2rem; animation-duration: 17s; animation-delay: -2s;  }
.frost--2  { width: 5px;  height: 5px;  left: 11%; bottom: -2rem; animation-duration: 22s; animation-delay: -13s; }
.frost--3  { width: 11px; height: 11px; left: 17%; bottom: -2rem; animation-duration: 26s; animation-delay: -7s;  }
.frost--4  { width: 4px;  height: 4px;  left: 23%; bottom: -2rem; animation-duration: 19s; animation-delay: -18s; }
.frost--5  { width: 7px;  height: 7px;  left: 29%; bottom: -2rem; animation-duration: 24s; animation-delay: -5s;  }
.frost--6  { width: 9px;  height: 9px;  left: 35%; bottom: -2rem; animation-duration: 21s; animation-delay: -22s; }
.frost--7  { width: 5px;  height: 5px;  left: 41%; bottom: -2rem; animation-duration: 28s; animation-delay: -10s; }
.frost--8  { width: 6px;  height: 6px;  left: 47%; bottom: -2rem; animation-duration: 20s; animation-delay: -15s; }
.frost--9  { width: 10px; height: 10px; left: 53%; bottom: -2rem; animation-duration: 23s; animation-delay: -3s;  }
.frost--10 { width: 4px;  height: 4px;  left: 59%; bottom: -2rem; animation-duration: 18s; animation-delay: -20s; }
.frost--11 { width: 7px;  height: 7px;  left: 65%; bottom: -2rem; animation-duration: 27s; animation-delay: -9s;  }
.frost--12 { width: 6px;  height: 6px;  left: 71%; bottom: -2rem; animation-duration: 21s; animation-delay: -25s; }
.frost--13 { width: 9px;  height: 9px;  left: 77%; bottom: -2rem; animation-duration: 25s; animation-delay: -6s;  }
.frost--14 { width: 5px;  height: 5px;  left: 83%; bottom: -2rem; animation-duration: 19s; animation-delay: -16s; }
.frost--15 { width: 8px;  height: 8px;  left: 89%; bottom: -2rem; animation-duration: 29s; animation-delay: -11s; }
.frost--16 { width: 4px;  height: 4px;  left: 94%; bottom: -2rem; animation-duration: 22s; animation-delay: -19s; }
.frost--17 { width: 6px;  height: 6px;  left: 8%;  bottom: -2rem; animation-duration: 30s; animation-delay: -27s; }
.frost--18 { width: 7px;  height: 7px;  left: 50%; bottom: -2rem; animation-duration: 16s; animation-delay: -23s; }

/* acessibilidade + conversão: sem movimento para quem prefere menos animação */
@media (prefers-reduced-motion: reduce) {
  .roblox-glow,
  .roblox-aurora,
  .frost { animation: none; }
  .frost { opacity: 0.4; }
}

/* === Navbar & Footer "Ice Glass" — mesma linguagem do fundo/logo, CSS puro === */

/* Barra de anúncio: gradiente primária→secundária + brilho + sheen passando */
.nav-announce {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--secondary)));
  box-shadow: 0 0 26px -8px hsl(var(--primary) / 0.7);
}
.nav-announce::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.18), transparent);
  transform: skewX(-20deg);
  animation: announce-shine 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes announce-shine {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

/* Header de vidro com hairline luminosa embaixo */
.nav-glass {
  background: linear-gradient(180deg, rgb(var(--background) / 0.72), rgb(var(--background) / 0.55));
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.04),
              0 10px 30px -16px hsl(var(--primary) / 0.45);
}
.nav-glass::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.65) 28%, hsl(var(--secondary) / 0.65) 72%, transparent);
}

/* Campo de busca: vidro + foco com brilho de marca */
.nav-search {
  background: rgb(255 255 255 / 0.04) !important;
  border-color: hsl(var(--primary) / 0.16) !important;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.nav-search:hover {
  border-color: hsl(var(--primary) / 0.3) !important;
}
.nav-search:focus-visible {
  outline: none;
  border-color: hsl(var(--primary) / 0.55) !important;
  background: rgb(255 255 255 / 0.06) !important;
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.12),
              0 0 22px -6px hsl(var(--primary) / 0.6) !important;
}

/* Logo com leve aura (eco do brilho do dragão) */
.brand-logo {
  filter: drop-shadow(0 0 10px hsl(var(--primary) / 0.45));
}

/* Emblema central da navbar — pódio de luz atrás da logo */
.brand-emblem {
  position: relative;
}
.brand-emblem::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160%;
  height: 240%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
      hsl(var(--primary) / 0.30) 0%,
      hsl(var(--secondary) / 0.10) 45%,
      transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: -1;
}

/* Glow ambiente que sobe do rodapé (preenche o .footer-bg, antes vazio) */
.footer-bg {
  height: 360px;
  background: radial-gradient(ellipse 65% 100% at 50% 100%,
      hsl(var(--primary) / 0.20) 0%,
      hsl(var(--secondary) / 0.10) 42%,
      transparent 75%);
  filter: blur(12px);
}

/* Footer de vidro com hairline luminosa no topo */
.footer-glass {
  background: linear-gradient(180deg, rgb(var(--background) / 0.55), rgb(var(--background) / 0.85));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.footer-glass::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.6) 25%, hsl(var(--secondary) / 0.6) 75%, transparent);
}

/* Botões sociais: vidro + glow no hover */
.social-btn {
  border-radius: 9999px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid hsl(var(--primary) / 0.25);
  box-shadow: inset 0 0 12px hsl(var(--primary) / 0.06);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  background: hsl(var(--primary) / 0.12);
  border-color: hsl(var(--primary) / 0.55);
  box-shadow: 0 0 18px -4px hsl(var(--primary) / 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .nav-announce::after { display: none; }
  .social-btn:hover { transform: none; }
}

/* === Menu lateral (categorias + links úteis) === */
body.side-menu-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

@keyframes slide-in-left {
  from { transform: translateX(-480px); }
  to   { transform: translateX(0); }
}
@keyframes slide-out-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-480px); }
}
#side-menu[data-state="open"]  { animation: fade-in 0.4s forwards; }
#side-menu[data-state="closed"] { animation: fade-out 0.4s forwards; }
#side-menu[data-state="open"]  > div { animation: slide-in-left 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
#side-menu[data-state="closed"] > div { animation: slide-out-left 0.35s ease-in forwards; }

/* Painel de vidro: brilho de marca no topo + borda luminosa à direita */
.side-menu-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgb(var(--background) / 0.97), rgb(var(--background) / 0.99));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.side-menu-panel::before {
  content: "";
  position: absolute;
  top: -8rem;
  left: 50%;
  width: 26rem;
  height: 16rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, hsl(var(--primary) / 0.22), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.side-menu-panel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, hsl(var(--primary) / 0.65) 30%, hsl(var(--secondary) / 0.65) 70%, transparent);
}

/* Título de seção */
.side-menu-section-title {
  padding: 0 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground) / 0.75);
}

/* Item principal */
.side-menu-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  color: rgb(var(--foreground) / 0.92);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.side-menu-link:hover {
  background: hsl(var(--primary) / 0.12);
  border-color: hsl(var(--primary) / 0.35);
  transform: translateX(4px);
}

/* Chip do ícone */
.side-menu-chip {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: calc(var(--radius) - 0.35rem);
  background: hsl(var(--primary) / 0.10);
  border: 1px solid hsl(var(--primary) / 0.18);
  color: hsl(var(--primary));
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.side-menu-link:hover .side-menu-chip {
  background: hsl(var(--primary) / 0.22);
  border-color: hsl(var(--primary) / 0.45);
  box-shadow: 0 0 16px -4px hsl(var(--primary) / 0.6);
}

/* Chevron */
.side-menu-caret {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9999px;
  color: rgb(var(--muted-foreground));
  flex-shrink: 0;
  transition: color .2s ease, background .2s ease;
}
.side-menu-link:hover .side-menu-caret {
  color: rgb(var(--foreground));
  background: hsl(var(--primary) / 0.12);
}

/* Subitens */
.side-menu-sub {
  margin: 0.35rem 0 0.5rem 1.95rem;
  padding-left: 0.95rem;
  border-left: 2px solid hsl(var(--primary) / 0.18);
}
.side-menu-sublink {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: calc(var(--radius) - 0.4rem);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgb(var(--muted-foreground));
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
.side-menu-sublink::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.5);
  flex-shrink: 0;
  transition: transform .15s ease, background .15s ease;
}
.side-menu-sublink:hover {
  color: rgb(var(--foreground));
  background: hsl(var(--primary) / 0.08);
  transform: translateX(4px);
}
.side-menu-sublink:hover::before {
  background: hsl(var(--primary));
  transform: scale(1.6);
}

/* Entrada escalonada dos itens ao abrir */
@keyframes menu-item-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}
#side-menu[data-state="open"] .side-menu-anim {
  opacity: 0;
  animation: menu-item-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#side-menu[data-state="open"] .side-menu-anim:nth-child(1) { animation-delay: 0.10s; }
#side-menu[data-state="open"] .side-menu-anim:nth-child(2) { animation-delay: 0.16s; }
#side-menu[data-state="open"] .side-menu-anim:nth-child(3) { animation-delay: 0.22s; }
#side-menu[data-state="open"] .side-menu-anim:nth-child(4) { animation-delay: 0.28s; }
#side-menu[data-state="open"] .side-menu-anim:nth-child(5) { animation-delay: 0.34s; }
#side-menu[data-state="open"] .side-menu-anim:nth-child(6) { animation-delay: 0.40s; }
#side-menu[data-state="open"] .side-menu-anim:nth-child(7) { animation-delay: 0.46s; }
#side-menu[data-state="open"] .side-menu-anim:nth-child(n+8) { animation-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
  .side-menu-link:hover,
  .side-menu-sublink:hover { transform: none; }
  #side-menu[data-state="open"] .side-menu-anim { opacity: 1; animation: none; }
}

/* === Footer: índices e links === */
.footer-heading {
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--foreground) / 0.85);
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  font-size: 0.9rem;
  color: rgb(var(--muted-foreground));
  transition: color .18s ease, transform .18s ease;
}
.footer-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.footer-link::before {
  content: "";
  width: 0;
  height: 1px;
  background: hsl(var(--primary));
  transition: width .18s ease;
}
.footer-link:hover {
  color: rgb(var(--foreground));
  transform: translateX(2px);
}
.footer-link:hover::before {
  width: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  .footer-link:hover { transform: none; }
}

/* === Título de categoria (centralizado, vidro + glow) === */
.category-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.14), hsl(var(--secondary) / 0.10));
  border: 3px solid hsl(var(--primary) / 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 34px -12px hsl(var(--primary) / 0.5);
}
.category-title-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 0 18px hsl(var(--primary) / 0.55);
}
@media (min-width: 640px) {
  .category-title {
    padding: 0.5rem 1.5rem;
  }
  .category-title-name {
    font-size: 1.1rem;
  }
}

@keyframes loading {
  0% {
      left: -50%;
  }

  to {
      left: 100%;
  }
}

/* Top donators shine */
.top-donators-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
  transition: left 0.5s ease-in;
}

.top-donators-pill:hover::after {
  left: 120%;
  transition: left 0.6s ease-out;
}

.detail-dash {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 50%, hsl(var(--foreground) / 0) 0%);
  background-position: center bottom;
  background-size: 16px;
  background-repeat: repeat-x;
  width: 100%;
  height: 1px;
}

/* Sidebar categories */
.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 0.25rem;
}

/* Scrollbar global — mesmo estilo do menu lateral */
html {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--primary)) transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--primary) / 0.8);
}

.cat-dropdown {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
}

.cat-dropdown:not(.hidden) {
  animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

#mobile-categories-dropdown:not(.hidden) {
  animation: slideInMobile 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInMobile {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-subcategories:not(.hidden) {
  animation: slideInSub 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInSub {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Sidebar categories */

/* === Sistema de superfícies (páginas do funil) === */
.surface {
  position: relative;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.012));
  border: 1px solid hsl(var(--primary) / 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 18px 44px -30px hsl(var(--primary) / 0.45);
}
.surface--hover {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.surface--hover:hover {
  border-color: hsl(var(--primary) / 0.38);
  box-shadow: 0 22px 50px -26px hsl(var(--primary) / 0.55);
}
.surface-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
}
.surface-head__ic {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: calc(var(--radius) - 0.45rem);
  background: hsl(var(--primary) / 0.14);
  border: 1px solid hsl(var(--primary) / 0.28);
  color: hsl(var(--primary));
  flex-shrink: 0;
}
.surface-head__t {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Cabeçalho de página + breadcrumb */
.page-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (min-width: 768px) {
  .page-title { font-size: 2rem; }
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgb(var(--muted-foreground));
}
.crumbs a { transition: color .15s ease; }
.crumbs a:hover { color: rgb(var(--foreground)); }
.crumbs i { opacity: 0.45; }

/* Cartões de confiança (selling points) */
.trust-card {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.02);
  border: 1px solid hsl(var(--primary) / 0.14);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.trust-card:hover {
  border-color: hsl(var(--primary) / 0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -22px hsl(var(--primary) / 0.6);
}
.trust-card__ic {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: calc(var(--radius) - 0.4rem);
  background: hsl(var(--secondary) / 0.14);
  border: 1px solid hsl(var(--secondary) / 0.30);
  color: hsl(var(--secondary));
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .surface--hover:hover,
  .trust-card:hover { transform: none; }
}
