:root {
  --color-primary: #4A4035;
  --color-secondary: #6A5A4A;
  --color-accent: #F5E6D3;
}

html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 5rem; 
}

body { 
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; 
}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

/* Form styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary bg-white;
}

/* Custom backgrounds */
.bg-coconut {
  background: linear-gradient(135deg, #FFFDFB 0%, #FDF8F3 100%);
}

.bg-cream-pattern {
  background-color: #FDF8F3;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(74, 64, 53, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(245, 230, 211, 0.4) 0%, transparent 50%);
}

/* Stars rating */
.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  fill: currentColor;
}

/* Product badge */
.product-badge {
  @apply inline-flex items-center gap-1 px-3 py-1 text-xs font-medium bg-green-100 text-green-800 rounded-full;
}

/* Loading animation */
.loading {
  @apply inline-block w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin;
}

/* Utility classes */
.text-balance {
  text-wrap: balance;
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(74, 64, 53, 0.1);
}

/* Mobile menu animation */
.mobile-menu-enter {
  animation: slideDown 0.3s ease-out;
}

.mobile-menu-exit {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.open {
  max-height: 1000px;
}

/* Price highlight */
.price-highlight {
  background: linear-gradient(135deg, #F5E6D3 0%, #E6D7C3 100%);
  @apply text-primary font-bold px-2 py-1 rounded;
}