@tailwind base;
@tailwind components;
@tailwind utilities;

html,
body {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
}
.animated-gradient-text {
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-pan 4s linear infinite;
}

@keyframes text-pan {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.product-card-modern {
  background-color: #ffffff;
  border: 1px solid #d9e2e8; /* Changed from #e5e7eb */
  border-radius: 0.75rem;
  padding: 1.2rem;
  transition:
    transform 0.3s ease-out,
    box-shadow 0.3s ease-out;
}

.product-card-modern:hover {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.07),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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;
  appearance: textfield;
}

article,
div,
section {
  scroll-margin-top: 70px;
}
