/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: #FFF8E7;
  color: #1B1B1B;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; }
.kn { font-family: 'Nudi', sans-serif; }

/* === UTILITIES === */
.container { width: min(100% - 2rem, 1200px); margin: 0 auto; }
.text-center { text-align: center; }
.pill {
  display: inline-block;
  background: #2E8B57;
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary { background: #2E8B57; color: white; }
.btn-primary:hover { background: #1e6a42; transform: translateY(-2px); }
.btn-accent { background: #DAA520; color: white; }
.btn-accent:hover { background: #c4911a; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/hero.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, #FFF8E7);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}
.hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); margin-bottom: 0.5rem; }
.countdown {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: rgba(46, 139, 87, 0.9);
  border-radius: 12px;
  display: inline-block;
}
.countdown.late { background: #9b2c2c; }

/* === PRODUCT GRID === */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0;
}
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-8px); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1rem; }
.badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: #DAA520;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* === HOW IT WORKS === */
.how-it-works { background: #f0fdf4; padding: 3rem 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.steps h3 { font-size: 3rem; color: #2E8B57; }

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.modal.active { display: flex; }
.modal-content {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 500px;
  width: 100%;
  position: relative;
}
.close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.form-group { margin-top: 1rem; }
.form-group select, .form-group input {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

/* === CALENDAR === */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}
.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.day.available:hover {
  background: #e6f4ea;
  border-color: #2E8B57;
}
.day.selected {
  background: #2E8B57;
  color: white;
  border-color: #2E8B57;
}

/* === STICKY CART === */
.sticky-cart {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.3s;
  z-index: 900;
}
.sticky-cart.visible { transform: translateY(0); }

/* === FOOTER === */
footer {
  background: #1B5E20;
  color: white;
  padding: 3rem 0 1.5rem;
  text-align: center;
}
.wa-link { color: #DAA520; }
.footer-links a { color: #DAA520; margin: 0 0.75rem; text-decoration: none; }

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .countdown { font-size: 1rem; }
  .btn { width: 100%; text-align: center; }
}