: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: 'Work Sans', system-ui, sans-serif;
}

/* =====================
   BUTTON RESETS
===================== */
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;
}

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

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

html.js-anim [data-animate="zoom_in"] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* =====================
   DECORATIVE ELEMENTS
===================== */

/* Pattern backgrounds */
.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: 40px 40px;
}

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

.decor-mesh {
  background-image:
    radial-gradient(at 40% 20%, rgba(255, 179, 0, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(47, 79, 47, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(74, 107, 74, 0.1) 0px, transparent 50%);
}

/* Intensity modifiers */
.decor-subtle { opacity: 0.5; }
.decor-moderate { opacity: 0.8; }
.decor-bold { opacity: 1; }

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

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

/* Corner accents */
.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 179, 0, 0.12) 50%);
  pointer-events: none;
}

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

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

/* Rings SVG pattern */
.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='rgba(47,79,47,0.08)' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='60' fill='none' stroke='rgba(47,79,47,0.06)' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='rgba(47,79,47,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

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

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

/* Star ratings */
.star-filled {
  color: var(--color-accent);
  fill: var(--color-accent);
}

/* Hero section */
.hero-gradient {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFFBEB 100%);
}

/* Section accent line */
.section-accent-line {
  display: inline-block;
  height: 3px;
  width: 48px;
  background: var(--color-accent);
  border-radius: 999px;
}

/* Card hover effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Order form */
.order-form-wrap {
  background: linear-gradient(145deg, #ffffff 0%, #FFFBEB 100%);
}

/* Input focus */
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
  border-color: var(--color-accent);
}

/* Price display */
.price-old {
  text-decoration: line-through;
  color: #9ca3af;
}

/* Testimonial slider */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

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

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

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

/* Ingredient image wrapper */
.ingredient-img-wrap {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border-radius: 1rem;
  overflow: hidden;
}

/* Scroll to top button */
#scroll-top {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* =====================
   FORM STATES
===================== */
.form-error {
  border-color: #ef4444 !important;
}

.field-error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

.form-success-msg {
  color: #16a34a;
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
  background: #f0fdf4;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

/* =====================
   BENEFIT BADGES
===================== */
.benefit-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =====================
   PRINT STYLES
===================== */
@media print {
  header, footer, #cookie-consent {
    display: none !important;
  }
}