* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.box {
  transform: scale(0.6); /* 80% of current size */
  transform-origin: center; /* optional: shrink from center */
}

.headline {
          font-size: 36px;
          font-weight: 400;
          line-height: 1.1;
          color: #fefefe;
      }
.gift-description {
            font-size: 28px;
            font-weight: 400;
            line-height: 1.4;
            color: #1a1a1a;
        }
:root {
  --background: #0a0a0a;
  --foreground: #ededed;
  --card: #141414;
  --card-foreground: #ededed;
  --primary: #ff6b6b;
  --primary-foreground: #ffffff;
  --secondary: #1a1a1a;
  --muted: #1a1a1a;
  --muted-foreground: #a0a0a0;
  --border: #2a2a2a;
  --input: #1a1a1a;
  --radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.min-h-screen {
  min-height: 100vh;
}

.bg-background {
  background-color: var(--background);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

/* Header */
.header {
  margin-bottom: 3rem;
  text-align: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.icon-gift {
  color: var(--primary);
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Card */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 4px);
  z-index: 10;
}

.product-badge.trending {
  background-color: #fbbf24;
  color: #000;
}

/* Form */
.form-section {
  max-width: 48rem;
  margin: 0 auto;
}

.form-card {
  padding: 2rem;
}

.gift-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.optional-text {
  color: var(--muted-foreground);
  font-weight: 100;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .title {
    font-size: 2.5rem;
  }
}

.btn-submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-submit:hover {
  background-color: #ff5252;
}

.btn-submit:active {
  transform: scale(0.98);
}

.icon-sparkles {
  flex-shrink: 0;
}

/* Results */
.results-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--foreground);
}

.icon-arrow {
  flex-shrink: 0;
}

.results-count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: rgba(255, 107, 107, 0.5);
  transform: translateY(-2px);
}

.product-image-wrapper {
  aspect-ratio: 1;
  background-color: var(--secondary);
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-title {
  font-size: .5rem;
  font-weight: 200;
  line-height: 1.4;
  color: var(--foreground);
}

.product-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-star {
  color: var(--primary);
  fill: var(--primary);
}

.rating-value {
  font-size: 0.875rem;
  font-weight: 500;
}

.rating-reviews {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.btn-amazon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary);
  color:  #fff;/* color: var(--primary-foreground); */
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 300;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-amazon:hover {
  background-color: #ff5252;
}

.icon-external {
  flex-shrink: 0;
}

.no-results {
  margin-top: 2rem;
}

.no-results .card {
  padding: 3rem;
  text-align: center;
}

.no-results-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Navigation Bar */
.navbar {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background-color: rgba(20, 20, 20, 0.8);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
  font-size: 1.25rem;
  transition: color 0.2s;
}

.nav-brand:hover {
  color: var(--primary);
}

.nav-brand .icon-gift {
  color: var(--primary);
}

.brand-text {
  display: none;
}

@media (min-width: 640px) {
  .brand-text {
    display: inline;
  }
}

.mobile-menu-btn {
  display: block;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.nav-menu {
  display: none;
  gap: 0.5rem;
}

.nav-menu.active {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: calc(var(--radius) - 2px);
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
  background-color: var(--muted);
}

/* Landing Page */
.landing-hero {
  padding: 4rem 0;
}

.hero-content {
  text-align: center;
  margin-bottom: 4rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background-color: #ff5252;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background-color: var(--secondary);
  color: var(--foreground);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
}

.btn-secondary:hover {
  background-color: var(--muted);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(255, 107, 107, 0.5);
  transform: translateY(-4px);
}

.feature-icon {
  display: inline-flex;
  padding: 1rem;
  background-color: var(--secondary);
  border-radius: 50%;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Coming Soon */
.coming-soon-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.coming-soon-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.coming-soon-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.coming-soon-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.category-tab {
  padding: 0.625rem 1.25rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.category-tab:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.category-tab.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Art of Gifting Guide Styles */
.guide-content {
  max-width: 56rem;
  margin: 0 auto;
}

.guide-section {
  margin-bottom: 4rem;
}

.guide-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.guide-intro-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.guide-intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.principle-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.principle-card:hover {
  border-color: rgba(255, 107, 107, 0.5);
  transform: translateY(-2px);
}

.principle-icon {
  display: inline-flex;
  padding: 0.75rem;
  background-color: var(--secondary);
  border-radius: 50%;
  color: var(--primary);
  margin-bottom: 1rem;
}

.principle-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.principle-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Occasions Grid */
.occasions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .occasions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.occasion-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.occasion-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.occasion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.occasion-list li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-left: 1.5rem;
  position: relative;
}

.occasion-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Tips Container */
.tips-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tip-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  transition: border-color 0.2s;
}

.tip-card:hover {
  border-color: rgba(255, 107, 107, 0.5);
}

.tip-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
}

.tip-content {
  flex: 1;
}

.tip-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tip-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Mistakes Container */
.mistakes-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mistakes-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mistake-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.mistake-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mistake-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mistake-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Guide CTA Card */
.guide-cta-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--secondary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.guide-cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.guide-cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Gift Unwrapping Animation - Landing Page */
.gift-animation-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  perspective: 1000px;
}

.gift-box {
  position: relative;
  width: 120px;
  height: 120px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.gift-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff5252 100%);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.gift-lid {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 25px;
  background: linear-gradient(135deg, #ff5252 0%, var(--primary) 100%);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -2px 10px rgba(255, 107, 107, 0.2);
  animation: lidOpen 3s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes lidOpen {
  0%,
  70%,
  100% {
    transform: translateX(-50%) rotateX(0deg);
  }
  80%,
  90% {
    transform: translateX(-50%) rotateX(-45deg) translateY(-10px);
  }
}

.gift-ribbon-v {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 65px;
  background: linear-gradient(to bottom, #fbbf24 0%, #f59e0b 100%);
  z-index: 1;
}

.gift-ribbon-h {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 12px;
  background: linear-gradient(to right, #fbbf24 0%, #f59e0b 100%);
  z-index: 1;
}

.gift-bow {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 20px;
  background: #fbbf24;
  border-radius: 50% 50% 0 0;
  z-index: 2;
}

.gift-bow::before,
.gift-bow::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 20px;
  height: 15px;
  background: #fbbf24;
  border-radius: 50%;
}

.gift-bow::before {
  left: -18px;
}

.gift-bow::after {
  right: -18px;
}

.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fbbf24;
  border-radius: 50%;
  opacity: 0;
  animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 30%;
  right: 10%;
  animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
  top: 50%;
  left: 5%;
  animation-delay: 1s;
}

.sparkle:nth-child(4) {
  top: 40%;
  right: 5%;
  animation-delay: 1.5s;
}

@keyframes sparkleFloat {
  0%,
  70% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  80% {
    opacity: 1;
    transform: translateY(-20px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0);
  }
}

/* Loading Animation - Search Page */
.loading-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.loading-card {
  text-align: center;
  max-width: 400px;
}

.loading-gift-animation {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
}

.loading-gift-box {
  position: relative;
  width: 100%;
  height: 100%;
  animation: loadingBounce 1.5s ease-in-out infinite;
}

@keyframes loadingBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.loading-gift-body {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff5252 100%);
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

.loading-gift-lid {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: linear-gradient(135deg, #ff5252 0%, var(--primary) 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -4px 15px rgba(255, 107, 107, 0.3);
  animation: loadingLidFloat 1.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes loadingLidFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) rotateX(0deg);
  }
  50% {
    transform: translateX(-50%) translateY(-40px) rotateX(-25deg);
  }
}

.loading-gift-ribbon-v {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 90px;
  background: linear-gradient(to bottom, #fbbf24 0%, #f59e0b 100%);
  z-index: 1;
}

.loading-gift-ribbon-h {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 15px;
  background: linear-gradient(to right, #fbbf24 0%, #f59e0b 100%);
  z-index: 1;
}

.loading-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.loading-sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fbbf24;
  border-radius: 50%;
  animation: loadingSparkle 2s ease-in-out infinite;
}

.loading-sparkle:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.loading-sparkle:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 0.3s;
}

.loading-sparkle:nth-child(3) {
  top: 40%;
  left: 5%;
  animation-delay: 0.6s;
}

.loading-sparkle:nth-child(4) {
  top: 50%;
  right: 10%;
  animation-delay: 0.9s;
}

.loading-sparkle:nth-child(5) {
  top: 70%;
  left: 15%;
  animation-delay: 1.2s;
}

.loading-sparkle:nth-child(6) {
  top: 65%;
  right: 5%;
  animation-delay: 1.5s;
}

@keyframes loadingSparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.5) rotate(180deg);
  }
}

.loading-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: loadingDots 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDots {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Product Card Loading State */
.product-card.loading {
  pointer-events: none;
}

.product-card.loading .product-image {
  animation: shimmer 1.5s infinite;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--muted) 50%, var(--secondary) 100%);
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.btn-submitaz {
  width:fit-content;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-submitaz:hover {
  background-color: #ff5252;
}

.btn-submitaz:active {
  transform: scale(0.98);
}