:root {
  --color-primary: #2F4F2F;
  --color-secondary: #4A6B4A;
  --color-accent: #FFB300;
  --bg-light: #FFFBEB;
  --bg-alt: #FEF3C7;
}

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

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

/* =====================
   HEADER TRANSPARENT
   ===================== */
#site-header.scrolled {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}

#site-header.scrolled .header-logo-text {
  color: #2F4F2F !important;
}

#site-header.scrolled .header-nav-link {
  color: #4b5563 !important;
}

#site-header.scrolled .header-nav-link:hover {
  color: #2F4F2F !important;
  background-color: #f9fafb !important;
}

#site-header.scrolled #mobile-menu-btn {
  color: #111827;
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: scale(0.95) translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

html.js-anim html.js-anim [data-animate].is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* =====================
   DECORATIVE ELEMENTS
   ===================== */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(47,79,47,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(rgba(47,79,47,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,79,47,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(47,79,47,0.05) 10px,
    rgba(47,79,47,0.05) 11px
  );
}

.decor-mesh {
  background-image: radial-gradient(ellipse at 20% 50%, rgba(255,179,0,0.12) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(47,79,47,0.12) 0%, transparent 60%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,179,0,0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
  filter: blur(40px);
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(47,79,47,0.15) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  pointer-events: none;
  filter: blur(40px);
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, rgba(255,179,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(47,79,47,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,179,0,0.18) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

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

/* =====================
   HERO SECTION
   ===================== */
.hero-gradient {
  background: linear-gradient(135deg, #2F4F2F 0%, #4A6B4A 50%, #3a5c3a 100%);
}

/* =====================
   PRODUCT BADGE
   ===================== */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(255,179,0,0.15);
  border: 1px solid rgba(255,179,0,0.4);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFB300;
}

/* =====================
   STAR RATING
   ===================== */
.star-filled { color: #FFB300; }
.star-empty { color: #d1d5db; }

/* =====================
   CARDS
   ===================== */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(47,79,47,0.12);
}

/* =====================
   ORDER FORM
   ===================== */
.order-form-wrapper {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid rgba(255,179,0,0.25);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: #FFB300;
  box-shadow: 0 0 0 3px rgba(255,179,0,0.15);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* =====================
   TESTIMONIAL SLIDER
   ===================== */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

/* =====================
   FAQ ACCORDION
   ===================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}

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

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

.text-gradient {
  background: linear-gradient(135deg, #FFB300 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-accent-light { background-color: rgba(255,179,0,0.1); }
.border-accent-light { border-color: rgba(255,179,0,0.25); }

/* =====================
   RESPONSIVE HELPERS
   ===================== */
@media (max-width: 768px) {
  .hero-text-shadow {
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  }
}

/* =====================
   PRICE DISPLAY
   ===================== */
.price-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2F4F2F;
  line-height: 1;
}

.price-old {
  font-size: 1.1rem;
  color: #9ca3af;
  text-decoration: line-through;
}

/* =====================
   NOTIFICATION / ALERT
   ===================== */
.form-alert {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.form-alert.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.form-alert.error-alert {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}