:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-accent: #D4AF37;
}

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; }

img { max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }

::selection { background: rgba(212, 175, 55, 0.22); }

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

/* Form helpers */
.field-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  line-height: 1.2;
}

.input-invalid {
  border-color: rgba(185, 28, 28, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.12);
}

/* Scroll animations (context: slide_left) */
[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);
}

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

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,10,0.12) 1px, transparent 0);
  background-size: 18px 18px;
}

.decor-grid-lines {
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(212,175,55,0.10),
    rgba(212,175,55,0.10) 8px,
    rgba(212,175,55,0.00) 8px,
    rgba(212,175,55,0.00) 18px
  );
}

.decor-mesh {
  background:
    radial-gradient(800px 240px at 10% 10%, rgba(212,175,55,0.18), transparent 60%),
    radial-gradient(900px 300px at 90% 20%, rgba(10,10,10,0.10), transparent 60%),
    radial-gradient(700px 260px at 40% 90%, rgba(212,175,55,0.12), transparent 55%);
}

.decor-gradient-blur { position: relative; }
.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 520px;
  height: 520px;
  filter: blur(46px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  border-radius: 9999px;
}
.decor-gradient-blur::before {
  top: -180px;
  left: -220px;
  background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.55), transparent 60%);
}
.decor-gradient-blur::after {
  bottom: -220px;
  right: -220px;
  background: radial-gradient(circle at 70% 50%, rgba(10,10,10,0.38), transparent 60%);
}

.decor-corner-tr { position: relative; }
.decor-corner-tr::after {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 140px; height: 140px;
  background: radial-gradient(circle at 70% 30%, rgba(212,175,55,0.25), transparent 62%);
  pointer-events: none;
}

.decor-corner-bl { position: relative; }
.decor-corner-bl::after {
  content: "";
  position: absolute;
  bottom: -1px; left: -1px;
  width: 160px; height: 160px;
  background: radial-gradient(circle at 30% 70%, rgba(212,175,55,0.18), transparent 62%);
  pointer-events: none;
}

.decor-glow-element {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.18), transparent 65%);
  filter: blur(22px);
  opacity: 0.9;
  pointer-events: none;
}

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

/* Slider helpers */
.slider-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.slider-track::-webkit-scrollbar { height: 10px; }
.slider-track::-webkit-scrollbar-thumb { background: rgba(10,10,10,0.12); border-radius: 999px; }
.slider-track::-webkit-scrollbar-track { background: rgba(10,10,10,0.04); border-radius: 999px; }
.slider-item { scroll-snap-align: start; min-width: 320px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { transition: none; transform: none; opacity: 1; }
}