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));
}

@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;
}

.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 */


/* =========================================================
   EDOO STORE - AJUSTES DA HOME
   ========================================================= */

.home-hero-content {
  width: 100%;
}

/* Cards rápidos da primeira dobra */
.quick-actions {
  width: 100%;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.quick-action-card {
  min-height: 76px;
  padding: 0.72rem 0.7rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(46, 88, 255, 0.32) !important;
  background:
    radial-gradient(circle at top, rgba(46, 88, 255, 0.14), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    rgba(12, 13, 20, 0.88) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  text-align: center;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(70, 115, 255, 0.85) !important;
  background:
    radial-gradient(circle at top, rgba(46, 88, 255, 0.22), transparent 68%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
    rgba(13, 15, 25, 0.96) !important;
  box-shadow: 0 14px 34px rgba(46, 88, 255, 0.17);
}

.quick-action-icon {
  width: 31px;
  height: 31px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f7dff !important;
  background: rgba(46, 88, 255, 0.14) !important;
  border: 1px solid rgba(70, 115, 255, 0.28) !important;
}

.quick-action-icon svg {
  color: #4f7dff !important;
  stroke: #4f7dff !important;
}

.quick-action-card strong {
  display: block;
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.1;
}

.quick-action-card span {
  display: block;
  margin-top: 0.16rem;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.7rem;
  line-height: 1.2;
}

.quick-store-link {
  margin-top: 0.9rem;
  height: 2.25rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  background: #160bd8 !important;
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.quick-store-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.quick-store-link svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

@media (max-width: 768px) {
  .quick-actions {
    max-width: 520px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-action-card {
    min-height: 72px;
    padding: 0.68rem 0.62rem;
  }

  .quick-action-card strong {
    font-size: 0.84rem;
  }

  .quick-action-card span {
    font-size: 0.68rem;
  }
}

@media (max-width: 420px) {
  .quick-actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   EDOO STORE - TÍTULOS DAS CATEGORIAS V2
   ========================================================= */

.edoo-category-section {
  position: relative;
}

.edoo-category-heading-wrap {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.edoo-category-heading-pill {
  position: relative !important;
  overflow: hidden !important;
  max-width: min(92vw, 620px);
  padding: 0.82rem 1.7rem !important;
  border-radius: 1rem !important;
  border: 1px solid rgba(70, 115, 255, 0.88) !important;
  background:
    radial-gradient(circle at top, rgba(46, 88, 255, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(13, 15, 28, 0.96) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  letter-spacing: -0.01em;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 12px 34px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(46, 88, 255, 0.18) !important;
}

.edoo-category-heading-pill span {
  position: relative;
  z-index: 2;
  display: inline-block;
}

.edoo-category-heading-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    110deg,
    rgba(46, 88, 255, 0.15),
    rgba(99, 147, 255, 0.9),
    rgba(46, 88, 255, 0.15)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.edoo-category-heading-pill::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -45%;
  width: 38%;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.17),
    transparent
  );
  transform: rotate(18deg);
  animation: edooCategoryTitleShine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes edooCategoryTitleShine {
  0% {
    left: -45%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  38% {
    left: 120%;
    opacity: 0;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .edoo-category-heading-pill {
    font-size: 1.05rem !important;
    padding: 0.86rem 1.85rem !important;
  }
}

@media (max-width: 480px) {
  .edoo-category-heading-pill {
    max-width: 94vw;
    padding: 0.72rem 1rem !important;
    font-size: 0.86rem !important;
    border-radius: 0.85rem !important;
  }
}