:root {
  --color-primary: #0A0A0A;
  --color-secondary: #1A1A1A;
  --color-accent: #D4AF37;
  --bg-light: #FFFDF5;
  --bg-alt: #FEF9E7;
}

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

body { 
  font-family: 'DM 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(2rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.slide-left-enter {
  opacity: 0;
  transform: translateX(2rem);
}

.slide-left-active {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s ease-out;
}

/* Utility classes */
.rotate-180 { 
  transform: rotate(180deg); 
}

.transition-transform {
  transition: transform 0.2s ease-in-out;
}

/* Decorative elements */
.decor-grid-dots {
  background-image: radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.15) 1px, transparent 0);
  background-size: 20px 20px;
}

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

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

.decor-mesh {
  background: 
    radial-gradient(at 40% 20%, rgba(212, 175, 55, 0.1) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(10, 10, 10, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(212, 175, 55, 0.1) 0px, transparent 50%);
}

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(-45deg, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.decor-corner-bl::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.decor-glow-element {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 60%);
  filter: blur(20px);
}

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

.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-2xl focus:ring-2 focus:ring-accent/20 focus:border-accent transition-colors;
}

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

/* Loading state */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* FAQ accordion styling */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0;
}

.faq-answer.open {
  max-height: 500px;
  padding-bottom: 1rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Product badge */
.product-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #D4AF37, #B8941F);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  z-index: 10;
}

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

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

.rating-star.empty {
  fill: #e5e7eb;
}