:root {
  --color-primary: #3D2914;
  --color-secondary: #5C4020;
  --color-accent: #FF8C00;
}

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

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

/* Header scroll effect */
.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-scrolled #header-logo,
.header-scrolled .nav-link {
  color: #1f2937 !important;
}

/* 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);
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Order form styling */
.order-form {
  background: linear-gradient(135deg, #FFFBF0 0%, #FEF0C7 100%);
  border: 2px solid var(--color-accent);
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* Product badge */
.product-badge {
  background: linear-gradient(45deg, var(--color-accent), #ff7300);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Rating stars */
.rating-stars {
  color: #fbbf24;
}

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

.decor-grid-lines {
  background-image: 
    linear-gradient(rgba(255, 140, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 140, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 140, 0, 0.05) 20px,
    rgba(255, 140, 0, 0.05) 21px
  );
}

.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.7; }
.decor-bold { opacity: 1; }

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* FAQ styling */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
  padding-top: 1rem;
}

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

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

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

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

/* Responsive utilities */
@media (max-width: 768px) {
  .mobile-center { text-align: center; }
  .mobile-full { width: 100%; }
}

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