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);
}

:focus-visible {
  outline: 2px solid rgba(82, 3, 115, 0.7);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[role="link"]:focus-visible {
  box-shadow: 0 0 0 2px rgba(82, 3, 115, 0.55), 0 0 14px rgba(82, 3, 115, 0.35);
}

#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;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.82);
  background-image:
    radial-gradient(circle at 50% 45%, rgba(120, 72, 200, 0.18), rgba(0, 0, 0, 0) 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  backdrop-filter: blur(12px) saturate(120%);
  border-radius: 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.category-card {
  position: relative;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(120, 72, 200, 0.18), rgba(0, 0, 0, 0) 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}



.panel-clickable {
  cursor: pointer;
}

.panel-clickable:focus-visible {
  border-color: rgba(82, 3, 115, 0.55);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(82, 3, 115, 0.25) inset;
}




.navbar-shell {
  position: relative;
}

.navbar-shell::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(82, 3, 115, 0.2), rgba(82, 3, 115, 0.8), rgba(82, 3, 115, 0.2));
  box-shadow: 0 0 8px rgba(82, 3, 115, 0.35);
}

.navbar-brand {
  text-shadow: 0 0 12px rgba(82, 3, 115, 0.45);
}

.cart-button i {
  transition: color 0.2s ease;
}

.cart-button:hover i {
  color: #520373;
}

.cart-button:hover {
  box-shadow: 0 0 16px rgba(82, 3, 115, 0.45);
}

.navbar-shell a:hover i,
.navbar-shell button:hover i {
  color: #520373;
}
.glass-panel::before,
.glass-panel::after {
  content: none;
  display: none;
}

/* Glass overlay hard-disable (disabled)
.glass-panel::before,
.glass-panel::after,
.card-feature::before,
.card-feature::after,
.card-muted::before,
.card-muted::after {
  content: none !important;
  display: none !important;
}
*/


.card-feature {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(82, 3, 115, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.card-feature::before {
  opacity: 0.55;
}

.card-feature::after {
  opacity: 0.85;
}

.card-muted {
  background: rgba(0, 0, 0, 0.82);
  background-image:
    radial-gradient(circle at 50% 45%, rgba(120, 72, 200, 0.18), rgba(0, 0, 0, 0) 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.82) 100%);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.card-feature:hover {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 46px 130px rgba(0, 0, 0, 0.7),
    0 0 44px rgba(82, 3, 115, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.card-muted:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.no-glass-overlay::before,
.no-glass-overlay::after {
  display: none;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.glass-panel.vip-led {
  position: relative;
}

.vip-led-strip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background:
    linear-gradient(transparent, transparent) padding-box,
    conic-gradient(
      from 0deg,
      #ffffff 0deg,
      #e7d4ff 90deg,
      #9a4bff 180deg,
      #5a0fd6 270deg,
      #ffffff 360deg
    ) border-box;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 18px rgba(90, 18, 200, 0.7));
  pointer-events: none;
  transform-origin: center;
  z-index: 1;
}

.vip-led > :not(.vip-led-strip) {
  position: relative;
  z-index: 2;
}


.gif-slot {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.15));
  min-height: 200px;
}

/* Gif slot shine overlay (disabled)
.gif-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0));
  mix-blend-mode: screen;
  opacity: 0.6;
}
*/

.gif-slot-clear {
  background: transparent;
}

.gif-slot-clear::after {
  display: none;
}

.glass-overlay-soft::before {
  inset: 10% 10% 30% 10%;
  opacity: 0.22;
  transform: rotate(0deg);
}

.glass-overlay-soft::after {
  opacity: 0.18;
}

.filter-pill {
  @apply inline-flex items-center h-9 px-3 rounded-full border border-white/10 text-sm text-white/80 bg-white/5 hover:bg-white/10 transition;
}

.sort-select {
  @apply bg-background border border-white/10 rounded-cc px-2 text-foreground;
}

.vip-cta {
  background: linear-gradient(130deg, #520373, #520373, #520373);
  background-size: 320% 320%;
  animation: marquee-glow 4s linear infinite;
  color: #ffffff;
  border-radius: 9999px;
  border: 1px solid rgba(82, 3, 115, 0.25);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.vip-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 36px 96px rgba(0, 0, 0, 0.55),
    0 0 0 2px rgba(255, 255, 255, 0.3),
    0 0 48px rgba(82, 3, 115, 0.8);
  filter: brightness(1.06);
}

.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));
}

.package-gallery-dialog {
  max-width: min(860px, calc(100vw - 1rem));
}

.package-gallery-empty {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: rgb(var(--muted-foreground));
  font-size: 0.95rem;
  padding: 1rem 1.1rem;
}

.package-gallery-stage {
  position: relative;
}

.package-gallery-frame {
  display: block;
  overflow: hidden;
  height: clamp(240px, 46vh, 420px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(82, 3, 115, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.package-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.55);
}

.package-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 7, 0.82);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.package-gallery-nav:hover:not(:disabled) {
  background: rgba(82, 3, 115, 0.32);
  border-color: rgba(82, 3, 115, 0.55);
}

.package-gallery-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.package-gallery-nav-prev {
  left: 1rem;
}

.package-gallery-nav-next {
  right: 1rem;
}

.package-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 0.7rem;
}

.package-gallery-thumb {
  display: block;
  padding: 0.35rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.package-gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 3, 115, 0.48);
  background: rgba(82, 3, 115, 0.12);
}

.package-gallery-thumb.is-active {
  border-color: rgba(82, 3, 115, 0.72);
  box-shadow: 0 0 0 1px rgba(82, 3, 115, 0.18) inset;
}

.package-gallery-thumb-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .package-gallery-dialog {
    max-width: calc(100vw - 0.75rem);
  }

  .package-gallery-frame {
    height: clamp(220px, 34vh, 280px);
  }

  .package-gallery-image {
    padding: 0.45rem;
  }

  .package-gallery-nav {
    width: 2.4rem;
    height: 2.4rem;
  }

  .package-gallery-nav-prev {
    left: 0.65rem;
  }

  .package-gallery-nav-next {
    right: 0.65rem;
  }

  .package-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@keyframes loading {
  0% {
      left: -50%;
  }

  to {
      left: 100%;
  }
}


  50% {
    transform: rotate(-6deg);
  }
  100% {
    transform: rotate(-14deg);
  }
}

@keyframes ribbon-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.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 */




