:root {
  --line: rgba(22, 18, 14, 0.08);
  --line-light: rgba(247, 243, 235, 0.12);
  --bg-card: #FCFAF5;
  --bg-light: #F7F3EB;
  --border: rgba(22, 18, 14, 0.1);
  --primary: #6B4226;
  --accent: #D49B1D;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

.products {
  background-color: var(--bg-card);
  padding: 1.5rem 1.5rem 4rem; /* Reduced top padding from 4rem to 1.5rem */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  margin-top: 0; /* Removes default browser heading margin */
  text-align: center;
  font-size: 2.25rem;
  font-family: 'Fraunces', serif;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: rgba(22, 18, 14, 0.7);
  margin-bottom: 2.5rem;
}

.product-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-light);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #16120E;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.product-image-container {
  width: 100%;
  height: 180px;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h4 {
  color: var(--primary);
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.btn {
  background-color: #16120E;
  color: #F7F3EB;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  width: 100%;
}

.btn:hover {
  background-color: var(--primary);
}