: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: 'Outfit', system-ui, sans-serif;
  background-color: #ffffff;
  color: #111827;
}

/* =====================
   Button Base 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;
}

/* =====================
   Scroll 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][data-delay="100"] { transition-delay: 0.1s; }
html.js-anim [data-animate][data-delay="200"] { transition-delay: 0.2s; }
html.js-anim [data-animate][data-delay="300"] { transition-delay: 0.3s; }
html.js-anim [data-animate][data-delay="400"] { transition-delay: 0.4s; }
html.js-anim [data-animate][data-delay="500"] { transition-delay: 0.5s; }
html.js-anim [data-animate][data-delay="600"] { transition-delay: 0.6s; }

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

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

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

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

.decor-mesh {
  background-image:
    radial-gradient(at 40% 20%, rgba(255,140,0,0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(61,41,20,0.1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(254,240,199,0.3) 0px, transparent 50%);
}

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

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

/* Corner accents */
.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(255,140,0,0.15), transparent 70%);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at bottom left, rgba(61,41,20,0.1), transparent 70%);
  pointer-events: none;
}

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

/* Concentric 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' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='%23FF8C00' stroke-opacity='0.08' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='70' fill='none' stroke='%23FF8C00' stroke-opacity='0.06' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='95' fill='none' stroke='%23FF8C00' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

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

/* =====================
   Star Rating
   ===================== */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #FF8C00;
}

.star-filled::before { content: '★'; }
.star-half::before  { content: '⯨'; }
.star-empty::before { content: '☆'; }

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

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

/* =====================
   Slider / Testimonials
   ===================== */
.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

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

.form-input:focus {
  border-color: #FF8C00;
  box-shadow: 0 0 0 3px rgba(255,140,0,0.12);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

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

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

/* =====================
   Gradient Text Utility
   ===================== */
.text-gradient {
  background: linear-gradient(135deg, #FF8C00, #3D2914);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   Badge
   ===================== */
.badge-popular {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, rgba(255,140,0,0.15), rgba(255,140,0,0.08));
  border: 1px solid rgba(255,140,0,0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FF8C00;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================
   Scrollbar (subtle)
   ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f9f9f9; }
::-webkit-scrollbar-thumb { background: rgba(255,140,0,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,140,0,0.7); }

/* =====================
   Selection color
   ===================== */
::selection {
  background-color: rgba(255,140,0,0.2);
  color: #3D2914;
}

/* =====================
   Print
   ===================== */
@media print {
  header, footer, #cookie-consent { display: none !important; }
  main { padding-top: 0 !important; }
}