:root {
  --color-primary: #3D2C2C;
  --color-secondary: #5A4040;
  --color-accent: #FFAB91;
  --bg-light: #FFF5F2;
  --bg-alt: #FFE8E0;
}

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

body {
  font-family: 'Work 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%;
}

/* Form styling */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-accent focus:border-accent transition-colors;
}

.form-label {
  @apply block text-sm font-medium text-gray-700 mb-2;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(255,171,145,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-subtle {
  opacity: 0.05;
}

.decor-moderate {
  opacity: 0.1;
}

.decor-bold {
  opacity: 0.2;
}

/* Star ratings */
.star-rating {
  display: flex;
  gap: 2px;
}

.star-rating .star {
  color: #fbbf24;
  font-size: 1rem;
}

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

/* Header scrolled state */
.header-scrolled {
  @apply bg-white shadow-md;
}

/* Product badge */
.product-badge {
  @apply inline-flex items-center gap-1 px-3 py-1 bg-accent/10 text-accent text-xs font-semibold rounded-full;
}

/* Price styling */
.price-old {
  @apply line-through text-gray-500;
}

.price-current {
  @apply text-2xl font-bold text-primary;
}

.price-symbol {
  @apply text-lg;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

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

/* Loading states */
.loading {
  @apply opacity-50 pointer-events-none;
}

/* Success/error states */
.success {
  @apply text-green-600 bg-green-50 border-green-200;
}

.error {
  @apply text-red-600 bg-red-50 border-red-200;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.2s ease-in-out;
}

.hover-lift:hover {
  transform: translateY(-2px);
}