:root {
  --color-primary: #3D4A3D;
  --color-secondary: #566556;
  --color-accent: #8FBC8F;
  --color-bg-light: #F5FAF5;
  --color-bg-alt: #E8F5E8;
}

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

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

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

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

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

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

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(143,188,143,0.08) 10px,
    rgba(143,188,143,0.08) 11px
  );
}

.decor-mesh {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(143,188,143,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(61,74,61,0.1) 0%, transparent 50%);
}

/* Accent Elements */
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.decor-gradient-blur::before {
  width: 400px;
  height: 400px;
  background: rgba(143,188,143,0.2);
  top: -100px;
  right: -100px;
}

.decor-gradient-blur::after {
  width: 300px;
  height: 300px;
  background: rgba(61,74,61,0.12);
  bottom: -80px;
  left: -80px;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(143,188,143,0.25) 0%, 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(143,188,143,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(143,188,143,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.decor-rings-svg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Ccircle cx='200' cy='200' r='100' fill='none' stroke='%238FBC8F' stroke-width='1' opacity='0.15'/%3E%3Ccircle cx='200' cy='200' r='150' fill='none' stroke='%238FBC8F' stroke-width='1' opacity='0.1'/%3E%3Ccircle cx='200' cy='200' r='190' fill='none' stroke='%238FBC8F' stroke-width='1' opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

/* Intensity Modifiers */
.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

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

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

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

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

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

.form-input::placeholder {
  color: #9CA3AF;
}

/* =====================
   CARD HOVER EFFECTS
   ===================== */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(61,74,61,0.12);
}

/* =====================
   BADGE STYLES
   ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-accent {
  background: rgba(143,188,143,0.15);
  color: var(--color-secondary);
  border: 1px solid rgba(143,188,143,0.3);
}

.badge-white {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

/* =====================
   SECTION BACKGROUNDS
   ===================== */
.bg-light { background-color: var(--color-bg-light); }
.bg-alt { background-color: var(--color-bg-alt); }

/* =====================
   CUSTOM CHECKBOX
   ===================== */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 2px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* =====================
   SCROLLBAR
   ===================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

/* =====================
   SELECTION
   ===================== */
::selection {
  background: rgba(143,188,143,0.3);
  color: var(--color-primary);
}

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