:root {
  --bg: #f4f7f1;
  --card: #ffffff;
  --muted: #5e6f62;
  --text: #1a2a1f;
  --line: #d7e3da;
  --primary: #2f6f4f;
  --primary-2: #24583e;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 520px at 0% 0%, rgba(47,111,79,0.10), transparent 60%),
              radial-gradient(1000px 520px at 100% 0%, rgba(47,111,79,0.06), transparent 60%),
              var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 16px; }

.fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand { font-weight: 700; letter-spacing: 0.3px; }
.nav a { padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: rgba(47,111,79,0.08); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.muted { color: var(--muted); }
.row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  color: var(--text);
}

.btn:hover { background: rgba(47,111,79,0.08); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-2); border-color: var(--primary-2); }

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

.input::placeholder { color: rgba(26,42,31,0.45); }
.stack { display: grid; gap: 10px; }

/* Home */
.hero {
  background: radial-gradient(1200px 520px at 0% 0%, rgba(47,111,79,0.20), transparent 60%),
              radial-gradient(900px 420px at 100% 10%, rgba(47,111,79,0.10), transparent 60%),
              rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.hero--full {
  position: relative;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 0;
  min-height: calc(100vh - 72px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244,247,241,0.92) 0%, rgba(244,247,241,0.70) 45%, rgba(244,247,241,0.25) 75%, rgba(244,247,241,0.05) 100%),
    radial-gradient(900px 520px at 0% 0%, rgba(47,111,79,0.16), transparent 60%);
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero-box {
  max-width: 620px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
  .hero--full { min-height: 70vh; }
  .hero-content { min-height: 70vh; }
  .hero-box { max-width: 100%; }
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-title { margin: 10px 0 0 0; font-size: 44px; line-height: 1.05; letter-spacing: -0.4px; }
@media (max-width: 640px) { .hero-title { font-size: 34px; } }

.hero-subtitle { margin-top: 10px; color: var(--muted); font-size: 16px; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 14px;
}

.trustbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) { .trustbar { grid-template-columns: 1fr; } }

.trustitem {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.trusttitle { font-weight: 700; margin-bottom: 4px; }

.chiprow { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
}
.chip:hover { background: rgba(47,111,79,0.08); }

/* Owl Carousel tweaks (home) */
.owl-carousel .owl-stage { display: flex; }
.owl-carousel .owl-item { display: flex; }
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  color: var(--text);
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: rgba(47,111,79,0.10);
}

.owl-carousel .owl-nav button.owl-prev span,
.owl-carousel .owl-nav button.owl-next span {
  font-size: 26px;
  line-height: 1;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px auto;
  width: 100%;
}

.product-img {
  background: rgba(47,111,79,0.05);
}

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

.product-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(47,111,79,0.10), rgba(0,0,0,0.02));
}

.product-body { padding: 12px; display: grid; gap: 6px; }
.product-title { font-weight: 700; line-height: 1.2; }

.flash {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.flash.error { background: rgba(220,38,38,0.15); border-color: rgba(220,38,38,0.4); }
.flash.ok { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.4); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
