:root {
  --bg: #f4f2e8;
  --surface: #fffef9;
  --surface-strong: #ffffff;
  --text: #163728;
  --muted: #5d7166;
  --primary: #2f6f4f;
  --primary-dark: #214d38;
  --accent: #8fb7b6;
  --line: rgba(22, 55, 40, 0.11);
  --shadow: 0 22px 48px rgba(22, 55, 40, 0.12);
  --radius: 24px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  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 left, rgba(143, 183, 182, 0.3), transparent 28%),
    linear-gradient(180deg, #fbfaf4 0%, #f3f1e6 100%);
}

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 250, 244, 0.84);
  border-bottom: 1px solid rgba(22, 55, 40, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(145deg, var(--primary), #5d8d5a);
  box-shadow: 0 14px 28px rgba(47, 111, 79, 0.24);
}

.brand strong,
.section-head h2,
.hero h1,
.site-footer h2 {
  font-family: "Fraunces", serif;
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 1.35rem;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ghost-btn,
.cart-btn,
.primary-btn,
.secondary-btn,
.product-actions button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ghost-btn,
.cart-btn,
.secondary-btn,
.product-actions .secondary {
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1px solid rgba(22, 55, 40, 0.12);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-btn span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--primary);
  font-size: 0.8rem;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--primary);
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.96;
}

.hero-text,
.section-head p,
.section-intro,
.education-grid p,
.testimonial-grid p,
.faq-list p,
.product-card p,
.category-card p,
.benefits-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin: 2rem 0 1.4rem;
  flex-wrap: wrap;
}

.primary-btn,
.product-actions .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--primary), #4d845d);
  color: white;
  box-shadow: 0 16px 36px rgba(47, 111, 79, 0.22);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.cart-btn:hover,
.product-actions button:hover {
  transform: translateY(-2px);
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.hero-points li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.55rem;
}

.hero-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  min-height: 580px;
}

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

.floating-note {
  position: absolute;
  max-width: 240px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(22, 55, 40, 0.16);
}

.floating-note strong,
.product-meta strong,
.cart-total strong {
  display: block;
  margin-bottom: 0.25rem;
}

.floating-note span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.note-top {
  top: 1.4rem;
  left: 1.4rem;
}

.note-bottom {
  right: 1.4rem;
  bottom: 1.4rem;
}

.trust-bar {
  padding: 0 0 2rem;
}

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

.trust-items div {
  padding: 1.3rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 55, 40, 0.08);
}

.trust-items strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}

.trust-items span {
  color: var(--muted);
}

.section {
  padding: 4.75rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 720px;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.category-grid,
.featured-grid,
.product-grid,
.education-grid,
.testimonial-grid,
.benefits-grid,
.footer-grid {
  display: grid;
  gap: 1.35rem;
}

.category-grid,
.featured-grid,
.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.education-grid,
.testimonial-grid,
.benefits-grid,
.footer-grid {
  grid-template-columns: repeat(2, 1fr);
}

.category-card,
.product-card,
.education-grid article,
.testimonial-grid blockquote,
.benefits-grid article,
.faq-list details {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-card,
.product-card {
  overflow: hidden;
}

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

.category-copy,
.product-copy,
.education-grid article,
.testimonial-grid blockquote,
.benefits-grid article,
.faq-list details {
  padding: 1.35rem;
}

.category-card h3,
.product-card h3,
.education-grid h3,
.benefits-grid h3,
.site-footer h3 {
  margin-top: 0;
}

.category-link {
  display: inline-flex;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 800;
}

.featured-section,
.education-section {
  background: linear-gradient(180deg, rgba(143, 183, 182, 0.1), rgba(255, 255, 255, 0.18));
}

.benefits-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-copy {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.product-card h3 {
  margin-bottom: 0;
}

.product-chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(47, 111, 79, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.ingredient-list,
.benefit-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.product-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

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

.product-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.product-actions button {
  flex: 1;
  min-width: 140px;
  padding: 0.92rem 1rem;
}

.testimonial-grid blockquote {
  margin: 0;
}

.testimonial-grid cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--primary);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  margin-bottom: 0.75rem;
}

.site-footer {
  padding: 3.5rem 0;
  background: #173226;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(420px, 100%);
  height: 100dvh;
  background: var(--surface-strong);
  z-index: 40;
  box-shadow: -24px 0 48px rgba(22, 55, 40, 0.18);
  display: flex;
  flex-direction: column;
  transition: right 0.28s ease;
}

.cart-drawer.open {
  right: 0;
}

.cart-header,
.cart-footer {
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
}

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

.cart-header button {
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text);
}

.cart-items {
  padding: 1rem 1.2rem;
  overflow: auto;
  flex: 1;
}

.cart-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
}

.cart-row p,
.empty-state {
  color: var(--muted);
}

.cart-row button {
  border: 0;
  background: none;
  color: #b4584b;
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.full-width {
  width: 100%;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 17, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}

.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1080px) {
  .hero-grid,
  .benefits-layout,
  .category-grid,
  .featured-grid,
  .product-grid,
  .education-grid,
  .testimonial-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 740px) {
  .hero,
  .section {
    padding: 3.5rem 0;
  }

  .hero-grid,
  .trust-items,
  .benefits-layout,
  .category-grid,
  .featured-grid,
  .product-grid,
  .education-grid,
  .testimonial-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell,
  .header-actions {
    flex-wrap: wrap;
  }

  .hero-card {
    min-height: 420px;
  }

  .floating-note {
    position: static;
    margin: 0.8rem;
    max-width: none;
  }

  .product-meta {
    flex-direction: column;
    align-items: start;
  }
}
