input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  appearance: textfield;
  -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%;
  }
}

.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 */

/* Home launch showcase */
.launch-showcase {
  --launch-angle: 0deg;
  --launch-cursor-x: 50%;
  --launch-cursor-y: 50%;
  --launch-accent: #d4ab52;
  --launch-accent-rgb: 212, 171, 82;
  --launch-panel: #15100d;
  --launch-badge-start: #ffe09b;
  --launch-badge-mid: #d4ab52;
  --launch-badge-end: #af7a23;
  --launch-description: #c8b79a;
  position: relative;
  display: block;
  width: 100%;
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(var(--launch-accent-rgb), 0.4);
  background: #0d0d0f;
  box-shadow: 0 0 28px rgba(var(--launch-accent-rgb), 0.18);
  transition: box-shadow 0.5s ease;
}

.launch-showcase:hover {
  box-shadow: 0 0 42px rgba(var(--launch-accent-rgb), 0.3);
}

.launch-showcase::after {
  content: none;
}

.launch-showcase.is-interacting::after {
  opacity: 1;
}

.launch-showcase-border {
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  border-radius: 1rem;
}

.launch-showcase-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--launch-angle),
    transparent 60%,
    rgba(var(--launch-accent-rgb), 0.52) 75%,
    rgba(var(--launch-accent-rgb), 0.9) 80%,
    rgba(var(--launch-accent-rgb), 0.52) 85%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: launchBorderSpin 3s linear infinite;
}

.launch-showcase-grid {
  position: relative;
  z-index: 2;
  display: grid;
}

.launch-showcase-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 12.2rem;
  background: rgba(0, 0, 0, 0.35);
  animation: launchImageReveal 0.95s ease both;
}

.launch-showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.launch-showcase-image-sheen {
  display: none;
}

.launch-showcase-image-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.06) 0%, rgba(10, 12, 16, 0.25) 100%);
}

.launch-showcase-panel {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 0.625rem;
  padding: 0.875rem;
  border-top: 2px solid rgba(var(--launch-accent-rgb), 0.45);
  background: var(--launch-panel);
  animation: launchPanelReveal 0.82s ease 0.04s both;
}

.launch-showcase-badge-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  animation: launchTextRise 0.76s ease 0.08s both;
}

.launch-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(var(--launch-accent-rgb), 0.84);
  background: linear-gradient(90deg, var(--launch-badge-start) 0%, var(--launch-badge-mid) 50%, var(--launch-badge-end) 100%);
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1b1202;
}

.launch-showcase-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  word-break: break-word;
  animation: launchTextRise 0.8s ease 0.12s both;
}

.launch-showcase-divider {
  position: relative;
  z-index: 1;
  width: 7rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(var(--launch-accent-rgb), 0.95) 0%, rgba(var(--launch-accent-rgb), 0.08) 100%);
  animation: launchTextRise 0.8s ease 0.15s both;
}

.launch-showcase-description {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0;
  overflow: hidden;
  color: var(--launch-description);
  font-size: 0.8rem;
  line-height: 1.45;
  animation: launchTextRise 0.82s ease 0.18s both;
}

.launch-showcase-chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
  animation: launchTextRise 0.82s ease 0.3s both;
}

.launch-showcase-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--launch-accent-rgb), 0.35);
  background: #171413;
  color: #efe4cf;
  padding: 0.45rem 0.625rem;
  font-size: 12px;
  transition: all 0.3s ease;
}

.launch-showcase-chip i {
  color: var(--launch-accent);
  transition: color 0.3s ease;
}

.launch-showcase-chip:hover {
  transform: scale(1.02);
  border-color: rgba(var(--launch-accent-rgb), 0.95);
  background: var(--launch-accent);
  color: #1b1202;
  box-shadow: 0 0 16px rgba(var(--launch-accent-rgb), 0.42);
}

.launch-showcase-chip:hover i {
  color: #1b1202;
}

.launch-showcase-thumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
  animation: launchTextRise 0.82s ease 0.24s both;
}

.launch-showcase-thumb {
  width: 3.35rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #3b3429;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #171413;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.launch-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.launch-showcase-thumb:hover img {
  transform: scale(1.06);
}

.launch-showcase-thumb:hover {
  border-color: rgba(var(--launch-accent-rgb), 0.95);
  transform: translateY(-1px);
}

.launch-showcase-thumb.is-active {
  border-color: var(--launch-accent);
  box-shadow: 0 0 12px rgba(var(--launch-accent-rgb), 0.45);
}

.launch-showcase-cta {
  position: relative;
  z-index: 1;
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  height: 2.25rem;
  padding: 0 0.8rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(var(--launch-accent-rgb), 0.58);
  color: #f9ebcc;
  background: linear-gradient(90deg, rgba(var(--launch-accent-rgb), 0.3) 0%, rgba(var(--launch-accent-rgb), 0.16) 100%);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  animation: launchTextRise 0.82s ease 0.33s both;
}

.launch-showcase-cta:hover {
  color: #1b1202;
  background: var(--launch-accent);
  border-color: rgba(var(--launch-accent-rgb), 0.95);
  box-shadow: 0 0 16px rgba(var(--launch-accent-rgb), 0.42);
}

@media (min-width: 768px) {
  .launch-showcase {
    height: 18.4rem;
  }

  .launch-showcase-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    height: 100%;
  }

  .launch-showcase-image-wrapper {
    height: 100%;
  }

  .launch-showcase-panel {
    border-top: 0;
    border-left: 2px solid rgba(var(--launch-accent-rgb), 0.45);
    padding: 0.875rem;
  }

  .launch-showcase-title {
    font-size: 1.48rem;
  }
}

@keyframes launchBorderSpin {
  to {
    --launch-angle: 360deg;
  }
}

@keyframes launchImageReveal {
  0% {
    opacity: 0.72;
    filter: saturate(0.94) contrast(0.97);
  }

  100% {
    opacity: 1;
    filter: saturate(1) contrast(1);
  }
}

@keyframes launchPanelReveal {
  0% {
    opacity: 0.76;
  }

  100% {
    opacity: 1;
  }
}

@keyframes launchTextRise {
  0% {
    opacity: 0.78;
    transform: translateY(3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home launch showcase */
