:root {
  --color-primary: #2C1810;
  --color-secondary: #4A2C20;
  --color-accent: #DC2626;
}

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

/* Animations */
[data-animate] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

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

/* Decorative Elements */
.decor-grid-dots {
  background-image: radial-gradient(circle, rgba(156, 163, 175, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: linear-gradient(rgba(156, 163, 175, 0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(156, 163, 175, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(156, 163, 175, 0.05) 10px,
    rgba(156, 163, 175, 0.05) 20px
  );
}

.decor-mesh {
  background: radial-gradient(ellipse at top, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
}

.decor-gradient-blur::before,
.decor-gradient-blur::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.decor-gradient-blur::before {
  background: var(--color-accent);
  opacity: 0.1;
  transform: translate(-70%, -50%);
}

.decor-gradient-blur::after {
  background: var(--color-primary);
  opacity: 0.05;
  transform: translate(-30%, -50%);
}

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

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

.decor-glow-element {
  box-shadow: 0 0 60px rgba(220, 38, 38, 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='%23dc2626' fill-opacity='0.05'%3e%3ccircle cx='30' cy='30' r='10'/%3e%3ccircle cx='30' cy='30' r='20'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e");
}

/* Decoration intensity modifiers */
.decor-subtle { opacity: 0.3; }
.decor-moderate { opacity: 0.5; }
.decor-bold { opacity: 0.8; }

/* Form styling */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-full 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:ring-2 focus:ring-accent focus:border-transparent bg-white;
}

.form-checkbox {
  @apply h-4 w-4 text-accent focus:ring-accent border-gray-300 rounded;
}

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

.rating-star {
  color: #fbbf24;
}

/* Product badge */
.product-badge {
  @apply inline-flex items-center gap-1 px-2 py-1 text-xs font-medium rounded-full;
}

.product-badge.new {
  @apply bg-green-100 text-green-800;
}

.product-badge.bestseller {
  @apply bg-yellow-100 text-yellow-800;
}

.product-badge.popular {
  @apply bg-blue-100 text-blue-800;
}