:root {
  --color-primary: #2C1810;
  --color-secondary: #4A2C20;
  --color-accent: #DC2626;
  --bg-light: #FEF2F2;
  --bg-alt: #FEE2E2;
}

html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body { font-family: 'Inter', system-ui, sans-serif; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

::selection { background: rgba(220, 38, 38, 0.18); }

img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }

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%;
}

/* Premium focus ring */
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.30); border-radius: 9999px; }

/* Subtle motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Animations (context: slide_right) */
[data-animate] {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* FAQ / accordion utility */
.rotate-180 { transform: rotate(180deg); }

/* Decorative utilities (if not already defined globally) */
.decor-grid-dots {
  background-image: radial-gradient(rgba(220,38,38,0.25) 1px, transparent 1px);
  background-size: 18px 18px;
}
.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.decor-diagonal {
  background-image: repeating-linear-gradient(135deg, rgba(220,38,38,0.10), rgba(220,38,38,0.10) 10px, transparent 10px, transparent 22px);
}
.decor-mesh {
  background:
    radial-gradient(800px 500px at 20% 30%, rgba(220,38,38,0.22), transparent 55%),
    radial-gradient(700px 420px at 80% 20%, rgba(254,226,226,0.18), transparent 55%),
    radial-gradient(600px 520px at 70% 75%, rgba(220,38,38,0.16), transparent 60%);
  filter: saturate(1.05);
}
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 9999px;
  filter: blur(48px);
  opacity: 0.35;
  pointer-events: none;
}
.decor-gradient-blur::before {
  top: -140px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(220,38,38,0.7), transparent 60%);
}
.decor-gradient-blur::after {
  bottom: -160px;
  right: -140px;
  background: radial-gradient(circle at 60% 40%, rgba(254,226,226,0.9), transparent 60%);
}

.decor-subtle { opacity: 0.06; }
.decor-moderate { opacity: 0.10; }
.decor-bold { opacity: 0.20; }

/* Form polish */
input, select, textarea {
  -webkit-appearance: none;
  appearance: none;
}

/* Card shine */
.card-shine {
  position: relative;
  overflow: hidden;
}
.card-shine::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-60%) rotate(12deg);
  transition: transform 700ms ease;
}
.card-shine:hover::after {
  transform: translateX(40%) rotate(12deg);
}

/* Cookie banner tap targets */
#cookie-consent button { min-height: 44px; }

/* Tailwind color alias helper (in case) */
.bg-accent { background-color: var(--color-accent); }
.text-accent { color: var(--color-accent); }
.border-accent { border-color: var(--color-accent); }