:root {
  --color-primary: #3D2914;
  --color-secondary: #5C4020;
  --color-accent: #FF8C00;
  --color-bg-light: #FFFBF0;
  --color-bg-alt: #FEF0C7;
}

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

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

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

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

html.js-anim [data-animate-delay="100"] { transition-delay: 0.1s; }
html.js-anim [data-animate-delay="200"] { transition-delay: 0.2s; }
html.js-anim [data-animate-delay="300"] { transition-delay: 0.3s; }
html.js-anim [data-animate-delay="400"] { transition-delay: 0.4s; }
html.js-anim [data-animate-delay="500"] { transition-delay: 0.5s; }

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

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

/* Dot pattern */
.decor-grid-dots {
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--color-primary);
}

/* Line grid */
.decor-grid-lines {
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--color-primary);
}

/* Diagonal stripes */
.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    currentColor 0,
    currentColor 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 16px 16px;
  color: var(--color-primary);
}

/* Mesh gradient */
.decor-mesh {
  background-image:
    radial-gradient(at 40% 20%, var(--color-accent) 0px, transparent 50%),
    radial-gradient(at 80% 0%, var(--color-primary) 0px, transparent 50%),
    radial-gradient(at 0% 50%, var(--color-secondary) 0px, transparent 50%);
}

/* Gradient blur blobs */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.decor-gradient-blur::before {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: -80px;
  right: -60px;
}
.decor-gradient-blur::after {
  width: 200px;
  height: 200px;
  background: var(--color-primary);
  bottom: -60px;
  left: -40px;
}

/* Corner accents */
.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: var(--color-accent);
  border-radius: 0 0 0 100%;
  pointer-events: none;
}
.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: var(--color-primary);
  border-radius: 0 100% 0 0;
  pointer-events: none;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Intensity modifiers */
.decor-subtle  { opacity: 0.05; }
.decor-moderate { opacity: 0.10; }
.decor-bold    { opacity: 0.20; }

/* =====================
   STARS
   ===================== */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
}

/* =====================
   FORM STYLES
   ===================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.75rem;
  font-family: 'Urbanist', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

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

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

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

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

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

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

/* =====================
   HEADER SCROLL STATE
   ===================== */
#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* =====================
   HERO GRADIENT BG
   ===================== */
.hero-gradient {
  background: linear-gradient(135deg, #FFFBF0 0%, #FEF0C7 50%, #FFE4A0 100%);
}

/* =====================
   PRODUCT CARD HOVER
   ===================== */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* =====================
   BENEFIT CARD
   ===================== */
.benefit-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--color-accent), #ffab00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* =====================
   SECTION DIVIDER
   ===================== */
.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-accent), transparent);
  max-width: 80px;
  margin: 0 auto 1rem;
  border-radius: 999px;
}

/* =====================
   TESTIMONIAL RATING
   ===================== */
.testimonial-stars {
  color: #F59E0B;
  display: flex;
  gap: 2px;
}

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

.form-alert.success {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
  display: block;
}

.form-alert.error-alert {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  display: block;
}

/* =====================
   MOBILE MENU TRANSITION
   ===================== */
#mobile-menu {
  transition: all 0.3s ease-out;
}

/* =====================
   SCROLL BAR
   ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-secondary); }