:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-accent: #D4AF37;
  --font-family: 'Manrope', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-family);
}

/* 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;
  transition: all 0.2s ease;
}

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

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

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

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

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

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

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

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

.form-textarea {
  @apply w-full px-4 py-3 border border-gray-300 rounded-2xl focus:ring-2 focus:ring-accent/20 focus:border-accent transition-colors;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF9E7 100%);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Product image glow */
.product-glow {
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

/* Testimonial quotes */
.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-accent);
  position: absolute;
  top: -1rem;
  left: -1rem;
  line-height: 1;
}

.testimonial-quote {
  position: relative;
  padding-left: 2rem;
}

/* Star rating */
.star-rating {
  color: #fbbf24;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
}

/* Loading spinner */
.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--color-accent);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

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

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

/* Backdrop blur fix for older browsers */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Order form styles */
.order-form {
  background: linear-gradient(135deg, rgba(255, 253, 245, 0.8) 0%, rgba(254, 249, 231, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Progress bar */
.progress-bar {
  background: linear-gradient(90deg, var(--color-accent) 0%, #f1c40f 100%);
  height: 4px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Badge styles */
.badge-bestseller {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
}

.badge-new {
  background: linear-gradient(135deg, #00d2d3 0%, #54a0ff 100%);
  color: white;
}

.badge-popular {
  background: linear-gradient(135deg, #ffa726 0%, #ff7043 100%);
  color: white;
}

/* Responsive text */
@media (max-width: 640px) {
  .text-4xl { font-size: 2rem; }
  .text-5xl { font-size: 2.5rem; }
  .text-6xl { font-size: 3rem; }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}