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;
}

/* Descrição dos produtos VIP em branco */
.package-description-vip,
.package-description-vip * {
  color: #fff !important;
}

.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;
}

/* 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;
}

.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 */

/* Upsell animation */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-blink {
  animation: blink 1.5s ease-in-out infinite;
}

/* Tebex legal footer (official layout) */
tebex-footer {
  display: none !important;
}

.tebex-footer-wrapper {
  box-sizing: border-box;
  width: 100%;
  min-height: 35px;
  padding: 2px 0;
  font-size: 11px;
  font-weight: 400;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  color: #6a6a6a !important;
  background-color: #ffffff !important;
  border-top: 1px solid #efefef !important;
  position: relative;
  z-index: 20;
  isolation: isolate;
}

.tebex-footer-inner {
  box-sizing: border-box;
  width: 100%;
  min-height: 35px;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  gap: 32px;
}

.tebex-footer-brand {
  display: block !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  line-height: 0;
  text-decoration: none;
}

.tebex-footer-logo {
  display: block !important;
  width: auto !important;
  height: 26px !important;
  max-width: none !important;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(43%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(92%);
}

.tebex-footer-text {
  display: block !important;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: #6a6a6a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tebex-footer-links {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 0 8px;
  white-space: nowrap;
}

.tebex-footer-links a {
  color: #6a6a6a !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tebex-footer-links a:hover {
  color: #525252;
}

.tebex-footer-wrapper .tebex-footer-text,
.tebex-footer-wrapper .tebex-footer-links a {
  color: #6a6a6a !important;
}

@media screen and (max-width: 900px) {
  .tebex-footer-wrapper {
    padding: 8px 0;
  }

  .tebex-footer-inner {
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tebex-footer-logo {
    height: 24px !important;
  }

  .tebex-footer-text {
    font-size: 11px !important;
  }

  .tebex-footer-links a {
    font-size: 11px !important;
  }
}