:root {
  --color-primary: #3D2C2C;
  --color-secondary: #5A4040;
  --color-accent: #FFAB91;
}

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

body { 
  font-family: 'Plus Jakarta 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: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

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

.decor-mesh {
  background: radial-gradient(at 40% 20%, rgba(255, 171, 145, 0.3) 0px, transparent 50%),
              radial-gradient(at 80% 0%, rgba(61, 44, 44, 0.3) 0px, transparent 50%),
              radial-gradient(at 0% 50%, rgba(90, 64, 64, 0.3) 0px, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
  z-index: -1;
}

.decor-gradient-blur::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.08;
  z-index: -1;
}

.decor-corner-tr::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(225deg, currentColor, transparent);
  opacity: 0.05;
}

.decor-corner-bl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, currentColor, transparent);
  opacity: 0.05;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  opacity: 0.1;
  border-radius: inherit;
  z-index: -1;
}

.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='%23FFAB91' fill-opacity='0.05'%3e%3ccircle cx='30' cy='30' r='5'/%3e%3ccircle cx='30' cy='30' r='15'/%3e%3ccircle cx='30' cy='30' r='25'/%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; }

/* Form styling */
.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-checkbox {
  @apply w-5 h-5 text-accent border-gray-300 rounded focus:ring-accent;
}

/* Product badge */
.product-badge {
  @apply inline-flex items-center gap-1 px-3 py-1 bg-accent/10 text-accent text-sm font-medium rounded-full;
}

/* Rating stars */
.rating-stars {
  @apply flex items-center gap-1;
}

.rating-star {
  @apply w-4 h-4 text-yellow-400 fill-current;
}

/* Price styling */
.price-current {
  @apply text-2xl font-bold text-gray-900;
}

.price-old {
  @apply text-lg text-gray-500 line-through;
}

.price-discount {
  @apply inline-block px-2 py-1 bg-red-100 text-red-600 text-sm font-medium rounded-full;
}

/* Security badges */
.security-badge {
  @apply inline-flex items-center gap-2 px-3 py-2 bg-green-50 text-green-700 text-sm rounded-lg;
}

/* Loading animation */
.loading-spinner {
  @apply inline-block w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin;
}

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease-in-out;
  transform: translateY(-10px);
}

#mobile-menu.show {
  transform: translateY(0);
}