:root {
  --bg: #f7f8f2;
  --surface: #ffffff;
  --surface-soft: #eef4e7;
  --text: #233024;
  --text-muted: #5f6e60;
  --primary: #3f7d39;
  --primary-dark: #2f612b;
  --accent: #c97832;
  --shadow: 0 12px 24px rgba(28, 43, 24, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #dfead8 0%, var(--bg) 40%);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 14px;
  line-height: 1.2;
}

p {
  margin: 0;
}

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(247, 248, 242, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(63, 125, 57, 0.12);
  z-index: 40;
}

.nav-wrap {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-links a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.cart-btn {
  border: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 999px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.hero {
  padding: 130px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-text {
  margin: 12px 0 26px;
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 22px;
  border: 0;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.trust {
  padding-bottom: 6px;
}

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

.badge {
  background: var(--surface);
  border: 1px solid rgba(63, 125, 57, 0.16);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  text-align: center;
  padding: 16px;
  font-weight: 700;
}

.section-subtitle {
  color: var(--text-muted);
}

.products-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.product-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.price {
  color: var(--primary-dark);
  font-weight: 800;
}

.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-content .btn {
  margin-top: auto;
}

.benefits {
  background: linear-gradient(180deg, rgba(227, 236, 221, 0.45), rgba(227, 236, 221, 0.1));
}

.benefits-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100dvh;
  background: var(--surface);
  box-shadow: -12px 0 24px rgba(0, 0, 0, 0.16);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 60;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  padding: 16px;
  border-bottom: 1px solid #e8eee4;
}

.cart-footer {
  border-top: 1px solid #e8eee4;
  border-bottom: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-btn {
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

.cart-items {
  overflow-y: auto;
  padding: 10px 16px;
}

.cart-details {
  padding: 0 16px 16px;
  border-bottom: 1px solid #f0f2ef;
}

.cart-details h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.help-text {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #d7e0d2;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fcfdf7;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2ef;
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7e0d2;
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button {
  border: 0;
  background: #f2f7ee;
  min-width: 34px;
  min-height: 34px;
  cursor: pointer;
}

.qty-control span {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: #aa3d2b;
  font-weight: 700;
  cursor: pointer;
}

.cart-total {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.btn-whatsapp {
  width: 100%;
  background: #22b053;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #169042;
}

.btn-whatsapp.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.empty-cart {
  text-align: center;
  color: var(--text-muted);
  padding: 26px 6px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 6, 0.4);
  z-index: 50;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(25px);
  background: #1f2e20;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 80;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer {
  background: #1f3521;
  color: #e8f0e5;
  padding: 24px 0;
}

.footer-wrap {
  display: grid;
  gap: 6px;
}

@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 108px;
  }

  .products-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}
