:root {
  --color-primary: #4A4035;
  --color-secondary: #6A5A4A;
  --color-accent: #F5E6D3;
  --color-bg-light: #FFFDFB;
  --color-bg-alt: #FDF8F3;
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background-color: var(--color-bg-light);
}

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

/* =====================
   SCROLL ANIMATIONS
   ===================== */
html.js-anim html.js-anim [data-animate] {
  opacity: 0;
  transform: scale(0.95);
  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);
}

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

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

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

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

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

/* Line grid */
.decor-grid-lines {
  background-image:
    linear-gradient(var(--color-accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Diagonal stripes */
.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    var(--color-accent) 10px,
    var(--color-accent) 11px
  );
}

/* Mesh gradient overlay */
.decor-mesh {
  background: radial-gradient(ellipse at 20% 50%, rgba(245, 230, 211, 0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(106, 90, 74, 0.08) 0%, transparent 50%);
}

/* Gradient blur blobs */
.decor-gradient-blur::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(245, 230, 211, 0.6) 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: 9999px;
  background: radial-gradient(circle, rgba(74, 64, 53, 0.06) 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(225deg, var(--color-accent) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--color-accent) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Glow element */
.decor-glow-element {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(245, 230, 211, 0.8) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

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

/* =====================
   STAR RATINGS
   ===================== */
.star-rating {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
}

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

.form-input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(106, 90, 74, 0.12);
}

.form-input.error {
  border-color: #EF4444;
}

.form-error {
  font-size: 0.78rem;
  color: #EF4444;
  margin-top: 0.25rem;
  padding-left: 1rem;
}

/* =====================
   INGREDIENT CARDS
   ===================== */
.ingredient-card {
  background: var(--color-bg-alt);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.ingredient-card:hover {
  transform: translateY(-4px);
}

/* =====================
   TESTIMONIAL CARDS
   ===================== */
.testimonial-card {
  background: #F9FAFB;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

/* =====================
   HERO PRICE
   ===================== */
.price-tag-old {
  text-decoration: line-through;
  color: #9CA3AF;
}

.price-tag-new {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.discount-badge {
  background: #FEF3C7;
  color: #92400E;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =====================
   SECTION HELPERS
   ===================== */
.section-pill {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* =====================
   MOBILE MENU TRANSITION
   ===================== */
#mobile-menu {
  transition: opacity 0.2s ease;
}

/* =====================
   UTILITY
   ===================== */
.text-balance {
  text-wrap: balance;
}

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }

/* =====================
   SCROLL BAR STYLE
   ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-light); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 9999px; }