:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f2;
  --ink: #1c231d;
  --muted: #667066;
  --line: #e2e7de;
  --green: #3a6b4a;
  --green-dark: #294b34;
}

* { box-sizing: border-box; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

header {
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--green); }

nav a { margin-left: 26px; color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color .15s; }
nav a:hover, nav a.active { color: var(--green-dark); }

.cart-btn {
  position: relative;
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s;
}
.cart-btn:hover { border-color: var(--green); }

.btn-outline {
  border: 1px solid var(--green);
  color: var(--green-dark);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.86rem;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--green); color: #fff; }
.cart-count {
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 1px 7px;
  margin-left: 6px;
}

.hero {
  background: var(--bg-alt);
  padding: 70px 0;
}
.hero-grid { display: flex; align-items: center; gap: 56px; }
.hero-text { flex: 1.2; min-width: 280px; }
.hero-art { flex: 1; display: flex; justify-content: center; }
.hero-photo { width: 100%; height: 300px; border-radius: 14px; background-size: cover; background-position: center; }
.hero .kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 700; color: var(--green); }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 16px 0; letter-spacing: -0.02em; }
.hero p { color: var(--muted); max-width: 46ch; margin: 0; }

section { padding: 60px 0; }
h2 { font-size: 1.6rem; margin: 0 0 30px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
}
.product:hover { box-shadow: 0 10px 24px rgba(30,50,30,0.08); transform: translateY(-2px); }

.product-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.product-info { padding: 16px; }
.product-info h3 { margin: 0 0 4px; font-size: 0.98rem; }
.product-info .price { color: var(--green-dark); font-weight: 700; font-size: 0.95rem; }
.product-info .meta { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.add-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  border: 1px solid var(--green);
  background: #fff;
  color: var(--green-dark);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.add-btn:hover { background: var(--green); color: #fff; }

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.value-band {
  background: var(--bg-alt);
  text-align: center;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-grid h3 { margin: 0 0 8px; font-size: 1.05rem; }
.value-grid p { margin: 0; color: var(--muted); font-size: 0.9rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--green-dark); font-weight: 600; }

@media (max-width: 800px) {
  nav { display: none; }
  .hero-grid { flex-direction: column-reverse; gap: 30px; text-align: center; }
  .hero-photo { height: 200px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
}
