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

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

body { 
  font-family: 'Outfit', 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: translateX(-2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Utility classes */
.rotate-180 { 
  transform: rotate(180deg); 
}

.transition-all {
  transition: all 0.3s ease;
}

/* Custom backgrounds */
.bg-gradient-radial {
  background: radial-gradient(ellipse at center, rgba(245, 230, 211, 0.1) 0%, transparent 70%);
}

/* Form styles */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
textarea, 
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  ring: 2px;
  ring-color: rgba(245, 230, 211, 0.5);
}

/* Loading state */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Stars rating */
.stars {
  display: flex;
  gap: 0.125rem;
}

.stars .star {
  color: #fbbf24;
}

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease;
}

#mobile-menu.hidden {
  opacity: 0;
  transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}