:root {
  --green: #2e7d32;
  --leaf: #3fa26d;
  --light-green: #e7f5ea;
  --cream: #fff8e7;
  --earth: #7a5e3a;
  --text: #2a2a2a;
  --muted: #5b6b5f;
  --bg: #fafdf9;
  --shadow: 0 6px 20px rgba(46, 125, 50, 0.15);
}
* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
}
.hv-btn {
  border: 1px solid var(--leaf);
  background: transparent;
  color: var(--leaf);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.hv-btn:hover { transform: translateY(-2px); background: var(--leaf); color: #fff }
.hv-btn.primary { background: var(--leaf); color: #fff }
.hv-btn.primary:hover { background: #2b8a5f }
.hv-btn.ghost { border-color: #cfe9d7; color: #2e7d32; background: #f5fbf7 }
.hv-header {
  background: linear-gradient(120deg, var(--light-green), #f6fff5);
  border-bottom: 1px solid #e9f4ec;
  position: sticky;
  top: 0;
  z-index: 50;
}
.hv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.hv-brand { display: flex; align-items: center; gap: 12px }
.hv-logo { width: 44px; height: 44px }
.hv-brand-text h1 { margin: 0; font-size: 22px; color: var(--green) }
.hv-tagline { margin: 2px 0 0; color: var(--muted); font-size: 12px }
.hv-curated { margin: 0; color: var(--muted); font-size: 12px }
.hv-actions { display: flex; align-items: center; gap: 10px }
#menuToggle { display: none }
.hv-search input {
  width: 280px;
  max-width: 40vw;
  padding: 10px 12px;
  border: 1px solid #d9e9de;
  border-radius: 10px;
  outline: none;
}
.hv-icon-btn {
  background: #fff;
  border: 1px solid #d9e9de;
  border-radius: 12px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.hv-icon-btn .hv-label { color: var(--green); font-weight: 600; font-size: 13px }
.hv-count {
  background: var(--leaf);
  color: #fff;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
}
.hv-nav {
  display: flex;
  gap: 16px;
  padding: 8px 20px 14px;
}
.hv-nav a {
  color: var(--green);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
}
.hv-nav a:hover { background: var(--light-green) }
.hv-hero {
  position: relative;
  min-height: 56vh;
  background: linear-gradient(180deg, #f6fff5, #ffffff);
  overflow: hidden;
}
.hv-hero-parallax { position: absolute; inset: 0; pointer-events: none }
.leaf { position: absolute; width: 120px; opacity: .35; filter: drop-shadow(0 6px 12px rgba(0,0,0,.05)) }
.leaf.l1 { left: 6%; top: 12% }
.leaf.l2 { right: 10%; top: 8% }
.leaf.l3 { left: 40%; bottom: 6% }
.hv-hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px 40px;
  text-align: center;
}
.hv-hero-content h2 { color: var(--green); font-size: 34px; margin: 0 0 10px }
.hv-hero-content p { color: var(--muted); margin: 0 0 24px }
.hv-hero-cta { display: inline-flex; gap: 10px }
.hv-divider.hill {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(120% 60px at 50% 0%, var(--light-green) 0%, transparent 60%);
}
.hv-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 20px;
}
.trust-item {
  background: #fff;
  border: 1px solid #e9f4ec;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow);
}
.hv-section-head { text-align: center; padding: 20px }
.hv-section-head h2 { margin: 0; color: var(--green) }
.hv-subtitle { margin: 6px 0 0; color: var(--muted) }
.hv-filters {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 16px;
}
.hv-filterbar {
  background: linear-gradient(180deg, #f6fff9, #ffffff);
  border: 1px solid #d9e9de;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.2fr 0.6fr;
  gap: 12px;
}
.filter-group { display: flex; flex-direction: column; gap: 6px }
.f-label { color: var(--green); font-weight: 600; font-size: 12px }
.seg-group { display: flex; gap: 8px; flex-wrap: wrap }
.seg {
  border: 1px solid #cfe9d7;
  background: #fff;
  color: var(--green);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.seg.active { background: #e7f5ea; border-color: #a8d9bd }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap }
.chip-group .chip.active { background: #e7f5ea; border-color: #a8d9bd }
.input-ico { display: flex; align-items: center; gap: 8px }
.input-ico .ico-leaf { width: 18px; height: 18px; background: radial-gradient(circle at 50% 50%, var(--leaf) 35%, transparent 36%); border-radius: 50% }
.filter-actions { display: flex; align-items: flex-end; justify-content: flex-end }
@media (max-width: 1024px) {
  .hv-filterbar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hv-filterbar { grid-template-columns: 1fr; }
}
}
.hv-grid {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.hv-table {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hv-row {
  background: #fff;
  border: 1px solid #e9f4ec;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 160px 1.3fr 1fr 280px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.hv-row.header {
  background: linear-gradient(180deg, #f6fff9, #ffffff);
  border: 1px solid #d9e9de;
}
.hv-row .col { padding: 6px 0 }
.hv-row .media { display: flex; align-items: center; justify-content: center }
.hv-row .media img { width: 120px; height: 120px }
.hv-row .meta { color: var(--muted); font-size: 13px }
.hv-row .actions { display: flex; justify-content: flex-end; gap: 8px }
@media (max-width: 1024px) {
  .hv-row { grid-template-columns: 140px 1fr 1fr 220px }
}
@media (max-width: 768px) {
  .hv-row { grid-template-columns: 120px 1fr; }
  .hv-row .actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 6px }
  .hv-row .meta { display: none }
}
.hv-list {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hv-card {
  background: #fff;
  border: 1px solid #e9f4ec;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(8px);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.hv-list .hv-card {
  display: grid;
  grid-template-columns: 180px 1fr 300px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.hv-card.visible { transform: translateY(0); opacity: 1 }
.hv-card:hover { box-shadow: 0 8px 24px rgba(63,162,109,.24) }
.hv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #e7f5ea, #ffffff);
}
.hv-card-media {
  background: linear-gradient(180deg, #f8fff9, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 160px;
}
.hv-list .hv-card-media { padding: 0; min-height: 160px }
.hv-card-media img { width: 100%; max-width: 180px; max-height: 160px; object-fit: contain; border-radius: 18px; box-shadow: 0 8px 18px rgba(0,0,0,.06) }
.hv-card-body { padding: 14px }
.hv-list .hv-card-body { padding: 0 }
.hv-card-body h4 { margin: 0 0 6px; color: var(--green) }
.hv-price { color: var(--earth); font-weight: 600 }
.hv-badge {
  display: inline-block;
  background: #f0fff4;
  color: #2f855a;
  border: 1px solid #cfe9d7;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  margin: 6px 0;
}
.hv-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px 14px 16px;
  margin-top: auto;
}
.hv-list .hv-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-top: 0;
}
.hv-card-actions .hv-btn { height: 38px; border-radius: 12px }
.btn-add { background: linear-gradient(90deg, #3fa26d, #2e7d32); color: #fff; border-color: transparent }
.btn-add:hover { filter: brightness(1.05) }
.hv-card-actions .btn-add { grid-column: 1 / -1; height: 42px; font-weight: 600 }
.hv-list .hv-card-actions .btn-add { grid-column: auto; height: 38px }
.btn-wish { border-color: #ffcdd2; color: #c62828; background: #fff5f5 }
.btn-wish:hover { background: #ffe9e9 }
.btn-wish.active { background: #ffebee; border-color: #ef9a9a }
.btn-trace { border-color: #cfe9d7; color: #2e7d32; background: #f5fbf7 }
.btn-trace:hover { background: #eaf7ef }
.hv-btn .btn-ico { display: inline-block; margin-right: 6px; vertical-align: middle }
.hv-btn .btn-ico.icon-eye,
.hv-btn .btn-ico.icon-heart,
.hv-btn .btn-ico.icon-cart { width: 16px; height: 16px }
.icon-heart, .icon-cart, .icon-badge, .icon-leaf, .icon-lab, .icon-eye {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: radial-gradient(circle at 50% 50%, var(--leaf) 35%, transparent 36%);
  border-radius: 50%;
}
.hv-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.18);
  z-index: 100;
}
.hv-modal.show { display: flex }
.hv-modal-content {
  background: #fff;
  border-radius: 14px;
  width: min(760px, 92vw);
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid #e9f4ec;
}
.hv-modal-close {
  float: right;
  font-size: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.trace-details { margin-top: 6px }
.trace-details .trace-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #e9f4ec;
}
.trace-bar {
  grid-column: 1 / span 3;
  height: 8px;
  background: #f0fff4;
  border: 1px solid #cfe9d7;
  border-radius: 999px;
  overflow: hidden;
}
.trace-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3fa26d, #2e7d32);
  width: 0%;
}
.hv-builder {
  background: linear-gradient(180deg, var(--light-green), #ffffff);
  border-top: 1px solid #efe6d7;
  border-bottom: 1px solid #efe6d7;
  padding-bottom: 18px;
}
.builder-modes { display: flex; gap: 8px; justify-content: center; padding: 8px 20px }
.hv-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d9e9de;
  background: #fff;
  cursor: pointer;
}
.hv-tab.active { background: var(--leaf); color: #fff }
.builder-panel { display: none; max-width: 1000px; margin: 0 auto; padding: 10px 16px }
.builder-panel.active { display: block }
.builder-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.builder-item {
  background: #fff;
  border: 1px solid #e9f4ec;
  border-radius: 12px;
  padding: 10px;
}
.builder-item h5 { margin: 0 0 8px; color: var(--green) }
.builder-item .row { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.builder-item input[type="range"] { width: 120px }
.builder-summary { max-width: 1000px; margin: 6px auto; padding: 10px 16px }
.builder-summary .breakdown { border: 1px dashed #e9f4ec; border-radius: 12px; padding: 10px; background: #fff }
.builder-price { font-size: 18px; padding: 8px 0 }
.builder-note { color: var(--muted); font-size: 12px; margin: 4px 0 10px }
.builder-form .form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: linear-gradient(180deg, #f6fff9, #ffffff);
  border: 1px solid #d9e9de;
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.field {
  background: #fff;
  border: 1px solid #d9e9de;
  border-radius: 12px;
  padding: 8px;
}
.field .label { display: block; font-size: 12px; color: var(--green); margin-bottom: 6px; font-weight: 600 }
.field input[type="number"],
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #e9f4ec;
  border-radius: 10px;
  padding: 8px;
  outline: none;
}
.field textarea { min-height: 80px; resize: vertical }
.field .hint { color: var(--muted); font-size: 11px; display: block; margin-top: 6px }
.range-group { display: flex; align-items: center; gap: 10px }
.range-group input[type="range"] { flex: 1; accent-color: var(--leaf) }
.range-value {
  background: #f0fff4;
  color: #2f855a;
  border: 1px solid #cfe9d7;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.hv-dashboard { padding-bottom: 30px }
.dash-grid { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }
.dash-card { background: #fff; border: 1px solid #e9f4ec; border-radius: 12px; padding: 12px; box-shadow: var(--shadow) }
.rewards { display: flex; flex-direction: column; align-items: center; gap: 8px }
.wish-row, .cart-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #e9f4ec;
}
.wish-row img, .cart-row img { width: 40px; height: 40px; border-radius: 8px; margin-right: 8px; }
.cart-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px }
.coin {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe594, #e0aa3e);
  box-shadow: inset 0 4px 10px rgba(0,0,0,.12), 0 6px 12px rgba(0,0,0,.12);
  color: #6b4f1d;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
}
.hv-footer {
  background: linear-gradient(180deg, #ffffff, var(--light-green));
  border-top: 1px solid #e9f4ec;
}
.hv-footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.hv-footer-links a { color: var(--green); text-decoration: none; display: inline-block; padding: 6px 0 }
.hv-certifications .badge {
  display: inline-block;
  background: #f0fff4;
  color: #2f855a;
  border: 1px solid #cfe9d7;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-right: 8px;
}
.hv-footer-credit {
  text-align: center;
  padding: 8px 20px 16px;
  color: var(--muted);
  font-size: 12px;
}
.hv-footer-credit a { color: var(--green); text-decoration: none }
.hv-footer-copy {
  text-align: center;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 12px;
}
.hv-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
}
/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.18);
  display: none;
  z-index: 140;
}
.mobile-menu.show { display: block }
.mobile-menu-content {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: min(320px, 80vw);
  background: #fff;
  border-right: 1px solid #e9f4ec;
  box-shadow: var(--shadow);
  padding: 16px;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 24px;
  float: right;
  cursor: pointer;
}
.mobile-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 20px }
.mobile-nav a { color: var(--green); text-decoration: none; padding: 10px 8px; border-radius: 10px; }
.mobile-nav a:hover { background: var(--light-green) }
.chat-toggle {
  background: var(--leaf);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.chat-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 52px;
  width: min(340px, 90vw);
  background: #fff;
  border: 1px solid #e9f4ec;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.chat-panel.show { display: block }
.chat-header {
  padding: 10px 12px;
  border-bottom: 1px solid #e9f4ec;
  color: var(--green);
}
.chat-messages {
  max-height: 320px;
  overflow: auto;
  padding: 10px;
}
.chat-message {
  background: #f6fff9;
  border: 1px solid #e9f4ec;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}
.chat-message.user { background: #f0f7ff; border-color: #dce7f3 }
.chat-input { display: flex; gap: 6px; padding: 10px }
.chat-input input {
  flex: 1;
  border: 1px solid #e9f4ec;
  border-radius: 10px;
  padding: 8px;
}
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px }
.chip {
  border: 1px solid #cfe9d7;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: #f5fbf7;
  color: #2e7d32;
  cursor: pointer;
}
.hv-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  background: #2e7d32;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: none;
}
.hv-toast.show { display: inline-block }
.checkout-form label { display: block; margin-bottom: 8px }
.checkout-form input, .checkout-form textarea, .checkout-form select {
  width: 100%;
  border: 1px solid #e9f4ec;
  border-radius: 10px;
  padding: 8px;
}
@media (max-width: 1024px) {
  .hv-list .hv-card { grid-template-columns: 160px 1fr 260px }
  .dash-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 768px) {
  .hv-topbar { flex-direction: column; align-items: flex-start; gap: 10px }
  .hv-search input { width: 100%; max-width: none }
  .hv-nav { display: none }
  #menuToggle { display: inline-flex }
  .hv-actions { width: 100%; display: flex; flex-wrap: wrap; gap: 8px }
  .hv-actions > button { order: 1 }
  .hv-actions > .hv-search { order: 2; width: 100% }
  .hv-footer-links { display: none }
  .hv-list .hv-card { grid-template-columns: 140px 1fr }
  .hv-list .hv-card-actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 8px }
  .builder-list { grid-template-columns: repeat(2, 1fr) }
  .hv-trust { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 520px) {
  .hv-list { gap: 10px }
  .hv-list .hv-card { grid-template-columns: 120px 1fr }
  .hv-card-actions { grid-template-columns: 1fr }
  .builder-list { grid-template-columns: 1fr }
  .hv-footer-content { grid-template-columns: 1fr }
}
@media (min-width: 600px) {
  .hv-grid { grid-template-columns: repeat(2, 1fr) }
  .hv-card-media { padding: 20px; min-height: 180px }
  .hv-card-actions { grid-template-columns: 1fr 1fr }
  .hv-card-actions .btn-add { grid-column: 1 / span 2 }
}
@media (min-width: 1024px) {
  .hv-grid { grid-template-columns: repeat(3, 1fr) }
  .hv-card-media { padding: 24px; min-height: 200px }
}

