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;
}

body {
  /* Base e mesh em tons vinho/bordô/carmim escuro — mesma família do vermelho do site (sem “cinza neutro”) */
  background-color: #120308;
  background-image:
    radial-gradient(ellipse 125% 88% at 12% 8%, rgba(76, 5, 17, 0.62), transparent 56%),
    radial-gradient(ellipse 105% 82% at 90% 10%, rgba(38, 1, 7, 0.78), transparent 54%),
    radial-gradient(ellipse 130% 92% at 52% 96%, rgba(22, 6, 10, 0.92), transparent 58%),
    radial-gradient(ellipse 72% 62% at 74% 44%, rgba(107, 9, 20, 0.48), transparent 52%),
    radial-gradient(ellipse 88% 74% at 26% 46%, rgba(95, 10, 18, 0.42), transparent 56%),
    radial-gradient(ellipse 58% 52% at 54% 24%, rgba(139, 16, 32, 0.22), transparent 50%),
    radial-gradient(ellipse 92% 78% at 86% 76%, rgba(21, 14, 13, 0.55), transparent 56%),
    radial-gradient(ellipse 112% 72% at 2% 72%, rgba(76, 5, 17, 0.45), transparent 54%),
    radial-gradient(ellipse 78% 64% at 48% 38%, rgba(243, 0, 42, 0.07), transparent 52%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(12, 5, 7, 0.35), transparent 60%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.karma-word {
  color: #F00028;
  font-weight: 800;
}

.page-home {
  color: #ffffff;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  color: #ffffff;
}

.page-home .text-muted-foreground,
.page-home .podium-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
}

.page-home h1 .gradient-text,
.page-home h2 .gradient-text {
  background: none;
  background-size: auto;
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  animation: none;
}

/* TESTE TEMPORÁRIO PARA CONFIRMAR SE O CSS ESTÁ NO BANNER CERTO */
.hero-banner-wrap::before {
  content: "TESTE";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  border-radius: inherit;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px;
  color: white;
  font-size: 42px;
  font-weight: 900;
  background: none;
}

.hero-banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(to bottom, rgba(38, 1, 7, 0.12) 0%, transparent 22%, transparent 50%, rgba(76, 5, 17, 0.42) 70%, rgba(38, 1, 7, 0.82) 88%, rgba(22, 6, 10, 0.96) 100%),
    linear-gradient(to right, rgba(76, 5, 17, 0.48) 0%, transparent 34%, transparent 66%, rgba(38, 1, 7, 0.4) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.btn-topbar {
  background: #B9A27F;
  color: #260107;
  border: 1px solid rgba(38, 1, 7, 0.22);
  border-radius: 9999px;
  height: 2.25rem;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.btn-topbar i,
.btn-topbar svg {
  color: #260107;
}

.btn-topbar:hover {
  background: #c3ae8f;
  border-color: rgba(38, 1, 7, 0.30);
  transform: translateY(-1px);
}

.btn-topbar:active {
  transform: translateY(0px);
}

@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);
  }
}

#cart-drawer[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

body.cart-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

#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));
}

@keyframes loading {
  0% {
      left: -50%;
  }

  to {
      left: 100%;
  }
}

.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;
}

.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;
}

.animate-float {
  animation: floatRandom 15s ease-in-out infinite;
}

@keyframes floatRandom {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-6px, -10px) rotate(-1deg);
  }
  40% {
    transform: translate(4px, -5px) rotate(1deg);
  }
  60% {
    transform: translate(-4px, -12px) rotate(-1.5deg);
  }
  80% {
    transform: translate(3px, -7px) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text {
  background: linear-gradient(
    45deg,
    hsl(var(--primary)),
    hsl(var(--primary) / 0.8),
    hsl(var(--primary) / 0.6),
    hsl(var(--primary) / 0.9),
    hsl(var(--primary)),
    hsl(var(--primary) / 0.7),
    hsl(var(--primary) / 0.5),
    hsl(var(--primary) / 0.8)
  );
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease-in-out infinite;
}

.glass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

.glass::after {
  content: "";
  transition: all 850ms cubic-bezier(.19,1,.22,1);
  background-color: white;
  opacity: .2;
  width: 50px;
  height: 200px;
  position: absolute;
  left: -85px;
  top: -80px;
  z-index: 1;
  transform: rotate(30deg);
  filter: blur(2px);
}

.glass:hover::after {
  left: 130%;
}

.glass-secondary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

.glass-secondary::after {
  content: "";
  transition: all 850ms cubic-bezier(.19,1,.22,1);
  background: linear-gradient(to right, transparent, hsl(var(--secondary) / 0.15), transparent);
  width: 100%;
  height: 200%;
  position: absolute;
  left: -150%;
  top: -50%;
  z-index: 1;
  transform: rotate(30deg);
  filter: blur(10px);
}

.glass-secondary:hover::after {
  left: 150%;
}

.hero-banner-overlay {
  z-index: 1;
  background:
    radial-gradient(ellipse 90% 70% at 20% 35%, rgba(76, 5, 17, 0.38), transparent 58%),
    radial-gradient(ellipse 82% 66% at 78% 26%, rgba(95, 10, 18, 0.32), transparent 55%),
    radial-gradient(ellipse 100% 88% at 50% 100%, rgba(38, 1, 7, 0.75), transparent 58%),
    linear-gradient(90deg, rgba(38, 1, 7, 0.52) 0%, rgba(76, 5, 17, 0.14) 44%, rgba(22, 6, 10, 0.22) 100%),
    linear-gradient(180deg, rgba(38, 1, 7, 0.14) 0%, transparent 34%, rgba(76, 5, 17, 0.42) 70%, rgba(22, 6, 10, 0.72) 100%);
}

.warm-block {
  position: relative;
}

.podium-section {
  background: transparent;
}

.podium-subtitle {
  color: rgba(242, 233, 221, 0.74); /* #F2E9DD warm */
}

.text-muted-foreground {
  color: rgba(242, 233, 221, 0.64) !important;
}

.podium-badge {
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.podium-badge--gold {
  background: rgba(212, 162, 55, 0.12);
  border: 1px solid rgba(212, 162, 55, 0.35);
}

.podium-badge--silver {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(190, 196, 206, 0.26);
}

.podium-badge--bronze {
  background: rgba(170, 110, 64, 0.10);
  border: 1px solid rgba(170, 110, 64, 0.30);
}

.podium-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 45%, rgba(38, 1, 7, 0.42) 100%),
    radial-gradient(900px 520px at 50% 0%, rgba(243, 0, 42, 0.14), transparent 65%),
    rgba(26, 6, 14, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px);
}

.podium-card-overlay {
  background:
    radial-gradient(650px 420px at 20% 25%, rgba(243, 0, 42, 0.14), transparent 65%),
    radial-gradient(520px 360px at 80% 35%, rgba(122, 13, 24, 0.22), transparent 65%),
    linear-gradient(180deg, rgba(38, 1, 7, 0.14) 0%, rgba(22, 6, 10, 0.34) 100%);
  opacity: 0.95;
}

.podium-card--first {
  border-color: rgba(212, 162, 55, 0.34);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(212, 162, 55, 0.10),
    0 0 90px rgba(243, 0, 42, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(38, 1, 7, 0.44) 100%),
    radial-gradient(900px 520px at 50% 0%, rgba(243, 0, 42, 0.22), transparent 62%),
    radial-gradient(700px 440px at 65% 35%, rgba(139, 16, 32, 0.32), transparent 66%),
    rgba(26, 5, 12, 0.48);
}

.podium-card--second {
  border-color: rgba(190, 196, 206, 0.20);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(38, 1, 7, 0.46) 100%),
    radial-gradient(900px 520px at 50% 0%, rgba(95, 10, 18, 0.22), transparent 68%),
    rgba(22, 6, 12, 0.5);
}

.podium-card--third {
  border-color: rgba(170, 110, 64, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(38, 1, 7, 0.44) 100%),
    radial-gradient(900px 520px at 50% 0%, rgba(139, 16, 32, 0.22), transparent 66%),
    rgba(26, 6, 14, 0.48);
}

.podium-card:hover {
  transform: translateY(-2px);
}

.podium-cta {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(900px 520px at 15% 30%, rgba(243, 0, 42, 0.18), transparent 60%),
    radial-gradient(700px 480px at 75% 40%, rgba(107, 9, 20, 0.38), transparent 65%),
    rgba(26, 5, 12, 0.48);
  backdrop-filter: blur(18px);
}

.podium-cta-overlay {
  background:
    linear-gradient(90deg, rgba(38, 1, 7, 0.22) 0%, rgba(76, 5, 17, 0.1) 55%, rgba(38, 1, 7, 0.24) 100%),
    radial-gradient(520px 360px at 30% 55%, rgba(212, 162, 55, 0.08), transparent 65%);
  opacity: 0.95;
}

.podium-cta-btn {
  border: 1px solid rgba(212, 162, 55, 0.30);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(243, 0, 42, 0.18);
}

.podium-cta-btn:hover {
  border-color: rgba(212, 162, 55, 0.42);
}

.faq-item .faq-content {
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:not([open]) .faq-content {
  height: 0;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}