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

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

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

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

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

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 24px 24px;
}

.decor-grid-lines {
  background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 32px 32px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 16px, currentColor 16px, currentColor 17px);
}

.decor-mesh {
  background: linear-gradient(45deg, transparent 30%, currentColor 70%, transparent);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  z-index: -1;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.05;
  z-index: -1;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(-45deg, var(--color-accent), transparent 70%);
  opacity: 0.1;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--color-accent), transparent 70%);
  opacity: 0.1;
}

.decor-glow-element {
  box-shadow: 0 0 100px rgba(212, 175, 55, 0.2);
}

.decor-rings-svg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3Ccircle cx='30' cy='30' r='12' stroke='%23D4AF37' stroke-width='1' fill='none'/%3E%3Ccircle cx='30' cy='30' r='20' stroke='%23D4AF37' stroke-width='1' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.decor-subtle {
  opacity: 0.05;
}

.decor-moderate {
  opacity: 0.1;
}

.decor-bold {
  opacity: 0.2;
}

/* Order Form Styles */
.order-form {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF9E7 100%);
  border: 2px solid #D4AF37;
}

.order-form .form-field {
  position: relative;
}

.order-form .form-field input,
.order-form .form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.order-form .form-field input:focus,
.order-form .form-field select:focus {
  outline: none;
  border-color: #D4AF37;
}

.order-form .form-error {
  color: #dc2626;
  font-size: 14px;
  margin-top: 4px;
}

/* Product Badge */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #D4AF37;
  color: #0A0A0A;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rating-stars .star {
  width: 16px;
  height: 16px;
  color: #D4AF37;
}

/* Price Display */
.price-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-current {
  font-size: 24px;
  font-weight: 700;
  color: #D4AF37;
}

.price-old {
  font-size: 18px;
  color: #6b7280;
  text-decoration: line-through;
}

.price-discount {
  background: #dc2626;
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* Trust Elements */
.trust-element {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
}

.trust-element .icon {
  width: 16px;
  height: 16px;
  color: #16a34a;
}

/* Testimonial Slider */
.testimonial-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .testimonial-slide {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    width: 33.333%;
  }
}