:root {
  --color-primary: #0F2027;
  --color-secondary: #1A3A40;
  --color-accent: #00F5A0;
}

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, var(--color-accent) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: linear-gradient(var(--color-accent) 1px, transparent 1px),
                    linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    var(--color-accent),
    var(--color-accent) 1px,
    transparent 1px,
    transparent 20px
  );
}

.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-accent), transparent);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-45deg, var(--color-accent), transparent);
  opacity: 0.1;
  pointer-events: none;
}

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

/* Custom form styles */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-accent focus:border-transparent;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full focus:outline-none focus:ring-2 focus:ring-accent focus:border-transparent appearance-none bg-white;
}

/* Rating stars */
.rating-stars {
  display: inline-flex;
  gap: 2px;
}

.rating-star {
  color: #fbbf24;
  font-size: 1rem;
}

/* Product badge */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

/* Testimonial quote marks */
.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.5;
}

/* Payment method icons */
.payment-icon {
  width: 40px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Mobile menu transition */
#mobile-menu {
  transition: all 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.active {
  max-height: 500px;
}