:root {
  --color-primary: #1A1625;
  --color-secondary: #2E2540;
  --color-accent: #7C3AED;
}

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 {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Gradient effects */
.gradient-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #9333ea 100%);
}

.gradient-dark {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* Badge styles */
.badge-new {
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Rating stars */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
}

.star-filled {
  color: #facc15;
}

.star-empty {
  color: #e5e7eb;
}

/* Image hover effects */
.img-hover {
  transition: transform 0.3s ease;
}

.img-hover:hover {
  transform: scale(1.05);
}

/* Loading spinner */
.spinner {
  border: 3px solid #f3f4f6;
  border-top-color: var(--color-accent);
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* FAQ Toggle */
[data-faq-toggle] {
  cursor: pointer;
  user-select: none;
}

[data-faq-answer] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

[data-faq-answer].active {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
}

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

/* Print styles */
@media print {
  header, footer, #cookie-consent, button { display: none !important; }
  main { padding-top: 0 !important; }
}