/* Shared fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

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

:root {
  --green-deep: #0b2012;
  --green-rich: #143a22;
  --green-mid: #1e5232;
  --gold: #f0a500;
  --gold-light: #f7c948;
  --orange: #e05a1a;
  --orange-warm: #f07138;
  --cream: #fffbf2;
  --cream-dark: #f5ede0;
  --text: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

/* NAV */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  background: var(--green-deep);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
}

.nav-links { display: flex; gap: 1.5rem; align-items: center; }

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,251,242,0.65);
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--cream); }

/* MISSION BANNER */
.mission-banner {
  background: var(--green-mid);
  color: var(--cream);
  text-align: center;
  padding: 0.75rem 6%;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mission-banner-icon { font-size: 1.1rem; }

/* SHOP HERO */
.shop-hero {
  background: var(--green-deep);
  padding: 5rem 6% 4rem;
  text-align: center;
}

.shop-hero-inner { max-width: 600px; margin: 0 auto; }

.shop-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.shop-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,251,242,0.6);
  font-weight: 300;
}

/* PRODUCT GRID */
.shop-grid-section { padding: 4rem 6% 5rem; }

.shop-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.product-img-link { display: block; }

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img { transform: scale(1.05); }

/* Flagship badge on card */
.flagship-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  pointer-events: none;
}

.flagship-badge-large {
  background: var(--gold);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  text-align: center;
}

/* Flagship card gets a gold border */
.product-card--flagship {
  border: 2px solid var(--gold-light);
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-name a { color: inherit; }
.product-name a:hover { color: var(--orange); }

.product-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-deep);
}

.price-unit {
  font-size: 0.72rem;
  color: var(--text-light);
  flex: 1;
}

.buy-btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s;
  margin-left: auto;
}

.buy-btn:hover { background: var(--orange-warm); }

/* JOIN SECTION */
.join-section {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-rich) 100%);
  padding: 5rem 6%;
  text-align: center;
}

.join-inner { max-width: 520px; margin: 0 auto; }

.join-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.join-body {
  font-size: 1rem;
  color: rgba(255,251,242,0.65);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.join-form { text-align: left; }

.form-row { display: flex; gap: 0.75rem; }

.form-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,251,242,0.2);
  background: rgba(255,251,242,0.08);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input::placeholder { color: rgba(255,251,242,0.4); }
.form-input:focus {
  border-color: var(--gold);
  background: rgba(255,251,242,0.12);
}

.form-submit {
  padding: 0.85rem 1.6rem;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.form-submit:hover { background: var(--orange-warm); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  color: var(--gold-light);
  font-size: 1rem;
  text-align: center;
  padding: 1rem;
}

/* FOOTER */
.site-footer {
  background: var(--green-deep);
  padding: 2.5rem 6%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; }

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-tagline { font-size: 0.78rem; color: rgba(255,251,242,0.4); }

.footer-meta { font-size: 0.82rem; color: rgba(255,251,242,0.45); }
.footer-meta a { color: var(--gold-light); }
.footer-meta a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .shop-products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .shop-products { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .form-row { flex-direction: column; }
  .buy-btn { margin-left: 0; }
}

@media (max-width: 480px) {
  .shop-products { grid-template-columns: 1fr; }
}