:root {
  --green-dark: #1b452f;
  --green-tile: #90cb80;
  --white: #ffffff;
  --card: #f9f7f8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--green-dark);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--white);
  min-height: 100vh;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 48px;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,69,47,0) 55%, rgba(27,69,47,0.55) 82%, var(--green-dark) 100%);
}

a.hero-link { display: block; }

/* Wordmark */
h1.wordmark {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: -30px 0 26px;
  position: relative;
  z-index: 2;
}

/* Category tiles */
.tiles {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 16px;
}

.tile {
  display: flex;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background: var(--green-tile);
  min-height: 200px;
}

.tile img {
  width: 45%;
  object-fit: cover;
  display: block;
}

.tile .label {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 26px;
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 700;
}

/* Product rows */
.products {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  flex-shrink: 0;
}

.card .info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.card h2 {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 0;
}

.card p.blurb {
  font-size: 0.74rem;
  font-weight: 500;
  color: #4a6b58;
  line-height: 1.35;
  padding: 4px 0 0;
}

a.buy {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
  flex-shrink: 0;
}

.card.soon {
  display: block;
  text-align: center;
  padding: 28px 20px;
  font-weight: 600;
  color: #4a6b58;
}

/* Back link on category pages */
a.back {
  display: inline-block;
  color: var(--green-tile);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 14px 16px;
}

/* Footer disclosure */
footer {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  padding: 36px 24px 0;
  line-height: 1.5;
}

/* Accordion categories */
html { scroll-behavior: smooth; }

details.cat summary { list-style: none; cursor: pointer; }
details.cat summary::-webkit-details-marker { display: none; }

details.cat .products {
  padding: 18px 0 6px;
}

.chev {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.25s ease;
}

details.cat[open] .chev { transform: rotate(180deg); }

