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);
  }
}

/* Marquee Animation */
@keyframes marquee-y {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(-50% - 1rem));
  }
}

.animate-marquee-y {
  animation: marquee-y 60s linear infinite;
}

.pause-on-hover:hover .animate-marquee-y {
  animation-play-state: paused;
}


body {
  background: linear-gradient(
    180deg,
    #0a0b08 0%,
    #090806 50%,
    #060504 100%
  );
  color: white;
}

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);
}

.dialog > div {
  max-height: 90vh;
  overflow: hidden;
}

.dialog > div > .p-6 {
  max-height: calc(90vh - 88px);
  overflow-y: auto;
  scroll-behavior: smooth;
}

.centralcart-content iframe {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

.centralcart-content {
  color: rgb(245 245 245);
  font-size: 1rem;
  line-height: 1.78;
  word-break: break-word;
  white-space: normal;
}

.centralcart-content > * + * {
  margin-top: 1.15rem;
}

.centralcart-content h1,
.centralcart-content h2,
.centralcart-content h3,
.centralcart-content h4,
.centralcart-content h5,
.centralcart-content h6 {
  color: white;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.75rem;
  margin-bottom: 0.9rem;
}

.centralcart-content h1 {
  font-size: 1.875rem;
}

.centralcart-content h2 {
  font-size: 1.5rem;
}

.centralcart-content h3 {
  font-size: 1.25rem;
}

.centralcart-content p {
  margin: 0.9rem 0;
}

.centralcart-content strong,
.centralcart-content b {
  color: white;
  font-weight: 700;
}

.centralcart-content ul,
.centralcart-content ol {
  margin: 1.1rem 0;
  padding-left: 1.7rem;
}

.centralcart-content li + li {
  margin-top: 0.6rem;
}

.centralcart-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.centralcart-content a:hover {
  color: hsl(var(--primary) / 0.9);
  opacity: 0.92;
}

.centralcart-content hr {
  border: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  margin: 1.25rem 0;
}

.centralcart-content ul li,
.centralcart-content ol li {
  padding-left: 0.15rem;
}

.centralcart-content blockquote {
  margin: 1.25rem 0;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.grid-background {
  background-image:
    linear-gradient(to right, hsla(0, 0%, 100%, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, hsla(0, 0%, 100%, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 0%, transparent 100%);
}

.custom-bg-mask {
  mask-image: linear-gradient(to bottom, hsl(var(--background)) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}

@keyframes loading {
  0% {
    left: -50%;
  }

  to {
    left: 100%;
  }
}

/* Premium Design Tokens */
:root {
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-premium: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px -5px hsl(var(--primary) / 0.3);
  --primary: 32 35% 55%;
}

.shadow-premium {
  box-shadow: 
  0 0 0 1px rgba(255,255,255,0.05),
  0 10px 30px -10px rgba(0,0,0,0.7);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* Advanced Micro-interactions */
.hover-lift {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #c49a6c,
    #a67c52
  );
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  pointer-events: none;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:active {
  transform: scale(0.95);
}

.package-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), hsl(var(--primary) / 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.package-card,
.card {
  background: #0c111b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  transition: all 0.25s ease;
}

.package-card:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
}

.package-thumb-frame {
  position: relative;
  aspect-ratio: 1 / 1.06;
  width: 100%;
  overflow: hidden;
  border-radius: 0.95rem 0.95rem 0 0;
  border-bottom: 1px solid rgba(218, 176, 116, 0.12);
  background:
    radial-gradient(circle at 50% 18%, hsl(var(--primary) / 0.13), transparent 52%),
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    #080808;
  box-shadow:
    0 18px 38px -30px rgba(0, 0, 0, 0.9),
    0 0 24px -20px hsl(var(--primary) / 0.68);
}

.package-thumb-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.package-thumb-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.08) 48%, rgba(0,0,0,0.5) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.06), transparent 18%, transparent 82%, rgba(255,255,255,0.035));
}

.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 */
